2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.3.25.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: wine-devel@winehq.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
562 PACKAGE_TARNAME='wine'
563 PACKAGE_VERSION='1.3.25'
564 PACKAGE_STRING='Wine 1.3.25'
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
667 APPLICATIONSERVICESLIB
755 program_transform_name
766 ac_subst_files='MAKE_RULES
772 enable_option_checking
776 enable_maintainer_mode
823 ac_precious_vars='build_alias
838 # Initialize some variables set by options.
840 ac_init_version=false
841 ac_unrecognized_opts=
843 # The variables have the same names as the options, with
844 # dashes changed to underlines.
852 program_transform_name=s,x,x,
860 # Installation directory options.
861 # These are left unexpanded so users can "make install exec_prefix=/foo"
862 # and all the variables that are supposed to be based on exec_prefix
863 # by default will actually change.
864 # Use braces instead of parens because sh, perl, etc. also accept them.
865 # (The list follows the same order as the GNU Coding Standards.)
866 bindir='${exec_prefix}/bin'
867 sbindir='${exec_prefix}/sbin'
868 libexecdir='${exec_prefix}/libexec'
869 datarootdir='${prefix}/share'
870 datadir='${datarootdir}'
871 sysconfdir='${prefix}/etc'
872 sharedstatedir='${prefix}/com'
873 localstatedir='${prefix}/var'
874 includedir='${prefix}/include'
875 oldincludedir='/usr/include'
876 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
877 infodir='${datarootdir}/info'
882 libdir='${exec_prefix}/lib'
883 localedir='${datarootdir}/locale'
884 mandir='${datarootdir}/man'
890 # If the previous option needs an argument, assign it.
891 if test -n "$ac_prev"; then
892 eval $ac_prev=\$ac_option
898 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903 # Accept the important Cygnus configure options, so we can diagnose typos.
905 case $ac_dashdash$ac_option in
909 -bindir | --bindir | --bindi | --bind | --bin | --bi)
911 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
914 -build | --build | --buil | --bui | --bu)
915 ac_prev=build_alias ;;
916 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
917 build_alias=$ac_optarg ;;
919 -cache-file | --cache-file | --cache-fil | --cache-fi \
920 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
921 ac_prev=cache_file ;;
922 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
923 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
924 cache_file=$ac_optarg ;;
927 cache_file=config.cache ;;
929 -datadir | --datadir | --datadi | --datad)
931 -datadir=* | --datadir=* | --datadi=* | --datad=*)
932 datadir=$ac_optarg ;;
934 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
935 | --dataroo | --dataro | --datar)
936 ac_prev=datarootdir ;;
937 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
938 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
939 datarootdir=$ac_optarg ;;
941 -disable-* | --disable-*)
942 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
943 # Reject names that are not valid shell variable names.
944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
945 as_fn_error $? "invalid feature name: $ac_useropt"
946 ac_useropt_orig=$ac_useropt
947 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
948 case $ac_user_opts in
952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
953 ac_unrecognized_sep=', ';;
955 eval enable_$ac_useropt=no ;;
957 -docdir | --docdir | --docdi | --doc | --do)
959 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
962 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
964 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
967 -enable-* | --enable-*)
968 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
971 as_fn_error $? "invalid feature name: $ac_useropt"
972 ac_useropt_orig=$ac_useropt
973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
979 ac_unrecognized_sep=', ';;
981 eval enable_$ac_useropt=\$ac_optarg ;;
983 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
984 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
985 | --exec | --exe | --ex)
986 ac_prev=exec_prefix ;;
987 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
988 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
989 | --exec=* | --exe=* | --ex=*)
990 exec_prefix=$ac_optarg ;;
992 -gas | --gas | --ga | --g)
993 # Obsolete; use --with-gas.
996 -help | --help | --hel | --he | -h)
998 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
999 ac_init_help=recursive ;;
1000 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1001 ac_init_help=short ;;
1003 -host | --host | --hos | --ho)
1004 ac_prev=host_alias ;;
1005 -host=* | --host=* | --hos=* | --ho=*)
1006 host_alias=$ac_optarg ;;
1008 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1010 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1012 htmldir=$ac_optarg ;;
1014 -includedir | --includedir | --includedi | --included | --include \
1015 | --includ | --inclu | --incl | --inc)
1016 ac_prev=includedir ;;
1017 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1018 | --includ=* | --inclu=* | --incl=* | --inc=*)
1019 includedir=$ac_optarg ;;
1021 -infodir | --infodir | --infodi | --infod | --info | --inf)
1023 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1024 infodir=$ac_optarg ;;
1026 -libdir | --libdir | --libdi | --libd)
1028 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1029 libdir=$ac_optarg ;;
1031 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1032 | --libexe | --libex | --libe)
1033 ac_prev=libexecdir ;;
1034 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1035 | --libexe=* | --libex=* | --libe=*)
1036 libexecdir=$ac_optarg ;;
1038 -localedir | --localedir | --localedi | --localed | --locale)
1039 ac_prev=localedir ;;
1040 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1041 localedir=$ac_optarg ;;
1043 -localstatedir | --localstatedir | --localstatedi | --localstated \
1044 | --localstate | --localstat | --localsta | --localst | --locals)
1045 ac_prev=localstatedir ;;
1046 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1047 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1048 localstatedir=$ac_optarg ;;
1050 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1052 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1053 mandir=$ac_optarg ;;
1055 -nfp | --nfp | --nf)
1056 # Obsolete; use --without-fp.
1059 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1060 | --no-cr | --no-c | -n)
1063 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1064 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1067 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1068 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1069 | --oldin | --oldi | --old | --ol | --o)
1070 ac_prev=oldincludedir ;;
1071 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1072 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1073 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1074 oldincludedir=$ac_optarg ;;
1076 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1078 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1079 prefix=$ac_optarg ;;
1081 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1082 | --program-pre | --program-pr | --program-p)
1083 ac_prev=program_prefix ;;
1084 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1085 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1086 program_prefix=$ac_optarg ;;
1088 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1089 | --program-suf | --program-su | --program-s)
1090 ac_prev=program_suffix ;;
1091 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1092 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1093 program_suffix=$ac_optarg ;;
1095 -program-transform-name | --program-transform-name \
1096 | --program-transform-nam | --program-transform-na \
1097 | --program-transform-n | --program-transform- \
1098 | --program-transform | --program-transfor \
1099 | --program-transfo | --program-transf \
1100 | --program-trans | --program-tran \
1101 | --progr-tra | --program-tr | --program-t)
1102 ac_prev=program_transform_name ;;
1103 -program-transform-name=* | --program-transform-name=* \
1104 | --program-transform-nam=* | --program-transform-na=* \
1105 | --program-transform-n=* | --program-transform-=* \
1106 | --program-transform=* | --program-transfor=* \
1107 | --program-transfo=* | --program-transf=* \
1108 | --program-trans=* | --program-tran=* \
1109 | --progr-tra=* | --program-tr=* | --program-t=*)
1110 program_transform_name=$ac_optarg ;;
1112 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1114 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1115 pdfdir=$ac_optarg ;;
1117 -psdir | --psdir | --psdi | --psd | --ps)
1119 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1123 | -silent | --silent | --silen | --sile | --sil)
1126 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1128 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1130 sbindir=$ac_optarg ;;
1132 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1133 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1134 | --sharedst | --shareds | --shared | --share | --shar \
1136 ac_prev=sharedstatedir ;;
1137 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1138 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1139 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1141 sharedstatedir=$ac_optarg ;;
1143 -site | --site | --sit)
1145 -site=* | --site=* | --sit=*)
1148 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1150 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1151 srcdir=$ac_optarg ;;
1153 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1154 | --syscon | --sysco | --sysc | --sys | --sy)
1155 ac_prev=sysconfdir ;;
1156 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1157 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1158 sysconfdir=$ac_optarg ;;
1160 -target | --target | --targe | --targ | --tar | --ta | --t)
1161 ac_prev=target_alias ;;
1162 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1163 target_alias=$ac_optarg ;;
1165 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1168 -version | --version | --versio | --versi | --vers | -V)
1169 ac_init_version=: ;;
1172 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1175 as_fn_error $? "invalid package name: $ac_useropt"
1176 ac_useropt_orig=$ac_useropt
1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183 ac_unrecognized_sep=', ';;
1185 eval with_$ac_useropt=\$ac_optarg ;;
1187 -without-* | --without-*)
1188 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191 as_fn_error $? "invalid package name: $ac_useropt"
1192 ac_useropt_orig=$ac_useropt
1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199 ac_unrecognized_sep=', ';;
1201 eval with_$ac_useropt=no ;;
1204 # Obsolete; use --with-x.
1207 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1208 | --x-incl | --x-inc | --x-in | --x-i)
1209 ac_prev=x_includes ;;
1210 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1211 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1212 x_includes=$ac_optarg ;;
1214 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1215 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1216 ac_prev=x_libraries ;;
1217 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1218 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1219 x_libraries=$ac_optarg ;;
1221 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1222 Try \`$0 --help' for more information"
1226 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1227 # Reject names that are not valid shell variable names.
1228 case $ac_envvar in #(
1229 '' | [0-9]* | *[!_$as_cr_alnum]* )
1230 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1232 eval $ac_envvar=\$ac_optarg
1233 export $ac_envvar ;;
1236 # FIXME: should be removed in autoconf 3.0.
1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1240 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246 if test -n "$ac_prev"; then
1247 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1248 as_fn_error $? "missing argument to $ac_option"
1251 if test -n "$ac_unrecognized_opts"; then
1252 case $enable_option_checking in
1254 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259 # Check all directory arguments for consistency.
1260 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261 datadir sysconfdir sharedstatedir localstatedir includedir \
1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263 libdir localedir mandir
1265 eval ac_val=\$$ac_var
1266 # Remove trailing slashes.
1269 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1270 eval $ac_var=\$ac_val;;
1272 # Be sure to have absolute directory names.
1274 [\\/$]* | ?:[\\/]* ) continue;;
1275 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1277 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1280 # There might be people who depend on the old broken behavior: `$host'
1281 # used to hold the argument of --host etc.
1282 # FIXME: To remove some day.
1285 target=$target_alias
1287 # FIXME: To remove some day.
1288 if test "x$host_alias" != x; then
1289 if test "x$build_alias" = x; then
1290 cross_compiling=maybe
1291 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1292 If a cross compiler is detected then cross compile mode will be used" >&2
1293 elif test "x$build_alias" != "x$host_alias"; then
1299 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1301 test "$silent" = yes && exec 6>/dev/null
1304 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1305 ac_ls_di=`ls -di .` &&
1306 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1307 as_fn_error $? "working directory cannot be determined"
1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1309 as_fn_error $? "pwd does not report name of working directory"
1312 # Find the source files, if location was not specified.
1313 if test -z "$srcdir"; then
1314 ac_srcdir_defaulted=yes
1315 # Try the directory containing this script, then the parent directory.
1316 ac_confdir=`$as_dirname -- "$as_myself" ||
1317 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318 X"$as_myself" : 'X\(//\)[^/]' \| \
1319 X"$as_myself" : 'X\(//\)$' \| \
1320 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1321 $as_echo X"$as_myself" |
1322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1344 ac_srcdir_defaulted=no
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1348 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1350 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1354 # When building in place, set srcdir=.
1355 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 # Remove unnecessary trailing slashes from srcdir.
1359 # Double slashes in file names in object file debugging info
1360 # mess up M-x gdb in Emacs.
1362 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 for ac_var in $ac_precious_vars; do
1365 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_${ac_var}_value=\$${ac_var}
1367 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1372 # Report the --help message.
1374 if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
1378 \`configure' configures Wine 1.3.25 to adapt to many kinds of systems.
1380 Usage: $0 [OPTION]... [VAR=VALUE]...
1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383 VAR=VALUE. See below for descriptions of some of the useful variables.
1385 Defaults for the options are specified in brackets.
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking ...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1398 Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
1400 [$ac_default_prefix]
1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 By default, \`make install' will install all the files in
1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407 for instance \`--prefix=\$HOME'.
1409 For better control, use the options below.
1411 Fine tuning of the installation directories:
1412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --libdir=DIR object code libraries [EPREFIX/lib]
1419 --includedir=DIR C header files [PREFIX/include]
1420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1423 --infodir=DIR info documentation [DATAROOTDIR/info]
1424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1425 --mandir=DIR man documentation [DATAROOTDIR/man]
1426 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1427 --htmldir=DIR html documentation [DOCDIR]
1428 --dvidir=DIR dvi documentation [DOCDIR]
1429 --pdfdir=DIR pdf documentation [DOCDIR]
1430 --psdir=DIR ps documentation [DOCDIR]
1436 --x-includes=DIR X include files are in DIR
1437 --x-libraries=DIR X library files are in DIR
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive ) echo "Configuration of Wine 1.3.25:";;
1452 --disable-option-checking ignore unrecognized --enable/--with options
1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1455 --disable-win16 do not include Win16 support
1456 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1458 --disable-tests do not build the regression tests
1459 --enable-maintainer-mode
1460 enable maintainer-specific build rules
1461 --disable-largefile omit support for large files
1464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1466 --without-alsa do not use the Alsa sound support
1467 --without-capi do not use CAPI (ISDN support)
1468 --without-cms do not use CMS (color management support)
1469 --without-coreaudio do not use the CoreAudio sound support
1470 --without-cups do not use CUPS
1471 --without-curses do not use (n)curses
1472 --without-fontconfig do not use fontconfig
1473 --without-freetype do not use the FreeType library
1474 --without-gettextpo do not use the GetTextPO library
1475 --without-gphoto do not use gphoto (Digital Camera support)
1476 --without-glu do not use the GLU library
1477 --without-gnutls do not use GnuTLS (schannel support)
1478 --without-gsm do not use libgsm (GSM 06.10 codec support)
1479 --without-gstreamer do not use GStreamer (codecs support)
1480 --without-hal do not use HAL (dynamic device support)
1481 --without-jpeg do not use JPEG
1482 --without-ldap do not use LDAP
1483 --without-mpg123 do not use the mpg123 library
1484 --without-openal do not use OpenAL
1485 --without-opencl do not use OpenCL
1486 --without-opengl do not use OpenGL
1487 --without-openssl do not use OpenSSL
1488 --without-oss do not use the OSS sound support
1489 --without-png do not use PNG
1490 --without-pthread do not use the pthread library
1491 --without-sane do not use SANE (scanner support)
1492 --without-tiff do not use TIFF
1493 --without-v4l do not use v4l1 (v4l support)
1494 --without-xcomposite do not use the Xcomposite extension
1495 --without-xcursor do not use the Xcursor extension
1496 --without-xinerama do not use Xinerama (multi-monitor support)
1497 --without-xinput do not use the Xinput extension
1498 --without-xinput2 do not use the Xinput 2 extension
1499 --without-xml do not use XML
1500 --without-xrandr do not use Xrandr (resolution changes)
1501 --without-xrender do not use the Xrender extension
1502 --without-xshape do not use the Xshape extension
1503 --without-xshm do not use XShm (shared memory extension)
1504 --without-xslt do not use XSLT
1505 --without-xxf86vm do not use XFree video mode extension
1506 --without-zlib do not use Zlib (data compression)
1507 --with-wine-tools=DIR use Wine tools from directory DIR
1508 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1509 --with-x use the X Window System
1511 Some influential environment variables:
1512 CC C compiler command
1513 CFLAGS C compiler flags
1514 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1515 nonstandard directory <lib dir>
1516 LIBS libraries to pass to the linker, e.g. -l<library>
1517 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1518 you have headers in a nonstandard directory <include dir>
1519 CXX C++ compiler command
1520 CXXFLAGS C++ compiler flags
1522 XMKMF Path to xmkmf, Makefile generator for X Window System
1524 Use these variables to override the choices made by `configure' or to help
1525 it to find libraries and programs with nonstandard names/locations.
1527 Report bugs to <wine-devel@winehq.org>.
1528 Wine home page: <http://www.winehq.org>.
1533 if test "$ac_init_help" = "recursive"; then
1534 # If there are subdirs, report their specific --help.
1535 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1536 test -d "$ac_dir" ||
1537 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1542 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1545 # A ".." for each directory in $ac_dir_suffix.
1546 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1547 case $ac_top_builddir_sub in
1548 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1549 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1552 ac_abs_top_builddir=$ac_pwd
1553 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1554 # for backward compatibility:
1555 ac_top_builddir=$ac_top_build_prefix
1558 .) # We are building in place.
1560 ac_top_srcdir=$ac_top_builddir_sub
1561 ac_abs_top_srcdir=$ac_pwd ;;
1562 [\\/]* | ?:[\\/]* ) # Absolute name.
1563 ac_srcdir=$srcdir$ac_dir_suffix;
1564 ac_top_srcdir=$srcdir
1565 ac_abs_top_srcdir=$srcdir ;;
1567 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1568 ac_top_srcdir=$ac_top_build_prefix$srcdir
1569 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1571 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1573 cd "$ac_dir" || { ac_status=$?; continue; }
1574 # Check for guested configure.
1575 if test -f "$ac_srcdir/configure.gnu"; then
1577 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1578 elif test -f "$ac_srcdir/configure"; then
1580 $SHELL "$ac_srcdir/configure" --help=recursive
1582 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1584 cd "$ac_pwd" || { ac_status=$?; break; }
1588 test -n "$ac_init_help" && exit $ac_status
1589 if $ac_init_version; then
1591 Wine configure 1.3.25
1592 generated by GNU Autoconf 2.68
1594 Copyright (C) 2010 Free Software Foundation, Inc.
1595 This configure script is free software; the Free Software Foundation
1596 gives unlimited permission to copy, distribute and modify it.
1601 ## ------------------------ ##
1602 ## Autoconf initialization. ##
1603 ## ------------------------ ##
1605 # ac_fn_c_try_compile LINENO
1606 # --------------------------
1607 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1608 ac_fn_c_try_compile ()
1610 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611 rm -f conftest.$ac_objext
1612 if { { ac_try="$ac_compile"
1614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1615 *) ac_try_echo=$ac_try;;
1617 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1618 $as_echo "$ac_try_echo"; } >&5
1619 (eval "$ac_compile") 2>conftest.err
1621 if test -s conftest.err; then
1622 grep -v '^ *+' conftest.err >conftest.er1
1623 cat conftest.er1 >&5
1624 mv -f conftest.er1 conftest.err
1626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1627 test $ac_status = 0; } && {
1628 test -z "$ac_c_werror_flag" ||
1629 test ! -s conftest.err
1630 } && test -s conftest.$ac_objext; then :
1633 $as_echo "$as_me: failed program was:" >&5
1634 sed 's/^/| /' conftest.$ac_ext >&5
1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639 as_fn_set_status $ac_retval
1641 } # ac_fn_c_try_compile
1643 # ac_fn_cxx_try_compile LINENO
1644 # ----------------------------
1645 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_cxx_try_compile ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 rm -f conftest.$ac_objext
1650 if { { ac_try="$ac_compile"
1652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1653 *) ac_try_echo=$ac_try;;
1655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_compile") 2>conftest.err
1659 if test -s conftest.err; then
1660 grep -v '^ *+' conftest.err >conftest.er1
1661 cat conftest.er1 >&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && {
1666 test -z "$ac_cxx_werror_flag" ||
1667 test ! -s conftest.err
1668 } && test -s conftest.$ac_objext; then :
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.$ac_ext >&5
1676 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 as_fn_set_status $ac_retval
1679 } # ac_fn_cxx_try_compile
1681 # ac_fn_c_try_link LINENO
1682 # -----------------------
1683 # Try to link conftest.$ac_ext, and return whether this succeeded.
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 rm -f conftest.$ac_objext conftest$ac_exeext
1688 if { { ac_try="$ac_link"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_link") 2>conftest.err
1697 if test -s conftest.err; then
1698 grep -v '^ *+' conftest.err >conftest.er1
1699 cat conftest.er1 >&5
1700 mv -f conftest.er1 conftest.err
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && {
1704 test -z "$ac_c_werror_flag" ||
1705 test ! -s conftest.err
1706 } && test -s conftest$ac_exeext && {
1707 test "$cross_compiling" = yes ||
1708 $as_test_x conftest$ac_exeext
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1717 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1718 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1719 # interfere with the next link command; also delete a directory that is
1720 # left behind by Apple's compiler. We do this before executing the actions.
1721 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1722 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723 as_fn_set_status $ac_retval
1725 } # ac_fn_c_try_link
1727 # ac_fn_c_try_cpp LINENO
1728 # ----------------------
1729 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1733 if { { ac_try="$ac_cpp conftest.$ac_ext"
1735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736 *) ac_try_echo=$ac_try;;
1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1742 if test -s conftest.err; then
1743 grep -v '^ *+' conftest.err >conftest.er1
1744 cat conftest.er1 >&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } > conftest.i && {
1749 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.$ac_ext >&5
1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760 as_fn_set_status $ac_retval
1764 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1765 # -------------------------------------------------------
1766 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1767 # the include files in INCLUDES and setting the cache variable VAR
1769 ac_fn_c_check_header_mongrel ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 if eval \${$3+:} false; then :
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1774 $as_echo_n "checking for $2... " >&6; }
1775 if eval \${$3+:} false; then :
1776 $as_echo_n "(cached) " >&6
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1782 # Is the header compilable?
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1784 $as_echo_n "checking $2 usability... " >&6; }
1785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1786 /* end confdefs.h. */
1790 if ac_fn_c_try_compile "$LINENO"; then :
1791 ac_header_compiler=yes
1793 ac_header_compiler=no
1795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1797 $as_echo "$ac_header_compiler" >&6; }
1799 # Is the header present?
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1801 $as_echo_n "checking $2 presence... " >&6; }
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1806 if ac_fn_c_try_cpp "$LINENO"; then :
1807 ac_header_preproc=yes
1809 ac_header_preproc=no
1811 rm -f conftest.err conftest.i conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1813 $as_echo "$ac_header_preproc" >&6; }
1815 # So? What about this header?
1816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1819 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1825 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1827 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1829 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1831 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1833 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1834 ( $as_echo "## ------------------------------------ ##
1835 ## Report this to wine-devel@winehq.org ##
1836 ## ------------------------------------ ##"
1837 ) | sed "s/^/$as_me: WARNING: /" >&2
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if eval \${$3+:} false; then :
1843 $as_echo_n "(cached) " >&6
1845 eval "$3=\$ac_header_compiler"
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849 $as_echo "$ac_res" >&6; }
1851 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853 } # ac_fn_c_check_header_mongrel
1855 # ac_fn_c_try_run LINENO
1856 # ----------------------
1857 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1858 # that executables *can* be run.
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 if { { ac_try="$ac_link"
1864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868 $as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_link") 2>&5
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1873 { { case "(($ac_try" in
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_try") 2>&5
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; }; }; then :
1885 $as_echo "$as_me: program exited with status $ac_status" >&5
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1889 ac_retval=$ac_status
1891 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893 as_fn_set_status $ac_retval
1897 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1898 # -------------------------------------------------------
1899 # Tests whether HEADER exists and can be compiled using the include files in
1900 # INCLUDES, setting the cache variable VAR accordingly.
1901 ac_fn_c_check_header_compile ()
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1905 $as_echo_n "checking for $2... " >&6; }
1906 if eval \${$3+:} false; then :
1907 $as_echo_n "(cached) " >&6
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1914 if ac_fn_c_try_compile "$LINENO"; then :
1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923 $as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1926 } # ac_fn_c_check_header_compile
1928 # ac_fn_c_check_func LINENO FUNC VAR
1929 # ----------------------------------
1930 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1931 ac_fn_c_check_func ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval \${$3+:} false; then :
1937 $as_echo_n "(cached) " >&6
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1941 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1943 #define $2 innocuous_$2
1945 /* System header to define __stub macros and hopefully few prototypes,
1946 which can conflict with char $2 (); below.
1947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1948 <limits.h> exists even on freestanding compilers. */
1951 # include <limits.h>
1953 # include <assert.h>
1958 /* Override any GCC internal prototype to avoid an error.
1959 Use char because int might match the return type of a GCC
1960 builtin and then its argument prototype would still apply. */
1965 /* The GNU C library defines this for functions which it implements
1966 to always fail with ENOSYS. Some functions are actually named
1967 something starting with __ and the normal name is an alias. */
1968 #if defined __stub_$2 || defined __stub___$2
1980 if ac_fn_c_try_link "$LINENO"; then :
1985 rm -f core conftest.err conftest.$ac_objext \
1986 conftest$ac_exeext conftest.$ac_ext
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1993 } # ac_fn_c_check_func
1995 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1996 # ----------------------------------------------------
1997 # Tries to find if the field MEMBER exists in type AGGR, after including
1998 # INCLUDES, setting cache variable VAR accordingly.
1999 ac_fn_c_check_member ()
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2003 $as_echo_n "checking for $2.$3... " >&6; }
2004 if eval \${$4+:} false; then :
2005 $as_echo_n "(cached) " >&6
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2020 if ac_fn_c_try_compile "$LINENO"; then :
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2030 if (sizeof ac_aggr.$3)
2036 if ac_fn_c_try_compile "$LINENO"; then :
2041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050 } # ac_fn_c_check_member
2052 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053 # -------------------------------------------
2054 # Tests whether TYPE exists after having included INCLUDES, setting cache
2055 # variable VAR accordingly.
2056 ac_fn_c_check_type ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \${$3+:} false; then :
2062 $as_echo_n "(cached) " >&6
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066 /* end confdefs.h. */
2077 if ac_fn_c_try_compile "$LINENO"; then :
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2090 if ac_fn_c_try_compile "$LINENO"; then :
2095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101 $as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2104 } # ac_fn_c_check_type
2105 cat >config.log <<_ACEOF
2106 This file contains any messages produced by compilers while
2107 running configure, to aid debugging if configure makes a mistake.
2109 It was created by Wine $as_me 1.3.25, which was
2110 generated by GNU Autoconf 2.68. Invocation command line was
2122 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2123 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2124 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2125 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2126 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2128 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2129 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2131 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2132 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2133 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2134 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2135 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2136 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2137 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir=.
2146 $as_echo "PATH: $as_dir"
2162 # Keep a trace of the command line.
2163 # Strip out --no-create and --no-recursion so they do not pile up.
2164 # Strip out --silent because we don't want to record it for future runs.
2165 # Also quote any args containing shell meta-characters.
2166 # Make two passes to allow for proper duplicate-argument suppression.
2170 ac_must_keep_next=false
2176 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178 | -silent | --silent | --silen | --sile | --sil)
2181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2186 as_fn_append ac_configure_args1 " '$ac_arg'"
2187 if test $ac_must_keep_next = true; then
2188 ac_must_keep_next=false # Got value, back to normal.
2191 *=* | --config-cache | -C | -disable-* | --disable-* \
2192 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194 | -with-* | --with-* | -without-* | --without-* | --x)
2195 case "$ac_configure_args0 " in
2196 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199 -* ) ac_must_keep_next=true ;;
2202 as_fn_append ac_configure_args " '$ac_arg'"
2207 { ac_configure_args0=; unset ac_configure_args0;}
2208 { ac_configure_args1=; unset ac_configure_args1;}
2210 # When interrupted or exit'd, cleanup temporary files, and complete
2211 # config.log. We remove comments because anyway the quotes in there
2212 # would cause problems or look ugly.
2213 # WARNING: Use '\'' to represent an apostrophe within the trap.
2214 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2215 trap 'exit_status=$?
2216 # Save into config.log some information that might help in debugging.
2220 $as_echo "## ---------------- ##
2221 ## Cache variables. ##
2222 ## ---------------- ##"
2224 # The following way of writing the cache mishandles newlines in values,
2226 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2227 eval ac_val=\$$ac_var
2231 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2232 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2235 _ | IFS | as_nl) ;; #(
2236 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237 *) { eval $ac_var=; unset $ac_var;} ;;
2242 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2243 *${as_nl}ac_space=\ *)
2245 "s/'\''/'\''\\\\'\'''\''/g;
2246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2249 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2256 $as_echo "## ----------------- ##
2257 ## Output variables. ##
2258 ## ----------------- ##"
2260 for ac_var in $ac_subst_vars
2262 eval ac_val=\$$ac_var
2264 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266 $as_echo "$ac_var='\''$ac_val'\''"
2270 if test -n "$ac_subst_files"; then
2271 $as_echo "## ------------------- ##
2272 ## File substitutions. ##
2273 ## ------------------- ##"
2275 for ac_var in $ac_subst_files
2277 eval ac_val=\$$ac_var
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 $as_echo "$ac_var='\''$ac_val'\''"
2286 if test -s confdefs.h; then
2287 $as_echo "## ----------- ##
2294 test "$ac_signal" != 0 &&
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
2298 rm -f core *.core core.conftest.* &&
2299 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2302 for ac_signal in 1 2 13 15; do
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2307 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2308 rm -f -r conftest* confdefs.h
2310 $as_echo "/* confdefs.h */" > confdefs.h
2312 # Predefined preprocessor variables.
2314 cat >>confdefs.h <<_ACEOF
2315 #define PACKAGE_NAME "$PACKAGE_NAME"
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_STRING "$PACKAGE_STRING"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_URL "$PACKAGE_URL"
2339 # Let the site file select an alternate cache file if it wants to.
2340 # Prefer an explicitly selected file to automatically selected ones.
2343 if test -n "$CONFIG_SITE"; then
2344 # We do not want a PATH search for config.site.
2345 case $CONFIG_SITE in #((
2346 -*) ac_site_file1=./$CONFIG_SITE;;
2347 */*) ac_site_file1=$CONFIG_SITE;;
2348 *) ac_site_file1=./$CONFIG_SITE;;
2350 elif test "x$prefix" != xNONE; then
2351 ac_site_file1=$prefix/share/config.site
2352 ac_site_file2=$prefix/etc/config.site
2354 ac_site_file1=$ac_default_prefix/share/config.site
2355 ac_site_file2=$ac_default_prefix/etc/config.site
2357 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2359 test "x$ac_site_file" = xNONE && continue
2360 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2362 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2363 sed 's/^/| /' "$ac_site_file" >&5
2365 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367 as_fn_error $? "failed to load site script $ac_site_file
2368 See \`config.log' for more details" "$LINENO" 5; }
2372 if test -r "$cache_file"; then
2373 # Some versions of bash will fail to source /dev/null (special files
2374 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2375 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2377 $as_echo "$as_me: loading cache $cache_file" >&6;}
2379 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2380 *) . "./$cache_file";;
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
2389 # Check that the precious variables saved in the cache have kept the same
2391 ac_cache_corrupted=false
2392 for ac_var in $ac_precious_vars; do
2393 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2394 eval ac_new_set=\$ac_env_${ac_var}_set
2395 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2396 eval ac_new_val=\$ac_env_${ac_var}_value
2397 case $ac_old_set,$ac_new_set in
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2400 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2401 ac_cache_corrupted=: ;;
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2404 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2405 ac_cache_corrupted=: ;;
2408 if test "x$ac_old_val" != "x$ac_new_val"; then
2409 # differences in whitespace do not lead to failure.
2410 ac_old_val_w=`echo x $ac_old_val`
2411 ac_new_val_w=`echo x $ac_new_val`
2412 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2414 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2415 ac_cache_corrupted=:
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2418 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2419 eval $ac_var=\$ac_old_val
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2422 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2424 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2427 # Pass precious variables to config.status.
2428 if test "$ac_new_set" = set; then
2430 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2431 *) ac_arg=$ac_var=$ac_new_val ;;
2433 case " $ac_configure_args " in
2434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2435 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2439 if $ac_cache_corrupted; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2446 ## -------------------- ##
2447 ## Main body of script. ##
2448 ## -------------------- ##
2451 ac_cpp='$CPP $CPPFLAGS'
2452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2458 ac_config_headers="$ac_config_headers include/config.h"
2461 for ac_dir in tools "$srcdir"/tools; do
2462 if test -f "$ac_dir/install-sh"; then
2464 ac_install_sh="$ac_aux_dir/install-sh -c"
2466 elif test -f "$ac_dir/install.sh"; then
2468 ac_install_sh="$ac_aux_dir/install.sh -c"
2470 elif test -f "$ac_dir/shtool"; then
2472 ac_install_sh="$ac_aux_dir/shtool install -c"
2476 if test -z "$ac_aux_dir"; then
2477 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2480 # These three variables are undocumented and unsupported,
2481 # and are intended to be withdrawn in a future Autoconf release.
2482 # They can cause serious problems if a builder's source tree is in a directory
2483 # whose full name contains unusual characters.
2484 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2485 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2486 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2492 # Check whether --enable-win16 was given.
2493 if test "${enable_win16+set}" = set; then :
2494 enableval=$enable_win16;
2497 # Check whether --enable-win64 was given.
2498 if test "${enable_win64+set}" = set; then :
2499 enableval=$enable_win64;
2502 # Check whether --enable-tests was given.
2503 if test "${enable_tests+set}" = set; then :
2504 enableval=$enable_tests;
2507 # Check whether --enable-maintainer-mode was given.
2508 if test "${enable_maintainer_mode+set}" = set; then :
2509 enableval=$enable_maintainer_mode;
2514 # Check whether --with-alsa was given.
2515 if test "${with_alsa+set}" = set; then :
2516 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2520 # Check whether --with-capi was given.
2521 if test "${with_capi+set}" = set; then :
2522 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2526 # Check whether --with-cms was given.
2527 if test "${with_cms+set}" = set; then :
2528 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2532 # Check whether --with-coreaudio was given.
2533 if test "${with_coreaudio+set}" = set; then :
2534 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2538 # Check whether --with-cups was given.
2539 if test "${with_cups+set}" = set; then :
2544 # Check whether --with-curses was given.
2545 if test "${with_curses+set}" = set; then :
2546 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2550 # Check whether --with-fontconfig was given.
2551 if test "${with_fontconfig+set}" = set; then :
2552 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2556 # Check whether --with-freetype was given.
2557 if test "${with_freetype+set}" = set; then :
2558 withval=$with_freetype;
2562 # Check whether --with-gettextpo was given.
2563 if test "${with_gettextpo+set}" = set; then :
2564 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2568 # Check whether --with-gphoto was given.
2569 if test "${with_gphoto+set}" = set; then :
2570 withval=$with_gphoto;
2574 # Check whether --with-glu was given.
2575 if test "${with_glu+set}" = set; then :
2576 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2580 # Check whether --with-gnutls was given.
2581 if test "${with_gnutls+set}" = set; then :
2582 withval=$with_gnutls;
2586 # Check whether --with-gsm was given.
2587 if test "${with_gsm+set}" = set; then :
2588 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2592 # Check whether --with-gstreamer was given.
2593 if test "${with_gstreamer+set}" = set; then :
2594 withval=$with_gstreamer;
2598 # Check whether --with-hal was given.
2599 if test "${with_hal+set}" = set; then :
2604 # Check whether --with-jpeg was given.
2605 if test "${with_jpeg+set}" = set; then :
2606 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2610 # Check whether --with-ldap was given.
2611 if test "${with_ldap+set}" = set; then :
2612 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2616 # Check whether --with-mpg123 was given.
2617 if test "${with_mpg123+set}" = set; then :
2618 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2622 # Check whether --with-openal was given.
2623 if test "${with_openal+set}" = set; then :
2624 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2628 # Check whether --with-opencl was given.
2629 if test "${with_opencl+set}" = set; then :
2630 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2634 # Check whether --with-opengl was given.
2635 if test "${with_opengl+set}" = set; then :
2636 withval=$with_opengl;
2640 # Check whether --with-openssl was given.
2641 if test "${with_openssl+set}" = set; then :
2642 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2646 # Check whether --with-oss was given.
2647 if test "${with_oss+set}" = set; then :
2652 # Check whether --with-png was given.
2653 if test "${with_png+set}" = set; then :
2654 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2658 # Check whether --with-pthread was given.
2659 if test "${with_pthread+set}" = set; then :
2660 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2664 # Check whether --with-sane was given.
2665 if test "${with_sane+set}" = set; then :
2670 # Check whether --with-tiff was given.
2671 if test "${with_tiff+set}" = set; then :
2672 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2676 # Check whether --with-v4l was given.
2677 if test "${with_v4l+set}" = set; then :
2682 # Check whether --with-xcomposite was given.
2683 if test "${with_xcomposite+set}" = set; then :
2684 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2688 # Check whether --with-xcursor was given.
2689 if test "${with_xcursor+set}" = set; then :
2690 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2694 # Check whether --with-xinerama was given.
2695 if test "${with_xinerama+set}" = set; then :
2696 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2700 # Check whether --with-xinput was given.
2701 if test "${with_xinput+set}" = set; then :
2702 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2706 # Check whether --with-xinput2 was given.
2707 if test "${with_xinput2+set}" = set; then :
2708 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2712 # Check whether --with-xml was given.
2713 if test "${with_xml+set}" = set; then :
2718 # Check whether --with-xrandr was given.
2719 if test "${with_xrandr+set}" = set; then :
2720 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2724 # Check whether --with-xrender was given.
2725 if test "${with_xrender+set}" = set; then :
2726 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2730 # Check whether --with-xshape was given.
2731 if test "${with_xshape+set}" = set; then :
2732 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2736 # Check whether --with-xshm was given.
2737 if test "${with_xshm+set}" = set; then :
2738 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2742 # Check whether --with-xslt was given.
2743 if test "${with_xslt+set}" = set; then :
2748 # Check whether --with-xxf86vm was given.
2749 if test "${with_xxf86vm+set}" = set; then :
2750 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
2754 # Check whether --with-zlib was given.
2755 if test "${with_zlib+set}" = set; then :
2756 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2761 # Check whether --with-wine-tools was given.
2762 if test "${with_wine_tools+set}" = set; then :
2763 withval=$with_wine_tools;
2767 # Check whether --with-wine64 was given.
2768 if test "${with_wine64+set}" = set; then :
2769 withval=$with_wine64;
2773 # Make sure we can run config.sub.
2774 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2775 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2778 $as_echo_n "checking build system type... " >&6; }
2779 if ${ac_cv_build+:} false; then :
2780 $as_echo_n "(cached) " >&6
2782 ac_build_alias=$build_alias
2783 test "x$ac_build_alias" = x &&
2784 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2785 test "x$ac_build_alias" = x &&
2786 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2787 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2788 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2792 $as_echo "$ac_cv_build" >&6; }
2793 case $ac_cv_build in
2795 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2798 ac_save_IFS=$IFS; IFS='-'
2804 # Remember, the first character of IFS is used to create $*,
2805 # except with old shells:
2808 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2812 $as_echo_n "checking host system type... " >&6; }
2813 if ${ac_cv_host+:} false; then :
2814 $as_echo_n "(cached) " >&6
2816 if test "x$host_alias" = x; then
2817 ac_cv_host=$ac_cv_build
2819 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2820 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2825 $as_echo "$ac_cv_host" >&6; }
2828 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2831 ac_save_IFS=$IFS; IFS='-'
2837 # Remember, the first character of IFS is used to create $*,
2838 # except with old shells:
2841 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2847 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2848 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2849 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2855 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2857 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2858 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2859 $as_echo_n "(cached) " >&6
2861 cat >conftest.make <<\_ACEOF
2864 @echo '@@@%%%=$(MAKE)=@@@%%%'
2866 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2867 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2869 eval ac_cv_prog_make_${ac_make}_set=yes;;
2871 eval ac_cv_prog_make_${ac_make}_set=no;;
2875 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2877 $as_echo "yes" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2882 SET_MAKE="MAKE=${MAKE-make}"
2886 ac_cpp='$CPP $CPPFLAGS'
2887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2890 if test -n "$ac_tool_prefix"; then
2891 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2892 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if ${ac_cv_prog_CC+:} false; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$CC"; then
2899 ac_cv_prog_CC="$CC" # Let the user override the test.
2901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir=.
2906 for ac_exec_ext in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 if test -n "$CC"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2921 $as_echo "$CC" >&6; }
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2929 if test -z "$ac_cv_prog_CC"; then
2931 # Extract the first word of "gcc", so it can be a program name with args.
2932 set dummy gcc; ac_word=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$ac_ct_CC"; then
2939 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir=.
2946 for ac_exec_ext in '' $ac_executable_extensions; do
2947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2948 ac_cv_prog_ac_ct_CC="gcc"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2959 if test -n "$ac_ct_CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2961 $as_echo "$ac_ct_CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2967 if test "x$ac_ct_CC" = x; then
2970 case $cross_compiling:$ac_tool_warned in
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2974 ac_tool_warned=yes ;;
2982 if test -z "$CC"; then
2983 if test -n "$ac_tool_prefix"; then
2984 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2985 set dummy ${ac_tool_prefix}cc; ac_word=$2
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2987 $as_echo_n "checking for $ac_word... " >&6; }
2988 if ${ac_cv_prog_CC+:} false; then :
2989 $as_echo_n "(cached) " >&6
2991 if test -n "$CC"; then
2992 ac_cv_prog_CC="$CC" # Let the user override the test.
2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir=.
2999 for ac_exec_ext in '' $ac_executable_extensions; do
3000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3001 ac_cv_prog_CC="${ac_tool_prefix}cc"
3002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 if test -n "$CC"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3014 $as_echo "$CC" >&6; }
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017 $as_echo "no" >&6; }
3023 if test -z "$CC"; then
3024 # Extract the first word of "cc", so it can be a program name with args.
3025 set dummy cc; ac_word=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_CC+:} false; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$CC"; then
3032 ac_cv_prog_CC="$CC" # Let the user override the test.
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 test -z "$as_dir" && as_dir=.
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3043 ac_prog_rejected=yes
3047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3054 if test $ac_prog_rejected = yes; then
3055 # We found a bogon in the path, so make sure we never use it.
3056 set dummy $ac_cv_prog_CC
3058 if test $# != 0; then
3059 # We chose a different compiler from the bogus one.
3060 # However, it has the same basename, so the bogon will be chosen
3061 # first if we set CC to just the basename; use the full file name.
3063 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3069 if test -n "$CC"; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3071 $as_echo "$CC" >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3074 $as_echo "no" >&6; }
3079 if test -z "$CC"; then
3080 if test -n "$ac_tool_prefix"; then
3081 for ac_prog in cl.exe
3083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086 $as_echo_n "checking for $ac_word... " >&6; }
3087 if ${ac_cv_prog_CC+:} false; then :
3088 $as_echo_n "(cached) " >&6
3090 if test -n "$CC"; then
3091 ac_cv_prog_CC="$CC" # Let the user override the test.
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir=.
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3100 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111 if test -n "$CC"; then
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3113 $as_echo "$CC" >&6; }
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116 $as_echo "no" >&6; }
3120 test -n "$CC" && break
3123 if test -z "$CC"; then
3125 for ac_prog in cl.exe
3127 # Extract the first word of "$ac_prog", so it can be a program name with args.
3128 set dummy $ac_prog; ac_word=$2
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3130 $as_echo_n "checking for $ac_word... " >&6; }
3131 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3132 $as_echo_n "(cached) " >&6
3134 if test -n "$ac_ct_CC"; then
3135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir=.
3142 for ac_exec_ext in '' $ac_executable_extensions; do
3143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3144 ac_cv_prog_ac_ct_CC="$ac_prog"
3145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3155 if test -n "$ac_ct_CC"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3157 $as_echo "$ac_ct_CC" >&6; }
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3160 $as_echo "no" >&6; }
3164 test -n "$ac_ct_CC" && break
3167 if test "x$ac_ct_CC" = x; then
3170 case $cross_compiling:$ac_tool_warned in
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3174 ac_tool_warned=yes ;;
3183 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3185 as_fn_error $? "no acceptable C compiler found in \$PATH
3186 See \`config.log' for more details" "$LINENO" 5; }
3188 # Provide some information about the compiler.
3189 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3192 for ac_option in --version -v -V -qversion; do
3193 { { ac_try="$ac_compiler $ac_option >&5"
3195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196 *) ac_try_echo=$ac_try;;
3198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3199 $as_echo "$ac_try_echo"; } >&5
3200 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3202 if test -s conftest.err; then
3204 ... rest of stderr output deleted ...
3205 10q' conftest.err >conftest.er1
3206 cat conftest.er1 >&5
3208 rm -f conftest.er1 conftest.err
3209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3210 test $ac_status = 0; }
3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3224 ac_clean_files_save=$ac_clean_files
3225 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3226 # Try to create an executable without -o first, disregard a.out.
3227 # It will help us diagnose broken compilers, and finding out an intuition
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3230 $as_echo_n "checking whether the C compiler works... " >&6; }
3231 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3233 # The possible output files:
3234 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3237 for ac_file in $ac_files
3240 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3241 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3246 if { { ac_try="$ac_link_default"
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3252 $as_echo "$ac_try_echo"; } >&5
3253 (eval "$ac_link_default") 2>&5
3255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3256 test $ac_status = 0; }; then :
3257 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3258 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3259 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3260 # so that the user can short-circuit this test for compilers unknown to
3262 for ac_file in $ac_files ''
3264 test -f "$ac_file" || continue
3266 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3269 # We found the default executable, but exeext='' is most
3273 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3275 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3277 # We set ac_cv_exeext here because the later test for it is not
3278 # safe: cross compilers may not add the suffix if given an `-o'
3279 # argument, so we may need to know it at that point already.
3280 # Even if this section looks crufty: it has the advantage of
3287 test "$ac_cv_exeext" = no && ac_cv_exeext=
3292 if test -z "$ac_file"; then :
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3294 $as_echo "no" >&6; }
3295 $as_echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3300 as_fn_error 77 "C compiler cannot create executables
3301 See \`config.log' for more details" "$LINENO" 5; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3304 $as_echo "yes" >&6; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3307 $as_echo_n "checking for C compiler default output file name... " >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3309 $as_echo "$ac_file" >&6; }
3310 ac_exeext=$ac_cv_exeext
3312 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3313 ac_clean_files=$ac_clean_files_save
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3315 $as_echo_n "checking for suffix of executables... " >&6; }
3316 if { { ac_try="$ac_link"
3318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319 *) ac_try_echo=$ac_try;;
3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3322 $as_echo "$ac_try_echo"; } >&5
3323 (eval "$ac_link") 2>&5
3325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3326 test $ac_status = 0; }; then :
3327 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3328 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3329 # work properly (i.e., refer to `conftest.exe'), while it won't with
3331 for ac_file in conftest.exe conftest conftest.*; do
3332 test -f "$ac_file" || continue
3334 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3335 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3343 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3344 See \`config.log' for more details" "$LINENO" 5; }
3346 rm -f conftest conftest$ac_cv_exeext
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3348 $as_echo "$ac_cv_exeext" >&6; }
3350 rm -f conftest.$ac_ext
3351 EXEEXT=$ac_cv_exeext
3353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3354 /* end confdefs.h. */
3359 FILE *f = fopen ("conftest.out", "w");
3360 return ferror (f) || fclose (f) != 0;
3366 ac_clean_files="$ac_clean_files conftest.out"
3367 # Check that the compiler produces executables we can run. If not, either
3368 # the compiler is broken, or we cross compile.
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3370 $as_echo_n "checking whether we are cross compiling... " >&6; }
3371 if test "$cross_compiling" != yes; then
3372 { { ac_try="$ac_link"
3374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3375 *) ac_try_echo=$ac_try;;
3377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3378 $as_echo "$ac_try_echo"; } >&5
3379 (eval "$ac_link") 2>&5
3381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3382 test $ac_status = 0; }
3383 if { ac_try='./conftest$ac_cv_exeext'
3384 { { case "(($ac_try" in
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_try") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; }; then
3396 if test "$cross_compiling" = maybe; then
3399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3401 as_fn_error $? "cannot run C compiled programs.
3402 If you meant to cross compile, use \`--host'.
3403 See \`config.log' for more details" "$LINENO" 5; }
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3408 $as_echo "$cross_compiling" >&6; }
3410 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3411 ac_clean_files=$ac_clean_files_save
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3413 $as_echo_n "checking for suffix of object files... " >&6; }
3414 if ${ac_cv_objext+:} false; then :
3415 $as_echo_n "(cached) " >&6
3417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3418 /* end confdefs.h. */
3428 rm -f conftest.o conftest.obj
3429 if { { ac_try="$ac_compile"
3431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432 *) ac_try_echo=$ac_try;;
3434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3435 $as_echo "$ac_try_echo"; } >&5
3436 (eval "$ac_compile") 2>&5
3438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439 test $ac_status = 0; }; then :
3440 for ac_file in conftest.o conftest.obj conftest.*; do
3441 test -f "$ac_file" || continue;
3443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3444 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3449 $as_echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3454 as_fn_error $? "cannot compute suffix of object files: cannot compile
3455 See \`config.log' for more details" "$LINENO" 5; }
3457 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3460 $as_echo "$ac_cv_objext" >&6; }
3461 OBJEXT=$ac_cv_objext
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3464 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3465 if ${ac_cv_c_compiler_gnu+:} false; then :
3466 $as_echo_n "(cached) " >&6
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3482 if ac_fn_c_try_compile "$LINENO"; then :
3487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3488 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3492 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3493 if test $ac_compiler_gnu = yes; then
3498 ac_test_CFLAGS=${CFLAGS+set}
3499 ac_save_CFLAGS=$CFLAGS
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3501 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3502 if ${ac_cv_prog_cc_g+:} false; then :
3503 $as_echo_n "(cached) " >&6
3505 ac_save_c_werror_flag=$ac_c_werror_flag
3506 ac_c_werror_flag=yes
3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3520 if ac_fn_c_try_compile "$LINENO"; then :
3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525 /* end confdefs.h. */
3535 if ac_fn_c_try_compile "$LINENO"; then :
3538 ac_c_werror_flag=$ac_save_c_werror_flag
3540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3541 /* end confdefs.h. */
3551 if ac_fn_c_try_compile "$LINENO"; then :
3554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 ac_c_werror_flag=$ac_save_c_werror_flag
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3562 $as_echo "$ac_cv_prog_cc_g" >&6; }
3563 if test "$ac_test_CFLAGS" = set; then
3564 CFLAGS=$ac_save_CFLAGS
3565 elif test $ac_cv_prog_cc_g = yes; then
3566 if test "$GCC" = yes; then
3572 if test "$GCC" = yes; then
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3579 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3580 if ${ac_cv_prog_cc_c89+:} false; then :
3581 $as_echo_n "(cached) " >&6
3583 ac_cv_prog_cc_c89=no
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3589 #include <sys/types.h>
3590 #include <sys/stat.h>
3591 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3592 struct buf { int x; };
3593 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3594 static char *e (p, i)
3600 static char *f (char * (*g) (char **, int), char **p, ...)
3605 s = g (p, va_arg (v,int));
3610 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3611 function prototypes and stuff, but not '\xHH' hex character constants.
3612 These don't provoke an error unfortunately, instead are silently treated
3613 as 'x'. The following induces an error, until -std is added to get
3614 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3615 array size at least. It's necessary to write '\x00'==0 to get something
3616 that's true only with -std. */
3617 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3619 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3620 inside strings and character constants. */
3622 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3624 int test (int i, double x);
3625 struct s1 {int (*f) (int a);};
3626 struct s2 {int (*f) (double a);};
3627 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3633 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3638 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3639 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3641 CC="$ac_save_CC $ac_arg"
3642 if ac_fn_c_try_compile "$LINENO"; then :
3643 ac_cv_prog_cc_c89=$ac_arg
3645 rm -f core conftest.err conftest.$ac_objext
3646 test "x$ac_cv_prog_cc_c89" != "xno" && break
3648 rm -f conftest.$ac_ext
3653 case "x$ac_cv_prog_cc_c89" in
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3656 $as_echo "none needed" >&6; } ;;
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3659 $as_echo "unsupported" >&6; } ;;
3661 CC="$CC $ac_cv_prog_cc_c89"
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3663 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3665 if test "x$ac_cv_prog_cc_c89" != xno; then :
3670 ac_cpp='$CPP $CPPFLAGS'
3671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3676 ac_cpp='$CXXCPP $CPPFLAGS'
3677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3680 if test -z "$CXX"; then
3681 if test -n "$CCC"; then
3684 if test -n "$ac_tool_prefix"; then
3685 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3690 $as_echo_n "checking for $ac_word... " >&6; }
3691 if ${ac_cv_prog_CXX+:} false; then :
3692 $as_echo_n "(cached) " >&6
3694 if test -n "$CXX"; then
3695 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir=.
3702 for ac_exec_ext in '' $ac_executable_extensions; do
3703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3704 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 if test -n "$CXX"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3717 $as_echo "$CXX" >&6; }
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3720 $as_echo "no" >&6; }
3724 test -n "$CXX" && break
3727 if test -z "$CXX"; then
3729 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3731 # Extract the first word of "$ac_prog", so it can be a program name with args.
3732 set dummy $ac_prog; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$ac_ct_CXX"; then
3739 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir=.
3746 for ac_exec_ext in '' $ac_executable_extensions; do
3747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3748 ac_cv_prog_ac_ct_CXX="$ac_prog"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3758 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3759 if test -n "$ac_ct_CXX"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3761 $as_echo "$ac_ct_CXX" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3768 test -n "$ac_ct_CXX" && break
3771 if test "x$ac_ct_CXX" = x; then
3774 case $cross_compiling:$ac_tool_warned in
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3778 ac_tool_warned=yes ;;
3786 # Provide some information about the compiler.
3787 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3790 for ac_option in --version -v -V -qversion; do
3791 { { ac_try="$ac_compiler $ac_option >&5"
3793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3794 *) ac_try_echo=$ac_try;;
3796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3797 $as_echo "$ac_try_echo"; } >&5
3798 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3800 if test -s conftest.err; then
3802 ... rest of stderr output deleted ...
3803 10q' conftest.err >conftest.er1
3804 cat conftest.er1 >&5
3806 rm -f conftest.er1 conftest.err
3807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3808 test $ac_status = 0; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3812 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3813 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3814 $as_echo_n "(cached) " >&6
3816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817 /* end confdefs.h. */
3830 if ac_fn_cxx_try_compile "$LINENO"; then :
3835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3840 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3841 if test $ac_compiler_gnu = yes; then
3846 ac_test_CXXFLAGS=${CXXFLAGS+set}
3847 ac_save_CXXFLAGS=$CXXFLAGS
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3849 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3850 if ${ac_cv_prog_cxx_g+:} false; then :
3851 $as_echo_n "(cached) " >&6
3853 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3854 ac_cxx_werror_flag=yes
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 if ac_fn_cxx_try_compile "$LINENO"; then :
3869 ac_cv_prog_cxx_g=yes
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3883 if ac_fn_cxx_try_compile "$LINENO"; then :
3886 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889 /* end confdefs.h. */
3899 if ac_fn_cxx_try_compile "$LINENO"; then :
3900 ac_cv_prog_cxx_g=yes
3902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3910 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3911 if test "$ac_test_CXXFLAGS" = set; then
3912 CXXFLAGS=$ac_save_CXXFLAGS
3913 elif test $ac_cv_prog_cxx_g = yes; then
3914 if test "$GXX" = yes; then
3920 if test "$GXX" = yes; then
3927 ac_cpp='$CPP $CPPFLAGS'
3928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3932 if test -n "$ac_tool_prefix"; then
3933 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3934 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if ${ac_cv_prog_CPPBIN+:} false; then :
3938 $as_echo_n "(cached) " >&6
3940 if test -n "$CPPBIN"; then
3941 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir=.
3948 for ac_exec_ext in '' $ac_executable_extensions; do
3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3960 CPPBIN=$ac_cv_prog_CPPBIN
3961 if test -n "$CPPBIN"; then
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3963 $as_echo "$CPPBIN" >&6; }
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3966 $as_echo "no" >&6; }
3971 if test -z "$ac_cv_prog_CPPBIN"; then
3972 ac_ct_CPPBIN=$CPPBIN
3973 # Extract the first word of "cpp", so it can be a program name with args.
3974 set dummy cpp; ac_word=$2
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3976 $as_echo_n "checking for $ac_word... " >&6; }
3977 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
3978 $as_echo_n "(cached) " >&6
3980 if test -n "$ac_ct_CPPBIN"; then
3981 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir=.
3988 for ac_exec_ext in '' $ac_executable_extensions; do
3989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3990 ac_cv_prog_ac_ct_CPPBIN="cpp"
3991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4001 if test -n "$ac_ct_CPPBIN"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4003 $as_echo "$ac_ct_CPPBIN" >&6; }
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4009 if test "x$ac_ct_CPPBIN" = x; then
4012 case $cross_compiling:$ac_tool_warned in
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4016 ac_tool_warned=yes ;;
4018 CPPBIN=$ac_ct_CPPBIN
4021 CPPBIN="$ac_cv_prog_CPPBIN"
4025 cat >>confdefs.h <<_ACEOF
4026 #define EXEEXT "$ac_exeext"
4032 if test "x$enable_win64" = "xyes"
4036 LD="${LD:-ld} -arch x86_64"
4037 AS="${AS:-as} -arch x86_64"
4039 notice_platform="64-bit "
4045 LD="${LD:-ld} -arch i386"
4046 AS="${AS:-as} -arch i386"
4048 notice_platform="32-bit "
4051 enable_win16=${enable_win16:-yes}
4055 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4060 $as_echo_n "checking whether $CC works... " >&6; }
4062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h. */
4073 if ac_fn_c_try_link "$LINENO"; then :
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4075 $as_echo "yes" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4079 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4081 rm -f core conftest.err conftest.$ac_objext \
4082 conftest$ac_exeext conftest.$ac_ext
4083 LD="${LD:-ld} -m elf_i386"
4086 notice_platform="32-bit "
4089 enable_win16=${enable_win16:-yes}
4091 if test "x${GCC}" = "xyes"
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4094 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096 /* end confdefs.h. */
4101 void func(__builtin_ms_va_list *args);
4106 if ac_fn_c_try_compile "$LINENO"; then :
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4108 $as_echo "yes" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4112 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4120 *-mingw32*|*-cygwin*)
4121 enable_win16=${enable_win16:-no}
4122 CFLAGS="$CFLAGS -D_WIN32"
4125 enable_win16=${enable_win16:-yes}
4129 enable_win16=${enable_win16:-no}
4130 enable_win64=${enable_win64:-no}
4132 enable_winetest=${enable_winetest:-$enable_tests}
4134 if test -n "$with_wine64"
4136 if test "x$enable_win64" = "xyes"
4138 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4139 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4143 enable_fonts=${enable_fonts:-no}
4144 enable_server=${enable_server:-no}
4145 enable_tools=${enable_tools:-no}
4146 elif test "x$enable_win64" = "xyes"
4148 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4152 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4153 if ${wine_cv_toolsdir+:} false; then :
4154 $as_echo_n "(cached) " >&6
4156 wine_cv_toolsdir="$with_wine_tools"
4157 if test -z "$with_wine_tools"; then
4158 if test "$cross_compiling" = "yes"; then
4159 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4160 elif test -n "$with_wine64"; then
4161 wine_cv_toolsdir="$with_wine64"
4164 if test -z "$wine_cv_toolsdir"; then
4165 wine_cv_toolsdir="\$(top_builddir)"
4166 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4167 case "$wine_cv_toolsdir" in
4169 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4172 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4176 $as_echo "$wine_cv_toolsdir" >&6; }
4177 TOOLSDIR=$wine_cv_toolsdir
4179 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4181 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4187 # Extract the first word of "$ac_prog", so it can be a program name with args.
4188 set dummy $ac_prog; ac_word=$2
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4190 $as_echo_n "checking for $ac_word... " >&6; }
4191 if ${ac_cv_prog_FLEX+:} false; then :
4192 $as_echo_n "(cached) " >&6
4194 if test -n "$FLEX"; then
4195 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir=.
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4204 ac_cv_prog_FLEX="$ac_prog"
4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 FLEX=$ac_cv_prog_FLEX
4215 if test -n "$FLEX"; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4217 $as_echo "$FLEX" >&6; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220 $as_echo "no" >&6; }
4224 test -n "$FLEX" && break
4226 test -n "$FLEX" || FLEX="none"
4228 if test "$FLEX" = "none"
4230 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4233 $as_echo_n "checking whether flex is recent enough... " >&6; }
4234 cat >conftest.l <<EOF
4236 #include "prediluvian.h"
4240 if $FLEX -t conftest.l >/dev/null 2>&5
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4243 $as_echo "yes" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4247 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4250 for ac_prog in bison
4252 # Extract the first word of "$ac_prog", so it can be a program name with args.
4253 set dummy $ac_prog; ac_word=$2
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255 $as_echo_n "checking for $ac_word... " >&6; }
4256 if ${ac_cv_prog_BISON+:} false; then :
4257 $as_echo_n "(cached) " >&6
4259 if test -n "$BISON"; then
4260 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir=.
4267 for ac_exec_ext in '' $ac_executable_extensions; do
4268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4269 ac_cv_prog_BISON="$ac_prog"
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 BISON=$ac_cv_prog_BISON
4280 if test -n "$BISON"; then
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4282 $as_echo "$BISON" >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4285 $as_echo "no" >&6; }
4289 test -n "$BISON" && break
4291 test -n "$BISON" || BISON="none"
4293 if test "$BISON" = "none"
4295 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4298 if test -n "$ac_tool_prefix"; then
4299 for ac_prog in ar gar
4301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if ${ac_cv_prog_AR+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$AR"; then
4309 ac_cv_prog_AR="$AR" # Let the user override the test.
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir=.
4316 for ac_exec_ext in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 if test -n "$AR"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4331 $as_echo "$AR" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4338 test -n "$AR" && break
4341 if test -z "$AR"; then
4343 for ac_prog in ar gar
4345 # Extract the first word of "$ac_prog", so it can be a program name with args.
4346 set dummy $ac_prog; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$ac_ct_AR"; then
4353 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362 ac_cv_prog_ac_ct_AR="$ac_prog"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4373 if test -n "$ac_ct_AR"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4375 $as_echo "$ac_ct_AR" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4382 test -n "$ac_ct_AR" && break
4385 if test "x$ac_ct_AR" = x; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392 ac_tool_warned=yes ;;
4400 if test -n "$ac_tool_prefix"; then
4401 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4402 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if ${ac_cv_prog_RANLIB+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$RANLIB"; then
4409 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 RANLIB=$ac_cv_prog_RANLIB
4429 if test -n "$RANLIB"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4431 $as_echo "$RANLIB" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4439 if test -z "$ac_cv_prog_RANLIB"; then
4440 ac_ct_RANLIB=$RANLIB
4441 # Extract the first word of "ranlib", so it can be a program name with args.
4442 set dummy ranlib; ac_word=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$ac_ct_RANLIB"; then
4449 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir=.
4456 for ac_exec_ext in '' $ac_executable_extensions; do
4457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4458 ac_cv_prog_ac_ct_RANLIB="ranlib"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4469 if test -n "$ac_ct_RANLIB"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4471 $as_echo "$ac_ct_RANLIB" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4477 if test "x$ac_ct_RANLIB" = x; then
4480 case $cross_compiling:$ac_tool_warned in
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4484 ac_tool_warned=yes ;;
4486 RANLIB=$ac_ct_RANLIB
4489 RANLIB="$ac_cv_prog_RANLIB"
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4493 $as_echo_n "checking whether ln -s works... " >&6; }
4495 if test "$LN_S" = "ln -s"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4497 $as_echo "yes" >&6; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4500 $as_echo "no, using $LN_S" >&6; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4504 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4505 if ${ac_cv_path_GREP+:} false; then :
4506 $as_echo_n "(cached) " >&6
4508 if test -z "$GREP"; then
4509 ac_path_GREP_found=false
4510 # Loop through the user's path and test for each of PROGNAME-LIST
4511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4512 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4515 test -z "$as_dir" && as_dir=.
4516 for ac_prog in grep ggrep; do
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4519 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4520 # Check for GNU ac_path_GREP and select it if it is found.
4521 # Check for GNU $ac_path_GREP
4522 case `"$ac_path_GREP" --version 2>&1` in
4524 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4527 $as_echo_n 0123456789 >"conftest.in"
4530 cat "conftest.in" "conftest.in" >"conftest.tmp"
4531 mv "conftest.tmp" "conftest.in"
4532 cp "conftest.in" "conftest.nl"
4533 $as_echo 'GREP' >> "conftest.nl"
4534 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4535 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4536 as_fn_arith $ac_count + 1 && ac_count=$as_val
4537 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4538 # Best one so far, save it but keep looking for a better one
4539 ac_cv_path_GREP="$ac_path_GREP"
4540 ac_path_GREP_max=$ac_count
4542 # 10*(2^10) chars as input seems more than enough
4543 test $ac_count -gt 10 && break
4545 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4548 $ac_path_GREP_found && break 3
4553 if test -z "$ac_cv_path_GREP"; then
4554 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4557 ac_cv_path_GREP=$GREP
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4562 $as_echo "$ac_cv_path_GREP" >&6; }
4563 GREP="$ac_cv_path_GREP"
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4567 $as_echo_n "checking for egrep... " >&6; }
4568 if ${ac_cv_path_EGREP+:} false; then :
4569 $as_echo_n "(cached) " >&6
4571 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4572 then ac_cv_path_EGREP="$GREP -E"
4574 if test -z "$EGREP"; then
4575 ac_path_EGREP_found=false
4576 # Loop through the user's path and test for each of PROGNAME-LIST
4577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4578 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4581 test -z "$as_dir" && as_dir=.
4582 for ac_prog in egrep; do
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4585 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4586 # Check for GNU ac_path_EGREP and select it if it is found.
4587 # Check for GNU $ac_path_EGREP
4588 case `"$ac_path_EGREP" --version 2>&1` in
4590 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4593 $as_echo_n 0123456789 >"conftest.in"
4596 cat "conftest.in" "conftest.in" >"conftest.tmp"
4597 mv "conftest.tmp" "conftest.in"
4598 cp "conftest.in" "conftest.nl"
4599 $as_echo 'EGREP' >> "conftest.nl"
4600 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4601 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4602 as_fn_arith $ac_count + 1 && ac_count=$as_val
4603 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4604 # Best one so far, save it but keep looking for a better one
4605 ac_cv_path_EGREP="$ac_path_EGREP"
4606 ac_path_EGREP_max=$ac_count
4608 # 10*(2^10) chars as input seems more than enough
4609 test $ac_count -gt 10 && break
4611 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4614 $ac_path_EGREP_found && break 3
4619 if test -z "$ac_cv_path_EGREP"; then
4620 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4623 ac_cv_path_EGREP=$EGREP
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4629 $as_echo "$ac_cv_path_EGREP" >&6; }
4630 EGREP="$ac_cv_path_EGREP"
4633 # Extract the first word of "ldconfig", so it can be a program name with args.
4634 set dummy ldconfig; ac_word=$2
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4636 $as_echo_n "checking for $ac_word... " >&6; }
4637 if ${ac_cv_path_LDCONFIG+:} false; then :
4638 $as_echo_n "(cached) " >&6
4642 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 for as_dir in /sbin /usr/sbin $PATH
4649 test -z "$as_dir" && as_dir=.
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4652 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4664 LDCONFIG=$ac_cv_path_LDCONFIG
4665 if test -n "$LDCONFIG"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4667 $as_echo "$LDCONFIG" >&6; }
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4674 # Find a good install program. We prefer a C program (faster),
4675 # so one script is as good as another. But avoid the broken or
4676 # incompatible versions:
4677 # SysV /etc/install, /usr/sbin/install
4678 # SunOS /usr/etc/install
4679 # IRIX /sbin/install
4681 # AmigaOS /C/install, which installs bootblocks on floppy discs
4682 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4683 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4684 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4685 # OS/2's system install, which has a completely different semantic
4686 # ./install, which can be erroneously created by make from ./install.sh.
4687 # Reject install programs that cannot install multiple files.
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4689 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4690 if test -z "$INSTALL"; then
4691 if ${ac_cv_path_install+:} false; then :
4692 $as_echo_n "(cached) " >&6
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir=.
4699 # Account for people who put trailing slashes in PATH elements.
4700 case $as_dir/ in #((
4701 ./ | .// | /[cC]/* | \
4702 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4703 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4706 # OSF1 and SCO ODT 3.0 have their own names for install.
4707 # Don't use installbsd from OSF since it installs stuff as root
4709 for ac_prog in ginstall scoinst install; do
4710 for ac_exec_ext in '' $ac_executable_extensions; do
4711 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4712 if test $ac_prog = install &&
4713 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4714 # AIX install. It has an incompatible calling convention.
4716 elif test $ac_prog = install &&
4717 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4718 # program-specific install script used by HP pwplus--don't use.
4721 rm -rf conftest.one conftest.two conftest.dir
4722 echo one > conftest.one
4723 echo two > conftest.two
4725 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4726 test -s conftest.one && test -s conftest.two &&
4727 test -s conftest.dir/conftest.one &&
4728 test -s conftest.dir/conftest.two
4730 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4743 rm -rf conftest.one conftest.two conftest.dir
4746 if test "${ac_cv_path_install+set}" = set; then
4747 INSTALL=$ac_cv_path_install
4749 # As a last resort, use the slow shell script. Don't cache a
4750 # value for INSTALL within a source directory, because that will
4751 # break other packages using the cache if that directory is
4752 # removed, or if the value is a relative name.
4753 INSTALL=$ac_install_sh
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4757 $as_echo "$INSTALL" >&6; }
4759 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4760 # It thinks the first close brace ends the variable substitution.
4761 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4763 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4765 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4768 [\\/$]* | ?:[\\/]* ) ;;
4769 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4772 for ac_prog in lclint lint
4774 # Extract the first word of "$ac_prog", so it can be a program name with args.
4775 set dummy $ac_prog; ac_word=$2
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4777 $as_echo_n "checking for $ac_word... " >&6; }
4778 if ${ac_cv_prog_LINT+:} false; then :
4779 $as_echo_n "(cached) " >&6
4781 if test -n "$LINT"; then
4782 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4788 test -z "$as_dir" && as_dir=.
4789 for ac_exec_ext in '' $ac_executable_extensions; do
4790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4791 ac_cv_prog_LINT="$ac_prog"
4792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4801 LINT=$ac_cv_prog_LINT
4802 if test -n "$LINT"; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4804 $as_echo "$LINT" >&6; }
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4807 $as_echo "no" >&6; }
4811 test -n "$LINT" && break
4814 if test "$LINT" = "lint"
4816 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4821 for ac_prog in fontforge
4823 # Extract the first word of "$ac_prog", so it can be a program name with args.
4824 set dummy $ac_prog; ac_word=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_FONTFORGE+:} false; then :
4828 $as_echo_n "(cached) " >&6
4830 if test -n "$FONTFORGE"; then
4831 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4840 ac_cv_prog_FONTFORGE="$ac_prog"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 FONTFORGE=$ac_cv_prog_FONTFORGE
4851 if test -n "$FONTFORGE"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4853 $as_echo "$FONTFORGE" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4860 test -n "$FONTFORGE" && break
4862 test -n "$FONTFORGE" || FONTFORGE="false"
4864 for ac_prog in pkg-config
4866 # Extract the first word of "$ac_prog", so it can be a program name with args.
4867 set dummy $ac_prog; ac_word=$2
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 $as_echo_n "checking for $ac_word... " >&6; }
4870 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4871 $as_echo_n "(cached) " >&6
4873 if test -n "$PKG_CONFIG"; then
4874 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 test -z "$as_dir" && as_dir=.
4881 for ac_exec_ext in '' $ac_executable_extensions; do
4882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4883 ac_cv_prog_PKG_CONFIG="$ac_prog"
4884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4894 if test -n "$PKG_CONFIG"; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4896 $as_echo "$PKG_CONFIG" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 $as_echo "no" >&6; }
4903 test -n "$PKG_CONFIG" && break
4905 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4909 # Extract the first word of "$ac_prog", so it can be a program name with args.
4910 set dummy $ac_prog; ac_word=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912 $as_echo_n "checking for $ac_word... " >&6; }
4913 if ${ac_cv_prog_RSVG+:} false; then :
4914 $as_echo_n "(cached) " >&6
4916 if test -n "$RSVG"; then
4917 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4923 test -z "$as_dir" && as_dir=.
4924 for ac_exec_ext in '' $ac_executable_extensions; do
4925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4926 ac_cv_prog_RSVG="$ac_prog"
4927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 RSVG=$ac_cv_prog_RSVG
4937 if test -n "$RSVG"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4939 $as_echo "$RSVG" >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4946 test -n "$RSVG" && break
4948 test -n "$RSVG" || RSVG="false"
4950 for ac_prog in convert
4952 # Extract the first word of "$ac_prog", so it can be a program name with args.
4953 set dummy $ac_prog; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if ${ac_cv_prog_CONVERT+:} false; then :
4957 $as_echo_n "(cached) " >&6
4959 if test -n "$CONVERT"; then
4960 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4969 ac_cv_prog_CONVERT="$ac_prog"
4970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 CONVERT=$ac_cv_prog_CONVERT
4980 if test -n "$CONVERT"; then
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4982 $as_echo "$CONVERT" >&6; }
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4989 test -n "$CONVERT" && break
4991 test -n "$CONVERT" || CONVERT="false"
4993 for ac_prog in icotool
4995 # Extract the first word of "$ac_prog", so it can be a program name with args.
4996 set dummy $ac_prog; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_ICOTOOL+:} false; then :
5000 $as_echo_n "(cached) " >&6
5002 if test -n "$ICOTOOL"; then
5003 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5009 test -z "$as_dir" && as_dir=.
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5012 ac_cv_prog_ICOTOOL="$ac_prog"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5022 ICOTOOL=$ac_cv_prog_ICOTOOL
5023 if test -n "$ICOTOOL"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5025 $as_echo "$ICOTOOL" >&6; }
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5032 test -n "$ICOTOOL" && break
5034 test -n "$ICOTOOL" || ICOTOOL="false"
5037 if test "x$enable_maintainer_mode" != "xyes"
5042 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5043 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5045 if test "$CONVERT" = false
5047 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5050 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5051 convert_version=`convert --version | head -n1`
5052 if test "x$convert_version" != "x"
5054 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5055 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5056 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5061 if test "$CONVERT" = false
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5064 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5065 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5068 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5072 if test "$ICOTOOL" = false
5074 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5077 $as_echo_n "checking for recent enough icotool... " >&6; }
5078 icotool_version=`icotool --version | head -n1`
5079 if test "x$icotool_version" != "x"
5081 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5082 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5083 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5086 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5089 if test "$ICOTOOL" = false
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5092 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5093 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5096 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5104 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5105 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5106 $as_echo_n "(cached) " >&6
5108 ac_check_lib_save_LIBS=$LIBS
5110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5111 /* end confdefs.h. */
5113 /* Override any GCC internal prototype to avoid an error.
5114 Use char because int might match the return type of a GCC
5115 builtin and then its argument prototype would still apply. */
5119 char i386_set_ldt ();
5123 return i386_set_ldt ();
5128 if ac_fn_c_try_link "$LINENO"; then :
5129 ac_cv_lib_i386_i386_set_ldt=yes
5131 ac_cv_lib_i386_i386_set_ldt=no
5133 rm -f core conftest.err conftest.$ac_objext \
5134 conftest$ac_exeext conftest.$ac_ext
5135 LIBS=$ac_check_lib_save_LIBS
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5138 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5139 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5140 cat >>confdefs.h <<_ACEOF
5141 #define HAVE_LIBI386 1
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5149 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5150 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5151 $as_echo_n "(cached) " >&6
5153 ac_check_lib_save_LIBS=$LIBS
5154 LIBS="-lossaudio $LIBS"
5155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5156 /* end confdefs.h. */
5158 /* Override any GCC internal prototype to avoid an error.
5159 Use char because int might match the return type of a GCC
5160 builtin and then its argument prototype would still apply. */
5168 return _oss_ioctl ();
5173 if ac_fn_c_try_link "$LINENO"; then :
5174 ac_cv_lib_ossaudio__oss_ioctl=yes
5176 ac_cv_lib_ossaudio__oss_ioctl=no
5178 rm -f core conftest.err conftest.$ac_objext \
5179 conftest$ac_exeext conftest.$ac_ext
5180 LIBS=$ac_check_lib_save_LIBS
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5183 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5184 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5185 cat >>confdefs.h <<_ACEOF
5186 #define HAVE_LIBOSSAUDIO 1
5189 LIBS="-lossaudio $LIBS"
5200 # Check whether --enable-largefile was given.
5201 if test "${enable_largefile+set}" = set; then :
5202 enableval=$enable_largefile;
5205 if test "$enable_largefile" != no; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5208 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5209 if ${ac_cv_sys_largefile_CC+:} false; then :
5210 $as_echo_n "(cached) " >&6
5212 ac_cv_sys_largefile_CC=no
5213 if test "$GCC" != yes; then
5216 # IRIX 6.2 and later do not support large files by default,
5217 # so use the C compiler's -n32 option if that helps.
5218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5219 /* end confdefs.h. */
5220 #include <sys/types.h>
5221 /* Check that off_t can represent 2**63 - 1 correctly.
5222 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5223 since some C++ compilers masquerading as C compilers
5224 incorrectly reject 9223372036854775807. */
5225 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5226 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5227 && LARGE_OFF_T % 2147483647 == 1)
5237 if ac_fn_c_try_compile "$LINENO"; then :
5240 rm -f core conftest.err conftest.$ac_objext
5242 if ac_fn_c_try_compile "$LINENO"; then :
5243 ac_cv_sys_largefile_CC=' -n32'; break
5245 rm -f core conftest.err conftest.$ac_objext
5249 rm -f conftest.$ac_ext
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5253 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5254 if test "$ac_cv_sys_largefile_CC" != no; then
5255 CC=$CC$ac_cv_sys_largefile_CC
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5259 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5260 if ${ac_cv_sys_file_offset_bits+:} false; then :
5261 $as_echo_n "(cached) " >&6
5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5266 #include <sys/types.h>
5267 /* Check that off_t can represent 2**63 - 1 correctly.
5268 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5269 since some C++ compilers masquerading as C compilers
5270 incorrectly reject 9223372036854775807. */
5271 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5272 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5273 && LARGE_OFF_T % 2147483647 == 1)
5283 if ac_fn_c_try_compile "$LINENO"; then :
5284 ac_cv_sys_file_offset_bits=no; break
5286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5289 #define _FILE_OFFSET_BITS 64
5290 #include <sys/types.h>
5291 /* Check that off_t can represent 2**63 - 1 correctly.
5292 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5293 since some C++ compilers masquerading as C compilers
5294 incorrectly reject 9223372036854775807. */
5295 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5297 && LARGE_OFF_T % 2147483647 == 1)
5307 if ac_fn_c_try_compile "$LINENO"; then :
5308 ac_cv_sys_file_offset_bits=64; break
5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5311 ac_cv_sys_file_offset_bits=unknown
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5316 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5317 case $ac_cv_sys_file_offset_bits in #(
5320 cat >>confdefs.h <<_ACEOF
5321 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5326 if test $ac_cv_sys_file_offset_bits = unknown; then
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5328 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5329 if ${ac_cv_sys_large_files+:} false; then :
5330 $as_echo_n "(cached) " >&6
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5335 #include <sys/types.h>
5336 /* Check that off_t can represent 2**63 - 1 correctly.
5337 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5338 since some C++ compilers masquerading as C compilers
5339 incorrectly reject 9223372036854775807. */
5340 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5341 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5342 && LARGE_OFF_T % 2147483647 == 1)
5352 if ac_fn_c_try_compile "$LINENO"; then :
5353 ac_cv_sys_large_files=no; break
5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5358 #define _LARGE_FILES 1
5359 #include <sys/types.h>
5360 /* Check that off_t can represent 2**63 - 1 correctly.
5361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5362 since some C++ compilers masquerading as C compilers
5363 incorrectly reject 9223372036854775807. */
5364 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5366 && LARGE_OFF_T % 2147483647 == 1)
5376 if ac_fn_c_try_compile "$LINENO"; then :
5377 ac_cv_sys_large_files=1; break
5379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5380 ac_cv_sys_large_files=unknown
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5385 $as_echo "$ac_cv_sys_large_files" >&6; }
5386 case $ac_cv_sys_large_files in #(
5389 cat >>confdefs.h <<_ACEOF
5390 #define _LARGE_FILES $ac_cv_sys_large_files
5400 ac_cpp='$CPP $CPPFLAGS'
5401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5405 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5406 # On Suns, sometimes $CPP names a directory.
5407 if test -n "$CPP" && test -d "$CPP"; then
5410 if test -z "$CPP"; then
5411 if ${ac_cv_prog_CPP+:} false; then :
5412 $as_echo_n "(cached) " >&6
5414 # Double quotes because CPP needs to be expanded
5415 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5418 for ac_c_preproc_warn_flag in '' yes
5420 # Use a header file that comes with gcc, so configuring glibc
5421 # with a fresh cross-compiler works.
5422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5423 # <limits.h> exists even on freestanding compilers.
5424 # On the NeXT, cc -E runs the code through the compiler's parser,
5425 # not just through cpp. "Syntax error" is here to catch this case.
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5429 # include <limits.h>
5431 # include <assert.h>
5435 if ac_fn_c_try_cpp "$LINENO"; then :
5438 # Broken: fails on valid input.
5441 rm -f conftest.err conftest.i conftest.$ac_ext
5443 # OK, works on sane cases. Now check whether nonexistent headers
5444 # can be detected and how.
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5447 #include <ac_nonexistent.h>
5449 if ac_fn_c_try_cpp "$LINENO"; then :
5450 # Broken: success on invalid input.
5453 # Passes both tests.
5457 rm -f conftest.err conftest.i conftest.$ac_ext
5460 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5461 rm -f conftest.i conftest.err conftest.$ac_ext
5462 if $ac_preproc_ok; then :
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5475 $as_echo "$CPP" >&6; }
5477 for ac_c_preproc_warn_flag in '' yes
5479 # Use a header file that comes with gcc, so configuring glibc
5480 # with a fresh cross-compiler works.
5481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5482 # <limits.h> exists even on freestanding compilers.
5483 # On the NeXT, cc -E runs the code through the compiler's parser,
5484 # not just through cpp. "Syntax error" is here to catch this case.
5485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5488 # include <limits.h>
5490 # include <assert.h>
5494 if ac_fn_c_try_cpp "$LINENO"; then :
5497 # Broken: fails on valid input.
5500 rm -f conftest.err conftest.i conftest.$ac_ext
5502 # OK, works on sane cases. Now check whether nonexistent headers
5503 # can be detected and how.
5504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5506 #include <ac_nonexistent.h>
5508 if ac_fn_c_try_cpp "$LINENO"; then :
5509 # Broken: success on invalid input.
5512 # Passes both tests.
5516 rm -f conftest.err conftest.i conftest.$ac_ext
5519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5520 rm -f conftest.i conftest.err conftest.$ac_ext
5521 if $ac_preproc_ok; then :
5524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5526 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5527 See \`config.log' for more details" "$LINENO" 5; }
5531 ac_cpp='$CPP $CPPFLAGS'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5538 $as_echo_n "checking for ANSI C header files... " >&6; }
5539 if ${ac_cv_header_stdc+:} false; then :
5540 $as_echo_n "(cached) " >&6
5542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5543 /* end confdefs.h. */
5557 if ac_fn_c_try_compile "$LINENO"; then :
5558 ac_cv_header_stdc=yes
5560 ac_cv_header_stdc=no
5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5564 if test $ac_cv_header_stdc = yes; then
5565 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5572 $EGREP "memchr" >/dev/null 2>&1; then :
5575 ac_cv_header_stdc=no
5581 if test $ac_cv_header_stdc = yes; then
5582 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5589 $EGREP "free" >/dev/null 2>&1; then :
5592 ac_cv_header_stdc=no
5598 if test $ac_cv_header_stdc = yes; then
5599 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5600 if test "$cross_compiling" = yes; then :
5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5604 /* end confdefs.h. */
5607 #if ((' ' & 0x0FF) == 0x020)
5608 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5609 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5611 # define ISLOWER(c) \
5612 (('a' <= (c) && (c) <= 'i') \
5613 || ('j' <= (c) && (c) <= 'r') \
5614 || ('s' <= (c) && (c) <= 'z'))
5615 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5618 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5623 for (i = 0; i < 256; i++)
5624 if (XOR (islower (i), ISLOWER (i))
5625 || toupper (i) != TOUPPER (i))
5630 if ac_fn_c_try_run "$LINENO"; then :
5633 ac_cv_header_stdc=no
5635 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5636 conftest.$ac_objext conftest.beam conftest.$ac_ext
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5642 $as_echo "$ac_cv_header_stdc" >&6; }
5643 if test $ac_cv_header_stdc = yes; then
5645 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5649 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5650 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5651 inttypes.h stdint.h unistd.h
5653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5654 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5657 cat >>confdefs.h <<_ACEOF
5658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5668 ApplicationServices/ApplicationServices.h \
5669 AudioToolbox/AudioConverter.h \
5670 AudioUnit/AudioUnit.h \
5671 AudioUnit/AudioComponent.h \
5674 CoreAudio/CoreAudio.h \
5675 DiskArbitration/DiskArbitration.h \
5677 IOKit/hid/IOHIDLib.h \
5680 QuickTime/ImageCompression.h \
5681 Security/Security.h \
5695 fontconfig/fontconfig.h \
5734 netinet/in_systm.h \
5801 valgrind/memcheck.h \
5802 valgrind/valgrind.h \
5806 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5807 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5808 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5809 cat >>confdefs.h <<_ACEOF
5810 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5818 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5819 if ${ac_cv_header_stat_broken+:} false; then :
5820 $as_echo_n "(cached) " >&6
5822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823 /* end confdefs.h. */
5824 #include <sys/types.h>
5825 #include <sys/stat.h>
5827 #if defined S_ISBLK && defined S_IFDIR
5828 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5831 #if defined S_ISBLK && defined S_IFCHR
5832 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5835 #if defined S_ISLNK && defined S_IFREG
5836 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5839 #if defined S_ISSOCK && defined S_IFREG
5840 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5844 if ac_fn_c_try_compile "$LINENO"; then :
5845 ac_cv_header_stat_broken=no
5847 ac_cv_header_stat_broken=yes
5849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5852 $as_echo "$ac_cv_header_stat_broken" >&6; }
5853 if test $ac_cv_header_stat_broken = yes; then
5855 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5861 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5863 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5864 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5865 #ifdef HAVE_SYS_PARAM_H
5866 # include <sys/param.h>
5869 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5870 cat >>confdefs.h <<_ACEOF
5871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5886 netinet/if_ether.h \
5887 netinet/if_inarp.h \
5895 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5896 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5897 #ifdef HAVE_SYS_SOCKET_H
5898 # include <sys/socket.h>
5900 #ifdef HAVE_SYS_SOCKETVAR_H
5901 # include <sys/socketvar.h>
5903 #ifdef HAVE_NET_ROUTE_H
5904 # include <net/route.h>
5906 #ifdef HAVE_NETINET_IN_H
5907 # include <netinet/in.h>
5909 #ifdef HAVE_NETINET_IN_SYSTM_H
5910 # include <netinet/in_systm.h>
5912 #ifdef HAVE_NET_IF_H
5913 # include <net/if.h>
5915 #ifdef HAVE_NETINET_IP_H
5916 # include <netinet/ip.h>
5919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5920 cat >>confdefs.h <<_ACEOF
5921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5929 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
5931 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5932 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5936 #ifdef HAVE_SYS_SOCKET_H
5937 # include <sys/socket.h>
5939 #ifdef HAVE_SYS_SOCKETVAR_H
5940 # include <sys/socketvar.h>
5942 #ifdef HAVE_SYS_TIMEOUT_H
5943 # include <sys/timeout.h>
5945 #ifdef HAVE_NETINET_IN_H
5946 # include <netinet/in.h>
5948 #ifdef HAVE_NETINET_IN_SYSTM_H
5949 # include <netinet/in_systm.h>
5951 #ifdef HAVE_NETINET_IP_H
5952 # include <netinet/ip.h>
5954 #ifdef HAVE_NETINET_IP_VAR_H
5955 # include <netinet/ip_var.h>
5957 #ifdef HAVE_NETINET_IP_ICMP_H
5958 # include <netinet/ip_icmp.h>
5960 #ifdef HAVE_NETINET_UDP_H
5961 # include <netinet/udp.h>
5963 #ifdef HAVE_NETINET_TCP_H
5964 # include <netinet/tcp.h>
5966 #ifdef HAVE_NETINET_TCP_TIMER_H
5967 #include <netinet/tcp_timer.h>
5970 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5971 cat >>confdefs.h <<_ACEOF
5972 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5980 for ac_header in linux/ipx.h linux/irda.h
5982 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5983 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5984 #ifdef HAVE_ASM_TYPES_H
5985 # include <asm/types.h>
5987 #ifdef HAVE_SYS_SOCKET_H
5988 # include <sys/socket.h>
5990 #ifdef HAVE_LINUX_TYPES_H
5991 # include <linux/types.h>
5994 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5995 cat >>confdefs.h <<_ACEOF
5996 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6004 for ac_header in mach-o/dyld_images.h
6006 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6007 # include <stdbool.h>
6009 #ifdef HAVE_STDINT_H
6010 # include <stdint.h>
6013 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6014 cat >>confdefs.h <<_ACEOF
6015 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6023 for ac_header in resolv.h
6025 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6026 #ifdef HAVE_SYS_SOCKET_H
6027 # include <sys/socket.h>
6029 #ifdef HAVE_NETINET_IN_H
6030 # include <netinet/in.h>
6032 #ifdef HAVE_ARPA_NAMESER_H
6033 # include <arpa/nameser.h>
6036 if test "x$ac_cv_header_resolv_h" = xyes; then :
6037 cat >>confdefs.h <<_ACEOF
6038 #define HAVE_RESOLV_H 1
6046 for ac_header in ifaddrs.h
6048 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6050 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6051 cat >>confdefs.h <<_ACEOF
6052 #define HAVE_IFADDRS_H 1
6060 for ac_header in ucontext.h
6062 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6064 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6065 cat >>confdefs.h <<_ACEOF
6066 #define HAVE_UCONTEXT_H 1
6074 for ac_header in sys/thr.h
6076 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6077 #ifdef HAVE_UCONTEXT_H
6078 #include <ucontext.h>
6081 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6082 cat >>confdefs.h <<_ACEOF
6083 #define HAVE_SYS_THR_H 1
6091 for ac_header in pthread_np.h
6093 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6094 #include <pthread.h>
6097 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6098 cat >>confdefs.h <<_ACEOF
6099 #define HAVE_PTHREAD_NP_H 1
6107 for ac_header in linux/videodev.h linux/videodev2.h
6109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6110 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6111 #include <sys/time.h>
6113 #include <sys/types.h>
6114 #ifdef HAVE_ASM_TYPES_H
6115 #include <asm/types.h>
6118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6119 cat >>confdefs.h <<_ACEOF
6120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6128 for ac_header in linux/capi.h
6130 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6132 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6133 cat >>confdefs.h <<_ACEOF
6134 #define HAVE_LINUX_CAPI_H 1
6145 DLLFLAGS="-D_REENTRANT"
6159 STATIC_IMPLIBEXT="def.a"
6160 # Extract the first word of "ldd", so it can be a program name with args.
6161 set dummy ldd; ac_word=$2
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6163 $as_echo_n "checking for $ac_word... " >&6; }
6164 if ${ac_cv_path_LDD+:} false; then :
6165 $as_echo_n "(cached) " >&6
6169 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 as_dummy="/sbin:/usr/sbin:$PATH"
6174 for as_dir in $as_dummy
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6180 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6193 if test -n "$LDD"; then
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6195 $as_echo "$LDD" >&6; }
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6198 $as_echo "no" >&6; }
6205 if test -n "$ac_tool_prefix"; then
6206 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6207 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_DLLTOOL+:} false; then :
6211 $as_echo_n "(cached) " >&6
6213 if test -n "$DLLTOOL"; then
6214 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6223 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233 DLLTOOL=$ac_cv_prog_DLLTOOL
6234 if test -n "$DLLTOOL"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6236 $as_echo "$DLLTOOL" >&6; }
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6244 if test -z "$ac_cv_prog_DLLTOOL"; then
6245 ac_ct_DLLTOOL=$DLLTOOL
6246 # Extract the first word of "dlltool", so it can be a program name with args.
6247 set dummy dlltool; ac_word=$2
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249 $as_echo_n "checking for $ac_word... " >&6; }
6250 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6251 $as_echo_n "(cached) " >&6
6253 if test -n "$ac_ct_DLLTOOL"; then
6254 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 test -z "$as_dir" && as_dir=.
6261 for ac_exec_ext in '' $ac_executable_extensions; do
6262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6263 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6274 if test -n "$ac_ct_DLLTOOL"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6276 $as_echo "$ac_ct_DLLTOOL" >&6; }
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6282 if test "x$ac_ct_DLLTOOL" = x; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned=yes ;;
6291 DLLTOOL=$ac_ct_DLLTOOL
6294 DLLTOOL="$ac_cv_prog_DLLTOOL"
6297 if test -n "$ac_tool_prefix"; then
6298 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6299 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_prog_DLLWRAP+:} false; then :
6303 $as_echo_n "(cached) " >&6
6305 if test -n "$DLLWRAP"; then
6306 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir=.
6313 for ac_exec_ext in '' $ac_executable_extensions; do
6314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 DLLWRAP=$ac_cv_prog_DLLWRAP
6326 if test -n "$DLLWRAP"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6328 $as_echo "$DLLWRAP" >&6; }
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6336 if test -z "$ac_cv_prog_DLLWRAP"; then
6337 ac_ct_DLLWRAP=$DLLWRAP
6338 # Extract the first word of "dllwrap", so it can be a program name with args.
6339 set dummy dllwrap; ac_word=$2
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341 $as_echo_n "checking for $ac_word... " >&6; }
6342 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6343 $as_echo_n "(cached) " >&6
6345 if test -n "$ac_ct_DLLWRAP"; then
6346 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352 test -z "$as_dir" && as_dir=.
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6366 if test -n "$ac_ct_DLLWRAP"; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6368 $as_echo "$ac_ct_DLLWRAP" >&6; }
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371 $as_echo "no" >&6; }
6374 if test "x$ac_ct_DLLWRAP" = x; then
6377 case $cross_compiling:$ac_tool_warned in
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6380 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6381 ac_tool_warned=yes ;;
6383 DLLWRAP=$ac_ct_DLLWRAP
6386 DLLWRAP="$ac_cv_prog_DLLWRAP"
6389 if test "$DLLWRAP" = "false"; then
6395 STATIC_IMPLIBEXT="a"
6396 enable_iphlpapi=${enable_iphlpapi:-no}
6397 enable_kernel32=${enable_kernel32:-no}
6398 enable_msvcrt=${enable_msvcrt:-no}
6399 enable_ntdll=${enable_ntdll:-no}
6400 enable_ws2_32=${enable_ws2_32:-no}
6401 enable_loader=${enable_loader:-no}
6402 enable_server=${enable_server:-no}
6403 with_x=${with_x:-no}
6404 with_pthread=${with_pthread:-no}
6409 DLLFLAGS="$DLLFLAGS -fPIC"
6410 LDDLLFLAGS="-bundle -multiply_defined suppress"
6411 LIBWINE_LDFLAGS="-multiply_defined suppress"
6412 LDSHARED="\$(CC) -dynamiclib"
6413 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6414 COREFOUNDATIONLIB="-framework CoreFoundation"
6416 IOKITLIB="-framework IOKit -framework CoreFoundation"
6418 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6420 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6422 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6424 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6427 if test "$ac_cv_header_Security_Security_h" = "yes"
6429 SECURITYLIB="-framework Security -framework CoreFoundation"
6431 with_gnutls=${with_gnutls:-no}
6433 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6435 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6437 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6440 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6443 ac_save_LIBS="$LIBS"
6444 LIBS="$LIBS $COREAUDIO"
6445 for ac_func in AUGraphAddNode
6447 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6448 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6449 cat >>confdefs.h <<_ACEOF
6450 #define HAVE_AUGRAPHADDNODE 1
6456 LIBS="$ac_save_LIBS"
6458 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6460 FRAMEWORK_OPENAL="-framework OpenAL"
6463 cat >>confdefs.h <<_ACEOF
6464 #define HAVE_OPENAL 1
6467 ac_cv_lib_openal=yes
6469 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6471 LIBOPENCL="-framework OpenCL"
6473 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6475 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6477 ac_save_LIBS="$LIBS"
6478 LIBS="$LIBS $IOKITLIB"
6479 for ac_func in IOHIDManagerCreate
6481 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6482 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6483 cat >>confdefs.h <<_ACEOF
6484 #define HAVE_IOHIDMANAGERCREATE 1
6490 LIBS="$ac_save_LIBS"
6494 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6496 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6498 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6500 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6502 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6504 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6506 CARBONLIB="-framework Carbon"
6508 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6510 if test "x$enable_win16" = "xyes"
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6513 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6514 if test "$cross_compiling" = yes; then :
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6516 $as_echo "cross-compiling, assuming yes" >&6; }
6518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6522 "good:\tnop;nop\n\t"
6523 ".globl _testfunc\n"
6524 "_testfunc:\tcallw good");
6525 extern void testfunc();
6529 unsigned short *p = (unsigned short *)testfunc;
6530 return p[0] != 0xe866 || p[1] != 0xfffa
6535 if ac_fn_c_try_run "$LINENO"; then :
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6537 $as_echo "yes" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6541 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
6543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6544 conftest.$ac_objext conftest.beam conftest.$ac_ext
6550 DLLFLAGS="$DLLFLAGS -fPIC"
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6553 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6554 if ${ac_cv_c_dll_gnuelf+:} false; then :
6555 $as_echo_n "(cached) " >&6
6557 ac_wine_try_cflags_saved=$CFLAGS
6558 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6560 /* end confdefs.h. */
6563 if ac_fn_c_try_link "$LINENO"; then :
6564 ac_cv_c_dll_gnuelf="yes"
6566 ac_cv_c_dll_gnuelf="no"
6568 rm -f core conftest.err conftest.$ac_objext \
6569 conftest$ac_exeext conftest.$ac_ext
6570 CFLAGS=$ac_wine_try_cflags_saved
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6573 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6574 if test "$ac_cv_c_dll_gnuelf" = "yes"
6576 LDSHARED="\$(CC) -shared"
6577 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6579 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6580 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6581 $as_echo_n "(cached) " >&6
6583 ac_wine_try_cflags_saved=$CFLAGS
6584 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6586 /* end confdefs.h. */
6587 int main(int argc, char **argv) { return 0; }
6589 if ac_fn_c_try_link "$LINENO"; then :
6590 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6592 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6594 rm -f core conftest.err conftest.$ac_objext \
6595 conftest$ac_exeext conftest.$ac_ext
6596 CFLAGS=$ac_wine_try_cflags_saved
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6599 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6600 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6601 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6604 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6605 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6606 $as_echo_n "(cached) " >&6
6608 ac_wine_try_cflags_saved=$CFLAGS
6609 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6612 int main(int argc, char **argv) { return 0; }
6614 if ac_fn_c_try_link "$LINENO"; then :
6615 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6617 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6619 rm -f core conftest.err conftest.$ac_objext \
6620 conftest$ac_exeext conftest.$ac_ext
6621 CFLAGS=$ac_wine_try_cflags_saved
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6624 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6625 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6626 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6631 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6632 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6633 $as_echo_n "(cached) " >&6
6635 ac_wine_try_cflags_saved=$CFLAGS
6636 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6639 int main(int argc, char **argv) { return 0; }
6641 if ac_fn_c_try_link "$LINENO"; then :
6642 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6644 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6646 rm -f core conftest.err conftest.$ac_objext \
6647 conftest$ac_exeext conftest.$ac_ext
6648 CFLAGS=$ac_wine_try_cflags_saved
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6651 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6652 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6653 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6656 { $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
6657 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6658 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6659 $as_echo_n "(cached) " >&6
6661 ac_wine_try_cflags_saved=$CFLAGS
6662 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6665 int main(int argc, char **argv) { return 0; }
6667 if ac_fn_c_try_link "$LINENO"; then :
6668 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6670 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6672 rm -f core conftest.err conftest.$ac_objext \
6673 conftest$ac_exeext conftest.$ac_ext
6674 CFLAGS=$ac_wine_try_cflags_saved
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6677 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6678 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6679 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6682 echo '{ global: *; };' >conftest.map
6683 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6685 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6686 if eval \${$as_ac_var+:} false; then :
6687 $as_echo_n "(cached) " >&6
6689 ac_wine_try_cflags_saved=$CFLAGS
6690 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6692 /* end confdefs.h. */
6693 int main(int argc, char **argv) { return 0; }
6695 if ac_fn_c_try_link "$LINENO"; then :
6696 eval "$as_ac_var=yes"
6698 eval "$as_ac_var=no"
6700 rm -f core conftest.err conftest.$ac_objext \
6701 conftest$ac_exeext conftest.$ac_ext
6702 CFLAGS=$ac_wine_try_cflags_saved
6704 eval ac_res=\$$as_ac_var
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6706 $as_echo "$ac_res" >&6; }
6707 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6708 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6713 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6714 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6715 $as_echo_n "(cached) " >&6
6717 ac_wine_try_cflags_saved=$CFLAGS
6718 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6721 int main(int argc, char **argv) { return 0; }
6723 if ac_fn_c_try_link "$LINENO"; then :
6724 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6726 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6728 rm -f core conftest.err conftest.$ac_objext \
6729 conftest$ac_exeext conftest.$ac_ext
6730 CFLAGS=$ac_wine_try_cflags_saved
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6733 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6734 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6735 LDEXECFLAGS="-Wl,--export-dynamic"
6739 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6741 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6742 if eval \${$as_ac_var+:} false; then :
6743 $as_echo_n "(cached) " >&6
6745 ac_wine_try_cflags_saved=$CFLAGS
6746 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6748 /* end confdefs.h. */
6749 int main(int argc, char **argv) { return 0; }
6751 if ac_fn_c_try_link "$LINENO"; then :
6752 eval "$as_ac_var=yes"
6754 eval "$as_ac_var=no"
6756 rm -f core conftest.err conftest.$ac_objext \
6757 conftest$ac_exeext conftest.$ac_ext
6758 CFLAGS=$ac_wine_try_cflags_saved
6760 eval ac_res=\$$as_ac_var
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6762 $as_echo "$ac_res" >&6; }
6763 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6764 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6765 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6767 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6769 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6770 if eval \${$as_ac_var+:} false; then :
6771 $as_echo_n "(cached) " >&6
6773 ac_wine_try_cflags_saved=$CFLAGS
6774 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6777 int main(int argc, char **argv) { return 0; }
6779 if ac_fn_c_try_link "$LINENO"; then :
6780 eval "$as_ac_var=yes"
6782 eval "$as_ac_var=no"
6784 rm -f core conftest.err conftest.$ac_objext \
6785 conftest$ac_exeext conftest.$ac_ext
6786 CFLAGS=$ac_wine_try_cflags_saved
6788 eval ac_res=\$$as_ac_var
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6790 $as_echo "$ac_res" >&6; }
6791 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6792 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6793 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6798 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6799 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6800 $as_echo_n "(cached) " >&6
6802 ac_wine_try_cflags_saved=$CFLAGS
6803 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6805 /* end confdefs.h. */
6806 int main(int argc, char **argv) { return 0; }
6808 if ac_fn_c_try_link "$LINENO"; then :
6809 ac_cv_cflags__Wl___enable_new_dtags=yes
6811 ac_cv_cflags__Wl___enable_new_dtags=no
6813 rm -f core conftest.err conftest.$ac_objext \
6814 conftest$ac_exeext conftest.$ac_ext
6815 CFLAGS=$ac_wine_try_cflags_saved
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6818 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6819 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6820 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6824 *i[3456789]86* | x86_64)
6825 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6827 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6828 if eval \${$as_ac_var+:} false; then :
6829 $as_echo_n "(cached) " >&6
6831 ac_wine_try_cflags_saved=$CFLAGS
6832 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h. */
6835 int main(int argc, char **argv) { return 0; }
6837 if ac_fn_c_try_link "$LINENO"; then :
6838 eval "$as_ac_var=yes"
6840 eval "$as_ac_var=no"
6842 rm -f core conftest.err conftest.$ac_objext \
6843 conftest$ac_exeext conftest.$ac_ext
6844 CFLAGS=$ac_wine_try_cflags_saved
6846 eval ac_res=\$$as_ac_var
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6848 $as_echo "$ac_res" >&6; }
6849 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6851 freebsd*) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6852 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6856 # Extract the first word of "prelink", so it can be a program name with args.
6857 set dummy prelink; ac_word=$2
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6859 $as_echo_n "checking for $ac_word... " >&6; }
6860 if ${ac_cv_path_PRELINK+:} false; then :
6861 $as_echo_n "(cached) " >&6
6865 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 for as_dir in /sbin /usr/sbin $PATH
6872 test -z "$as_dir" && as_dir=.
6873 for ac_exec_ext in '' $ac_executable_extensions; do
6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6875 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6883 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6887 PRELINK=$ac_cv_path_PRELINK
6888 if test -n "$PRELINK"; then
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6890 $as_echo "$PRELINK" >&6; }
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6893 $as_echo "no" >&6; }
6897 if test "x$PRELINK" = xfalse
6899 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6906 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6907 if ${ac_cv_c_dll_unixware+:} false; then :
6908 $as_echo_n "(cached) " >&6
6910 ac_wine_try_cflags_saved=$CFLAGS
6911 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6916 if ac_fn_c_try_link "$LINENO"; then :
6917 ac_cv_c_dll_unixware="yes"
6919 ac_cv_c_dll_unixware="no"
6921 rm -f core conftest.err conftest.$ac_objext \
6922 conftest$ac_exeext conftest.$ac_ext
6923 CFLAGS=$ac_wine_try_cflags_saved
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6926 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6927 if test "$ac_cv_c_dll_unixware" = "yes"
6929 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6930 LDDLLFLAGS="-Wl,-G,-B,symbolic"
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6934 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6935 if ${ac_cv_c_dll_hpux+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 ac_wine_try_cflags_saved=$CFLAGS
6939 CFLAGS="$CFLAGS -shared"
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6944 if ac_fn_c_try_link "$LINENO"; then :
6945 ac_cv_c_dll_hpux="yes"
6947 ac_cv_c_dll_hpux="no"
6949 rm -f core conftest.err conftest.$ac_objext \
6950 conftest$ac_exeext conftest.$ac_ext
6951 CFLAGS=$ac_wine_try_cflags_saved
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
6954 $as_echo "$ac_cv_c_dll_hpux" >&6; }
6955 if test "$ac_cv_c_dll_hpux" = "yes"
6959 LDDLLFLAGS="-shared -fPIC"
6960 LDSHARED="\$(CC) -shared"
6967 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
6968 enable_winequartz_drv=${enable_winequartz_drv:-no}
6970 if test "$LIBEXT" = "a"; then
6971 as_fn_error $? "could not find a way to build shared libraries.
6972 It is currently not possible to build Wine without shared library
6973 (.so) support to allow transparent switch between .so and .dll files.
6974 If you are using Linux, you will need a newer binutils.
6978 CROSSTEST_DISABLE=\#
6980 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
6984 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 " ;;
6986 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 " ;;
6988 ac_prefix_list="" ;;
6990 for ac_prog in $ac_prefix_list
6992 # Extract the first word of "$ac_prog", so it can be a program name with args.
6993 set dummy $ac_prog; ac_word=$2
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6995 $as_echo_n "checking for $ac_word... " >&6; }
6996 if ${ac_cv_prog_CROSSCC+:} false; then :
6997 $as_echo_n "(cached) " >&6
6999 if test -n "$CROSSCC"; then
7000 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir=.
7007 for ac_exec_ext in '' $ac_executable_extensions; do
7008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7009 ac_cv_prog_CROSSCC="$ac_prog"
7010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 CROSSCC=$ac_cv_prog_CROSSCC
7020 if test -n "$CROSSCC"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7022 $as_echo "$CROSSCC" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7029 test -n "$CROSSCC" && break
7031 test -n "$CROSSCC" || CROSSCC="false"
7033 if test "$CROSSCC" != "false"
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7038 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7040 /* end confdefs.h. */
7050 if ac_fn_c_try_compile "$LINENO"; then :
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7052 $as_echo "yes" >&6; }
7059 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7063 if test -n "$target"
7065 CROSSTEST_DISABLE=""
7066 CROSSTARGET="$target"
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071 $as_echo "no" >&6; }
7073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7079 if test "$ac_cv_header_pthread_h" = "yes"
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7082 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7083 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7084 $as_echo_n "(cached) " >&6
7086 ac_check_lib_save_LIBS=$LIBS
7087 LIBS="-lpthread $LIBS"
7088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h. */
7091 /* Override any GCC internal prototype to avoid an error.
7092 Use char because int might match the return type of a GCC
7093 builtin and then its argument prototype would still apply. */
7097 char pthread_create ();
7101 return pthread_create ();
7106 if ac_fn_c_try_link "$LINENO"; then :
7107 ac_cv_lib_pthread_pthread_create=yes
7109 ac_cv_lib_pthread_pthread_create=no
7111 rm -f core conftest.err conftest.$ac_objext \
7112 conftest$ac_exeext conftest.$ac_ext
7113 LIBS=$ac_check_lib_save_LIBS
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7116 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7117 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7118 LIBPTHREAD="-lpthread"
7123 if test "x$LIBPTHREAD" = "x"; then :
7124 case "x$with_pthread" in
7126 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7127 Wine cannot support threads without libpthread.
7128 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7134 $as_echo_n "checking for X... " >&6; }
7137 # Check whether --with-x was given.
7138 if test "${with_x+set}" = set; then :
7142 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7143 if test "x$with_x" = xno; then
7144 # The user explicitly disabled X.
7147 case $x_includes,$x_libraries in #(
7148 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7149 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7150 $as_echo_n "(cached) " >&6
7152 # One or both of the vars are not set, and there is no cached value.
7153 ac_x_includes=no ac_x_libraries=no
7154 rm -f -r conftest.dir
7155 if mkdir conftest.dir; then
7157 cat >Imakefile <<'_ACEOF'
7159 @echo incroot='${INCROOT}'
7161 @echo usrlibdir='${USRLIBDIR}'
7163 @echo libdir='${LIBDIR}'
7165 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7166 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7167 for ac_var in incroot usrlibdir libdir; do
7168 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7170 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7171 for ac_extension in a so sl dylib la dll; do
7172 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7173 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7174 ac_im_usrlibdir=$ac_im_libdir; break
7177 # Screen out bogus values from the imake configuration. They are
7178 # bogus both because they are the default anyway, and because
7179 # using them would break gcc on systems where it needs fixed includes.
7180 case $ac_im_incroot in
7181 /usr/include) ac_x_includes= ;;
7182 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7184 case $ac_im_usrlibdir in
7185 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7186 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7190 rm -f -r conftest.dir
7193 # Standard set of common directories for X headers.
7194 # Check X11 before X11Rn because it is often a symlink to the current release.
7208 /usr/local/X11/include
7209 /usr/local/X11R7/include
7210 /usr/local/X11R6/include
7211 /usr/local/X11R5/include
7212 /usr/local/X11R4/include
7214 /usr/local/include/X11
7215 /usr/local/include/X11R7
7216 /usr/local/include/X11R6
7217 /usr/local/include/X11R5
7218 /usr/local/include/X11R4
7222 /usr/XFree86/include/X11
7226 /usr/unsupported/include
7228 /usr/local/x11r5/include
7229 /usr/lpp/Xamples/include
7231 /usr/openwin/include
7232 /usr/openwin/share/include'
7234 if test "$ac_x_includes" = no; then
7235 # Guess where to find include files, by looking for Xlib.h.
7236 # First, try using that file with no special directory specified.
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7239 #include <X11/Xlib.h>
7241 if ac_fn_c_try_cpp "$LINENO"; then :
7242 # We can compile using X headers with no special include directory.
7245 for ac_dir in $ac_x_header_dirs; do
7246 if test -r "$ac_dir/X11/Xlib.h"; then
7247 ac_x_includes=$ac_dir
7252 rm -f conftest.err conftest.i conftest.$ac_ext
7253 fi # $ac_x_includes = no
7255 if test "$ac_x_libraries" = no; then
7256 # Check for the libraries.
7257 # See if we find them without any special options.
7258 # Don't add to $LIBS permanently.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7263 #include <X11/Xlib.h>
7272 if ac_fn_c_try_link "$LINENO"; then :
7274 # We can link X programs with no special library path.
7278 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7280 # Don't even attempt the hair of trying to link an X program!
7281 for ac_extension in a so sl dylib la dll; do
7282 if test -r "$ac_dir/libX11.$ac_extension"; then
7283 ac_x_libraries=$ac_dir
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 fi # $ac_x_libraries = no
7293 case $ac_x_includes,$ac_x_libraries in #(
7295 # Didn't find X, or a directory has "'" in its name.
7296 ac_cv_have_x="have_x=no";; #(
7298 # Record where we found X for the cache.
7299 ac_cv_have_x="have_x=yes\
7300 ac_x_includes='$ac_x_includes'\
7301 ac_x_libraries='$ac_x_libraries'"
7307 eval "$ac_cv_have_x"
7310 if test "$have_x" != yes; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7312 $as_echo "$have_x" >&6; }
7315 # If each of the values was on the command line, it overrides each guess.
7316 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7317 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7318 # Update the cache value to reflect the command line values.
7319 ac_cv_have_x="have_x=yes\
7320 ac_x_includes='$x_includes'\
7321 ac_x_libraries='$x_libraries'"
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7323 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7326 if test "$no_x" = yes; then
7327 # Not all programs may use this symbol, but it does not hurt to define it.
7329 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7331 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7333 if test -n "$x_includes"; then
7334 X_CFLAGS="$X_CFLAGS -I$x_includes"
7337 # It would also be nice to do this for all -L options, not just this one.
7338 if test -n "$x_libraries"; then
7339 X_LIBS="$X_LIBS -L$x_libraries"
7340 # For Solaris; some versions of Sun CC require a space after -R and
7341 # others require no space. Words are not sufficient . . . .
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7343 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7344 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7345 ac_xsave_c_werror_flag=$ac_c_werror_flag
7346 ac_c_werror_flag=yes
7347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7348 /* end confdefs.h. */
7358 if ac_fn_c_try_link "$LINENO"; then :
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7361 X_LIBS="$X_LIBS -R$x_libraries"
7363 LIBS="$ac_xsave_LIBS -R $x_libraries"
7364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7365 /* end confdefs.h. */
7375 if ac_fn_c_try_link "$LINENO"; then :
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7377 $as_echo "yes" >&6; }
7378 X_LIBS="$X_LIBS -R $x_libraries"
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7381 $as_echo "neither works" >&6; }
7383 rm -f core conftest.err conftest.$ac_objext \
7384 conftest$ac_exeext conftest.$ac_ext
7386 rm -f core conftest.err conftest.$ac_objext \
7387 conftest$ac_exeext conftest.$ac_ext
7388 ac_c_werror_flag=$ac_xsave_c_werror_flag
7392 # Check for system-dependent libraries X programs must link with.
7393 # Do this before checking for the system-independent R6 libraries
7394 # (-lICE), since we may need -lsocket or whatever for X linking.
7396 if test "$ISC" = yes; then
7397 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7399 # Martyn Johnson says this is needed for Ultrix, if the X
7400 # libraries were built with DECnet support. And Karl Berry says
7401 # the Alpha needs dnet_stub (dnet does not exist).
7402 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7404 /* end confdefs.h. */
7406 /* Override any GCC internal prototype to avoid an error.
7407 Use char because int might match the return type of a GCC
7408 builtin and then its argument prototype would still apply. */
7412 char XOpenDisplay ();
7416 return XOpenDisplay ();
7421 if ac_fn_c_try_link "$LINENO"; then :
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7425 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7426 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7427 $as_echo_n "(cached) " >&6
7429 ac_check_lib_save_LIBS=$LIBS
7431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7432 /* end confdefs.h. */
7434 /* Override any GCC internal prototype to avoid an error.
7435 Use char because int might match the return type of a GCC
7436 builtin and then its argument prototype would still apply. */
7444 return dnet_ntoa ();
7449 if ac_fn_c_try_link "$LINENO"; then :
7450 ac_cv_lib_dnet_dnet_ntoa=yes
7452 ac_cv_lib_dnet_dnet_ntoa=no
7454 rm -f core conftest.err conftest.$ac_objext \
7455 conftest$ac_exeext conftest.$ac_ext
7456 LIBS=$ac_check_lib_save_LIBS
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7459 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7460 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7461 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7464 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7466 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7467 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7468 $as_echo_n "(cached) " >&6
7470 ac_check_lib_save_LIBS=$LIBS
7471 LIBS="-ldnet_stub $LIBS"
7472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7473 /* end confdefs.h. */
7475 /* Override any GCC internal prototype to avoid an error.
7476 Use char because int might match the return type of a GCC
7477 builtin and then its argument prototype would still apply. */
7485 return dnet_ntoa ();
7490 if ac_fn_c_try_link "$LINENO"; then :
7491 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7493 ac_cv_lib_dnet_stub_dnet_ntoa=no
7495 rm -f core conftest.err conftest.$ac_objext \
7496 conftest$ac_exeext conftest.$ac_ext
7497 LIBS=$ac_check_lib_save_LIBS
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7500 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7501 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7502 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7507 rm -f core conftest.err conftest.$ac_objext \
7508 conftest$ac_exeext conftest.$ac_ext
7509 LIBS="$ac_xsave_LIBS"
7511 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7512 # to get the SysV transport functions.
7513 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7515 # The nsl library prevents programs from opening the X display
7516 # on Irix 5.2, according to T.E. Dickey.
7517 # The functions gethostbyname, getservbyname, and inet_addr are
7518 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7519 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7520 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7524 if test $ac_cv_func_gethostbyname = no; then
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7526 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7527 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7528 $as_echo_n "(cached) " >&6
7530 ac_check_lib_save_LIBS=$LIBS
7532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7533 /* end confdefs.h. */
7535 /* Override any GCC internal prototype to avoid an error.
7536 Use char because int might match the return type of a GCC
7537 builtin and then its argument prototype would still apply. */
7541 char gethostbyname ();
7545 return gethostbyname ();
7550 if ac_fn_c_try_link "$LINENO"; then :
7551 ac_cv_lib_nsl_gethostbyname=yes
7553 ac_cv_lib_nsl_gethostbyname=no
7555 rm -f core conftest.err conftest.$ac_objext \
7556 conftest$ac_exeext conftest.$ac_ext
7557 LIBS=$ac_check_lib_save_LIBS
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7560 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7561 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7562 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7565 if test $ac_cv_lib_nsl_gethostbyname = no; then
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7567 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7568 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7569 $as_echo_n "(cached) " >&6
7571 ac_check_lib_save_LIBS=$LIBS
7573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7574 /* end confdefs.h. */
7576 /* Override any GCC internal prototype to avoid an error.
7577 Use char because int might match the return type of a GCC
7578 builtin and then its argument prototype would still apply. */
7582 char gethostbyname ();
7586 return gethostbyname ();
7591 if ac_fn_c_try_link "$LINENO"; then :
7592 ac_cv_lib_bsd_gethostbyname=yes
7594 ac_cv_lib_bsd_gethostbyname=no
7596 rm -f core conftest.err conftest.$ac_objext \
7597 conftest$ac_exeext conftest.$ac_ext
7598 LIBS=$ac_check_lib_save_LIBS
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7601 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7602 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7603 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7609 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7610 # socket/setsockopt and other routines are undefined under SCO ODT
7611 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7612 # on later versions), says Simon Leinen: it contains gethostby*
7613 # variants that don't use the name server (or something). -lsocket
7614 # must be given before -lnsl if both are needed. We assume that
7615 # if connect needs -lnsl, so does gethostbyname.
7616 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7617 if test "x$ac_cv_func_connect" = xyes; then :
7621 if test $ac_cv_func_connect = no; then
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7623 $as_echo_n "checking for connect in -lsocket... " >&6; }
7624 if ${ac_cv_lib_socket_connect+:} false; then :
7625 $as_echo_n "(cached) " >&6
7627 ac_check_lib_save_LIBS=$LIBS
7628 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7630 /* end confdefs.h. */
7632 /* Override any GCC internal prototype to avoid an error.
7633 Use char because int might match the return type of a GCC
7634 builtin and then its argument prototype would still apply. */
7647 if ac_fn_c_try_link "$LINENO"; then :
7648 ac_cv_lib_socket_connect=yes
7650 ac_cv_lib_socket_connect=no
7652 rm -f core conftest.err conftest.$ac_objext \
7653 conftest$ac_exeext conftest.$ac_ext
7654 LIBS=$ac_check_lib_save_LIBS
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7657 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7658 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7659 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7664 # Guillermo Gomez says -lposix is necessary on A/UX.
7665 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7666 if test "x$ac_cv_func_remove" = xyes; then :
7670 if test $ac_cv_func_remove = no; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7672 $as_echo_n "checking for remove in -lposix... " >&6; }
7673 if ${ac_cv_lib_posix_remove+:} false; then :
7674 $as_echo_n "(cached) " >&6
7676 ac_check_lib_save_LIBS=$LIBS
7677 LIBS="-lposix $LIBS"
7678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7681 /* Override any GCC internal prototype to avoid an error.
7682 Use char because int might match the return type of a GCC
7683 builtin and then its argument prototype would still apply. */
7696 if ac_fn_c_try_link "$LINENO"; then :
7697 ac_cv_lib_posix_remove=yes
7699 ac_cv_lib_posix_remove=no
7701 rm -f core conftest.err conftest.$ac_objext \
7702 conftest$ac_exeext conftest.$ac_ext
7703 LIBS=$ac_check_lib_save_LIBS
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7706 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7707 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7708 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7713 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7714 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7715 if test "x$ac_cv_func_shmat" = xyes; then :
7719 if test $ac_cv_func_shmat = no; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7721 $as_echo_n "checking for shmat in -lipc... " >&6; }
7722 if ${ac_cv_lib_ipc_shmat+:} false; then :
7723 $as_echo_n "(cached) " >&6
7725 ac_check_lib_save_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_ipc_shmat=yes
7748 ac_cv_lib_ipc_shmat=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_ipc_shmat" >&5
7755 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7756 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7757 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7763 # Check for libraries that X11R6 Xt/Xaw programs need.
7764 ac_save_LDFLAGS=$LDFLAGS
7765 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7766 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7767 # check for ICE first), but we must link in the order -lSM -lICE or
7768 # we get undefined symbols. So assume we have SM if we have ICE.
7769 # These have to be linked with before -lX11, unlike the other
7770 # libraries we check for below, so use a different variable.
7771 # John Interrante, Karl Berry
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7773 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7774 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7775 $as_echo_n "(cached) " >&6
7777 ac_check_lib_save_LIBS=$LIBS
7778 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7780 /* end confdefs.h. */
7782 /* Override any GCC internal prototype to avoid an error.
7783 Use char because int might match the return type of a GCC
7784 builtin and then its argument prototype would still apply. */
7788 char IceConnectionNumber ();
7792 return IceConnectionNumber ();
7797 if ac_fn_c_try_link "$LINENO"; then :
7798 ac_cv_lib_ICE_IceConnectionNumber=yes
7800 ac_cv_lib_ICE_IceConnectionNumber=no
7802 rm -f core conftest.err conftest.$ac_objext \
7803 conftest$ac_exeext conftest.$ac_ext
7804 LIBS=$ac_check_lib_save_LIBS
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7807 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7808 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7809 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7812 LDFLAGS=$ac_save_LDFLAGS
7817 if test "$have_x" = "yes"
7820 ac_save_CPPFLAGS="$CPPFLAGS"
7821 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7824 $as_echo_n "checking for -lX11... " >&6; }
7825 if ${ac_cv_lib_soname_X11+:} false; then :
7826 $as_echo_n "(cached) " >&6
7828 ac_check_soname_save_LIBS=$LIBS
7829 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7833 /* Override any GCC internal prototype to avoid an error.
7834 Use char because int might match the return type of a GCC
7835 builtin and then its argument prototype would still apply. */
7839 char XCreateWindow ();
7843 return XCreateWindow ();
7848 if ac_fn_c_try_link "$LINENO"; then :
7850 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7851 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'` ;;
7852 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7855 rm -f core conftest.err conftest.$ac_objext \
7856 conftest$ac_exeext conftest.$ac_ext
7857 LIBS=$ac_check_soname_save_LIBS
7859 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7861 $as_echo "not found" >&6; }
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7865 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7867 cat >>confdefs.h <<_ACEOF
7868 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7874 $as_echo_n "checking for -lXext... " >&6; }
7875 if ${ac_cv_lib_soname_Xext+:} false; then :
7876 $as_echo_n "(cached) " >&6
7878 ac_check_soname_save_LIBS=$LIBS
7879 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7881 /* end confdefs.h. */
7883 /* Override any GCC internal prototype to avoid an error.
7884 Use char because int might match the return type of a GCC
7885 builtin and then its argument prototype would still apply. */
7889 char XextCreateExtension ();
7893 return XextCreateExtension ();
7898 if ac_fn_c_try_link "$LINENO"; then :
7900 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7901 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'` ;;
7902 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7905 rm -f core conftest.err conftest.$ac_objext \
7906 conftest$ac_exeext conftest.$ac_ext
7907 LIBS=$ac_check_soname_save_LIBS
7909 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7911 $as_echo "not found" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7915 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7917 cat >>confdefs.h <<_ACEOF
7918 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7924 for ac_header in X11/Xlib.h \
7927 X11/Xcursor/Xcursor.h \
7928 X11/extensions/shape.h \
7929 X11/extensions/XInput.h \
7930 X11/extensions/XInput2.h \
7931 X11/extensions/XShm.h \
7932 X11/extensions/Xcomposite.h \
7933 X11/extensions/Xinerama.h \
7934 X11/extensions/Xrandr.h \
7935 X11/extensions/Xrender.h \
7936 X11/extensions/xf86vmode.h \
7937 X11/extensions/xf86vmproto.h
7939 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7940 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
7941 # include <X11/Xlib.h>
7943 #ifdef HAVE_X11_XUTIL_H
7944 # include <X11/Xutil.h>
7947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7948 cat >>confdefs.h <<_ACEOF
7949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7957 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
7960 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
7961 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
7962 $as_echo_n "(cached) " >&6
7964 ac_check_lib_save_LIBS=$LIBS
7965 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7969 /* Override any GCC internal prototype to avoid an error.
7970 Use char because int might match the return type of a GCC
7971 builtin and then its argument prototype would still apply. */
7975 char XkbQueryExtension ();
7979 return XkbQueryExtension ();
7984 if ac_fn_c_try_link "$LINENO"; then :
7985 ac_cv_lib_X11_XkbQueryExtension=yes
7987 ac_cv_lib_X11_XkbQueryExtension=no
7989 rm -f core conftest.err conftest.$ac_objext \
7990 conftest$ac_exeext conftest.$ac_ext
7991 LIBS=$ac_check_lib_save_LIBS
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7994 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7995 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
7997 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8003 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8006 $as_echo_n "checking for -lXcursor... " >&6; }
8007 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8008 $as_echo_n "(cached) " >&6
8010 ac_check_soname_save_LIBS=$LIBS
8011 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8015 /* Override any GCC internal prototype to avoid an error.
8016 Use char because int might match the return type of a GCC
8017 builtin and then its argument prototype would still apply. */
8021 char XcursorImageLoadCursor ();
8025 return XcursorImageLoadCursor ();
8030 if ac_fn_c_try_link "$LINENO"; then :
8032 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8033 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'` ;;
8034 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8037 rm -f core conftest.err conftest.$ac_objext \
8038 conftest$ac_exeext conftest.$ac_ext
8039 LIBS=$ac_check_soname_save_LIBS
8041 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8043 $as_echo "not found" >&6; }
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8047 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8049 cat >>confdefs.h <<_ACEOF
8050 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8056 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8057 case "x$with_xcursor" in
8058 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8060 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8061 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8065 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8068 $as_echo_n "checking for -lXi... " >&6; }
8069 if ${ac_cv_lib_soname_Xi+:} false; then :
8070 $as_echo_n "(cached) " >&6
8072 ac_check_soname_save_LIBS=$LIBS
8073 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8075 /* end confdefs.h. */
8077 /* Override any GCC internal prototype to avoid an error.
8078 Use char because int might match the return type of a GCC
8079 builtin and then its argument prototype would still apply. */
8083 char XOpenDevice ();
8087 return XOpenDevice ();
8092 if ac_fn_c_try_link "$LINENO"; then :
8094 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8095 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'` ;;
8096 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8099 rm -f core conftest.err conftest.$ac_objext \
8100 conftest$ac_exeext conftest.$ac_ext
8101 LIBS=$ac_check_soname_save_LIBS
8103 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8105 $as_echo "not found" >&6; }
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8109 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8111 cat >>confdefs.h <<_ACEOF
8112 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8118 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8119 case "x$with_xinput" in
8120 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8122 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8123 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8127 if test "x$ac_cv_lib_soname_Xi" != x
8129 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8130 case "x$with_xinput2" in
8131 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8133 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8134 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8139 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8142 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8143 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8144 $as_echo_n "(cached) " >&6
8146 ac_check_lib_save_LIBS=$LIBS
8147 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8151 /* Override any GCC internal prototype to avoid an error.
8152 Use char because int might match the return type of a GCC
8153 builtin and then its argument prototype would still apply. */
8157 char XShmQueryExtension ();
8161 return XShmQueryExtension ();
8166 if ac_fn_c_try_link "$LINENO"; then :
8167 ac_cv_lib_Xext_XShmQueryExtension=yes
8169 ac_cv_lib_Xext_XShmQueryExtension=no
8171 rm -f core conftest.err conftest.$ac_objext \
8172 conftest$ac_exeext conftest.$ac_ext
8173 LIBS=$ac_check_lib_save_LIBS
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8176 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8177 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8179 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8184 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8185 case "x$with_xshm" in
8186 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8188 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8189 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8193 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8196 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8197 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8198 $as_echo_n "(cached) " >&6
8200 ac_check_lib_save_LIBS=$LIBS
8201 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8203 /* end confdefs.h. */
8205 /* Override any GCC internal prototype to avoid an error.
8206 Use char because int might match the return type of a GCC
8207 builtin and then its argument prototype would still apply. */
8211 char XShapeQueryExtension ();
8215 return XShapeQueryExtension ();
8220 if ac_fn_c_try_link "$LINENO"; then :
8221 ac_cv_lib_Xext_XShapeQueryExtension=yes
8223 ac_cv_lib_Xext_XShapeQueryExtension=no
8225 rm -f core conftest.err conftest.$ac_objext \
8226 conftest$ac_exeext conftest.$ac_ext
8227 LIBS=$ac_check_lib_save_LIBS
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8230 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8231 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8233 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8238 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8239 case "x$with_xshape" in
8240 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8242 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8243 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8247 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8250 $as_echo_n "checking for -lXxf86vm... " >&6; }
8251 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8252 $as_echo_n "(cached) " >&6
8254 ac_check_soname_save_LIBS=$LIBS
8255 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8259 /* Override any GCC internal prototype to avoid an error.
8260 Use char because int might match the return type of a GCC
8261 builtin and then its argument prototype would still apply. */
8265 char XF86VidModeQueryExtension ();
8269 return XF86VidModeQueryExtension ();
8274 if ac_fn_c_try_link "$LINENO"; then :
8276 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8277 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'` ;;
8278 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8281 rm -f core conftest.err conftest.$ac_objext \
8282 conftest$ac_exeext conftest.$ac_ext
8283 LIBS=$ac_check_soname_save_LIBS
8285 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8287 $as_echo "not found" >&6; }
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8291 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8293 cat >>confdefs.h <<_ACEOF
8294 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8300 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8301 case "x$with_xxf86vm" in
8302 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8304 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8305 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8309 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"
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8312 $as_echo_n "checking for -lXrender... " >&6; }
8313 if ${ac_cv_lib_soname_Xrender+:} false; then :
8314 $as_echo_n "(cached) " >&6
8316 ac_check_soname_save_LIBS=$LIBS
8317 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8319 /* end confdefs.h. */
8321 /* Override any GCC internal prototype to avoid an error.
8322 Use char because int might match the return type of a GCC
8323 builtin and then its argument prototype would still apply. */
8327 char XRenderQueryExtension ();
8331 return XRenderQueryExtension ();
8336 if ac_fn_c_try_link "$LINENO"; then :
8338 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8339 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'` ;;
8340 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8343 rm -f core conftest.err conftest.$ac_objext \
8344 conftest$ac_exeext conftest.$ac_ext
8345 LIBS=$ac_check_soname_save_LIBS
8347 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8349 $as_echo "not found" >&6; }
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8353 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8355 cat >>confdefs.h <<_ACEOF
8356 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8360 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8361 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8362 $as_echo_n "(cached) " >&6
8364 ac_check_lib_save_LIBS=$LIBS
8365 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8369 /* Override any GCC internal prototype to avoid an error.
8370 Use char because int might match the return type of a GCC
8371 builtin and then its argument prototype would still apply. */
8375 char XRenderSetPictureTransform ();
8379 return XRenderSetPictureTransform ();
8384 if ac_fn_c_try_link "$LINENO"; then :
8385 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8387 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8389 rm -f core conftest.err conftest.$ac_objext \
8390 conftest$ac_exeext conftest.$ac_ext
8391 LIBS=$ac_check_lib_save_LIBS
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8394 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8395 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8397 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8404 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8405 case "x$with_xrender" in
8406 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8408 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8409 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8413 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8416 /* end confdefs.h. */
8417 #include <X11/Xlib.h>
8418 #include <X11/extensions/Xrandr.h>
8422 static typeof(XRRSetScreenConfigAndRate) * func;
8427 if ac_fn_c_try_compile "$LINENO"; then :
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8429 $as_echo_n "checking for -lXrandr... " >&6; }
8430 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8431 $as_echo_n "(cached) " >&6
8433 ac_check_soname_save_LIBS=$LIBS
8434 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8438 /* Override any GCC internal prototype to avoid an error.
8439 Use char because int might match the return type of a GCC
8440 builtin and then its argument prototype would still apply. */
8444 char XRRQueryExtension ();
8448 return XRRQueryExtension ();
8453 if ac_fn_c_try_link "$LINENO"; then :
8455 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8456 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'` ;;
8457 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 LIBS=$ac_check_soname_save_LIBS
8464 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8466 $as_echo "not found" >&6; }
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8470 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8472 cat >>confdefs.h <<_ACEOF
8473 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8481 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8482 case "x$with_xrandr" in
8483 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8485 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8486 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8490 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 #include <X11/Xlib.h>
8495 #include <X11/extensions/Xinerama.h>
8499 static typeof(XineramaQueryScreens) * func;
8504 if ac_fn_c_try_compile "$LINENO"; then :
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8506 $as_echo_n "checking for -lXinerama... " >&6; }
8507 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8508 $as_echo_n "(cached) " >&6
8510 ac_check_soname_save_LIBS=$LIBS
8511 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8515 /* Override any GCC internal prototype to avoid an error.
8516 Use char because int might match the return type of a GCC
8517 builtin and then its argument prototype would still apply. */
8521 char XineramaQueryScreens ();
8525 return XineramaQueryScreens ();
8530 if ac_fn_c_try_link "$LINENO"; then :
8532 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8533 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'` ;;
8534 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8537 rm -f core conftest.err conftest.$ac_objext \
8538 conftest$ac_exeext conftest.$ac_ext
8539 LIBS=$ac_check_soname_save_LIBS
8541 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8543 $as_echo "not found" >&6; }
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8547 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8549 cat >>confdefs.h <<_ACEOF
8550 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8558 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8559 case "x$with_xinerama" in
8560 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8562 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8563 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8567 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8570 $as_echo_n "checking for -lXcomposite... " >&6; }
8571 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8572 $as_echo_n "(cached) " >&6
8574 ac_check_soname_save_LIBS=$LIBS
8575 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8579 /* Override any GCC internal prototype to avoid an error.
8580 Use char because int might match the return type of a GCC
8581 builtin and then its argument prototype would still apply. */
8585 char XCompositeRedirectWindow ();
8589 return XCompositeRedirectWindow ();
8594 if ac_fn_c_try_link "$LINENO"; then :
8596 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8597 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'` ;;
8598 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8601 rm -f core conftest.err conftest.$ac_objext \
8602 conftest$ac_exeext conftest.$ac_ext
8603 LIBS=$ac_check_soname_save_LIBS
8605 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8607 $as_echo "not found" >&6; }
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8611 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8613 cat >>confdefs.h <<_ACEOF
8614 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8620 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8621 case "x$with_xcomposite" in
8622 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8624 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8625 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8629 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8630 #include <X11/Xlib.h>
8633 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8635 cat >>confdefs.h <<_ACEOF
8636 #define HAVE_XICCALLBACK_CALLBACK 1
8641 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8642 #include <X11/Xlib.h>
8645 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8647 cat >>confdefs.h <<_ACEOF
8648 #define HAVE_XEVENT_XCOOKIE 1
8657 if test "x$with_opengl" != "xno"
8659 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8662 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8663 # include <GL/glx.h>
8666 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8667 cat >>confdefs.h <<_ACEOF
8668 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8675 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8678 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8679 if ${wine_cv_opengl_header_version_OK+:} false; then :
8680 $as_echo_n "(cached) " >&6
8682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8683 /* end confdefs.h. */
8688 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8693 if ac_fn_c_try_compile "$LINENO"; then :
8694 wine_cv_opengl_header_version_OK="yes"
8696 wine_cv_opengl_header_version_OK="no"
8698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8701 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8703 if test "$wine_cv_opengl_header_version_OK" = "yes"
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8706 $as_echo_n "checking for -lGL... " >&6; }
8707 if ${ac_cv_lib_soname_GL+:} false; then :
8708 $as_echo_n "(cached) " >&6
8710 ac_check_soname_save_LIBS=$LIBS
8711 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8715 /* Override any GCC internal prototype to avoid an error.
8716 Use char because int might match the return type of a GCC
8717 builtin and then its argument prototype would still apply. */
8721 char glXCreateContext ();
8725 return glXCreateContext ();
8730 if ac_fn_c_try_link "$LINENO"; then :
8732 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8733 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'` ;;
8734 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8737 rm -f core conftest.err conftest.$ac_objext \
8738 conftest$ac_exeext conftest.$ac_ext
8739 LIBS=$ac_check_soname_save_LIBS
8741 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8743 $as_echo "not found" >&6; }
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8745 $as_echo_n "checking for -lGL... " >&6; }
8746 if ${ac_cv_lib_soname_GL+:} false; then :
8747 $as_echo_n "(cached) " >&6
8749 ac_check_soname_save_LIBS=$LIBS
8750 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"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8754 /* Override any GCC internal prototype to avoid an error.
8755 Use char because int might match the return type of a GCC
8756 builtin and then its argument prototype would still apply. */
8760 char glXCreateContext ();
8764 return glXCreateContext ();
8769 if ac_fn_c_try_link "$LINENO"; then :
8771 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8772 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'` ;;
8773 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 LIBS=$ac_check_soname_save_LIBS
8780 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8782 $as_echo "not found" >&6; }
8783 if test -f /usr/X11R6/lib/libGL.a
8785 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8786 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8788 opengl_msg="No OpenGL library found on this system."
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8792 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8794 cat >>confdefs.h <<_ACEOF
8795 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8798 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"
8800 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8805 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8807 cat >>confdefs.h <<_ACEOF
8808 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8813 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8816 if test "$ac_cv_header_GL_glu_h" = "yes"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8819 $as_echo_n "checking for -lGLU... " >&6; }
8820 if ${ac_cv_lib_soname_GLU+:} false; then :
8821 $as_echo_n "(cached) " >&6
8823 ac_check_soname_save_LIBS=$LIBS
8824 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8826 /* end confdefs.h. */
8828 /* Override any GCC internal prototype to avoid an error.
8829 Use char because int might match the return type of a GCC
8830 builtin and then its argument prototype would still apply. */
8838 return gluLookAt ();
8843 if ac_fn_c_try_link "$LINENO"; then :
8845 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8846 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'` ;;
8847 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8850 rm -f core conftest.err conftest.$ac_objext \
8851 conftest$ac_exeext conftest.$ac_ext
8852 LIBS=$ac_check_soname_save_LIBS
8854 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8856 $as_echo "not found" >&6; }
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8860 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8862 cat >>confdefs.h <<_ACEOF
8863 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8869 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8870 case "x$with_glu" in
8871 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8873 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
8874 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8878 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8881 opengl_msg="OpenGL development headers not found."
8883 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
8884 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
8886 enable_opengl32=${enable_opengl32:-no}
8887 enable_glu32=${enable_glu32:-no}
8889 if test -n "$opengl_msg"; then :
8890 case "x$with_opengl" in
8891 x) as_fn_append wine_warnings "|$opengl_msg
8892 OpenGL and Direct3D won't be supported." ;;
8894 *) as_fn_error $? "$opengl_msg
8895 OpenGL and Direct3D won't be supported.
8896 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8900 CPPFLAGS="$ac_save_CPPFLAGS"
8905 enable_winex11_drv=${enable_winex11_drv:-no}
8906 enable_opengl32=${enable_opengl32:-no}
8907 enable_glu32=${enable_glu32:-no}
8909 if test "x$XLIB" = "x"; then :
8912 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
8913 without X support, which probably isn't what you want. You will need
8914 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
8915 Use the --without-x option if you really want this." "$LINENO" 5 ;;
8919 if test "$ac_cv_header_CL_cl_h" = "yes"
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
8922 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
8923 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
8924 $as_echo_n "(cached) " >&6
8926 ac_check_lib_save_LIBS=$LIBS
8927 LIBS="-lOpenCL $LIBS"
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8931 /* Override any GCC internal prototype to avoid an error.
8932 Use char because int might match the return type of a GCC
8933 builtin and then its argument prototype would still apply. */
8937 char clGetPlatformInfo ();
8941 return clGetPlatformInfo ();
8946 if ac_fn_c_try_link "$LINENO"; then :
8947 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8949 ac_cv_lib_OpenCL_clGetPlatformInfo=no
8951 rm -f core conftest.err conftest.$ac_objext \
8952 conftest$ac_exeext conftest.$ac_ext
8953 LIBS=$ac_check_lib_save_LIBS
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
8956 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
8957 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
8958 LIBOPENCL="-lOpenCL"
8963 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
8964 case "x$with_opencl" in
8965 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
8967 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
8968 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
8971 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
8980 if test "x$with_xml" != "xno"
8982 ac_save_CPPFLAGS="$CPPFLAGS"
8983 if test "$PKG_CONFIG" != "false"
8985 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8986 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8988 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
8989 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
8991 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8992 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
8994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8995 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
8996 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8997 cat >>confdefs.h <<_ACEOF
8998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9005 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"
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9008 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9009 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9010 $as_echo_n "(cached) " >&6
9012 ac_check_lib_save_LIBS=$LIBS
9013 LIBS="-lxml2 $ac_xml_libs $LIBS"
9014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9015 /* end confdefs.h. */
9017 /* Override any GCC internal prototype to avoid an error.
9018 Use char because int might match the return type of a GCC
9019 builtin and then its argument prototype would still apply. */
9023 char xmlParseMemory ();
9027 return xmlParseMemory ();
9032 if ac_fn_c_try_link "$LINENO"; then :
9033 ac_cv_lib_xml2_xmlParseMemory=yes
9035 ac_cv_lib_xml2_xmlParseMemory=no
9037 rm -f core conftest.err conftest.$ac_objext \
9038 conftest$ac_exeext conftest.$ac_ext
9039 LIBS=$ac_check_lib_save_LIBS
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9042 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9043 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9045 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9047 XML2LIBS="$ac_xml_libs"
9048 XML2INCL="$ac_xml_cflags"
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9052 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9053 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9054 $as_echo_n "(cached) " >&6
9056 ac_check_lib_save_LIBS=$LIBS
9057 LIBS="-lxml2 $ac_xml_libs $LIBS"
9058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9059 /* end confdefs.h. */
9061 /* Override any GCC internal prototype to avoid an error.
9062 Use char because int might match the return type of a GCC
9063 builtin and then its argument prototype would still apply. */
9067 char xmlReadMemory ();
9071 return xmlReadMemory ();
9076 if ac_fn_c_try_link "$LINENO"; then :
9077 ac_cv_lib_xml2_xmlReadMemory=yes
9079 ac_cv_lib_xml2_xmlReadMemory=no
9081 rm -f core conftest.err conftest.$ac_objext \
9082 conftest$ac_exeext conftest.$ac_ext
9083 LIBS=$ac_check_lib_save_LIBS
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9086 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9087 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9089 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9094 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9095 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9096 $as_echo_n "(cached) " >&6
9098 ac_check_lib_save_LIBS=$LIBS
9099 LIBS="-lxml2 $ac_xml_libs $LIBS"
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9103 /* Override any GCC internal prototype to avoid an error.
9104 Use char because int might match the return type of a GCC
9105 builtin and then its argument prototype would still apply. */
9109 char xmlNewDocPI ();
9113 return xmlNewDocPI ();
9118 if ac_fn_c_try_link "$LINENO"; then :
9119 ac_cv_lib_xml2_xmlNewDocPI=yes
9121 ac_cv_lib_xml2_xmlNewDocPI=no
9123 rm -f core conftest.err conftest.$ac_objext \
9124 conftest$ac_exeext conftest.$ac_ext
9125 LIBS=$ac_check_lib_save_LIBS
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9128 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9129 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9131 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9136 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9137 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9138 $as_echo_n "(cached) " >&6
9140 ac_check_lib_save_LIBS=$LIBS
9141 LIBS="-lxml2 $ac_xml_libs $LIBS"
9142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9143 /* end confdefs.h. */
9145 /* Override any GCC internal prototype to avoid an error.
9146 Use char because int might match the return type of a GCC
9147 builtin and then its argument prototype would still apply. */
9151 char xmlSchemaSetParserStructuredErrors ();
9155 return xmlSchemaSetParserStructuredErrors ();
9160 if ac_fn_c_try_link "$LINENO"; then :
9161 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9163 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9165 rm -f core conftest.err conftest.$ac_objext \
9166 conftest$ac_exeext conftest.$ac_ext
9167 LIBS=$ac_check_lib_save_LIBS
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9170 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9171 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9173 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9178 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9179 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9180 $as_echo_n "(cached) " >&6
9182 ac_check_lib_save_LIBS=$LIBS
9183 LIBS="-lxml2 $ac_xml_libs $LIBS"
9184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9185 /* end confdefs.h. */
9187 /* Override any GCC internal prototype to avoid an error.
9188 Use char because int might match the return type of a GCC
9189 builtin and then its argument prototype would still apply. */
9193 char xmlSchemaSetValidStructuredErrors ();
9197 return xmlSchemaSetValidStructuredErrors ();
9202 if ac_fn_c_try_link "$LINENO"; then :
9203 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9205 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9207 rm -f core conftest.err conftest.$ac_objext \
9208 conftest$ac_exeext conftest.$ac_ext
9209 LIBS=$ac_check_lib_save_LIBS
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9212 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9213 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9215 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9220 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9221 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9222 $as_echo_n "(cached) " >&6
9224 ac_check_lib_save_LIBS=$LIBS
9225 LIBS="-lxml2 $ac_xml_libs $LIBS"
9226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9227 /* end confdefs.h. */
9229 /* Override any GCC internal prototype to avoid an error.
9230 Use char because int might match the return type of a GCC
9231 builtin and then its argument prototype would still apply. */
9235 char xmlFirstElementChild ();
9239 return xmlFirstElementChild ();
9244 if ac_fn_c_try_link "$LINENO"; then :
9245 ac_cv_lib_xml2_xmlFirstElementChild=yes
9247 ac_cv_lib_xml2_xmlFirstElementChild=no
9249 rm -f core conftest.err conftest.$ac_objext \
9250 conftest$ac_exeext conftest.$ac_ext
9251 LIBS=$ac_check_lib_save_LIBS
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9254 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9255 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9257 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9261 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9263 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9265 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9270 CPPFLAGS="$ac_save_CPPFLAGS"
9272 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9273 case "x$with_xml" in
9274 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9276 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9277 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9281 if test "x$with_xslt" != "xno"
9283 if test "$PKG_CONFIG" != "false"
9285 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9286 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9288 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9289 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9291 ac_save_CPPFLAGS="$CPPFLAGS"
9292 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9293 for ac_header in libxslt/pattern.h libxslt/transform.h
9295 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9296 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9297 # include <libxslt/pattern.h>
9300 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9301 cat >>confdefs.h <<_ACEOF
9302 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9309 CPPFLAGS="$ac_save_CPPFLAGS"
9310 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9313 $as_echo_n "checking for -lxslt... " >&6; }
9314 if ${ac_cv_lib_soname_xslt+:} false; then :
9315 $as_echo_n "(cached) " >&6
9317 ac_check_soname_save_LIBS=$LIBS
9318 LIBS="-lxslt $ac_xslt_libs $LIBS"
9319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9320 /* end confdefs.h. */
9322 /* Override any GCC internal prototype to avoid an error.
9323 Use char because int might match the return type of a GCC
9324 builtin and then its argument prototype would still apply. */
9328 char xsltCompilePattern ();
9332 return xsltCompilePattern ();
9337 if ac_fn_c_try_link "$LINENO"; then :
9339 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9340 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'` ;;
9341 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9344 rm -f core conftest.err conftest.$ac_objext \
9345 conftest$ac_exeext conftest.$ac_ext
9346 LIBS=$ac_check_soname_save_LIBS
9348 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9350 $as_echo "not found" >&6; }
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9354 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9356 cat >>confdefs.h <<_ACEOF
9357 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9360 XSLTINCL="$ac_xslt_cflags"
9364 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9365 case "x$with_xslt" in
9366 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9368 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9369 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9375 if test "x$with_hal" != "xno"
9377 ac_save_CPPFLAGS="$CPPFLAGS"
9378 if test "$PKG_CONFIG" != "false"
9380 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9381 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9382 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9384 for ac_header in dbus/dbus.h hal/libhal.h
9386 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9387 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9388 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9389 cat >>confdefs.h <<_ACEOF
9390 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9397 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9400 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9401 if ${ac_cv_lib_dbus_1_dbus_connection_close+:} false; then :
9402 $as_echo_n "(cached) " >&6
9404 ac_check_lib_save_LIBS=$LIBS
9405 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9409 /* Override any GCC internal prototype to avoid an error.
9410 Use char because int might match the return type of a GCC
9411 builtin and then its argument prototype would still apply. */
9415 char dbus_connection_close ();
9419 return dbus_connection_close ();
9424 if ac_fn_c_try_link "$LINENO"; then :
9425 ac_cv_lib_dbus_1_dbus_connection_close=yes
9427 ac_cv_lib_dbus_1_dbus_connection_close=no
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS=$ac_check_lib_save_LIBS
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9434 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9435 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = xyes; then :
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9437 $as_echo_n "checking for -lhal... " >&6; }
9438 if ${ac_cv_lib_soname_hal+:} false; then :
9439 $as_echo_n "(cached) " >&6
9441 ac_check_soname_save_LIBS=$LIBS
9442 LIBS="-lhal $ac_hal_libs $LIBS"
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h. */
9446 /* Override any GCC internal prototype to avoid an error.
9447 Use char because int might match the return type of a GCC
9448 builtin and then its argument prototype would still apply. */
9452 char libhal_ctx_new ();
9456 return libhal_ctx_new ();
9461 if ac_fn_c_try_link "$LINENO"; then :
9463 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9464 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'` ;;
9465 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9468 rm -f core conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9470 LIBS=$ac_check_soname_save_LIBS
9472 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9474 $as_echo "not found" >&6; }
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9478 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9480 cat >>confdefs.h <<_ACEOF
9481 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9484 HALINCL="$ac_hal_cflags"
9489 CPPFLAGS="$ac_save_CPPFLAGS"
9491 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9492 case "x$with_hal" in
9493 x) as_fn_append wine_notices "|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9495 *) as_fn_error $? "libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9496 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9500 if test "x$with_gnutls" != "xno"
9502 ac_save_CPPFLAGS="$CPPFLAGS"
9503 if test "$PKG_CONFIG" != "false"
9505 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9506 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9507 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9509 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9510 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9512 /* end confdefs.h. */
9513 #include <gnutls/gnutls.h>
9517 typeof(gnutls_mac_get_key_size) *pfunc;
9522 if ac_fn_c_try_compile "$LINENO"; then :
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9524 $as_echo_n "checking for -lgnutls... " >&6; }
9525 if ${ac_cv_lib_soname_gnutls+:} false; then :
9526 $as_echo_n "(cached) " >&6
9528 ac_check_soname_save_LIBS=$LIBS
9529 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9531 /* end confdefs.h. */
9533 /* Override any GCC internal prototype to avoid an error.
9534 Use char because int might match the return type of a GCC
9535 builtin and then its argument prototype would still apply. */
9539 char gnutls_global_init ();
9543 return gnutls_global_init ();
9548 if ac_fn_c_try_link "$LINENO"; then :
9550 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9551 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'` ;;
9552 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9555 rm -f core conftest.err conftest.$ac_objext \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_soname_save_LIBS
9559 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9561 $as_echo "not found" >&6; }
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9565 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9567 cat >>confdefs.h <<_ACEOF
9568 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9571 GNUTLSINCL="$ac_gnutls_cflags"
9575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9579 CPPFLAGS="$ac_save_CPPFLAGS"
9581 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9582 case "x$with_gnutls" in
9583 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9585 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9586 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9591 if test "$ac_cv_header_ncurses_h" = "yes"
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9594 $as_echo_n "checking for -lncurses... " >&6; }
9595 if ${ac_cv_lib_soname_ncurses+:} false; then :
9596 $as_echo_n "(cached) " >&6
9598 ac_check_soname_save_LIBS=$LIBS
9599 LIBS="-lncurses $LIBS"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9618 if ac_fn_c_try_link "$LINENO"; then :
9620 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9621 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'` ;;
9622 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9625 rm -f core conftest.err conftest.$ac_objext \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_soname_save_LIBS
9629 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9631 $as_echo "not found" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9635 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9637 cat >>confdefs.h <<_ACEOF
9638 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9641 CURSESLIBS="-lncurses"
9643 elif test "$ac_cv_header_curses_h" = "yes"
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9646 $as_echo_n "checking for -lcurses... " >&6; }
9647 if ${ac_cv_lib_soname_curses+:} false; then :
9648 $as_echo_n "(cached) " >&6
9650 ac_check_soname_save_LIBS=$LIBS
9651 LIBS="-lcurses $LIBS"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9670 if ac_fn_c_try_link "$LINENO"; then :
9672 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9673 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'` ;;
9674 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9677 rm -f core conftest.err conftest.$ac_objext \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_soname_save_LIBS
9681 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9683 $as_echo "not found" >&6; }
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9687 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9689 cat >>confdefs.h <<_ACEOF
9690 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9693 CURSESLIBS="-lcurses"
9696 ac_save_LIBS="$LIBS"
9697 LIBS="$LIBS $CURSESLIBS"
9698 for ac_func in mousemask
9700 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9701 if test "x$ac_cv_func_mousemask" = xyes; then :
9702 cat >>confdefs.h <<_ACEOF
9703 #define HAVE_MOUSEMASK 1
9709 LIBS="$ac_save_LIBS"
9710 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9711 case "x$with_curses" in
9712 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9714 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9715 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9719 if test "x$with_sane" != "xno"
9721 ac_save_CPPFLAGS="$CPPFLAGS"
9722 # Extract the first word of "sane-config", so it can be a program name with args.
9723 set dummy sane-config; ac_word=$2
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9725 $as_echo_n "checking for $ac_word... " >&6; }
9726 if ${ac_cv_prog_sane_devel+:} false; then :
9727 $as_echo_n "(cached) " >&6
9729 if test -n "$sane_devel"; then
9730 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9736 test -z "$as_dir" && as_dir=.
9737 for ac_exec_ext in '' $ac_executable_extensions; do
9738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9739 ac_cv_prog_sane_devel="sane-config"
9740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9747 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9750 sane_devel=$ac_cv_prog_sane_devel
9751 if test -n "$sane_devel"; then
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9753 $as_echo "$sane_devel" >&6; }
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9756 $as_echo "no" >&6; }
9760 if test "$sane_devel" != "no"
9762 ac_sane_incl="`$sane_devel --cflags`"
9763 ac_sane_libs="`$sane_devel --ldflags`"
9764 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9766 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9767 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9769 $as_echo_n "checking for -lsane... " >&6; }
9770 if ${ac_cv_lib_soname_sane+:} false; then :
9771 $as_echo_n "(cached) " >&6
9773 ac_check_soname_save_LIBS=$LIBS
9774 LIBS="-lsane $ac_sane_libs $LIBS"
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h. */
9778 /* Override any GCC internal prototype to avoid an error.
9779 Use char because int might match the return type of a GCC
9780 builtin and then its argument prototype would still apply. */
9788 return sane_init ();
9793 if ac_fn_c_try_link "$LINENO"; then :
9795 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9796 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'` ;;
9797 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9800 rm -f core conftest.err conftest.$ac_objext \
9801 conftest$ac_exeext conftest.$ac_ext
9802 LIBS=$ac_check_soname_save_LIBS
9804 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9806 $as_echo "not found" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9810 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9812 cat >>confdefs.h <<_ACEOF
9813 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9816 SANEINCL="$ac_sane_incl"
9822 CPPFLAGS="$ac_save_CPPFLAGS"
9824 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9825 case "x$with_sane" in
9826 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9828 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
9829 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9833 if test "x$with_v4l" != "xno"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9836 $as_echo_n "checking for -lv4l1... " >&6; }
9837 if ${ac_cv_lib_soname_v4l1+:} false; then :
9838 $as_echo_n "(cached) " >&6
9840 ac_check_soname_save_LIBS=$LIBS
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9855 return v4l1_open ();
9860 if ac_fn_c_try_link "$LINENO"; then :
9862 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9863 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'` ;;
9864 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9867 rm -f core conftest.err conftest.$ac_objext \
9868 conftest$ac_exeext conftest.$ac_ext
9869 LIBS=$ac_check_soname_save_LIBS
9871 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9873 $as_echo "not found" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9877 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9879 cat >>confdefs.h <<_ACEOF
9880 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9886 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9887 case "x$with_v4l" in
9888 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
9890 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
9891 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9895 if test "x$with_gphoto" != "xno"
9897 ac_save_CPPFLAGS="$CPPFLAGS"
9898 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9899 set dummy gphoto2-config; ac_word=$2
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9901 $as_echo_n "checking for $ac_word... " >&6; }
9902 if ${ac_cv_prog_gphoto2_devel+:} false; then :
9903 $as_echo_n "(cached) " >&6
9905 if test -n "$gphoto2_devel"; then
9906 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
9908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9912 test -z "$as_dir" && as_dir=.
9913 for ac_exec_ext in '' $ac_executable_extensions; do
9914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9915 ac_cv_prog_gphoto2_devel="gphoto2-config"
9916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9923 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
9926 gphoto2_devel=$ac_cv_prog_gphoto2_devel
9927 if test -n "$gphoto2_devel"; then
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
9929 $as_echo "$gphoto2_devel" >&6; }
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9932 $as_echo "no" >&6; }
9936 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
9937 set dummy gphoto2-port-config; ac_word=$2
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9939 $as_echo_n "checking for $ac_word... " >&6; }
9940 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
9941 $as_echo_n "(cached) " >&6
9943 if test -n "$gphoto2port_devel"; then
9944 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
9946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9950 test -z "$as_dir" && as_dir=.
9951 for ac_exec_ext in '' $ac_executable_extensions; do
9952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9953 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
9954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9961 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
9964 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
9965 if test -n "$gphoto2port_devel"; then
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
9967 $as_echo "$gphoto2port_devel" >&6; }
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9970 $as_echo "no" >&6; }
9974 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
9976 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
9978 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
9981 -L/usr/lib|-L/usr/lib64) ;;
9982 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
9985 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
9987 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
9988 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
9989 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
9991 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
9992 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
9993 $as_echo_n "(cached) " >&6
9995 ac_check_lib_save_LIBS=$LIBS
9996 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
10000 /* Override any GCC internal prototype to avoid an error.
10001 Use char because int might match the return type of a GCC
10002 builtin and then its argument prototype would still apply. */
10006 char gp_camera_new ();
10010 return gp_camera_new ();
10015 if ac_fn_c_try_link "$LINENO"; then :
10016 ac_cv_lib_gphoto2_gp_camera_new=yes
10018 ac_cv_lib_gphoto2_gp_camera_new=no
10020 rm -f core conftest.err conftest.$ac_objext \
10021 conftest$ac_exeext conftest.$ac_ext
10022 LIBS=$ac_check_lib_save_LIBS
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10025 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10026 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10028 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10030 GPHOTO2LIBS="$ac_gphoto2_libs"
10032 GPHOTO2INCL="$ac_gphoto2_incl"
10039 CPPFLAGS="$ac_save_CPPFLAGS"
10041 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10042 case "x$with_gphoto" in
10043 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10045 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10046 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10051 if test "$ac_cv_header_resolv_h" = "yes"
10053 ac_save_LIBS="$LIBS"
10054 for lib in '' -lresolv
10056 LIBS="$lib $ac_save_LIBS"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10059 #ifdef HAVE_NETINET_IN_H
10060 #include <netinet/in.h>
10062 #include <resolv.h>
10066 res_query("foo",ns_c_in,0,0,0);
10071 if ac_fn_c_try_link "$LINENO"; then :
10073 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 if test "${RESOLVLIBS+set}" = set; then
10084 LIBS="$ac_save_LIBS"
10089 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10092 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10093 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10094 $as_echo_n "(cached) " >&6
10096 ac_check_lib_save_LIBS=$LIBS
10097 LIBS="-llcms $LIBS"
10098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10099 /* end confdefs.h. */
10101 /* Override any GCC internal prototype to avoid an error.
10102 Use char because int might match the return type of a GCC
10103 builtin and then its argument prototype would still apply. */
10107 char cmsOpenProfileFromFile ();
10111 return cmsOpenProfileFromFile ();
10116 if ac_fn_c_try_link "$LINENO"; then :
10117 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10119 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10121 rm -f core conftest.err conftest.$ac_objext \
10122 conftest$ac_exeext conftest.$ac_ext
10123 LIBS=$ac_check_lib_save_LIBS
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10126 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10127 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10129 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10135 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10136 case "x$with_cms" in
10137 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10139 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10140 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10144 if test "x$with_freetype" != "xno"
10146 for ac_prog in freetype-config freetype2-config
10148 # Extract the first word of "$ac_prog", so it can be a program name with args.
10149 set dummy $ac_prog; ac_word=$2
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10151 $as_echo_n "checking for $ac_word... " >&6; }
10152 if ${ac_cv_prog_ft_devel+:} false; then :
10153 $as_echo_n "(cached) " >&6
10155 if test -n "$ft_devel"; then
10156 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10159 for as_dir in $PATH
10162 test -z "$as_dir" && as_dir=.
10163 for ac_exec_ext in '' $ac_executable_extensions; do
10164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10165 ac_cv_prog_ft_devel="$ac_prog"
10166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10175 ft_devel=$ac_cv_prog_ft_devel
10176 if test -n "$ft_devel"; then
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10178 $as_echo "$ft_devel" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10181 $as_echo "no" >&6; }
10185 test -n "$ft_devel" && break
10187 test -n "$ft_devel" || ft_devel="no"
10189 if test "$ft_devel" != "no"
10191 ac_freetype_incl=`$ft_devel --cflags`
10192 ac_freetype_libs=`$ft_devel --libs`
10194 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10196 $as_echo_n "checking for -lfreetype... " >&6; }
10197 if ${ac_cv_lib_soname_freetype+:} false; then :
10198 $as_echo_n "(cached) " >&6
10200 ac_check_soname_save_LIBS=$LIBS
10201 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10203 /* end confdefs.h. */
10205 /* Override any GCC internal prototype to avoid an error.
10206 Use char because int might match the return type of a GCC
10207 builtin and then its argument prototype would still apply. */
10211 char FT_Init_FreeType ();
10215 return FT_Init_FreeType ();
10220 if ac_fn_c_try_link "$LINENO"; then :
10222 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10223 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'` ;;
10224 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10227 rm -f core conftest.err conftest.$ac_objext \
10228 conftest$ac_exeext conftest.$ac_ext
10229 LIBS=$ac_check_soname_save_LIBS
10231 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10233 $as_echo "not found" >&6; }
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10237 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10239 cat >>confdefs.h <<_ACEOF
10240 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10245 if test "$ft_lib" = "yes"
10247 ac_save_CPPFLAGS="$CPPFLAGS"
10248 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10249 for ac_header in ft2build.h \
10250 freetype/freetype.h \
10251 freetype/ftglyph.h \
10252 freetype/fttypes.h \
10253 freetype/tttables.h \
10254 freetype/ftsnames.h \
10255 freetype/ttnameid.h \
10256 freetype/ftoutln.h \
10257 freetype/ftwinfnt.h \
10258 freetype/ftmodapi.h \
10259 freetype/ftlcdfil.h \
10260 freetype/internal/sfnt.h
10262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10263 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10264 # include <ft2build.h>
10267 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10268 cat >>confdefs.h <<_ACEOF
10269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 #include <ft2build.h>
10279 #include <freetype/fttrigon.h>
10281 if ac_fn_c_try_cpp "$LINENO"; then :
10283 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10285 wine_cv_fttrigon=yes
10287 wine_cv_fttrigon=no
10289 rm -f conftest.err conftest.i conftest.$ac_ext
10290 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10292 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10294 cat >>confdefs.h <<_ACEOF
10295 #define HAVE_FT_TRUETYPEENGINETYPE 1
10301 ac_save_CFLAGS="$CFLAGS"
10302 CFLAGS="$CFLAGS $ac_freetype_libs"
10303 for ac_func in FT_Load_Sfnt_Table
10305 ac_fn_c_check_func "$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10306 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = xyes; then :
10307 cat >>confdefs.h <<_ACEOF
10308 #define HAVE_FT_LOAD_SFNT_TABLE 1
10314 CFLAGS="$ac_save_CFLAGS"
10315 CPPFLAGS="$ac_save_CPPFLAGS"
10316 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10319 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10321 FREETYPELIBS="$ac_freetype_libs"
10323 FREETYPEINCL="$ac_freetype_incl"
10328 if test "x$FREETYPELIBS" = "x"; then :
10329 case "x$with_freetype" in
10331 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10332 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10335 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10338 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10339 if ${ac_cv_c_ppdev+:} false; then :
10340 $as_echo_n "(cached) " >&6
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10344 #ifdef HAVE_SYS_IOCTL_H
10345 # include <sys/ioctl.h>
10347 #include <linux/ppdev.h>
10351 ioctl (1,PPCLAIM,0)
10356 if ac_fn_c_try_compile "$LINENO"; then :
10357 ac_cv_c_ppdev="yes"
10361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10364 $as_echo "$ac_cv_c_ppdev" >&6; }
10365 if test "$ac_cv_c_ppdev" = "yes"
10368 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10372 ac_wine_check_funcs_save_LIBS="$LIBS"
10373 LIBS="$LIBS $LIBPTHREAD"
10375 pthread_attr_get_np \
10376 pthread_getattr_np \
10377 pthread_get_stackaddr_np \
10378 pthread_get_stacksize_np
10380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10382 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10383 cat >>confdefs.h <<_ACEOF
10384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10390 LIBS="$ac_wine_check_funcs_save_LIBS"
10392 if test "$ac_cv_header_zlib_h" = "yes"
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10395 $as_echo_n "checking for inflate in -lz... " >&6; }
10396 if ${ac_cv_lib_z_inflate+:} false; then :
10397 $as_echo_n "(cached) " >&6
10399 ac_check_lib_save_LIBS=$LIBS
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10404 /* Override any GCC internal prototype to avoid an error.
10405 Use char because int might match the return type of a GCC
10406 builtin and then its argument prototype would still apply. */
10419 if ac_fn_c_try_link "$LINENO"; then :
10420 ac_cv_lib_z_inflate=yes
10422 ac_cv_lib_z_inflate=no
10424 rm -f core conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 LIBS=$ac_check_lib_save_LIBS
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10429 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10430 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10432 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10439 if test "x$ZLIB" = "x"; then :
10440 case "x$with_zlib" in
10441 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10443 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10444 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10448 if test "x$enable_tools" != xno
10450 if test "$ac_cv_header_gettext_po_h" = "yes"
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10453 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10454 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10455 $as_echo_n "(cached) " >&6
10457 ac_check_lib_save_LIBS=$LIBS
10458 LIBS="-lgettextpo $LIBS"
10459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10462 /* Override any GCC internal prototype to avoid an error.
10463 Use char because int might match the return type of a GCC
10464 builtin and then its argument prototype would still apply. */
10468 char po_message_msgctxt ();
10472 return po_message_msgctxt ();
10477 if ac_fn_c_try_link "$LINENO"; then :
10478 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10480 ac_cv_lib_gettextpo_po_message_msgctxt=no
10482 rm -f core conftest.err conftest.$ac_objext \
10483 conftest$ac_exeext conftest.$ac_ext
10484 LIBS=$ac_check_lib_save_LIBS
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10487 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10488 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10490 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10492 LIBGETTEXTPO="-lgettextpo"
10497 if test "x$LIBGETTEXTPO" = "x"; then :
10498 case "x$with_gettextpo" in
10499 x) as_fn_append wine_warnings "|GetText ${notice_platform}development files not found (or too old). Internationalization won't be fully supported." ;;
10501 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old). Internationalization won't be fully supported.
10502 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10507 if test "x$with_gstreamer" != "xno"
10509 ac_save_CPPFLAGS="$CPPFLAGS"
10510 if test "$PKG_CONFIG" != "false"; then
10512 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10515 -I*) ac_gst_incl="$ac_gst_incl $i";;
10518 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10519 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10520 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10521 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10522 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10523 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10525 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10526 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10527 $as_echo_n "(cached) " >&6
10529 ac_check_lib_save_LIBS=$LIBS
10530 LIBS="-lgstreamer-0.10 $LIBS"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10540 char gst_pad_get_caps_reffed ();
10544 return gst_pad_get_caps_reffed ();
10549 if ac_fn_c_try_link "$LINENO"; then :
10550 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10552 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_lib_save_LIBS
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10559 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10560 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10562 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10563 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10564 $as_echo_n "(cached) " >&6
10566 ac_check_lib_save_LIBS=$LIBS
10567 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10577 char gst_app_buffer_new ();
10581 return gst_app_buffer_new ();
10586 if ac_fn_c_try_link "$LINENO"; then :
10587 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10589 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10591 rm -f core conftest.err conftest.$ac_objext \
10592 conftest$ac_exeext conftest.$ac_ext
10593 LIBS=$ac_check_lib_save_LIBS
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10596 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10597 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10598 GSTREAMER_LIBS="$ac_gst_libs"
10600 GSTREAMER_INCL="$ac_gst_incl"
10613 CPPFLAGS="$ac_save_CPPFLAGS"
10615 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10616 case "x$with_gstreamer" in
10617 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10619 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10620 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10623 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10627 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10630 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10631 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10632 $as_echo_n "(cached) " >&6
10634 ac_check_lib_save_LIBS=$LIBS
10635 LIBS="-lasound $LIBS"
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10639 /* Override any GCC internal prototype to avoid an error.
10640 Use char because int might match the return type of a GCC
10641 builtin and then its argument prototype would still apply. */
10645 char snd_pcm_hw_params_get_access_mask ();
10649 return snd_pcm_hw_params_get_access_mask ();
10654 if ac_fn_c_try_link "$LINENO"; then :
10655 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
10657 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
10659 rm -f core conftest.err conftest.$ac_objext \
10660 conftest$ac_exeext conftest.$ac_ext
10661 LIBS=$ac_check_lib_save_LIBS
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10664 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10665 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 #ifdef HAVE_ALSA_ASOUNDLIB_H
10669 #include <alsa/asoundlib.h>
10670 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10671 #include <sys/asoundlib.h>
10676 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10681 if ac_fn_c_try_compile "$LINENO"; then :
10682 ALSALIBS="-lasound"
10684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10689 if test "x$with_oss" != xno
10691 ac_save_CPPFLAGS="$CPPFLAGS"
10692 if test -f /etc/oss.conf
10696 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10697 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
10698 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10699 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
10700 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10702 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
10704 cat >>confdefs.h <<_ACEOF
10705 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10708 OSS4INCL="$ac_oss_incl"
10715 CPPFLAGS="$ac_save_CPPFLAGS"
10716 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10718 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10723 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10726 $as_echo_n "checking for -lcapi20... " >&6; }
10727 if ${ac_cv_lib_soname_capi20+:} false; then :
10728 $as_echo_n "(cached) " >&6
10730 ac_check_soname_save_LIBS=$LIBS
10731 LIBS="-lcapi20 $LIBS"
10732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10733 /* end confdefs.h. */
10735 /* Override any GCC internal prototype to avoid an error.
10736 Use char because int might match the return type of a GCC
10737 builtin and then its argument prototype would still apply. */
10741 char capi20_register ();
10745 return capi20_register ();
10750 if ac_fn_c_try_link "$LINENO"; then :
10752 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10753 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'` ;;
10754 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10757 rm -f core conftest.err conftest.$ac_objext \
10758 conftest$ac_exeext conftest.$ac_ext
10759 LIBS=$ac_check_soname_save_LIBS
10761 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10763 $as_echo "not found" >&6; }
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10767 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10769 cat >>confdefs.h <<_ACEOF
10770 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10776 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10777 case "x$with_capi" in
10778 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10780 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10781 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10787 if test "x$with_cups" != "xno"
10789 ac_save_CPPFLAGS="$CPPFLAGS"
10790 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
10791 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
10792 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
10793 for ac_header in cups/cups.h
10795 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10796 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
10797 cat >>confdefs.h <<_ACEOF
10798 #define HAVE_CUPS_CUPS_H 1
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10801 $as_echo_n "checking for -lcups... " >&6; }
10802 if ${ac_cv_lib_soname_cups+:} false; then :
10803 $as_echo_n "(cached) " >&6
10805 ac_check_soname_save_LIBS=$LIBS
10806 LIBS="-lcups $ac_cups_libs $LIBS"
10807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10808 /* end confdefs.h. */
10810 /* Override any GCC internal prototype to avoid an error.
10811 Use char because int might match the return type of a GCC
10812 builtin and then its argument prototype would still apply. */
10816 char cupsGetDefault ();
10820 return cupsGetDefault ();
10825 if ac_fn_c_try_link "$LINENO"; then :
10827 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10828 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'` ;;
10829 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 LIBS=$ac_check_soname_save_LIBS
10836 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10838 $as_echo "not found" >&6; }
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10842 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10844 cat >>confdefs.h <<_ACEOF
10845 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10848 CUPSINCL="$ac_cups_cflags"
10854 CPPFLAGS="$ac_save_CPPFLAGS"
10856 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10857 case "x$with_cups" in
10858 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10860 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
10861 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10865 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10868 $as_echo_n "checking for -lfontconfig... " >&6; }
10869 if ${ac_cv_lib_soname_fontconfig+:} false; then :
10870 $as_echo_n "(cached) " >&6
10872 ac_check_soname_save_LIBS=$LIBS
10873 LIBS="-lfontconfig $LIBS"
10874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10875 /* end confdefs.h. */
10877 /* Override any GCC internal prototype to avoid an error.
10878 Use char because int might match the return type of a GCC
10879 builtin and then its argument prototype would still apply. */
10892 if ac_fn_c_try_link "$LINENO"; then :
10894 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10895 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'` ;;
10896 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10899 rm -f core conftest.err conftest.$ac_objext \
10900 conftest$ac_exeext conftest.$ac_ext
10901 LIBS=$ac_check_soname_save_LIBS
10903 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10905 $as_echo "not found" >&6; }
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10909 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10911 cat >>confdefs.h <<_ACEOF
10912 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10917 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
10919 ac_save_CPPFLAGS="$CPPFLAGS"
10920 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10921 $as_unset ac_cv_header_fontconfig_fontconfig_h
10922 for ac_header in fontconfig/fontconfig.h
10924 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
10925 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
10926 cat >>confdefs.h <<_ACEOF
10927 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
10934 CPPFLAGS="$ac_save_CPPFLAGS"
10935 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10937 FONTCONFIGINCL="$X_CFLAGS"
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10940 $as_echo_n "checking for -lfontconfig... " >&6; }
10941 if ${ac_cv_lib_soname_fontconfig+:} false; then :
10942 $as_echo_n "(cached) " >&6
10944 ac_check_soname_save_LIBS=$LIBS
10945 LIBS="-lfontconfig $X_LIBS $LIBS"
10946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10947 /* end confdefs.h. */
10949 /* Override any GCC internal prototype to avoid an error.
10950 Use char because int might match the return type of a GCC
10951 builtin and then its argument prototype would still apply. */
10964 if ac_fn_c_try_link "$LINENO"; then :
10966 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10967 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'` ;;
10968 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10971 rm -f core conftest.err conftest.$ac_objext \
10972 conftest$ac_exeext conftest.$ac_ext
10973 LIBS=$ac_check_soname_save_LIBS
10975 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10977 $as_echo "not found" >&6; }
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10981 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10983 cat >>confdefs.h <<_ACEOF
10984 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10991 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10992 case "x$with_fontconfig" in
10993 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
10995 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
10996 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11000 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11003 $as_echo_n "checking for -lssl... " >&6; }
11004 if ${ac_cv_lib_soname_ssl+:} false; then :
11005 $as_echo_n "(cached) " >&6
11007 ac_check_soname_save_LIBS=$LIBS
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11018 char SSL_library_init ();
11022 return SSL_library_init ();
11027 if ac_fn_c_try_link "$LINENO"; then :
11029 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11030 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'` ;;
11031 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11034 rm -f core conftest.err conftest.$ac_objext \
11035 conftest$ac_exeext conftest.$ac_ext
11036 LIBS=$ac_check_soname_save_LIBS
11038 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11040 $as_echo "not found" >&6; }
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11044 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11046 cat >>confdefs.h <<_ACEOF
11047 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11053 $as_echo_n "checking for -lcrypto... " >&6; }
11054 if ${ac_cv_lib_soname_crypto+:} false; then :
11055 $as_echo_n "(cached) " >&6
11057 ac_check_soname_save_LIBS=$LIBS
11058 LIBS="-lcrypto $LIBS"
11059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11068 char BIO_new_socket ();
11072 return BIO_new_socket ();
11077 if ac_fn_c_try_link "$LINENO"; then :
11079 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11080 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'` ;;
11081 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11084 rm -f core conftest.err conftest.$ac_objext \
11085 conftest$ac_exeext conftest.$ac_ext
11086 LIBS=$ac_check_soname_save_LIBS
11088 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11090 $as_echo "not found" >&6; }
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11094 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11096 cat >>confdefs.h <<_ACEOF
11097 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11103 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11104 case "x$with_openssl" in
11105 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11107 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11108 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11112 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11115 $as_echo_n "checking for -lgsm... " >&6; }
11116 if ${ac_cv_lib_soname_gsm+:} false; then :
11117 $as_echo_n "(cached) " >&6
11119 ac_check_soname_save_LIBS=$LIBS
11121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11122 /* end confdefs.h. */
11124 /* Override any GCC internal prototype to avoid an error.
11125 Use char because int might match the return type of a GCC
11126 builtin and then its argument prototype would still apply. */
11130 char gsm_create ();
11134 return gsm_create ();
11139 if ac_fn_c_try_link "$LINENO"; then :
11141 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11142 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'` ;;
11143 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11146 rm -f core conftest.err conftest.$ac_objext \
11147 conftest$ac_exeext conftest.$ac_ext
11148 LIBS=$ac_check_soname_save_LIBS
11150 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11152 $as_echo "not found" >&6; }
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11156 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11158 cat >>confdefs.h <<_ACEOF
11159 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11165 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11166 case "x$with_gsm" in
11167 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11169 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11170 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11174 if test "$ac_cv_header_jpeglib_h" = "yes"
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11177 $as_echo_n "checking for -ljpeg... " >&6; }
11178 if ${ac_cv_lib_soname_jpeg+:} false; then :
11179 $as_echo_n "(cached) " >&6
11181 ac_check_soname_save_LIBS=$LIBS
11182 LIBS="-ljpeg $LIBS"
11183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11186 /* Override any GCC internal prototype to avoid an error.
11187 Use char because int might match the return type of a GCC
11188 builtin and then its argument prototype would still apply. */
11192 char jpeg_start_decompress ();
11196 return jpeg_start_decompress ();
11201 if ac_fn_c_try_link "$LINENO"; then :
11203 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11204 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'` ;;
11205 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11208 rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210 LIBS=$ac_check_soname_save_LIBS
11212 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11214 $as_echo "not found" >&6; }
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11218 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11220 cat >>confdefs.h <<_ACEOF
11221 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11227 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11228 case "x$with_jpeg" in
11229 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11231 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11232 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11236 if test "$ac_cv_header_png_h" = "yes"
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11239 $as_echo_n "checking for -lpng... " >&6; }
11240 if ${ac_cv_lib_soname_png+:} false; then :
11241 $as_echo_n "(cached) " >&6
11243 ac_check_soname_save_LIBS=$LIBS
11244 LIBS="-lpng -lm -lz $LIBS"
11245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11254 char png_create_read_struct ();
11258 return png_create_read_struct ();
11263 if ac_fn_c_try_link "$LINENO"; then :
11265 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11266 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'` ;;
11267 *) 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'` ;;
11270 rm -f core conftest.err conftest.$ac_objext \
11271 conftest$ac_exeext conftest.$ac_ext
11272 LIBS=$ac_check_soname_save_LIBS
11274 if test "x$ac_cv_lib_soname_png" = "x"; then :
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11276 $as_echo "not found" >&6; }
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11280 $as_echo "$ac_cv_lib_soname_png" >&6; }
11282 cat >>confdefs.h <<_ACEOF
11283 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11289 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11290 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11291 $as_echo_n "(cached) " >&6
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-lpng -lm -lz $LIBS"
11295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11304 char png_set_expand_gray_1_2_4_to_8 ();
11308 return png_set_expand_gray_1_2_4_to_8 ();
11313 if ac_fn_c_try_link "$LINENO"; then :
11314 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11316 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11318 rm -f core conftest.err conftest.$ac_objext \
11319 conftest$ac_exeext conftest.$ac_ext
11320 LIBS=$ac_check_lib_save_LIBS
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11323 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11324 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11326 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11331 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11333 ac_save_CPPFLAGS="$CPPFLAGS"
11334 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11335 $as_unset ac_cv_header_png_h
11336 for ac_header in png.h
11338 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11339 if test "x$ac_cv_header_png_h" = xyes; then :
11340 cat >>confdefs.h <<_ACEOF
11341 #define HAVE_PNG_H 1
11348 CPPFLAGS="$ac_save_CPPFLAGS"
11349 if test "$ac_cv_header_png_h" = "yes"
11351 PNGINCL="$X_CFLAGS"
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11354 $as_echo_n "checking for -lpng... " >&6; }
11355 if ${ac_cv_lib_soname_png+:} false; then :
11356 $as_echo_n "(cached) " >&6
11358 ac_check_soname_save_LIBS=$LIBS
11359 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361 /* end confdefs.h. */
11363 /* Override any GCC internal prototype to avoid an error.
11364 Use char because int might match the return type of a GCC
11365 builtin and then its argument prototype would still apply. */
11369 char png_create_read_struct ();
11373 return png_create_read_struct ();
11378 if ac_fn_c_try_link "$LINENO"; then :
11380 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11381 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'` ;;
11382 *) 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'` ;;
11385 rm -f core conftest.err conftest.$ac_objext \
11386 conftest$ac_exeext conftest.$ac_ext
11387 LIBS=$ac_check_soname_save_LIBS
11389 if test "x$ac_cv_lib_soname_png" = "x"; then :
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11391 $as_echo "not found" >&6; }
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11395 $as_echo "$ac_cv_lib_soname_png" >&6; }
11397 cat >>confdefs.h <<_ACEOF
11398 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11404 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11405 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11406 $as_echo_n "(cached) " >&6
11408 ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11419 char png_set_expand_gray_1_2_4_to_8 ();
11423 return png_set_expand_gray_1_2_4_to_8 ();
11428 if ac_fn_c_try_link "$LINENO"; then :
11429 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11431 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11433 rm -f core conftest.err conftest.$ac_objext \
11434 conftest$ac_exeext conftest.$ac_ext
11435 LIBS=$ac_check_lib_save_LIBS
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11438 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11439 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11440 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11446 if test "x$ac_cv_lib_soname_png" = "x"; then :
11447 case "x$with_png" in
11448 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11450 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11451 This is an error since --with-png was requested." "$LINENO" 5 ;;
11455 if test "$ac_cv_header_tiffio_h" = "yes"
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11458 $as_echo_n "checking for -ltiff... " >&6; }
11459 if ${ac_cv_lib_soname_tiff+:} false; then :
11460 $as_echo_n "(cached) " >&6
11462 ac_check_soname_save_LIBS=$LIBS
11463 LIBS="-ltiff $LIBS"
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11467 /* Override any GCC internal prototype to avoid an error.
11468 Use char because int might match the return type of a GCC
11469 builtin and then its argument prototype would still apply. */
11473 char TIFFClientOpen ();
11477 return TIFFClientOpen ();
11482 if ac_fn_c_try_link "$LINENO"; then :
11484 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11485 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'` ;;
11486 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11489 rm -f core conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_soname_save_LIBS
11493 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11495 $as_echo "not found" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11499 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11501 cat >>confdefs.h <<_ACEOF
11502 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11508 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11509 case "x$with_tiff" in
11510 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11512 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11513 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11517 if test "$ac_cv_header_mpg123_h" = "yes"
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11520 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11521 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11522 $as_echo_n "(cached) " >&6
11524 ac_check_lib_save_LIBS=$LIBS
11525 LIBS="-lmpg123 $LIBS"
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11535 char mpg123_feed ();
11539 return mpg123_feed ();
11544 if ac_fn_c_try_link "$LINENO"; then :
11545 ac_cv_lib_mpg123_mpg123_feed=yes
11547 ac_cv_lib_mpg123_mpg123_feed=no
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_lib_save_LIBS
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11554 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11555 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11556 LIBMPG123="-lmpg123"
11561 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11562 case "x$with_mpg123" in
11563 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11565 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11566 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11569 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}
11571 if test "$ac_cv_header_AL_al_h" = "yes"
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11574 $as_echo_n "checking for -lopenal... " >&6; }
11575 if ${ac_cv_lib_soname_openal+:} false; then :
11576 $as_echo_n "(cached) " >&6
11578 ac_check_soname_save_LIBS=$LIBS
11579 LIBS="-lopenal $LIBS"
11580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11581 /* end confdefs.h. */
11583 /* Override any GCC internal prototype to avoid an error.
11584 Use char because int might match the return type of a GCC
11585 builtin and then its argument prototype would still apply. */
11589 char alGetSource3i ();
11593 return alGetSource3i ();
11598 if ac_fn_c_try_link "$LINENO"; then :
11600 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11601 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'` ;;
11602 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11605 rm -f core conftest.err conftest.$ac_objext \
11606 conftest$ac_exeext conftest.$ac_ext
11607 LIBS=$ac_check_soname_save_LIBS
11609 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11611 $as_echo "not found" >&6; }
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11615 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11617 cat >>confdefs.h <<_ACEOF
11618 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11621 LIBOPENAL="-lopenal"
11623 ac_cv_lib_openal=yes
11625 cat >>confdefs.h <<_ACEOF
11626 #define HAVE_OPENAL 1
11631 if test "x$ac_cv_lib_openal" != xyes; then :
11632 case "x$with_openal" in
11633 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11635 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11636 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11639 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11641 if test "$ac_cv_header_kstat_h" = "yes"
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11644 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11645 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11646 $as_echo_n "(cached) " >&6
11648 ac_check_lib_save_LIBS=$LIBS
11649 LIBS="-lkstat $LIBS"
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11653 /* Override any GCC internal prototype to avoid an error.
11654 Use char because int might match the return type of a GCC
11655 builtin and then its argument prototype would still apply. */
11659 char kstat_open ();
11663 return kstat_open ();
11668 if ac_fn_c_try_link "$LINENO"; then :
11669 ac_cv_lib_kstat_kstat_open=yes
11671 ac_cv_lib_kstat_kstat_open=no
11673 rm -f core conftest.err conftest.$ac_objext \
11674 conftest$ac_exeext conftest.$ac_ext
11675 LIBS=$ac_check_lib_save_LIBS
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11678 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11679 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
11681 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11690 $as_echo_n "checking for -lodbc... " >&6; }
11691 if ${ac_cv_lib_soname_odbc+:} false; then :
11692 $as_echo_n "(cached) " >&6
11694 ac_check_soname_save_LIBS=$LIBS
11695 LIBS="-lodbc $LIBS"
11696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697 /* end confdefs.h. */
11699 /* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11705 char SQLConnect ();
11709 return SQLConnect ();
11714 if ac_fn_c_try_link "$LINENO"; then :
11716 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11717 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'` ;;
11718 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11721 rm -f core conftest.err conftest.$ac_objext \
11722 conftest$ac_exeext conftest.$ac_ext
11723 LIBS=$ac_check_soname_save_LIBS
11725 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11727 $as_echo "not found" >&6; }
11728 cat >>confdefs.h <<_ACEOF
11729 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11734 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11736 cat >>confdefs.h <<_ACEOF
11737 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11743 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
11744 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11745 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
11746 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11748 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11749 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
11750 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11752 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
11758 if test "x${GCC}" = "xyes"
11760 EXTRACFLAGS="-Wall -pipe"
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11763 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11764 if ${ac_cv_c_gcc_strength_bug+:} false; then :
11765 $as_echo_n "(cached) " >&6
11767 if test "$cross_compiling" = yes; then :
11768 ac_cv_c_gcc_strength_bug="yes"
11770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11771 /* end confdefs.h. */
11772 int L[4] = {0,1,2,3};
11776 static int Array[3];
11777 unsigned int B = 3;
11779 for(i=0; i<B; i++) Array[i] = i - 3;
11780 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11782 return (Array[1] != -2 || L[2] != 3)
11787 if ac_fn_c_try_run "$LINENO"; then :
11788 ac_cv_c_gcc_strength_bug="no"
11790 ac_cv_c_gcc_strength_bug="yes"
11792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11793 conftest.$ac_objext conftest.beam conftest.$ac_ext
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11798 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11799 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11801 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11805 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11806 if ${ac_cv_cflags__fno_builtin+:} false; then :
11807 $as_echo_n "(cached) " >&6
11809 ac_wine_try_cflags_saved=$CFLAGS
11810 CFLAGS="$CFLAGS -fno-builtin"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11813 int main(int argc, char **argv) { return 0; }
11815 if ac_fn_c_try_link "$LINENO"; then :
11816 ac_cv_cflags__fno_builtin=yes
11818 ac_cv_cflags__fno_builtin=no
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 CFLAGS=$ac_wine_try_cflags_saved
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11825 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11826 if test $ac_cv_cflags__fno_builtin = yes; then :
11827 BUILTINFLAG="-fno-builtin"
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11831 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11832 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
11833 $as_echo_n "(cached) " >&6
11835 ac_wine_try_cflags_saved=$CFLAGS
11836 CFLAGS="$CFLAGS -fno-strict-aliasing"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11839 int main(int argc, char **argv) { return 0; }
11841 if ac_fn_c_try_link "$LINENO"; then :
11842 ac_cv_cflags__fno_strict_aliasing=yes
11844 ac_cv_cflags__fno_strict_aliasing=no
11846 rm -f core conftest.err conftest.$ac_objext \
11847 conftest$ac_exeext conftest.$ac_ext
11848 CFLAGS=$ac_wine_try_cflags_saved
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11851 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11852 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11853 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11856 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11857 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
11858 $as_echo_n "(cached) " >&6
11860 ac_wine_try_cflags_saved=$CFLAGS
11861 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11864 int main(int argc, char **argv) { return 0; }
11866 if ac_fn_c_try_link "$LINENO"; then :
11867 ac_cv_cflags__Wdeclaration_after_statement=yes
11869 ac_cv_cflags__Wdeclaration_after_statement=no
11871 rm -f core conftest.err conftest.$ac_objext \
11872 conftest$ac_exeext conftest.$ac_ext
11873 CFLAGS=$ac_wine_try_cflags_saved
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11876 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11877 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11878 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
11881 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
11882 if ${ac_cv_cflags__Wempty_body+:} false; then :
11883 $as_echo_n "(cached) " >&6
11885 ac_wine_try_cflags_saved=$CFLAGS
11886 CFLAGS="$CFLAGS -Wempty-body"
11887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11889 int main(int argc, char **argv) { return 0; }
11891 if ac_fn_c_try_link "$LINENO"; then :
11892 ac_cv_cflags__Wempty_body=yes
11894 ac_cv_cflags__Wempty_body=no
11896 rm -f core conftest.err conftest.$ac_objext \
11897 conftest$ac_exeext conftest.$ac_ext
11898 CFLAGS=$ac_wine_try_cflags_saved
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
11901 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
11902 if test $ac_cv_cflags__Wempty_body = yes; then :
11903 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11906 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11907 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
11908 $as_echo_n "(cached) " >&6
11910 ac_wine_try_cflags_saved=$CFLAGS
11911 CFLAGS="$CFLAGS -Wstrict-prototypes"
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11914 int main(int argc, char **argv) { return 0; }
11916 if ac_fn_c_try_link "$LINENO"; then :
11917 ac_cv_cflags__Wstrict_prototypes=yes
11919 ac_cv_cflags__Wstrict_prototypes=no
11921 rm -f core conftest.err conftest.$ac_objext \
11922 conftest$ac_exeext conftest.$ac_ext
11923 CFLAGS=$ac_wine_try_cflags_saved
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
11926 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
11927 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
11928 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
11931 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
11932 if ${ac_cv_cflags__Wtype_limits+:} false; then :
11933 $as_echo_n "(cached) " >&6
11935 ac_wine_try_cflags_saved=$CFLAGS
11936 CFLAGS="$CFLAGS -Wtype-limits"
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 int main(int argc, char **argv) { return 0; }
11941 if ac_fn_c_try_link "$LINENO"; then :
11942 ac_cv_cflags__Wtype_limits=yes
11944 ac_cv_cflags__Wtype_limits=no
11946 rm -f core conftest.err conftest.$ac_objext \
11947 conftest$ac_exeext conftest.$ac_ext
11948 CFLAGS=$ac_wine_try_cflags_saved
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
11951 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
11952 if test $ac_cv_cflags__Wtype_limits = yes; then :
11953 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
11956 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
11957 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
11958 $as_echo_n "(cached) " >&6
11960 ac_wine_try_cflags_saved=$CFLAGS
11961 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11964 int main(int argc, char **argv) { return 0; }
11966 if ac_fn_c_try_link "$LINENO"; then :
11967 ac_cv_cflags__Wunused_but_set_parameter=yes
11969 ac_cv_cflags__Wunused_but_set_parameter=no
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 CFLAGS=$ac_wine_try_cflags_saved
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
11976 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
11977 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
11978 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
11981 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
11982 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
11983 $as_echo_n "(cached) " >&6
11985 ac_wine_try_cflags_saved=$CFLAGS
11986 CFLAGS="$CFLAGS -Wwrite-strings"
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h. */
11989 int main(int argc, char **argv) { return 0; }
11991 if ac_fn_c_try_link "$LINENO"; then :
11992 ac_cv_cflags__Wwrite_strings=yes
11994 ac_cv_cflags__Wwrite_strings=no
11996 rm -f core conftest.err conftest.$ac_objext \
11997 conftest$ac_exeext conftest.$ac_ext
11998 CFLAGS=$ac_wine_try_cflags_saved
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12001 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12002 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12003 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12006 saved_CFLAGS="$CFLAGS"
12007 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12009 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12010 if ${ac_cv_c_string_h_warnings+:} false; then :
12011 $as_echo_n "(cached) " >&6
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 #include <string.h>
12024 if ac_fn_c_try_compile "$LINENO"; then :
12025 ac_cv_c_string_h_warnings=no
12027 ac_cv_c_string_h_warnings=yes
12029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12032 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12033 CFLAGS="$saved_CFLAGS"
12034 if test "$ac_cv_c_string_h_warnings" = "no"
12036 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12039 saved_CFLAGS="$CFLAGS"
12040 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12042 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12043 if ${ac_cv_c_logicalop_noisy+:} false; then :
12044 $as_echo_n "(cached) " >&6
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12048 #include <string.h>
12052 char*f(const char *h,char n) {return strchr(h,n);}
12057 if ac_fn_c_try_compile "$LINENO"; then :
12058 ac_cv_c_logicalop_noisy=no
12060 ac_cv_c_logicalop_noisy=yes
12062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12065 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12066 CFLAGS="$saved_CFLAGS"
12067 if test "$ac_cv_c_logicalop_noisy" = "no"
12069 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12072 if test "x$enable_maintainer_mode" = "xyes"
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12075 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12076 if ${ac_cv_cflags__Werror+:} false; then :
12077 $as_echo_n "(cached) " >&6
12079 ac_wine_try_cflags_saved=$CFLAGS
12080 CFLAGS="$CFLAGS -Werror"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12083 int main(int argc, char **argv) { return 0; }
12085 if ac_fn_c_try_link "$LINENO"; then :
12086 ac_cv_cflags__Werror=yes
12088 ac_cv_cflags__Werror=no
12090 rm -f core conftest.err conftest.$ac_objext \
12091 conftest$ac_exeext conftest.$ac_ext
12092 CFLAGS=$ac_wine_try_cflags_saved
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12095 $as_echo "$ac_cv_cflags__Werror" >&6; }
12096 if test $ac_cv_cflags__Werror = yes; then :
12097 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12101 saved_CFLAGS="$CFLAGS"
12102 CFLAGS="$CFLAGS -Werror"
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12104 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12105 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12106 $as_echo_n "(cached) " >&6
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12110 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12119 if ac_fn_c_try_compile "$LINENO"; then :
12120 ac_cv_have_ms_hook_prologue="yes"
12122 ac_cv_have_ms_hook_prologue="no"
12124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12127 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12128 CFLAGS="$saved_CFLAGS"
12129 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12132 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12135 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12142 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12143 if ${ac_cv_c_fortify_enabled+:} false; then :
12144 $as_echo_n "(cached) " >&6
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12148 #include <string.h>
12152 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12153 #error Fortify enabled
12159 if ac_fn_c_try_compile "$LINENO"; then :
12160 ac_cv_c_fortify_enabled=no
12162 ac_cv_c_fortify_enabled=yes
12164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12167 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12168 if test "$ac_cv_c_fortify_enabled" = yes
12170 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12175 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12176 if ${ac_cv_c_extern_prefix+:} false; then :
12177 $as_echo_n "(cached) " >&6
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12181 extern int ac_test;
12185 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12190 if ac_fn_c_try_link "$LINENO"; then :
12191 ac_cv_c_extern_prefix="yes"
12193 ac_cv_c_extern_prefix="no"
12195 rm -f core conftest.err conftest.$ac_objext \
12196 conftest$ac_exeext conftest.$ac_ext
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12199 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12204 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12205 if ${ac_cv_c_stdcall_suffix+:} false; then :
12206 $as_echo_n "(cached) " >&6
12208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12211 #define __stdcall __attribute__((__stdcall__))
12213 int __stdcall ac_test(int i) { return i; }
12217 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12222 if ac_fn_c_try_link "$LINENO"; then :
12223 ac_cv_c_stdcall_suffix="yes"
12225 ac_cv_c_stdcall_suffix="no"
12227 rm -f core conftest.err conftest.$ac_objext \
12228 conftest$ac_exeext conftest.$ac_ext
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12231 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12232 *) ac_cv_c_stdcall_suffix="no" ;;
12236 if test "$ac_cv_c_extern_prefix" = "yes"
12238 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12240 asm_name_prefix="_"
12242 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12248 if test "$ac_cv_c_stdcall_suffix" = "yes"
12250 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12253 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12259 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12260 if ${ac_cv_asm_func_def+:} false; then :
12261 $as_echo_n "(cached) " >&6
12263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12269 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12274 if ac_fn_c_try_link "$LINENO"; then :
12275 ac_cv_asm_func_def=".def"
12277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12283 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12288 if ac_fn_c_try_link "$LINENO"; then :
12289 ac_cv_asm_func_def=".type @function"
12291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12297 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12302 if ac_fn_c_try_link "$LINENO"; then :
12303 ac_cv_asm_func_def=".type 2"
12305 ac_cv_asm_func_def="unknown"
12307 rm -f core conftest.err conftest.$ac_objext \
12308 conftest$ac_exeext conftest.$ac_ext
12310 rm -f core conftest.err conftest.$ac_objext \
12311 conftest$ac_exeext conftest.$ac_ext
12313 rm -f core conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12317 $as_echo "$ac_cv_asm_func_def" >&6; }
12320 case "$ac_cv_asm_func_def" in
12322 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12324 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12326 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12328 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12330 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12332 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12334 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12336 asm_func_header="" ;;
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12340 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12341 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12342 $as_echo_n "(cached) " >&6
12344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12345 /* end confdefs.h. */
12346 asm(".text\n\t.long 0");
12355 if ac_fn_c_try_compile "$LINENO"; then :
12356 ac_cv_c_asm_outside_funcs="yes"
12358 ac_cv_c_asm_outside_funcs="no"
12360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12363 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12366 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12367 if ${ac_cv_c_dot_previous+:} false; then :
12368 $as_echo_n "(cached) " >&6
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12376 asm(".text\nac_test:\t.long 0\n\t.previous");
12381 if ac_fn_c_try_link "$LINENO"; then :
12382 ac_cv_c_dot_previous="yes"
12384 ac_cv_c_dot_previous="no"
12386 rm -f core conftest.err conftest.$ac_objext \
12387 conftest$ac_exeext conftest.$ac_ext
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12390 $as_echo "$ac_cv_c_dot_previous" >&6; }
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12393 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12394 if ${ac_cv_c_cfi_support+:} false; then :
12395 $as_echo_n "(cached) " >&6
12397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12398 /* end confdefs.h. */
12399 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12408 if ac_fn_c_try_compile "$LINENO"; then :
12409 ac_cv_c_cfi_support="yes"
12411 ac_cv_c_cfi_support="no"
12413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12416 $as_echo "$ac_cv_c_cfi_support" >&6; }
12418 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12419 asm_func_trailer=""
12420 if test "$ac_cv_c_dot_previous" = "yes"
12422 asm_func_trailer="\\n\\t.previous"
12424 if test "$ac_cv_c_cfi_support" = "yes"
12426 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12427 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12429 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12431 UNWINDFLAGS=-fasynchronous-unwind-tables
12434 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12438 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12441 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12443 cat >>confdefs.h <<_ACEOF
12444 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12448 cat >>confdefs.h <<_ACEOF
12449 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12454 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12457 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12467 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12472 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12480 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12487 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12492 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12494 x86_64*) EXTRA_BINARIES="wine64-preloader"
12501 ac_save_CFLAGS="$CFLAGS"
12502 CFLAGS="$CFLAGS $BUILTINFLAG"
12579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12582 cat >>confdefs.h <<_ACEOF
12583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12589 CFLAGS="$ac_save_CFLAGS"
12591 if test "$ac_cv_func_dlopen" = no
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12594 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12595 if ${ac_cv_lib_dl_dlopen+:} false; then :
12596 $as_echo_n "(cached) " >&6
12598 ac_check_lib_save_LIBS=$LIBS
12600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12618 if ac_fn_c_try_link "$LINENO"; then :
12619 ac_cv_lib_dl_dlopen=yes
12621 ac_cv_lib_dl_dlopen=no
12623 rm -f core conftest.err conftest.$ac_objext \
12624 conftest$ac_exeext conftest.$ac_ext
12625 LIBS=$ac_check_lib_save_LIBS
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12628 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12629 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12630 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12636 ac_wine_check_funcs_save_LIBS="$LIBS"
12637 LIBS="$LIBS $LIBDL"
12638 for ac_func in dladdr
12640 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12641 if test "x$ac_cv_func_dladdr" = xyes; then :
12642 cat >>confdefs.h <<_ACEOF
12643 #define HAVE_DLADDR 1
12649 LIBS="$ac_wine_check_funcs_save_LIBS"
12651 if test "$ac_cv_func_poll" = no
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12654 $as_echo_n "checking for poll in -lpoll... " >&6; }
12655 if ${ac_cv_lib_poll_poll+:} false; then :
12656 $as_echo_n "(cached) " >&6
12658 ac_check_lib_save_LIBS=$LIBS
12659 LIBS="-lpoll $LIBS"
12660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12661 /* end confdefs.h. */
12663 /* Override any GCC internal prototype to avoid an error.
12664 Use char because int might match the return type of a GCC
12665 builtin and then its argument prototype would still apply. */
12678 if ac_fn_c_try_link "$LINENO"; then :
12679 ac_cv_lib_poll_poll=yes
12681 ac_cv_lib_poll_poll=no
12683 rm -f core conftest.err conftest.$ac_objext \
12684 conftest$ac_exeext conftest.$ac_ext
12685 LIBS=$ac_check_lib_save_LIBS
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12688 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12689 if test "x$ac_cv_lib_poll_poll" = xyes; then :
12690 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12698 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12699 if ${ac_cv_search_gethostbyname+:} false; then :
12700 $as_echo_n "(cached) " >&6
12702 ac_func_search_save_LIBS=$LIBS
12703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12706 /* Override any GCC internal prototype to avoid an error.
12707 Use char because int might match the return type of a GCC
12708 builtin and then its argument prototype would still apply. */
12712 char gethostbyname ();
12716 return gethostbyname ();
12721 for ac_lib in '' nsl; do
12722 if test -z "$ac_lib"; then
12723 ac_res="none required"
12726 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12728 if ac_fn_c_try_link "$LINENO"; then :
12729 ac_cv_search_gethostbyname=$ac_res
12731 rm -f core conftest.err conftest.$ac_objext \
12733 if ${ac_cv_search_gethostbyname+:} false; then :
12737 if ${ac_cv_search_gethostbyname+:} false; then :
12740 ac_cv_search_gethostbyname=no
12742 rm conftest.$ac_ext
12743 LIBS=$ac_func_search_save_LIBS
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12746 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12747 ac_res=$ac_cv_search_gethostbyname
12748 if test "$ac_res" != no; then :
12749 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12755 $as_echo_n "checking for library containing connect... " >&6; }
12756 if ${ac_cv_search_connect+:} false; then :
12757 $as_echo_n "(cached) " >&6
12759 ac_func_search_save_LIBS=$LIBS
12760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12761 /* end confdefs.h. */
12763 /* Override any GCC internal prototype to avoid an error.
12764 Use char because int might match the return type of a GCC
12765 builtin and then its argument prototype would still apply. */
12778 for ac_lib in '' socket; do
12779 if test -z "$ac_lib"; then
12780 ac_res="none required"
12783 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12785 if ac_fn_c_try_link "$LINENO"; then :
12786 ac_cv_search_connect=$ac_res
12788 rm -f core conftest.err conftest.$ac_objext \
12790 if ${ac_cv_search_connect+:} false; then :
12794 if ${ac_cv_search_connect+:} false; then :
12797 ac_cv_search_connect=no
12799 rm conftest.$ac_ext
12800 LIBS=$ac_func_search_save_LIBS
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12803 $as_echo "$ac_cv_search_connect" >&6; }
12804 ac_res=$ac_cv_search_connect
12805 if test "$ac_res" != no; then :
12806 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12812 $as_echo_n "checking for library containing inet_aton... " >&6; }
12813 if ${ac_cv_search_inet_aton+:} false; then :
12814 $as_echo_n "(cached) " >&6
12816 ac_func_search_save_LIBS=$LIBS
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12830 return inet_aton ();
12835 for ac_lib in '' resolv; do
12836 if test -z "$ac_lib"; then
12837 ac_res="none required"
12840 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12842 if ac_fn_c_try_link "$LINENO"; then :
12843 ac_cv_search_inet_aton=$ac_res
12845 rm -f core conftest.err conftest.$ac_objext \
12847 if ${ac_cv_search_inet_aton+:} false; then :
12851 if ${ac_cv_search_inet_aton+:} false; then :
12854 ac_cv_search_inet_aton=no
12856 rm conftest.$ac_ext
12857 LIBS=$ac_func_search_save_LIBS
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12860 $as_echo "$ac_cv_search_inet_aton" >&6; }
12861 ac_res=$ac_cv_search_inet_aton
12862 if test "$ac_res" != no; then :
12863 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12884 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12885 cat >>confdefs.h <<_ACEOF
12886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12895 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12897 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
12899 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
12901 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
12902 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
12903 $as_echo_n "(cached) " >&6
12905 ac_check_lib_save_LIBS=$LIBS
12906 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12908 /* end confdefs.h. */
12910 /* Override any GCC internal prototype to avoid an error.
12911 Use char because int might match the return type of a GCC
12912 builtin and then its argument prototype would still apply. */
12916 char ldap_initialize ();
12920 return ldap_initialize ();
12925 if ac_fn_c_try_link "$LINENO"; then :
12926 ac_cv_lib_ldap_r_ldap_initialize=yes
12928 ac_cv_lib_ldap_r_ldap_initialize=no
12930 rm -f core conftest.err conftest.$ac_objext \
12931 conftest$ac_exeext conftest.$ac_ext
12932 LIBS=$ac_check_lib_save_LIBS
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12935 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12936 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
12938 $as_echo_n "checking for ber_init in -llber... " >&6; }
12939 if ${ac_cv_lib_lber_ber_init+:} false; then :
12940 $as_echo_n "(cached) " >&6
12942 ac_check_lib_save_LIBS=$LIBS
12943 LIBS="-llber $LIBPTHREAD $LIBS"
12944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945 /* end confdefs.h. */
12947 /* Override any GCC internal prototype to avoid an error.
12948 Use char because int might match the return type of a GCC
12949 builtin and then its argument prototype would still apply. */
12957 return ber_init ();
12962 if ac_fn_c_try_link "$LINENO"; then :
12963 ac_cv_lib_lber_ber_init=yes
12965 ac_cv_lib_lber_ber_init=no
12967 rm -f core conftest.err conftest.$ac_objext \
12968 conftest$ac_exeext conftest.$ac_ext
12969 LIBS=$ac_check_lib_save_LIBS
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
12972 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
12973 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
12975 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
12977 LDAPLIBS="-lldap_r -llber"
12984 ac_wine_check_funcs_save_LIBS="$LIBS"
12985 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12987 ldap_count_references \
12988 ldap_first_reference \
12989 ldap_next_reference \
12990 ldap_parse_reference \
12991 ldap_parse_sort_control \
12992 ldap_parse_sortresponse_control \
12993 ldap_parse_vlv_control \
12994 ldap_parse_vlvresponse_control
12996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12998 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12999 cat >>confdefs.h <<_ACEOF
13000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13006 LIBS="$ac_wine_check_funcs_save_LIBS"
13008 if test "x$LDAPLIBS" = "x"; then :
13009 case "x$with_ldap" in
13010 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13012 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13013 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13018 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13019 if ${wine_cv_one_arg_mkdir+:} false; then :
13020 $as_echo_n "(cached) " >&6
13022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13023 /* end confdefs.h. */
13024 #include <sys/stat.h>
13033 if ac_fn_c_try_compile "$LINENO"; then :
13034 wine_cv_one_arg_mkdir=yes
13036 wine_cv_one_arg_mkdir=no
13038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13041 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13042 if test "$wine_cv_one_arg_mkdir" = "yes"
13045 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13050 $as_echo_n "checking for sched_setaffinity... " >&6; }
13051 if ${wine_cv_have_sched_setaffinity+:} false; then :
13052 $as_echo_n "(cached) " >&6
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13056 #define _GNU_SOURCE
13061 sched_setaffinity(0, 0, 0);
13066 if ac_fn_c_try_link "$LINENO"; then :
13067 wine_cv_have_sched_setaffinity=yes
13069 wine_cv_have_sched_setaffinity=no
13071 rm -f core conftest.err conftest.$ac_objext \
13072 conftest$ac_exeext conftest.$ac_ext
13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13075 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13076 if test "$wine_cv_have_sched_setaffinity" = "yes"
13079 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13085 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13086 if ${ac_cv_c_const+:} false; then :
13087 $as_echo_n "(cached) " >&6
13089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13095 /* FIXME: Include the comments suggested by Paul. */
13096 #ifndef __cplusplus
13097 /* Ultrix mips cc rejects this. */
13098 typedef int charset[2];
13100 /* SunOS 4.1.1 cc rejects this. */
13101 char const *const *pcpcc;
13103 /* NEC SVR4.0.2 mips cc rejects this. */
13104 struct point {int x, y;};
13105 static struct point const zero = {0,0};
13106 /* AIX XL C 1.02.0.0 rejects this.
13107 It does not let you subtract one const X* pointer from another in
13108 an arm of an if-expression whose if-part is not a constant
13110 const char *g = "string";
13111 pcpcc = &g + (g ? g-g : 0);
13112 /* HPUX 7.0 cc rejects these. */
13114 ppc = (char**) pcpcc;
13115 pcpcc = (char const *const *) ppc;
13116 { /* SCO 3.2v4 cc rejects this. */
13118 char const *s = 0 ? (char *) 0 : (char const *) 0;
13123 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13124 int x[] = {25, 17};
13125 const int *foo = &x[0];
13128 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13129 typedef const int *iptr;
13133 { /* AIX XL C 1.02.0.0 rejects this saying
13134 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13135 struct s { int j; const int *ap[3]; };
13136 struct s *b; b->j = 5;
13138 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13139 const int foo = 10;
13140 if (!foo) return 0;
13142 return !cs[0] && !zero.x;
13149 if ac_fn_c_try_compile "$LINENO"; then :
13154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13157 $as_echo "$ac_cv_c_const" >&6; }
13158 if test $ac_cv_c_const = no; then
13160 $as_echo "#define const /**/" >>confdefs.h
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13165 $as_echo_n "checking for inline... " >&6; }
13166 if ${ac_cv_c_inline+:} false; then :
13167 $as_echo_n "(cached) " >&6
13170 for ac_kw in inline __inline__ __inline; do
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13173 #ifndef __cplusplus
13175 static $ac_kw foo_t static_foo () {return 0; }
13176 $ac_kw foo_t foo () {return 0; }
13180 if ac_fn_c_try_compile "$LINENO"; then :
13181 ac_cv_c_inline=$ac_kw
13183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13184 test "$ac_cv_c_inline" != no && break
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13189 $as_echo "$ac_cv_c_inline" >&6; }
13191 case $ac_cv_c_inline in
13194 case $ac_cv_c_inline in
13196 *) ac_val=$ac_cv_c_inline;;
13198 cat >>confdefs.h <<_ACEOF
13199 #ifndef __cplusplus
13200 #define inline $ac_val
13206 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13207 if test "x$ac_cv_type_mode_t" = xyes; then :
13209 cat >>confdefs.h <<_ACEOF
13210 #define HAVE_MODE_T 1
13215 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13216 if test "x$ac_cv_type_off_t" = xyes; then :
13218 cat >>confdefs.h <<_ACEOF
13219 #define HAVE_OFF_T 1
13224 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13225 if test "x$ac_cv_type_pid_t" = xyes; then :
13227 cat >>confdefs.h <<_ACEOF
13228 #define HAVE_PID_T 1
13233 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13234 if test "x$ac_cv_type_size_t" = xyes; then :
13236 cat >>confdefs.h <<_ACEOF
13237 #define HAVE_SIZE_T 1
13242 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13243 if test "x$ac_cv_type_ssize_t" = xyes; then :
13245 cat >>confdefs.h <<_ACEOF
13246 #define HAVE_SSIZE_T 1
13251 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13252 if test "x$ac_cv_type_long_long" = xyes; then :
13254 cat >>confdefs.h <<_ACEOF
13255 #define HAVE_LONG_LONG 1
13260 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13261 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13263 cat >>confdefs.h <<_ACEOF
13264 #define HAVE_FSBLKCNT_T 1
13269 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13270 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13272 cat >>confdefs.h <<_ACEOF
13273 #define HAVE_FSFILCNT_T 1
13279 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13280 #include <signal.h>
13282 if test "x$ac_cv_type_sigset_t" = xyes; then :
13284 cat >>confdefs.h <<_ACEOF
13285 #define HAVE_SIGSET_T 1
13291 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13293 if test "x$ac_cv_type_request_sense" = xyes; then :
13295 cat >>confdefs.h <<_ACEOF
13296 #define HAVE_REQUEST_SENSE 1
13303 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13304 #ifdef HAVE_SYS_SOCKET_H
13305 #include <sys/socket.h>
13307 #ifdef HAVE_SYS_SOCKETVAR_H
13308 #include <sys/socketvar.h>
13310 #ifdef HAVE_NET_ROUTE_H
13311 #include <net/route.h>
13313 #ifdef HAVE_NETINET_IN_H
13314 #include <netinet/in.h>
13316 #ifdef HAVE_NETINET_IN_SYSTM_H
13317 #include <netinet/in_systm.h>
13319 #ifdef HAVE_NETINET_IP_H
13320 #include <netinet/ip.h>
13322 #ifdef HAVE_NETINET_IN_PCB_H
13323 #include <netinet/in_pcb.h>
13326 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13328 cat >>confdefs.h <<_ACEOF
13329 #define HAVE_STRUCT_XINPGEN 1
13336 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13337 #include <linux/input.h>
13340 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13342 cat >>confdefs.h <<_ACEOF
13343 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13351 $as_echo_n "checking for sigaddset... " >&6; }
13352 if ${wine_cv_have_sigaddset+:} false; then :
13353 $as_echo_n "(cached) " >&6
13355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13356 /* end confdefs.h. */
13357 #include <signal.h>
13361 sigset_t set; sigaddset(&set,SIGTERM);
13366 if ac_fn_c_try_link "$LINENO"; then :
13367 wine_cv_have_sigaddset=yes
13369 wine_cv_have_sigaddset=no
13371 rm -f core conftest.err conftest.$ac_objext \
13372 conftest$ac_exeext conftest.$ac_ext
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13375 $as_echo "$wine_cv_have_sigaddset" >&6; }
13376 if test "$wine_cv_have_sigaddset" = "yes"
13379 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13385 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13386 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13387 $as_echo_n "(cached) " >&6
13389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13390 /* end confdefs.h. */
13398 struct hostent *result;
13405 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13406 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13412 if ac_fn_c_try_link "$LINENO"; then :
13413 wine_cv_linux_gethostbyname_r_6=yes
13415 wine_cv_linux_gethostbyname_r_6=no
13418 rm -f core conftest.err conftest.$ac_objext \
13419 conftest$ac_exeext conftest.$ac_ext
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13423 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13424 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13427 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13431 if test "$ac_cv_header_linux_joystick_h" = "yes"
13433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13434 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13435 if ${wine_cv_linux_joystick_22_api+:} false; then :
13436 $as_echo_n "(cached) " >&6
13438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439 /* end confdefs.h. */
13441 #include <sys/ioctl.h>
13442 #include <sys/types.h>
13443 #include <linux/joystick.h>
13445 struct js_event blub;
13446 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13447 #error "no 2.2 header"
13458 if ac_fn_c_try_compile "$LINENO"; then :
13459 wine_cv_linux_joystick_22_api=yes
13461 wine_cv_linux_joystick_22_api=no
13463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13467 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13468 if test "$wine_cv_linux_joystick_22_api" = "yes"
13471 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13477 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13478 #ifdef HAVE_SYS_PARAM_H
13479 # include <sys/param.h>
13481 #ifdef HAVE_SYS_MOUNT_H
13482 # include <sys/mount.h>
13484 #ifdef HAVE_SYS_VFS_H
13485 # include <sys/vfs.h>
13487 #ifdef HAVE_SYS_STATFS_H
13488 # include <sys/statfs.h>
13491 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13493 cat >>confdefs.h <<_ACEOF
13494 #define HAVE_STRUCT_STATFS_F_BFREE 1
13499 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13500 #ifdef HAVE_SYS_PARAM_H
13501 # include <sys/param.h>
13503 #ifdef HAVE_SYS_MOUNT_H
13504 # include <sys/mount.h>
13506 #ifdef HAVE_SYS_VFS_H
13507 # include <sys/vfs.h>
13509 #ifdef HAVE_SYS_STATFS_H
13510 # include <sys/statfs.h>
13513 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13515 cat >>confdefs.h <<_ACEOF
13516 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13521 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13522 #ifdef HAVE_SYS_PARAM_H
13523 # include <sys/param.h>
13525 #ifdef HAVE_SYS_MOUNT_H
13526 # include <sys/mount.h>
13528 #ifdef HAVE_SYS_VFS_H
13529 # include <sys/vfs.h>
13531 #ifdef HAVE_SYS_STATFS_H
13532 # include <sys/statfs.h>
13535 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13537 cat >>confdefs.h <<_ACEOF
13538 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13543 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13544 #ifdef HAVE_SYS_PARAM_H
13545 # include <sys/param.h>
13547 #ifdef HAVE_SYS_MOUNT_H
13548 # include <sys/mount.h>
13550 #ifdef HAVE_SYS_VFS_H
13551 # include <sys/vfs.h>
13553 #ifdef HAVE_SYS_STATFS_H
13554 # include <sys/statfs.h>
13557 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13559 cat >>confdefs.h <<_ACEOF
13560 #define HAVE_STRUCT_STATFS_F_FFREE 1
13565 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13566 #ifdef HAVE_SYS_PARAM_H
13567 # include <sys/param.h>
13569 #ifdef HAVE_SYS_MOUNT_H
13570 # include <sys/mount.h>
13572 #ifdef HAVE_SYS_VFS_H
13573 # include <sys/vfs.h>
13575 #ifdef HAVE_SYS_STATFS_H
13576 # include <sys/statfs.h>
13579 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13581 cat >>confdefs.h <<_ACEOF
13582 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13587 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13588 #ifdef HAVE_SYS_PARAM_H
13589 # include <sys/param.h>
13591 #ifdef HAVE_SYS_MOUNT_H
13592 # include <sys/mount.h>
13594 #ifdef HAVE_SYS_VFS_H
13595 # include <sys/vfs.h>
13597 #ifdef HAVE_SYS_STATFS_H
13598 # include <sys/statfs.h>
13601 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13603 cat >>confdefs.h <<_ACEOF
13604 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13611 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13612 #include <sys/statvfs.h>
13615 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
13617 cat >>confdefs.h <<_ACEOF
13618 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13625 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13626 #ifdef HAVE_SYS_SOCKET_H
13627 # include <sys/socket.h>
13629 #ifdef HAVE_SYS_UN_H
13630 # include <sys/un.h>
13633 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
13635 cat >>confdefs.h <<_ACEOF
13636 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13641 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13642 #ifdef HAVE_SYS_SOCKET_H
13643 # include <sys/socket.h>
13645 #ifdef HAVE_SYS_UN_H
13646 # include <sys/un.h>
13649 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
13651 cat >>confdefs.h <<_ACEOF
13652 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13657 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13658 #ifdef HAVE_SYS_SOCKET_H
13659 # include <sys/socket.h>
13661 #ifdef HAVE_SYS_UN_H
13662 # include <sys/un.h>
13665 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
13667 cat >>confdefs.h <<_ACEOF
13668 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13675 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13676 #ifdef HAVE_SCSI_SG_H
13677 #include <scsi/sg.h>
13680 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
13682 cat >>confdefs.h <<_ACEOF
13683 #define HAVE_SCSIREQ_T_CMD 1
13688 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>
13689 #ifdef HAVE_SCSI_SG_H
13690 #include <scsi/sg.h>
13693 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
13695 cat >>confdefs.h <<_ACEOF
13696 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13703 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13705 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
13707 cat >>confdefs.h <<_ACEOF
13708 #define HAVE_SIGINFO_T_SI_FD 1
13715 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13716 #ifdef HAVE_SYS_MTIO_H
13717 #include <sys/mtio.h>
13720 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
13722 cat >>confdefs.h <<_ACEOF
13723 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13728 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13729 #ifdef HAVE_SYS_MTIO_H
13730 #include <sys/mtio.h>
13733 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
13735 cat >>confdefs.h <<_ACEOF
13736 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13741 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13742 #ifdef HAVE_SYS_MTIO_H
13743 #include <sys/mtio.h>
13746 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
13748 cat >>confdefs.h <<_ACEOF
13749 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13756 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13757 #include <getopt.h>
13760 if test "x$ac_cv_member_struct_option_name" = xyes; then :
13762 cat >>confdefs.h <<_ACEOF
13763 #define HAVE_STRUCT_OPTION_NAME 1
13770 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13771 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
13773 cat >>confdefs.h <<_ACEOF
13774 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13779 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13780 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
13782 cat >>confdefs.h <<_ACEOF
13783 #define HAVE_STRUCT_STAT_ST_MTIM 1
13788 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13789 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
13791 cat >>confdefs.h <<_ACEOF
13792 #define HAVE_STRUCT_STAT_ST_CTIM 1
13797 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13798 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
13800 cat >>confdefs.h <<_ACEOF
13801 #define HAVE_STRUCT_STAT_ST_ATIM 1
13808 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
13809 #include <sys/types.h>
13811 #ifdef HAVE_NETINET_IN_H
13812 #include <netinet/in.h>
13815 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
13817 cat >>confdefs.h <<_ACEOF
13818 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13825 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13826 #include <sys/types.h>
13828 #ifdef HAVE_NETINET_IN_H
13829 # include <netinet/in.h>
13831 #ifdef HAVE_ARPA_NAMESER_H
13832 # include <arpa/nameser.h>
13835 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
13837 cat >>confdefs.h <<_ACEOF
13838 #define HAVE_NS_MSG__MSG_PTR 1
13845 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13846 #include <sys/types.h>
13848 #ifdef HAVE_ALIAS_H
13851 #ifdef HAVE_SYS_SOCKET_H
13852 #include <sys/socket.h>
13854 #ifdef HAVE_SYS_SOCKETVAR_H
13855 #include <sys/socketvar.h>
13857 #ifdef HAVE_SYS_TIMEOUT_H
13858 #include <sys/timeout.h>
13860 #ifdef HAVE_NETINET_IN_H
13861 #include <netinet/in.h>
13863 #ifdef HAVE_NETINET_IN_SYSTM_H
13864 #include <netinet/in_systm.h>
13866 #ifdef HAVE_NETINET_IP_H
13867 #include <netinet/ip.h>
13869 #ifdef HAVE_NETINET_IP_VAR_H
13870 #include <netinet/ip_var.h>
13872 #ifdef HAVE_NETINET_IP_ICMP_H
13873 #include <netinet/ip_icmp.h>
13875 #ifdef HAVE_NETINET_ICMP_VAR
13876 #include <netinet/icmp_var.h>
13879 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
13881 cat >>confdefs.h <<_ACEOF
13882 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13889 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13890 #include <sys/types.h>
13892 #ifdef HAVE_NET_IF_H
13893 # include <net/if.h>
13896 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
13898 cat >>confdefs.h <<_ACEOF
13899 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13907 $as_echo_n "checking for timezone variable... " >&6; }
13908 if ${ac_cv_have_timezone+:} false; then :
13909 $as_echo_n "(cached) " >&6
13911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13912 /* end confdefs.h. */
13922 if ac_fn_c_try_link "$LINENO"; then :
13923 ac_cv_have_timezone="yes"
13925 ac_cv_have_timezone="no"
13927 rm -f core conftest.err conftest.$ac_objext \
13928 conftest$ac_exeext conftest.$ac_ext
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13931 $as_echo "$ac_cv_have_timezone" >&6; }
13932 if test "$ac_cv_have_timezone" = "yes"
13935 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13939 $as_echo_n "checking for daylight variable... " >&6; }
13940 if ${ac_cv_have_daylight+:} false; then :
13941 $as_echo_n "(cached) " >&6
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13954 if ac_fn_c_try_link "$LINENO"; then :
13955 ac_cv_have_daylight="yes"
13957 ac_cv_have_daylight="no"
13959 rm -f core conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
13963 $as_echo "$ac_cv_have_daylight" >&6; }
13964 if test "$ac_cv_have_daylight" = "yes"
13967 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
13971 ac_save_LIBS="$LIBS"
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
13974 $as_echo_n "checking for isinf... " >&6; }
13975 if ${ac_cv_have_isinf+:} false; then :
13976 $as_echo_n "(cached) " >&6
13978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13979 /* end confdefs.h. */
13984 float f = 0.0; return isinf(f)
13989 if ac_fn_c_try_link "$LINENO"; then :
13990 ac_cv_have_isinf="yes"
13992 ac_cv_have_isinf="no"
13994 rm -f core conftest.err conftest.$ac_objext \
13995 conftest$ac_exeext conftest.$ac_ext
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
13998 $as_echo "$ac_cv_have_isinf" >&6; }
13999 if test "$ac_cv_have_isinf" = "yes"
14002 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14007 $as_echo_n "checking for isnan... " >&6; }
14008 if ${ac_cv_have_isnan+:} false; then :
14009 $as_echo_n "(cached) " >&6
14011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14012 /* end confdefs.h. */
14017 float f = 0.0; return isnan(f)
14022 if ac_fn_c_try_link "$LINENO"; then :
14023 ac_cv_have_isnan="yes"
14025 ac_cv_have_isnan="no"
14027 rm -f core conftest.err conftest.$ac_objext \
14028 conftest$ac_exeext conftest.$ac_ext
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14031 $as_echo "$ac_cv_have_isnan" >&6; }
14032 if test "$ac_cv_have_isnan" = "yes"
14035 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14038 LIBS="$ac_save_LIBS"
14042 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14043 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14044 if ${ac_cv_cpp_def___i386__+:} false; then :
14045 $as_echo_n "(cached) " >&6
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14054 $EGREP "yes" >/dev/null 2>&1; then :
14055 ac_cv_cpp_def___i386__=yes
14057 ac_cv_cpp_def___i386__=no
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14063 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14064 if test $ac_cv_cpp_def___i386__ = yes; then :
14065 CFLAGS="$CFLAGS -D__i386__"
14066 LINTFLAGS="$LINTFLAGS -D__i386__"
14068 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14069 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14070 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14071 $as_echo_n "(cached) " >&6
14073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14074 /* end confdefs.h. */
14079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14080 $EGREP "yes" >/dev/null 2>&1; then :
14081 ac_cv_cpp_def___x86_64__=yes
14083 ac_cv_cpp_def___x86_64__=no
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14089 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14090 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14091 CFLAGS="$CFLAGS -D__x86_64__"
14092 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14094 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14095 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14096 if ${ac_cv_cpp_def___sparc__+:} false; then :
14097 $as_echo_n "(cached) " >&6
14099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14100 /* end confdefs.h. */
14105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14106 $EGREP "yes" >/dev/null 2>&1; then :
14107 ac_cv_cpp_def___sparc__=yes
14109 ac_cv_cpp_def___sparc__=no
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14115 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14116 if test $ac_cv_cpp_def___sparc__ = yes; then :
14117 CFLAGS="$CFLAGS -D__sparc__"
14118 LINTFLAGS="$LINTFLAGS -D__sparc__"
14120 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14121 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14122 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14123 $as_echo_n "(cached) " >&6
14125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14126 /* end confdefs.h. */
14127 #ifndef __powerpc__
14131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14132 $EGREP "yes" >/dev/null 2>&1; then :
14133 ac_cv_cpp_def___powerpc__=yes
14135 ac_cv_cpp_def___powerpc__=no
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14141 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14142 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14143 CFLAGS="$CFLAGS -D__powerpc__"
14144 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14146 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14147 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14148 if ${ac_cv_cpp_def___arm__+:} false; then :
14149 $as_echo_n "(cached) " >&6
14151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14152 /* end confdefs.h. */
14157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14158 $EGREP "yes" >/dev/null 2>&1; then :
14159 ac_cv_cpp_def___arm__=yes
14161 ac_cv_cpp_def___arm__=no
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14167 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14168 if test $ac_cv_cpp_def___arm__ = yes; then :
14169 CFLAGS="$CFLAGS -D__arm__"
14170 LINTFLAGS="$LINTFLAGS -D__arm__"
14174 case $host_vendor in
14175 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14176 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14177 if ${ac_cv_cpp_def___sun__+:} false; then :
14178 $as_echo_n "(cached) " >&6
14180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14187 $EGREP "yes" >/dev/null 2>&1; then :
14188 ac_cv_cpp_def___sun__=yes
14190 ac_cv_cpp_def___sun__=no
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14196 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14197 if test $ac_cv_cpp_def___sun__ = yes; then :
14198 CFLAGS="$CFLAGS -D__sun__"
14199 LINTFLAGS="$LINTFLAGS -D__sun__"
14207 ac_config_commands="$ac_config_commands include/stamp-h"
14210 ALL_MAKEFILE_DEPENDS="
14211 # Rules automatically generated by configure
14216 Makefile: Makefile.in Make.vars.in Make.rules config.status
14217 @./config.status Make.tmp Makefile"
14220 ALL_TEST_RESOURCES=""
14223 wine_fn_append_file ()
14225 as_fn_append $1 " \\$as_nl $2"
14228 wine_fn_append_rule ()
14230 as_fn_append $1 "$as_nl$2"
14233 wine_fn_has_flag ()
14235 expr ",$2," : ".*,$1,.*" >/dev/null
14238 wine_fn_all_dir_rules ()
14242 ac_makedep="\$(MAKEDEP)"
14243 ac_input=Make.vars.in:$ac_dir/Makefile.in
14244 if test $ac_dir != tools
14246 ac_alldeps="$2 $ac_makedep"
14249 *.in) ac_input=$ac_input:$2 ;;
14250 *) ac_makedep="$2 $ac_makedep" ;;
14253 wine_fn_append_file ALL_DIRS $ac_dir
14254 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14255 "__clean__: $ac_dir/__clean__
14256 .PHONY: $ac_dir/__clean__
14257 $ac_dir/__clean__: $ac_dir/Makefile
14258 @cd $ac_dir && \$(MAKE) clean
14259 \$(RM) $ac_dir/Makefile
14260 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14261 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14262 depend: $ac_dir/__depend__
14263 .PHONY: $ac_dir/__depend__
14264 $ac_dir/__depend__: $ac_makedep dummy
14265 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14268 wine_fn_config_makefile ()
14274 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14278 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
14279 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14282 $ac_dir: $ac_dir/Makefile dummy
14283 @cd $ac_dir && \$(MAKE)"
14285 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
14287 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14288 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14289 $ac_dir/__install__:: $ac_dir
14290 @cd $ac_dir && \$(MAKE) install
14291 $ac_dir/__uninstall__:: $ac_dir/Makefile
14292 @cd $ac_dir && \$(MAKE) uninstall
14293 install:: $ac_dir/__install__
14294 __uninstall__: $ac_dir/__uninstall__"
14296 if wine_fn_has_flag install-lib $ac_flags
14298 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14299 ".PHONY: $ac_dir/__install-lib__
14300 $ac_dir/__install-lib__:: $ac_dir
14301 @cd $ac_dir && \$(MAKE) install-lib
14302 install-lib:: $ac_dir/__install-lib__"
14305 if wine_fn_has_flag install-dev $ac_flags
14307 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14308 ".PHONY: $ac_dir/__install-dev
14309 $ac_dir/__install-dev__:: $ac_dir
14310 @cd $ac_dir && \$(MAKE) install-dev
14311 install-dev:: $ac_dir/__install-dev__"
14315 wine_fn_config_lib ()
14319 ac_dir=dlls/$ac_name
14320 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
14322 if wine_fn_has_flag install-dev $ac_flags
14325 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14326 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14327 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14328 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14329 $ac_dir/__uninstall__::
14330 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14331 install install-dev:: $ac_dir/__install__
14332 __uninstall__: $ac_dir/__uninstall__"
14335 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
14336 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14339 wine_fn_config_dll ()
14342 ac_dir=dlls/$ac_name
14345 ac_implib=${4:-$ac_name}
14346 ac_file=$ac_dir/lib$ac_implib
14348 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14352 *16) ac_implibflags=" -m16" ;;
14354 *) ac_dll=$ac_dll.dll ;;
14357 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
14359 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14360 test "$ac_enable" != enable_win16 || return 0
14362 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14363 "$ac_dir: __builddeps__
14364 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14365 @cd $ac_dir && \$(MAKE) \$@"
14367 if wine_fn_has_flag install-lib $ac_flags
14370 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14371 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14372 install install-lib:: $ac_dir/__install-lib__
14373 __uninstall__: $ac_dir/__uninstall__"
14374 if test -n "$DLLEXT"
14376 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14377 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14378 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14379 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14380 $ac_dir/__uninstall__::
14381 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14383 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14384 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14385 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14386 $ac_dir/__uninstall__::
14387 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14391 if test "x$enable_maintainer_mode" = xyes
14393 if wine_fn_has_flag mc $ac_flags
14395 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14396 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14397 "$ac_dir/msg.pot: $ac_dir"
14399 if wine_fn_has_flag po $ac_flags
14401 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14402 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14403 "$ac_dir/rsrc.pot: $ac_dir"
14408 if wine_fn_has_flag staticimplib $ac_flags
14410 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14411 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14412 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14413 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14414 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14415 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14416 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14417 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14418 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14419 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14420 $ac_dir/__uninstall__::
14421 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14422 install install-dev:: $ac_dir/__install-dev__
14423 __uninstall__: $ac_dir/__uninstall__"
14425 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14427 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14428 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14429 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14430 $ac_dir/__uninstall__::
14431 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14434 if test "x$CROSSTEST_DISABLE" = x
14436 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14437 "__builddeps__: $ac_file.cross.a
14438 $ac_file.cross.a: $ac_dir/Makefile dummy
14439 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14442 elif wine_fn_has_flag implib $ac_flags
14444 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14445 "__builddeps__: $ac_file.$IMPLIBEXT
14446 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14447 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14448 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14449 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14450 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14451 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14452 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14453 $ac_dir/__uninstall__::
14454 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14455 install install-dev:: $ac_dir/__install-dev__
14456 __uninstall__: $ac_dir/__uninstall__"
14457 if test "x$CROSSTEST_DISABLE" = x
14459 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14460 "__builddeps__: $ac_file.cross.a
14461 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14462 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14465 if test "$ac_name" != "$ac_implib"
14467 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14468 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14469 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14470 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14472 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14473 if test "x$CROSSTEST_DISABLE" = x
14475 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14476 "__builddeps__: dlls/lib$ac_implib.cross.a
14477 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14478 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14484 wine_fn_config_program ()
14487 ac_dir=programs/$ac_name
14490 wine_fn_all_dir_rules $ac_dir programs/Makeprog.rules
14492 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14495 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14498 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14499 @cd $ac_dir && \$(MAKE)"
14501 if test "x$enable_maintainer_mode" = xyes
14503 if wine_fn_has_flag mc $ac_flags
14505 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14506 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14507 "$ac_dir/msg.pot: $ac_dir"
14509 if wine_fn_has_flag po $ac_flags
14511 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14512 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14513 "$ac_dir/rsrc.pot: $ac_dir"
14517 wine_fn_has_flag install $ac_flags || return
14518 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14519 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14520 $ac_dir/__install__:: $ac_dir/Makefile __builddeps__
14521 @cd $ac_dir && \$(MAKE) install
14522 $ac_dir/__uninstall__:: $ac_dir/Makefile
14523 @cd $ac_dir && \$(MAKE) uninstall
14524 install install-lib:: $ac_dir/__install__
14525 __uninstall__: $ac_dir/__uninstall__"
14526 if test -n "$DLLEXT" -a "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
14528 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14529 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14530 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14531 $ac_dir/__uninstall__::
14532 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14537 wine_fn_config_test ()
14542 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
14543 wine_fn_all_dir_rules $ac_dir Maketest.rules
14545 if test "x$enable_tests" = xno; then :
14548 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14551 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14552 @cd $ac_dir && \$(MAKE)
14553 programs/winetest: $ac_dir
14554 check test: $ac_dir/__test__
14555 .PHONY: $ac_dir/__test__
14556 $ac_dir/__test__: dummy
14557 @cd $ac_dir && \$(MAKE) test
14559 \$(RM) $ac_dir/*.ok"
14561 if test "x$CROSSTEST_DISABLE" = x
14563 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14564 "crosstest: $ac_dir/__crosstest__
14565 .PHONY: $ac_dir/__crosstest__
14566 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14567 @cd $ac_dir && \$(MAKE) crosstest"
14572 wine_fn_config_tool ()
14576 if test "x$enable_tools" = xno; then :
14580 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
14582 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
14583 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
14585 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
14589 wine_fn_config_makerules ()
14593 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14594 "$ac_rules: $ac_rules.in $ac_deps config.status
14595 @./config.status $ac_rules
14600 wine_fn_config_symlink ()
14603 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14605 @./config.status $ac_link
14610 if test "x$CROSSTEST_DISABLE" != x
14612 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14614 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14616 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14617 wine_fn_config_symlink dlls/shell32/AUTHORS
14618 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14619 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14620 if test "x$enable_fonts" != xno; then
14621 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14622 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14624 if test "x$enable_fonts" != xno; then
14625 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14626 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14628 if test "x$enable_fonts" != xno; then
14629 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14630 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14632 if test "x$enable_fonts" != xno; then
14633 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14634 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14636 if test "x$enable_tools" != xno; then
14637 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14638 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
14640 ac_config_links="$ac_config_links wine:tools/winewrapper"
14641 wine_fn_config_symlink wine
14642 if test "x$enable_win64" != xno; then
14643 ac_config_links="$ac_config_links wine64:tools/winewrapper"
14644 wine_fn_config_symlink wine64
14647 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
14649 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14651 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14653 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14655 ac_config_commands="$ac_config_commands dlls/user32/resources"
14657 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14659 ac_config_commands="$ac_config_commands include/wine"
14662 wine_fn_config_makerules Make.rules
14663 MAKE_RULES=Make.rules
14664 ac_config_files="$ac_config_files Make.rules"
14666 wine_fn_config_makerules Maketest.rules Make.rules
14667 MAKE_TEST_RULES=Maketest.rules
14668 ac_config_files="$ac_config_files Maketest.rules"
14670 wine_fn_config_makerules dlls/Makedll.rules Make.rules
14671 MAKE_DLL_RULES=dlls/Makedll.rules
14672 ac_config_files="$ac_config_files dlls/Makedll.rules"
14674 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
14675 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14676 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14678 wine_fn_config_makerules programs/Makeprog.rules Make.rules
14679 MAKE_PROG_RULES=programs/Makeprog.rules
14680 ac_config_files="$ac_config_files programs/Makeprog.rules"
14683 wine_fn_config_dll acledit enable_acledit
14684 wine_fn_config_dll aclui enable_aclui implib
14685 wine_fn_config_dll activeds enable_activeds implib
14686 wine_fn_config_dll actxprxy enable_actxprxy
14687 wine_fn_config_lib adsiid
14688 wine_fn_config_dll advapi32 enable_advapi32 implib
14689 wine_fn_config_test dlls/advapi32/tests advapi32_test
14690 wine_fn_config_dll advpack enable_advpack implib
14691 wine_fn_config_test dlls/advpack/tests advpack_test
14692 wine_fn_config_dll amstream enable_amstream
14693 wine_fn_config_test dlls/amstream/tests amstream_test
14694 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14695 wine_fn_config_dll atl enable_atl implib
14696 wine_fn_config_test dlls/atl/tests atl_test
14697 wine_fn_config_dll authz enable_authz
14698 wine_fn_config_dll avicap32 enable_avicap32 implib
14699 wine_fn_config_dll avifil32 enable_avifil32 implib,po
14700 wine_fn_config_test dlls/avifil32/tests avifil32_test
14701 wine_fn_config_dll avifile.dll16 enable_win16
14702 wine_fn_config_dll avrt enable_avrt implib
14703 wine_fn_config_dll bcrypt enable_bcrypt
14704 wine_fn_config_dll browseui enable_browseui po
14705 wine_fn_config_test dlls/browseui/tests browseui_test
14706 wine_fn_config_dll cabinet enable_cabinet implib
14707 wine_fn_config_test dlls/cabinet/tests cabinet_test
14708 wine_fn_config_dll capi2032 enable_capi2032 implib
14709 wine_fn_config_dll cards enable_cards implib
14710 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14711 wine_fn_config_dll clusapi enable_clusapi implib
14712 wine_fn_config_dll comcat enable_comcat
14713 wine_fn_config_test dlls/comcat/tests comcat_test
14714 wine_fn_config_dll comctl32 enable_comctl32 implib,po
14715 wine_fn_config_test dlls/comctl32/tests comctl32_test
14716 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
14717 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14718 wine_fn_config_dll comm.drv16 enable_win16
14719 wine_fn_config_dll commdlg.dll16 enable_win16
14720 wine_fn_config_dll compobj.dll16 enable_win16
14721 wine_fn_config_dll compstui enable_compstui implib
14722 wine_fn_config_dll credui enable_credui implib,po
14723 wine_fn_config_test dlls/credui/tests credui_test
14724 wine_fn_config_dll crtdll enable_crtdll implib
14725 wine_fn_config_dll crypt32 enable_crypt32 implib,po
14726 wine_fn_config_test dlls/crypt32/tests crypt32_test
14727 wine_fn_config_dll cryptdlg enable_cryptdlg po
14728 wine_fn_config_dll cryptdll enable_cryptdll implib
14729 wine_fn_config_dll cryptnet enable_cryptnet implib
14730 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14731 wine_fn_config_dll cryptui enable_cryptui implib,po
14732 wine_fn_config_test dlls/cryptui/tests cryptui_test
14733 wine_fn_config_dll ctapi32 enable_ctapi32
14734 wine_fn_config_dll ctl3d.dll16 enable_win16
14735 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14736 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14737 wine_fn_config_dll d3d10 enable_d3d10 implib
14738 wine_fn_config_test dlls/d3d10/tests d3d10_test
14739 wine_fn_config_dll d3d10core enable_d3d10core implib
14740 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14741 wine_fn_config_dll d3d8 enable_d3d8 implib
14742 wine_fn_config_test dlls/d3d8/tests d3d8_test
14743 wine_fn_config_dll d3d9 enable_d3d9 implib
14744 wine_fn_config_test dlls/d3d9/tests d3d9_test
14745 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14746 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14747 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14748 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14749 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14750 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14751 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14752 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14753 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14754 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14755 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14756 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
14757 wine_fn_config_dll d3dim enable_d3dim implib
14758 wine_fn_config_dll d3drm enable_d3drm implib
14759 wine_fn_config_test dlls/d3drm/tests d3drm_test
14760 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14761 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14762 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14763 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14764 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14765 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14766 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14767 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14768 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14769 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14770 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14771 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14772 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14773 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14774 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14775 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14776 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14777 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14778 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14779 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14780 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14781 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14782 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14783 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14784 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14785 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14786 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14787 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14788 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14789 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14790 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14791 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14792 wine_fn_config_dll d3dxof enable_d3dxof implib
14793 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14794 wine_fn_config_dll dbgeng enable_dbgeng implib
14795 wine_fn_config_dll dbghelp enable_dbghelp implib
14796 wine_fn_config_dll dciman32 enable_dciman32 implib
14797 wine_fn_config_dll ddeml.dll16 enable_win16
14798 wine_fn_config_dll ddraw enable_ddraw implib
14799 wine_fn_config_test dlls/ddraw/tests ddraw_test
14800 wine_fn_config_dll ddrawex enable_ddrawex
14801 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14802 wine_fn_config_dll devenum enable_devenum po
14803 wine_fn_config_dll dinput enable_dinput implib,staticimplib
14804 wine_fn_config_test dlls/dinput/tests dinput_test
14805 wine_fn_config_dll dinput8 enable_dinput8 implib
14806 wine_fn_config_test dlls/dinput8/tests dinput8_test
14807 wine_fn_config_dll dispdib.dll16 enable_win16
14808 wine_fn_config_dll dispex enable_dispex
14809 wine_fn_config_test dlls/dispex/tests dispex_test
14810 wine_fn_config_dll display.drv16 enable_win16
14811 wine_fn_config_dll dmband enable_dmband
14812 wine_fn_config_dll dmcompos enable_dmcompos
14813 wine_fn_config_dll dmime enable_dmime
14814 wine_fn_config_test dlls/dmime/tests dmime_test
14815 wine_fn_config_dll dmloader enable_dmloader
14816 wine_fn_config_test dlls/dmloader/tests dmloader_test
14817 wine_fn_config_dll dmscript enable_dmscript
14818 wine_fn_config_dll dmstyle enable_dmstyle
14819 wine_fn_config_dll dmsynth enable_dmsynth
14820 wine_fn_config_dll dmusic enable_dmusic
14821 wine_fn_config_dll dmusic32 enable_dmusic32 implib
14822 wine_fn_config_dll dnsapi enable_dnsapi implib
14823 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
14824 wine_fn_config_dll dplay enable_dplay implib
14825 wine_fn_config_dll dplayx enable_dplayx implib
14826 wine_fn_config_test dlls/dplayx/tests dplayx_test
14827 wine_fn_config_dll dpnaddr enable_dpnaddr
14828 wine_fn_config_dll dpnet enable_dpnet implib
14829 wine_fn_config_dll dpnhpast enable_dpnhpast
14830 wine_fn_config_dll dpnlobby enable_dpnlobby
14831 wine_fn_config_dll dpwsockx enable_dpwsockx
14832 wine_fn_config_dll drmclien enable_drmclien
14833 wine_fn_config_dll dsound enable_dsound implib
14834 wine_fn_config_test dlls/dsound/tests dsound_test
14835 wine_fn_config_dll dssenh enable_dssenh
14836 wine_fn_config_dll dswave enable_dswave
14837 wine_fn_config_dll dwmapi enable_dwmapi implib
14838 wine_fn_config_dll dxdiagn enable_dxdiagn po
14839 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
14840 wine_fn_config_lib dxerr8
14841 wine_fn_config_lib dxerr9
14842 wine_fn_config_dll dxgi enable_dxgi implib
14843 wine_fn_config_test dlls/dxgi/tests dxgi_test
14844 wine_fn_config_lib dxguid
14845 wine_fn_config_dll explorerframe enable_explorerframe
14846 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
14847 wine_fn_config_dll faultrep enable_faultrep implib
14848 wine_fn_config_test dlls/faultrep/tests faultrep_test
14849 wine_fn_config_dll fltlib enable_fltlib
14850 wine_fn_config_dll fusion enable_fusion
14851 wine_fn_config_test dlls/fusion/tests fusion_test
14852 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14853 wine_fn_config_dll gameux enable_gameux
14854 wine_fn_config_test dlls/gameux/tests gameux_test
14855 wine_fn_config_dll gdi.exe16 enable_win16
14856 wine_fn_config_dll gdi32 enable_gdi32 implib
14857 wine_fn_config_test dlls/gdi32/tests gdi32_test
14858 wine_fn_config_dll gdiplus enable_gdiplus implib
14859 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
14860 wine_fn_config_dll glu32 enable_glu32 implib
14861 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14862 wine_fn_config_dll gpkcsp enable_gpkcsp
14863 wine_fn_config_dll hal enable_hal
14864 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
14865 wine_fn_config_dll hid enable_hid implib
14866 wine_fn_config_dll hlink enable_hlink implib
14867 wine_fn_config_test dlls/hlink/tests hlink_test
14868 wine_fn_config_dll hnetcfg enable_hnetcfg
14869 wine_fn_config_dll httpapi enable_httpapi
14870 wine_fn_config_dll iccvid enable_iccvid po
14871 wine_fn_config_dll icmp enable_icmp
14872 wine_fn_config_dll ieframe enable_ieframe implib
14873 wine_fn_config_dll ifsmgr.vxd enable_win16
14874 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14875 wine_fn_config_dll imagehlp enable_imagehlp implib
14876 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
14877 wine_fn_config_dll imm.dll16 enable_win16
14878 wine_fn_config_dll imm32 enable_imm32 implib
14879 wine_fn_config_test dlls/imm32/tests imm32_test
14880 wine_fn_config_dll inetcomm enable_inetcomm implib
14881 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
14882 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
14883 wine_fn_config_dll inetmib1 enable_inetmib1
14884 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
14885 wine_fn_config_dll infosoft enable_infosoft
14886 wine_fn_config_test dlls/infosoft/tests infosoft_test
14887 wine_fn_config_dll initpki enable_initpki
14888 wine_fn_config_dll inkobj enable_inkobj
14889 wine_fn_config_dll inseng enable_inseng
14890 wine_fn_config_dll iphlpapi enable_iphlpapi implib
14891 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
14892 wine_fn_config_dll itircl enable_itircl
14893 wine_fn_config_dll itss enable_itss
14894 wine_fn_config_test dlls/itss/tests itss_test
14895 wine_fn_config_dll jscript enable_jscript po
14896 wine_fn_config_test dlls/jscript/tests jscript_test
14897 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
14898 wine_fn_config_test dlls/kernel32/tests kernel32_test
14899 wine_fn_config_dll keyboard.drv16 enable_win16
14900 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
14901 wine_fn_config_dll ktmw32 enable_ktmw32
14902 wine_fn_config_dll loadperf enable_loadperf implib
14903 wine_fn_config_dll localspl enable_localspl po
14904 wine_fn_config_test dlls/localspl/tests localspl_test
14905 wine_fn_config_dll localui enable_localui po
14906 wine_fn_config_test dlls/localui/tests localui_test
14907 wine_fn_config_dll lz32 enable_lz32 implib
14908 wine_fn_config_test dlls/lz32/tests lz32_test
14909 wine_fn_config_dll lzexpand.dll16 enable_win16
14910 wine_fn_config_dll mapi32 enable_mapi32 implib,po
14911 wine_fn_config_test dlls/mapi32/tests mapi32_test
14912 wine_fn_config_dll mapistub enable_mapistub
14913 wine_fn_config_dll mciavi32 enable_mciavi32
14914 wine_fn_config_dll mcicda enable_mcicda
14915 wine_fn_config_dll mciqtz32 enable_mciqtz32
14916 wine_fn_config_dll mciseq enable_mciseq
14917 wine_fn_config_dll mciwave enable_mciwave
14918 wine_fn_config_dll midimap enable_midimap
14919 wine_fn_config_dll mlang enable_mlang implib
14920 wine_fn_config_test dlls/mlang/tests mlang_test
14921 wine_fn_config_dll mmdevapi enable_mmdevapi
14922 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
14923 wine_fn_config_dll mmdevldr.vxd enable_win16
14924 wine_fn_config_dll mmsystem.dll16 enable_win16
14925 wine_fn_config_dll monodebg.vxd enable_win16
14926 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14927 wine_fn_config_dll mouse.drv16 enable_win16
14928 wine_fn_config_dll mpr enable_mpr implib,po
14929 wine_fn_config_dll mprapi enable_mprapi implib
14930 wine_fn_config_dll msacm.dll16 enable_win16
14931 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14932 wine_fn_config_dll msacm32 enable_msacm32 implib
14933 wine_fn_config_test dlls/msacm32/tests msacm32_test
14934 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14935 wine_fn_config_dll mscat32 enable_mscat32
14936 wine_fn_config_dll mscms enable_mscms implib
14937 wine_fn_config_test dlls/mscms/tests mscms_test
14938 wine_fn_config_dll mscoree enable_mscoree
14939 wine_fn_config_test dlls/mscoree/tests mscoree_test
14940 wine_fn_config_dll msctf enable_msctf
14941 wine_fn_config_test dlls/msctf/tests msctf_test
14942 wine_fn_config_dll msdaps enable_msdaps
14943 wine_fn_config_dll msdmo enable_msdmo implib
14944 wine_fn_config_dll msftedit enable_msftedit
14945 wine_fn_config_dll msg711.acm enable_msg711_acm
14946 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
14947 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
14948 wine_fn_config_dll mshtml enable_mshtml implib,po
14949 wine_fn_config_test dlls/mshtml/tests mshtml_test
14950 wine_fn_config_dll msi enable_msi implib,po
14951 wine_fn_config_test dlls/msi/tests msi_test
14952 wine_fn_config_dll msimg32 enable_msimg32 implib
14953 wine_fn_config_dll msimsg enable_msimsg
14954 wine_fn_config_dll msimtf enable_msimtf
14955 wine_fn_config_dll msisip enable_msisip
14956 wine_fn_config_dll msisys.ocx enable_msisys_ocx
14957 wine_fn_config_dll msnet32 enable_msnet32
14958 wine_fn_config_dll mspatcha enable_mspatcha
14959 wine_fn_config_dll msrle32 enable_msrle32 po
14960 wine_fn_config_dll mssign32 enable_mssign32
14961 wine_fn_config_dll mssip32 enable_mssip32
14962 wine_fn_config_dll mstask enable_mstask
14963 wine_fn_config_test dlls/mstask/tests mstask_test
14964 wine_fn_config_dll msvcirt enable_msvcirt
14965 wine_fn_config_dll msvcp100 enable_msvcp100
14966 wine_fn_config_dll msvcp60 enable_msvcp60
14967 wine_fn_config_dll msvcp70 enable_msvcp70
14968 wine_fn_config_dll msvcp71 enable_msvcp71
14969 wine_fn_config_dll msvcp80 enable_msvcp80
14970 wine_fn_config_dll msvcp90 enable_msvcp90
14971 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
14972 wine_fn_config_dll msvcr100 enable_msvcr100
14973 wine_fn_config_dll msvcr70 enable_msvcr70 implib
14974 wine_fn_config_dll msvcr71 enable_msvcr71 implib
14975 wine_fn_config_dll msvcr80 enable_msvcr80
14976 wine_fn_config_dll msvcr90 enable_msvcr90
14977 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
14978 wine_fn_config_dll msvcrt enable_msvcrt implib
14979 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
14980 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
14981 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
14982 wine_fn_config_dll msvcrtd enable_msvcrtd implib
14983 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
14984 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
14985 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
14986 wine_fn_config_dll msvidc32 enable_msvidc32 po
14987 wine_fn_config_dll msvideo.dll16 enable_win16
14988 wine_fn_config_dll mswsock enable_mswsock implib
14989 wine_fn_config_dll msxml enable_msxml
14990 wine_fn_config_dll msxml2 enable_msxml2
14991 wine_fn_config_dll msxml3 enable_msxml3
14992 wine_fn_config_test dlls/msxml3/tests msxml3_test
14993 wine_fn_config_dll msxml4 enable_msxml4
14994 wine_fn_config_dll msxml6 enable_msxml6
14995 wine_fn_config_dll nddeapi enable_nddeapi implib
14996 wine_fn_config_dll netapi32 enable_netapi32 implib
14997 wine_fn_config_test dlls/netapi32/tests netapi32_test
14998 wine_fn_config_dll newdev enable_newdev implib
14999 wine_fn_config_dll normaliz enable_normaliz implib
15000 wine_fn_config_dll npmshtml enable_npmshtml
15001 wine_fn_config_dll ntdll enable_ntdll implib
15002 wine_fn_config_test dlls/ntdll/tests ntdll_test
15003 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15004 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15005 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15006 wine_fn_config_dll ntprint enable_ntprint
15007 wine_fn_config_test dlls/ntprint/tests ntprint_test
15008 wine_fn_config_dll objsel enable_objsel
15009 wine_fn_config_dll odbc32 enable_odbc32 implib
15010 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15011 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15012 wine_fn_config_dll ole2.dll16 enable_win16
15013 wine_fn_config_dll ole2conv.dll16 enable_win16
15014 wine_fn_config_dll ole2disp.dll16 enable_win16
15015 wine_fn_config_dll ole2nls.dll16 enable_win16
15016 wine_fn_config_dll ole2prox.dll16 enable_win16
15017 wine_fn_config_dll ole2thk.dll16 enable_win16
15018 wine_fn_config_dll ole32 enable_ole32 implib
15019 wine_fn_config_test dlls/ole32/tests ole32_test
15020 wine_fn_config_dll oleacc enable_oleacc implib,po
15021 wine_fn_config_test dlls/oleacc/tests oleacc_test
15022 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15023 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15024 wine_fn_config_dll olecli.dll16 enable_win16
15025 wine_fn_config_dll olecli32 enable_olecli32 implib
15026 wine_fn_config_dll oledb32 enable_oledb32
15027 wine_fn_config_test dlls/oledb32/tests oledb32_test
15028 wine_fn_config_dll oledlg enable_oledlg implib,po
15029 wine_fn_config_dll olepro32 enable_olepro32 implib
15030 wine_fn_config_dll olesvr.dll16 enable_win16
15031 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15032 wine_fn_config_dll olethk32 enable_olethk32
15033 wine_fn_config_dll openal32 enable_openal32
15034 wine_fn_config_dll opencl enable_opencl
15035 wine_fn_config_dll opengl32 enable_opengl32 implib
15036 wine_fn_config_test dlls/opengl32/tests opengl32_test
15037 wine_fn_config_dll pdh enable_pdh implib
15038 wine_fn_config_test dlls/pdh/tests pdh_test
15039 wine_fn_config_dll pidgen enable_pidgen
15040 wine_fn_config_dll powrprof enable_powrprof implib
15041 wine_fn_config_dll printui enable_printui
15042 wine_fn_config_dll propsys enable_propsys implib
15043 wine_fn_config_test dlls/propsys/tests propsys_test
15044 wine_fn_config_dll psapi enable_psapi implib
15045 wine_fn_config_test dlls/psapi/tests psapi_test
15046 wine_fn_config_dll pstorec enable_pstorec
15047 wine_fn_config_dll qcap enable_qcap
15048 wine_fn_config_dll qedit enable_qedit
15049 wine_fn_config_test dlls/qedit/tests qedit_test
15050 wine_fn_config_dll qmgr enable_qmgr
15051 wine_fn_config_test dlls/qmgr/tests qmgr_test
15052 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15053 wine_fn_config_dll quartz enable_quartz implib
15054 wine_fn_config_test dlls/quartz/tests quartz_test
15055 wine_fn_config_dll query enable_query
15056 wine_fn_config_dll rasapi16.dll16 enable_win16
15057 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15058 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15059 wine_fn_config_dll rasdlg enable_rasdlg implib
15060 wine_fn_config_dll regapi enable_regapi
15061 wine_fn_config_dll resutils enable_resutils implib
15062 wine_fn_config_dll riched20 enable_riched20 implib
15063 wine_fn_config_test dlls/riched20/tests riched20_test
15064 wine_fn_config_dll riched32 enable_riched32
15065 wine_fn_config_test dlls/riched32/tests riched32_test
15066 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15067 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15068 wine_fn_config_dll rsabase enable_rsabase
15069 wine_fn_config_dll rsaenh enable_rsaenh implib
15070 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15071 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15072 wine_fn_config_dll rtutils enable_rtutils implib
15073 wine_fn_config_dll samlib enable_samlib
15074 wine_fn_config_dll sane.ds enable_sane_ds po
15075 wine_fn_config_dll scarddlg enable_scarddlg
15076 wine_fn_config_dll sccbase enable_sccbase
15077 wine_fn_config_dll schannel enable_schannel
15078 wine_fn_config_test dlls/schannel/tests schannel_test
15079 wine_fn_config_dll secur32 enable_secur32 implib
15080 wine_fn_config_test dlls/secur32/tests secur32_test
15081 wine_fn_config_dll security enable_security
15082 wine_fn_config_dll sensapi enable_sensapi implib
15083 wine_fn_config_dll serialui enable_serialui implib
15084 wine_fn_config_test dlls/serialui/tests serialui_test
15085 wine_fn_config_dll setupapi enable_setupapi implib,po
15086 wine_fn_config_test dlls/setupapi/tests setupapi_test
15087 wine_fn_config_dll setupx.dll16 enable_win16
15088 wine_fn_config_dll sfc enable_sfc implib
15089 wine_fn_config_dll sfc_os enable_sfc_os implib
15090 wine_fn_config_dll shdoclc enable_shdoclc po
15091 wine_fn_config_dll shdocvw enable_shdocvw implib,po
15092 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15093 wine_fn_config_dll shell.dll16 enable_win16
15094 wine_fn_config_dll shell32 enable_shell32 implib,po
15095 wine_fn_config_test dlls/shell32/tests shell32_test
15096 wine_fn_config_dll shfolder enable_shfolder implib
15097 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15098 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15099 wine_fn_config_dll slbcsp enable_slbcsp
15100 wine_fn_config_dll slc enable_slc implib
15101 wine_fn_config_dll snmpapi enable_snmpapi implib
15102 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15103 wine_fn_config_dll softpub enable_softpub
15104 wine_fn_config_dll sound.drv16 enable_win16
15105 wine_fn_config_dll spoolss enable_spoolss implib
15106 wine_fn_config_test dlls/spoolss/tests spoolss_test
15107 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15108 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15109 wine_fn_config_dll sti enable_sti implib
15110 wine_fn_config_test dlls/sti/tests sti_test
15111 wine_fn_config_dll storage.dll16 enable_win16
15112 wine_fn_config_dll stress.dll16 enable_win16
15113 wine_fn_config_lib strmbase
15114 wine_fn_config_lib strmiids
15115 wine_fn_config_dll svrapi enable_svrapi
15116 wine_fn_config_dll sxs enable_sxs
15117 wine_fn_config_dll system.drv16 enable_win16
15118 wine_fn_config_dll t2embed enable_t2embed
15119 wine_fn_config_dll tapi32 enable_tapi32 implib
15120 wine_fn_config_dll toolhelp.dll16 enable_win16
15121 wine_fn_config_dll traffic enable_traffic
15122 wine_fn_config_dll twain.dll16 enable_win16
15123 wine_fn_config_dll twain_32 enable_twain_32
15124 wine_fn_config_test dlls/twain_32/tests twain_32_test
15125 wine_fn_config_dll typelib.dll16 enable_win16
15126 wine_fn_config_dll unicows enable_unicows implib
15127 wine_fn_config_dll updspapi enable_updspapi
15128 wine_fn_config_dll url enable_url implib
15129 wine_fn_config_dll urlmon enable_urlmon implib
15130 wine_fn_config_test dlls/urlmon/tests urlmon_test
15131 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15132 wine_fn_config_dll user.exe16 enable_win16
15133 wine_fn_config_dll user32 enable_user32 implib,po
15134 wine_fn_config_test dlls/user32/tests user32_test
15135 wine_fn_config_dll userenv enable_userenv implib
15136 wine_fn_config_test dlls/userenv/tests userenv_test
15137 wine_fn_config_dll usp10 enable_usp10 implib
15138 wine_fn_config_test dlls/usp10/tests usp10_test
15139 wine_fn_config_lib uuid
15140 wine_fn_config_dll uxtheme enable_uxtheme implib
15141 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15142 wine_fn_config_dll vbscript enable_vbscript
15143 wine_fn_config_test dlls/vbscript/tests vbscript_test
15144 wine_fn_config_dll vcomp enable_vcomp
15145 wine_fn_config_dll vdhcp.vxd enable_win16
15146 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15147 wine_fn_config_dll ver.dll16 enable_win16
15148 wine_fn_config_dll version enable_version implib
15149 wine_fn_config_test dlls/version/tests version_test
15150 wine_fn_config_dll vmm.vxd enable_win16
15151 wine_fn_config_dll vnbt.vxd enable_win16
15152 wine_fn_config_dll vnetbios.vxd enable_win16
15153 wine_fn_config_dll vtdapi.vxd enable_win16
15154 wine_fn_config_dll vwin32.vxd enable_win16
15155 wine_fn_config_dll w32skrnl enable_win16
15156 wine_fn_config_dll w32sys.dll16 enable_win16
15157 wine_fn_config_dll wbemprox enable_wbemprox
15158 wine_fn_config_dll wer enable_wer implib
15159 wine_fn_config_test dlls/wer/tests wer_test
15160 wine_fn_config_dll wiaservc enable_wiaservc
15161 wine_fn_config_dll win32s16.dll16 enable_win16
15162 wine_fn_config_dll win87em.dll16 enable_win16
15163 wine_fn_config_dll winaspi.dll16 enable_win16
15164 wine_fn_config_dll windebug.dll16 enable_win16
15165 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15166 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15167 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15168 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15169 wine_fn_config_lib winecrt0
15170 wine_fn_config_dll wined3d enable_wined3d implib
15171 wine_fn_config_dll winegstreamer enable_winegstreamer
15172 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15173 wine_fn_config_dll winemapi enable_winemapi
15174 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15175 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15176 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
15177 wine_fn_config_dll wineps16.drv16 enable_win16
15178 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15179 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15180 wine_fn_config_dll winex11.drv enable_winex11_drv
15181 wine_fn_config_dll wing.dll16 enable_win16
15182 wine_fn_config_dll wing32 enable_wing32
15183 wine_fn_config_dll winhttp enable_winhttp implib
15184 wine_fn_config_test dlls/winhttp/tests winhttp_test
15185 wine_fn_config_dll wininet enable_wininet implib,po
15186 wine_fn_config_test dlls/wininet/tests wininet_test
15187 wine_fn_config_dll winmm enable_winmm implib,po
15188 wine_fn_config_test dlls/winmm/tests winmm_test
15189 wine_fn_config_dll winnls.dll16 enable_win16
15190 wine_fn_config_dll winnls32 enable_winnls32 implib
15191 wine_fn_config_dll winscard enable_winscard implib
15192 wine_fn_config_dll winsock.dll16 enable_win16
15193 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
15194 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15195 wine_fn_config_dll winsta enable_winsta
15196 wine_fn_config_dll wintab.dll16 enable_win16
15197 wine_fn_config_dll wintab32 enable_wintab32 implib
15198 wine_fn_config_test dlls/wintab32/tests wintab32_test
15199 wine_fn_config_dll wintrust enable_wintrust implib
15200 wine_fn_config_test dlls/wintrust/tests wintrust_test
15201 wine_fn_config_dll wlanapi enable_wlanapi
15202 wine_fn_config_dll wldap32 enable_wldap32 implib,po
15203 wine_fn_config_test dlls/wldap32/tests wldap32_test
15204 wine_fn_config_dll wmi enable_wmi
15205 wine_fn_config_dll wmiutils enable_wmiutils
15206 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15207 wine_fn_config_dll wow32 enable_win16 implib
15208 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15209 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15210 wine_fn_config_dll wsock32 enable_wsock32 implib
15211 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15212 wine_fn_config_dll wuapi enable_wuapi
15213 wine_fn_config_dll wuaueng enable_wuaueng
15214 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15215 wine_fn_config_dll xinput1_1 enable_xinput1_1
15216 wine_fn_config_dll xinput1_2 enable_xinput1_2
15217 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15218 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15219 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15220 wine_fn_config_dll xmllite enable_xmllite
15221 wine_fn_config_test dlls/xmllite/tests xmllite_test
15222 wine_fn_config_makefile documentation enable_documentation
15223 wine_fn_config_makefile fonts enable_fonts install-lib
15224 wine_fn_config_makefile include enable_include install-dev
15225 wine_fn_config_makefile libs/port enable_libs_port
15226 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
15227 wine_fn_config_makefile libs/wpp enable_libs_wpp
15228 wine_fn_config_makefile loader enable_loader install-lib
15229 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15230 wine_fn_config_program attrib enable_attrib install
15231 wine_fn_config_program cabarc enable_cabarc install
15232 wine_fn_config_program cacls enable_cacls install
15233 wine_fn_config_program clock enable_clock install,po
15234 wine_fn_config_program cmd enable_cmd install,po
15235 wine_fn_config_test programs/cmd/tests cmd.exe_test
15236 wine_fn_config_program cmdlgtst enable_cmdlgtst
15237 wine_fn_config_program control enable_control install
15238 wine_fn_config_program dxdiag enable_dxdiag install,po
15239 wine_fn_config_program eject enable_eject install
15240 wine_fn_config_program expand enable_expand install
15241 wine_fn_config_program explorer enable_explorer install,po
15242 wine_fn_config_program extrac32 enable_extrac32 install
15243 wine_fn_config_program hh enable_hh install
15244 wine_fn_config_program hostname enable_hostname install,po
15245 wine_fn_config_program icinfo enable_icinfo install
15246 wine_fn_config_program iexplore enable_iexplore install
15247 wine_fn_config_program ipconfig enable_ipconfig install,po
15248 wine_fn_config_program lodctr enable_lodctr install
15249 wine_fn_config_program mofcomp enable_mofcomp install
15250 wine_fn_config_program mshta enable_mshta install
15251 wine_fn_config_program msiexec enable_msiexec install,installbin
15252 wine_fn_config_program net enable_net install,po
15253 wine_fn_config_program netsh enable_netsh install
15254 wine_fn_config_program ngen enable_ngen install
15255 wine_fn_config_program notepad enable_notepad install,installbin,po
15256 wine_fn_config_program oleview enable_oleview install,po
15257 wine_fn_config_program ping enable_ping install
15258 wine_fn_config_program plugplay enable_plugplay install
15259 wine_fn_config_program progman enable_progman install,po
15260 wine_fn_config_program reg enable_reg install,po
15261 wine_fn_config_program regedit enable_regedit install,installbin,po
15262 wine_fn_config_test programs/regedit/tests regedit.exe_test
15263 wine_fn_config_program regsvcs enable_regsvcs install
15264 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin
15265 wine_fn_config_program rpcss enable_rpcss install
15266 wine_fn_config_program rundll.exe16 enable_win16 install
15267 wine_fn_config_program rundll32 enable_rundll32 install
15268 wine_fn_config_program sc enable_sc install
15269 wine_fn_config_program secedit enable_secedit install
15270 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15271 wine_fn_config_program services enable_services install
15272 wine_fn_config_program spoolsv enable_spoolsv install
15273 wine_fn_config_program start enable_start install,po
15274 wine_fn_config_program svchost enable_svchost install
15275 wine_fn_config_program taskkill enable_taskkill install,po
15276 wine_fn_config_program taskmgr enable_taskmgr install,po
15277 wine_fn_config_program termsv enable_termsv install
15278 wine_fn_config_program uninstaller enable_uninstaller install,po
15279 wine_fn_config_program unlodctr enable_unlodctr install
15280 wine_fn_config_program view enable_view po
15281 wine_fn_config_program wineboot enable_wineboot install,installbin
15282 wine_fn_config_program winebrowser enable_winebrowser install
15283 wine_fn_config_program winecfg enable_winecfg install,installbin,po
15284 wine_fn_config_program wineconsole enable_wineconsole install,installbin,po
15285 wine_fn_config_program winedbg enable_winedbg install,installbin,po
15286 wine_fn_config_program winedevice enable_winedevice install
15287 wine_fn_config_program winefile enable_winefile install,installbin,po
15288 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15289 wine_fn_config_program winemine enable_winemine install,installbin,po
15290 wine_fn_config_program winemsibuilder enable_winemsibuilder install
15291 wine_fn_config_program winepath enable_winepath install,installbin
15292 wine_fn_config_program winetest enable_winetest
15293 wine_fn_config_program winevdm enable_win16 install
15294 wine_fn_config_program winhelp.exe16 enable_win16 install
15295 wine_fn_config_program winhlp32 enable_winhlp32 install,po
15296 wine_fn_config_program winoldap.mod16 enable_win16 install
15297 wine_fn_config_program winver enable_winver install
15298 wine_fn_config_program wmic enable_wmic install
15299 wine_fn_config_program wordpad enable_wordpad install,po
15300 wine_fn_config_program write enable_write install,po
15301 wine_fn_config_program wscript enable_wscript install
15302 wine_fn_config_test programs/wscript/tests wscript.exe_test
15303 wine_fn_config_program xcopy enable_xcopy install,po
15304 wine_fn_config_makefile server enable_server install-lib
15305 wine_fn_config_tool tools install-dev,install-lib
15306 wine_fn_config_tool tools/widl install-dev
15307 wine_fn_config_tool tools/winebuild install-dev
15308 wine_fn_config_tool tools/winedump install-dev
15309 wine_fn_config_tool tools/winegcc install-dev
15310 wine_fn_config_tool tools/wmc install-dev
15311 wine_fn_config_tool tools/wrc install-dev
15361 ac_config_commands="$ac_config_commands Makefile"
15364 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15368 if test "x$enable_maintainer_mode" = xyes
15370 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15371 cd \$(srcdir) && autoconf --warnings=all
15372 \$(srcdir)/include/config.h.in: include/stamp-h.in
15373 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15374 cd \$(srcdir) && autoheader --warnings=all
15375 @echo timestamp > \$@
15377 ALL_POT_FILES =$ALL_POT_FILES
15378 all: \$(ALL_PO_FILES)
15379 \$(ALL_PO_FILES): \$(srcdir)/po/wine.pot
15380 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15381 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15382 msgcat -o \$@ \$(ALL_POT_FILES)"
15385 if test "x$enable_tools" != xno
15387 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
15389 \$(RM) tools/makedep\$(EXEEXT)"
15392 if test -n "$with_wine64"
15394 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15395 fonts server tools:
15396 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15397 $with_wine64/loader/wine:
15398 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15399 $with_wine64/loader/wine-preloader:
15400 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15402 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15405 cat >confcache <<\_ACEOF
15406 # This file is a shell script that caches the results of configure
15407 # tests run on this system so they can be shared between configure
15408 # scripts and configure runs, see configure's option --config-cache.
15409 # It is not useful on other systems. If it contains results you don't
15410 # want to keep, you may remove or edit it.
15412 # config.status only pays attention to the cache file if you give it
15413 # the --recheck option to rerun configure.
15415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15417 # following values.
15421 # The following way of writing the cache mishandles newlines in values,
15422 # but we know of no workaround that is simple, portable, and efficient.
15423 # So, we kill variables containing newlines.
15424 # Ultrix sh set writes to stderr and can't be redirected directly,
15425 # and sets the high bit in the cache file unless we assign to the vars.
15427 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15428 eval ac_val=\$$ac_var
15432 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15433 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15436 _ | IFS | as_nl) ;; #(
15437 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15438 *) { eval $ac_var=; unset $ac_var;} ;;
15444 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15445 *${as_nl}ac_space=\ *)
15446 # `set' does not quote correctly, so add quotes: double-quote
15447 # substitution turns \\\\ into \\, and sed turns \\ into \.
15450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15453 # `set' quotes correctly as required by POSIX, so do not add quotes.
15454 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15463 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15465 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15467 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15468 if test -w "$cache_file"; then
15469 if test "x$cache_file" != "x/dev/null"; then
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15471 $as_echo "$as_me: updating cache $cache_file" >&6;}
15472 if test ! -f "$cache_file" || test -h "$cache_file"; then
15473 cat confcache >"$cache_file"
15475 case $cache_file in #(
15477 mv -f confcache "$cache_file"$$ &&
15478 mv -f "$cache_file"$$ "$cache_file" ;; #(
15480 mv -f confcache "$cache_file" ;;
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15486 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15491 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15492 # Let make expand exec_prefix.
15493 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15495 DEFS=-DHAVE_CONFIG_H
15500 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15501 # 1. Remove the extension, and $U if already installed.
15502 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15503 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15504 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15505 # will be set to the directory where LIBOBJS objects are built.
15506 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15507 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15509 LIBOBJS=$ac_libobjs
15511 LTLIBOBJS=$ac_ltlibobjs
15515 : "${CONFIG_STATUS=./config.status}"
15517 ac_clean_files_save=$ac_clean_files
15518 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15520 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15522 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15524 # Generated by $as_me.
15525 # Run this file to recreate the current configuration.
15526 # Compiler output produced by configure, useful for debugging
15527 # configure, is in config.log if it exists.
15530 ac_cs_recheck=false
15533 SHELL=\${CONFIG_SHELL-$SHELL}
15536 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15537 ## -------------------- ##
15538 ## M4sh Initialization. ##
15539 ## -------------------- ##
15541 # Be more Bourne compatible
15542 DUALCASE=1; export DUALCASE # for MKS sh
15543 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15546 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15547 # is contrary to our usage. Disable this feature.
15548 alias -g '${1+"$@"}'='"$@"'
15549 setopt NO_GLOB_SUBST
15551 case `(set -o) 2>/dev/null` in #(
15563 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15564 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15565 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15566 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15567 # Prefer a ksh shell builtin over an external printf program on Solaris,
15568 # but without wasting forks for bash or zsh.
15569 if test -z "$BASH_VERSION$ZSH_VERSION" \
15570 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15571 as_echo='print -r --'
15572 as_echo_n='print -rn --'
15573 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15574 as_echo='printf %s\n'
15575 as_echo_n='printf %s'
15577 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15578 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15579 as_echo_n='/usr/ucb/echo -n'
15581 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15582 as_echo_n_body='eval
15586 expr "X$arg" : "X\\(.*\\)$as_nl";
15587 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15589 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15591 export as_echo_n_body
15592 as_echo_n='sh -c $as_echo_n_body as_echo'
15594 export as_echo_body
15595 as_echo='sh -c $as_echo_body as_echo'
15598 # The user is always right.
15599 if test "${PATH_SEPARATOR+set}" != set; then
15601 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15602 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15609 # We need space, tab and new line, in precisely that order. Quoting is
15610 # there to prevent editors from complaining about space-tab.
15611 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15612 # splitting by setting IFS to empty value.)
15615 # Find who we are. Look in the path if we contain no directory separator.
15618 *[\\/]* ) as_myself=$0 ;;
15619 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15620 for as_dir in $PATH
15623 test -z "$as_dir" && as_dir=.
15624 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15630 # We did not find ourselves, most probably we were run as `sh COMMAND'
15631 # in which case we are not to be found in the path.
15632 if test "x$as_myself" = x; then
15635 if test ! -f "$as_myself"; then
15636 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15640 # Unset variables that we do not need and which cause bugs (e.g. in
15641 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15642 # suppresses any "Segmentation fault" message there. '((' could
15643 # trigger a bug in pdksh 5.2.14.
15644 for as_var in BASH_ENV ENV MAIL MAILPATH
15645 do eval test x\${$as_var+set} = xset \
15646 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15659 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15662 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15663 # ----------------------------------------
15664 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15665 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15666 # script with STATUS, using 1 if that was 0.
15669 as_status=$1; test $as_status -eq 0 && as_status=1
15671 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15672 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15674 $as_echo "$as_me: error: $2" >&2
15675 as_fn_exit $as_status
15679 # as_fn_set_status STATUS
15680 # -----------------------
15681 # Set $? to STATUS, without forking.
15682 as_fn_set_status ()
15685 } # as_fn_set_status
15687 # as_fn_exit STATUS
15688 # -----------------
15689 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15693 as_fn_set_status $1
15699 # Portably unset VAR.
15702 { eval $1=; unset $1;}
15704 as_unset=as_fn_unset
15705 # as_fn_append VAR VALUE
15706 # ----------------------
15707 # Append the text in VALUE to the end of the definition contained in VAR. Take
15708 # advantage of any shell optimizations that allow amortized linear growth over
15709 # repeated appends, instead of the typical quadratic growth present in naive
15711 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15712 eval 'as_fn_append ()
15723 # as_fn_arith ARG...
15724 # ------------------
15725 # Perform arithmetic evaluation on the ARGs, and store the result in the
15726 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15727 # must be portable across $(()) and expr.
15728 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15729 eval 'as_fn_arith ()
15736 as_val=`expr "$@" || test $? -eq 1`
15741 if expr a : '\(a\)' >/dev/null 2>&1 &&
15742 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15748 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15749 as_basename=basename
15754 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15760 as_me=`$as_basename -- "$0" ||
15761 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15762 X"$0" : 'X\(//\)$' \| \
15763 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15765 sed '/^.*\/\([^/][^/]*\)\/*$/{
15779 # Avoid depending upon Character Ranges.
15780 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15781 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15782 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15783 as_cr_digits='0123456789'
15784 as_cr_alnum=$as_cr_Letters$as_cr_digits
15786 ECHO_C= ECHO_N= ECHO_T=
15787 case `echo -n x` in #(((((
15789 case `echo 'xy\c'` in
15790 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15792 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15799 rm -f conf$$ conf$$.exe conf$$.file
15800 if test -d conf$$.dir; then
15801 rm -f conf$$.dir/conf$$.file
15804 mkdir conf$$.dir 2>/dev/null
15806 if (echo >conf$$.file) 2>/dev/null; then
15807 if ln -s conf$$.file conf$$ 2>/dev/null; then
15809 # ... but there are two gotchas:
15810 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15811 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15812 # In both cases, we have to default to `cp -p'.
15813 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15815 elif ln conf$$.file conf$$ 2>/dev/null; then
15823 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15824 rmdir conf$$.dir 2>/dev/null
15829 # Create "$as_dir" as a directory, including parents if necessary.
15834 -*) as_dir=./$as_dir;;
15836 test -d "$as_dir" || eval $as_mkdir_p || {
15840 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15841 *) as_qdir=$as_dir;;
15843 as_dirs="'$as_qdir' $as_dirs"
15844 as_dir=`$as_dirname -- "$as_dir" ||
15845 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15846 X"$as_dir" : 'X\(//\)[^/]' \| \
15847 X"$as_dir" : 'X\(//\)$' \| \
15848 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15849 $as_echo X"$as_dir" |
15850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15854 /^X\(\/\/\)[^/].*/{
15867 test -d "$as_dir" && break
15869 test -z "$as_dirs" || eval "mkdir $as_dirs"
15870 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15874 if mkdir -p . 2>/dev/null; then
15875 as_mkdir_p='mkdir -p "$as_dir"'
15877 test -d ./-p && rmdir ./-p
15881 if test -x / >/dev/null 2>&1; then
15882 as_test_x='test -x'
15884 if ls -dL / >/dev/null 2>&1; then
15891 if test -d "$1"; then
15897 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15898 ???[sx]*):;;*)false;;esac;fi
15902 as_executable_p=$as_test_x
15904 # Sed expression to map a string onto a valid CPP name.
15905 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15907 # Sed expression to map a string onto a valid variable name.
15908 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15912 ## ----------------------------------- ##
15913 ## Main body of $CONFIG_STATUS script. ##
15914 ## ----------------------------------- ##
15916 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15919 # Save the log message, to keep $0 and so on meaningful, and to
15920 # report actual input values of CONFIG_FILES etc. instead of their
15921 # values after options handling.
15923 This file was extended by Wine $as_me 1.3.25, which was
15924 generated by GNU Autoconf 2.68. Invocation command line was
15926 CONFIG_FILES = $CONFIG_FILES
15927 CONFIG_HEADERS = $CONFIG_HEADERS
15928 CONFIG_LINKS = $CONFIG_LINKS
15929 CONFIG_COMMANDS = $CONFIG_COMMANDS
15932 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15937 case $ac_config_files in *"
15938 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15941 case $ac_config_headers in *"
15942 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15947 # Files that config.status was made for.
15948 config_files="$ac_config_files"
15949 config_headers="$ac_config_headers"
15950 config_links="$ac_config_links"
15951 config_commands="$ac_config_commands"
15955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15957 \`$as_me' instantiates files and other configuration actions
15958 from templates according to the current configuration. Unless the files
15959 and actions are specified as TAGs, all are instantiated by default.
15961 Usage: $0 [OPTION]... [TAG]...
15963 -h, --help print this help, then exit
15964 -V, --version print version number and configuration settings, then exit
15965 --config print configuration, then exit
15966 -q, --quiet, --silent
15967 do not print progress messages
15968 -d, --debug don't remove temporary files
15969 --recheck update $as_me by reconfiguring in the same conditions
15970 --file=FILE[:TEMPLATE]
15971 instantiate the configuration file FILE
15972 --header=FILE[:TEMPLATE]
15973 instantiate the configuration header FILE
15975 Configuration files:
15978 Configuration headers:
15981 Configuration links:
15984 Configuration commands:
15987 Report bugs to <wine-devel@winehq.org>.
15988 Wine home page: <http://www.winehq.org>."
15991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15992 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15994 Wine config.status 1.3.25
15995 configured by $0, generated by GNU Autoconf 2.68,
15996 with options \\"\$ac_cs_config\\"
15998 Copyright (C) 2010 Free Software Foundation, Inc.
15999 This config.status script is free software; the Free Software Foundation
16000 gives unlimited permission to copy, distribute and modify it."
16005 test -n "\$AWK" || AWK=awk
16008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16009 # The default lists apply if the user does not specify any file.
16015 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16016 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16020 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16032 # Handling of the options.
16033 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16035 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16036 $as_echo "$ac_cs_version"; exit ;;
16037 --config | --confi | --conf | --con | --co | --c )
16038 $as_echo "$ac_cs_config"; exit ;;
16039 --debug | --debu | --deb | --de | --d | -d )
16041 --file | --fil | --fi | --f )
16044 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16045 '') as_fn_error $? "missing file argument" ;;
16047 as_fn_append CONFIG_FILES " '$ac_optarg'"
16048 ac_need_defaults=false;;
16049 --header | --heade | --head | --hea )
16052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16054 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16055 ac_need_defaults=false;;
16057 # Conflict between --help and --header
16058 as_fn_error $? "ambiguous option: \`$1'
16059 Try \`$0 --help' for more information.";;
16060 --help | --hel | -h )
16061 $as_echo "$ac_cs_usage"; exit ;;
16062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16063 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16066 # This is an error.
16067 -*) as_fn_error $? "unrecognized option: \`$1'
16068 Try \`$0 --help' for more information." ;;
16070 *) as_fn_append ac_config_targets " $1"
16071 ac_need_defaults=false ;;
16077 ac_configure_extra_args=
16079 if $ac_cs_silent; then
16081 ac_configure_extra_args="$ac_configure_extra_args --silent"
16085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16086 if \$ac_cs_recheck; then
16087 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16089 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16090 CONFIG_SHELL='$SHELL'
16091 export CONFIG_SHELL
16096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16101 ## Running $as_me. ##
16107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16111 wine_fn_output_makefile ()
16113 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16114 $ALL_MAKEFILE_DEPENDS
16116 as_fn_error $? "could not create Makefile" "$LINENO" 5
16121 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16123 # Handling of arguments.
16124 for ac_config_target in $ac_config_targets
16126 case $ac_config_target in
16127 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16128 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16129 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16130 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16131 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16132 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16133 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16134 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16135 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16136 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16137 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16138 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16139 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16140 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16141 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16142 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16143 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16144 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16145 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16146 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16147 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16148 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16149 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16150 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16151 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16153 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16158 # If the user did not use the arguments to specify the items to instantiate,
16159 # then the envvar interface is used. Set only those that are not.
16160 # We use the long form for the default assignment because of an extremely
16161 # bizarre bug on SunOS 4.1.3.
16162 if $ac_need_defaults; then
16163 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16164 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16165 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16166 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16169 # Have a temporary directory for convenience. Make it in the build tree
16170 # simply because there is no reason against having it here, and in addition,
16171 # creating and moving files from /tmp can sometimes cause problems.
16172 # Hook for its removal unless debugging.
16173 # Note that there is a small window in which the directory will not be cleaned:
16174 # after its creation but before its name has been assigned to `$tmp'.
16178 trap 'exit_status=$?
16179 : "${ac_tmp:=$tmp}"
16180 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16182 trap 'as_fn_exit 1' 1 2 13 15
16184 # Create a (secure) tmp directory for tmp files.
16187 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16191 tmp=./conf$$-$RANDOM
16192 (umask 077 && mkdir "$tmp")
16193 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16196 # Set up the scripts for CONFIG_FILES section.
16197 # No need to generate them if there are no CONFIG_FILES.
16198 # This happens for instance with `./config.status config.h'.
16199 if test -n "$CONFIG_FILES"; then
16201 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16202 ac_cs_awk_getline=:
16203 ac_cs_awk_pipe_init=
16204 ac_cs_awk_read_file='
16205 while ((getline aline < (F[key])) > 0)
16208 ac_cs_awk_pipe_fini=
16210 ac_cs_awk_getline=false
16211 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16212 ac_cs_awk_read_file='
16214 print "cat " F[key] " &&"
16215 '$ac_cs_awk_pipe_init
16216 # The final `:' finishes the AND list.
16217 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16219 ac_cr=`echo X | tr X '\015'`
16220 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16221 # But we know of no other shell where ac_cr would be empty at this
16222 # point, so we can use a bashism as a fallback.
16223 if test "x$ac_cr" = x; then
16224 eval ac_cr=\$\'\\r\'
16226 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16227 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16230 ac_cs_awk_cr=$ac_cr
16233 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16236 # Create commands to substitute file output variables.
16238 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16239 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16240 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16243 } >conf$$files.sh &&
16244 . ./conf$$files.sh ||
16245 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16246 rm -f conf$$files.sh
16249 echo "cat >conf$$subs.awk <<_ACEOF" &&
16250 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16252 } >conf$$subs.sh ||
16253 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16254 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16256 for ac_last_try in false false false false false :; do
16257 . ./conf$$subs.sh ||
16258 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16260 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16261 if test $ac_delim_n = $ac_delim_num; then
16263 elif $ac_last_try; then
16264 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16266 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16269 rm -f conf$$subs.sh
16271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16272 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16276 s/^/S["/; s/!.*/"]=/
16286 s/\(.\{148\}\)..*/\1/
16288 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16293 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16300 s/\(.\{148\}\)..*/\1/
16302 s/["\\]/\\&/g; s/^/"/; s/$/"/
16306 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16311 ' <conf$$subs.awk | sed '
16316 ' >>$CONFIG_STATUS || ac_write_fail=1
16317 rm -f conf$$subs.awk
16318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16320 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16321 for (key in S) S_is_set[key] = 1
16323 \$ac_cs_awk_pipe_init
16327 nfields = split(line, field, "@")
16329 len = length(field[1])
16330 for (i = 2; i < nfields; i++) {
16332 keylen = length(key)
16333 if (S_is_set[key]) {
16335 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16336 len += length(value) + length(field[++i])
16341 if (nfields == 3 && !substed) {
16343 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16344 \$ac_cs_awk_read_file
16350 \$ac_cs_awk_pipe_fini
16353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16354 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16355 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16358 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16359 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16362 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16363 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16364 # trailing colons and then remove the whole line if VPATH becomes empty
16365 # (actually we leave an empty line to preserve line numbers).
16366 if test "x$srcdir" = x.; then
16367 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16386 fi # test -n "$CONFIG_FILES"
16388 # Set up the scripts for CONFIG_HEADERS section.
16389 # No need to generate them if there are no CONFIG_HEADERS.
16390 # This happens for instance with `./config.status Makefile'.
16391 if test -n "$CONFIG_HEADERS"; then
16392 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16396 # Transform confdefs.h into an awk script `defines.awk', embedded as
16397 # here-document in config.status, that substitutes the proper values into
16398 # config.h.in to produce config.h.
16400 # Create a delimiter string that does not exist in confdefs.h, to ease
16401 # handling of long lines.
16403 for ac_last_try in false false :; do
16404 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16405 if test -z "$ac_tt"; then
16407 elif $ac_last_try; then
16408 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16410 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16414 # For the awk script, D is an array of macro values keyed by name,
16415 # likewise P contains macro parameters if any. Preserve backslash
16416 # newline sequences.
16418 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16420 s/.\{148\}/&'"$ac_delim"'/g
16423 s/^[ ]*#[ ]*define[ ][ ]*/ /
16430 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16432 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16436 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16437 D["\1"]=" \3\\\\\\n"\\/p
16439 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16444 s/.\{148\}/&'"$ac_delim"'/g
16449 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16452 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16454 ' <confdefs.h | sed '
16455 s/'"$ac_delim"'/"\\\
16456 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16459 for (key in D) D_is_set[key] = 1
16462 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16464 split(line, arg, " ")
16465 if (arg[1] == "#") {
16469 defundef = substr(arg[1], 2)
16472 split(mac1, mac2, "(") #)
16474 prefix = substr(line, 1, index(line, defundef) - 1)
16475 if (D_is_set[macro]) {
16476 # Preserve the white space surrounding the "#".
16477 print prefix "define", macro P[macro] D[macro]
16480 # Replace #undef with comments. This is necessary, for example,
16481 # in the case of _POSIX_SOURCE, which is predefined and required
16482 # on some systems where configure will not decide to define it.
16483 if (defundef == "undef") {
16484 print "/*", prefix defundef, macro, "*/"
16492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16493 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16494 fi # test -n "$CONFIG_HEADERS"
16497 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16502 :[FHLC]) ac_mode=$ac_tag; continue;;
16504 case $ac_mode$ac_tag in
16506 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16507 :[FH]-) ac_tag=-:-;;
16508 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16525 -) ac_f="$ac_tmp/stdin";;
16526 *) # Look for the file first in the build tree, then in the source tree
16527 # (if the path is not absolute). The absolute path cannot be DOS-style,
16528 # because $ac_f cannot contain `:'.
16532 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16534 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16536 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16537 as_fn_append ac_file_inputs " '$ac_f'"
16540 # Let's still pretend it is `configure' which instantiates (i.e., don't
16541 # use $as_me), people would be surprised to read:
16542 # /* config.h. Generated by config.status. */
16543 configure_input='Generated from '`
16544 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16546 if test x"$ac_file" != x-; then
16547 configure_input="$ac_file. $configure_input"
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16549 $as_echo "$as_me: creating $ac_file" >&6;}
16551 # Neutralize special characters interpreted by sed in replacement strings.
16552 case $configure_input in #(
16553 *\&* | *\|* | *\\* )
16554 ac_sed_conf_input=`$as_echo "$configure_input" |
16555 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16556 *) ac_sed_conf_input=$configure_input;;
16560 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16561 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16566 ac_dir=`$as_dirname -- "$ac_file" ||
16567 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16568 X"$ac_file" : 'X\(//\)[^/]' \| \
16569 X"$ac_file" : 'X\(//\)$' \| \
16570 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16571 $as_echo X"$ac_file" |
16572 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16576 /^X\(\/\/\)[^/].*/{
16589 as_dir="$ac_dir"; as_fn_mkdir_p
16593 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16595 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16596 # A ".." for each directory in $ac_dir_suffix.
16597 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16598 case $ac_top_builddir_sub in
16599 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16600 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16603 ac_abs_top_builddir=$ac_pwd
16604 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16605 # for backward compatibility:
16606 ac_top_builddir=$ac_top_build_prefix
16609 .) # We are building in place.
16611 ac_top_srcdir=$ac_top_builddir_sub
16612 ac_abs_top_srcdir=$ac_pwd ;;
16613 [\\/]* | ?:[\\/]* ) # Absolute name.
16614 ac_srcdir=$srcdir$ac_dir_suffix;
16615 ac_top_srcdir=$srcdir
16616 ac_abs_top_srcdir=$srcdir ;;
16617 *) # Relative name.
16618 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16619 ac_top_srcdir=$ac_top_build_prefix$srcdir
16620 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16622 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16632 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16633 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16638 # If the template does not know about datarootdir, expand it.
16639 # FIXME: This hack should be removed a few years after 2.60.
16640 ac_datarootdir_hack=; ac_datarootdir_seen=
16651 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16652 *datarootdir*) ac_datarootdir_seen=yes;;
16653 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16655 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16658 ac_datarootdir_hack='
16659 s&@datadir@&$datadir&g
16660 s&@docdir@&$docdir&g
16661 s&@infodir@&$infodir&g
16662 s&@localedir@&$localedir&g
16663 s&@mandir@&$mandir&g
16664 s&\\\${datarootdir}&$datarootdir&g' ;;
16668 # Neutralize VPATH when `$srcdir' = `.'.
16669 # Shell code in configure.ac might set extrasub.
16670 # FIXME: do we really want to maintain this feature?
16671 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16672 ac_sed_extra="$ac_vpsub
16675 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16677 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16678 s|@configure_input@|$ac_sed_conf_input|;t t
16679 s&@top_builddir@&$ac_top_builddir_sub&;t t
16680 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16681 s&@srcdir@&$ac_srcdir&;t t
16682 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16683 s&@top_srcdir@&$ac_top_srcdir&;t t
16684 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16685 s&@builddir@&$ac_builddir&;t t
16686 s&@abs_builddir@&$ac_abs_builddir&;t t
16687 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16688 s&@INSTALL@&$ac_INSTALL&;t t
16689 $ac_datarootdir_hack
16691 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16692 if $ac_cs_awk_getline; then
16693 $AWK -f "$ac_tmp/subs.awk"
16695 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16697 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16699 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16700 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16701 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16702 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16704 which seems to be undefined. Please make sure it is defined" >&5
16705 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16706 which seems to be undefined. Please make sure it is defined" >&2;}
16708 rm -f "$ac_tmp/stdin"
16710 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16711 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16713 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16719 if test x"$ac_file" != x-; then
16721 $as_echo "/* $configure_input */" \
16722 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16723 } >"$ac_tmp/config.h" \
16724 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16725 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16727 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16730 mv "$ac_tmp/config.h" "$ac_file" \
16731 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16734 $as_echo "/* $configure_input */" \
16735 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16736 || as_fn_error $? "could not create -" "$LINENO" 5
16744 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16747 # Prefer the file from the source tree if names are identical.
16748 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16749 ac_source=$srcdir/$ac_source
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16753 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16755 if test ! -r "$ac_source"; then
16756 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16760 # Try a relative symlink, then a hard link, then a copy.
16762 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16763 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16765 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16766 ln "$ac_source" "$ac_file" 2>/dev/null ||
16767 cp -p "$ac_source" "$ac_file" ||
16768 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16771 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16772 $as_echo "$as_me: executing $ac_file commands" >&6;}
16777 case $ac_file$ac_mode in
16778 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16779 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
16780 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
16781 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16782 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16783 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16784 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16785 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16786 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16787 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16788 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16789 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16790 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16791 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16792 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16793 "Makefile":C) wine_fn_output_makefile Makefile ;;
16801 ac_clean_files=$ac_clean_files_save
16803 test $ac_write_fail = 0 ||
16804 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16807 # configure is writing to config.log, and then calls config.status.
16808 # config.status does its own redirection, appending to config.log.
16809 # Unfortunately, on DOS this fails, as config.log is still kept open
16810 # by configure, so config.status won't be able to write to it; its
16811 # output is simply discarded. So we exec the FD to /dev/null,
16812 # effectively closing config.log, so it can be properly (re)opened and
16813 # appended to by config.status. When coming back to configure, we
16814 # need to make the FD available again.
16815 if test "$no_create" != yes; then
16817 ac_config_status_args=
16818 test "$silent" = yes &&
16819 ac_config_status_args="$ac_config_status_args --quiet"
16821 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16823 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16824 # would make configure fail if this is the last instruction.
16825 $ac_cs_success || as_fn_exit 1
16827 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16829 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16833 if test "$no_create" = "yes"
16839 if test "x$wine_notices != "x; then
16842 for msg in $wine_notices; do
16844 if test -n "$msg"; then
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16846 $as_echo "$as_me: $msg" >&6;}
16851 for msg in $wine_warnings; do
16853 if test -n "$msg"; then
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16856 $as_echo "$as_me: WARNING: $msg" >&2;}
16862 $as_me: Finished. Do '${ac_make}' to compile Wine.