2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.3.20.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 *v*x* | *x*v* ) as_opts=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x$as_have_required = xno; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x${ZSH_VERSION+set} = xset ; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: wine-devel@winehq.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE= GREP_OPTIONS=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir=./$as_dir;;
296 test -d "$as_dir" || eval $as_mkdir_p || {
300 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs="'$as_qdir' $as_dirs"
304 as_dir=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" || eval "mkdir $as_dirs"
330 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
365 as_val=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status=$1; test $as_status -eq 0 && as_status=1
379 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit $as_status
386 if expr a : '\(a\)' >/dev/null 2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
405 as_me=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits='0123456789'
429 as_cr_alnum=$as_cr_Letters$as_cr_digits
432 as_lineno_1=$LINENO as_lineno_1a=$LINENO
433 as_lineno_2=$LINENO as_lineno_2a=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x "$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C= ECHO_N= ECHO_T=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
476 rm -f conf$$ conf$$.exe conf$$.file
477 if test -d conf$$.dir; then
478 rm -f conf$$.dir/conf$$.file
481 mkdir conf$$.dir 2>/dev/null
483 if (echo >conf$$.file) 2>/dev/null; then
484 if ln -s conf$$.file conf$$ 2>/dev/null; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
492 elif ln conf$$.file conf$$ 2>/dev/null; then
500 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
501 rmdir conf$$.dir 2>/dev/null
503 if mkdir -p . 2>/dev/null; then
504 as_mkdir_p='mkdir -p "$as_dir"'
506 test -d ./-p && rmdir ./-p
510 if test -x / >/dev/null 2>&1; then
513 if ls -dL / >/dev/null 2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" || exec 7<&0 </dev/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix=/usr/local
553 ac_config_libobj_dir=.
560 # Identity of this package.
562 PACKAGE_TARNAME='wine'
563 PACKAGE_VERSION='1.3.20'
564 PACKAGE_STRING='Wine 1.3.20'
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
671 APPLICATIONSERVICESLIB
760 program_transform_name
771 ac_subst_files='MAKE_RULES
777 enable_option_checking
781 enable_maintainer_mode
831 ac_precious_vars='build_alias
846 # Initialize some variables set by options.
848 ac_init_version=false
849 ac_unrecognized_opts=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name=s,x,x,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir='${exec_prefix}/bin'
875 sbindir='${exec_prefix}/sbin'
876 libexecdir='${exec_prefix}/libexec'
877 datarootdir='${prefix}/share'
878 datadir='${datarootdir}'
879 sysconfdir='${prefix}/etc'
880 sharedstatedir='${prefix}/com'
881 localstatedir='${prefix}/var'
882 includedir='${prefix}/include'
883 oldincludedir='/usr/include'
884 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
885 infodir='${datarootdir}/info'
890 libdir='${exec_prefix}/lib'
891 localedir='${datarootdir}/locale'
892 mandir='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\$ac_option
906 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir | --bindir | --bindi | --bind | --bin | --bi)
919 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922 -build | --build | --buil | --bui | --bu)
923 ac_prev=build_alias ;;
924 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
925 build_alias=$ac_optarg ;;
927 -cache-file | --cache-file | --cache-fil | --cache-fi \
928 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
929 ac_prev=cache_file ;;
930 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
931 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
932 cache_file=$ac_optarg ;;
935 cache_file=config.cache ;;
937 -datadir | --datadir | --datadi | --datad)
939 -datadir=* | --datadir=* | --datadi=* | --datad=*)
940 datadir=$ac_optarg ;;
942 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
943 | --dataroo | --dataro | --datar)
944 ac_prev=datarootdir ;;
945 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
946 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
947 datarootdir=$ac_optarg ;;
949 -disable-* | --disable-*)
950 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953 as_fn_error $? "invalid feature name: $ac_useropt"
954 ac_useropt_orig=$ac_useropt
955 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep=', ';;
963 eval enable_$ac_useropt=no ;;
965 -docdir | --docdir | --docdi | --doc | --do)
967 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
970 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
972 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
975 -enable-* | --enable-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 as_fn_error $? "invalid feature name: $ac_useropt"
980 ac_useropt_orig=$ac_useropt
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep=', ';;
989 eval enable_$ac_useropt=\$ac_optarg ;;
991 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
992 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
993 | --exec | --exe | --ex)
994 ac_prev=exec_prefix ;;
995 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
996 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
997 | --exec=* | --exe=* | --ex=*)
998 exec_prefix=$ac_optarg ;;
1000 -gas | --gas | --ga | --g)
1001 # Obsolete; use --with-gas.
1004 -help | --help | --hel | --he | -h)
1005 ac_init_help=long ;;
1006 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1007 ac_init_help=recursive ;;
1008 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1009 ac_init_help=short ;;
1011 -host | --host | --hos | --ho)
1012 ac_prev=host_alias ;;
1013 -host=* | --host=* | --hos=* | --ho=*)
1014 host_alias=$ac_optarg ;;
1016 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1018 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1020 htmldir=$ac_optarg ;;
1022 -includedir | --includedir | --includedi | --included | --include \
1023 | --includ | --inclu | --incl | --inc)
1024 ac_prev=includedir ;;
1025 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1026 | --includ=* | --inclu=* | --incl=* | --inc=*)
1027 includedir=$ac_optarg ;;
1029 -infodir | --infodir | --infodi | --infod | --info | --inf)
1031 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1032 infodir=$ac_optarg ;;
1034 -libdir | --libdir | --libdi | --libd)
1036 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1037 libdir=$ac_optarg ;;
1039 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1040 | --libexe | --libex | --libe)
1041 ac_prev=libexecdir ;;
1042 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1043 | --libexe=* | --libex=* | --libe=*)
1044 libexecdir=$ac_optarg ;;
1046 -localedir | --localedir | --localedi | --localed | --locale)
1047 ac_prev=localedir ;;
1048 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1049 localedir=$ac_optarg ;;
1051 -localstatedir | --localstatedir | --localstatedi | --localstated \
1052 | --localstate | --localstat | --localsta | --localst | --locals)
1053 ac_prev=localstatedir ;;
1054 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1055 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1056 localstatedir=$ac_optarg ;;
1058 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1060 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1061 mandir=$ac_optarg ;;
1063 -nfp | --nfp | --nf)
1064 # Obsolete; use --without-fp.
1067 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1068 | --no-cr | --no-c | -n)
1071 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1072 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1075 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1076 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1077 | --oldin | --oldi | --old | --ol | --o)
1078 ac_prev=oldincludedir ;;
1079 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1080 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1081 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1082 oldincludedir=$ac_optarg ;;
1084 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1086 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1087 prefix=$ac_optarg ;;
1089 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1090 | --program-pre | --program-pr | --program-p)
1091 ac_prev=program_prefix ;;
1092 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1093 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1094 program_prefix=$ac_optarg ;;
1096 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1097 | --program-suf | --program-su | --program-s)
1098 ac_prev=program_suffix ;;
1099 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1100 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1101 program_suffix=$ac_optarg ;;
1103 -program-transform-name | --program-transform-name \
1104 | --program-transform-nam | --program-transform-na \
1105 | --program-transform-n | --program-transform- \
1106 | --program-transform | --program-transfor \
1107 | --program-transfo | --program-transf \
1108 | --program-trans | --program-tran \
1109 | --progr-tra | --program-tr | --program-t)
1110 ac_prev=program_transform_name ;;
1111 -program-transform-name=* | --program-transform-name=* \
1112 | --program-transform-nam=* | --program-transform-na=* \
1113 | --program-transform-n=* | --program-transform-=* \
1114 | --program-transform=* | --program-transfor=* \
1115 | --program-transfo=* | --program-transf=* \
1116 | --program-trans=* | --program-tran=* \
1117 | --progr-tra=* | --program-tr=* | --program-t=*)
1118 program_transform_name=$ac_optarg ;;
1120 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1122 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1123 pdfdir=$ac_optarg ;;
1125 -psdir | --psdir | --psdi | --psd | --ps)
1127 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1131 | -silent | --silent | --silen | --sile | --sil)
1134 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1136 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1138 sbindir=$ac_optarg ;;
1140 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1141 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1142 | --sharedst | --shareds | --shared | --share | --shar \
1144 ac_prev=sharedstatedir ;;
1145 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1146 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1147 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1149 sharedstatedir=$ac_optarg ;;
1151 -site | --site | --sit)
1153 -site=* | --site=* | --sit=*)
1156 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1158 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1159 srcdir=$ac_optarg ;;
1161 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1162 | --syscon | --sysco | --sysc | --sys | --sy)
1163 ac_prev=sysconfdir ;;
1164 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1165 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1166 sysconfdir=$ac_optarg ;;
1168 -target | --target | --targe | --targ | --tar | --ta | --t)
1169 ac_prev=target_alias ;;
1170 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1171 target_alias=$ac_optarg ;;
1173 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1176 -version | --version | --versio | --versi | --vers | -V)
1177 ac_init_version=: ;;
1180 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183 as_fn_error $? "invalid package name: $ac_useropt"
1184 ac_useropt_orig=$ac_useropt
1185 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep=', ';;
1193 eval with_$ac_useropt=\$ac_optarg ;;
1195 -without-* | --without-*)
1196 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199 as_fn_error $? "invalid package name: $ac_useropt"
1200 ac_useropt_orig=$ac_useropt
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep=', ';;
1209 eval with_$ac_useropt=no ;;
1212 # Obsolete; use --with-x.
1215 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1216 | --x-incl | --x-inc | --x-in | --x-i)
1217 ac_prev=x_includes ;;
1218 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1219 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1220 x_includes=$ac_optarg ;;
1222 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1223 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1224 ac_prev=x_libraries ;;
1225 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1226 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1227 x_libraries=$ac_optarg ;;
1229 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information"
1234 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' | [0-9]* | *[!_$as_cr_alnum]* )
1238 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1240 eval $ac_envvar=\$ac_optarg
1241 export $ac_envvar ;;
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1254 if test -n "$ac_prev"; then
1255 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error $? "missing argument to $ac_option"
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1262 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val=\$$ac_var
1274 # Remove trailing slashes.
1277 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$]* | ?:[\\/]* ) continue;;
1283 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1285 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x; then
1297 if test "x$build_alias" = x; then
1298 cross_compiling=maybe
1299 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used" >&2
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1309 test "$silent" = yes && exec 6>/dev/null
1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di=`ls -di .` &&
1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error $? "working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error $? "pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1356 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372 for ac_var in $ac_precious_vars; do
1373 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1374 eval ac_env_${ac_var}_value=\$${ac_var}
1375 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1376 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1380 # Report the --help message.
1382 if test "$ac_init_help" = "long"; then
1383 # Omit some internal or obsolete options to make the list less imposing.
1384 # This message is too long to be a string in the A/UX 3.1 sh.
1386 \`configure' configures Wine 1.3.20 to adapt to many kinds of systems.
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE. See below for descriptions of some of the useful variables.
1393 Defaults for the options are specified in brackets.
1396 -h, --help display this help and exit
1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking ...' messages
1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1406 Installation directories:
1407 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1417 For better control, use the options below.
1419 Fine tuning of the installation directories:
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --libdir=DIR object code libraries [EPREFIX/lib]
1427 --includedir=DIR C header files [PREFIX/include]
1428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1431 --infodir=DIR info documentation [DATAROOTDIR/info]
1432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1433 --mandir=DIR man documentation [DATAROOTDIR/man]
1434 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1435 --htmldir=DIR html documentation [DOCDIR]
1436 --dvidir=DIR dvi documentation [DOCDIR]
1437 --pdfdir=DIR pdf documentation [DOCDIR]
1438 --psdir=DIR ps documentation [DOCDIR]
1444 --x-includes=DIR X include files are in DIR
1445 --x-libraries=DIR X library files are in DIR
1448 --build=BUILD configure for building on BUILD [guessed]
1449 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1453 if test -n "$ac_init_help"; then
1454 case $ac_init_help in
1455 short | recursive ) echo "Configuration of Wine 1.3.20:";;
1460 --disable-option-checking ignore unrecognized --enable/--with options
1461 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1462 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1463 --disable-win16 do not include Win16 support
1464 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1466 --disable-tests do not build the regression tests
1467 --enable-maintainer-mode
1468 enable maintainer-specific build rules
1469 --disable-largefile omit support for large files
1472 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1473 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1474 --without-alsa do not use the Alsa sound support
1475 --without-capi do not use CAPI (ISDN support)
1476 --without-cms do not use CMS (color management support)
1477 --without-coreaudio do not use the CoreAudio sound support
1478 --without-cups do not use CUPS
1479 --without-curses do not use (n)curses
1480 --without-esd do not use the EsounD sound support
1481 --without-fontconfig do not use fontconfig
1482 --without-freetype do not use the FreeType library
1483 --without-gettextpo do not use the GetTextPO library
1484 --without-gphoto do not use gphoto (Digital Camera support)
1485 --without-glu do not use the GLU library
1486 --without-gnutls do not use GnuTLS (schannel support)
1487 --without-gsm do not use libgsm (GSM 06.10 codec support)
1488 --without-gstreamer do not use GStreamer (codecs support)
1489 --without-hal do not use HAL (dynamic device support)
1490 --without-jack do not use the Jack sound support
1491 --without-jpeg do not use JPEG
1492 --without-ldap do not use LDAP
1493 --without-mpg123 do not use the mpg123 library
1494 --without-nas do not use the NAS sound support
1495 --without-openal do not use OpenAL
1496 --without-opencl do not use OpenCL
1497 --without-opengl do not use OpenGL
1498 --without-openssl do not use OpenSSL
1499 --without-oss do not use the OSS sound support
1500 --without-png do not use PNG
1501 --without-pthread do not use the pthread library
1502 --without-sane do not use SANE (scanner support)
1503 --without-tiff do not use TIFF
1504 --without-v4l do not use v4l1 (v4l support)
1505 --without-xcomposite do not use the Xcomposite extension
1506 --without-xcursor do not use the Xcursor extension
1507 --without-xinerama do not use Xinerama (multi-monitor support)
1508 --without-xinput do not use the Xinput extension
1509 --without-xinput2 do not use the Xinput 2 extension
1510 --without-xml do not use XML
1511 --without-xrandr do not use Xrandr (resolution changes)
1512 --without-xrender do not use the Xrender extension
1513 --without-xshape do not use the Xshape extension
1514 --without-xshm do not use XShm (shared memory extension)
1515 --without-xslt do not use XSLT
1516 --without-xxf86vm do not use XFree video mode extension
1517 --without-zlib do not use Zlib (data compression)
1518 --with-wine-tools=DIR use Wine tools from directory DIR
1519 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1520 --with-x use the X Window System
1522 Some influential environment variables:
1523 CC C compiler command
1524 CFLAGS C compiler flags
1525 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1526 nonstandard directory <lib dir>
1527 LIBS libraries to pass to the linker, e.g. -l<library>
1528 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1529 you have headers in a nonstandard directory <include dir>
1530 CXX C++ compiler command
1531 CXXFLAGS C++ compiler flags
1533 XMKMF Path to xmkmf, Makefile generator for X Window System
1535 Use these variables to override the choices made by `configure' or to help
1536 it to find libraries and programs with nonstandard names/locations.
1538 Report bugs to <wine-devel@winehq.org>.
1539 Wine home page: <http://www.winehq.org>.
1544 if test "$ac_init_help" = "recursive"; then
1545 # If there are subdirs, report their specific --help.
1546 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1547 test -d "$ac_dir" ||
1548 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1556 # A ".." for each directory in $ac_dir_suffix.
1557 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1558 case $ac_top_builddir_sub in
1559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563 ac_abs_top_builddir=$ac_pwd
1564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565 # for backward compatibility:
1566 ac_top_builddir=$ac_top_build_prefix
1569 .) # We are building in place.
1571 ac_top_srcdir=$ac_top_builddir_sub
1572 ac_abs_top_srcdir=$ac_pwd ;;
1573 [\\/]* | ?:[\\/]* ) # Absolute name.
1574 ac_srcdir=$srcdir$ac_dir_suffix;
1575 ac_top_srcdir=$srcdir
1576 ac_abs_top_srcdir=$srcdir ;;
1578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579 ac_top_srcdir=$ac_top_build_prefix$srcdir
1580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1584 cd "$ac_dir" || { ac_status=$?; continue; }
1585 # Check for guested configure.
1586 if test -f "$ac_srcdir/configure.gnu"; then
1588 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589 elif test -f "$ac_srcdir/configure"; then
1591 $SHELL "$ac_srcdir/configure" --help=recursive
1593 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595 cd "$ac_pwd" || { ac_status=$?; break; }
1599 test -n "$ac_init_help" && exit $ac_status
1600 if $ac_init_version; then
1602 Wine configure 1.3.20
1603 generated by GNU Autoconf 2.68
1605 Copyright (C) 2010 Free Software Foundation, Inc.
1606 This configure script is free software; the Free Software Foundation
1607 gives unlimited permission to copy, distribute and modify it.
1612 ## ------------------------ ##
1613 ## Autoconf initialization. ##
1614 ## ------------------------ ##
1616 # ac_fn_c_try_compile LINENO
1617 # --------------------------
1618 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_compile ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 rm -f conftest.$ac_objext
1623 if { { ac_try="$ac_compile"
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_compile") 2>conftest.err
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } && {
1639 test -z "$ac_c_werror_flag" ||
1640 test ! -s conftest.err
1641 } && test -s conftest.$ac_objext; then :
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1652 } # ac_fn_c_try_compile
1654 # ac_fn_cxx_try_compile LINENO
1655 # ----------------------------
1656 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_cxx_try_compile ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 rm -f conftest.$ac_objext
1661 if { { ac_try="$ac_compile"
1663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_compile") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_cxx_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest.$ac_objext; then :
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status $ac_retval
1690 } # ac_fn_cxx_try_compile
1692 # ac_fn_c_try_link LINENO
1693 # -----------------------
1694 # Try to link conftest.$ac_ext, and return whether this succeeded.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 rm -f conftest.$ac_objext conftest$ac_exeext
1699 if { { ac_try="$ac_link"
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_link") 2>conftest.err
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest$ac_exeext && {
1718 test "$cross_compiling" = yes ||
1719 $as_test_x conftest$ac_exeext
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1728 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1729 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1730 # interfere with the next link command; also delete a directory that is
1731 # left behind by Apple's compiler. We do this before executing the actions.
1732 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1734 as_fn_set_status $ac_retval
1736 } # ac_fn_c_try_link
1738 # ac_fn_c_try_cpp LINENO
1739 # ----------------------
1740 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 if { { ac_try="$ac_cpp conftest.$ac_ext"
1746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747 *) ac_try_echo=$ac_try;;
1749 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1753 if test -s conftest.err; then
1754 grep -v '^ *+' conftest.err >conftest.er1
1755 cat conftest.er1 >&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } > conftest.i && {
1760 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1761 test ! -s conftest.err
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.$ac_ext >&5
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1775 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1776 # -------------------------------------------------------
1777 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1778 # the include files in INCLUDES and setting the cache variable VAR
1780 ac_fn_c_check_header_mongrel ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 if eval \${$3+:} false; then :
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if eval \${$3+:} false; then :
1787 $as_echo_n "(cached) " >&6
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1791 $as_echo "$ac_res" >&6; }
1793 # Is the header compilable?
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1795 $as_echo_n "checking $2 usability... " >&6; }
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797 /* end confdefs.h. */
1801 if ac_fn_c_try_compile "$LINENO"; then :
1802 ac_header_compiler=yes
1804 ac_header_compiler=no
1806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1808 $as_echo "$ac_header_compiler" >&6; }
1810 # Is the header present?
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1812 $as_echo_n "checking $2 presence... " >&6; }
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1817 if ac_fn_c_try_cpp "$LINENO"; then :
1818 ac_header_preproc=yes
1820 ac_header_preproc=no
1822 rm -f conftest.err conftest.i conftest.$ac_ext
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1824 $as_echo "$ac_header_preproc" >&6; }
1826 # So? What about this header?
1827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1830 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1832 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1836 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1838 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1840 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1842 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1844 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1845 ( $as_echo "## ------------------------------------ ##
1846 ## Report this to wine-devel@winehq.org ##
1847 ## ------------------------------------ ##"
1848 ) | sed "s/^/$as_me: WARNING: /" >&2
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \${$3+:} false; then :
1854 $as_echo_n "(cached) " >&6
1856 eval "$3=\$ac_header_compiler"
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1862 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 } # ac_fn_c_check_header_mongrel
1866 # ac_fn_c_try_run LINENO
1867 # ----------------------
1868 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1869 # that executables *can* be run.
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 if { { ac_try="$ac_link"
1875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1876 *) ac_try_echo=$ac_try;;
1878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879 $as_echo "$ac_try_echo"; } >&5
1880 (eval "$ac_link") 2>&5
1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1884 { { case "(($ac_try" in
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_try") 2>&5
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; }; }; then :
1896 $as_echo "$as_me: program exited with status $ac_status" >&5
1897 $as_echo "$as_me: failed program was:" >&5
1898 sed 's/^/| /' conftest.$ac_ext >&5
1900 ac_retval=$ac_status
1902 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1904 as_fn_set_status $ac_retval
1908 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1909 # -------------------------------------------------------
1910 # Tests whether HEADER exists and can be compiled using the include files in
1911 # INCLUDES, setting the cache variable VAR accordingly.
1912 ac_fn_c_check_header_compile ()
1914 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1916 $as_echo_n "checking for $2... " >&6; }
1917 if eval \${$3+:} false; then :
1918 $as_echo_n "(cached) " >&6
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1925 if ac_fn_c_try_compile "$LINENO"; then :
1930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937 } # ac_fn_c_check_header_compile
1939 # ac_fn_c_check_func LINENO FUNC VAR
1940 # ----------------------------------
1941 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1942 ac_fn_c_check_func ()
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1946 $as_echo_n "checking for $2... " >&6; }
1947 if eval \${$3+:} false; then :
1948 $as_echo_n "(cached) " >&6
1950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1952 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1954 #define $2 innocuous_$2
1956 /* System header to define __stub macros and hopefully few prototypes,
1957 which can conflict with char $2 (); below.
1958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1959 <limits.h> exists even on freestanding compilers. */
1962 # include <limits.h>
1964 # include <assert.h>
1969 /* Override any GCC internal prototype to avoid an error.
1970 Use char because int might match the return type of a GCC
1971 builtin and then its argument prototype would still apply. */
1976 /* The GNU C library defines this for functions which it implements
1977 to always fail with ENOSYS. Some functions are actually named
1978 something starting with __ and the normal name is an alias. */
1979 #if defined __stub_$2 || defined __stub___$2
1991 if ac_fn_c_try_link "$LINENO"; then :
1996 rm -f core conftest.err conftest.$ac_objext \
1997 conftest$ac_exeext conftest.$ac_ext
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 } # ac_fn_c_check_func
2006 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2007 # ----------------------------------------------------
2008 # Tries to find if the field MEMBER exists in type AGGR, after including
2009 # INCLUDES, setting cache variable VAR accordingly.
2010 ac_fn_c_check_member ()
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2014 $as_echo_n "checking for $2.$3... " >&6; }
2015 if eval \${$4+:} false; then :
2016 $as_echo_n "(cached) " >&6
2018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2031 if ac_fn_c_try_compile "$LINENO"; then :
2034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2041 if (sizeof ac_aggr.$3)
2047 if ac_fn_c_try_compile "$LINENO"; then :
2052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058 $as_echo "$ac_res" >&6; }
2059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2061 } # ac_fn_c_check_member
2063 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2064 # -------------------------------------------
2065 # Tests whether TYPE exists after having included INCLUDES, setting cache
2066 # variable VAR accordingly.
2067 ac_fn_c_check_type ()
2069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2071 $as_echo_n "checking for $2... " >&6; }
2072 if eval \${$3+:} false; then :
2073 $as_echo_n "(cached) " >&6
2076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2077 /* end confdefs.h. */
2088 if ac_fn_c_try_compile "$LINENO"; then :
2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2101 if ac_fn_c_try_compile "$LINENO"; then :
2106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115 } # ac_fn_c_check_type
2116 cat >config.log <<_ACEOF
2117 This file contains any messages produced by compilers while
2118 running configure, to aid debugging if configure makes a mistake.
2120 It was created by Wine $as_me 1.3.20, which was
2121 generated by GNU Autoconf 2.68. Invocation command line was
2133 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2134 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2135 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2136 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2137 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2139 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2140 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2142 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2143 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2144 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2145 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2146 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2147 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2148 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir=.
2157 $as_echo "PATH: $as_dir"
2173 # Keep a trace of the command line.
2174 # Strip out --no-create and --no-recursion so they do not pile up.
2175 # Strip out --silent because we don't want to record it for future runs.
2176 # Also quote any args containing shell meta-characters.
2177 # Make two passes to allow for proper duplicate-argument suppression.
2181 ac_must_keep_next=false
2187 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2188 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2189 | -silent | --silent | --silen | --sile | --sil)
2192 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2195 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2197 as_fn_append ac_configure_args1 " '$ac_arg'"
2198 if test $ac_must_keep_next = true; then
2199 ac_must_keep_next=false # Got value, back to normal.
2202 *=* | --config-cache | -C | -disable-* | --disable-* \
2203 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2204 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2205 | -with-* | --with-* | -without-* | --without-* | --x)
2206 case "$ac_configure_args0 " in
2207 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2210 -* ) ac_must_keep_next=true ;;
2213 as_fn_append ac_configure_args " '$ac_arg'"
2218 { ac_configure_args0=; unset ac_configure_args0;}
2219 { ac_configure_args1=; unset ac_configure_args1;}
2221 # When interrupted or exit'd, cleanup temporary files, and complete
2222 # config.log. We remove comments because anyway the quotes in there
2223 # would cause problems or look ugly.
2224 # WARNING: Use '\'' to represent an apostrophe within the trap.
2225 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2226 trap 'exit_status=$?
2227 # Save into config.log some information that might help in debugging.
2231 $as_echo "## ---------------- ##
2232 ## Cache variables. ##
2233 ## ---------------- ##"
2235 # The following way of writing the cache mishandles newlines in values,
2237 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2238 eval ac_val=\$$ac_var
2242 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2246 _ | IFS | as_nl) ;; #(
2247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2248 *) { eval $ac_var=; unset $ac_var;} ;;
2253 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2254 *${as_nl}ac_space=\ *)
2256 "s/'\''/'\''\\\\'\'''\''/g;
2257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2267 $as_echo "## ----------------- ##
2268 ## Output variables. ##
2269 ## ----------------- ##"
2271 for ac_var in $ac_subst_vars
2273 eval ac_val=\$$ac_var
2275 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2277 $as_echo "$ac_var='\''$ac_val'\''"
2281 if test -n "$ac_subst_files"; then
2282 $as_echo "## ------------------- ##
2283 ## File substitutions. ##
2284 ## ------------------- ##"
2286 for ac_var in $ac_subst_files
2288 eval ac_val=\$$ac_var
2290 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2292 $as_echo "$ac_var='\''$ac_val'\''"
2297 if test -s confdefs.h; then
2298 $as_echo "## ----------- ##
2305 test "$ac_signal" != 0 &&
2306 $as_echo "$as_me: caught signal $ac_signal"
2307 $as_echo "$as_me: exit $exit_status"
2309 rm -f core *.core core.conftest.* &&
2310 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2313 for ac_signal in 1 2 13 15; do
2314 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2318 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2319 rm -f -r conftest* confdefs.h
2321 $as_echo "/* confdefs.h */" > confdefs.h
2323 # Predefined preprocessor variables.
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_NAME "$PACKAGE_NAME"
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_STRING "$PACKAGE_STRING"
2341 cat >>confdefs.h <<_ACEOF
2342 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2345 cat >>confdefs.h <<_ACEOF
2346 #define PACKAGE_URL "$PACKAGE_URL"
2350 # Let the site file select an alternate cache file if it wants to.
2351 # Prefer an explicitly selected file to automatically selected ones.
2354 if test -n "$CONFIG_SITE"; then
2355 # We do not want a PATH search for config.site.
2356 case $CONFIG_SITE in #((
2357 -*) ac_site_file1=./$CONFIG_SITE;;
2358 */*) ac_site_file1=$CONFIG_SITE;;
2359 *) ac_site_file1=./$CONFIG_SITE;;
2361 elif test "x$prefix" != xNONE; then
2362 ac_site_file1=$prefix/share/config.site
2363 ac_site_file2=$prefix/etc/config.site
2365 ac_site_file1=$ac_default_prefix/share/config.site
2366 ac_site_file2=$ac_default_prefix/etc/config.site
2368 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2370 test "x$ac_site_file" = xNONE && continue
2371 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2373 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2374 sed 's/^/| /' "$ac_site_file" >&5
2376 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2377 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378 as_fn_error $? "failed to load site script $ac_site_file
2379 See \`config.log' for more details" "$LINENO" 5; }
2383 if test -r "$cache_file"; then
2384 # Some versions of bash will fail to source /dev/null (special files
2385 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2386 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2388 $as_echo "$as_me: loading cache $cache_file" >&6;}
2390 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2391 *) . "./$cache_file";;
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2396 $as_echo "$as_me: creating cache $cache_file" >&6;}
2400 # Check that the precious variables saved in the cache have kept the same
2402 ac_cache_corrupted=false
2403 for ac_var in $ac_precious_vars; do
2404 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2405 eval ac_new_set=\$ac_env_${ac_var}_set
2406 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2407 eval ac_new_val=\$ac_env_${ac_var}_value
2408 case $ac_old_set,$ac_new_set in
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2411 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2412 ac_cache_corrupted=: ;;
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2415 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2416 ac_cache_corrupted=: ;;
2419 if test "x$ac_old_val" != "x$ac_new_val"; then
2420 # differences in whitespace do not lead to failure.
2421 ac_old_val_w=`echo x $ac_old_val`
2422 ac_new_val_w=`echo x $ac_new_val`
2423 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2425 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2426 ac_cache_corrupted=:
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2429 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2430 eval $ac_var=\$ac_old_val
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2433 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2435 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2438 # Pass precious variables to config.status.
2439 if test "$ac_new_set" = set; then
2441 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2442 *) ac_arg=$ac_var=$ac_new_val ;;
2444 case " $ac_configure_args " in
2445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2446 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2450 if $ac_cache_corrupted; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2454 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2455 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2457 ## -------------------- ##
2458 ## Main body of script. ##
2459 ## -------------------- ##
2462 ac_cpp='$CPP $CPPFLAGS'
2463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2469 ac_config_headers="$ac_config_headers include/config.h"
2472 for ac_dir in tools "$srcdir"/tools; do
2473 if test -f "$ac_dir/install-sh"; then
2475 ac_install_sh="$ac_aux_dir/install-sh -c"
2477 elif test -f "$ac_dir/install.sh"; then
2479 ac_install_sh="$ac_aux_dir/install.sh -c"
2481 elif test -f "$ac_dir/shtool"; then
2483 ac_install_sh="$ac_aux_dir/shtool install -c"
2487 if test -z "$ac_aux_dir"; then
2488 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2491 # These three variables are undocumented and unsupported,
2492 # and are intended to be withdrawn in a future Autoconf release.
2493 # They can cause serious problems if a builder's source tree is in a directory
2494 # whose full name contains unusual characters.
2495 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2496 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2497 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2503 # Check whether --enable-win16 was given.
2504 if test "${enable_win16+set}" = set; then :
2505 enableval=$enable_win16;
2508 # Check whether --enable-win64 was given.
2509 if test "${enable_win64+set}" = set; then :
2510 enableval=$enable_win64;
2513 # Check whether --enable-tests was given.
2514 if test "${enable_tests+set}" = set; then :
2515 enableval=$enable_tests;
2518 # Check whether --enable-maintainer-mode was given.
2519 if test "${enable_maintainer_mode+set}" = set; then :
2520 enableval=$enable_maintainer_mode;
2525 # Check whether --with-alsa was given.
2526 if test "${with_alsa+set}" = set; then :
2527 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2531 # Check whether --with-capi was given.
2532 if test "${with_capi+set}" = set; then :
2533 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2537 # Check whether --with-cms was given.
2538 if test "${with_cms+set}" = set; then :
2539 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2543 # Check whether --with-coreaudio was given.
2544 if test "${with_coreaudio+set}" = set; then :
2545 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2549 # Check whether --with-cups was given.
2550 if test "${with_cups+set}" = set; then :
2555 # Check whether --with-curses was given.
2556 if test "${with_curses+set}" = set; then :
2557 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2561 # Check whether --with-esd was given.
2562 if test "${with_esd+set}" = set; then :
2567 # Check whether --with-fontconfig was given.
2568 if test "${with_fontconfig+set}" = set; then :
2569 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2573 # Check whether --with-freetype was given.
2574 if test "${with_freetype+set}" = set; then :
2575 withval=$with_freetype;
2579 # Check whether --with-gettextpo was given.
2580 if test "${with_gettextpo+set}" = set; then :
2581 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2585 # Check whether --with-gphoto was given.
2586 if test "${with_gphoto+set}" = set; then :
2587 withval=$with_gphoto;
2591 # Check whether --with-glu was given.
2592 if test "${with_glu+set}" = set; then :
2593 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2597 # Check whether --with-gnutls was given.
2598 if test "${with_gnutls+set}" = set; then :
2599 withval=$with_gnutls;
2603 # Check whether --with-gsm was given.
2604 if test "${with_gsm+set}" = set; then :
2605 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2609 # Check whether --with-gstreamer was given.
2610 if test "${with_gstreamer+set}" = set; then :
2611 withval=$with_gstreamer;
2615 # Check whether --with-hal was given.
2616 if test "${with_hal+set}" = set; then :
2621 # Check whether --with-jack was given.
2622 if test "${with_jack+set}" = set; then :
2623 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2627 # Check whether --with-jpeg was given.
2628 if test "${with_jpeg+set}" = set; then :
2629 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2633 # Check whether --with-ldap was given.
2634 if test "${with_ldap+set}" = set; then :
2635 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2639 # Check whether --with-mpg123 was given.
2640 if test "${with_mpg123+set}" = set; then :
2641 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2645 # Check whether --with-nas was given.
2646 if test "${with_nas+set}" = set; then :
2647 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2651 # Check whether --with-openal was given.
2652 if test "${with_openal+set}" = set; then :
2653 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2657 # Check whether --with-opencl was given.
2658 if test "${with_opencl+set}" = set; then :
2659 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2663 # Check whether --with-opengl was given.
2664 if test "${with_opengl+set}" = set; then :
2665 withval=$with_opengl;
2669 # Check whether --with-openssl was given.
2670 if test "${with_openssl+set}" = set; then :
2671 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2675 # Check whether --with-oss was given.
2676 if test "${with_oss+set}" = set; then :
2681 # Check whether --with-png was given.
2682 if test "${with_png+set}" = set; then :
2683 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2687 # Check whether --with-pthread was given.
2688 if test "${with_pthread+set}" = set; then :
2689 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2693 # Check whether --with-sane was given.
2694 if test "${with_sane+set}" = set; then :
2699 # Check whether --with-tiff was given.
2700 if test "${with_tiff+set}" = set; then :
2701 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2705 # Check whether --with-v4l was given.
2706 if test "${with_v4l+set}" = set; then :
2711 # Check whether --with-xcomposite was given.
2712 if test "${with_xcomposite+set}" = set; then :
2713 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2717 # Check whether --with-xcursor was given.
2718 if test "${with_xcursor+set}" = set; then :
2719 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2723 # Check whether --with-xinerama was given.
2724 if test "${with_xinerama+set}" = set; then :
2725 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2729 # Check whether --with-xinput was given.
2730 if test "${with_xinput+set}" = set; then :
2731 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2735 # Check whether --with-xinput2 was given.
2736 if test "${with_xinput2+set}" = set; then :
2737 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2741 # Check whether --with-xml was given.
2742 if test "${with_xml+set}" = set; then :
2747 # Check whether --with-xrandr was given.
2748 if test "${with_xrandr+set}" = set; then :
2749 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2753 # Check whether --with-xrender was given.
2754 if test "${with_xrender+set}" = set; then :
2755 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2759 # Check whether --with-xshape was given.
2760 if test "${with_xshape+set}" = set; then :
2761 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2765 # Check whether --with-xshm was given.
2766 if test "${with_xshm+set}" = set; then :
2767 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2771 # Check whether --with-xslt was given.
2772 if test "${with_xslt+set}" = set; then :
2777 # Check whether --with-xxf86vm was given.
2778 if test "${with_xxf86vm+set}" = set; then :
2779 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
2783 # Check whether --with-zlib was given.
2784 if test "${with_zlib+set}" = set; then :
2785 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2790 # Check whether --with-wine-tools was given.
2791 if test "${with_wine_tools+set}" = set; then :
2792 withval=$with_wine_tools;
2796 # Check whether --with-wine64 was given.
2797 if test "${with_wine64+set}" = set; then :
2798 withval=$with_wine64;
2802 # Make sure we can run config.sub.
2803 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2804 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2807 $as_echo_n "checking build system type... " >&6; }
2808 if ${ac_cv_build+:} false; then :
2809 $as_echo_n "(cached) " >&6
2811 ac_build_alias=$build_alias
2812 test "x$ac_build_alias" = x &&
2813 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2814 test "x$ac_build_alias" = x &&
2815 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2816 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2817 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2821 $as_echo "$ac_cv_build" >&6; }
2822 case $ac_cv_build in
2824 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2827 ac_save_IFS=$IFS; IFS='-'
2833 # Remember, the first character of IFS is used to create $*,
2834 # except with old shells:
2837 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2841 $as_echo_n "checking host system type... " >&6; }
2842 if ${ac_cv_host+:} false; then :
2843 $as_echo_n "(cached) " >&6
2845 if test "x$host_alias" = x; then
2846 ac_cv_host=$ac_cv_build
2848 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2849 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2854 $as_echo "$ac_cv_host" >&6; }
2857 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2860 ac_save_IFS=$IFS; IFS='-'
2866 # Remember, the first character of IFS is used to create $*,
2867 # except with old shells:
2870 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2876 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2877 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2878 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2884 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2886 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2887 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2888 $as_echo_n "(cached) " >&6
2890 cat >conftest.make <<\_ACEOF
2893 @echo '@@@%%%=$(MAKE)=@@@%%%'
2895 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2896 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2898 eval ac_cv_prog_make_${ac_make}_set=yes;;
2900 eval ac_cv_prog_make_${ac_make}_set=no;;
2904 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2906 $as_echo "yes" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2911 SET_MAKE="MAKE=${MAKE-make}"
2915 ac_cpp='$CPP $CPPFLAGS'
2916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2919 if test -n "$ac_tool_prefix"; then
2920 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2921 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_CC+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$CC"; then
2928 ac_cv_prog_CC="$CC" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2937 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 if test -n "$CC"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2950 $as_echo "$CC" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2958 if test -z "$ac_cv_prog_CC"; then
2960 # Extract the first word of "gcc", so it can be a program name with args.
2961 set dummy gcc; ac_word=$2
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2963 $as_echo_n "checking for $ac_word... " >&6; }
2964 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2965 $as_echo_n "(cached) " >&6
2967 if test -n "$ac_ct_CC"; then
2968 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 test -z "$as_dir" && as_dir=.
2975 for ac_exec_ext in '' $ac_executable_extensions; do
2976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2977 ac_cv_prog_ac_ct_CC="gcc"
2978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2988 if test -n "$ac_ct_CC"; then
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2990 $as_echo "$ac_ct_CC" >&6; }
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2993 $as_echo "no" >&6; }
2996 if test "x$ac_ct_CC" = x; then
2999 case $cross_compiling:$ac_tool_warned in
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3003 ac_tool_warned=yes ;;
3011 if test -z "$CC"; then
3012 if test -n "$ac_tool_prefix"; then
3013 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3014 set dummy ${ac_tool_prefix}cc; ac_word=$2
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016 $as_echo_n "checking for $ac_word... " >&6; }
3017 if ${ac_cv_prog_CC+:} false; then :
3018 $as_echo_n "(cached) " >&6
3020 if test -n "$CC"; then
3021 ac_cv_prog_CC="$CC" # Let the user override the test.
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_CC="${ac_tool_prefix}cc"
3031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 if test -n "$CC"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3043 $as_echo "$CC" >&6; }
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3052 if test -z "$CC"; then
3053 # Extract the first word of "cc", so it can be a program name with args.
3054 set dummy cc; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if ${ac_cv_prog_CC+:} false; then :
3058 $as_echo_n "(cached) " >&6
3060 if test -n "$CC"; then
3061 ac_cv_prog_CC="$CC" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3072 ac_prog_rejected=yes
3076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083 if test $ac_prog_rejected = yes; then
3084 # We found a bogon in the path, so make sure we never use it.
3085 set dummy $ac_cv_prog_CC
3087 if test $# != 0; then
3088 # We chose a different compiler from the bogus one.
3089 # However, it has the same basename, so the bogon will be chosen
3090 # first if we set CC to just the basename; use the full file name.
3092 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3098 if test -n "$CC"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3100 $as_echo "$CC" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3108 if test -z "$CC"; then
3109 if test -n "$ac_tool_prefix"; then
3110 for ac_prog in cl.exe
3112 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3113 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3115 $as_echo_n "checking for $ac_word... " >&6; }
3116 if ${ac_cv_prog_CC+:} false; then :
3117 $as_echo_n "(cached) " >&6
3119 if test -n "$CC"; then
3120 ac_cv_prog_CC="$CC" # Let the user override the test.
3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3126 test -z "$as_dir" && as_dir=.
3127 for ac_exec_ext in '' $ac_executable_extensions; do
3128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3129 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140 if test -n "$CC"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3142 $as_echo "$CC" >&6; }
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3149 test -n "$CC" && break
3152 if test -z "$CC"; then
3154 for ac_prog in cl.exe
3156 # Extract the first word of "$ac_prog", so it can be a program name with args.
3157 set dummy $ac_prog; ac_word=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3161 $as_echo_n "(cached) " >&6
3163 if test -n "$ac_ct_CC"; then
3164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 test -z "$as_dir" && as_dir=.
3171 for ac_exec_ext in '' $ac_executable_extensions; do
3172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173 ac_cv_prog_ac_ct_CC="$ac_prog"
3174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3183 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3184 if test -n "$ac_ct_CC"; then
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3186 $as_echo "$ac_ct_CC" >&6; }
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3193 test -n "$ac_ct_CC" && break
3196 if test "x$ac_ct_CC" = x; then
3199 case $cross_compiling:$ac_tool_warned in
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3203 ac_tool_warned=yes ;;
3212 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3214 as_fn_error $? "no acceptable C compiler found in \$PATH
3215 See \`config.log' for more details" "$LINENO" 5; }
3217 # Provide some information about the compiler.
3218 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3221 for ac_option in --version -v -V -qversion; do
3222 { { ac_try="$ac_compiler $ac_option >&5"
3224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228 $as_echo "$ac_try_echo"; } >&5
3229 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3231 if test -s conftest.err; then
3233 ... rest of stderr output deleted ...
3234 10q' conftest.err >conftest.er1
3235 cat conftest.er1 >&5
3237 rm -f conftest.er1 conftest.err
3238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239 test $ac_status = 0; }
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243 /* end confdefs.h. */
3253 ac_clean_files_save=$ac_clean_files
3254 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3255 # Try to create an executable without -o first, disregard a.out.
3256 # It will help us diagnose broken compilers, and finding out an intuition
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3259 $as_echo_n "checking whether the C compiler works... " >&6; }
3260 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3262 # The possible output files:
3263 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3266 for ac_file in $ac_files
3269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3270 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3275 if { { ac_try="$ac_link_default"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281 $as_echo "$ac_try_echo"; } >&5
3282 (eval "$ac_link_default") 2>&5
3284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285 test $ac_status = 0; }; then :
3286 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3287 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3288 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3289 # so that the user can short-circuit this test for compilers unknown to
3291 for ac_file in $ac_files ''
3293 test -f "$ac_file" || continue
3295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3298 # We found the default executable, but exeext='' is most
3302 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3304 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3306 # We set ac_cv_exeext here because the later test for it is not
3307 # safe: cross compilers may not add the suffix if given an `-o'
3308 # argument, so we may need to know it at that point already.
3309 # Even if this section looks crufty: it has the advantage of
3316 test "$ac_cv_exeext" = no && ac_cv_exeext=
3321 if test -z "$ac_file"; then :
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3324 $as_echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.$ac_ext >&5
3327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329 as_fn_error 77 "C compiler cannot create executables
3330 See \`config.log' for more details" "$LINENO" 5; }
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3333 $as_echo "yes" >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3336 $as_echo_n "checking for C compiler default output file name... " >&6; }
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3338 $as_echo "$ac_file" >&6; }
3339 ac_exeext=$ac_cv_exeext
3341 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3342 ac_clean_files=$ac_clean_files_save
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3344 $as_echo_n "checking for suffix of executables... " >&6; }
3345 if { { ac_try="$ac_link"
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351 $as_echo "$ac_try_echo"; } >&5
3352 (eval "$ac_link") 2>&5
3354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355 test $ac_status = 0; }; then :
3356 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3357 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3358 # work properly (i.e., refer to `conftest.exe'), while it won't with
3360 for ac_file in conftest.exe conftest conftest.*; do
3361 test -f "$ac_file" || continue
3363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3364 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3373 See \`config.log' for more details" "$LINENO" 5; }
3375 rm -f conftest conftest$ac_cv_exeext
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3377 $as_echo "$ac_cv_exeext" >&6; }
3379 rm -f conftest.$ac_ext
3380 EXEEXT=$ac_cv_exeext
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3388 FILE *f = fopen ("conftest.out", "w");
3389 return ferror (f) || fclose (f) != 0;
3395 ac_clean_files="$ac_clean_files conftest.out"
3396 # Check that the compiler produces executables we can run. If not, either
3397 # the compiler is broken, or we cross compile.
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3399 $as_echo_n "checking whether we are cross compiling... " >&6; }
3400 if test "$cross_compiling" != yes; then
3401 { { ac_try="$ac_link"
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3407 $as_echo "$ac_try_echo"; } >&5
3408 (eval "$ac_link") 2>&5
3410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3411 test $ac_status = 0; }
3412 if { ac_try='./conftest$ac_cv_exeext'
3413 { { case "(($ac_try" in
3414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_try") 2>&5
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }; }; then
3425 if test "$cross_compiling" = maybe; then
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot run C compiled programs.
3431 If you meant to cross compile, use \`--host'.
3432 See \`config.log' for more details" "$LINENO" 5; }
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3437 $as_echo "$cross_compiling" >&6; }
3439 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3440 ac_clean_files=$ac_clean_files_save
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3442 $as_echo_n "checking for suffix of object files... " >&6; }
3443 if ${ac_cv_objext+:} false; then :
3444 $as_echo_n "(cached) " >&6
3446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447 /* end confdefs.h. */
3457 rm -f conftest.o conftest.obj
3458 if { { ac_try="$ac_compile"
3460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461 *) ac_try_echo=$ac_try;;
3463 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464 $as_echo "$ac_try_echo"; } >&5
3465 (eval "$ac_compile") 2>&5
3467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468 test $ac_status = 0; }; then :
3469 for ac_file in conftest.o conftest.obj conftest.*; do
3470 test -f "$ac_file" || continue;
3472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3473 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3478 $as_echo "$as_me: failed program was:" >&5
3479 sed 's/^/| /' conftest.$ac_ext >&5
3481 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483 as_fn_error $? "cannot compute suffix of object files: cannot compile
3484 See \`config.log' for more details" "$LINENO" 5; }
3486 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3489 $as_echo "$ac_cv_objext" >&6; }
3490 OBJEXT=$ac_cv_objext
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3493 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3494 if ${ac_cv_c_compiler_gnu+:} false; then :
3495 $as_echo_n "(cached) " >&6
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3511 if ac_fn_c_try_compile "$LINENO"; then :
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3521 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3522 if test $ac_compiler_gnu = yes; then
3527 ac_test_CFLAGS=${CFLAGS+set}
3528 ac_save_CFLAGS=$CFLAGS
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3530 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3531 if ${ac_cv_prog_cc_g+:} false; then :
3532 $as_echo_n "(cached) " >&6
3534 ac_save_c_werror_flag=$ac_c_werror_flag
3535 ac_c_werror_flag=yes
3538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539 /* end confdefs.h. */
3549 if ac_fn_c_try_compile "$LINENO"; then :
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 if ac_fn_c_try_compile "$LINENO"; then :
3567 ac_c_werror_flag=$ac_save_c_werror_flag
3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h. */
3580 if ac_fn_c_try_compile "$LINENO"; then :
3583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588 ac_c_werror_flag=$ac_save_c_werror_flag
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3591 $as_echo "$ac_cv_prog_cc_g" >&6; }
3592 if test "$ac_test_CFLAGS" = set; then
3593 CFLAGS=$ac_save_CFLAGS
3594 elif test $ac_cv_prog_cc_g = yes; then
3595 if test "$GCC" = yes; then
3601 if test "$GCC" = yes; then
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3608 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3609 if ${ac_cv_prog_cc_c89+:} false; then :
3610 $as_echo_n "(cached) " >&6
3612 ac_cv_prog_cc_c89=no
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3618 #include <sys/types.h>
3619 #include <sys/stat.h>
3620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3621 struct buf { int x; };
3622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3623 static char *e (p, i)
3629 static char *f (char * (*g) (char **, int), char **p, ...)
3634 s = g (p, va_arg (v,int));
3639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3640 function prototypes and stuff, but not '\xHH' hex character constants.
3641 These don't provoke an error unfortunately, instead are silently treated
3642 as 'x'. The following induces an error, until -std is added to get
3643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3644 array size at least. It's necessary to write '\x00'==0 to get something
3645 that's true only with -std. */
3646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3648 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3649 inside strings and character constants. */
3651 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3653 int test (int i, double x);
3654 struct s1 {int (*f) (int a);};
3655 struct s2 {int (*f) (double a);};
3656 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3662 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3667 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3668 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3670 CC="$ac_save_CC $ac_arg"
3671 if ac_fn_c_try_compile "$LINENO"; then :
3672 ac_cv_prog_cc_c89=$ac_arg
3674 rm -f core conftest.err conftest.$ac_objext
3675 test "x$ac_cv_prog_cc_c89" != "xno" && break
3677 rm -f conftest.$ac_ext
3682 case "x$ac_cv_prog_cc_c89" in
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3685 $as_echo "none needed" >&6; } ;;
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3688 $as_echo "unsupported" >&6; } ;;
3690 CC="$CC $ac_cv_prog_cc_c89"
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3692 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3694 if test "x$ac_cv_prog_cc_c89" != xno; then :
3699 ac_cpp='$CPP $CPPFLAGS'
3700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3705 ac_cpp='$CXXCPP $CPPFLAGS'
3706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3709 if test -z "$CXX"; then
3710 if test -n "$CCC"; then
3713 if test -n "$ac_tool_prefix"; then
3714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3719 $as_echo_n "checking for $ac_word... " >&6; }
3720 if ${ac_cv_prog_CXX+:} false; then :
3721 $as_echo_n "(cached) " >&6
3723 if test -n "$CXX"; then
3724 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 for ac_exec_ext in '' $ac_executable_extensions; do
3732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3733 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 if test -n "$CXX"; then
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3746 $as_echo "$CXX" >&6; }
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3749 $as_echo "no" >&6; }
3753 test -n "$CXX" && break
3756 if test -z "$CXX"; then
3758 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3760 # Extract the first word of "$ac_prog", so it can be a program name with args.
3761 set dummy $ac_prog; ac_word=$2
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763 $as_echo_n "checking for $ac_word... " >&6; }
3764 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3765 $as_echo_n "(cached) " >&6
3767 if test -n "$ac_ct_CXX"; then
3768 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3774 test -z "$as_dir" && as_dir=.
3775 for ac_exec_ext in '' $ac_executable_extensions; do
3776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3777 ac_cv_prog_ac_ct_CXX="$ac_prog"
3778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3788 if test -n "$ac_ct_CXX"; then
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3790 $as_echo "$ac_ct_CXX" >&6; }
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3793 $as_echo "no" >&6; }
3797 test -n "$ac_ct_CXX" && break
3800 if test "x$ac_ct_CXX" = x; then
3803 case $cross_compiling:$ac_tool_warned in
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3807 ac_tool_warned=yes ;;
3815 # Provide some information about the compiler.
3816 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3819 for ac_option in --version -v -V -qversion; do
3820 { { ac_try="$ac_compiler $ac_option >&5"
3822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823 *) ac_try_echo=$ac_try;;
3825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3826 $as_echo "$ac_try_echo"; } >&5
3827 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3829 if test -s conftest.err; then
3831 ... rest of stderr output deleted ...
3832 10q' conftest.err >conftest.er1
3833 cat conftest.er1 >&5
3835 rm -f conftest.er1 conftest.err
3836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3837 test $ac_status = 0; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3841 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3842 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3843 $as_echo_n "(cached) " >&6
3845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3859 if ac_fn_cxx_try_compile "$LINENO"; then :
3864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3869 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3870 if test $ac_compiler_gnu = yes; then
3875 ac_test_CXXFLAGS=${CXXFLAGS+set}
3876 ac_save_CXXFLAGS=$CXXFLAGS
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3878 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3879 if ${ac_cv_prog_cxx_g+:} false; then :
3880 $as_echo_n "(cached) " >&6
3882 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3883 ac_cxx_werror_flag=yes
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3897 if ac_fn_cxx_try_compile "$LINENO"; then :
3898 ac_cv_prog_cxx_g=yes
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 if ac_fn_cxx_try_compile "$LINENO"; then :
3915 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3928 if ac_fn_cxx_try_compile "$LINENO"; then :
3929 ac_cv_prog_cxx_g=yes
3931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3936 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3939 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3940 if test "$ac_test_CXXFLAGS" = set; then
3941 CXXFLAGS=$ac_save_CXXFLAGS
3942 elif test $ac_cv_prog_cxx_g = yes; then
3943 if test "$GXX" = yes; then
3949 if test "$GXX" = yes; then
3956 ac_cpp='$CPP $CPPFLAGS'
3957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3963 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_CPPBIN+:} false; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$CPPBIN"; then
3970 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3979 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 CPPBIN=$ac_cv_prog_CPPBIN
3990 if test -n "$CPPBIN"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3992 $as_echo "$CPPBIN" >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4000 if test -z "$ac_cv_prog_CPPBIN"; then
4001 ac_ct_CPPBIN=$CPPBIN
4002 # Extract the first word of "cpp", so it can be a program name with args.
4003 set dummy cpp; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4007 $as_echo_n "(cached) " >&6
4009 if test -n "$ac_ct_CPPBIN"; then
4010 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4019 ac_cv_prog_ac_ct_CPPBIN="cpp"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4030 if test -n "$ac_ct_CPPBIN"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4032 $as_echo "$ac_ct_CPPBIN" >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4038 if test "x$ac_ct_CPPBIN" = x; then
4041 case $cross_compiling:$ac_tool_warned in
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4045 ac_tool_warned=yes ;;
4047 CPPBIN=$ac_ct_CPPBIN
4050 CPPBIN="$ac_cv_prog_CPPBIN"
4054 cat >>confdefs.h <<_ACEOF
4055 #define EXEEXT "$ac_exeext"
4061 if test "x$enable_win64" = "xyes"
4065 LD="${LD:-ld} -arch x86_64"
4066 AS="${AS:-as} -arch x86_64"
4068 notice_platform="64-bit "
4074 LD="${LD:-ld} -arch i386"
4075 AS="${AS:-as} -arch i386"
4077 notice_platform="32-bit "
4080 enable_win16=${enable_win16:-yes}
4084 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4089 $as_echo_n "checking whether $CC works... " >&6; }
4091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4092 /* end confdefs.h. */
4102 if ac_fn_c_try_link "$LINENO"; then :
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4104 $as_echo "yes" >&6; }
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107 $as_echo "no" >&6; }
4108 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4110 rm -f core conftest.err conftest.$ac_objext \
4111 conftest$ac_exeext conftest.$ac_ext
4112 LD="${LD:-ld} -m elf_i386"
4115 notice_platform="32-bit "
4118 enable_win16=${enable_win16:-yes}
4120 if test "x${GCC}" = "xyes"
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4123 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4130 void func(__builtin_ms_va_list *args);
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4137 $as_echo "yes" >&6; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4141 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 *-mingw32*|*-cygwin*)
4150 enable_win16=${enable_win16:-no}
4151 CFLAGS="$CFLAGS -D_WIN32"
4154 enable_win16=${enable_win16:-yes}
4158 enable_win16=${enable_win16:-no}
4159 enable_win64=${enable_win64:-no}
4161 enable_winetest=${enable_winetest:-$enable_tests}
4163 if test -n "$with_wine64"
4165 if test "x$enable_win64" = "xyes"
4167 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4168 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4172 enable_fonts=${enable_fonts:-no}
4173 enable_server=${enable_server:-no}
4174 enable_tools=${enable_tools:-no}
4175 elif test "x$enable_win64" = "xyes"
4177 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4181 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4182 if ${wine_cv_toolsdir+:} false; then :
4183 $as_echo_n "(cached) " >&6
4185 wine_cv_toolsdir="$with_wine_tools"
4186 if test -z "$with_wine_tools"; then
4187 if test "$cross_compiling" = "yes"; then
4188 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4189 elif test -n "$with_wine64"; then
4190 wine_cv_toolsdir="$with_wine64"
4193 if test -z "$wine_cv_toolsdir"; then
4194 wine_cv_toolsdir="\$(top_builddir)"
4195 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4196 case "$wine_cv_toolsdir" in
4198 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4201 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4205 $as_echo "$wine_cv_toolsdir" >&6; }
4206 TOOLSDIR=$wine_cv_toolsdir
4208 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4210 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4216 # Extract the first word of "$ac_prog", so it can be a program name with args.
4217 set dummy $ac_prog; ac_word=$2
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4219 $as_echo_n "checking for $ac_word... " >&6; }
4220 if ${ac_cv_prog_FLEX+:} false; then :
4221 $as_echo_n "(cached) " >&6
4223 if test -n "$FLEX"; then
4224 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4230 test -z "$as_dir" && as_dir=.
4231 for ac_exec_ext in '' $ac_executable_extensions; do
4232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4233 ac_cv_prog_FLEX="$ac_prog"
4234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4243 FLEX=$ac_cv_prog_FLEX
4244 if test -n "$FLEX"; then
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4246 $as_echo "$FLEX" >&6; }
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4249 $as_echo "no" >&6; }
4253 test -n "$FLEX" && break
4255 test -n "$FLEX" || FLEX="none"
4257 if test "$FLEX" = "none"
4259 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4262 $as_echo_n "checking whether flex is recent enough... " >&6; }
4263 cat >conftest.l <<EOF
4265 #include "prediluvian.h"
4269 if $FLEX -t conftest.l >/dev/null 2>&5
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4272 $as_echo "yes" >&6; }
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275 $as_echo "no" >&6; }
4276 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4279 for ac_prog in bison
4281 # Extract the first word of "$ac_prog", so it can be a program name with args.
4282 set dummy $ac_prog; ac_word=$2
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4284 $as_echo_n "checking for $ac_word... " >&6; }
4285 if ${ac_cv_prog_BISON+:} false; then :
4286 $as_echo_n "(cached) " >&6
4288 if test -n "$BISON"; then
4289 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4295 test -z "$as_dir" && as_dir=.
4296 for ac_exec_ext in '' $ac_executable_extensions; do
4297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4298 ac_cv_prog_BISON="$ac_prog"
4299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4308 BISON=$ac_cv_prog_BISON
4309 if test -n "$BISON"; then
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4311 $as_echo "$BISON" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4318 test -n "$BISON" && break
4320 test -n "$BISON" || BISON="none"
4322 if test "$BISON" = "none"
4324 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4327 if test -n "$ac_tool_prefix"; then
4328 for ac_prog in ar gar
4330 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4331 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_prog_AR+:} false; then :
4335 $as_echo_n "(cached) " >&6
4337 if test -n "$AR"; then
4338 ac_cv_prog_AR="$AR" # Let the user override the test.
4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 test -z "$as_dir" && as_dir=.
4345 for ac_exec_ext in '' $ac_executable_extensions; do
4346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4347 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4358 if test -n "$AR"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4360 $as_echo "$AR" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4367 test -n "$AR" && break
4370 if test -z "$AR"; then
4372 for ac_prog in ar gar
4374 # Extract the first word of "$ac_prog", so it can be a program name with args.
4375 set dummy $ac_prog; ac_word=$2
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4377 $as_echo_n "checking for $ac_word... " >&6; }
4378 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4379 $as_echo_n "(cached) " >&6
4381 if test -n "$ac_ct_AR"; then
4382 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4391 ac_cv_prog_ac_ct_AR="$ac_prog"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4402 if test -n "$ac_ct_AR"; then
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4404 $as_echo "$ac_ct_AR" >&6; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4407 $as_echo "no" >&6; }
4411 test -n "$ac_ct_AR" && break
4414 if test "x$ac_ct_AR" = x; then
4417 case $cross_compiling:$ac_tool_warned in
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4421 ac_tool_warned=yes ;;
4429 if test -n "$ac_tool_prefix"; then
4430 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4431 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if ${ac_cv_prog_RANLIB+:} false; then :
4435 $as_echo_n "(cached) " >&6
4437 if test -n "$RANLIB"; then
4438 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_dir=.
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 RANLIB=$ac_cv_prog_RANLIB
4458 if test -n "$RANLIB"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4460 $as_echo "$RANLIB" >&6; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4468 if test -z "$ac_cv_prog_RANLIB"; then
4469 ac_ct_RANLIB=$RANLIB
4470 # Extract the first word of "ranlib", so it can be a program name with args.
4471 set dummy ranlib; ac_word=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4475 $as_echo_n "(cached) " >&6
4477 if test -n "$ac_ct_RANLIB"; then
4478 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir=.
4485 for ac_exec_ext in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4487 ac_cv_prog_ac_ct_RANLIB="ranlib"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4498 if test -n "$ac_ct_RANLIB"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4500 $as_echo "$ac_ct_RANLIB" >&6; }
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4506 if test "x$ac_ct_RANLIB" = x; then
4509 case $cross_compiling:$ac_tool_warned in
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4513 ac_tool_warned=yes ;;
4515 RANLIB=$ac_ct_RANLIB
4518 RANLIB="$ac_cv_prog_RANLIB"
4521 if test -n "$ac_tool_prefix"; then
4522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4523 set dummy ${ac_tool_prefix}strip; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_STRIP+:} false; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -n "$STRIP"; then
4530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4549 STRIP=$ac_cv_prog_STRIP
4550 if test -n "$STRIP"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4552 $as_echo "$STRIP" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4560 if test -z "$ac_cv_prog_STRIP"; then
4562 # Extract the first word of "strip", so it can be a program name with args.
4563 set dummy strip; ac_word=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4567 $as_echo_n "(cached) " >&6
4569 if test -n "$ac_ct_STRIP"; then
4570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir=.
4577 for ac_exec_ext in '' $ac_executable_extensions; do
4578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4579 ac_cv_prog_ac_ct_STRIP="strip"
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4590 if test -n "$ac_ct_STRIP"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4592 $as_echo "$ac_ct_STRIP" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4598 if test "x$ac_ct_STRIP" = x; then
4601 case $cross_compiling:$ac_tool_warned in
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4605 ac_tool_warned=yes ;;
4610 STRIP="$ac_cv_prog_STRIP"
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4614 $as_echo_n "checking whether ln -s works... " >&6; }
4616 if test "$LN_S" = "ln -s"; then
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4618 $as_echo "yes" >&6; }
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4621 $as_echo "no, using $LN_S" >&6; }
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4625 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4626 if ${ac_cv_path_GREP+:} false; then :
4627 $as_echo_n "(cached) " >&6
4629 if test -z "$GREP"; then
4630 ac_path_GREP_found=false
4631 # Loop through the user's path and test for each of PROGNAME-LIST
4632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4633 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4636 test -z "$as_dir" && as_dir=.
4637 for ac_prog in grep ggrep; do
4638 for ac_exec_ext in '' $ac_executable_extensions; do
4639 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4640 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4641 # Check for GNU ac_path_GREP and select it if it is found.
4642 # Check for GNU $ac_path_GREP
4643 case `"$ac_path_GREP" --version 2>&1` in
4645 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4648 $as_echo_n 0123456789 >"conftest.in"
4651 cat "conftest.in" "conftest.in" >"conftest.tmp"
4652 mv "conftest.tmp" "conftest.in"
4653 cp "conftest.in" "conftest.nl"
4654 $as_echo 'GREP' >> "conftest.nl"
4655 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4656 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4657 as_fn_arith $ac_count + 1 && ac_count=$as_val
4658 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4659 # Best one so far, save it but keep looking for a better one
4660 ac_cv_path_GREP="$ac_path_GREP"
4661 ac_path_GREP_max=$ac_count
4663 # 10*(2^10) chars as input seems more than enough
4664 test $ac_count -gt 10 && break
4666 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4669 $ac_path_GREP_found && break 3
4674 if test -z "$ac_cv_path_GREP"; then
4675 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4678 ac_cv_path_GREP=$GREP
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4683 $as_echo "$ac_cv_path_GREP" >&6; }
4684 GREP="$ac_cv_path_GREP"
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4688 $as_echo_n "checking for egrep... " >&6; }
4689 if ${ac_cv_path_EGREP+:} false; then :
4690 $as_echo_n "(cached) " >&6
4692 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4693 then ac_cv_path_EGREP="$GREP -E"
4695 if test -z "$EGREP"; then
4696 ac_path_EGREP_found=false
4697 # Loop through the user's path and test for each of PROGNAME-LIST
4698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4699 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4702 test -z "$as_dir" && as_dir=.
4703 for ac_prog in egrep; do
4704 for ac_exec_ext in '' $ac_executable_extensions; do
4705 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4706 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4707 # Check for GNU ac_path_EGREP and select it if it is found.
4708 # Check for GNU $ac_path_EGREP
4709 case `"$ac_path_EGREP" --version 2>&1` in
4711 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4714 $as_echo_n 0123456789 >"conftest.in"
4717 cat "conftest.in" "conftest.in" >"conftest.tmp"
4718 mv "conftest.tmp" "conftest.in"
4719 cp "conftest.in" "conftest.nl"
4720 $as_echo 'EGREP' >> "conftest.nl"
4721 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4722 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4723 as_fn_arith $ac_count + 1 && ac_count=$as_val
4724 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4725 # Best one so far, save it but keep looking for a better one
4726 ac_cv_path_EGREP="$ac_path_EGREP"
4727 ac_path_EGREP_max=$ac_count
4729 # 10*(2^10) chars as input seems more than enough
4730 test $ac_count -gt 10 && break
4732 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4735 $ac_path_EGREP_found && break 3
4740 if test -z "$ac_cv_path_EGREP"; then
4741 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4744 ac_cv_path_EGREP=$EGREP
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4750 $as_echo "$ac_cv_path_EGREP" >&6; }
4751 EGREP="$ac_cv_path_EGREP"
4754 # Extract the first word of "ldconfig", so it can be a program name with args.
4755 set dummy ldconfig; ac_word=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if ${ac_cv_path_LDCONFIG+:} false; then :
4759 $as_echo_n "(cached) " >&6
4763 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in /sbin /usr/sbin $PATH
4770 test -z "$as_dir" && as_dir=.
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4773 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4781 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4785 LDCONFIG=$ac_cv_path_LDCONFIG
4786 if test -n "$LDCONFIG"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4788 $as_echo "$LDCONFIG" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4795 # Find a good install program. We prefer a C program (faster),
4796 # so one script is as good as another. But avoid the broken or
4797 # incompatible versions:
4798 # SysV /etc/install, /usr/sbin/install
4799 # SunOS /usr/etc/install
4800 # IRIX /sbin/install
4802 # AmigaOS /C/install, which installs bootblocks on floppy discs
4803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4806 # OS/2's system install, which has a completely different semantic
4807 # ./install, which can be erroneously created by make from ./install.sh.
4808 # Reject install programs that cannot install multiple files.
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4810 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4811 if test -z "$INSTALL"; then
4812 if ${ac_cv_path_install+:} false; then :
4813 $as_echo_n "(cached) " >&6
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir=.
4820 # Account for people who put trailing slashes in PATH elements.
4821 case $as_dir/ in #((
4822 ./ | .// | /[cC]/* | \
4823 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4824 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4827 # OSF1 and SCO ODT 3.0 have their own names for install.
4828 # Don't use installbsd from OSF since it installs stuff as root
4830 for ac_prog in ginstall scoinst install; do
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4833 if test $ac_prog = install &&
4834 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4835 # AIX install. It has an incompatible calling convention.
4837 elif test $ac_prog = install &&
4838 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4839 # program-specific install script used by HP pwplus--don't use.
4842 rm -rf conftest.one conftest.two conftest.dir
4843 echo one > conftest.one
4844 echo two > conftest.two
4846 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4847 test -s conftest.one && test -s conftest.two &&
4848 test -s conftest.dir/conftest.one &&
4849 test -s conftest.dir/conftest.two
4851 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4864 rm -rf conftest.one conftest.two conftest.dir
4867 if test "${ac_cv_path_install+set}" = set; then
4868 INSTALL=$ac_cv_path_install
4870 # As a last resort, use the slow shell script. Don't cache a
4871 # value for INSTALL within a source directory, because that will
4872 # break other packages using the cache if that directory is
4873 # removed, or if the value is a relative name.
4874 INSTALL=$ac_install_sh
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4878 $as_echo "$INSTALL" >&6; }
4880 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4881 # It thinks the first close brace ends the variable substitution.
4882 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4884 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4886 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4889 [\\/$]* | ?:[\\/]* ) ;;
4890 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4893 for ac_prog in lclint lint
4895 # Extract the first word of "$ac_prog", so it can be a program name with args.
4896 set dummy $ac_prog; ac_word=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if ${ac_cv_prog_LINT+:} false; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$LINT"; then
4903 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir=.
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_LINT="$ac_prog"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 LINT=$ac_cv_prog_LINT
4923 if test -n "$LINT"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4925 $as_echo "$LINT" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4932 test -n "$LINT" && break
4935 if test "$LINT" = "lint"
4937 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4942 for ac_prog in fontforge
4944 # Extract the first word of "$ac_prog", so it can be a program name with args.
4945 set dummy $ac_prog; ac_word=$2
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4947 $as_echo_n "checking for $ac_word... " >&6; }
4948 if ${ac_cv_prog_FONTFORGE+:} false; then :
4949 $as_echo_n "(cached) " >&6
4951 if test -n "$FONTFORGE"; then
4952 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir=.
4959 for ac_exec_ext in '' $ac_executable_extensions; do
4960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4961 ac_cv_prog_FONTFORGE="$ac_prog"
4962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 FONTFORGE=$ac_cv_prog_FONTFORGE
4972 if test -n "$FONTFORGE"; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4974 $as_echo "$FONTFORGE" >&6; }
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 $as_echo "no" >&6; }
4981 test -n "$FONTFORGE" && break
4983 test -n "$FONTFORGE" || FONTFORGE="false"
4985 for ac_prog in pkg-config
4987 # Extract the first word of "$ac_prog", so it can be a program name with args.
4988 set dummy $ac_prog; ac_word=$2
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990 $as_echo_n "checking for $ac_word... " >&6; }
4991 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4992 $as_echo_n "(cached) " >&6
4994 if test -n "$PKG_CONFIG"; then
4995 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir=.
5002 for ac_exec_ext in '' $ac_executable_extensions; do
5003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5004 ac_cv_prog_PKG_CONFIG="$ac_prog"
5005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5015 if test -n "$PKG_CONFIG"; then
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5017 $as_echo "$PKG_CONFIG" >&6; }
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5020 $as_echo "no" >&6; }
5024 test -n "$PKG_CONFIG" && break
5026 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
5030 # Extract the first word of "$ac_prog", so it can be a program name with args.
5031 set dummy $ac_prog; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_RSVG+:} false; then :
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$RSVG"; then
5038 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir=.
5045 for ac_exec_ext in '' $ac_executable_extensions; do
5046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5047 ac_cv_prog_RSVG="$ac_prog"
5048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 RSVG=$ac_cv_prog_RSVG
5058 if test -n "$RSVG"; then
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5060 $as_echo "$RSVG" >&6; }
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5067 test -n "$RSVG" && break
5069 test -n "$RSVG" || RSVG="false"
5071 for ac_prog in convert
5073 # Extract the first word of "$ac_prog", so it can be a program name with args.
5074 set dummy $ac_prog; ac_word=$2
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076 $as_echo_n "checking for $ac_word... " >&6; }
5077 if ${ac_cv_prog_CONVERT+:} false; then :
5078 $as_echo_n "(cached) " >&6
5080 if test -n "$CONVERT"; then
5081 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087 test -z "$as_dir" && as_dir=.
5088 for ac_exec_ext in '' $ac_executable_extensions; do
5089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5090 ac_cv_prog_CONVERT="$ac_prog"
5091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100 CONVERT=$ac_cv_prog_CONVERT
5101 if test -n "$CONVERT"; then
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5103 $as_echo "$CONVERT" >&6; }
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106 $as_echo "no" >&6; }
5110 test -n "$CONVERT" && break
5112 test -n "$CONVERT" || CONVERT="false"
5114 for ac_prog in icotool
5116 # Extract the first word of "$ac_prog", so it can be a program name with args.
5117 set dummy $ac_prog; ac_word=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if ${ac_cv_prog_ICOTOOL+:} false; then :
5121 $as_echo_n "(cached) " >&6
5123 if test -n "$ICOTOOL"; then
5124 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir=.
5131 for ac_exec_ext in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_ICOTOOL="$ac_prog"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 ICOTOOL=$ac_cv_prog_ICOTOOL
5144 if test -n "$ICOTOOL"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5146 $as_echo "$ICOTOOL" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5153 test -n "$ICOTOOL" && break
5155 test -n "$ICOTOOL" || ICOTOOL="false"
5158 if test "x$enable_maintainer_mode" != "xyes"
5163 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5164 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5166 if test "$CONVERT" = false
5168 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5171 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5172 convert_version=`convert --version | head -n1`
5173 if test "x$convert_version" != "x"
5175 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5176 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5177 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5182 if test "$CONVERT" = false
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5185 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5186 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5189 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5193 if test "$ICOTOOL" = false
5195 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5198 $as_echo_n "checking for recent enough icotool... " >&6; }
5199 icotool_version=`icotool --version | head -n1`
5200 if test "x$icotool_version" != "x"
5202 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5203 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5204 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5207 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5210 if test "$ICOTOOL" = false
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5213 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5214 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5217 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5225 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5226 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5227 $as_echo_n "(cached) " >&6
5229 ac_check_lib_save_LIBS=$LIBS
5231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5232 /* end confdefs.h. */
5234 /* Override any GCC internal prototype to avoid an error.
5235 Use char because int might match the return type of a GCC
5236 builtin and then its argument prototype would still apply. */
5240 char i386_set_ldt ();
5244 return i386_set_ldt ();
5249 if ac_fn_c_try_link "$LINENO"; then :
5250 ac_cv_lib_i386_i386_set_ldt=yes
5252 ac_cv_lib_i386_i386_set_ldt=no
5254 rm -f core conftest.err conftest.$ac_objext \
5255 conftest$ac_exeext conftest.$ac_ext
5256 LIBS=$ac_check_lib_save_LIBS
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5259 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5260 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5261 cat >>confdefs.h <<_ACEOF
5262 #define HAVE_LIBI386 1
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5270 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5271 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5272 $as_echo_n "(cached) " >&6
5274 ac_check_lib_save_LIBS=$LIBS
5275 LIBS="-lossaudio $LIBS"
5276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5277 /* end confdefs.h. */
5279 /* Override any GCC internal prototype to avoid an error.
5280 Use char because int might match the return type of a GCC
5281 builtin and then its argument prototype would still apply. */
5289 return _oss_ioctl ();
5294 if ac_fn_c_try_link "$LINENO"; then :
5295 ac_cv_lib_ossaudio__oss_ioctl=yes
5297 ac_cv_lib_ossaudio__oss_ioctl=no
5299 rm -f core conftest.err conftest.$ac_objext \
5300 conftest$ac_exeext conftest.$ac_ext
5301 LIBS=$ac_check_lib_save_LIBS
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5304 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5305 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5306 cat >>confdefs.h <<_ACEOF
5307 #define HAVE_LIBOSSAUDIO 1
5310 LIBS="-lossaudio $LIBS"
5321 # Check whether --enable-largefile was given.
5322 if test "${enable_largefile+set}" = set; then :
5323 enableval=$enable_largefile;
5326 if test "$enable_largefile" != no; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5329 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5330 if ${ac_cv_sys_largefile_CC+:} false; then :
5331 $as_echo_n "(cached) " >&6
5333 ac_cv_sys_largefile_CC=no
5334 if test "$GCC" != yes; then
5337 # IRIX 6.2 and later do not support large files by default,
5338 # so use the C compiler's -n32 option if that helps.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #include <sys/types.h>
5342 /* Check that off_t can represent 2**63 - 1 correctly.
5343 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5344 since some C++ compilers masquerading as C compilers
5345 incorrectly reject 9223372036854775807. */
5346 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5347 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5348 && LARGE_OFF_T % 2147483647 == 1)
5358 if ac_fn_c_try_compile "$LINENO"; then :
5361 rm -f core conftest.err conftest.$ac_objext
5363 if ac_fn_c_try_compile "$LINENO"; then :
5364 ac_cv_sys_largefile_CC=' -n32'; break
5366 rm -f core conftest.err conftest.$ac_objext
5370 rm -f conftest.$ac_ext
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5374 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5375 if test "$ac_cv_sys_largefile_CC" != no; then
5376 CC=$CC$ac_cv_sys_largefile_CC
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5380 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5381 if ${ac_cv_sys_file_offset_bits+:} false; then :
5382 $as_echo_n "(cached) " >&6
5385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5387 #include <sys/types.h>
5388 /* Check that off_t can represent 2**63 - 1 correctly.
5389 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5390 since some C++ compilers masquerading as C compilers
5391 incorrectly reject 9223372036854775807. */
5392 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5393 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5394 && LARGE_OFF_T % 2147483647 == 1)
5404 if ac_fn_c_try_compile "$LINENO"; then :
5405 ac_cv_sys_file_offset_bits=no; break
5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5410 #define _FILE_OFFSET_BITS 64
5411 #include <sys/types.h>
5412 /* Check that off_t can represent 2**63 - 1 correctly.
5413 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5414 since some C++ compilers masquerading as C compilers
5415 incorrectly reject 9223372036854775807. */
5416 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5417 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5418 && LARGE_OFF_T % 2147483647 == 1)
5428 if ac_fn_c_try_compile "$LINENO"; then :
5429 ac_cv_sys_file_offset_bits=64; break
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 ac_cv_sys_file_offset_bits=unknown
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5437 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5438 case $ac_cv_sys_file_offset_bits in #(
5441 cat >>confdefs.h <<_ACEOF
5442 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5447 if test $ac_cv_sys_file_offset_bits = unknown; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5449 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5450 if ${ac_cv_sys_large_files+:} false; then :
5451 $as_echo_n "(cached) " >&6
5454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5455 /* end confdefs.h. */
5456 #include <sys/types.h>
5457 /* Check that off_t can represent 2**63 - 1 correctly.
5458 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5459 since some C++ compilers masquerading as C compilers
5460 incorrectly reject 9223372036854775807. */
5461 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5462 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5463 && LARGE_OFF_T % 2147483647 == 1)
5473 if ac_fn_c_try_compile "$LINENO"; then :
5474 ac_cv_sys_large_files=no; break
5476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5479 #define _LARGE_FILES 1
5480 #include <sys/types.h>
5481 /* Check that off_t can represent 2**63 - 1 correctly.
5482 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5483 since some C++ compilers masquerading as C compilers
5484 incorrectly reject 9223372036854775807. */
5485 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5486 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5487 && LARGE_OFF_T % 2147483647 == 1)
5497 if ac_fn_c_try_compile "$LINENO"; then :
5498 ac_cv_sys_large_files=1; break
5500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501 ac_cv_sys_large_files=unknown
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5506 $as_echo "$ac_cv_sys_large_files" >&6; }
5507 case $ac_cv_sys_large_files in #(
5510 cat >>confdefs.h <<_ACEOF
5511 #define _LARGE_FILES $ac_cv_sys_large_files
5521 ac_cpp='$CPP $CPPFLAGS'
5522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5526 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5527 # On Suns, sometimes $CPP names a directory.
5528 if test -n "$CPP" && test -d "$CPP"; then
5531 if test -z "$CPP"; then
5532 if ${ac_cv_prog_CPP+:} false; then :
5533 $as_echo_n "(cached) " >&6
5535 # Double quotes because CPP needs to be expanded
5536 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5539 for ac_c_preproc_warn_flag in '' yes
5541 # Use a header file that comes with gcc, so configuring glibc
5542 # with a fresh cross-compiler works.
5543 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5544 # <limits.h> exists even on freestanding compilers.
5545 # On the NeXT, cc -E runs the code through the compiler's parser,
5546 # not just through cpp. "Syntax error" is here to catch this case.
5547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5548 /* end confdefs.h. */
5550 # include <limits.h>
5552 # include <assert.h>
5556 if ac_fn_c_try_cpp "$LINENO"; then :
5559 # Broken: fails on valid input.
5562 rm -f conftest.err conftest.i conftest.$ac_ext
5564 # OK, works on sane cases. Now check whether nonexistent headers
5565 # can be detected and how.
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568 #include <ac_nonexistent.h>
5570 if ac_fn_c_try_cpp "$LINENO"; then :
5571 # Broken: success on invalid input.
5574 # Passes both tests.
5578 rm -f conftest.err conftest.i conftest.$ac_ext
5581 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5582 rm -f conftest.i conftest.err conftest.$ac_ext
5583 if $ac_preproc_ok; then :
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5596 $as_echo "$CPP" >&6; }
5598 for ac_c_preproc_warn_flag in '' yes
5600 # Use a header file that comes with gcc, so configuring glibc
5601 # with a fresh cross-compiler works.
5602 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5603 # <limits.h> exists even on freestanding compilers.
5604 # On the NeXT, cc -E runs the code through the compiler's parser,
5605 # not just through cpp. "Syntax error" is here to catch this case.
5606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5607 /* end confdefs.h. */
5609 # include <limits.h>
5611 # include <assert.h>
5615 if ac_fn_c_try_cpp "$LINENO"; then :
5618 # Broken: fails on valid input.
5621 rm -f conftest.err conftest.i conftest.$ac_ext
5623 # OK, works on sane cases. Now check whether nonexistent headers
5624 # can be detected and how.
5625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5627 #include <ac_nonexistent.h>
5629 if ac_fn_c_try_cpp "$LINENO"; then :
5630 # Broken: success on invalid input.
5633 # Passes both tests.
5637 rm -f conftest.err conftest.i conftest.$ac_ext
5640 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5641 rm -f conftest.i conftest.err conftest.$ac_ext
5642 if $ac_preproc_ok; then :
5645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5647 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5648 See \`config.log' for more details" "$LINENO" 5; }
5652 ac_cpp='$CPP $CPPFLAGS'
5653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5659 $as_echo_n "checking for ANSI C header files... " >&6; }
5660 if ${ac_cv_header_stdc+:} false; then :
5661 $as_echo_n "(cached) " >&6
5663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5678 if ac_fn_c_try_compile "$LINENO"; then :
5679 ac_cv_header_stdc=yes
5681 ac_cv_header_stdc=no
5683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5685 if test $ac_cv_header_stdc = yes; then
5686 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5693 $EGREP "memchr" >/dev/null 2>&1; then :
5696 ac_cv_header_stdc=no
5702 if test $ac_cv_header_stdc = yes; then
5703 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5710 $EGREP "free" >/dev/null 2>&1; then :
5713 ac_cv_header_stdc=no
5719 if test $ac_cv_header_stdc = yes; then
5720 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5721 if test "$cross_compiling" = yes; then :
5724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5725 /* end confdefs.h. */
5728 #if ((' ' & 0x0FF) == 0x020)
5729 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5730 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5732 # define ISLOWER(c) \
5733 (('a' <= (c) && (c) <= 'i') \
5734 || ('j' <= (c) && (c) <= 'r') \
5735 || ('s' <= (c) && (c) <= 'z'))
5736 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5739 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5744 for (i = 0; i < 256; i++)
5745 if (XOR (islower (i), ISLOWER (i))
5746 || toupper (i) != TOUPPER (i))
5751 if ac_fn_c_try_run "$LINENO"; then :
5754 ac_cv_header_stdc=no
5756 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5757 conftest.$ac_objext conftest.beam conftest.$ac_ext
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5763 $as_echo "$ac_cv_header_stdc" >&6; }
5764 if test $ac_cv_header_stdc = yes; then
5766 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5770 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5771 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5772 inttypes.h stdint.h unistd.h
5774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5775 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5777 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5778 cat >>confdefs.h <<_ACEOF
5779 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5789 ApplicationServices/ApplicationServices.h \
5790 AudioToolbox/AudioConverter.h \
5791 AudioUnit/AudioUnit.h \
5792 AudioUnit/AudioComponent.h \
5795 CoreAudio/CoreAudio.h \
5796 DiskArbitration/DiskArbitration.h \
5798 IOKit/hid/IOHIDLib.h \
5801 QuickTime/ImageCompression.h \
5802 Security/Security.h \
5816 fontconfig/fontconfig.h \
5856 netinet/in_systm.h \
5923 valgrind/memcheck.h \
5924 valgrind/valgrind.h \
5928 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5929 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5930 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5931 cat >>confdefs.h <<_ACEOF
5932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5940 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5941 if ${ac_cv_header_stat_broken+:} false; then :
5942 $as_echo_n "(cached) " >&6
5944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5946 #include <sys/types.h>
5947 #include <sys/stat.h>
5949 #if defined S_ISBLK && defined S_IFDIR
5950 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5953 #if defined S_ISBLK && defined S_IFCHR
5954 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5957 #if defined S_ISLNK && defined S_IFREG
5958 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5961 #if defined S_ISSOCK && defined S_IFREG
5962 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5966 if ac_fn_c_try_compile "$LINENO"; then :
5967 ac_cv_header_stat_broken=no
5969 ac_cv_header_stat_broken=yes
5971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5974 $as_echo "$ac_cv_header_stat_broken" >&6; }
5975 if test $ac_cv_header_stat_broken = yes; then
5977 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5983 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
5985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5987 #ifdef HAVE_SYS_PARAM_H
5988 # include <sys/param.h>
5991 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5992 cat >>confdefs.h <<_ACEOF
5993 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6008 netinet/if_ether.h \
6009 netinet/if_inarp.h \
6017 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6018 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6019 #ifdef HAVE_SYS_SOCKET_H
6020 # include <sys/socket.h>
6022 #ifdef HAVE_SYS_SOCKETVAR_H
6023 # include <sys/socketvar.h>
6025 #ifdef HAVE_NET_ROUTE_H
6026 # include <net/route.h>
6028 #ifdef HAVE_NETINET_IN_H
6029 # include <netinet/in.h>
6031 #ifdef HAVE_NETINET_IN_SYSTM_H
6032 # include <netinet/in_systm.h>
6034 #ifdef HAVE_NET_IF_H
6035 # include <net/if.h>
6037 #ifdef HAVE_NETINET_IP_H
6038 # include <netinet/ip.h>
6041 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6042 cat >>confdefs.h <<_ACEOF
6043 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6051 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6053 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6054 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6058 #ifdef HAVE_SYS_SOCKET_H
6059 # include <sys/socket.h>
6061 #ifdef HAVE_SYS_SOCKETVAR_H
6062 # include <sys/socketvar.h>
6064 #ifdef HAVE_SYS_TIMEOUT_H
6065 # include <sys/timeout.h>
6067 #ifdef HAVE_NETINET_IN_H
6068 # include <netinet/in.h>
6070 #ifdef HAVE_NETINET_IN_SYSTM_H
6071 # include <netinet/in_systm.h>
6073 #ifdef HAVE_NETINET_IP_H
6074 # include <netinet/ip.h>
6076 #ifdef HAVE_NETINET_IP_VAR_H
6077 # include <netinet/ip_var.h>
6079 #ifdef HAVE_NETINET_IP_ICMP_H
6080 # include <netinet/ip_icmp.h>
6082 #ifdef HAVE_NETINET_UDP_H
6083 # include <netinet/udp.h>
6085 #ifdef HAVE_NETINET_TCP_H
6086 # include <netinet/tcp.h>
6088 #ifdef HAVE_NETINET_TCP_TIMER_H
6089 #include <netinet/tcp_timer.h>
6092 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6093 cat >>confdefs.h <<_ACEOF
6094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6102 for ac_header in linux/ipx.h linux/irda.h
6104 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6105 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6106 #ifdef HAVE_ASM_TYPES_H
6107 # include <asm/types.h>
6109 #ifdef HAVE_SYS_SOCKET_H
6110 # include <sys/socket.h>
6112 #ifdef HAVE_LINUX_TYPES_H
6113 # include <linux/types.h>
6116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6117 cat >>confdefs.h <<_ACEOF
6118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6126 for ac_header in mach-o/dyld_images.h
6128 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6129 # include <stdbool.h>
6131 #ifdef HAVE_STDINT_H
6132 # include <stdint.h>
6135 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6136 cat >>confdefs.h <<_ACEOF
6137 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6145 for ac_header in resolv.h
6147 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6148 #ifdef HAVE_SYS_SOCKET_H
6149 # include <sys/socket.h>
6151 #ifdef HAVE_NETINET_IN_H
6152 # include <netinet/in.h>
6154 #ifdef HAVE_ARPA_NAMESER_H
6155 # include <arpa/nameser.h>
6158 if test "x$ac_cv_header_resolv_h" = xyes; then :
6159 cat >>confdefs.h <<_ACEOF
6160 #define HAVE_RESOLV_H 1
6168 for ac_header in ifaddrs.h
6170 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6172 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6173 cat >>confdefs.h <<_ACEOF
6174 #define HAVE_IFADDRS_H 1
6182 for ac_header in ucontext.h
6184 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6186 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6187 cat >>confdefs.h <<_ACEOF
6188 #define HAVE_UCONTEXT_H 1
6196 for ac_header in sys/thr.h
6198 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6199 #ifdef HAVE_UCONTEXT_H
6200 #include <ucontext.h>
6203 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6204 cat >>confdefs.h <<_ACEOF
6205 #define HAVE_SYS_THR_H 1
6213 for ac_header in pthread_np.h
6215 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6216 #include <pthread.h>
6219 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6220 cat >>confdefs.h <<_ACEOF
6221 #define HAVE_PTHREAD_NP_H 1
6229 for ac_header in linux/videodev.h
6231 ac_fn_c_check_header_compile "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6232 #include <sys/time.h>
6234 #include <sys/types.h>
6235 #ifdef HAVE_ASM_TYPES_H
6236 #include <asm/types.h>
6239 if test "x$ac_cv_header_linux_videodev_h" = xyes; then :
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LINUX_VIDEODEV_H 1
6249 for ac_header in linux/capi.h
6251 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6253 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6254 cat >>confdefs.h <<_ACEOF
6255 #define HAVE_LINUX_CAPI_H 1
6266 DLLFLAGS="-D_REENTRANT"
6280 STATIC_IMPLIBEXT="def.a"
6281 # Extract the first word of "ldd", so it can be a program name with args.
6282 set dummy ldd; ac_word=$2
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6284 $as_echo_n "checking for $ac_word... " >&6; }
6285 if ${ac_cv_path_LDD+:} false; then :
6286 $as_echo_n "(cached) " >&6
6290 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 as_dummy="/sbin:/usr/sbin:$PATH"
6295 for as_dir in $as_dummy
6298 test -z "$as_dir" && as_dir=.
6299 for ac_exec_ext in '' $ac_executable_extensions; do
6300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6301 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6314 if test -n "$LDD"; then
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6316 $as_echo "$LDD" >&6; }
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6319 $as_echo "no" >&6; }
6326 if test -n "$ac_tool_prefix"; then
6327 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6328 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6330 $as_echo_n "checking for $ac_word... " >&6; }
6331 if ${ac_cv_prog_DLLTOOL+:} false; then :
6332 $as_echo_n "(cached) " >&6
6334 if test -n "$DLLTOOL"; then
6335 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 test -z "$as_dir" && as_dir=.
6342 for ac_exec_ext in '' $ac_executable_extensions; do
6343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6344 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6354 DLLTOOL=$ac_cv_prog_DLLTOOL
6355 if test -n "$DLLTOOL"; then
6356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6357 $as_echo "$DLLTOOL" >&6; }
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6360 $as_echo "no" >&6; }
6365 if test -z "$ac_cv_prog_DLLTOOL"; then
6366 ac_ct_DLLTOOL=$DLLTOOL
6367 # Extract the first word of "dlltool", so it can be a program name with args.
6368 set dummy dlltool; ac_word=$2
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6370 $as_echo_n "checking for $ac_word... " >&6; }
6371 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6372 $as_echo_n "(cached) " >&6
6374 if test -n "$ac_ct_DLLTOOL"; then
6375 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381 test -z "$as_dir" && as_dir=.
6382 for ac_exec_ext in '' $ac_executable_extensions; do
6383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6384 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6394 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6395 if test -n "$ac_ct_DLLTOOL"; then
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6397 $as_echo "$ac_ct_DLLTOOL" >&6; }
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6400 $as_echo "no" >&6; }
6403 if test "x$ac_ct_DLLTOOL" = x; then
6406 case $cross_compiling:$ac_tool_warned in
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6409 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6410 ac_tool_warned=yes ;;
6412 DLLTOOL=$ac_ct_DLLTOOL
6415 DLLTOOL="$ac_cv_prog_DLLTOOL"
6418 if test -n "$ac_tool_prefix"; then
6419 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6420 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_DLLWRAP+:} false; then :
6424 $as_echo_n "(cached) " >&6
6426 if test -n "$DLLWRAP"; then
6427 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6436 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6446 DLLWRAP=$ac_cv_prog_DLLWRAP
6447 if test -n "$DLLWRAP"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6449 $as_echo "$DLLWRAP" >&6; }
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6457 if test -z "$ac_cv_prog_DLLWRAP"; then
6458 ac_ct_DLLWRAP=$DLLWRAP
6459 # Extract the first word of "dllwrap", so it can be a program name with args.
6460 set dummy dllwrap; ac_word=$2
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6462 $as_echo_n "checking for $ac_word... " >&6; }
6463 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6464 $as_echo_n "(cached) " >&6
6466 if test -n "$ac_ct_DLLWRAP"; then
6467 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473 test -z "$as_dir" && as_dir=.
6474 for ac_exec_ext in '' $ac_executable_extensions; do
6475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6476 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6487 if test -n "$ac_ct_DLLWRAP"; then
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6489 $as_echo "$ac_ct_DLLWRAP" >&6; }
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6492 $as_echo "no" >&6; }
6495 if test "x$ac_ct_DLLWRAP" = x; then
6498 case $cross_compiling:$ac_tool_warned in
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6502 ac_tool_warned=yes ;;
6504 DLLWRAP=$ac_ct_DLLWRAP
6507 DLLWRAP="$ac_cv_prog_DLLWRAP"
6510 if test "$DLLWRAP" = "false"; then
6516 STATIC_IMPLIBEXT="a"
6517 enable_iphlpapi=${enable_iphlpapi:-no}
6518 enable_kernel32=${enable_kernel32:-no}
6519 enable_msvcrt=${enable_msvcrt:-no}
6520 enable_ntdll=${enable_ntdll:-no}
6521 enable_ws2_32=${enable_ws2_32:-no}
6522 enable_loader=${enable_loader:-no}
6523 enable_server=${enable_server:-no}
6524 with_x=${with_x:-no}
6525 with_pthread=${with_pthread:-no}
6530 DLLFLAGS="$DLLFLAGS -fPIC"
6531 LDDLLFLAGS="-bundle -multiply_defined suppress"
6532 LIBWINE_LDFLAGS="-multiply_defined suppress"
6533 LDSHARED="\$(CC) -dynamiclib"
6535 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6536 COREFOUNDATIONLIB="-framework CoreFoundation"
6538 IOKITLIB="-framework IOKit -framework CoreFoundation"
6540 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6542 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6544 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6546 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6549 if test "$ac_cv_header_Security_Security_h" = "yes"
6551 SECURITYLIB="-framework Security -framework CoreFoundation"
6553 with_gnutls=${with_gnutls:-no}
6555 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6557 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6559 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6562 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6565 ac_save_LIBS="$LIBS"
6566 LIBS="$LIBS $COREAUDIO"
6567 for ac_func in AUGraphAddNode
6569 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6570 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6571 cat >>confdefs.h <<_ACEOF
6572 #define HAVE_AUGRAPHADDNODE 1
6578 LIBS="$ac_save_LIBS"
6580 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6582 FRAMEWORK_OPENAL="-framework OpenAL"
6585 cat >>confdefs.h <<_ACEOF
6586 #define HAVE_OPENAL 1
6589 ac_cv_lib_openal=yes
6591 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6593 LIBOPENCL="-framework OpenCL"
6595 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6597 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6599 ac_save_LIBS="$LIBS"
6600 LIBS="$LIBS $IOKITLIB"
6601 for ac_func in IOHIDManagerCreate
6603 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6604 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6605 cat >>confdefs.h <<_ACEOF
6606 #define HAVE_IOHIDMANAGERCREATE 1
6612 LIBS="$ac_save_LIBS"
6616 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6618 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6620 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6622 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6624 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6626 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6628 CARBONLIB="-framework Carbon"
6630 enable_winequartz_drv=${enable_winequartz_drv:-yes}
6632 if test "x$enable_win16" = "xyes"
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6635 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6636 if test "$cross_compiling" = yes; then :
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6638 $as_echo "cross-compiling, assuming yes" >&6; }
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6644 "good:\tnop;nop\n\t"
6645 ".globl _testfunc\n"
6646 "_testfunc:\tcallw good");
6647 extern void testfunc();
6651 unsigned short *p = (unsigned short *)testfunc;
6652 return p[0] != 0xe866 || p[1] != 0xfffa
6657 if ac_fn_c_try_run "$LINENO"; then :
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6659 $as_echo "yes" >&6; }
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 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
6665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6666 conftest.$ac_objext conftest.beam conftest.$ac_ext
6672 DLLFLAGS="$DLLFLAGS -fPIC"
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6675 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6676 if ${ac_cv_c_dll_gnuelf+:} false; then :
6677 $as_echo_n "(cached) " >&6
6679 ac_wine_try_cflags_saved=$CFLAGS
6680 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6685 if ac_fn_c_try_link "$LINENO"; then :
6686 ac_cv_c_dll_gnuelf="yes"
6688 ac_cv_c_dll_gnuelf="no"
6690 rm -f core conftest.err conftest.$ac_objext \
6691 conftest$ac_exeext conftest.$ac_ext
6692 CFLAGS=$ac_wine_try_cflags_saved
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6695 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6696 if test "$ac_cv_c_dll_gnuelf" = "yes"
6698 LDSHARED="\$(CC) -shared"
6699 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6701 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6702 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6703 $as_echo_n "(cached) " >&6
6705 ac_wine_try_cflags_saved=$CFLAGS
6706 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6708 /* end confdefs.h. */
6709 int main(int argc, char **argv) { return 0; }
6711 if ac_fn_c_try_link "$LINENO"; then :
6712 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6714 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6716 rm -f core conftest.err conftest.$ac_objext \
6717 conftest$ac_exeext conftest.$ac_ext
6718 CFLAGS=$ac_wine_try_cflags_saved
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6721 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6722 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6723 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6726 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6727 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6728 $as_echo_n "(cached) " >&6
6730 ac_wine_try_cflags_saved=$CFLAGS
6731 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6733 /* end confdefs.h. */
6734 int main(int argc, char **argv) { return 0; }
6736 if ac_fn_c_try_link "$LINENO"; then :
6737 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6739 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6741 rm -f core conftest.err conftest.$ac_objext \
6742 conftest$ac_exeext conftest.$ac_ext
6743 CFLAGS=$ac_wine_try_cflags_saved
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6746 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6747 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6748 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6753 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6754 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6755 $as_echo_n "(cached) " >&6
6757 ac_wine_try_cflags_saved=$CFLAGS
6758 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6760 /* end confdefs.h. */
6761 int main(int argc, char **argv) { return 0; }
6763 if ac_fn_c_try_link "$LINENO"; then :
6764 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6766 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6768 rm -f core conftest.err conftest.$ac_objext \
6769 conftest$ac_exeext conftest.$ac_ext
6770 CFLAGS=$ac_wine_try_cflags_saved
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6773 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6774 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6775 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6778 { $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
6779 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6780 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6781 $as_echo_n "(cached) " >&6
6783 ac_wine_try_cflags_saved=$CFLAGS
6784 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6786 /* end confdefs.h. */
6787 int main(int argc, char **argv) { return 0; }
6789 if ac_fn_c_try_link "$LINENO"; then :
6790 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6792 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6794 rm -f core conftest.err conftest.$ac_objext \
6795 conftest$ac_exeext conftest.$ac_ext
6796 CFLAGS=$ac_wine_try_cflags_saved
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6799 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6800 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6801 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6804 echo '{ global: *; };' >conftest.map
6805 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6807 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6808 if eval \${$as_ac_var+:} false; then :
6809 $as_echo_n "(cached) " >&6
6811 ac_wine_try_cflags_saved=$CFLAGS
6812 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6814 /* end confdefs.h. */
6815 int main(int argc, char **argv) { return 0; }
6817 if ac_fn_c_try_link "$LINENO"; then :
6818 eval "$as_ac_var=yes"
6820 eval "$as_ac_var=no"
6822 rm -f core conftest.err conftest.$ac_objext \
6823 conftest$ac_exeext conftest.$ac_ext
6824 CFLAGS=$ac_wine_try_cflags_saved
6826 eval ac_res=\$$as_ac_var
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6828 $as_echo "$ac_res" >&6; }
6829 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6830 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6835 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6836 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6837 $as_echo_n "(cached) " >&6
6839 ac_wine_try_cflags_saved=$CFLAGS
6840 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6843 int main(int argc, char **argv) { return 0; }
6845 if ac_fn_c_try_link "$LINENO"; then :
6846 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6848 ac_cv_cflags__fPIC__Wl___export_dynamic=no
6850 rm -f core conftest.err conftest.$ac_objext \
6851 conftest$ac_exeext conftest.$ac_ext
6852 CFLAGS=$ac_wine_try_cflags_saved
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6855 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6856 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6857 LDEXECFLAGS="-Wl,--export-dynamic"
6861 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6863 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6864 if eval \${$as_ac_var+:} false; then :
6865 $as_echo_n "(cached) " >&6
6867 ac_wine_try_cflags_saved=$CFLAGS
6868 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6870 /* end confdefs.h. */
6871 int main(int argc, char **argv) { return 0; }
6873 if ac_fn_c_try_link "$LINENO"; then :
6874 eval "$as_ac_var=yes"
6876 eval "$as_ac_var=no"
6878 rm -f core conftest.err conftest.$ac_objext \
6879 conftest$ac_exeext conftest.$ac_ext
6880 CFLAGS=$ac_wine_try_cflags_saved
6882 eval ac_res=\$$as_ac_var
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6884 $as_echo "$ac_res" >&6; }
6885 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6886 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6887 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6889 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6891 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6892 if eval \${$as_ac_var+:} false; then :
6893 $as_echo_n "(cached) " >&6
6895 ac_wine_try_cflags_saved=$CFLAGS
6896 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6899 int main(int argc, char **argv) { return 0; }
6901 if ac_fn_c_try_link "$LINENO"; then :
6902 eval "$as_ac_var=yes"
6904 eval "$as_ac_var=no"
6906 rm -f core conftest.err conftest.$ac_objext \
6907 conftest$ac_exeext conftest.$ac_ext
6908 CFLAGS=$ac_wine_try_cflags_saved
6910 eval ac_res=\$$as_ac_var
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6912 $as_echo "$ac_res" >&6; }
6913 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6914 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6915 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6920 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6921 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
6922 $as_echo_n "(cached) " >&6
6924 ac_wine_try_cflags_saved=$CFLAGS
6925 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6928 int main(int argc, char **argv) { return 0; }
6930 if ac_fn_c_try_link "$LINENO"; then :
6931 ac_cv_cflags__Wl___enable_new_dtags=yes
6933 ac_cv_cflags__Wl___enable_new_dtags=no
6935 rm -f core conftest.err conftest.$ac_objext \
6936 conftest$ac_exeext conftest.$ac_ext
6937 CFLAGS=$ac_wine_try_cflags_saved
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6940 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6941 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6942 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6946 *i[3456789]86* | x86_64)
6947 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6949 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6950 if eval \${$as_ac_var+:} false; then :
6951 $as_echo_n "(cached) " >&6
6953 ac_wine_try_cflags_saved=$CFLAGS
6954 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6956 /* end confdefs.h. */
6957 int main(int argc, char **argv) { return 0; }
6959 if ac_fn_c_try_link "$LINENO"; then :
6960 eval "$as_ac_var=yes"
6962 eval "$as_ac_var=no"
6964 rm -f core conftest.err conftest.$ac_objext \
6965 conftest$ac_exeext conftest.$ac_ext
6966 CFLAGS=$ac_wine_try_cflags_saved
6968 eval ac_res=\$$as_ac_var
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6970 $as_echo "$ac_res" >&6; }
6971 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6973 freebsd*) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6974 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6978 # Extract the first word of "prelink", so it can be a program name with args.
6979 set dummy prelink; ac_word=$2
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6981 $as_echo_n "checking for $ac_word... " >&6; }
6982 if ${ac_cv_path_PRELINK+:} false; then :
6983 $as_echo_n "(cached) " >&6
6987 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 for as_dir in /sbin /usr/sbin $PATH
6994 test -z "$as_dir" && as_dir=.
6995 for ac_exec_ext in '' $ac_executable_extensions; do
6996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6997 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7005 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7009 PRELINK=$ac_cv_path_PRELINK
7010 if test -n "$PRELINK"; then
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7012 $as_echo "$PRELINK" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 $as_echo "no" >&6; }
7019 if test "x$PRELINK" = xfalse
7021 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7028 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7029 if ${ac_cv_c_dll_unixware+:} false; then :
7030 $as_echo_n "(cached) " >&6
7032 ac_wine_try_cflags_saved=$CFLAGS
7033 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7038 if ac_fn_c_try_link "$LINENO"; then :
7039 ac_cv_c_dll_unixware="yes"
7041 ac_cv_c_dll_unixware="no"
7043 rm -f core conftest.err conftest.$ac_objext \
7044 conftest$ac_exeext conftest.$ac_ext
7045 CFLAGS=$ac_wine_try_cflags_saved
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7048 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7049 if test "$ac_cv_c_dll_unixware" = "yes"
7051 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7052 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7056 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7057 if ${ac_cv_c_dll_hpux+:} false; then :
7058 $as_echo_n "(cached) " >&6
7060 ac_wine_try_cflags_saved=$CFLAGS
7061 CFLAGS="$CFLAGS -shared"
7062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7063 /* end confdefs.h. */
7066 if ac_fn_c_try_link "$LINENO"; then :
7067 ac_cv_c_dll_hpux="yes"
7069 ac_cv_c_dll_hpux="no"
7071 rm -f core conftest.err conftest.$ac_objext \
7072 conftest$ac_exeext conftest.$ac_ext
7073 CFLAGS=$ac_wine_try_cflags_saved
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7076 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7077 if test "$ac_cv_c_dll_hpux" = "yes"
7081 LDDLLFLAGS="-shared -fPIC"
7082 LDSHARED="\$(CC) -shared"
7089 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7090 enable_winequartz_drv=${enable_winequartz_drv:-no}
7092 if test "$LIBEXT" = "a"; then
7093 as_fn_error $? "could not find a way to build shared libraries.
7094 It is currently not possible to build Wine without shared library
7095 (.so) support to allow transparent switch between .so and .dll files.
7096 If you are using Linux, you will need a newer binutils.
7100 CROSSTEST_DISABLE=\#
7102 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7106 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 " ;;
7108 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 " ;;
7110 ac_prefix_list="" ;;
7112 for ac_prog in $ac_prefix_list
7114 # Extract the first word of "$ac_prog", so it can be a program name with args.
7115 set dummy $ac_prog; ac_word=$2
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117 $as_echo_n "checking for $ac_word... " >&6; }
7118 if ${ac_cv_prog_CROSSCC+:} false; then :
7119 $as_echo_n "(cached) " >&6
7121 if test -n "$CROSSCC"; then
7122 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128 test -z "$as_dir" && as_dir=.
7129 for ac_exec_ext in '' $ac_executable_extensions; do
7130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 ac_cv_prog_CROSSCC="$ac_prog"
7132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141 CROSSCC=$ac_cv_prog_CROSSCC
7142 if test -n "$CROSSCC"; then
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7144 $as_echo "$CROSSCC" >&6; }
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147 $as_echo "no" >&6; }
7151 test -n "$CROSSCC" && break
7153 test -n "$CROSSCC" || CROSSCC="false"
7155 if test "$CROSSCC" != "false"
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7160 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7162 /* end confdefs.h. */
7172 if ac_fn_c_try_compile "$LINENO"; then :
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7174 $as_echo "yes" >&6; }
7181 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7185 if test -n "$target"
7187 CROSSTEST_DISABLE=""
7188 CROSSTARGET="$target"
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
7195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 if test "$ac_cv_header_pthread_h" = "yes"
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7204 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7205 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7206 $as_echo_n "(cached) " >&6
7208 ac_check_lib_save_LIBS=$LIBS
7209 LIBS="-lpthread $LIBS"
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7213 /* Override any GCC internal prototype to avoid an error.
7214 Use char because int might match the return type of a GCC
7215 builtin and then its argument prototype would still apply. */
7219 char pthread_create ();
7223 return pthread_create ();
7228 if ac_fn_c_try_link "$LINENO"; then :
7229 ac_cv_lib_pthread_pthread_create=yes
7231 ac_cv_lib_pthread_pthread_create=no
7233 rm -f core conftest.err conftest.$ac_objext \
7234 conftest$ac_exeext conftest.$ac_ext
7235 LIBS=$ac_check_lib_save_LIBS
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7238 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7239 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7240 LIBPTHREAD="-lpthread"
7245 if test "x$LIBPTHREAD" = "x"; then :
7246 case "x$with_pthread" in
7248 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7249 Wine cannot support threads without libpthread.
7250 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7256 $as_echo_n "checking for X... " >&6; }
7259 # Check whether --with-x was given.
7260 if test "${with_x+set}" = set; then :
7264 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7265 if test "x$with_x" = xno; then
7266 # The user explicitly disabled X.
7269 case $x_includes,$x_libraries in #(
7270 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7271 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7272 $as_echo_n "(cached) " >&6
7274 # One or both of the vars are not set, and there is no cached value.
7275 ac_x_includes=no ac_x_libraries=no
7276 rm -f -r conftest.dir
7277 if mkdir conftest.dir; then
7279 cat >Imakefile <<'_ACEOF'
7281 @echo incroot='${INCROOT}'
7283 @echo usrlibdir='${USRLIBDIR}'
7285 @echo libdir='${LIBDIR}'
7287 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7288 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7289 for ac_var in incroot usrlibdir libdir; do
7290 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7292 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7293 for ac_extension in a so sl dylib la dll; do
7294 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7295 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7296 ac_im_usrlibdir=$ac_im_libdir; break
7299 # Screen out bogus values from the imake configuration. They are
7300 # bogus both because they are the default anyway, and because
7301 # using them would break gcc on systems where it needs fixed includes.
7302 case $ac_im_incroot in
7303 /usr/include) ac_x_includes= ;;
7304 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7306 case $ac_im_usrlibdir in
7307 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7308 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7312 rm -f -r conftest.dir
7315 # Standard set of common directories for X headers.
7316 # Check X11 before X11Rn because it is often a symlink to the current release.
7330 /usr/local/X11/include
7331 /usr/local/X11R7/include
7332 /usr/local/X11R6/include
7333 /usr/local/X11R5/include
7334 /usr/local/X11R4/include
7336 /usr/local/include/X11
7337 /usr/local/include/X11R7
7338 /usr/local/include/X11R6
7339 /usr/local/include/X11R5
7340 /usr/local/include/X11R4
7344 /usr/XFree86/include/X11
7348 /usr/unsupported/include
7350 /usr/local/x11r5/include
7351 /usr/lpp/Xamples/include
7353 /usr/openwin/include
7354 /usr/openwin/share/include'
7356 if test "$ac_x_includes" = no; then
7357 # Guess where to find include files, by looking for Xlib.h.
7358 # First, try using that file with no special directory specified.
7359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7360 /* end confdefs.h. */
7361 #include <X11/Xlib.h>
7363 if ac_fn_c_try_cpp "$LINENO"; then :
7364 # We can compile using X headers with no special include directory.
7367 for ac_dir in $ac_x_header_dirs; do
7368 if test -r "$ac_dir/X11/Xlib.h"; then
7369 ac_x_includes=$ac_dir
7374 rm -f conftest.err conftest.i conftest.$ac_ext
7375 fi # $ac_x_includes = no
7377 if test "$ac_x_libraries" = no; then
7378 # Check for the libraries.
7379 # See if we find them without any special options.
7380 # Don't add to $LIBS permanently.
7383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7384 /* end confdefs.h. */
7385 #include <X11/Xlib.h>
7394 if ac_fn_c_try_link "$LINENO"; then :
7396 # We can link X programs with no special library path.
7400 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7402 # Don't even attempt the hair of trying to link an X program!
7403 for ac_extension in a so sl dylib la dll; do
7404 if test -r "$ac_dir/libX11.$ac_extension"; then
7405 ac_x_libraries=$ac_dir
7411 rm -f core conftest.err conftest.$ac_objext \
7412 conftest$ac_exeext conftest.$ac_ext
7413 fi # $ac_x_libraries = no
7415 case $ac_x_includes,$ac_x_libraries in #(
7417 # Didn't find X, or a directory has "'" in its name.
7418 ac_cv_have_x="have_x=no";; #(
7420 # Record where we found X for the cache.
7421 ac_cv_have_x="have_x=yes\
7422 ac_x_includes='$ac_x_includes'\
7423 ac_x_libraries='$ac_x_libraries'"
7429 eval "$ac_cv_have_x"
7432 if test "$have_x" != yes; then
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7434 $as_echo "$have_x" >&6; }
7437 # If each of the values was on the command line, it overrides each guess.
7438 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7439 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7440 # Update the cache value to reflect the command line values.
7441 ac_cv_have_x="have_x=yes\
7442 ac_x_includes='$x_includes'\
7443 ac_x_libraries='$x_libraries'"
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7445 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7448 if test "$no_x" = yes; then
7449 # Not all programs may use this symbol, but it does not hurt to define it.
7451 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7453 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7455 if test -n "$x_includes"; then
7456 X_CFLAGS="$X_CFLAGS -I$x_includes"
7459 # It would also be nice to do this for all -L options, not just this one.
7460 if test -n "$x_libraries"; then
7461 X_LIBS="$X_LIBS -L$x_libraries"
7462 # For Solaris; some versions of Sun CC require a space after -R and
7463 # others require no space. Words are not sufficient . . . .
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7465 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7466 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7467 ac_xsave_c_werror_flag=$ac_c_werror_flag
7468 ac_c_werror_flag=yes
7469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7480 if ac_fn_c_try_link "$LINENO"; then :
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7482 $as_echo "no" >&6; }
7483 X_LIBS="$X_LIBS -R$x_libraries"
7485 LIBS="$ac_xsave_LIBS -R $x_libraries"
7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7487 /* end confdefs.h. */
7497 if ac_fn_c_try_link "$LINENO"; then :
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7499 $as_echo "yes" >&6; }
7500 X_LIBS="$X_LIBS -R $x_libraries"
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7503 $as_echo "neither works" >&6; }
7505 rm -f core conftest.err conftest.$ac_objext \
7506 conftest$ac_exeext conftest.$ac_ext
7508 rm -f core conftest.err conftest.$ac_objext \
7509 conftest$ac_exeext conftest.$ac_ext
7510 ac_c_werror_flag=$ac_xsave_c_werror_flag
7514 # Check for system-dependent libraries X programs must link with.
7515 # Do this before checking for the system-independent R6 libraries
7516 # (-lICE), since we may need -lsocket or whatever for X linking.
7518 if test "$ISC" = yes; then
7519 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7521 # Martyn Johnson says this is needed for Ultrix, if the X
7522 # libraries were built with DECnet support. And Karl Berry says
7523 # the Alpha needs dnet_stub (dnet does not exist).
7524 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7528 /* Override any GCC internal prototype to avoid an error.
7529 Use char because int might match the return type of a GCC
7530 builtin and then its argument prototype would still apply. */
7534 char XOpenDisplay ();
7538 return XOpenDisplay ();
7543 if ac_fn_c_try_link "$LINENO"; then :
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7547 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7548 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7549 $as_echo_n "(cached) " >&6
7551 ac_check_lib_save_LIBS=$LIBS
7553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7554 /* end confdefs.h. */
7556 /* Override any GCC internal prototype to avoid an error.
7557 Use char because int might match the return type of a GCC
7558 builtin and then its argument prototype would still apply. */
7566 return dnet_ntoa ();
7571 if ac_fn_c_try_link "$LINENO"; then :
7572 ac_cv_lib_dnet_dnet_ntoa=yes
7574 ac_cv_lib_dnet_dnet_ntoa=no
7576 rm -f core conftest.err conftest.$ac_objext \
7577 conftest$ac_exeext conftest.$ac_ext
7578 LIBS=$ac_check_lib_save_LIBS
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7581 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7582 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7583 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7586 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7588 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7589 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7590 $as_echo_n "(cached) " >&6
7592 ac_check_lib_save_LIBS=$LIBS
7593 LIBS="-ldnet_stub $LIBS"
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7597 /* Override any GCC internal prototype to avoid an error.
7598 Use char because int might match the return type of a GCC
7599 builtin and then its argument prototype would still apply. */
7607 return dnet_ntoa ();
7612 if ac_fn_c_try_link "$LINENO"; then :
7613 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7615 ac_cv_lib_dnet_stub_dnet_ntoa=no
7617 rm -f core conftest.err conftest.$ac_objext \
7618 conftest$ac_exeext conftest.$ac_ext
7619 LIBS=$ac_check_lib_save_LIBS
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7622 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7623 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7624 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7629 rm -f core conftest.err conftest.$ac_objext \
7630 conftest$ac_exeext conftest.$ac_ext
7631 LIBS="$ac_xsave_LIBS"
7633 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7634 # to get the SysV transport functions.
7635 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7637 # The nsl library prevents programs from opening the X display
7638 # on Irix 5.2, according to T.E. Dickey.
7639 # The functions gethostbyname, getservbyname, and inet_addr are
7640 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7641 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7642 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7646 if test $ac_cv_func_gethostbyname = no; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7648 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7649 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7650 $as_echo_n "(cached) " >&6
7652 ac_check_lib_save_LIBS=$LIBS
7654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7655 /* end confdefs.h. */
7657 /* Override any GCC internal prototype to avoid an error.
7658 Use char because int might match the return type of a GCC
7659 builtin and then its argument prototype would still apply. */
7663 char gethostbyname ();
7667 return gethostbyname ();
7672 if ac_fn_c_try_link "$LINENO"; then :
7673 ac_cv_lib_nsl_gethostbyname=yes
7675 ac_cv_lib_nsl_gethostbyname=no
7677 rm -f core conftest.err conftest.$ac_objext \
7678 conftest$ac_exeext conftest.$ac_ext
7679 LIBS=$ac_check_lib_save_LIBS
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7682 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7683 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7687 if test $ac_cv_lib_nsl_gethostbyname = no; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7689 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7690 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7691 $as_echo_n "(cached) " >&6
7693 ac_check_lib_save_LIBS=$LIBS
7695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h. */
7698 /* Override any GCC internal prototype to avoid an error.
7699 Use char because int might match the return type of a GCC
7700 builtin and then its argument prototype would still apply. */
7704 char gethostbyname ();
7708 return gethostbyname ();
7713 if ac_fn_c_try_link "$LINENO"; then :
7714 ac_cv_lib_bsd_gethostbyname=yes
7716 ac_cv_lib_bsd_gethostbyname=no
7718 rm -f core conftest.err conftest.$ac_objext \
7719 conftest$ac_exeext conftest.$ac_ext
7720 LIBS=$ac_check_lib_save_LIBS
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7723 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7724 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7725 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7731 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7732 # socket/setsockopt and other routines are undefined under SCO ODT
7733 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7734 # on later versions), says Simon Leinen: it contains gethostby*
7735 # variants that don't use the name server (or something). -lsocket
7736 # must be given before -lnsl if both are needed. We assume that
7737 # if connect needs -lnsl, so does gethostbyname.
7738 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7739 if test "x$ac_cv_func_connect" = xyes; then :
7743 if test $ac_cv_func_connect = no; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7745 $as_echo_n "checking for connect in -lsocket... " >&6; }
7746 if ${ac_cv_lib_socket_connect+:} false; then :
7747 $as_echo_n "(cached) " >&6
7749 ac_check_lib_save_LIBS=$LIBS
7750 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h. */
7754 /* Override any GCC internal prototype to avoid an error.
7755 Use char because int might match the return type of a GCC
7756 builtin and then its argument prototype would still apply. */
7769 if ac_fn_c_try_link "$LINENO"; then :
7770 ac_cv_lib_socket_connect=yes
7772 ac_cv_lib_socket_connect=no
7774 rm -f core conftest.err conftest.$ac_objext \
7775 conftest$ac_exeext conftest.$ac_ext
7776 LIBS=$ac_check_lib_save_LIBS
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7779 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7780 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7781 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7786 # Guillermo Gomez says -lposix is necessary on A/UX.
7787 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7788 if test "x$ac_cv_func_remove" = xyes; then :
7792 if test $ac_cv_func_remove = no; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7794 $as_echo_n "checking for remove in -lposix... " >&6; }
7795 if ${ac_cv_lib_posix_remove+:} false; then :
7796 $as_echo_n "(cached) " >&6
7798 ac_check_lib_save_LIBS=$LIBS
7799 LIBS="-lposix $LIBS"
7800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7801 /* end confdefs.h. */
7803 /* Override any GCC internal prototype to avoid an error.
7804 Use char because int might match the return type of a GCC
7805 builtin and then its argument prototype would still apply. */
7818 if ac_fn_c_try_link "$LINENO"; then :
7819 ac_cv_lib_posix_remove=yes
7821 ac_cv_lib_posix_remove=no
7823 rm -f core conftest.err conftest.$ac_objext \
7824 conftest$ac_exeext conftest.$ac_ext
7825 LIBS=$ac_check_lib_save_LIBS
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7828 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7829 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7830 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7835 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7836 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7837 if test "x$ac_cv_func_shmat" = xyes; then :
7841 if test $ac_cv_func_shmat = no; then
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7843 $as_echo_n "checking for shmat in -lipc... " >&6; }
7844 if ${ac_cv_lib_ipc_shmat+:} false; then :
7845 $as_echo_n "(cached) " >&6
7847 ac_check_lib_save_LIBS=$LIBS
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7852 /* Override any GCC internal prototype to avoid an error.
7853 Use char because int might match the return type of a GCC
7854 builtin and then its argument prototype would still apply. */
7867 if ac_fn_c_try_link "$LINENO"; then :
7868 ac_cv_lib_ipc_shmat=yes
7870 ac_cv_lib_ipc_shmat=no
7872 rm -f core conftest.err conftest.$ac_objext \
7873 conftest$ac_exeext conftest.$ac_ext
7874 LIBS=$ac_check_lib_save_LIBS
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7877 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7878 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
7879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7885 # Check for libraries that X11R6 Xt/Xaw programs need.
7886 ac_save_LDFLAGS=$LDFLAGS
7887 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7888 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7889 # check for ICE first), but we must link in the order -lSM -lICE or
7890 # we get undefined symbols. So assume we have SM if we have ICE.
7891 # These have to be linked with before -lX11, unlike the other
7892 # libraries we check for below, so use a different variable.
7893 # John Interrante, Karl Berry
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7895 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7896 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
7897 $as_echo_n "(cached) " >&6
7899 ac_check_lib_save_LIBS=$LIBS
7900 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7904 /* Override any GCC internal prototype to avoid an error.
7905 Use char because int might match the return type of a GCC
7906 builtin and then its argument prototype would still apply. */
7910 char IceConnectionNumber ();
7914 return IceConnectionNumber ();
7919 if ac_fn_c_try_link "$LINENO"; then :
7920 ac_cv_lib_ICE_IceConnectionNumber=yes
7922 ac_cv_lib_ICE_IceConnectionNumber=no
7924 rm -f core conftest.err conftest.$ac_objext \
7925 conftest$ac_exeext conftest.$ac_ext
7926 LIBS=$ac_check_lib_save_LIBS
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7929 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7930 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
7931 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7934 LDFLAGS=$ac_save_LDFLAGS
7939 if test "$have_x" = "yes"
7942 ac_save_CPPFLAGS="$CPPFLAGS"
7943 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7946 $as_echo_n "checking for -lX11... " >&6; }
7947 if ${ac_cv_lib_soname_X11+:} false; then :
7948 $as_echo_n "(cached) " >&6
7950 ac_check_soname_save_LIBS=$LIBS
7951 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7953 /* end confdefs.h. */
7955 /* Override any GCC internal prototype to avoid an error.
7956 Use char because int might match the return type of a GCC
7957 builtin and then its argument prototype would still apply. */
7961 char XCreateWindow ();
7965 return XCreateWindow ();
7970 if ac_fn_c_try_link "$LINENO"; then :
7972 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7973 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'` ;;
7974 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7977 rm -f core conftest.err conftest.$ac_objext \
7978 conftest$ac_exeext conftest.$ac_ext
7979 LIBS=$ac_check_soname_save_LIBS
7981 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7983 $as_echo "not found" >&6; }
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7987 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7989 cat >>confdefs.h <<_ACEOF
7990 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7996 $as_echo_n "checking for -lXext... " >&6; }
7997 if ${ac_cv_lib_soname_Xext+:} false; then :
7998 $as_echo_n "(cached) " >&6
8000 ac_check_soname_save_LIBS=$LIBS
8001 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8005 /* Override any GCC internal prototype to avoid an error.
8006 Use char because int might match the return type of a GCC
8007 builtin and then its argument prototype would still apply. */
8011 char XextCreateExtension ();
8015 return XextCreateExtension ();
8020 if ac_fn_c_try_link "$LINENO"; then :
8022 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8023 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'` ;;
8024 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8027 rm -f core conftest.err conftest.$ac_objext \
8028 conftest$ac_exeext conftest.$ac_ext
8029 LIBS=$ac_check_soname_save_LIBS
8031 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8033 $as_echo "not found" >&6; }
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8037 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8039 cat >>confdefs.h <<_ACEOF
8040 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8046 for ac_header in X11/Xlib.h \
8049 X11/Xcursor/Xcursor.h \
8050 X11/extensions/shape.h \
8051 X11/extensions/XInput.h \
8052 X11/extensions/XInput2.h \
8053 X11/extensions/XShm.h \
8054 X11/extensions/Xcomposite.h \
8055 X11/extensions/Xinerama.h \
8056 X11/extensions/Xrandr.h \
8057 X11/extensions/Xrender.h \
8058 X11/extensions/xf86vmode.h \
8059 X11/extensions/xf86vmproto.h
8061 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8062 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8063 # include <X11/Xlib.h>
8065 #ifdef HAVE_X11_XUTIL_H
8066 # include <X11/Xutil.h>
8069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8070 cat >>confdefs.h <<_ACEOF
8071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8079 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8082 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8083 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8084 $as_echo_n "(cached) " >&6
8086 ac_check_lib_save_LIBS=$LIBS
8087 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8089 /* end confdefs.h. */
8091 /* Override any GCC internal prototype to avoid an error.
8092 Use char because int might match the return type of a GCC
8093 builtin and then its argument prototype would still apply. */
8097 char XkbQueryExtension ();
8101 return XkbQueryExtension ();
8106 if ac_fn_c_try_link "$LINENO"; then :
8107 ac_cv_lib_X11_XkbQueryExtension=yes
8109 ac_cv_lib_X11_XkbQueryExtension=no
8111 rm -f core conftest.err conftest.$ac_objext \
8112 conftest$ac_exeext conftest.$ac_ext
8113 LIBS=$ac_check_lib_save_LIBS
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8116 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8117 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8119 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8125 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8128 $as_echo_n "checking for -lXcursor... " >&6; }
8129 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8130 $as_echo_n "(cached) " >&6
8132 ac_check_soname_save_LIBS=$LIBS
8133 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8137 /* Override any GCC internal prototype to avoid an error.
8138 Use char because int might match the return type of a GCC
8139 builtin and then its argument prototype would still apply. */
8143 char XcursorImageLoadCursor ();
8147 return XcursorImageLoadCursor ();
8152 if ac_fn_c_try_link "$LINENO"; then :
8154 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8155 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'` ;;
8156 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8159 rm -f core conftest.err conftest.$ac_objext \
8160 conftest$ac_exeext conftest.$ac_ext
8161 LIBS=$ac_check_soname_save_LIBS
8163 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8165 $as_echo "not found" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8169 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8171 cat >>confdefs.h <<_ACEOF
8172 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8178 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8179 case "x$with_xcursor" in
8180 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8182 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8183 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8187 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8190 $as_echo_n "checking for -lXi... " >&6; }
8191 if ${ac_cv_lib_soname_Xi+:} false; then :
8192 $as_echo_n "(cached) " >&6
8194 ac_check_soname_save_LIBS=$LIBS
8195 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8197 /* end confdefs.h. */
8199 /* Override any GCC internal prototype to avoid an error.
8200 Use char because int might match the return type of a GCC
8201 builtin and then its argument prototype would still apply. */
8205 char XOpenDevice ();
8209 return XOpenDevice ();
8214 if ac_fn_c_try_link "$LINENO"; then :
8216 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8217 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'` ;;
8218 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8221 rm -f core conftest.err conftest.$ac_objext \
8222 conftest$ac_exeext conftest.$ac_ext
8223 LIBS=$ac_check_soname_save_LIBS
8225 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8227 $as_echo "not found" >&6; }
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8231 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8233 cat >>confdefs.h <<_ACEOF
8234 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8240 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8241 case "x$with_xinput" in
8242 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8244 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8245 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8249 if test "x$ac_cv_lib_soname_Xi" != x
8251 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8252 case "x$with_xinput2" in
8253 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8255 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8256 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8261 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8264 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8265 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8266 $as_echo_n "(cached) " >&6
8268 ac_check_lib_save_LIBS=$LIBS
8269 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8273 /* Override any GCC internal prototype to avoid an error.
8274 Use char because int might match the return type of a GCC
8275 builtin and then its argument prototype would still apply. */
8279 char XShmQueryExtension ();
8283 return XShmQueryExtension ();
8288 if ac_fn_c_try_link "$LINENO"; then :
8289 ac_cv_lib_Xext_XShmQueryExtension=yes
8291 ac_cv_lib_Xext_XShmQueryExtension=no
8293 rm -f core conftest.err conftest.$ac_objext \
8294 conftest$ac_exeext conftest.$ac_ext
8295 LIBS=$ac_check_lib_save_LIBS
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8298 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8299 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8301 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8306 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8307 case "x$with_xshm" in
8308 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8310 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8311 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8315 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8318 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8319 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8320 $as_echo_n "(cached) " >&6
8322 ac_check_lib_save_LIBS=$LIBS
8323 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8325 /* end confdefs.h. */
8327 /* Override any GCC internal prototype to avoid an error.
8328 Use char because int might match the return type of a GCC
8329 builtin and then its argument prototype would still apply. */
8333 char XShapeQueryExtension ();
8337 return XShapeQueryExtension ();
8342 if ac_fn_c_try_link "$LINENO"; then :
8343 ac_cv_lib_Xext_XShapeQueryExtension=yes
8345 ac_cv_lib_Xext_XShapeQueryExtension=no
8347 rm -f core conftest.err conftest.$ac_objext \
8348 conftest$ac_exeext conftest.$ac_ext
8349 LIBS=$ac_check_lib_save_LIBS
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8352 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8353 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8355 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8360 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8361 case "x$with_xshape" in
8362 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8364 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8365 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8369 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8372 $as_echo_n "checking for -lXxf86vm... " >&6; }
8373 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8374 $as_echo_n "(cached) " >&6
8376 ac_check_soname_save_LIBS=$LIBS
8377 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8379 /* end confdefs.h. */
8381 /* Override any GCC internal prototype to avoid an error.
8382 Use char because int might match the return type of a GCC
8383 builtin and then its argument prototype would still apply. */
8387 char XF86VidModeQueryExtension ();
8391 return XF86VidModeQueryExtension ();
8396 if ac_fn_c_try_link "$LINENO"; then :
8398 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8399 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'` ;;
8400 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8403 rm -f core conftest.err conftest.$ac_objext \
8404 conftest$ac_exeext conftest.$ac_ext
8405 LIBS=$ac_check_soname_save_LIBS
8407 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8409 $as_echo "not found" >&6; }
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8413 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8415 cat >>confdefs.h <<_ACEOF
8416 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8422 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8423 case "x$with_xxf86vm" in
8424 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8426 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8427 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8431 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"
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8434 $as_echo_n "checking for -lXrender... " >&6; }
8435 if ${ac_cv_lib_soname_Xrender+:} false; then :
8436 $as_echo_n "(cached) " >&6
8438 ac_check_soname_save_LIBS=$LIBS
8439 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8443 /* Override any GCC internal prototype to avoid an error.
8444 Use char because int might match the return type of a GCC
8445 builtin and then its argument prototype would still apply. */
8449 char XRenderQueryExtension ();
8453 return XRenderQueryExtension ();
8458 if ac_fn_c_try_link "$LINENO"; then :
8460 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8461 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'` ;;
8462 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8465 rm -f core conftest.err conftest.$ac_objext \
8466 conftest$ac_exeext conftest.$ac_ext
8467 LIBS=$ac_check_soname_save_LIBS
8469 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8471 $as_echo "not found" >&6; }
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8475 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8477 cat >>confdefs.h <<_ACEOF
8478 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8482 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8483 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8484 $as_echo_n "(cached) " >&6
8486 ac_check_lib_save_LIBS=$LIBS
8487 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8489 /* end confdefs.h. */
8491 /* Override any GCC internal prototype to avoid an error.
8492 Use char because int might match the return type of a GCC
8493 builtin and then its argument prototype would still apply. */
8497 char XRenderSetPictureTransform ();
8501 return XRenderSetPictureTransform ();
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8509 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 LIBS=$ac_check_lib_save_LIBS
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8516 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8517 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8519 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8526 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8527 case "x$with_xrender" in
8528 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8530 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8531 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8535 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8538 /* end confdefs.h. */
8539 #include <X11/Xlib.h>
8540 #include <X11/extensions/Xrandr.h>
8544 static typeof(XRRSetScreenConfigAndRate) * func;
8549 if ac_fn_c_try_compile "$LINENO"; then :
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8551 $as_echo_n "checking for -lXrandr... " >&6; }
8552 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8553 $as_echo_n "(cached) " >&6
8555 ac_check_soname_save_LIBS=$LIBS
8556 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8560 /* Override any GCC internal prototype to avoid an error.
8561 Use char because int might match the return type of a GCC
8562 builtin and then its argument prototype would still apply. */
8566 char XRRQueryExtension ();
8570 return XRRQueryExtension ();
8575 if ac_fn_c_try_link "$LINENO"; then :
8577 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8578 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'` ;;
8579 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8582 rm -f core conftest.err conftest.$ac_objext \
8583 conftest$ac_exeext conftest.$ac_ext
8584 LIBS=$ac_check_soname_save_LIBS
8586 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8588 $as_echo "not found" >&6; }
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8592 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8594 cat >>confdefs.h <<_ACEOF
8595 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8603 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8604 case "x$with_xrandr" in
8605 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8607 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8608 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8612 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8615 /* end confdefs.h. */
8616 #include <X11/Xlib.h>
8617 #include <X11/extensions/Xinerama.h>
8621 static typeof(XineramaQueryScreens) * func;
8626 if ac_fn_c_try_compile "$LINENO"; then :
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8628 $as_echo_n "checking for -lXinerama... " >&6; }
8629 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8630 $as_echo_n "(cached) " >&6
8632 ac_check_soname_save_LIBS=$LIBS
8633 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8637 /* Override any GCC internal prototype to avoid an error.
8638 Use char because int might match the return type of a GCC
8639 builtin and then its argument prototype would still apply. */
8643 char XineramaQueryScreens ();
8647 return XineramaQueryScreens ();
8652 if ac_fn_c_try_link "$LINENO"; then :
8654 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8655 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'` ;;
8656 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8659 rm -f core conftest.err conftest.$ac_objext \
8660 conftest$ac_exeext conftest.$ac_ext
8661 LIBS=$ac_check_soname_save_LIBS
8663 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8665 $as_echo "not found" >&6; }
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8669 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8671 cat >>confdefs.h <<_ACEOF
8672 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8680 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8681 case "x$with_xinerama" in
8682 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8684 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8685 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8689 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8692 $as_echo_n "checking for -lXcomposite... " >&6; }
8693 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8694 $as_echo_n "(cached) " >&6
8696 ac_check_soname_save_LIBS=$LIBS
8697 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8699 /* end confdefs.h. */
8701 /* Override any GCC internal prototype to avoid an error.
8702 Use char because int might match the return type of a GCC
8703 builtin and then its argument prototype would still apply. */
8707 char XCompositeRedirectWindow ();
8711 return XCompositeRedirectWindow ();
8716 if ac_fn_c_try_link "$LINENO"; then :
8718 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8719 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'` ;;
8720 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8723 rm -f core conftest.err conftest.$ac_objext \
8724 conftest$ac_exeext conftest.$ac_ext
8725 LIBS=$ac_check_soname_save_LIBS
8727 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8729 $as_echo "not found" >&6; }
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8733 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8735 cat >>confdefs.h <<_ACEOF
8736 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8742 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8743 case "x$with_xcomposite" in
8744 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8746 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8747 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8751 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8752 #include <X11/Xlib.h>
8755 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
8757 cat >>confdefs.h <<_ACEOF
8758 #define HAVE_XICCALLBACK_CALLBACK 1
8763 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8764 #include <X11/Xlib.h>
8767 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
8769 cat >>confdefs.h <<_ACEOF
8770 #define HAVE_XEVENT_XCOOKIE 1
8779 if test "x$with_opengl" != "xno"
8781 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8783 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8784 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8785 # include <GL/glx.h>
8788 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8789 cat >>confdefs.h <<_ACEOF
8790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8797 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8800 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8801 if ${wine_cv_opengl_header_version_OK+:} false; then :
8802 $as_echo_n "(cached) " >&6
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8810 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8815 if ac_fn_c_try_compile "$LINENO"; then :
8816 wine_cv_opengl_header_version_OK="yes"
8818 wine_cv_opengl_header_version_OK="no"
8820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8823 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8825 if test "$wine_cv_opengl_header_version_OK" = "yes"
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8828 $as_echo_n "checking for -lGL... " >&6; }
8829 if ${ac_cv_lib_soname_GL+:} false; then :
8830 $as_echo_n "(cached) " >&6
8832 ac_check_soname_save_LIBS=$LIBS
8833 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8835 /* end confdefs.h. */
8837 /* Override any GCC internal prototype to avoid an error.
8838 Use char because int might match the return type of a GCC
8839 builtin and then its argument prototype would still apply. */
8843 char glXCreateContext ();
8847 return glXCreateContext ();
8852 if ac_fn_c_try_link "$LINENO"; then :
8854 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8855 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'` ;;
8856 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8859 rm -f core conftest.err conftest.$ac_objext \
8860 conftest$ac_exeext conftest.$ac_ext
8861 LIBS=$ac_check_soname_save_LIBS
8863 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8865 $as_echo "not found" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8867 $as_echo_n "checking for -lGL... " >&6; }
8868 if ${ac_cv_lib_soname_GL+:} false; then :
8869 $as_echo_n "(cached) " >&6
8871 ac_check_soname_save_LIBS=$LIBS
8872 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"
8873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8874 /* end confdefs.h. */
8876 /* Override any GCC internal prototype to avoid an error.
8877 Use char because int might match the return type of a GCC
8878 builtin and then its argument prototype would still apply. */
8882 char glXCreateContext ();
8886 return glXCreateContext ();
8891 if ac_fn_c_try_link "$LINENO"; then :
8893 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8894 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'` ;;
8895 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8898 rm -f core conftest.err conftest.$ac_objext \
8899 conftest$ac_exeext conftest.$ac_ext
8900 LIBS=$ac_check_soname_save_LIBS
8902 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8904 $as_echo "not found" >&6; }
8905 if test -f /usr/X11R6/lib/libGL.a
8907 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
8908 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8910 opengl_msg="No OpenGL library found on this system."
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8914 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8916 cat >>confdefs.h <<_ACEOF
8917 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8920 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"
8922 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8927 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8929 cat >>confdefs.h <<_ACEOF
8930 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8935 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8938 if test "$ac_cv_header_GL_glu_h" = "yes"
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8941 $as_echo_n "checking for -lGLU... " >&6; }
8942 if ${ac_cv_lib_soname_GLU+:} false; then :
8943 $as_echo_n "(cached) " >&6
8945 ac_check_soname_save_LIBS=$LIBS
8946 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8948 /* end confdefs.h. */
8950 /* Override any GCC internal prototype to avoid an error.
8951 Use char because int might match the return type of a GCC
8952 builtin and then its argument prototype would still apply. */
8960 return gluLookAt ();
8965 if ac_fn_c_try_link "$LINENO"; then :
8967 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8968 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'` ;;
8969 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8972 rm -f core conftest.err conftest.$ac_objext \
8973 conftest$ac_exeext conftest.$ac_ext
8974 LIBS=$ac_check_soname_save_LIBS
8976 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8978 $as_echo "not found" >&6; }
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8982 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8984 cat >>confdefs.h <<_ACEOF
8985 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8991 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8992 case "x$with_glu" in
8993 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8995 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
8996 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9000 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
9003 opengl_msg="OpenGL development headers not found."
9005 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
9006 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
9008 enable_opengl32=${enable_opengl32:-no}
9009 enable_glu32=${enable_glu32:-no}
9011 if test -n "$opengl_msg"; then :
9012 case "x$with_opengl" in
9013 x) as_fn_append wine_warnings "|$opengl_msg
9014 OpenGL and Direct3D won't be supported." ;;
9016 *) as_fn_error $? "$opengl_msg
9017 OpenGL and Direct3D won't be supported.
9018 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9024 for ac_header in audio/audiolib.h
9026 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
9027 if test "x$ac_cv_header_audio_audiolib_h" = xyes; then :
9028 cat >>confdefs.h <<_ACEOF
9029 #define HAVE_AUDIO_AUDIOLIB_H 1
9031 for ac_header in audio/soundlib.h
9033 ac_fn_c_check_header_compile "$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
9035 if test "x$ac_cv_header_audio_soundlib_h" = xyes; then :
9036 cat >>confdefs.h <<_ACEOF
9037 #define HAVE_AUDIO_SOUNDLIB_H 1
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
9045 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
9046 if ${ac_cv_lib_audio_AuCreateFlow+:} false; then :
9047 $as_echo_n "(cached) " >&6
9049 ac_check_lib_save_LIBS=$LIBS
9050 LIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9052 /* end confdefs.h. */
9054 /* Override any GCC internal prototype to avoid an error.
9055 Use char because int might match the return type of a GCC
9056 builtin and then its argument prototype would still apply. */
9060 char AuCreateFlow ();
9064 return AuCreateFlow ();
9069 if ac_fn_c_try_link "$LINENO"; then :
9070 ac_cv_lib_audio_AuCreateFlow=yes
9072 ac_cv_lib_audio_AuCreateFlow=no
9074 rm -f core conftest.err conftest.$ac_objext \
9075 conftest$ac_exeext conftest.$ac_ext
9076 LIBS=$ac_check_lib_save_LIBS
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9079 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
9080 if test "x$ac_cv_lib_audio_AuCreateFlow" = xyes; then :
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
9082 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
9083 if ${ac_cv_lib_Xau_XauGetBestAuthByAddr+:} false; then :
9084 $as_echo_n "(cached) " >&6
9086 ac_check_lib_save_LIBS=$LIBS
9087 LIBS="-lXau $X_LIBS $LIBS"
9088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9091 /* Override any GCC internal prototype to avoid an error.
9092 Use char because int might match the return type of a GCC
9093 builtin and then its argument prototype would still apply. */
9097 char XauGetBestAuthByAddr ();
9101 return XauGetBestAuthByAddr ();
9106 if ac_fn_c_try_link "$LINENO"; then :
9107 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
9109 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
9111 rm -f core conftest.err conftest.$ac_objext \
9112 conftest$ac_exeext conftest.$ac_ext
9113 LIBS=$ac_check_lib_save_LIBS
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
9116 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
9117 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = xyes; then :
9118 NASLIBS="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9120 NASLIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9131 CPPFLAGS="$ac_save_CPPFLAGS"
9136 enable_winex11_drv=${enable_winex11_drv:-no}
9137 enable_opengl32=${enable_opengl32:-no}
9138 enable_glu32=${enable_glu32:-no}
9140 if test "x$XLIB" = "x"; then :
9143 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9144 without X support, which probably isn't what you want. You will need
9145 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9146 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9150 if test "$ac_cv_header_CL_cl_h" = "yes"
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9153 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9154 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9155 $as_echo_n "(cached) " >&6
9157 ac_check_lib_save_LIBS=$LIBS
9158 LIBS="-lOpenCL $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9162 /* Override any GCC internal prototype to avoid an error.
9163 Use char because int might match the return type of a GCC
9164 builtin and then its argument prototype would still apply. */
9168 char clGetPlatformInfo ();
9172 return clGetPlatformInfo ();
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9180 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9182 rm -f core conftest.err conftest.$ac_objext \
9183 conftest$ac_exeext conftest.$ac_ext
9184 LIBS=$ac_check_lib_save_LIBS
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9187 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9188 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9189 LIBOPENCL="-lOpenCL"
9194 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9195 case "x$with_opencl" in
9196 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9198 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9199 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9202 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9211 if test "x$with_xml" != "xno"
9213 ac_save_CPPFLAGS="$CPPFLAGS"
9214 if test "$PKG_CONFIG" != "false"
9216 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9217 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9219 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9220 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9222 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9223 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9225 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9226 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9227 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9228 cat >>confdefs.h <<_ACEOF
9229 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9236 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"
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9239 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9240 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9241 $as_echo_n "(cached) " >&6
9243 ac_check_lib_save_LIBS=$LIBS
9244 LIBS="-lxml2 $ac_xml_libs $LIBS"
9245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9246 /* end confdefs.h. */
9248 /* Override any GCC internal prototype to avoid an error.
9249 Use char because int might match the return type of a GCC
9250 builtin and then its argument prototype would still apply. */
9254 char xmlParseMemory ();
9258 return xmlParseMemory ();
9263 if ac_fn_c_try_link "$LINENO"; then :
9264 ac_cv_lib_xml2_xmlParseMemory=yes
9266 ac_cv_lib_xml2_xmlParseMemory=no
9268 rm -f core conftest.err conftest.$ac_objext \
9269 conftest$ac_exeext conftest.$ac_ext
9270 LIBS=$ac_check_lib_save_LIBS
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9273 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9274 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9276 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9278 XML2LIBS="$ac_xml_libs"
9279 XML2INCL="$ac_xml_cflags"
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9283 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9284 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9285 $as_echo_n "(cached) " >&6
9287 ac_check_lib_save_LIBS=$LIBS
9288 LIBS="-lxml2 $ac_xml_libs $LIBS"
9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9290 /* end confdefs.h. */
9292 /* Override any GCC internal prototype to avoid an error.
9293 Use char because int might match the return type of a GCC
9294 builtin and then its argument prototype would still apply. */
9298 char xmlReadMemory ();
9302 return xmlReadMemory ();
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_lib_xml2_xmlReadMemory=yes
9310 ac_cv_lib_xml2_xmlReadMemory=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 LIBS=$ac_check_lib_save_LIBS
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9317 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9318 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9320 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9325 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9326 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9327 $as_echo_n "(cached) " >&6
9329 ac_check_lib_save_LIBS=$LIBS
9330 LIBS="-lxml2 $ac_xml_libs $LIBS"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9334 /* Override any GCC internal prototype to avoid an error.
9335 Use char because int might match the return type of a GCC
9336 builtin and then its argument prototype would still apply. */
9340 char xmlNewDocPI ();
9344 return xmlNewDocPI ();
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 ac_cv_lib_xml2_xmlNewDocPI=yes
9352 ac_cv_lib_xml2_xmlNewDocPI=no
9354 rm -f core conftest.err conftest.$ac_objext \
9355 conftest$ac_exeext conftest.$ac_ext
9356 LIBS=$ac_check_lib_save_LIBS
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9359 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9360 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9362 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9367 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9368 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9369 $as_echo_n "(cached) " >&6
9371 ac_check_lib_save_LIBS=$LIBS
9372 LIBS="-lxml2 $ac_xml_libs $LIBS"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9376 /* Override any GCC internal prototype to avoid an error.
9377 Use char because int might match the return type of a GCC
9378 builtin and then its argument prototype would still apply. */
9382 char xmlSchemaSetParserStructuredErrors ();
9386 return xmlSchemaSetParserStructuredErrors ();
9391 if ac_fn_c_try_link "$LINENO"; then :
9392 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9394 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9396 rm -f core conftest.err conftest.$ac_objext \
9397 conftest$ac_exeext conftest.$ac_ext
9398 LIBS=$ac_check_lib_save_LIBS
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9401 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9402 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9404 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9409 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9410 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9411 $as_echo_n "(cached) " >&6
9413 ac_check_lib_save_LIBS=$LIBS
9414 LIBS="-lxml2 $ac_xml_libs $LIBS"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9418 /* Override any GCC internal prototype to avoid an error.
9419 Use char because int might match the return type of a GCC
9420 builtin and then its argument prototype would still apply. */
9424 char xmlSchemaSetValidStructuredErrors ();
9428 return xmlSchemaSetValidStructuredErrors ();
9433 if ac_fn_c_try_link "$LINENO"; then :
9434 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9436 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9438 rm -f core conftest.err conftest.$ac_objext \
9439 conftest$ac_exeext conftest.$ac_ext
9440 LIBS=$ac_check_lib_save_LIBS
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9443 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9444 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9446 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9451 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9452 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9453 $as_echo_n "(cached) " >&6
9455 ac_check_lib_save_LIBS=$LIBS
9456 LIBS="-lxml2 $ac_xml_libs $LIBS"
9457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9458 /* end confdefs.h. */
9460 /* Override any GCC internal prototype to avoid an error.
9461 Use char because int might match the return type of a GCC
9462 builtin and then its argument prototype would still apply. */
9466 char xmlFirstElementChild ();
9470 return xmlFirstElementChild ();
9475 if ac_fn_c_try_link "$LINENO"; then :
9476 ac_cv_lib_xml2_xmlFirstElementChild=yes
9478 ac_cv_lib_xml2_xmlFirstElementChild=no
9480 rm -f core conftest.err conftest.$ac_objext \
9481 conftest$ac_exeext conftest.$ac_ext
9482 LIBS=$ac_check_lib_save_LIBS
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9485 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9486 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9488 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9492 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9494 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9496 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9501 CPPFLAGS="$ac_save_CPPFLAGS"
9503 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9504 case "x$with_xml" in
9505 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9507 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9508 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9512 if test "x$with_xslt" != "xno"
9514 if test "$PKG_CONFIG" != "false"
9516 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9517 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9519 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9520 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9522 ac_save_CPPFLAGS="$CPPFLAGS"
9523 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9524 for ac_header in libxslt/pattern.h libxslt/transform.h
9526 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9527 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9528 # include <libxslt/pattern.h>
9531 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9532 cat >>confdefs.h <<_ACEOF
9533 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9540 CPPFLAGS="$ac_save_CPPFLAGS"
9541 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9544 $as_echo_n "checking for -lxslt... " >&6; }
9545 if ${ac_cv_lib_soname_xslt+:} false; then :
9546 $as_echo_n "(cached) " >&6
9548 ac_check_soname_save_LIBS=$LIBS
9549 LIBS="-lxslt $ac_xslt_libs $LIBS"
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9559 char xsltCompilePattern ();
9563 return xsltCompilePattern ();
9568 if ac_fn_c_try_link "$LINENO"; then :
9570 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9571 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'` ;;
9572 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 LIBS=$ac_check_soname_save_LIBS
9579 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9581 $as_echo "not found" >&6; }
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9585 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9587 cat >>confdefs.h <<_ACEOF
9588 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9591 XSLTINCL="$ac_xslt_cflags"
9595 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9596 case "x$with_xslt" in
9597 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9599 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9600 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9606 if test "x$with_hal" != "xno"
9608 ac_save_CPPFLAGS="$CPPFLAGS"
9609 if test "$PKG_CONFIG" != "false"
9611 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9612 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9613 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9615 for ac_header in dbus/dbus.h hal/libhal.h
9617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9618 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9620 cat >>confdefs.h <<_ACEOF
9621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9628 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9631 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9632 if ${ac_cv_lib_dbus_1_dbus_connection_close+:} false; then :
9633 $as_echo_n "(cached) " >&6
9635 ac_check_lib_save_LIBS=$LIBS
9636 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9638 /* end confdefs.h. */
9640 /* Override any GCC internal prototype to avoid an error.
9641 Use char because int might match the return type of a GCC
9642 builtin and then its argument prototype would still apply. */
9646 char dbus_connection_close ();
9650 return dbus_connection_close ();
9655 if ac_fn_c_try_link "$LINENO"; then :
9656 ac_cv_lib_dbus_1_dbus_connection_close=yes
9658 ac_cv_lib_dbus_1_dbus_connection_close=no
9660 rm -f core conftest.err conftest.$ac_objext \
9661 conftest$ac_exeext conftest.$ac_ext
9662 LIBS=$ac_check_lib_save_LIBS
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9665 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9666 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = xyes; then :
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9668 $as_echo_n "checking for -lhal... " >&6; }
9669 if ${ac_cv_lib_soname_hal+:} false; then :
9670 $as_echo_n "(cached) " >&6
9672 ac_check_soname_save_LIBS=$LIBS
9673 LIBS="-lhal $ac_hal_libs $LIBS"
9674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9683 char libhal_ctx_new ();
9687 return libhal_ctx_new ();
9692 if ac_fn_c_try_link "$LINENO"; then :
9694 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9695 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'` ;;
9696 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_soname_save_LIBS
9703 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9705 $as_echo "not found" >&6; }
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9709 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9711 cat >>confdefs.h <<_ACEOF
9712 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9715 HALINCL="$ac_hal_cflags"
9720 CPPFLAGS="$ac_save_CPPFLAGS"
9722 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9723 case "x$with_hal" in
9724 x) as_fn_append wine_notices "|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9726 *) as_fn_error $? "libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9727 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9731 if test "x$with_gnutls" != "xno"
9733 ac_save_CPPFLAGS="$CPPFLAGS"
9734 if test "$PKG_CONFIG" != "false"
9736 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9737 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9738 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9740 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9741 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9743 /* end confdefs.h. */
9744 #include <gnutls/gnutls.h>
9748 typeof(gnutls_mac_get_key_size) *pfunc;
9753 if ac_fn_c_try_compile "$LINENO"; then :
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9755 $as_echo_n "checking for -lgnutls... " >&6; }
9756 if ${ac_cv_lib_soname_gnutls+:} false; then :
9757 $as_echo_n "(cached) " >&6
9759 ac_check_soname_save_LIBS=$LIBS
9760 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9764 /* Override any GCC internal prototype to avoid an error.
9765 Use char because int might match the return type of a GCC
9766 builtin and then its argument prototype would still apply. */
9770 char gnutls_global_init ();
9774 return gnutls_global_init ();
9779 if ac_fn_c_try_link "$LINENO"; then :
9781 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9782 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'` ;;
9783 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9786 rm -f core conftest.err conftest.$ac_objext \
9787 conftest$ac_exeext conftest.$ac_ext
9788 LIBS=$ac_check_soname_save_LIBS
9790 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9792 $as_echo "not found" >&6; }
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9796 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9798 cat >>confdefs.h <<_ACEOF
9799 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9802 GNUTLSINCL="$ac_gnutls_cflags"
9806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9810 CPPFLAGS="$ac_save_CPPFLAGS"
9812 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9813 case "x$with_gnutls" in
9814 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9816 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9817 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9822 if test "$ac_cv_header_ncurses_h" = "yes"
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9825 $as_echo_n "checking for -lncurses... " >&6; }
9826 if ${ac_cv_lib_soname_ncurses+:} false; then :
9827 $as_echo_n "(cached) " >&6
9829 ac_check_soname_save_LIBS=$LIBS
9830 LIBS="-lncurses $LIBS"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9849 if ac_fn_c_try_link "$LINENO"; then :
9851 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9852 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'` ;;
9853 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9856 rm -f core conftest.err conftest.$ac_objext \
9857 conftest$ac_exeext conftest.$ac_ext
9858 LIBS=$ac_check_soname_save_LIBS
9860 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9862 $as_echo "not found" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9866 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9868 cat >>confdefs.h <<_ACEOF
9869 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9872 CURSESLIBS="-lncurses"
9874 elif test "$ac_cv_header_curses_h" = "yes"
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9877 $as_echo_n "checking for -lcurses... " >&6; }
9878 if ${ac_cv_lib_soname_curses+:} false; then :
9879 $as_echo_n "(cached) " >&6
9881 ac_check_soname_save_LIBS=$LIBS
9882 LIBS="-lcurses $LIBS"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9886 /* Override any GCC internal prototype to avoid an error.
9887 Use char because int might match the return type of a GCC
9888 builtin and then its argument prototype would still apply. */
9901 if ac_fn_c_try_link "$LINENO"; then :
9903 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9904 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'` ;;
9905 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9908 rm -f core conftest.err conftest.$ac_objext \
9909 conftest$ac_exeext conftest.$ac_ext
9910 LIBS=$ac_check_soname_save_LIBS
9912 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9914 $as_echo "not found" >&6; }
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9918 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9920 cat >>confdefs.h <<_ACEOF
9921 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9924 CURSESLIBS="-lcurses"
9927 ac_save_LIBS="$LIBS"
9928 LIBS="$LIBS $CURSESLIBS"
9929 for ac_func in mousemask
9931 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9932 if test "x$ac_cv_func_mousemask" = xyes; then :
9933 cat >>confdefs.h <<_ACEOF
9934 #define HAVE_MOUSEMASK 1
9940 LIBS="$ac_save_LIBS"
9941 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9942 case "x$with_curses" in
9943 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9945 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9946 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9950 if test "x$with_sane" != "xno"
9952 ac_save_CPPFLAGS="$CPPFLAGS"
9953 # Extract the first word of "sane-config", so it can be a program name with args.
9954 set dummy sane-config; ac_word=$2
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9956 $as_echo_n "checking for $ac_word... " >&6; }
9957 if ${ac_cv_prog_sane_devel+:} false; then :
9958 $as_echo_n "(cached) " >&6
9960 if test -n "$sane_devel"; then
9961 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9967 test -z "$as_dir" && as_dir=.
9968 for ac_exec_ext in '' $ac_executable_extensions; do
9969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9970 ac_cv_prog_sane_devel="sane-config"
9971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9978 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9981 sane_devel=$ac_cv_prog_sane_devel
9982 if test -n "$sane_devel"; then
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9984 $as_echo "$sane_devel" >&6; }
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9987 $as_echo "no" >&6; }
9991 if test "$sane_devel" != "no"
9993 ac_sane_incl="`$sane_devel --cflags`"
9994 ac_sane_libs="`$sane_devel --ldflags`"
9995 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9997 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9998 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10000 $as_echo_n "checking for -lsane... " >&6; }
10001 if ${ac_cv_lib_soname_sane+:} false; then :
10002 $as_echo_n "(cached) " >&6
10004 ac_check_soname_save_LIBS=$LIBS
10005 LIBS="-lsane $ac_sane_libs $LIBS"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10009 /* Override any GCC internal prototype to avoid an error.
10010 Use char because int might match the return type of a GCC
10011 builtin and then its argument prototype would still apply. */
10019 return sane_init ();
10024 if ac_fn_c_try_link "$LINENO"; then :
10026 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10027 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'` ;;
10028 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10031 rm -f core conftest.err conftest.$ac_objext \
10032 conftest$ac_exeext conftest.$ac_ext
10033 LIBS=$ac_check_soname_save_LIBS
10035 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10037 $as_echo "not found" >&6; }
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10041 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10043 cat >>confdefs.h <<_ACEOF
10044 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10047 SANEINCL="$ac_sane_incl"
10053 CPPFLAGS="$ac_save_CPPFLAGS"
10055 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10056 case "x$with_sane" in
10057 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10059 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10060 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10064 if test "x$with_v4l" != "xno"
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10067 $as_echo_n "checking for -lv4l1... " >&6; }
10068 if ${ac_cv_lib_soname_v4l1+:} false; then :
10069 $as_echo_n "(cached) " >&6
10071 ac_check_soname_save_LIBS=$LIBS
10072 LIBS="-lv4l1 $LIBS"
10073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10074 /* end confdefs.h. */
10076 /* Override any GCC internal prototype to avoid an error.
10077 Use char because int might match the return type of a GCC
10078 builtin and then its argument prototype would still apply. */
10086 return v4l1_open ();
10091 if ac_fn_c_try_link "$LINENO"; then :
10093 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10094 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'` ;;
10095 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10098 rm -f core conftest.err conftest.$ac_objext \
10099 conftest$ac_exeext conftest.$ac_ext
10100 LIBS=$ac_check_soname_save_LIBS
10102 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10104 $as_echo "not found" >&6; }
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10108 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10110 cat >>confdefs.h <<_ACEOF
10111 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10117 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10118 case "x$with_v4l" in
10119 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10121 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10122 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10126 if test "x$with_gphoto" != "xno"
10128 ac_save_CPPFLAGS="$CPPFLAGS"
10129 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10130 set dummy gphoto2-config; ac_word=$2
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10132 $as_echo_n "checking for $ac_word... " >&6; }
10133 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10134 $as_echo_n "(cached) " >&6
10136 if test -n "$gphoto2_devel"; then
10137 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10140 for as_dir in $PATH
10143 test -z "$as_dir" && as_dir=.
10144 for ac_exec_ext in '' $ac_executable_extensions; do
10145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10146 ac_cv_prog_gphoto2_devel="gphoto2-config"
10147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10154 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10157 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10158 if test -n "$gphoto2_devel"; then
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10160 $as_echo "$gphoto2_devel" >&6; }
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10163 $as_echo "no" >&6; }
10167 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10168 set dummy gphoto2-port-config; ac_word=$2
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10170 $as_echo_n "checking for $ac_word... " >&6; }
10171 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10172 $as_echo_n "(cached) " >&6
10174 if test -n "$gphoto2port_devel"; then
10175 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10178 for as_dir in $PATH
10181 test -z "$as_dir" && as_dir=.
10182 for ac_exec_ext in '' $ac_executable_extensions; do
10183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10184 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10192 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10195 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10196 if test -n "$gphoto2port_devel"; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10198 $as_echo "$gphoto2port_devel" >&6; }
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10201 $as_echo "no" >&6; }
10205 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10207 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10209 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10212 -L/usr/lib|-L/usr/lib64) ;;
10213 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10216 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10218 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10219 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10220 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10222 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10223 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10224 $as_echo_n "(cached) " >&6
10226 ac_check_lib_save_LIBS=$LIBS
10227 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10229 /* end confdefs.h. */
10231 /* Override any GCC internal prototype to avoid an error.
10232 Use char because int might match the return type of a GCC
10233 builtin and then its argument prototype would still apply. */
10237 char gp_camera_new ();
10241 return gp_camera_new ();
10246 if ac_fn_c_try_link "$LINENO"; then :
10247 ac_cv_lib_gphoto2_gp_camera_new=yes
10249 ac_cv_lib_gphoto2_gp_camera_new=no
10251 rm -f core conftest.err conftest.$ac_objext \
10252 conftest$ac_exeext conftest.$ac_ext
10253 LIBS=$ac_check_lib_save_LIBS
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10256 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10257 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10259 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10261 GPHOTO2LIBS="$ac_gphoto2_libs"
10263 GPHOTO2INCL="$ac_gphoto2_incl"
10270 CPPFLAGS="$ac_save_CPPFLAGS"
10272 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10273 case "x$with_gphoto" in
10274 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10276 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10277 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10282 if test "$ac_cv_header_resolv_h" = "yes"
10284 ac_save_LIBS="$LIBS"
10285 for lib in '' -lresolv
10287 LIBS="$lib $ac_save_LIBS"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 #ifdef HAVE_NETINET_IN_H
10291 #include <netinet/in.h>
10293 #include <resolv.h>
10297 res_query("foo",ns_c_in,0,0,0);
10302 if ac_fn_c_try_link "$LINENO"; then :
10304 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10309 rm -f core conftest.err conftest.$ac_objext \
10310 conftest$ac_exeext conftest.$ac_ext
10311 if test "${RESOLVLIBS+set}" = set; then
10315 LIBS="$ac_save_LIBS"
10320 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10323 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10324 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10325 $as_echo_n "(cached) " >&6
10327 ac_check_lib_save_LIBS=$LIBS
10328 LIBS="-llcms $LIBS"
10329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10330 /* end confdefs.h. */
10332 /* Override any GCC internal prototype to avoid an error.
10333 Use char because int might match the return type of a GCC
10334 builtin and then its argument prototype would still apply. */
10338 char cmsOpenProfileFromFile ();
10342 return cmsOpenProfileFromFile ();
10347 if ac_fn_c_try_link "$LINENO"; then :
10348 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10350 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 LIBS=$ac_check_lib_save_LIBS
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10357 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10358 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10360 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10366 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10367 case "x$with_cms" in
10368 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10370 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10371 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10375 if test "x$with_freetype" != "xno"
10377 for ac_prog in freetype-config freetype2-config
10379 # Extract the first word of "$ac_prog", so it can be a program name with args.
10380 set dummy $ac_prog; ac_word=$2
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10382 $as_echo_n "checking for $ac_word... " >&6; }
10383 if ${ac_cv_prog_ft_devel+:} false; then :
10384 $as_echo_n "(cached) " >&6
10386 if test -n "$ft_devel"; then
10387 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10390 for as_dir in $PATH
10393 test -z "$as_dir" && as_dir=.
10394 for ac_exec_ext in '' $ac_executable_extensions; do
10395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10396 ac_cv_prog_ft_devel="$ac_prog"
10397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10406 ft_devel=$ac_cv_prog_ft_devel
10407 if test -n "$ft_devel"; then
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10409 $as_echo "$ft_devel" >&6; }
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10412 $as_echo "no" >&6; }
10416 test -n "$ft_devel" && break
10418 test -n "$ft_devel" || ft_devel="no"
10420 if test "$ft_devel" != "no"
10422 ac_freetype_incl=`$ft_devel --cflags`
10423 ac_freetype_libs=`$ft_devel --libs`
10425 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10427 $as_echo_n "checking for -lfreetype... " >&6; }
10428 if ${ac_cv_lib_soname_freetype+:} false; then :
10429 $as_echo_n "(cached) " >&6
10431 ac_check_soname_save_LIBS=$LIBS
10432 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10436 /* Override any GCC internal prototype to avoid an error.
10437 Use char because int might match the return type of a GCC
10438 builtin and then its argument prototype would still apply. */
10442 char FT_Init_FreeType ();
10446 return FT_Init_FreeType ();
10451 if ac_fn_c_try_link "$LINENO"; then :
10453 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10454 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'` ;;
10455 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10458 rm -f core conftest.err conftest.$ac_objext \
10459 conftest$ac_exeext conftest.$ac_ext
10460 LIBS=$ac_check_soname_save_LIBS
10462 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10464 $as_echo "not found" >&6; }
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10468 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10470 cat >>confdefs.h <<_ACEOF
10471 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10476 if test "$ft_lib" = "yes"
10478 ac_save_CPPFLAGS="$CPPFLAGS"
10479 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10480 for ac_header in ft2build.h \
10481 freetype/freetype.h \
10482 freetype/ftglyph.h \
10483 freetype/fttypes.h \
10484 freetype/tttables.h \
10485 freetype/ftsnames.h \
10486 freetype/ttnameid.h \
10487 freetype/ftoutln.h \
10488 freetype/ftwinfnt.h \
10489 freetype/ftmodapi.h \
10490 freetype/ftlcdfil.h \
10491 freetype/internal/sfnt.h
10493 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10494 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10495 # include <ft2build.h>
10498 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10499 cat >>confdefs.h <<_ACEOF
10500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10509 #include <ft2build.h>
10510 #include <freetype/fttrigon.h>
10512 if ac_fn_c_try_cpp "$LINENO"; then :
10514 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10516 wine_cv_fttrigon=yes
10518 wine_cv_fttrigon=no
10520 rm -f conftest.err conftest.i conftest.$ac_ext
10521 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10523 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10525 cat >>confdefs.h <<_ACEOF
10526 #define HAVE_FT_TRUETYPEENGINETYPE 1
10532 ac_save_CFLAGS="$CFLAGS"
10533 CFLAGS="$CFLAGS $ac_freetype_libs"
10534 for ac_func in FT_Load_Sfnt_Table
10536 ac_fn_c_check_func "$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10537 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = xyes; then :
10538 cat >>confdefs.h <<_ACEOF
10539 #define HAVE_FT_LOAD_SFNT_TABLE 1
10545 CFLAGS="$ac_save_CFLAGS"
10546 CPPFLAGS="$ac_save_CPPFLAGS"
10547 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10550 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10552 FREETYPELIBS="$ac_freetype_libs"
10554 FREETYPEINCL="$ac_freetype_incl"
10559 if test "x$FREETYPELIBS" = "x"; then :
10560 case "x$with_freetype" in
10562 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10563 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10566 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10569 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10570 if ${ac_cv_c_ppdev+:} false; then :
10571 $as_echo_n "(cached) " >&6
10573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10575 #ifdef HAVE_SYS_IOCTL_H
10576 # include <sys/ioctl.h>
10578 #include <linux/ppdev.h>
10582 ioctl (1,PPCLAIM,0)
10587 if ac_fn_c_try_compile "$LINENO"; then :
10588 ac_cv_c_ppdev="yes"
10592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10595 $as_echo "$ac_cv_c_ppdev" >&6; }
10596 if test "$ac_cv_c_ppdev" = "yes"
10599 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10603 ac_wine_check_funcs_save_LIBS="$LIBS"
10604 LIBS="$LIBS $LIBPTHREAD"
10606 pthread_attr_get_np \
10607 pthread_getattr_np \
10608 pthread_get_stackaddr_np \
10609 pthread_get_stacksize_np
10611 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10612 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10613 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10614 cat >>confdefs.h <<_ACEOF
10615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10621 LIBS="$ac_wine_check_funcs_save_LIBS"
10623 if test "$ac_cv_header_zlib_h" = "yes"
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10626 $as_echo_n "checking for inflate in -lz... " >&6; }
10627 if ${ac_cv_lib_z_inflate+:} false; then :
10628 $as_echo_n "(cached) " >&6
10630 ac_check_lib_save_LIBS=$LIBS
10632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633 /* end confdefs.h. */
10635 /* Override any GCC internal prototype to avoid an error.
10636 Use char because int might match the return type of a GCC
10637 builtin and then its argument prototype would still apply. */
10650 if ac_fn_c_try_link "$LINENO"; then :
10651 ac_cv_lib_z_inflate=yes
10653 ac_cv_lib_z_inflate=no
10655 rm -f core conftest.err conftest.$ac_objext \
10656 conftest$ac_exeext conftest.$ac_ext
10657 LIBS=$ac_check_lib_save_LIBS
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10660 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10661 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10663 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10670 if test "x$ZLIB" = "x"; then :
10671 case "x$with_zlib" in
10672 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10674 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10675 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10679 if test "x$enable_tools" != xno
10681 if test "$ac_cv_header_gettext_po_h" = "yes"
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10684 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10685 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10686 $as_echo_n "(cached) " >&6
10688 ac_check_lib_save_LIBS=$LIBS
10689 LIBS="-lgettextpo $LIBS"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10699 char po_message_msgctxt ();
10703 return po_message_msgctxt ();
10708 if ac_fn_c_try_link "$LINENO"; then :
10709 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10711 ac_cv_lib_gettextpo_po_message_msgctxt=no
10713 rm -f core conftest.err conftest.$ac_objext \
10714 conftest$ac_exeext conftest.$ac_ext
10715 LIBS=$ac_check_lib_save_LIBS
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10718 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10719 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10721 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10723 LIBGETTEXTPO="-lgettextpo"
10728 if test "x$LIBGETTEXTPO" = "x"; then :
10729 case "x$with_gettextpo" in
10730 x) as_fn_append wine_warnings "|GetText ${notice_platform}development files not found (or too old). Internationalization won't be fully supported." ;;
10732 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old). Internationalization won't be fully supported.
10733 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10738 if test "x$with_esd" != xno
10740 save_CFLAGS="$CFLAGS"
10741 # Extract the first word of "esd-config", so it can be a program name with args.
10742 set dummy esd-config; ac_word=$2
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10744 $as_echo_n "checking for $ac_word... " >&6; }
10745 if ${ac_cv_path_ESDCONFIG+:} false; then :
10746 $as_echo_n "(cached) " >&6
10750 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
10753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10754 for as_dir in $PATH
10757 test -z "$as_dir" && as_dir=.
10758 for ac_exec_ext in '' $ac_executable_extensions; do
10759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10760 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
10761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10768 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG="no"
10772 ESDCONFIG=$ac_cv_path_ESDCONFIG
10773 if test -n "$ESDCONFIG"; then
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10775 $as_echo "$ESDCONFIG" >&6; }
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10778 $as_echo "no" >&6; }
10782 if test "x$ESDCONFIG" != "xno"
10785 for i in `$ESDCONFIG --cflags`
10788 -I*) ac_esd_incl="$ac_esd_incl $i";;
10791 ac_esd_libs=`$ESDCONFIG --libs`
10792 CFLAGS="$CFLAGS $ac_esd_incl"
10794 ac_esd_libs=${ac_esd_libs:-"-lesd"}
10795 ac_fn_c_check_header_mongrel "$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10796 if test "x$ac_cv_header_esd_h" = xyes; then :
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10798 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10799 if ${ac_cv_lib_esd_esd_open_sound+:} false; then :
10800 $as_echo_n "(cached) " >&6
10802 ac_check_lib_save_LIBS=$LIBS
10803 LIBS="-lesd $ac_esd_libs $LIBS"
10804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10805 /* end confdefs.h. */
10807 /* Override any GCC internal prototype to avoid an error.
10808 Use char because int might match the return type of a GCC
10809 builtin and then its argument prototype would still apply. */
10813 char esd_open_sound ();
10817 return esd_open_sound ();
10822 if ac_fn_c_try_link "$LINENO"; then :
10823 ac_cv_lib_esd_esd_open_sound=yes
10825 ac_cv_lib_esd_esd_open_sound=no
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10829 LIBS=$ac_check_lib_save_LIBS
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10832 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10833 if test "x$ac_cv_lib_esd_esd_open_sound" = xyes; then :
10834 ESDINCL="$ac_esd_incl"
10836 ESDLIBS="$ac_esd_libs"
10843 CFLAGS="$save_CFLAGS"
10846 if test "x$with_gstreamer" != "xno"
10848 ac_save_CPPFLAGS="$CPPFLAGS"
10849 if test "$PKG_CONFIG" != "false"; then
10851 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10854 -I*) ac_gst_incl="$ac_gst_incl $i";;
10857 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10858 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10859 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10860 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10861 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10862 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10864 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10865 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10866 $as_echo_n "(cached) " >&6
10868 ac_check_lib_save_LIBS=$LIBS
10869 LIBS="-lgstreamer-0.10 $LIBS"
10870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871 /* end confdefs.h. */
10873 /* Override any GCC internal prototype to avoid an error.
10874 Use char because int might match the return type of a GCC
10875 builtin and then its argument prototype would still apply. */
10879 char gst_pad_get_caps_reffed ();
10883 return gst_pad_get_caps_reffed ();
10888 if ac_fn_c_try_link "$LINENO"; then :
10889 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10891 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10893 rm -f core conftest.err conftest.$ac_objext \
10894 conftest$ac_exeext conftest.$ac_ext
10895 LIBS=$ac_check_lib_save_LIBS
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10898 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10899 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10901 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10902 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10903 $as_echo_n "(cached) " >&6
10905 ac_check_lib_save_LIBS=$LIBS
10906 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10908 /* end confdefs.h. */
10910 /* Override any GCC internal prototype to avoid an error.
10911 Use char because int might match the return type of a GCC
10912 builtin and then its argument prototype would still apply. */
10916 char gst_app_buffer_new ();
10920 return gst_app_buffer_new ();
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
10928 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LIBS=$ac_check_lib_save_LIBS
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10935 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10936 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
10937 GSTREAMER_LIBS="$ac_gst_libs"
10939 GSTREAMER_INCL="$ac_gst_incl"
10952 CPPFLAGS="$ac_save_CPPFLAGS"
10954 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
10955 case "x$with_gstreamer" in
10956 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10958 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10959 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10962 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
10966 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10969 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10970 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
10971 $as_echo_n "(cached) " >&6
10973 ac_check_lib_save_LIBS=$LIBS
10974 LIBS="-lasound $LIBS"
10975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10976 /* end confdefs.h. */
10978 /* Override any GCC internal prototype to avoid an error.
10979 Use char because int might match the return type of a GCC
10980 builtin and then its argument prototype would still apply. */
10984 char snd_pcm_hw_params_get_access_mask ();
10988 return snd_pcm_hw_params_get_access_mask ();
10993 if ac_fn_c_try_link "$LINENO"; then :
10994 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
10996 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
10998 rm -f core conftest.err conftest.$ac_objext \
10999 conftest$ac_exeext conftest.$ac_ext
11000 LIBS=$ac_check_lib_save_LIBS
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11003 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11004 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006 /* end confdefs.h. */
11007 #ifdef HAVE_ALSA_ASOUNDLIB_H
11008 #include <alsa/asoundlib.h>
11009 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11010 #include <sys/asoundlib.h>
11015 int ret = snd_pcm_hw_params_get_access_mask(NULL, NULL)
11020 if ac_fn_c_try_compile "$LINENO"; then :
11021 ALSALIBS="-lasound"
11023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11028 if test "x$with_oss" != xno
11030 ac_save_CPPFLAGS="$CPPFLAGS"
11031 if test -f /etc/oss.conf
11035 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11036 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11037 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11038 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11039 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11041 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11043 cat >>confdefs.h <<_ACEOF
11044 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11047 OSS4INCL="$ac_oss_incl"
11054 CPPFLAGS="$ac_save_CPPFLAGS"
11055 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11057 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11062 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11065 $as_echo_n "checking for -lcapi20... " >&6; }
11066 if ${ac_cv_lib_soname_capi20+:} false; then :
11067 $as_echo_n "(cached) " >&6
11069 ac_check_soname_save_LIBS=$LIBS
11070 LIBS="-lcapi20 $LIBS"
11071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11072 /* end confdefs.h. */
11074 /* Override any GCC internal prototype to avoid an error.
11075 Use char because int might match the return type of a GCC
11076 builtin and then its argument prototype would still apply. */
11080 char capi20_register ();
11084 return capi20_register ();
11089 if ac_fn_c_try_link "$LINENO"; then :
11091 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11092 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'` ;;
11093 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_soname_save_LIBS
11100 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11102 $as_echo "not found" >&6; }
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11106 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11108 cat >>confdefs.h <<_ACEOF
11109 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11115 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11116 case "x$with_capi" in
11117 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11119 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11120 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11126 if test "x$with_cups" != "xno"
11128 ac_save_CPPFLAGS="$CPPFLAGS"
11129 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11130 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11131 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11132 for ac_header in cups/cups.h
11134 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11135 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11136 cat >>confdefs.h <<_ACEOF
11137 #define HAVE_CUPS_CUPS_H 1
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11140 $as_echo_n "checking for -lcups... " >&6; }
11141 if ${ac_cv_lib_soname_cups+:} false; then :
11142 $as_echo_n "(cached) " >&6
11144 ac_check_soname_save_LIBS=$LIBS
11145 LIBS="-lcups $ac_cups_libs $LIBS"
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h. */
11149 /* Override any GCC internal prototype to avoid an error.
11150 Use char because int might match the return type of a GCC
11151 builtin and then its argument prototype would still apply. */
11155 char cupsGetDefault ();
11159 return cupsGetDefault ();
11164 if ac_fn_c_try_link "$LINENO"; then :
11166 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11167 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'` ;;
11168 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_soname_save_LIBS
11175 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11177 $as_echo "not found" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11181 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11183 cat >>confdefs.h <<_ACEOF
11184 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11187 CUPSINCL="$ac_cups_cflags"
11193 CPPFLAGS="$ac_save_CPPFLAGS"
11195 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11196 case "x$with_cups" in
11197 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11199 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11200 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11204 if test "$ac_cv_header_jack_jack_h" = "yes"
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
11207 $as_echo_n "checking for -ljack... " >&6; }
11208 if ${ac_cv_lib_soname_jack+:} false; then :
11209 $as_echo_n "(cached) " >&6
11211 ac_check_soname_save_LIBS=$LIBS
11212 LIBS="-ljack $LIBS"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11222 char jack_client_new ();
11226 return jack_client_new ();
11231 if ac_fn_c_try_link "$LINENO"; then :
11233 dll) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11234 dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11235 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11238 rm -f core conftest.err conftest.$ac_objext \
11239 conftest$ac_exeext conftest.$ac_ext
11240 LIBS=$ac_check_soname_save_LIBS
11242 if test "x$ac_cv_lib_soname_jack" = "x"; then :
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11244 $as_echo "not found" >&6; }
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
11248 $as_echo "$ac_cv_lib_soname_jack" >&6; }
11250 cat >>confdefs.h <<_ACEOF
11251 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
11258 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11261 $as_echo_n "checking for -lfontconfig... " >&6; }
11262 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11263 $as_echo_n "(cached) " >&6
11265 ac_check_soname_save_LIBS=$LIBS
11266 LIBS="-lfontconfig $LIBS"
11267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11285 if ac_fn_c_try_link "$LINENO"; then :
11287 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11288 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'` ;;
11289 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_soname_save_LIBS
11296 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11298 $as_echo "not found" >&6; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11302 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11304 cat >>confdefs.h <<_ACEOF
11305 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11310 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11312 ac_save_CPPFLAGS="$CPPFLAGS"
11313 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11314 $as_unset ac_cv_header_fontconfig_fontconfig_h
11315 for ac_header in fontconfig/fontconfig.h
11317 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11318 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11319 cat >>confdefs.h <<_ACEOF
11320 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11327 CPPFLAGS="$ac_save_CPPFLAGS"
11328 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11330 FONTCONFIGINCL="$X_CFLAGS"
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11333 $as_echo_n "checking for -lfontconfig... " >&6; }
11334 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11335 $as_echo_n "(cached) " >&6
11337 ac_check_soname_save_LIBS=$LIBS
11338 LIBS="-lfontconfig $X_LIBS $LIBS"
11339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11340 /* end confdefs.h. */
11342 /* Override any GCC internal prototype to avoid an error.
11343 Use char because int might match the return type of a GCC
11344 builtin and then its argument prototype would still apply. */
11357 if ac_fn_c_try_link "$LINENO"; then :
11359 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11360 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'` ;;
11361 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11364 rm -f core conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 LIBS=$ac_check_soname_save_LIBS
11368 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11370 $as_echo "not found" >&6; }
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11374 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11376 cat >>confdefs.h <<_ACEOF
11377 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11384 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11385 case "x$with_fontconfig" in
11386 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11388 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11389 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11393 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11396 $as_echo_n "checking for -lssl... " >&6; }
11397 if ${ac_cv_lib_soname_ssl+:} false; then :
11398 $as_echo_n "(cached) " >&6
11400 ac_check_soname_save_LIBS=$LIBS
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11403 /* end confdefs.h. */
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11411 char SSL_library_init ();
11415 return SSL_library_init ();
11420 if ac_fn_c_try_link "$LINENO"; then :
11422 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11423 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'` ;;
11424 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11427 rm -f core conftest.err conftest.$ac_objext \
11428 conftest$ac_exeext conftest.$ac_ext
11429 LIBS=$ac_check_soname_save_LIBS
11431 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11433 $as_echo "not found" >&6; }
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11437 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11439 cat >>confdefs.h <<_ACEOF
11440 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11446 $as_echo_n "checking for -lcrypto... " >&6; }
11447 if ${ac_cv_lib_soname_crypto+:} false; then :
11448 $as_echo_n "(cached) " >&6
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-lcrypto $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11461 char BIO_new_socket ();
11465 return BIO_new_socket ();
11470 if ac_fn_c_try_link "$LINENO"; then :
11472 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11477 rm -f core conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
11479 LIBS=$ac_check_soname_save_LIBS
11481 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11483 $as_echo "not found" >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11487 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11489 cat >>confdefs.h <<_ACEOF
11490 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11496 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11497 case "x$with_openssl" in
11498 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11500 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11501 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11505 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11508 $as_echo_n "checking for -lgsm... " >&6; }
11509 if ${ac_cv_lib_soname_gsm+:} false; then :
11510 $as_echo_n "(cached) " >&6
11512 ac_check_soname_save_LIBS=$LIBS
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11523 char gsm_create ();
11527 return gsm_create ();
11532 if ac_fn_c_try_link "$LINENO"; then :
11534 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11535 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'` ;;
11536 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11539 rm -f core conftest.err conftest.$ac_objext \
11540 conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_soname_save_LIBS
11543 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11545 $as_echo "not found" >&6; }
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11549 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11551 cat >>confdefs.h <<_ACEOF
11552 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11558 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11559 case "x$with_gsm" in
11560 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11562 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11563 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11567 if test "$ac_cv_header_jpeglib_h" = "yes"
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11570 $as_echo_n "checking for -ljpeg... " >&6; }
11571 if ${ac_cv_lib_soname_jpeg+:} false; then :
11572 $as_echo_n "(cached) " >&6
11574 ac_check_soname_save_LIBS=$LIBS
11575 LIBS="-ljpeg $LIBS"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11585 char jpeg_start_decompress ();
11589 return jpeg_start_decompress ();
11594 if ac_fn_c_try_link "$LINENO"; then :
11596 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11597 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'` ;;
11598 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11601 rm -f core conftest.err conftest.$ac_objext \
11602 conftest$ac_exeext conftest.$ac_ext
11603 LIBS=$ac_check_soname_save_LIBS
11605 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11607 $as_echo "not found" >&6; }
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11611 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11613 cat >>confdefs.h <<_ACEOF
11614 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11620 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11621 case "x$with_jpeg" in
11622 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11624 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11625 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11629 if test "$ac_cv_header_png_h" = "yes"
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11632 $as_echo_n "checking for -lpng... " >&6; }
11633 if ${ac_cv_lib_soname_png+:} false; then :
11634 $as_echo_n "(cached) " >&6
11636 ac_check_soname_save_LIBS=$LIBS
11637 LIBS="-lpng -lm -lz $LIBS"
11638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11639 /* end confdefs.h. */
11641 /* Override any GCC internal prototype to avoid an error.
11642 Use char because int might match the return type of a GCC
11643 builtin and then its argument prototype would still apply. */
11647 char png_create_read_struct ();
11651 return png_create_read_struct ();
11656 if ac_fn_c_try_link "$LINENO"; then :
11658 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11659 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'` ;;
11660 *) 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'` ;;
11663 rm -f core conftest.err conftest.$ac_objext \
11664 conftest$ac_exeext conftest.$ac_ext
11665 LIBS=$ac_check_soname_save_LIBS
11667 if test "x$ac_cv_lib_soname_png" = "x"; then :
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11669 $as_echo "not found" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11673 $as_echo "$ac_cv_lib_soname_png" >&6; }
11675 cat >>confdefs.h <<_ACEOF
11676 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11682 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11683 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11684 $as_echo_n "(cached) " >&6
11686 ac_check_lib_save_LIBS=$LIBS
11687 LIBS="-lpng -lm -lz $LIBS"
11688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11689 /* end confdefs.h. */
11691 /* Override any GCC internal prototype to avoid an error.
11692 Use char because int might match the return type of a GCC
11693 builtin and then its argument prototype would still apply. */
11697 char png_set_expand_gray_1_2_4_to_8 ();
11701 return png_set_expand_gray_1_2_4_to_8 ();
11706 if ac_fn_c_try_link "$LINENO"; then :
11707 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11709 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11711 rm -f core conftest.err conftest.$ac_objext \
11712 conftest$ac_exeext conftest.$ac_ext
11713 LIBS=$ac_check_lib_save_LIBS
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11716 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11717 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11719 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11724 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11726 ac_save_CPPFLAGS="$CPPFLAGS"
11727 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11728 $as_unset ac_cv_header_png_h
11729 for ac_header in png.h
11731 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11732 if test "x$ac_cv_header_png_h" = xyes; then :
11733 cat >>confdefs.h <<_ACEOF
11734 #define HAVE_PNG_H 1
11741 CPPFLAGS="$ac_save_CPPFLAGS"
11742 if test "$ac_cv_header_png_h" = "yes"
11744 PNGINCL="$X_CFLAGS"
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11747 $as_echo_n "checking for -lpng... " >&6; }
11748 if ${ac_cv_lib_soname_png+:} false; then :
11749 $as_echo_n "(cached) " >&6
11751 ac_check_soname_save_LIBS=$LIBS
11752 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11754 /* end confdefs.h. */
11756 /* Override any GCC internal prototype to avoid an error.
11757 Use char because int might match the return type of a GCC
11758 builtin and then its argument prototype would still apply. */
11762 char png_create_read_struct ();
11766 return png_create_read_struct ();
11771 if ac_fn_c_try_link "$LINENO"; then :
11773 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11774 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'` ;;
11775 *) 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'` ;;
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_soname_save_LIBS
11782 if test "x$ac_cv_lib_soname_png" = "x"; then :
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11784 $as_echo "not found" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11788 $as_echo "$ac_cv_lib_soname_png" >&6; }
11790 cat >>confdefs.h <<_ACEOF
11791 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11797 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11798 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11799 $as_echo_n "(cached) " >&6
11801 ac_check_lib_save_LIBS=$LIBS
11802 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11812 char png_set_expand_gray_1_2_4_to_8 ();
11816 return png_set_expand_gray_1_2_4_to_8 ();
11821 if ac_fn_c_try_link "$LINENO"; then :
11822 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11824 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11831 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11832 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11833 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11839 if test "x$ac_cv_lib_soname_png" = "x"; then :
11840 case "x$with_png" in
11841 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11843 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11844 This is an error since --with-png was requested." "$LINENO" 5 ;;
11848 if test "$ac_cv_header_tiffio_h" = "yes"
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11851 $as_echo_n "checking for -ltiff... " >&6; }
11852 if ${ac_cv_lib_soname_tiff+:} false; then :
11853 $as_echo_n "(cached) " >&6
11855 ac_check_soname_save_LIBS=$LIBS
11856 LIBS="-ltiff $LIBS"
11857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11866 char TIFFClientOpen ();
11870 return TIFFClientOpen ();
11875 if ac_fn_c_try_link "$LINENO"; then :
11877 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11878 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'` ;;
11879 *) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11882 rm -f core conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_soname_save_LIBS
11886 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11888 $as_echo "not found" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11892 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11894 cat >>confdefs.h <<_ACEOF
11895 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11901 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11902 case "x$with_tiff" in
11903 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11905 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11906 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11910 if test "$ac_cv_header_mpg123_h" = "yes"
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11913 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11914 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11915 $as_echo_n "(cached) " >&6
11917 ac_check_lib_save_LIBS=$LIBS
11918 LIBS="-lmpg123 $LIBS"
11919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11920 /* end confdefs.h. */
11922 /* Override any GCC internal prototype to avoid an error.
11923 Use char because int might match the return type of a GCC
11924 builtin and then its argument prototype would still apply. */
11928 char mpg123_feed ();
11932 return mpg123_feed ();
11937 if ac_fn_c_try_link "$LINENO"; then :
11938 ac_cv_lib_mpg123_mpg123_feed=yes
11940 ac_cv_lib_mpg123_mpg123_feed=no
11942 rm -f core conftest.err conftest.$ac_objext \
11943 conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_lib_save_LIBS
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11947 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11948 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
11949 LIBMPG123="-lmpg123"
11954 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
11955 case "x$with_mpg123" in
11956 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11958 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11959 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11962 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}
11964 if test "$ac_cv_header_AL_al_h" = "yes"
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11967 $as_echo_n "checking for -lopenal... " >&6; }
11968 if ${ac_cv_lib_soname_openal+:} false; then :
11969 $as_echo_n "(cached) " >&6
11971 ac_check_soname_save_LIBS=$LIBS
11972 LIBS="-lopenal $LIBS"
11973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11982 char alGetSource3i ();
11986 return alGetSource3i ();
11991 if ac_fn_c_try_link "$LINENO"; then :
11993 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11998 rm -f core conftest.err conftest.$ac_objext \
11999 conftest$ac_exeext conftest.$ac_ext
12000 LIBS=$ac_check_soname_save_LIBS
12002 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12004 $as_echo "not found" >&6; }
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12008 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12010 cat >>confdefs.h <<_ACEOF
12011 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12014 LIBOPENAL="-lopenal"
12016 ac_cv_lib_openal=yes
12018 cat >>confdefs.h <<_ACEOF
12019 #define HAVE_OPENAL 1
12024 if test "x$ac_cv_lib_openal" != xyes; then :
12025 case "x$with_openal" in
12026 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12028 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12029 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12032 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12034 if test "$ac_cv_header_kstat_h" = "yes"
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12037 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12038 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12039 $as_echo_n "(cached) " >&6
12041 ac_check_lib_save_LIBS=$LIBS
12042 LIBS="-lkstat $LIBS"
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12052 char kstat_open ();
12056 return kstat_open ();
12061 if ac_fn_c_try_link "$LINENO"; then :
12062 ac_cv_lib_kstat_kstat_open=yes
12064 ac_cv_lib_kstat_kstat_open=no
12066 rm -f core conftest.err conftest.$ac_objext \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12071 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12072 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12074 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12083 $as_echo_n "checking for -lodbc... " >&6; }
12084 if ${ac_cv_lib_soname_odbc+:} false; then :
12085 $as_echo_n "(cached) " >&6
12087 ac_check_soname_save_LIBS=$LIBS
12088 LIBS="-lodbc $LIBS"
12089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12090 /* end confdefs.h. */
12092 /* Override any GCC internal prototype to avoid an error.
12093 Use char because int might match the return type of a GCC
12094 builtin and then its argument prototype would still apply. */
12098 char SQLConnect ();
12102 return SQLConnect ();
12107 if ac_fn_c_try_link "$LINENO"; then :
12109 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12110 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'` ;;
12111 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12114 rm -f core conftest.err conftest.$ac_objext \
12115 conftest$ac_exeext conftest.$ac_ext
12116 LIBS=$ac_check_soname_save_LIBS
12118 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12120 $as_echo "not found" >&6; }
12121 cat >>confdefs.h <<_ACEOF
12122 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12127 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12129 cat >>confdefs.h <<_ACEOF
12130 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12136 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12137 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12138 test -n "$NASLIBS" || enable_winenas_drv=${enable_winenas_drv:-no}
12139 test -n "$ESDLIBS" || enable_wineesd_drv=${enable_wineesd_drv:-no}
12140 test -n "$ac_cv_lib_soname_jack" || enable_winejack_drv=${enable_winejack_drv:-no}
12141 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12142 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12144 if test "x$ALSALIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
12145 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12146 "x$with_alsa$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnononononono
12148 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12154 if test "x${GCC}" = "xyes"
12156 EXTRACFLAGS="-Wall -pipe"
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12159 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12160 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12161 $as_echo_n "(cached) " >&6
12163 if test "$cross_compiling" = yes; then :
12164 ac_cv_c_gcc_strength_bug="yes"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12168 int L[4] = {0,1,2,3};
12172 static int Array[3];
12173 unsigned int B = 3;
12175 for(i=0; i<B; i++) Array[i] = i - 3;
12176 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12178 return (Array[1] != -2 || L[2] != 3)
12183 if ac_fn_c_try_run "$LINENO"; then :
12184 ac_cv_c_gcc_strength_bug="no"
12186 ac_cv_c_gcc_strength_bug="yes"
12188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12189 conftest.$ac_objext conftest.beam conftest.$ac_ext
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12194 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12195 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12197 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12201 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12202 if ${ac_cv_cflags__fno_builtin+:} false; then :
12203 $as_echo_n "(cached) " >&6
12205 ac_wine_try_cflags_saved=$CFLAGS
12206 CFLAGS="$CFLAGS -fno-builtin"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12209 int main(int argc, char **argv) { return 0; }
12211 if ac_fn_c_try_link "$LINENO"; then :
12212 ac_cv_cflags__fno_builtin=yes
12214 ac_cv_cflags__fno_builtin=no
12216 rm -f core conftest.err conftest.$ac_objext \
12217 conftest$ac_exeext conftest.$ac_ext
12218 CFLAGS=$ac_wine_try_cflags_saved
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12221 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12222 if test $ac_cv_cflags__fno_builtin = yes; then :
12223 BUILTINFLAG="-fno-builtin"
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12227 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12228 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12229 $as_echo_n "(cached) " >&6
12231 ac_wine_try_cflags_saved=$CFLAGS
12232 CFLAGS="$CFLAGS -fno-strict-aliasing"
12233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12234 /* end confdefs.h. */
12235 int main(int argc, char **argv) { return 0; }
12237 if ac_fn_c_try_link "$LINENO"; then :
12238 ac_cv_cflags__fno_strict_aliasing=yes
12240 ac_cv_cflags__fno_strict_aliasing=no
12242 rm -f core conftest.err conftest.$ac_objext \
12243 conftest$ac_exeext conftest.$ac_ext
12244 CFLAGS=$ac_wine_try_cflags_saved
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12247 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12248 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12249 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12252 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12253 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12254 $as_echo_n "(cached) " >&6
12256 ac_wine_try_cflags_saved=$CFLAGS
12257 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12260 int main(int argc, char **argv) { return 0; }
12262 if ac_fn_c_try_link "$LINENO"; then :
12263 ac_cv_cflags__Wdeclaration_after_statement=yes
12265 ac_cv_cflags__Wdeclaration_after_statement=no
12267 rm -f core conftest.err conftest.$ac_objext \
12268 conftest$ac_exeext conftest.$ac_ext
12269 CFLAGS=$ac_wine_try_cflags_saved
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12272 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12273 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12274 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12277 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12278 if ${ac_cv_cflags__Wempty_body+:} false; then :
12279 $as_echo_n "(cached) " >&6
12281 ac_wine_try_cflags_saved=$CFLAGS
12282 CFLAGS="$CFLAGS -Wempty-body"
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__Wempty_body=yes
12290 ac_cv_cflags__Wempty_body=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__Wempty_body" >&5
12297 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12298 if test $ac_cv_cflags__Wempty_body = yes; then :
12299 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12302 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12303 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12304 $as_echo_n "(cached) " >&6
12306 ac_wine_try_cflags_saved=$CFLAGS
12307 CFLAGS="$CFLAGS -Wstrict-prototypes"
12308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12309 /* end confdefs.h. */
12310 int main(int argc, char **argv) { return 0; }
12312 if ac_fn_c_try_link "$LINENO"; then :
12313 ac_cv_cflags__Wstrict_prototypes=yes
12315 ac_cv_cflags__Wstrict_prototypes=no
12317 rm -f core conftest.err conftest.$ac_objext \
12318 conftest$ac_exeext conftest.$ac_ext
12319 CFLAGS=$ac_wine_try_cflags_saved
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12322 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12323 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12324 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12327 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12328 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12329 $as_echo_n "(cached) " >&6
12331 ac_wine_try_cflags_saved=$CFLAGS
12332 CFLAGS="$CFLAGS -Wtype-limits"
12333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12334 /* end confdefs.h. */
12335 int main(int argc, char **argv) { return 0; }
12337 if ac_fn_c_try_link "$LINENO"; then :
12338 ac_cv_cflags__Wtype_limits=yes
12340 ac_cv_cflags__Wtype_limits=no
12342 rm -f core conftest.err conftest.$ac_objext \
12343 conftest$ac_exeext conftest.$ac_ext
12344 CFLAGS=$ac_wine_try_cflags_saved
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12347 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12348 if test $ac_cv_cflags__Wtype_limits = yes; then :
12349 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12352 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12353 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12354 $as_echo_n "(cached) " >&6
12356 ac_wine_try_cflags_saved=$CFLAGS
12357 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12360 int main(int argc, char **argv) { return 0; }
12362 if ac_fn_c_try_link "$LINENO"; then :
12363 ac_cv_cflags__Wunused_but_set_parameter=yes
12365 ac_cv_cflags__Wunused_but_set_parameter=no
12367 rm -f core conftest.err conftest.$ac_objext \
12368 conftest$ac_exeext conftest.$ac_ext
12369 CFLAGS=$ac_wine_try_cflags_saved
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12372 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12373 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12374 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12377 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12378 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12379 $as_echo_n "(cached) " >&6
12381 ac_wine_try_cflags_saved=$CFLAGS
12382 CFLAGS="$CFLAGS -Wwrite-strings"
12383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12384 /* end confdefs.h. */
12385 int main(int argc, char **argv) { return 0; }
12387 if ac_fn_c_try_link "$LINENO"; then :
12388 ac_cv_cflags__Wwrite_strings=yes
12390 ac_cv_cflags__Wwrite_strings=no
12392 rm -f core conftest.err conftest.$ac_objext \
12393 conftest$ac_exeext conftest.$ac_ext
12394 CFLAGS=$ac_wine_try_cflags_saved
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12397 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12398 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12399 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12402 saved_CFLAGS="$CFLAGS"
12403 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12405 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12406 if ${ac_cv_c_string_h_warnings+:} false; then :
12407 $as_echo_n "(cached) " >&6
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12411 #include <string.h>
12420 if ac_fn_c_try_compile "$LINENO"; then :
12421 ac_cv_c_string_h_warnings=no
12423 ac_cv_c_string_h_warnings=yes
12425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12428 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12429 CFLAGS="$saved_CFLAGS"
12430 if test "$ac_cv_c_string_h_warnings" = "no"
12432 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12435 saved_CFLAGS="$CFLAGS"
12436 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12438 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12439 if ${ac_cv_c_logicalop_noisy+:} false; then :
12440 $as_echo_n "(cached) " >&6
12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12444 #include <string.h>
12448 char*f(const char *h,char n) {return strchr(h,n);}
12453 if ac_fn_c_try_compile "$LINENO"; then :
12454 ac_cv_c_logicalop_noisy=no
12456 ac_cv_c_logicalop_noisy=yes
12458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12461 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12462 CFLAGS="$saved_CFLAGS"
12463 if test "$ac_cv_c_logicalop_noisy" = "no"
12465 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12468 if test "x$enable_maintainer_mode" = "xyes"
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12471 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12472 if ${ac_cv_cflags__Werror+:} false; then :
12473 $as_echo_n "(cached) " >&6
12475 ac_wine_try_cflags_saved=$CFLAGS
12476 CFLAGS="$CFLAGS -Werror"
12477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12478 /* end confdefs.h. */
12479 int main(int argc, char **argv) { return 0; }
12481 if ac_fn_c_try_link "$LINENO"; then :
12482 ac_cv_cflags__Werror=yes
12484 ac_cv_cflags__Werror=no
12486 rm -f core conftest.err conftest.$ac_objext \
12487 conftest$ac_exeext conftest.$ac_ext
12488 CFLAGS=$ac_wine_try_cflags_saved
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12491 $as_echo "$ac_cv_cflags__Werror" >&6; }
12492 if test $ac_cv_cflags__Werror = yes; then :
12493 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12497 saved_CFLAGS="$CFLAGS"
12498 CFLAGS="$CFLAGS -Werror"
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12500 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12501 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12502 $as_echo_n "(cached) " >&6
12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12506 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12515 if ac_fn_c_try_compile "$LINENO"; then :
12516 ac_cv_have_ms_hook_prologue="yes"
12518 ac_cv_have_ms_hook_prologue="no"
12520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12523 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12524 CFLAGS="$saved_CFLAGS"
12525 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12528 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12531 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12538 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12539 if ${ac_cv_c_fortify_enabled+:} false; then :
12540 $as_echo_n "(cached) " >&6
12542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12544 #include <string.h>
12548 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12549 #error Fortify enabled
12555 if ac_fn_c_try_compile "$LINENO"; then :
12556 ac_cv_c_fortify_enabled=no
12558 ac_cv_c_fortify_enabled=yes
12560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12563 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12564 if test "$ac_cv_c_fortify_enabled" = yes
12566 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12571 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12572 if ${ac_cv_c_extern_prefix+:} false; then :
12573 $as_echo_n "(cached) " >&6
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12577 extern int ac_test;
12581 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12586 if ac_fn_c_try_link "$LINENO"; then :
12587 ac_cv_c_extern_prefix="yes"
12589 ac_cv_c_extern_prefix="no"
12591 rm -f core conftest.err conftest.$ac_objext \
12592 conftest$ac_exeext conftest.$ac_ext
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12595 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12600 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12601 if ${ac_cv_c_stdcall_suffix+:} false; then :
12602 $as_echo_n "(cached) " >&6
12604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12605 /* end confdefs.h. */
12607 #define __stdcall __attribute__((__stdcall__))
12609 int __stdcall ac_test(int i) { return i; }
12613 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12618 if ac_fn_c_try_link "$LINENO"; then :
12619 ac_cv_c_stdcall_suffix="yes"
12621 ac_cv_c_stdcall_suffix="no"
12623 rm -f core conftest.err conftest.$ac_objext \
12624 conftest$ac_exeext conftest.$ac_ext
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12627 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12628 *) ac_cv_c_stdcall_suffix="no" ;;
12632 if test "$ac_cv_c_extern_prefix" = "yes"
12634 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12636 asm_name_prefix="_"
12638 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12644 if test "$ac_cv_c_stdcall_suffix" = "yes"
12646 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12649 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12655 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12656 if ${ac_cv_asm_func_def+:} false; then :
12657 $as_echo_n "(cached) " >&6
12659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12660 /* end confdefs.h. */
12665 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12670 if ac_fn_c_try_link "$LINENO"; then :
12671 ac_cv_asm_func_def=".def"
12673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12674 /* end confdefs.h. */
12679 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12684 if ac_fn_c_try_link "$LINENO"; then :
12685 ac_cv_asm_func_def=".type @function"
12687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12688 /* end confdefs.h. */
12693 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12698 if ac_fn_c_try_link "$LINENO"; then :
12699 ac_cv_asm_func_def=".type 2"
12701 ac_cv_asm_func_def="unknown"
12703 rm -f core conftest.err conftest.$ac_objext \
12704 conftest$ac_exeext conftest.$ac_ext
12706 rm -f core conftest.err conftest.$ac_objext \
12707 conftest$ac_exeext conftest.$ac_ext
12709 rm -f core conftest.err conftest.$ac_objext \
12710 conftest$ac_exeext conftest.$ac_ext
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12713 $as_echo "$ac_cv_asm_func_def" >&6; }
12716 case "$ac_cv_asm_func_def" in
12718 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12720 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12722 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12724 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12726 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12728 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12730 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12732 asm_func_header="" ;;
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12736 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12737 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12738 $as_echo_n "(cached) " >&6
12740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12742 asm(".text\n\t.long 0");
12751 if ac_fn_c_try_compile "$LINENO"; then :
12752 ac_cv_c_asm_outside_funcs="yes"
12754 ac_cv_c_asm_outside_funcs="no"
12756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12759 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12762 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12763 if ${ac_cv_c_dot_previous+:} false; then :
12764 $as_echo_n "(cached) " >&6
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12772 asm(".text\nac_test:\t.long 0\n\t.previous");
12777 if ac_fn_c_try_link "$LINENO"; then :
12778 ac_cv_c_dot_previous="yes"
12780 ac_cv_c_dot_previous="no"
12782 rm -f core conftest.err conftest.$ac_objext \
12783 conftest$ac_exeext conftest.$ac_ext
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12786 $as_echo "$ac_cv_c_dot_previous" >&6; }
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12789 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12790 if ${ac_cv_c_cfi_support+:} false; then :
12791 $as_echo_n "(cached) " >&6
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12795 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12804 if ac_fn_c_try_compile "$LINENO"; then :
12805 ac_cv_c_cfi_support="yes"
12807 ac_cv_c_cfi_support="no"
12809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12812 $as_echo "$ac_cv_c_cfi_support" >&6; }
12814 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12815 asm_func_trailer=""
12816 if test "$ac_cv_c_dot_previous" = "yes"
12818 asm_func_trailer="\\n\\t.previous"
12820 if test "$ac_cv_c_cfi_support" = "yes"
12822 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12823 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
12825 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12827 UNWINDFLAGS=-fasynchronous-unwind-tables
12830 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12834 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12837 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12839 cat >>confdefs.h <<_ACEOF
12840 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12844 cat >>confdefs.h <<_ACEOF
12845 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12850 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12853 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12863 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12868 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12876 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12883 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
12888 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
12890 x86_64*) EXTRA_BINARIES="wine64-preloader"
12897 ac_save_CFLAGS="$CFLAGS"
12898 CFLAGS="$CFLAGS $BUILTINFLAG"
12973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12975 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12976 cat >>confdefs.h <<_ACEOF
12977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12983 CFLAGS="$ac_save_CFLAGS"
12985 if test "$ac_cv_func_dlopen" = no
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12988 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12989 if ${ac_cv_lib_dl_dlopen+:} false; then :
12990 $as_echo_n "(cached) " >&6
12992 ac_check_lib_save_LIBS=$LIBS
12994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12995 /* end confdefs.h. */
12997 /* Override any GCC internal prototype to avoid an error.
12998 Use char because int might match the return type of a GCC
12999 builtin and then its argument prototype would still apply. */
13012 if ac_fn_c_try_link "$LINENO"; then :
13013 ac_cv_lib_dl_dlopen=yes
13015 ac_cv_lib_dl_dlopen=no
13017 rm -f core conftest.err conftest.$ac_objext \
13018 conftest$ac_exeext conftest.$ac_ext
13019 LIBS=$ac_check_lib_save_LIBS
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13022 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13023 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13024 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13030 ac_wine_check_funcs_save_LIBS="$LIBS"
13031 LIBS="$LIBS $LIBDL"
13032 for ac_func in dladdr
13034 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13035 if test "x$ac_cv_func_dladdr" = xyes; then :
13036 cat >>confdefs.h <<_ACEOF
13037 #define HAVE_DLADDR 1
13043 LIBS="$ac_wine_check_funcs_save_LIBS"
13045 if test "$ac_cv_func_poll" = no
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13048 $as_echo_n "checking for poll in -lpoll... " >&6; }
13049 if ${ac_cv_lib_poll_poll+:} false; then :
13050 $as_echo_n "(cached) " >&6
13052 ac_check_lib_save_LIBS=$LIBS
13053 LIBS="-lpoll $LIBS"
13054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055 /* end confdefs.h. */
13057 /* Override any GCC internal prototype to avoid an error.
13058 Use char because int might match the return type of a GCC
13059 builtin and then its argument prototype would still apply. */
13072 if ac_fn_c_try_link "$LINENO"; then :
13073 ac_cv_lib_poll_poll=yes
13075 ac_cv_lib_poll_poll=no
13077 rm -f core conftest.err conftest.$ac_objext \
13078 conftest$ac_exeext conftest.$ac_ext
13079 LIBS=$ac_check_lib_save_LIBS
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13082 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13083 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13084 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13092 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13093 if ${ac_cv_search_gethostbyname+:} false; then :
13094 $as_echo_n "(cached) " >&6
13096 ac_func_search_save_LIBS=$LIBS
13097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13098 /* end confdefs.h. */
13100 /* Override any GCC internal prototype to avoid an error.
13101 Use char because int might match the return type of a GCC
13102 builtin and then its argument prototype would still apply. */
13106 char gethostbyname ();
13110 return gethostbyname ();
13115 for ac_lib in '' nsl; do
13116 if test -z "$ac_lib"; then
13117 ac_res="none required"
13120 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13122 if ac_fn_c_try_link "$LINENO"; then :
13123 ac_cv_search_gethostbyname=$ac_res
13125 rm -f core conftest.err conftest.$ac_objext \
13127 if ${ac_cv_search_gethostbyname+:} false; then :
13131 if ${ac_cv_search_gethostbyname+:} false; then :
13134 ac_cv_search_gethostbyname=no
13136 rm conftest.$ac_ext
13137 LIBS=$ac_func_search_save_LIBS
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13140 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13141 ac_res=$ac_cv_search_gethostbyname
13142 if test "$ac_res" != no; then :
13143 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13149 $as_echo_n "checking for library containing connect... " >&6; }
13150 if ${ac_cv_search_connect+:} false; then :
13151 $as_echo_n "(cached) " >&6
13153 ac_func_search_save_LIBS=$LIBS
13154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155 /* end confdefs.h. */
13157 /* Override any GCC internal prototype to avoid an error.
13158 Use char because int might match the return type of a GCC
13159 builtin and then its argument prototype would still apply. */
13172 for ac_lib in '' socket; do
13173 if test -z "$ac_lib"; then
13174 ac_res="none required"
13177 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13179 if ac_fn_c_try_link "$LINENO"; then :
13180 ac_cv_search_connect=$ac_res
13182 rm -f core conftest.err conftest.$ac_objext \
13184 if ${ac_cv_search_connect+:} false; then :
13188 if ${ac_cv_search_connect+:} false; then :
13191 ac_cv_search_connect=no
13193 rm conftest.$ac_ext
13194 LIBS=$ac_func_search_save_LIBS
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13197 $as_echo "$ac_cv_search_connect" >&6; }
13198 ac_res=$ac_cv_search_connect
13199 if test "$ac_res" != no; then :
13200 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13206 $as_echo_n "checking for library containing inet_aton... " >&6; }
13207 if ${ac_cv_search_inet_aton+:} false; then :
13208 $as_echo_n "(cached) " >&6
13210 ac_func_search_save_LIBS=$LIBS
13211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13212 /* end confdefs.h. */
13214 /* Override any GCC internal prototype to avoid an error.
13215 Use char because int might match the return type of a GCC
13216 builtin and then its argument prototype would still apply. */
13224 return inet_aton ();
13229 for ac_lib in '' resolv; do
13230 if test -z "$ac_lib"; then
13231 ac_res="none required"
13234 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13236 if ac_fn_c_try_link "$LINENO"; then :
13237 ac_cv_search_inet_aton=$ac_res
13239 rm -f core conftest.err conftest.$ac_objext \
13241 if ${ac_cv_search_inet_aton+:} false; then :
13245 if ${ac_cv_search_inet_aton+:} false; then :
13248 ac_cv_search_inet_aton=no
13250 rm conftest.$ac_ext
13251 LIBS=$ac_func_search_save_LIBS
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13254 $as_echo "$ac_cv_search_inet_aton" >&6; }
13255 ac_res=$ac_cv_search_inet_aton
13256 if test "$ac_res" != no; then :
13257 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13277 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13278 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13279 cat >>confdefs.h <<_ACEOF
13280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13289 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13291 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13293 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13295 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13296 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13297 $as_echo_n "(cached) " >&6
13299 ac_check_lib_save_LIBS=$LIBS
13300 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13310 char ldap_initialize ();
13314 return ldap_initialize ();
13319 if ac_fn_c_try_link "$LINENO"; then :
13320 ac_cv_lib_ldap_r_ldap_initialize=yes
13322 ac_cv_lib_ldap_r_ldap_initialize=no
13324 rm -f core conftest.err conftest.$ac_objext \
13325 conftest$ac_exeext conftest.$ac_ext
13326 LIBS=$ac_check_lib_save_LIBS
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13329 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13330 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13332 $as_echo_n "checking for ber_init in -llber... " >&6; }
13333 if ${ac_cv_lib_lber_ber_init+:} false; then :
13334 $as_echo_n "(cached) " >&6
13336 ac_check_lib_save_LIBS=$LIBS
13337 LIBS="-llber $LIBPTHREAD $LIBS"
13338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13339 /* end confdefs.h. */
13341 /* Override any GCC internal prototype to avoid an error.
13342 Use char because int might match the return type of a GCC
13343 builtin and then its argument prototype would still apply. */
13351 return ber_init ();
13356 if ac_fn_c_try_link "$LINENO"; then :
13357 ac_cv_lib_lber_ber_init=yes
13359 ac_cv_lib_lber_ber_init=no
13361 rm -f core conftest.err conftest.$ac_objext \
13362 conftest$ac_exeext conftest.$ac_ext
13363 LIBS=$ac_check_lib_save_LIBS
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13366 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13367 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13369 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13371 LDAPLIBS="-lldap_r -llber"
13378 ac_wine_check_funcs_save_LIBS="$LIBS"
13379 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13381 ldap_count_references \
13382 ldap_first_reference \
13383 ldap_next_reference \
13384 ldap_parse_reference \
13385 ldap_parse_sort_control \
13386 ldap_parse_sortresponse_control \
13387 ldap_parse_vlv_control \
13388 ldap_parse_vlvresponse_control
13390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13392 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13393 cat >>confdefs.h <<_ACEOF
13394 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13400 LIBS="$ac_wine_check_funcs_save_LIBS"
13402 if test "x$LDAPLIBS" = "x"; then :
13403 case "x$with_ldap" in
13404 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13406 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13407 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13412 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13413 if ${wine_cv_one_arg_mkdir+:} false; then :
13414 $as_echo_n "(cached) " >&6
13416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13417 /* end confdefs.h. */
13418 #include <sys/stat.h>
13427 if ac_fn_c_try_compile "$LINENO"; then :
13428 wine_cv_one_arg_mkdir=yes
13430 wine_cv_one_arg_mkdir=no
13432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13435 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13436 if test "$wine_cv_one_arg_mkdir" = "yes"
13439 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13444 $as_echo_n "checking for sched_setaffinity... " >&6; }
13445 if ${wine_cv_have_sched_setaffinity+:} false; then :
13446 $as_echo_n "(cached) " >&6
13448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13449 /* end confdefs.h. */
13450 #define _GNU_SOURCE
13455 sched_setaffinity(0, 0, 0);
13460 if ac_fn_c_try_link "$LINENO"; then :
13461 wine_cv_have_sched_setaffinity=yes
13463 wine_cv_have_sched_setaffinity=no
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13469 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13470 if test "$wine_cv_have_sched_setaffinity" = "yes"
13473 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13479 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13480 if ${ac_cv_c_const+:} false; then :
13481 $as_echo_n "(cached) " >&6
13483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13484 /* end confdefs.h. */
13489 /* FIXME: Include the comments suggested by Paul. */
13490 #ifndef __cplusplus
13491 /* Ultrix mips cc rejects this. */
13492 typedef int charset[2];
13494 /* SunOS 4.1.1 cc rejects this. */
13495 char const *const *pcpcc;
13497 /* NEC SVR4.0.2 mips cc rejects this. */
13498 struct point {int x, y;};
13499 static struct point const zero = {0,0};
13500 /* AIX XL C 1.02.0.0 rejects this.
13501 It does not let you subtract one const X* pointer from another in
13502 an arm of an if-expression whose if-part is not a constant
13504 const char *g = "string";
13505 pcpcc = &g + (g ? g-g : 0);
13506 /* HPUX 7.0 cc rejects these. */
13508 ppc = (char**) pcpcc;
13509 pcpcc = (char const *const *) ppc;
13510 { /* SCO 3.2v4 cc rejects this. */
13512 char const *s = 0 ? (char *) 0 : (char const *) 0;
13517 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13518 int x[] = {25, 17};
13519 const int *foo = &x[0];
13522 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13523 typedef const int *iptr;
13527 { /* AIX XL C 1.02.0.0 rejects this saying
13528 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13529 struct s { int j; const int *ap[3]; };
13530 struct s *b; b->j = 5;
13532 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13533 const int foo = 10;
13534 if (!foo) return 0;
13536 return !cs[0] && !zero.x;
13543 if ac_fn_c_try_compile "$LINENO"; then :
13548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13551 $as_echo "$ac_cv_c_const" >&6; }
13552 if test $ac_cv_c_const = no; then
13554 $as_echo "#define const /**/" >>confdefs.h
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13559 $as_echo_n "checking for inline... " >&6; }
13560 if ${ac_cv_c_inline+:} false; then :
13561 $as_echo_n "(cached) " >&6
13564 for ac_kw in inline __inline__ __inline; do
13565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13566 /* end confdefs.h. */
13567 #ifndef __cplusplus
13569 static $ac_kw foo_t static_foo () {return 0; }
13570 $ac_kw foo_t foo () {return 0; }
13574 if ac_fn_c_try_compile "$LINENO"; then :
13575 ac_cv_c_inline=$ac_kw
13577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13578 test "$ac_cv_c_inline" != no && break
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13583 $as_echo "$ac_cv_c_inline" >&6; }
13585 case $ac_cv_c_inline in
13588 case $ac_cv_c_inline in
13590 *) ac_val=$ac_cv_c_inline;;
13592 cat >>confdefs.h <<_ACEOF
13593 #ifndef __cplusplus
13594 #define inline $ac_val
13600 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13601 if test "x$ac_cv_type_mode_t" = xyes; then :
13603 cat >>confdefs.h <<_ACEOF
13604 #define HAVE_MODE_T 1
13609 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13610 if test "x$ac_cv_type_off_t" = xyes; then :
13612 cat >>confdefs.h <<_ACEOF
13613 #define HAVE_OFF_T 1
13618 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13619 if test "x$ac_cv_type_pid_t" = xyes; then :
13621 cat >>confdefs.h <<_ACEOF
13622 #define HAVE_PID_T 1
13627 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13628 if test "x$ac_cv_type_size_t" = xyes; then :
13630 cat >>confdefs.h <<_ACEOF
13631 #define HAVE_SIZE_T 1
13636 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13637 if test "x$ac_cv_type_ssize_t" = xyes; then :
13639 cat >>confdefs.h <<_ACEOF
13640 #define HAVE_SSIZE_T 1
13645 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13646 if test "x$ac_cv_type_long_long" = xyes; then :
13648 cat >>confdefs.h <<_ACEOF
13649 #define HAVE_LONG_LONG 1
13654 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13655 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13657 cat >>confdefs.h <<_ACEOF
13658 #define HAVE_FSBLKCNT_T 1
13663 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13664 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13666 cat >>confdefs.h <<_ACEOF
13667 #define HAVE_FSFILCNT_T 1
13673 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13674 #include <signal.h>
13676 if test "x$ac_cv_type_sigset_t" = xyes; then :
13678 cat >>confdefs.h <<_ACEOF
13679 #define HAVE_SIGSET_T 1
13685 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13687 if test "x$ac_cv_type_request_sense" = xyes; then :
13689 cat >>confdefs.h <<_ACEOF
13690 #define HAVE_REQUEST_SENSE 1
13697 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13698 #ifdef HAVE_SYS_SOCKET_H
13699 #include <sys/socket.h>
13701 #ifdef HAVE_SYS_SOCKETVAR_H
13702 #include <sys/socketvar.h>
13704 #ifdef HAVE_NET_ROUTE_H
13705 #include <net/route.h>
13707 #ifdef HAVE_NETINET_IN_H
13708 #include <netinet/in.h>
13710 #ifdef HAVE_NETINET_IN_SYSTM_H
13711 #include <netinet/in_systm.h>
13713 #ifdef HAVE_NETINET_IP_H
13714 #include <netinet/ip.h>
13716 #ifdef HAVE_NETINET_IN_PCB_H
13717 #include <netinet/in_pcb.h>
13720 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13722 cat >>confdefs.h <<_ACEOF
13723 #define HAVE_STRUCT_XINPGEN 1
13730 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13731 #include <linux/input.h>
13734 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13736 cat >>confdefs.h <<_ACEOF
13737 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13745 $as_echo_n "checking for sigaddset... " >&6; }
13746 if ${wine_cv_have_sigaddset+:} false; then :
13747 $as_echo_n "(cached) " >&6
13749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13750 /* end confdefs.h. */
13751 #include <signal.h>
13755 sigset_t set; sigaddset(&set,SIGTERM);
13760 if ac_fn_c_try_link "$LINENO"; then :
13761 wine_cv_have_sigaddset=yes
13763 wine_cv_have_sigaddset=no
13765 rm -f core conftest.err conftest.$ac_objext \
13766 conftest$ac_exeext conftest.$ac_ext
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13769 $as_echo "$wine_cv_have_sigaddset" >&6; }
13770 if test "$wine_cv_have_sigaddset" = "yes"
13773 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13779 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13780 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13781 $as_echo_n "(cached) " >&6
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13792 struct hostent *result;
13799 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13800 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13806 if ac_fn_c_try_link "$LINENO"; then :
13807 wine_cv_linux_gethostbyname_r_6=yes
13809 wine_cv_linux_gethostbyname_r_6=no
13812 rm -f core conftest.err conftest.$ac_objext \
13813 conftest$ac_exeext conftest.$ac_ext
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13817 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13818 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13821 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13825 if test "$ac_cv_header_linux_joystick_h" = "yes"
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13828 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13829 if ${wine_cv_linux_joystick_22_api+:} false; then :
13830 $as_echo_n "(cached) " >&6
13832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13833 /* end confdefs.h. */
13835 #include <sys/ioctl.h>
13836 #include <sys/types.h>
13837 #include <linux/joystick.h>
13839 struct js_event blub;
13840 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13841 #error "no 2.2 header"
13852 if ac_fn_c_try_compile "$LINENO"; then :
13853 wine_cv_linux_joystick_22_api=yes
13855 wine_cv_linux_joystick_22_api=no
13857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13861 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13862 if test "$wine_cv_linux_joystick_22_api" = "yes"
13865 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13871 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13872 #ifdef HAVE_SYS_PARAM_H
13873 # include <sys/param.h>
13875 #ifdef HAVE_SYS_MOUNT_H
13876 # include <sys/mount.h>
13878 #ifdef HAVE_SYS_VFS_H
13879 # include <sys/vfs.h>
13881 #ifdef HAVE_SYS_STATFS_H
13882 # include <sys/statfs.h>
13885 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
13887 cat >>confdefs.h <<_ACEOF
13888 #define HAVE_STRUCT_STATFS_F_BFREE 1
13893 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13894 #ifdef HAVE_SYS_PARAM_H
13895 # include <sys/param.h>
13897 #ifdef HAVE_SYS_MOUNT_H
13898 # include <sys/mount.h>
13900 #ifdef HAVE_SYS_VFS_H
13901 # include <sys/vfs.h>
13903 #ifdef HAVE_SYS_STATFS_H
13904 # include <sys/statfs.h>
13907 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
13909 cat >>confdefs.h <<_ACEOF
13910 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13915 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13916 #ifdef HAVE_SYS_PARAM_H
13917 # include <sys/param.h>
13919 #ifdef HAVE_SYS_MOUNT_H
13920 # include <sys/mount.h>
13922 #ifdef HAVE_SYS_VFS_H
13923 # include <sys/vfs.h>
13925 #ifdef HAVE_SYS_STATFS_H
13926 # include <sys/statfs.h>
13929 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
13931 cat >>confdefs.h <<_ACEOF
13932 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13937 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13938 #ifdef HAVE_SYS_PARAM_H
13939 # include <sys/param.h>
13941 #ifdef HAVE_SYS_MOUNT_H
13942 # include <sys/mount.h>
13944 #ifdef HAVE_SYS_VFS_H
13945 # include <sys/vfs.h>
13947 #ifdef HAVE_SYS_STATFS_H
13948 # include <sys/statfs.h>
13951 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
13953 cat >>confdefs.h <<_ACEOF
13954 #define HAVE_STRUCT_STATFS_F_FFREE 1
13959 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13960 #ifdef HAVE_SYS_PARAM_H
13961 # include <sys/param.h>
13963 #ifdef HAVE_SYS_MOUNT_H
13964 # include <sys/mount.h>
13966 #ifdef HAVE_SYS_VFS_H
13967 # include <sys/vfs.h>
13969 #ifdef HAVE_SYS_STATFS_H
13970 # include <sys/statfs.h>
13973 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
13975 cat >>confdefs.h <<_ACEOF
13976 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13981 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13982 #ifdef HAVE_SYS_PARAM_H
13983 # include <sys/param.h>
13985 #ifdef HAVE_SYS_MOUNT_H
13986 # include <sys/mount.h>
13988 #ifdef HAVE_SYS_VFS_H
13989 # include <sys/vfs.h>
13991 #ifdef HAVE_SYS_STATFS_H
13992 # include <sys/statfs.h>
13995 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
13997 cat >>confdefs.h <<_ACEOF
13998 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14005 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14006 #include <sys/statvfs.h>
14009 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14011 cat >>confdefs.h <<_ACEOF
14012 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14019 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14020 #ifdef HAVE_SYS_SOCKET_H
14021 # include <sys/socket.h>
14023 #ifdef HAVE_SYS_UN_H
14024 # include <sys/un.h>
14027 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14029 cat >>confdefs.h <<_ACEOF
14030 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14035 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14036 #ifdef HAVE_SYS_SOCKET_H
14037 # include <sys/socket.h>
14039 #ifdef HAVE_SYS_UN_H
14040 # include <sys/un.h>
14043 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14045 cat >>confdefs.h <<_ACEOF
14046 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14051 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14052 #ifdef HAVE_SYS_SOCKET_H
14053 # include <sys/socket.h>
14055 #ifdef HAVE_SYS_UN_H
14056 # include <sys/un.h>
14059 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14061 cat >>confdefs.h <<_ACEOF
14062 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14069 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14070 #ifdef HAVE_SCSI_SG_H
14071 #include <scsi/sg.h>
14074 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14076 cat >>confdefs.h <<_ACEOF
14077 #define HAVE_SCSIREQ_T_CMD 1
14082 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>
14083 #ifdef HAVE_SCSI_SG_H
14084 #include <scsi/sg.h>
14087 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14089 cat >>confdefs.h <<_ACEOF
14090 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14097 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14099 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14101 cat >>confdefs.h <<_ACEOF
14102 #define HAVE_SIGINFO_T_SI_FD 1
14109 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14110 #ifdef HAVE_SYS_MTIO_H
14111 #include <sys/mtio.h>
14114 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14116 cat >>confdefs.h <<_ACEOF
14117 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14122 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14123 #ifdef HAVE_SYS_MTIO_H
14124 #include <sys/mtio.h>
14127 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14129 cat >>confdefs.h <<_ACEOF
14130 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14135 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14136 #ifdef HAVE_SYS_MTIO_H
14137 #include <sys/mtio.h>
14140 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14142 cat >>confdefs.h <<_ACEOF
14143 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14150 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14151 #include <getopt.h>
14154 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14156 cat >>confdefs.h <<_ACEOF
14157 #define HAVE_STRUCT_OPTION_NAME 1
14164 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14165 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14167 cat >>confdefs.h <<_ACEOF
14168 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14173 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14174 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14176 cat >>confdefs.h <<_ACEOF
14177 #define HAVE_STRUCT_STAT_ST_MTIM 1
14182 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14183 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14185 cat >>confdefs.h <<_ACEOF
14186 #define HAVE_STRUCT_STAT_ST_CTIM 1
14191 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14192 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14194 cat >>confdefs.h <<_ACEOF
14195 #define HAVE_STRUCT_STAT_ST_ATIM 1
14202 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
14203 #include <sys/types.h>
14205 #ifdef HAVE_NETINET_IN_H
14206 #include <netinet/in.h>
14209 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14211 cat >>confdefs.h <<_ACEOF
14212 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14219 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14220 #include <sys/types.h>
14222 #ifdef HAVE_NETINET_IN_H
14223 # include <netinet/in.h>
14225 #ifdef HAVE_ARPA_NAMESER_H
14226 # include <arpa/nameser.h>
14229 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14231 cat >>confdefs.h <<_ACEOF
14232 #define HAVE_NS_MSG__MSG_PTR 1
14239 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14240 #include <sys/types.h>
14242 #ifdef HAVE_ALIAS_H
14245 #ifdef HAVE_SYS_SOCKET_H
14246 #include <sys/socket.h>
14248 #ifdef HAVE_SYS_SOCKETVAR_H
14249 #include <sys/socketvar.h>
14251 #ifdef HAVE_SYS_TIMEOUT_H
14252 #include <sys/timeout.h>
14254 #ifdef HAVE_NETINET_IN_H
14255 #include <netinet/in.h>
14257 #ifdef HAVE_NETINET_IN_SYSTM_H
14258 #include <netinet/in_systm.h>
14260 #ifdef HAVE_NETINET_IP_H
14261 #include <netinet/ip.h>
14263 #ifdef HAVE_NETINET_IP_VAR_H
14264 #include <netinet/ip_var.h>
14266 #ifdef HAVE_NETINET_IP_ICMP_H
14267 #include <netinet/ip_icmp.h>
14269 #ifdef HAVE_NETINET_ICMP_VAR
14270 #include <netinet/icmp_var.h>
14273 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14275 cat >>confdefs.h <<_ACEOF
14276 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14283 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14284 #include <sys/types.h>
14286 #ifdef HAVE_NET_IF_H
14287 # include <net/if.h>
14290 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14292 cat >>confdefs.h <<_ACEOF
14293 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14301 $as_echo_n "checking for timezone variable... " >&6; }
14302 if ${ac_cv_have_timezone+:} false; then :
14303 $as_echo_n "(cached) " >&6
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 ac_cv_have_timezone="yes"
14319 ac_cv_have_timezone="no"
14321 rm -f core conftest.err conftest.$ac_objext \
14322 conftest$ac_exeext conftest.$ac_ext
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14325 $as_echo "$ac_cv_have_timezone" >&6; }
14326 if test "$ac_cv_have_timezone" = "yes"
14329 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14333 $as_echo_n "checking for daylight variable... " >&6; }
14334 if ${ac_cv_have_daylight+:} false; then :
14335 $as_echo_n "(cached) " >&6
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14348 if ac_fn_c_try_link "$LINENO"; then :
14349 ac_cv_have_daylight="yes"
14351 ac_cv_have_daylight="no"
14353 rm -f core conftest.err conftest.$ac_objext \
14354 conftest$ac_exeext conftest.$ac_ext
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14357 $as_echo "$ac_cv_have_daylight" >&6; }
14358 if test "$ac_cv_have_daylight" = "yes"
14361 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14366 $as_echo_n "checking for isinf... " >&6; }
14367 if ${ac_cv_have_isinf+:} false; then :
14368 $as_echo_n "(cached) " >&6
14370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14371 /* end confdefs.h. */
14376 float f = 0.0; int i=isinf(f)
14381 if ac_fn_c_try_link "$LINENO"; then :
14382 ac_cv_have_isinf="yes"
14384 ac_cv_have_isinf="no"
14386 rm -f core conftest.err conftest.$ac_objext \
14387 conftest$ac_exeext conftest.$ac_ext
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14390 $as_echo "$ac_cv_have_isinf" >&6; }
14391 if test "$ac_cv_have_isinf" = "yes"
14394 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14399 $as_echo_n "checking for isnan... " >&6; }
14400 if ${ac_cv_have_isnan+:} false; then :
14401 $as_echo_n "(cached) " >&6
14403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14404 /* end confdefs.h. */
14409 float f = 0.0; int i=isnan(f)
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 ac_cv_have_isnan="yes"
14417 ac_cv_have_isnan="no"
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14423 $as_echo "$ac_cv_have_isnan" >&6; }
14424 if test "$ac_cv_have_isnan" = "yes"
14427 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14433 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14434 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14435 if ${ac_cv_cpp_def___i386__+:} false; then :
14436 $as_echo_n "(cached) " >&6
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14445 $EGREP "yes" >/dev/null 2>&1; then :
14446 ac_cv_cpp_def___i386__=yes
14448 ac_cv_cpp_def___i386__=no
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14454 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14455 if test $ac_cv_cpp_def___i386__ = yes; then :
14456 CFLAGS="$CFLAGS -D__i386__"
14457 LINTFLAGS="$LINTFLAGS -D__i386__"
14459 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14460 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14461 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14462 $as_echo_n "(cached) " >&6
14464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14465 /* end confdefs.h. */
14470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14471 $EGREP "yes" >/dev/null 2>&1; then :
14472 ac_cv_cpp_def___x86_64__=yes
14474 ac_cv_cpp_def___x86_64__=no
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14480 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14481 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14482 CFLAGS="$CFLAGS -D__x86_64__"
14483 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14485 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14486 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14487 if ${ac_cv_cpp_def___sparc__+:} false; then :
14488 $as_echo_n "(cached) " >&6
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14497 $EGREP "yes" >/dev/null 2>&1; then :
14498 ac_cv_cpp_def___sparc__=yes
14500 ac_cv_cpp_def___sparc__=no
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14506 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14507 if test $ac_cv_cpp_def___sparc__ = yes; then :
14508 CFLAGS="$CFLAGS -D__sparc__"
14509 LINTFLAGS="$LINTFLAGS -D__sparc__"
14511 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14512 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14513 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14514 $as_echo_n "(cached) " >&6
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518 #ifndef __powerpc__
14522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14523 $EGREP "yes" >/dev/null 2>&1; then :
14524 ac_cv_cpp_def___powerpc__=yes
14526 ac_cv_cpp_def___powerpc__=no
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14532 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14533 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14534 CFLAGS="$CFLAGS -D__powerpc__"
14535 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14537 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14538 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14539 if ${ac_cv_cpp_def___arm__+:} false; then :
14540 $as_echo_n "(cached) " >&6
14542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14549 $EGREP "yes" >/dev/null 2>&1; then :
14550 ac_cv_cpp_def___arm__=yes
14552 ac_cv_cpp_def___arm__=no
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14558 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14559 if test $ac_cv_cpp_def___arm__ = yes; then :
14560 CFLAGS="$CFLAGS -D__arm__"
14561 LINTFLAGS="$LINTFLAGS -D__arm__"
14565 case $host_vendor in
14566 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14567 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14568 if ${ac_cv_cpp_def___sun__+:} false; then :
14569 $as_echo_n "(cached) " >&6
14571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14572 /* end confdefs.h. */
14577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14578 $EGREP "yes" >/dev/null 2>&1; then :
14579 ac_cv_cpp_def___sun__=yes
14581 ac_cv_cpp_def___sun__=no
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14587 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14588 if test $ac_cv_cpp_def___sun__ = yes; then :
14589 CFLAGS="$CFLAGS -D__sun__"
14590 LINTFLAGS="$LINTFLAGS -D__sun__"
14598 ac_config_commands="$ac_config_commands include/stamp-h"
14601 ALL_MAKEFILE_DEPENDS="
14602 # Rules automatically generated by configure
14607 Makefile: Makefile.in Make.vars.in Make.rules config.status
14608 @./config.status Make.tmp Makefile"
14611 ALL_TEST_BINARIES=""
14614 wine_fn_append_file ()
14616 as_fn_append $1 " \\$as_nl $2"
14619 wine_fn_append_rule ()
14621 as_fn_append $1 "$as_nl$2"
14624 wine_fn_has_flag ()
14626 expr ",$2," : ".*,$1,.*" >/dev/null
14629 wine_fn_all_dir_rules ()
14633 ac_makedep="\$(MAKEDEP)"
14634 ac_input=Make.vars.in:$ac_dir/Makefile.in
14635 if test $ac_dir != tools
14637 ac_alldeps="$2 $ac_makedep"
14640 *.in) ac_input=$ac_input:$2 ;;
14641 *) ac_makedep="$2 $ac_makedep" ;;
14644 wine_fn_append_file ALL_DIRS $ac_dir
14645 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14646 "__clean__: $ac_dir/__clean__
14647 .PHONY: $ac_dir/__clean__
14648 $ac_dir/__clean__: $ac_dir/Makefile
14649 @cd $ac_dir && \$(MAKE) clean
14650 \$(RM) $ac_dir/Makefile
14651 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14652 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14653 depend: $ac_dir/__depend__
14654 .PHONY: $ac_dir/__depend__
14655 $ac_dir/__depend__: $ac_makedep dummy
14656 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14659 wine_fn_config_makefile ()
14663 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14667 wine_fn_all_dir_rules $ac_dir Make.rules
14668 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14671 $ac_dir: $ac_dir/Makefile dummy
14672 @cd $ac_dir && \$(MAKE)
14674 @cd $ac_dir && \$(MAKE) install
14675 install-lib:: $ac_dir
14676 @cd $ac_dir && \$(MAKE) install-lib
14677 install-dev:: $ac_dir
14678 @cd $ac_dir && \$(MAKE) install-dev
14679 uninstall:: $ac_dir/Makefile
14680 @cd $ac_dir && \$(MAKE) uninstall"
14683 wine_fn_config_lib ()
14686 ac_dir=dlls/$ac_name
14687 wine_fn_all_dir_rules $ac_dir dlls/Makeimplib.rules
14688 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14689 "all __builddeps__: $ac_dir
14690 $ac_dir: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include dummy
14691 @cd $ac_dir && \$(MAKE)
14692 install install-dev:: $ac_dir
14693 @cd $ac_dir && \$(MAKE) install
14694 uninstall:: $ac_dir/Makefile
14695 @cd $ac_dir && \$(MAKE) uninstall"
14698 wine_fn_config_dll ()
14701 ac_dir=dlls/$ac_name
14704 ac_implib=${4:-$ac_name}
14705 ac_file=$ac_dir/lib$ac_implib
14706 ac_deps="tools/widl tools/winebuild tools/winegcc include"
14710 *16) ac_implibflags=" -m16" ;;
14713 wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
14715 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14716 test "$ac_enable" != enable_win16 || return 0
14718 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14721 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14722 @cd $ac_dir && \$(MAKE)
14723 install:: $ac_dir/Makefile __builddeps__
14724 @cd $ac_dir && \$(MAKE) install
14725 install-lib:: $ac_dir/Makefile __builddeps__
14726 @cd $ac_dir && \$(MAKE) install-lib
14727 uninstall manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14728 @cd $ac_dir && \$(MAKE) \$@"
14730 if test "x$enable_maintainer_mode" = xyes
14732 if wine_fn_has_flag mc $ac_flags
14734 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14735 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14736 "$ac_dir/msg.pot: $ac_dir"
14738 if wine_fn_has_flag po $ac_flags
14740 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14741 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14742 "$ac_dir/rsrc.pot: $ac_dir"
14747 if wine_fn_has_flag staticimplib $ac_flags
14749 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14750 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14751 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14752 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14753 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14754 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14755 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14756 install-dev:: $ac_dir/Makefile __builddeps__
14757 @cd $ac_dir && \$(MAKE) install-dev"
14758 if test "x$CROSSTEST_DISABLE" = x
14760 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14761 "__builddeps__: $ac_file.cross.a
14762 $ac_file.cross.a: $ac_dir/Makefile dummy
14763 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14766 elif wine_fn_has_flag implib $ac_flags
14768 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14769 "__builddeps__: $ac_file.$IMPLIBEXT
14770 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14771 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14772 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14773 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14774 install-dev:: $ac_dir/Makefile __builddeps__
14775 @cd $ac_dir && \$(MAKE) install-dev"
14776 if test "x$CROSSTEST_DISABLE" = x
14778 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14779 "__builddeps__: $ac_file.cross.a
14780 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14781 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14784 if test "$ac_name" != "$ac_implib"
14786 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14787 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14788 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14789 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14791 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14792 if test "x$CROSSTEST_DISABLE" = x
14794 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14795 "__builddeps__: dlls/lib$ac_implib.cross.a
14796 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14797 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14803 wine_fn_config_program ()
14806 ac_dir=programs/$ac_name
14809 wine_fn_all_dir_rules $ac_dir programs/Makeprog.rules
14811 if eval test \"x\$"$ac_enable"\" = x"no"; then :
14814 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14817 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14818 @cd $ac_dir && \$(MAKE)"
14820 if test "x$enable_maintainer_mode" = xyes
14822 if wine_fn_has_flag mc $ac_flags
14824 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
14825 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14826 "$ac_dir/msg.pot: $ac_dir"
14828 if wine_fn_has_flag po $ac_flags
14830 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
14831 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14832 "$ac_dir/rsrc.pot: $ac_dir"
14836 wine_fn_has_flag install $ac_flags || return
14837 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14838 "install install-lib:: $ac_dir/Makefile __builddeps__
14839 @cd $ac_dir && \$(MAKE) install
14840 uninstall:: $ac_dir/Makefile
14841 @cd $ac_dir && \$(MAKE) uninstall"
14842 if test -n "$DLLEXT" -a "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
14844 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14845 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14846 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14848 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14853 wine_fn_config_test ()
14857 wine_fn_append_file ALL_TEST_BINARIES $ac_name.exe
14858 wine_fn_all_dir_rules $ac_dir Maketest.rules
14860 if test "x$enable_tests" = xno; then :
14863 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14864 "all $ac_dir/$ac_name.exe$DLLEXT: $ac_dir
14866 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14867 @cd $ac_dir && \$(MAKE)
14868 programs/winetest/$ac_name.exe: $ac_dir/$ac_name.exe$DLLEXT
14869 cp $ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14870 programs/winetest/$ac_name.res: programs/winetest/$ac_name.exe
14871 echo \"$ac_name.exe TESTRES \\\"programs/winetest/$ac_name.exe\\\"\" | \$(LDPATH) \$(WRC) \$(RCFLAGS) -o \$@
14872 programs/winetest: programs/winetest/$ac_name.res
14873 check test: $ac_dir/__test__
14874 .PHONY: $ac_dir/__test__
14875 $ac_dir/__test__: dummy
14876 @cd $ac_dir && \$(MAKE) test
14878 \$(RM) $ac_dir/*.ok"
14880 if test "x$CROSSTEST_DISABLE" = x
14882 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14883 "crosstest: $ac_dir/__crosstest__
14884 .PHONY: $ac_dir/__crosstest__
14885 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14886 @cd $ac_dir && \$(MAKE) crosstest"
14891 wine_fn_config_tool ()
14894 if test "x$enable_tools" = xno; then :
14898 wine_fn_all_dir_rules $ac_dir Make.rules
14901 tools) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14903 @cd $ac_dir && \$(MAKE) install
14904 install-lib:: $ac_dir
14905 @cd $ac_dir && \$(MAKE) install-lib
14906 install-dev:: $ac_dir
14907 @cd $ac_dir && \$(MAKE) install-dev" ;;
14908 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14909 "install install-dev:: $ac_dir
14910 @cd $ac_dir && \$(MAKE) install" ;;
14912 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14913 "uninstall:: $ac_dir/Makefile
14914 @cd $ac_dir && \$(MAKE) uninstall
14915 all __tooldeps__: $ac_dir
14917 $ac_dir: $ac_dir/Makefile libs/port dummy
14918 @cd $ac_dir && \$(MAKE)"
14920 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
14924 wine_fn_config_makerules ()
14928 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14929 "$ac_rules: $ac_rules.in $ac_deps config.status
14930 @./config.status $ac_rules
14935 wine_fn_config_symlink ()
14938 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14940 @./config.status $ac_link
14945 if test "x$CROSSTEST_DISABLE" != x
14947 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14949 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14951 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14952 wine_fn_config_symlink dlls/shell32/AUTHORS
14953 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14954 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
14955 if test "x$enable_fonts" != xno; then
14956 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14957 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
14959 if test "x$enable_fonts" != xno; then
14960 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14961 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
14963 if test "x$enable_fonts" != xno; then
14964 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14965 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
14967 if test "x$enable_fonts" != xno; then
14968 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14969 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
14971 if test "x$enable_tools" != xno; then
14972 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14973 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
14975 ac_config_links="$ac_config_links wine:tools/winewrapper"
14976 wine_fn_config_symlink wine
14977 if test "x$enable_win64" != xno; then
14978 ac_config_links="$ac_config_links wine64:tools/winewrapper"
14979 wine_fn_config_symlink wine64
14982 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
14984 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
14986 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
14988 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
14990 ac_config_commands="$ac_config_commands dlls/user32/resources"
14992 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
14994 ac_config_commands="$ac_config_commands include/wine"
14997 wine_fn_config_makerules Make.rules
14998 MAKE_RULES=Make.rules
14999 ac_config_files="$ac_config_files Make.rules"
15001 wine_fn_config_makerules Maketest.rules Make.rules
15002 MAKE_TEST_RULES=Maketest.rules
15003 ac_config_files="$ac_config_files Maketest.rules"
15005 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15006 MAKE_DLL_RULES=dlls/Makedll.rules
15007 ac_config_files="$ac_config_files dlls/Makedll.rules"
15009 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15010 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15011 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15013 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15014 MAKE_PROG_RULES=programs/Makeprog.rules
15015 ac_config_files="$ac_config_files programs/Makeprog.rules"
15018 wine_fn_config_dll acledit enable_acledit
15019 wine_fn_config_dll aclui enable_aclui implib
15020 wine_fn_config_dll activeds enable_activeds implib
15021 wine_fn_config_dll actxprxy enable_actxprxy
15022 wine_fn_config_lib adsiid
15023 wine_fn_config_dll advapi32 enable_advapi32 implib
15024 wine_fn_config_test dlls/advapi32/tests advapi32_test
15025 wine_fn_config_dll advpack enable_advpack implib
15026 wine_fn_config_test dlls/advpack/tests advpack_test
15027 wine_fn_config_dll amstream enable_amstream
15028 wine_fn_config_test dlls/amstream/tests amstream_test
15029 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15030 wine_fn_config_dll atl enable_atl implib
15031 wine_fn_config_test dlls/atl/tests atl_test
15032 wine_fn_config_dll authz enable_authz
15033 wine_fn_config_dll avicap32 enable_avicap32 implib
15034 wine_fn_config_dll avifil32 enable_avifil32 po,implib
15035 wine_fn_config_test dlls/avifil32/tests avifil32_test
15036 wine_fn_config_dll avifile.dll16 enable_win16
15037 wine_fn_config_dll avrt enable_avrt implib
15038 wine_fn_config_dll bcrypt enable_bcrypt
15039 wine_fn_config_dll browseui enable_browseui po
15040 wine_fn_config_test dlls/browseui/tests browseui_test
15041 wine_fn_config_dll cabinet enable_cabinet implib
15042 wine_fn_config_test dlls/cabinet/tests cabinet_test
15043 wine_fn_config_dll capi2032 enable_capi2032 implib
15044 wine_fn_config_dll cards enable_cards implib
15045 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15046 wine_fn_config_dll clusapi enable_clusapi implib
15047 wine_fn_config_dll comcat enable_comcat
15048 wine_fn_config_test dlls/comcat/tests comcat_test
15049 wine_fn_config_dll comctl32 enable_comctl32 po,implib
15050 wine_fn_config_test dlls/comctl32/tests comctl32_test
15051 wine_fn_config_dll comdlg32 enable_comdlg32 po,implib
15052 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15053 wine_fn_config_dll comm.drv16 enable_win16
15054 wine_fn_config_dll commdlg.dll16 enable_win16
15055 wine_fn_config_dll compobj.dll16 enable_win16
15056 wine_fn_config_dll compstui enable_compstui implib
15057 wine_fn_config_dll credui enable_credui po,implib
15058 wine_fn_config_test dlls/credui/tests credui_test
15059 wine_fn_config_dll crtdll enable_crtdll implib
15060 wine_fn_config_dll crypt32 enable_crypt32 po,implib
15061 wine_fn_config_test dlls/crypt32/tests crypt32_test
15062 wine_fn_config_dll cryptdlg enable_cryptdlg po
15063 wine_fn_config_dll cryptdll enable_cryptdll implib
15064 wine_fn_config_dll cryptnet enable_cryptnet implib
15065 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15066 wine_fn_config_dll cryptui enable_cryptui po,implib
15067 wine_fn_config_test dlls/cryptui/tests cryptui_test
15068 wine_fn_config_dll ctapi32 enable_ctapi32
15069 wine_fn_config_dll ctl3d.dll16 enable_win16
15070 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15071 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15072 wine_fn_config_dll d3d10 enable_d3d10 implib
15073 wine_fn_config_test dlls/d3d10/tests d3d10_test
15074 wine_fn_config_dll d3d10core enable_d3d10core implib
15075 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15076 wine_fn_config_dll d3d8 enable_d3d8 implib
15077 wine_fn_config_test dlls/d3d8/tests d3d8_test
15078 wine_fn_config_dll d3d9 enable_d3d9 implib
15079 wine_fn_config_test dlls/d3d9/tests d3d9_test
15080 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15081 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15082 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15083 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15084 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15085 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15086 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15087 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15088 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15089 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15090 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15091 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15092 wine_fn_config_dll d3dim enable_d3dim implib
15093 wine_fn_config_dll d3drm enable_d3drm implib
15094 wine_fn_config_test dlls/d3drm/tests d3drm_test
15095 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15096 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15097 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15098 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15099 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15100 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15101 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15102 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15103 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15104 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15105 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15106 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15107 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15108 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15109 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15110 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15111 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15112 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15113 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15114 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15115 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15116 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15117 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15118 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15119 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15120 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15121 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15122 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15123 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15124 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15125 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15126 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15127 wine_fn_config_dll d3dxof enable_d3dxof implib
15128 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15129 wine_fn_config_dll dbgeng enable_dbgeng implib
15130 wine_fn_config_dll dbghelp enable_dbghelp implib
15131 wine_fn_config_dll dciman32 enable_dciman32 implib
15132 wine_fn_config_dll ddeml.dll16 enable_win16
15133 wine_fn_config_dll ddraw enable_ddraw implib
15134 wine_fn_config_test dlls/ddraw/tests ddraw_test
15135 wine_fn_config_dll ddrawex enable_ddrawex
15136 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15137 wine_fn_config_dll devenum enable_devenum po
15138 wine_fn_config_dll dinput enable_dinput implib,staticimplib
15139 wine_fn_config_test dlls/dinput/tests dinput_test
15140 wine_fn_config_dll dinput8 enable_dinput8 implib
15141 wine_fn_config_test dlls/dinput8/tests dinput8_test
15142 wine_fn_config_dll dispdib.dll16 enable_win16
15143 wine_fn_config_dll dispex enable_dispex
15144 wine_fn_config_test dlls/dispex/tests dispex_test
15145 wine_fn_config_dll display.drv16 enable_win16
15146 wine_fn_config_dll dmband enable_dmband
15147 wine_fn_config_dll dmcompos enable_dmcompos
15148 wine_fn_config_dll dmime enable_dmime
15149 wine_fn_config_test dlls/dmime/tests dmime_test
15150 wine_fn_config_dll dmloader enable_dmloader
15151 wine_fn_config_test dlls/dmloader/tests dmloader_test
15152 wine_fn_config_dll dmscript enable_dmscript
15153 wine_fn_config_dll dmstyle enable_dmstyle
15154 wine_fn_config_dll dmsynth enable_dmsynth
15155 wine_fn_config_dll dmusic enable_dmusic
15156 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15157 wine_fn_config_dll dnsapi enable_dnsapi implib
15158 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15159 wine_fn_config_dll dplay enable_dplay implib
15160 wine_fn_config_dll dplayx enable_dplayx implib
15161 wine_fn_config_test dlls/dplayx/tests dplayx_test
15162 wine_fn_config_dll dpnaddr enable_dpnaddr
15163 wine_fn_config_dll dpnet enable_dpnet implib
15164 wine_fn_config_dll dpnhpast enable_dpnhpast
15165 wine_fn_config_dll dpnlobby enable_dpnlobby
15166 wine_fn_config_dll dpwsockx enable_dpwsockx
15167 wine_fn_config_dll drmclien enable_drmclien
15168 wine_fn_config_dll dsound enable_dsound implib
15169 wine_fn_config_test dlls/dsound/tests dsound_test
15170 wine_fn_config_dll dssenh enable_dssenh
15171 wine_fn_config_dll dswave enable_dswave
15172 wine_fn_config_dll dwmapi enable_dwmapi implib
15173 wine_fn_config_dll dxdiagn enable_dxdiagn po
15174 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15175 wine_fn_config_lib dxerr8
15176 wine_fn_config_lib dxerr9
15177 wine_fn_config_dll dxgi enable_dxgi implib
15178 wine_fn_config_test dlls/dxgi/tests dxgi_test
15179 wine_fn_config_lib dxguid
15180 wine_fn_config_dll explorerframe enable_explorerframe
15181 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15182 wine_fn_config_dll faultrep enable_faultrep implib
15183 wine_fn_config_test dlls/faultrep/tests faultrep_test
15184 wine_fn_config_dll fltlib enable_fltlib
15185 wine_fn_config_dll fusion enable_fusion
15186 wine_fn_config_test dlls/fusion/tests fusion_test
15187 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15188 wine_fn_config_dll gameux enable_gameux
15189 wine_fn_config_test dlls/gameux/tests gameux_test
15190 wine_fn_config_dll gdi.exe16 enable_win16
15191 wine_fn_config_dll gdi32 enable_gdi32 implib
15192 wine_fn_config_test dlls/gdi32/tests gdi32_test
15193 wine_fn_config_dll gdiplus enable_gdiplus implib
15194 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15195 wine_fn_config_dll glu32 enable_glu32 implib
15196 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
15197 wine_fn_config_dll gpkcsp enable_gpkcsp
15198 wine_fn_config_dll hal enable_hal
15199 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15200 wine_fn_config_dll hid enable_hid implib
15201 wine_fn_config_dll hlink enable_hlink implib
15202 wine_fn_config_test dlls/hlink/tests hlink_test
15203 wine_fn_config_dll hnetcfg enable_hnetcfg
15204 wine_fn_config_dll httpapi enable_httpapi
15205 wine_fn_config_dll iccvid enable_iccvid po
15206 wine_fn_config_dll icmp enable_icmp
15207 wine_fn_config_dll ifsmgr.vxd enable_win16
15208 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15209 wine_fn_config_dll imagehlp enable_imagehlp implib
15210 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15211 wine_fn_config_dll imm.dll16 enable_win16
15212 wine_fn_config_dll imm32 enable_imm32 implib
15213 wine_fn_config_test dlls/imm32/tests imm32_test
15214 wine_fn_config_dll inetcomm enable_inetcomm implib
15215 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15216 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15217 wine_fn_config_dll inetmib1 enable_inetmib1
15218 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15219 wine_fn_config_dll infosoft enable_infosoft
15220 wine_fn_config_test dlls/infosoft/tests infosoft_test
15221 wine_fn_config_dll initpki enable_initpki
15222 wine_fn_config_dll inkobj enable_inkobj
15223 wine_fn_config_dll inseng enable_inseng
15224 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15225 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15226 wine_fn_config_dll itircl enable_itircl
15227 wine_fn_config_dll itss enable_itss
15228 wine_fn_config_test dlls/itss/tests itss_test
15229 wine_fn_config_dll jscript enable_jscript po
15230 wine_fn_config_test dlls/jscript/tests jscript_test
15231 wine_fn_config_dll kernel32 enable_kernel32 mc,implib
15232 wine_fn_config_test dlls/kernel32/tests kernel32_test
15233 wine_fn_config_dll keyboard.drv16 enable_win16
15234 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15235 wine_fn_config_dll ktmw32 enable_ktmw32
15236 wine_fn_config_dll loadperf enable_loadperf implib
15237 wine_fn_config_dll localspl enable_localspl po
15238 wine_fn_config_test dlls/localspl/tests localspl_test
15239 wine_fn_config_dll localui enable_localui po
15240 wine_fn_config_test dlls/localui/tests localui_test
15241 wine_fn_config_dll lz32 enable_lz32 implib
15242 wine_fn_config_test dlls/lz32/tests lz32_test
15243 wine_fn_config_dll lzexpand.dll16 enable_win16
15244 wine_fn_config_dll mapi32 enable_mapi32 po,implib
15245 wine_fn_config_test dlls/mapi32/tests mapi32_test
15246 wine_fn_config_dll mapistub enable_mapistub
15247 wine_fn_config_dll mciavi32 enable_mciavi32
15248 wine_fn_config_dll mcicda enable_mcicda
15249 wine_fn_config_dll mciqtz32 enable_mciqtz32
15250 wine_fn_config_dll mciseq enable_mciseq
15251 wine_fn_config_dll mciwave enable_mciwave
15252 wine_fn_config_dll midimap enable_midimap
15253 wine_fn_config_dll mlang enable_mlang implib
15254 wine_fn_config_test dlls/mlang/tests mlang_test
15255 wine_fn_config_dll mmdevapi enable_mmdevapi
15256 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15257 wine_fn_config_dll mmdevldr.vxd enable_win16
15258 wine_fn_config_dll mmsystem.dll16 enable_win16
15259 wine_fn_config_dll monodebg.vxd enable_win16
15260 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15261 wine_fn_config_dll mouse.drv16 enable_win16
15262 wine_fn_config_dll mpr enable_mpr po,implib
15263 wine_fn_config_dll mprapi enable_mprapi implib
15264 wine_fn_config_dll msacm.dll16 enable_win16
15265 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15266 wine_fn_config_dll msacm32 enable_msacm32 implib
15267 wine_fn_config_test dlls/msacm32/tests msacm32_test
15268 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15269 wine_fn_config_dll mscat32 enable_mscat32
15270 wine_fn_config_dll mscms enable_mscms implib
15271 wine_fn_config_test dlls/mscms/tests mscms_test
15272 wine_fn_config_dll mscoree enable_mscoree
15273 wine_fn_config_test dlls/mscoree/tests mscoree_test
15274 wine_fn_config_dll msctf enable_msctf
15275 wine_fn_config_test dlls/msctf/tests msctf_test
15276 wine_fn_config_dll msdaps enable_msdaps
15277 wine_fn_config_dll msdmo enable_msdmo implib
15278 wine_fn_config_dll msftedit enable_msftedit
15279 wine_fn_config_dll msg711.acm enable_msg711_acm
15280 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15281 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15282 wine_fn_config_dll mshtml enable_mshtml po,implib
15283 wine_fn_config_test dlls/mshtml/tests mshtml_test
15284 wine_fn_config_dll msi enable_msi po,implib
15285 wine_fn_config_test dlls/msi/tests msi_test
15286 wine_fn_config_dll msimg32 enable_msimg32 implib
15287 wine_fn_config_dll msimsg enable_msimsg
15288 wine_fn_config_dll msimtf enable_msimtf
15289 wine_fn_config_dll msisip enable_msisip
15290 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15291 wine_fn_config_dll msnet32 enable_msnet32
15292 wine_fn_config_dll mspatcha enable_mspatcha
15293 wine_fn_config_dll msrle32 enable_msrle32 po
15294 wine_fn_config_dll mssign32 enable_mssign32
15295 wine_fn_config_dll mssip32 enable_mssip32
15296 wine_fn_config_dll mstask enable_mstask
15297 wine_fn_config_test dlls/mstask/tests mstask_test
15298 wine_fn_config_dll msvcirt enable_msvcirt
15299 wine_fn_config_dll msvcp100 enable_msvcp100
15300 wine_fn_config_dll msvcp60 enable_msvcp60
15301 wine_fn_config_dll msvcp70 enable_msvcp70
15302 wine_fn_config_dll msvcp71 enable_msvcp71
15303 wine_fn_config_dll msvcp80 enable_msvcp80
15304 wine_fn_config_dll msvcp90 enable_msvcp90
15305 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15306 wine_fn_config_dll msvcr100 enable_msvcr100
15307 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15308 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15309 wine_fn_config_dll msvcr80 enable_msvcr80
15310 wine_fn_config_dll msvcr90 enable_msvcr90
15311 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15312 wine_fn_config_dll msvcrt enable_msvcrt implib
15313 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15314 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15315 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15316 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15317 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15318 wine_fn_config_dll msvfw32 enable_msvfw32 po,implib
15319 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15320 wine_fn_config_dll msvidc32 enable_msvidc32 po
15321 wine_fn_config_dll msvideo.dll16 enable_win16
15322 wine_fn_config_dll mswsock enable_mswsock implib
15323 wine_fn_config_dll msxml enable_msxml
15324 wine_fn_config_dll msxml2 enable_msxml2
15325 wine_fn_config_dll msxml3 enable_msxml3
15326 wine_fn_config_test dlls/msxml3/tests msxml3_test
15327 wine_fn_config_dll msxml4 enable_msxml4
15328 wine_fn_config_dll msxml6 enable_msxml6
15329 wine_fn_config_dll nddeapi enable_nddeapi implib
15330 wine_fn_config_dll netapi32 enable_netapi32 implib
15331 wine_fn_config_test dlls/netapi32/tests netapi32_test
15332 wine_fn_config_dll newdev enable_newdev implib
15333 wine_fn_config_dll normaliz enable_normaliz implib
15334 wine_fn_config_dll npmshtml enable_npmshtml
15335 wine_fn_config_dll ntdll enable_ntdll implib
15336 wine_fn_config_test dlls/ntdll/tests ntdll_test
15337 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15338 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15339 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15340 wine_fn_config_dll ntprint enable_ntprint
15341 wine_fn_config_test dlls/ntprint/tests ntprint_test
15342 wine_fn_config_dll objsel enable_objsel
15343 wine_fn_config_dll odbc32 enable_odbc32 implib
15344 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15345 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15346 wine_fn_config_dll ole2.dll16 enable_win16
15347 wine_fn_config_dll ole2conv.dll16 enable_win16
15348 wine_fn_config_dll ole2disp.dll16 enable_win16
15349 wine_fn_config_dll ole2nls.dll16 enable_win16
15350 wine_fn_config_dll ole2prox.dll16 enable_win16
15351 wine_fn_config_dll ole2thk.dll16 enable_win16
15352 wine_fn_config_dll ole32 enable_ole32 implib
15353 wine_fn_config_test dlls/ole32/tests ole32_test
15354 wine_fn_config_dll oleacc enable_oleacc po,implib
15355 wine_fn_config_test dlls/oleacc/tests oleacc_test
15356 wine_fn_config_dll oleaut32 enable_oleaut32 po,implib
15357 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15358 wine_fn_config_dll olecli.dll16 enable_win16
15359 wine_fn_config_dll olecli32 enable_olecli32 implib
15360 wine_fn_config_dll oledb32 enable_oledb32
15361 wine_fn_config_test dlls/oledb32/tests oledb32_test
15362 wine_fn_config_dll oledlg enable_oledlg po,implib
15363 wine_fn_config_dll olepro32 enable_olepro32 implib
15364 wine_fn_config_dll olesvr.dll16 enable_win16
15365 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15366 wine_fn_config_dll olethk32 enable_olethk32
15367 wine_fn_config_dll openal32 enable_openal32
15368 wine_fn_config_dll opencl enable_opencl
15369 wine_fn_config_dll opengl32 enable_opengl32 implib
15370 wine_fn_config_test dlls/opengl32/tests opengl32_test
15371 wine_fn_config_dll pdh enable_pdh implib
15372 wine_fn_config_test dlls/pdh/tests pdh_test
15373 wine_fn_config_dll pidgen enable_pidgen
15374 wine_fn_config_dll powrprof enable_powrprof implib
15375 wine_fn_config_dll printui enable_printui
15376 wine_fn_config_dll propsys enable_propsys implib
15377 wine_fn_config_test dlls/propsys/tests propsys_test
15378 wine_fn_config_dll psapi enable_psapi implib
15379 wine_fn_config_test dlls/psapi/tests psapi_test
15380 wine_fn_config_dll pstorec enable_pstorec
15381 wine_fn_config_dll qcap enable_qcap
15382 wine_fn_config_dll qedit enable_qedit
15383 wine_fn_config_test dlls/qedit/tests qedit_test
15384 wine_fn_config_dll qmgr enable_qmgr
15385 wine_fn_config_test dlls/qmgr/tests qmgr_test
15386 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15387 wine_fn_config_dll quartz enable_quartz implib
15388 wine_fn_config_test dlls/quartz/tests quartz_test
15389 wine_fn_config_dll query enable_query
15390 wine_fn_config_dll rasapi16.dll16 enable_win16
15391 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15392 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15393 wine_fn_config_dll rasdlg enable_rasdlg implib
15394 wine_fn_config_dll resutils enable_resutils implib
15395 wine_fn_config_dll riched20 enable_riched20 implib
15396 wine_fn_config_test dlls/riched20/tests riched20_test
15397 wine_fn_config_dll riched32 enable_riched32
15398 wine_fn_config_test dlls/riched32/tests riched32_test
15399 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15400 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15401 wine_fn_config_dll rsabase enable_rsabase
15402 wine_fn_config_dll rsaenh enable_rsaenh implib
15403 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15404 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15405 wine_fn_config_dll rtutils enable_rtutils implib
15406 wine_fn_config_dll samlib enable_samlib
15407 wine_fn_config_dll sane.ds enable_sane_ds po
15408 wine_fn_config_dll scarddlg enable_scarddlg
15409 wine_fn_config_dll sccbase enable_sccbase
15410 wine_fn_config_dll schannel enable_schannel
15411 wine_fn_config_test dlls/schannel/tests schannel_test
15412 wine_fn_config_dll secur32 enable_secur32 implib
15413 wine_fn_config_test dlls/secur32/tests secur32_test
15414 wine_fn_config_dll security enable_security
15415 wine_fn_config_dll sensapi enable_sensapi implib
15416 wine_fn_config_dll serialui enable_serialui implib
15417 wine_fn_config_test dlls/serialui/tests serialui_test
15418 wine_fn_config_dll setupapi enable_setupapi po,implib
15419 wine_fn_config_test dlls/setupapi/tests setupapi_test
15420 wine_fn_config_dll setupx.dll16 enable_win16
15421 wine_fn_config_dll sfc enable_sfc implib
15422 wine_fn_config_dll sfc_os enable_sfc_os implib
15423 wine_fn_config_dll shdoclc enable_shdoclc po
15424 wine_fn_config_dll shdocvw enable_shdocvw po,implib
15425 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15426 wine_fn_config_dll shell.dll16 enable_win16
15427 wine_fn_config_dll shell32 enable_shell32 po,implib
15428 wine_fn_config_test dlls/shell32/tests shell32_test
15429 wine_fn_config_dll shfolder enable_shfolder implib
15430 wine_fn_config_dll shlwapi enable_shlwapi po,implib
15431 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15432 wine_fn_config_dll slbcsp enable_slbcsp
15433 wine_fn_config_dll slc enable_slc implib
15434 wine_fn_config_dll snmpapi enable_snmpapi implib
15435 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15436 wine_fn_config_dll softpub enable_softpub
15437 wine_fn_config_dll sound.drv16 enable_win16
15438 wine_fn_config_dll spoolss enable_spoolss implib
15439 wine_fn_config_test dlls/spoolss/tests spoolss_test
15440 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15441 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15442 wine_fn_config_dll sti enable_sti implib
15443 wine_fn_config_test dlls/sti/tests sti_test
15444 wine_fn_config_dll storage.dll16 enable_win16
15445 wine_fn_config_dll stress.dll16 enable_win16
15446 wine_fn_config_lib strmbase
15447 wine_fn_config_lib strmiids
15448 wine_fn_config_dll svrapi enable_svrapi
15449 wine_fn_config_dll sxs enable_sxs
15450 wine_fn_config_dll system.drv16 enable_win16
15451 wine_fn_config_dll t2embed enable_t2embed
15452 wine_fn_config_dll tapi32 enable_tapi32 implib
15453 wine_fn_config_dll toolhelp.dll16 enable_win16
15454 wine_fn_config_dll traffic enable_traffic
15455 wine_fn_config_dll twain.dll16 enable_win16
15456 wine_fn_config_dll twain_32 enable_twain_32
15457 wine_fn_config_test dlls/twain_32/tests twain_32_test
15458 wine_fn_config_dll typelib.dll16 enable_win16
15459 wine_fn_config_dll unicows enable_unicows implib
15460 wine_fn_config_dll updspapi enable_updspapi
15461 wine_fn_config_dll url enable_url implib
15462 wine_fn_config_dll urlmon enable_urlmon implib
15463 wine_fn_config_test dlls/urlmon/tests urlmon_test
15464 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15465 wine_fn_config_dll user.exe16 enable_win16
15466 wine_fn_config_dll user32 enable_user32 po,implib
15467 wine_fn_config_test dlls/user32/tests user32_test
15468 wine_fn_config_dll userenv enable_userenv implib
15469 wine_fn_config_test dlls/userenv/tests userenv_test
15470 wine_fn_config_dll usp10 enable_usp10 implib
15471 wine_fn_config_test dlls/usp10/tests usp10_test
15472 wine_fn_config_lib uuid
15473 wine_fn_config_dll uxtheme enable_uxtheme implib
15474 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15475 wine_fn_config_dll vcomp enable_vcomp
15476 wine_fn_config_dll vdhcp.vxd enable_win16
15477 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15478 wine_fn_config_dll ver.dll16 enable_win16
15479 wine_fn_config_dll version enable_version implib
15480 wine_fn_config_test dlls/version/tests version_test
15481 wine_fn_config_dll vmm.vxd enable_win16
15482 wine_fn_config_dll vnbt.vxd enable_win16
15483 wine_fn_config_dll vnetbios.vxd enable_win16
15484 wine_fn_config_dll vtdapi.vxd enable_win16
15485 wine_fn_config_dll vwin32.vxd enable_win16
15486 wine_fn_config_dll w32skrnl enable_win16
15487 wine_fn_config_dll w32sys.dll16 enable_win16
15488 wine_fn_config_dll wbemprox enable_wbemprox
15489 wine_fn_config_dll wer enable_wer implib
15490 wine_fn_config_test dlls/wer/tests wer_test
15491 wine_fn_config_dll wiaservc enable_wiaservc
15492 wine_fn_config_dll win32s16.dll16 enable_win16
15493 wine_fn_config_dll win87em.dll16 enable_win16
15494 wine_fn_config_dll winaspi.dll16 enable_win16
15495 wine_fn_config_dll windebug.dll16 enable_win16
15496 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15497 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
15498 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15499 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15500 wine_fn_config_lib winecrt0
15501 wine_fn_config_dll wined3d enable_wined3d implib
15502 wine_fn_config_dll wineesd.drv enable_wineesd_drv
15503 wine_fn_config_dll winegstreamer enable_winegstreamer
15504 wine_fn_config_dll winejack.drv enable_winejack_drv
15505 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15506 wine_fn_config_dll winemapi enable_winemapi
15507 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15508 wine_fn_config_dll winenas.drv enable_winenas_drv
15509 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15510 wine_fn_config_dll wineps.drv enable_wineps_drv
15511 wine_fn_config_dll wineps16.drv16 enable_win16
15512 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15513 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15514 wine_fn_config_dll winex11.drv enable_winex11_drv
15515 wine_fn_config_dll wing.dll16 enable_win16
15516 wine_fn_config_dll wing32 enable_wing32
15517 wine_fn_config_dll winhttp enable_winhttp implib
15518 wine_fn_config_test dlls/winhttp/tests winhttp_test
15519 wine_fn_config_dll wininet enable_wininet po,implib
15520 wine_fn_config_test dlls/wininet/tests wininet_test
15521 wine_fn_config_dll winmm enable_winmm po,implib
15522 wine_fn_config_test dlls/winmm/tests winmm_test
15523 wine_fn_config_dll winnls.dll16 enable_win16
15524 wine_fn_config_dll winnls32 enable_winnls32 implib
15525 wine_fn_config_dll winscard enable_winscard implib
15526 wine_fn_config_dll winsock.dll16 enable_win16
15527 wine_fn_config_dll winspool.drv enable_winspool_drv po,implib winspool
15528 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
15529 wine_fn_config_dll wintab.dll16 enable_win16
15530 wine_fn_config_dll wintab32 enable_wintab32 implib
15531 wine_fn_config_test dlls/wintab32/tests wintab32_test
15532 wine_fn_config_dll wintrust enable_wintrust implib
15533 wine_fn_config_test dlls/wintrust/tests wintrust_test
15534 wine_fn_config_dll wlanapi enable_wlanapi
15535 wine_fn_config_dll wldap32 enable_wldap32 po,implib
15536 wine_fn_config_test dlls/wldap32/tests wldap32_test
15537 wine_fn_config_dll wmi enable_wmi
15538 wine_fn_config_dll wmiutils enable_wmiutils
15539 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15540 wine_fn_config_dll wow32 enable_win16 implib
15541 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15542 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
15543 wine_fn_config_dll wsock32 enable_wsock32 implib
15544 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15545 wine_fn_config_dll wuapi enable_wuapi
15546 wine_fn_config_dll wuaueng enable_wuaueng
15547 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15548 wine_fn_config_dll xinput1_1 enable_xinput1_1
15549 wine_fn_config_dll xinput1_2 enable_xinput1_2
15550 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15551 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
15552 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15553 wine_fn_config_dll xmllite enable_xmllite
15554 wine_fn_config_test dlls/xmllite/tests xmllite_test
15555 wine_fn_config_makefile documentation enable_documentation
15556 wine_fn_config_makefile fonts enable_fonts
15557 wine_fn_config_makefile include enable_include
15558 wine_fn_config_makefile libs/port enable_libs_port
15559 wine_fn_config_makefile libs/wine enable_libs_wine
15560 wine_fn_config_makefile libs/wpp enable_libs_wpp
15561 wine_fn_config_makefile loader enable_loader
15562 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
15563 wine_fn_config_program attrib enable_attrib install
15564 wine_fn_config_program cabarc enable_cabarc install
15565 wine_fn_config_program cacls enable_cacls install
15566 wine_fn_config_program clock enable_clock po,install
15567 wine_fn_config_program cmd enable_cmd po,install
15568 wine_fn_config_test programs/cmd/tests cmd.exe_test
15569 wine_fn_config_program cmdlgtst enable_cmdlgtst
15570 wine_fn_config_program control enable_control install
15571 wine_fn_config_program dxdiag enable_dxdiag install
15572 wine_fn_config_program eject enable_eject install
15573 wine_fn_config_program expand enable_expand install
15574 wine_fn_config_program explorer enable_explorer install
15575 wine_fn_config_program extrac32 enable_extrac32 install
15576 wine_fn_config_program hh enable_hh install
15577 wine_fn_config_program hostname enable_hostname po,install
15578 wine_fn_config_program icinfo enable_icinfo install
15579 wine_fn_config_program iexplore enable_iexplore install
15580 wine_fn_config_program ipconfig enable_ipconfig po,install
15581 wine_fn_config_program lodctr enable_lodctr install
15582 wine_fn_config_program mofcomp enable_mofcomp install
15583 wine_fn_config_program mshta enable_mshta install
15584 wine_fn_config_program msiexec enable_msiexec install,installbin
15585 wine_fn_config_program net enable_net po,install
15586 wine_fn_config_program netsh enable_netsh install
15587 wine_fn_config_program ngen enable_ngen install
15588 wine_fn_config_program notepad enable_notepad po,install,installbin
15589 wine_fn_config_program oleview enable_oleview po,install
15590 wine_fn_config_program ping enable_ping install
15591 wine_fn_config_program plugplay enable_plugplay install
15592 wine_fn_config_program progman enable_progman po,install
15593 wine_fn_config_program reg enable_reg po,install
15594 wine_fn_config_program regedit enable_regedit po,install,installbin
15595 wine_fn_config_test programs/regedit/tests regedit.exe_test
15596 wine_fn_config_program regsvcs enable_regsvcs install
15597 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin
15598 wine_fn_config_program rpcss enable_rpcss install
15599 wine_fn_config_program rundll.exe16 enable_win16 install
15600 wine_fn_config_program rundll32 enable_rundll32 install
15601 wine_fn_config_program sc enable_sc install
15602 wine_fn_config_program secedit enable_secedit install
15603 wine_fn_config_program servicemodelreg enable_servicemodelreg install
15604 wine_fn_config_program services enable_services install
15605 wine_fn_config_program spoolsv enable_spoolsv install
15606 wine_fn_config_program start enable_start po,install
15607 wine_fn_config_program svchost enable_svchost install
15608 wine_fn_config_program taskkill enable_taskkill po,install
15609 wine_fn_config_program taskmgr enable_taskmgr po,install
15610 wine_fn_config_program termsv enable_termsv install
15611 wine_fn_config_program uninstaller enable_uninstaller po,install
15612 wine_fn_config_program unlodctr enable_unlodctr install
15613 wine_fn_config_program view enable_view po
15614 wine_fn_config_program wineboot enable_wineboot install,installbin
15615 wine_fn_config_program winebrowser enable_winebrowser install
15616 wine_fn_config_program winecfg enable_winecfg po,install,installbin
15617 wine_fn_config_program wineconsole enable_wineconsole po,install,installbin
15618 wine_fn_config_program winedbg enable_winedbg po,install,installbin
15619 wine_fn_config_program winedevice enable_winedevice install
15620 wine_fn_config_program winefile enable_winefile po,install,installbin
15621 wine_fn_config_program winemenubuilder enable_winemenubuilder install
15622 wine_fn_config_program winemine enable_winemine po,install,installbin
15623 wine_fn_config_program winemsibuilder enable_winemsibuilder install
15624 wine_fn_config_program winepath enable_winepath install,installbin
15625 wine_fn_config_program winetest enable_winetest
15626 wine_fn_config_program winevdm enable_win16 install
15627 wine_fn_config_program winhelp.exe16 enable_win16 install
15628 wine_fn_config_program winhlp32 enable_winhlp32 po,install
15629 wine_fn_config_program winoldap.mod16 enable_win16 install
15630 wine_fn_config_program winver enable_winver install
15631 wine_fn_config_program wmic enable_wmic install
15632 wine_fn_config_program wordpad enable_wordpad po,install
15633 wine_fn_config_program write enable_write po,install
15634 wine_fn_config_program wscript enable_wscript install
15635 wine_fn_config_test programs/wscript/tests wscript.exe_test
15636 wine_fn_config_program xcopy enable_xcopy po,install
15637 wine_fn_config_makefile server enable_server
15638 wine_fn_config_tool tools
15639 wine_fn_config_tool tools/widl
15640 wine_fn_config_tool tools/winebuild
15641 wine_fn_config_tool tools/winedump
15642 wine_fn_config_tool tools/winegcc
15643 wine_fn_config_tool tools/wmc
15644 wine_fn_config_tool tools/wrc
15694 ac_config_commands="$ac_config_commands Makefile"
15697 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15701 if test "x$enable_maintainer_mode" = xyes
15703 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
15704 cd \$(srcdir) && autoconf --warnings=all
15705 \$(srcdir)/include/config.h.in: include/stamp-h.in
15706 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15707 cd \$(srcdir) && autoheader --warnings=all
15708 @echo timestamp > \$@
15710 ALL_POT_FILES =$ALL_POT_FILES
15711 all: \$(ALL_PO_FILES)
15712 \$(ALL_PO_FILES): \$(srcdir)/po/wine.pot
15713 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15714 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15715 msgcat -o \$@ \$(ALL_POT_FILES)"
15718 if test "x$enable_tools" != xno
15720 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
15722 \$(RM) tools/makedep\$(EXEEXT)"
15725 if test -n "$with_wine64"
15727 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15728 fonts server tools:
15729 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15730 $with_wine64/loader/wine:
15731 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15732 $with_wine64/loader/wine-preloader:
15733 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15735 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15738 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "uninstall::
15739 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
15741 cat >confcache <<\_ACEOF
15742 # This file is a shell script that caches the results of configure
15743 # tests run on this system so they can be shared between configure
15744 # scripts and configure runs, see configure's option --config-cache.
15745 # It is not useful on other systems. If it contains results you don't
15746 # want to keep, you may remove or edit it.
15748 # config.status only pays attention to the cache file if you give it
15749 # the --recheck option to rerun configure.
15751 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15752 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15753 # following values.
15757 # The following way of writing the cache mishandles newlines in values,
15758 # but we know of no workaround that is simple, portable, and efficient.
15759 # So, we kill variables containing newlines.
15760 # Ultrix sh set writes to stderr and can't be redirected directly,
15761 # and sets the high bit in the cache file unless we assign to the vars.
15763 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15764 eval ac_val=\$$ac_var
15768 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15769 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15772 _ | IFS | as_nl) ;; #(
15773 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15774 *) { eval $ac_var=; unset $ac_var;} ;;
15780 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15781 *${as_nl}ac_space=\ *)
15782 # `set' does not quote correctly, so add quotes: double-quote
15783 # substitution turns \\\\ into \\, and sed turns \\ into \.
15786 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15789 # `set' quotes correctly as required by POSIX, so do not add quotes.
15790 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15799 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15801 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15803 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15804 if test -w "$cache_file"; then
15805 if test "x$cache_file" != "x/dev/null"; then
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15807 $as_echo "$as_me: updating cache $cache_file" >&6;}
15808 if test ! -f "$cache_file" || test -h "$cache_file"; then
15809 cat confcache >"$cache_file"
15811 case $cache_file in #(
15813 mv -f confcache "$cache_file"$$ &&
15814 mv -f "$cache_file"$$ "$cache_file" ;; #(
15816 mv -f confcache "$cache_file" ;;
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15822 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15827 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15828 # Let make expand exec_prefix.
15829 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15831 DEFS=-DHAVE_CONFIG_H
15836 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15837 # 1. Remove the extension, and $U if already installed.
15838 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15839 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15840 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15841 # will be set to the directory where LIBOBJS objects are built.
15842 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15843 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15845 LIBOBJS=$ac_libobjs
15847 LTLIBOBJS=$ac_ltlibobjs
15851 : "${CONFIG_STATUS=./config.status}"
15853 ac_clean_files_save=$ac_clean_files
15854 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15856 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15858 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15860 # Generated by $as_me.
15861 # Run this file to recreate the current configuration.
15862 # Compiler output produced by configure, useful for debugging
15863 # configure, is in config.log if it exists.
15866 ac_cs_recheck=false
15869 SHELL=\${CONFIG_SHELL-$SHELL}
15872 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15873 ## -------------------- ##
15874 ## M4sh Initialization. ##
15875 ## -------------------- ##
15877 # Be more Bourne compatible
15878 DUALCASE=1; export DUALCASE # for MKS sh
15879 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15882 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15883 # is contrary to our usage. Disable this feature.
15884 alias -g '${1+"$@"}'='"$@"'
15885 setopt NO_GLOB_SUBST
15887 case `(set -o) 2>/dev/null` in #(
15899 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15900 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15901 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15902 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15903 # Prefer a ksh shell builtin over an external printf program on Solaris,
15904 # but without wasting forks for bash or zsh.
15905 if test -z "$BASH_VERSION$ZSH_VERSION" \
15906 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15907 as_echo='print -r --'
15908 as_echo_n='print -rn --'
15909 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15910 as_echo='printf %s\n'
15911 as_echo_n='printf %s'
15913 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15914 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15915 as_echo_n='/usr/ucb/echo -n'
15917 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15918 as_echo_n_body='eval
15922 expr "X$arg" : "X\\(.*\\)$as_nl";
15923 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15925 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15927 export as_echo_n_body
15928 as_echo_n='sh -c $as_echo_n_body as_echo'
15930 export as_echo_body
15931 as_echo='sh -c $as_echo_body as_echo'
15934 # The user is always right.
15935 if test "${PATH_SEPARATOR+set}" != set; then
15937 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15938 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15945 # We need space, tab and new line, in precisely that order. Quoting is
15946 # there to prevent editors from complaining about space-tab.
15947 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15948 # splitting by setting IFS to empty value.)
15951 # Find who we are. Look in the path if we contain no directory separator.
15954 *[\\/]* ) as_myself=$0 ;;
15955 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15956 for as_dir in $PATH
15959 test -z "$as_dir" && as_dir=.
15960 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15966 # We did not find ourselves, most probably we were run as `sh COMMAND'
15967 # in which case we are not to be found in the path.
15968 if test "x$as_myself" = x; then
15971 if test ! -f "$as_myself"; then
15972 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15976 # Unset variables that we do not need and which cause bugs (e.g. in
15977 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15978 # suppresses any "Segmentation fault" message there. '((' could
15979 # trigger a bug in pdksh 5.2.14.
15980 for as_var in BASH_ENV ENV MAIL MAILPATH
15981 do eval test x\${$as_var+set} = xset \
15982 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15998 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15999 # ----------------------------------------
16000 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16001 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16002 # script with STATUS, using 1 if that was 0.
16005 as_status=$1; test $as_status -eq 0 && as_status=1
16007 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16008 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16010 $as_echo "$as_me: error: $2" >&2
16011 as_fn_exit $as_status
16015 # as_fn_set_status STATUS
16016 # -----------------------
16017 # Set $? to STATUS, without forking.
16018 as_fn_set_status ()
16021 } # as_fn_set_status
16023 # as_fn_exit STATUS
16024 # -----------------
16025 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16029 as_fn_set_status $1
16035 # Portably unset VAR.
16038 { eval $1=; unset $1;}
16040 as_unset=as_fn_unset
16041 # as_fn_append VAR VALUE
16042 # ----------------------
16043 # Append the text in VALUE to the end of the definition contained in VAR. Take
16044 # advantage of any shell optimizations that allow amortized linear growth over
16045 # repeated appends, instead of the typical quadratic growth present in naive
16047 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16048 eval 'as_fn_append ()
16059 # as_fn_arith ARG...
16060 # ------------------
16061 # Perform arithmetic evaluation on the ARGs, and store the result in the
16062 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16063 # must be portable across $(()) and expr.
16064 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16065 eval 'as_fn_arith ()
16072 as_val=`expr "$@" || test $? -eq 1`
16077 if expr a : '\(a\)' >/dev/null 2>&1 &&
16078 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16084 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16085 as_basename=basename
16090 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16096 as_me=`$as_basename -- "$0" ||
16097 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16098 X"$0" : 'X\(//\)$' \| \
16099 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16101 sed '/^.*\/\([^/][^/]*\)\/*$/{
16115 # Avoid depending upon Character Ranges.
16116 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16117 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16118 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16119 as_cr_digits='0123456789'
16120 as_cr_alnum=$as_cr_Letters$as_cr_digits
16122 ECHO_C= ECHO_N= ECHO_T=
16123 case `echo -n x` in #(((((
16125 case `echo 'xy\c'` in
16126 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16128 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16135 rm -f conf$$ conf$$.exe conf$$.file
16136 if test -d conf$$.dir; then
16137 rm -f conf$$.dir/conf$$.file
16140 mkdir conf$$.dir 2>/dev/null
16142 if (echo >conf$$.file) 2>/dev/null; then
16143 if ln -s conf$$.file conf$$ 2>/dev/null; then
16145 # ... but there are two gotchas:
16146 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16147 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16148 # In both cases, we have to default to `cp -p'.
16149 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16151 elif ln conf$$.file conf$$ 2>/dev/null; then
16159 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16160 rmdir conf$$.dir 2>/dev/null
16165 # Create "$as_dir" as a directory, including parents if necessary.
16170 -*) as_dir=./$as_dir;;
16172 test -d "$as_dir" || eval $as_mkdir_p || {
16176 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16177 *) as_qdir=$as_dir;;
16179 as_dirs="'$as_qdir' $as_dirs"
16180 as_dir=`$as_dirname -- "$as_dir" ||
16181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16182 X"$as_dir" : 'X\(//\)[^/]' \| \
16183 X"$as_dir" : 'X\(//\)$' \| \
16184 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16185 $as_echo X"$as_dir" |
16186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16190 /^X\(\/\/\)[^/].*/{
16203 test -d "$as_dir" && break
16205 test -z "$as_dirs" || eval "mkdir $as_dirs"
16206 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16210 if mkdir -p . 2>/dev/null; then
16211 as_mkdir_p='mkdir -p "$as_dir"'
16213 test -d ./-p && rmdir ./-p
16217 if test -x / >/dev/null 2>&1; then
16218 as_test_x='test -x'
16220 if ls -dL / >/dev/null 2>&1; then
16227 if test -d "$1"; then
16233 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16234 ???[sx]*):;;*)false;;esac;fi
16238 as_executable_p=$as_test_x
16240 # Sed expression to map a string onto a valid CPP name.
16241 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16243 # Sed expression to map a string onto a valid variable name.
16244 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16248 ## ----------------------------------- ##
16249 ## Main body of $CONFIG_STATUS script. ##
16250 ## ----------------------------------- ##
16252 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16255 # Save the log message, to keep $0 and so on meaningful, and to
16256 # report actual input values of CONFIG_FILES etc. instead of their
16257 # values after options handling.
16259 This file was extended by Wine $as_me 1.3.20, which was
16260 generated by GNU Autoconf 2.68. Invocation command line was
16262 CONFIG_FILES = $CONFIG_FILES
16263 CONFIG_HEADERS = $CONFIG_HEADERS
16264 CONFIG_LINKS = $CONFIG_LINKS
16265 CONFIG_COMMANDS = $CONFIG_COMMANDS
16268 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16273 case $ac_config_files in *"
16274 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16277 case $ac_config_headers in *"
16278 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16283 # Files that config.status was made for.
16284 config_files="$ac_config_files"
16285 config_headers="$ac_config_headers"
16286 config_links="$ac_config_links"
16287 config_commands="$ac_config_commands"
16291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16293 \`$as_me' instantiates files and other configuration actions
16294 from templates according to the current configuration. Unless the files
16295 and actions are specified as TAGs, all are instantiated by default.
16297 Usage: $0 [OPTION]... [TAG]...
16299 -h, --help print this help, then exit
16300 -V, --version print version number and configuration settings, then exit
16301 --config print configuration, then exit
16302 -q, --quiet, --silent
16303 do not print progress messages
16304 -d, --debug don't remove temporary files
16305 --recheck update $as_me by reconfiguring in the same conditions
16306 --file=FILE[:TEMPLATE]
16307 instantiate the configuration file FILE
16308 --header=FILE[:TEMPLATE]
16309 instantiate the configuration header FILE
16311 Configuration files:
16314 Configuration headers:
16317 Configuration links:
16320 Configuration commands:
16323 Report bugs to <wine-devel@winehq.org>.
16324 Wine home page: <http://www.winehq.org>."
16327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16328 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16330 Wine config.status 1.3.20
16331 configured by $0, generated by GNU Autoconf 2.68,
16332 with options \\"\$ac_cs_config\\"
16334 Copyright (C) 2010 Free Software Foundation, Inc.
16335 This config.status script is free software; the Free Software Foundation
16336 gives unlimited permission to copy, distribute and modify it."
16341 test -n "\$AWK" || AWK=awk
16344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16345 # The default lists apply if the user does not specify any file.
16351 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16352 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16356 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16368 # Handling of the options.
16369 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16371 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16372 $as_echo "$ac_cs_version"; exit ;;
16373 --config | --confi | --conf | --con | --co | --c )
16374 $as_echo "$ac_cs_config"; exit ;;
16375 --debug | --debu | --deb | --de | --d | -d )
16377 --file | --fil | --fi | --f )
16380 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16381 '') as_fn_error $? "missing file argument" ;;
16383 as_fn_append CONFIG_FILES " '$ac_optarg'"
16384 ac_need_defaults=false;;
16385 --header | --heade | --head | --hea )
16388 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16390 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16391 ac_need_defaults=false;;
16393 # Conflict between --help and --header
16394 as_fn_error $? "ambiguous option: \`$1'
16395 Try \`$0 --help' for more information.";;
16396 --help | --hel | -h )
16397 $as_echo "$ac_cs_usage"; exit ;;
16398 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16399 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16402 # This is an error.
16403 -*) as_fn_error $? "unrecognized option: \`$1'
16404 Try \`$0 --help' for more information." ;;
16406 *) as_fn_append ac_config_targets " $1"
16407 ac_need_defaults=false ;;
16413 ac_configure_extra_args=
16415 if $ac_cs_silent; then
16417 ac_configure_extra_args="$ac_configure_extra_args --silent"
16421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16422 if \$ac_cs_recheck; then
16423 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16425 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16426 CONFIG_SHELL='$SHELL'
16427 export CONFIG_SHELL
16432 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16436 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16437 ## Running $as_me. ##
16443 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16447 wine_fn_output_makefile ()
16449 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16450 $ALL_MAKEFILE_DEPENDS
16452 as_fn_error $? "could not create Makefile" "$LINENO" 5
16457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16459 # Handling of arguments.
16460 for ac_config_target in $ac_config_targets
16462 case $ac_config_target in
16463 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
16464 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
16465 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16466 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16467 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16468 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16469 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16470 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16471 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16472 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
16473 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16474 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16475 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16476 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16477 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16478 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
16479 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16480 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
16481 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
16482 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
16483 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
16484 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16485 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
16486 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
16487 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16489 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16494 # If the user did not use the arguments to specify the items to instantiate,
16495 # then the envvar interface is used. Set only those that are not.
16496 # We use the long form for the default assignment because of an extremely
16497 # bizarre bug on SunOS 4.1.3.
16498 if $ac_need_defaults; then
16499 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16500 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16501 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
16502 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16505 # Have a temporary directory for convenience. Make it in the build tree
16506 # simply because there is no reason against having it here, and in addition,
16507 # creating and moving files from /tmp can sometimes cause problems.
16508 # Hook for its removal unless debugging.
16509 # Note that there is a small window in which the directory will not be cleaned:
16510 # after its creation but before its name has been assigned to `$tmp'.
16514 trap 'exit_status=$?
16515 : "${ac_tmp:=$tmp}"
16516 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16518 trap 'as_fn_exit 1' 1 2 13 15
16520 # Create a (secure) tmp directory for tmp files.
16523 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16527 tmp=./conf$$-$RANDOM
16528 (umask 077 && mkdir "$tmp")
16529 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16532 # Set up the scripts for CONFIG_FILES section.
16533 # No need to generate them if there are no CONFIG_FILES.
16534 # This happens for instance with `./config.status config.h'.
16535 if test -n "$CONFIG_FILES"; then
16537 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
16538 ac_cs_awk_getline=:
16539 ac_cs_awk_pipe_init=
16540 ac_cs_awk_read_file='
16541 while ((getline aline < (F[key])) > 0)
16544 ac_cs_awk_pipe_fini=
16546 ac_cs_awk_getline=false
16547 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
16548 ac_cs_awk_read_file='
16550 print "cat " F[key] " &&"
16551 '$ac_cs_awk_pipe_init
16552 # The final `:' finishes the AND list.
16553 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
16555 ac_cr=`echo X | tr X '\015'`
16556 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16557 # But we know of no other shell where ac_cr would be empty at this
16558 # point, so we can use a bashism as a fallback.
16559 if test "x$ac_cr" = x; then
16560 eval ac_cr=\$\'\\r\'
16562 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16566 ac_cs_awk_cr=$ac_cr
16569 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16572 # Create commands to substitute file output variables.
16574 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16575 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16576 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
16579 } >conf$$files.sh &&
16580 . ./conf$$files.sh ||
16581 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16582 rm -f conf$$files.sh
16585 echo "cat >conf$$subs.awk <<_ACEOF" &&
16586 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16588 } >conf$$subs.sh ||
16589 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16590 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16592 for ac_last_try in false false false false false :; do
16593 . ./conf$$subs.sh ||
16594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16596 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16597 if test $ac_delim_n = $ac_delim_num; then
16599 elif $ac_last_try; then
16600 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16602 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16605 rm -f conf$$subs.sh
16607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16608 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16612 s/^/S["/; s/!.*/"]=/
16622 s/\(.\{148\}\)..*/\1/
16624 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16629 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16636 s/\(.\{148\}\)..*/\1/
16638 s/["\\]/\\&/g; s/^/"/; s/$/"/
16642 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16647 ' <conf$$subs.awk | sed '
16652 ' >>$CONFIG_STATUS || ac_write_fail=1
16653 rm -f conf$$subs.awk
16654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16656 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16657 for (key in S) S_is_set[key] = 1
16659 \$ac_cs_awk_pipe_init
16663 nfields = split(line, field, "@")
16665 len = length(field[1])
16666 for (i = 2; i < nfields; i++) {
16668 keylen = length(key)
16669 if (S_is_set[key]) {
16671 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16672 len += length(value) + length(field[++i])
16677 if (nfields == 3 && !substed) {
16679 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16680 \$ac_cs_awk_read_file
16686 \$ac_cs_awk_pipe_fini
16689 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16690 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16691 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16694 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16695 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16698 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16699 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16700 # trailing colons and then remove the whole line if VPATH becomes empty
16701 # (actually we leave an empty line to preserve line numbers).
16702 if test "x$srcdir" = x.; then
16703 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16721 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16722 fi # test -n "$CONFIG_FILES"
16724 # Set up the scripts for CONFIG_HEADERS section.
16725 # No need to generate them if there are no CONFIG_HEADERS.
16726 # This happens for instance with `./config.status Makefile'.
16727 if test -n "$CONFIG_HEADERS"; then
16728 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16732 # Transform confdefs.h into an awk script `defines.awk', embedded as
16733 # here-document in config.status, that substitutes the proper values into
16734 # config.h.in to produce config.h.
16736 # Create a delimiter string that does not exist in confdefs.h, to ease
16737 # handling of long lines.
16739 for ac_last_try in false false :; do
16740 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16741 if test -z "$ac_tt"; then
16743 elif $ac_last_try; then
16744 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16746 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16750 # For the awk script, D is an array of macro values keyed by name,
16751 # likewise P contains macro parameters if any. Preserve backslash
16752 # newline sequences.
16754 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16756 s/.\{148\}/&'"$ac_delim"'/g
16759 s/^[ ]*#[ ]*define[ ][ ]*/ /
16766 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16768 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16772 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16773 D["\1"]=" \3\\\\\\n"\\/p
16775 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16780 s/.\{148\}/&'"$ac_delim"'/g
16785 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16788 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16790 ' <confdefs.h | sed '
16791 s/'"$ac_delim"'/"\\\
16792 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16795 for (key in D) D_is_set[key] = 1
16798 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16800 split(line, arg, " ")
16801 if (arg[1] == "#") {
16805 defundef = substr(arg[1], 2)
16808 split(mac1, mac2, "(") #)
16810 prefix = substr(line, 1, index(line, defundef) - 1)
16811 if (D_is_set[macro]) {
16812 # Preserve the white space surrounding the "#".
16813 print prefix "define", macro P[macro] D[macro]
16816 # Replace #undef with comments. This is necessary, for example,
16817 # in the case of _POSIX_SOURCE, which is predefined and required
16818 # on some systems where configure will not decide to define it.
16819 if (defundef == "undef") {
16820 print "/*", prefix defundef, macro, "*/"
16828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16829 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16830 fi # test -n "$CONFIG_HEADERS"
16833 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16838 :[FHLC]) ac_mode=$ac_tag; continue;;
16840 case $ac_mode$ac_tag in
16842 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16843 :[FH]-) ac_tag=-:-;;
16844 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16861 -) ac_f="$ac_tmp/stdin";;
16862 *) # Look for the file first in the build tree, then in the source tree
16863 # (if the path is not absolute). The absolute path cannot be DOS-style,
16864 # because $ac_f cannot contain `:'.
16868 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16870 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16872 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16873 as_fn_append ac_file_inputs " '$ac_f'"
16876 # Let's still pretend it is `configure' which instantiates (i.e., don't
16877 # use $as_me), people would be surprised to read:
16878 # /* config.h. Generated by config.status. */
16879 configure_input='Generated from '`
16880 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16882 if test x"$ac_file" != x-; then
16883 configure_input="$ac_file. $configure_input"
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16885 $as_echo "$as_me: creating $ac_file" >&6;}
16887 # Neutralize special characters interpreted by sed in replacement strings.
16888 case $configure_input in #(
16889 *\&* | *\|* | *\\* )
16890 ac_sed_conf_input=`$as_echo "$configure_input" |
16891 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16892 *) ac_sed_conf_input=$configure_input;;
16896 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16897 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16902 ac_dir=`$as_dirname -- "$ac_file" ||
16903 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16904 X"$ac_file" : 'X\(//\)[^/]' \| \
16905 X"$ac_file" : 'X\(//\)$' \| \
16906 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16907 $as_echo X"$ac_file" |
16908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16912 /^X\(\/\/\)[^/].*/{
16925 as_dir="$ac_dir"; as_fn_mkdir_p
16929 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16931 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16932 # A ".." for each directory in $ac_dir_suffix.
16933 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16934 case $ac_top_builddir_sub in
16935 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16936 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16939 ac_abs_top_builddir=$ac_pwd
16940 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16941 # for backward compatibility:
16942 ac_top_builddir=$ac_top_build_prefix
16945 .) # We are building in place.
16947 ac_top_srcdir=$ac_top_builddir_sub
16948 ac_abs_top_srcdir=$ac_pwd ;;
16949 [\\/]* | ?:[\\/]* ) # Absolute name.
16950 ac_srcdir=$srcdir$ac_dir_suffix;
16951 ac_top_srcdir=$srcdir
16952 ac_abs_top_srcdir=$srcdir ;;
16953 *) # Relative name.
16954 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16955 ac_top_srcdir=$ac_top_build_prefix$srcdir
16956 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16958 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16968 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16969 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16974 # If the template does not know about datarootdir, expand it.
16975 # FIXME: This hack should be removed a few years after 2.60.
16976 ac_datarootdir_hack=; ac_datarootdir_seen=
16987 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16988 *datarootdir*) ac_datarootdir_seen=yes;;
16989 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16991 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16994 ac_datarootdir_hack='
16995 s&@datadir@&$datadir&g
16996 s&@docdir@&$docdir&g
16997 s&@infodir@&$infodir&g
16998 s&@localedir@&$localedir&g
16999 s&@mandir@&$mandir&g
17000 s&\\\${datarootdir}&$datarootdir&g' ;;
17004 # Neutralize VPATH when `$srcdir' = `.'.
17005 # Shell code in configure.ac might set extrasub.
17006 # FIXME: do we really want to maintain this feature?
17007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17008 ac_sed_extra="$ac_vpsub
17011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17013 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17014 s|@configure_input@|$ac_sed_conf_input|;t t
17015 s&@top_builddir@&$ac_top_builddir_sub&;t t
17016 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17017 s&@srcdir@&$ac_srcdir&;t t
17018 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17019 s&@top_srcdir@&$ac_top_srcdir&;t t
17020 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17021 s&@builddir@&$ac_builddir&;t t
17022 s&@abs_builddir@&$ac_abs_builddir&;t t
17023 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17024 s&@INSTALL@&$ac_INSTALL&;t t
17025 $ac_datarootdir_hack
17027 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17028 if $ac_cs_awk_getline; then
17029 $AWK -f "$ac_tmp/subs.awk"
17031 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17033 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17035 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17036 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17037 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17038 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17040 which seems to be undefined. Please make sure it is defined" >&5
17041 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17042 which seems to be undefined. Please make sure it is defined" >&2;}
17044 rm -f "$ac_tmp/stdin"
17046 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17047 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17049 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17055 if test x"$ac_file" != x-; then
17057 $as_echo "/* $configure_input */" \
17058 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17059 } >"$ac_tmp/config.h" \
17060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17061 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17063 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17066 mv "$ac_tmp/config.h" "$ac_file" \
17067 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17070 $as_echo "/* $configure_input */" \
17071 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17072 || as_fn_error $? "could not create -" "$LINENO" 5
17080 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17083 # Prefer the file from the source tree if names are identical.
17084 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17085 ac_source=$srcdir/$ac_source
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17089 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17091 if test ! -r "$ac_source"; then
17092 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17096 # Try a relative symlink, then a hard link, then a copy.
17098 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17099 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17101 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17102 ln "$ac_source" "$ac_file" 2>/dev/null ||
17103 cp -p "$ac_source" "$ac_file" ||
17104 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17107 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17108 $as_echo "$as_me: executing $ac_file commands" >&6;}
17113 case $ac_file$ac_mode in
17114 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17115 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17116 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17117 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17118 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17119 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17120 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17121 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17122 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17123 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17124 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17125 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17126 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17127 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17128 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17129 "Makefile":C) wine_fn_output_makefile Makefile ;;
17137 ac_clean_files=$ac_clean_files_save
17139 test $ac_write_fail = 0 ||
17140 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17143 # configure is writing to config.log, and then calls config.status.
17144 # config.status does its own redirection, appending to config.log.
17145 # Unfortunately, on DOS this fails, as config.log is still kept open
17146 # by configure, so config.status won't be able to write to it; its
17147 # output is simply discarded. So we exec the FD to /dev/null,
17148 # effectively closing config.log, so it can be properly (re)opened and
17149 # appended to by config.status. When coming back to configure, we
17150 # need to make the FD available again.
17151 if test "$no_create" != yes; then
17153 ac_config_status_args=
17154 test "$silent" = yes &&
17155 ac_config_status_args="$ac_config_status_args --quiet"
17157 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17159 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17160 # would make configure fail if this is the last instruction.
17161 $ac_cs_success || as_fn_exit 1
17163 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17165 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17169 if test "$no_create" = "yes"
17175 if test "x$wine_notices != "x; then
17178 for msg in $wine_notices; do
17180 if test -n "$msg"; then
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17182 $as_echo "$as_me: $msg" >&6;}
17187 for msg in $wine_warnings; do
17189 if test -n "$msg"; then
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17192 $as_echo "$as_me: WARNING: $msg" >&2;}
17198 $as_me: Finished. Do '${ac_make}' to compile Wine.