2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.4.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: wine-devel@winehq.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
562 PACKAGE_TARNAME='wine'
563 PACKAGE_VERSION='1.4'
564 PACKAGE_STRING='Wine 1.4'
565 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 PACKAGE_URL='http://www.winehq.org'
568 ac_unique_file="server/atom.c"
569 # Factoring default headers for most tests.
570 ac_includes_default="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars='LTLIBOBJS
670 APPLICATIONSERVICESLIB
759 program_transform_name
770 ac_subst_files='MAKE_RULES
776 enable_option_checking
780 enable_maintainer_mode
828 ac_precious_vars='build_alias
843 # Initialize some variables set by options.
845 ac_init_version=false
846 ac_unrecognized_opts=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name=s,x,x,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir='${exec_prefix}/bin'
872 sbindir='${exec_prefix}/sbin'
873 libexecdir='${exec_prefix}/libexec'
874 datarootdir='${prefix}/share'
875 datadir='${datarootdir}'
876 sysconfdir='${prefix}/etc'
877 sharedstatedir='${prefix}/com'
878 localstatedir='${prefix}/var'
879 includedir='${prefix}/include'
880 oldincludedir='/usr/include'
881 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
882 infodir='${datarootdir}/info'
887 libdir='${exec_prefix}/lib'
888 localedir='${datarootdir}/locale'
889 mandir='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\$ac_option
903 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir | --bindir | --bindi | --bind | --bin | --bi)
916 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
919 -build | --build | --buil | --bui | --bu)
920 ac_prev=build_alias ;;
921 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
922 build_alias=$ac_optarg ;;
924 -cache-file | --cache-file | --cache-fil | --cache-fi \
925 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
926 ac_prev=cache_file ;;
927 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
928 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
929 cache_file=$ac_optarg ;;
932 cache_file=config.cache ;;
934 -datadir | --datadir | --datadi | --datad)
936 -datadir=* | --datadir=* | --datadi=* | --datad=*)
937 datadir=$ac_optarg ;;
939 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
940 | --dataroo | --dataro | --datar)
941 ac_prev=datarootdir ;;
942 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
943 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
944 datarootdir=$ac_optarg ;;
946 -disable-* | --disable-*)
947 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
950 as_fn_error $? "invalid feature name: $ac_useropt"
951 ac_useropt_orig=$ac_useropt
952 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep=', ';;
960 eval enable_$ac_useropt=no ;;
962 -docdir | --docdir | --docdi | --doc | --do)
964 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
967 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
969 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
972 -enable-* | --enable-*)
973 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
976 as_fn_error $? "invalid feature name: $ac_useropt"
977 ac_useropt_orig=$ac_useropt
978 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep=', ';;
986 eval enable_$ac_useropt=\$ac_optarg ;;
988 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
989 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
990 | --exec | --exe | --ex)
991 ac_prev=exec_prefix ;;
992 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
993 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
994 | --exec=* | --exe=* | --ex=*)
995 exec_prefix=$ac_optarg ;;
997 -gas | --gas | --ga | --g)
998 # Obsolete; use --with-gas.
1001 -help | --help | --hel | --he | -h)
1002 ac_init_help=long ;;
1003 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1004 ac_init_help=recursive ;;
1005 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1006 ac_init_help=short ;;
1008 -host | --host | --hos | --ho)
1009 ac_prev=host_alias ;;
1010 -host=* | --host=* | --hos=* | --ho=*)
1011 host_alias=$ac_optarg ;;
1013 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1015 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1017 htmldir=$ac_optarg ;;
1019 -includedir | --includedir | --includedi | --included | --include \
1020 | --includ | --inclu | --incl | --inc)
1021 ac_prev=includedir ;;
1022 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1023 | --includ=* | --inclu=* | --incl=* | --inc=*)
1024 includedir=$ac_optarg ;;
1026 -infodir | --infodir | --infodi | --infod | --info | --inf)
1028 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1029 infodir=$ac_optarg ;;
1031 -libdir | --libdir | --libdi | --libd)
1033 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1034 libdir=$ac_optarg ;;
1036 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1037 | --libexe | --libex | --libe)
1038 ac_prev=libexecdir ;;
1039 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1040 | --libexe=* | --libex=* | --libe=*)
1041 libexecdir=$ac_optarg ;;
1043 -localedir | --localedir | --localedi | --localed | --locale)
1044 ac_prev=localedir ;;
1045 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1046 localedir=$ac_optarg ;;
1048 -localstatedir | --localstatedir | --localstatedi | --localstated \
1049 | --localstate | --localstat | --localsta | --localst | --locals)
1050 ac_prev=localstatedir ;;
1051 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1052 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1053 localstatedir=$ac_optarg ;;
1055 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1057 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1058 mandir=$ac_optarg ;;
1060 -nfp | --nfp | --nf)
1061 # Obsolete; use --without-fp.
1064 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1065 | --no-cr | --no-c | -n)
1068 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1069 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1072 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1073 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1074 | --oldin | --oldi | --old | --ol | --o)
1075 ac_prev=oldincludedir ;;
1076 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1077 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1078 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1079 oldincludedir=$ac_optarg ;;
1081 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1083 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1084 prefix=$ac_optarg ;;
1086 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1087 | --program-pre | --program-pr | --program-p)
1088 ac_prev=program_prefix ;;
1089 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1090 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1091 program_prefix=$ac_optarg ;;
1093 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1094 | --program-suf | --program-su | --program-s)
1095 ac_prev=program_suffix ;;
1096 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1097 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1098 program_suffix=$ac_optarg ;;
1100 -program-transform-name | --program-transform-name \
1101 | --program-transform-nam | --program-transform-na \
1102 | --program-transform-n | --program-transform- \
1103 | --program-transform | --program-transfor \
1104 | --program-transfo | --program-transf \
1105 | --program-trans | --program-tran \
1106 | --progr-tra | --program-tr | --program-t)
1107 ac_prev=program_transform_name ;;
1108 -program-transform-name=* | --program-transform-name=* \
1109 | --program-transform-nam=* | --program-transform-na=* \
1110 | --program-transform-n=* | --program-transform-=* \
1111 | --program-transform=* | --program-transfor=* \
1112 | --program-transfo=* | --program-transf=* \
1113 | --program-trans=* | --program-tran=* \
1114 | --progr-tra=* | --program-tr=* | --program-t=*)
1115 program_transform_name=$ac_optarg ;;
1117 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1119 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1120 pdfdir=$ac_optarg ;;
1122 -psdir | --psdir | --psdi | --psd | --ps)
1124 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1127 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1128 | -silent | --silent | --silen | --sile | --sil)
1131 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1133 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1135 sbindir=$ac_optarg ;;
1137 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1138 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1139 | --sharedst | --shareds | --shared | --share | --shar \
1141 ac_prev=sharedstatedir ;;
1142 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1143 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1144 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1146 sharedstatedir=$ac_optarg ;;
1148 -site | --site | --sit)
1150 -site=* | --site=* | --sit=*)
1153 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1155 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1156 srcdir=$ac_optarg ;;
1158 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1159 | --syscon | --sysco | --sysc | --sys | --sy)
1160 ac_prev=sysconfdir ;;
1161 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1162 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1163 sysconfdir=$ac_optarg ;;
1165 -target | --target | --targe | --targ | --tar | --ta | --t)
1166 ac_prev=target_alias ;;
1167 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1168 target_alias=$ac_optarg ;;
1170 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1173 -version | --version | --versio | --versi | --vers | -V)
1174 ac_init_version=: ;;
1177 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180 as_fn_error $? "invalid package name: $ac_useropt"
1181 ac_useropt_orig=$ac_useropt
1182 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep=', ';;
1190 eval with_$ac_useropt=\$ac_optarg ;;
1192 -without-* | --without-*)
1193 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1196 as_fn_error $? "invalid package name: $ac_useropt"
1197 ac_useropt_orig=$ac_useropt
1198 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep=', ';;
1206 eval with_$ac_useropt=no ;;
1209 # Obsolete; use --with-x.
1212 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1213 | --x-incl | --x-inc | --x-in | --x-i)
1214 ac_prev=x_includes ;;
1215 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1216 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1217 x_includes=$ac_optarg ;;
1219 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1220 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1221 ac_prev=x_libraries ;;
1222 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1223 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1224 x_libraries=$ac_optarg ;;
1226 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information"
1231 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' | [0-9]* | *[!_$as_cr_alnum]* )
1235 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251 if test -n "$ac_prev"; then
1252 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $? "missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val=\$$ac_var
1271 # Remove trailing slashes.
1274 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$]* | ?:[\\/]* ) continue;;
1280 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1282 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x; then
1294 if test "x$build_alias" = x; then
1295 cross_compiling=maybe
1296 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1297 If a cross compiler is detected then cross compile mode will be used" >&2
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1306 test "$silent" = yes && exec 6>/dev/null
1309 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di=`ls -di .` &&
1311 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error $? "working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error $? "pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1353 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 for ac_var in $ac_precious_vars; do
1370 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_${ac_var}_value=\$${ac_var}
1372 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures Wine 1.4 to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking ...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --x-includes=DIR X include files are in DIR
1442 --x-libraries=DIR X library files are in DIR
1445 --build=BUILD configure for building on BUILD [guessed]
1446 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive ) echo "Configuration of Wine 1.4:";;
1457 --disable-option-checking ignore unrecognized --enable/--with options
1458 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1459 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1460 --disable-win16 do not include Win16 support
1461 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1463 --disable-tests do not build the regression tests
1464 --enable-maintainer-mode
1465 enable maintainer-specific build rules
1466 --disable-largefile omit support for large files
1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1471 --without-alsa do not use the Alsa sound support
1472 --without-capi do not use CAPI (ISDN support)
1473 --without-cms do not use CMS (color management support)
1474 --without-coreaudio do not use the CoreAudio sound support
1475 --without-cups do not use CUPS
1476 --without-curses do not use (n)curses
1477 --without-dbus do not use DBus (dynamic device support)
1478 --without-fontconfig do not use fontconfig
1479 --without-freetype do not use the FreeType library
1480 --without-gettext do not use gettext
1481 --with-gettextpo use the GetTextPO library to rebuild po files
1482 --without-gphoto do not use gphoto (Digital Camera support)
1483 --without-glu do not use the GLU library
1484 --without-gnutls do not use GnuTLS (schannel support)
1485 --without-gsm do not use libgsm (GSM 06.10 codec support)
1486 --without-gstreamer do not use GStreamer (codecs support)
1487 --without-hal do not use HAL (dynamic device support)
1488 --without-jpeg do not use JPEG
1489 --without-ldap do not use LDAP
1490 --without-mpg123 do not use the mpg123 library
1491 --without-openal do not use OpenAL
1492 --without-opencl do not use OpenCL
1493 --without-opengl do not use OpenGL
1494 --without-openssl do not use OpenSSL
1495 --without-oss do not use the OSS sound support
1496 --without-png do not use PNG
1497 --without-pthread do not use the pthread library
1498 --without-sane do not use SANE (scanner support)
1499 --without-tiff do not use TIFF
1500 --without-v4l do not use v4l1 (v4l support)
1501 --without-xcomposite do not use the Xcomposite extension
1502 --without-xcursor do not use the Xcursor extension
1503 --without-xinerama do not use Xinerama (multi-monitor support)
1504 --without-xinput do not use the Xinput extension
1505 --without-xinput2 do not use the Xinput 2 extension
1506 --without-xml do not use XML
1507 --without-xrandr do not use Xrandr (resolution changes)
1508 --without-xrender do not use the Xrender extension
1509 --without-xshape do not use the Xshape extension
1510 --without-xslt do not use XSLT
1511 --without-xxf86vm do not use XFree video mode extension
1512 --without-zlib do not use Zlib (data compression)
1513 --with-wine-tools=DIR use Wine tools from directory DIR
1514 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1515 --with-x use the X Window System
1517 Some influential environment variables:
1518 CC C compiler command
1519 CFLAGS C compiler flags
1520 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1521 nonstandard directory <lib dir>
1522 LIBS libraries to pass to the linker, e.g. -l<library>
1523 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524 you have headers in a nonstandard directory <include dir>
1525 CXX C++ compiler command
1526 CXXFLAGS C++ compiler flags
1528 XMKMF Path to xmkmf, Makefile generator for X Window System
1530 Use these variables to override the choices made by `configure' or to help
1531 it to find libraries and programs with nonstandard names/locations.
1533 Report bugs to <wine-devel@winehq.org>.
1534 Wine home page: <http://www.winehq.org>.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1564 .) # We are building in place.
1566 ac_top_srcdir=$ac_top_builddir_sub
1567 ac_abs_top_srcdir=$ac_pwd ;;
1568 [\\/]* | ?:[\\/]* ) # Absolute name.
1569 ac_srcdir=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir=$srcdir
1571 ac_abs_top_srcdir=$srcdir ;;
1573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status=$?; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status=$?; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1598 generated by GNU Autoconf 2.68
1600 Copyright (C) 2010 Free Software Foundation, Inc.
1601 This configure script is free software; the Free Software Foundation
1602 gives unlimited permission to copy, distribute and modify it.
1607 ## ------------------------ ##
1608 ## Autoconf initialization. ##
1609 ## ------------------------ ##
1611 # ac_fn_c_try_compile LINENO
1612 # --------------------------
1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_compile ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 rm -f conftest.$ac_objext
1618 if { { ac_try="$ac_compile"
1620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_compile") 2>conftest.err
1627 if test -s conftest.err; then
1628 grep -v '^ *+' conftest.err >conftest.er1
1629 cat conftest.er1 >&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest.$ac_objext; then :
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.$ac_ext >&5
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status $ac_retval
1647 } # ac_fn_c_try_compile
1649 # ac_fn_cxx_try_compile LINENO
1650 # ----------------------------
1651 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_cxx_try_compile ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 rm -f conftest.$ac_objext
1656 if { { ac_try="$ac_compile"
1658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659 *) ac_try_echo=$ac_try;;
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_compile") 2>conftest.err
1665 if test -s conftest.err; then
1666 grep -v '^ *+' conftest.err >conftest.er1
1667 cat conftest.er1 >&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_cxx_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest.$ac_objext; then :
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.$ac_ext >&5
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status $ac_retval
1685 } # ac_fn_cxx_try_compile
1687 # ac_fn_c_try_link LINENO
1688 # -----------------------
1689 # Try to link conftest.$ac_ext, and return whether this succeeded.
1692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693 rm -f conftest.$ac_objext conftest$ac_exeext
1694 if { { ac_try="$ac_link"
1696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_link") 2>conftest.err
1703 if test -s conftest.err; then
1704 grep -v '^ *+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest$ac_exeext && {
1713 test "$cross_compiling" = yes ||
1714 $as_test_x conftest$ac_exeext
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.$ac_ext >&5
1723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1725 # interfere with the next link command; also delete a directory that is
1726 # left behind by Apple's compiler. We do this before executing the actions.
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 as_fn_set_status $ac_retval
1731 } # ac_fn_c_try_link
1733 # ac_fn_c_try_cpp LINENO
1734 # ----------------------
1735 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 if { { ac_try="$ac_cpp conftest.$ac_ext"
1741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742 *) ac_try_echo=$ac_try;;
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1748 if test -s conftest.err; then
1749 grep -v '^ *+' conftest.err >conftest.er1
1750 cat conftest.er1 >&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } > conftest.i && {
1755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.$ac_ext >&5
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status $ac_retval
1770 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1771 # -------------------------------------------------------
1772 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1773 # the include files in INCLUDES and setting the cache variable VAR
1775 ac_fn_c_check_header_mongrel ()
1777 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778 if eval \${$3+:} false; then :
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \${$3+:} false; then :
1782 $as_echo_n "(cached) " >&6
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1788 # Is the header compilable?
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1790 $as_echo_n "checking $2 usability... " >&6; }
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1796 if ac_fn_c_try_compile "$LINENO"; then :
1797 ac_header_compiler=yes
1799 ac_header_compiler=no
1801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1803 $as_echo "$ac_header_compiler" >&6; }
1805 # Is the header present?
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1807 $as_echo_n "checking $2 presence... " >&6; }
1808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1812 if ac_fn_c_try_cpp "$LINENO"; then :
1813 ac_header_preproc=yes
1815 ac_header_preproc=no
1817 rm -f conftest.err conftest.i conftest.$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1819 $as_echo "$ac_header_preproc" >&6; }
1821 # So? What about this header?
1822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1825 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1827 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1831 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1833 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1835 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1837 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1839 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1840 ( $as_echo "## ------------------------------------ ##
1841 ## Report this to wine-devel@winehq.org ##
1842 ## ------------------------------------ ##"
1843 ) | sed "s/^/$as_me: WARNING: /" >&2
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval \${$3+:} false; then :
1849 $as_echo_n "(cached) " >&6
1851 eval "$3=\$ac_header_compiler"
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1855 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_header_mongrel
1861 # ac_fn_c_try_run LINENO
1862 # ----------------------
1863 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1864 # that executables *can* be run.
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 if { { ac_try="$ac_link"
1870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_link") 2>&5
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1879 { { case "(($ac_try" in
1880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1881 *) ac_try_echo=$ac_try;;
1883 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_try") 2>&5
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; }; }; then :
1891 $as_echo "$as_me: program exited with status $ac_status" >&5
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.$ac_ext >&5
1895 ac_retval=$ac_status
1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 as_fn_set_status $ac_retval
1903 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1904 # -------------------------------------------------------
1905 # Tests whether HEADER exists and can be compiled using the include files in
1906 # INCLUDES, setting the cache variable VAR accordingly.
1907 ac_fn_c_check_header_compile ()
1909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval \${$3+:} false; then :
1913 $as_echo_n "(cached) " >&6
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1920 if ac_fn_c_try_compile "$LINENO"; then :
1925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932 } # ac_fn_c_check_header_compile
1934 # ac_fn_c_check_func LINENO FUNC VAR
1935 # ----------------------------------
1936 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1937 ac_fn_c_check_func ()
1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941 $as_echo_n "checking for $2... " >&6; }
1942 if eval \${$3+:} false; then :
1943 $as_echo_n "(cached) " >&6
1945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1947 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1949 #define $2 innocuous_$2
1951 /* System header to define __stub macros and hopefully few prototypes,
1952 which can conflict with char $2 (); below.
1953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1954 <limits.h> exists even on freestanding compilers. */
1957 # include <limits.h>
1959 # include <assert.h>
1964 /* Override any GCC internal prototype to avoid an error.
1965 Use char because int might match the return type of a GCC
1966 builtin and then its argument prototype would still apply. */
1971 /* The GNU C library defines this for functions which it implements
1972 to always fail with ENOSYS. Some functions are actually named
1973 something starting with __ and the normal name is an alias. */
1974 #if defined __stub_$2 || defined __stub___$2
1986 if ac_fn_c_try_link "$LINENO"; then :
1991 rm -f core conftest.err conftest.$ac_objext \
1992 conftest$ac_exeext conftest.$ac_ext
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999 } # ac_fn_c_check_func
2001 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2002 # ----------------------------------------------------
2003 # Tries to find if the field MEMBER exists in type AGGR, after including
2004 # INCLUDES, setting cache variable VAR accordingly.
2005 ac_fn_c_check_member ()
2007 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2009 $as_echo_n "checking for $2.$3... " >&6; }
2010 if eval \${$4+:} false; then :
2011 $as_echo_n "(cached) " >&6
2013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2026 if ac_fn_c_try_compile "$LINENO"; then :
2029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2036 if (sizeof ac_aggr.$3)
2042 if ac_fn_c_try_compile "$LINENO"; then :
2047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 } # ac_fn_c_check_member
2058 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2059 # -------------------------------------------
2060 # Tests whether TYPE exists after having included INCLUDES, setting cache
2061 # variable VAR accordingly.
2062 ac_fn_c_check_type ()
2064 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2066 $as_echo_n "checking for $2... " >&6; }
2067 if eval \${$3+:} false; then :
2068 $as_echo_n "(cached) " >&6
2071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2096 if ac_fn_c_try_compile "$LINENO"; then :
2101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 } # ac_fn_c_check_type
2111 cat >config.log <<_ACEOF
2112 This file contains any messages produced by compilers while
2113 running configure, to aid debugging if configure makes a mistake.
2115 It was created by Wine $as_me 1.4, which was
2116 generated by GNU Autoconf 2.68. Invocation command line was
2128 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2129 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2130 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2131 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2132 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2134 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2135 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2137 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2138 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2139 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2140 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2141 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2142 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2143 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir=.
2152 $as_echo "PATH: $as_dir"
2168 # Keep a trace of the command line.
2169 # Strip out --no-create and --no-recursion so they do not pile up.
2170 # Strip out --silent because we don't want to record it for future runs.
2171 # Also quote any args containing shell meta-characters.
2172 # Make two passes to allow for proper duplicate-argument suppression.
2176 ac_must_keep_next=false
2182 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2184 | -silent | --silent | --silen | --sile | --sil)
2187 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2190 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2192 as_fn_append ac_configure_args1 " '$ac_arg'"
2193 if test $ac_must_keep_next = true; then
2194 ac_must_keep_next=false # Got value, back to normal.
2197 *=* | --config-cache | -C | -disable-* | --disable-* \
2198 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2199 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2200 | -with-* | --with-* | -without-* | --without-* | --x)
2201 case "$ac_configure_args0 " in
2202 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2205 -* ) ac_must_keep_next=true ;;
2208 as_fn_append ac_configure_args " '$ac_arg'"
2213 { ac_configure_args0=; unset ac_configure_args0;}
2214 { ac_configure_args1=; unset ac_configure_args1;}
2216 # When interrupted or exit'd, cleanup temporary files, and complete
2217 # config.log. We remove comments because anyway the quotes in there
2218 # would cause problems or look ugly.
2219 # WARNING: Use '\'' to represent an apostrophe within the trap.
2220 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2221 trap 'exit_status=$?
2222 # Save into config.log some information that might help in debugging.
2226 $as_echo "## ---------------- ##
2227 ## Cache variables. ##
2228 ## ---------------- ##"
2230 # The following way of writing the cache mishandles newlines in values,
2232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2233 eval ac_val=\$$ac_var
2237 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2238 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2241 _ | IFS | as_nl) ;; #(
2242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2243 *) { eval $ac_var=; unset $ac_var;} ;;
2248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2249 *${as_nl}ac_space=\ *)
2251 "s/'\''/'\''\\\\'\'''\''/g;
2252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2262 $as_echo "## ----------------- ##
2263 ## Output variables. ##
2264 ## ----------------- ##"
2266 for ac_var in $ac_subst_vars
2268 eval ac_val=\$$ac_var
2270 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 $as_echo "$ac_var='\''$ac_val'\''"
2276 if test -n "$ac_subst_files"; then
2277 $as_echo "## ------------------- ##
2278 ## File substitutions. ##
2279 ## ------------------- ##"
2281 for ac_var in $ac_subst_files
2283 eval ac_val=\$$ac_var
2285 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287 $as_echo "$ac_var='\''$ac_val'\''"
2292 if test -s confdefs.h; then
2293 $as_echo "## ----------- ##
2300 test "$ac_signal" != 0 &&
2301 $as_echo "$as_me: caught signal $ac_signal"
2302 $as_echo "$as_me: exit $exit_status"
2304 rm -f core *.core core.conftest.* &&
2305 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2308 for ac_signal in 1 2 13 15; do
2309 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2314 rm -f -r conftest* confdefs.h
2316 $as_echo "/* confdefs.h */" > confdefs.h
2318 # Predefined preprocessor variables.
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_NAME "$PACKAGE_NAME"
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2328 cat >>confdefs.h <<_ACEOF
2329 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2332 cat >>confdefs.h <<_ACEOF
2333 #define PACKAGE_STRING "$PACKAGE_STRING"
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_URL "$PACKAGE_URL"
2345 # Let the site file select an alternate cache file if it wants to.
2346 # Prefer an explicitly selected file to automatically selected ones.
2349 if test -n "$CONFIG_SITE"; then
2350 # We do not want a PATH search for config.site.
2351 case $CONFIG_SITE in #((
2352 -*) ac_site_file1=./$CONFIG_SITE;;
2353 */*) ac_site_file1=$CONFIG_SITE;;
2354 *) ac_site_file1=./$CONFIG_SITE;;
2356 elif test "x$prefix" != xNONE; then
2357 ac_site_file1=$prefix/share/config.site
2358 ac_site_file2=$prefix/etc/config.site
2360 ac_site_file1=$ac_default_prefix/share/config.site
2361 ac_site_file2=$ac_default_prefix/etc/config.site
2363 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2365 test "x$ac_site_file" = xNONE && continue
2366 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2368 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2369 sed 's/^/| /' "$ac_site_file" >&5
2371 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 as_fn_error $? "failed to load site script $ac_site_file
2374 See \`config.log' for more details" "$LINENO" 5; }
2378 if test -r "$cache_file"; then
2379 # Some versions of bash will fail to source /dev/null (special files
2380 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2381 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2383 $as_echo "$as_me: loading cache $cache_file" >&6;}
2385 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2386 *) . "./$cache_file";;
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2391 $as_echo "$as_me: creating cache $cache_file" >&6;}
2395 # Check that the precious variables saved in the cache have kept the same
2397 ac_cache_corrupted=false
2398 for ac_var in $ac_precious_vars; do
2399 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2400 eval ac_new_set=\$ac_env_${ac_var}_set
2401 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2402 eval ac_new_val=\$ac_env_${ac_var}_value
2403 case $ac_old_set,$ac_new_set in
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2406 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2407 ac_cache_corrupted=: ;;
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2410 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2411 ac_cache_corrupted=: ;;
2414 if test "x$ac_old_val" != "x$ac_new_val"; then
2415 # differences in whitespace do not lead to failure.
2416 ac_old_val_w=`echo x $ac_old_val`
2417 ac_new_val_w=`echo x $ac_new_val`
2418 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2420 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2421 ac_cache_corrupted=:
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2424 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2425 eval $ac_var=\$ac_old_val
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2428 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2430 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2433 # Pass precious variables to config.status.
2434 if test "$ac_new_set" = set; then
2436 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2437 *) ac_arg=$ac_var=$ac_new_val ;;
2439 case " $ac_configure_args " in
2440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2441 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2445 if $ac_cache_corrupted; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2449 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2450 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2452 ## -------------------- ##
2453 ## Main body of script. ##
2454 ## -------------------- ##
2457 ac_cpp='$CPP $CPPFLAGS'
2458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2464 ac_config_headers="$ac_config_headers include/config.h"
2467 for ac_dir in tools "$srcdir"/tools; do
2468 if test -f "$ac_dir/install-sh"; then
2470 ac_install_sh="$ac_aux_dir/install-sh -c"
2472 elif test -f "$ac_dir/install.sh"; then
2474 ac_install_sh="$ac_aux_dir/install.sh -c"
2476 elif test -f "$ac_dir/shtool"; then
2478 ac_install_sh="$ac_aux_dir/shtool install -c"
2482 if test -z "$ac_aux_dir"; then
2483 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2486 # These three variables are undocumented and unsupported,
2487 # and are intended to be withdrawn in a future Autoconf release.
2488 # They can cause serious problems if a builder's source tree is in a directory
2489 # whose full name contains unusual characters.
2490 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2491 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2492 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2498 # Check whether --enable-win16 was given.
2499 if test "${enable_win16+set}" = set; then :
2500 enableval=$enable_win16;
2503 # Check whether --enable-win64 was given.
2504 if test "${enable_win64+set}" = set; then :
2505 enableval=$enable_win64;
2508 # Check whether --enable-tests was given.
2509 if test "${enable_tests+set}" = set; then :
2510 enableval=$enable_tests;
2513 # Check whether --enable-maintainer-mode was given.
2514 if test "${enable_maintainer_mode+set}" = set; then :
2515 enableval=$enable_maintainer_mode;
2520 # Check whether --with-alsa was given.
2521 if test "${with_alsa+set}" = set; then :
2522 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2526 # Check whether --with-capi was given.
2527 if test "${with_capi+set}" = set; then :
2528 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2532 # Check whether --with-cms was given.
2533 if test "${with_cms+set}" = set; then :
2534 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2538 # Check whether --with-coreaudio was given.
2539 if test "${with_coreaudio+set}" = set; then :
2540 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2544 # Check whether --with-cups was given.
2545 if test "${with_cups+set}" = set; then :
2550 # Check whether --with-curses was given.
2551 if test "${with_curses+set}" = set; then :
2552 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2556 # Check whether --with-dbus was given.
2557 if test "${with_dbus+set}" = set; then :
2562 # Check whether --with-fontconfig was given.
2563 if test "${with_fontconfig+set}" = set; then :
2564 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2568 # Check whether --with-freetype was given.
2569 if test "${with_freetype+set}" = set; then :
2570 withval=$with_freetype;
2574 # Check whether --with-gettext was given.
2575 if test "${with_gettext+set}" = set; then :
2576 withval=$with_gettext;
2580 # Check whether --with-gettextpo was given.
2581 if test "${with_gettextpo+set}" = set; then :
2582 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2586 # Check whether --with-gphoto was given.
2587 if test "${with_gphoto+set}" = set; then :
2588 withval=$with_gphoto;
2592 # Check whether --with-glu was given.
2593 if test "${with_glu+set}" = set; then :
2594 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2598 # Check whether --with-gnutls was given.
2599 if test "${with_gnutls+set}" = set; then :
2600 withval=$with_gnutls;
2604 # Check whether --with-gsm was given.
2605 if test "${with_gsm+set}" = set; then :
2606 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2610 # Check whether --with-gstreamer was given.
2611 if test "${with_gstreamer+set}" = set; then :
2612 withval=$with_gstreamer;
2616 # Check whether --with-hal was given.
2617 if test "${with_hal+set}" = set; then :
2622 # Check whether --with-jpeg was given.
2623 if test "${with_jpeg+set}" = set; then :
2624 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2628 # Check whether --with-ldap was given.
2629 if test "${with_ldap+set}" = set; then :
2630 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2634 # Check whether --with-mpg123 was given.
2635 if test "${with_mpg123+set}" = set; then :
2636 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2640 # Check whether --with-openal was given.
2641 if test "${with_openal+set}" = set; then :
2642 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2646 # Check whether --with-opencl was given.
2647 if test "${with_opencl+set}" = set; then :
2648 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2652 # Check whether --with-opengl was given.
2653 if test "${with_opengl+set}" = set; then :
2654 withval=$with_opengl;
2658 # Check whether --with-openssl was given.
2659 if test "${with_openssl+set}" = set; then :
2660 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2664 # Check whether --with-oss was given.
2665 if test "${with_oss+set}" = set; then :
2670 # Check whether --with-png was given.
2671 if test "${with_png+set}" = set; then :
2672 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2676 # Check whether --with-pthread was given.
2677 if test "${with_pthread+set}" = set; then :
2678 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2682 # Check whether --with-sane was given.
2683 if test "${with_sane+set}" = set; then :
2688 # Check whether --with-tiff was given.
2689 if test "${with_tiff+set}" = set; then :
2690 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2694 # Check whether --with-v4l was given.
2695 if test "${with_v4l+set}" = set; then :
2700 # Check whether --with-xcomposite was given.
2701 if test "${with_xcomposite+set}" = set; then :
2702 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2706 # Check whether --with-xcursor was given.
2707 if test "${with_xcursor+set}" = set; then :
2708 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2712 # Check whether --with-xinerama was given.
2713 if test "${with_xinerama+set}" = set; then :
2714 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2718 # Check whether --with-xinput was given.
2719 if test "${with_xinput+set}" = set; then :
2720 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2724 # Check whether --with-xinput2 was given.
2725 if test "${with_xinput2+set}" = set; then :
2726 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2730 # Check whether --with-xml was given.
2731 if test "${with_xml+set}" = set; then :
2736 # Check whether --with-xrandr was given.
2737 if test "${with_xrandr+set}" = set; then :
2738 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2742 # Check whether --with-xrender was given.
2743 if test "${with_xrender+set}" = set; then :
2744 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2748 # Check whether --with-xshape was given.
2749 if test "${with_xshape+set}" = set; then :
2750 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2754 # Check whether --with-xslt was given.
2755 if test "${with_xslt+set}" = set; then :
2760 # Check whether --with-xxf86vm was given.
2761 if test "${with_xxf86vm+set}" = set; then :
2762 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
2766 # Check whether --with-zlib was given.
2767 if test "${with_zlib+set}" = set; then :
2768 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2773 # Check whether --with-wine-tools was given.
2774 if test "${with_wine_tools+set}" = set; then :
2775 withval=$with_wine_tools;
2779 # Check whether --with-wine64 was given.
2780 if test "${with_wine64+set}" = set; then :
2781 withval=$with_wine64;
2785 # Make sure we can run config.sub.
2786 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2787 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2790 $as_echo_n "checking build system type... " >&6; }
2791 if ${ac_cv_build+:} false; then :
2792 $as_echo_n "(cached) " >&6
2794 ac_build_alias=$build_alias
2795 test "x$ac_build_alias" = x &&
2796 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2797 test "x$ac_build_alias" = x &&
2798 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2799 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2800 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2804 $as_echo "$ac_cv_build" >&6; }
2805 case $ac_cv_build in
2807 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2810 ac_save_IFS=$IFS; IFS='-'
2816 # Remember, the first character of IFS is used to create $*,
2817 # except with old shells:
2820 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2824 $as_echo_n "checking host system type... " >&6; }
2825 if ${ac_cv_host+:} false; then :
2826 $as_echo_n "(cached) " >&6
2828 if test "x$host_alias" = x; then
2829 ac_cv_host=$ac_cv_build
2831 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2832 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2837 $as_echo "$ac_cv_host" >&6; }
2840 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2843 ac_save_IFS=$IFS; IFS='-'
2849 # Remember, the first character of IFS is used to create $*,
2850 # except with old shells:
2853 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2859 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2860 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2861 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2867 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2869 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2870 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2871 $as_echo_n "(cached) " >&6
2873 cat >conftest.make <<\_ACEOF
2876 @echo '@@@%%%=$(MAKE)=@@@%%%'
2878 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2879 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2881 eval ac_cv_prog_make_${ac_make}_set=yes;;
2883 eval ac_cv_prog_make_${ac_make}_set=no;;
2887 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2889 $as_echo "yes" >&6; }
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2893 $as_echo "no" >&6; }
2894 SET_MAKE="MAKE=${MAKE-make}"
2898 ac_cpp='$CPP $CPPFLAGS'
2899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2902 if test -n "$ac_tool_prefix"; then
2903 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2904 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if ${ac_cv_prog_CC+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 if test -n "$CC"; then
2911 ac_cv_prog_CC="$CC" # Let the user override the test.
2913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir=.
2918 for ac_exec_ext in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 if test -n "$CC"; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2933 $as_echo "$CC" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2941 if test -z "$ac_cv_prog_CC"; then
2943 # Extract the first word of "gcc", so it can be a program name with args.
2944 set dummy gcc; ac_word=$2
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946 $as_echo_n "checking for $ac_word... " >&6; }
2947 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2948 $as_echo_n "(cached) " >&6
2950 if test -n "$ac_ct_CC"; then
2951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir=.
2958 for ac_exec_ext in '' $ac_executable_extensions; do
2959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960 ac_cv_prog_ac_ct_CC="gcc"
2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2971 if test -n "$ac_ct_CC"; then
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2973 $as_echo "$ac_ct_CC" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2979 if test "x$ac_ct_CC" = x; then
2982 case $cross_compiling:$ac_tool_warned in
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2986 ac_tool_warned=yes ;;
2994 if test -z "$CC"; then
2995 if test -n "$ac_tool_prefix"; then
2996 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2997 set dummy ${ac_tool_prefix}cc; ac_word=$2
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999 $as_echo_n "checking for $ac_word... " >&6; }
3000 if ${ac_cv_prog_CC+:} false; then :
3001 $as_echo_n "(cached) " >&6
3003 if test -n "$CC"; then
3004 ac_cv_prog_CC="$CC" # Let the user override the test.
3006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir=.
3011 for ac_exec_ext in '' $ac_executable_extensions; do
3012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013 ac_cv_prog_CC="${ac_tool_prefix}cc"
3014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 if test -n "$CC"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026 $as_echo "$CC" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3035 if test -z "$CC"; then
3036 # Extract the first word of "cc", so it can be a program name with args.
3037 set dummy cc; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if ${ac_cv_prog_CC+:} false; then :
3041 $as_echo_n "(cached) " >&6
3043 if test -n "$CC"; then
3044 ac_cv_prog_CC="$CC" # Let the user override the test.
3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3051 test -z "$as_dir" && as_dir=.
3052 for ac_exec_ext in '' $ac_executable_extensions; do
3053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3054 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3055 ac_prog_rejected=yes
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test $ac_prog_rejected = yes; then
3067 # We found a bogon in the path, so make sure we never use it.
3068 set dummy $ac_cv_prog_CC
3070 if test $# != 0; then
3071 # We chose a different compiler from the bogus one.
3072 # However, it has the same basename, so the bogon will be chosen
3073 # first if we set CC to just the basename; use the full file name.
3075 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3081 if test -n "$CC"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083 $as_echo "$CC" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3091 if test -z "$CC"; then
3092 if test -n "$ac_tool_prefix"; then
3093 for ac_prog in cl.exe
3095 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3096 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_CC+:} false; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$CC"; then
3103 ac_cv_prog_CC="$CC" # Let the user override the test.
3105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir=.
3110 for ac_exec_ext in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test -n "$CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3125 $as_echo "$CC" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3132 test -n "$CC" && break
3135 if test -z "$CC"; then
3137 for ac_prog in cl.exe
3139 # Extract the first word of "$ac_prog", so it can be a program name with args.
3140 set dummy $ac_prog; ac_word=$2
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3142 $as_echo_n "checking for $ac_word... " >&6; }
3143 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3144 $as_echo_n "(cached) " >&6
3146 if test -n "$ac_ct_CC"; then
3147 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir=.
3154 for ac_exec_ext in '' $ac_executable_extensions; do
3155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156 ac_cv_prog_ac_ct_CC="$ac_prog"
3157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3167 if test -n "$ac_ct_CC"; then
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3169 $as_echo "$ac_ct_CC" >&6; }
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172 $as_echo "no" >&6; }
3176 test -n "$ac_ct_CC" && break
3179 if test "x$ac_ct_CC" = x; then
3182 case $cross_compiling:$ac_tool_warned in
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3186 ac_tool_warned=yes ;;
3195 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197 as_fn_error $? "no acceptable C compiler found in \$PATH
3198 See \`config.log' for more details" "$LINENO" 5; }
3200 # Provide some information about the compiler.
3201 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3204 for ac_option in --version -v -V -qversion; do
3205 { { ac_try="$ac_compiler $ac_option >&5"
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3214 if test -s conftest.err; then
3216 ... rest of stderr output deleted ...
3217 10q' conftest.err >conftest.er1
3218 cat conftest.er1 >&5
3220 rm -f conftest.er1 conftest.err
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 ac_clean_files_save=$ac_clean_files
3237 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3238 # Try to create an executable without -o first, disregard a.out.
3239 # It will help us diagnose broken compilers, and finding out an intuition
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3242 $as_echo_n "checking whether the C compiler works... " >&6; }
3243 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3245 # The possible output files:
3246 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3249 for ac_file in $ac_files
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3253 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3258 if { { ac_try="$ac_link_default"
3260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3261 *) ac_try_echo=$ac_try;;
3263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_link_default") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; then :
3269 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3270 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3271 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3272 # so that the user can short-circuit this test for compilers unknown to
3274 for ac_file in $ac_files ''
3276 test -f "$ac_file" || continue
3278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3281 # We found the default executable, but exeext='' is most
3285 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3287 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 # We set ac_cv_exeext here because the later test for it is not
3290 # safe: cross compilers may not add the suffix if given an `-o'
3291 # argument, so we may need to know it at that point already.
3292 # Even if this section looks crufty: it has the advantage of
3299 test "$ac_cv_exeext" = no && ac_cv_exeext=
3304 if test -z "$ac_file"; then :
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 $as_echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.$ac_ext >&5
3310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3312 as_fn_error 77 "C compiler cannot create executables
3313 See \`config.log' for more details" "$LINENO" 5; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3319 $as_echo_n "checking for C compiler default output file name... " >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3321 $as_echo "$ac_file" >&6; }
3322 ac_exeext=$ac_cv_exeext
3324 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3325 ac_clean_files=$ac_clean_files_save
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3327 $as_echo_n "checking for suffix of executables... " >&6; }
3328 if { { ac_try="$ac_link"
3330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }; then :
3339 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3340 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3341 # work properly (i.e., refer to `conftest.exe'), while it won't with
3343 for ac_file in conftest.exe conftest conftest.*; do
3344 test -f "$ac_file" || continue
3346 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3347 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3356 See \`config.log' for more details" "$LINENO" 5; }
3358 rm -f conftest conftest$ac_cv_exeext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3360 $as_echo "$ac_cv_exeext" >&6; }
3362 rm -f conftest.$ac_ext
3363 EXEEXT=$ac_cv_exeext
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3371 FILE *f = fopen ("conftest.out", "w");
3372 return ferror (f) || fclose (f) != 0;
3378 ac_clean_files="$ac_clean_files conftest.out"
3379 # Check that the compiler produces executables we can run. If not, either
3380 # the compiler is broken, or we cross compile.
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3382 $as_echo_n "checking whether we are cross compiling... " >&6; }
3383 if test "$cross_compiling" != yes; then
3384 { { ac_try="$ac_link"
3386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_link") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }
3395 if { ac_try='./conftest$ac_cv_exeext'
3396 { { case "(($ac_try" in
3397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_try") 2>&5
3404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3405 test $ac_status = 0; }; }; then
3408 if test "$cross_compiling" = maybe; then
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $? "cannot run C compiled programs.
3414 If you meant to cross compile, use \`--host'.
3415 See \`config.log' for more details" "$LINENO" 5; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3420 $as_echo "$cross_compiling" >&6; }
3422 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3423 ac_clean_files=$ac_clean_files_save
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3425 $as_echo_n "checking for suffix of object files... " >&6; }
3426 if ${ac_cv_objext+:} false; then :
3427 $as_echo_n "(cached) " >&6
3429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3440 rm -f conftest.o conftest.obj
3441 if { { ac_try="$ac_compile"
3443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_compile") 2>&5
3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451 test $ac_status = 0; }; then :
3452 for ac_file in conftest.o conftest.obj conftest.*; do
3453 test -f "$ac_file" || continue;
3455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3456 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error $? "cannot compute suffix of object files: cannot compile
3467 See \`config.log' for more details" "$LINENO" 5; }
3469 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3472 $as_echo "$ac_cv_objext" >&6; }
3473 OBJEXT=$ac_cv_objext
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3476 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3477 if ${ac_cv_c_compiler_gnu+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3494 if ac_fn_c_try_compile "$LINENO"; then :
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3504 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3505 if test $ac_compiler_gnu = yes; then
3510 ac_test_CFLAGS=${CFLAGS+set}
3511 ac_save_CFLAGS=$CFLAGS
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3513 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3514 if ${ac_cv_prog_cc_g+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 ac_save_c_werror_flag=$ac_c_werror_flag
3518 ac_c_werror_flag=yes
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_c_try_compile "$LINENO"; then :
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 if ac_fn_c_try_compile "$LINENO"; then :
3550 ac_c_werror_flag=$ac_save_c_werror_flag
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3563 if ac_fn_c_try_compile "$LINENO"; then :
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 ac_c_werror_flag=$ac_save_c_werror_flag
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3574 $as_echo "$ac_cv_prog_cc_g" >&6; }
3575 if test "$ac_test_CFLAGS" = set; then
3576 CFLAGS=$ac_save_CFLAGS
3577 elif test $ac_cv_prog_cc_g = yes; then
3578 if test "$GCC" = yes; then
3584 if test "$GCC" = yes; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3591 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3592 if ${ac_cv_prog_cc_c89+:} false; then :
3593 $as_echo_n "(cached) " >&6
3595 ac_cv_prog_cc_c89=no
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3601 #include <sys/types.h>
3602 #include <sys/stat.h>
3603 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3604 struct buf { int x; };
3605 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3606 static char *e (p, i)
3612 static char *f (char * (*g) (char **, int), char **p, ...)
3617 s = g (p, va_arg (v,int));
3622 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3623 function prototypes and stuff, but not '\xHH' hex character constants.
3624 These don't provoke an error unfortunately, instead are silently treated
3625 as 'x'. The following induces an error, until -std is added to get
3626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3627 array size at least. It's necessary to write '\x00'==0 to get something
3628 that's true only with -std. */
3629 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3631 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3632 inside strings and character constants. */
3634 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3636 int test (int i, double x);
3637 struct s1 {int (*f) (int a);};
3638 struct s2 {int (*f) (double a);};
3639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3650 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3653 CC="$ac_save_CC $ac_arg"
3654 if ac_fn_c_try_compile "$LINENO"; then :
3655 ac_cv_prog_cc_c89=$ac_arg
3657 rm -f core conftest.err conftest.$ac_objext
3658 test "x$ac_cv_prog_cc_c89" != "xno" && break
3660 rm -f conftest.$ac_ext
3665 case "x$ac_cv_prog_cc_c89" in
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3668 $as_echo "none needed" >&6; } ;;
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3671 $as_echo "unsupported" >&6; } ;;
3673 CC="$CC $ac_cv_prog_cc_c89"
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3675 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3677 if test "x$ac_cv_prog_cc_c89" != xno; then :
3682 ac_cpp='$CPP $CPPFLAGS'
3683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3688 ac_cpp='$CXXCPP $CPPFLAGS'
3689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3692 if test -z "$CXX"; then
3693 if test -n "$CCC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if ${ac_cv_prog_CXX+:} false; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$CXX"; then
3707 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test -n "$CXX"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3729 $as_echo "$CXX" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3736 test -n "$CXX" && break
3739 if test -z "$CXX"; then
3741 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$ac_ct_CXX"; then
3751 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CXX="$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3771 if test -n "$ac_ct_CXX"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3773 $as_echo "$ac_ct_CXX" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$ac_ct_CXX" && break
3783 if test "x$ac_ct_CXX" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3798 # Provide some information about the compiler.
3799 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3802 for ac_option in --version -v -V -qversion; do
3803 { { ac_try="$ac_compiler $ac_option >&5"
3805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806 *) ac_try_echo=$ac_try;;
3808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3812 if test -s conftest.err; then
3814 ... rest of stderr output deleted ...
3815 10q' conftest.err >conftest.er1
3816 cat conftest.er1 >&5
3818 rm -f conftest.er1 conftest.err
3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820 test $ac_status = 0; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3824 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3825 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3826 $as_echo_n "(cached) " >&6
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3842 if ac_fn_cxx_try_compile "$LINENO"; then :
3847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3848 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3852 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3853 if test $ac_compiler_gnu = yes; then
3858 ac_test_CXXFLAGS=${CXXFLAGS+set}
3859 ac_save_CXXFLAGS=$CXXFLAGS
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3861 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3862 if ${ac_cv_prog_cxx_g+:} false; then :
3863 $as_echo_n "(cached) " >&6
3865 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3866 ac_cxx_werror_flag=yes
3869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3880 if ac_fn_cxx_try_compile "$LINENO"; then :
3881 ac_cv_prog_cxx_g=yes
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 if ac_fn_cxx_try_compile "$LINENO"; then :
3898 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3911 if ac_fn_cxx_try_compile "$LINENO"; then :
3912 ac_cv_prog_cxx_g=yes
3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3922 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3923 if test "$ac_test_CXXFLAGS" = set; then
3924 CXXFLAGS=$ac_save_CXXFLAGS
3925 elif test $ac_cv_prog_cxx_g = yes; then
3926 if test "$GXX" = yes; then
3932 if test "$GXX" = yes; then
3939 ac_cpp='$CPP $CPPFLAGS'
3940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_CPPBIN+:} false; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -n "$CPPBIN"; then
3953 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 CPPBIN=$ac_cv_prog_CPPBIN
3973 if test -n "$CPPBIN"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3975 $as_echo "$CPPBIN" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3983 if test -z "$ac_cv_prog_CPPBIN"; then
3984 ac_ct_CPPBIN=$CPPBIN
3985 # Extract the first word of "cpp", so it can be a program name with args.
3986 set dummy cpp; ac_word=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
3990 $as_echo_n "(cached) " >&6
3992 if test -n "$ac_ct_CPPBIN"; then
3993 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir=.
4000 for ac_exec_ext in '' $ac_executable_extensions; do
4001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4002 ac_cv_prog_ac_ct_CPPBIN="cpp"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4013 if test -n "$ac_ct_CPPBIN"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4015 $as_echo "$ac_ct_CPPBIN" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4021 if test "x$ac_ct_CPPBIN" = x; then
4024 case $cross_compiling:$ac_tool_warned in
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028 ac_tool_warned=yes ;;
4030 CPPBIN=$ac_ct_CPPBIN
4033 CPPBIN="$ac_cv_prog_CPPBIN"
4037 cat >>confdefs.h <<_ACEOF
4038 #define EXEEXT "$ac_exeext"
4044 if test "x$enable_win64" = "xyes"
4049 notice_platform="64-bit "
4056 notice_platform="32-bit "
4059 enable_win16=${enable_win16:-yes}
4063 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4068 $as_echo_n "checking whether $CC works... " >&6; }
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4081 if ac_fn_c_try_link "$LINENO"; then :
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4083 $as_echo "yes" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4087 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4089 rm -f core conftest.err conftest.$ac_objext \
4090 conftest$ac_exeext conftest.$ac_ext
4092 notice_platform="32-bit "
4095 enable_win16=${enable_win16:-yes}
4097 if test "x${GCC}" = "xyes"
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4100 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4107 void func(__builtin_ms_va_list *args);
4112 if ac_fn_c_try_compile "$LINENO"; then :
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4114 $as_echo "yes" >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4117 $as_echo "no" >&6; }
4118 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4126 *-mingw32*|*-cygwin*)
4127 enable_win16=${enable_win16:-no}
4128 CFLAGS="$CFLAGS -D_WIN32"
4131 enable_win16=${enable_win16:-yes}
4135 enable_win16=${enable_win16:-no}
4136 enable_win64=${enable_win64:-no}
4138 enable_winetest=${enable_winetest:-$enable_tests}
4140 if test -n "$with_wine64"
4142 if test "x$enable_win64" = "xyes"
4144 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4145 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4149 enable_fonts=${enable_fonts:-no}
4150 enable_server=${enable_server:-no}
4151 enable_tools=${enable_tools:-no}
4152 elif test "x$enable_win64" = "xyes"
4154 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4158 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4159 if ${wine_cv_toolsdir+:} false; then :
4160 $as_echo_n "(cached) " >&6
4162 wine_cv_toolsdir="$with_wine_tools"
4163 if test -z "$with_wine_tools"; then
4164 if test "$cross_compiling" = "yes"; then
4165 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4166 elif test -n "$with_wine64"; then
4167 wine_cv_toolsdir="$with_wine64"
4170 if test -z "$wine_cv_toolsdir"; then
4171 wine_cv_toolsdir="\$(top_builddir)"
4172 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4173 case "$wine_cv_toolsdir" in
4175 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4178 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4182 $as_echo "$wine_cv_toolsdir" >&6; }
4183 TOOLSDIR=$wine_cv_toolsdir
4185 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4187 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4193 # Extract the first word of "$ac_prog", so it can be a program name with args.
4194 set dummy $ac_prog; ac_word=$2
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4196 $as_echo_n "checking for $ac_word... " >&6; }
4197 if ${ac_cv_prog_FLEX+:} false; then :
4198 $as_echo_n "(cached) " >&6
4200 if test -n "$FLEX"; then
4201 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4207 test -z "$as_dir" && as_dir=.
4208 for ac_exec_ext in '' $ac_executable_extensions; do
4209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4210 ac_cv_prog_FLEX="$ac_prog"
4211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4220 FLEX=$ac_cv_prog_FLEX
4221 if test -n "$FLEX"; then
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4223 $as_echo "$FLEX" >&6; }
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4226 $as_echo "no" >&6; }
4230 test -n "$FLEX" && break
4232 test -n "$FLEX" || FLEX="none"
4234 if test "$FLEX" = "none"
4236 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4239 $as_echo_n "checking whether flex is recent enough... " >&6; }
4240 cat >conftest.l <<EOF
4242 #include "prediluvian.h"
4246 if $FLEX -t conftest.l >/dev/null 2>&5
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4249 $as_echo "yes" >&6; }
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4252 $as_echo "no" >&6; }
4253 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4256 for ac_prog in bison
4258 # Extract the first word of "$ac_prog", so it can be a program name with args.
4259 set dummy $ac_prog; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_BISON+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$BISON"; then
4266 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4275 ac_cv_prog_BISON="$ac_prog"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 BISON=$ac_cv_prog_BISON
4286 if test -n "$BISON"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4288 $as_echo "$BISON" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4295 test -n "$BISON" && break
4297 test -n "$BISON" || BISON="none"
4299 if test "$BISON" = "none"
4301 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4304 if test -n "$ac_tool_prefix"; then
4305 for ac_prog in ar gar
4307 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4308 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4310 $as_echo_n "checking for $ac_word... " >&6; }
4311 if ${ac_cv_prog_AR+:} false; then :
4312 $as_echo_n "(cached) " >&6
4314 if test -n "$AR"; then
4315 ac_cv_prog_AR="$AR" # Let the user override the test.
4317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 test -z "$as_dir" && as_dir=.
4322 for ac_exec_ext in '' $ac_executable_extensions; do
4323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4324 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 if test -n "$AR"; then
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4337 $as_echo "$AR" >&6; }
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4340 $as_echo "no" >&6; }
4344 test -n "$AR" && break
4347 if test -z "$AR"; then
4349 for ac_prog in ar gar
4351 # Extract the first word of "$ac_prog", so it can be a program name with args.
4352 set dummy $ac_prog; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4356 $as_echo_n "(cached) " >&6
4358 if test -n "$ac_ct_AR"; then
4359 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4365 test -z "$as_dir" && as_dir=.
4366 for ac_exec_ext in '' $ac_executable_extensions; do
4367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4368 ac_cv_prog_ac_ct_AR="$ac_prog"
4369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4379 if test -n "$ac_ct_AR"; then
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4381 $as_echo "$ac_ct_AR" >&6; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4384 $as_echo "no" >&6; }
4388 test -n "$ac_ct_AR" && break
4391 if test "x$ac_ct_AR" = x; then
4394 case $cross_compiling:$ac_tool_warned in
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4406 if test -n "$ac_tool_prefix"; then
4407 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4408 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_RANLIB+:} false; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$RANLIB"; then
4415 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 RANLIB=$ac_cv_prog_RANLIB
4435 if test -n "$RANLIB"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4437 $as_echo "$RANLIB" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4445 if test -z "$ac_cv_prog_RANLIB"; then
4446 ac_ct_RANLIB=$RANLIB
4447 # Extract the first word of "ranlib", so it can be a program name with args.
4448 set dummy ranlib; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4452 $as_echo_n "(cached) " >&6
4454 if test -n "$ac_ct_RANLIB"; then
4455 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464 ac_cv_prog_ac_ct_RANLIB="ranlib"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4475 if test -n "$ac_ct_RANLIB"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4477 $as_echo "$ac_ct_RANLIB" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4483 if test "x$ac_ct_RANLIB" = x; then
4486 case $cross_compiling:$ac_tool_warned in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4492 RANLIB=$ac_ct_RANLIB
4495 RANLIB="$ac_cv_prog_RANLIB"
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4499 $as_echo_n "checking whether ln -s works... " >&6; }
4501 if test "$LN_S" = "ln -s"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4503 $as_echo "yes" >&6; }
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4506 $as_echo "no, using $LN_S" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4510 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4511 if ${ac_cv_path_GREP+:} false; then :
4512 $as_echo_n "(cached) " >&6
4514 if test -z "$GREP"; then
4515 ac_path_GREP_found=false
4516 # Loop through the user's path and test for each of PROGNAME-LIST
4517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4521 test -z "$as_dir" && as_dir=.
4522 for ac_prog in grep ggrep; do
4523 for ac_exec_ext in '' $ac_executable_extensions; do
4524 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4525 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4526 # Check for GNU ac_path_GREP and select it if it is found.
4527 # Check for GNU $ac_path_GREP
4528 case `"$ac_path_GREP" --version 2>&1` in
4530 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4533 $as_echo_n 0123456789 >"conftest.in"
4536 cat "conftest.in" "conftest.in" >"conftest.tmp"
4537 mv "conftest.tmp" "conftest.in"
4538 cp "conftest.in" "conftest.nl"
4539 $as_echo 'GREP' >> "conftest.nl"
4540 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4541 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4542 as_fn_arith $ac_count + 1 && ac_count=$as_val
4543 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4544 # Best one so far, save it but keep looking for a better one
4545 ac_cv_path_GREP="$ac_path_GREP"
4546 ac_path_GREP_max=$ac_count
4548 # 10*(2^10) chars as input seems more than enough
4549 test $ac_count -gt 10 && break
4551 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4554 $ac_path_GREP_found && break 3
4559 if test -z "$ac_cv_path_GREP"; then
4560 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4563 ac_cv_path_GREP=$GREP
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4568 $as_echo "$ac_cv_path_GREP" >&6; }
4569 GREP="$ac_cv_path_GREP"
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4573 $as_echo_n "checking for egrep... " >&6; }
4574 if ${ac_cv_path_EGREP+:} false; then :
4575 $as_echo_n "(cached) " >&6
4577 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4578 then ac_cv_path_EGREP="$GREP -E"
4580 if test -z "$EGREP"; then
4581 ac_path_EGREP_found=false
4582 # Loop through the user's path and test for each of PROGNAME-LIST
4583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4587 test -z "$as_dir" && as_dir=.
4588 for ac_prog in egrep; do
4589 for ac_exec_ext in '' $ac_executable_extensions; do
4590 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4591 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4592 # Check for GNU ac_path_EGREP and select it if it is found.
4593 # Check for GNU $ac_path_EGREP
4594 case `"$ac_path_EGREP" --version 2>&1` in
4596 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4599 $as_echo_n 0123456789 >"conftest.in"
4602 cat "conftest.in" "conftest.in" >"conftest.tmp"
4603 mv "conftest.tmp" "conftest.in"
4604 cp "conftest.in" "conftest.nl"
4605 $as_echo 'EGREP' >> "conftest.nl"
4606 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4607 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4608 as_fn_arith $ac_count + 1 && ac_count=$as_val
4609 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4610 # Best one so far, save it but keep looking for a better one
4611 ac_cv_path_EGREP="$ac_path_EGREP"
4612 ac_path_EGREP_max=$ac_count
4614 # 10*(2^10) chars as input seems more than enough
4615 test $ac_count -gt 10 && break
4617 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4620 $ac_path_EGREP_found && break 3
4625 if test -z "$ac_cv_path_EGREP"; then
4626 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629 ac_cv_path_EGREP=$EGREP
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4635 $as_echo "$ac_cv_path_EGREP" >&6; }
4636 EGREP="$ac_cv_path_EGREP"
4639 # Extract the first word of "ldconfig", so it can be a program name with args.
4640 set dummy ldconfig; ac_word=$2
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if ${ac_cv_path_LDCONFIG+:} false; then :
4644 $as_echo_n "(cached) " >&6
4648 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652 for as_dir in /sbin /usr/sbin $PATH
4655 test -z "$as_dir" && as_dir=.
4656 for ac_exec_ext in '' $ac_executable_extensions; do
4657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4658 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4670 LDCONFIG=$ac_cv_path_LDCONFIG
4671 if test -n "$LDCONFIG"; then
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4673 $as_echo "$LDCONFIG" >&6; }
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4676 $as_echo "no" >&6; }
4680 # Find a good install program. We prefer a C program (faster),
4681 # so one script is as good as another. But avoid the broken or
4682 # incompatible versions:
4683 # SysV /etc/install, /usr/sbin/install
4684 # SunOS /usr/etc/install
4685 # IRIX /sbin/install
4687 # AmigaOS /C/install, which installs bootblocks on floppy discs
4688 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4689 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4690 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4691 # OS/2's system install, which has a completely different semantic
4692 # ./install, which can be erroneously created by make from ./install.sh.
4693 # Reject install programs that cannot install multiple files.
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4695 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4696 if test -z "$INSTALL"; then
4697 if ${ac_cv_path_install+:} false; then :
4698 $as_echo_n "(cached) " >&6
4700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4704 test -z "$as_dir" && as_dir=.
4705 # Account for people who put trailing slashes in PATH elements.
4706 case $as_dir/ in #((
4707 ./ | .// | /[cC]/* | \
4708 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4709 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4712 # OSF1 and SCO ODT 3.0 have their own names for install.
4713 # Don't use installbsd from OSF since it installs stuff as root
4715 for ac_prog in ginstall scoinst install; do
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4718 if test $ac_prog = install &&
4719 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4720 # AIX install. It has an incompatible calling convention.
4722 elif test $ac_prog = install &&
4723 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4724 # program-specific install script used by HP pwplus--don't use.
4727 rm -rf conftest.one conftest.two conftest.dir
4728 echo one > conftest.one
4729 echo two > conftest.two
4731 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4732 test -s conftest.one && test -s conftest.two &&
4733 test -s conftest.dir/conftest.one &&
4734 test -s conftest.dir/conftest.two
4736 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4749 rm -rf conftest.one conftest.two conftest.dir
4752 if test "${ac_cv_path_install+set}" = set; then
4753 INSTALL=$ac_cv_path_install
4755 # As a last resort, use the slow shell script. Don't cache a
4756 # value for INSTALL within a source directory, because that will
4757 # break other packages using the cache if that directory is
4758 # removed, or if the value is a relative name.
4759 INSTALL=$ac_install_sh
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4763 $as_echo "$INSTALL" >&6; }
4765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4766 # It thinks the first close brace ends the variable substitution.
4767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4771 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4774 [\\/$]* | ?:[\\/]* ) ;;
4775 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4778 for ac_prog in lclint lint
4780 # Extract the first word of "$ac_prog", so it can be a program name with args.
4781 set dummy $ac_prog; ac_word=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if ${ac_cv_prog_LINT+:} false; then :
4785 $as_echo_n "(cached) " >&6
4787 if test -n "$LINT"; then
4788 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 test -z "$as_dir" && as_dir=.
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4797 ac_cv_prog_LINT="$ac_prog"
4798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 LINT=$ac_cv_prog_LINT
4808 if test -n "$LINT"; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4810 $as_echo "$LINT" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4817 test -n "$LINT" && break
4820 if test "$LINT" = "lint"
4822 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4826 for ac_prog in fontforge
4828 # Extract the first word of "$ac_prog", so it can be a program name with args.
4829 set dummy $ac_prog; ac_word=$2
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4831 $as_echo_n "checking for $ac_word... " >&6; }
4832 if ${ac_cv_prog_FONTFORGE+:} false; then :
4833 $as_echo_n "(cached) " >&6
4835 if test -n "$FONTFORGE"; then
4836 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir=.
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4845 ac_cv_prog_FONTFORGE="$ac_prog"
4846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855 FONTFORGE=$ac_cv_prog_FONTFORGE
4856 if test -n "$FONTFORGE"; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4858 $as_echo "$FONTFORGE" >&6; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4861 $as_echo "no" >&6; }
4865 test -n "$FONTFORGE" && break
4867 test -n "$FONTFORGE" || FONTFORGE="false"
4869 for ac_prog in pkg-config
4871 # Extract the first word of "$ac_prog", so it can be a program name with args.
4872 set dummy $ac_prog; ac_word=$2
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4876 $as_echo_n "(cached) " >&6
4878 if test -n "$PKG_CONFIG"; then
4879 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir=.
4886 for ac_exec_ext in '' $ac_executable_extensions; do
4887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888 ac_cv_prog_PKG_CONFIG="$ac_prog"
4889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4899 if test -n "$PKG_CONFIG"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4901 $as_echo "$PKG_CONFIG" >&6; }
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4908 test -n "$PKG_CONFIG" && break
4910 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4914 # Extract the first word of "$ac_prog", so it can be a program name with args.
4915 set dummy $ac_prog; ac_word=$2
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4917 $as_echo_n "checking for $ac_word... " >&6; }
4918 if ${ac_cv_prog_RSVG+:} false; then :
4919 $as_echo_n "(cached) " >&6
4921 if test -n "$RSVG"; then
4922 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4931 ac_cv_prog_RSVG="$ac_prog"
4932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 RSVG=$ac_cv_prog_RSVG
4942 if test -n "$RSVG"; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4944 $as_echo "$RSVG" >&6; }
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4947 $as_echo "no" >&6; }
4951 test -n "$RSVG" && break
4953 test -n "$RSVG" || RSVG="false"
4955 for ac_prog in convert
4957 # Extract the first word of "$ac_prog", so it can be a program name with args.
4958 set dummy $ac_prog; ac_word=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if ${ac_cv_prog_CONVERT+:} false; then :
4962 $as_echo_n "(cached) " >&6
4964 if test -n "$CONVERT"; then
4965 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 test -z "$as_dir" && as_dir=.
4972 for ac_exec_ext in '' $ac_executable_extensions; do
4973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974 ac_cv_prog_CONVERT="$ac_prog"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 CONVERT=$ac_cv_prog_CONVERT
4985 if test -n "$CONVERT"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4987 $as_echo "$CONVERT" >&6; }
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4994 test -n "$CONVERT" && break
4996 test -n "$CONVERT" || CONVERT="false"
4998 for ac_prog in icotool
5000 # Extract the first word of "$ac_prog", so it can be a program name with args.
5001 set dummy $ac_prog; ac_word=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_ICOTOOL+:} false; then :
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$ICOTOOL"; then
5008 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_ICOTOOL="$ac_prog"
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 ICOTOOL=$ac_cv_prog_ICOTOOL
5028 if test -n "$ICOTOOL"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5030 $as_echo "$ICOTOOL" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5037 test -n "$ICOTOOL" && break
5039 test -n "$ICOTOOL" || ICOTOOL="false"
5041 for ac_prog in msgfmt
5043 # Extract the first word of "$ac_prog", so it can be a program name with args.
5044 set dummy $ac_prog; ac_word=$2
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if ${ac_cv_prog_MSGFMT+:} false; then :
5048 $as_echo_n "(cached) " >&6
5050 if test -n "$MSGFMT"; then
5051 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 test -z "$as_dir" && as_dir=.
5058 for ac_exec_ext in '' $ac_executable_extensions; do
5059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5060 ac_cv_prog_MSGFMT="$ac_prog"
5061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 MSGFMT=$ac_cv_prog_MSGFMT
5071 if test -n "$MSGFMT"; then
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5073 $as_echo "$MSGFMT" >&6; }
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5076 $as_echo "no" >&6; }
5080 test -n "$MSGFMT" && break
5082 test -n "$MSGFMT" || MSGFMT="false"
5085 if test "x$enable_maintainer_mode" != "xyes"
5090 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5091 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5093 if test "$CONVERT" = false
5095 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5098 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5099 convert_version=`convert --version | head -n1`
5100 if test "x$convert_version" != "x"
5102 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5103 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5104 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5109 if test "$CONVERT" = false
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5112 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5113 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5116 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5120 if test "$ICOTOOL" = false
5122 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5125 $as_echo_n "checking for recent enough icotool... " >&6; }
5126 icotool_version=`icotool --version | head -n1`
5127 if test "x$icotool_version" != "x"
5129 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5130 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5131 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5134 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5137 if test "$ICOTOOL" = false
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5140 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5141 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5144 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5150 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5153 test "x$with_gettext" != xno || MSGFMT=false
5154 if test "$MSGFMT" != "false"
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5157 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5158 cat >conftest.po <<EOF
5164 if $MSGFMT -o /dev/null conftest.po 2>&5
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5167 $as_echo "yes" >&6; }
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5174 if test "$MSGFMT" = false; then :
5175 case "x$with_gettext" in
5176 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5178 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5179 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5185 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5186 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5187 $as_echo_n "(cached) " >&6
5189 ac_check_lib_save_LIBS=$LIBS
5191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5192 /* end confdefs.h. */
5194 /* Override any GCC internal prototype to avoid an error.
5195 Use char because int might match the return type of a GCC
5196 builtin and then its argument prototype would still apply. */
5200 char i386_set_ldt ();
5204 return i386_set_ldt ();
5209 if ac_fn_c_try_link "$LINENO"; then :
5210 ac_cv_lib_i386_i386_set_ldt=yes
5212 ac_cv_lib_i386_i386_set_ldt=no
5214 rm -f core conftest.err conftest.$ac_objext \
5215 conftest$ac_exeext conftest.$ac_ext
5216 LIBS=$ac_check_lib_save_LIBS
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5219 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5220 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5221 cat >>confdefs.h <<_ACEOF
5222 #define HAVE_LIBI386 1
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5230 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5231 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5232 $as_echo_n "(cached) " >&6
5234 ac_check_lib_save_LIBS=$LIBS
5235 LIBS="-lossaudio $LIBS"
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5239 /* Override any GCC internal prototype to avoid an error.
5240 Use char because int might match the return type of a GCC
5241 builtin and then its argument prototype would still apply. */
5249 return _oss_ioctl ();
5254 if ac_fn_c_try_link "$LINENO"; then :
5255 ac_cv_lib_ossaudio__oss_ioctl=yes
5257 ac_cv_lib_ossaudio__oss_ioctl=no
5259 rm -f core conftest.err conftest.$ac_objext \
5260 conftest$ac_exeext conftest.$ac_ext
5261 LIBS=$ac_check_lib_save_LIBS
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5264 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5265 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5266 cat >>confdefs.h <<_ACEOF
5267 #define HAVE_LIBOSSAUDIO 1
5270 LIBS="-lossaudio $LIBS"
5281 # Check whether --enable-largefile was given.
5282 if test "${enable_largefile+set}" = set; then :
5283 enableval=$enable_largefile;
5286 if test "$enable_largefile" != no; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5289 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5290 if ${ac_cv_sys_largefile_CC+:} false; then :
5291 $as_echo_n "(cached) " >&6
5293 ac_cv_sys_largefile_CC=no
5294 if test "$GCC" != yes; then
5297 # IRIX 6.2 and later do not support large files by default,
5298 # so use the C compiler's -n32 option if that helps.
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 #include <sys/types.h>
5302 /* Check that off_t can represent 2**63 - 1 correctly.
5303 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5304 since some C++ compilers masquerading as C compilers
5305 incorrectly reject 9223372036854775807. */
5306 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5307 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5308 && LARGE_OFF_T % 2147483647 == 1)
5318 if ac_fn_c_try_compile "$LINENO"; then :
5321 rm -f core conftest.err conftest.$ac_objext
5323 if ac_fn_c_try_compile "$LINENO"; then :
5324 ac_cv_sys_largefile_CC=' -n32'; break
5326 rm -f core conftest.err conftest.$ac_objext
5330 rm -f conftest.$ac_ext
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5334 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5335 if test "$ac_cv_sys_largefile_CC" != no; then
5336 CC=$CC$ac_cv_sys_largefile_CC
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5340 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5341 if ${ac_cv_sys_file_offset_bits+:} false; then :
5342 $as_echo_n "(cached) " >&6
5345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5347 #include <sys/types.h>
5348 /* Check that off_t can represent 2**63 - 1 correctly.
5349 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5350 since some C++ compilers masquerading as C compilers
5351 incorrectly reject 9223372036854775807. */
5352 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5353 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5354 && LARGE_OFF_T % 2147483647 == 1)
5364 if ac_fn_c_try_compile "$LINENO"; then :
5365 ac_cv_sys_file_offset_bits=no; break
5367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5370 #define _FILE_OFFSET_BITS 64
5371 #include <sys/types.h>
5372 /* Check that off_t can represent 2**63 - 1 correctly.
5373 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5374 since some C++ compilers masquerading as C compilers
5375 incorrectly reject 9223372036854775807. */
5376 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5377 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5378 && LARGE_OFF_T % 2147483647 == 1)
5388 if ac_fn_c_try_compile "$LINENO"; then :
5389 ac_cv_sys_file_offset_bits=64; break
5391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5392 ac_cv_sys_file_offset_bits=unknown
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5397 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5398 case $ac_cv_sys_file_offset_bits in #(
5401 cat >>confdefs.h <<_ACEOF
5402 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5407 if test $ac_cv_sys_file_offset_bits = unknown; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5409 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5410 if ${ac_cv_sys_large_files+:} false; then :
5411 $as_echo_n "(cached) " >&6
5414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5416 #include <sys/types.h>
5417 /* Check that off_t can represent 2**63 - 1 correctly.
5418 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5419 since some C++ compilers masquerading as C compilers
5420 incorrectly reject 9223372036854775807. */
5421 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5422 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5423 && LARGE_OFF_T % 2147483647 == 1)
5433 if ac_fn_c_try_compile "$LINENO"; then :
5434 ac_cv_sys_large_files=no; break
5436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5438 /* end confdefs.h. */
5439 #define _LARGE_FILES 1
5440 #include <sys/types.h>
5441 /* Check that off_t can represent 2**63 - 1 correctly.
5442 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5443 since some C++ compilers masquerading as C compilers
5444 incorrectly reject 9223372036854775807. */
5445 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5446 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5447 && LARGE_OFF_T % 2147483647 == 1)
5457 if ac_fn_c_try_compile "$LINENO"; then :
5458 ac_cv_sys_large_files=1; break
5460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5461 ac_cv_sys_large_files=unknown
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5466 $as_echo "$ac_cv_sys_large_files" >&6; }
5467 case $ac_cv_sys_large_files in #(
5470 cat >>confdefs.h <<_ACEOF
5471 #define _LARGE_FILES $ac_cv_sys_large_files
5481 ac_cpp='$CPP $CPPFLAGS'
5482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5486 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5487 # On Suns, sometimes $CPP names a directory.
5488 if test -n "$CPP" && test -d "$CPP"; then
5491 if test -z "$CPP"; then
5492 if ${ac_cv_prog_CPP+:} false; then :
5493 $as_echo_n "(cached) " >&6
5495 # Double quotes because CPP needs to be expanded
5496 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5499 for ac_c_preproc_warn_flag in '' yes
5501 # Use a header file that comes with gcc, so configuring glibc
5502 # with a fresh cross-compiler works.
5503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5504 # <limits.h> exists even on freestanding compilers.
5505 # On the NeXT, cc -E runs the code through the compiler's parser,
5506 # not just through cpp. "Syntax error" is here to catch this case.
5507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5508 /* end confdefs.h. */
5510 # include <limits.h>
5512 # include <assert.h>
5516 if ac_fn_c_try_cpp "$LINENO"; then :
5519 # Broken: fails on valid input.
5522 rm -f conftest.err conftest.i conftest.$ac_ext
5524 # OK, works on sane cases. Now check whether nonexistent headers
5525 # can be detected and how.
5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5527 /* end confdefs.h. */
5528 #include <ac_nonexistent.h>
5530 if ac_fn_c_try_cpp "$LINENO"; then :
5531 # Broken: success on invalid input.
5534 # Passes both tests.
5538 rm -f conftest.err conftest.i conftest.$ac_ext
5541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5542 rm -f conftest.i conftest.err conftest.$ac_ext
5543 if $ac_preproc_ok; then :
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5556 $as_echo "$CPP" >&6; }
5558 for ac_c_preproc_warn_flag in '' yes
5560 # Use a header file that comes with gcc, so configuring glibc
5561 # with a fresh cross-compiler works.
5562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5563 # <limits.h> exists even on freestanding compilers.
5564 # On the NeXT, cc -E runs the code through the compiler's parser,
5565 # not just through cpp. "Syntax error" is here to catch this case.
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5569 # include <limits.h>
5571 # include <assert.h>
5575 if ac_fn_c_try_cpp "$LINENO"; then :
5578 # Broken: fails on valid input.
5581 rm -f conftest.err conftest.i conftest.$ac_ext
5583 # OK, works on sane cases. Now check whether nonexistent headers
5584 # can be detected and how.
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5586 /* end confdefs.h. */
5587 #include <ac_nonexistent.h>
5589 if ac_fn_c_try_cpp "$LINENO"; then :
5590 # Broken: success on invalid input.
5593 # Passes both tests.
5597 rm -f conftest.err conftest.i conftest.$ac_ext
5600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5601 rm -f conftest.i conftest.err conftest.$ac_ext
5602 if $ac_preproc_ok; then :
5605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5607 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5608 See \`config.log' for more details" "$LINENO" 5; }
5612 ac_cpp='$CPP $CPPFLAGS'
5613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5619 $as_echo_n "checking for ANSI C header files... " >&6; }
5620 if ${ac_cv_header_stdc+:} false; then :
5621 $as_echo_n "(cached) " >&6
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5638 if ac_fn_c_try_compile "$LINENO"; then :
5639 ac_cv_header_stdc=yes
5641 ac_cv_header_stdc=no
5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5645 if test $ac_cv_header_stdc = yes; then
5646 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5648 /* end confdefs.h. */
5652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5653 $EGREP "memchr" >/dev/null 2>&1; then :
5656 ac_cv_header_stdc=no
5662 if test $ac_cv_header_stdc = yes; then
5663 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5665 /* end confdefs.h. */
5669 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5670 $EGREP "free" >/dev/null 2>&1; then :
5673 ac_cv_header_stdc=no
5679 if test $ac_cv_header_stdc = yes; then
5680 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5681 if test "$cross_compiling" = yes; then :
5684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5685 /* end confdefs.h. */
5688 #if ((' ' & 0x0FF) == 0x020)
5689 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5690 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5692 # define ISLOWER(c) \
5693 (('a' <= (c) && (c) <= 'i') \
5694 || ('j' <= (c) && (c) <= 'r') \
5695 || ('s' <= (c) && (c) <= 'z'))
5696 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5699 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5704 for (i = 0; i < 256; i++)
5705 if (XOR (islower (i), ISLOWER (i))
5706 || toupper (i) != TOUPPER (i))
5711 if ac_fn_c_try_run "$LINENO"; then :
5714 ac_cv_header_stdc=no
5716 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5717 conftest.$ac_objext conftest.beam conftest.$ac_ext
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5723 $as_echo "$ac_cv_header_stdc" >&6; }
5724 if test $ac_cv_header_stdc = yes; then
5726 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5730 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5731 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5732 inttypes.h stdint.h unistd.h
5734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5735 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5738 cat >>confdefs.h <<_ACEOF
5739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5749 ApplicationServices/ApplicationServices.h \
5750 AudioToolbox/AudioConverter.h \
5751 AudioUnit/AudioUnit.h \
5752 AudioUnit/AudioComponent.h \
5755 CoreAudio/CoreAudio.h \
5756 CoreServices/CoreServices.h \
5757 DiskArbitration/DiskArbitration.h \
5759 IOKit/hid/IOHIDLib.h \
5762 QuickTime/ImageCompression.h \
5763 Security/Security.h \
5777 fontconfig/fontconfig.h \
5816 netinet/in_systm.h \
5881 valgrind/memcheck.h \
5882 valgrind/valgrind.h \
5886 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5887 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5888 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5889 cat >>confdefs.h <<_ACEOF
5890 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5898 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5899 if ${ac_cv_header_stat_broken+:} false; then :
5900 $as_echo_n "(cached) " >&6
5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h. */
5904 #include <sys/types.h>
5905 #include <sys/stat.h>
5907 #if defined S_ISBLK && defined S_IFDIR
5908 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5911 #if defined S_ISBLK && defined S_IFCHR
5912 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5915 #if defined S_ISLNK && defined S_IFREG
5916 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5919 #if defined S_ISSOCK && defined S_IFREG
5920 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5924 if ac_fn_c_try_compile "$LINENO"; then :
5925 ac_cv_header_stat_broken=no
5927 ac_cv_header_stat_broken=yes
5929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5932 $as_echo "$ac_cv_header_stat_broken" >&6; }
5933 if test $ac_cv_header_stat_broken = yes; then
5935 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5941 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5944 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5945 #ifdef HAVE_SYS_PARAM_H
5946 # include <sys/param.h>
5949 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5950 cat >>confdefs.h <<_ACEOF
5951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5966 netinet/if_ether.h \
5967 netinet/if_inarp.h \
5975 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5976 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5977 #ifdef HAVE_SYS_SOCKET_H
5978 # include <sys/socket.h>
5980 #ifdef HAVE_SYS_SOCKETVAR_H
5981 # include <sys/socketvar.h>
5983 #ifdef HAVE_NET_ROUTE_H
5984 # include <net/route.h>
5986 #ifdef HAVE_NETINET_IN_H
5987 # include <netinet/in.h>
5989 #ifdef HAVE_NETINET_IN_SYSTM_H
5990 # include <netinet/in_systm.h>
5992 #ifdef HAVE_NET_IF_H
5993 # include <net/if.h>
5995 #ifdef HAVE_NETINET_IP_H
5996 # include <netinet/ip.h>
5999 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6000 cat >>confdefs.h <<_ACEOF
6001 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6009 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6012 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6016 #ifdef HAVE_SYS_SOCKET_H
6017 # include <sys/socket.h>
6019 #ifdef HAVE_SYS_SOCKETVAR_H
6020 # include <sys/socketvar.h>
6022 #ifdef HAVE_SYS_TIMEOUT_H
6023 # include <sys/timeout.h>
6025 #ifdef HAVE_NETINET_IN_H
6026 # include <netinet/in.h>
6028 #ifdef HAVE_NETINET_IN_SYSTM_H
6029 # include <netinet/in_systm.h>
6031 #ifdef HAVE_NETINET_IP_H
6032 # include <netinet/ip.h>
6034 #ifdef HAVE_NETINET_IP_VAR_H
6035 # include <netinet/ip_var.h>
6037 #ifdef HAVE_NETINET_IP_ICMP_H
6038 # include <netinet/ip_icmp.h>
6040 #ifdef HAVE_NETINET_UDP_H
6041 # include <netinet/udp.h>
6043 #ifdef HAVE_NETINET_TCP_H
6044 # include <netinet/tcp.h>
6046 #ifdef HAVE_NETINET_TCP_TIMER_H
6047 #include <netinet/tcp_timer.h>
6050 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6051 cat >>confdefs.h <<_ACEOF
6052 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6060 for ac_header in linux/ipx.h linux/irda.h
6062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6064 #ifdef HAVE_ASM_TYPES_H
6065 # include <asm/types.h>
6067 #ifdef HAVE_SYS_SOCKET_H
6068 # include <sys/socket.h>
6070 #ifdef HAVE_LINUX_TYPES_H
6071 # include <linux/types.h>
6074 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6075 cat >>confdefs.h <<_ACEOF
6076 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6084 for ac_header in mach-o/dyld_images.h
6086 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6087 # include <stdbool.h>
6089 #ifdef HAVE_STDINT_H
6090 # include <stdint.h>
6093 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6094 cat >>confdefs.h <<_ACEOF
6095 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6103 for ac_header in resolv.h
6105 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6106 #ifdef HAVE_SYS_SOCKET_H
6107 # include <sys/socket.h>
6109 #ifdef HAVE_NETINET_IN_H
6110 # include <netinet/in.h>
6112 #ifdef HAVE_ARPA_NAMESER_H
6113 # include <arpa/nameser.h>
6116 if test "x$ac_cv_header_resolv_h" = xyes; then :
6117 cat >>confdefs.h <<_ACEOF
6118 #define HAVE_RESOLV_H 1
6126 for ac_header in ifaddrs.h
6128 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6130 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6131 cat >>confdefs.h <<_ACEOF
6132 #define HAVE_IFADDRS_H 1
6140 for ac_header in ucontext.h
6142 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6144 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6145 cat >>confdefs.h <<_ACEOF
6146 #define HAVE_UCONTEXT_H 1
6154 for ac_header in sys/thr.h
6156 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6157 #ifdef HAVE_UCONTEXT_H
6158 #include <ucontext.h>
6161 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6162 cat >>confdefs.h <<_ACEOF
6163 #define HAVE_SYS_THR_H 1
6171 for ac_header in pthread_np.h
6173 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6174 #include <pthread.h>
6177 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6178 cat >>confdefs.h <<_ACEOF
6179 #define HAVE_PTHREAD_NP_H 1
6187 for ac_header in linux/videodev.h linux/videodev2.h
6189 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6190 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6191 #include <sys/time.h>
6193 #include <sys/types.h>
6194 #ifdef HAVE_ASM_TYPES_H
6195 #include <asm/types.h>
6198 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6199 cat >>confdefs.h <<_ACEOF
6200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6208 for ac_header in linux/capi.h
6210 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6212 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6213 cat >>confdefs.h <<_ACEOF
6214 #define HAVE_LINUX_CAPI_H 1
6225 DLLFLAGS="-D_REENTRANT"
6239 STATIC_IMPLIBEXT="def.a"
6240 # Extract the first word of "ldd", so it can be a program name with args.
6241 set dummy ldd; ac_word=$2
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6243 $as_echo_n "checking for $ac_word... " >&6; }
6244 if ${ac_cv_path_LDD+:} false; then :
6245 $as_echo_n "(cached) " >&6
6249 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 as_dummy="/sbin:/usr/sbin:$PATH"
6254 for as_dir in $as_dummy
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6273 if test -n "$LDD"; then
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6275 $as_echo "$LDD" >&6; }
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278 $as_echo "no" >&6; }
6285 if test -n "$ac_tool_prefix"; then
6286 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6287 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6289 $as_echo_n "checking for $ac_word... " >&6; }
6290 if ${ac_cv_prog_DLLTOOL+:} false; then :
6291 $as_echo_n "(cached) " >&6
6293 if test -n "$DLLTOOL"; then
6294 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6300 test -z "$as_dir" && as_dir=.
6301 for ac_exec_ext in '' $ac_executable_extensions; do
6302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6303 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 DLLTOOL=$ac_cv_prog_DLLTOOL
6314 if test -n "$DLLTOOL"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6316 $as_echo "$DLLTOOL" >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6324 if test -z "$ac_cv_prog_DLLTOOL"; then
6325 ac_ct_DLLTOOL=$DLLTOOL
6326 # Extract the first word of "dlltool", so it can be a program name with args.
6327 set dummy dlltool; ac_word=$2
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329 $as_echo_n "checking for $ac_word... " >&6; }
6330 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6331 $as_echo_n "(cached) " >&6
6333 if test -n "$ac_ct_DLLTOOL"; then
6334 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 test -z "$as_dir" && as_dir=.
6341 for ac_exec_ext in '' $ac_executable_extensions; do
6342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6343 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6353 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6354 if test -n "$ac_ct_DLLTOOL"; then
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6356 $as_echo "$ac_ct_DLLTOOL" >&6; }
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6359 $as_echo "no" >&6; }
6362 if test "x$ac_ct_DLLTOOL" = x; then
6365 case $cross_compiling:$ac_tool_warned in
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6369 ac_tool_warned=yes ;;
6371 DLLTOOL=$ac_ct_DLLTOOL
6374 DLLTOOL="$ac_cv_prog_DLLTOOL"
6377 if test -n "$ac_tool_prefix"; then
6378 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6379 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 $as_echo_n "checking for $ac_word... " >&6; }
6382 if ${ac_cv_prog_DLLWRAP+:} false; then :
6383 $as_echo_n "(cached) " >&6
6385 if test -n "$DLLWRAP"; then
6386 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6405 DLLWRAP=$ac_cv_prog_DLLWRAP
6406 if test -n "$DLLWRAP"; then
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6408 $as_echo "$DLLWRAP" >&6; }
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411 $as_echo "no" >&6; }
6416 if test -z "$ac_cv_prog_DLLWRAP"; then
6417 ac_ct_DLLWRAP=$DLLWRAP
6418 # Extract the first word of "dllwrap", so it can be a program name with args.
6419 set dummy dllwrap; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421 $as_echo_n "checking for $ac_word... " >&6; }
6422 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6423 $as_echo_n "(cached) " >&6
6425 if test -n "$ac_ct_DLLWRAP"; then
6426 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 test -z "$as_dir" && as_dir=.
6433 for ac_exec_ext in '' $ac_executable_extensions; do
6434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6446 if test -n "$ac_ct_DLLWRAP"; then
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6448 $as_echo "$ac_ct_DLLWRAP" >&6; }
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6454 if test "x$ac_ct_DLLWRAP" = x; then
6457 case $cross_compiling:$ac_tool_warned in
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6461 ac_tool_warned=yes ;;
6463 DLLWRAP=$ac_ct_DLLWRAP
6466 DLLWRAP="$ac_cv_prog_DLLWRAP"
6469 if test "$DLLWRAP" = "false"; then
6475 STATIC_IMPLIBEXT="a"
6476 enable_iphlpapi=${enable_iphlpapi:-no}
6477 enable_kernel32=${enable_kernel32:-no}
6478 enable_msvcrt=${enable_msvcrt:-no}
6479 enable_ntdll=${enable_ntdll:-no}
6480 enable_ws2_32=${enable_ws2_32:-no}
6481 enable_loader=${enable_loader:-no}
6482 enable_server=${enable_server:-no}
6483 with_x=${with_x:-no}
6484 with_pthread=${with_pthread:-no}
6489 DLLFLAGS="$DLLFLAGS -fPIC"
6490 LDDLLFLAGS="-bundle -multiply_defined suppress"
6491 LIBWINE_LDFLAGS="-multiply_defined suppress"
6492 LDSHARED="\$(CC) -dynamiclib"
6493 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6494 COREFOUNDATIONLIB="-framework CoreFoundation"
6496 IOKITLIB="-framework IOKit -framework CoreFoundation"
6498 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6500 CORESERVICESLIB="-framework CoreServices"
6504 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6507 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6510 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6512 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6515 if test "$ac_cv_header_Security_Security_h" = "yes"
6517 SECURITYLIB="-framework Security -framework CoreFoundation"
6519 ac_save_LIBS="$LIBS"
6520 LIBS="$LIBS $SECURITYLIB"
6521 for ac_func in SSLCopyPeerCertificates
6523 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6524 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6525 cat >>confdefs.h <<_ACEOF
6526 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6532 LIBS="$ac_save_LIBS"
6533 with_gnutls=${with_gnutls:-no}
6535 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6537 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6539 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6542 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6545 ac_save_LIBS="$LIBS"
6546 LIBS="$LIBS $COREAUDIO"
6547 for ac_func in AUGraphAddNode
6549 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6550 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6551 cat >>confdefs.h <<_ACEOF
6552 #define HAVE_AUGRAPHADDNODE 1
6558 LIBS="$ac_save_LIBS"
6560 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6562 FRAMEWORK_OPENAL="-framework OpenAL"
6565 cat >>confdefs.h <<_ACEOF
6566 #define HAVE_OPENAL 1
6569 ac_cv_lib_openal=yes
6571 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6573 LIBOPENCL="-framework OpenCL"
6575 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6577 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6579 ac_save_LIBS="$LIBS"
6580 LIBS="$LIBS $IOKITLIB"
6581 for ac_func in IOHIDManagerCreate
6583 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6584 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6585 cat >>confdefs.h <<_ACEOF
6586 #define HAVE_IOHIDMANAGERCREATE 1
6592 LIBS="$ac_save_LIBS"
6596 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6598 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6600 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6602 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6604 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6606 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6608 CARBONLIB="-framework Carbon"
6610 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6612 if test "x$enable_win16" = "xyes"
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6615 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6616 if test "$cross_compiling" = yes; then :
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6618 $as_echo "cross-compiling, assuming yes" >&6; }
6620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6624 "good:\tnop;nop\n\t"
6625 ".globl _testfunc\n"
6626 "_testfunc:\tcallw good");
6627 extern void testfunc();
6631 unsigned short *p = (unsigned short *)testfunc;
6632 return p[0] != 0xe866 || p[1] != 0xfffa
6637 if ac_fn_c_try_run "$LINENO"; then :
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6639 $as_echo "yes" >&6; }
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6643 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
6645 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6646 conftest.$ac_objext conftest.beam conftest.$ac_ext
6652 DLLFLAGS="$DLLFLAGS -fPIC"
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6655 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6656 if ${ac_cv_c_dll_gnuelf+:} false; then :
6657 $as_echo_n "(cached) " >&6
6659 ac_wine_try_cflags_saved=$CFLAGS
6660 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6665 if ac_fn_c_try_link "$LINENO"; then :
6666 ac_cv_c_dll_gnuelf="yes"
6668 ac_cv_c_dll_gnuelf="no"
6670 rm -f core conftest.err conftest.$ac_objext \
6671 conftest$ac_exeext conftest.$ac_ext
6672 CFLAGS=$ac_wine_try_cflags_saved
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6675 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6676 if test "$ac_cv_c_dll_gnuelf" = "yes"
6678 LDSHARED="\$(CC) -shared"
6679 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6681 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6682 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6683 $as_echo_n "(cached) " >&6
6685 ac_wine_try_cflags_saved=$CFLAGS
6686 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6688 /* end confdefs.h. */
6689 int main(int argc, char **argv) { return 0; }
6691 if ac_fn_c_try_link "$LINENO"; then :
6692 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6694 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6696 rm -f core conftest.err conftest.$ac_objext \
6697 conftest$ac_exeext conftest.$ac_ext
6698 CFLAGS=$ac_wine_try_cflags_saved
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6701 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6702 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6703 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6706 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6707 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6708 $as_echo_n "(cached) " >&6
6710 ac_wine_try_cflags_saved=$CFLAGS
6711 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6713 /* end confdefs.h. */
6714 int main(int argc, char **argv) { return 0; }
6716 if ac_fn_c_try_link "$LINENO"; then :
6717 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6719 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6721 rm -f core conftest.err conftest.$ac_objext \
6722 conftest$ac_exeext conftest.$ac_ext
6723 CFLAGS=$ac_wine_try_cflags_saved
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6726 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6727 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6728 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6733 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6734 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6735 $as_echo_n "(cached) " >&6
6737 ac_wine_try_cflags_saved=$CFLAGS
6738 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6740 /* end confdefs.h. */
6741 int main(int argc, char **argv) { return 0; }
6743 if ac_fn_c_try_link "$LINENO"; then :
6744 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6746 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6748 rm -f core conftest.err conftest.$ac_objext \
6749 conftest$ac_exeext conftest.$ac_ext
6750 CFLAGS=$ac_wine_try_cflags_saved
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6753 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6754 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6755 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6758 { $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
6759 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6760 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6761 $as_echo_n "(cached) " >&6
6763 ac_wine_try_cflags_saved=$CFLAGS
6764 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 int main(int argc, char **argv) { return 0; }
6769 if ac_fn_c_try_link "$LINENO"; then :
6770 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6772 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6774 rm -f core conftest.err conftest.$ac_objext \
6775 conftest$ac_exeext conftest.$ac_ext
6776 CFLAGS=$ac_wine_try_cflags_saved
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6779 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6780 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6781 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6784 echo '{ global: *; };' >conftest.map
6785 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6787 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6788 if eval \${$as_ac_var+:} false; then :
6789 $as_echo_n "(cached) " >&6
6791 ac_wine_try_cflags_saved=$CFLAGS
6792 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6794 /* end confdefs.h. */
6795 int main(int argc, char **argv) { return 0; }
6797 if ac_fn_c_try_link "$LINENO"; then :
6798 eval "$as_ac_var=yes"
6800 eval "$as_ac_var=no"
6802 rm -f core conftest.err conftest.$ac_objext \
6803 conftest$ac_exeext conftest.$ac_ext
6804 CFLAGS=$ac_wine_try_cflags_saved
6806 eval ac_res=\$$as_ac_var
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6808 $as_echo "$ac_res" >&6; }
6809 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6810 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6815 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6816 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6817 $as_echo_n "(cached) " >&6
6819 ac_wine_try_cflags_saved=$CFLAGS
6820 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6823 int main(int argc, char **argv) { return 0; }
6825 if ac_fn_c_try_link "$LINENO"; then :
6826 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6828 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6830 rm -f core conftest.err conftest.$ac_objext \
6831 conftest$ac_exeext conftest.$ac_ext
6832 CFLAGS=$ac_wine_try_cflags_saved
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6835 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6836 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6837 LDEXECFLAGS="-Wl,--export-dynamic"
6841 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6843 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6844 if eval \${$as_ac_var+:} false; then :
6845 $as_echo_n "(cached) " >&6
6847 ac_wine_try_cflags_saved=$CFLAGS
6848 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6851 int main(int argc, char **argv) { return 0; }
6853 if ac_fn_c_try_link "$LINENO"; then :
6854 eval "$as_ac_var=yes"
6856 eval "$as_ac_var=no"
6858 rm -f core conftest.err conftest.$ac_objext \
6859 conftest$ac_exeext conftest.$ac_ext
6860 CFLAGS=$ac_wine_try_cflags_saved
6862 eval ac_res=\$$as_ac_var
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6864 $as_echo "$ac_res" >&6; }
6865 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6866 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6867 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6869 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6871 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6872 if eval \${$as_ac_var+:} false; then :
6873 $as_echo_n "(cached) " >&6
6875 ac_wine_try_cflags_saved=$CFLAGS
6876 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6878 /* end confdefs.h. */
6879 int main(int argc, char **argv) { return 0; }
6881 if ac_fn_c_try_link "$LINENO"; then :
6882 eval "$as_ac_var=yes"
6884 eval "$as_ac_var=no"
6886 rm -f core conftest.err conftest.$ac_objext \
6887 conftest$ac_exeext conftest.$ac_ext
6888 CFLAGS=$ac_wine_try_cflags_saved
6890 eval ac_res=\$$as_ac_var
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6892 $as_echo "$ac_res" >&6; }
6893 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6894 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6895 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6900 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6901 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6902 $as_echo_n "(cached) " >&6
6904 ac_wine_try_cflags_saved=$CFLAGS
6905 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6907 /* end confdefs.h. */
6908 int main(int argc, char **argv) { return 0; }
6910 if ac_fn_c_try_link "$LINENO"; then :
6911 ac_cv_cflags__Wl___enable_new_dtags=yes
6913 ac_cv_cflags__Wl___enable_new_dtags=no
6915 rm -f core conftest.err conftest.$ac_objext \
6916 conftest$ac_exeext conftest.$ac_ext
6917 CFLAGS=$ac_wine_try_cflags_saved
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6920 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6921 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6922 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6926 *i[3456789]86* | x86_64)
6927 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6929 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6930 if eval \${$as_ac_var+:} false; then :
6931 $as_echo_n "(cached) " >&6
6933 ac_wine_try_cflags_saved=$CFLAGS
6934 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6936 /* end confdefs.h. */
6937 int main(int argc, char **argv) { return 0; }
6939 if ac_fn_c_try_link "$LINENO"; then :
6940 eval "$as_ac_var=yes"
6942 eval "$as_ac_var=no"
6944 rm -f core conftest.err conftest.$ac_objext \
6945 conftest$ac_exeext conftest.$ac_ext
6946 CFLAGS=$ac_wine_try_cflags_saved
6948 eval ac_res=\$$as_ac_var
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6950 $as_echo "$ac_res" >&6; }
6951 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6953 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6954 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6958 # Extract the first word of "prelink", so it can be a program name with args.
6959 set dummy prelink; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_path_PRELINK+:} false; then :
6963 $as_echo_n "(cached) " >&6
6967 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 for as_dir in /sbin /usr/sbin $PATH
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6989 PRELINK=$ac_cv_path_PRELINK
6990 if test -n "$PRELINK"; then
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6992 $as_echo "$PRELINK" >&6; }
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995 $as_echo "no" >&6; }
6999 if test "x$PRELINK" = xfalse
7001 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7008 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7009 if ${ac_cv_c_dll_unixware+:} false; then :
7010 $as_echo_n "(cached) " >&6
7012 ac_wine_try_cflags_saved=$CFLAGS
7013 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7015 /* end confdefs.h. */
7018 if ac_fn_c_try_link "$LINENO"; then :
7019 ac_cv_c_dll_unixware="yes"
7021 ac_cv_c_dll_unixware="no"
7023 rm -f core conftest.err conftest.$ac_objext \
7024 conftest$ac_exeext conftest.$ac_ext
7025 CFLAGS=$ac_wine_try_cflags_saved
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7028 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7029 if test "$ac_cv_c_dll_unixware" = "yes"
7031 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7032 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7036 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7037 if ${ac_cv_c_dll_hpux+:} false; then :
7038 $as_echo_n "(cached) " >&6
7040 ac_wine_try_cflags_saved=$CFLAGS
7041 CFLAGS="$CFLAGS -shared"
7042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7043 /* end confdefs.h. */
7046 if ac_fn_c_try_link "$LINENO"; then :
7047 ac_cv_c_dll_hpux="yes"
7049 ac_cv_c_dll_hpux="no"
7051 rm -f core conftest.err conftest.$ac_objext \
7052 conftest$ac_exeext conftest.$ac_ext
7053 CFLAGS=$ac_wine_try_cflags_saved
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7056 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7057 if test "$ac_cv_c_dll_hpux" = "yes"
7061 LDDLLFLAGS="-shared -fPIC"
7062 LDSHARED="\$(CC) -shared"
7069 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7070 enable_winequartz_drv=${enable_winequartz_drv:-no}
7072 if test "$LIBEXT" = "a"; then
7073 as_fn_error $? "could not find a way to build shared libraries.
7074 It is currently not possible to build Wine without shared library
7075 (.so) support to allow transparent switch between .so and .dll files.
7076 If you are using Linux, you will need a newer binutils.
7080 CROSSTEST_DISABLE=\#
7082 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7086 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 " ;;
7088 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 " ;;
7090 ac_prefix_list="" ;;
7092 for ac_prog in $ac_prefix_list
7094 # Extract the first word of "$ac_prog", so it can be a program name with args.
7095 set dummy $ac_prog; ac_word=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if ${ac_cv_prog_CROSSCC+:} false; then :
7099 $as_echo_n "(cached) " >&6
7101 if test -n "$CROSSCC"; then
7102 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir=.
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7111 ac_cv_prog_CROSSCC="$ac_prog"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 CROSSCC=$ac_cv_prog_CROSSCC
7122 if test -n "$CROSSCC"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7124 $as_echo "$CROSSCC" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7131 test -n "$CROSSCC" && break
7133 test -n "$CROSSCC" || CROSSCC="false"
7135 if test "$CROSSCC" != "false"
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7140 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7142 /* end confdefs.h. */
7152 if ac_fn_c_try_compile "$LINENO"; then :
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7154 $as_echo "yes" >&6; }
7161 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7165 if test -n "$target"
7167 CROSSTEST_DISABLE=""
7168 CROSSTARGET="$target"
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 $as_echo "no" >&6; }
7175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7181 if test "$ac_cv_header_pthread_h" = "yes"
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7184 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7185 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7186 $as_echo_n "(cached) " >&6
7188 ac_check_lib_save_LIBS=$LIBS
7189 LIBS="-lpthread $LIBS"
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7193 /* Override any GCC internal prototype to avoid an error.
7194 Use char because int might match the return type of a GCC
7195 builtin and then its argument prototype would still apply. */
7199 char pthread_create ();
7203 return pthread_create ();
7208 if ac_fn_c_try_link "$LINENO"; then :
7209 ac_cv_lib_pthread_pthread_create=yes
7211 ac_cv_lib_pthread_pthread_create=no
7213 rm -f core conftest.err conftest.$ac_objext \
7214 conftest$ac_exeext conftest.$ac_ext
7215 LIBS=$ac_check_lib_save_LIBS
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7218 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7219 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7220 LIBPTHREAD="-lpthread"
7225 if test "x$LIBPTHREAD" = "x"; then :
7226 case "x$with_pthread" in
7228 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7229 Wine cannot support threads without libpthread.
7230 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7236 $as_echo_n "checking for X... " >&6; }
7239 # Check whether --with-x was given.
7240 if test "${with_x+set}" = set; then :
7244 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7245 if test "x$with_x" = xno; then
7246 # The user explicitly disabled X.
7249 case $x_includes,$x_libraries in #(
7250 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7251 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7252 $as_echo_n "(cached) " >&6
7254 # One or both of the vars are not set, and there is no cached value.
7255 ac_x_includes=no ac_x_libraries=no
7256 rm -f -r conftest.dir
7257 if mkdir conftest.dir; then
7259 cat >Imakefile <<'_ACEOF'
7261 @echo incroot='${INCROOT}'
7263 @echo usrlibdir='${USRLIBDIR}'
7265 @echo libdir='${LIBDIR}'
7267 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7268 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7269 for ac_var in incroot usrlibdir libdir; do
7270 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7272 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7273 for ac_extension in a so sl dylib la dll; do
7274 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7275 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7276 ac_im_usrlibdir=$ac_im_libdir; break
7279 # Screen out bogus values from the imake configuration. They are
7280 # bogus both because they are the default anyway, and because
7281 # using them would break gcc on systems where it needs fixed includes.
7282 case $ac_im_incroot in
7283 /usr/include) ac_x_includes= ;;
7284 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7286 case $ac_im_usrlibdir in
7287 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7288 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7292 rm -f -r conftest.dir
7295 # Standard set of common directories for X headers.
7296 # Check X11 before X11Rn because it is often a symlink to the current release.
7310 /usr/local/X11/include
7311 /usr/local/X11R7/include
7312 /usr/local/X11R6/include
7313 /usr/local/X11R5/include
7314 /usr/local/X11R4/include
7316 /usr/local/include/X11
7317 /usr/local/include/X11R7
7318 /usr/local/include/X11R6
7319 /usr/local/include/X11R5
7320 /usr/local/include/X11R4
7324 /usr/XFree86/include/X11
7328 /usr/unsupported/include
7330 /usr/local/x11r5/include
7331 /usr/lpp/Xamples/include
7333 /usr/openwin/include
7334 /usr/openwin/share/include'
7336 if test "$ac_x_includes" = no; then
7337 # Guess where to find include files, by looking for Xlib.h.
7338 # First, try using that file with no special directory specified.
7339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7340 /* end confdefs.h. */
7341 #include <X11/Xlib.h>
7343 if ac_fn_c_try_cpp "$LINENO"; then :
7344 # We can compile using X headers with no special include directory.
7347 for ac_dir in $ac_x_header_dirs; do
7348 if test -r "$ac_dir/X11/Xlib.h"; then
7349 ac_x_includes=$ac_dir
7354 rm -f conftest.err conftest.i conftest.$ac_ext
7355 fi # $ac_x_includes = no
7357 if test "$ac_x_libraries" = no; then
7358 # Check for the libraries.
7359 # See if we find them without any special options.
7360 # Don't add to $LIBS permanently.
7363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7364 /* end confdefs.h. */
7365 #include <X11/Xlib.h>
7374 if ac_fn_c_try_link "$LINENO"; then :
7376 # We can link X programs with no special library path.
7380 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7382 # Don't even attempt the hair of trying to link an X program!
7383 for ac_extension in a so sl dylib la dll; do
7384 if test -r "$ac_dir/libX11.$ac_extension"; then
7385 ac_x_libraries=$ac_dir
7391 rm -f core conftest.err conftest.$ac_objext \
7392 conftest$ac_exeext conftest.$ac_ext
7393 fi # $ac_x_libraries = no
7395 case $ac_x_includes,$ac_x_libraries in #(
7397 # Didn't find X, or a directory has "'" in its name.
7398 ac_cv_have_x="have_x=no";; #(
7400 # Record where we found X for the cache.
7401 ac_cv_have_x="have_x=yes\
7402 ac_x_includes='$ac_x_includes'\
7403 ac_x_libraries='$ac_x_libraries'"
7409 eval "$ac_cv_have_x"
7412 if test "$have_x" != yes; then
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7414 $as_echo "$have_x" >&6; }
7417 # If each of the values was on the command line, it overrides each guess.
7418 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7419 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7420 # Update the cache value to reflect the command line values.
7421 ac_cv_have_x="have_x=yes\
7422 ac_x_includes='$x_includes'\
7423 ac_x_libraries='$x_libraries'"
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7425 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7428 if test "$no_x" = yes; then
7429 # Not all programs may use this symbol, but it does not hurt to define it.
7431 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7433 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7435 if test -n "$x_includes"; then
7436 X_CFLAGS="$X_CFLAGS -I$x_includes"
7439 # It would also be nice to do this for all -L options, not just this one.
7440 if test -n "$x_libraries"; then
7441 X_LIBS="$X_LIBS -L$x_libraries"
7442 # For Solaris; some versions of Sun CC require a space after -R and
7443 # others require no space. Words are not sufficient . . . .
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7445 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7446 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7447 ac_xsave_c_werror_flag=$ac_c_werror_flag
7448 ac_c_werror_flag=yes
7449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7450 /* end confdefs.h. */
7460 if ac_fn_c_try_link "$LINENO"; then :
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7462 $as_echo "no" >&6; }
7463 X_LIBS="$X_LIBS -R$x_libraries"
7465 LIBS="$ac_xsave_LIBS -R $x_libraries"
7466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7467 /* end confdefs.h. */
7477 if ac_fn_c_try_link "$LINENO"; then :
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7479 $as_echo "yes" >&6; }
7480 X_LIBS="$X_LIBS -R $x_libraries"
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7483 $as_echo "neither works" >&6; }
7485 rm -f core conftest.err conftest.$ac_objext \
7486 conftest$ac_exeext conftest.$ac_ext
7488 rm -f core conftest.err conftest.$ac_objext \
7489 conftest$ac_exeext conftest.$ac_ext
7490 ac_c_werror_flag=$ac_xsave_c_werror_flag
7494 # Check for system-dependent libraries X programs must link with.
7495 # Do this before checking for the system-independent R6 libraries
7496 # (-lICE), since we may need -lsocket or whatever for X linking.
7498 if test "$ISC" = yes; then
7499 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7501 # Martyn Johnson says this is needed for Ultrix, if the X
7502 # libraries were built with DECnet support. And Karl Berry says
7503 # the Alpha needs dnet_stub (dnet does not exist).
7504 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7506 /* end confdefs.h. */
7508 /* Override any GCC internal prototype to avoid an error.
7509 Use char because int might match the return type of a GCC
7510 builtin and then its argument prototype would still apply. */
7514 char XOpenDisplay ();
7518 return XOpenDisplay ();
7523 if ac_fn_c_try_link "$LINENO"; then :
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7527 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7528 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7529 $as_echo_n "(cached) " >&6
7531 ac_check_lib_save_LIBS=$LIBS
7533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7536 /* Override any GCC internal prototype to avoid an error.
7537 Use char because int might match the return type of a GCC
7538 builtin and then its argument prototype would still apply. */
7546 return dnet_ntoa ();
7551 if ac_fn_c_try_link "$LINENO"; then :
7552 ac_cv_lib_dnet_dnet_ntoa=yes
7554 ac_cv_lib_dnet_dnet_ntoa=no
7556 rm -f core conftest.err conftest.$ac_objext \
7557 conftest$ac_exeext conftest.$ac_ext
7558 LIBS=$ac_check_lib_save_LIBS
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7561 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7562 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7563 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7566 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7568 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7569 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7570 $as_echo_n "(cached) " >&6
7572 ac_check_lib_save_LIBS=$LIBS
7573 LIBS="-ldnet_stub $LIBS"
7574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7575 /* end confdefs.h. */
7577 /* Override any GCC internal prototype to avoid an error.
7578 Use char because int might match the return type of a GCC
7579 builtin and then its argument prototype would still apply. */
7587 return dnet_ntoa ();
7592 if ac_fn_c_try_link "$LINENO"; then :
7593 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7595 ac_cv_lib_dnet_stub_dnet_ntoa=no
7597 rm -f core conftest.err conftest.$ac_objext \
7598 conftest$ac_exeext conftest.$ac_ext
7599 LIBS=$ac_check_lib_save_LIBS
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7602 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7603 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7604 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7609 rm -f core conftest.err conftest.$ac_objext \
7610 conftest$ac_exeext conftest.$ac_ext
7611 LIBS="$ac_xsave_LIBS"
7613 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7614 # to get the SysV transport functions.
7615 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7617 # The nsl library prevents programs from opening the X display
7618 # on Irix 5.2, according to T.E. Dickey.
7619 # The functions gethostbyname, getservbyname, and inet_addr are
7620 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7621 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7622 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7626 if test $ac_cv_func_gethostbyname = no; then
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7628 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7629 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7630 $as_echo_n "(cached) " >&6
7632 ac_check_lib_save_LIBS=$LIBS
7634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7635 /* end confdefs.h. */
7637 /* Override any GCC internal prototype to avoid an error.
7638 Use char because int might match the return type of a GCC
7639 builtin and then its argument prototype would still apply. */
7643 char gethostbyname ();
7647 return gethostbyname ();
7652 if ac_fn_c_try_link "$LINENO"; then :
7653 ac_cv_lib_nsl_gethostbyname=yes
7655 ac_cv_lib_nsl_gethostbyname=no
7657 rm -f core conftest.err conftest.$ac_objext \
7658 conftest$ac_exeext conftest.$ac_ext
7659 LIBS=$ac_check_lib_save_LIBS
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7662 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7663 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7664 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7667 if test $ac_cv_lib_nsl_gethostbyname = no; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7669 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7670 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7671 $as_echo_n "(cached) " >&6
7673 ac_check_lib_save_LIBS=$LIBS
7675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7676 /* end confdefs.h. */
7678 /* Override any GCC internal prototype to avoid an error.
7679 Use char because int might match the return type of a GCC
7680 builtin and then its argument prototype would still apply. */
7684 char gethostbyname ();
7688 return gethostbyname ();
7693 if ac_fn_c_try_link "$LINENO"; then :
7694 ac_cv_lib_bsd_gethostbyname=yes
7696 ac_cv_lib_bsd_gethostbyname=no
7698 rm -f core conftest.err conftest.$ac_objext \
7699 conftest$ac_exeext conftest.$ac_ext
7700 LIBS=$ac_check_lib_save_LIBS
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7703 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7704 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7705 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7711 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7712 # socket/setsockopt and other routines are undefined under SCO ODT
7713 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7714 # on later versions), says Simon Leinen: it contains gethostby*
7715 # variants that don't use the name server (or something). -lsocket
7716 # must be given before -lnsl if both are needed. We assume that
7717 # if connect needs -lnsl, so does gethostbyname.
7718 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7719 if test "x$ac_cv_func_connect" = xyes; then :
7723 if test $ac_cv_func_connect = no; then
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7725 $as_echo_n "checking for connect in -lsocket... " >&6; }
7726 if ${ac_cv_lib_socket_connect+:} false; then :
7727 $as_echo_n "(cached) " >&6
7729 ac_check_lib_save_LIBS=$LIBS
7730 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7734 /* Override any GCC internal prototype to avoid an error.
7735 Use char because int might match the return type of a GCC
7736 builtin and then its argument prototype would still apply. */
7749 if ac_fn_c_try_link "$LINENO"; then :
7750 ac_cv_lib_socket_connect=yes
7752 ac_cv_lib_socket_connect=no
7754 rm -f core conftest.err conftest.$ac_objext \
7755 conftest$ac_exeext conftest.$ac_ext
7756 LIBS=$ac_check_lib_save_LIBS
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7759 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7760 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7761 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7766 # Guillermo Gomez says -lposix is necessary on A/UX.
7767 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7768 if test "x$ac_cv_func_remove" = xyes; then :
7772 if test $ac_cv_func_remove = no; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7774 $as_echo_n "checking for remove in -lposix... " >&6; }
7775 if ${ac_cv_lib_posix_remove+:} false; then :
7776 $as_echo_n "(cached) " >&6
7778 ac_check_lib_save_LIBS=$LIBS
7779 LIBS="-lposix $LIBS"
7780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7781 /* end confdefs.h. */
7783 /* Override any GCC internal prototype to avoid an error.
7784 Use char because int might match the return type of a GCC
7785 builtin and then its argument prototype would still apply. */
7798 if ac_fn_c_try_link "$LINENO"; then :
7799 ac_cv_lib_posix_remove=yes
7801 ac_cv_lib_posix_remove=no
7803 rm -f core conftest.err conftest.$ac_objext \
7804 conftest$ac_exeext conftest.$ac_ext
7805 LIBS=$ac_check_lib_save_LIBS
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7808 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7809 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7815 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7816 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7817 if test "x$ac_cv_func_shmat" = xyes; then :
7821 if test $ac_cv_func_shmat = no; then
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7823 $as_echo_n "checking for shmat in -lipc... " >&6; }
7824 if ${ac_cv_lib_ipc_shmat+:} false; then :
7825 $as_echo_n "(cached) " >&6
7827 ac_check_lib_save_LIBS=$LIBS
7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h. */
7832 /* Override any GCC internal prototype to avoid an error.
7833 Use char because int might match the return type of a GCC
7834 builtin and then its argument prototype would still apply. */
7847 if ac_fn_c_try_link "$LINENO"; then :
7848 ac_cv_lib_ipc_shmat=yes
7850 ac_cv_lib_ipc_shmat=no
7852 rm -f core conftest.err conftest.$ac_objext \
7853 conftest$ac_exeext conftest.$ac_ext
7854 LIBS=$ac_check_lib_save_LIBS
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7857 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7858 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7859 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7865 # Check for libraries that X11R6 Xt/Xaw programs need.
7866 ac_save_LDFLAGS=$LDFLAGS
7867 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7868 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7869 # check for ICE first), but we must link in the order -lSM -lICE or
7870 # we get undefined symbols. So assume we have SM if we have ICE.
7871 # These have to be linked with before -lX11, unlike the other
7872 # libraries we check for below, so use a different variable.
7873 # John Interrante, Karl Berry
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7875 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7876 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7877 $as_echo_n "(cached) " >&6
7879 ac_check_lib_save_LIBS=$LIBS
7880 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7882 /* end confdefs.h. */
7884 /* Override any GCC internal prototype to avoid an error.
7885 Use char because int might match the return type of a GCC
7886 builtin and then its argument prototype would still apply. */
7890 char IceConnectionNumber ();
7894 return IceConnectionNumber ();
7899 if ac_fn_c_try_link "$LINENO"; then :
7900 ac_cv_lib_ICE_IceConnectionNumber=yes
7902 ac_cv_lib_ICE_IceConnectionNumber=no
7904 rm -f core conftest.err conftest.$ac_objext \
7905 conftest$ac_exeext conftest.$ac_ext
7906 LIBS=$ac_check_lib_save_LIBS
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7909 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7910 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7911 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7914 LDFLAGS=$ac_save_LDFLAGS
7919 if test "$have_x" = "yes"
7922 ac_save_CPPFLAGS="$CPPFLAGS"
7923 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7926 $as_echo_n "checking for -lX11... " >&6; }
7927 if ${ac_cv_lib_soname_X11+:} false; then :
7928 $as_echo_n "(cached) " >&6
7930 ac_check_soname_save_LIBS=$LIBS
7931 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7933 /* end confdefs.h. */
7935 /* Override any GCC internal prototype to avoid an error.
7936 Use char because int might match the return type of a GCC
7937 builtin and then its argument prototype would still apply. */
7941 char XCreateWindow ();
7945 return XCreateWindow ();
7950 if ac_fn_c_try_link "$LINENO"; then :
7952 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7953 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'` ;;
7954 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7957 rm -f core conftest.err conftest.$ac_objext \
7958 conftest$ac_exeext conftest.$ac_ext
7959 LIBS=$ac_check_soname_save_LIBS
7961 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7963 $as_echo "not found" >&6; }
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7967 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7969 cat >>confdefs.h <<_ACEOF
7970 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7976 $as_echo_n "checking for -lXext... " >&6; }
7977 if ${ac_cv_lib_soname_Xext+:} false; then :
7978 $as_echo_n "(cached) " >&6
7980 ac_check_soname_save_LIBS=$LIBS
7981 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7985 /* Override any GCC internal prototype to avoid an error.
7986 Use char because int might match the return type of a GCC
7987 builtin and then its argument prototype would still apply. */
7991 char XextCreateExtension ();
7995 return XextCreateExtension ();
8000 if ac_fn_c_try_link "$LINENO"; then :
8002 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8003 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'` ;;
8004 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8007 rm -f core conftest.err conftest.$ac_objext \
8008 conftest$ac_exeext conftest.$ac_ext
8009 LIBS=$ac_check_soname_save_LIBS
8011 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8013 $as_echo "not found" >&6; }
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8017 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8019 cat >>confdefs.h <<_ACEOF
8020 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8026 for ac_header in X11/Xlib.h \
8029 X11/Xcursor/Xcursor.h \
8030 X11/extensions/shape.h \
8031 X11/extensions/XInput.h \
8032 X11/extensions/XInput2.h \
8033 X11/extensions/Xcomposite.h \
8034 X11/extensions/Xinerama.h \
8035 X11/extensions/Xrandr.h \
8036 X11/extensions/Xrender.h \
8037 X11/extensions/xf86vmode.h \
8038 X11/extensions/xf86vmproto.h
8040 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8041 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8042 # include <X11/Xlib.h>
8044 #ifdef HAVE_X11_XUTIL_H
8045 # include <X11/Xutil.h>
8048 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8049 cat >>confdefs.h <<_ACEOF
8050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8058 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8061 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8062 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8063 $as_echo_n "(cached) " >&6
8065 ac_check_lib_save_LIBS=$LIBS
8066 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8068 /* end confdefs.h. */
8070 /* Override any GCC internal prototype to avoid an error.
8071 Use char because int might match the return type of a GCC
8072 builtin and then its argument prototype would still apply. */
8076 char XkbQueryExtension ();
8080 return XkbQueryExtension ();
8085 if ac_fn_c_try_link "$LINENO"; then :
8086 ac_cv_lib_X11_XkbQueryExtension=yes
8088 ac_cv_lib_X11_XkbQueryExtension=no
8090 rm -f core conftest.err conftest.$ac_objext \
8091 conftest$ac_exeext conftest.$ac_ext
8092 LIBS=$ac_check_lib_save_LIBS
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8095 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8096 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8098 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8104 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8107 $as_echo_n "checking for -lXcursor... " >&6; }
8108 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8109 $as_echo_n "(cached) " >&6
8111 ac_check_soname_save_LIBS=$LIBS
8112 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8114 /* end confdefs.h. */
8116 /* Override any GCC internal prototype to avoid an error.
8117 Use char because int might match the return type of a GCC
8118 builtin and then its argument prototype would still apply. */
8122 char XcursorImageLoadCursor ();
8126 return XcursorImageLoadCursor ();
8131 if ac_fn_c_try_link "$LINENO"; then :
8133 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8134 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'` ;;
8135 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8138 rm -f core conftest.err conftest.$ac_objext \
8139 conftest$ac_exeext conftest.$ac_ext
8140 LIBS=$ac_check_soname_save_LIBS
8142 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8144 $as_echo "not found" >&6; }
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8148 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8150 cat >>confdefs.h <<_ACEOF
8151 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8157 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8158 case "x$with_xcursor" in
8159 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8161 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8162 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8166 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8169 $as_echo_n "checking for -lXi... " >&6; }
8170 if ${ac_cv_lib_soname_Xi+:} false; then :
8171 $as_echo_n "(cached) " >&6
8173 ac_check_soname_save_LIBS=$LIBS
8174 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8176 /* end confdefs.h. */
8178 /* Override any GCC internal prototype to avoid an error.
8179 Use char because int might match the return type of a GCC
8180 builtin and then its argument prototype would still apply. */
8184 char XOpenDevice ();
8188 return XOpenDevice ();
8193 if ac_fn_c_try_link "$LINENO"; then :
8195 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8196 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'` ;;
8197 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8200 rm -f core conftest.err conftest.$ac_objext \
8201 conftest$ac_exeext conftest.$ac_ext
8202 LIBS=$ac_check_soname_save_LIBS
8204 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8206 $as_echo "not found" >&6; }
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8210 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8212 cat >>confdefs.h <<_ACEOF
8213 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8219 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8220 case "x$with_xinput" in
8221 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8223 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8224 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8228 if test "x$ac_cv_lib_soname_Xi" != x
8230 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8231 case "x$with_xinput2" in
8232 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8234 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8235 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8240 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8243 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8244 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8245 $as_echo_n "(cached) " >&6
8247 ac_check_lib_save_LIBS=$LIBS
8248 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8250 /* end confdefs.h. */
8252 /* Override any GCC internal prototype to avoid an error.
8253 Use char because int might match the return type of a GCC
8254 builtin and then its argument prototype would still apply. */
8258 char XShapeQueryExtension ();
8262 return XShapeQueryExtension ();
8267 if ac_fn_c_try_link "$LINENO"; then :
8268 ac_cv_lib_Xext_XShapeQueryExtension=yes
8270 ac_cv_lib_Xext_XShapeQueryExtension=no
8272 rm -f core conftest.err conftest.$ac_objext \
8273 conftest$ac_exeext conftest.$ac_ext
8274 LIBS=$ac_check_lib_save_LIBS
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8277 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8278 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8280 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8285 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8286 case "x$with_xshape" in
8287 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8289 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8290 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8294 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8297 $as_echo_n "checking for -lXxf86vm... " >&6; }
8298 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8299 $as_echo_n "(cached) " >&6
8301 ac_check_soname_save_LIBS=$LIBS
8302 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8306 /* Override any GCC internal prototype to avoid an error.
8307 Use char because int might match the return type of a GCC
8308 builtin and then its argument prototype would still apply. */
8312 char XF86VidModeQueryExtension ();
8316 return XF86VidModeQueryExtension ();
8321 if ac_fn_c_try_link "$LINENO"; then :
8323 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8324 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'` ;;
8325 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8328 rm -f core conftest.err conftest.$ac_objext \
8329 conftest$ac_exeext conftest.$ac_ext
8330 LIBS=$ac_check_soname_save_LIBS
8332 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8334 $as_echo "not found" >&6; }
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8338 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8340 cat >>confdefs.h <<_ACEOF
8341 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8347 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8348 case "x$with_xxf86vm" in
8349 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8351 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8352 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8356 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"
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8359 $as_echo_n "checking for -lXrender... " >&6; }
8360 if ${ac_cv_lib_soname_Xrender+:} false; then :
8361 $as_echo_n "(cached) " >&6
8363 ac_check_soname_save_LIBS=$LIBS
8364 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8368 /* Override any GCC internal prototype to avoid an error.
8369 Use char because int might match the return type of a GCC
8370 builtin and then its argument prototype would still apply. */
8374 char XRenderQueryExtension ();
8378 return XRenderQueryExtension ();
8383 if ac_fn_c_try_link "$LINENO"; then :
8385 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8386 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'` ;;
8387 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8390 rm -f core conftest.err conftest.$ac_objext \
8391 conftest$ac_exeext conftest.$ac_ext
8392 LIBS=$ac_check_soname_save_LIBS
8394 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8396 $as_echo "not found" >&6; }
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8400 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8402 cat >>confdefs.h <<_ACEOF
8403 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8407 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8408 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8409 $as_echo_n "(cached) " >&6
8411 ac_check_lib_save_LIBS=$LIBS
8412 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8416 /* Override any GCC internal prototype to avoid an error.
8417 Use char because int might match the return type of a GCC
8418 builtin and then its argument prototype would still apply. */
8422 char XRenderSetPictureTransform ();
8426 return XRenderSetPictureTransform ();
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8434 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 LIBS=$ac_check_lib_save_LIBS
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8441 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8442 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8444 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8449 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8450 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8451 $as_echo_n "(cached) " >&6
8453 ac_check_lib_save_LIBS=$LIBS
8454 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8456 /* end confdefs.h. */
8458 /* Override any GCC internal prototype to avoid an error.
8459 Use char because int might match the return type of a GCC
8460 builtin and then its argument prototype would still apply. */
8464 char XRenderCreateLinearGradient ();
8468 return XRenderCreateLinearGradient ();
8473 if ac_fn_c_try_link "$LINENO"; then :
8474 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8476 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8478 rm -f core conftest.err conftest.$ac_objext \
8479 conftest$ac_exeext conftest.$ac_ext
8480 LIBS=$ac_check_lib_save_LIBS
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8483 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8484 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8486 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8493 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8494 case "x$with_xrender" in
8495 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8497 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8498 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8502 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 #include <X11/Xlib.h>
8507 #include <X11/extensions/Xrandr.h>
8511 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8516 if ac_fn_c_try_compile "$LINENO"; then :
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8518 $as_echo_n "checking for -lXrandr... " >&6; }
8519 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8520 $as_echo_n "(cached) " >&6
8522 ac_check_soname_save_LIBS=$LIBS
8523 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8527 /* Override any GCC internal prototype to avoid an error.
8528 Use char because int might match the return type of a GCC
8529 builtin and then its argument prototype would still apply. */
8533 char XRRQueryExtension ();
8537 return XRRQueryExtension ();
8542 if ac_fn_c_try_link "$LINENO"; then :
8544 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8545 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'` ;;
8546 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8549 rm -f core conftest.err conftest.$ac_objext \
8550 conftest$ac_exeext conftest.$ac_ext
8551 LIBS=$ac_check_soname_save_LIBS
8553 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8555 $as_echo "not found" >&6; }
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8559 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8561 cat >>confdefs.h <<_ACEOF
8562 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8570 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8571 case "x$with_xrandr" in
8572 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8574 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8575 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8579 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8583 #include <X11/Xlib.h>
8584 #include <X11/extensions/Xinerama.h>
8588 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8593 if ac_fn_c_try_compile "$LINENO"; then :
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8595 $as_echo_n "checking for -lXinerama... " >&6; }
8596 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8597 $as_echo_n "(cached) " >&6
8599 ac_check_soname_save_LIBS=$LIBS
8600 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8604 /* Override any GCC internal prototype to avoid an error.
8605 Use char because int might match the return type of a GCC
8606 builtin and then its argument prototype would still apply. */
8610 char XineramaQueryScreens ();
8614 return XineramaQueryScreens ();
8619 if ac_fn_c_try_link "$LINENO"; then :
8621 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8622 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'` ;;
8623 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8626 rm -f core conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 LIBS=$ac_check_soname_save_LIBS
8630 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8632 $as_echo "not found" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8636 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8638 cat >>confdefs.h <<_ACEOF
8639 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8647 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8648 case "x$with_xinerama" in
8649 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8651 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8652 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8656 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8659 $as_echo_n "checking for -lXcomposite... " >&6; }
8660 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8661 $as_echo_n "(cached) " >&6
8663 ac_check_soname_save_LIBS=$LIBS
8664 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8666 /* end confdefs.h. */
8668 /* Override any GCC internal prototype to avoid an error.
8669 Use char because int might match the return type of a GCC
8670 builtin and then its argument prototype would still apply. */
8674 char XCompositeRedirectWindow ();
8678 return XCompositeRedirectWindow ();
8683 if ac_fn_c_try_link "$LINENO"; then :
8685 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8686 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'` ;;
8687 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8690 rm -f core conftest.err conftest.$ac_objext \
8691 conftest$ac_exeext conftest.$ac_ext
8692 LIBS=$ac_check_soname_save_LIBS
8694 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8696 $as_echo "not found" >&6; }
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8700 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8702 cat >>confdefs.h <<_ACEOF
8703 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8709 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8710 case "x$with_xcomposite" in
8711 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8713 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8714 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8718 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8719 #include <X11/Xlib.h>
8722 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8724 cat >>confdefs.h <<_ACEOF
8725 #define HAVE_XICCALLBACK_CALLBACK 1
8730 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8731 #include <X11/Xlib.h>
8734 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8736 cat >>confdefs.h <<_ACEOF
8737 #define HAVE_XEVENT_XCOOKIE 1
8746 if test "x$with_opengl" != "xno"
8748 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8750 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8751 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8752 # include <GL/glx.h>
8755 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8756 cat >>confdefs.h <<_ACEOF
8757 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8764 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8767 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8768 if ${wine_cv_opengl_header_version_OK+:} false; then :
8769 $as_echo_n "(cached) " >&6
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8777 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8782 if ac_fn_c_try_compile "$LINENO"; then :
8783 wine_cv_opengl_header_version_OK="yes"
8785 wine_cv_opengl_header_version_OK="no"
8787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8790 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8792 if test "$wine_cv_opengl_header_version_OK" = "yes"
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8795 $as_echo_n "checking for -lGL... " >&6; }
8796 if ${ac_cv_lib_soname_GL+:} false; then :
8797 $as_echo_n "(cached) " >&6
8799 ac_check_soname_save_LIBS=$LIBS
8800 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8802 /* end confdefs.h. */
8804 /* Override any GCC internal prototype to avoid an error.
8805 Use char because int might match the return type of a GCC
8806 builtin and then its argument prototype would still apply. */
8810 char glXCreateContext ();
8814 return glXCreateContext ();
8819 if ac_fn_c_try_link "$LINENO"; then :
8821 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8822 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'` ;;
8823 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8826 rm -f core conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8828 LIBS=$ac_check_soname_save_LIBS
8830 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8832 $as_echo "not found" >&6; }
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8834 $as_echo_n "checking for -lGL... " >&6; }
8835 if ${ac_cv_lib_soname_GL+:} false; then :
8836 $as_echo_n "(cached) " >&6
8838 ac_check_soname_save_LIBS=$LIBS
8839 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"
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8843 /* Override any GCC internal prototype to avoid an error.
8844 Use char because int might match the return type of a GCC
8845 builtin and then its argument prototype would still apply. */
8849 char glXCreateContext ();
8853 return glXCreateContext ();
8858 if ac_fn_c_try_link "$LINENO"; then :
8860 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8861 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'` ;;
8862 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8865 rm -f core conftest.err conftest.$ac_objext \
8866 conftest$ac_exeext conftest.$ac_ext
8867 LIBS=$ac_check_soname_save_LIBS
8869 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8871 $as_echo "not found" >&6; }
8872 if test -f /usr/X11R6/lib/libGL.a
8874 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8875 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8877 opengl_msg="No OpenGL library found on this system."
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8881 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8883 cat >>confdefs.h <<_ACEOF
8884 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8887 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"
8889 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8894 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8896 cat >>confdefs.h <<_ACEOF
8897 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8902 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8905 if test "$ac_cv_header_GL_glu_h" = "yes"
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8908 $as_echo_n "checking for -lGLU... " >&6; }
8909 if ${ac_cv_lib_soname_GLU+:} false; then :
8910 $as_echo_n "(cached) " >&6
8912 ac_check_soname_save_LIBS=$LIBS
8913 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8915 /* end confdefs.h. */
8917 /* Override any GCC internal prototype to avoid an error.
8918 Use char because int might match the return type of a GCC
8919 builtin and then its argument prototype would still apply. */
8927 return gluLookAt ();
8932 if ac_fn_c_try_link "$LINENO"; then :
8934 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8935 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'` ;;
8936 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8939 rm -f core conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 LIBS=$ac_check_soname_save_LIBS
8943 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8945 $as_echo "not found" >&6; }
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8949 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8951 cat >>confdefs.h <<_ACEOF
8952 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8958 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8959 case "x$with_glu" in
8960 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8962 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
8963 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8967 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8970 opengl_msg="OpenGL development headers not found."
8972 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
8973 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
8975 enable_opengl32=${enable_opengl32:-no}
8976 enable_glu32=${enable_glu32:-no}
8978 if test -n "$opengl_msg"; then :
8979 case "x$with_opengl" in
8980 x) as_fn_append wine_warnings "|$opengl_msg
8981 OpenGL and Direct3D won't be supported." ;;
8983 *) as_fn_error $? "$opengl_msg
8984 OpenGL and Direct3D won't be supported.
8985 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8989 CPPFLAGS="$ac_save_CPPFLAGS"
8994 enable_winex11_drv=${enable_winex11_drv:-no}
8995 enable_opengl32=${enable_opengl32:-no}
8996 enable_glu32=${enable_glu32:-no}
8998 if test "x$XLIB" = "x"; then :
9001 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9002 without X support, which probably isn't what you want. You will need
9003 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9004 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9008 if test "$ac_cv_header_CL_cl_h" = "yes"
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9011 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9012 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9013 $as_echo_n "(cached) " >&6
9015 ac_check_lib_save_LIBS=$LIBS
9016 LIBS="-lOpenCL $LIBS"
9017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9018 /* end confdefs.h. */
9020 /* Override any GCC internal prototype to avoid an error.
9021 Use char because int might match the return type of a GCC
9022 builtin and then its argument prototype would still apply. */
9026 char clGetPlatformInfo ();
9030 return clGetPlatformInfo ();
9035 if ac_fn_c_try_link "$LINENO"; then :
9036 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9038 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9040 rm -f core conftest.err conftest.$ac_objext \
9041 conftest$ac_exeext conftest.$ac_ext
9042 LIBS=$ac_check_lib_save_LIBS
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9045 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9046 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9047 LIBOPENCL="-lOpenCL"
9052 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9053 case "x$with_opencl" in
9054 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9056 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9057 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9060 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9069 if test "x$with_xml" != "xno"
9071 ac_save_CPPFLAGS="$CPPFLAGS"
9072 if test "$PKG_CONFIG" != "false"
9074 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9075 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9077 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9078 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9080 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9081 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9084 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9086 cat >>confdefs.h <<_ACEOF
9087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9094 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"
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9097 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9098 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9099 $as_echo_n "(cached) " >&6
9101 ac_check_lib_save_LIBS=$LIBS
9102 LIBS="-lxml2 $ac_xml_libs $LIBS"
9103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9104 /* end confdefs.h. */
9106 /* Override any GCC internal prototype to avoid an error.
9107 Use char because int might match the return type of a GCC
9108 builtin and then its argument prototype would still apply. */
9112 char xmlParseMemory ();
9116 return xmlParseMemory ();
9121 if ac_fn_c_try_link "$LINENO"; then :
9122 ac_cv_lib_xml2_xmlParseMemory=yes
9124 ac_cv_lib_xml2_xmlParseMemory=no
9126 rm -f core conftest.err conftest.$ac_objext \
9127 conftest$ac_exeext conftest.$ac_ext
9128 LIBS=$ac_check_lib_save_LIBS
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9131 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9132 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9134 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9136 XML2LIBS="$ac_xml_libs"
9137 XML2INCL="$ac_xml_cflags"
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9141 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9142 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9143 $as_echo_n "(cached) " >&6
9145 ac_check_lib_save_LIBS=$LIBS
9146 LIBS="-lxml2 $ac_xml_libs $LIBS"
9147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9148 /* end confdefs.h. */
9150 /* Override any GCC internal prototype to avoid an error.
9151 Use char because int might match the return type of a GCC
9152 builtin and then its argument prototype would still apply. */
9156 char xmlReadMemory ();
9160 return xmlReadMemory ();
9165 if ac_fn_c_try_link "$LINENO"; then :
9166 ac_cv_lib_xml2_xmlReadMemory=yes
9168 ac_cv_lib_xml2_xmlReadMemory=no
9170 rm -f core conftest.err conftest.$ac_objext \
9171 conftest$ac_exeext conftest.$ac_ext
9172 LIBS=$ac_check_lib_save_LIBS
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9175 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9176 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9178 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9183 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9184 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9185 $as_echo_n "(cached) " >&6
9187 ac_check_lib_save_LIBS=$LIBS
9188 LIBS="-lxml2 $ac_xml_libs $LIBS"
9189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190 /* end confdefs.h. */
9192 /* Override any GCC internal prototype to avoid an error.
9193 Use char because int might match the return type of a GCC
9194 builtin and then its argument prototype would still apply. */
9198 char xmlNewDocPI ();
9202 return xmlNewDocPI ();
9207 if ac_fn_c_try_link "$LINENO"; then :
9208 ac_cv_lib_xml2_xmlNewDocPI=yes
9210 ac_cv_lib_xml2_xmlNewDocPI=no
9212 rm -f core conftest.err conftest.$ac_objext \
9213 conftest$ac_exeext conftest.$ac_ext
9214 LIBS=$ac_check_lib_save_LIBS
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9217 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9218 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9220 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9225 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9226 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9227 $as_echo_n "(cached) " >&6
9229 ac_check_lib_save_LIBS=$LIBS
9230 LIBS="-lxml2 $ac_xml_libs $LIBS"
9231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9240 char xmlSchemaSetParserStructuredErrors ();
9244 return xmlSchemaSetParserStructuredErrors ();
9249 if ac_fn_c_try_link "$LINENO"; then :
9250 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9252 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9254 rm -f core conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9256 LIBS=$ac_check_lib_save_LIBS
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9259 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9260 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9262 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9267 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9268 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9269 $as_echo_n "(cached) " >&6
9271 ac_check_lib_save_LIBS=$LIBS
9272 LIBS="-lxml2 $ac_xml_libs $LIBS"
9273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9274 /* end confdefs.h. */
9276 /* Override any GCC internal prototype to avoid an error.
9277 Use char because int might match the return type of a GCC
9278 builtin and then its argument prototype would still apply. */
9282 char xmlSchemaSetValidStructuredErrors ();
9286 return xmlSchemaSetValidStructuredErrors ();
9291 if ac_fn_c_try_link "$LINENO"; then :
9292 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9294 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9296 rm -f core conftest.err conftest.$ac_objext \
9297 conftest$ac_exeext conftest.$ac_ext
9298 LIBS=$ac_check_lib_save_LIBS
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9301 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9302 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9304 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9309 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9310 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9311 $as_echo_n "(cached) " >&6
9313 ac_check_lib_save_LIBS=$LIBS
9314 LIBS="-lxml2 $ac_xml_libs $LIBS"
9315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9318 /* Override any GCC internal prototype to avoid an error.
9319 Use char because int might match the return type of a GCC
9320 builtin and then its argument prototype would still apply. */
9324 char xmlFirstElementChild ();
9328 return xmlFirstElementChild ();
9333 if ac_fn_c_try_link "$LINENO"; then :
9334 ac_cv_lib_xml2_xmlFirstElementChild=yes
9336 ac_cv_lib_xml2_xmlFirstElementChild=no
9338 rm -f core conftest.err conftest.$ac_objext \
9339 conftest$ac_exeext conftest.$ac_ext
9340 LIBS=$ac_check_lib_save_LIBS
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9343 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9344 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9346 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9350 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9352 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9354 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9359 CPPFLAGS="$ac_save_CPPFLAGS"
9361 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9362 case "x$with_xml" in
9363 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9365 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9366 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9370 if test "x$with_xslt" != "xno"
9372 if test "$PKG_CONFIG" != "false"
9374 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9375 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9377 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9378 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9380 ac_save_CPPFLAGS="$CPPFLAGS"
9381 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9382 for ac_header in libxslt/pattern.h libxslt/transform.h
9384 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9385 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9386 # include <libxslt/pattern.h>
9389 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9390 cat >>confdefs.h <<_ACEOF
9391 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9398 CPPFLAGS="$ac_save_CPPFLAGS"
9399 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9402 $as_echo_n "checking for -lxslt... " >&6; }
9403 if ${ac_cv_lib_soname_xslt+:} false; then :
9404 $as_echo_n "(cached) " >&6
9406 ac_check_soname_save_LIBS=$LIBS
9407 LIBS="-lxslt $ac_xslt_libs $LIBS"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9411 /* Override any GCC internal prototype to avoid an error.
9412 Use char because int might match the return type of a GCC
9413 builtin and then its argument prototype would still apply. */
9417 char xsltCompilePattern ();
9421 return xsltCompilePattern ();
9426 if ac_fn_c_try_link "$LINENO"; then :
9428 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9429 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'` ;;
9430 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 LIBS=$ac_check_soname_save_LIBS
9437 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9439 $as_echo "not found" >&6; }
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9443 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9445 cat >>confdefs.h <<_ACEOF
9446 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9449 XSLTINCL="$ac_xslt_cflags"
9453 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9454 case "x$with_xslt" in
9455 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9457 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9458 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9462 if test "x$with_dbus" != "xno"
9464 ac_save_CPPFLAGS="$CPPFLAGS"
9465 if test "$PKG_CONFIG" != "false"
9467 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9468 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9469 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9471 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9472 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9474 $as_echo_n "checking for -ldbus-1... " >&6; }
9475 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9476 $as_echo_n "(cached) " >&6
9478 ac_check_soname_save_LIBS=$LIBS
9479 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9483 /* Override any GCC internal prototype to avoid an error.
9484 Use char because int might match the return type of a GCC
9485 builtin and then its argument prototype would still apply. */
9489 char dbus_connection_close ();
9493 return dbus_connection_close ();
9498 if ac_fn_c_try_link "$LINENO"; then :
9500 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9501 dylib) ac_cv_lib_soname_dbus_1=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9502 *) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 LIBS=$ac_check_soname_save_LIBS
9509 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9511 $as_echo "not found" >&6; }
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9515 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9517 cat >>confdefs.h <<_ACEOF
9518 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9521 DBUSINCL="$ac_dbus_cflags"
9527 CPPFLAGS="$ac_save_CPPFLAGS"
9529 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9530 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9531 case "x$with_dbus" in
9532 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9534 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9535 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9539 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9541 ac_save_CPPFLAGS="$CPPFLAGS"
9542 if test "$PKG_CONFIG" != "false"
9544 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9545 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9546 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9548 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9549 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9551 $as_echo_n "checking for -lhal... " >&6; }
9552 if ${ac_cv_lib_soname_hal+:} false; then :
9553 $as_echo_n "(cached) " >&6
9555 ac_check_soname_save_LIBS=$LIBS
9556 LIBS="-lhal $ac_hal_libs $LIBS"
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9566 char libhal_ctx_new ();
9570 return libhal_ctx_new ();
9575 if ac_fn_c_try_link "$LINENO"; then :
9577 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9578 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'` ;;
9579 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 LIBS=$ac_check_soname_save_LIBS
9586 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9588 $as_echo "not found" >&6; }
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9592 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9594 cat >>confdefs.h <<_ACEOF
9595 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9598 HALINCL="$ac_hal_cflags"
9604 CPPFLAGS="$ac_save_CPPFLAGS"
9605 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9606 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9607 case "x$with_hal" in
9608 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9610 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9611 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9616 if test "x$with_gnutls" != "xno"
9618 ac_save_CPPFLAGS="$CPPFLAGS"
9619 if test "$PKG_CONFIG" != "false"
9621 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9622 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9623 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9625 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9626 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628 /* end confdefs.h. */
9629 #include <gnutls/gnutls.h>
9633 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9638 if ac_fn_c_try_compile "$LINENO"; then :
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9640 $as_echo_n "checking for -lgnutls... " >&6; }
9641 if ${ac_cv_lib_soname_gnutls+:} false; then :
9642 $as_echo_n "(cached) " >&6
9644 ac_check_soname_save_LIBS=$LIBS
9645 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9647 /* end confdefs.h. */
9649 /* Override any GCC internal prototype to avoid an error.
9650 Use char because int might match the return type of a GCC
9651 builtin and then its argument prototype would still apply. */
9655 char gnutls_global_init ();
9659 return gnutls_global_init ();
9664 if ac_fn_c_try_link "$LINENO"; then :
9666 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9667 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'` ;;
9668 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 LIBS=$ac_check_soname_save_LIBS
9675 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9677 $as_echo "not found" >&6; }
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9681 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9683 cat >>confdefs.h <<_ACEOF
9684 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9687 GNUTLSINCL="$ac_gnutls_cflags"
9691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9695 CPPFLAGS="$ac_save_CPPFLAGS"
9697 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9698 case "x$with_gnutls" in
9699 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9701 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9702 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9707 if test "$ac_cv_header_ncurses_h" = "yes"
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9710 $as_echo_n "checking for -lncurses... " >&6; }
9711 if ${ac_cv_lib_soname_ncurses+:} false; then :
9712 $as_echo_n "(cached) " >&6
9714 ac_check_soname_save_LIBS=$LIBS
9715 LIBS="-lncurses $LIBS"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9719 /* Override any GCC internal prototype to avoid an error.
9720 Use char because int might match the return type of a GCC
9721 builtin and then its argument prototype would still apply. */
9734 if ac_fn_c_try_link "$LINENO"; then :
9736 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9737 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'` ;;
9738 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9741 rm -f core conftest.err conftest.$ac_objext \
9742 conftest$ac_exeext conftest.$ac_ext
9743 LIBS=$ac_check_soname_save_LIBS
9745 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9747 $as_echo "not found" >&6; }
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9751 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9753 cat >>confdefs.h <<_ACEOF
9754 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9757 CURSESLIBS="-lncurses"
9759 elif test "$ac_cv_header_curses_h" = "yes"
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9762 $as_echo_n "checking for -lcurses... " >&6; }
9763 if ${ac_cv_lib_soname_curses+:} false; then :
9764 $as_echo_n "(cached) " >&6
9766 ac_check_soname_save_LIBS=$LIBS
9767 LIBS="-lcurses $LIBS"
9768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9771 /* Override any GCC internal prototype to avoid an error.
9772 Use char because int might match the return type of a GCC
9773 builtin and then its argument prototype would still apply. */
9786 if ac_fn_c_try_link "$LINENO"; then :
9788 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9789 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'` ;;
9790 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 LIBS=$ac_check_soname_save_LIBS
9797 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9799 $as_echo "not found" >&6; }
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9803 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9805 cat >>confdefs.h <<_ACEOF
9806 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9809 CURSESLIBS="-lcurses"
9812 ac_save_LIBS="$LIBS"
9813 LIBS="$LIBS $CURSESLIBS"
9814 for ac_func in mousemask
9816 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9817 if test "x$ac_cv_func_mousemask" = xyes; then :
9818 cat >>confdefs.h <<_ACEOF
9819 #define HAVE_MOUSEMASK 1
9825 LIBS="$ac_save_LIBS"
9826 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9827 case "x$with_curses" in
9828 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9830 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9831 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9835 if test "x$with_sane" != "xno"
9837 ac_save_CPPFLAGS="$CPPFLAGS"
9838 # Extract the first word of "sane-config", so it can be a program name with args.
9839 set dummy sane-config; ac_word=$2
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9841 $as_echo_n "checking for $ac_word... " >&6; }
9842 if ${ac_cv_prog_sane_devel+:} false; then :
9843 $as_echo_n "(cached) " >&6
9845 if test -n "$sane_devel"; then
9846 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9852 test -z "$as_dir" && as_dir=.
9853 for ac_exec_ext in '' $ac_executable_extensions; do
9854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9855 ac_cv_prog_sane_devel="sane-config"
9856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9863 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9866 sane_devel=$ac_cv_prog_sane_devel
9867 if test -n "$sane_devel"; then
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9869 $as_echo "$sane_devel" >&6; }
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9872 $as_echo "no" >&6; }
9876 if test "$sane_devel" != "no"
9878 ac_sane_incl="`$sane_devel --cflags`"
9879 ac_sane_libs="`$sane_devel --ldflags`"
9880 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9882 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9883 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9885 $as_echo_n "checking for -lsane... " >&6; }
9886 if ${ac_cv_lib_soname_sane+:} false; then :
9887 $as_echo_n "(cached) " >&6
9889 ac_check_soname_save_LIBS=$LIBS
9890 LIBS="-lsane $ac_sane_libs $LIBS"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9904 return sane_init ();
9909 if ac_fn_c_try_link "$LINENO"; then :
9911 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9912 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'` ;;
9913 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 LIBS=$ac_check_soname_save_LIBS
9920 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9922 $as_echo "not found" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9926 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9928 cat >>confdefs.h <<_ACEOF
9929 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9932 SANEINCL="$ac_sane_incl"
9938 CPPFLAGS="$ac_save_CPPFLAGS"
9940 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9941 case "x$with_sane" in
9942 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9944 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
9945 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9949 if test "x$with_v4l" != "xno"
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9952 $as_echo_n "checking for -lv4l1... " >&6; }
9953 if ${ac_cv_lib_soname_v4l1+:} false; then :
9954 $as_echo_n "(cached) " >&6
9956 ac_check_soname_save_LIBS=$LIBS
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9961 /* Override any GCC internal prototype to avoid an error.
9962 Use char because int might match the return type of a GCC
9963 builtin and then its argument prototype would still apply. */
9971 return v4l1_open ();
9976 if ac_fn_c_try_link "$LINENO"; then :
9978 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9979 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'` ;;
9980 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9983 rm -f core conftest.err conftest.$ac_objext \
9984 conftest$ac_exeext conftest.$ac_ext
9985 LIBS=$ac_check_soname_save_LIBS
9987 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9989 $as_echo "not found" >&6; }
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9993 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9995 cat >>confdefs.h <<_ACEOF
9996 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10002 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10003 case "x$with_v4l" in
10004 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10006 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10007 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10011 if test "x$with_gphoto" != "xno"
10013 ac_save_CPPFLAGS="$CPPFLAGS"
10014 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10015 set dummy gphoto2-config; ac_word=$2
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10017 $as_echo_n "checking for $ac_word... " >&6; }
10018 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10019 $as_echo_n "(cached) " >&6
10021 if test -n "$gphoto2_devel"; then
10022 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10025 for as_dir in $PATH
10028 test -z "$as_dir" && as_dir=.
10029 for ac_exec_ext in '' $ac_executable_extensions; do
10030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10031 ac_cv_prog_gphoto2_devel="gphoto2-config"
10032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10039 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10042 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10043 if test -n "$gphoto2_devel"; then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10045 $as_echo "$gphoto2_devel" >&6; }
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10048 $as_echo "no" >&6; }
10052 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10053 set dummy gphoto2-port-config; ac_word=$2
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10055 $as_echo_n "checking for $ac_word... " >&6; }
10056 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10057 $as_echo_n "(cached) " >&6
10059 if test -n "$gphoto2port_devel"; then
10060 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10063 for as_dir in $PATH
10066 test -z "$as_dir" && as_dir=.
10067 for ac_exec_ext in '' $ac_executable_extensions; do
10068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10069 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10077 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10080 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10081 if test -n "$gphoto2port_devel"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10083 $as_echo "$gphoto2port_devel" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10086 $as_echo "no" >&6; }
10090 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10092 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10094 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10097 -L/usr/lib|-L/usr/lib64) ;;
10098 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10101 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10103 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10104 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10105 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10107 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10108 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10109 $as_echo_n "(cached) " >&6
10111 ac_check_lib_save_LIBS=$LIBS
10112 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10122 char gp_camera_new ();
10126 return gp_camera_new ();
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 ac_cv_lib_gphoto2_gp_camera_new=yes
10134 ac_cv_lib_gphoto2_gp_camera_new=no
10136 rm -f core conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10141 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10142 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10144 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10146 GPHOTO2LIBS="$ac_gphoto2_libs"
10148 GPHOTO2INCL="$ac_gphoto2_incl"
10155 CPPFLAGS="$ac_save_CPPFLAGS"
10157 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10158 case "x$with_gphoto" in
10159 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10161 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10162 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10167 if test "$ac_cv_header_resolv_h" = "yes"
10169 ac_save_LIBS="$LIBS"
10170 for lib in '' -lresolv
10172 LIBS="$lib $ac_save_LIBS"
10173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10174 /* end confdefs.h. */
10175 #ifdef HAVE_NETINET_IN_H
10176 #include <netinet/in.h>
10178 #include <resolv.h>
10182 res_query("foo",ns_c_in,0,0,0);
10187 if ac_fn_c_try_link "$LINENO"; then :
10189 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 if test "${RESOLVLIBS+set}" = set; then
10200 LIBS="$ac_save_LIBS"
10205 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10208 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10209 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10210 $as_echo_n "(cached) " >&6
10212 ac_check_lib_save_LIBS=$LIBS
10213 LIBS="-llcms $LIBS"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10217 /* Override any GCC internal prototype to avoid an error.
10218 Use char because int might match the return type of a GCC
10219 builtin and then its argument prototype would still apply. */
10223 char cmsOpenProfileFromFile ();
10227 return cmsOpenProfileFromFile ();
10232 if ac_fn_c_try_link "$LINENO"; then :
10233 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10235 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10237 rm -f core conftest.err conftest.$ac_objext \
10238 conftest$ac_exeext conftest.$ac_ext
10239 LIBS=$ac_check_lib_save_LIBS
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10242 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10243 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10245 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10251 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10252 case "x$with_cms" in
10253 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10255 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10256 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10260 if test "x$with_freetype" != "xno"
10262 for ac_prog in freetype-config freetype2-config
10264 # Extract the first word of "$ac_prog", so it can be a program name with args.
10265 set dummy $ac_prog; ac_word=$2
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10267 $as_echo_n "checking for $ac_word... " >&6; }
10268 if ${ac_cv_prog_ft_devel+:} false; then :
10269 $as_echo_n "(cached) " >&6
10271 if test -n "$ft_devel"; then
10272 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10275 for as_dir in $PATH
10278 test -z "$as_dir" && as_dir=.
10279 for ac_exec_ext in '' $ac_executable_extensions; do
10280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10281 ac_cv_prog_ft_devel="$ac_prog"
10282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 ft_devel=$ac_cv_prog_ft_devel
10292 if test -n "$ft_devel"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10294 $as_echo "$ft_devel" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10297 $as_echo "no" >&6; }
10301 test -n "$ft_devel" && break
10303 test -n "$ft_devel" || ft_devel="no"
10305 if test "$ft_devel" != "no"
10307 ac_freetype_incl=`$ft_devel --cflags`
10308 ac_freetype_libs=`$ft_devel --libs`
10310 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10312 $as_echo_n "checking for -lfreetype... " >&6; }
10313 if ${ac_cv_lib_soname_freetype+:} false; then :
10314 $as_echo_n "(cached) " >&6
10316 ac_check_soname_save_LIBS=$LIBS
10317 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319 /* end confdefs.h. */
10321 /* Override any GCC internal prototype to avoid an error.
10322 Use char because int might match the return type of a GCC
10323 builtin and then its argument prototype would still apply. */
10327 char FT_Init_FreeType ();
10331 return FT_Init_FreeType ();
10336 if ac_fn_c_try_link "$LINENO"; then :
10338 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10339 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'` ;;
10340 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10343 rm -f core conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 LIBS=$ac_check_soname_save_LIBS
10347 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10349 $as_echo "not found" >&6; }
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10353 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10355 cat >>confdefs.h <<_ACEOF
10356 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10361 if test "$ft_lib" = "yes"
10363 ac_save_CPPFLAGS="$CPPFLAGS"
10364 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10365 for ac_header in ft2build.h \
10366 freetype/freetype.h \
10367 freetype/ftglyph.h \
10368 freetype/fttypes.h \
10369 freetype/tttables.h \
10370 freetype/ftsnames.h \
10371 freetype/ttnameid.h \
10372 freetype/ftoutln.h \
10373 freetype/ftwinfnt.h \
10374 freetype/ftmodapi.h \
10375 freetype/ftlcdfil.h
10377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10378 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10379 # include <ft2build.h>
10382 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10383 cat >>confdefs.h <<_ACEOF
10384 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10392 /* end confdefs.h. */
10393 #include <ft2build.h>
10394 #include <freetype/fttrigon.h>
10396 if ac_fn_c_try_cpp "$LINENO"; then :
10398 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10400 wine_cv_fttrigon=yes
10402 wine_cv_fttrigon=no
10404 rm -f conftest.err conftest.i conftest.$ac_ext
10405 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10407 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10409 cat >>confdefs.h <<_ACEOF
10410 #define HAVE_FT_TRUETYPEENGINETYPE 1
10416 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10419 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10421 FREETYPELIBS="$ac_freetype_libs"
10423 FREETYPEINCL="$ac_freetype_incl"
10428 if test "x$FREETYPELIBS" = "x"; then :
10429 case "x$with_freetype" in
10431 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10432 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10435 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10438 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10439 if ${ac_cv_c_ppdev+:} false; then :
10440 $as_echo_n "(cached) " >&6
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h. */
10444 #ifdef HAVE_SYS_IOCTL_H
10445 # include <sys/ioctl.h>
10447 #include <linux/ppdev.h>
10451 ioctl (1,PPCLAIM,0)
10456 if ac_fn_c_try_compile "$LINENO"; then :
10457 ac_cv_c_ppdev="yes"
10461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10464 $as_echo "$ac_cv_c_ppdev" >&6; }
10465 if test "$ac_cv_c_ppdev" = "yes"
10468 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10472 ac_wine_check_funcs_save_LIBS="$LIBS"
10473 LIBS="$LIBS $LIBPTHREAD"
10475 pthread_attr_get_np \
10476 pthread_getattr_np \
10477 pthread_get_stackaddr_np \
10478 pthread_get_stacksize_np
10480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10482 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10483 cat >>confdefs.h <<_ACEOF
10484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10490 LIBS="$ac_wine_check_funcs_save_LIBS"
10492 if test "$ac_cv_header_zlib_h" = "yes"
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10495 $as_echo_n "checking for inflate in -lz... " >&6; }
10496 if ${ac_cv_lib_z_inflate+:} false; then :
10497 $as_echo_n "(cached) " >&6
10499 ac_check_lib_save_LIBS=$LIBS
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10504 /* Override any GCC internal prototype to avoid an error.
10505 Use char because int might match the return type of a GCC
10506 builtin and then its argument prototype would still apply. */
10519 if ac_fn_c_try_link "$LINENO"; then :
10520 ac_cv_lib_z_inflate=yes
10522 ac_cv_lib_z_inflate=no
10524 rm -f core conftest.err conftest.$ac_objext \
10525 conftest$ac_exeext conftest.$ac_ext
10526 LIBS=$ac_check_lib_save_LIBS
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10529 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10530 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10532 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10539 if test "x$ZLIB" = "x"; then :
10540 case "x$with_zlib" in
10541 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10543 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10544 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10548 if test "x$enable_tools" != xno
10550 if test "$ac_cv_header_gettext_po_h" = "yes"
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10553 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10554 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10555 $as_echo_n "(cached) " >&6
10557 ac_check_lib_save_LIBS=$LIBS
10558 LIBS="-lgettextpo $LIBS"
10559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10560 /* end confdefs.h. */
10562 /* Override any GCC internal prototype to avoid an error.
10563 Use char because int might match the return type of a GCC
10564 builtin and then its argument prototype would still apply. */
10568 char po_message_msgctxt ();
10572 return po_message_msgctxt ();
10577 if ac_fn_c_try_link "$LINENO"; then :
10578 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10580 ac_cv_lib_gettextpo_po_message_msgctxt=no
10582 rm -f core conftest.err conftest.$ac_objext \
10583 conftest$ac_exeext conftest.$ac_ext
10584 LIBS=$ac_check_lib_save_LIBS
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10587 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10588 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10590 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10592 LIBGETTEXTPO="-lgettextpo"
10597 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10598 case "x$with_gettextpo" in
10599 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10601 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10602 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10607 if test "x$with_gstreamer" != "xno"
10609 ac_save_CPPFLAGS="$CPPFLAGS"
10610 if test "$PKG_CONFIG" != "false"; then
10612 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10615 -I*) ac_gst_incl="$ac_gst_incl $i";;
10618 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10619 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10620 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10621 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10622 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10623 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10625 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10627 /* end confdefs.h. */
10628 #include <gst/app/gstappsink.h>
10632 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10637 if ac_fn_c_try_compile "$LINENO"; then :
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10639 $as_echo "yes" >&6; }
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10641 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10642 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10643 $as_echo_n "(cached) " >&6
10645 ac_check_lib_save_LIBS=$LIBS
10646 LIBS="-lgstreamer-0.10 $LIBS"
10647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10656 char gst_pad_get_caps_reffed ();
10660 return gst_pad_get_caps_reffed ();
10665 if ac_fn_c_try_link "$LINENO"; then :
10666 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10668 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10670 rm -f core conftest.err conftest.$ac_objext \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10675 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10676 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10678 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10679 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10680 $as_echo_n "(cached) " >&6
10682 ac_check_lib_save_LIBS=$LIBS
10683 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10687 /* Override any GCC internal prototype to avoid an error.
10688 Use char because int might match the return type of a GCC
10689 builtin and then its argument prototype would still apply. */
10693 char gst_app_buffer_new ();
10697 return gst_app_buffer_new ();
10702 if ac_fn_c_try_link "$LINENO"; then :
10703 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10705 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10707 rm -f core conftest.err conftest.$ac_objext \
10708 conftest$ac_exeext conftest.$ac_ext
10709 LIBS=$ac_check_lib_save_LIBS
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10712 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10713 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10714 GSTREAMER_LIBS="$ac_gst_libs"
10716 GSTREAMER_INCL="$ac_gst_incl"
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10724 $as_echo "no" >&6; }
10726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10734 CPPFLAGS="$ac_save_CPPFLAGS"
10736 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10737 case "x$with_gstreamer" in
10738 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10740 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10741 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10744 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10748 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10751 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10752 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10753 $as_echo_n "(cached) " >&6
10755 ac_check_lib_save_LIBS=$LIBS
10756 LIBS="-lasound $LIBS"
10757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10760 /* Override any GCC internal prototype to avoid an error.
10761 Use char because int might match the return type of a GCC
10762 builtin and then its argument prototype would still apply. */
10766 char snd_pcm_hw_params_get_access_mask ();
10770 return snd_pcm_hw_params_get_access_mask ();
10775 if ac_fn_c_try_link "$LINENO"; then :
10776 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
10778 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
10780 rm -f core conftest.err conftest.$ac_objext \
10781 conftest$ac_exeext conftest.$ac_ext
10782 LIBS=$ac_check_lib_save_LIBS
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10785 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10786 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
10787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10788 /* end confdefs.h. */
10789 #ifdef HAVE_ALSA_ASOUNDLIB_H
10790 #include <alsa/asoundlib.h>
10791 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10792 #include <sys/asoundlib.h>
10797 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10802 if ac_fn_c_try_compile "$LINENO"; then :
10803 ALSALIBS="-lasound"
10805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10810 if test "x$with_oss" != xno
10812 ac_save_CPPFLAGS="$CPPFLAGS"
10813 if test -f /etc/oss.conf
10817 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10818 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
10819 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10820 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
10821 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10823 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
10825 cat >>confdefs.h <<_ACEOF
10826 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10829 OSS4INCL="$ac_oss_incl"
10836 CPPFLAGS="$ac_save_CPPFLAGS"
10837 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10839 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10844 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10847 $as_echo_n "checking for -lcapi20... " >&6; }
10848 if ${ac_cv_lib_soname_capi20+:} false; then :
10849 $as_echo_n "(cached) " >&6
10851 ac_check_soname_save_LIBS=$LIBS
10852 LIBS="-lcapi20 $LIBS"
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10856 /* Override any GCC internal prototype to avoid an error.
10857 Use char because int might match the return type of a GCC
10858 builtin and then its argument prototype would still apply. */
10862 char capi20_register ();
10866 return capi20_register ();
10871 if ac_fn_c_try_link "$LINENO"; then :
10873 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10874 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'` ;;
10875 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10878 rm -f core conftest.err conftest.$ac_objext \
10879 conftest$ac_exeext conftest.$ac_ext
10880 LIBS=$ac_check_soname_save_LIBS
10882 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10884 $as_echo "not found" >&6; }
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10888 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10890 cat >>confdefs.h <<_ACEOF
10891 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10897 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10898 case "x$with_capi" in
10899 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10901 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10902 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10908 if test "x$with_cups" != "xno"
10910 ac_save_CPPFLAGS="$CPPFLAGS"
10911 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
10912 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
10913 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
10914 for ac_header in cups/cups.h
10916 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10917 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
10918 cat >>confdefs.h <<_ACEOF
10919 #define HAVE_CUPS_CUPS_H 1
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10922 $as_echo_n "checking for -lcups... " >&6; }
10923 if ${ac_cv_lib_soname_cups+:} false; then :
10924 $as_echo_n "(cached) " >&6
10926 ac_check_soname_save_LIBS=$LIBS
10927 LIBS="-lcups $ac_cups_libs $LIBS"
10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10929 /* end confdefs.h. */
10931 /* Override any GCC internal prototype to avoid an error.
10932 Use char because int might match the return type of a GCC
10933 builtin and then its argument prototype would still apply. */
10937 char cupsGetDefault ();
10941 return cupsGetDefault ();
10946 if ac_fn_c_try_link "$LINENO"; then :
10948 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10949 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'` ;;
10950 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS=$ac_check_soname_save_LIBS
10957 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10959 $as_echo "not found" >&6; }
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10963 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10965 cat >>confdefs.h <<_ACEOF
10966 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10969 CUPSINCL="$ac_cups_cflags"
10975 CPPFLAGS="$ac_save_CPPFLAGS"
10977 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10978 case "x$with_cups" in
10979 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10981 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
10982 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10986 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10989 $as_echo_n "checking for -lfontconfig... " >&6; }
10990 if ${ac_cv_lib_soname_fontconfig+:} false; then :
10991 $as_echo_n "(cached) " >&6
10993 ac_check_soname_save_LIBS=$LIBS
10994 LIBS="-lfontconfig $LIBS"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11013 if ac_fn_c_try_link "$LINENO"; then :
11015 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11016 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'` ;;
11017 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11020 rm -f core conftest.err conftest.$ac_objext \
11021 conftest$ac_exeext conftest.$ac_ext
11022 LIBS=$ac_check_soname_save_LIBS
11024 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11026 $as_echo "not found" >&6; }
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11030 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11032 cat >>confdefs.h <<_ACEOF
11033 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11038 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11040 ac_save_CPPFLAGS="$CPPFLAGS"
11041 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11042 $as_unset ac_cv_header_fontconfig_fontconfig_h
11043 for ac_header in fontconfig/fontconfig.h
11045 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11046 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11047 cat >>confdefs.h <<_ACEOF
11048 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11055 CPPFLAGS="$ac_save_CPPFLAGS"
11056 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11058 FONTCONFIGINCL="$X_CFLAGS"
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11061 $as_echo_n "checking for -lfontconfig... " >&6; }
11062 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11063 $as_echo_n "(cached) " >&6
11065 ac_check_soname_save_LIBS=$LIBS
11066 LIBS="-lfontconfig $X_LIBS $LIBS"
11067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11068 /* end confdefs.h. */
11070 /* Override any GCC internal prototype to avoid an error.
11071 Use char because int might match the return type of a GCC
11072 builtin and then its argument prototype would still apply. */
11085 if ac_fn_c_try_link "$LINENO"; then :
11087 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11088 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'` ;;
11089 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11092 rm -f core conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094 LIBS=$ac_check_soname_save_LIBS
11096 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11098 $as_echo "not found" >&6; }
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11102 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11104 cat >>confdefs.h <<_ACEOF
11105 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11112 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11113 case "x$with_fontconfig" in
11114 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11116 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11117 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11121 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11124 $as_echo_n "checking for -lssl... " >&6; }
11125 if ${ac_cv_lib_soname_ssl+:} false; then :
11126 $as_echo_n "(cached) " >&6
11128 ac_check_soname_save_LIBS=$LIBS
11130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11131 /* end confdefs.h. */
11133 /* Override any GCC internal prototype to avoid an error.
11134 Use char because int might match the return type of a GCC
11135 builtin and then its argument prototype would still apply. */
11139 char SSL_library_init ();
11143 return SSL_library_init ();
11148 if ac_fn_c_try_link "$LINENO"; then :
11150 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11151 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'` ;;
11152 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11155 rm -f core conftest.err conftest.$ac_objext \
11156 conftest$ac_exeext conftest.$ac_ext
11157 LIBS=$ac_check_soname_save_LIBS
11159 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11161 $as_echo "not found" >&6; }
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11165 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11167 cat >>confdefs.h <<_ACEOF
11168 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11174 $as_echo_n "checking for -lcrypto... " >&6; }
11175 if ${ac_cv_lib_soname_crypto+:} false; then :
11176 $as_echo_n "(cached) " >&6
11178 ac_check_soname_save_LIBS=$LIBS
11179 LIBS="-lcrypto $LIBS"
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h. */
11183 /* Override any GCC internal prototype to avoid an error.
11184 Use char because int might match the return type of a GCC
11185 builtin and then its argument prototype would still apply. */
11189 char BIO_new_socket ();
11193 return BIO_new_socket ();
11198 if ac_fn_c_try_link "$LINENO"; then :
11200 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11201 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'` ;;
11202 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11205 rm -f core conftest.err conftest.$ac_objext \
11206 conftest$ac_exeext conftest.$ac_ext
11207 LIBS=$ac_check_soname_save_LIBS
11209 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11211 $as_echo "not found" >&6; }
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11215 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11217 cat >>confdefs.h <<_ACEOF
11218 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11224 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11225 case "x$with_openssl" in
11226 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11228 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11229 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11233 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11236 $as_echo_n "checking for -lgsm... " >&6; }
11237 if ${ac_cv_lib_soname_gsm+:} false; then :
11238 $as_echo_n "(cached) " >&6
11240 ac_check_soname_save_LIBS=$LIBS
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11251 char gsm_create ();
11255 return gsm_create ();
11260 if ac_fn_c_try_link "$LINENO"; then :
11262 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11263 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'` ;;
11264 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11267 rm -f core conftest.err conftest.$ac_objext \
11268 conftest$ac_exeext conftest.$ac_ext
11269 LIBS=$ac_check_soname_save_LIBS
11271 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11273 $as_echo "not found" >&6; }
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11277 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11279 cat >>confdefs.h <<_ACEOF
11280 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11286 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11287 case "x$with_gsm" in
11288 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11290 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11291 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11295 if test "$ac_cv_header_jpeglib_h" = "yes"
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11298 $as_echo_n "checking for -ljpeg... " >&6; }
11299 if ${ac_cv_lib_soname_jpeg+:} false; then :
11300 $as_echo_n "(cached) " >&6
11302 ac_check_soname_save_LIBS=$LIBS
11303 LIBS="-ljpeg $LIBS"
11304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11305 /* end confdefs.h. */
11307 /* Override any GCC internal prototype to avoid an error.
11308 Use char because int might match the return type of a GCC
11309 builtin and then its argument prototype would still apply. */
11313 char jpeg_start_decompress ();
11317 return jpeg_start_decompress ();
11322 if ac_fn_c_try_link "$LINENO"; then :
11324 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11325 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'` ;;
11326 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11329 rm -f core conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11331 LIBS=$ac_check_soname_save_LIBS
11333 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11335 $as_echo "not found" >&6; }
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11339 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11341 cat >>confdefs.h <<_ACEOF
11342 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11348 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11349 case "x$with_jpeg" in
11350 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11352 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11353 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11357 if test "$ac_cv_header_png_h" = "yes"
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11360 $as_echo_n "checking for -lpng... " >&6; }
11361 if ${ac_cv_lib_soname_png+:} false; then :
11362 $as_echo_n "(cached) " >&6
11364 ac_check_soname_save_LIBS=$LIBS
11365 LIBS="-lpng -lm -lz $LIBS"
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11375 char png_create_read_struct ();
11379 return png_create_read_struct ();
11384 if ac_fn_c_try_link "$LINENO"; then :
11386 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11387 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'` ;;
11388 *) 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'` ;;
11391 rm -f core conftest.err conftest.$ac_objext \
11392 conftest$ac_exeext conftest.$ac_ext
11393 LIBS=$ac_check_soname_save_LIBS
11395 if test "x$ac_cv_lib_soname_png" = "x"; then :
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11397 $as_echo "not found" >&6; }
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11401 $as_echo "$ac_cv_lib_soname_png" >&6; }
11403 cat >>confdefs.h <<_ACEOF
11404 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11410 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11411 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11412 $as_echo_n "(cached) " >&6
11414 ac_check_lib_save_LIBS=$LIBS
11415 LIBS="-lpng -lm -lz $LIBS"
11416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11417 /* end confdefs.h. */
11419 /* Override any GCC internal prototype to avoid an error.
11420 Use char because int might match the return type of a GCC
11421 builtin and then its argument prototype would still apply. */
11425 char png_set_expand_gray_1_2_4_to_8 ();
11429 return png_set_expand_gray_1_2_4_to_8 ();
11434 if ac_fn_c_try_link "$LINENO"; then :
11435 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11437 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11439 rm -f core conftest.err conftest.$ac_objext \
11440 conftest$ac_exeext conftest.$ac_ext
11441 LIBS=$ac_check_lib_save_LIBS
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11444 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11445 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11447 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11452 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11454 ac_save_CPPFLAGS="$CPPFLAGS"
11455 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11456 $as_unset ac_cv_header_png_h
11457 for ac_header in png.h
11459 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11460 if test "x$ac_cv_header_png_h" = xyes; then :
11461 cat >>confdefs.h <<_ACEOF
11462 #define HAVE_PNG_H 1
11469 CPPFLAGS="$ac_save_CPPFLAGS"
11470 if test "$ac_cv_header_png_h" = "yes"
11472 PNGINCL="$X_CFLAGS"
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11475 $as_echo_n "checking for -lpng... " >&6; }
11476 if ${ac_cv_lib_soname_png+:} false; then :
11477 $as_echo_n "(cached) " >&6
11479 ac_check_soname_save_LIBS=$LIBS
11480 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11490 char png_create_read_struct ();
11494 return png_create_read_struct ();
11499 if ac_fn_c_try_link "$LINENO"; then :
11501 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) 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'` ;;
11506 rm -f core conftest.err conftest.$ac_objext \
11507 conftest$ac_exeext conftest.$ac_ext
11508 LIBS=$ac_check_soname_save_LIBS
11510 if test "x$ac_cv_lib_soname_png" = "x"; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11512 $as_echo "not found" >&6; }
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11516 $as_echo "$ac_cv_lib_soname_png" >&6; }
11518 cat >>confdefs.h <<_ACEOF
11519 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11525 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11526 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11527 $as_echo_n "(cached) " >&6
11529 ac_check_lib_save_LIBS=$LIBS
11530 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11540 char png_set_expand_gray_1_2_4_to_8 ();
11544 return png_set_expand_gray_1_2_4_to_8 ();
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11552 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11559 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11560 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11561 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11567 if test "x$ac_cv_lib_soname_png" = "x"; then :
11568 case "x$with_png" in
11569 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11571 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11572 This is an error since --with-png was requested." "$LINENO" 5 ;;
11576 if test "$ac_cv_header_tiffio_h" = "yes"
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11579 $as_echo_n "checking for -ltiff... " >&6; }
11580 if ${ac_cv_lib_soname_tiff+:} false; then :
11581 $as_echo_n "(cached) " >&6
11583 ac_check_soname_save_LIBS=$LIBS
11584 LIBS="-ltiff $LIBS"
11585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h. */
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11594 char TIFFClientOpen ();
11598 return TIFFClientOpen ();
11603 if ac_fn_c_try_link "$LINENO"; then :
11605 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11606 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'` ;;
11607 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11610 rm -f core conftest.err conftest.$ac_objext \
11611 conftest$ac_exeext conftest.$ac_ext
11612 LIBS=$ac_check_soname_save_LIBS
11614 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11616 $as_echo "not found" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11620 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11622 cat >>confdefs.h <<_ACEOF
11623 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11629 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11630 case "x$with_tiff" in
11631 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11633 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11634 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11638 if test "$ac_cv_header_mpg123_h" = "yes"
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11641 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11642 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11643 $as_echo_n "(cached) " >&6
11645 ac_check_lib_save_LIBS=$LIBS
11646 LIBS="-lmpg123 $LIBS"
11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11648 /* end confdefs.h. */
11650 /* Override any GCC internal prototype to avoid an error.
11651 Use char because int might match the return type of a GCC
11652 builtin and then its argument prototype would still apply. */
11656 char mpg123_feed ();
11660 return mpg123_feed ();
11665 if ac_fn_c_try_link "$LINENO"; then :
11666 ac_cv_lib_mpg123_mpg123_feed=yes
11668 ac_cv_lib_mpg123_mpg123_feed=no
11670 rm -f core conftest.err conftest.$ac_objext \
11671 conftest$ac_exeext conftest.$ac_ext
11672 LIBS=$ac_check_lib_save_LIBS
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11675 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11676 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11677 LIBMPG123="-lmpg123"
11682 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11683 case "x$with_mpg123" in
11684 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11686 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11687 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11690 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}
11692 if test "$ac_cv_header_AL_al_h" = "yes"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11695 $as_echo_n "checking for -lopenal... " >&6; }
11696 if ${ac_cv_lib_soname_openal+:} false; then :
11697 $as_echo_n "(cached) " >&6
11699 ac_check_soname_save_LIBS=$LIBS
11700 LIBS="-lopenal $LIBS"
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h. */
11704 /* Override any GCC internal prototype to avoid an error.
11705 Use char because int might match the return type of a GCC
11706 builtin and then its argument prototype would still apply. */
11710 char alGetSource3i ();
11714 return alGetSource3i ();
11719 if ac_fn_c_try_link "$LINENO"; then :
11721 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11722 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'` ;;
11723 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11726 rm -f core conftest.err conftest.$ac_objext \
11727 conftest$ac_exeext conftest.$ac_ext
11728 LIBS=$ac_check_soname_save_LIBS
11730 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11732 $as_echo "not found" >&6; }
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11736 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11738 cat >>confdefs.h <<_ACEOF
11739 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11742 LIBOPENAL="-lopenal"
11744 ac_cv_lib_openal=yes
11746 cat >>confdefs.h <<_ACEOF
11747 #define HAVE_OPENAL 1
11752 if test "x$ac_cv_lib_openal" != xyes; then :
11753 case "x$with_openal" in
11754 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11756 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11757 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11760 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
11762 if test "$ac_cv_header_kstat_h" = "yes"
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11765 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11766 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
11767 $as_echo_n "(cached) " >&6
11769 ac_check_lib_save_LIBS=$LIBS
11770 LIBS="-lkstat $LIBS"
11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11772 /* end confdefs.h. */
11774 /* Override any GCC internal prototype to avoid an error.
11775 Use char because int might match the return type of a GCC
11776 builtin and then its argument prototype would still apply. */
11780 char kstat_open ();
11784 return kstat_open ();
11789 if ac_fn_c_try_link "$LINENO"; then :
11790 ac_cv_lib_kstat_kstat_open=yes
11792 ac_cv_lib_kstat_kstat_open=no
11794 rm -f core conftest.err conftest.$ac_objext \
11795 conftest$ac_exeext conftest.$ac_ext
11796 LIBS=$ac_check_lib_save_LIBS
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11799 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11800 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
11802 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11811 $as_echo_n "checking for -lodbc... " >&6; }
11812 if ${ac_cv_lib_soname_odbc+:} false; then :
11813 $as_echo_n "(cached) " >&6
11815 ac_check_soname_save_LIBS=$LIBS
11816 LIBS="-lodbc $LIBS"
11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11820 /* Override any GCC internal prototype to avoid an error.
11821 Use char because int might match the return type of a GCC
11822 builtin and then its argument prototype would still apply. */
11826 char SQLConnect ();
11830 return SQLConnect ();
11835 if ac_fn_c_try_link "$LINENO"; then :
11837 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11838 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'` ;;
11839 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11842 rm -f core conftest.err conftest.$ac_objext \
11843 conftest$ac_exeext conftest.$ac_ext
11844 LIBS=$ac_check_soname_save_LIBS
11846 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11848 $as_echo "not found" >&6; }
11849 cat >>confdefs.h <<_ACEOF
11850 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11855 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11857 cat >>confdefs.h <<_ACEOF
11858 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11864 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
11865 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
11866 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
11867 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
11869 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11870 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
11871 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11873 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
11879 if test "x${GCC}" = "xyes"
11881 EXTRACFLAGS="-Wall -pipe"
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11884 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11885 if ${ac_cv_c_gcc_strength_bug+:} false; then :
11886 $as_echo_n "(cached) " >&6
11888 if test "$cross_compiling" = yes; then :
11889 ac_cv_c_gcc_strength_bug="yes"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11893 int L[4] = {0,1,2,3};
11897 static int Array[3];
11898 unsigned int B = 3;
11900 for(i=0; i<B; i++) Array[i] = i - 3;
11901 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11903 return (Array[1] != -2 || L[2] != 3)
11908 if ac_fn_c_try_run "$LINENO"; then :
11909 ac_cv_c_gcc_strength_bug="no"
11911 ac_cv_c_gcc_strength_bug="yes"
11913 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11914 conftest.$ac_objext conftest.beam conftest.$ac_ext
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11919 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11920 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11922 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11926 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11927 if ${ac_cv_cflags__fno_builtin+:} false; then :
11928 $as_echo_n "(cached) " >&6
11930 ac_wine_try_cflags_saved=$CFLAGS
11931 CFLAGS="$CFLAGS -fno-builtin"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11934 int main(int argc, char **argv) { return 0; }
11936 if ac_fn_c_try_link "$LINENO"; then :
11937 ac_cv_cflags__fno_builtin=yes
11939 ac_cv_cflags__fno_builtin=no
11941 rm -f core conftest.err conftest.$ac_objext \
11942 conftest$ac_exeext conftest.$ac_ext
11943 CFLAGS=$ac_wine_try_cflags_saved
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11946 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11947 if test $ac_cv_cflags__fno_builtin = yes; then :
11948 BUILTINFLAG="-fno-builtin"
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11952 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11953 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
11954 $as_echo_n "(cached) " >&6
11956 ac_wine_try_cflags_saved=$CFLAGS
11957 CFLAGS="$CFLAGS -fno-strict-aliasing"
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11960 int main(int argc, char **argv) { return 0; }
11962 if ac_fn_c_try_link "$LINENO"; then :
11963 ac_cv_cflags__fno_strict_aliasing=yes
11965 ac_cv_cflags__fno_strict_aliasing=no
11967 rm -f core conftest.err conftest.$ac_objext \
11968 conftest$ac_exeext conftest.$ac_ext
11969 CFLAGS=$ac_wine_try_cflags_saved
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11972 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11973 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11974 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11977 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11978 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
11979 $as_echo_n "(cached) " >&6
11981 ac_wine_try_cflags_saved=$CFLAGS
11982 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11985 int main(int argc, char **argv) { return 0; }
11987 if ac_fn_c_try_link "$LINENO"; then :
11988 ac_cv_cflags__Wdeclaration_after_statement=yes
11990 ac_cv_cflags__Wdeclaration_after_statement=no
11992 rm -f core conftest.err conftest.$ac_objext \
11993 conftest$ac_exeext conftest.$ac_ext
11994 CFLAGS=$ac_wine_try_cflags_saved
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11997 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11998 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11999 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12002 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12003 if ${ac_cv_cflags__Wempty_body+:} false; then :
12004 $as_echo_n "(cached) " >&6
12006 ac_wine_try_cflags_saved=$CFLAGS
12007 CFLAGS="$CFLAGS -Wempty-body"
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12010 int main(int argc, char **argv) { return 0; }
12012 if ac_fn_c_try_link "$LINENO"; then :
12013 ac_cv_cflags__Wempty_body=yes
12015 ac_cv_cflags__Wempty_body=no
12017 rm -f core conftest.err conftest.$ac_objext \
12018 conftest$ac_exeext conftest.$ac_ext
12019 CFLAGS=$ac_wine_try_cflags_saved
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12022 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12023 if test $ac_cv_cflags__Wempty_body = yes; then :
12024 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12027 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12028 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12029 $as_echo_n "(cached) " >&6
12031 ac_wine_try_cflags_saved=$CFLAGS
12032 CFLAGS="$CFLAGS -Wignored-qualifiers"
12033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12034 /* end confdefs.h. */
12035 int main(int argc, char **argv) { return 0; }
12037 if ac_fn_c_try_link "$LINENO"; then :
12038 ac_cv_cflags__Wignored_qualifiers=yes
12040 ac_cv_cflags__Wignored_qualifiers=no
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 CFLAGS=$ac_wine_try_cflags_saved
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12047 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12048 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12049 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12052 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12053 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12054 $as_echo_n "(cached) " >&6
12056 ac_wine_try_cflags_saved=$CFLAGS
12057 CFLAGS="$CFLAGS -Wstrict-prototypes"
12058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12059 /* end confdefs.h. */
12060 int main(int argc, char **argv) { return 0; }
12062 if ac_fn_c_try_link "$LINENO"; then :
12063 ac_cv_cflags__Wstrict_prototypes=yes
12065 ac_cv_cflags__Wstrict_prototypes=no
12067 rm -f core conftest.err conftest.$ac_objext \
12068 conftest$ac_exeext conftest.$ac_ext
12069 CFLAGS=$ac_wine_try_cflags_saved
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12072 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12073 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12074 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12077 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12078 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12079 $as_echo_n "(cached) " >&6
12081 ac_wine_try_cflags_saved=$CFLAGS
12082 CFLAGS="$CFLAGS -Wtype-limits"
12083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12085 int main(int argc, char **argv) { return 0; }
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_cflags__Wtype_limits=yes
12090 ac_cv_cflags__Wtype_limits=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 CFLAGS=$ac_wine_try_cflags_saved
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12097 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12098 if test $ac_cv_cflags__Wtype_limits = yes; then :
12099 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12102 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12103 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12104 $as_echo_n "(cached) " >&6
12106 ac_wine_try_cflags_saved=$CFLAGS
12107 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12109 /* end confdefs.h. */
12110 int main(int argc, char **argv) { return 0; }
12112 if ac_fn_c_try_link "$LINENO"; then :
12113 ac_cv_cflags__Wunused_but_set_parameter=yes
12115 ac_cv_cflags__Wunused_but_set_parameter=no
12117 rm -f core conftest.err conftest.$ac_objext \
12118 conftest$ac_exeext conftest.$ac_ext
12119 CFLAGS=$ac_wine_try_cflags_saved
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12122 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12123 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12124 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12127 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12128 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12129 $as_echo_n "(cached) " >&6
12131 ac_wine_try_cflags_saved=$CFLAGS
12132 CFLAGS="$CFLAGS -Wwrite-strings"
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12135 int main(int argc, char **argv) { return 0; }
12137 if ac_fn_c_try_link "$LINENO"; then :
12138 ac_cv_cflags__Wwrite_strings=yes
12140 ac_cv_cflags__Wwrite_strings=no
12142 rm -f core conftest.err conftest.$ac_objext \
12143 conftest$ac_exeext conftest.$ac_ext
12144 CFLAGS=$ac_wine_try_cflags_saved
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12147 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12148 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12149 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12153 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12154 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12155 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12156 $as_echo_n "(cached) " >&6
12158 ac_wine_try_cflags_saved=$CFLAGS
12159 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12162 int main(int argc, char **argv) { return 0; }
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 ac_cv_cflags__fno_omit_frame_pointer=yes
12167 ac_cv_cflags__fno_omit_frame_pointer=no
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171 CFLAGS=$ac_wine_try_cflags_saved
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12174 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12175 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12176 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12181 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12182 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12183 if ${ac_cv_cflags__Wno_format+:} false; then :
12184 $as_echo_n "(cached) " >&6
12186 ac_wine_try_cflags_saved=$CFLAGS
12187 CFLAGS="$CFLAGS -Wno-format"
12188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12189 /* end confdefs.h. */
12190 int main(int argc, char **argv) { return 0; }
12192 if ac_fn_c_try_link "$LINENO"; then :
12193 ac_cv_cflags__Wno_format=yes
12195 ac_cv_cflags__Wno_format=no
12197 rm -f core conftest.err conftest.$ac_objext \
12198 conftest$ac_exeext conftest.$ac_ext
12199 CFLAGS=$ac_wine_try_cflags_saved
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12202 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12203 if test $ac_cv_cflags__Wno_format = yes; then :
12204 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12208 saved_CFLAGS="$CFLAGS"
12209 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12211 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12212 if ${ac_cv_c_string_h_warnings+:} false; then :
12213 $as_echo_n "(cached) " >&6
12215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12217 #include <string.h>
12226 if ac_fn_c_try_compile "$LINENO"; then :
12227 ac_cv_c_string_h_warnings=no
12229 ac_cv_c_string_h_warnings=yes
12231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12234 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12235 CFLAGS="$saved_CFLAGS"
12236 if test "$ac_cv_c_string_h_warnings" = "no"
12238 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12241 saved_CFLAGS="$CFLAGS"
12242 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12244 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12245 if ${ac_cv_c_logicalop_noisy+:} false; then :
12246 $as_echo_n "(cached) " >&6
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12250 #include <string.h>
12254 char*f(const char *h,char n) {return strchr(h,n);}
12259 if ac_fn_c_try_compile "$LINENO"; then :
12260 ac_cv_c_logicalop_noisy=no
12262 ac_cv_c_logicalop_noisy=yes
12264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12267 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12268 CFLAGS="$saved_CFLAGS"
12269 if test "$ac_cv_c_logicalop_noisy" = "no"
12271 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12274 if test "x$enable_maintainer_mode" = "xyes"
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12277 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12278 if ${ac_cv_cflags__Werror+:} false; then :
12279 $as_echo_n "(cached) " >&6
12281 ac_wine_try_cflags_saved=$CFLAGS
12282 CFLAGS="$CFLAGS -Werror"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285 int main(int argc, char **argv) { return 0; }
12287 if ac_fn_c_try_link "$LINENO"; then :
12288 ac_cv_cflags__Werror=yes
12290 ac_cv_cflags__Werror=no
12292 rm -f core conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12294 CFLAGS=$ac_wine_try_cflags_saved
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12297 $as_echo "$ac_cv_cflags__Werror" >&6; }
12298 if test $ac_cv_cflags__Werror = yes; then :
12299 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12303 saved_CFLAGS="$CFLAGS"
12304 CFLAGS="$CFLAGS -Werror"
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12306 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12307 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12308 $as_echo_n "(cached) " >&6
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12312 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12321 if ac_fn_c_try_compile "$LINENO"; then :
12322 ac_cv_have_ms_hook_prologue="yes"
12324 ac_cv_have_ms_hook_prologue="no"
12326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12329 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12330 CFLAGS="$saved_CFLAGS"
12331 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12334 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12337 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12344 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12345 if ${ac_cv_c_fortify_enabled+:} false; then :
12346 $as_echo_n "(cached) " >&6
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12350 #include <string.h>
12354 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12355 #error Fortify enabled
12361 if ac_fn_c_try_compile "$LINENO"; then :
12362 ac_cv_c_fortify_enabled=no
12364 ac_cv_c_fortify_enabled=yes
12366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12369 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12370 if test "$ac_cv_c_fortify_enabled" = yes
12372 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12377 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12378 if ${ac_cv_c_extern_prefix+:} false; then :
12379 $as_echo_n "(cached) " >&6
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12383 extern int ac_test;
12387 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12392 if ac_fn_c_try_link "$LINENO"; then :
12393 ac_cv_c_extern_prefix="yes"
12395 ac_cv_c_extern_prefix="no"
12397 rm -f core conftest.err conftest.$ac_objext \
12398 conftest$ac_exeext conftest.$ac_ext
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12401 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12406 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12407 if ${ac_cv_c_stdcall_suffix+:} false; then :
12408 $as_echo_n "(cached) " >&6
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12413 #define __stdcall __attribute__((__stdcall__))
12415 int __stdcall ac_test(int i) { return i; }
12419 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12424 if ac_fn_c_try_link "$LINENO"; then :
12425 ac_cv_c_stdcall_suffix="yes"
12427 ac_cv_c_stdcall_suffix="no"
12429 rm -f core conftest.err conftest.$ac_objext \
12430 conftest$ac_exeext conftest.$ac_ext
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12433 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12434 *) ac_cv_c_stdcall_suffix="no" ;;
12438 if test "$ac_cv_c_extern_prefix" = "yes"
12440 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12442 asm_name_prefix="_"
12444 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12450 if test "$ac_cv_c_stdcall_suffix" = "yes"
12452 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12455 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12461 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12462 if ${ac_cv_asm_func_def+:} false; then :
12463 $as_echo_n "(cached) " >&6
12465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12471 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12476 if ac_fn_c_try_link "$LINENO"; then :
12477 ac_cv_asm_func_def=".def"
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12485 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12490 if ac_fn_c_try_link "$LINENO"; then :
12491 ac_cv_asm_func_def=".type @function"
12493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12494 /* end confdefs.h. */
12499 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12504 if ac_fn_c_try_link "$LINENO"; then :
12505 ac_cv_asm_func_def=".type 2"
12507 ac_cv_asm_func_def="unknown"
12509 rm -f core conftest.err conftest.$ac_objext \
12510 conftest$ac_exeext conftest.$ac_ext
12512 rm -f core conftest.err conftest.$ac_objext \
12513 conftest$ac_exeext conftest.$ac_ext
12515 rm -f core conftest.err conftest.$ac_objext \
12516 conftest$ac_exeext conftest.$ac_ext
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12519 $as_echo "$ac_cv_asm_func_def" >&6; }
12522 case "$ac_cv_asm_func_def" in
12524 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12526 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12528 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12530 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12532 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12534 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12536 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12538 asm_func_header="" ;;
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12542 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12543 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12544 $as_echo_n "(cached) " >&6
12546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12548 asm(".text\n\t.long 0");
12557 if ac_fn_c_try_compile "$LINENO"; then :
12558 ac_cv_c_asm_outside_funcs="yes"
12560 ac_cv_c_asm_outside_funcs="no"
12562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12565 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12568 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12569 if ${ac_cv_c_dot_previous+:} false; then :
12570 $as_echo_n "(cached) " >&6
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12578 asm(".text\nac_test:\t.long 0\n\t.previous");
12583 if ac_fn_c_try_link "$LINENO"; then :
12584 ac_cv_c_dot_previous="yes"
12586 ac_cv_c_dot_previous="no"
12588 rm -f core conftest.err conftest.$ac_objext \
12589 conftest$ac_exeext conftest.$ac_ext
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12592 $as_echo "$ac_cv_c_dot_previous" >&6; }
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12595 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12596 if ${ac_cv_c_cfi_support+:} false; then :
12597 $as_echo_n "(cached) " >&6
12599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12600 /* end confdefs.h. */
12601 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12610 if ac_fn_c_try_compile "$LINENO"; then :
12611 ac_cv_c_cfi_support="yes"
12613 ac_cv_c_cfi_support="no"
12615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12618 $as_echo "$ac_cv_c_cfi_support" >&6; }
12620 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12621 asm_func_trailer=""
12622 if test "$ac_cv_c_dot_previous" = "yes"
12624 asm_func_trailer="\\n\\t.previous"
12626 if test "$ac_cv_c_cfi_support" = "yes"
12628 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12629 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12631 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12633 UNWINDFLAGS=-fasynchronous-unwind-tables
12636 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12640 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12643 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12645 cat >>confdefs.h <<_ACEOF
12646 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12650 cat >>confdefs.h <<_ACEOF
12651 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12656 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12659 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12669 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12674 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12682 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12689 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12694 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12696 x86_64*) EXTRA_BINARIES="wine64-preloader"
12703 ac_save_CFLAGS="$CFLAGS"
12704 CFLAGS="$CFLAGS $BUILTINFLAG"
12781 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12782 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12783 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12784 cat >>confdefs.h <<_ACEOF
12785 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12791 CFLAGS="$ac_save_CFLAGS"
12793 if test "$ac_cv_func_dlopen" = no
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12796 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12797 if ${ac_cv_lib_dl_dlopen+:} false; then :
12798 $as_echo_n "(cached) " >&6
12800 ac_check_lib_save_LIBS=$LIBS
12802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12820 if ac_fn_c_try_link "$LINENO"; then :
12821 ac_cv_lib_dl_dlopen=yes
12823 ac_cv_lib_dl_dlopen=no
12825 rm -f core conftest.err conftest.$ac_objext \
12826 conftest$ac_exeext conftest.$ac_ext
12827 LIBS=$ac_check_lib_save_LIBS
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12830 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12831 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12832 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12838 ac_wine_check_funcs_save_LIBS="$LIBS"
12839 LIBS="$LIBS $LIBDL"
12840 for ac_func in dladdr
12842 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12843 if test "x$ac_cv_func_dladdr" = xyes; then :
12844 cat >>confdefs.h <<_ACEOF
12845 #define HAVE_DLADDR 1
12851 LIBS="$ac_wine_check_funcs_save_LIBS"
12853 if test "$ac_cv_func_poll" = no
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12856 $as_echo_n "checking for poll in -lpoll... " >&6; }
12857 if ${ac_cv_lib_poll_poll+:} false; then :
12858 $as_echo_n "(cached) " >&6
12860 ac_check_lib_save_LIBS=$LIBS
12861 LIBS="-lpoll $LIBS"
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12880 if ac_fn_c_try_link "$LINENO"; then :
12881 ac_cv_lib_poll_poll=yes
12883 ac_cv_lib_poll_poll=no
12885 rm -f core conftest.err conftest.$ac_objext \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_lib_save_LIBS
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12890 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12891 if test "x$ac_cv_lib_poll_poll" = xyes; then :
12892 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12900 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12901 if ${ac_cv_search_gethostbyname+:} false; then :
12902 $as_echo_n "(cached) " >&6
12904 ac_func_search_save_LIBS=$LIBS
12905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12906 /* end confdefs.h. */
12908 /* Override any GCC internal prototype to avoid an error.
12909 Use char because int might match the return type of a GCC
12910 builtin and then its argument prototype would still apply. */
12914 char gethostbyname ();
12918 return gethostbyname ();
12923 for ac_lib in '' nsl; do
12924 if test -z "$ac_lib"; then
12925 ac_res="none required"
12928 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12930 if ac_fn_c_try_link "$LINENO"; then :
12931 ac_cv_search_gethostbyname=$ac_res
12933 rm -f core conftest.err conftest.$ac_objext \
12935 if ${ac_cv_search_gethostbyname+:} false; then :
12939 if ${ac_cv_search_gethostbyname+:} false; then :
12942 ac_cv_search_gethostbyname=no
12944 rm conftest.$ac_ext
12945 LIBS=$ac_func_search_save_LIBS
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12948 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12949 ac_res=$ac_cv_search_gethostbyname
12950 if test "$ac_res" != no; then :
12951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12957 $as_echo_n "checking for library containing connect... " >&6; }
12958 if ${ac_cv_search_connect+:} false; then :
12959 $as_echo_n "(cached) " >&6
12961 ac_func_search_save_LIBS=$LIBS
12962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12963 /* end confdefs.h. */
12965 /* Override any GCC internal prototype to avoid an error.
12966 Use char because int might match the return type of a GCC
12967 builtin and then its argument prototype would still apply. */
12980 for ac_lib in '' socket; do
12981 if test -z "$ac_lib"; then
12982 ac_res="none required"
12985 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12987 if ac_fn_c_try_link "$LINENO"; then :
12988 ac_cv_search_connect=$ac_res
12990 rm -f core conftest.err conftest.$ac_objext \
12992 if ${ac_cv_search_connect+:} false; then :
12996 if ${ac_cv_search_connect+:} false; then :
12999 ac_cv_search_connect=no
13001 rm conftest.$ac_ext
13002 LIBS=$ac_func_search_save_LIBS
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13005 $as_echo "$ac_cv_search_connect" >&6; }
13006 ac_res=$ac_cv_search_connect
13007 if test "$ac_res" != no; then :
13008 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13014 $as_echo_n "checking for library containing inet_aton... " >&6; }
13015 if ${ac_cv_search_inet_aton+:} false; then :
13016 $as_echo_n "(cached) " >&6
13018 ac_func_search_save_LIBS=$LIBS
13019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13032 return inet_aton ();
13037 for ac_lib in '' resolv; do
13038 if test -z "$ac_lib"; then
13039 ac_res="none required"
13042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13044 if ac_fn_c_try_link "$LINENO"; then :
13045 ac_cv_search_inet_aton=$ac_res
13047 rm -f core conftest.err conftest.$ac_objext \
13049 if ${ac_cv_search_inet_aton+:} false; then :
13053 if ${ac_cv_search_inet_aton+:} false; then :
13056 ac_cv_search_inet_aton=no
13058 rm conftest.$ac_ext
13059 LIBS=$ac_func_search_save_LIBS
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13062 $as_echo "$ac_cv_search_inet_aton" >&6; }
13063 ac_res=$ac_cv_search_inet_aton
13064 if test "$ac_res" != no; then :
13065 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13085 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13086 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13087 cat >>confdefs.h <<_ACEOF
13088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13097 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13099 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13101 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13103 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13104 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13105 $as_echo_n "(cached) " >&6
13107 ac_check_lib_save_LIBS=$LIBS
13108 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13110 /* end confdefs.h. */
13112 /* Override any GCC internal prototype to avoid an error.
13113 Use char because int might match the return type of a GCC
13114 builtin and then its argument prototype would still apply. */
13118 char ldap_initialize ();
13122 return ldap_initialize ();
13127 if ac_fn_c_try_link "$LINENO"; then :
13128 ac_cv_lib_ldap_r_ldap_initialize=yes
13130 ac_cv_lib_ldap_r_ldap_initialize=no
13132 rm -f core conftest.err conftest.$ac_objext \
13133 conftest$ac_exeext conftest.$ac_ext
13134 LIBS=$ac_check_lib_save_LIBS
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13137 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13138 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13140 $as_echo_n "checking for ber_init in -llber... " >&6; }
13141 if ${ac_cv_lib_lber_ber_init+:} false; then :
13142 $as_echo_n "(cached) " >&6
13144 ac_check_lib_save_LIBS=$LIBS
13145 LIBS="-llber $LIBPTHREAD $LIBS"
13146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13159 return ber_init ();
13164 if ac_fn_c_try_link "$LINENO"; then :
13165 ac_cv_lib_lber_ber_init=yes
13167 ac_cv_lib_lber_ber_init=no
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 LIBS=$ac_check_lib_save_LIBS
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13174 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13175 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13177 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13179 LDAPLIBS="-lldap_r -llber"
13186 ac_wine_check_funcs_save_LIBS="$LIBS"
13187 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13189 ldap_count_references \
13190 ldap_first_reference \
13191 ldap_next_reference \
13192 ldap_parse_reference \
13193 ldap_parse_sort_control \
13194 ldap_parse_sortresponse_control \
13195 ldap_parse_vlv_control \
13196 ldap_parse_vlvresponse_control
13198 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13199 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13200 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13201 cat >>confdefs.h <<_ACEOF
13202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13208 LIBS="$ac_wine_check_funcs_save_LIBS"
13210 if test "x$LDAPLIBS" = "x"; then :
13211 case "x$with_ldap" in
13212 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13214 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13215 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13220 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13221 if ${wine_cv_one_arg_mkdir+:} false; then :
13222 $as_echo_n "(cached) " >&6
13224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13226 #include <sys/stat.h>
13235 if ac_fn_c_try_compile "$LINENO"; then :
13236 wine_cv_one_arg_mkdir=yes
13238 wine_cv_one_arg_mkdir=no
13240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13243 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13244 if test "$wine_cv_one_arg_mkdir" = "yes"
13247 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13252 $as_echo_n "checking for sched_setaffinity... " >&6; }
13253 if ${wine_cv_have_sched_setaffinity+:} false; then :
13254 $as_echo_n "(cached) " >&6
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13258 #define _GNU_SOURCE
13263 sched_setaffinity(0, 0, 0);
13268 if ac_fn_c_try_link "$LINENO"; then :
13269 wine_cv_have_sched_setaffinity=yes
13271 wine_cv_have_sched_setaffinity=no
13273 rm -f core conftest.err conftest.$ac_objext \
13274 conftest$ac_exeext conftest.$ac_ext
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13277 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13278 if test "$wine_cv_have_sched_setaffinity" = "yes"
13281 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13287 $as_echo_n "checking for inline... " >&6; }
13288 if ${ac_cv_c_inline+:} false; then :
13289 $as_echo_n "(cached) " >&6
13292 for ac_kw in inline __inline__ __inline; do
13293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294 /* end confdefs.h. */
13295 #ifndef __cplusplus
13297 static $ac_kw foo_t static_foo () {return 0; }
13298 $ac_kw foo_t foo () {return 0; }
13302 if ac_fn_c_try_compile "$LINENO"; then :
13303 ac_cv_c_inline=$ac_kw
13305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13306 test "$ac_cv_c_inline" != no && break
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13311 $as_echo "$ac_cv_c_inline" >&6; }
13313 case $ac_cv_c_inline in
13316 case $ac_cv_c_inline in
13318 *) ac_val=$ac_cv_c_inline;;
13320 cat >>confdefs.h <<_ACEOF
13321 #ifndef __cplusplus
13322 #define inline $ac_val
13328 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13329 if test "x$ac_cv_type_mode_t" = xyes; then :
13331 cat >>confdefs.h <<_ACEOF
13332 #define HAVE_MODE_T 1
13337 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13338 if test "x$ac_cv_type_off_t" = xyes; then :
13340 cat >>confdefs.h <<_ACEOF
13341 #define HAVE_OFF_T 1
13346 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13347 if test "x$ac_cv_type_pid_t" = xyes; then :
13349 cat >>confdefs.h <<_ACEOF
13350 #define HAVE_PID_T 1
13355 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13356 if test "x$ac_cv_type_size_t" = xyes; then :
13358 cat >>confdefs.h <<_ACEOF
13359 #define HAVE_SIZE_T 1
13364 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13365 if test "x$ac_cv_type_ssize_t" = xyes; then :
13367 cat >>confdefs.h <<_ACEOF
13368 #define HAVE_SSIZE_T 1
13373 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13374 if test "x$ac_cv_type_long_long" = xyes; then :
13376 cat >>confdefs.h <<_ACEOF
13377 #define HAVE_LONG_LONG 1
13382 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13383 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13385 cat >>confdefs.h <<_ACEOF
13386 #define HAVE_FSBLKCNT_T 1
13391 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13392 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13394 cat >>confdefs.h <<_ACEOF
13395 #define HAVE_FSFILCNT_T 1
13401 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13402 #include <signal.h>
13404 if test "x$ac_cv_type_sigset_t" = xyes; then :
13406 cat >>confdefs.h <<_ACEOF
13407 #define HAVE_SIGSET_T 1
13413 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13415 if test "x$ac_cv_type_request_sense" = xyes; then :
13417 cat >>confdefs.h <<_ACEOF
13418 #define HAVE_REQUEST_SENSE 1
13425 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13426 #ifdef HAVE_SYS_SOCKET_H
13427 #include <sys/socket.h>
13429 #ifdef HAVE_SYS_SOCKETVAR_H
13430 #include <sys/socketvar.h>
13432 #ifdef HAVE_NET_ROUTE_H
13433 #include <net/route.h>
13435 #ifdef HAVE_NETINET_IN_H
13436 #include <netinet/in.h>
13438 #ifdef HAVE_NETINET_IN_SYSTM_H
13439 #include <netinet/in_systm.h>
13441 #ifdef HAVE_NETINET_IP_H
13442 #include <netinet/ip.h>
13444 #ifdef HAVE_NETINET_IN_PCB_H
13445 #include <netinet/in_pcb.h>
13448 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13450 cat >>confdefs.h <<_ACEOF
13451 #define HAVE_STRUCT_XINPGEN 1
13458 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13459 #include <linux/input.h>
13462 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13464 cat >>confdefs.h <<_ACEOF
13465 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13473 $as_echo_n "checking for sigaddset... " >&6; }
13474 if ${wine_cv_have_sigaddset+:} false; then :
13475 $as_echo_n "(cached) " >&6
13477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13478 /* end confdefs.h. */
13479 #include <signal.h>
13483 sigset_t set; sigaddset(&set,SIGTERM);
13488 if ac_fn_c_try_link "$LINENO"; then :
13489 wine_cv_have_sigaddset=yes
13491 wine_cv_have_sigaddset=no
13493 rm -f core conftest.err conftest.$ac_objext \
13494 conftest$ac_exeext conftest.$ac_ext
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13497 $as_echo "$wine_cv_have_sigaddset" >&6; }
13498 if test "$wine_cv_have_sigaddset" = "yes"
13501 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13507 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13508 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13509 $as_echo_n "(cached) " >&6
13511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13512 /* end confdefs.h. */
13520 struct hostent *result;
13527 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13528 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13534 if ac_fn_c_try_link "$LINENO"; then :
13535 wine_cv_linux_gethostbyname_r_6=yes
13537 wine_cv_linux_gethostbyname_r_6=no
13540 rm -f core conftest.err conftest.$ac_objext \
13541 conftest$ac_exeext conftest.$ac_ext
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13545 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13546 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13549 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13553 if test "$ac_cv_header_linux_joystick_h" = "yes"
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13556 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13557 if ${wine_cv_linux_joystick_22_api+:} false; then :
13558 $as_echo_n "(cached) " >&6
13560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13561 /* end confdefs.h. */
13563 #include <sys/ioctl.h>
13564 #include <sys/types.h>
13565 #include <linux/joystick.h>
13567 struct js_event blub;
13568 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13569 #error "no 2.2 header"
13580 if ac_fn_c_try_compile "$LINENO"; then :
13581 wine_cv_linux_joystick_22_api=yes
13583 wine_cv_linux_joystick_22_api=no
13585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13589 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13590 if test "$wine_cv_linux_joystick_22_api" = "yes"
13593 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13599 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13600 #ifdef HAVE_SYS_PARAM_H
13601 # include <sys/param.h>
13603 #ifdef HAVE_SYS_MOUNT_H
13604 # include <sys/mount.h>
13606 #ifdef HAVE_SYS_VFS_H
13607 # include <sys/vfs.h>
13609 #ifdef HAVE_SYS_STATFS_H
13610 # include <sys/statfs.h>
13613 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13615 cat >>confdefs.h <<_ACEOF
13616 #define HAVE_STRUCT_STATFS_F_BFREE 1
13621 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13622 #ifdef HAVE_SYS_PARAM_H
13623 # include <sys/param.h>
13625 #ifdef HAVE_SYS_MOUNT_H
13626 # include <sys/mount.h>
13628 #ifdef HAVE_SYS_VFS_H
13629 # include <sys/vfs.h>
13631 #ifdef HAVE_SYS_STATFS_H
13632 # include <sys/statfs.h>
13635 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13637 cat >>confdefs.h <<_ACEOF
13638 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13643 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13644 #ifdef HAVE_SYS_PARAM_H
13645 # include <sys/param.h>
13647 #ifdef HAVE_SYS_MOUNT_H
13648 # include <sys/mount.h>
13650 #ifdef HAVE_SYS_VFS_H
13651 # include <sys/vfs.h>
13653 #ifdef HAVE_SYS_STATFS_H
13654 # include <sys/statfs.h>
13657 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13659 cat >>confdefs.h <<_ACEOF
13660 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13665 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13666 #ifdef HAVE_SYS_PARAM_H
13667 # include <sys/param.h>
13669 #ifdef HAVE_SYS_MOUNT_H
13670 # include <sys/mount.h>
13672 #ifdef HAVE_SYS_VFS_H
13673 # include <sys/vfs.h>
13675 #ifdef HAVE_SYS_STATFS_H
13676 # include <sys/statfs.h>
13679 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13681 cat >>confdefs.h <<_ACEOF
13682 #define HAVE_STRUCT_STATFS_F_FFREE 1
13687 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13688 #ifdef HAVE_SYS_PARAM_H
13689 # include <sys/param.h>
13691 #ifdef HAVE_SYS_MOUNT_H
13692 # include <sys/mount.h>
13694 #ifdef HAVE_SYS_VFS_H
13695 # include <sys/vfs.h>
13697 #ifdef HAVE_SYS_STATFS_H
13698 # include <sys/statfs.h>
13701 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13703 cat >>confdefs.h <<_ACEOF
13704 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13709 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13710 #ifdef HAVE_SYS_PARAM_H
13711 # include <sys/param.h>
13713 #ifdef HAVE_SYS_MOUNT_H
13714 # include <sys/mount.h>
13716 #ifdef HAVE_SYS_VFS_H
13717 # include <sys/vfs.h>
13719 #ifdef HAVE_SYS_STATFS_H
13720 # include <sys/statfs.h>
13723 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13725 cat >>confdefs.h <<_ACEOF
13726 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13733 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13734 #include <sys/statvfs.h>
13737 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
13739 cat >>confdefs.h <<_ACEOF
13740 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13747 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13748 #ifdef HAVE_SYS_SOCKET_H
13749 # include <sys/socket.h>
13751 #ifdef HAVE_SYS_UN_H
13752 # include <sys/un.h>
13755 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
13757 cat >>confdefs.h <<_ACEOF
13758 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13763 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13764 #ifdef HAVE_SYS_SOCKET_H
13765 # include <sys/socket.h>
13767 #ifdef HAVE_SYS_UN_H
13768 # include <sys/un.h>
13771 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
13773 cat >>confdefs.h <<_ACEOF
13774 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13779 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13780 #ifdef HAVE_SYS_SOCKET_H
13781 # include <sys/socket.h>
13783 #ifdef HAVE_SYS_UN_H
13784 # include <sys/un.h>
13787 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
13789 cat >>confdefs.h <<_ACEOF
13790 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13797 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13798 #ifdef HAVE_SCSI_SG_H
13799 #include <scsi/sg.h>
13802 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
13804 cat >>confdefs.h <<_ACEOF
13805 #define HAVE_SCSIREQ_T_CMD 1
13810 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>
13811 #ifdef HAVE_SCSI_SG_H
13812 #include <scsi/sg.h>
13815 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
13817 cat >>confdefs.h <<_ACEOF
13818 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13825 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13827 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
13829 cat >>confdefs.h <<_ACEOF
13830 #define HAVE_SIGINFO_T_SI_FD 1
13837 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13838 #ifdef HAVE_SYS_MTIO_H
13839 #include <sys/mtio.h>
13842 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
13844 cat >>confdefs.h <<_ACEOF
13845 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13850 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13851 #ifdef HAVE_SYS_MTIO_H
13852 #include <sys/mtio.h>
13855 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
13857 cat >>confdefs.h <<_ACEOF
13858 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13863 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13864 #ifdef HAVE_SYS_MTIO_H
13865 #include <sys/mtio.h>
13868 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
13870 cat >>confdefs.h <<_ACEOF
13871 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13878 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13879 #include <getopt.h>
13882 if test "x$ac_cv_member_struct_option_name" = xyes; then :
13884 cat >>confdefs.h <<_ACEOF
13885 #define HAVE_STRUCT_OPTION_NAME 1
13892 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13893 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
13895 cat >>confdefs.h <<_ACEOF
13896 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13901 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13902 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
13904 cat >>confdefs.h <<_ACEOF
13905 #define HAVE_STRUCT_STAT_ST_MTIM 1
13910 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13911 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
13913 cat >>confdefs.h <<_ACEOF
13914 #define HAVE_STRUCT_STAT_ST_CTIM 1
13919 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13920 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
13922 cat >>confdefs.h <<_ACEOF
13923 #define HAVE_STRUCT_STAT_ST_ATIM 1
13930 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
13931 #include <sys/types.h>
13933 #ifdef HAVE_NETINET_IN_H
13934 #include <netinet/in.h>
13937 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
13939 cat >>confdefs.h <<_ACEOF
13940 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13947 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13948 #include <sys/types.h>
13950 #ifdef HAVE_NETINET_IN_H
13951 # include <netinet/in.h>
13953 #ifdef HAVE_ARPA_NAMESER_H
13954 # include <arpa/nameser.h>
13957 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
13959 cat >>confdefs.h <<_ACEOF
13960 #define HAVE_NS_MSG__MSG_PTR 1
13967 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13968 #include <sys/types.h>
13970 #ifdef HAVE_ALIAS_H
13973 #ifdef HAVE_SYS_SOCKET_H
13974 #include <sys/socket.h>
13976 #ifdef HAVE_SYS_SOCKETVAR_H
13977 #include <sys/socketvar.h>
13979 #ifdef HAVE_SYS_TIMEOUT_H
13980 #include <sys/timeout.h>
13982 #ifdef HAVE_NETINET_IN_H
13983 #include <netinet/in.h>
13985 #ifdef HAVE_NETINET_IN_SYSTM_H
13986 #include <netinet/in_systm.h>
13988 #ifdef HAVE_NETINET_IP_H
13989 #include <netinet/ip.h>
13991 #ifdef HAVE_NETINET_IP_VAR_H
13992 #include <netinet/ip_var.h>
13994 #ifdef HAVE_NETINET_IP_ICMP_H
13995 #include <netinet/ip_icmp.h>
13997 #ifdef HAVE_NETINET_ICMP_VAR
13998 #include <netinet/icmp_var.h>
14001 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14003 cat >>confdefs.h <<_ACEOF
14004 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14011 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14012 #include <sys/types.h>
14014 #ifdef HAVE_NET_IF_H
14015 # include <net/if.h>
14018 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14020 cat >>confdefs.h <<_ACEOF
14021 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14029 $as_echo_n "checking for timezone variable... " >&6; }
14030 if ${ac_cv_have_timezone+:} false; then :
14031 $as_echo_n "(cached) " >&6
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14044 if ac_fn_c_try_link "$LINENO"; then :
14045 ac_cv_have_timezone="yes"
14047 ac_cv_have_timezone="no"
14049 rm -f core conftest.err conftest.$ac_objext \
14050 conftest$ac_exeext conftest.$ac_ext
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14053 $as_echo "$ac_cv_have_timezone" >&6; }
14054 if test "$ac_cv_have_timezone" = "yes"
14057 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14061 $as_echo_n "checking for daylight variable... " >&6; }
14062 if ${ac_cv_have_daylight+:} false; then :
14063 $as_echo_n "(cached) " >&6
14065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14066 /* end confdefs.h. */
14076 if ac_fn_c_try_link "$LINENO"; then :
14077 ac_cv_have_daylight="yes"
14079 ac_cv_have_daylight="no"
14081 rm -f core conftest.err conftest.$ac_objext \
14082 conftest$ac_exeext conftest.$ac_ext
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14085 $as_echo "$ac_cv_have_daylight" >&6; }
14086 if test "$ac_cv_have_daylight" = "yes"
14089 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14093 ac_save_LIBS="$LIBS"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14096 $as_echo_n "checking for isinf... " >&6; }
14097 if ${ac_cv_have_isinf+:} false; then :
14098 $as_echo_n "(cached) " >&6
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14106 float f = 0.0; return isinf(f)
14111 if ac_fn_c_try_link "$LINENO"; then :
14112 ac_cv_have_isinf="yes"
14114 ac_cv_have_isinf="no"
14116 rm -f core conftest.err conftest.$ac_objext \
14117 conftest$ac_exeext conftest.$ac_ext
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14120 $as_echo "$ac_cv_have_isinf" >&6; }
14121 if test "$ac_cv_have_isinf" = "yes"
14124 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14129 $as_echo_n "checking for isnan... " >&6; }
14130 if ${ac_cv_have_isnan+:} false; then :
14131 $as_echo_n "(cached) " >&6
14133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14134 /* end confdefs.h. */
14139 float f = 0.0; return isnan(f)
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 ac_cv_have_isnan="yes"
14147 ac_cv_have_isnan="no"
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14153 $as_echo "$ac_cv_have_isnan" >&6; }
14154 if test "$ac_cv_have_isnan" = "yes"
14157 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14160 LIBS="$ac_save_LIBS"
14164 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14165 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14166 if ${ac_cv_cpp_def___i386__+:} false; then :
14167 $as_echo_n "(cached) " >&6
14169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14170 /* end confdefs.h. */
14175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14176 $EGREP "yes" >/dev/null 2>&1; then :
14177 ac_cv_cpp_def___i386__=yes
14179 ac_cv_cpp_def___i386__=no
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14185 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14186 if test $ac_cv_cpp_def___i386__ = yes; then :
14187 CFLAGS="$CFLAGS -D__i386__"
14188 LINTFLAGS="$LINTFLAGS -D__i386__"
14190 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14191 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14192 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14193 $as_echo_n "(cached) " >&6
14195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14196 /* end confdefs.h. */
14201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14202 $EGREP "yes" >/dev/null 2>&1; then :
14203 ac_cv_cpp_def___x86_64__=yes
14205 ac_cv_cpp_def___x86_64__=no
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14211 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14212 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14213 CFLAGS="$CFLAGS -D__x86_64__"
14214 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14216 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14217 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14218 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14219 $as_echo_n "(cached) " >&6
14221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14223 #ifndef __sparc64__
14227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14228 $EGREP "yes" >/dev/null 2>&1; then :
14229 ac_cv_cpp_def___sparc64__=yes
14231 ac_cv_cpp_def___sparc64__=no
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14237 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14238 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14239 CFLAGS="$CFLAGS -D__sparc64__"
14240 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14242 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14243 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14244 if ${ac_cv_cpp_def___sparc__+:} false; then :
14245 $as_echo_n "(cached) " >&6
14247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14248 /* end confdefs.h. */
14253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14254 $EGREP "yes" >/dev/null 2>&1; then :
14255 ac_cv_cpp_def___sparc__=yes
14257 ac_cv_cpp_def___sparc__=no
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14263 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14264 if test $ac_cv_cpp_def___sparc__ = yes; then :
14265 CFLAGS="$CFLAGS -D__sparc__"
14266 LINTFLAGS="$LINTFLAGS -D__sparc__"
14268 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14269 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14270 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14271 $as_echo_n "(cached) " >&6
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 #ifndef __powerpc64__
14279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14280 $EGREP "yes" >/dev/null 2>&1; then :
14281 ac_cv_cpp_def___powerpc64__=yes
14283 ac_cv_cpp_def___powerpc64__=no
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14289 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14290 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14291 CFLAGS="$CFLAGS -D__powerpc64__"
14292 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14294 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14295 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14296 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14297 $as_echo_n "(cached) " >&6
14299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14300 /* end confdefs.h. */
14301 #ifndef __powerpc__
14305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14306 $EGREP "yes" >/dev/null 2>&1; then :
14307 ac_cv_cpp_def___powerpc__=yes
14309 ac_cv_cpp_def___powerpc__=no
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14315 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14316 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14317 CFLAGS="$CFLAGS -D__powerpc__"
14318 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14320 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14321 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14322 if ${ac_cv_cpp_def___arm__+:} false; then :
14323 $as_echo_n "(cached) " >&6
14325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14326 /* end confdefs.h. */
14331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14332 $EGREP "yes" >/dev/null 2>&1; then :
14333 ac_cv_cpp_def___arm__=yes
14335 ac_cv_cpp_def___arm__=no
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14341 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14342 if test $ac_cv_cpp_def___arm__ = yes; then :
14343 CFLAGS="$CFLAGS -D__arm__"
14344 LINTFLAGS="$LINTFLAGS -D__arm__"
14348 case $host_vendor in
14349 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14350 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14351 if ${ac_cv_cpp_def___sun__+:} false; then :
14352 $as_echo_n "(cached) " >&6
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14360 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14361 $EGREP "yes" >/dev/null 2>&1; then :
14362 ac_cv_cpp_def___sun__=yes
14364 ac_cv_cpp_def___sun__=no
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14370 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14371 if test $ac_cv_cpp_def___sun__ = yes; then :
14372 CFLAGS="$CFLAGS -D__sun__"
14373 LINTFLAGS="$LINTFLAGS -D__sun__"
14381 ac_config_commands="$ac_config_commands include/stamp-h"
14384 ALL_MAKEFILE_DEPENDS="
14385 # Rules automatically generated by configure
14390 Makefile: Makefile.in Make.vars.in Make.rules config.status
14391 @./config.status Make.tmp Makefile"
14394 ALL_TEST_RESOURCES=""
14397 wine_fn_append_file ()
14399 as_fn_append $1 " \\$as_nl $2"
14402 wine_fn_append_rule ()
14404 as_fn_append $1 "$as_nl$2"
14407 wine_fn_has_flag ()
14409 expr ",$2," : ".*,$1,.*" >/dev/null
14412 wine_fn_all_dir_rules ()
14416 ac_makedep="\$(MAKEDEP)"
14417 ac_input=Make.vars.in:$ac_dir/Makefile.in
14418 if test $ac_dir != tools
14420 ac_alldeps="$2 $ac_makedep"
14423 *.in) ac_input=$ac_input:$2 ;;
14424 *) ac_makedep="$2 $ac_makedep" ;;
14427 wine_fn_append_file ALL_DIRS $ac_dir
14428 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14429 "__clean__: $ac_dir/__clean__
14430 .PHONY: $ac_dir/__clean__
14431 $ac_dir/__clean__: $ac_dir/Makefile
14432 @cd $ac_dir && \$(MAKE) clean
14433 \$(RM) $ac_dir/Makefile
14434 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14435 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14436 depend: $ac_dir/__depend__
14437 .PHONY: $ac_dir/__depend__
14438 $ac_dir/__depend__: $ac_makedep dummy
14439 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14442 wine_fn_pot_rules ()
14447 test "x$with_gettextpo" = xyes || return
14449 if wine_fn_has_flag mc $ac_flags
14451 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14452 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14453 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14454 @cd $ac_dir && \$(MAKE) msg.pot
14455 $ac_dir/msg.pot: tools/wmc include"
14457 if wine_fn_has_flag po $ac_flags
14459 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14460 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14461 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14462 @cd $ac_dir && \$(MAKE) rsrc.pot
14463 $ac_dir/rsrc.pot: tools/wrc include"
14467 wine_fn_config_makefile ()
14473 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14477 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
14478 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14481 $ac_dir: $ac_dir/Makefile dummy
14482 @cd $ac_dir && \$(MAKE)"
14484 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
14486 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14487 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14488 $ac_dir/__install__:: $ac_dir
14489 @cd $ac_dir && \$(MAKE) install
14490 $ac_dir/__uninstall__:: $ac_dir/Makefile
14491 @cd $ac_dir && \$(MAKE) uninstall
14492 install:: $ac_dir/__install__
14493 __uninstall__: $ac_dir/__uninstall__"
14495 if wine_fn_has_flag install-lib $ac_flags
14497 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14498 ".PHONY: $ac_dir/__install-lib__
14499 $ac_dir/__install-lib__:: $ac_dir
14500 @cd $ac_dir && \$(MAKE) install-lib
14501 install-lib:: $ac_dir/__install-lib__"
14504 if wine_fn_has_flag install-dev $ac_flags
14506 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14507 ".PHONY: $ac_dir/__install-dev
14508 $ac_dir/__install-dev__:: $ac_dir
14509 @cd $ac_dir && \$(MAKE) install-dev
14510 install-dev:: $ac_dir/__install-dev__"
14514 wine_fn_config_lib ()
14518 ac_dir=dlls/$ac_name
14519 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
14521 if wine_fn_has_flag install-dev $ac_flags
14524 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14525 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14526 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14527 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14528 $ac_dir/__uninstall__::
14529 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14530 install install-dev:: $ac_dir/__install__
14531 __uninstall__: $ac_dir/__uninstall__"
14534 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
14535 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14538 wine_fn_config_dll ()
14541 ac_dir=dlls/$ac_name
14544 ac_implib=${4:-$ac_name}
14545 ac_file=$ac_dir/lib$ac_implib
14547 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14551 *16) ac_implibflags=" -m16" ;;
14553 *) ac_dll=$ac_dll.dll ;;
14556 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
14558 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14559 test "$ac_enable" != enable_win16 || return 0
14560 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14562 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14563 "$ac_dir: __builddeps__
14564 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14565 @cd $ac_dir && \$(MAKE) \$@"
14567 if wine_fn_has_flag install-lib $ac_flags
14570 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14571 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14572 install install-lib:: $ac_dir/__install-lib__
14573 __uninstall__: $ac_dir/__uninstall__"
14574 if test -n "$DLLEXT"
14576 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14577 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14578 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14579 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14580 $ac_dir/__uninstall__::
14581 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14583 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14584 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14585 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14586 $ac_dir/__uninstall__::
14587 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14591 wine_fn_pot_rules $ac_dir $ac_flags
14594 if wine_fn_has_flag staticimplib $ac_flags
14596 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14597 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14598 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14599 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14600 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14601 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14602 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14603 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14604 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14605 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14606 $ac_dir/__uninstall__::
14607 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14608 install install-dev:: $ac_dir/__install-dev__
14609 __uninstall__: $ac_dir/__uninstall__"
14611 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14613 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14614 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14615 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14616 $ac_dir/__uninstall__::
14617 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14620 if test "x$CROSSTEST_DISABLE" = x
14622 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14623 "__builddeps__: $ac_file.cross.a
14624 $ac_file.cross.a: $ac_dir/Makefile dummy
14625 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14628 elif wine_fn_has_flag implib $ac_flags
14630 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14631 "__builddeps__: $ac_file.$IMPLIBEXT
14632 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14633 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14634 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14635 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14636 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14637 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14638 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14639 $ac_dir/__uninstall__::
14640 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14641 install install-dev:: $ac_dir/__install-dev__
14642 __uninstall__: $ac_dir/__uninstall__"
14643 if test "x$CROSSTEST_DISABLE" = x
14645 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14646 "__builddeps__: $ac_file.cross.a
14647 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14648 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14651 if test "$ac_name" != "$ac_implib"
14653 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14654 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14655 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14656 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14658 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14659 if test "x$CROSSTEST_DISABLE" = x
14661 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14662 "__builddeps__: dlls/lib$ac_implib.cross.a
14663 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14664 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14670 wine_fn_config_program ()
14673 ac_dir=programs/$ac_name
14676 ac_program=$ac_name
14680 *) ac_program=$ac_program.exe ;;
14683 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
14685 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14688 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14689 "$ac_dir: __builddeps__"
14691 wine_fn_pot_rules $ac_dir $ac_flags
14693 wine_fn_has_flag install $ac_flags || return
14694 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14695 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14696 install install-lib:: $ac_dir/__install__
14697 __uninstall__: $ac_dir/__uninstall__"
14699 if test -n "$DLLEXT"
14701 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14702 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14703 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14704 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14705 $ac_dir/__uninstall__::
14706 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14708 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
14710 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14711 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14712 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14713 $ac_dir/__uninstall__::
14714 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14717 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14718 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14719 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14720 $ac_dir/__uninstall__::
14721 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14724 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
14726 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14727 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14728 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14729 $ac_dir/__uninstall__::
14730 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14735 wine_fn_config_test ()
14740 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
14741 wine_fn_all_dir_rules $ac_dir Maketest.rules
14743 if test "x$enable_tests" = xno; then :
14746 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14749 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14750 @cd $ac_dir && \$(MAKE)
14751 programs/winetest: $ac_dir
14752 check test: $ac_dir/__test__
14753 .PHONY: $ac_dir/__test__
14754 $ac_dir/__test__: dummy
14755 @cd $ac_dir && \$(MAKE) test
14757 \$(RM) $ac_dir/*.ok"
14759 if test "x$CROSSTEST_DISABLE" = x
14761 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14762 "crosstest: $ac_dir/__crosstest__
14763 .PHONY: $ac_dir/__crosstest__
14764 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14765 @cd $ac_dir && \$(MAKE) crosstest"
14770 wine_fn_config_tool ()
14774 if test "x$enable_tools" = xno; then :
14778 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
14780 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
14781 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
14783 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
14787 wine_fn_config_makerules ()
14791 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14792 "$ac_rules: $ac_rules.in $ac_deps config.status
14793 @./config.status $ac_rules
14798 wine_fn_config_symlink ()
14801 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14803 @./config.status $ac_link
14808 if test "x$CROSSTEST_DISABLE" != x
14810 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14812 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14814 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14815 wine_fn_config_symlink dlls/shell32/AUTHORS
14816 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14817 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14818 if test "x$enable_fonts" != xno; then
14819 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14820 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14822 if test "x$enable_fonts" != xno; then
14823 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14824 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14826 if test "x$enable_fonts" != xno; then
14827 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14828 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14830 if test "x$enable_fonts" != xno; then
14831 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14832 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14834 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
14835 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
14836 if test "x$enable_tools" != xno; then
14837 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14838 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
14840 ac_config_links="$ac_config_links wine:tools/winewrapper"
14841 wine_fn_config_symlink wine
14842 if test "x$enable_win64" != xno; then
14843 ac_config_links="$ac_config_links wine64:tools/winewrapper"
14844 wine_fn_config_symlink wine64
14847 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
14849 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14851 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14853 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14855 ac_config_commands="$ac_config_commands dlls/user32/resources"
14857 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14859 ac_config_commands="$ac_config_commands include/wine"
14862 wine_fn_config_makerules Make.rules
14863 MAKE_RULES=Make.rules
14864 ac_config_files="$ac_config_files Make.rules"
14866 wine_fn_config_makerules Maketest.rules Make.rules
14867 MAKE_TEST_RULES=Maketest.rules
14868 ac_config_files="$ac_config_files Maketest.rules"
14870 wine_fn_config_makerules dlls/Makedll.rules Make.rules
14871 MAKE_DLL_RULES=dlls/Makedll.rules
14872 ac_config_files="$ac_config_files dlls/Makedll.rules"
14874 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
14875 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
14876 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
14878 wine_fn_config_makerules programs/Makeprog.rules Make.rules
14879 MAKE_PROG_RULES=programs/Makeprog.rules
14880 ac_config_files="$ac_config_files programs/Makeprog.rules"
14883 wine_fn_config_dll acledit enable_acledit
14884 wine_fn_config_dll aclui enable_aclui implib
14885 wine_fn_config_dll activeds enable_activeds implib
14886 wine_fn_config_dll actxprxy enable_actxprxy
14887 wine_fn_config_lib adsiid
14888 wine_fn_config_dll advapi32 enable_advapi32 implib
14889 wine_fn_config_test dlls/advapi32/tests advapi32_test
14890 wine_fn_config_dll advpack enable_advpack implib
14891 wine_fn_config_test dlls/advpack/tests advpack_test
14892 wine_fn_config_dll amstream enable_amstream
14893 wine_fn_config_test dlls/amstream/tests amstream_test
14894 wine_fn_config_dll apphelp enable_apphelp
14895 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14896 wine_fn_config_dll atl enable_atl implib
14897 wine_fn_config_test dlls/atl/tests atl_test
14898 wine_fn_config_dll authz enable_authz
14899 wine_fn_config_dll avicap32 enable_avicap32 implib
14900 wine_fn_config_dll avifil32 enable_avifil32 implib,po
14901 wine_fn_config_test dlls/avifil32/tests avifil32_test
14902 wine_fn_config_dll avifile.dll16 enable_win16
14903 wine_fn_config_dll avrt enable_avrt implib
14904 wine_fn_config_dll bcrypt enable_bcrypt
14905 wine_fn_config_dll browseui enable_browseui po
14906 wine_fn_config_test dlls/browseui/tests browseui_test
14907 wine_fn_config_dll cabinet enable_cabinet implib
14908 wine_fn_config_test dlls/cabinet/tests cabinet_test
14909 wine_fn_config_dll capi2032 enable_capi2032 implib
14910 wine_fn_config_dll cards enable_cards implib
14911 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14912 wine_fn_config_dll clusapi enable_clusapi implib
14913 wine_fn_config_dll comcat enable_comcat
14914 wine_fn_config_test dlls/comcat/tests comcat_test
14915 wine_fn_config_dll comctl32 enable_comctl32 implib,po
14916 wine_fn_config_test dlls/comctl32/tests comctl32_test
14917 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
14918 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14919 wine_fn_config_dll comm.drv16 enable_win16
14920 wine_fn_config_dll commdlg.dll16 enable_win16
14921 wine_fn_config_dll compobj.dll16 enable_win16
14922 wine_fn_config_dll compstui enable_compstui implib
14923 wine_fn_config_dll credui enable_credui implib,po
14924 wine_fn_config_test dlls/credui/tests credui_test
14925 wine_fn_config_dll crtdll enable_crtdll implib
14926 wine_fn_config_dll crypt32 enable_crypt32 implib,po
14927 wine_fn_config_test dlls/crypt32/tests crypt32_test
14928 wine_fn_config_dll cryptdlg enable_cryptdlg po
14929 wine_fn_config_dll cryptdll enable_cryptdll implib
14930 wine_fn_config_dll cryptnet enable_cryptnet implib
14931 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14932 wine_fn_config_dll cryptui enable_cryptui implib,po
14933 wine_fn_config_test dlls/cryptui/tests cryptui_test
14934 wine_fn_config_dll ctapi32 enable_ctapi32
14935 wine_fn_config_dll ctl3d.dll16 enable_win16
14936 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14937 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14938 wine_fn_config_dll d3d10 enable_d3d10 implib
14939 wine_fn_config_test dlls/d3d10/tests d3d10_test
14940 wine_fn_config_dll d3d10core enable_d3d10core implib
14941 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14942 wine_fn_config_dll d3d8 enable_d3d8 implib
14943 wine_fn_config_test dlls/d3d8/tests d3d8_test
14944 wine_fn_config_dll d3d9 enable_d3d9 implib
14945 wine_fn_config_test dlls/d3d9/tests d3d9_test
14946 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14947 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14948 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14949 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14950 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14951 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14952 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14953 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14954 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14955 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14956 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14957 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
14958 wine_fn_config_dll d3dim enable_d3dim implib
14959 wine_fn_config_dll d3drm enable_d3drm implib
14960 wine_fn_config_test dlls/d3drm/tests d3drm_test
14961 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14962 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14963 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14964 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14965 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14966 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14967 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14968 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14969 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14970 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14971 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14972 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14973 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14974 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14975 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14976 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14977 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14978 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14979 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14980 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14981 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14982 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14983 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14984 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14985 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14986 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14987 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14988 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14989 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14990 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14991 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14992 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14993 wine_fn_config_dll d3dxof enable_d3dxof implib
14994 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14995 wine_fn_config_dll dbgeng enable_dbgeng implib
14996 wine_fn_config_dll dbghelp enable_dbghelp implib
14997 wine_fn_config_dll dciman32 enable_dciman32 implib
14998 wine_fn_config_dll ddeml.dll16 enable_win16
14999 wine_fn_config_dll ddraw enable_ddraw implib
15000 wine_fn_config_test dlls/ddraw/tests ddraw_test
15001 wine_fn_config_dll ddrawex enable_ddrawex
15002 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15003 wine_fn_config_dll devenum enable_devenum po
15004 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15005 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15006 wine_fn_config_test dlls/dinput/tests dinput_test
15007 wine_fn_config_dll dinput8 enable_dinput8 implib
15008 wine_fn_config_test dlls/dinput8/tests dinput8_test
15009 wine_fn_config_dll dispdib.dll16 enable_win16
15010 wine_fn_config_dll dispex enable_dispex
15011 wine_fn_config_test dlls/dispex/tests dispex_test
15012 wine_fn_config_dll display.drv16 enable_win16
15013 wine_fn_config_dll dmband enable_dmband
15014 wine_fn_config_dll dmcompos enable_dmcompos
15015 wine_fn_config_dll dmime enable_dmime
15016 wine_fn_config_test dlls/dmime/tests dmime_test
15017 wine_fn_config_dll dmloader enable_dmloader
15018 wine_fn_config_test dlls/dmloader/tests dmloader_test
15019 wine_fn_config_dll dmscript enable_dmscript
15020 wine_fn_config_dll dmstyle enable_dmstyle
15021 wine_fn_config_dll dmsynth enable_dmsynth
15022 wine_fn_config_dll dmusic enable_dmusic
15023 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15024 wine_fn_config_dll dnsapi enable_dnsapi implib
15025 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15026 wine_fn_config_dll dplay enable_dplay implib
15027 wine_fn_config_dll dplayx enable_dplayx implib
15028 wine_fn_config_test dlls/dplayx/tests dplayx_test
15029 wine_fn_config_dll dpnaddr enable_dpnaddr
15030 wine_fn_config_dll dpnet enable_dpnet implib
15031 wine_fn_config_test dlls/dpnet/tests dpnet_test
15032 wine_fn_config_dll dpnhpast enable_dpnhpast
15033 wine_fn_config_dll dpnlobby enable_dpnlobby
15034 wine_fn_config_dll dpwsockx enable_dpwsockx
15035 wine_fn_config_dll drmclien enable_drmclien
15036 wine_fn_config_dll dsound enable_dsound implib
15037 wine_fn_config_test dlls/dsound/tests dsound_test
15038 wine_fn_config_dll dssenh enable_dssenh
15039 wine_fn_config_dll dswave enable_dswave
15040 wine_fn_config_dll dwmapi enable_dwmapi implib
15041 wine_fn_config_dll dxdiagn enable_dxdiagn po
15042 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15043 wine_fn_config_lib dxerr8
15044 wine_fn_config_lib dxerr9
15045 wine_fn_config_dll dxgi enable_dxgi implib
15046 wine_fn_config_test dlls/dxgi/tests dxgi_test
15047 wine_fn_config_lib dxguid
15048 wine_fn_config_dll explorerframe enable_explorerframe
15049 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15050 wine_fn_config_dll faultrep enable_faultrep implib
15051 wine_fn_config_test dlls/faultrep/tests faultrep_test
15052 wine_fn_config_dll fltlib enable_fltlib
15053 wine_fn_config_dll fusion enable_fusion
15054 wine_fn_config_test dlls/fusion/tests fusion_test
15055 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15056 wine_fn_config_dll gameux enable_gameux
15057 wine_fn_config_test dlls/gameux/tests gameux_test
15058 wine_fn_config_dll gdi.exe16 enable_win16
15059 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15060 wine_fn_config_test dlls/gdi32/tests gdi32_test
15061 wine_fn_config_dll gdiplus enable_gdiplus implib
15062 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15063 wine_fn_config_dll glu32 enable_glu32 implib
15064 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15065 wine_fn_config_dll gpkcsp enable_gpkcsp
15066 wine_fn_config_dll hal enable_hal
15067 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15068 wine_fn_config_dll hid enable_hid implib
15069 wine_fn_config_dll hlink enable_hlink implib
15070 wine_fn_config_test dlls/hlink/tests hlink_test
15071 wine_fn_config_dll hnetcfg enable_hnetcfg
15072 wine_fn_config_dll httpapi enable_httpapi
15073 wine_fn_config_dll iccvid enable_iccvid po
15074 wine_fn_config_dll icmp enable_icmp
15075 wine_fn_config_dll ieframe enable_ieframe implib,po
15076 wine_fn_config_test dlls/ieframe/tests ieframe_test
15077 wine_fn_config_dll ifsmgr.vxd enable_win16
15078 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15079 wine_fn_config_dll imagehlp enable_imagehlp implib
15080 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15081 wine_fn_config_dll imm.dll16 enable_win16
15082 wine_fn_config_dll imm32 enable_imm32 implib
15083 wine_fn_config_test dlls/imm32/tests imm32_test
15084 wine_fn_config_dll inetcomm enable_inetcomm implib
15085 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15086 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15087 wine_fn_config_dll inetmib1 enable_inetmib1
15088 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15089 wine_fn_config_dll infosoft enable_infosoft
15090 wine_fn_config_test dlls/infosoft/tests infosoft_test
15091 wine_fn_config_dll initpki enable_initpki
15092 wine_fn_config_dll inkobj enable_inkobj
15093 wine_fn_config_dll inseng enable_inseng
15094 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15095 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15096 wine_fn_config_dll itircl enable_itircl
15097 wine_fn_config_dll itss enable_itss
15098 wine_fn_config_test dlls/itss/tests itss_test
15099 wine_fn_config_dll jscript enable_jscript po
15100 wine_fn_config_test dlls/jscript/tests jscript_test
15101 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15102 wine_fn_config_test dlls/kernel32/tests kernel32_test
15103 wine_fn_config_dll keyboard.drv16 enable_win16
15104 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15105 wine_fn_config_dll ktmw32 enable_ktmw32
15106 wine_fn_config_dll loadperf enable_loadperf implib
15107 wine_fn_config_dll localspl enable_localspl po
15108 wine_fn_config_test dlls/localspl/tests localspl_test
15109 wine_fn_config_dll localui enable_localui po
15110 wine_fn_config_test dlls/localui/tests localui_test
15111 wine_fn_config_dll lz32 enable_lz32 implib
15112 wine_fn_config_test dlls/lz32/tests lz32_test
15113 wine_fn_config_dll lzexpand.dll16 enable_win16
15114 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15115 wine_fn_config_test dlls/mapi32/tests mapi32_test
15116 wine_fn_config_dll mapistub enable_mapistub
15117 wine_fn_config_dll mciavi32 enable_mciavi32
15118 wine_fn_config_dll mcicda enable_mcicda
15119 wine_fn_config_dll mciqtz32 enable_mciqtz32
15120 wine_fn_config_dll mciseq enable_mciseq
15121 wine_fn_config_dll mciwave enable_mciwave
15122 wine_fn_config_dll mgmtapi enable_mgmtapi
15123 wine_fn_config_dll midimap enable_midimap
15124 wine_fn_config_dll mlang enable_mlang implib
15125 wine_fn_config_test dlls/mlang/tests mlang_test
15126 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15127 wine_fn_config_dll mmdevapi enable_mmdevapi
15128 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15129 wine_fn_config_dll mmdevldr.vxd enable_win16
15130 wine_fn_config_dll mmsystem.dll16 enable_win16
15131 wine_fn_config_dll monodebg.vxd enable_win16
15132 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15133 wine_fn_config_dll mouse.drv16 enable_win16
15134 wine_fn_config_dll mpr enable_mpr implib,po
15135 wine_fn_config_dll mprapi enable_mprapi implib
15136 wine_fn_config_dll msacm.dll16 enable_win16
15137 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15138 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15139 wine_fn_config_test dlls/msacm32/tests msacm32_test
15140 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15141 wine_fn_config_dll mscat32 enable_mscat32
15142 wine_fn_config_dll mscms enable_mscms implib
15143 wine_fn_config_test dlls/mscms/tests mscms_test
15144 wine_fn_config_dll mscoree enable_mscoree
15145 wine_fn_config_test dlls/mscoree/tests mscoree_test
15146 wine_fn_config_dll msctf enable_msctf
15147 wine_fn_config_test dlls/msctf/tests msctf_test
15148 wine_fn_config_dll msdaps enable_msdaps
15149 wine_fn_config_dll msdmo enable_msdmo implib
15150 wine_fn_config_dll msftedit enable_msftedit
15151 wine_fn_config_dll msg711.acm enable_msg711_acm
15152 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15153 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15154 wine_fn_config_dll mshtml enable_mshtml implib,po
15155 wine_fn_config_test dlls/mshtml/tests mshtml_test
15156 wine_fn_config_dll msi enable_msi implib,po
15157 wine_fn_config_test dlls/msi/tests msi_test
15158 wine_fn_config_dll msident enable_msident
15159 wine_fn_config_dll msimg32 enable_msimg32 implib
15160 wine_fn_config_dll msimsg enable_msimsg
15161 wine_fn_config_dll msimtf enable_msimtf
15162 wine_fn_config_dll msisip enable_msisip
15163 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15164 wine_fn_config_dll msnet32 enable_msnet32
15165 wine_fn_config_dll mspatcha enable_mspatcha
15166 wine_fn_config_dll msrle32 enable_msrle32 po
15167 wine_fn_config_dll mssign32 enable_mssign32
15168 wine_fn_config_dll mssip32 enable_mssip32
15169 wine_fn_config_dll mstask enable_mstask
15170 wine_fn_config_test dlls/mstask/tests mstask_test
15171 wine_fn_config_dll msvcirt enable_msvcirt
15172 wine_fn_config_dll msvcp100 enable_msvcp100
15173 wine_fn_config_dll msvcp60 enable_msvcp60
15174 wine_fn_config_dll msvcp70 enable_msvcp70
15175 wine_fn_config_dll msvcp71 enable_msvcp71
15176 wine_fn_config_dll msvcp80 enable_msvcp80
15177 wine_fn_config_dll msvcp90 enable_msvcp90
15178 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15179 wine_fn_config_dll msvcr100 enable_msvcr100
15180 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15181 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15182 wine_fn_config_dll msvcr80 enable_msvcr80
15183 wine_fn_config_dll msvcr90 enable_msvcr90
15184 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15185 wine_fn_config_dll msvcrt enable_msvcrt implib
15186 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15187 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15188 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15189 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15190 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15191 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15192 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15193 wine_fn_config_dll msvidc32 enable_msvidc32 po
15194 wine_fn_config_dll msvideo.dll16 enable_win16
15195 wine_fn_config_dll mswsock enable_mswsock implib
15196 wine_fn_config_dll msxml enable_msxml
15197 wine_fn_config_dll msxml2 enable_msxml2
15198 wine_fn_config_dll msxml3 enable_msxml3
15199 wine_fn_config_test dlls/msxml3/tests msxml3_test
15200 wine_fn_config_dll msxml4 enable_msxml4
15201 wine_fn_config_dll msxml6 enable_msxml6
15202 wine_fn_config_dll nddeapi enable_nddeapi implib
15203 wine_fn_config_dll netapi32 enable_netapi32 implib
15204 wine_fn_config_test dlls/netapi32/tests netapi32_test
15205 wine_fn_config_dll newdev enable_newdev implib
15206 wine_fn_config_dll normaliz enable_normaliz implib
15207 wine_fn_config_dll npmshtml enable_npmshtml
15208 wine_fn_config_dll ntdll enable_ntdll implib
15209 wine_fn_config_test dlls/ntdll/tests ntdll_test
15210 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15211 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15212 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15213 wine_fn_config_dll ntprint enable_ntprint
15214 wine_fn_config_test dlls/ntprint/tests ntprint_test
15215 wine_fn_config_dll objsel enable_objsel
15216 wine_fn_config_dll odbc32 enable_odbc32 implib
15217 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15218 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15219 wine_fn_config_dll ole2.dll16 enable_win16
15220 wine_fn_config_dll ole2conv.dll16 enable_win16
15221 wine_fn_config_dll ole2disp.dll16 enable_win16
15222 wine_fn_config_dll ole2nls.dll16 enable_win16
15223 wine_fn_config_dll ole2prox.dll16 enable_win16
15224 wine_fn_config_dll ole2thk.dll16 enable_win16
15225 wine_fn_config_dll ole32 enable_ole32 implib
15226 wine_fn_config_test dlls/ole32/tests ole32_test
15227 wine_fn_config_dll oleacc enable_oleacc implib,po
15228 wine_fn_config_test dlls/oleacc/tests oleacc_test
15229 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15230 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15231 wine_fn_config_dll olecli.dll16 enable_win16
15232 wine_fn_config_dll olecli32 enable_olecli32 implib
15233 wine_fn_config_dll oledb32 enable_oledb32
15234 wine_fn_config_test dlls/oledb32/tests oledb32_test
15235 wine_fn_config_dll oledlg enable_oledlg implib,po
15236 wine_fn_config_dll olepro32 enable_olepro32 implib
15237 wine_fn_config_dll olesvr.dll16 enable_win16
15238 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15239 wine_fn_config_dll olethk32 enable_olethk32
15240 wine_fn_config_dll openal32 enable_openal32
15241 wine_fn_config_dll opencl enable_opencl
15242 wine_fn_config_dll opengl32 enable_opengl32 implib
15243 wine_fn_config_test dlls/opengl32/tests opengl32_test
15244 wine_fn_config_dll pdh enable_pdh implib
15245 wine_fn_config_test dlls/pdh/tests pdh_test
15246 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15247 wine_fn_config_dll pidgen enable_pidgen
15248 wine_fn_config_dll powrprof enable_powrprof implib
15249 wine_fn_config_dll printui enable_printui
15250 wine_fn_config_dll propsys enable_propsys implib
15251 wine_fn_config_test dlls/propsys/tests propsys_test
15252 wine_fn_config_dll psapi enable_psapi implib
15253 wine_fn_config_test dlls/psapi/tests psapi_test
15254 wine_fn_config_dll pstorec enable_pstorec
15255 wine_fn_config_dll qcap enable_qcap
15256 wine_fn_config_dll qedit enable_qedit
15257 wine_fn_config_test dlls/qedit/tests qedit_test
15258 wine_fn_config_dll qmgr enable_qmgr
15259 wine_fn_config_test dlls/qmgr/tests qmgr_test
15260 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15261 wine_fn_config_dll quartz enable_quartz implib
15262 wine_fn_config_test dlls/quartz/tests quartz_test
15263 wine_fn_config_dll query enable_query
15264 wine_fn_config_dll rasapi16.dll16 enable_win16
15265 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15266 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15267 wine_fn_config_dll rasdlg enable_rasdlg implib
15268 wine_fn_config_dll regapi enable_regapi
15269 wine_fn_config_dll resutils enable_resutils implib
15270 wine_fn_config_dll riched20 enable_riched20 implib
15271 wine_fn_config_test dlls/riched20/tests riched20_test
15272 wine_fn_config_dll riched32 enable_riched32
15273 wine_fn_config_test dlls/riched32/tests riched32_test
15274 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15275 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15276 wine_fn_config_dll rsabase enable_rsabase
15277 wine_fn_config_dll rsaenh enable_rsaenh implib
15278 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15279 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15280 wine_fn_config_dll rtutils enable_rtutils implib
15281 wine_fn_config_dll samlib enable_samlib
15282 wine_fn_config_dll sane.ds enable_sane_ds po
15283 wine_fn_config_dll scarddlg enable_scarddlg
15284 wine_fn_config_dll sccbase enable_sccbase
15285 wine_fn_config_dll schannel enable_schannel
15286 wine_fn_config_test dlls/schannel/tests schannel_test
15287 wine_fn_config_dll scrrun enable_scrrun
15288 wine_fn_config_dll secur32 enable_secur32 implib
15289 wine_fn_config_test dlls/secur32/tests secur32_test
15290 wine_fn_config_dll security enable_security
15291 wine_fn_config_dll sensapi enable_sensapi implib
15292 wine_fn_config_dll serialui enable_serialui implib,po
15293 wine_fn_config_test dlls/serialui/tests serialui_test
15294 wine_fn_config_dll setupapi enable_setupapi implib,po
15295 wine_fn_config_test dlls/setupapi/tests setupapi_test
15296 wine_fn_config_dll setupx.dll16 enable_win16
15297 wine_fn_config_dll sfc enable_sfc implib
15298 wine_fn_config_dll sfc_os enable_sfc_os implib
15299 wine_fn_config_dll shdoclc enable_shdoclc po
15300 wine_fn_config_dll shdocvw enable_shdocvw implib
15301 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15302 wine_fn_config_dll shell.dll16 enable_win16
15303 wine_fn_config_dll shell32 enable_shell32 implib,po
15304 wine_fn_config_test dlls/shell32/tests shell32_test
15305 wine_fn_config_dll shfolder enable_shfolder implib
15306 wine_fn_config_dll shlwapi enable_shlwapi implib,po
15307 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15308 wine_fn_config_dll slbcsp enable_slbcsp
15309 wine_fn_config_dll slc enable_slc implib
15310 wine_fn_config_dll snmpapi enable_snmpapi implib
15311 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15312 wine_fn_config_dll softpub enable_softpub
15313 wine_fn_config_dll sound.drv16 enable_win16
15314 wine_fn_config_dll spoolss enable_spoolss implib
15315 wine_fn_config_test dlls/spoolss/tests spoolss_test
15316 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15317 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15318 wine_fn_config_dll sti enable_sti implib
15319 wine_fn_config_test dlls/sti/tests sti_test
15320 wine_fn_config_dll storage.dll16 enable_win16
15321 wine_fn_config_dll stress.dll16 enable_win16
15322 wine_fn_config_lib strmbase
15323 wine_fn_config_lib strmiids
15324 wine_fn_config_dll svrapi enable_svrapi
15325 wine_fn_config_dll sxs enable_sxs
15326 wine_fn_config_dll system.drv16 enable_win16
15327 wine_fn_config_dll t2embed enable_t2embed
15328 wine_fn_config_dll tapi32 enable_tapi32 implib
15329 wine_fn_config_dll toolhelp.dll16 enable_win16
15330 wine_fn_config_dll traffic enable_traffic
15331 wine_fn_config_dll twain.dll16 enable_win16
15332 wine_fn_config_dll twain_32 enable_twain_32
15333 wine_fn_config_test dlls/twain_32/tests twain_32_test
15334 wine_fn_config_dll typelib.dll16 enable_win16
15335 wine_fn_config_dll unicows enable_unicows implib
15336 wine_fn_config_dll updspapi enable_updspapi
15337 wine_fn_config_dll url enable_url implib
15338 wine_fn_config_dll urlmon enable_urlmon implib
15339 wine_fn_config_test dlls/urlmon/tests urlmon_test
15340 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15341 wine_fn_config_dll user.exe16 enable_win16
15342 wine_fn_config_dll user32 enable_user32 implib,po
15343 wine_fn_config_test dlls/user32/tests user32_test
15344 wine_fn_config_dll userenv enable_userenv implib
15345 wine_fn_config_test dlls/userenv/tests userenv_test
15346 wine_fn_config_dll usp10 enable_usp10 implib
15347 wine_fn_config_test dlls/usp10/tests usp10_test
15348 wine_fn_config_lib uuid
15349 wine_fn_config_dll uxtheme enable_uxtheme implib
15350 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15351 wine_fn_config_dll vbscript enable_vbscript
15352 wine_fn_config_test dlls/vbscript/tests vbscript_test
15353 wine_fn_config_dll vcomp enable_vcomp
15354 wine_fn_config_dll vdhcp.vxd enable_win16
15355 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15356 wine_fn_config_dll ver.dll16 enable_win16
15357 wine_fn_config_dll version enable_version implib
15358 wine_fn_config_test dlls/version/tests version_test
15359 wine_fn_config_dll vmm.vxd enable_win16
15360 wine_fn_config_dll vnbt.vxd enable_win16
15361 wine_fn_config_dll vnetbios.vxd enable_win16
15362 wine_fn_config_dll vtdapi.vxd enable_win16
15363 wine_fn_config_dll vwin32.vxd enable_win16
15364 wine_fn_config_dll w32skrnl enable_win16
15365 wine_fn_config_dll w32sys.dll16 enable_win16
15366 wine_fn_config_dll wbemprox enable_wbemprox
15367 wine_fn_config_dll wer enable_wer implib
15368 wine_fn_config_test dlls/wer/tests wer_test
15369 wine_fn_config_dll wevtapi enable_wevtapi
15370 wine_fn_config_dll wiaservc enable_wiaservc
15371 wine_fn_config_dll win32s16.dll16 enable_win16
15372 wine_fn_config_dll win87em.dll16 enable_win16
15373 wine_fn_config_dll winaspi.dll16 enable_win16
15374 wine_fn_config_dll windebug.dll16 enable_win16
15375 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15376 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15377 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15378 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15379 wine_fn_config_lib winecrt0
15380 wine_fn_config_dll wined3d enable_wined3d implib
15381 wine_fn_config_dll winegstreamer enable_winegstreamer
15382 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15383 wine_fn_config_dll winemapi enable_winemapi
15384 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15385 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15386 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
15387 wine_fn_config_dll wineps16.drv16 enable_win16
15388 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15389 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15390 wine_fn_config_dll winex11.drv enable_winex11_drv
15391 wine_fn_config_dll wing.dll16 enable_win16
15392 wine_fn_config_dll wing32 enable_wing32
15393 wine_fn_config_dll winhttp enable_winhttp implib
15394 wine_fn_config_test dlls/winhttp/tests winhttp_test
15395 wine_fn_config_dll wininet enable_wininet implib,po
15396 wine_fn_config_test dlls/wininet/tests wininet_test
15397 wine_fn_config_dll winmm enable_winmm implib,po
15398 wine_fn_config_test dlls/winmm/tests winmm_test
15399 wine_fn_config_dll winnls.dll16 enable_win16
15400 wine_fn_config_dll winnls32 enable_winnls32 implib
15401 wine_fn_config_dll winscard enable_winscard implib
15402 wine_fn_config_dll winsock.dll16 enable_win16
15403 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
15404 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15405 wine_fn_config_dll winsta enable_winsta
15406 wine_fn_config_dll wintab.dll16 enable_win16
15407 wine_fn_config_dll wintab32 enable_wintab32 implib
15408 wine_fn_config_test dlls/wintab32/tests wintab32_test
15409 wine_fn_config_dll wintrust enable_wintrust implib
15410 wine_fn_config_test dlls/wintrust/tests wintrust_test
15411 wine_fn_config_dll wlanapi enable_wlanapi
15412 wine_fn_config_dll wldap32 enable_wldap32 implib,po
15413 wine_fn_config_test dlls/wldap32/tests wldap32_test
15414 wine_fn_config_dll wmi enable_wmi
15415 wine_fn_config_dll wmiutils enable_wmiutils
15416 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15417 wine_fn_config_dll wow32 enable_win16 implib
15418 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15419 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15420 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15421 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
15422 wine_fn_config_dll wsock32 enable_wsock32 implib
15423 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15424 wine_fn_config_dll wuapi enable_wuapi
15425 wine_fn_config_dll wuaueng enable_wuaueng
15426 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15427 wine_fn_config_dll xinput1_1 enable_xinput1_1
15428 wine_fn_config_dll xinput1_2 enable_xinput1_2
15429 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15430 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15431 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15432 wine_fn_config_dll xmllite enable_xmllite
15433 wine_fn_config_test dlls/xmllite/tests xmllite_test
15434 wine_fn_config_dll xolehlp enable_xolehlp
15435 wine_fn_config_dll xpsprint enable_xpsprint
15436 wine_fn_config_makefile documentation enable_documentation
15437 wine_fn_config_makefile fonts enable_fonts install-lib
15438 wine_fn_config_makefile include enable_include install-dev
15439 wine_fn_config_makefile libs/port enable_libs_port
15440 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
15441 wine_fn_config_makefile libs/wpp enable_libs_wpp
15442 wine_fn_config_makefile loader enable_loader install-lib,manpage
15443 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15444 wine_fn_config_program attrib enable_attrib install,po
15445 wine_fn_config_program cabarc enable_cabarc install
15446 wine_fn_config_program cacls enable_cacls install
15447 wine_fn_config_program clock enable_clock install,po
15448 wine_fn_config_program cmd enable_cmd install,po
15449 wine_fn_config_test programs/cmd/tests cmd.exe_test
15450 wine_fn_config_program control enable_control install
15451 wine_fn_config_program cscript enable_cscript install
15452 wine_fn_config_program dxdiag enable_dxdiag install,po
15453 wine_fn_config_program eject enable_eject install
15454 wine_fn_config_program expand enable_expand install
15455 wine_fn_config_program explorer enable_explorer install,po
15456 wine_fn_config_program extrac32 enable_extrac32 install
15457 wine_fn_config_program hh enable_hh install
15458 wine_fn_config_program hostname enable_hostname install,po
15459 wine_fn_config_program icinfo enable_icinfo install
15460 wine_fn_config_program iexplore enable_iexplore install
15461 wine_fn_config_program ipconfig enable_ipconfig install,po
15462 wine_fn_config_program lodctr enable_lodctr install
15463 wine_fn_config_program mofcomp enable_mofcomp install
15464 wine_fn_config_program mshta enable_mshta install
15465 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
15466 wine_fn_config_program net enable_net install,po
15467 wine_fn_config_program netsh enable_netsh install
15468 wine_fn_config_program ngen enable_ngen install
15469 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
15470 wine_fn_config_program oleview enable_oleview install,po
15471 wine_fn_config_program ping enable_ping install
15472 wine_fn_config_program plugplay enable_plugplay install
15473 wine_fn_config_program presentationfontcache enable_presentationfontcache install
15474 wine_fn_config_program progman enable_progman install,po
15475 wine_fn_config_program reg enable_reg install,po
15476 wine_fn_config_program regasm enable_regasm install
15477 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
15478 wine_fn_config_test programs/regedit/tests regedit.exe_test
15479 wine_fn_config_program regsvcs enable_regsvcs install
15480 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
15481 wine_fn_config_program rpcss enable_rpcss install
15482 wine_fn_config_program rundll.exe16 enable_win16 install
15483 wine_fn_config_program rundll32 enable_rundll32 install
15484 wine_fn_config_program sc enable_sc install
15485 wine_fn_config_program secedit enable_secedit install
15486 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15487 wine_fn_config_program services enable_services install
15488 wine_fn_config_program spoolsv enable_spoolsv install
15489 wine_fn_config_program start enable_start install,po
15490 wine_fn_config_program svchost enable_svchost install
15491 wine_fn_config_program taskkill enable_taskkill install,po
15492 wine_fn_config_program taskmgr enable_taskmgr install,po
15493 wine_fn_config_program termsv enable_termsv install
15494 wine_fn_config_program uninstaller enable_uninstaller install,po
15495 wine_fn_config_program unlodctr enable_unlodctr install
15496 wine_fn_config_program view enable_view install,po
15497 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
15498 wine_fn_config_program winebrowser enable_winebrowser install
15499 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
15500 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
15501 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
15502 wine_fn_config_program winedevice enable_winedevice install
15503 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
15504 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15505 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
15506 wine_fn_config_program winemsibuilder enable_winemsibuilder install
15507 wine_fn_config_program winepath enable_winepath install,installbin,manpage
15508 wine_fn_config_program winetest enable_winetest
15509 wine_fn_config_program winevdm enable_win16 install
15510 wine_fn_config_program winhelp.exe16 enable_win16 install
15511 wine_fn_config_program winhlp32 enable_winhlp32 install,po
15512 wine_fn_config_program winoldap.mod16 enable_win16 install
15513 wine_fn_config_program winver enable_winver install
15514 wine_fn_config_program wmic enable_wmic install
15515 wine_fn_config_program wordpad enable_wordpad install,po
15516 wine_fn_config_program write enable_write install,po
15517 wine_fn_config_program wscript enable_wscript install
15518 wine_fn_config_test programs/wscript/tests wscript.exe_test
15519 wine_fn_config_program wusa enable_wusa install
15520 wine_fn_config_program xcopy enable_xcopy install,po
15521 wine_fn_config_makefile server enable_server install-lib,manpage
15522 wine_fn_config_tool tools install-dev,install-lib,manpage
15523 wine_fn_config_tool tools/widl install-dev,manpage
15524 wine_fn_config_tool tools/winebuild install-dev,manpage
15525 wine_fn_config_tool tools/winedump install-dev,manpage
15526 wine_fn_config_tool tools/winegcc install-dev,manpage
15527 wine_fn_config_tool tools/wmc install-dev,manpage
15528 wine_fn_config_tool tools/wrc install-dev,manpage
15578 ac_config_commands="$ac_config_commands Makefile"
15581 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15585 if test "x$enable_maintainer_mode" = xyes
15587 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15588 cd \$(srcdir) && autoconf --warnings=all
15589 \$(srcdir)/include/config.h.in: include/stamp-h.in
15590 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15591 cd \$(srcdir) && autoheader --warnings=all
15592 @echo timestamp > \$@"
15595 if test "x$with_gettextpo" = xyes
15597 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15598 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
15599 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15600 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15601 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15602 msgcat -o \$@ \$(ALL_POT_FILES)"
15605 if test "$MSGFMT" != false
15607 PORCFLAGS="--po-dir=\$(top_builddir)/po"
15609 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
15614 if test "x$enable_tools" != xno
15616 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
15618 \$(RM) tools/makedep\$(EXEEXT)"
15621 if test -n "$with_wine64"
15623 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15624 fonts server tools:
15625 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15626 $with_wine64/loader/wine:
15627 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15628 $with_wine64/loader/wine-preloader:
15629 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15631 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15634 cat >confcache <<\_ACEOF
15635 # This file is a shell script that caches the results of configure
15636 # tests run on this system so they can be shared between configure
15637 # scripts and configure runs, see configure's option --config-cache.
15638 # It is not useful on other systems. If it contains results you don't
15639 # want to keep, you may remove or edit it.
15641 # config.status only pays attention to the cache file if you give it
15642 # the --recheck option to rerun configure.
15644 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15645 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15646 # following values.
15650 # The following way of writing the cache mishandles newlines in values,
15651 # but we know of no workaround that is simple, portable, and efficient.
15652 # So, we kill variables containing newlines.
15653 # Ultrix sh set writes to stderr and can't be redirected directly,
15654 # and sets the high bit in the cache file unless we assign to the vars.
15656 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15657 eval ac_val=\$$ac_var
15661 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15662 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15665 _ | IFS | as_nl) ;; #(
15666 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15667 *) { eval $ac_var=; unset $ac_var;} ;;
15673 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15674 *${as_nl}ac_space=\ *)
15675 # `set' does not quote correctly, so add quotes: double-quote
15676 # substitution turns \\\\ into \\, and sed turns \\ into \.
15679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15682 # `set' quotes correctly as required by POSIX, so do not add quotes.
15683 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15692 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15694 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15696 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15697 if test -w "$cache_file"; then
15698 if test "x$cache_file" != "x/dev/null"; then
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15700 $as_echo "$as_me: updating cache $cache_file" >&6;}
15701 if test ! -f "$cache_file" || test -h "$cache_file"; then
15702 cat confcache >"$cache_file"
15704 case $cache_file in #(
15706 mv -f confcache "$cache_file"$$ &&
15707 mv -f "$cache_file"$$ "$cache_file" ;; #(
15709 mv -f confcache "$cache_file" ;;
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15715 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15720 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15721 # Let make expand exec_prefix.
15722 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15724 DEFS=-DHAVE_CONFIG_H
15729 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15730 # 1. Remove the extension, and $U if already installed.
15731 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15732 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15733 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15734 # will be set to the directory where LIBOBJS objects are built.
15735 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15736 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15738 LIBOBJS=$ac_libobjs
15740 LTLIBOBJS=$ac_ltlibobjs
15744 : "${CONFIG_STATUS=./config.status}"
15746 ac_clean_files_save=$ac_clean_files
15747 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15749 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15751 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15753 # Generated by $as_me.
15754 # Run this file to recreate the current configuration.
15755 # Compiler output produced by configure, useful for debugging
15756 # configure, is in config.log if it exists.
15759 ac_cs_recheck=false
15762 SHELL=\${CONFIG_SHELL-$SHELL}
15765 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15766 ## -------------------- ##
15767 ## M4sh Initialization. ##
15768 ## -------------------- ##
15770 # Be more Bourne compatible
15771 DUALCASE=1; export DUALCASE # for MKS sh
15772 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15775 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15776 # is contrary to our usage. Disable this feature.
15777 alias -g '${1+"$@"}'='"$@"'
15778 setopt NO_GLOB_SUBST
15780 case `(set -o) 2>/dev/null` in #(
15792 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15793 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15796 # Prefer a ksh shell builtin over an external printf program on Solaris,
15797 # but without wasting forks for bash or zsh.
15798 if test -z "$BASH_VERSION$ZSH_VERSION" \
15799 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15800 as_echo='print -r --'
15801 as_echo_n='print -rn --'
15802 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15803 as_echo='printf %s\n'
15804 as_echo_n='printf %s'
15806 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15807 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15808 as_echo_n='/usr/ucb/echo -n'
15810 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15811 as_echo_n_body='eval
15815 expr "X$arg" : "X\\(.*\\)$as_nl";
15816 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15818 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15820 export as_echo_n_body
15821 as_echo_n='sh -c $as_echo_n_body as_echo'
15823 export as_echo_body
15824 as_echo='sh -c $as_echo_body as_echo'
15827 # The user is always right.
15828 if test "${PATH_SEPARATOR+set}" != set; then
15830 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15831 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15838 # We need space, tab and new line, in precisely that order. Quoting is
15839 # there to prevent editors from complaining about space-tab.
15840 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15841 # splitting by setting IFS to empty value.)
15844 # Find who we are. Look in the path if we contain no directory separator.
15847 *[\\/]* ) as_myself=$0 ;;
15848 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15849 for as_dir in $PATH
15852 test -z "$as_dir" && as_dir=.
15853 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15859 # We did not find ourselves, most probably we were run as `sh COMMAND'
15860 # in which case we are not to be found in the path.
15861 if test "x$as_myself" = x; then
15864 if test ! -f "$as_myself"; then
15865 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15869 # Unset variables that we do not need and which cause bugs (e.g. in
15870 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15871 # suppresses any "Segmentation fault" message there. '((' could
15872 # trigger a bug in pdksh 5.2.14.
15873 for as_var in BASH_ENV ENV MAIL MAILPATH
15874 do eval test x\${$as_var+set} = xset \
15875 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15891 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15892 # ----------------------------------------
15893 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15894 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15895 # script with STATUS, using 1 if that was 0.
15898 as_status=$1; test $as_status -eq 0 && as_status=1
15900 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15901 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15903 $as_echo "$as_me: error: $2" >&2
15904 as_fn_exit $as_status
15908 # as_fn_set_status STATUS
15909 # -----------------------
15910 # Set $? to STATUS, without forking.
15911 as_fn_set_status ()
15914 } # as_fn_set_status
15916 # as_fn_exit STATUS
15917 # -----------------
15918 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15922 as_fn_set_status $1
15928 # Portably unset VAR.
15931 { eval $1=; unset $1;}
15933 as_unset=as_fn_unset
15934 # as_fn_append VAR VALUE
15935 # ----------------------
15936 # Append the text in VALUE to the end of the definition contained in VAR. Take
15937 # advantage of any shell optimizations that allow amortized linear growth over
15938 # repeated appends, instead of the typical quadratic growth present in naive
15940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15941 eval 'as_fn_append ()
15952 # as_fn_arith ARG...
15953 # ------------------
15954 # Perform arithmetic evaluation on the ARGs, and store the result in the
15955 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15956 # must be portable across $(()) and expr.
15957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15958 eval 'as_fn_arith ()
15965 as_val=`expr "$@" || test $? -eq 1`
15970 if expr a : '\(a\)' >/dev/null 2>&1 &&
15971 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15977 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15978 as_basename=basename
15983 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15989 as_me=`$as_basename -- "$0" ||
15990 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15991 X"$0" : 'X\(//\)$' \| \
15992 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15994 sed '/^.*\/\([^/][^/]*\)\/*$/{
16008 # Avoid depending upon Character Ranges.
16009 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16010 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16011 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16012 as_cr_digits='0123456789'
16013 as_cr_alnum=$as_cr_Letters$as_cr_digits
16015 ECHO_C= ECHO_N= ECHO_T=
16016 case `echo -n x` in #(((((
16018 case `echo 'xy\c'` in
16019 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16021 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16028 rm -f conf$$ conf$$.exe conf$$.file
16029 if test -d conf$$.dir; then
16030 rm -f conf$$.dir/conf$$.file
16033 mkdir conf$$.dir 2>/dev/null
16035 if (echo >conf$$.file) 2>/dev/null; then
16036 if ln -s conf$$.file conf$$ 2>/dev/null; then
16038 # ... but there are two gotchas:
16039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16041 # In both cases, we have to default to `cp -p'.
16042 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16044 elif ln conf$$.file conf$$ 2>/dev/null; then
16052 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16053 rmdir conf$$.dir 2>/dev/null
16058 # Create "$as_dir" as a directory, including parents if necessary.
16063 -*) as_dir=./$as_dir;;
16065 test -d "$as_dir" || eval $as_mkdir_p || {
16069 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16070 *) as_qdir=$as_dir;;
16072 as_dirs="'$as_qdir' $as_dirs"
16073 as_dir=`$as_dirname -- "$as_dir" ||
16074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16075 X"$as_dir" : 'X\(//\)[^/]' \| \
16076 X"$as_dir" : 'X\(//\)$' \| \
16077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16078 $as_echo X"$as_dir" |
16079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16083 /^X\(\/\/\)[^/].*/{
16096 test -d "$as_dir" && break
16098 test -z "$as_dirs" || eval "mkdir $as_dirs"
16099 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16103 if mkdir -p . 2>/dev/null; then
16104 as_mkdir_p='mkdir -p "$as_dir"'
16106 test -d ./-p && rmdir ./-p
16110 if test -x / >/dev/null 2>&1; then
16111 as_test_x='test -x'
16113 if ls -dL / >/dev/null 2>&1; then
16120 if test -d "$1"; then
16126 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16127 ???[sx]*):;;*)false;;esac;fi
16131 as_executable_p=$as_test_x
16133 # Sed expression to map a string onto a valid CPP name.
16134 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16136 # Sed expression to map a string onto a valid variable name.
16137 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16141 ## ----------------------------------- ##
16142 ## Main body of $CONFIG_STATUS script. ##
16143 ## ----------------------------------- ##
16145 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16148 # Save the log message, to keep $0 and so on meaningful, and to
16149 # report actual input values of CONFIG_FILES etc. instead of their
16150 # values after options handling.
16152 This file was extended by Wine $as_me 1.4, which was
16153 generated by GNU Autoconf 2.68. Invocation command line was
16155 CONFIG_FILES = $CONFIG_FILES
16156 CONFIG_HEADERS = $CONFIG_HEADERS
16157 CONFIG_LINKS = $CONFIG_LINKS
16158 CONFIG_COMMANDS = $CONFIG_COMMANDS
16161 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16166 case $ac_config_files in *"
16167 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16170 case $ac_config_headers in *"
16171 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16176 # Files that config.status was made for.
16177 config_files="$ac_config_files"
16178 config_headers="$ac_config_headers"
16179 config_links="$ac_config_links"
16180 config_commands="$ac_config_commands"
16184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16186 \`$as_me' instantiates files and other configuration actions
16187 from templates according to the current configuration. Unless the files
16188 and actions are specified as TAGs, all are instantiated by default.
16190 Usage: $0 [OPTION]... [TAG]...
16192 -h, --help print this help, then exit
16193 -V, --version print version number and configuration settings, then exit
16194 --config print configuration, then exit
16195 -q, --quiet, --silent
16196 do not print progress messages
16197 -d, --debug don't remove temporary files
16198 --recheck update $as_me by reconfiguring in the same conditions
16199 --file=FILE[:TEMPLATE]
16200 instantiate the configuration file FILE
16201 --header=FILE[:TEMPLATE]
16202 instantiate the configuration header FILE
16204 Configuration files:
16207 Configuration headers:
16210 Configuration links:
16213 Configuration commands:
16216 Report bugs to <wine-devel@winehq.org>.
16217 Wine home page: <http://www.winehq.org>."
16220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16221 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16223 Wine config.status 1.4
16224 configured by $0, generated by GNU Autoconf 2.68,
16225 with options \\"\$ac_cs_config\\"
16227 Copyright (C) 2010 Free Software Foundation, Inc.
16228 This config.status script is free software; the Free Software Foundation
16229 gives unlimited permission to copy, distribute and modify it."
16234 test -n "\$AWK" || AWK=awk
16237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16238 # The default lists apply if the user does not specify any file.
16244 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16245 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16249 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16261 # Handling of the options.
16262 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16264 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16265 $as_echo "$ac_cs_version"; exit ;;
16266 --config | --confi | --conf | --con | --co | --c )
16267 $as_echo "$ac_cs_config"; exit ;;
16268 --debug | --debu | --deb | --de | --d | -d )
16270 --file | --fil | --fi | --f )
16273 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16274 '') as_fn_error $? "missing file argument" ;;
16276 as_fn_append CONFIG_FILES " '$ac_optarg'"
16277 ac_need_defaults=false;;
16278 --header | --heade | --head | --hea )
16281 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16283 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16284 ac_need_defaults=false;;
16286 # Conflict between --help and --header
16287 as_fn_error $? "ambiguous option: \`$1'
16288 Try \`$0 --help' for more information.";;
16289 --help | --hel | -h )
16290 $as_echo "$ac_cs_usage"; exit ;;
16291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16292 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16295 # This is an error.
16296 -*) as_fn_error $? "unrecognized option: \`$1'
16297 Try \`$0 --help' for more information." ;;
16299 *) as_fn_append ac_config_targets " $1"
16300 ac_need_defaults=false ;;
16306 ac_configure_extra_args=
16308 if $ac_cs_silent; then
16310 ac_configure_extra_args="$ac_configure_extra_args --silent"
16314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16315 if \$ac_cs_recheck; then
16316 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16318 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16319 CONFIG_SHELL='$SHELL'
16320 export CONFIG_SHELL
16325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16329 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16330 ## Running $as_me. ##
16336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16340 wine_fn_output_makefile ()
16342 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16343 $ALL_MAKEFILE_DEPENDS
16345 as_fn_error $? "could not create Makefile" "$LINENO" 5
16350 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16352 # Handling of arguments.
16353 for ac_config_target in $ac_config_targets
16355 case $ac_config_target in
16356 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16357 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16358 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16359 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16360 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16361 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16362 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16363 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16364 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16365 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16366 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16367 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16368 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16369 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16370 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16371 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16372 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16373 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16374 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16375 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16376 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16377 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16378 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16379 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16380 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16381 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16383 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16388 # If the user did not use the arguments to specify the items to instantiate,
16389 # then the envvar interface is used. Set only those that are not.
16390 # We use the long form for the default assignment because of an extremely
16391 # bizarre bug on SunOS 4.1.3.
16392 if $ac_need_defaults; then
16393 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16394 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16395 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16399 # Have a temporary directory for convenience. Make it in the build tree
16400 # simply because there is no reason against having it here, and in addition,
16401 # creating and moving files from /tmp can sometimes cause problems.
16402 # Hook for its removal unless debugging.
16403 # Note that there is a small window in which the directory will not be cleaned:
16404 # after its creation but before its name has been assigned to `$tmp'.
16408 trap 'exit_status=$?
16409 : "${ac_tmp:=$tmp}"
16410 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16412 trap 'as_fn_exit 1' 1 2 13 15
16414 # Create a (secure) tmp directory for tmp files.
16417 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16421 tmp=./conf$$-$RANDOM
16422 (umask 077 && mkdir "$tmp")
16423 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16426 # Set up the scripts for CONFIG_FILES section.
16427 # No need to generate them if there are no CONFIG_FILES.
16428 # This happens for instance with `./config.status config.h'.
16429 if test -n "$CONFIG_FILES"; then
16431 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16432 ac_cs_awk_getline=:
16433 ac_cs_awk_pipe_init=
16434 ac_cs_awk_read_file='
16435 while ((getline aline < (F[key])) > 0)
16438 ac_cs_awk_pipe_fini=
16440 ac_cs_awk_getline=false
16441 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16442 ac_cs_awk_read_file='
16444 print "cat " F[key] " &&"
16445 '$ac_cs_awk_pipe_init
16446 # The final `:' finishes the AND list.
16447 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16449 ac_cr=`echo X | tr X '\015'`
16450 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16451 # But we know of no other shell where ac_cr would be empty at this
16452 # point, so we can use a bashism as a fallback.
16453 if test "x$ac_cr" = x; then
16454 eval ac_cr=\$\'\\r\'
16456 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16457 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16460 ac_cs_awk_cr=$ac_cr
16463 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16466 # Create commands to substitute file output variables.
16468 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16469 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16470 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16473 } >conf$$files.sh &&
16474 . ./conf$$files.sh ||
16475 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16476 rm -f conf$$files.sh
16479 echo "cat >conf$$subs.awk <<_ACEOF" &&
16480 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16482 } >conf$$subs.sh ||
16483 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16484 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16486 for ac_last_try in false false false false false :; do
16487 . ./conf$$subs.sh ||
16488 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16490 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16491 if test $ac_delim_n = $ac_delim_num; then
16493 elif $ac_last_try; then
16494 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16496 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16499 rm -f conf$$subs.sh
16501 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16502 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16506 s/^/S["/; s/!.*/"]=/
16516 s/\(.\{148\}\)..*/\1/
16518 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16523 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16530 s/\(.\{148\}\)..*/\1/
16532 s/["\\]/\\&/g; s/^/"/; s/$/"/
16536 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16541 ' <conf$$subs.awk | sed '
16546 ' >>$CONFIG_STATUS || ac_write_fail=1
16547 rm -f conf$$subs.awk
16548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16550 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16551 for (key in S) S_is_set[key] = 1
16553 \$ac_cs_awk_pipe_init
16557 nfields = split(line, field, "@")
16559 len = length(field[1])
16560 for (i = 2; i < nfields; i++) {
16562 keylen = length(key)
16563 if (S_is_set[key]) {
16565 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16566 len += length(value) + length(field[++i])
16571 if (nfields == 3 && !substed) {
16573 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16574 \$ac_cs_awk_read_file
16580 \$ac_cs_awk_pipe_fini
16583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16584 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16585 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16588 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16589 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16592 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16593 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16594 # trailing colons and then remove the whole line if VPATH becomes empty
16595 # (actually we leave an empty line to preserve line numbers).
16596 if test "x$srcdir" = x.; then
16597 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16616 fi # test -n "$CONFIG_FILES"
16618 # Set up the scripts for CONFIG_HEADERS section.
16619 # No need to generate them if there are no CONFIG_HEADERS.
16620 # This happens for instance with `./config.status Makefile'.
16621 if test -n "$CONFIG_HEADERS"; then
16622 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16626 # Transform confdefs.h into an awk script `defines.awk', embedded as
16627 # here-document in config.status, that substitutes the proper values into
16628 # config.h.in to produce config.h.
16630 # Create a delimiter string that does not exist in confdefs.h, to ease
16631 # handling of long lines.
16633 for ac_last_try in false false :; do
16634 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16635 if test -z "$ac_tt"; then
16637 elif $ac_last_try; then
16638 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16640 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16644 # For the awk script, D is an array of macro values keyed by name,
16645 # likewise P contains macro parameters if any. Preserve backslash
16646 # newline sequences.
16648 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16650 s/.\{148\}/&'"$ac_delim"'/g
16653 s/^[ ]*#[ ]*define[ ][ ]*/ /
16660 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16662 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16666 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16667 D["\1"]=" \3\\\\\\n"\\/p
16669 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16674 s/.\{148\}/&'"$ac_delim"'/g
16679 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16682 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16684 ' <confdefs.h | sed '
16685 s/'"$ac_delim"'/"\\\
16686 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16689 for (key in D) D_is_set[key] = 1
16692 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16694 split(line, arg, " ")
16695 if (arg[1] == "#") {
16699 defundef = substr(arg[1], 2)
16702 split(mac1, mac2, "(") #)
16704 prefix = substr(line, 1, index(line, defundef) - 1)
16705 if (D_is_set[macro]) {
16706 # Preserve the white space surrounding the "#".
16707 print prefix "define", macro P[macro] D[macro]
16710 # Replace #undef with comments. This is necessary, for example,
16711 # in the case of _POSIX_SOURCE, which is predefined and required
16712 # on some systems where configure will not decide to define it.
16713 if (defundef == "undef") {
16714 print "/*", prefix defundef, macro, "*/"
16722 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16723 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16724 fi # test -n "$CONFIG_HEADERS"
16727 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16732 :[FHLC]) ac_mode=$ac_tag; continue;;
16734 case $ac_mode$ac_tag in
16736 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16737 :[FH]-) ac_tag=-:-;;
16738 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16755 -) ac_f="$ac_tmp/stdin";;
16756 *) # Look for the file first in the build tree, then in the source tree
16757 # (if the path is not absolute). The absolute path cannot be DOS-style,
16758 # because $ac_f cannot contain `:'.
16762 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16764 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16766 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16767 as_fn_append ac_file_inputs " '$ac_f'"
16770 # Let's still pretend it is `configure' which instantiates (i.e., don't
16771 # use $as_me), people would be surprised to read:
16772 # /* config.h. Generated by config.status. */
16773 configure_input='Generated from '`
16774 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16776 if test x"$ac_file" != x-; then
16777 configure_input="$ac_file. $configure_input"
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16779 $as_echo "$as_me: creating $ac_file" >&6;}
16781 # Neutralize special characters interpreted by sed in replacement strings.
16782 case $configure_input in #(
16783 *\&* | *\|* | *\\* )
16784 ac_sed_conf_input=`$as_echo "$configure_input" |
16785 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16786 *) ac_sed_conf_input=$configure_input;;
16790 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16791 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16796 ac_dir=`$as_dirname -- "$ac_file" ||
16797 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16798 X"$ac_file" : 'X\(//\)[^/]' \| \
16799 X"$ac_file" : 'X\(//\)$' \| \
16800 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16801 $as_echo X"$ac_file" |
16802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16806 /^X\(\/\/\)[^/].*/{
16819 as_dir="$ac_dir"; as_fn_mkdir_p
16823 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16825 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16826 # A ".." for each directory in $ac_dir_suffix.
16827 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16828 case $ac_top_builddir_sub in
16829 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16830 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16833 ac_abs_top_builddir=$ac_pwd
16834 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16835 # for backward compatibility:
16836 ac_top_builddir=$ac_top_build_prefix
16839 .) # We are building in place.
16841 ac_top_srcdir=$ac_top_builddir_sub
16842 ac_abs_top_srcdir=$ac_pwd ;;
16843 [\\/]* | ?:[\\/]* ) # Absolute name.
16844 ac_srcdir=$srcdir$ac_dir_suffix;
16845 ac_top_srcdir=$srcdir
16846 ac_abs_top_srcdir=$srcdir ;;
16847 *) # Relative name.
16848 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16849 ac_top_srcdir=$ac_top_build_prefix$srcdir
16850 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16852 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16862 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16863 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16867 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16868 # If the template does not know about datarootdir, expand it.
16869 # FIXME: This hack should be removed a few years after 2.60.
16870 ac_datarootdir_hack=; ac_datarootdir_seen=
16881 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16882 *datarootdir*) ac_datarootdir_seen=yes;;
16883 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16885 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16888 ac_datarootdir_hack='
16889 s&@datadir@&$datadir&g
16890 s&@docdir@&$docdir&g
16891 s&@infodir@&$infodir&g
16892 s&@localedir@&$localedir&g
16893 s&@mandir@&$mandir&g
16894 s&\\\${datarootdir}&$datarootdir&g' ;;
16898 # Neutralize VPATH when `$srcdir' = `.'.
16899 # Shell code in configure.ac might set extrasub.
16900 # FIXME: do we really want to maintain this feature?
16901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16902 ac_sed_extra="$ac_vpsub
16905 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16907 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16908 s|@configure_input@|$ac_sed_conf_input|;t t
16909 s&@top_builddir@&$ac_top_builddir_sub&;t t
16910 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16911 s&@srcdir@&$ac_srcdir&;t t
16912 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16913 s&@top_srcdir@&$ac_top_srcdir&;t t
16914 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16915 s&@builddir@&$ac_builddir&;t t
16916 s&@abs_builddir@&$ac_abs_builddir&;t t
16917 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16918 s&@INSTALL@&$ac_INSTALL&;t t
16919 $ac_datarootdir_hack
16921 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16922 if $ac_cs_awk_getline; then
16923 $AWK -f "$ac_tmp/subs.awk"
16925 $AWK -f "$ac_tmp/subs.awk" | $SHELL
16927 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16929 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16930 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16931 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16932 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16934 which seems to be undefined. Please make sure it is defined" >&5
16935 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16936 which seems to be undefined. Please make sure it is defined" >&2;}
16938 rm -f "$ac_tmp/stdin"
16940 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16941 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16943 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16949 if test x"$ac_file" != x-; then
16951 $as_echo "/* $configure_input */" \
16952 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16953 } >"$ac_tmp/config.h" \
16954 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16955 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16957 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16960 mv "$ac_tmp/config.h" "$ac_file" \
16961 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16964 $as_echo "/* $configure_input */" \
16965 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16966 || as_fn_error $? "could not create -" "$LINENO" 5
16974 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
16977 # Prefer the file from the source tree if names are identical.
16978 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16979 ac_source=$srcdir/$ac_source
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16983 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16985 if test ! -r "$ac_source"; then
16986 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16990 # Try a relative symlink, then a hard link, then a copy.
16992 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16993 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16995 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16996 ln "$ac_source" "$ac_file" 2>/dev/null ||
16997 cp -p "$ac_source" "$ac_file" ||
16998 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17001 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17002 $as_echo "$as_me: executing $ac_file commands" >&6;}
17007 case $ac_file$ac_mode in
17008 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17009 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17010 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17011 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17012 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17013 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17014 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17015 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17016 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17017 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17018 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17019 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17020 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17021 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17022 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17023 "Makefile":C) wine_fn_output_makefile Makefile ;;
17031 ac_clean_files=$ac_clean_files_save
17033 test $ac_write_fail = 0 ||
17034 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17037 # configure is writing to config.log, and then calls config.status.
17038 # config.status does its own redirection, appending to config.log.
17039 # Unfortunately, on DOS this fails, as config.log is still kept open
17040 # by configure, so config.status won't be able to write to it; its
17041 # output is simply discarded. So we exec the FD to /dev/null,
17042 # effectively closing config.log, so it can be properly (re)opened and
17043 # appended to by config.status. When coming back to configure, we
17044 # need to make the FD available again.
17045 if test "$no_create" != yes; then
17047 ac_config_status_args=
17048 test "$silent" = yes &&
17049 ac_config_status_args="$ac_config_status_args --quiet"
17051 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17053 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17054 # would make configure fail if this is the last instruction.
17055 $ac_cs_success || as_fn_exit 1
17057 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17059 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17063 if test "$no_create" = "yes"
17069 if test "x$wine_notices != "x; then
17072 for msg in $wine_notices; do
17074 if test -n "$msg"; then
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17076 $as_echo "$as_me: $msg" >&6;}
17081 for msg in $wine_warnings; do
17083 if test -n "$msg"; then
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17086 $as_echo "$as_me: WARNING: $msg" >&2;}
17092 $as_me: Finished. Do '${ac_make}' to compile Wine.