2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.3.34.
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.34'
564 PACKAGE_STRING='Wine 1.3.34'
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
668 APPLICATIONSERVICESLIB
757 program_transform_name
768 ac_subst_files='MAKE_RULES
774 enable_option_checking
778 enable_maintainer_mode
826 ac_precious_vars='build_alias
841 # Initialize some variables set by options.
843 ac_init_version=false
844 ac_unrecognized_opts=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name=s,x,x,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\$ac_option
901 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
917 -build | --build | --buil | --bui | --bu)
918 ac_prev=build_alias ;;
919 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920 build_alias=$ac_optarg ;;
922 -cache-file | --cache-file | --cache-fil | --cache-fi \
923 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924 ac_prev=cache_file ;;
925 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927 cache_file=$ac_optarg ;;
930 cache_file=config.cache ;;
932 -datadir | --datadir | --datadi | --datad)
934 -datadir=* | --datadir=* | --datadi=* | --datad=*)
935 datadir=$ac_optarg ;;
937 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938 | --dataroo | --dataro | --datar)
939 ac_prev=datarootdir ;;
940 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942 datarootdir=$ac_optarg ;;
944 -disable-* | --disable-*)
945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 as_fn_error $? "invalid feature name: $ac_useropt"
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
958 eval enable_$ac_useropt=no ;;
960 -docdir | --docdir | --docdi | --doc | --do)
962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 -enable-* | --enable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
984 eval enable_$ac_useropt=\$ac_optarg ;;
986 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988 | --exec | --exe | --ex)
989 ac_prev=exec_prefix ;;
990 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992 | --exec=* | --exe=* | --ex=*)
993 exec_prefix=$ac_optarg ;;
995 -gas | --gas | --ga | --g)
996 # Obsolete; use --with-gas.
999 -help | --help | --hel | --he | -h)
1000 ac_init_help=long ;;
1001 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002 ac_init_help=recursive ;;
1003 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004 ac_init_help=short ;;
1006 -host | --host | --hos | --ho)
1007 ac_prev=host_alias ;;
1008 -host=* | --host=* | --hos=* | --ho=*)
1009 host_alias=$ac_optarg ;;
1011 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 htmldir=$ac_optarg ;;
1017 -includedir | --includedir | --includedi | --included | --include \
1018 | --includ | --inclu | --incl | --inc)
1019 ac_prev=includedir ;;
1020 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021 | --includ=* | --inclu=* | --incl=* | --inc=*)
1022 includedir=$ac_optarg ;;
1024 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027 infodir=$ac_optarg ;;
1029 -libdir | --libdir | --libdi | --libd)
1031 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032 libdir=$ac_optarg ;;
1034 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035 | --libexe | --libex | --libe)
1036 ac_prev=libexecdir ;;
1037 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038 | --libexe=* | --libex=* | --libe=*)
1039 libexecdir=$ac_optarg ;;
1041 -localedir | --localedir | --localedi | --localed | --locale)
1042 ac_prev=localedir ;;
1043 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044 localedir=$ac_optarg ;;
1046 -localstatedir | --localstatedir | --localstatedi | --localstated \
1047 | --localstate | --localstat | --localsta | --localst | --locals)
1048 ac_prev=localstatedir ;;
1049 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051 localstatedir=$ac_optarg ;;
1053 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056 mandir=$ac_optarg ;;
1058 -nfp | --nfp | --nf)
1059 # Obsolete; use --without-fp.
1062 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063 | --no-cr | --no-c | -n)
1066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072 | --oldin | --oldi | --old | --ol | --o)
1073 ac_prev=oldincludedir ;;
1074 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077 oldincludedir=$ac_optarg ;;
1079 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082 prefix=$ac_optarg ;;
1084 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085 | --program-pre | --program-pr | --program-p)
1086 ac_prev=program_prefix ;;
1087 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089 program_prefix=$ac_optarg ;;
1091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092 | --program-suf | --program-su | --program-s)
1093 ac_prev=program_suffix ;;
1094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096 program_suffix=$ac_optarg ;;
1098 -program-transform-name | --program-transform-name \
1099 | --program-transform-nam | --program-transform-na \
1100 | --program-transform-n | --program-transform- \
1101 | --program-transform | --program-transfor \
1102 | --program-transfo | --program-transf \
1103 | --program-trans | --program-tran \
1104 | --progr-tra | --program-tr | --program-t)
1105 ac_prev=program_transform_name ;;
1106 -program-transform-name=* | --program-transform-name=* \
1107 | --program-transform-nam=* | --program-transform-na=* \
1108 | --program-transform-n=* | --program-transform-=* \
1109 | --program-transform=* | --program-transfor=* \
1110 | --program-transfo=* | --program-transf=* \
1111 | --program-trans=* | --program-tran=* \
1112 | --progr-tra=* | --program-tr=* | --program-t=*)
1113 program_transform_name=$ac_optarg ;;
1115 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118 pdfdir=$ac_optarg ;;
1120 -psdir | --psdir | --psdi | --psd | --ps)
1122 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126 | -silent | --silent | --silen | --sile | --sil)
1129 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 sbindir=$ac_optarg ;;
1135 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137 | --sharedst | --shareds | --shared | --share | --shar \
1139 ac_prev=sharedstatedir ;;
1140 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 sharedstatedir=$ac_optarg ;;
1146 -site | --site | --sit)
1148 -site=* | --site=* | --sit=*)
1151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154 srcdir=$ac_optarg ;;
1156 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157 | --syscon | --sysco | --sysc | --sys | --sy)
1158 ac_prev=sysconfdir ;;
1159 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161 sysconfdir=$ac_optarg ;;
1163 -target | --target | --targe | --targ | --tar | --ta | --t)
1164 ac_prev=target_alias ;;
1165 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166 target_alias=$ac_optarg ;;
1168 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 -version | --version | --versio | --versi | --vers | -V)
1172 ac_init_version=: ;;
1175 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178 as_fn_error $? "invalid package name: $ac_useropt"
1179 ac_useropt_orig=$ac_useropt
1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep=', ';;
1188 eval with_$ac_useropt=\$ac_optarg ;;
1190 -without-* | --without-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error $? "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1204 eval with_$ac_useropt=no ;;
1207 # Obsolete; use --with-x.
1210 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211 | --x-incl | --x-inc | --x-in | --x-i)
1212 ac_prev=x_includes ;;
1213 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215 x_includes=$ac_optarg ;;
1217 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219 ac_prev=x_libraries ;;
1220 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222 x_libraries=$ac_optarg ;;
1224 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' | [0-9]* | *[!_$as_cr_alnum]* )
1233 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $? "missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val=\$$ac_var
1269 # Remove trailing slashes.
1272 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$]* | ?:[\\/]* ) continue;;
1278 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292 if test "x$build_alias" = x; then
1293 cross_compiling=maybe
1294 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used" >&2
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1304 test "$silent" = yes && exec 6>/dev/null
1307 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di=`ls -di .` &&
1309 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $? "working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $? "pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1347 ac_srcdir_defaulted=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1351 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 for ac_var in $ac_precious_vars; do
1368 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_${ac_var}_value=\$${ac_var}
1370 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1381 \`configure' configures Wine 1.3.34 to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --x-includes=DIR X include files are in DIR
1440 --x-libraries=DIR X library files are in DIR
1443 --build=BUILD configure for building on BUILD [guessed]
1444 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1448 if test -n "$ac_init_help"; then
1449 case $ac_init_help in
1450 short | recursive ) echo "Configuration of Wine 1.3.34:";;
1455 --disable-option-checking ignore unrecognized --enable/--with options
1456 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1457 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1458 --disable-win16 do not include Win16 support
1459 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1461 --disable-tests do not build the regression tests
1462 --enable-maintainer-mode
1463 enable maintainer-specific build rules
1464 --disable-largefile omit support for large files
1467 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1468 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1469 --without-alsa do not use the Alsa sound support
1470 --without-capi do not use CAPI (ISDN support)
1471 --without-cms do not use CMS (color management support)
1472 --without-coreaudio do not use the CoreAudio sound support
1473 --without-cups do not use CUPS
1474 --without-curses do not use (n)curses
1475 --without-fontconfig do not use fontconfig
1476 --without-freetype do not use the FreeType library
1477 --without-gettext do not use gettext
1478 --with-gettextpo use the GetTextPO library to rebuild po files
1479 --without-gphoto do not use gphoto (Digital Camera support)
1480 --without-glu do not use the GLU library
1481 --without-gnutls do not use GnuTLS (schannel support)
1482 --without-gsm do not use libgsm (GSM 06.10 codec support)
1483 --without-gstreamer do not use GStreamer (codecs support)
1484 --without-hal do not use HAL (dynamic device support)
1485 --without-jpeg do not use JPEG
1486 --without-ldap do not use LDAP
1487 --without-mpg123 do not use the mpg123 library
1488 --without-openal do not use OpenAL
1489 --without-opencl do not use OpenCL
1490 --without-opengl do not use OpenGL
1491 --without-openssl do not use OpenSSL
1492 --without-oss do not use the OSS sound support
1493 --without-png do not use PNG
1494 --without-pthread do not use the pthread library
1495 --without-sane do not use SANE (scanner support)
1496 --without-tiff do not use TIFF
1497 --without-v4l do not use v4l1 (v4l support)
1498 --without-xcomposite do not use the Xcomposite extension
1499 --without-xcursor do not use the Xcursor extension
1500 --without-xinerama do not use Xinerama (multi-monitor support)
1501 --without-xinput do not use the Xinput extension
1502 --without-xinput2 do not use the Xinput 2 extension
1503 --without-xml do not use XML
1504 --without-xrandr do not use Xrandr (resolution changes)
1505 --without-xrender do not use the Xrender extension
1506 --without-xshape do not use the Xshape extension
1507 --without-xshm do not use XShm (shared memory extension)
1508 --without-xslt do not use XSLT
1509 --without-xxf86vm do not use XFree video mode extension
1510 --without-zlib do not use Zlib (data compression)
1511 --with-wine-tools=DIR use Wine tools from directory DIR
1512 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1513 --with-x use the X Window System
1515 Some influential environment variables:
1516 CC C compiler command
1517 CFLAGS C compiler flags
1518 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1519 nonstandard directory <lib dir>
1520 LIBS libraries to pass to the linker, e.g. -l<library>
1521 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1522 you have headers in a nonstandard directory <include dir>
1523 CXX C++ compiler command
1524 CXXFLAGS C++ compiler flags
1526 XMKMF Path to xmkmf, Makefile generator for X Window System
1528 Use these variables to override the choices made by `configure' or to help
1529 it to find libraries and programs with nonstandard names/locations.
1531 Report bugs to <wine-devel@winehq.org>.
1532 Wine home page: <http://www.winehq.org>.
1537 if test "$ac_init_help" = "recursive"; then
1538 # If there are subdirs, report their specific --help.
1539 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1540 test -d "$ac_dir" ||
1541 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1546 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1548 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1549 # A ".." for each directory in $ac_dir_suffix.
1550 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1551 case $ac_top_builddir_sub in
1552 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1556 ac_abs_top_builddir=$ac_pwd
1557 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1558 # for backward compatibility:
1559 ac_top_builddir=$ac_top_build_prefix
1562 .) # We are building in place.
1564 ac_top_srcdir=$ac_top_builddir_sub
1565 ac_abs_top_srcdir=$ac_pwd ;;
1566 [\\/]* | ?:[\\/]* ) # Absolute name.
1567 ac_srcdir=$srcdir$ac_dir_suffix;
1568 ac_top_srcdir=$srcdir
1569 ac_abs_top_srcdir=$srcdir ;;
1571 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1572 ac_top_srcdir=$ac_top_build_prefix$srcdir
1573 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1575 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1577 cd "$ac_dir" || { ac_status=$?; continue; }
1578 # Check for guested configure.
1579 if test -f "$ac_srcdir/configure.gnu"; then
1581 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1582 elif test -f "$ac_srcdir/configure"; then
1584 $SHELL "$ac_srcdir/configure" --help=recursive
1586 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1588 cd "$ac_pwd" || { ac_status=$?; break; }
1592 test -n "$ac_init_help" && exit $ac_status
1593 if $ac_init_version; then
1595 Wine configure 1.3.34
1596 generated by GNU Autoconf 2.68
1598 Copyright (C) 2010 Free Software Foundation, Inc.
1599 This configure script is free software; the Free Software Foundation
1600 gives unlimited permission to copy, distribute and modify it.
1605 ## ------------------------ ##
1606 ## Autoconf initialization. ##
1607 ## ------------------------ ##
1609 # ac_fn_c_try_compile LINENO
1610 # --------------------------
1611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1612 ac_fn_c_try_compile ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 rm -f conftest.$ac_objext
1616 if { { ac_try="$ac_compile"
1618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_compile") 2>conftest.err
1625 if test -s conftest.err; then
1626 grep -v '^ *+' conftest.err >conftest.er1
1627 cat conftest.er1 >&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } && {
1632 test -z "$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1634 } && test -s conftest.$ac_objext; then :
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1645 } # ac_fn_c_try_compile
1647 # ac_fn_cxx_try_compile LINENO
1648 # ----------------------------
1649 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1650 ac_fn_cxx_try_compile ()
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 rm -f conftest.$ac_objext
1654 if { { ac_try="$ac_compile"
1656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657 *) ac_try_echo=$ac_try;;
1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_compile") 2>conftest.err
1663 if test -s conftest.err; then
1664 grep -v '^ *+' conftest.err >conftest.er1
1665 cat conftest.er1 >&5
1666 mv -f conftest.er1 conftest.err
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } && {
1670 test -z "$ac_cxx_werror_flag" ||
1671 test ! -s conftest.err
1672 } && test -s conftest.$ac_objext; then :
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.$ac_ext >&5
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status $ac_retval
1683 } # ac_fn_cxx_try_compile
1685 # ac_fn_c_try_link LINENO
1686 # -----------------------
1687 # Try to link conftest.$ac_ext, and return whether this succeeded.
1690 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691 rm -f conftest.$ac_objext conftest$ac_exeext
1692 if { { ac_try="$ac_link"
1694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_link") 2>conftest.err
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest$ac_exeext && {
1711 test "$cross_compiling" = yes ||
1712 $as_test_x conftest$ac_exeext
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1721 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1722 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1723 # interfere with the next link command; also delete a directory that is
1724 # left behind by Apple's compiler. We do this before executing the actions.
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_c_try_link
1731 # ac_fn_c_try_cpp LINENO
1732 # ----------------------
1733 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 if { { ac_try="$ac_cpp conftest.$ac_ext"
1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1746 if test -s conftest.err; then
1747 grep -v '^ *+' conftest.err >conftest.er1
1748 cat conftest.er1 >&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } > conftest.i && {
1753 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status $ac_retval
1768 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1771 # the include files in INCLUDES and setting the cache variable VAR
1773 ac_fn_c_check_header_mongrel ()
1775 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1776 if eval \${$3+:} false; then :
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \${$3+:} false; then :
1780 $as_echo_n "(cached) " >&6
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1786 # Is the header compilable?
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1788 $as_echo_n "checking $2 usability... " >&6; }
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile "$LINENO"; then :
1795 ac_header_compiler=yes
1797 ac_header_compiler=no
1799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1801 $as_echo "$ac_header_compiler" >&6; }
1803 # Is the header present?
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1805 $as_echo_n "checking $2 presence... " >&6; }
1806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1810 if ac_fn_c_try_cpp "$LINENO"; then :
1811 ac_header_preproc=yes
1813 ac_header_preproc=no
1815 rm -f conftest.err conftest.i conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1817 $as_echo "$ac_header_preproc" >&6; }
1819 # So? What about this header?
1820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1823 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1829 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1831 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1833 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1835 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1837 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1838 ( $as_echo "## ------------------------------------ ##
1839 ## Report this to wine-devel@winehq.org ##
1840 ## ------------------------------------ ##"
1841 ) | sed "s/^/$as_me: WARNING: /" >&2
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \${$3+:} false; then :
1847 $as_echo_n "(cached) " >&6
1849 eval "$3=\$ac_header_compiler"
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 } # ac_fn_c_check_header_mongrel
1859 # ac_fn_c_try_run LINENO
1860 # ----------------------
1861 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1862 # that executables *can* be run.
1865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1866 if { { ac_try="$ac_link"
1868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_link") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1877 { { case "(($ac_try" in
1878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1879 *) ac_try_echo=$ac_try;;
1881 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_try") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; }; }; then :
1889 $as_echo "$as_me: program exited with status $ac_status" >&5
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.$ac_ext >&5
1893 ac_retval=$ac_status
1895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897 as_fn_set_status $ac_retval
1901 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1902 # -------------------------------------------------------
1903 # Tests whether HEADER exists and can be compiled using the include files in
1904 # INCLUDES, setting the cache variable VAR accordingly.
1905 ac_fn_c_check_header_compile ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if eval \${$3+:} false; then :
1911 $as_echo_n "(cached) " >&6
1913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile "$LINENO"; then :
1923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_header_compile
1932 # ac_fn_c_check_func LINENO FUNC VAR
1933 # ----------------------------------
1934 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1935 ac_fn_c_check_func ()
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if eval \${$3+:} false; then :
1941 $as_echo_n "(cached) " >&6
1943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1945 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1947 #define $2 innocuous_$2
1949 /* System header to define __stub macros and hopefully few prototypes,
1950 which can conflict with char $2 (); below.
1951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1952 <limits.h> exists even on freestanding compilers. */
1955 # include <limits.h>
1957 # include <assert.h>
1962 /* Override any GCC internal prototype to avoid an error.
1963 Use char because int might match the return type of a GCC
1964 builtin and then its argument prototype would still apply. */
1969 /* The GNU C library defines this for functions which it implements
1970 to always fail with ENOSYS. Some functions are actually named
1971 something starting with __ and the normal name is an alias. */
1972 #if defined __stub_$2 || defined __stub___$2
1984 if ac_fn_c_try_link "$LINENO"; then :
1989 rm -f core conftest.err conftest.$ac_objext \
1990 conftest$ac_exeext conftest.$ac_ext
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997 } # ac_fn_c_check_func
1999 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2000 # ----------------------------------------------------
2001 # Tries to find if the field MEMBER exists in type AGGR, after including
2002 # INCLUDES, setting cache variable VAR accordingly.
2003 ac_fn_c_check_member ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2007 $as_echo_n "checking for $2.$3... " >&6; }
2008 if eval \${$4+:} false; then :
2009 $as_echo_n "(cached) " >&6
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2024 if ac_fn_c_try_compile "$LINENO"; then :
2027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2034 if (sizeof ac_aggr.$3)
2040 if ac_fn_c_try_compile "$LINENO"; then :
2045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2054 } # ac_fn_c_check_member
2056 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2057 # -------------------------------------------
2058 # Tests whether TYPE exists after having included INCLUDES, setting cache
2059 # variable VAR accordingly.
2060 ac_fn_c_check_type ()
2062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064 $as_echo_n "checking for $2... " >&6; }
2065 if eval \${$3+:} false; then :
2066 $as_echo_n "(cached) " >&6
2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2081 if ac_fn_c_try_compile "$LINENO"; then :
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2094 if ac_fn_c_try_compile "$LINENO"; then :
2099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2105 $as_echo "$ac_res" >&6; }
2106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2108 } # ac_fn_c_check_type
2109 cat >config.log <<_ACEOF
2110 This file contains any messages produced by compilers while
2111 running configure, to aid debugging if configure makes a mistake.
2113 It was created by Wine $as_me 1.3.34, which was
2114 generated by GNU Autoconf 2.68. Invocation command line was
2126 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2127 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2128 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2129 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2130 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2132 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2133 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2135 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2136 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2137 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2138 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir=.
2150 $as_echo "PATH: $as_dir"
2166 # Keep a trace of the command line.
2167 # Strip out --no-create and --no-recursion so they do not pile up.
2168 # Strip out --silent because we don't want to record it for future runs.
2169 # Also quote any args containing shell meta-characters.
2170 # Make two passes to allow for proper duplicate-argument suppression.
2174 ac_must_keep_next=false
2180 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2182 | -silent | --silent | --silen | --sile | --sil)
2185 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2188 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2190 as_fn_append ac_configure_args1 " '$ac_arg'"
2191 if test $ac_must_keep_next = true; then
2192 ac_must_keep_next=false # Got value, back to normal.
2195 *=* | --config-cache | -C | -disable-* | --disable-* \
2196 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2197 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2198 | -with-* | --with-* | -without-* | --without-* | --x)
2199 case "$ac_configure_args0 " in
2200 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2203 -* ) ac_must_keep_next=true ;;
2206 as_fn_append ac_configure_args " '$ac_arg'"
2211 { ac_configure_args0=; unset ac_configure_args0;}
2212 { ac_configure_args1=; unset ac_configure_args1;}
2214 # When interrupted or exit'd, cleanup temporary files, and complete
2215 # config.log. We remove comments because anyway the quotes in there
2216 # would cause problems or look ugly.
2217 # WARNING: Use '\'' to represent an apostrophe within the trap.
2218 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2219 trap 'exit_status=$?
2220 # Save into config.log some information that might help in debugging.
2224 $as_echo "## ---------------- ##
2225 ## Cache variables. ##
2226 ## ---------------- ##"
2228 # The following way of writing the cache mishandles newlines in values,
2230 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2231 eval ac_val=\$$ac_var
2235 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2239 _ | IFS | as_nl) ;; #(
2240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2241 *) { eval $ac_var=; unset $ac_var;} ;;
2246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2247 *${as_nl}ac_space=\ *)
2249 "s/'\''/'\''\\\\'\'''\''/g;
2250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2260 $as_echo "## ----------------- ##
2261 ## Output variables. ##
2262 ## ----------------- ##"
2264 for ac_var in $ac_subst_vars
2266 eval ac_val=\$$ac_var
2268 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270 $as_echo "$ac_var='\''$ac_val'\''"
2274 if test -n "$ac_subst_files"; then
2275 $as_echo "## ------------------- ##
2276 ## File substitutions. ##
2277 ## ------------------- ##"
2279 for ac_var in $ac_subst_files
2281 eval ac_val=\$$ac_var
2283 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2285 $as_echo "$ac_var='\''$ac_val'\''"
2290 if test -s confdefs.h; then
2291 $as_echo "## ----------- ##
2298 test "$ac_signal" != 0 &&
2299 $as_echo "$as_me: caught signal $ac_signal"
2300 $as_echo "$as_me: exit $exit_status"
2302 rm -f core *.core core.conftest.* &&
2303 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2306 for ac_signal in 1 2 13 15; do
2307 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2311 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2312 rm -f -r conftest* confdefs.h
2314 $as_echo "/* confdefs.h */" > confdefs.h
2316 # Predefined preprocessor variables.
2318 cat >>confdefs.h <<_ACEOF
2319 #define PACKAGE_NAME "$PACKAGE_NAME"
2322 cat >>confdefs.h <<_ACEOF
2323 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2326 cat >>confdefs.h <<_ACEOF
2327 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2330 cat >>confdefs.h <<_ACEOF
2331 #define PACKAGE_STRING "$PACKAGE_STRING"
2334 cat >>confdefs.h <<_ACEOF
2335 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2338 cat >>confdefs.h <<_ACEOF
2339 #define PACKAGE_URL "$PACKAGE_URL"
2343 # Let the site file select an alternate cache file if it wants to.
2344 # Prefer an explicitly selected file to automatically selected ones.
2347 if test -n "$CONFIG_SITE"; then
2348 # We do not want a PATH search for config.site.
2349 case $CONFIG_SITE in #((
2350 -*) ac_site_file1=./$CONFIG_SITE;;
2351 */*) ac_site_file1=$CONFIG_SITE;;
2352 *) ac_site_file1=./$CONFIG_SITE;;
2354 elif test "x$prefix" != xNONE; then
2355 ac_site_file1=$prefix/share/config.site
2356 ac_site_file2=$prefix/etc/config.site
2358 ac_site_file1=$ac_default_prefix/share/config.site
2359 ac_site_file2=$ac_default_prefix/etc/config.site
2361 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2363 test "x$ac_site_file" = xNONE && continue
2364 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2366 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2367 sed 's/^/| /' "$ac_site_file" >&5
2369 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371 as_fn_error $? "failed to load site script $ac_site_file
2372 See \`config.log' for more details" "$LINENO" 5; }
2376 if test -r "$cache_file"; then
2377 # Some versions of bash will fail to source /dev/null (special files
2378 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2379 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2381 $as_echo "$as_me: loading cache $cache_file" >&6;}
2383 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2384 *) . "./$cache_file";;
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2389 $as_echo "$as_me: creating cache $cache_file" >&6;}
2393 # Check that the precious variables saved in the cache have kept the same
2395 ac_cache_corrupted=false
2396 for ac_var in $ac_precious_vars; do
2397 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2398 eval ac_new_set=\$ac_env_${ac_var}_set
2399 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2400 eval ac_new_val=\$ac_env_${ac_var}_value
2401 case $ac_old_set,$ac_new_set in
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2404 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2405 ac_cache_corrupted=: ;;
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2408 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2409 ac_cache_corrupted=: ;;
2412 if test "x$ac_old_val" != "x$ac_new_val"; then
2413 # differences in whitespace do not lead to failure.
2414 ac_old_val_w=`echo x $ac_old_val`
2415 ac_new_val_w=`echo x $ac_new_val`
2416 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2418 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2419 ac_cache_corrupted=:
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2422 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2423 eval $ac_var=\$ac_old_val
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2426 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2428 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2431 # Pass precious variables to config.status.
2432 if test "$ac_new_set" = set; then
2434 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2435 *) ac_arg=$ac_var=$ac_new_val ;;
2437 case " $ac_configure_args " in
2438 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2439 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2443 if $ac_cache_corrupted; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2447 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2448 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2450 ## -------------------- ##
2451 ## Main body of script. ##
2452 ## -------------------- ##
2455 ac_cpp='$CPP $CPPFLAGS'
2456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2462 ac_config_headers="$ac_config_headers include/config.h"
2465 for ac_dir in tools "$srcdir"/tools; do
2466 if test -f "$ac_dir/install-sh"; then
2468 ac_install_sh="$ac_aux_dir/install-sh -c"
2470 elif test -f "$ac_dir/install.sh"; then
2472 ac_install_sh="$ac_aux_dir/install.sh -c"
2474 elif test -f "$ac_dir/shtool"; then
2476 ac_install_sh="$ac_aux_dir/shtool install -c"
2480 if test -z "$ac_aux_dir"; then
2481 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2484 # These three variables are undocumented and unsupported,
2485 # and are intended to be withdrawn in a future Autoconf release.
2486 # They can cause serious problems if a builder's source tree is in a directory
2487 # whose full name contains unusual characters.
2488 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2489 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2490 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496 # Check whether --enable-win16 was given.
2497 if test "${enable_win16+set}" = set; then :
2498 enableval=$enable_win16;
2501 # Check whether --enable-win64 was given.
2502 if test "${enable_win64+set}" = set; then :
2503 enableval=$enable_win64;
2506 # Check whether --enable-tests was given.
2507 if test "${enable_tests+set}" = set; then :
2508 enableval=$enable_tests;
2511 # Check whether --enable-maintainer-mode was given.
2512 if test "${enable_maintainer_mode+set}" = set; then :
2513 enableval=$enable_maintainer_mode;
2518 # Check whether --with-alsa was given.
2519 if test "${with_alsa+set}" = set; then :
2520 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2524 # Check whether --with-capi was given.
2525 if test "${with_capi+set}" = set; then :
2526 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2530 # Check whether --with-cms was given.
2531 if test "${with_cms+set}" = set; then :
2532 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2536 # Check whether --with-coreaudio was given.
2537 if test "${with_coreaudio+set}" = set; then :
2538 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2542 # Check whether --with-cups was given.
2543 if test "${with_cups+set}" = set; then :
2548 # Check whether --with-curses was given.
2549 if test "${with_curses+set}" = set; then :
2550 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2554 # Check whether --with-fontconfig was given.
2555 if test "${with_fontconfig+set}" = set; then :
2556 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2560 # Check whether --with-freetype was given.
2561 if test "${with_freetype+set}" = set; then :
2562 withval=$with_freetype;
2566 # Check whether --with-gettext was given.
2567 if test "${with_gettext+set}" = set; then :
2568 withval=$with_gettext;
2572 # Check whether --with-gettextpo was given.
2573 if test "${with_gettextpo+set}" = set; then :
2574 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2578 # Check whether --with-gphoto was given.
2579 if test "${with_gphoto+set}" = set; then :
2580 withval=$with_gphoto;
2584 # Check whether --with-glu was given.
2585 if test "${with_glu+set}" = set; then :
2586 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2590 # Check whether --with-gnutls was given.
2591 if test "${with_gnutls+set}" = set; then :
2592 withval=$with_gnutls;
2596 # Check whether --with-gsm was given.
2597 if test "${with_gsm+set}" = set; then :
2598 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2602 # Check whether --with-gstreamer was given.
2603 if test "${with_gstreamer+set}" = set; then :
2604 withval=$with_gstreamer;
2608 # Check whether --with-hal was given.
2609 if test "${with_hal+set}" = set; then :
2614 # Check whether --with-jpeg was given.
2615 if test "${with_jpeg+set}" = set; then :
2616 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2620 # Check whether --with-ldap was given.
2621 if test "${with_ldap+set}" = set; then :
2622 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2626 # Check whether --with-mpg123 was given.
2627 if test "${with_mpg123+set}" = set; then :
2628 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2632 # Check whether --with-openal was given.
2633 if test "${with_openal+set}" = set; then :
2634 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2638 # Check whether --with-opencl was given.
2639 if test "${with_opencl+set}" = set; then :
2640 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2644 # Check whether --with-opengl was given.
2645 if test "${with_opengl+set}" = set; then :
2646 withval=$with_opengl;
2650 # Check whether --with-openssl was given.
2651 if test "${with_openssl+set}" = set; then :
2652 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2656 # Check whether --with-oss was given.
2657 if test "${with_oss+set}" = set; then :
2662 # Check whether --with-png was given.
2663 if test "${with_png+set}" = set; then :
2664 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2668 # Check whether --with-pthread was given.
2669 if test "${with_pthread+set}" = set; then :
2670 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2674 # Check whether --with-sane was given.
2675 if test "${with_sane+set}" = set; then :
2680 # Check whether --with-tiff was given.
2681 if test "${with_tiff+set}" = set; then :
2682 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2686 # Check whether --with-v4l was given.
2687 if test "${with_v4l+set}" = set; then :
2692 # Check whether --with-xcomposite was given.
2693 if test "${with_xcomposite+set}" = set; then :
2694 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2698 # Check whether --with-xcursor was given.
2699 if test "${with_xcursor+set}" = set; then :
2700 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2704 # Check whether --with-xinerama was given.
2705 if test "${with_xinerama+set}" = set; then :
2706 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2710 # Check whether --with-xinput was given.
2711 if test "${with_xinput+set}" = set; then :
2712 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2716 # Check whether --with-xinput2 was given.
2717 if test "${with_xinput2+set}" = set; then :
2718 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2722 # Check whether --with-xml was given.
2723 if test "${with_xml+set}" = set; then :
2728 # Check whether --with-xrandr was given.
2729 if test "${with_xrandr+set}" = set; then :
2730 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2734 # Check whether --with-xrender was given.
2735 if test "${with_xrender+set}" = set; then :
2736 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2740 # Check whether --with-xshape was given.
2741 if test "${with_xshape+set}" = set; then :
2742 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2746 # Check whether --with-xshm was given.
2747 if test "${with_xshm+set}" = set; then :
2748 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2752 # Check whether --with-xslt was given.
2753 if test "${with_xslt+set}" = set; then :
2758 # Check whether --with-xxf86vm was given.
2759 if test "${with_xxf86vm+set}" = set; then :
2760 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
2764 # Check whether --with-zlib was given.
2765 if test "${with_zlib+set}" = set; then :
2766 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2771 # Check whether --with-wine-tools was given.
2772 if test "${with_wine_tools+set}" = set; then :
2773 withval=$with_wine_tools;
2777 # Check whether --with-wine64 was given.
2778 if test "${with_wine64+set}" = set; then :
2779 withval=$with_wine64;
2783 # Make sure we can run config.sub.
2784 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2785 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2788 $as_echo_n "checking build system type... " >&6; }
2789 if ${ac_cv_build+:} false; then :
2790 $as_echo_n "(cached) " >&6
2792 ac_build_alias=$build_alias
2793 test "x$ac_build_alias" = x &&
2794 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2795 test "x$ac_build_alias" = x &&
2796 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2797 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2798 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2802 $as_echo "$ac_cv_build" >&6; }
2803 case $ac_cv_build in
2805 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2808 ac_save_IFS=$IFS; IFS='-'
2814 # Remember, the first character of IFS is used to create $*,
2815 # except with old shells:
2818 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2822 $as_echo_n "checking host system type... " >&6; }
2823 if ${ac_cv_host+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test "x$host_alias" = x; then
2827 ac_cv_host=$ac_cv_build
2829 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2830 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2835 $as_echo "$ac_cv_host" >&6; }
2838 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2841 ac_save_IFS=$IFS; IFS='-'
2847 # Remember, the first character of IFS is used to create $*,
2848 # except with old shells:
2851 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2857 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2858 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2859 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2865 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2867 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2868 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2869 $as_echo_n "(cached) " >&6
2871 cat >conftest.make <<\_ACEOF
2874 @echo '@@@%%%=$(MAKE)=@@@%%%'
2876 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2877 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2879 eval ac_cv_prog_make_${ac_make}_set=yes;;
2881 eval ac_cv_prog_make_${ac_make}_set=no;;
2885 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2892 SET_MAKE="MAKE=${MAKE-make}"
2896 ac_cpp='$CPP $CPPFLAGS'
2897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2900 if test -n "$ac_tool_prefix"; then
2901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2902 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_CC+:} false; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC="$CC" # Let the user override the test.
2911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir=.
2916 for ac_exec_ext in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test -n "$CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 $as_echo "$CC" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2939 if test -z "$ac_cv_prog_CC"; then
2941 # Extract the first word of "gcc", so it can be a program name with args.
2942 set dummy gcc; ac_word=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$ac_ct_CC"; then
2949 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir=.
2956 for ac_exec_ext in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_ac_ct_CC="gcc"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2969 if test -n "$ac_ct_CC"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2971 $as_echo "$ac_ct_CC" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2977 if test "x$ac_ct_CC" = x; then
2980 case $cross_compiling:$ac_tool_warned in
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984 ac_tool_warned=yes ;;
2992 if test -z "$CC"; then
2993 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2995 set dummy ${ac_tool_prefix}cc; ac_word=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_CC+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$CC"; then
3002 ac_cv_prog_CC="$CC" # Let the user override the test.
3004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir=.
3009 for ac_exec_ext in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_CC="${ac_tool_prefix}cc"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 if test -n "$CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3024 $as_echo "$CC" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3033 if test -z "$CC"; then
3034 # Extract the first word of "cc", so it can be a program name with args.
3035 set dummy cc; ac_word=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_CC+:} false; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$CC"; then
3042 ac_cv_prog_CC="$CC" # Let the user override the test.
3045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir=.
3050 for ac_exec_ext in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3053 ac_prog_rejected=yes
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 if test $ac_prog_rejected = yes; then
3065 # We found a bogon in the path, so make sure we never use it.
3066 set dummy $ac_cv_prog_CC
3068 if test $# != 0; then
3069 # We chose a different compiler from the bogus one.
3070 # However, it has the same basename, so the bogon will be chosen
3071 # first if we set CC to just the basename; use the full file name.
3073 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3079 if test -n "$CC"; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3081 $as_echo "$CC" >&6; }
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084 $as_echo "no" >&6; }
3089 if test -z "$CC"; then
3090 if test -n "$ac_tool_prefix"; then
3091 for ac_prog in cl.exe
3093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3094 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if ${ac_cv_prog_CC+:} false; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC="$CC" # Let the user override the test.
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir=.
3108 for ac_exec_ext in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3130 test -n "$CC" && break
3133 if test -z "$CC"; then
3135 for ac_prog in cl.exe
3137 # Extract the first word of "$ac_prog", so it can be a program name with args.
3138 set dummy $ac_prog; ac_word=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$ac_ct_CC"; then
3145 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir=.
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_ac_ct_CC="$ac_prog"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3165 if test -n "$ac_ct_CC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3167 $as_echo "$ac_ct_CC" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$ac_ct_CC" && break
3177 if test "x$ac_ct_CC" = x; then
3180 case $cross_compiling:$ac_tool_warned in
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3184 ac_tool_warned=yes ;;
3193 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3195 as_fn_error $? "no acceptable C compiler found in \$PATH
3196 See \`config.log' for more details" "$LINENO" 5; }
3198 # Provide some information about the compiler.
3199 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3202 for ac_option in --version -v -V -qversion; do
3203 { { ac_try="$ac_compiler $ac_option >&5"
3205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3212 if test -s conftest.err; then
3214 ... rest of stderr output deleted ...
3215 10q' conftest.err >conftest.er1
3216 cat conftest.er1 >&5
3218 rm -f conftest.er1 conftest.err
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3234 ac_clean_files_save=$ac_clean_files
3235 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3236 # Try to create an executable without -o first, disregard a.out.
3237 # It will help us diagnose broken compilers, and finding out an intuition
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3240 $as_echo_n "checking whether the C compiler works... " >&6; }
3241 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3243 # The possible output files:
3244 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3247 for ac_file in $ac_files
3250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3251 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3256 if { { ac_try="$ac_link_default"
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_link_default") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; then :
3267 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3268 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3269 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3270 # so that the user can short-circuit this test for compilers unknown to
3272 for ac_file in $ac_files ''
3274 test -f "$ac_file" || continue
3276 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3279 # We found the default executable, but exeext='' is most
3283 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3285 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3287 # We set ac_cv_exeext here because the later test for it is not
3288 # safe: cross compilers may not add the suffix if given an `-o'
3289 # argument, so we may need to know it at that point already.
3290 # Even if this section looks crufty: it has the advantage of
3297 test "$ac_cv_exeext" = no && ac_cv_exeext=
3302 if test -z "$ac_file"; then :
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 $as_echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error 77 "C compiler cannot create executables
3311 See \`config.log' for more details" "$LINENO" 5; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3314 $as_echo "yes" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3317 $as_echo_n "checking for C compiler default output file name... " >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3319 $as_echo "$ac_file" >&6; }
3320 ac_exeext=$ac_cv_exeext
3322 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3323 ac_clean_files=$ac_clean_files_save
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3325 $as_echo_n "checking for suffix of executables... " >&6; }
3326 if { { ac_try="$ac_link"
3328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_link") 2>&5
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3338 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3339 # work properly (i.e., refer to `conftest.exe'), while it won't with
3341 for ac_file in conftest.exe conftest conftest.*; do
3342 test -f "$ac_file" || continue
3344 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3345 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3354 See \`config.log' for more details" "$LINENO" 5; }
3356 rm -f conftest conftest$ac_cv_exeext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3358 $as_echo "$ac_cv_exeext" >&6; }
3360 rm -f conftest.$ac_ext
3361 EXEEXT=$ac_cv_exeext
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3369 FILE *f = fopen ("conftest.out", "w");
3370 return ferror (f) || fclose (f) != 0;
3376 ac_clean_files="$ac_clean_files conftest.out"
3377 # Check that the compiler produces executables we can run. If not, either
3378 # the compiler is broken, or we cross compile.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3380 $as_echo_n "checking whether we are cross compiling... " >&6; }
3381 if test "$cross_compiling" != yes; then
3382 { { ac_try="$ac_link"
3384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389 (eval "$ac_link") 2>&5
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }
3393 if { ac_try='./conftest$ac_cv_exeext'
3394 { { case "(($ac_try" in
3395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_try") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; }; then
3406 if test "$cross_compiling" = maybe; then
3409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $? "cannot run C compiled programs.
3412 If you meant to cross compile, use \`--host'.
3413 See \`config.log' for more details" "$LINENO" 5; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3418 $as_echo "$cross_compiling" >&6; }
3420 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3421 ac_clean_files=$ac_clean_files_save
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3423 $as_echo_n "checking for suffix of object files... " >&6; }
3424 if ${ac_cv_objext+:} false; then :
3425 $as_echo_n "(cached) " >&6
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 rm -f conftest.o conftest.obj
3439 if { { ac_try="$ac_compile"
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445 $as_echo "$ac_try_echo"; } >&5
3446 (eval "$ac_compile") 2>&5
3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3449 test $ac_status = 0; }; then :
3450 for ac_file in conftest.o conftest.obj conftest.*; do
3451 test -f "$ac_file" || continue;
3453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3454 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3459 $as_echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $? "cannot compute suffix of object files: cannot compile
3465 See \`config.log' for more details" "$LINENO" 5; }
3467 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3470 $as_echo "$ac_cv_objext" >&6; }
3471 OBJEXT=$ac_cv_objext
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475 if ${ac_cv_c_compiler_gnu+:} false; then :
3476 $as_echo_n "(cached) " >&6
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3492 if ac_fn_c_try_compile "$LINENO"; then :
3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3502 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3503 if test $ac_compiler_gnu = yes; then
3508 ac_test_CFLAGS=${CFLAGS+set}
3509 ac_save_CFLAGS=$CFLAGS
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3511 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3512 if ${ac_cv_prog_cc_g+:} false; then :
3513 $as_echo_n "(cached) " >&6
3515 ac_save_c_werror_flag=$ac_c_werror_flag
3516 ac_c_werror_flag=yes
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3545 if ac_fn_c_try_compile "$LINENO"; then :
3548 ac_c_werror_flag=$ac_save_c_werror_flag
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3561 if ac_fn_c_try_compile "$LINENO"; then :
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 ac_c_werror_flag=$ac_save_c_werror_flag
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3572 $as_echo "$ac_cv_prog_cc_g" >&6; }
3573 if test "$ac_test_CFLAGS" = set; then
3574 CFLAGS=$ac_save_CFLAGS
3575 elif test $ac_cv_prog_cc_g = yes; then
3576 if test "$GCC" = yes; then
3582 if test "$GCC" = yes; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3589 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3590 if ${ac_cv_prog_cc_c89+:} false; then :
3591 $as_echo_n "(cached) " >&6
3593 ac_cv_prog_cc_c89=no
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3599 #include <sys/types.h>
3600 #include <sys/stat.h>
3601 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3602 struct buf { int x; };
3603 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3604 static char *e (p, i)
3610 static char *f (char * (*g) (char **, int), char **p, ...)
3615 s = g (p, va_arg (v,int));
3620 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3621 function prototypes and stuff, but not '\xHH' hex character constants.
3622 These don't provoke an error unfortunately, instead are silently treated
3623 as 'x'. The following induces an error, until -std is added to get
3624 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3625 array size at least. It's necessary to write '\x00'==0 to get something
3626 that's true only with -std. */
3627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3629 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3630 inside strings and character constants. */
3632 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3634 int test (int i, double x);
3635 struct s1 {int (*f) (int a);};
3636 struct s2 {int (*f) (double a);};
3637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3648 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3649 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3651 CC="$ac_save_CC $ac_arg"
3652 if ac_fn_c_try_compile "$LINENO"; then :
3653 ac_cv_prog_cc_c89=$ac_arg
3655 rm -f core conftest.err conftest.$ac_objext
3656 test "x$ac_cv_prog_cc_c89" != "xno" && break
3658 rm -f conftest.$ac_ext
3663 case "x$ac_cv_prog_cc_c89" in
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3666 $as_echo "none needed" >&6; } ;;
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3669 $as_echo "unsupported" >&6; } ;;
3671 CC="$CC $ac_cv_prog_cc_c89"
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3673 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3675 if test "x$ac_cv_prog_cc_c89" != xno; then :
3680 ac_cpp='$CPP $CPPFLAGS'
3681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3686 ac_cpp='$CXXCPP $CPPFLAGS'
3687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3690 if test -z "$CXX"; then
3691 if test -n "$CCC"; then
3694 if test -n "$ac_tool_prefix"; then
3695 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3698 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CXX+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$CXX"; then
3705 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test -n "$CXX"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3727 $as_echo "$CXX" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3734 test -n "$CXX" && break
3737 if test -z "$CXX"; then
3739 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3741 # Extract the first word of "$ac_prog", so it can be a program name with args.
3742 set dummy $ac_prog; ac_word=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -n "$ac_ct_CXX"; then
3749 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir=.
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3758 ac_cv_prog_ac_ct_CXX="$ac_prog"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3769 if test -n "$ac_ct_CXX"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3771 $as_echo "$ac_ct_CXX" >&6; }
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3778 test -n "$ac_ct_CXX" && break
3781 if test "x$ac_ct_CXX" = x; then
3784 case $cross_compiling:$ac_tool_warned in
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3788 ac_tool_warned=yes ;;
3796 # Provide some information about the compiler.
3797 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3800 for ac_option in --version -v -V -qversion; do
3801 { { ac_try="$ac_compiler $ac_option >&5"
3803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3804 *) ac_try_echo=$ac_try;;
3806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3807 $as_echo "$ac_try_echo"; } >&5
3808 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3810 if test -s conftest.err; then
3812 ... rest of stderr output deleted ...
3813 10q' conftest.err >conftest.er1
3814 cat conftest.er1 >&5
3816 rm -f conftest.er1 conftest.err
3817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818 test $ac_status = 0; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3822 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3823 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3824 $as_echo_n "(cached) " >&6
3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3840 if ac_fn_cxx_try_compile "$LINENO"; then :
3845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3846 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3850 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3851 if test $ac_compiler_gnu = yes; then
3856 ac_test_CXXFLAGS=${CXXFLAGS+set}
3857 ac_save_CXXFLAGS=$CXXFLAGS
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3859 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3860 if ${ac_cv_prog_cxx_g+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3864 ac_cxx_werror_flag=yes
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3878 if ac_fn_cxx_try_compile "$LINENO"; then :
3879 ac_cv_prog_cxx_g=yes
3882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3893 if ac_fn_cxx_try_compile "$LINENO"; then :
3896 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 if ac_fn_cxx_try_compile "$LINENO"; then :
3910 ac_cv_prog_cxx_g=yes
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3920 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3921 if test "$ac_test_CXXFLAGS" = set; then
3922 CXXFLAGS=$ac_save_CXXFLAGS
3923 elif test $ac_cv_prog_cxx_g = yes; then
3924 if test "$GXX" = yes; then
3930 if test "$GXX" = yes; then
3937 ac_cpp='$CPP $CPPFLAGS'
3938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3942 if test -n "$ac_tool_prefix"; then
3943 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3944 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_CPPBIN+:} false; then :
3948 $as_echo_n "(cached) " >&6
3950 if test -n "$CPPBIN"; then
3951 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir=.
3958 for ac_exec_ext in '' $ac_executable_extensions; do
3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3960 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 CPPBIN=$ac_cv_prog_CPPBIN
3971 if test -n "$CPPBIN"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3973 $as_echo "$CPPBIN" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3981 if test -z "$ac_cv_prog_CPPBIN"; then
3982 ac_ct_CPPBIN=$CPPBIN
3983 # Extract the first word of "cpp", so it can be a program name with args.
3984 set dummy cpp; ac_word=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
3988 $as_echo_n "(cached) " >&6
3990 if test -n "$ac_ct_CPPBIN"; then
3991 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_ac_ct_CPPBIN="cpp"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4011 if test -n "$ac_ct_CPPBIN"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4013 $as_echo "$ac_ct_CPPBIN" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4019 if test "x$ac_ct_CPPBIN" = x; then
4022 case $cross_compiling:$ac_tool_warned in
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4026 ac_tool_warned=yes ;;
4028 CPPBIN=$ac_ct_CPPBIN
4031 CPPBIN="$ac_cv_prog_CPPBIN"
4035 cat >>confdefs.h <<_ACEOF
4036 #define EXEEXT "$ac_exeext"
4042 if test "x$enable_win64" = "xyes"
4047 notice_platform="64-bit "
4054 notice_platform="32-bit "
4057 enable_win16=${enable_win16:-yes}
4061 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4066 $as_echo_n "checking whether $CC works... " >&6; }
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4079 if ac_fn_c_try_link "$LINENO"; then :
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4081 $as_echo "yes" >&6; }
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4084 $as_echo "no" >&6; }
4085 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4087 rm -f core conftest.err conftest.$ac_objext \
4088 conftest$ac_exeext conftest.$ac_ext
4090 notice_platform="32-bit "
4093 enable_win16=${enable_win16:-yes}
4095 if test "x${GCC}" = "xyes"
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4098 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4105 void func(__builtin_ms_va_list *args);
4110 if ac_fn_c_try_compile "$LINENO"; then :
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4112 $as_echo "yes" >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115 $as_echo "no" >&6; }
4116 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4124 *-mingw32*|*-cygwin*)
4125 enable_win16=${enable_win16:-no}
4126 CFLAGS="$CFLAGS -D_WIN32"
4129 enable_win16=${enable_win16:-yes}
4133 enable_win16=${enable_win16:-no}
4134 enable_win64=${enable_win64:-no}
4136 enable_winetest=${enable_winetest:-$enable_tests}
4138 if test -n "$with_wine64"
4140 if test "x$enable_win64" = "xyes"
4142 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4143 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4147 enable_fonts=${enable_fonts:-no}
4148 enable_server=${enable_server:-no}
4149 enable_tools=${enable_tools:-no}
4150 elif test "x$enable_win64" = "xyes"
4152 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4156 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4157 if ${wine_cv_toolsdir+:} false; then :
4158 $as_echo_n "(cached) " >&6
4160 wine_cv_toolsdir="$with_wine_tools"
4161 if test -z "$with_wine_tools"; then
4162 if test "$cross_compiling" = "yes"; then
4163 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4164 elif test -n "$with_wine64"; then
4165 wine_cv_toolsdir="$with_wine64"
4168 if test -z "$wine_cv_toolsdir"; then
4169 wine_cv_toolsdir="\$(top_builddir)"
4170 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4171 case "$wine_cv_toolsdir" in
4173 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4176 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4180 $as_echo "$wine_cv_toolsdir" >&6; }
4181 TOOLSDIR=$wine_cv_toolsdir
4183 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4185 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4191 # Extract the first word of "$ac_prog", so it can be a program name with args.
4192 set dummy $ac_prog; ac_word=$2
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194 $as_echo_n "checking for $ac_word... " >&6; }
4195 if ${ac_cv_prog_FLEX+:} false; then :
4196 $as_echo_n "(cached) " >&6
4198 if test -n "$FLEX"; then
4199 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir=.
4206 for ac_exec_ext in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208 ac_cv_prog_FLEX="$ac_prog"
4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 FLEX=$ac_cv_prog_FLEX
4219 if test -n "$FLEX"; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4221 $as_echo "$FLEX" >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224 $as_echo "no" >&6; }
4228 test -n "$FLEX" && break
4230 test -n "$FLEX" || FLEX="none"
4232 if test "$FLEX" = "none"
4234 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4237 $as_echo_n "checking whether flex is recent enough... " >&6; }
4238 cat >conftest.l <<EOF
4240 #include "prediluvian.h"
4244 if $FLEX -t conftest.l >/dev/null 2>&5
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4247 $as_echo "yes" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 $as_echo "no" >&6; }
4251 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4254 for ac_prog in bison
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy $ac_prog; ac_word=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_BISON+:} false; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$BISON"; then
4264 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir=.
4271 for ac_exec_ext in '' $ac_executable_extensions; do
4272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 ac_cv_prog_BISON="$ac_prog"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 BISON=$ac_cv_prog_BISON
4284 if test -n "$BISON"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4286 $as_echo "$BISON" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4293 test -n "$BISON" && break
4295 test -n "$BISON" || BISON="none"
4297 if test "$BISON" = "none"
4299 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4302 if test -n "$ac_tool_prefix"; then
4303 for ac_prog in ar gar
4305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4306 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_AR+:} false; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$AR"; then
4313 ac_cv_prog_AR="$AR" # Let the user override the test.
4315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir=.
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 if test -n "$AR"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4335 $as_echo "$AR" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$AR" && break
4345 if test -z "$AR"; then
4347 for ac_prog in ar gar
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy $ac_prog; ac_word=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_AR"; then
4357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir=.
4364 for ac_exec_ext in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_prog_ac_ct_AR="$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4377 if test -n "$ac_ct_AR"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4379 $as_echo "$ac_ct_AR" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$ac_ct_AR" && break
4389 if test "x$ac_ct_AR" = x; then
4392 case $cross_compiling:$ac_tool_warned in
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4396 ac_tool_warned=yes ;;
4404 if test -n "$ac_tool_prefix"; then
4405 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4406 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if ${ac_cv_prog_RANLIB+:} false; then :
4410 $as_echo_n "(cached) " >&6
4412 if test -n "$RANLIB"; then
4413 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 RANLIB=$ac_cv_prog_RANLIB
4433 if test -n "$RANLIB"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4435 $as_echo "$RANLIB" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4443 if test -z "$ac_cv_prog_RANLIB"; then
4444 ac_ct_RANLIB=$RANLIB
4445 # Extract the first word of "ranlib", so it can be a program name with args.
4446 set dummy ranlib; ac_word=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -n "$ac_ct_RANLIB"; then
4453 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir=.
4460 for ac_exec_ext in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_ac_ct_RANLIB="ranlib"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4473 if test -n "$ac_ct_RANLIB"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4475 $as_echo "$ac_ct_RANLIB" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4481 if test "x$ac_ct_RANLIB" = x; then
4484 case $cross_compiling:$ac_tool_warned in
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4488 ac_tool_warned=yes ;;
4490 RANLIB=$ac_ct_RANLIB
4493 RANLIB="$ac_cv_prog_RANLIB"
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4497 $as_echo_n "checking whether ln -s works... " >&6; }
4499 if test "$LN_S" = "ln -s"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4501 $as_echo "yes" >&6; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4504 $as_echo "no, using $LN_S" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4508 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4509 if ${ac_cv_path_GREP+:} false; then :
4510 $as_echo_n "(cached) " >&6
4512 if test -z "$GREP"; then
4513 ac_path_GREP_found=false
4514 # Loop through the user's path and test for each of PROGNAME-LIST
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4519 test -z "$as_dir" && as_dir=.
4520 for ac_prog in grep ggrep; do
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4523 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4524 # Check for GNU ac_path_GREP and select it if it is found.
4525 # Check for GNU $ac_path_GREP
4526 case `"$ac_path_GREP" --version 2>&1` in
4528 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4531 $as_echo_n 0123456789 >"conftest.in"
4534 cat "conftest.in" "conftest.in" >"conftest.tmp"
4535 mv "conftest.tmp" "conftest.in"
4536 cp "conftest.in" "conftest.nl"
4537 $as_echo 'GREP' >> "conftest.nl"
4538 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4539 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4540 as_fn_arith $ac_count + 1 && ac_count=$as_val
4541 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4542 # Best one so far, save it but keep looking for a better one
4543 ac_cv_path_GREP="$ac_path_GREP"
4544 ac_path_GREP_max=$ac_count
4546 # 10*(2^10) chars as input seems more than enough
4547 test $ac_count -gt 10 && break
4549 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4552 $ac_path_GREP_found && break 3
4557 if test -z "$ac_cv_path_GREP"; then
4558 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4561 ac_cv_path_GREP=$GREP
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4566 $as_echo "$ac_cv_path_GREP" >&6; }
4567 GREP="$ac_cv_path_GREP"
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4571 $as_echo_n "checking for egrep... " >&6; }
4572 if ${ac_cv_path_EGREP+:} false; then :
4573 $as_echo_n "(cached) " >&6
4575 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4576 then ac_cv_path_EGREP="$GREP -E"
4578 if test -z "$EGREP"; then
4579 ac_path_EGREP_found=false
4580 # Loop through the user's path and test for each of PROGNAME-LIST
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4585 test -z "$as_dir" && as_dir=.
4586 for ac_prog in egrep; do
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4589 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4590 # Check for GNU ac_path_EGREP and select it if it is found.
4591 # Check for GNU $ac_path_EGREP
4592 case `"$ac_path_EGREP" --version 2>&1` in
4594 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4597 $as_echo_n 0123456789 >"conftest.in"
4600 cat "conftest.in" "conftest.in" >"conftest.tmp"
4601 mv "conftest.tmp" "conftest.in"
4602 cp "conftest.in" "conftest.nl"
4603 $as_echo 'EGREP' >> "conftest.nl"
4604 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4605 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4606 as_fn_arith $ac_count + 1 && ac_count=$as_val
4607 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4608 # Best one so far, save it but keep looking for a better one
4609 ac_cv_path_EGREP="$ac_path_EGREP"
4610 ac_path_EGREP_max=$ac_count
4612 # 10*(2^10) chars as input seems more than enough
4613 test $ac_count -gt 10 && break
4615 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4618 $ac_path_EGREP_found && break 3
4623 if test -z "$ac_cv_path_EGREP"; then
4624 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4627 ac_cv_path_EGREP=$EGREP
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4633 $as_echo "$ac_cv_path_EGREP" >&6; }
4634 EGREP="$ac_cv_path_EGREP"
4637 # Extract the first word of "ldconfig", so it can be a program name with args.
4638 set dummy ldconfig; ac_word=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_path_LDCONFIG+:} false; then :
4642 $as_echo_n "(cached) " >&6
4646 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650 for as_dir in /sbin /usr/sbin $PATH
4653 test -z "$as_dir" && as_dir=.
4654 for ac_exec_ext in '' $ac_executable_extensions; do
4655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4668 LDCONFIG=$ac_cv_path_LDCONFIG
4669 if test -n "$LDCONFIG"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4671 $as_echo "$LDCONFIG" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4678 # Find a good install program. We prefer a C program (faster),
4679 # so one script is as good as another. But avoid the broken or
4680 # incompatible versions:
4681 # SysV /etc/install, /usr/sbin/install
4682 # SunOS /usr/etc/install
4683 # IRIX /sbin/install
4685 # AmigaOS /C/install, which installs bootblocks on floppy discs
4686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4689 # OS/2's system install, which has a completely different semantic
4690 # ./install, which can be erroneously created by make from ./install.sh.
4691 # Reject install programs that cannot install multiple files.
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4693 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4694 if test -z "$INSTALL"; then
4695 if ${ac_cv_path_install+:} false; then :
4696 $as_echo_n "(cached) " >&6
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir=.
4703 # Account for people who put trailing slashes in PATH elements.
4704 case $as_dir/ in #((
4705 ./ | .// | /[cC]/* | \
4706 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4707 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4710 # OSF1 and SCO ODT 3.0 have their own names for install.
4711 # Don't use installbsd from OSF since it installs stuff as root
4713 for ac_prog in ginstall scoinst install; do
4714 for ac_exec_ext in '' $ac_executable_extensions; do
4715 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4716 if test $ac_prog = install &&
4717 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4718 # AIX install. It has an incompatible calling convention.
4720 elif test $ac_prog = install &&
4721 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4722 # program-specific install script used by HP pwplus--don't use.
4725 rm -rf conftest.one conftest.two conftest.dir
4726 echo one > conftest.one
4727 echo two > conftest.two
4729 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4730 test -s conftest.one && test -s conftest.two &&
4731 test -s conftest.dir/conftest.one &&
4732 test -s conftest.dir/conftest.two
4734 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4747 rm -rf conftest.one conftest.two conftest.dir
4750 if test "${ac_cv_path_install+set}" = set; then
4751 INSTALL=$ac_cv_path_install
4753 # As a last resort, use the slow shell script. Don't cache a
4754 # value for INSTALL within a source directory, because that will
4755 # break other packages using the cache if that directory is
4756 # removed, or if the value is a relative name.
4757 INSTALL=$ac_install_sh
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4761 $as_echo "$INSTALL" >&6; }
4763 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4764 # It thinks the first close brace ends the variable substitution.
4765 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4767 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4769 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4772 [\\/$]* | ?:[\\/]* ) ;;
4773 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4776 for ac_prog in lclint lint
4778 # Extract the first word of "$ac_prog", so it can be a program name with args.
4779 set dummy $ac_prog; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_LINT+:} false; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$LINT"; then
4786 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_LINT="$ac_prog"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 LINT=$ac_cv_prog_LINT
4806 if test -n "$LINT"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4808 $as_echo "$LINT" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4815 test -n "$LINT" && break
4818 if test "$LINT" = "lint"
4820 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4824 for ac_prog in fontforge
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy $ac_prog; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_FONTFORGE+:} false; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$FONTFORGE"; then
4834 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843 ac_cv_prog_FONTFORGE="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 FONTFORGE=$ac_cv_prog_FONTFORGE
4854 if test -n "$FONTFORGE"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4856 $as_echo "$FONTFORGE" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$FONTFORGE" && break
4865 test -n "$FONTFORGE" || FONTFORGE="false"
4867 for ac_prog in pkg-config
4869 # Extract the first word of "$ac_prog", so it can be a program name with args.
4870 set dummy $ac_prog; ac_word=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4874 $as_echo_n "(cached) " >&6
4876 if test -n "$PKG_CONFIG"; then
4877 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4883 test -z "$as_dir" && as_dir=.
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4886 ac_cv_prog_PKG_CONFIG="$ac_prog"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4897 if test -n "$PKG_CONFIG"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4899 $as_echo "$PKG_CONFIG" >&6; }
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4906 test -n "$PKG_CONFIG" && break
4908 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy $ac_prog; ac_word=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_RSVG+:} false; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$RSVG"; then
4920 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir=.
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4929 ac_cv_prog_RSVG="$ac_prog"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 RSVG=$ac_cv_prog_RSVG
4940 if test -n "$RSVG"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4942 $as_echo "$RSVG" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4949 test -n "$RSVG" && break
4951 test -n "$RSVG" || RSVG="false"
4953 for ac_prog in convert
4955 # Extract the first word of "$ac_prog", so it can be a program name with args.
4956 set dummy $ac_prog; ac_word=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if ${ac_cv_prog_CONVERT+:} false; then :
4960 $as_echo_n "(cached) " >&6
4962 if test -n "$CONVERT"; then
4963 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir=.
4970 for ac_exec_ext in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_prog_CONVERT="$ac_prog"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 CONVERT=$ac_cv_prog_CONVERT
4983 if test -n "$CONVERT"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4985 $as_echo "$CONVERT" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4992 test -n "$CONVERT" && break
4994 test -n "$CONVERT" || CONVERT="false"
4996 for ac_prog in icotool
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy $ac_prog; ac_word=$2
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001 $as_echo_n "checking for $ac_word... " >&6; }
5002 if ${ac_cv_prog_ICOTOOL+:} false; then :
5003 $as_echo_n "(cached) " >&6
5005 if test -n "$ICOTOOL"; then
5006 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir=.
5013 for ac_exec_ext in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_ICOTOOL="$ac_prog"
5016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 ICOTOOL=$ac_cv_prog_ICOTOOL
5026 if test -n "$ICOTOOL"; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5028 $as_echo "$ICOTOOL" >&6; }
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5035 test -n "$ICOTOOL" && break
5037 test -n "$ICOTOOL" || ICOTOOL="false"
5039 for ac_prog in msgfmt
5041 # Extract the first word of "$ac_prog", so it can be a program name with args.
5042 set dummy $ac_prog; ac_word=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_MSGFMT+:} false; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -n "$MSGFMT"; then
5049 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_prog_MSGFMT="$ac_prog"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 MSGFMT=$ac_cv_prog_MSGFMT
5069 if test -n "$MSGFMT"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5071 $as_echo "$MSGFMT" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5078 test -n "$MSGFMT" && break
5080 test -n "$MSGFMT" || MSGFMT="false"
5083 if test "x$enable_maintainer_mode" != "xyes"
5088 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5089 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5091 if test "$CONVERT" = false
5093 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5096 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5097 convert_version=`convert --version | head -n1`
5098 if test "x$convert_version" != "x"
5100 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5101 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5102 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5107 if test "$CONVERT" = false
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5110 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5111 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5114 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5118 if test "$ICOTOOL" = false
5120 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5123 $as_echo_n "checking for recent enough icotool... " >&6; }
5124 icotool_version=`icotool --version | head -n1`
5125 if test "x$icotool_version" != "x"
5127 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5128 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5129 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5132 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5135 if test "$ICOTOOL" = false
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5138 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5139 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5142 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5148 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5151 test "x$with_gettext" != xno || MSGFMT=false
5152 if test "$MSGFMT" = false; then :
5153 case "x$with_gettext" in
5154 x) as_fn_append wine_warnings "|gettext tools not found, translations won't be built." ;;
5156 *) as_fn_error $? "gettext tools not found, translations won't be built.
5157 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5163 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5164 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5165 $as_echo_n "(cached) " >&6
5167 ac_check_lib_save_LIBS=$LIBS
5169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5178 char i386_set_ldt ();
5182 return i386_set_ldt ();
5187 if ac_fn_c_try_link "$LINENO"; then :
5188 ac_cv_lib_i386_i386_set_ldt=yes
5190 ac_cv_lib_i386_i386_set_ldt=no
5192 rm -f core conftest.err conftest.$ac_objext \
5193 conftest$ac_exeext conftest.$ac_ext
5194 LIBS=$ac_check_lib_save_LIBS
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5197 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5198 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5199 cat >>confdefs.h <<_ACEOF
5200 #define HAVE_LIBI386 1
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5208 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5209 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5210 $as_echo_n "(cached) " >&6
5212 ac_check_lib_save_LIBS=$LIBS
5213 LIBS="-lossaudio $LIBS"
5214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h. */
5217 /* Override any GCC internal prototype to avoid an error.
5218 Use char because int might match the return type of a GCC
5219 builtin and then its argument prototype would still apply. */
5227 return _oss_ioctl ();
5232 if ac_fn_c_try_link "$LINENO"; then :
5233 ac_cv_lib_ossaudio__oss_ioctl=yes
5235 ac_cv_lib_ossaudio__oss_ioctl=no
5237 rm -f core conftest.err conftest.$ac_objext \
5238 conftest$ac_exeext conftest.$ac_ext
5239 LIBS=$ac_check_lib_save_LIBS
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5242 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5243 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5244 cat >>confdefs.h <<_ACEOF
5245 #define HAVE_LIBOSSAUDIO 1
5248 LIBS="-lossaudio $LIBS"
5259 # Check whether --enable-largefile was given.
5260 if test "${enable_largefile+set}" = set; then :
5261 enableval=$enable_largefile;
5264 if test "$enable_largefile" != no; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5267 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5268 if ${ac_cv_sys_largefile_CC+:} false; then :
5269 $as_echo_n "(cached) " >&6
5271 ac_cv_sys_largefile_CC=no
5272 if test "$GCC" != yes; then
5275 # IRIX 6.2 and later do not support large files by default,
5276 # so use the C compiler's -n32 option if that helps.
5277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5279 #include <sys/types.h>
5280 /* Check that off_t can represent 2**63 - 1 correctly.
5281 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5282 since some C++ compilers masquerading as C compilers
5283 incorrectly reject 9223372036854775807. */
5284 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5285 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5286 && LARGE_OFF_T % 2147483647 == 1)
5296 if ac_fn_c_try_compile "$LINENO"; then :
5299 rm -f core conftest.err conftest.$ac_objext
5301 if ac_fn_c_try_compile "$LINENO"; then :
5302 ac_cv_sys_largefile_CC=' -n32'; break
5304 rm -f core conftest.err conftest.$ac_objext
5308 rm -f conftest.$ac_ext
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5312 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5313 if test "$ac_cv_sys_largefile_CC" != no; then
5314 CC=$CC$ac_cv_sys_largefile_CC
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5318 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5319 if ${ac_cv_sys_file_offset_bits+:} false; then :
5320 $as_echo_n "(cached) " >&6
5323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5325 #include <sys/types.h>
5326 /* Check that off_t can represent 2**63 - 1 correctly.
5327 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5328 since some C++ compilers masquerading as C compilers
5329 incorrectly reject 9223372036854775807. */
5330 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5331 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5332 && LARGE_OFF_T % 2147483647 == 1)
5342 if ac_fn_c_try_compile "$LINENO"; then :
5343 ac_cv_sys_file_offset_bits=no; break
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5348 #define _FILE_OFFSET_BITS 64
5349 #include <sys/types.h>
5350 /* Check that off_t can represent 2**63 - 1 correctly.
5351 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5352 since some C++ compilers masquerading as C compilers
5353 incorrectly reject 9223372036854775807. */
5354 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5355 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5356 && LARGE_OFF_T % 2147483647 == 1)
5366 if ac_fn_c_try_compile "$LINENO"; then :
5367 ac_cv_sys_file_offset_bits=64; break
5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5370 ac_cv_sys_file_offset_bits=unknown
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5375 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5376 case $ac_cv_sys_file_offset_bits in #(
5379 cat >>confdefs.h <<_ACEOF
5380 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5385 if test $ac_cv_sys_file_offset_bits = unknown; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5387 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5388 if ${ac_cv_sys_large_files+:} false; then :
5389 $as_echo_n "(cached) " >&6
5392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5393 /* end confdefs.h. */
5394 #include <sys/types.h>
5395 /* Check that off_t can represent 2**63 - 1 correctly.
5396 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5397 since some C++ compilers masquerading as C compilers
5398 incorrectly reject 9223372036854775807. */
5399 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5400 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5401 && LARGE_OFF_T % 2147483647 == 1)
5411 if ac_fn_c_try_compile "$LINENO"; then :
5412 ac_cv_sys_large_files=no; break
5414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5417 #define _LARGE_FILES 1
5418 #include <sys/types.h>
5419 /* Check that off_t can represent 2**63 - 1 correctly.
5420 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5421 since some C++ compilers masquerading as C compilers
5422 incorrectly reject 9223372036854775807. */
5423 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5424 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5425 && LARGE_OFF_T % 2147483647 == 1)
5435 if ac_fn_c_try_compile "$LINENO"; then :
5436 ac_cv_sys_large_files=1; break
5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5439 ac_cv_sys_large_files=unknown
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5444 $as_echo "$ac_cv_sys_large_files" >&6; }
5445 case $ac_cv_sys_large_files in #(
5448 cat >>confdefs.h <<_ACEOF
5449 #define _LARGE_FILES $ac_cv_sys_large_files
5459 ac_cpp='$CPP $CPPFLAGS'
5460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5464 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5465 # On Suns, sometimes $CPP names a directory.
5466 if test -n "$CPP" && test -d "$CPP"; then
5469 if test -z "$CPP"; then
5470 if ${ac_cv_prog_CPP+:} false; then :
5471 $as_echo_n "(cached) " >&6
5473 # Double quotes because CPP needs to be expanded
5474 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
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 :
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5534 $as_echo "$CPP" >&6; }
5536 for ac_c_preproc_warn_flag in '' yes
5538 # Use a header file that comes with gcc, so configuring glibc
5539 # with a fresh cross-compiler works.
5540 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5541 # <limits.h> exists even on freestanding compilers.
5542 # On the NeXT, cc -E runs the code through the compiler's parser,
5543 # not just through cpp. "Syntax error" is here to catch this case.
5544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5547 # include <limits.h>
5549 # include <assert.h>
5553 if ac_fn_c_try_cpp "$LINENO"; then :
5556 # Broken: fails on valid input.
5559 rm -f conftest.err conftest.i conftest.$ac_ext
5561 # OK, works on sane cases. Now check whether nonexistent headers
5562 # can be detected and how.
5563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5564 /* end confdefs.h. */
5565 #include <ac_nonexistent.h>
5567 if ac_fn_c_try_cpp "$LINENO"; then :
5568 # Broken: success on invalid input.
5571 # Passes both tests.
5575 rm -f conftest.err conftest.i conftest.$ac_ext
5578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5579 rm -f conftest.i conftest.err conftest.$ac_ext
5580 if $ac_preproc_ok; then :
5583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5585 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5586 See \`config.log' for more details" "$LINENO" 5; }
5590 ac_cpp='$CPP $CPPFLAGS'
5591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5597 $as_echo_n "checking for ANSI C header files... " >&6; }
5598 if ${ac_cv_header_stdc+:} false; then :
5599 $as_echo_n "(cached) " >&6
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5616 if ac_fn_c_try_compile "$LINENO"; then :
5617 ac_cv_header_stdc=yes
5619 ac_cv_header_stdc=no
5621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5623 if test $ac_cv_header_stdc = yes; then
5624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5631 $EGREP "memchr" >/dev/null 2>&1; then :
5634 ac_cv_header_stdc=no
5640 if test $ac_cv_header_stdc = yes; then
5641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5648 $EGREP "free" >/dev/null 2>&1; then :
5651 ac_cv_header_stdc=no
5657 if test $ac_cv_header_stdc = yes; then
5658 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5659 if test "$cross_compiling" = yes; then :
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5666 #if ((' ' & 0x0FF) == 0x020)
5667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5670 # define ISLOWER(c) \
5671 (('a' <= (c) && (c) <= 'i') \
5672 || ('j' <= (c) && (c) <= 'r') \
5673 || ('s' <= (c) && (c) <= 'z'))
5674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5682 for (i = 0; i < 256; i++)
5683 if (XOR (islower (i), ISLOWER (i))
5684 || toupper (i) != TOUPPER (i))
5689 if ac_fn_c_try_run "$LINENO"; then :
5692 ac_cv_header_stdc=no
5694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5695 conftest.$ac_objext conftest.beam conftest.$ac_ext
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5701 $as_echo "$ac_cv_header_stdc" >&6; }
5702 if test $ac_cv_header_stdc = yes; then
5704 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5708 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5709 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5710 inttypes.h stdint.h unistd.h
5712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5713 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5716 cat >>confdefs.h <<_ACEOF
5717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5727 ApplicationServices/ApplicationServices.h \
5728 AudioToolbox/AudioConverter.h \
5729 AudioUnit/AudioUnit.h \
5730 AudioUnit/AudioComponent.h \
5733 CoreAudio/CoreAudio.h \
5734 DiskArbitration/DiskArbitration.h \
5736 IOKit/hid/IOHIDLib.h \
5739 QuickTime/ImageCompression.h \
5740 Security/Security.h \
5754 fontconfig/fontconfig.h \
5793 netinet/in_systm.h \
5860 valgrind/memcheck.h \
5861 valgrind/valgrind.h \
5865 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5866 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5867 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5868 cat >>confdefs.h <<_ACEOF
5869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5877 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5878 if ${ac_cv_header_stat_broken+:} false; then :
5879 $as_echo_n "(cached) " >&6
5881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5883 #include <sys/types.h>
5884 #include <sys/stat.h>
5886 #if defined S_ISBLK && defined S_IFDIR
5887 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5890 #if defined S_ISBLK && defined S_IFCHR
5891 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5894 #if defined S_ISLNK && defined S_IFREG
5895 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5898 #if defined S_ISSOCK && defined S_IFREG
5899 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5903 if ac_fn_c_try_compile "$LINENO"; then :
5904 ac_cv_header_stat_broken=no
5906 ac_cv_header_stat_broken=yes
5908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5911 $as_echo "$ac_cv_header_stat_broken" >&6; }
5912 if test $ac_cv_header_stat_broken = yes; then
5914 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5920 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5922 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5923 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5924 #ifdef HAVE_SYS_PARAM_H
5925 # include <sys/param.h>
5928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5929 cat >>confdefs.h <<_ACEOF
5930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5945 netinet/if_ether.h \
5946 netinet/if_inarp.h \
5954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5955 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5956 #ifdef HAVE_SYS_SOCKET_H
5957 # include <sys/socket.h>
5959 #ifdef HAVE_SYS_SOCKETVAR_H
5960 # include <sys/socketvar.h>
5962 #ifdef HAVE_NET_ROUTE_H
5963 # include <net/route.h>
5965 #ifdef HAVE_NETINET_IN_H
5966 # include <netinet/in.h>
5968 #ifdef HAVE_NETINET_IN_SYSTM_H
5969 # include <netinet/in_systm.h>
5971 #ifdef HAVE_NET_IF_H
5972 # include <net/if.h>
5974 #ifdef HAVE_NETINET_IP_H
5975 # include <netinet/ip.h>
5978 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5979 cat >>confdefs.h <<_ACEOF
5980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5988 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
5990 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5991 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5995 #ifdef HAVE_SYS_SOCKET_H
5996 # include <sys/socket.h>
5998 #ifdef HAVE_SYS_SOCKETVAR_H
5999 # include <sys/socketvar.h>
6001 #ifdef HAVE_SYS_TIMEOUT_H
6002 # include <sys/timeout.h>
6004 #ifdef HAVE_NETINET_IN_H
6005 # include <netinet/in.h>
6007 #ifdef HAVE_NETINET_IN_SYSTM_H
6008 # include <netinet/in_systm.h>
6010 #ifdef HAVE_NETINET_IP_H
6011 # include <netinet/ip.h>
6013 #ifdef HAVE_NETINET_IP_VAR_H
6014 # include <netinet/ip_var.h>
6016 #ifdef HAVE_NETINET_IP_ICMP_H
6017 # include <netinet/ip_icmp.h>
6019 #ifdef HAVE_NETINET_UDP_H
6020 # include <netinet/udp.h>
6022 #ifdef HAVE_NETINET_TCP_H
6023 # include <netinet/tcp.h>
6025 #ifdef HAVE_NETINET_TCP_TIMER_H
6026 #include <netinet/tcp_timer.h>
6029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6030 cat >>confdefs.h <<_ACEOF
6031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6039 for ac_header in linux/ipx.h linux/irda.h
6041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6043 #ifdef HAVE_ASM_TYPES_H
6044 # include <asm/types.h>
6046 #ifdef HAVE_SYS_SOCKET_H
6047 # include <sys/socket.h>
6049 #ifdef HAVE_LINUX_TYPES_H
6050 # include <linux/types.h>
6053 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6054 cat >>confdefs.h <<_ACEOF
6055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6063 for ac_header in mach-o/dyld_images.h
6065 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6066 # include <stdbool.h>
6068 #ifdef HAVE_STDINT_H
6069 # include <stdint.h>
6072 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6073 cat >>confdefs.h <<_ACEOF
6074 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6082 for ac_header in resolv.h
6084 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6085 #ifdef HAVE_SYS_SOCKET_H
6086 # include <sys/socket.h>
6088 #ifdef HAVE_NETINET_IN_H
6089 # include <netinet/in.h>
6091 #ifdef HAVE_ARPA_NAMESER_H
6092 # include <arpa/nameser.h>
6095 if test "x$ac_cv_header_resolv_h" = xyes; then :
6096 cat >>confdefs.h <<_ACEOF
6097 #define HAVE_RESOLV_H 1
6105 for ac_header in ifaddrs.h
6107 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6109 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6110 cat >>confdefs.h <<_ACEOF
6111 #define HAVE_IFADDRS_H 1
6119 for ac_header in ucontext.h
6121 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6123 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6124 cat >>confdefs.h <<_ACEOF
6125 #define HAVE_UCONTEXT_H 1
6133 for ac_header in sys/thr.h
6135 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6136 #ifdef HAVE_UCONTEXT_H
6137 #include <ucontext.h>
6140 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6141 cat >>confdefs.h <<_ACEOF
6142 #define HAVE_SYS_THR_H 1
6150 for ac_header in pthread_np.h
6152 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6153 #include <pthread.h>
6156 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6157 cat >>confdefs.h <<_ACEOF
6158 #define HAVE_PTHREAD_NP_H 1
6166 for ac_header in linux/videodev.h linux/videodev2.h
6168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6169 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6170 #include <sys/time.h>
6172 #include <sys/types.h>
6173 #ifdef HAVE_ASM_TYPES_H
6174 #include <asm/types.h>
6177 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6178 cat >>confdefs.h <<_ACEOF
6179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6187 for ac_header in linux/capi.h
6189 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6191 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6192 cat >>confdefs.h <<_ACEOF
6193 #define HAVE_LINUX_CAPI_H 1
6204 DLLFLAGS="-D_REENTRANT"
6218 STATIC_IMPLIBEXT="def.a"
6219 # Extract the first word of "ldd", so it can be a program name with args.
6220 set dummy ldd; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if ${ac_cv_path_LDD+:} false; then :
6224 $as_echo_n "(cached) " >&6
6228 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 as_dummy="/sbin:/usr/sbin:$PATH"
6233 for as_dir in $as_dummy
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6252 if test -n "$LDD"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6254 $as_echo "$LDD" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 $as_echo "no" >&6; }
6264 if test -n "$ac_tool_prefix"; then
6265 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6266 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6268 $as_echo_n "checking for $ac_word... " >&6; }
6269 if ${ac_cv_prog_DLLTOOL+:} false; then :
6270 $as_echo_n "(cached) " >&6
6272 if test -n "$DLLTOOL"; then
6273 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6279 test -z "$as_dir" && as_dir=.
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6282 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 DLLTOOL=$ac_cv_prog_DLLTOOL
6293 if test -n "$DLLTOOL"; then
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6295 $as_echo "$DLLTOOL" >&6; }
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6298 $as_echo "no" >&6; }
6303 if test -z "$ac_cv_prog_DLLTOOL"; then
6304 ac_ct_DLLTOOL=$DLLTOOL
6305 # Extract the first word of "dlltool", so it can be a program name with args.
6306 set dummy dlltool; ac_word=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6310 $as_echo_n "(cached) " >&6
6312 if test -n "$ac_ct_DLLTOOL"; then
6313 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir=.
6320 for ac_exec_ext in '' $ac_executable_extensions; do
6321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6322 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6333 if test -n "$ac_ct_DLLTOOL"; then
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6335 $as_echo "$ac_ct_DLLTOOL" >&6; }
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338 $as_echo "no" >&6; }
6341 if test "x$ac_ct_DLLTOOL" = x; then
6344 case $cross_compiling:$ac_tool_warned in
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6348 ac_tool_warned=yes ;;
6350 DLLTOOL=$ac_ct_DLLTOOL
6353 DLLTOOL="$ac_cv_prog_DLLTOOL"
6356 if test -n "$ac_tool_prefix"; then
6357 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6358 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360 $as_echo_n "checking for $ac_word... " >&6; }
6361 if ${ac_cv_prog_DLLWRAP+:} false; then :
6362 $as_echo_n "(cached) " >&6
6364 if test -n "$DLLWRAP"; then
6365 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6371 test -z "$as_dir" && as_dir=.
6372 for ac_exec_ext in '' $ac_executable_extensions; do
6373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6374 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6384 DLLWRAP=$ac_cv_prog_DLLWRAP
6385 if test -n "$DLLWRAP"; then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6387 $as_echo "$DLLWRAP" >&6; }
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6390 $as_echo "no" >&6; }
6395 if test -z "$ac_cv_prog_DLLWRAP"; then
6396 ac_ct_DLLWRAP=$DLLWRAP
6397 # Extract the first word of "dllwrap", so it can be a program name with args.
6398 set dummy dllwrap; ac_word=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$ac_ct_DLLWRAP"; then
6405 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir=.
6412 for ac_exec_ext in '' $ac_executable_extensions; do
6413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6414 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6425 if test -n "$ac_ct_DLLWRAP"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6427 $as_echo "$ac_ct_DLLWRAP" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6433 if test "x$ac_ct_DLLWRAP" = x; then
6436 case $cross_compiling:$ac_tool_warned in
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6440 ac_tool_warned=yes ;;
6442 DLLWRAP=$ac_ct_DLLWRAP
6445 DLLWRAP="$ac_cv_prog_DLLWRAP"
6448 if test "$DLLWRAP" = "false"; then
6454 STATIC_IMPLIBEXT="a"
6455 enable_iphlpapi=${enable_iphlpapi:-no}
6456 enable_kernel32=${enable_kernel32:-no}
6457 enable_msvcrt=${enable_msvcrt:-no}
6458 enable_ntdll=${enable_ntdll:-no}
6459 enable_ws2_32=${enable_ws2_32:-no}
6460 enable_loader=${enable_loader:-no}
6461 enable_server=${enable_server:-no}
6462 with_x=${with_x:-no}
6463 with_pthread=${with_pthread:-no}
6468 DLLFLAGS="$DLLFLAGS -fPIC"
6469 LDDLLFLAGS="-bundle -multiply_defined suppress"
6470 LIBWINE_LDFLAGS="-multiply_defined suppress"
6471 LDSHARED="\$(CC) -dynamiclib"
6472 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6473 COREFOUNDATIONLIB="-framework CoreFoundation"
6475 IOKITLIB="-framework IOKit -framework CoreFoundation"
6477 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6481 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6484 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6487 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6489 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6492 if test "$ac_cv_header_Security_Security_h" = "yes"
6494 SECURITYLIB="-framework Security -framework CoreFoundation"
6496 ac_save_LIBS="$LIBS"
6497 LIBS="$LIBS $SECURITYLIB"
6498 for ac_func in SSLCopyPeerCertificates
6500 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6501 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6502 cat >>confdefs.h <<_ACEOF
6503 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6509 LIBS="$ac_save_LIBS"
6510 with_gnutls=${with_gnutls:-no}
6512 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6514 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6516 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6519 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6522 ac_save_LIBS="$LIBS"
6523 LIBS="$LIBS $COREAUDIO"
6524 for ac_func in AUGraphAddNode
6526 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6527 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6528 cat >>confdefs.h <<_ACEOF
6529 #define HAVE_AUGRAPHADDNODE 1
6535 LIBS="$ac_save_LIBS"
6537 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6539 FRAMEWORK_OPENAL="-framework OpenAL"
6542 cat >>confdefs.h <<_ACEOF
6543 #define HAVE_OPENAL 1
6546 ac_cv_lib_openal=yes
6548 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6550 LIBOPENCL="-framework OpenCL"
6552 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6554 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6556 ac_save_LIBS="$LIBS"
6557 LIBS="$LIBS $IOKITLIB"
6558 for ac_func in IOHIDManagerCreate
6560 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6561 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6562 cat >>confdefs.h <<_ACEOF
6563 #define HAVE_IOHIDMANAGERCREATE 1
6569 LIBS="$ac_save_LIBS"
6573 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6575 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6577 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6579 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6581 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6583 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6585 CARBONLIB="-framework Carbon"
6587 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6589 if test "x$enable_win16" = "xyes"
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6592 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6593 if test "$cross_compiling" = yes; then :
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6595 $as_echo "cross-compiling, assuming yes" >&6; }
6597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6601 "good:\tnop;nop\n\t"
6602 ".globl _testfunc\n"
6603 "_testfunc:\tcallw good");
6604 extern void testfunc();
6608 unsigned short *p = (unsigned short *)testfunc;
6609 return p[0] != 0xe866 || p[1] != 0xfffa
6614 if ac_fn_c_try_run "$LINENO"; then :
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6616 $as_echo "yes" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6620 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
6622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6623 conftest.$ac_objext conftest.beam conftest.$ac_ext
6629 DLLFLAGS="$DLLFLAGS -fPIC"
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6632 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6633 if ${ac_cv_c_dll_gnuelf+:} false; then :
6634 $as_echo_n "(cached) " >&6
6636 ac_wine_try_cflags_saved=$CFLAGS
6637 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6642 if ac_fn_c_try_link "$LINENO"; then :
6643 ac_cv_c_dll_gnuelf="yes"
6645 ac_cv_c_dll_gnuelf="no"
6647 rm -f core conftest.err conftest.$ac_objext \
6648 conftest$ac_exeext conftest.$ac_ext
6649 CFLAGS=$ac_wine_try_cflags_saved
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6652 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6653 if test "$ac_cv_c_dll_gnuelf" = "yes"
6655 LDSHARED="\$(CC) -shared"
6656 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6658 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6659 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6660 $as_echo_n "(cached) " >&6
6662 ac_wine_try_cflags_saved=$CFLAGS
6663 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6666 int main(int argc, char **argv) { return 0; }
6668 if ac_fn_c_try_link "$LINENO"; then :
6669 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6671 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6673 rm -f core conftest.err conftest.$ac_objext \
6674 conftest$ac_exeext conftest.$ac_ext
6675 CFLAGS=$ac_wine_try_cflags_saved
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6678 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6679 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6680 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6683 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6684 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6685 $as_echo_n "(cached) " >&6
6687 ac_wine_try_cflags_saved=$CFLAGS
6688 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6691 int main(int argc, char **argv) { return 0; }
6693 if ac_fn_c_try_link "$LINENO"; then :
6694 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6696 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6698 rm -f core conftest.err conftest.$ac_objext \
6699 conftest$ac_exeext conftest.$ac_ext
6700 CFLAGS=$ac_wine_try_cflags_saved
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6703 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6704 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6705 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6710 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6711 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6712 $as_echo_n "(cached) " >&6
6714 ac_wine_try_cflags_saved=$CFLAGS
6715 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6718 int main(int argc, char **argv) { return 0; }
6720 if ac_fn_c_try_link "$LINENO"; then :
6721 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6723 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6725 rm -f core conftest.err conftest.$ac_objext \
6726 conftest$ac_exeext conftest.$ac_ext
6727 CFLAGS=$ac_wine_try_cflags_saved
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6730 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6731 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6732 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6735 { $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
6736 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6737 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6738 $as_echo_n "(cached) " >&6
6740 ac_wine_try_cflags_saved=$CFLAGS
6741 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6744 int main(int argc, char **argv) { return 0; }
6746 if ac_fn_c_try_link "$LINENO"; then :
6747 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6749 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6751 rm -f core conftest.err conftest.$ac_objext \
6752 conftest$ac_exeext conftest.$ac_ext
6753 CFLAGS=$ac_wine_try_cflags_saved
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6756 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6757 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6758 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6761 echo '{ global: *; };' >conftest.map
6762 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6764 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6765 if eval \${$as_ac_var+:} false; then :
6766 $as_echo_n "(cached) " >&6
6768 ac_wine_try_cflags_saved=$CFLAGS
6769 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h. */
6772 int main(int argc, char **argv) { return 0; }
6774 if ac_fn_c_try_link "$LINENO"; then :
6775 eval "$as_ac_var=yes"
6777 eval "$as_ac_var=no"
6779 rm -f core conftest.err conftest.$ac_objext \
6780 conftest$ac_exeext conftest.$ac_ext
6781 CFLAGS=$ac_wine_try_cflags_saved
6783 eval ac_res=\$$as_ac_var
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6785 $as_echo "$ac_res" >&6; }
6786 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6787 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6792 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6793 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6794 $as_echo_n "(cached) " >&6
6796 ac_wine_try_cflags_saved=$CFLAGS
6797 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6800 int main(int argc, char **argv) { return 0; }
6802 if ac_fn_c_try_link "$LINENO"; then :
6803 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6805 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6807 rm -f core conftest.err conftest.$ac_objext \
6808 conftest$ac_exeext conftest.$ac_ext
6809 CFLAGS=$ac_wine_try_cflags_saved
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6812 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6813 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6814 LDEXECFLAGS="-Wl,--export-dynamic"
6818 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6820 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6821 if eval \${$as_ac_var+:} false; then :
6822 $as_echo_n "(cached) " >&6
6824 ac_wine_try_cflags_saved=$CFLAGS
6825 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h. */
6828 int main(int argc, char **argv) { return 0; }
6830 if ac_fn_c_try_link "$LINENO"; then :
6831 eval "$as_ac_var=yes"
6833 eval "$as_ac_var=no"
6835 rm -f core conftest.err conftest.$ac_objext \
6836 conftest$ac_exeext conftest.$ac_ext
6837 CFLAGS=$ac_wine_try_cflags_saved
6839 eval ac_res=\$$as_ac_var
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6841 $as_echo "$ac_res" >&6; }
6842 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6843 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6844 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6846 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6848 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6849 if eval \${$as_ac_var+:} false; then :
6850 $as_echo_n "(cached) " >&6
6852 ac_wine_try_cflags_saved=$CFLAGS
6853 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6855 /* end confdefs.h. */
6856 int main(int argc, char **argv) { return 0; }
6858 if ac_fn_c_try_link "$LINENO"; then :
6859 eval "$as_ac_var=yes"
6861 eval "$as_ac_var=no"
6863 rm -f core conftest.err conftest.$ac_objext \
6864 conftest$ac_exeext conftest.$ac_ext
6865 CFLAGS=$ac_wine_try_cflags_saved
6867 eval ac_res=\$$as_ac_var
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6869 $as_echo "$ac_res" >&6; }
6870 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6871 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6872 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6877 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6878 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6879 $as_echo_n "(cached) " >&6
6881 ac_wine_try_cflags_saved=$CFLAGS
6882 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6885 int main(int argc, char **argv) { return 0; }
6887 if ac_fn_c_try_link "$LINENO"; then :
6888 ac_cv_cflags__Wl___enable_new_dtags=yes
6890 ac_cv_cflags__Wl___enable_new_dtags=no
6892 rm -f core conftest.err conftest.$ac_objext \
6893 conftest$ac_exeext conftest.$ac_ext
6894 CFLAGS=$ac_wine_try_cflags_saved
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6897 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6898 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6899 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6903 *i[3456789]86* | x86_64)
6904 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6906 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6907 if eval \${$as_ac_var+:} false; then :
6908 $as_echo_n "(cached) " >&6
6910 ac_wine_try_cflags_saved=$CFLAGS
6911 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6914 int main(int argc, char **argv) { return 0; }
6916 if ac_fn_c_try_link "$LINENO"; then :
6917 eval "$as_ac_var=yes"
6919 eval "$as_ac_var=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 eval ac_res=\$$as_ac_var
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6927 $as_echo "$ac_res" >&6; }
6928 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6930 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6931 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6935 # Extract the first word of "prelink", so it can be a program name with args.
6936 set dummy prelink; ac_word=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_path_PRELINK+:} false; then :
6940 $as_echo_n "(cached) " >&6
6944 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948 for as_dir in /sbin /usr/sbin $PATH
6951 test -z "$as_dir" && as_dir=.
6952 for ac_exec_ext in '' $ac_executable_extensions; do
6953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6966 PRELINK=$ac_cv_path_PRELINK
6967 if test -n "$PRELINK"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6969 $as_echo "$PRELINK" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6976 if test "x$PRELINK" = xfalse
6978 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6985 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6986 if ${ac_cv_c_dll_unixware+:} false; then :
6987 $as_echo_n "(cached) " >&6
6989 ac_wine_try_cflags_saved=$CFLAGS
6990 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6992 /* end confdefs.h. */
6995 if ac_fn_c_try_link "$LINENO"; then :
6996 ac_cv_c_dll_unixware="yes"
6998 ac_cv_c_dll_unixware="no"
7000 rm -f core conftest.err conftest.$ac_objext \
7001 conftest$ac_exeext conftest.$ac_ext
7002 CFLAGS=$ac_wine_try_cflags_saved
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7005 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7006 if test "$ac_cv_c_dll_unixware" = "yes"
7008 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7009 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7013 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7014 if ${ac_cv_c_dll_hpux+:} false; then :
7015 $as_echo_n "(cached) " >&6
7017 ac_wine_try_cflags_saved=$CFLAGS
7018 CFLAGS="$CFLAGS -shared"
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7023 if ac_fn_c_try_link "$LINENO"; then :
7024 ac_cv_c_dll_hpux="yes"
7026 ac_cv_c_dll_hpux="no"
7028 rm -f core conftest.err conftest.$ac_objext \
7029 conftest$ac_exeext conftest.$ac_ext
7030 CFLAGS=$ac_wine_try_cflags_saved
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7033 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7034 if test "$ac_cv_c_dll_hpux" = "yes"
7038 LDDLLFLAGS="-shared -fPIC"
7039 LDSHARED="\$(CC) -shared"
7046 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7047 enable_winequartz_drv=${enable_winequartz_drv:-no}
7049 if test "$LIBEXT" = "a"; then
7050 as_fn_error $? "could not find a way to build shared libraries.
7051 It is currently not possible to build Wine without shared library
7052 (.so) support to allow transparent switch between .so and .dll files.
7053 If you are using Linux, you will need a newer binutils.
7057 CROSSTEST_DISABLE=\#
7059 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7063 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 " ;;
7065 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 " ;;
7067 ac_prefix_list="" ;;
7069 for ac_prog in $ac_prefix_list
7071 # Extract the first word of "$ac_prog", so it can be a program name with args.
7072 set dummy $ac_prog; ac_word=$2
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 $as_echo_n "checking for $ac_word... " >&6; }
7075 if ${ac_cv_prog_CROSSCC+:} false; then :
7076 $as_echo_n "(cached) " >&6
7078 if test -n "$CROSSCC"; then
7079 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085 test -z "$as_dir" && as_dir=.
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7088 ac_cv_prog_CROSSCC="$ac_prog"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7098 CROSSCC=$ac_cv_prog_CROSSCC
7099 if test -n "$CROSSCC"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7101 $as_echo "$CROSSCC" >&6; }
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 $as_echo "no" >&6; }
7108 test -n "$CROSSCC" && break
7110 test -n "$CROSSCC" || CROSSCC="false"
7112 if test "$CROSSCC" != "false"
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7117 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7129 if ac_fn_c_try_compile "$LINENO"; then :
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7131 $as_echo "yes" >&6; }
7138 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7142 if test -n "$target"
7144 CROSSTEST_DISABLE=""
7145 CROSSTARGET="$target"
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7158 if test "$ac_cv_header_pthread_h" = "yes"
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7161 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7162 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7163 $as_echo_n "(cached) " >&6
7165 ac_check_lib_save_LIBS=$LIBS
7166 LIBS="-lpthread $LIBS"
7167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h. */
7170 /* Override any GCC internal prototype to avoid an error.
7171 Use char because int might match the return type of a GCC
7172 builtin and then its argument prototype would still apply. */
7176 char pthread_create ();
7180 return pthread_create ();
7185 if ac_fn_c_try_link "$LINENO"; then :
7186 ac_cv_lib_pthread_pthread_create=yes
7188 ac_cv_lib_pthread_pthread_create=no
7190 rm -f core conftest.err conftest.$ac_objext \
7191 conftest$ac_exeext conftest.$ac_ext
7192 LIBS=$ac_check_lib_save_LIBS
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7195 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7196 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7197 LIBPTHREAD="-lpthread"
7202 if test "x$LIBPTHREAD" = "x"; then :
7203 case "x$with_pthread" in
7205 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7206 Wine cannot support threads without libpthread.
7207 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7213 $as_echo_n "checking for X... " >&6; }
7216 # Check whether --with-x was given.
7217 if test "${with_x+set}" = set; then :
7221 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7222 if test "x$with_x" = xno; then
7223 # The user explicitly disabled X.
7226 case $x_includes,$x_libraries in #(
7227 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7228 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7229 $as_echo_n "(cached) " >&6
7231 # One or both of the vars are not set, and there is no cached value.
7232 ac_x_includes=no ac_x_libraries=no
7233 rm -f -r conftest.dir
7234 if mkdir conftest.dir; then
7236 cat >Imakefile <<'_ACEOF'
7238 @echo incroot='${INCROOT}'
7240 @echo usrlibdir='${USRLIBDIR}'
7242 @echo libdir='${LIBDIR}'
7244 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7245 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7246 for ac_var in incroot usrlibdir libdir; do
7247 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7249 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7250 for ac_extension in a so sl dylib la dll; do
7251 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7252 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7253 ac_im_usrlibdir=$ac_im_libdir; break
7256 # Screen out bogus values from the imake configuration. They are
7257 # bogus both because they are the default anyway, and because
7258 # using them would break gcc on systems where it needs fixed includes.
7259 case $ac_im_incroot in
7260 /usr/include) ac_x_includes= ;;
7261 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7263 case $ac_im_usrlibdir in
7264 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7265 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7269 rm -f -r conftest.dir
7272 # Standard set of common directories for X headers.
7273 # Check X11 before X11Rn because it is often a symlink to the current release.
7287 /usr/local/X11/include
7288 /usr/local/X11R7/include
7289 /usr/local/X11R6/include
7290 /usr/local/X11R5/include
7291 /usr/local/X11R4/include
7293 /usr/local/include/X11
7294 /usr/local/include/X11R7
7295 /usr/local/include/X11R6
7296 /usr/local/include/X11R5
7297 /usr/local/include/X11R4
7301 /usr/XFree86/include/X11
7305 /usr/unsupported/include
7307 /usr/local/x11r5/include
7308 /usr/lpp/Xamples/include
7310 /usr/openwin/include
7311 /usr/openwin/share/include'
7313 if test "$ac_x_includes" = no; then
7314 # Guess where to find include files, by looking for Xlib.h.
7315 # First, try using that file with no special directory specified.
7316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317 /* end confdefs.h. */
7318 #include <X11/Xlib.h>
7320 if ac_fn_c_try_cpp "$LINENO"; then :
7321 # We can compile using X headers with no special include directory.
7324 for ac_dir in $ac_x_header_dirs; do
7325 if test -r "$ac_dir/X11/Xlib.h"; then
7326 ac_x_includes=$ac_dir
7331 rm -f conftest.err conftest.i conftest.$ac_ext
7332 fi # $ac_x_includes = no
7334 if test "$ac_x_libraries" = no; then
7335 # Check for the libraries.
7336 # See if we find them without any special options.
7337 # Don't add to $LIBS permanently.
7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7342 #include <X11/Xlib.h>
7351 if ac_fn_c_try_link "$LINENO"; then :
7353 # We can link X programs with no special library path.
7357 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7359 # Don't even attempt the hair of trying to link an X program!
7360 for ac_extension in a so sl dylib la dll; do
7361 if test -r "$ac_dir/libX11.$ac_extension"; then
7362 ac_x_libraries=$ac_dir
7368 rm -f core conftest.err conftest.$ac_objext \
7369 conftest$ac_exeext conftest.$ac_ext
7370 fi # $ac_x_libraries = no
7372 case $ac_x_includes,$ac_x_libraries in #(
7374 # Didn't find X, or a directory has "'" in its name.
7375 ac_cv_have_x="have_x=no";; #(
7377 # Record where we found X for the cache.
7378 ac_cv_have_x="have_x=yes\
7379 ac_x_includes='$ac_x_includes'\
7380 ac_x_libraries='$ac_x_libraries'"
7386 eval "$ac_cv_have_x"
7389 if test "$have_x" != yes; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7391 $as_echo "$have_x" >&6; }
7394 # If each of the values was on the command line, it overrides each guess.
7395 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7396 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7397 # Update the cache value to reflect the command line values.
7398 ac_cv_have_x="have_x=yes\
7399 ac_x_includes='$x_includes'\
7400 ac_x_libraries='$x_libraries'"
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7402 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7405 if test "$no_x" = yes; then
7406 # Not all programs may use this symbol, but it does not hurt to define it.
7408 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7410 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7412 if test -n "$x_includes"; then
7413 X_CFLAGS="$X_CFLAGS -I$x_includes"
7416 # It would also be nice to do this for all -L options, not just this one.
7417 if test -n "$x_libraries"; then
7418 X_LIBS="$X_LIBS -L$x_libraries"
7419 # For Solaris; some versions of Sun CC require a space after -R and
7420 # others require no space. Words are not sufficient . . . .
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7422 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7423 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7424 ac_xsave_c_werror_flag=$ac_c_werror_flag
7425 ac_c_werror_flag=yes
7426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h. */
7437 if ac_fn_c_try_link "$LINENO"; then :
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7439 $as_echo "no" >&6; }
7440 X_LIBS="$X_LIBS -R$x_libraries"
7442 LIBS="$ac_xsave_LIBS -R $x_libraries"
7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7454 if ac_fn_c_try_link "$LINENO"; then :
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7456 $as_echo "yes" >&6; }
7457 X_LIBS="$X_LIBS -R $x_libraries"
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7460 $as_echo "neither works" >&6; }
7462 rm -f core conftest.err conftest.$ac_objext \
7463 conftest$ac_exeext conftest.$ac_ext
7465 rm -f core conftest.err conftest.$ac_objext \
7466 conftest$ac_exeext conftest.$ac_ext
7467 ac_c_werror_flag=$ac_xsave_c_werror_flag
7471 # Check for system-dependent libraries X programs must link with.
7472 # Do this before checking for the system-independent R6 libraries
7473 # (-lICE), since we may need -lsocket or whatever for X linking.
7475 if test "$ISC" = yes; then
7476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7478 # Martyn Johnson says this is needed for Ultrix, if the X
7479 # libraries were built with DECnet support. And Karl Berry says
7480 # the Alpha needs dnet_stub (dnet does not exist).
7481 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */
7485 /* Override any GCC internal prototype to avoid an error.
7486 Use char because int might match the return type of a GCC
7487 builtin and then its argument prototype would still apply. */
7491 char XOpenDisplay ();
7495 return XOpenDisplay ();
7500 if ac_fn_c_try_link "$LINENO"; then :
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7504 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7505 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7506 $as_echo_n "(cached) " >&6
7508 ac_check_lib_save_LIBS=$LIBS
7510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7513 /* Override any GCC internal prototype to avoid an error.
7514 Use char because int might match the return type of a GCC
7515 builtin and then its argument prototype would still apply. */
7523 return dnet_ntoa ();
7528 if ac_fn_c_try_link "$LINENO"; then :
7529 ac_cv_lib_dnet_dnet_ntoa=yes
7531 ac_cv_lib_dnet_dnet_ntoa=no
7533 rm -f core conftest.err conftest.$ac_objext \
7534 conftest$ac_exeext conftest.$ac_ext
7535 LIBS=$ac_check_lib_save_LIBS
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7538 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7539 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7540 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7543 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7545 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7546 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7547 $as_echo_n "(cached) " >&6
7549 ac_check_lib_save_LIBS=$LIBS
7550 LIBS="-ldnet_stub $LIBS"
7551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7552 /* end confdefs.h. */
7554 /* Override any GCC internal prototype to avoid an error.
7555 Use char because int might match the return type of a GCC
7556 builtin and then its argument prototype would still apply. */
7564 return dnet_ntoa ();
7569 if ac_fn_c_try_link "$LINENO"; then :
7570 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7572 ac_cv_lib_dnet_stub_dnet_ntoa=no
7574 rm -f core conftest.err conftest.$ac_objext \
7575 conftest$ac_exeext conftest.$ac_ext
7576 LIBS=$ac_check_lib_save_LIBS
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7579 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7580 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7581 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7586 rm -f core conftest.err conftest.$ac_objext \
7587 conftest$ac_exeext conftest.$ac_ext
7588 LIBS="$ac_xsave_LIBS"
7590 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7591 # to get the SysV transport functions.
7592 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7594 # The nsl library prevents programs from opening the X display
7595 # on Irix 5.2, according to T.E. Dickey.
7596 # The functions gethostbyname, getservbyname, and inet_addr are
7597 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7598 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7599 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7603 if test $ac_cv_func_gethostbyname = no; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7605 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7606 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7607 $as_echo_n "(cached) " >&6
7609 ac_check_lib_save_LIBS=$LIBS
7611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7614 /* Override any GCC internal prototype to avoid an error.
7615 Use char because int might match the return type of a GCC
7616 builtin and then its argument prototype would still apply. */
7620 char gethostbyname ();
7624 return gethostbyname ();
7629 if ac_fn_c_try_link "$LINENO"; then :
7630 ac_cv_lib_nsl_gethostbyname=yes
7632 ac_cv_lib_nsl_gethostbyname=no
7634 rm -f core conftest.err conftest.$ac_objext \
7635 conftest$ac_exeext conftest.$ac_ext
7636 LIBS=$ac_check_lib_save_LIBS
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7639 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7640 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7641 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7644 if test $ac_cv_lib_nsl_gethostbyname = no; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7646 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7647 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7648 $as_echo_n "(cached) " >&6
7650 ac_check_lib_save_LIBS=$LIBS
7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7655 /* Override any GCC internal prototype to avoid an error.
7656 Use char because int might match the return type of a GCC
7657 builtin and then its argument prototype would still apply. */
7661 char gethostbyname ();
7665 return gethostbyname ();
7670 if ac_fn_c_try_link "$LINENO"; then :
7671 ac_cv_lib_bsd_gethostbyname=yes
7673 ac_cv_lib_bsd_gethostbyname=no
7675 rm -f core conftest.err conftest.$ac_objext \
7676 conftest$ac_exeext conftest.$ac_ext
7677 LIBS=$ac_check_lib_save_LIBS
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7680 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7681 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7682 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7688 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7689 # socket/setsockopt and other routines are undefined under SCO ODT
7690 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7691 # on later versions), says Simon Leinen: it contains gethostby*
7692 # variants that don't use the name server (or something). -lsocket
7693 # must be given before -lnsl if both are needed. We assume that
7694 # if connect needs -lnsl, so does gethostbyname.
7695 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7696 if test "x$ac_cv_func_connect" = xyes; then :
7700 if test $ac_cv_func_connect = no; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7702 $as_echo_n "checking for connect in -lsocket... " >&6; }
7703 if ${ac_cv_lib_socket_connect+:} false; then :
7704 $as_echo_n "(cached) " >&6
7706 ac_check_lib_save_LIBS=$LIBS
7707 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7709 /* end confdefs.h. */
7711 /* Override any GCC internal prototype to avoid an error.
7712 Use char because int might match the return type of a GCC
7713 builtin and then its argument prototype would still apply. */
7726 if ac_fn_c_try_link "$LINENO"; then :
7727 ac_cv_lib_socket_connect=yes
7729 ac_cv_lib_socket_connect=no
7731 rm -f core conftest.err conftest.$ac_objext \
7732 conftest$ac_exeext conftest.$ac_ext
7733 LIBS=$ac_check_lib_save_LIBS
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7736 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7737 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7738 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7743 # Guillermo Gomez says -lposix is necessary on A/UX.
7744 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7745 if test "x$ac_cv_func_remove" = xyes; then :
7749 if test $ac_cv_func_remove = no; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7751 $as_echo_n "checking for remove in -lposix... " >&6; }
7752 if ${ac_cv_lib_posix_remove+:} false; then :
7753 $as_echo_n "(cached) " >&6
7755 ac_check_lib_save_LIBS=$LIBS
7756 LIBS="-lposix $LIBS"
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7760 /* Override any GCC internal prototype to avoid an error.
7761 Use char because int might match the return type of a GCC
7762 builtin and then its argument prototype would still apply. */
7775 if ac_fn_c_try_link "$LINENO"; then :
7776 ac_cv_lib_posix_remove=yes
7778 ac_cv_lib_posix_remove=no
7780 rm -f core conftest.err conftest.$ac_objext \
7781 conftest$ac_exeext conftest.$ac_ext
7782 LIBS=$ac_check_lib_save_LIBS
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7785 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7786 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7787 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7792 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7793 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7794 if test "x$ac_cv_func_shmat" = xyes; then :
7798 if test $ac_cv_func_shmat = no; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7800 $as_echo_n "checking for shmat in -lipc... " >&6; }
7801 if ${ac_cv_lib_ipc_shmat+:} false; then :
7802 $as_echo_n "(cached) " >&6
7804 ac_check_lib_save_LIBS=$LIBS
7806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7809 /* Override any GCC internal prototype to avoid an error.
7810 Use char because int might match the return type of a GCC
7811 builtin and then its argument prototype would still apply. */
7824 if ac_fn_c_try_link "$LINENO"; then :
7825 ac_cv_lib_ipc_shmat=yes
7827 ac_cv_lib_ipc_shmat=no
7829 rm -f core conftest.err conftest.$ac_objext \
7830 conftest$ac_exeext conftest.$ac_ext
7831 LIBS=$ac_check_lib_save_LIBS
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7834 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7835 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7836 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7842 # Check for libraries that X11R6 Xt/Xaw programs need.
7843 ac_save_LDFLAGS=$LDFLAGS
7844 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7845 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7846 # check for ICE first), but we must link in the order -lSM -lICE or
7847 # we get undefined symbols. So assume we have SM if we have ICE.
7848 # These have to be linked with before -lX11, unlike the other
7849 # libraries we check for below, so use a different variable.
7850 # John Interrante, Karl Berry
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7852 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7853 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7854 $as_echo_n "(cached) " >&6
7856 ac_check_lib_save_LIBS=$LIBS
7857 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7859 /* end confdefs.h. */
7861 /* Override any GCC internal prototype to avoid an error.
7862 Use char because int might match the return type of a GCC
7863 builtin and then its argument prototype would still apply. */
7867 char IceConnectionNumber ();
7871 return IceConnectionNumber ();
7876 if ac_fn_c_try_link "$LINENO"; then :
7877 ac_cv_lib_ICE_IceConnectionNumber=yes
7879 ac_cv_lib_ICE_IceConnectionNumber=no
7881 rm -f core conftest.err conftest.$ac_objext \
7882 conftest$ac_exeext conftest.$ac_ext
7883 LIBS=$ac_check_lib_save_LIBS
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7886 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7887 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7888 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7891 LDFLAGS=$ac_save_LDFLAGS
7896 if test "$have_x" = "yes"
7899 ac_save_CPPFLAGS="$CPPFLAGS"
7900 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7903 $as_echo_n "checking for -lX11... " >&6; }
7904 if ${ac_cv_lib_soname_X11+:} false; then :
7905 $as_echo_n "(cached) " >&6
7907 ac_check_soname_save_LIBS=$LIBS
7908 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7912 /* Override any GCC internal prototype to avoid an error.
7913 Use char because int might match the return type of a GCC
7914 builtin and then its argument prototype would still apply. */
7918 char XCreateWindow ();
7922 return XCreateWindow ();
7927 if ac_fn_c_try_link "$LINENO"; then :
7929 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7930 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'` ;;
7931 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7934 rm -f core conftest.err conftest.$ac_objext \
7935 conftest$ac_exeext conftest.$ac_ext
7936 LIBS=$ac_check_soname_save_LIBS
7938 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7940 $as_echo "not found" >&6; }
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7944 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7946 cat >>confdefs.h <<_ACEOF
7947 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7953 $as_echo_n "checking for -lXext... " >&6; }
7954 if ${ac_cv_lib_soname_Xext+:} false; then :
7955 $as_echo_n "(cached) " >&6
7957 ac_check_soname_save_LIBS=$LIBS
7958 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7962 /* Override any GCC internal prototype to avoid an error.
7963 Use char because int might match the return type of a GCC
7964 builtin and then its argument prototype would still apply. */
7968 char XextCreateExtension ();
7972 return XextCreateExtension ();
7977 if ac_fn_c_try_link "$LINENO"; then :
7979 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7980 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'` ;;
7981 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7984 rm -f core conftest.err conftest.$ac_objext \
7985 conftest$ac_exeext conftest.$ac_ext
7986 LIBS=$ac_check_soname_save_LIBS
7988 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7990 $as_echo "not found" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7994 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7996 cat >>confdefs.h <<_ACEOF
7997 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8003 for ac_header in X11/Xlib.h \
8006 X11/Xcursor/Xcursor.h \
8007 X11/extensions/shape.h \
8008 X11/extensions/XInput.h \
8009 X11/extensions/XInput2.h \
8010 X11/extensions/XShm.h \
8011 X11/extensions/Xcomposite.h \
8012 X11/extensions/Xinerama.h \
8013 X11/extensions/Xrandr.h \
8014 X11/extensions/Xrender.h \
8015 X11/extensions/xf86vmode.h \
8016 X11/extensions/xf86vmproto.h
8018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8019 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8020 # include <X11/Xlib.h>
8022 #ifdef HAVE_X11_XUTIL_H
8023 # include <X11/Xutil.h>
8026 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8027 cat >>confdefs.h <<_ACEOF
8028 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8036 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8039 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8040 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8041 $as_echo_n "(cached) " >&6
8043 ac_check_lib_save_LIBS=$LIBS
8044 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8046 /* end confdefs.h. */
8048 /* Override any GCC internal prototype to avoid an error.
8049 Use char because int might match the return type of a GCC
8050 builtin and then its argument prototype would still apply. */
8054 char XkbQueryExtension ();
8058 return XkbQueryExtension ();
8063 if ac_fn_c_try_link "$LINENO"; then :
8064 ac_cv_lib_X11_XkbQueryExtension=yes
8066 ac_cv_lib_X11_XkbQueryExtension=no
8068 rm -f core conftest.err conftest.$ac_objext \
8069 conftest$ac_exeext conftest.$ac_ext
8070 LIBS=$ac_check_lib_save_LIBS
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8073 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8074 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8076 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8082 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8085 $as_echo_n "checking for -lXcursor... " >&6; }
8086 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8087 $as_echo_n "(cached) " >&6
8089 ac_check_soname_save_LIBS=$LIBS
8090 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8092 /* end confdefs.h. */
8094 /* Override any GCC internal prototype to avoid an error.
8095 Use char because int might match the return type of a GCC
8096 builtin and then its argument prototype would still apply. */
8100 char XcursorImageLoadCursor ();
8104 return XcursorImageLoadCursor ();
8109 if ac_fn_c_try_link "$LINENO"; then :
8111 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8112 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'` ;;
8113 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8116 rm -f core conftest.err conftest.$ac_objext \
8117 conftest$ac_exeext conftest.$ac_ext
8118 LIBS=$ac_check_soname_save_LIBS
8120 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8122 $as_echo "not found" >&6; }
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8126 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8128 cat >>confdefs.h <<_ACEOF
8129 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8135 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8136 case "x$with_xcursor" in
8137 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8139 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8140 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8144 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8147 $as_echo_n "checking for -lXi... " >&6; }
8148 if ${ac_cv_lib_soname_Xi+:} false; then :
8149 $as_echo_n "(cached) " >&6
8151 ac_check_soname_save_LIBS=$LIBS
8152 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8156 /* Override any GCC internal prototype to avoid an error.
8157 Use char because int might match the return type of a GCC
8158 builtin and then its argument prototype would still apply. */
8162 char XOpenDevice ();
8166 return XOpenDevice ();
8171 if ac_fn_c_try_link "$LINENO"; then :
8173 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8174 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'` ;;
8175 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8178 rm -f core conftest.err conftest.$ac_objext \
8179 conftest$ac_exeext conftest.$ac_ext
8180 LIBS=$ac_check_soname_save_LIBS
8182 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8184 $as_echo "not found" >&6; }
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8188 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8190 cat >>confdefs.h <<_ACEOF
8191 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8197 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8198 case "x$with_xinput" in
8199 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8201 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8202 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8206 if test "x$ac_cv_lib_soname_Xi" != x
8208 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8209 case "x$with_xinput2" in
8210 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8212 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8213 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8218 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8221 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8222 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8223 $as_echo_n "(cached) " >&6
8225 ac_check_lib_save_LIBS=$LIBS
8226 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8230 /* Override any GCC internal prototype to avoid an error.
8231 Use char because int might match the return type of a GCC
8232 builtin and then its argument prototype would still apply. */
8236 char XShmQueryExtension ();
8240 return XShmQueryExtension ();
8245 if ac_fn_c_try_link "$LINENO"; then :
8246 ac_cv_lib_Xext_XShmQueryExtension=yes
8248 ac_cv_lib_Xext_XShmQueryExtension=no
8250 rm -f core conftest.err conftest.$ac_objext \
8251 conftest$ac_exeext conftest.$ac_ext
8252 LIBS=$ac_check_lib_save_LIBS
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8255 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8256 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8258 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8263 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8264 case "x$with_xshm" in
8265 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8267 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8268 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8272 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8275 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8276 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8277 $as_echo_n "(cached) " >&6
8279 ac_check_lib_save_LIBS=$LIBS
8280 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8284 /* Override any GCC internal prototype to avoid an error.
8285 Use char because int might match the return type of a GCC
8286 builtin and then its argument prototype would still apply. */
8290 char XShapeQueryExtension ();
8294 return XShapeQueryExtension ();
8299 if ac_fn_c_try_link "$LINENO"; then :
8300 ac_cv_lib_Xext_XShapeQueryExtension=yes
8302 ac_cv_lib_Xext_XShapeQueryExtension=no
8304 rm -f core conftest.err conftest.$ac_objext \
8305 conftest$ac_exeext conftest.$ac_ext
8306 LIBS=$ac_check_lib_save_LIBS
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8309 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8310 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8312 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8317 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8318 case "x$with_xshape" in
8319 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8321 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8322 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8326 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8329 $as_echo_n "checking for -lXxf86vm... " >&6; }
8330 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8331 $as_echo_n "(cached) " >&6
8333 ac_check_soname_save_LIBS=$LIBS
8334 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8338 /* Override any GCC internal prototype to avoid an error.
8339 Use char because int might match the return type of a GCC
8340 builtin and then its argument prototype would still apply. */
8344 char XF86VidModeQueryExtension ();
8348 return XF86VidModeQueryExtension ();
8353 if ac_fn_c_try_link "$LINENO"; then :
8355 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8356 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'` ;;
8357 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8360 rm -f core conftest.err conftest.$ac_objext \
8361 conftest$ac_exeext conftest.$ac_ext
8362 LIBS=$ac_check_soname_save_LIBS
8364 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8366 $as_echo "not found" >&6; }
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8370 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8372 cat >>confdefs.h <<_ACEOF
8373 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8379 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8380 case "x$with_xxf86vm" in
8381 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8383 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8384 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8388 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"
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8391 $as_echo_n "checking for -lXrender... " >&6; }
8392 if ${ac_cv_lib_soname_Xrender+:} false; then :
8393 $as_echo_n "(cached) " >&6
8395 ac_check_soname_save_LIBS=$LIBS
8396 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8400 /* Override any GCC internal prototype to avoid an error.
8401 Use char because int might match the return type of a GCC
8402 builtin and then its argument prototype would still apply. */
8406 char XRenderQueryExtension ();
8410 return XRenderQueryExtension ();
8415 if ac_fn_c_try_link "$LINENO"; then :
8417 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8418 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'` ;;
8419 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8422 rm -f core conftest.err conftest.$ac_objext \
8423 conftest$ac_exeext conftest.$ac_ext
8424 LIBS=$ac_check_soname_save_LIBS
8426 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8428 $as_echo "not found" >&6; }
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8432 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8434 cat >>confdefs.h <<_ACEOF
8435 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8439 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8440 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8441 $as_echo_n "(cached) " >&6
8443 ac_check_lib_save_LIBS=$LIBS
8444 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8448 /* Override any GCC internal prototype to avoid an error.
8449 Use char because int might match the return type of a GCC
8450 builtin and then its argument prototype would still apply. */
8454 char XRenderSetPictureTransform ();
8458 return XRenderSetPictureTransform ();
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8466 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 LIBS=$ac_check_lib_save_LIBS
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8473 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8474 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8476 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8481 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8482 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8483 $as_echo_n "(cached) " >&6
8485 ac_check_lib_save_LIBS=$LIBS
8486 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8490 /* Override any GCC internal prototype to avoid an error.
8491 Use char because int might match the return type of a GCC
8492 builtin and then its argument prototype would still apply. */
8496 char XRenderCreateLinearGradient ();
8500 return XRenderCreateLinearGradient ();
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8508 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 LIBS=$ac_check_lib_save_LIBS
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8515 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8516 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8518 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8525 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8526 case "x$with_xrender" in
8527 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8529 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8530 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8534 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 #include <X11/Xlib.h>
8539 #include <X11/extensions/Xrandr.h>
8543 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8548 if ac_fn_c_try_compile "$LINENO"; then :
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8550 $as_echo_n "checking for -lXrandr... " >&6; }
8551 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8552 $as_echo_n "(cached) " >&6
8554 ac_check_soname_save_LIBS=$LIBS
8555 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8559 /* Override any GCC internal prototype to avoid an error.
8560 Use char because int might match the return type of a GCC
8561 builtin and then its argument prototype would still apply. */
8565 char XRRQueryExtension ();
8569 return XRRQueryExtension ();
8574 if ac_fn_c_try_link "$LINENO"; then :
8576 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8577 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'` ;;
8578 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 LIBS=$ac_check_soname_save_LIBS
8585 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8587 $as_echo "not found" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8591 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8593 cat >>confdefs.h <<_ACEOF
8594 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8602 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8603 case "x$with_xrandr" in
8604 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8606 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8607 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8611 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 #include <X11/Xlib.h>
8616 #include <X11/extensions/Xinerama.h>
8620 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8625 if ac_fn_c_try_compile "$LINENO"; then :
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8627 $as_echo_n "checking for -lXinerama... " >&6; }
8628 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8629 $as_echo_n "(cached) " >&6
8631 ac_check_soname_save_LIBS=$LIBS
8632 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8634 /* end confdefs.h. */
8636 /* Override any GCC internal prototype to avoid an error.
8637 Use char because int might match the return type of a GCC
8638 builtin and then its argument prototype would still apply. */
8642 char XineramaQueryScreens ();
8646 return XineramaQueryScreens ();
8651 if ac_fn_c_try_link "$LINENO"; then :
8653 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8654 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'` ;;
8655 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8658 rm -f core conftest.err conftest.$ac_objext \
8659 conftest$ac_exeext conftest.$ac_ext
8660 LIBS=$ac_check_soname_save_LIBS
8662 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8664 $as_echo "not found" >&6; }
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8668 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8670 cat >>confdefs.h <<_ACEOF
8671 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8679 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8680 case "x$with_xinerama" in
8681 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8683 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8684 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8688 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8691 $as_echo_n "checking for -lXcomposite... " >&6; }
8692 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8693 $as_echo_n "(cached) " >&6
8695 ac_check_soname_save_LIBS=$LIBS
8696 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8698 /* end confdefs.h. */
8700 /* Override any GCC internal prototype to avoid an error.
8701 Use char because int might match the return type of a GCC
8702 builtin and then its argument prototype would still apply. */
8706 char XCompositeRedirectWindow ();
8710 return XCompositeRedirectWindow ();
8715 if ac_fn_c_try_link "$LINENO"; then :
8717 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8718 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'` ;;
8719 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8722 rm -f core conftest.err conftest.$ac_objext \
8723 conftest$ac_exeext conftest.$ac_ext
8724 LIBS=$ac_check_soname_save_LIBS
8726 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8728 $as_echo "not found" >&6; }
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8732 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8734 cat >>confdefs.h <<_ACEOF
8735 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8741 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8742 case "x$with_xcomposite" in
8743 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8745 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8746 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8750 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8751 #include <X11/Xlib.h>
8754 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8756 cat >>confdefs.h <<_ACEOF
8757 #define HAVE_XICCALLBACK_CALLBACK 1
8762 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8763 #include <X11/Xlib.h>
8766 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8768 cat >>confdefs.h <<_ACEOF
8769 #define HAVE_XEVENT_XCOOKIE 1
8778 if test "x$with_opengl" != "xno"
8780 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8782 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8783 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8784 # include <GL/glx.h>
8787 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8788 cat >>confdefs.h <<_ACEOF
8789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8796 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8799 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8800 if ${wine_cv_opengl_header_version_OK+:} false; then :
8801 $as_echo_n "(cached) " >&6
8803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8804 /* end confdefs.h. */
8809 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8814 if ac_fn_c_try_compile "$LINENO"; then :
8815 wine_cv_opengl_header_version_OK="yes"
8817 wine_cv_opengl_header_version_OK="no"
8819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8822 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8824 if test "$wine_cv_opengl_header_version_OK" = "yes"
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8827 $as_echo_n "checking for -lGL... " >&6; }
8828 if ${ac_cv_lib_soname_GL+:} false; then :
8829 $as_echo_n "(cached) " >&6
8831 ac_check_soname_save_LIBS=$LIBS
8832 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8836 /* Override any GCC internal prototype to avoid an error.
8837 Use char because int might match the return type of a GCC
8838 builtin and then its argument prototype would still apply. */
8842 char glXCreateContext ();
8846 return glXCreateContext ();
8851 if ac_fn_c_try_link "$LINENO"; then :
8853 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8854 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'` ;;
8855 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8858 rm -f core conftest.err conftest.$ac_objext \
8859 conftest$ac_exeext conftest.$ac_ext
8860 LIBS=$ac_check_soname_save_LIBS
8862 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8864 $as_echo "not found" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8866 $as_echo_n "checking for -lGL... " >&6; }
8867 if ${ac_cv_lib_soname_GL+:} false; then :
8868 $as_echo_n "(cached) " >&6
8870 ac_check_soname_save_LIBS=$LIBS
8871 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"
8872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8875 /* Override any GCC internal prototype to avoid an error.
8876 Use char because int might match the return type of a GCC
8877 builtin and then its argument prototype would still apply. */
8881 char glXCreateContext ();
8885 return glXCreateContext ();
8890 if ac_fn_c_try_link "$LINENO"; then :
8892 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8893 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'` ;;
8894 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8897 rm -f core conftest.err conftest.$ac_objext \
8898 conftest$ac_exeext conftest.$ac_ext
8899 LIBS=$ac_check_soname_save_LIBS
8901 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8903 $as_echo "not found" >&6; }
8904 if test -f /usr/X11R6/lib/libGL.a
8906 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8907 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8909 opengl_msg="No OpenGL library found on this system."
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8913 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8915 cat >>confdefs.h <<_ACEOF
8916 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8919 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"
8921 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8926 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8928 cat >>confdefs.h <<_ACEOF
8929 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8934 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8937 if test "$ac_cv_header_GL_glu_h" = "yes"
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8940 $as_echo_n "checking for -lGLU... " >&6; }
8941 if ${ac_cv_lib_soname_GLU+:} false; then :
8942 $as_echo_n "(cached) " >&6
8944 ac_check_soname_save_LIBS=$LIBS
8945 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8949 /* Override any GCC internal prototype to avoid an error.
8950 Use char because int might match the return type of a GCC
8951 builtin and then its argument prototype would still apply. */
8959 return gluLookAt ();
8964 if ac_fn_c_try_link "$LINENO"; then :
8966 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8967 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'` ;;
8968 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8971 rm -f core conftest.err conftest.$ac_objext \
8972 conftest$ac_exeext conftest.$ac_ext
8973 LIBS=$ac_check_soname_save_LIBS
8975 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8977 $as_echo "not found" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8981 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8983 cat >>confdefs.h <<_ACEOF
8984 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8990 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8991 case "x$with_glu" in
8992 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8994 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
8995 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8999 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
9002 opengl_msg="OpenGL development headers not found."
9004 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
9005 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
9007 enable_opengl32=${enable_opengl32:-no}
9008 enable_glu32=${enable_glu32:-no}
9010 if test -n "$opengl_msg"; then :
9011 case "x$with_opengl" in
9012 x) as_fn_append wine_warnings "|$opengl_msg
9013 OpenGL and Direct3D won't be supported." ;;
9015 *) as_fn_error $? "$opengl_msg
9016 OpenGL and Direct3D won't be supported.
9017 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9021 CPPFLAGS="$ac_save_CPPFLAGS"
9026 enable_winex11_drv=${enable_winex11_drv:-no}
9027 enable_opengl32=${enable_opengl32:-no}
9028 enable_glu32=${enable_glu32:-no}
9030 if test "x$XLIB" = "x"; then :
9033 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9034 without X support, which probably isn't what you want. You will need
9035 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9036 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9040 if test "$ac_cv_header_CL_cl_h" = "yes"
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9043 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9044 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9045 $as_echo_n "(cached) " >&6
9047 ac_check_lib_save_LIBS=$LIBS
9048 LIBS="-lOpenCL $LIBS"
9049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9050 /* end confdefs.h. */
9052 /* Override any GCC internal prototype to avoid an error.
9053 Use char because int might match the return type of a GCC
9054 builtin and then its argument prototype would still apply. */
9058 char clGetPlatformInfo ();
9062 return clGetPlatformInfo ();
9067 if ac_fn_c_try_link "$LINENO"; then :
9068 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9070 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9072 rm -f core conftest.err conftest.$ac_objext \
9073 conftest$ac_exeext conftest.$ac_ext
9074 LIBS=$ac_check_lib_save_LIBS
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9077 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9078 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9079 LIBOPENCL="-lOpenCL"
9084 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9085 case "x$with_opencl" in
9086 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9088 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9089 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9092 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9101 if test "x$with_xml" != "xno"
9103 ac_save_CPPFLAGS="$CPPFLAGS"
9104 if test "$PKG_CONFIG" != "false"
9106 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9107 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9109 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9110 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9112 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9113 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9115 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9116 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9117 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9118 cat >>confdefs.h <<_ACEOF
9119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9126 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"
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9129 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9130 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9131 $as_echo_n "(cached) " >&6
9133 ac_check_lib_save_LIBS=$LIBS
9134 LIBS="-lxml2 $ac_xml_libs $LIBS"
9135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9136 /* end confdefs.h. */
9138 /* Override any GCC internal prototype to avoid an error.
9139 Use char because int might match the return type of a GCC
9140 builtin and then its argument prototype would still apply. */
9144 char xmlParseMemory ();
9148 return xmlParseMemory ();
9153 if ac_fn_c_try_link "$LINENO"; then :
9154 ac_cv_lib_xml2_xmlParseMemory=yes
9156 ac_cv_lib_xml2_xmlParseMemory=no
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 LIBS=$ac_check_lib_save_LIBS
9162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9163 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9164 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9166 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9168 XML2LIBS="$ac_xml_libs"
9169 XML2INCL="$ac_xml_cflags"
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9173 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9174 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9175 $as_echo_n "(cached) " >&6
9177 ac_check_lib_save_LIBS=$LIBS
9178 LIBS="-lxml2 $ac_xml_libs $LIBS"
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9188 char xmlReadMemory ();
9192 return xmlReadMemory ();
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 ac_cv_lib_xml2_xmlReadMemory=yes
9200 ac_cv_lib_xml2_xmlReadMemory=no
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_lib_save_LIBS
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9207 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9208 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9210 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9215 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9216 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9217 $as_echo_n "(cached) " >&6
9219 ac_check_lib_save_LIBS=$LIBS
9220 LIBS="-lxml2 $ac_xml_libs $LIBS"
9221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9224 /* Override any GCC internal prototype to avoid an error.
9225 Use char because int might match the return type of a GCC
9226 builtin and then its argument prototype would still apply. */
9230 char xmlNewDocPI ();
9234 return xmlNewDocPI ();
9239 if ac_fn_c_try_link "$LINENO"; then :
9240 ac_cv_lib_xml2_xmlNewDocPI=yes
9242 ac_cv_lib_xml2_xmlNewDocPI=no
9244 rm -f core conftest.err conftest.$ac_objext \
9245 conftest$ac_exeext conftest.$ac_ext
9246 LIBS=$ac_check_lib_save_LIBS
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9249 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9250 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9252 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9257 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9258 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9259 $as_echo_n "(cached) " >&6
9261 ac_check_lib_save_LIBS=$LIBS
9262 LIBS="-lxml2 $ac_xml_libs $LIBS"
9263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9272 char xmlSchemaSetParserStructuredErrors ();
9276 return xmlSchemaSetParserStructuredErrors ();
9281 if ac_fn_c_try_link "$LINENO"; then :
9282 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9284 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9286 rm -f core conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 LIBS=$ac_check_lib_save_LIBS
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9291 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9292 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9294 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9299 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9300 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9301 $as_echo_n "(cached) " >&6
9303 ac_check_lib_save_LIBS=$LIBS
9304 LIBS="-lxml2 $ac_xml_libs $LIBS"
9305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9308 /* Override any GCC internal prototype to avoid an error.
9309 Use char because int might match the return type of a GCC
9310 builtin and then its argument prototype would still apply. */
9314 char xmlSchemaSetValidStructuredErrors ();
9318 return xmlSchemaSetValidStructuredErrors ();
9323 if ac_fn_c_try_link "$LINENO"; then :
9324 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9326 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9328 rm -f core conftest.err conftest.$ac_objext \
9329 conftest$ac_exeext conftest.$ac_ext
9330 LIBS=$ac_check_lib_save_LIBS
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9333 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9334 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9336 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9341 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9342 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9343 $as_echo_n "(cached) " >&6
9345 ac_check_lib_save_LIBS=$LIBS
9346 LIBS="-lxml2 $ac_xml_libs $LIBS"
9347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9348 /* end confdefs.h. */
9350 /* Override any GCC internal prototype to avoid an error.
9351 Use char because int might match the return type of a GCC
9352 builtin and then its argument prototype would still apply. */
9356 char xmlFirstElementChild ();
9360 return xmlFirstElementChild ();
9365 if ac_fn_c_try_link "$LINENO"; then :
9366 ac_cv_lib_xml2_xmlFirstElementChild=yes
9368 ac_cv_lib_xml2_xmlFirstElementChild=no
9370 rm -f core conftest.err conftest.$ac_objext \
9371 conftest$ac_exeext conftest.$ac_ext
9372 LIBS=$ac_check_lib_save_LIBS
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9375 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9376 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9378 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9382 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9384 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9386 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9391 CPPFLAGS="$ac_save_CPPFLAGS"
9393 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9394 case "x$with_xml" in
9395 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9397 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9398 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9402 if test "x$with_xslt" != "xno"
9404 if test "$PKG_CONFIG" != "false"
9406 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9407 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9409 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9410 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9412 ac_save_CPPFLAGS="$CPPFLAGS"
9413 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9414 for ac_header in libxslt/pattern.h libxslt/transform.h
9416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9417 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9418 # include <libxslt/pattern.h>
9421 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9422 cat >>confdefs.h <<_ACEOF
9423 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9430 CPPFLAGS="$ac_save_CPPFLAGS"
9431 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9434 $as_echo_n "checking for -lxslt... " >&6; }
9435 if ${ac_cv_lib_soname_xslt+:} false; then :
9436 $as_echo_n "(cached) " >&6
9438 ac_check_soname_save_LIBS=$LIBS
9439 LIBS="-lxslt $ac_xslt_libs $LIBS"
9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9449 char xsltCompilePattern ();
9453 return xsltCompilePattern ();
9458 if ac_fn_c_try_link "$LINENO"; then :
9460 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9461 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'` ;;
9462 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 LIBS=$ac_check_soname_save_LIBS
9469 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9471 $as_echo "not found" >&6; }
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9475 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9477 cat >>confdefs.h <<_ACEOF
9478 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9481 XSLTINCL="$ac_xslt_cflags"
9485 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9486 case "x$with_xslt" in
9487 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9489 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9490 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9496 if test "x$with_hal" != "xno"
9498 ac_save_CPPFLAGS="$CPPFLAGS"
9499 if test "$PKG_CONFIG" != "false"
9501 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9502 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9503 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9505 for ac_header in dbus/dbus.h hal/libhal.h
9507 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9508 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9509 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9510 cat >>confdefs.h <<_ACEOF
9511 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9518 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9521 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9522 if ${ac_cv_lib_dbus_1_dbus_connection_close+:} false; then :
9523 $as_echo_n "(cached) " >&6
9525 ac_check_lib_save_LIBS=$LIBS
9526 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528 /* end confdefs.h. */
9530 /* Override any GCC internal prototype to avoid an error.
9531 Use char because int might match the return type of a GCC
9532 builtin and then its argument prototype would still apply. */
9536 char dbus_connection_close ();
9540 return dbus_connection_close ();
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_lib_dbus_1_dbus_connection_close=yes
9548 ac_cv_lib_dbus_1_dbus_connection_close=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9555 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9556 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = xyes; then :
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9558 $as_echo_n "checking for -lhal... " >&6; }
9559 if ${ac_cv_lib_soname_hal+:} false; then :
9560 $as_echo_n "(cached) " >&6
9562 ac_check_soname_save_LIBS=$LIBS
9563 LIBS="-lhal $ac_hal_libs $LIBS"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9573 char libhal_ctx_new ();
9577 return libhal_ctx_new ();
9582 if ac_fn_c_try_link "$LINENO"; then :
9584 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9585 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'` ;;
9586 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_soname_save_LIBS
9593 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9595 $as_echo "not found" >&6; }
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9599 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9601 cat >>confdefs.h <<_ACEOF
9602 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9605 HALINCL="$ac_hal_cflags"
9610 CPPFLAGS="$ac_save_CPPFLAGS"
9612 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9613 case "x$with_hal" in
9614 x) as_fn_append wine_notices "|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9616 *) as_fn_error $? "libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9617 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9621 if test "x$with_gnutls" != "xno"
9623 ac_save_CPPFLAGS="$CPPFLAGS"
9624 if test "$PKG_CONFIG" != "false"
9626 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9627 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9628 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9630 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9631 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9634 #include <gnutls/gnutls.h>
9638 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9643 if ac_fn_c_try_compile "$LINENO"; then :
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9645 $as_echo_n "checking for -lgnutls... " >&6; }
9646 if ${ac_cv_lib_soname_gnutls+:} false; then :
9647 $as_echo_n "(cached) " >&6
9649 ac_check_soname_save_LIBS=$LIBS
9650 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9652 /* end confdefs.h. */
9654 /* Override any GCC internal prototype to avoid an error.
9655 Use char because int might match the return type of a GCC
9656 builtin and then its argument prototype would still apply. */
9660 char gnutls_global_init ();
9664 return gnutls_global_init ();
9669 if ac_fn_c_try_link "$LINENO"; then :
9671 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9672 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'` ;;
9673 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9676 rm -f core conftest.err conftest.$ac_objext \
9677 conftest$ac_exeext conftest.$ac_ext
9678 LIBS=$ac_check_soname_save_LIBS
9680 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9682 $as_echo "not found" >&6; }
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9686 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9688 cat >>confdefs.h <<_ACEOF
9689 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9692 GNUTLSINCL="$ac_gnutls_cflags"
9696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9700 CPPFLAGS="$ac_save_CPPFLAGS"
9702 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9703 case "x$with_gnutls" in
9704 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9706 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9707 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9712 if test "$ac_cv_header_ncurses_h" = "yes"
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9715 $as_echo_n "checking for -lncurses... " >&6; }
9716 if ${ac_cv_lib_soname_ncurses+:} false; then :
9717 $as_echo_n "(cached) " >&6
9719 ac_check_soname_save_LIBS=$LIBS
9720 LIBS="-lncurses $LIBS"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9739 if ac_fn_c_try_link "$LINENO"; then :
9741 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9742 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'` ;;
9743 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9746 rm -f core conftest.err conftest.$ac_objext \
9747 conftest$ac_exeext conftest.$ac_ext
9748 LIBS=$ac_check_soname_save_LIBS
9750 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9752 $as_echo "not found" >&6; }
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9756 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9758 cat >>confdefs.h <<_ACEOF
9759 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9762 CURSESLIBS="-lncurses"
9764 elif test "$ac_cv_header_curses_h" = "yes"
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9767 $as_echo_n "checking for -lcurses... " >&6; }
9768 if ${ac_cv_lib_soname_curses+:} false; then :
9769 $as_echo_n "(cached) " >&6
9771 ac_check_soname_save_LIBS=$LIBS
9772 LIBS="-lcurses $LIBS"
9773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9774 /* end confdefs.h. */
9776 /* Override any GCC internal prototype to avoid an error.
9777 Use char because int might match the return type of a GCC
9778 builtin and then its argument prototype would still apply. */
9791 if ac_fn_c_try_link "$LINENO"; then :
9793 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9794 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'` ;;
9795 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9798 rm -f core conftest.err conftest.$ac_objext \
9799 conftest$ac_exeext conftest.$ac_ext
9800 LIBS=$ac_check_soname_save_LIBS
9802 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9804 $as_echo "not found" >&6; }
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9808 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9810 cat >>confdefs.h <<_ACEOF
9811 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9814 CURSESLIBS="-lcurses"
9817 ac_save_LIBS="$LIBS"
9818 LIBS="$LIBS $CURSESLIBS"
9819 for ac_func in mousemask
9821 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9822 if test "x$ac_cv_func_mousemask" = xyes; then :
9823 cat >>confdefs.h <<_ACEOF
9824 #define HAVE_MOUSEMASK 1
9830 LIBS="$ac_save_LIBS"
9831 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9832 case "x$with_curses" in
9833 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9835 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9836 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9840 if test "x$with_sane" != "xno"
9842 ac_save_CPPFLAGS="$CPPFLAGS"
9843 # Extract the first word of "sane-config", so it can be a program name with args.
9844 set dummy sane-config; ac_word=$2
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9846 $as_echo_n "checking for $ac_word... " >&6; }
9847 if ${ac_cv_prog_sane_devel+:} false; then :
9848 $as_echo_n "(cached) " >&6
9850 if test -n "$sane_devel"; then
9851 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir=.
9858 for ac_exec_ext in '' $ac_executable_extensions; do
9859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9860 ac_cv_prog_sane_devel="sane-config"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9868 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9871 sane_devel=$ac_cv_prog_sane_devel
9872 if test -n "$sane_devel"; then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9874 $as_echo "$sane_devel" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9877 $as_echo "no" >&6; }
9881 if test "$sane_devel" != "no"
9883 ac_sane_incl="`$sane_devel --cflags`"
9884 ac_sane_libs="`$sane_devel --ldflags`"
9885 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9887 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9888 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9890 $as_echo_n "checking for -lsane... " >&6; }
9891 if ${ac_cv_lib_soname_sane+:} false; then :
9892 $as_echo_n "(cached) " >&6
9894 ac_check_soname_save_LIBS=$LIBS
9895 LIBS="-lsane $ac_sane_libs $LIBS"
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9899 /* Override any GCC internal prototype to avoid an error.
9900 Use char because int might match the return type of a GCC
9901 builtin and then its argument prototype would still apply. */
9909 return sane_init ();
9914 if ac_fn_c_try_link "$LINENO"; then :
9916 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9917 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'` ;;
9918 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9921 rm -f core conftest.err conftest.$ac_objext \
9922 conftest$ac_exeext conftest.$ac_ext
9923 LIBS=$ac_check_soname_save_LIBS
9925 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9927 $as_echo "not found" >&6; }
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9931 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9933 cat >>confdefs.h <<_ACEOF
9934 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9937 SANEINCL="$ac_sane_incl"
9943 CPPFLAGS="$ac_save_CPPFLAGS"
9945 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9946 case "x$with_sane" in
9947 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9949 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
9950 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9954 if test "x$with_v4l" != "xno"
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9957 $as_echo_n "checking for -lv4l1... " >&6; }
9958 if ${ac_cv_lib_soname_v4l1+:} false; then :
9959 $as_echo_n "(cached) " >&6
9961 ac_check_soname_save_LIBS=$LIBS
9963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9966 /* Override any GCC internal prototype to avoid an error.
9967 Use char because int might match the return type of a GCC
9968 builtin and then its argument prototype would still apply. */
9976 return v4l1_open ();
9981 if ac_fn_c_try_link "$LINENO"; then :
9983 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9984 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'` ;;
9985 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9988 rm -f core conftest.err conftest.$ac_objext \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LIBS=$ac_check_soname_save_LIBS
9992 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9994 $as_echo "not found" >&6; }
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9998 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10000 cat >>confdefs.h <<_ACEOF
10001 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10007 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10008 case "x$with_v4l" in
10009 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10011 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10012 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10016 if test "x$with_gphoto" != "xno"
10018 ac_save_CPPFLAGS="$CPPFLAGS"
10019 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10020 set dummy gphoto2-config; ac_word=$2
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10022 $as_echo_n "checking for $ac_word... " >&6; }
10023 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10024 $as_echo_n "(cached) " >&6
10026 if test -n "$gphoto2_devel"; then
10027 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10030 for as_dir in $PATH
10033 test -z "$as_dir" && as_dir=.
10034 for ac_exec_ext in '' $ac_executable_extensions; do
10035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10036 ac_cv_prog_gphoto2_devel="gphoto2-config"
10037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10044 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10047 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10048 if test -n "$gphoto2_devel"; then
10049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10050 $as_echo "$gphoto2_devel" >&6; }
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10053 $as_echo "no" >&6; }
10057 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10058 set dummy gphoto2-port-config; ac_word=$2
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10060 $as_echo_n "checking for $ac_word... " >&6; }
10061 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10062 $as_echo_n "(cached) " >&6
10064 if test -n "$gphoto2port_devel"; then
10065 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10068 for as_dir in $PATH
10071 test -z "$as_dir" && as_dir=.
10072 for ac_exec_ext in '' $ac_executable_extensions; do
10073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10074 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10082 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10085 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10086 if test -n "$gphoto2port_devel"; then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10088 $as_echo "$gphoto2port_devel" >&6; }
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10091 $as_echo "no" >&6; }
10095 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10097 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10099 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10102 -L/usr/lib|-L/usr/lib64) ;;
10103 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10106 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10108 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10109 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10110 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10112 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10113 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10114 $as_echo_n "(cached) " >&6
10116 ac_check_lib_save_LIBS=$LIBS
10117 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10127 char gp_camera_new ();
10131 return gp_camera_new ();
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 ac_cv_lib_gphoto2_gp_camera_new=yes
10139 ac_cv_lib_gphoto2_gp_camera_new=no
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_lib_save_LIBS
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10146 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10147 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10149 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10151 GPHOTO2LIBS="$ac_gphoto2_libs"
10153 GPHOTO2INCL="$ac_gphoto2_incl"
10160 CPPFLAGS="$ac_save_CPPFLAGS"
10162 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10163 case "x$with_gphoto" in
10164 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10166 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10167 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10172 if test "$ac_cv_header_resolv_h" = "yes"
10174 ac_save_LIBS="$LIBS"
10175 for lib in '' -lresolv
10177 LIBS="$lib $ac_save_LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10180 #ifdef HAVE_NETINET_IN_H
10181 #include <netinet/in.h>
10183 #include <resolv.h>
10187 res_query("foo",ns_c_in,0,0,0);
10192 if ac_fn_c_try_link "$LINENO"; then :
10194 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10199 rm -f core conftest.err conftest.$ac_objext \
10200 conftest$ac_exeext conftest.$ac_ext
10201 if test "${RESOLVLIBS+set}" = set; then
10205 LIBS="$ac_save_LIBS"
10210 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10213 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10214 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10215 $as_echo_n "(cached) " >&6
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-llcms $LIBS"
10219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10220 /* end confdefs.h. */
10222 /* Override any GCC internal prototype to avoid an error.
10223 Use char because int might match the return type of a GCC
10224 builtin and then its argument prototype would still apply. */
10228 char cmsOpenProfileFromFile ();
10232 return cmsOpenProfileFromFile ();
10237 if ac_fn_c_try_link "$LINENO"; then :
10238 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10240 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10242 rm -f core conftest.err conftest.$ac_objext \
10243 conftest$ac_exeext conftest.$ac_ext
10244 LIBS=$ac_check_lib_save_LIBS
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10247 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10248 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10250 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10256 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10257 case "x$with_cms" in
10258 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10260 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10261 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10265 if test "x$with_freetype" != "xno"
10267 for ac_prog in freetype-config freetype2-config
10269 # Extract the first word of "$ac_prog", so it can be a program name with args.
10270 set dummy $ac_prog; ac_word=$2
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10272 $as_echo_n "checking for $ac_word... " >&6; }
10273 if ${ac_cv_prog_ft_devel+:} false; then :
10274 $as_echo_n "(cached) " >&6
10276 if test -n "$ft_devel"; then
10277 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10280 for as_dir in $PATH
10283 test -z "$as_dir" && as_dir=.
10284 for ac_exec_ext in '' $ac_executable_extensions; do
10285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10286 ac_cv_prog_ft_devel="$ac_prog"
10287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10296 ft_devel=$ac_cv_prog_ft_devel
10297 if test -n "$ft_devel"; then
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10299 $as_echo "$ft_devel" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10302 $as_echo "no" >&6; }
10306 test -n "$ft_devel" && break
10308 test -n "$ft_devel" || ft_devel="no"
10310 if test "$ft_devel" != "no"
10312 ac_freetype_incl=`$ft_devel --cflags`
10313 ac_freetype_libs=`$ft_devel --libs`
10315 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10317 $as_echo_n "checking for -lfreetype... " >&6; }
10318 if ${ac_cv_lib_soname_freetype+:} false; then :
10319 $as_echo_n "(cached) " >&6
10321 ac_check_soname_save_LIBS=$LIBS
10322 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10324 /* end confdefs.h. */
10326 /* Override any GCC internal prototype to avoid an error.
10327 Use char because int might match the return type of a GCC
10328 builtin and then its argument prototype would still apply. */
10332 char FT_Init_FreeType ();
10336 return FT_Init_FreeType ();
10341 if ac_fn_c_try_link "$LINENO"; then :
10343 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10344 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'` ;;
10345 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10348 rm -f core conftest.err conftest.$ac_objext \
10349 conftest$ac_exeext conftest.$ac_ext
10350 LIBS=$ac_check_soname_save_LIBS
10352 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10354 $as_echo "not found" >&6; }
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10358 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10360 cat >>confdefs.h <<_ACEOF
10361 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10366 if test "$ft_lib" = "yes"
10368 ac_save_CPPFLAGS="$CPPFLAGS"
10369 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10370 for ac_header in ft2build.h \
10371 freetype/freetype.h \
10372 freetype/ftglyph.h \
10373 freetype/fttypes.h \
10374 freetype/tttables.h \
10375 freetype/ftsnames.h \
10376 freetype/ttnameid.h \
10377 freetype/ftoutln.h \
10378 freetype/ftwinfnt.h \
10379 freetype/ftmodapi.h \
10380 freetype/ftlcdfil.h
10382 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10383 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10384 # include <ft2build.h>
10387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10388 cat >>confdefs.h <<_ACEOF
10389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10398 #include <ft2build.h>
10399 #include <freetype/fttrigon.h>
10401 if ac_fn_c_try_cpp "$LINENO"; then :
10403 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10405 wine_cv_fttrigon=yes
10407 wine_cv_fttrigon=no
10409 rm -f conftest.err conftest.i conftest.$ac_ext
10410 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10412 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10414 cat >>confdefs.h <<_ACEOF
10415 #define HAVE_FT_TRUETYPEENGINETYPE 1
10421 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10424 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10426 FREETYPELIBS="$ac_freetype_libs"
10428 FREETYPEINCL="$ac_freetype_incl"
10433 if test "x$FREETYPELIBS" = "x"; then :
10434 case "x$with_freetype" in
10436 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10437 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10440 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10443 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10444 if ${ac_cv_c_ppdev+:} false; then :
10445 $as_echo_n "(cached) " >&6
10447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10448 /* end confdefs.h. */
10449 #ifdef HAVE_SYS_IOCTL_H
10450 # include <sys/ioctl.h>
10452 #include <linux/ppdev.h>
10456 ioctl (1,PPCLAIM,0)
10461 if ac_fn_c_try_compile "$LINENO"; then :
10462 ac_cv_c_ppdev="yes"
10466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10469 $as_echo "$ac_cv_c_ppdev" >&6; }
10470 if test "$ac_cv_c_ppdev" = "yes"
10473 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10477 ac_wine_check_funcs_save_LIBS="$LIBS"
10478 LIBS="$LIBS $LIBPTHREAD"
10480 pthread_attr_get_np \
10481 pthread_getattr_np \
10482 pthread_get_stackaddr_np \
10483 pthread_get_stacksize_np
10485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10487 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10488 cat >>confdefs.h <<_ACEOF
10489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10495 LIBS="$ac_wine_check_funcs_save_LIBS"
10497 if test "$ac_cv_header_zlib_h" = "yes"
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10500 $as_echo_n "checking for inflate in -lz... " >&6; }
10501 if ${ac_cv_lib_z_inflate+:} false; then :
10502 $as_echo_n "(cached) " >&6
10504 ac_check_lib_save_LIBS=$LIBS
10506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10507 /* end confdefs.h. */
10509 /* Override any GCC internal prototype to avoid an error.
10510 Use char because int might match the return type of a GCC
10511 builtin and then its argument prototype would still apply. */
10524 if ac_fn_c_try_link "$LINENO"; then :
10525 ac_cv_lib_z_inflate=yes
10527 ac_cv_lib_z_inflate=no
10529 rm -f core conftest.err conftest.$ac_objext \
10530 conftest$ac_exeext conftest.$ac_ext
10531 LIBS=$ac_check_lib_save_LIBS
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10534 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10535 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10537 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10544 if test "x$ZLIB" = "x"; then :
10545 case "x$with_zlib" in
10546 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10548 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10549 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10553 if test "x$enable_tools" != xno
10555 if test "$ac_cv_header_gettext_po_h" = "yes"
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10558 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10559 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10560 $as_echo_n "(cached) " >&6
10562 ac_check_lib_save_LIBS=$LIBS
10563 LIBS="-lgettextpo $LIBS"
10564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10565 /* end confdefs.h. */
10567 /* Override any GCC internal prototype to avoid an error.
10568 Use char because int might match the return type of a GCC
10569 builtin and then its argument prototype would still apply. */
10573 char po_message_msgctxt ();
10577 return po_message_msgctxt ();
10582 if ac_fn_c_try_link "$LINENO"; then :
10583 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10585 ac_cv_lib_gettextpo_po_message_msgctxt=no
10587 rm -f core conftest.err conftest.$ac_objext \
10588 conftest$ac_exeext conftest.$ac_ext
10589 LIBS=$ac_check_lib_save_LIBS
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10592 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10593 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10595 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10597 LIBGETTEXTPO="-lgettextpo"
10602 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10603 case "x$with_gettextpo" in
10604 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10606 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10607 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10612 if test "x$with_gstreamer" != "xno"
10614 ac_save_CPPFLAGS="$CPPFLAGS"
10615 if test "$PKG_CONFIG" != "false"; then
10617 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10620 -I*) ac_gst_incl="$ac_gst_incl $i";;
10623 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10624 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10625 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10626 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10627 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10628 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10630 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10632 /* end confdefs.h. */
10633 #include <gst/app/gstappsink.h>
10637 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10642 if ac_fn_c_try_compile "$LINENO"; then :
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10644 $as_echo "yes" >&6; }
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10646 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10647 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10648 $as_echo_n "(cached) " >&6
10650 ac_check_lib_save_LIBS=$LIBS
10651 LIBS="-lgstreamer-0.10 $LIBS"
10652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10653 /* end confdefs.h. */
10655 /* Override any GCC internal prototype to avoid an error.
10656 Use char because int might match the return type of a GCC
10657 builtin and then its argument prototype would still apply. */
10661 char gst_pad_get_caps_reffed ();
10665 return gst_pad_get_caps_reffed ();
10670 if ac_fn_c_try_link "$LINENO"; then :
10671 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10673 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10675 rm -f core conftest.err conftest.$ac_objext \
10676 conftest$ac_exeext conftest.$ac_ext
10677 LIBS=$ac_check_lib_save_LIBS
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10680 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10681 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10683 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10684 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10685 $as_echo_n "(cached) " >&6
10687 ac_check_lib_save_LIBS=$LIBS
10688 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10690 /* end confdefs.h. */
10692 /* Override any GCC internal prototype to avoid an error.
10693 Use char because int might match the return type of a GCC
10694 builtin and then its argument prototype would still apply. */
10698 char gst_app_buffer_new ();
10702 return gst_app_buffer_new ();
10707 if ac_fn_c_try_link "$LINENO"; then :
10708 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10710 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10712 rm -f core conftest.err conftest.$ac_objext \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LIBS=$ac_check_lib_save_LIBS
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10717 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10718 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10719 GSTREAMER_LIBS="$ac_gst_libs"
10721 GSTREAMER_INCL="$ac_gst_incl"
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10729 $as_echo "no" >&6; }
10731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10739 CPPFLAGS="$ac_save_CPPFLAGS"
10741 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10742 case "x$with_gstreamer" in
10743 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10745 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10746 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10749 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10753 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10756 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10757 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10758 $as_echo_n "(cached) " >&6
10760 ac_check_lib_save_LIBS=$LIBS
10761 LIBS="-lasound $LIBS"
10762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10765 /* Override any GCC internal prototype to avoid an error.
10766 Use char because int might match the return type of a GCC
10767 builtin and then its argument prototype would still apply. */
10771 char snd_pcm_hw_params_get_access_mask ();
10775 return snd_pcm_hw_params_get_access_mask ();
10780 if ac_fn_c_try_link "$LINENO"; then :
10781 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
10783 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
10785 rm -f core conftest.err conftest.$ac_objext \
10786 conftest$ac_exeext conftest.$ac_ext
10787 LIBS=$ac_check_lib_save_LIBS
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10790 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10791 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
10792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10793 /* end confdefs.h. */
10794 #ifdef HAVE_ALSA_ASOUNDLIB_H
10795 #include <alsa/asoundlib.h>
10796 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10797 #include <sys/asoundlib.h>
10802 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10807 if ac_fn_c_try_compile "$LINENO"; then :
10808 ALSALIBS="-lasound"
10810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10815 if test "x$with_oss" != xno
10817 ac_save_CPPFLAGS="$CPPFLAGS"
10818 if test -f /etc/oss.conf
10822 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10823 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
10824 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10825 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
10826 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10828 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
10830 cat >>confdefs.h <<_ACEOF
10831 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10834 OSS4INCL="$ac_oss_incl"
10841 CPPFLAGS="$ac_save_CPPFLAGS"
10842 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10844 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10849 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10852 $as_echo_n "checking for -lcapi20... " >&6; }
10853 if ${ac_cv_lib_soname_capi20+:} false; then :
10854 $as_echo_n "(cached) " >&6
10856 ac_check_soname_save_LIBS=$LIBS
10857 LIBS="-lcapi20 $LIBS"
10858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10861 /* Override any GCC internal prototype to avoid an error.
10862 Use char because int might match the return type of a GCC
10863 builtin and then its argument prototype would still apply. */
10867 char capi20_register ();
10871 return capi20_register ();
10876 if ac_fn_c_try_link "$LINENO"; then :
10878 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10879 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'` ;;
10880 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10883 rm -f core conftest.err conftest.$ac_objext \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LIBS=$ac_check_soname_save_LIBS
10887 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10889 $as_echo "not found" >&6; }
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10893 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10895 cat >>confdefs.h <<_ACEOF
10896 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10902 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10903 case "x$with_capi" in
10904 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10906 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10907 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10913 if test "x$with_cups" != "xno"
10915 ac_save_CPPFLAGS="$CPPFLAGS"
10916 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
10917 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
10918 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
10919 for ac_header in cups/cups.h
10921 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10922 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
10923 cat >>confdefs.h <<_ACEOF
10924 #define HAVE_CUPS_CUPS_H 1
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10927 $as_echo_n "checking for -lcups... " >&6; }
10928 if ${ac_cv_lib_soname_cups+:} false; then :
10929 $as_echo_n "(cached) " >&6
10931 ac_check_soname_save_LIBS=$LIBS
10932 LIBS="-lcups $ac_cups_libs $LIBS"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10942 char cupsGetDefault ();
10946 return cupsGetDefault ();
10951 if ac_fn_c_try_link "$LINENO"; then :
10953 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10954 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'` ;;
10955 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10958 rm -f core conftest.err conftest.$ac_objext \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_soname_save_LIBS
10962 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10964 $as_echo "not found" >&6; }
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10968 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10970 cat >>confdefs.h <<_ACEOF
10971 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10974 CUPSINCL="$ac_cups_cflags"
10980 CPPFLAGS="$ac_save_CPPFLAGS"
10982 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10983 case "x$with_cups" in
10984 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10986 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
10987 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10991 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10994 $as_echo_n "checking for -lfontconfig... " >&6; }
10995 if ${ac_cv_lib_soname_fontconfig+:} false; then :
10996 $as_echo_n "(cached) " >&6
10998 ac_check_soname_save_LIBS=$LIBS
10999 LIBS="-lfontconfig $LIBS"
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11003 /* Override any GCC internal prototype to avoid an error.
11004 Use char because int might match the return type of a GCC
11005 builtin and then its argument prototype would still apply. */
11018 if ac_fn_c_try_link "$LINENO"; then :
11020 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11021 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'` ;;
11022 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11025 rm -f core conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_soname_save_LIBS
11029 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11031 $as_echo "not found" >&6; }
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11035 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11037 cat >>confdefs.h <<_ACEOF
11038 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11043 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11045 ac_save_CPPFLAGS="$CPPFLAGS"
11046 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11047 $as_unset ac_cv_header_fontconfig_fontconfig_h
11048 for ac_header in fontconfig/fontconfig.h
11050 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11051 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11052 cat >>confdefs.h <<_ACEOF
11053 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11060 CPPFLAGS="$ac_save_CPPFLAGS"
11061 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11063 FONTCONFIGINCL="$X_CFLAGS"
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11066 $as_echo_n "checking for -lfontconfig... " >&6; }
11067 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11068 $as_echo_n "(cached) " >&6
11070 ac_check_soname_save_LIBS=$LIBS
11071 LIBS="-lfontconfig $X_LIBS $LIBS"
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073 /* end confdefs.h. */
11075 /* Override any GCC internal prototype to avoid an error.
11076 Use char because int might match the return type of a GCC
11077 builtin and then its argument prototype would still apply. */
11090 if ac_fn_c_try_link "$LINENO"; then :
11092 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11093 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'` ;;
11094 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11097 rm -f core conftest.err conftest.$ac_objext \
11098 conftest$ac_exeext conftest.$ac_ext
11099 LIBS=$ac_check_soname_save_LIBS
11101 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11103 $as_echo "not found" >&6; }
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11107 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11109 cat >>confdefs.h <<_ACEOF
11110 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11117 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11118 case "x$with_fontconfig" in
11119 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11121 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11122 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11126 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11129 $as_echo_n "checking for -lssl... " >&6; }
11130 if ${ac_cv_lib_soname_ssl+:} false; then :
11131 $as_echo_n "(cached) " >&6
11133 ac_check_soname_save_LIBS=$LIBS
11135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11144 char SSL_library_init ();
11148 return SSL_library_init ();
11153 if ac_fn_c_try_link "$LINENO"; then :
11155 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11156 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'` ;;
11157 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11160 rm -f core conftest.err conftest.$ac_objext \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_soname_save_LIBS
11164 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11166 $as_echo "not found" >&6; }
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11170 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11172 cat >>confdefs.h <<_ACEOF
11173 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11179 $as_echo_n "checking for -lcrypto... " >&6; }
11180 if ${ac_cv_lib_soname_crypto+:} false; then :
11181 $as_echo_n "(cached) " >&6
11183 ac_check_soname_save_LIBS=$LIBS
11184 LIBS="-lcrypto $LIBS"
11185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186 /* end confdefs.h. */
11188 /* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11194 char BIO_new_socket ();
11198 return BIO_new_socket ();
11203 if ac_fn_c_try_link "$LINENO"; then :
11205 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11206 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'` ;;
11207 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11210 rm -f core conftest.err conftest.$ac_objext \
11211 conftest$ac_exeext conftest.$ac_ext
11212 LIBS=$ac_check_soname_save_LIBS
11214 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11216 $as_echo "not found" >&6; }
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11220 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11222 cat >>confdefs.h <<_ACEOF
11223 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11229 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11230 case "x$with_openssl" in
11231 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11233 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11234 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11238 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11241 $as_echo_n "checking for -lgsm... " >&6; }
11242 if ${ac_cv_lib_soname_gsm+:} false; then :
11243 $as_echo_n "(cached) " >&6
11245 ac_check_soname_save_LIBS=$LIBS
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11256 char gsm_create ();
11260 return gsm_create ();
11265 if ac_fn_c_try_link "$LINENO"; then :
11267 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11268 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'` ;;
11269 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_soname_save_LIBS
11276 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11278 $as_echo "not found" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11282 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11284 cat >>confdefs.h <<_ACEOF
11285 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11291 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11292 case "x$with_gsm" in
11293 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11295 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11296 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11300 if test "$ac_cv_header_jpeglib_h" = "yes"
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11303 $as_echo_n "checking for -ljpeg... " >&6; }
11304 if ${ac_cv_lib_soname_jpeg+:} false; then :
11305 $as_echo_n "(cached) " >&6
11307 ac_check_soname_save_LIBS=$LIBS
11308 LIBS="-ljpeg $LIBS"
11309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11310 /* end confdefs.h. */
11312 /* Override any GCC internal prototype to avoid an error.
11313 Use char because int might match the return type of a GCC
11314 builtin and then its argument prototype would still apply. */
11318 char jpeg_start_decompress ();
11322 return jpeg_start_decompress ();
11327 if ac_fn_c_try_link "$LINENO"; then :
11329 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11330 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'` ;;
11331 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11334 rm -f core conftest.err conftest.$ac_objext \
11335 conftest$ac_exeext conftest.$ac_ext
11336 LIBS=$ac_check_soname_save_LIBS
11338 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11340 $as_echo "not found" >&6; }
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11344 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11346 cat >>confdefs.h <<_ACEOF
11347 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11353 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11354 case "x$with_jpeg" in
11355 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11357 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11358 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11362 if test "$ac_cv_header_png_h" = "yes"
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11365 $as_echo_n "checking for -lpng... " >&6; }
11366 if ${ac_cv_lib_soname_png+:} false; then :
11367 $as_echo_n "(cached) " >&6
11369 ac_check_soname_save_LIBS=$LIBS
11370 LIBS="-lpng -lm -lz $LIBS"
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11380 char png_create_read_struct ();
11384 return png_create_read_struct ();
11389 if ac_fn_c_try_link "$LINENO"; then :
11391 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11392 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'` ;;
11393 *) 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'` ;;
11396 rm -f core conftest.err conftest.$ac_objext \
11397 conftest$ac_exeext conftest.$ac_ext
11398 LIBS=$ac_check_soname_save_LIBS
11400 if test "x$ac_cv_lib_soname_png" = "x"; then :
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11402 $as_echo "not found" >&6; }
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11406 $as_echo "$ac_cv_lib_soname_png" >&6; }
11408 cat >>confdefs.h <<_ACEOF
11409 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11415 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11416 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11417 $as_echo_n "(cached) " >&6
11419 ac_check_lib_save_LIBS=$LIBS
11420 LIBS="-lpng -lm -lz $LIBS"
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11430 char png_set_expand_gray_1_2_4_to_8 ();
11434 return png_set_expand_gray_1_2_4_to_8 ();
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11442 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11449 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11450 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11452 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11457 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11459 ac_save_CPPFLAGS="$CPPFLAGS"
11460 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11461 $as_unset ac_cv_header_png_h
11462 for ac_header in png.h
11464 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11465 if test "x$ac_cv_header_png_h" = xyes; then :
11466 cat >>confdefs.h <<_ACEOF
11467 #define HAVE_PNG_H 1
11474 CPPFLAGS="$ac_save_CPPFLAGS"
11475 if test "$ac_cv_header_png_h" = "yes"
11477 PNGINCL="$X_CFLAGS"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11480 $as_echo_n "checking for -lpng... " >&6; }
11481 if ${ac_cv_lib_soname_png+:} false; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_soname_save_LIBS=$LIBS
11485 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11495 char png_create_read_struct ();
11499 return png_create_read_struct ();
11504 if ac_fn_c_try_link "$LINENO"; then :
11506 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11507 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'` ;;
11508 *) 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'` ;;
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if test "x$ac_cv_lib_soname_png" = "x"; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11521 $as_echo "$ac_cv_lib_soname_png" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11530 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11531 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11532 $as_echo_n "(cached) " >&6
11534 ac_check_lib_save_LIBS=$LIBS
11535 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11537 /* end confdefs.h. */
11539 /* Override any GCC internal prototype to avoid an error.
11540 Use char because int might match the return type of a GCC
11541 builtin and then its argument prototype would still apply. */
11545 char png_set_expand_gray_1_2_4_to_8 ();
11549 return png_set_expand_gray_1_2_4_to_8 ();
11554 if ac_fn_c_try_link "$LINENO"; then :
11555 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11557 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11559 rm -f core conftest.err conftest.$ac_objext \
11560 conftest$ac_exeext conftest.$ac_ext
11561 LIBS=$ac_check_lib_save_LIBS
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11564 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11565 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11566 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11572 if test "x$ac_cv_lib_soname_png" = "x"; then :
11573 case "x$with_png" in
11574 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11576 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11577 This is an error since --with-png was requested." "$LINENO" 5 ;;
11581 if test "$ac_cv_header_tiffio_h" = "yes"
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11584 $as_echo_n "checking for -ltiff... " >&6; }
11585 if ${ac_cv_lib_soname_tiff+:} false; then :
11586 $as_echo_n "(cached) " >&6
11588 ac_check_soname_save_LIBS=$LIBS
11589 LIBS="-ltiff $LIBS"
11590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11591 /* end confdefs.h. */
11593 /* Override any GCC internal prototype to avoid an error.
11594 Use char because int might match the return type of a GCC
11595 builtin and then its argument prototype would still apply. */
11599 char TIFFClientOpen ();
11603 return TIFFClientOpen ();
11608 if ac_fn_c_try_link "$LINENO"; then :
11610 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11611 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'` ;;
11612 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11615 rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
11617 LIBS=$ac_check_soname_save_LIBS
11619 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11621 $as_echo "not found" >&6; }
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11625 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11627 cat >>confdefs.h <<_ACEOF
11628 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11634 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11635 case "x$with_tiff" in
11636 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11638 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11639 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11643 if test "$ac_cv_header_mpg123_h" = "yes"
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11646 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11647 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11648 $as_echo_n "(cached) " >&6
11650 ac_check_lib_save_LIBS=$LIBS
11651 LIBS="-lmpg123 $LIBS"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11655 /* Override any GCC internal prototype to avoid an error.
11656 Use char because int might match the return type of a GCC
11657 builtin and then its argument prototype would still apply. */
11661 char mpg123_feed ();
11665 return mpg123_feed ();
11670 if ac_fn_c_try_link "$LINENO"; then :
11671 ac_cv_lib_mpg123_mpg123_feed=yes
11673 ac_cv_lib_mpg123_mpg123_feed=no
11675 rm -f core conftest.err conftest.$ac_objext \
11676 conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_lib_save_LIBS
11679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11680 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11681 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11682 LIBMPG123="-lmpg123"
11687 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11688 case "x$with_mpg123" in
11689 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11691 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11692 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11695 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}
11697 if test "$ac_cv_header_AL_al_h" = "yes"
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11700 $as_echo_n "checking for -lopenal... " >&6; }
11701 if ${ac_cv_lib_soname_openal+:} false; then :
11702 $as_echo_n "(cached) " >&6
11704 ac_check_soname_save_LIBS=$LIBS
11705 LIBS="-lopenal $LIBS"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11715 char alGetSource3i ();
11719 return alGetSource3i ();
11724 if ac_fn_c_try_link "$LINENO"; then :
11726 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11727 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'` ;;
11728 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11731 rm -f core conftest.err conftest.$ac_objext \
11732 conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_soname_save_LIBS
11735 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11737 $as_echo "not found" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11741 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11743 cat >>confdefs.h <<_ACEOF
11744 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11747 LIBOPENAL="-lopenal"
11749 ac_cv_lib_openal=yes
11751 cat >>confdefs.h <<_ACEOF
11752 #define HAVE_OPENAL 1
11757 if test "x$ac_cv_lib_openal" != xyes; then :
11758 case "x$with_openal" in
11759 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11761 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11762 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11765 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11767 if test "$ac_cv_header_kstat_h" = "yes"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11770 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11771 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11772 $as_echo_n "(cached) " >&6
11774 ac_check_lib_save_LIBS=$LIBS
11775 LIBS="-lkstat $LIBS"
11776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777 /* end confdefs.h. */
11779 /* Override any GCC internal prototype to avoid an error.
11780 Use char because int might match the return type of a GCC
11781 builtin and then its argument prototype would still apply. */
11785 char kstat_open ();
11789 return kstat_open ();
11794 if ac_fn_c_try_link "$LINENO"; then :
11795 ac_cv_lib_kstat_kstat_open=yes
11797 ac_cv_lib_kstat_kstat_open=no
11799 rm -f core conftest.err conftest.$ac_objext \
11800 conftest$ac_exeext conftest.$ac_ext
11801 LIBS=$ac_check_lib_save_LIBS
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11804 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11805 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
11807 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11816 $as_echo_n "checking for -lodbc... " >&6; }
11817 if ${ac_cv_lib_soname_odbc+:} false; then :
11818 $as_echo_n "(cached) " >&6
11820 ac_check_soname_save_LIBS=$LIBS
11821 LIBS="-lodbc $LIBS"
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11831 char SQLConnect ();
11835 return SQLConnect ();
11840 if ac_fn_c_try_link "$LINENO"; then :
11842 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11843 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'` ;;
11844 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11847 rm -f core conftest.err conftest.$ac_objext \
11848 conftest$ac_exeext conftest.$ac_ext
11849 LIBS=$ac_check_soname_save_LIBS
11851 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11853 $as_echo "not found" >&6; }
11854 cat >>confdefs.h <<_ACEOF
11855 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11860 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11862 cat >>confdefs.h <<_ACEOF
11863 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11869 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
11870 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11871 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
11872 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11874 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11875 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
11876 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11878 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
11884 if test "x${GCC}" = "xyes"
11886 EXTRACFLAGS="-Wall -pipe"
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11889 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11890 if ${ac_cv_c_gcc_strength_bug+:} false; then :
11891 $as_echo_n "(cached) " >&6
11893 if test "$cross_compiling" = yes; then :
11894 ac_cv_c_gcc_strength_bug="yes"
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11898 int L[4] = {0,1,2,3};
11902 static int Array[3];
11903 unsigned int B = 3;
11905 for(i=0; i<B; i++) Array[i] = i - 3;
11906 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11908 return (Array[1] != -2 || L[2] != 3)
11913 if ac_fn_c_try_run "$LINENO"; then :
11914 ac_cv_c_gcc_strength_bug="no"
11916 ac_cv_c_gcc_strength_bug="yes"
11918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11919 conftest.$ac_objext conftest.beam conftest.$ac_ext
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11924 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11925 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11927 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11931 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11932 if ${ac_cv_cflags__fno_builtin+:} false; then :
11933 $as_echo_n "(cached) " >&6
11935 ac_wine_try_cflags_saved=$CFLAGS
11936 CFLAGS="$CFLAGS -fno-builtin"
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__fno_builtin=yes
11944 ac_cv_cflags__fno_builtin=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__fno_builtin" >&5
11951 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11952 if test $ac_cv_cflags__fno_builtin = yes; then :
11953 BUILTINFLAG="-fno-builtin"
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11957 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11958 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
11959 $as_echo_n "(cached) " >&6
11961 ac_wine_try_cflags_saved=$CFLAGS
11962 CFLAGS="$CFLAGS -fno-strict-aliasing"
11963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11965 int main(int argc, char **argv) { return 0; }
11967 if ac_fn_c_try_link "$LINENO"; then :
11968 ac_cv_cflags__fno_strict_aliasing=yes
11970 ac_cv_cflags__fno_strict_aliasing=no
11972 rm -f core conftest.err conftest.$ac_objext \
11973 conftest$ac_exeext conftest.$ac_ext
11974 CFLAGS=$ac_wine_try_cflags_saved
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11977 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11978 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11979 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11982 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11983 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
11984 $as_echo_n "(cached) " >&6
11986 ac_wine_try_cflags_saved=$CFLAGS
11987 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
11988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11990 int main(int argc, char **argv) { return 0; }
11992 if ac_fn_c_try_link "$LINENO"; then :
11993 ac_cv_cflags__Wdeclaration_after_statement=yes
11995 ac_cv_cflags__Wdeclaration_after_statement=no
11997 rm -f core conftest.err conftest.$ac_objext \
11998 conftest$ac_exeext conftest.$ac_ext
11999 CFLAGS=$ac_wine_try_cflags_saved
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12002 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12003 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12004 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12007 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12008 if ${ac_cv_cflags__Wempty_body+:} false; then :
12009 $as_echo_n "(cached) " >&6
12011 ac_wine_try_cflags_saved=$CFLAGS
12012 CFLAGS="$CFLAGS -Wempty-body"
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 int main(int argc, char **argv) { return 0; }
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 ac_cv_cflags__Wempty_body=yes
12020 ac_cv_cflags__Wempty_body=no
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 CFLAGS=$ac_wine_try_cflags_saved
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12027 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12028 if test $ac_cv_cflags__Wempty_body = yes; then :
12029 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12032 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12033 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12034 $as_echo_n "(cached) " >&6
12036 ac_wine_try_cflags_saved=$CFLAGS
12037 CFLAGS="$CFLAGS -Wstrict-prototypes"
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12040 int main(int argc, char **argv) { return 0; }
12042 if ac_fn_c_try_link "$LINENO"; then :
12043 ac_cv_cflags__Wstrict_prototypes=yes
12045 ac_cv_cflags__Wstrict_prototypes=no
12047 rm -f core conftest.err conftest.$ac_objext \
12048 conftest$ac_exeext conftest.$ac_ext
12049 CFLAGS=$ac_wine_try_cflags_saved
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12052 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12053 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12054 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12057 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12058 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12059 $as_echo_n "(cached) " >&6
12061 ac_wine_try_cflags_saved=$CFLAGS
12062 CFLAGS="$CFLAGS -Wtype-limits"
12063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12065 int main(int argc, char **argv) { return 0; }
12067 if ac_fn_c_try_link "$LINENO"; then :
12068 ac_cv_cflags__Wtype_limits=yes
12070 ac_cv_cflags__Wtype_limits=no
12072 rm -f core conftest.err conftest.$ac_objext \
12073 conftest$ac_exeext conftest.$ac_ext
12074 CFLAGS=$ac_wine_try_cflags_saved
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12077 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12078 if test $ac_cv_cflags__Wtype_limits = yes; then :
12079 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12082 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12083 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12084 $as_echo_n "(cached) " >&6
12086 ac_wine_try_cflags_saved=$CFLAGS
12087 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12090 int main(int argc, char **argv) { return 0; }
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 ac_cv_cflags__Wunused_but_set_parameter=yes
12095 ac_cv_cflags__Wunused_but_set_parameter=no
12097 rm -f core conftest.err conftest.$ac_objext \
12098 conftest$ac_exeext conftest.$ac_ext
12099 CFLAGS=$ac_wine_try_cflags_saved
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12102 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12103 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12104 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12107 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12108 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12109 $as_echo_n "(cached) " >&6
12111 ac_wine_try_cflags_saved=$CFLAGS
12112 CFLAGS="$CFLAGS -Wwrite-strings"
12113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114 /* end confdefs.h. */
12115 int main(int argc, char **argv) { return 0; }
12117 if ac_fn_c_try_link "$LINENO"; then :
12118 ac_cv_cflags__Wwrite_strings=yes
12120 ac_cv_cflags__Wwrite_strings=no
12122 rm -f core conftest.err conftest.$ac_objext \
12123 conftest$ac_exeext conftest.$ac_ext
12124 CFLAGS=$ac_wine_try_cflags_saved
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12127 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12128 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12129 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12133 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12134 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12135 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12136 $as_echo_n "(cached) " >&6
12138 ac_wine_try_cflags_saved=$CFLAGS
12139 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12141 /* end confdefs.h. */
12142 int main(int argc, char **argv) { return 0; }
12144 if ac_fn_c_try_link "$LINENO"; then :
12145 ac_cv_cflags__fno_omit_frame_pointer=yes
12147 ac_cv_cflags__fno_omit_frame_pointer=no
12149 rm -f core conftest.err conftest.$ac_objext \
12150 conftest$ac_exeext conftest.$ac_ext
12151 CFLAGS=$ac_wine_try_cflags_saved
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12154 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12155 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12156 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12160 saved_CFLAGS="$CFLAGS"
12161 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12163 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12164 if ${ac_cv_c_string_h_warnings+:} false; then :
12165 $as_echo_n "(cached) " >&6
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h. */
12169 #include <string.h>
12178 if ac_fn_c_try_compile "$LINENO"; then :
12179 ac_cv_c_string_h_warnings=no
12181 ac_cv_c_string_h_warnings=yes
12183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12186 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12187 CFLAGS="$saved_CFLAGS"
12188 if test "$ac_cv_c_string_h_warnings" = "no"
12190 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12193 saved_CFLAGS="$CFLAGS"
12194 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12196 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12197 if ${ac_cv_c_logicalop_noisy+:} false; then :
12198 $as_echo_n "(cached) " >&6
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12202 #include <string.h>
12206 char*f(const char *h,char n) {return strchr(h,n);}
12211 if ac_fn_c_try_compile "$LINENO"; then :
12212 ac_cv_c_logicalop_noisy=no
12214 ac_cv_c_logicalop_noisy=yes
12216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12219 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12220 CFLAGS="$saved_CFLAGS"
12221 if test "$ac_cv_c_logicalop_noisy" = "no"
12223 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12226 if test "x$enable_maintainer_mode" = "xyes"
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12229 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12230 if ${ac_cv_cflags__Werror+:} false; then :
12231 $as_echo_n "(cached) " >&6
12233 ac_wine_try_cflags_saved=$CFLAGS
12234 CFLAGS="$CFLAGS -Werror"
12235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12236 /* end confdefs.h. */
12237 int main(int argc, char **argv) { return 0; }
12239 if ac_fn_c_try_link "$LINENO"; then :
12240 ac_cv_cflags__Werror=yes
12242 ac_cv_cflags__Werror=no
12244 rm -f core conftest.err conftest.$ac_objext \
12245 conftest$ac_exeext conftest.$ac_ext
12246 CFLAGS=$ac_wine_try_cflags_saved
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12249 $as_echo "$ac_cv_cflags__Werror" >&6; }
12250 if test $ac_cv_cflags__Werror = yes; then :
12251 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12255 saved_CFLAGS="$CFLAGS"
12256 CFLAGS="$CFLAGS -Werror"
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12258 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12259 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12260 $as_echo_n "(cached) " >&6
12262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12263 /* end confdefs.h. */
12264 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12273 if ac_fn_c_try_compile "$LINENO"; then :
12274 ac_cv_have_ms_hook_prologue="yes"
12276 ac_cv_have_ms_hook_prologue="no"
12278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12281 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12282 CFLAGS="$saved_CFLAGS"
12283 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12286 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12289 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12296 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12297 if ${ac_cv_c_fortify_enabled+:} false; then :
12298 $as_echo_n "(cached) " >&6
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12302 #include <string.h>
12306 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12307 #error Fortify enabled
12313 if ac_fn_c_try_compile "$LINENO"; then :
12314 ac_cv_c_fortify_enabled=no
12316 ac_cv_c_fortify_enabled=yes
12318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12321 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12322 if test "$ac_cv_c_fortify_enabled" = yes
12324 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12329 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12330 if ${ac_cv_c_extern_prefix+:} false; then :
12331 $as_echo_n "(cached) " >&6
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12335 extern int ac_test;
12339 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12344 if ac_fn_c_try_link "$LINENO"; then :
12345 ac_cv_c_extern_prefix="yes"
12347 ac_cv_c_extern_prefix="no"
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12353 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12358 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12359 if ${ac_cv_c_stdcall_suffix+:} false; then :
12360 $as_echo_n "(cached) " >&6
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 #define __stdcall __attribute__((__stdcall__))
12367 int __stdcall ac_test(int i) { return i; }
12371 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12376 if ac_fn_c_try_link "$LINENO"; then :
12377 ac_cv_c_stdcall_suffix="yes"
12379 ac_cv_c_stdcall_suffix="no"
12381 rm -f core conftest.err conftest.$ac_objext \
12382 conftest$ac_exeext conftest.$ac_ext
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12385 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12386 *) ac_cv_c_stdcall_suffix="no" ;;
12390 if test "$ac_cv_c_extern_prefix" = "yes"
12392 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12394 asm_name_prefix="_"
12396 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12402 if test "$ac_cv_c_stdcall_suffix" = "yes"
12404 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12407 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12413 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12414 if ${ac_cv_asm_func_def+:} false; then :
12415 $as_echo_n "(cached) " >&6
12417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12418 /* end confdefs.h. */
12423 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12428 if ac_fn_c_try_link "$LINENO"; then :
12429 ac_cv_asm_func_def=".def"
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12437 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12442 if ac_fn_c_try_link "$LINENO"; then :
12443 ac_cv_asm_func_def=".type @function"
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12451 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12456 if ac_fn_c_try_link "$LINENO"; then :
12457 ac_cv_asm_func_def=".type 2"
12459 ac_cv_asm_func_def="unknown"
12461 rm -f core conftest.err conftest.$ac_objext \
12462 conftest$ac_exeext conftest.$ac_ext
12464 rm -f core conftest.err conftest.$ac_objext \
12465 conftest$ac_exeext conftest.$ac_ext
12467 rm -f core conftest.err conftest.$ac_objext \
12468 conftest$ac_exeext conftest.$ac_ext
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12471 $as_echo "$ac_cv_asm_func_def" >&6; }
12474 case "$ac_cv_asm_func_def" in
12476 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12478 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12480 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12482 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12484 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12486 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12488 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12490 asm_func_header="" ;;
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12494 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12495 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12496 $as_echo_n "(cached) " >&6
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12500 asm(".text\n\t.long 0");
12509 if ac_fn_c_try_compile "$LINENO"; then :
12510 ac_cv_c_asm_outside_funcs="yes"
12512 ac_cv_c_asm_outside_funcs="no"
12514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12517 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12520 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12521 if ${ac_cv_c_dot_previous+:} false; then :
12522 $as_echo_n "(cached) " >&6
12524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12525 /* end confdefs.h. */
12530 asm(".text\nac_test:\t.long 0\n\t.previous");
12535 if ac_fn_c_try_link "$LINENO"; then :
12536 ac_cv_c_dot_previous="yes"
12538 ac_cv_c_dot_previous="no"
12540 rm -f core conftest.err conftest.$ac_objext \
12541 conftest$ac_exeext conftest.$ac_ext
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12544 $as_echo "$ac_cv_c_dot_previous" >&6; }
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12547 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12548 if ${ac_cv_c_cfi_support+:} false; then :
12549 $as_echo_n "(cached) " >&6
12551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12552 /* end confdefs.h. */
12553 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12562 if ac_fn_c_try_compile "$LINENO"; then :
12563 ac_cv_c_cfi_support="yes"
12565 ac_cv_c_cfi_support="no"
12567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12570 $as_echo "$ac_cv_c_cfi_support" >&6; }
12572 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12573 asm_func_trailer=""
12574 if test "$ac_cv_c_dot_previous" = "yes"
12576 asm_func_trailer="\\n\\t.previous"
12578 if test "$ac_cv_c_cfi_support" = "yes"
12580 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12581 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12583 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12585 UNWINDFLAGS=-fasynchronous-unwind-tables
12588 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12592 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12595 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12597 cat >>confdefs.h <<_ACEOF
12598 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12602 cat >>confdefs.h <<_ACEOF
12603 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12608 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12611 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12621 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12626 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12634 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12641 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12646 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12648 x86_64*) EXTRA_BINARIES="wine64-preloader"
12655 ac_save_CFLAGS="$CFLAGS"
12656 CFLAGS="$CFLAGS $BUILTINFLAG"
12733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12735 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12736 cat >>confdefs.h <<_ACEOF
12737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12743 CFLAGS="$ac_save_CFLAGS"
12745 if test "$ac_cv_func_dlopen" = no
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12748 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12749 if ${ac_cv_lib_dl_dlopen+:} false; then :
12750 $as_echo_n "(cached) " >&6
12752 ac_check_lib_save_LIBS=$LIBS
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12772 if ac_fn_c_try_link "$LINENO"; then :
12773 ac_cv_lib_dl_dlopen=yes
12775 ac_cv_lib_dl_dlopen=no
12777 rm -f core conftest.err conftest.$ac_objext \
12778 conftest$ac_exeext conftest.$ac_ext
12779 LIBS=$ac_check_lib_save_LIBS
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12782 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12783 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12784 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12790 ac_wine_check_funcs_save_LIBS="$LIBS"
12791 LIBS="$LIBS $LIBDL"
12792 for ac_func in dladdr
12794 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12795 if test "x$ac_cv_func_dladdr" = xyes; then :
12796 cat >>confdefs.h <<_ACEOF
12797 #define HAVE_DLADDR 1
12803 LIBS="$ac_wine_check_funcs_save_LIBS"
12805 if test "$ac_cv_func_poll" = no
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12808 $as_echo_n "checking for poll in -lpoll... " >&6; }
12809 if ${ac_cv_lib_poll_poll+:} false; then :
12810 $as_echo_n "(cached) " >&6
12812 ac_check_lib_save_LIBS=$LIBS
12813 LIBS="-lpoll $LIBS"
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12832 if ac_fn_c_try_link "$LINENO"; then :
12833 ac_cv_lib_poll_poll=yes
12835 ac_cv_lib_poll_poll=no
12837 rm -f core conftest.err conftest.$ac_objext \
12838 conftest$ac_exeext conftest.$ac_ext
12839 LIBS=$ac_check_lib_save_LIBS
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12842 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12843 if test "x$ac_cv_lib_poll_poll" = xyes; then :
12844 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12852 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12853 if ${ac_cv_search_gethostbyname+:} false; then :
12854 $as_echo_n "(cached) " >&6
12856 ac_func_search_save_LIBS=$LIBS
12857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12858 /* end confdefs.h. */
12860 /* Override any GCC internal prototype to avoid an error.
12861 Use char because int might match the return type of a GCC
12862 builtin and then its argument prototype would still apply. */
12866 char gethostbyname ();
12870 return gethostbyname ();
12875 for ac_lib in '' nsl; do
12876 if test -z "$ac_lib"; then
12877 ac_res="none required"
12880 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12882 if ac_fn_c_try_link "$LINENO"; then :
12883 ac_cv_search_gethostbyname=$ac_res
12885 rm -f core conftest.err conftest.$ac_objext \
12887 if ${ac_cv_search_gethostbyname+:} false; then :
12891 if ${ac_cv_search_gethostbyname+:} false; then :
12894 ac_cv_search_gethostbyname=no
12896 rm conftest.$ac_ext
12897 LIBS=$ac_func_search_save_LIBS
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12900 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12901 ac_res=$ac_cv_search_gethostbyname
12902 if test "$ac_res" != no; then :
12903 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12909 $as_echo_n "checking for library containing connect... " >&6; }
12910 if ${ac_cv_search_connect+:} false; then :
12911 $as_echo_n "(cached) " >&6
12913 ac_func_search_save_LIBS=$LIBS
12914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 /* Override any GCC internal prototype to avoid an error.
12918 Use char because int might match the return type of a GCC
12919 builtin and then its argument prototype would still apply. */
12932 for ac_lib in '' socket; do
12933 if test -z "$ac_lib"; then
12934 ac_res="none required"
12937 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12939 if ac_fn_c_try_link "$LINENO"; then :
12940 ac_cv_search_connect=$ac_res
12942 rm -f core conftest.err conftest.$ac_objext \
12944 if ${ac_cv_search_connect+:} false; then :
12948 if ${ac_cv_search_connect+:} false; then :
12951 ac_cv_search_connect=no
12953 rm conftest.$ac_ext
12954 LIBS=$ac_func_search_save_LIBS
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12957 $as_echo "$ac_cv_search_connect" >&6; }
12958 ac_res=$ac_cv_search_connect
12959 if test "$ac_res" != no; then :
12960 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12966 $as_echo_n "checking for library containing inet_aton... " >&6; }
12967 if ${ac_cv_search_inet_aton+:} false; then :
12968 $as_echo_n "(cached) " >&6
12970 ac_func_search_save_LIBS=$LIBS
12971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12972 /* end confdefs.h. */
12974 /* Override any GCC internal prototype to avoid an error.
12975 Use char because int might match the return type of a GCC
12976 builtin and then its argument prototype would still apply. */
12984 return inet_aton ();
12989 for ac_lib in '' resolv; do
12990 if test -z "$ac_lib"; then
12991 ac_res="none required"
12994 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12996 if ac_fn_c_try_link "$LINENO"; then :
12997 ac_cv_search_inet_aton=$ac_res
12999 rm -f core conftest.err conftest.$ac_objext \
13001 if ${ac_cv_search_inet_aton+:} false; then :
13005 if ${ac_cv_search_inet_aton+:} false; then :
13008 ac_cv_search_inet_aton=no
13010 rm conftest.$ac_ext
13011 LIBS=$ac_func_search_save_LIBS
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13014 $as_echo "$ac_cv_search_inet_aton" >&6; }
13015 ac_res=$ac_cv_search_inet_aton
13016 if test "$ac_res" != no; then :
13017 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13038 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13039 cat >>confdefs.h <<_ACEOF
13040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13049 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13051 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13053 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13055 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13056 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13057 $as_echo_n "(cached) " >&6
13059 ac_check_lib_save_LIBS=$LIBS
13060 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13064 /* Override any GCC internal prototype to avoid an error.
13065 Use char because int might match the return type of a GCC
13066 builtin and then its argument prototype would still apply. */
13070 char ldap_initialize ();
13074 return ldap_initialize ();
13079 if ac_fn_c_try_link "$LINENO"; then :
13080 ac_cv_lib_ldap_r_ldap_initialize=yes
13082 ac_cv_lib_ldap_r_ldap_initialize=no
13084 rm -f core conftest.err conftest.$ac_objext \
13085 conftest$ac_exeext conftest.$ac_ext
13086 LIBS=$ac_check_lib_save_LIBS
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13089 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13090 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13092 $as_echo_n "checking for ber_init in -llber... " >&6; }
13093 if ${ac_cv_lib_lber_ber_init+:} false; then :
13094 $as_echo_n "(cached) " >&6
13096 ac_check_lib_save_LIBS=$LIBS
13097 LIBS="-llber $LIBPTHREAD $LIBS"
13098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13099 /* end confdefs.h. */
13101 /* Override any GCC internal prototype to avoid an error.
13102 Use char because int might match the return type of a GCC
13103 builtin and then its argument prototype would still apply. */
13111 return ber_init ();
13116 if ac_fn_c_try_link "$LINENO"; then :
13117 ac_cv_lib_lber_ber_init=yes
13119 ac_cv_lib_lber_ber_init=no
13121 rm -f core conftest.err conftest.$ac_objext \
13122 conftest$ac_exeext conftest.$ac_ext
13123 LIBS=$ac_check_lib_save_LIBS
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13126 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13127 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13129 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13131 LDAPLIBS="-lldap_r -llber"
13138 ac_wine_check_funcs_save_LIBS="$LIBS"
13139 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13141 ldap_count_references \
13142 ldap_first_reference \
13143 ldap_next_reference \
13144 ldap_parse_reference \
13145 ldap_parse_sort_control \
13146 ldap_parse_sortresponse_control \
13147 ldap_parse_vlv_control \
13148 ldap_parse_vlvresponse_control
13150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13152 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13153 cat >>confdefs.h <<_ACEOF
13154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13160 LIBS="$ac_wine_check_funcs_save_LIBS"
13162 if test "x$LDAPLIBS" = "x"; then :
13163 case "x$with_ldap" in
13164 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13166 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13167 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13172 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13173 if ${wine_cv_one_arg_mkdir+:} false; then :
13174 $as_echo_n "(cached) " >&6
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13178 #include <sys/stat.h>
13187 if ac_fn_c_try_compile "$LINENO"; then :
13188 wine_cv_one_arg_mkdir=yes
13190 wine_cv_one_arg_mkdir=no
13192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13195 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13196 if test "$wine_cv_one_arg_mkdir" = "yes"
13199 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13204 $as_echo_n "checking for sched_setaffinity... " >&6; }
13205 if ${wine_cv_have_sched_setaffinity+:} false; then :
13206 $as_echo_n "(cached) " >&6
13208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13209 /* end confdefs.h. */
13210 #define _GNU_SOURCE
13215 sched_setaffinity(0, 0, 0);
13220 if ac_fn_c_try_link "$LINENO"; then :
13221 wine_cv_have_sched_setaffinity=yes
13223 wine_cv_have_sched_setaffinity=no
13225 rm -f core conftest.err conftest.$ac_objext \
13226 conftest$ac_exeext conftest.$ac_ext
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13229 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13230 if test "$wine_cv_have_sched_setaffinity" = "yes"
13233 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13239 $as_echo_n "checking for inline... " >&6; }
13240 if ${ac_cv_c_inline+:} false; then :
13241 $as_echo_n "(cached) " >&6
13244 for ac_kw in inline __inline__ __inline; do
13245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13247 #ifndef __cplusplus
13249 static $ac_kw foo_t static_foo () {return 0; }
13250 $ac_kw foo_t foo () {return 0; }
13254 if ac_fn_c_try_compile "$LINENO"; then :
13255 ac_cv_c_inline=$ac_kw
13257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13258 test "$ac_cv_c_inline" != no && break
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13263 $as_echo "$ac_cv_c_inline" >&6; }
13265 case $ac_cv_c_inline in
13268 case $ac_cv_c_inline in
13270 *) ac_val=$ac_cv_c_inline;;
13272 cat >>confdefs.h <<_ACEOF
13273 #ifndef __cplusplus
13274 #define inline $ac_val
13280 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13281 if test "x$ac_cv_type_mode_t" = xyes; then :
13283 cat >>confdefs.h <<_ACEOF
13284 #define HAVE_MODE_T 1
13289 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13290 if test "x$ac_cv_type_off_t" = xyes; then :
13292 cat >>confdefs.h <<_ACEOF
13293 #define HAVE_OFF_T 1
13298 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13299 if test "x$ac_cv_type_pid_t" = xyes; then :
13301 cat >>confdefs.h <<_ACEOF
13302 #define HAVE_PID_T 1
13307 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13308 if test "x$ac_cv_type_size_t" = xyes; then :
13310 cat >>confdefs.h <<_ACEOF
13311 #define HAVE_SIZE_T 1
13316 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13317 if test "x$ac_cv_type_ssize_t" = xyes; then :
13319 cat >>confdefs.h <<_ACEOF
13320 #define HAVE_SSIZE_T 1
13325 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13326 if test "x$ac_cv_type_long_long" = xyes; then :
13328 cat >>confdefs.h <<_ACEOF
13329 #define HAVE_LONG_LONG 1
13334 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13335 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13337 cat >>confdefs.h <<_ACEOF
13338 #define HAVE_FSBLKCNT_T 1
13343 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13344 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13346 cat >>confdefs.h <<_ACEOF
13347 #define HAVE_FSFILCNT_T 1
13353 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13354 #include <signal.h>
13356 if test "x$ac_cv_type_sigset_t" = xyes; then :
13358 cat >>confdefs.h <<_ACEOF
13359 #define HAVE_SIGSET_T 1
13365 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13367 if test "x$ac_cv_type_request_sense" = xyes; then :
13369 cat >>confdefs.h <<_ACEOF
13370 #define HAVE_REQUEST_SENSE 1
13377 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13378 #ifdef HAVE_SYS_SOCKET_H
13379 #include <sys/socket.h>
13381 #ifdef HAVE_SYS_SOCKETVAR_H
13382 #include <sys/socketvar.h>
13384 #ifdef HAVE_NET_ROUTE_H
13385 #include <net/route.h>
13387 #ifdef HAVE_NETINET_IN_H
13388 #include <netinet/in.h>
13390 #ifdef HAVE_NETINET_IN_SYSTM_H
13391 #include <netinet/in_systm.h>
13393 #ifdef HAVE_NETINET_IP_H
13394 #include <netinet/ip.h>
13396 #ifdef HAVE_NETINET_IN_PCB_H
13397 #include <netinet/in_pcb.h>
13400 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13402 cat >>confdefs.h <<_ACEOF
13403 #define HAVE_STRUCT_XINPGEN 1
13410 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13411 #include <linux/input.h>
13414 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13416 cat >>confdefs.h <<_ACEOF
13417 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13425 $as_echo_n "checking for sigaddset... " >&6; }
13426 if ${wine_cv_have_sigaddset+:} false; then :
13427 $as_echo_n "(cached) " >&6
13429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13430 /* end confdefs.h. */
13431 #include <signal.h>
13435 sigset_t set; sigaddset(&set,SIGTERM);
13440 if ac_fn_c_try_link "$LINENO"; then :
13441 wine_cv_have_sigaddset=yes
13443 wine_cv_have_sigaddset=no
13445 rm -f core conftest.err conftest.$ac_objext \
13446 conftest$ac_exeext conftest.$ac_ext
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13449 $as_echo "$wine_cv_have_sigaddset" >&6; }
13450 if test "$wine_cv_have_sigaddset" = "yes"
13453 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13459 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13460 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13461 $as_echo_n "(cached) " >&6
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13472 struct hostent *result;
13479 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13480 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13486 if ac_fn_c_try_link "$LINENO"; then :
13487 wine_cv_linux_gethostbyname_r_6=yes
13489 wine_cv_linux_gethostbyname_r_6=no
13492 rm -f core conftest.err conftest.$ac_objext \
13493 conftest$ac_exeext conftest.$ac_ext
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13497 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13498 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13501 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13505 if test "$ac_cv_header_linux_joystick_h" = "yes"
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13508 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13509 if ${wine_cv_linux_joystick_22_api+:} false; then :
13510 $as_echo_n "(cached) " >&6
13512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13513 /* end confdefs.h. */
13515 #include <sys/ioctl.h>
13516 #include <sys/types.h>
13517 #include <linux/joystick.h>
13519 struct js_event blub;
13520 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13521 #error "no 2.2 header"
13532 if ac_fn_c_try_compile "$LINENO"; then :
13533 wine_cv_linux_joystick_22_api=yes
13535 wine_cv_linux_joystick_22_api=no
13537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13541 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13542 if test "$wine_cv_linux_joystick_22_api" = "yes"
13545 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13551 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13552 #ifdef HAVE_SYS_PARAM_H
13553 # include <sys/param.h>
13555 #ifdef HAVE_SYS_MOUNT_H
13556 # include <sys/mount.h>
13558 #ifdef HAVE_SYS_VFS_H
13559 # include <sys/vfs.h>
13561 #ifdef HAVE_SYS_STATFS_H
13562 # include <sys/statfs.h>
13565 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13567 cat >>confdefs.h <<_ACEOF
13568 #define HAVE_STRUCT_STATFS_F_BFREE 1
13573 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13574 #ifdef HAVE_SYS_PARAM_H
13575 # include <sys/param.h>
13577 #ifdef HAVE_SYS_MOUNT_H
13578 # include <sys/mount.h>
13580 #ifdef HAVE_SYS_VFS_H
13581 # include <sys/vfs.h>
13583 #ifdef HAVE_SYS_STATFS_H
13584 # include <sys/statfs.h>
13587 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13589 cat >>confdefs.h <<_ACEOF
13590 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13595 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13596 #ifdef HAVE_SYS_PARAM_H
13597 # include <sys/param.h>
13599 #ifdef HAVE_SYS_MOUNT_H
13600 # include <sys/mount.h>
13602 #ifdef HAVE_SYS_VFS_H
13603 # include <sys/vfs.h>
13605 #ifdef HAVE_SYS_STATFS_H
13606 # include <sys/statfs.h>
13609 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13611 cat >>confdefs.h <<_ACEOF
13612 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13617 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13618 #ifdef HAVE_SYS_PARAM_H
13619 # include <sys/param.h>
13621 #ifdef HAVE_SYS_MOUNT_H
13622 # include <sys/mount.h>
13624 #ifdef HAVE_SYS_VFS_H
13625 # include <sys/vfs.h>
13627 #ifdef HAVE_SYS_STATFS_H
13628 # include <sys/statfs.h>
13631 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13633 cat >>confdefs.h <<_ACEOF
13634 #define HAVE_STRUCT_STATFS_F_FFREE 1
13639 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13640 #ifdef HAVE_SYS_PARAM_H
13641 # include <sys/param.h>
13643 #ifdef HAVE_SYS_MOUNT_H
13644 # include <sys/mount.h>
13646 #ifdef HAVE_SYS_VFS_H
13647 # include <sys/vfs.h>
13649 #ifdef HAVE_SYS_STATFS_H
13650 # include <sys/statfs.h>
13653 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13655 cat >>confdefs.h <<_ACEOF
13656 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13661 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13662 #ifdef HAVE_SYS_PARAM_H
13663 # include <sys/param.h>
13665 #ifdef HAVE_SYS_MOUNT_H
13666 # include <sys/mount.h>
13668 #ifdef HAVE_SYS_VFS_H
13669 # include <sys/vfs.h>
13671 #ifdef HAVE_SYS_STATFS_H
13672 # include <sys/statfs.h>
13675 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13677 cat >>confdefs.h <<_ACEOF
13678 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13685 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13686 #include <sys/statvfs.h>
13689 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
13691 cat >>confdefs.h <<_ACEOF
13692 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13699 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13700 #ifdef HAVE_SYS_SOCKET_H
13701 # include <sys/socket.h>
13703 #ifdef HAVE_SYS_UN_H
13704 # include <sys/un.h>
13707 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
13709 cat >>confdefs.h <<_ACEOF
13710 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13715 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13716 #ifdef HAVE_SYS_SOCKET_H
13717 # include <sys/socket.h>
13719 #ifdef HAVE_SYS_UN_H
13720 # include <sys/un.h>
13723 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
13725 cat >>confdefs.h <<_ACEOF
13726 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13731 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13732 #ifdef HAVE_SYS_SOCKET_H
13733 # include <sys/socket.h>
13735 #ifdef HAVE_SYS_UN_H
13736 # include <sys/un.h>
13739 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
13741 cat >>confdefs.h <<_ACEOF
13742 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13749 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13750 #ifdef HAVE_SCSI_SG_H
13751 #include <scsi/sg.h>
13754 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
13756 cat >>confdefs.h <<_ACEOF
13757 #define HAVE_SCSIREQ_T_CMD 1
13762 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>
13763 #ifdef HAVE_SCSI_SG_H
13764 #include <scsi/sg.h>
13767 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
13769 cat >>confdefs.h <<_ACEOF
13770 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13777 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13779 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
13781 cat >>confdefs.h <<_ACEOF
13782 #define HAVE_SIGINFO_T_SI_FD 1
13789 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13790 #ifdef HAVE_SYS_MTIO_H
13791 #include <sys/mtio.h>
13794 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
13796 cat >>confdefs.h <<_ACEOF
13797 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13802 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13803 #ifdef HAVE_SYS_MTIO_H
13804 #include <sys/mtio.h>
13807 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
13809 cat >>confdefs.h <<_ACEOF
13810 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13815 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13816 #ifdef HAVE_SYS_MTIO_H
13817 #include <sys/mtio.h>
13820 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
13822 cat >>confdefs.h <<_ACEOF
13823 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13830 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13831 #include <getopt.h>
13834 if test "x$ac_cv_member_struct_option_name" = xyes; then :
13836 cat >>confdefs.h <<_ACEOF
13837 #define HAVE_STRUCT_OPTION_NAME 1
13844 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13845 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
13847 cat >>confdefs.h <<_ACEOF
13848 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13853 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13854 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
13856 cat >>confdefs.h <<_ACEOF
13857 #define HAVE_STRUCT_STAT_ST_MTIM 1
13862 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13863 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
13865 cat >>confdefs.h <<_ACEOF
13866 #define HAVE_STRUCT_STAT_ST_CTIM 1
13871 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13872 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
13874 cat >>confdefs.h <<_ACEOF
13875 #define HAVE_STRUCT_STAT_ST_ATIM 1
13882 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
13883 #include <sys/types.h>
13885 #ifdef HAVE_NETINET_IN_H
13886 #include <netinet/in.h>
13889 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
13891 cat >>confdefs.h <<_ACEOF
13892 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13899 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13900 #include <sys/types.h>
13902 #ifdef HAVE_NETINET_IN_H
13903 # include <netinet/in.h>
13905 #ifdef HAVE_ARPA_NAMESER_H
13906 # include <arpa/nameser.h>
13909 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
13911 cat >>confdefs.h <<_ACEOF
13912 #define HAVE_NS_MSG__MSG_PTR 1
13919 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13920 #include <sys/types.h>
13922 #ifdef HAVE_ALIAS_H
13925 #ifdef HAVE_SYS_SOCKET_H
13926 #include <sys/socket.h>
13928 #ifdef HAVE_SYS_SOCKETVAR_H
13929 #include <sys/socketvar.h>
13931 #ifdef HAVE_SYS_TIMEOUT_H
13932 #include <sys/timeout.h>
13934 #ifdef HAVE_NETINET_IN_H
13935 #include <netinet/in.h>
13937 #ifdef HAVE_NETINET_IN_SYSTM_H
13938 #include <netinet/in_systm.h>
13940 #ifdef HAVE_NETINET_IP_H
13941 #include <netinet/ip.h>
13943 #ifdef HAVE_NETINET_IP_VAR_H
13944 #include <netinet/ip_var.h>
13946 #ifdef HAVE_NETINET_IP_ICMP_H
13947 #include <netinet/ip_icmp.h>
13949 #ifdef HAVE_NETINET_ICMP_VAR
13950 #include <netinet/icmp_var.h>
13953 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
13955 cat >>confdefs.h <<_ACEOF
13956 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13963 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13964 #include <sys/types.h>
13966 #ifdef HAVE_NET_IF_H
13967 # include <net/if.h>
13970 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
13972 cat >>confdefs.h <<_ACEOF
13973 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13981 $as_echo_n "checking for timezone variable... " >&6; }
13982 if ${ac_cv_have_timezone+:} false; then :
13983 $as_echo_n "(cached) " >&6
13985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13996 if ac_fn_c_try_link "$LINENO"; then :
13997 ac_cv_have_timezone="yes"
13999 ac_cv_have_timezone="no"
14001 rm -f core conftest.err conftest.$ac_objext \
14002 conftest$ac_exeext conftest.$ac_ext
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14005 $as_echo "$ac_cv_have_timezone" >&6; }
14006 if test "$ac_cv_have_timezone" = "yes"
14009 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14013 $as_echo_n "checking for daylight variable... " >&6; }
14014 if ${ac_cv_have_daylight+:} false; then :
14015 $as_echo_n "(cached) " >&6
14017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14018 /* end confdefs.h. */
14028 if ac_fn_c_try_link "$LINENO"; then :
14029 ac_cv_have_daylight="yes"
14031 ac_cv_have_daylight="no"
14033 rm -f core conftest.err conftest.$ac_objext \
14034 conftest$ac_exeext conftest.$ac_ext
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14037 $as_echo "$ac_cv_have_daylight" >&6; }
14038 if test "$ac_cv_have_daylight" = "yes"
14041 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14045 ac_save_LIBS="$LIBS"
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14048 $as_echo_n "checking for isinf... " >&6; }
14049 if ${ac_cv_have_isinf+:} false; then :
14050 $as_echo_n "(cached) " >&6
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14058 float f = 0.0; return isinf(f)
14063 if ac_fn_c_try_link "$LINENO"; then :
14064 ac_cv_have_isinf="yes"
14066 ac_cv_have_isinf="no"
14068 rm -f core conftest.err conftest.$ac_objext \
14069 conftest$ac_exeext conftest.$ac_ext
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14072 $as_echo "$ac_cv_have_isinf" >&6; }
14073 if test "$ac_cv_have_isinf" = "yes"
14076 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14081 $as_echo_n "checking for isnan... " >&6; }
14082 if ${ac_cv_have_isnan+:} false; then :
14083 $as_echo_n "(cached) " >&6
14085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14086 /* end confdefs.h. */
14091 float f = 0.0; return isnan(f)
14096 if ac_fn_c_try_link "$LINENO"; then :
14097 ac_cv_have_isnan="yes"
14099 ac_cv_have_isnan="no"
14101 rm -f core conftest.err conftest.$ac_objext \
14102 conftest$ac_exeext conftest.$ac_ext
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14105 $as_echo "$ac_cv_have_isnan" >&6; }
14106 if test "$ac_cv_have_isnan" = "yes"
14109 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14112 LIBS="$ac_save_LIBS"
14116 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14117 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14118 if ${ac_cv_cpp_def___i386__+:} false; then :
14119 $as_echo_n "(cached) " >&6
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14128 $EGREP "yes" >/dev/null 2>&1; then :
14129 ac_cv_cpp_def___i386__=yes
14131 ac_cv_cpp_def___i386__=no
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14137 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14138 if test $ac_cv_cpp_def___i386__ = yes; then :
14139 CFLAGS="$CFLAGS -D__i386__"
14140 LINTFLAGS="$LINTFLAGS -D__i386__"
14142 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14143 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14144 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14145 $as_echo_n "(cached) " >&6
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14154 $EGREP "yes" >/dev/null 2>&1; then :
14155 ac_cv_cpp_def___x86_64__=yes
14157 ac_cv_cpp_def___x86_64__=no
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14163 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14164 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14165 CFLAGS="$CFLAGS -D__x86_64__"
14166 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14168 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14169 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14170 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14171 $as_echo_n "(cached) " >&6
14173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14174 /* end confdefs.h. */
14175 #ifndef __sparc64__
14179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14180 $EGREP "yes" >/dev/null 2>&1; then :
14181 ac_cv_cpp_def___sparc64__=yes
14183 ac_cv_cpp_def___sparc64__=no
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14189 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14190 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14191 CFLAGS="$CFLAGS -D__sparc64__"
14192 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14194 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14195 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14196 if ${ac_cv_cpp_def___sparc__+:} false; then :
14197 $as_echo_n "(cached) " >&6
14199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14200 /* end confdefs.h. */
14205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14206 $EGREP "yes" >/dev/null 2>&1; then :
14207 ac_cv_cpp_def___sparc__=yes
14209 ac_cv_cpp_def___sparc__=no
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14215 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14216 if test $ac_cv_cpp_def___sparc__ = yes; then :
14217 CFLAGS="$CFLAGS -D__sparc__"
14218 LINTFLAGS="$LINTFLAGS -D__sparc__"
14220 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14221 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14222 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14223 $as_echo_n "(cached) " >&6
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14227 #ifndef __powerpc64__
14231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14232 $EGREP "yes" >/dev/null 2>&1; then :
14233 ac_cv_cpp_def___powerpc64__=yes
14235 ac_cv_cpp_def___powerpc64__=no
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14241 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14242 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14243 CFLAGS="$CFLAGS -D__powerpc64__"
14244 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14246 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14247 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14248 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14249 $as_echo_n "(cached) " >&6
14251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14252 /* end confdefs.h. */
14253 #ifndef __powerpc__
14257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14258 $EGREP "yes" >/dev/null 2>&1; then :
14259 ac_cv_cpp_def___powerpc__=yes
14261 ac_cv_cpp_def___powerpc__=no
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14267 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14268 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14269 CFLAGS="$CFLAGS -D__powerpc__"
14270 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14272 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14273 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14274 if ${ac_cv_cpp_def___arm__+:} false; then :
14275 $as_echo_n "(cached) " >&6
14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14278 /* end confdefs.h. */
14283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14284 $EGREP "yes" >/dev/null 2>&1; then :
14285 ac_cv_cpp_def___arm__=yes
14287 ac_cv_cpp_def___arm__=no
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14293 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14294 if test $ac_cv_cpp_def___arm__ = yes; then :
14295 CFLAGS="$CFLAGS -D__arm__"
14296 LINTFLAGS="$LINTFLAGS -D__arm__"
14300 case $host_vendor in
14301 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14302 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14303 if ${ac_cv_cpp_def___sun__+:} false; then :
14304 $as_echo_n "(cached) " >&6
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14313 $EGREP "yes" >/dev/null 2>&1; then :
14314 ac_cv_cpp_def___sun__=yes
14316 ac_cv_cpp_def___sun__=no
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14322 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14323 if test $ac_cv_cpp_def___sun__ = yes; then :
14324 CFLAGS="$CFLAGS -D__sun__"
14325 LINTFLAGS="$LINTFLAGS -D__sun__"
14333 ac_config_commands="$ac_config_commands include/stamp-h"
14336 ALL_MAKEFILE_DEPENDS="
14337 # Rules automatically generated by configure
14342 Makefile: Makefile.in Make.vars.in Make.rules config.status
14343 @./config.status Make.tmp Makefile"
14346 ALL_TEST_RESOURCES=""
14349 wine_fn_append_file ()
14351 as_fn_append $1 " \\$as_nl $2"
14354 wine_fn_append_rule ()
14356 as_fn_append $1 "$as_nl$2"
14359 wine_fn_has_flag ()
14361 expr ",$2," : ".*,$1,.*" >/dev/null
14364 wine_fn_all_dir_rules ()
14368 ac_makedep="\$(MAKEDEP)"
14369 ac_input=Make.vars.in:$ac_dir/Makefile.in
14370 if test $ac_dir != tools
14372 ac_alldeps="$2 $ac_makedep"
14375 *.in) ac_input=$ac_input:$2 ;;
14376 *) ac_makedep="$2 $ac_makedep" ;;
14379 wine_fn_append_file ALL_DIRS $ac_dir
14380 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14381 "__clean__: $ac_dir/__clean__
14382 .PHONY: $ac_dir/__clean__
14383 $ac_dir/__clean__: $ac_dir/Makefile
14384 @cd $ac_dir && \$(MAKE) clean
14385 \$(RM) $ac_dir/Makefile
14386 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14387 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14388 depend: $ac_dir/__depend__
14389 .PHONY: $ac_dir/__depend__
14390 $ac_dir/__depend__: $ac_makedep dummy
14391 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14394 wine_fn_pot_rules ()
14399 test "x$with_gettextpo" = xyes || return
14401 if wine_fn_has_flag mc $ac_flags
14403 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14404 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14405 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14406 @cd $ac_dir && \$(MAKE) msg.pot
14407 $ac_dir/msg.pot: tools/wmc include"
14409 if wine_fn_has_flag po $ac_flags
14411 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14412 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14413 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14414 @cd $ac_dir && \$(MAKE) rsrc.pot
14415 $ac_dir/rsrc.pot: tools/wrc include"
14419 wine_fn_config_makefile ()
14425 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14429 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
14430 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14433 $ac_dir: $ac_dir/Makefile dummy
14434 @cd $ac_dir && \$(MAKE)"
14436 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
14438 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14439 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14440 $ac_dir/__install__:: $ac_dir
14441 @cd $ac_dir && \$(MAKE) install
14442 $ac_dir/__uninstall__:: $ac_dir/Makefile
14443 @cd $ac_dir && \$(MAKE) uninstall
14444 install:: $ac_dir/__install__
14445 __uninstall__: $ac_dir/__uninstall__"
14447 if wine_fn_has_flag install-lib $ac_flags
14449 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14450 ".PHONY: $ac_dir/__install-lib__
14451 $ac_dir/__install-lib__:: $ac_dir
14452 @cd $ac_dir && \$(MAKE) install-lib
14453 install-lib:: $ac_dir/__install-lib__"
14456 if wine_fn_has_flag install-dev $ac_flags
14458 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14459 ".PHONY: $ac_dir/__install-dev
14460 $ac_dir/__install-dev__:: $ac_dir
14461 @cd $ac_dir && \$(MAKE) install-dev
14462 install-dev:: $ac_dir/__install-dev__"
14466 wine_fn_config_lib ()
14470 ac_dir=dlls/$ac_name
14471 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
14473 if wine_fn_has_flag install-dev $ac_flags
14476 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14477 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14478 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14479 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14480 $ac_dir/__uninstall__::
14481 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14482 install install-dev:: $ac_dir/__install__
14483 __uninstall__: $ac_dir/__uninstall__"
14486 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
14487 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14490 wine_fn_config_dll ()
14493 ac_dir=dlls/$ac_name
14496 ac_implib=${4:-$ac_name}
14497 ac_file=$ac_dir/lib$ac_implib
14499 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14503 *16) ac_implibflags=" -m16" ;;
14505 *) ac_dll=$ac_dll.dll ;;
14508 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
14510 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14511 test "$ac_enable" != enable_win16 || return 0
14512 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14514 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14515 "$ac_dir: __builddeps__
14516 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14517 @cd $ac_dir && \$(MAKE) \$@"
14519 if wine_fn_has_flag install-lib $ac_flags
14522 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14523 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14524 install install-lib:: $ac_dir/__install-lib__
14525 __uninstall__: $ac_dir/__uninstall__"
14526 if test -n "$DLLEXT"
14528 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14529 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14530 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14531 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14532 $ac_dir/__uninstall__::
14533 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14535 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14536 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14537 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14538 $ac_dir/__uninstall__::
14539 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14543 wine_fn_pot_rules $ac_dir $ac_flags
14546 if wine_fn_has_flag staticimplib $ac_flags
14548 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14549 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14550 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14551 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14552 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14553 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14554 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14555 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14556 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14557 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14558 $ac_dir/__uninstall__::
14559 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14560 install install-dev:: $ac_dir/__install-dev__
14561 __uninstall__: $ac_dir/__uninstall__"
14563 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14565 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14566 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14567 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14568 $ac_dir/__uninstall__::
14569 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14572 if test "x$CROSSTEST_DISABLE" = x
14574 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14575 "__builddeps__: $ac_file.cross.a
14576 $ac_file.cross.a: $ac_dir/Makefile dummy
14577 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14580 elif wine_fn_has_flag implib $ac_flags
14582 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14583 "__builddeps__: $ac_file.$IMPLIBEXT
14584 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14585 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14586 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14587 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14588 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14589 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14590 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14591 $ac_dir/__uninstall__::
14592 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14593 install install-dev:: $ac_dir/__install-dev__
14594 __uninstall__: $ac_dir/__uninstall__"
14595 if test "x$CROSSTEST_DISABLE" = x
14597 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14598 "__builddeps__: $ac_file.cross.a
14599 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14600 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14603 if test "$ac_name" != "$ac_implib"
14605 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14606 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14607 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14608 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14610 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14611 if test "x$CROSSTEST_DISABLE" = x
14613 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14614 "__builddeps__: dlls/lib$ac_implib.cross.a
14615 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14616 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14622 wine_fn_config_program ()
14625 ac_dir=programs/$ac_name
14628 ac_program=$ac_name
14632 *) ac_program=$ac_program.exe ;;
14635 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
14637 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14640 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14641 "$ac_dir: __builddeps__"
14643 wine_fn_pot_rules $ac_dir $ac_flags
14645 wine_fn_has_flag install $ac_flags || return
14646 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14647 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14648 install install-lib:: $ac_dir/__install__
14649 __uninstall__: $ac_dir/__uninstall__"
14651 if test -n "$DLLEXT"
14653 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14654 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14655 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14656 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14657 $ac_dir/__uninstall__::
14658 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14660 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
14662 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14663 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14664 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14665 $ac_dir/__uninstall__::
14666 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14669 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14670 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14671 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14672 $ac_dir/__uninstall__::
14673 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14676 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
14678 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14679 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14680 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14681 $ac_dir/__uninstall__::
14682 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14687 wine_fn_config_test ()
14692 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
14693 wine_fn_all_dir_rules $ac_dir Maketest.rules
14695 if test "x$enable_tests" = xno; then :
14698 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14701 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14702 @cd $ac_dir && \$(MAKE)
14703 programs/winetest: $ac_dir
14704 check test: $ac_dir/__test__
14705 .PHONY: $ac_dir/__test__
14706 $ac_dir/__test__: dummy
14707 @cd $ac_dir && \$(MAKE) test
14709 \$(RM) $ac_dir/*.ok"
14711 if test "x$CROSSTEST_DISABLE" = x
14713 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14714 "crosstest: $ac_dir/__crosstest__
14715 .PHONY: $ac_dir/__crosstest__
14716 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14717 @cd $ac_dir && \$(MAKE) crosstest"
14722 wine_fn_config_tool ()
14726 if test "x$enable_tools" = xno; then :
14730 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
14732 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
14733 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
14735 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
14739 wine_fn_config_makerules ()
14743 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14744 "$ac_rules: $ac_rules.in $ac_deps config.status
14745 @./config.status $ac_rules
14750 wine_fn_config_symlink ()
14753 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14755 @./config.status $ac_link
14760 if test "x$CROSSTEST_DISABLE" != x
14762 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14764 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14766 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14767 wine_fn_config_symlink dlls/shell32/AUTHORS
14768 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14769 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14770 if test "x$enable_fonts" != xno; then
14771 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14772 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14774 if test "x$enable_fonts" != xno; then
14775 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14776 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14778 if test "x$enable_fonts" != xno; then
14779 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14780 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14782 if test "x$enable_fonts" != xno; then
14783 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14784 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14786 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
14787 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
14788 if test "x$enable_tools" != xno; then
14789 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14790 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
14792 ac_config_links="$ac_config_links wine:tools/winewrapper"
14793 wine_fn_config_symlink wine
14794 if test "x$enable_win64" != xno; then
14795 ac_config_links="$ac_config_links wine64:tools/winewrapper"
14796 wine_fn_config_symlink wine64
14799 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
14801 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14803 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14805 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14807 ac_config_commands="$ac_config_commands dlls/user32/resources"
14809 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14811 ac_config_commands="$ac_config_commands include/wine"
14814 wine_fn_config_makerules Make.rules
14815 MAKE_RULES=Make.rules
14816 ac_config_files="$ac_config_files Make.rules"
14818 wine_fn_config_makerules Maketest.rules Make.rules
14819 MAKE_TEST_RULES=Maketest.rules
14820 ac_config_files="$ac_config_files Maketest.rules"
14822 wine_fn_config_makerules dlls/Makedll.rules Make.rules
14823 MAKE_DLL_RULES=dlls/Makedll.rules
14824 ac_config_files="$ac_config_files dlls/Makedll.rules"
14826 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
14827 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14828 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14830 wine_fn_config_makerules programs/Makeprog.rules Make.rules
14831 MAKE_PROG_RULES=programs/Makeprog.rules
14832 ac_config_files="$ac_config_files programs/Makeprog.rules"
14835 wine_fn_config_dll acledit enable_acledit
14836 wine_fn_config_dll aclui enable_aclui implib
14837 wine_fn_config_dll activeds enable_activeds implib
14838 wine_fn_config_dll actxprxy enable_actxprxy
14839 wine_fn_config_lib adsiid
14840 wine_fn_config_dll advapi32 enable_advapi32 implib
14841 wine_fn_config_test dlls/advapi32/tests advapi32_test
14842 wine_fn_config_dll advpack enable_advpack implib
14843 wine_fn_config_test dlls/advpack/tests advpack_test
14844 wine_fn_config_dll amstream enable_amstream
14845 wine_fn_config_test dlls/amstream/tests amstream_test
14846 wine_fn_config_dll apphelp enable_apphelp
14847 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14848 wine_fn_config_dll atl enable_atl implib
14849 wine_fn_config_test dlls/atl/tests atl_test
14850 wine_fn_config_dll authz enable_authz
14851 wine_fn_config_dll avicap32 enable_avicap32 implib
14852 wine_fn_config_dll avifil32 enable_avifil32 implib,po
14853 wine_fn_config_test dlls/avifil32/tests avifil32_test
14854 wine_fn_config_dll avifile.dll16 enable_win16
14855 wine_fn_config_dll avrt enable_avrt implib
14856 wine_fn_config_dll bcrypt enable_bcrypt
14857 wine_fn_config_dll browseui enable_browseui po
14858 wine_fn_config_test dlls/browseui/tests browseui_test
14859 wine_fn_config_dll cabinet enable_cabinet implib
14860 wine_fn_config_test dlls/cabinet/tests cabinet_test
14861 wine_fn_config_dll capi2032 enable_capi2032 implib
14862 wine_fn_config_dll cards enable_cards implib
14863 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14864 wine_fn_config_dll clusapi enable_clusapi implib
14865 wine_fn_config_dll comcat enable_comcat
14866 wine_fn_config_test dlls/comcat/tests comcat_test
14867 wine_fn_config_dll comctl32 enable_comctl32 implib,po
14868 wine_fn_config_test dlls/comctl32/tests comctl32_test
14869 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
14870 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14871 wine_fn_config_dll comm.drv16 enable_win16
14872 wine_fn_config_dll commdlg.dll16 enable_win16
14873 wine_fn_config_dll compobj.dll16 enable_win16
14874 wine_fn_config_dll compstui enable_compstui implib
14875 wine_fn_config_dll credui enable_credui implib,po
14876 wine_fn_config_test dlls/credui/tests credui_test
14877 wine_fn_config_dll crtdll enable_crtdll implib
14878 wine_fn_config_dll crypt32 enable_crypt32 implib,po
14879 wine_fn_config_test dlls/crypt32/tests crypt32_test
14880 wine_fn_config_dll cryptdlg enable_cryptdlg po
14881 wine_fn_config_dll cryptdll enable_cryptdll implib
14882 wine_fn_config_dll cryptnet enable_cryptnet implib
14883 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14884 wine_fn_config_dll cryptui enable_cryptui implib,po
14885 wine_fn_config_test dlls/cryptui/tests cryptui_test
14886 wine_fn_config_dll ctapi32 enable_ctapi32
14887 wine_fn_config_dll ctl3d.dll16 enable_win16
14888 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14889 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14890 wine_fn_config_dll d3d10 enable_d3d10 implib
14891 wine_fn_config_test dlls/d3d10/tests d3d10_test
14892 wine_fn_config_dll d3d10core enable_d3d10core implib
14893 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14894 wine_fn_config_dll d3d8 enable_d3d8 implib
14895 wine_fn_config_test dlls/d3d8/tests d3d8_test
14896 wine_fn_config_dll d3d9 enable_d3d9 implib
14897 wine_fn_config_test dlls/d3d9/tests d3d9_test
14898 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14899 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14900 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14901 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14902 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14903 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14904 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14905 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14906 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14907 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14908 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14909 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
14910 wine_fn_config_dll d3dim enable_d3dim implib
14911 wine_fn_config_dll d3drm enable_d3drm implib
14912 wine_fn_config_test dlls/d3drm/tests d3drm_test
14913 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14914 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14915 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14916 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14917 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14918 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14919 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14920 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14921 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14922 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14923 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14924 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14925 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14926 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14927 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14928 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14929 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14930 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14931 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14932 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14933 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14934 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14935 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14936 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14937 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14938 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14939 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14940 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14941 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14942 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14943 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14944 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14945 wine_fn_config_dll d3dxof enable_d3dxof implib
14946 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14947 wine_fn_config_dll dbgeng enable_dbgeng implib
14948 wine_fn_config_dll dbghelp enable_dbghelp implib
14949 wine_fn_config_dll dciman32 enable_dciman32 implib
14950 wine_fn_config_dll ddeml.dll16 enable_win16
14951 wine_fn_config_dll ddraw enable_ddraw implib
14952 wine_fn_config_test dlls/ddraw/tests ddraw_test
14953 wine_fn_config_dll ddrawex enable_ddrawex
14954 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14955 wine_fn_config_dll devenum enable_devenum po
14956 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
14957 wine_fn_config_test dlls/dinput/tests dinput_test
14958 wine_fn_config_dll dinput8 enable_dinput8 implib
14959 wine_fn_config_test dlls/dinput8/tests dinput8_test
14960 wine_fn_config_dll dispdib.dll16 enable_win16
14961 wine_fn_config_dll dispex enable_dispex
14962 wine_fn_config_test dlls/dispex/tests dispex_test
14963 wine_fn_config_dll display.drv16 enable_win16
14964 wine_fn_config_dll dmband enable_dmband
14965 wine_fn_config_dll dmcompos enable_dmcompos
14966 wine_fn_config_dll dmime enable_dmime
14967 wine_fn_config_test dlls/dmime/tests dmime_test
14968 wine_fn_config_dll dmloader enable_dmloader
14969 wine_fn_config_test dlls/dmloader/tests dmloader_test
14970 wine_fn_config_dll dmscript enable_dmscript
14971 wine_fn_config_dll dmstyle enable_dmstyle
14972 wine_fn_config_dll dmsynth enable_dmsynth
14973 wine_fn_config_dll dmusic enable_dmusic
14974 wine_fn_config_dll dmusic32 enable_dmusic32 implib
14975 wine_fn_config_dll dnsapi enable_dnsapi implib
14976 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
14977 wine_fn_config_dll dplay enable_dplay implib
14978 wine_fn_config_dll dplayx enable_dplayx implib
14979 wine_fn_config_test dlls/dplayx/tests dplayx_test
14980 wine_fn_config_dll dpnaddr enable_dpnaddr
14981 wine_fn_config_dll dpnet enable_dpnet implib
14982 wine_fn_config_test dlls/dpnet/tests dpnet_test
14983 wine_fn_config_dll dpnhpast enable_dpnhpast
14984 wine_fn_config_dll dpnlobby enable_dpnlobby
14985 wine_fn_config_dll dpwsockx enable_dpwsockx
14986 wine_fn_config_dll drmclien enable_drmclien
14987 wine_fn_config_dll dsound enable_dsound implib
14988 wine_fn_config_test dlls/dsound/tests dsound_test
14989 wine_fn_config_dll dssenh enable_dssenh
14990 wine_fn_config_dll dswave enable_dswave
14991 wine_fn_config_dll dwmapi enable_dwmapi implib
14992 wine_fn_config_dll dxdiagn enable_dxdiagn po
14993 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
14994 wine_fn_config_lib dxerr8
14995 wine_fn_config_lib dxerr9
14996 wine_fn_config_dll dxgi enable_dxgi implib
14997 wine_fn_config_test dlls/dxgi/tests dxgi_test
14998 wine_fn_config_lib dxguid
14999 wine_fn_config_dll explorerframe enable_explorerframe
15000 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15001 wine_fn_config_dll faultrep enable_faultrep implib
15002 wine_fn_config_test dlls/faultrep/tests faultrep_test
15003 wine_fn_config_dll fltlib enable_fltlib
15004 wine_fn_config_dll fusion enable_fusion
15005 wine_fn_config_test dlls/fusion/tests fusion_test
15006 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15007 wine_fn_config_dll gameux enable_gameux
15008 wine_fn_config_test dlls/gameux/tests gameux_test
15009 wine_fn_config_dll gdi.exe16 enable_win16
15010 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15011 wine_fn_config_test dlls/gdi32/tests gdi32_test
15012 wine_fn_config_dll gdiplus enable_gdiplus implib
15013 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15014 wine_fn_config_dll glu32 enable_glu32 implib
15015 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15016 wine_fn_config_dll gpkcsp enable_gpkcsp
15017 wine_fn_config_dll hal enable_hal
15018 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15019 wine_fn_config_dll hid enable_hid implib
15020 wine_fn_config_dll hlink enable_hlink implib
15021 wine_fn_config_test dlls/hlink/tests hlink_test
15022 wine_fn_config_dll hnetcfg enable_hnetcfg
15023 wine_fn_config_dll httpapi enable_httpapi
15024 wine_fn_config_dll iccvid enable_iccvid po
15025 wine_fn_config_dll icmp enable_icmp
15026 wine_fn_config_dll ieframe enable_ieframe implib,po
15027 wine_fn_config_test dlls/ieframe/tests ieframe_test
15028 wine_fn_config_dll ifsmgr.vxd enable_win16
15029 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15030 wine_fn_config_dll imagehlp enable_imagehlp implib
15031 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15032 wine_fn_config_dll imm.dll16 enable_win16
15033 wine_fn_config_dll imm32 enable_imm32 implib
15034 wine_fn_config_test dlls/imm32/tests imm32_test
15035 wine_fn_config_dll inetcomm enable_inetcomm implib
15036 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15037 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15038 wine_fn_config_dll inetmib1 enable_inetmib1
15039 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15040 wine_fn_config_dll infosoft enable_infosoft
15041 wine_fn_config_test dlls/infosoft/tests infosoft_test
15042 wine_fn_config_dll initpki enable_initpki
15043 wine_fn_config_dll inkobj enable_inkobj
15044 wine_fn_config_dll inseng enable_inseng
15045 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15046 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15047 wine_fn_config_dll itircl enable_itircl
15048 wine_fn_config_dll itss enable_itss
15049 wine_fn_config_test dlls/itss/tests itss_test
15050 wine_fn_config_dll jscript enable_jscript po
15051 wine_fn_config_test dlls/jscript/tests jscript_test
15052 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15053 wine_fn_config_test dlls/kernel32/tests kernel32_test
15054 wine_fn_config_dll keyboard.drv16 enable_win16
15055 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15056 wine_fn_config_dll ktmw32 enable_ktmw32
15057 wine_fn_config_dll loadperf enable_loadperf implib
15058 wine_fn_config_dll localspl enable_localspl po
15059 wine_fn_config_test dlls/localspl/tests localspl_test
15060 wine_fn_config_dll localui enable_localui po
15061 wine_fn_config_test dlls/localui/tests localui_test
15062 wine_fn_config_dll lz32 enable_lz32 implib
15063 wine_fn_config_test dlls/lz32/tests lz32_test
15064 wine_fn_config_dll lzexpand.dll16 enable_win16
15065 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15066 wine_fn_config_test dlls/mapi32/tests mapi32_test
15067 wine_fn_config_dll mapistub enable_mapistub
15068 wine_fn_config_dll mciavi32 enable_mciavi32
15069 wine_fn_config_dll mcicda enable_mcicda
15070 wine_fn_config_dll mciqtz32 enable_mciqtz32
15071 wine_fn_config_dll mciseq enable_mciseq
15072 wine_fn_config_dll mciwave enable_mciwave
15073 wine_fn_config_dll midimap enable_midimap
15074 wine_fn_config_dll mlang enable_mlang implib
15075 wine_fn_config_test dlls/mlang/tests mlang_test
15076 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15077 wine_fn_config_dll mmdevapi enable_mmdevapi
15078 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15079 wine_fn_config_dll mmdevldr.vxd enable_win16
15080 wine_fn_config_dll mmsystem.dll16 enable_win16
15081 wine_fn_config_dll monodebg.vxd enable_win16
15082 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15083 wine_fn_config_dll mouse.drv16 enable_win16
15084 wine_fn_config_dll mpr enable_mpr implib,po
15085 wine_fn_config_dll mprapi enable_mprapi implib
15086 wine_fn_config_dll msacm.dll16 enable_win16
15087 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15088 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15089 wine_fn_config_test dlls/msacm32/tests msacm32_test
15090 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15091 wine_fn_config_dll mscat32 enable_mscat32
15092 wine_fn_config_dll mscms enable_mscms implib
15093 wine_fn_config_test dlls/mscms/tests mscms_test
15094 wine_fn_config_dll mscoree enable_mscoree
15095 wine_fn_config_test dlls/mscoree/tests mscoree_test
15096 wine_fn_config_dll msctf enable_msctf
15097 wine_fn_config_test dlls/msctf/tests msctf_test
15098 wine_fn_config_dll msdaps enable_msdaps
15099 wine_fn_config_dll msdmo enable_msdmo implib
15100 wine_fn_config_dll msftedit enable_msftedit
15101 wine_fn_config_dll msg711.acm enable_msg711_acm
15102 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15103 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15104 wine_fn_config_dll mshtml enable_mshtml implib,po
15105 wine_fn_config_test dlls/mshtml/tests mshtml_test
15106 wine_fn_config_dll msi enable_msi implib,po
15107 wine_fn_config_test dlls/msi/tests msi_test
15108 wine_fn_config_dll msimg32 enable_msimg32 implib
15109 wine_fn_config_dll msimsg enable_msimsg
15110 wine_fn_config_dll msimtf enable_msimtf
15111 wine_fn_config_dll msisip enable_msisip
15112 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15113 wine_fn_config_dll msnet32 enable_msnet32
15114 wine_fn_config_dll mspatcha enable_mspatcha
15115 wine_fn_config_dll msrle32 enable_msrle32 po
15116 wine_fn_config_dll mssign32 enable_mssign32
15117 wine_fn_config_dll mssip32 enable_mssip32
15118 wine_fn_config_dll mstask enable_mstask
15119 wine_fn_config_test dlls/mstask/tests mstask_test
15120 wine_fn_config_dll msvcirt enable_msvcirt
15121 wine_fn_config_dll msvcp100 enable_msvcp100
15122 wine_fn_config_dll msvcp60 enable_msvcp60
15123 wine_fn_config_dll msvcp70 enable_msvcp70
15124 wine_fn_config_dll msvcp71 enable_msvcp71
15125 wine_fn_config_dll msvcp80 enable_msvcp80
15126 wine_fn_config_dll msvcp90 enable_msvcp90
15127 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15128 wine_fn_config_dll msvcr100 enable_msvcr100
15129 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15130 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15131 wine_fn_config_dll msvcr80 enable_msvcr80
15132 wine_fn_config_dll msvcr90 enable_msvcr90
15133 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15134 wine_fn_config_dll msvcrt enable_msvcrt implib
15135 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15136 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15137 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15138 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15139 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15140 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15141 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15142 wine_fn_config_dll msvidc32 enable_msvidc32 po
15143 wine_fn_config_dll msvideo.dll16 enable_win16
15144 wine_fn_config_dll mswsock enable_mswsock implib
15145 wine_fn_config_dll msxml enable_msxml
15146 wine_fn_config_dll msxml2 enable_msxml2
15147 wine_fn_config_dll msxml3 enable_msxml3
15148 wine_fn_config_test dlls/msxml3/tests msxml3_test
15149 wine_fn_config_dll msxml4 enable_msxml4
15150 wine_fn_config_dll msxml6 enable_msxml6
15151 wine_fn_config_dll nddeapi enable_nddeapi implib
15152 wine_fn_config_dll netapi32 enable_netapi32 implib
15153 wine_fn_config_test dlls/netapi32/tests netapi32_test
15154 wine_fn_config_dll newdev enable_newdev implib
15155 wine_fn_config_dll normaliz enable_normaliz implib
15156 wine_fn_config_dll npmshtml enable_npmshtml
15157 wine_fn_config_dll ntdll enable_ntdll implib
15158 wine_fn_config_test dlls/ntdll/tests ntdll_test
15159 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15160 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15161 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15162 wine_fn_config_dll ntprint enable_ntprint
15163 wine_fn_config_test dlls/ntprint/tests ntprint_test
15164 wine_fn_config_dll objsel enable_objsel
15165 wine_fn_config_dll odbc32 enable_odbc32 implib
15166 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15167 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15168 wine_fn_config_dll ole2.dll16 enable_win16
15169 wine_fn_config_dll ole2conv.dll16 enable_win16
15170 wine_fn_config_dll ole2disp.dll16 enable_win16
15171 wine_fn_config_dll ole2nls.dll16 enable_win16
15172 wine_fn_config_dll ole2prox.dll16 enable_win16
15173 wine_fn_config_dll ole2thk.dll16 enable_win16
15174 wine_fn_config_dll ole32 enable_ole32 implib
15175 wine_fn_config_test dlls/ole32/tests ole32_test
15176 wine_fn_config_dll oleacc enable_oleacc implib,po
15177 wine_fn_config_test dlls/oleacc/tests oleacc_test
15178 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15179 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15180 wine_fn_config_dll olecli.dll16 enable_win16
15181 wine_fn_config_dll olecli32 enable_olecli32 implib
15182 wine_fn_config_dll oledb32 enable_oledb32
15183 wine_fn_config_test dlls/oledb32/tests oledb32_test
15184 wine_fn_config_dll oledlg enable_oledlg implib,po
15185 wine_fn_config_dll olepro32 enable_olepro32 implib
15186 wine_fn_config_dll olesvr.dll16 enable_win16
15187 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15188 wine_fn_config_dll olethk32 enable_olethk32
15189 wine_fn_config_dll openal32 enable_openal32
15190 wine_fn_config_dll opencl enable_opencl
15191 wine_fn_config_dll opengl32 enable_opengl32 implib
15192 wine_fn_config_test dlls/opengl32/tests opengl32_test
15193 wine_fn_config_dll pdh enable_pdh implib
15194 wine_fn_config_test dlls/pdh/tests pdh_test
15195 wine_fn_config_dll pidgen enable_pidgen
15196 wine_fn_config_dll powrprof enable_powrprof implib
15197 wine_fn_config_dll printui enable_printui
15198 wine_fn_config_dll propsys enable_propsys implib
15199 wine_fn_config_test dlls/propsys/tests propsys_test
15200 wine_fn_config_dll psapi enable_psapi implib
15201 wine_fn_config_test dlls/psapi/tests psapi_test
15202 wine_fn_config_dll pstorec enable_pstorec
15203 wine_fn_config_dll qcap enable_qcap
15204 wine_fn_config_dll qedit enable_qedit
15205 wine_fn_config_test dlls/qedit/tests qedit_test
15206 wine_fn_config_dll qmgr enable_qmgr
15207 wine_fn_config_test dlls/qmgr/tests qmgr_test
15208 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15209 wine_fn_config_dll quartz enable_quartz implib
15210 wine_fn_config_test dlls/quartz/tests quartz_test
15211 wine_fn_config_dll query enable_query
15212 wine_fn_config_dll rasapi16.dll16 enable_win16
15213 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15214 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15215 wine_fn_config_dll rasdlg enable_rasdlg implib
15216 wine_fn_config_dll regapi enable_regapi
15217 wine_fn_config_dll resutils enable_resutils implib
15218 wine_fn_config_dll riched20 enable_riched20 implib
15219 wine_fn_config_test dlls/riched20/tests riched20_test
15220 wine_fn_config_dll riched32 enable_riched32
15221 wine_fn_config_test dlls/riched32/tests riched32_test
15222 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15223 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15224 wine_fn_config_dll rsabase enable_rsabase
15225 wine_fn_config_dll rsaenh enable_rsaenh implib
15226 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15227 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15228 wine_fn_config_dll rtutils enable_rtutils implib
15229 wine_fn_config_dll samlib enable_samlib
15230 wine_fn_config_dll sane.ds enable_sane_ds po
15231 wine_fn_config_dll scarddlg enable_scarddlg
15232 wine_fn_config_dll sccbase enable_sccbase
15233 wine_fn_config_dll schannel enable_schannel
15234 wine_fn_config_test dlls/schannel/tests schannel_test
15235 wine_fn_config_dll scrrun enable_scrrun
15236 wine_fn_config_dll secur32 enable_secur32 implib
15237 wine_fn_config_test dlls/secur32/tests secur32_test
15238 wine_fn_config_dll security enable_security
15239 wine_fn_config_dll sensapi enable_sensapi implib
15240 wine_fn_config_dll serialui enable_serialui implib,po
15241 wine_fn_config_test dlls/serialui/tests serialui_test
15242 wine_fn_config_dll setupapi enable_setupapi implib,po
15243 wine_fn_config_test dlls/setupapi/tests setupapi_test
15244 wine_fn_config_dll setupx.dll16 enable_win16
15245 wine_fn_config_dll sfc enable_sfc implib
15246 wine_fn_config_dll sfc_os enable_sfc_os implib
15247 wine_fn_config_dll shdoclc enable_shdoclc po
15248 wine_fn_config_dll shdocvw enable_shdocvw implib
15249 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15250 wine_fn_config_dll shell.dll16 enable_win16
15251 wine_fn_config_dll shell32 enable_shell32 implib,po
15252 wine_fn_config_test dlls/shell32/tests shell32_test
15253 wine_fn_config_dll shfolder enable_shfolder implib
15254 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15255 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15256 wine_fn_config_dll slbcsp enable_slbcsp
15257 wine_fn_config_dll slc enable_slc implib
15258 wine_fn_config_dll snmpapi enable_snmpapi implib
15259 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15260 wine_fn_config_dll softpub enable_softpub
15261 wine_fn_config_dll sound.drv16 enable_win16
15262 wine_fn_config_dll spoolss enable_spoolss implib
15263 wine_fn_config_test dlls/spoolss/tests spoolss_test
15264 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15265 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15266 wine_fn_config_dll sti enable_sti implib
15267 wine_fn_config_test dlls/sti/tests sti_test
15268 wine_fn_config_dll storage.dll16 enable_win16
15269 wine_fn_config_dll stress.dll16 enable_win16
15270 wine_fn_config_lib strmbase
15271 wine_fn_config_lib strmiids
15272 wine_fn_config_dll svrapi enable_svrapi
15273 wine_fn_config_dll sxs enable_sxs
15274 wine_fn_config_dll system.drv16 enable_win16
15275 wine_fn_config_dll t2embed enable_t2embed
15276 wine_fn_config_dll tapi32 enable_tapi32 implib
15277 wine_fn_config_dll toolhelp.dll16 enable_win16
15278 wine_fn_config_dll traffic enable_traffic
15279 wine_fn_config_dll twain.dll16 enable_win16
15280 wine_fn_config_dll twain_32 enable_twain_32
15281 wine_fn_config_test dlls/twain_32/tests twain_32_test
15282 wine_fn_config_dll typelib.dll16 enable_win16
15283 wine_fn_config_dll unicows enable_unicows implib
15284 wine_fn_config_dll updspapi enable_updspapi
15285 wine_fn_config_dll url enable_url implib
15286 wine_fn_config_dll urlmon enable_urlmon implib
15287 wine_fn_config_test dlls/urlmon/tests urlmon_test
15288 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15289 wine_fn_config_dll user.exe16 enable_win16
15290 wine_fn_config_dll user32 enable_user32 implib,po
15291 wine_fn_config_test dlls/user32/tests user32_test
15292 wine_fn_config_dll userenv enable_userenv implib
15293 wine_fn_config_test dlls/userenv/tests userenv_test
15294 wine_fn_config_dll usp10 enable_usp10 implib
15295 wine_fn_config_test dlls/usp10/tests usp10_test
15296 wine_fn_config_lib uuid
15297 wine_fn_config_dll uxtheme enable_uxtheme implib
15298 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15299 wine_fn_config_dll vbscript enable_vbscript
15300 wine_fn_config_test dlls/vbscript/tests vbscript_test
15301 wine_fn_config_dll vcomp enable_vcomp
15302 wine_fn_config_dll vdhcp.vxd enable_win16
15303 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15304 wine_fn_config_dll ver.dll16 enable_win16
15305 wine_fn_config_dll version enable_version implib
15306 wine_fn_config_test dlls/version/tests version_test
15307 wine_fn_config_dll vmm.vxd enable_win16
15308 wine_fn_config_dll vnbt.vxd enable_win16
15309 wine_fn_config_dll vnetbios.vxd enable_win16
15310 wine_fn_config_dll vtdapi.vxd enable_win16
15311 wine_fn_config_dll vwin32.vxd enable_win16
15312 wine_fn_config_dll w32skrnl enable_win16
15313 wine_fn_config_dll w32sys.dll16 enable_win16
15314 wine_fn_config_dll wbemprox enable_wbemprox
15315 wine_fn_config_dll wer enable_wer implib
15316 wine_fn_config_test dlls/wer/tests wer_test
15317 wine_fn_config_dll wiaservc enable_wiaservc
15318 wine_fn_config_dll win32s16.dll16 enable_win16
15319 wine_fn_config_dll win87em.dll16 enable_win16
15320 wine_fn_config_dll winaspi.dll16 enable_win16
15321 wine_fn_config_dll windebug.dll16 enable_win16
15322 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15323 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15324 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15325 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15326 wine_fn_config_lib winecrt0
15327 wine_fn_config_dll wined3d enable_wined3d implib
15328 wine_fn_config_dll winegstreamer enable_winegstreamer
15329 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15330 wine_fn_config_dll winemapi enable_winemapi
15331 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15332 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15333 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
15334 wine_fn_config_dll wineps16.drv16 enable_win16
15335 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15336 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15337 wine_fn_config_dll winex11.drv enable_winex11_drv
15338 wine_fn_config_dll wing.dll16 enable_win16
15339 wine_fn_config_dll wing32 enable_wing32
15340 wine_fn_config_dll winhttp enable_winhttp implib
15341 wine_fn_config_test dlls/winhttp/tests winhttp_test
15342 wine_fn_config_dll wininet enable_wininet implib,po
15343 wine_fn_config_test dlls/wininet/tests wininet_test
15344 wine_fn_config_dll winmm enable_winmm implib,po
15345 wine_fn_config_test dlls/winmm/tests winmm_test
15346 wine_fn_config_dll winnls.dll16 enable_win16
15347 wine_fn_config_dll winnls32 enable_winnls32 implib
15348 wine_fn_config_dll winscard enable_winscard implib
15349 wine_fn_config_dll winsock.dll16 enable_win16
15350 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
15351 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15352 wine_fn_config_dll winsta enable_winsta
15353 wine_fn_config_dll wintab.dll16 enable_win16
15354 wine_fn_config_dll wintab32 enable_wintab32 implib
15355 wine_fn_config_test dlls/wintab32/tests wintab32_test
15356 wine_fn_config_dll wintrust enable_wintrust implib
15357 wine_fn_config_test dlls/wintrust/tests wintrust_test
15358 wine_fn_config_dll wlanapi enable_wlanapi
15359 wine_fn_config_dll wldap32 enable_wldap32 implib,po
15360 wine_fn_config_test dlls/wldap32/tests wldap32_test
15361 wine_fn_config_dll wmi enable_wmi
15362 wine_fn_config_dll wmiutils enable_wmiutils
15363 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15364 wine_fn_config_dll wow32 enable_win16 implib
15365 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15366 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15367 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15368 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
15369 wine_fn_config_dll wsock32 enable_wsock32 implib
15370 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15371 wine_fn_config_dll wuapi enable_wuapi
15372 wine_fn_config_dll wuaueng enable_wuaueng
15373 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15374 wine_fn_config_dll xinput1_1 enable_xinput1_1
15375 wine_fn_config_dll xinput1_2 enable_xinput1_2
15376 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15377 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15378 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15379 wine_fn_config_dll xmllite enable_xmllite
15380 wine_fn_config_test dlls/xmllite/tests xmllite_test
15381 wine_fn_config_dll xolehlp enable_xolehlp
15382 wine_fn_config_makefile documentation enable_documentation
15383 wine_fn_config_makefile fonts enable_fonts install-lib
15384 wine_fn_config_makefile include enable_include install-dev
15385 wine_fn_config_makefile libs/port enable_libs_port
15386 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
15387 wine_fn_config_makefile libs/wpp enable_libs_wpp
15388 wine_fn_config_makefile loader enable_loader install-lib,manpage
15389 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15390 wine_fn_config_program attrib enable_attrib install,po
15391 wine_fn_config_program cabarc enable_cabarc install
15392 wine_fn_config_program cacls enable_cacls install
15393 wine_fn_config_program clock enable_clock install,po
15394 wine_fn_config_program cmd enable_cmd install,po
15395 wine_fn_config_test programs/cmd/tests cmd.exe_test
15396 wine_fn_config_program cmdlgtst enable_cmdlgtst
15397 wine_fn_config_program control enable_control install
15398 wine_fn_config_program dxdiag enable_dxdiag install,po
15399 wine_fn_config_program eject enable_eject install
15400 wine_fn_config_program expand enable_expand install
15401 wine_fn_config_program explorer enable_explorer install,po
15402 wine_fn_config_program extrac32 enable_extrac32 install
15403 wine_fn_config_program hh enable_hh install
15404 wine_fn_config_program hostname enable_hostname install,po
15405 wine_fn_config_program icinfo enable_icinfo install
15406 wine_fn_config_program iexplore enable_iexplore install
15407 wine_fn_config_program ipconfig enable_ipconfig install,po
15408 wine_fn_config_program lodctr enable_lodctr install
15409 wine_fn_config_program mofcomp enable_mofcomp install
15410 wine_fn_config_program mshta enable_mshta install
15411 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
15412 wine_fn_config_program net enable_net install,po
15413 wine_fn_config_program netsh enable_netsh install
15414 wine_fn_config_program ngen enable_ngen install
15415 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
15416 wine_fn_config_program oleview enable_oleview install,po
15417 wine_fn_config_program ping enable_ping install
15418 wine_fn_config_program plugplay enable_plugplay install
15419 wine_fn_config_program presentationfontcache enable_presentationfontcache install
15420 wine_fn_config_program progman enable_progman install,po
15421 wine_fn_config_program reg enable_reg install,po
15422 wine_fn_config_program regasm enable_regasm install
15423 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
15424 wine_fn_config_test programs/regedit/tests regedit.exe_test
15425 wine_fn_config_program regsvcs enable_regsvcs install
15426 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
15427 wine_fn_config_program rpcss enable_rpcss install
15428 wine_fn_config_program rundll.exe16 enable_win16 install
15429 wine_fn_config_program rundll32 enable_rundll32 install
15430 wine_fn_config_program sc enable_sc install
15431 wine_fn_config_program secedit enable_secedit install
15432 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15433 wine_fn_config_program services enable_services install
15434 wine_fn_config_program spoolsv enable_spoolsv install
15435 wine_fn_config_program start enable_start install,po
15436 wine_fn_config_program svchost enable_svchost install
15437 wine_fn_config_program taskkill enable_taskkill install,po
15438 wine_fn_config_program taskmgr enable_taskmgr install,po
15439 wine_fn_config_program termsv enable_termsv install
15440 wine_fn_config_program uninstaller enable_uninstaller install,po
15441 wine_fn_config_program unlodctr enable_unlodctr install
15442 wine_fn_config_program view enable_view install,po
15443 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
15444 wine_fn_config_program winebrowser enable_winebrowser install
15445 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
15446 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
15447 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
15448 wine_fn_config_program winedevice enable_winedevice install
15449 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
15450 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15451 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
15452 wine_fn_config_program winemsibuilder enable_winemsibuilder install
15453 wine_fn_config_program winepath enable_winepath install,installbin,manpage
15454 wine_fn_config_program winetest enable_winetest
15455 wine_fn_config_program winevdm enable_win16 install
15456 wine_fn_config_program winhelp.exe16 enable_win16 install
15457 wine_fn_config_program winhlp32 enable_winhlp32 install,po
15458 wine_fn_config_program winoldap.mod16 enable_win16 install
15459 wine_fn_config_program winver enable_winver install
15460 wine_fn_config_program wmic enable_wmic install
15461 wine_fn_config_program wordpad enable_wordpad install,po
15462 wine_fn_config_program write enable_write install,po
15463 wine_fn_config_program wscript enable_wscript install
15464 wine_fn_config_test programs/wscript/tests wscript.exe_test
15465 wine_fn_config_program xcopy enable_xcopy install,po
15466 wine_fn_config_makefile server enable_server install-lib,manpage
15467 wine_fn_config_tool tools install-dev,install-lib,manpage
15468 wine_fn_config_tool tools/widl install-dev,manpage
15469 wine_fn_config_tool tools/winebuild install-dev,manpage
15470 wine_fn_config_tool tools/winedump install-dev,manpage
15471 wine_fn_config_tool tools/winegcc install-dev,manpage
15472 wine_fn_config_tool tools/wmc install-dev,manpage
15473 wine_fn_config_tool tools/wrc install-dev,manpage
15523 ac_config_commands="$ac_config_commands Makefile"
15526 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15530 if test "x$enable_maintainer_mode" = xyes
15532 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15533 cd \$(srcdir) && autoconf --warnings=all
15534 \$(srcdir)/include/config.h.in: include/stamp-h.in
15535 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15536 cd \$(srcdir) && autoheader --warnings=all
15537 @echo timestamp > \$@"
15540 if test "x$with_gettextpo" = xyes
15542 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15543 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
15544 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15545 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15546 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15547 msgcat -o \$@ \$(ALL_POT_FILES)"
15550 if test "$MSGFMT" != false
15552 PORCFLAGS="--po-dir=\$(top_builddir)/po"
15554 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
15559 if test "x$enable_tools" != xno
15561 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
15563 \$(RM) tools/makedep\$(EXEEXT)"
15566 if test -n "$with_wine64"
15568 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15569 fonts server tools:
15570 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15571 $with_wine64/loader/wine:
15572 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15573 $with_wine64/loader/wine-preloader:
15574 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15576 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15579 cat >confcache <<\_ACEOF
15580 # This file is a shell script that caches the results of configure
15581 # tests run on this system so they can be shared between configure
15582 # scripts and configure runs, see configure's option --config-cache.
15583 # It is not useful on other systems. If it contains results you don't
15584 # want to keep, you may remove or edit it.
15586 # config.status only pays attention to the cache file if you give it
15587 # the --recheck option to rerun configure.
15589 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15590 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15591 # following values.
15595 # The following way of writing the cache mishandles newlines in values,
15596 # but we know of no workaround that is simple, portable, and efficient.
15597 # So, we kill variables containing newlines.
15598 # Ultrix sh set writes to stderr and can't be redirected directly,
15599 # and sets the high bit in the cache file unless we assign to the vars.
15601 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15602 eval ac_val=\$$ac_var
15606 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15607 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15610 _ | IFS | as_nl) ;; #(
15611 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15612 *) { eval $ac_var=; unset $ac_var;} ;;
15618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15619 *${as_nl}ac_space=\ *)
15620 # `set' does not quote correctly, so add quotes: double-quote
15621 # substitution turns \\\\ into \\, and sed turns \\ into \.
15624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15627 # `set' quotes correctly as required by POSIX, so do not add quotes.
15628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15641 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15642 if test -w "$cache_file"; then
15643 if test "x$cache_file" != "x/dev/null"; then
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15645 $as_echo "$as_me: updating cache $cache_file" >&6;}
15646 if test ! -f "$cache_file" || test -h "$cache_file"; then
15647 cat confcache >"$cache_file"
15649 case $cache_file in #(
15651 mv -f confcache "$cache_file"$$ &&
15652 mv -f "$cache_file"$$ "$cache_file" ;; #(
15654 mv -f confcache "$cache_file" ;;
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15660 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15665 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15666 # Let make expand exec_prefix.
15667 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15669 DEFS=-DHAVE_CONFIG_H
15674 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15675 # 1. Remove the extension, and $U if already installed.
15676 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15677 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15678 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15679 # will be set to the directory where LIBOBJS objects are built.
15680 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15681 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15683 LIBOBJS=$ac_libobjs
15685 LTLIBOBJS=$ac_ltlibobjs
15689 : "${CONFIG_STATUS=./config.status}"
15691 ac_clean_files_save=$ac_clean_files
15692 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15694 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15696 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15698 # Generated by $as_me.
15699 # Run this file to recreate the current configuration.
15700 # Compiler output produced by configure, useful for debugging
15701 # configure, is in config.log if it exists.
15704 ac_cs_recheck=false
15707 SHELL=\${CONFIG_SHELL-$SHELL}
15710 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15711 ## -------------------- ##
15712 ## M4sh Initialization. ##
15713 ## -------------------- ##
15715 # Be more Bourne compatible
15716 DUALCASE=1; export DUALCASE # for MKS sh
15717 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15720 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15721 # is contrary to our usage. Disable this feature.
15722 alias -g '${1+"$@"}'='"$@"'
15723 setopt NO_GLOB_SUBST
15725 case `(set -o) 2>/dev/null` in #(
15737 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15738 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15739 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15740 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15741 # Prefer a ksh shell builtin over an external printf program on Solaris,
15742 # but without wasting forks for bash or zsh.
15743 if test -z "$BASH_VERSION$ZSH_VERSION" \
15744 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15745 as_echo='print -r --'
15746 as_echo_n='print -rn --'
15747 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15748 as_echo='printf %s\n'
15749 as_echo_n='printf %s'
15751 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15752 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15753 as_echo_n='/usr/ucb/echo -n'
15755 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15756 as_echo_n_body='eval
15760 expr "X$arg" : "X\\(.*\\)$as_nl";
15761 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15763 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15765 export as_echo_n_body
15766 as_echo_n='sh -c $as_echo_n_body as_echo'
15768 export as_echo_body
15769 as_echo='sh -c $as_echo_body as_echo'
15772 # The user is always right.
15773 if test "${PATH_SEPARATOR+set}" != set; then
15775 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15776 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15783 # We need space, tab and new line, in precisely that order. Quoting is
15784 # there to prevent editors from complaining about space-tab.
15785 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15786 # splitting by setting IFS to empty value.)
15789 # Find who we are. Look in the path if we contain no directory separator.
15792 *[\\/]* ) as_myself=$0 ;;
15793 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15794 for as_dir in $PATH
15797 test -z "$as_dir" && as_dir=.
15798 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15804 # We did not find ourselves, most probably we were run as `sh COMMAND'
15805 # in which case we are not to be found in the path.
15806 if test "x$as_myself" = x; then
15809 if test ! -f "$as_myself"; then
15810 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15814 # Unset variables that we do not need and which cause bugs (e.g. in
15815 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15816 # suppresses any "Segmentation fault" message there. '((' could
15817 # trigger a bug in pdksh 5.2.14.
15818 for as_var in BASH_ENV ENV MAIL MAILPATH
15819 do eval test x\${$as_var+set} = xset \
15820 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15833 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15836 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15837 # ----------------------------------------
15838 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15839 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15840 # script with STATUS, using 1 if that was 0.
15843 as_status=$1; test $as_status -eq 0 && as_status=1
15845 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15846 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15848 $as_echo "$as_me: error: $2" >&2
15849 as_fn_exit $as_status
15853 # as_fn_set_status STATUS
15854 # -----------------------
15855 # Set $? to STATUS, without forking.
15856 as_fn_set_status ()
15859 } # as_fn_set_status
15861 # as_fn_exit STATUS
15862 # -----------------
15863 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15867 as_fn_set_status $1
15873 # Portably unset VAR.
15876 { eval $1=; unset $1;}
15878 as_unset=as_fn_unset
15879 # as_fn_append VAR VALUE
15880 # ----------------------
15881 # Append the text in VALUE to the end of the definition contained in VAR. Take
15882 # advantage of any shell optimizations that allow amortized linear growth over
15883 # repeated appends, instead of the typical quadratic growth present in naive
15885 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15886 eval 'as_fn_append ()
15897 # as_fn_arith ARG...
15898 # ------------------
15899 # Perform arithmetic evaluation on the ARGs, and store the result in the
15900 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15901 # must be portable across $(()) and expr.
15902 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15903 eval 'as_fn_arith ()
15910 as_val=`expr "$@" || test $? -eq 1`
15915 if expr a : '\(a\)' >/dev/null 2>&1 &&
15916 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15922 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15923 as_basename=basename
15928 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15934 as_me=`$as_basename -- "$0" ||
15935 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15936 X"$0" : 'X\(//\)$' \| \
15937 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15939 sed '/^.*\/\([^/][^/]*\)\/*$/{
15953 # Avoid depending upon Character Ranges.
15954 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15955 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15956 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15957 as_cr_digits='0123456789'
15958 as_cr_alnum=$as_cr_Letters$as_cr_digits
15960 ECHO_C= ECHO_N= ECHO_T=
15961 case `echo -n x` in #(((((
15963 case `echo 'xy\c'` in
15964 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15966 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15973 rm -f conf$$ conf$$.exe conf$$.file
15974 if test -d conf$$.dir; then
15975 rm -f conf$$.dir/conf$$.file
15978 mkdir conf$$.dir 2>/dev/null
15980 if (echo >conf$$.file) 2>/dev/null; then
15981 if ln -s conf$$.file conf$$ 2>/dev/null; then
15983 # ... but there are two gotchas:
15984 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15985 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15986 # In both cases, we have to default to `cp -p'.
15987 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15989 elif ln conf$$.file conf$$ 2>/dev/null; then
15997 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15998 rmdir conf$$.dir 2>/dev/null
16003 # Create "$as_dir" as a directory, including parents if necessary.
16008 -*) as_dir=./$as_dir;;
16010 test -d "$as_dir" || eval $as_mkdir_p || {
16014 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16015 *) as_qdir=$as_dir;;
16017 as_dirs="'$as_qdir' $as_dirs"
16018 as_dir=`$as_dirname -- "$as_dir" ||
16019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16020 X"$as_dir" : 'X\(//\)[^/]' \| \
16021 X"$as_dir" : 'X\(//\)$' \| \
16022 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16023 $as_echo X"$as_dir" |
16024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16028 /^X\(\/\/\)[^/].*/{
16041 test -d "$as_dir" && break
16043 test -z "$as_dirs" || eval "mkdir $as_dirs"
16044 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16048 if mkdir -p . 2>/dev/null; then
16049 as_mkdir_p='mkdir -p "$as_dir"'
16051 test -d ./-p && rmdir ./-p
16055 if test -x / >/dev/null 2>&1; then
16056 as_test_x='test -x'
16058 if ls -dL / >/dev/null 2>&1; then
16065 if test -d "$1"; then
16071 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16072 ???[sx]*):;;*)false;;esac;fi
16076 as_executable_p=$as_test_x
16078 # Sed expression to map a string onto a valid CPP name.
16079 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16081 # Sed expression to map a string onto a valid variable name.
16082 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16086 ## ----------------------------------- ##
16087 ## Main body of $CONFIG_STATUS script. ##
16088 ## ----------------------------------- ##
16090 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16093 # Save the log message, to keep $0 and so on meaningful, and to
16094 # report actual input values of CONFIG_FILES etc. instead of their
16095 # values after options handling.
16097 This file was extended by Wine $as_me 1.3.34, which was
16098 generated by GNU Autoconf 2.68. Invocation command line was
16100 CONFIG_FILES = $CONFIG_FILES
16101 CONFIG_HEADERS = $CONFIG_HEADERS
16102 CONFIG_LINKS = $CONFIG_LINKS
16103 CONFIG_COMMANDS = $CONFIG_COMMANDS
16106 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16111 case $ac_config_files in *"
16112 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16115 case $ac_config_headers in *"
16116 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16120 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16121 # Files that config.status was made for.
16122 config_files="$ac_config_files"
16123 config_headers="$ac_config_headers"
16124 config_links="$ac_config_links"
16125 config_commands="$ac_config_commands"
16129 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16131 \`$as_me' instantiates files and other configuration actions
16132 from templates according to the current configuration. Unless the files
16133 and actions are specified as TAGs, all are instantiated by default.
16135 Usage: $0 [OPTION]... [TAG]...
16137 -h, --help print this help, then exit
16138 -V, --version print version number and configuration settings, then exit
16139 --config print configuration, then exit
16140 -q, --quiet, --silent
16141 do not print progress messages
16142 -d, --debug don't remove temporary files
16143 --recheck update $as_me by reconfiguring in the same conditions
16144 --file=FILE[:TEMPLATE]
16145 instantiate the configuration file FILE
16146 --header=FILE[:TEMPLATE]
16147 instantiate the configuration header FILE
16149 Configuration files:
16152 Configuration headers:
16155 Configuration links:
16158 Configuration commands:
16161 Report bugs to <wine-devel@winehq.org>.
16162 Wine home page: <http://www.winehq.org>."
16165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16166 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16168 Wine config.status 1.3.34
16169 configured by $0, generated by GNU Autoconf 2.68,
16170 with options \\"\$ac_cs_config\\"
16172 Copyright (C) 2010 Free Software Foundation, Inc.
16173 This config.status script is free software; the Free Software Foundation
16174 gives unlimited permission to copy, distribute and modify it."
16179 test -n "\$AWK" || AWK=awk
16182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16183 # The default lists apply if the user does not specify any file.
16189 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16190 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16194 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16206 # Handling of the options.
16207 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16209 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16210 $as_echo "$ac_cs_version"; exit ;;
16211 --config | --confi | --conf | --con | --co | --c )
16212 $as_echo "$ac_cs_config"; exit ;;
16213 --debug | --debu | --deb | --de | --d | -d )
16215 --file | --fil | --fi | --f )
16218 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16219 '') as_fn_error $? "missing file argument" ;;
16221 as_fn_append CONFIG_FILES " '$ac_optarg'"
16222 ac_need_defaults=false;;
16223 --header | --heade | --head | --hea )
16226 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16228 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16229 ac_need_defaults=false;;
16231 # Conflict between --help and --header
16232 as_fn_error $? "ambiguous option: \`$1'
16233 Try \`$0 --help' for more information.";;
16234 --help | --hel | -h )
16235 $as_echo "$ac_cs_usage"; exit ;;
16236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16237 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16240 # This is an error.
16241 -*) as_fn_error $? "unrecognized option: \`$1'
16242 Try \`$0 --help' for more information." ;;
16244 *) as_fn_append ac_config_targets " $1"
16245 ac_need_defaults=false ;;
16251 ac_configure_extra_args=
16253 if $ac_cs_silent; then
16255 ac_configure_extra_args="$ac_configure_extra_args --silent"
16259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16260 if \$ac_cs_recheck; then
16261 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16263 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16264 CONFIG_SHELL='$SHELL'
16265 export CONFIG_SHELL
16270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16274 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16275 ## Running $as_me. ##
16281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16285 wine_fn_output_makefile ()
16287 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16288 $ALL_MAKEFILE_DEPENDS
16290 as_fn_error $? "could not create Makefile" "$LINENO" 5
16295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16297 # Handling of arguments.
16298 for ac_config_target in $ac_config_targets
16300 case $ac_config_target in
16301 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16302 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16303 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16304 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16305 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16306 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16307 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16308 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16309 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16310 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16311 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16312 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16313 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16314 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16315 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16316 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16317 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16318 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16319 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16320 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16321 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16322 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16323 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16324 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16325 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16326 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16328 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16333 # If the user did not use the arguments to specify the items to instantiate,
16334 # then the envvar interface is used. Set only those that are not.
16335 # We use the long form for the default assignment because of an extremely
16336 # bizarre bug on SunOS 4.1.3.
16337 if $ac_need_defaults; then
16338 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16339 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16340 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16341 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16344 # Have a temporary directory for convenience. Make it in the build tree
16345 # simply because there is no reason against having it here, and in addition,
16346 # creating and moving files from /tmp can sometimes cause problems.
16347 # Hook for its removal unless debugging.
16348 # Note that there is a small window in which the directory will not be cleaned:
16349 # after its creation but before its name has been assigned to `$tmp'.
16353 trap 'exit_status=$?
16354 : "${ac_tmp:=$tmp}"
16355 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16357 trap 'as_fn_exit 1' 1 2 13 15
16359 # Create a (secure) tmp directory for tmp files.
16362 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16366 tmp=./conf$$-$RANDOM
16367 (umask 077 && mkdir "$tmp")
16368 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16371 # Set up the scripts for CONFIG_FILES section.
16372 # No need to generate them if there are no CONFIG_FILES.
16373 # This happens for instance with `./config.status config.h'.
16374 if test -n "$CONFIG_FILES"; then
16376 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16377 ac_cs_awk_getline=:
16378 ac_cs_awk_pipe_init=
16379 ac_cs_awk_read_file='
16380 while ((getline aline < (F[key])) > 0)
16383 ac_cs_awk_pipe_fini=
16385 ac_cs_awk_getline=false
16386 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16387 ac_cs_awk_read_file='
16389 print "cat " F[key] " &&"
16390 '$ac_cs_awk_pipe_init
16391 # The final `:' finishes the AND list.
16392 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16394 ac_cr=`echo X | tr X '\015'`
16395 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16396 # But we know of no other shell where ac_cr would be empty at this
16397 # point, so we can use a bashism as a fallback.
16398 if test "x$ac_cr" = x; then
16399 eval ac_cr=\$\'\\r\'
16401 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16402 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16405 ac_cs_awk_cr=$ac_cr
16408 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16411 # Create commands to substitute file output variables.
16413 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16414 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16415 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16418 } >conf$$files.sh &&
16419 . ./conf$$files.sh ||
16420 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16421 rm -f conf$$files.sh
16424 echo "cat >conf$$subs.awk <<_ACEOF" &&
16425 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16427 } >conf$$subs.sh ||
16428 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16429 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16431 for ac_last_try in false false false false false :; do
16432 . ./conf$$subs.sh ||
16433 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16435 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16436 if test $ac_delim_n = $ac_delim_num; then
16438 elif $ac_last_try; then
16439 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16441 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16444 rm -f conf$$subs.sh
16446 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16447 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16451 s/^/S["/; s/!.*/"]=/
16461 s/\(.\{148\}\)..*/\1/
16463 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16468 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16475 s/\(.\{148\}\)..*/\1/
16477 s/["\\]/\\&/g; s/^/"/; s/$/"/
16481 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16486 ' <conf$$subs.awk | sed '
16491 ' >>$CONFIG_STATUS || ac_write_fail=1
16492 rm -f conf$$subs.awk
16493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16495 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16496 for (key in S) S_is_set[key] = 1
16498 \$ac_cs_awk_pipe_init
16502 nfields = split(line, field, "@")
16504 len = length(field[1])
16505 for (i = 2; i < nfields; i++) {
16507 keylen = length(key)
16508 if (S_is_set[key]) {
16510 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16511 len += length(value) + length(field[++i])
16516 if (nfields == 3 && !substed) {
16518 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16519 \$ac_cs_awk_read_file
16525 \$ac_cs_awk_pipe_fini
16528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16529 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16530 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16533 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16534 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16537 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16538 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16539 # trailing colons and then remove the whole line if VPATH becomes empty
16540 # (actually we leave an empty line to preserve line numbers).
16541 if test "x$srcdir" = x.; then
16542 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16561 fi # test -n "$CONFIG_FILES"
16563 # Set up the scripts for CONFIG_HEADERS section.
16564 # No need to generate them if there are no CONFIG_HEADERS.
16565 # This happens for instance with `./config.status Makefile'.
16566 if test -n "$CONFIG_HEADERS"; then
16567 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16571 # Transform confdefs.h into an awk script `defines.awk', embedded as
16572 # here-document in config.status, that substitutes the proper values into
16573 # config.h.in to produce config.h.
16575 # Create a delimiter string that does not exist in confdefs.h, to ease
16576 # handling of long lines.
16578 for ac_last_try in false false :; do
16579 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16580 if test -z "$ac_tt"; then
16582 elif $ac_last_try; then
16583 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16585 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16589 # For the awk script, D is an array of macro values keyed by name,
16590 # likewise P contains macro parameters if any. Preserve backslash
16591 # newline sequences.
16593 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16595 s/.\{148\}/&'"$ac_delim"'/g
16598 s/^[ ]*#[ ]*define[ ][ ]*/ /
16605 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16607 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16611 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16612 D["\1"]=" \3\\\\\\n"\\/p
16614 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16619 s/.\{148\}/&'"$ac_delim"'/g
16624 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16627 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16629 ' <confdefs.h | sed '
16630 s/'"$ac_delim"'/"\\\
16631 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16634 for (key in D) D_is_set[key] = 1
16637 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16639 split(line, arg, " ")
16640 if (arg[1] == "#") {
16644 defundef = substr(arg[1], 2)
16647 split(mac1, mac2, "(") #)
16649 prefix = substr(line, 1, index(line, defundef) - 1)
16650 if (D_is_set[macro]) {
16651 # Preserve the white space surrounding the "#".
16652 print prefix "define", macro P[macro] D[macro]
16655 # Replace #undef with comments. This is necessary, for example,
16656 # in the case of _POSIX_SOURCE, which is predefined and required
16657 # on some systems where configure will not decide to define it.
16658 if (defundef == "undef") {
16659 print "/*", prefix defundef, macro, "*/"
16667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16668 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16669 fi # test -n "$CONFIG_HEADERS"
16672 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16677 :[FHLC]) ac_mode=$ac_tag; continue;;
16679 case $ac_mode$ac_tag in
16681 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16682 :[FH]-) ac_tag=-:-;;
16683 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16700 -) ac_f="$ac_tmp/stdin";;
16701 *) # Look for the file first in the build tree, then in the source tree
16702 # (if the path is not absolute). The absolute path cannot be DOS-style,
16703 # because $ac_f cannot contain `:'.
16707 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16709 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16711 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16712 as_fn_append ac_file_inputs " '$ac_f'"
16715 # Let's still pretend it is `configure' which instantiates (i.e., don't
16716 # use $as_me), people would be surprised to read:
16717 # /* config.h. Generated by config.status. */
16718 configure_input='Generated from '`
16719 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16721 if test x"$ac_file" != x-; then
16722 configure_input="$ac_file. $configure_input"
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16724 $as_echo "$as_me: creating $ac_file" >&6;}
16726 # Neutralize special characters interpreted by sed in replacement strings.
16727 case $configure_input in #(
16728 *\&* | *\|* | *\\* )
16729 ac_sed_conf_input=`$as_echo "$configure_input" |
16730 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16731 *) ac_sed_conf_input=$configure_input;;
16735 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16736 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16741 ac_dir=`$as_dirname -- "$ac_file" ||
16742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16743 X"$ac_file" : 'X\(//\)[^/]' \| \
16744 X"$ac_file" : 'X\(//\)$' \| \
16745 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16746 $as_echo X"$ac_file" |
16747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16751 /^X\(\/\/\)[^/].*/{
16764 as_dir="$ac_dir"; as_fn_mkdir_p
16768 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16770 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16771 # A ".." for each directory in $ac_dir_suffix.
16772 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16773 case $ac_top_builddir_sub in
16774 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16775 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16778 ac_abs_top_builddir=$ac_pwd
16779 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16780 # for backward compatibility:
16781 ac_top_builddir=$ac_top_build_prefix
16784 .) # We are building in place.
16786 ac_top_srcdir=$ac_top_builddir_sub
16787 ac_abs_top_srcdir=$ac_pwd ;;
16788 [\\/]* | ?:[\\/]* ) # Absolute name.
16789 ac_srcdir=$srcdir$ac_dir_suffix;
16790 ac_top_srcdir=$srcdir
16791 ac_abs_top_srcdir=$srcdir ;;
16792 *) # Relative name.
16793 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16794 ac_top_srcdir=$ac_top_build_prefix$srcdir
16795 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16797 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16807 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16808 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16813 # If the template does not know about datarootdir, expand it.
16814 # FIXME: This hack should be removed a few years after 2.60.
16815 ac_datarootdir_hack=; ac_datarootdir_seen=
16826 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16827 *datarootdir*) ac_datarootdir_seen=yes;;
16828 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16830 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16833 ac_datarootdir_hack='
16834 s&@datadir@&$datadir&g
16835 s&@docdir@&$docdir&g
16836 s&@infodir@&$infodir&g
16837 s&@localedir@&$localedir&g
16838 s&@mandir@&$mandir&g
16839 s&\\\${datarootdir}&$datarootdir&g' ;;
16843 # Neutralize VPATH when `$srcdir' = `.'.
16844 # Shell code in configure.ac might set extrasub.
16845 # FIXME: do we really want to maintain this feature?
16846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16847 ac_sed_extra="$ac_vpsub
16850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16852 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16853 s|@configure_input@|$ac_sed_conf_input|;t t
16854 s&@top_builddir@&$ac_top_builddir_sub&;t t
16855 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16856 s&@srcdir@&$ac_srcdir&;t t
16857 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16858 s&@top_srcdir@&$ac_top_srcdir&;t t
16859 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16860 s&@builddir@&$ac_builddir&;t t
16861 s&@abs_builddir@&$ac_abs_builddir&;t t
16862 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16863 s&@INSTALL@&$ac_INSTALL&;t t
16864 $ac_datarootdir_hack
16866 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16867 if $ac_cs_awk_getline; then
16868 $AWK -f "$ac_tmp/subs.awk"
16870 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16872 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16874 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16875 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16876 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16877 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16879 which seems to be undefined. Please make sure it is defined" >&5
16880 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16881 which seems to be undefined. Please make sure it is defined" >&2;}
16883 rm -f "$ac_tmp/stdin"
16885 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16886 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16888 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16894 if test x"$ac_file" != x-; then
16896 $as_echo "/* $configure_input */" \
16897 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16898 } >"$ac_tmp/config.h" \
16899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16900 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16902 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16905 mv "$ac_tmp/config.h" "$ac_file" \
16906 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16909 $as_echo "/* $configure_input */" \
16910 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16911 || as_fn_error $? "could not create -" "$LINENO" 5
16919 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16922 # Prefer the file from the source tree if names are identical.
16923 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16924 ac_source=$srcdir/$ac_source
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16928 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16930 if test ! -r "$ac_source"; then
16931 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16935 # Try a relative symlink, then a hard link, then a copy.
16937 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16938 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16940 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16941 ln "$ac_source" "$ac_file" 2>/dev/null ||
16942 cp -p "$ac_source" "$ac_file" ||
16943 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16946 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16947 $as_echo "$as_me: executing $ac_file commands" >&6;}
16952 case $ac_file$ac_mode in
16953 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16954 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
16955 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
16956 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16957 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16958 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16959 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16960 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16961 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16962 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16963 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16964 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16965 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16966 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16967 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16968 "Makefile":C) wine_fn_output_makefile Makefile ;;
16976 ac_clean_files=$ac_clean_files_save
16978 test $ac_write_fail = 0 ||
16979 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16982 # configure is writing to config.log, and then calls config.status.
16983 # config.status does its own redirection, appending to config.log.
16984 # Unfortunately, on DOS this fails, as config.log is still kept open
16985 # by configure, so config.status won't be able to write to it; its
16986 # output is simply discarded. So we exec the FD to /dev/null,
16987 # effectively closing config.log, so it can be properly (re)opened and
16988 # appended to by config.status. When coming back to configure, we
16989 # need to make the FD available again.
16990 if test "$no_create" != yes; then
16992 ac_config_status_args=
16993 test "$silent" = yes &&
16994 ac_config_status_args="$ac_config_status_args --quiet"
16996 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16998 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16999 # would make configure fail if this is the last instruction.
17000 $ac_cs_success || as_fn_exit 1
17002 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17004 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17008 if test "$no_create" = "yes"
17014 if test "x$wine_notices != "x; then
17017 for msg in $wine_notices; do
17019 if test -n "$msg"; then
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17021 $as_echo "$as_me: $msg" >&6;}
17026 for msg in $wine_warnings; do
17028 if test -n "$msg"; then
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17031 $as_echo "$as_me: WARNING: $msg" >&2;}
17037 $as_me: Finished. Do '${ac_make}' to compile Wine.