2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.21.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir=.
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
240 if test "x$CONFIG_SHELL" != x; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 *v*x* | *x*v* ) as_opts=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir=./$as_dir;;
324 test -d "$as_dir" || eval $as_mkdir_p || {
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
401 as_val=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status=$1; test $as_status -eq 0 && as_status=1
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 elif ln conf$$.file conf$$ 2>/dev/null; then
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
546 test -d ./-p && rmdir ./-p
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix=/usr/local
573 ac_config_libobj_dir=.
580 # Identity of this package.
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.5.21'
584 PACKAGE_STRING='Wine 1.5.21'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars='LTLIBOBJS
690 APPLICATIONSERVICESLIB
781 program_transform_name
792 ac_subst_files='MAKE_RULES
798 enable_option_checking
802 enable_maintainer_mode
852 ac_precious_vars='build_alias
867 # Initialize some variables set by options.
869 ac_init_version=false
870 ac_unrecognized_opts=
872 # The variables have the same names as the options, with
873 # dashes changed to underlines.
881 program_transform_name=s,x,x,
889 # Installation directory options.
890 # These are left unexpanded so users can "make install exec_prefix=/foo"
891 # and all the variables that are supposed to be based on exec_prefix
892 # by default will actually change.
893 # Use braces instead of parens because sh, perl, etc. also accept them.
894 # (The list follows the same order as the GNU Coding Standards.)
895 bindir='${exec_prefix}/bin'
896 sbindir='${exec_prefix}/sbin'
897 libexecdir='${exec_prefix}/libexec'
898 datarootdir='${prefix}/share'
899 datadir='${datarootdir}'
900 sysconfdir='${prefix}/etc'
901 sharedstatedir='${prefix}/com'
902 localstatedir='${prefix}/var'
903 includedir='${prefix}/include'
904 oldincludedir='/usr/include'
905 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
906 infodir='${datarootdir}/info'
911 libdir='${exec_prefix}/lib'
912 localedir='${datarootdir}/locale'
913 mandir='${datarootdir}/man'
919 # If the previous option needs an argument, assign it.
920 if test -n "$ac_prev"; then
921 eval $ac_prev=\$ac_option
927 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
932 # Accept the important Cygnus configure options, so we can diagnose typos.
934 case $ac_dashdash$ac_option in
938 -bindir | --bindir | --bindi | --bind | --bin | --bi)
940 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
943 -build | --build | --buil | --bui | --bu)
944 ac_prev=build_alias ;;
945 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
946 build_alias=$ac_optarg ;;
948 -cache-file | --cache-file | --cache-fil | --cache-fi \
949 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
950 ac_prev=cache_file ;;
951 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
952 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
953 cache_file=$ac_optarg ;;
956 cache_file=config.cache ;;
958 -datadir | --datadir | --datadi | --datad)
960 -datadir=* | --datadir=* | --datadi=* | --datad=*)
961 datadir=$ac_optarg ;;
963 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
964 | --dataroo | --dataro | --datar)
965 ac_prev=datarootdir ;;
966 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
967 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
968 datarootdir=$ac_optarg ;;
970 -disable-* | --disable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
984 eval enable_$ac_useropt=no ;;
986 -docdir | --docdir | --docdi | --doc | --do)
988 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
991 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
993 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
996 -enable-* | --enable-*)
997 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1000 as_fn_error $? "invalid feature name: $ac_useropt"
1001 ac_useropt_orig=$ac_useropt
1002 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_$ac_useropt"
1007 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008 ac_unrecognized_sep=', ';;
1010 eval enable_$ac_useropt=\$ac_optarg ;;
1012 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1013 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1014 | --exec | --exe | --ex)
1015 ac_prev=exec_prefix ;;
1016 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1017 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1018 | --exec=* | --exe=* | --ex=*)
1019 exec_prefix=$ac_optarg ;;
1021 -gas | --gas | --ga | --g)
1022 # Obsolete; use --with-gas.
1025 -help | --help | --hel | --he | -h)
1026 ac_init_help=long ;;
1027 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1028 ac_init_help=recursive ;;
1029 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1030 ac_init_help=short ;;
1032 -host | --host | --hos | --ho)
1033 ac_prev=host_alias ;;
1034 -host=* | --host=* | --hos=* | --ho=*)
1035 host_alias=$ac_optarg ;;
1037 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1039 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1041 htmldir=$ac_optarg ;;
1043 -includedir | --includedir | --includedi | --included | --include \
1044 | --includ | --inclu | --incl | --inc)
1045 ac_prev=includedir ;;
1046 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1047 | --includ=* | --inclu=* | --incl=* | --inc=*)
1048 includedir=$ac_optarg ;;
1050 -infodir | --infodir | --infodi | --infod | --info | --inf)
1052 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1053 infodir=$ac_optarg ;;
1055 -libdir | --libdir | --libdi | --libd)
1057 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1058 libdir=$ac_optarg ;;
1060 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1061 | --libexe | --libex | --libe)
1062 ac_prev=libexecdir ;;
1063 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1064 | --libexe=* | --libex=* | --libe=*)
1065 libexecdir=$ac_optarg ;;
1067 -localedir | --localedir | --localedi | --localed | --locale)
1068 ac_prev=localedir ;;
1069 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1070 localedir=$ac_optarg ;;
1072 -localstatedir | --localstatedir | --localstatedi | --localstated \
1073 | --localstate | --localstat | --localsta | --localst | --locals)
1074 ac_prev=localstatedir ;;
1075 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1076 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1077 localstatedir=$ac_optarg ;;
1079 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1081 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1082 mandir=$ac_optarg ;;
1084 -nfp | --nfp | --nf)
1085 # Obsolete; use --without-fp.
1088 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1089 | --no-cr | --no-c | -n)
1092 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1093 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1096 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1097 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1098 | --oldin | --oldi | --old | --ol | --o)
1099 ac_prev=oldincludedir ;;
1100 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1101 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1102 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1103 oldincludedir=$ac_optarg ;;
1105 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1107 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1108 prefix=$ac_optarg ;;
1110 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1111 | --program-pre | --program-pr | --program-p)
1112 ac_prev=program_prefix ;;
1113 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1114 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1115 program_prefix=$ac_optarg ;;
1117 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1118 | --program-suf | --program-su | --program-s)
1119 ac_prev=program_suffix ;;
1120 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1121 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1122 program_suffix=$ac_optarg ;;
1124 -program-transform-name | --program-transform-name \
1125 | --program-transform-nam | --program-transform-na \
1126 | --program-transform-n | --program-transform- \
1127 | --program-transform | --program-transfor \
1128 | --program-transfo | --program-transf \
1129 | --program-trans | --program-tran \
1130 | --progr-tra | --program-tr | --program-t)
1131 ac_prev=program_transform_name ;;
1132 -program-transform-name=* | --program-transform-name=* \
1133 | --program-transform-nam=* | --program-transform-na=* \
1134 | --program-transform-n=* | --program-transform-=* \
1135 | --program-transform=* | --program-transfor=* \
1136 | --program-transfo=* | --program-transf=* \
1137 | --program-trans=* | --program-tran=* \
1138 | --progr-tra=* | --program-tr=* | --program-t=*)
1139 program_transform_name=$ac_optarg ;;
1141 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1143 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1144 pdfdir=$ac_optarg ;;
1146 -psdir | --psdir | --psdi | --psd | --ps)
1148 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1151 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1152 | -silent | --silent | --silen | --sile | --sil)
1155 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1157 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1159 sbindir=$ac_optarg ;;
1161 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1162 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1163 | --sharedst | --shareds | --shared | --share | --shar \
1165 ac_prev=sharedstatedir ;;
1166 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1167 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1168 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1170 sharedstatedir=$ac_optarg ;;
1172 -site | --site | --sit)
1174 -site=* | --site=* | --sit=*)
1177 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1179 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1180 srcdir=$ac_optarg ;;
1182 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1183 | --syscon | --sysco | --sysc | --sys | --sy)
1184 ac_prev=sysconfdir ;;
1185 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1186 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1187 sysconfdir=$ac_optarg ;;
1189 -target | --target | --targe | --targ | --tar | --ta | --t)
1190 ac_prev=target_alias ;;
1191 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1192 target_alias=$ac_optarg ;;
1194 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1197 -version | --version | --versio | --versi | --vers | -V)
1198 ac_init_version=: ;;
1201 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 as_fn_error $? "invalid package name: $ac_useropt"
1205 ac_useropt_orig=$ac_useropt
1206 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212 ac_unrecognized_sep=', ';;
1214 eval with_$ac_useropt=\$ac_optarg ;;
1216 -without-* | --without-*)
1217 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1220 as_fn_error $? "invalid package name: $ac_useropt"
1221 ac_useropt_orig=$ac_useropt
1222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228 ac_unrecognized_sep=', ';;
1230 eval with_$ac_useropt=no ;;
1233 # Obsolete; use --with-x.
1236 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1237 | --x-incl | --x-inc | --x-in | --x-i)
1238 ac_prev=x_includes ;;
1239 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1240 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1241 x_includes=$ac_optarg ;;
1243 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1244 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1245 ac_prev=x_libraries ;;
1246 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1247 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1248 x_libraries=$ac_optarg ;;
1250 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1251 Try \`$0 --help' for more information"
1255 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 case $ac_envvar in #(
1258 '' | [0-9]* | *[!_$as_cr_alnum]* )
1259 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1261 eval $ac_envvar=\$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1268 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1275 if test -n "$ac_prev"; then
1276 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1277 as_fn_error $? "missing argument to $ac_option"
1280 if test -n "$ac_unrecognized_opts"; then
1281 case $enable_option_checking in
1283 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1284 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1288 # Check all directory arguments for consistency.
1289 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val=\$$ac_var
1295 # Remove trailing slashes.
1298 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299 eval $ac_var=\$ac_val;;
1301 # Be sure to have absolute directory names.
1303 [\\/$]* | ?:[\\/]* ) continue;;
1304 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1306 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1314 target=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x; then
1318 if test "x$build_alias" = x; then
1319 cross_compiling=maybe
1320 elif test "x$build_alias" != "x$host_alias"; then
1326 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1328 test "$silent" = yes && exec 6>/dev/null
1331 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1332 ac_ls_di=`ls -di .` &&
1333 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1334 as_fn_error $? "working directory cannot be determined"
1335 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1336 as_fn_error $? "pwd does not report name of working directory"
1339 # Find the source files, if location was not specified.
1340 if test -z "$srcdir"; then
1341 ac_srcdir_defaulted=yes
1342 # Try the directory containing this script, then the parent directory.
1343 ac_confdir=`$as_dirname -- "$as_myself" ||
1344 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1345 X"$as_myself" : 'X\(//\)[^/]' \| \
1346 X"$as_myself" : 'X\(//\)$' \| \
1347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1348 $as_echo X"$as_myself" |
1349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367 if test ! -r "$srcdir/$ac_unique_file"; then
1371 ac_srcdir_defaulted=no
1373 if test ! -r "$srcdir/$ac_unique_file"; then
1374 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1375 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1377 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1381 # When building in place, set srcdir=.
1382 if test "$ac_abs_confdir" = "$ac_pwd"; then
1385 # Remove unnecessary trailing slashes from srcdir.
1386 # Double slashes in file names in object file debugging info
1387 # mess up M-x gdb in Emacs.
1389 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1391 for ac_var in $ac_precious_vars; do
1392 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_env_${ac_var}_value=\$${ac_var}
1394 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1395 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1399 # Report the --help message.
1401 if test "$ac_init_help" = "long"; then
1402 # Omit some internal or obsolete options to make the list less imposing.
1403 # This message is too long to be a string in the A/UX 3.1 sh.
1405 \`configure' configures Wine 1.5.21 to adapt to many kinds of systems.
1407 Usage: $0 [OPTION]... [VAR=VALUE]...
1409 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1410 VAR=VALUE. See below for descriptions of some of the useful variables.
1412 Defaults for the options are specified in brackets.
1415 -h, --help display this help and exit
1416 --help=short display options specific to this package
1417 --help=recursive display the short help of all the included packages
1418 -V, --version display version information and exit
1419 -q, --quiet, --silent do not print \`checking ...' messages
1420 --cache-file=FILE cache test results in FILE [disabled]
1421 -C, --config-cache alias for \`--cache-file=config.cache'
1422 -n, --no-create do not create output files
1423 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1425 Installation directories:
1426 --prefix=PREFIX install architecture-independent files in PREFIX
1427 [$ac_default_prefix]
1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1431 By default, \`make install' will install all the files in
1432 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1433 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1434 for instance \`--prefix=\$HOME'.
1436 For better control, use the options below.
1438 Fine tuning of the installation directories:
1439 --bindir=DIR user executables [EPREFIX/bin]
1440 --sbindir=DIR system admin executables [EPREFIX/sbin]
1441 --libexecdir=DIR program executables [EPREFIX/libexec]
1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1445 --libdir=DIR object code libraries [EPREFIX/lib]
1446 --includedir=DIR C header files [PREFIX/include]
1447 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1448 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1449 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1450 --infodir=DIR info documentation [DATAROOTDIR/info]
1451 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1452 --mandir=DIR man documentation [DATAROOTDIR/man]
1453 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1454 --htmldir=DIR html documentation [DOCDIR]
1455 --dvidir=DIR dvi documentation [DOCDIR]
1456 --pdfdir=DIR pdf documentation [DOCDIR]
1457 --psdir=DIR ps documentation [DOCDIR]
1463 --x-includes=DIR X include files are in DIR
1464 --x-libraries=DIR X library files are in DIR
1467 --build=BUILD configure for building on BUILD [guessed]
1468 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1472 if test -n "$ac_init_help"; then
1473 case $ac_init_help in
1474 short | recursive ) echo "Configuration of Wine 1.5.21:";;
1479 --disable-option-checking ignore unrecognized --enable/--with options
1480 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1481 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1482 --disable-win16 do not include Win16 support
1483 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1485 --disable-tests do not build the regression tests
1486 --enable-maintainer-mode
1487 enable maintainer-specific build rules
1488 --disable-largefile omit support for large files
1491 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1492 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1493 --without-alsa do not use the Alsa sound support
1494 --without-capi do not use CAPI (ISDN support)
1495 --without-cms do not use CMS (color management support)
1496 --without-coreaudio do not use the CoreAudio sound support
1497 --without-cups do not use CUPS
1498 --without-curses do not use (n)curses
1499 --without-dbus do not use DBus (dynamic device support)
1500 --without-fontconfig do not use fontconfig
1501 --without-freetype do not use the FreeType library
1502 --without-gettext do not use gettext
1503 --with-gettextpo use the GetTextPO library to rebuild po files
1504 --without-gphoto do not use gphoto (Digital Camera support)
1505 --without-glu do not use the GLU library
1506 --without-gnutls do not use GnuTLS (schannel support)
1507 --without-gsm do not use libgsm (GSM 06.10 codec support)
1508 --without-gstreamer do not use GStreamer (codecs support)
1509 --without-hal do not use HAL (dynamic device support)
1510 --without-jpeg do not use JPEG
1511 --without-ldap do not use LDAP
1512 --without-mpg123 do not use the mpg123 library
1513 --without-openal do not use OpenAL
1514 --without-opencl do not use OpenCL
1515 --without-opengl do not use OpenGL
1516 --without-openssl do not use OpenSSL
1517 --without-osmesa do not use the OSMesa library
1518 --without-oss do not use the OSS sound support
1519 --without-png do not use PNG
1520 --without-pthread do not use the pthread library
1521 --without-sane do not use SANE (scanner support)
1522 --without-tiff do not use TIFF
1523 --without-v4l do not use v4l1 (v4l support)
1524 --without-xcomposite do not use the Xcomposite extension
1525 --without-xcursor do not use the Xcursor extension
1526 --without-xinerama do not use Xinerama (multi-monitor support)
1527 --without-xinput do not use the Xinput extension
1528 --without-xinput2 do not use the Xinput 2 extension
1529 --without-xml do not use XML
1530 --without-xrandr do not use Xrandr (resolution changes)
1531 --without-xrender do not use the Xrender extension
1532 --without-xshape do not use the Xshape extension
1533 --without-xshm do not use XShm (shared memory extension)
1534 --without-xslt do not use XSLT
1535 --without-xxf86vm do not use XFree video mode extension
1536 --without-zlib do not use Zlib (data compression)
1537 --with-wine-tools=DIR use Wine tools from directory DIR
1538 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1539 --with-x use the X Window System
1541 Some influential environment variables:
1542 CC C compiler command
1543 CFLAGS C compiler flags
1544 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1545 nonstandard directory <lib dir>
1546 LIBS libraries to pass to the linker, e.g. -l<library>
1547 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1548 you have headers in a nonstandard directory <include dir>
1549 CXX C++ compiler command
1550 CXXFLAGS C++ compiler flags
1552 XMKMF Path to xmkmf, Makefile generator for X Window System
1554 Use these variables to override the choices made by `configure' or to help
1555 it to find libraries and programs with nonstandard names/locations.
1557 Report bugs to <wine-devel@winehq.org>.
1558 Wine home page: <http://www.winehq.org>.
1563 if test "$ac_init_help" = "recursive"; then
1564 # If there are subdirs, report their specific --help.
1565 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1566 test -d "$ac_dir" ||
1567 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1572 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1575 # A ".." for each directory in $ac_dir_suffix.
1576 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1577 case $ac_top_builddir_sub in
1578 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1579 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582 ac_abs_top_builddir=$ac_pwd
1583 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1584 # for backward compatibility:
1585 ac_top_builddir=$ac_top_build_prefix
1588 .) # We are building in place.
1590 ac_top_srcdir=$ac_top_builddir_sub
1591 ac_abs_top_srcdir=$ac_pwd ;;
1592 [\\/]* | ?:[\\/]* ) # Absolute name.
1593 ac_srcdir=$srcdir$ac_dir_suffix;
1594 ac_top_srcdir=$srcdir
1595 ac_abs_top_srcdir=$srcdir ;;
1597 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1598 ac_top_srcdir=$ac_top_build_prefix$srcdir
1599 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1601 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1603 cd "$ac_dir" || { ac_status=$?; continue; }
1604 # Check for guested configure.
1605 if test -f "$ac_srcdir/configure.gnu"; then
1607 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1608 elif test -f "$ac_srcdir/configure"; then
1610 $SHELL "$ac_srcdir/configure" --help=recursive
1612 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1614 cd "$ac_pwd" || { ac_status=$?; break; }
1618 test -n "$ac_init_help" && exit $ac_status
1619 if $ac_init_version; then
1621 Wine configure 1.5.21
1622 generated by GNU Autoconf 2.69
1624 Copyright (C) 2012 Free Software Foundation, Inc.
1625 This configure script is free software; the Free Software Foundation
1626 gives unlimited permission to copy, distribute and modify it.
1631 ## ------------------------ ##
1632 ## Autoconf initialization. ##
1633 ## ------------------------ ##
1635 # ac_fn_c_try_compile LINENO
1636 # --------------------------
1637 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1638 ac_fn_c_try_compile ()
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 rm -f conftest.$ac_objext
1642 if { { ac_try="$ac_compile"
1644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1645 *) ac_try_echo=$ac_try;;
1647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_compile") 2>conftest.err
1651 if test -s conftest.err; then
1652 grep -v '^ *+' conftest.err >conftest.er1
1653 cat conftest.er1 >&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && {
1658 test -z "$ac_c_werror_flag" ||
1659 test ! -s conftest.err
1660 } && test -s conftest.$ac_objext; then :
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.$ac_ext >&5
1668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1669 as_fn_set_status $ac_retval
1671 } # ac_fn_c_try_compile
1673 # ac_fn_cxx_try_compile LINENO
1674 # ----------------------------
1675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1676 ac_fn_cxx_try_compile ()
1678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679 rm -f conftest.$ac_objext
1680 if { { ac_try="$ac_compile"
1682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_compile") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_cxx_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest.$ac_objext; then :
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1707 as_fn_set_status $ac_retval
1709 } # ac_fn_cxx_try_compile
1711 # ac_fn_c_try_link LINENO
1712 # -----------------------
1713 # Try to link conftest.$ac_ext, and return whether this succeeded.
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext conftest$ac_exeext
1718 if { { ac_try="$ac_link"
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_link") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest$ac_exeext && {
1737 test "$cross_compiling" = yes ||
1738 test -x conftest$ac_exeext
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1748 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1749 # interfere with the next link command; also delete a directory that is
1750 # left behind by Apple's compiler. We do this before executing the actions.
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1755 } # ac_fn_c_try_link
1757 # ac_fn_c_try_cpp LINENO
1758 # ----------------------
1759 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1762 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1763 if { { ac_try="$ac_cpp conftest.$ac_ext"
1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1772 if test -s conftest.err; then
1773 grep -v '^ *+' conftest.err >conftest.er1
1774 cat conftest.er1 >&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } > conftest.i && {
1779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1780 test ! -s conftest.err
1784 $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790 as_fn_set_status $ac_retval
1794 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1795 # -------------------------------------------------------
1796 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1797 # the include files in INCLUDES and setting the cache variable VAR
1799 ac_fn_c_check_header_mongrel ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 if eval \${$3+:} false; then :
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1804 $as_echo_n "checking for $2... " >&6; }
1805 if eval \${$3+:} false; then :
1806 $as_echo_n "(cached) " >&6
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1812 # Is the header compilable?
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1814 $as_echo_n "checking $2 usability... " >&6; }
1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1816 /* end confdefs.h. */
1820 if ac_fn_c_try_compile "$LINENO"; then :
1821 ac_header_compiler=yes
1823 ac_header_compiler=no
1825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1827 $as_echo "$ac_header_compiler" >&6; }
1829 # Is the header present?
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1831 $as_echo_n "checking $2 presence... " >&6; }
1832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833 /* end confdefs.h. */
1836 if ac_fn_c_try_cpp "$LINENO"; then :
1837 ac_header_preproc=yes
1839 ac_header_preproc=no
1841 rm -f conftest.err conftest.i conftest.$ac_ext
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1843 $as_echo "$ac_header_preproc" >&6; }
1845 # So? What about this header?
1846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1849 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1851 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1855 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1857 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1859 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1861 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1863 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1864 ( $as_echo "## ------------------------------------ ##
1865 ## Report this to wine-devel@winehq.org ##
1866 ## ------------------------------------ ##"
1867 ) | sed "s/^/$as_me: WARNING: /" >&2
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6
1875 eval "$3=\$ac_header_compiler"
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1879 $as_echo "$ac_res" >&6; }
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 } # ac_fn_c_check_header_mongrel
1885 # ac_fn_c_try_run LINENO
1886 # ----------------------
1887 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1888 # that executables *can* be run.
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 if { { ac_try="$ac_link"
1894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895 *) ac_try_echo=$ac_try;;
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899 (eval "$ac_link") 2>&5
1901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1902 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1903 { { case "(($ac_try" in
1904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905 *) ac_try_echo=$ac_try;;
1907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908 $as_echo "$ac_try_echo"; } >&5
1909 (eval "$ac_try") 2>&5
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; }; }; then :
1915 $as_echo "$as_me: program exited with status $ac_status" >&5
1916 $as_echo "$as_me: failed program was:" >&5
1917 sed 's/^/| /' conftest.$ac_ext >&5
1919 ac_retval=$ac_status
1921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 as_fn_set_status $ac_retval
1927 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1928 # -------------------------------------------------------
1929 # Tests whether HEADER exists and can be compiled using the include files in
1930 # INCLUDES, setting the cache variable VAR accordingly.
1931 ac_fn_c_check_header_compile ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval \${$3+:} false; then :
1937 $as_echo_n "(cached) " >&6
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1944 if ac_fn_c_try_compile "$LINENO"; then :
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1956 } # ac_fn_c_check_header_compile
1958 # ac_fn_c_check_func LINENO FUNC VAR
1959 # ----------------------------------
1960 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1961 ac_fn_c_check_func ()
1963 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1965 $as_echo_n "checking for $2... " >&6; }
1966 if eval \${$3+:} false; then :
1967 $as_echo_n "(cached) " >&6
1969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970 /* end confdefs.h. */
1971 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1973 #define $2 innocuous_$2
1975 /* System header to define __stub macros and hopefully few prototypes,
1976 which can conflict with char $2 (); below.
1977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1978 <limits.h> exists even on freestanding compilers. */
1981 # include <limits.h>
1983 # include <assert.h>
1988 /* Override any GCC internal prototype to avoid an error.
1989 Use char because int might match the return type of a GCC
1990 builtin and then its argument prototype would still apply. */
1995 /* The GNU C library defines this for functions which it implements
1996 to always fail with ENOSYS. Some functions are actually named
1997 something starting with __ and the normal name is an alias. */
1998 #if defined __stub_$2 || defined __stub___$2
2010 if ac_fn_c_try_link "$LINENO"; then :
2015 rm -f core conftest.err conftest.$ac_objext \
2016 conftest$ac_exeext conftest.$ac_ext
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020 $as_echo "$ac_res" >&6; }
2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023 } # ac_fn_c_check_func
2025 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2026 # ----------------------------------------------------
2027 # Tries to find if the field MEMBER exists in type AGGR, after including
2028 # INCLUDES, setting cache variable VAR accordingly.
2029 ac_fn_c_check_member ()
2031 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2033 $as_echo_n "checking for $2.$3... " >&6; }
2034 if eval \${$4+:} false; then :
2035 $as_echo_n "(cached) " >&6
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2050 if ac_fn_c_try_compile "$LINENO"; then :
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2060 if (sizeof ac_aggr.$3)
2066 if ac_fn_c_try_compile "$LINENO"; then :
2071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2080 } # ac_fn_c_check_member
2082 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2083 # -------------------------------------------
2084 # Tests whether TYPE exists after having included INCLUDES, setting cache
2085 # variable VAR accordingly.
2086 ac_fn_c_check_type ()
2088 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2090 $as_echo_n "checking for $2... " >&6; }
2091 if eval \${$3+:} false; then :
2092 $as_echo_n "(cached) " >&6
2095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2107 if ac_fn_c_try_compile "$LINENO"; then :
2108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109 /* end confdefs.h. */
2120 if ac_fn_c_try_compile "$LINENO"; then :
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2131 $as_echo "$ac_res" >&6; }
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2134 } # ac_fn_c_check_type
2135 cat >config.log <<_ACEOF
2136 This file contains any messages produced by compilers while
2137 running configure, to aid debugging if configure makes a mistake.
2139 It was created by Wine $as_me 1.5.21, which was
2140 generated by GNU Autoconf 2.69. Invocation command line was
2152 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2153 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2154 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2155 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2156 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2158 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2159 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2161 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2162 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2163 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2164 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2165 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2166 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2167 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 $as_echo "PATH: $as_dir"
2192 # Keep a trace of the command line.
2193 # Strip out --no-create and --no-recursion so they do not pile up.
2194 # Strip out --silent because we don't want to record it for future runs.
2195 # Also quote any args containing shell meta-characters.
2196 # Make two passes to allow for proper duplicate-argument suppression.
2200 ac_must_keep_next=false
2206 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2207 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2208 | -silent | --silent | --silen | --sile | --sil)
2211 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2214 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2216 as_fn_append ac_configure_args1 " '$ac_arg'"
2217 if test $ac_must_keep_next = true; then
2218 ac_must_keep_next=false # Got value, back to normal.
2221 *=* | --config-cache | -C | -disable-* | --disable-* \
2222 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2223 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2224 | -with-* | --with-* | -without-* | --without-* | --x)
2225 case "$ac_configure_args0 " in
2226 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2229 -* ) ac_must_keep_next=true ;;
2232 as_fn_append ac_configure_args " '$ac_arg'"
2237 { ac_configure_args0=; unset ac_configure_args0;}
2238 { ac_configure_args1=; unset ac_configure_args1;}
2240 # When interrupted or exit'd, cleanup temporary files, and complete
2241 # config.log. We remove comments because anyway the quotes in there
2242 # would cause problems or look ugly.
2243 # WARNING: Use '\'' to represent an apostrophe within the trap.
2244 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2245 trap 'exit_status=$?
2246 # Save into config.log some information that might help in debugging.
2250 $as_echo "## ---------------- ##
2251 ## Cache variables. ##
2252 ## ---------------- ##"
2254 # The following way of writing the cache mishandles newlines in values,
2256 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2257 eval ac_val=\$$ac_var
2261 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2265 _ | IFS | as_nl) ;; #(
2266 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2267 *) { eval $ac_var=; unset $ac_var;} ;;
2272 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2273 *${as_nl}ac_space=\ *)
2275 "s/'\''/'\''\\\\'\'''\''/g;
2276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2279 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2286 $as_echo "## ----------------- ##
2287 ## Output variables. ##
2288 ## ----------------- ##"
2290 for ac_var in $ac_subst_vars
2292 eval ac_val=\$$ac_var
2294 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296 $as_echo "$ac_var='\''$ac_val'\''"
2300 if test -n "$ac_subst_files"; then
2301 $as_echo "## ------------------- ##
2302 ## File substitutions. ##
2303 ## ------------------- ##"
2305 for ac_var in $ac_subst_files
2307 eval ac_val=\$$ac_var
2309 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2311 $as_echo "$ac_var='\''$ac_val'\''"
2316 if test -s confdefs.h; then
2317 $as_echo "## ----------- ##
2324 test "$ac_signal" != 0 &&
2325 $as_echo "$as_me: caught signal $ac_signal"
2326 $as_echo "$as_me: exit $exit_status"
2328 rm -f core *.core core.conftest.* &&
2329 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2332 for ac_signal in 1 2 13 15; do
2333 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2338 rm -f -r conftest* confdefs.h
2340 $as_echo "/* confdefs.h */" > confdefs.h
2342 # Predefined preprocessor variables.
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_NAME "$PACKAGE_NAME"
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_STRING "$PACKAGE_STRING"
2360 cat >>confdefs.h <<_ACEOF
2361 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2364 cat >>confdefs.h <<_ACEOF
2365 #define PACKAGE_URL "$PACKAGE_URL"
2369 # Let the site file select an alternate cache file if it wants to.
2370 # Prefer an explicitly selected file to automatically selected ones.
2373 if test -n "$CONFIG_SITE"; then
2374 # We do not want a PATH search for config.site.
2375 case $CONFIG_SITE in #((
2376 -*) ac_site_file1=./$CONFIG_SITE;;
2377 */*) ac_site_file1=$CONFIG_SITE;;
2378 *) ac_site_file1=./$CONFIG_SITE;;
2380 elif test "x$prefix" != xNONE; then
2381 ac_site_file1=$prefix/share/config.site
2382 ac_site_file2=$prefix/etc/config.site
2384 ac_site_file1=$ac_default_prefix/share/config.site
2385 ac_site_file2=$ac_default_prefix/etc/config.site
2387 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2389 test "x$ac_site_file" = xNONE && continue
2390 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393 sed 's/^/| /' "$ac_site_file" >&5
2395 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2397 as_fn_error $? "failed to load site script $ac_site_file
2398 See \`config.log' for more details" "$LINENO" 5; }
2402 if test -r "$cache_file"; then
2403 # Some versions of bash will fail to source /dev/null (special files
2404 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2405 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2407 $as_echo "$as_me: loading cache $cache_file" >&6;}
2409 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2410 *) . "./$cache_file";;
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2415 $as_echo "$as_me: creating cache $cache_file" >&6;}
2419 # Check that the precious variables saved in the cache have kept the same
2421 ac_cache_corrupted=false
2422 for ac_var in $ac_precious_vars; do
2423 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2424 eval ac_new_set=\$ac_env_${ac_var}_set
2425 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2426 eval ac_new_val=\$ac_env_${ac_var}_value
2427 case $ac_old_set,$ac_new_set in
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431 ac_cache_corrupted=: ;;
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2435 ac_cache_corrupted=: ;;
2438 if test "x$ac_old_val" != "x$ac_new_val"; then
2439 # differences in whitespace do not lead to failure.
2440 ac_old_val_w=`echo x $ac_old_val`
2441 ac_new_val_w=`echo x $ac_new_val`
2442 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2445 ac_cache_corrupted=:
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449 eval $ac_var=\$ac_old_val
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2452 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2457 # Pass precious variables to config.status.
2458 if test "$ac_new_set" = set; then
2460 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2461 *) ac_arg=$ac_var=$ac_new_val ;;
2463 case " $ac_configure_args " in
2464 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2465 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2469 if $ac_cache_corrupted; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2481 ac_cpp='$CPP $CPPFLAGS'
2482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2488 ac_config_headers="$ac_config_headers include/config.h"
2491 for ac_dir in tools "$srcdir"/tools; do
2492 if test -f "$ac_dir/install-sh"; then
2494 ac_install_sh="$ac_aux_dir/install-sh -c"
2496 elif test -f "$ac_dir/install.sh"; then
2498 ac_install_sh="$ac_aux_dir/install.sh -c"
2500 elif test -f "$ac_dir/shtool"; then
2502 ac_install_sh="$ac_aux_dir/shtool install -c"
2506 if test -z "$ac_aux_dir"; then
2507 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2510 # These three variables are undocumented and unsupported,
2511 # and are intended to be withdrawn in a future Autoconf release.
2512 # They can cause serious problems if a builder's source tree is in a directory
2513 # whose full name contains unusual characters.
2514 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2515 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2516 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2522 # Check whether --enable-win16 was given.
2523 if test "${enable_win16+set}" = set; then :
2524 enableval=$enable_win16;
2527 # Check whether --enable-win64 was given.
2528 if test "${enable_win64+set}" = set; then :
2529 enableval=$enable_win64;
2532 # Check whether --enable-tests was given.
2533 if test "${enable_tests+set}" = set; then :
2534 enableval=$enable_tests;
2537 # Check whether --enable-maintainer-mode was given.
2538 if test "${enable_maintainer_mode+set}" = set; then :
2539 enableval=$enable_maintainer_mode;
2544 # Check whether --with-alsa was given.
2545 if test "${with_alsa+set}" = set; then :
2546 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2550 # Check whether --with-capi was given.
2551 if test "${with_capi+set}" = set; then :
2552 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2556 # Check whether --with-cms was given.
2557 if test "${with_cms+set}" = set; then :
2558 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2562 # Check whether --with-coreaudio was given.
2563 if test "${with_coreaudio+set}" = set; then :
2564 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2568 # Check whether --with-cups was given.
2569 if test "${with_cups+set}" = set; then :
2574 # Check whether --with-curses was given.
2575 if test "${with_curses+set}" = set; then :
2576 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2580 # Check whether --with-dbus was given.
2581 if test "${with_dbus+set}" = set; then :
2586 # Check whether --with-fontconfig was given.
2587 if test "${with_fontconfig+set}" = set; then :
2588 withval=$with_fontconfig;
2592 # Check whether --with-freetype was given.
2593 if test "${with_freetype+set}" = set; then :
2594 withval=$with_freetype;
2598 # Check whether --with-gettext was given.
2599 if test "${with_gettext+set}" = set; then :
2600 withval=$with_gettext;
2604 # Check whether --with-gettextpo was given.
2605 if test "${with_gettextpo+set}" = set; then :
2606 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
2610 # Check whether --with-gphoto was given.
2611 if test "${with_gphoto+set}" = set; then :
2612 withval=$with_gphoto;
2616 # Check whether --with-glu was given.
2617 if test "${with_glu+set}" = set; then :
2622 # Check whether --with-gnutls was given.
2623 if test "${with_gnutls+set}" = set; then :
2624 withval=$with_gnutls;
2628 # Check whether --with-gsm was given.
2629 if test "${with_gsm+set}" = set; then :
2630 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
2634 # Check whether --with-gstreamer was given.
2635 if test "${with_gstreamer+set}" = set; then :
2636 withval=$with_gstreamer;
2640 # Check whether --with-hal was given.
2641 if test "${with_hal+set}" = set; then :
2646 # Check whether --with-jpeg was given.
2647 if test "${with_jpeg+set}" = set; then :
2648 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2652 # Check whether --with-ldap was given.
2653 if test "${with_ldap+set}" = set; then :
2654 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2658 # Check whether --with-mpg123 was given.
2659 if test "${with_mpg123+set}" = set; then :
2660 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2664 # Check whether --with-openal was given.
2665 if test "${with_openal+set}" = set; then :
2666 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
2670 # Check whether --with-opencl was given.
2671 if test "${with_opencl+set}" = set; then :
2672 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
2676 # Check whether --with-opengl was given.
2677 if test "${with_opengl+set}" = set; then :
2678 withval=$with_opengl;
2682 # Check whether --with-openssl was given.
2683 if test "${with_openssl+set}" = set; then :
2684 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2688 # Check whether --with-osmesa was given.
2689 if test "${with_osmesa+set}" = set; then :
2690 withval=$with_osmesa;
2694 # Check whether --with-oss was given.
2695 if test "${with_oss+set}" = set; then :
2700 # Check whether --with-png was given.
2701 if test "${with_png+set}" = set; then :
2702 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2706 # Check whether --with-pthread was given.
2707 if test "${with_pthread+set}" = set; then :
2708 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2712 # Check whether --with-sane was given.
2713 if test "${with_sane+set}" = set; then :
2718 # Check whether --with-tiff was given.
2719 if test "${with_tiff+set}" = set; then :
2720 withval=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h=no; fi
2724 # Check whether --with-v4l was given.
2725 if test "${with_v4l+set}" = set; then :
2730 # Check whether --with-xcomposite was given.
2731 if test "${with_xcomposite+set}" = set; then :
2732 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2736 # Check whether --with-xcursor was given.
2737 if test "${with_xcursor+set}" = set; then :
2738 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2742 # Check whether --with-xinerama was given.
2743 if test "${with_xinerama+set}" = set; then :
2744 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2748 # Check whether --with-xinput was given.
2749 if test "${with_xinput+set}" = set; then :
2750 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2754 # Check whether --with-xinput2 was given.
2755 if test "${with_xinput2+set}" = set; then :
2756 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
2760 # Check whether --with-xml was given.
2761 if test "${with_xml+set}" = set; then :
2766 # Check whether --with-xrandr was given.
2767 if test "${with_xrandr+set}" = set; then :
2768 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2772 # Check whether --with-xrender was given.
2773 if test "${with_xrender+set}" = set; then :
2774 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2778 # Check whether --with-xshape was given.
2779 if test "${with_xshape+set}" = set; then :
2780 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2784 # Check whether --with-xshm was given.
2785 if test "${with_xshm+set}" = set; then :
2786 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2790 # Check whether --with-xslt was given.
2791 if test "${with_xslt+set}" = set; then :
2796 # Check whether --with-xxf86vm was given.
2797 if test "${with_xxf86vm+set}" = set; then :
2798 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
2802 # Check whether --with-zlib was given.
2803 if test "${with_zlib+set}" = set; then :
2804 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
2809 # Check whether --with-wine-tools was given.
2810 if test "${with_wine_tools+set}" = set; then :
2811 withval=$with_wine_tools;
2815 # Check whether --with-wine64 was given.
2816 if test "${with_wine64+set}" = set; then :
2817 withval=$with_wine64;
2821 # Make sure we can run config.sub.
2822 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2823 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2826 $as_echo_n "checking build system type... " >&6; }
2827 if ${ac_cv_build+:} false; then :
2828 $as_echo_n "(cached) " >&6
2830 ac_build_alias=$build_alias
2831 test "x$ac_build_alias" = x &&
2832 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2833 test "x$ac_build_alias" = x &&
2834 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2835 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2836 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2840 $as_echo "$ac_cv_build" >&6; }
2841 case $ac_cv_build in
2843 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2846 ac_save_IFS=$IFS; IFS='-'
2852 # Remember, the first character of IFS is used to create $*,
2853 # except with old shells:
2856 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2860 $as_echo_n "checking host system type... " >&6; }
2861 if ${ac_cv_host+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 if test "x$host_alias" = x; then
2865 ac_cv_host=$ac_cv_build
2867 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2868 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2873 $as_echo "$ac_cv_host" >&6; }
2876 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2879 ac_save_IFS=$IFS; IFS='-'
2885 # Remember, the first character of IFS is used to create $*,
2886 # except with old shells:
2889 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2895 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2896 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
2897 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2903 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2905 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2906 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2907 $as_echo_n "(cached) " >&6
2909 cat >conftest.make <<\_ACEOF
2912 @echo '@@@%%%=$(MAKE)=@@@%%%'
2914 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2915 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2917 eval ac_cv_prog_make_${ac_make}_set=yes;;
2919 eval ac_cv_prog_make_${ac_make}_set=no;;
2923 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2925 $as_echo "yes" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2930 SET_MAKE="MAKE=${MAKE-make}"
2934 ac_cpp='$CPP $CPPFLAGS'
2935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2938 if test -n "$ac_tool_prefix"; then
2939 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2940 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if ${ac_cv_prog_CC+:} false; then :
2944 $as_echo_n "(cached) " >&6
2946 if test -n "$CC"; then
2947 ac_cv_prog_CC="$CC" # Let the user override the test.
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2956 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2967 if test -n "$CC"; then
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2977 if test -z "$ac_cv_prog_CC"; then
2979 # Extract the first word of "gcc", so it can be a program name with args.
2980 set dummy gcc; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2984 $as_echo_n "(cached) " >&6
2986 if test -n "$ac_ct_CC"; then
2987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2993 test -z "$as_dir" && as_dir=.
2994 for ac_exec_ext in '' $ac_executable_extensions; do
2995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2996 ac_cv_prog_ac_ct_CC="gcc"
2997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3007 if test -n "$ac_ct_CC"; then
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3009 $as_echo "$ac_ct_CC" >&6; }
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3015 if test "x$ac_ct_CC" = x; then
3018 case $cross_compiling:$ac_tool_warned in
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned=yes ;;
3030 if test -z "$CC"; then
3031 if test -n "$ac_tool_prefix"; then
3032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3033 set dummy ${ac_tool_prefix}cc; ac_word=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if ${ac_cv_prog_CC+:} false; then :
3037 $as_echo_n "(cached) " >&6
3039 if test -n "$CC"; then
3040 ac_cv_prog_CC="$CC" # Let the user override the test.
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_CC="${ac_tool_prefix}cc"
3050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3060 if test -n "$CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3062 $as_echo "$CC" >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3071 if test -z "$CC"; then
3072 # Extract the first word of "cc", so it can be a program name with args.
3073 set dummy cc; ac_word=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if ${ac_cv_prog_CC+:} false; then :
3077 $as_echo_n "(cached) " >&6
3079 if test -n "$CC"; then
3080 ac_cv_prog_CC="$CC" # Let the user override the test.
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3091 ac_prog_rejected=yes
3095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 if test $ac_prog_rejected = yes; then
3103 # We found a bogon in the path, so make sure we never use it.
3104 set dummy $ac_cv_prog_CC
3106 if test $# != 0; then
3107 # We chose a different compiler from the bogus one.
3108 # However, it has the same basename, so the bogon will be chosen
3109 # first if we set CC to just the basename; use the full file name.
3111 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3117 if test -n "$CC"; then
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3119 $as_echo "$CC" >&6; }
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3127 if test -z "$CC"; then
3128 if test -n "$ac_tool_prefix"; then
3129 for ac_prog in cl.exe
3131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if ${ac_cv_prog_CC+:} false; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$CC"; then
3139 ac_cv_prog_CC="$CC" # Let the user override the test.
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test -n "$CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3168 test -n "$CC" && break
3171 if test -z "$CC"; then
3173 for ac_prog in cl.exe
3175 # Extract the first word of "$ac_prog", so it can be a program name with args.
3176 set dummy $ac_prog; ac_word=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3180 $as_echo_n "(cached) " >&6
3182 if test -n "$ac_ct_CC"; then
3183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 test -z "$as_dir" && as_dir=.
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3192 ac_cv_prog_ac_ct_CC="$ac_prog"
3193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203 if test -n "$ac_ct_CC"; then
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3205 $as_echo "$ac_ct_CC" >&6; }
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3212 test -n "$ac_ct_CC" && break
3215 if test "x$ac_ct_CC" = x; then
3218 case $cross_compiling:$ac_tool_warned in
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3222 ac_tool_warned=yes ;;
3231 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $? "no acceptable C compiler found in \$PATH
3234 See \`config.log' for more details" "$LINENO" 5; }
3236 # Provide some information about the compiler.
3237 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3240 for ac_option in --version -v -V -qversion; do
3241 { { ac_try="$ac_compiler $ac_option >&5"
3243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244 *) ac_try_echo=$ac_try;;
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3250 if test -s conftest.err; then
3252 ... rest of stderr output deleted ...
3253 10q' conftest.err >conftest.er1
3254 cat conftest.er1 >&5
3256 rm -f conftest.er1 conftest.err
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3272 ac_clean_files_save=$ac_clean_files
3273 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3274 # Try to create an executable without -o first, disregard a.out.
3275 # It will help us diagnose broken compilers, and finding out an intuition
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3278 $as_echo_n "checking whether the C compiler works... " >&6; }
3279 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3281 # The possible output files:
3282 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3285 for ac_file in $ac_files
3288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3289 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3294 if { { ac_try="$ac_link_default"
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_link_default") 2>&5
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; }; then :
3305 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3306 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3307 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3308 # so that the user can short-circuit this test for compilers unknown to
3310 for ac_file in $ac_files ''
3312 test -f "$ac_file" || continue
3314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3317 # We found the default executable, but exeext='' is most
3321 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3323 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3325 # We set ac_cv_exeext here because the later test for it is not
3326 # safe: cross compilers may not add the suffix if given an `-o'
3327 # argument, so we may need to know it at that point already.
3328 # Even if this section looks crufty: it has the advantage of
3335 test "$ac_cv_exeext" = no && ac_cv_exeext=
3340 if test -z "$ac_file"; then :
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error 77 "C compiler cannot create executables
3349 See \`config.log' for more details" "$LINENO" 5; }
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3352 $as_echo "yes" >&6; }
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3355 $as_echo_n "checking for C compiler default output file name... " >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3357 $as_echo "$ac_file" >&6; }
3358 ac_exeext=$ac_cv_exeext
3360 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3361 ac_clean_files=$ac_clean_files_save
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3363 $as_echo_n "checking for suffix of executables... " >&6; }
3364 if { { ac_try="$ac_link"
3366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371 (eval "$ac_link") 2>&5
3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }; then :
3375 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3376 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3377 # work properly (i.e., refer to `conftest.exe'), while it won't with
3379 for ac_file in conftest.exe conftest conftest.*; do
3380 test -f "$ac_file" || continue
3382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3383 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3391 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3392 See \`config.log' for more details" "$LINENO" 5; }
3394 rm -f conftest conftest$ac_cv_exeext
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3396 $as_echo "$ac_cv_exeext" >&6; }
3398 rm -f conftest.$ac_ext
3399 EXEEXT=$ac_cv_exeext
3401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3402 /* end confdefs.h. */
3407 FILE *f = fopen ("conftest.out", "w");
3408 return ferror (f) || fclose (f) != 0;
3414 ac_clean_files="$ac_clean_files conftest.out"
3415 # Check that the compiler produces executables we can run. If not, either
3416 # the compiler is broken, or we cross compile.
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3418 $as_echo_n "checking whether we are cross compiling... " >&6; }
3419 if test "$cross_compiling" != yes; then
3420 { { ac_try="$ac_link"
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426 $as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_link") 2>&5
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }
3431 if { ac_try='./conftest$ac_cv_exeext'
3432 { { case "(($ac_try" in
3433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_try") 2>&5
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; }; then
3444 if test "$cross_compiling" = maybe; then
3447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3449 as_fn_error $? "cannot run C compiled programs.
3450 If you meant to cross compile, use \`--host'.
3451 See \`config.log' for more details" "$LINENO" 5; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3456 $as_echo "$cross_compiling" >&6; }
3458 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3459 ac_clean_files=$ac_clean_files_save
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3461 $as_echo_n "checking for suffix of object files... " >&6; }
3462 if ${ac_cv_objext+:} false; then :
3463 $as_echo_n "(cached) " >&6
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3476 rm -f conftest.o conftest.obj
3477 if { { ac_try="$ac_compile"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3483 $as_echo "$ac_try_echo"; } >&5
3484 (eval "$ac_compile") 2>&5
3486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3487 test $ac_status = 0; }; then :
3488 for ac_file in conftest.o conftest.obj conftest.*; do
3489 test -f "$ac_file" || continue;
3491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3497 $as_echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3502 as_fn_error $? "cannot compute suffix of object files: cannot compile
3503 See \`config.log' for more details" "$LINENO" 5; }
3505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3508 $as_echo "$ac_cv_objext" >&6; }
3509 OBJEXT=$ac_cv_objext
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3512 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3513 if ${ac_cv_c_compiler_gnu+:} false; then :
3514 $as_echo_n "(cached) " >&6
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3541 if test $ac_compiler_gnu = yes; then
3546 ac_test_CFLAGS=${CFLAGS+set}
3547 ac_save_CFLAGS=$CFLAGS
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3550 if ${ac_cv_prog_cc_g+:} false; then :
3551 $as_echo_n "(cached) " >&6
3553 ac_save_c_werror_flag=$ac_c_werror_flag
3554 ac_c_werror_flag=yes
3557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h. */
3568 if ac_fn_c_try_compile "$LINENO"; then :
3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573 /* end confdefs.h. */
3583 if ac_fn_c_try_compile "$LINENO"; then :
3586 ac_c_werror_flag=$ac_save_c_werror_flag
3588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3589 /* end confdefs.h. */
3599 if ac_fn_c_try_compile "$LINENO"; then :
3602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 ac_c_werror_flag=$ac_save_c_werror_flag
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3610 $as_echo "$ac_cv_prog_cc_g" >&6; }
3611 if test "$ac_test_CFLAGS" = set; then
3612 CFLAGS=$ac_save_CFLAGS
3613 elif test $ac_cv_prog_cc_g = yes; then
3614 if test "$GCC" = yes; then
3620 if test "$GCC" = yes; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3627 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3628 if ${ac_cv_prog_cc_c89+:} false; then :
3629 $as_echo_n "(cached) " >&6
3631 ac_cv_prog_cc_c89=no
3633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3634 /* end confdefs.h. */
3638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3639 struct buf { int x; };
3640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3641 static char *e (p, i)
3647 static char *f (char * (*g) (char **, int), char **p, ...)
3652 s = g (p, va_arg (v,int));
3657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3658 function prototypes and stuff, but not '\xHH' hex character constants.
3659 These don't provoke an error unfortunately, instead are silently treated
3660 as 'x'. The following induces an error, until -std is added to get
3661 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3662 array size at least. It's necessary to write '\x00'==0 to get something
3663 that's true only with -std. */
3664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3666 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3667 inside strings and character constants. */
3669 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3671 int test (int i, double x);
3672 struct s1 {int (*f) (int a);};
3673 struct s2 {int (*f) (double a);};
3674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3685 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3686 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3688 CC="$ac_save_CC $ac_arg"
3689 if ac_fn_c_try_compile "$LINENO"; then :
3690 ac_cv_prog_cc_c89=$ac_arg
3692 rm -f core conftest.err conftest.$ac_objext
3693 test "x$ac_cv_prog_cc_c89" != "xno" && break
3695 rm -f conftest.$ac_ext
3700 case "x$ac_cv_prog_cc_c89" in
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3703 $as_echo "none needed" >&6; } ;;
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3706 $as_echo "unsupported" >&6; } ;;
3708 CC="$CC $ac_cv_prog_cc_c89"
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3710 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3712 if test "x$ac_cv_prog_cc_c89" != xno; then :
3717 ac_cpp='$CPP $CPPFLAGS'
3718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3723 ac_cpp='$CXXCPP $CPPFLAGS'
3724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3727 if test -z "$CXX"; then
3728 if test -n "$CCC"; then
3731 if test -n "$ac_tool_prefix"; then
3732 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if ${ac_cv_prog_CXX+:} false; then :
3739 $as_echo_n "(cached) " >&6
3741 if test -n "$CXX"; then
3742 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3748 test -z "$as_dir" && as_dir=.
3749 for ac_exec_ext in '' $ac_executable_extensions; do
3750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3751 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 if test -n "$CXX"; then
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3764 $as_echo "$CXX" >&6; }
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3767 $as_echo "no" >&6; }
3771 test -n "$CXX" && break
3774 if test -z "$CXX"; then
3776 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3778 # Extract the first word of "$ac_prog", so it can be a program name with args.
3779 set dummy $ac_prog; ac_word=$2
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3781 $as_echo_n "checking for $ac_word... " >&6; }
3782 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 if test -n "$ac_ct_CXX"; then
3786 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3792 test -z "$as_dir" && as_dir=.
3793 for ac_exec_ext in '' $ac_executable_extensions; do
3794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3795 ac_cv_prog_ac_ct_CXX="$ac_prog"
3796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3806 if test -n "$ac_ct_CXX"; then
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3808 $as_echo "$ac_ct_CXX" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3815 test -n "$ac_ct_CXX" && break
3818 if test "x$ac_ct_CXX" = x; then
3821 case $cross_compiling:$ac_tool_warned in
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3825 ac_tool_warned=yes ;;
3833 # Provide some information about the compiler.
3834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3837 for ac_option in --version -v -V -qversion; do
3838 { { ac_try="$ac_compiler $ac_option >&5"
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3847 if test -s conftest.err; then
3849 ... rest of stderr output deleted ...
3850 10q' conftest.err >conftest.er1
3851 cat conftest.er1 >&5
3853 rm -f conftest.er1 conftest.err
3854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855 test $ac_status = 0; }
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3859 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3860 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3877 if ac_fn_cxx_try_compile "$LINENO"; then :
3882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3883 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3887 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3888 if test $ac_compiler_gnu = yes; then
3893 ac_test_CXXFLAGS=${CXXFLAGS+set}
3894 ac_save_CXXFLAGS=$CXXFLAGS
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3896 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3897 if ${ac_cv_prog_cxx_g+:} false; then :
3898 $as_echo_n "(cached) " >&6
3900 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3901 ac_cxx_werror_flag=yes
3904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3905 /* end confdefs.h. */
3915 if ac_fn_cxx_try_compile "$LINENO"; then :
3916 ac_cv_prog_cxx_g=yes
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3930 if ac_fn_cxx_try_compile "$LINENO"; then :
3933 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3946 if ac_fn_cxx_try_compile "$LINENO"; then :
3947 ac_cv_prog_cxx_g=yes
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3957 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3958 if test "$ac_test_CXXFLAGS" = set; then
3959 CXXFLAGS=$ac_save_CXXFLAGS
3960 elif test $ac_cv_prog_cxx_g = yes; then
3961 if test "$GXX" = yes; then
3967 if test "$GXX" = yes; then
3974 ac_cpp='$CPP $CPPFLAGS'
3975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3979 if test -n "$ac_tool_prefix"; then
3980 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3981 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if ${ac_cv_prog_CPPBIN+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 if test -n "$CPPBIN"; then
3988 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 CPPBIN=$ac_cv_prog_CPPBIN
4008 if test -n "$CPPBIN"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4010 $as_echo "$CPPBIN" >&6; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4018 if test -z "$ac_cv_prog_CPPBIN"; then
4019 ac_ct_CPPBIN=$CPPBIN
4020 # Extract the first word of "cpp", so it can be a program name with args.
4021 set dummy cpp; ac_word=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4025 $as_echo_n "(cached) " >&6
4027 if test -n "$ac_ct_CPPBIN"; then
4028 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir=.
4035 for ac_exec_ext in '' $ac_executable_extensions; do
4036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4037 ac_cv_prog_ac_ct_CPPBIN="cpp"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4048 if test -n "$ac_ct_CPPBIN"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4050 $as_echo "$ac_ct_CPPBIN" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4056 if test "x$ac_ct_CPPBIN" = x; then
4059 case $cross_compiling:$ac_tool_warned in
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4063 ac_tool_warned=yes ;;
4065 CPPBIN=$ac_ct_CPPBIN
4068 CPPBIN="$ac_cv_prog_CPPBIN"
4072 cat >>confdefs.h <<_ACEOF
4073 #define EXEEXT "$ac_exeext"
4079 if test "x$enable_win64" = "xyes"
4084 notice_platform="64-bit "
4091 notice_platform="32-bit "
4094 enable_win16=${enable_win16:-yes}
4096 with_fontconfig=${with_fontconfig:-no}
4099 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4104 $as_echo_n "checking whether $CC works... " >&6; }
4106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4107 /* end confdefs.h. */
4117 if ac_fn_c_try_link "$LINENO"; then :
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4119 $as_echo "yes" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4123 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4125 rm -f core conftest.err conftest.$ac_objext \
4126 conftest$ac_exeext conftest.$ac_ext
4128 notice_platform="32-bit "
4131 enable_win16=${enable_win16:-yes}
4133 if test "x${GCC}" = "xyes"
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4136 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4138 /* end confdefs.h. */
4143 void func(__builtin_ms_va_list *args);
4148 if ac_fn_c_try_compile "$LINENO"; then :
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4150 $as_echo "yes" >&6; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4154 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4164 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4167 int ac_test(int i) { return i; }
4171 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4176 if ac_fn_c_try_link "$LINENO"; then :
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4178 $as_echo "yes" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4181 $as_echo "no" >&6; }
4182 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4184 rm -f core conftest.err conftest.$ac_objext \
4185 conftest$ac_exeext conftest.$ac_ext
4186 CFLAGS="$CFLAGS -marm"
4188 *-mingw32*|*-cygwin*)
4189 enable_win16=${enable_win16:-no}
4190 CFLAGS="$CFLAGS -D_WIN32"
4193 enable_win16=${enable_win16:-yes}
4197 enable_win16=${enable_win16:-no}
4198 enable_win64=${enable_win64:-no}
4200 enable_winetest=${enable_winetest:-$enable_tests}
4202 if test -n "$with_wine64"
4204 if test "x$enable_win64" = "xyes"
4206 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
4207 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4211 enable_fonts=${enable_fonts:-no}
4212 enable_server=${enable_server:-no}
4213 enable_tools=${enable_tools:-no}
4214 elif test "x$enable_win64" = "xyes"
4216 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4220 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4221 if ${wine_cv_toolsdir+:} false; then :
4222 $as_echo_n "(cached) " >&6
4224 wine_cv_toolsdir="$with_wine_tools"
4225 if test -z "$with_wine_tools"; then
4226 if test "$cross_compiling" = "yes"; then
4227 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4228 elif test -n "$with_wine64"; then
4229 wine_cv_toolsdir="$with_wine64"
4232 if test -z "$wine_cv_toolsdir"; then
4233 wine_cv_toolsdir="\$(top_builddir)"
4234 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4235 case "$wine_cv_toolsdir" in
4237 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
4240 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4244 $as_echo "$wine_cv_toolsdir" >&6; }
4245 TOOLSDIR=$wine_cv_toolsdir
4247 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4249 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
4255 # Extract the first word of "$ac_prog", so it can be a program name with args.
4256 set dummy $ac_prog; ac_word=$2
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4258 $as_echo_n "checking for $ac_word... " >&6; }
4259 if ${ac_cv_prog_FLEX+:} false; then :
4260 $as_echo_n "(cached) " >&6
4262 if test -n "$FLEX"; then
4263 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
4265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269 test -z "$as_dir" && as_dir=.
4270 for ac_exec_ext in '' $ac_executable_extensions; do
4271 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4272 ac_cv_prog_FLEX="$ac_prog"
4273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4282 FLEX=$ac_cv_prog_FLEX
4283 if test -n "$FLEX"; then
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4285 $as_echo "$FLEX" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288 $as_echo "no" >&6; }
4292 test -n "$FLEX" && break
4294 test -n "$FLEX" || FLEX="none"
4296 if test "$FLEX" = "none"
4298 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4301 $as_echo_n "checking whether flex is recent enough... " >&6; }
4302 cat >conftest.l <<EOF
4304 #include "prediluvian.h"
4308 if $FLEX -t conftest.l >/dev/null 2>&5
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4311 $as_echo "yes" >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4314 $as_echo "no" >&6; }
4315 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4318 for ac_prog in bison
4320 # Extract the first word of "$ac_prog", so it can be a program name with args.
4321 set dummy $ac_prog; ac_word=$2
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4323 $as_echo_n "checking for $ac_word... " >&6; }
4324 if ${ac_cv_prog_BISON+:} false; then :
4325 $as_echo_n "(cached) " >&6
4327 if test -n "$BISON"; then
4328 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4334 test -z "$as_dir" && as_dir=.
4335 for ac_exec_ext in '' $ac_executable_extensions; do
4336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4337 ac_cv_prog_BISON="$ac_prog"
4338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4347 BISON=$ac_cv_prog_BISON
4348 if test -n "$BISON"; then
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4350 $as_echo "$BISON" >&6; }
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4353 $as_echo "no" >&6; }
4357 test -n "$BISON" && break
4359 test -n "$BISON" || BISON="none"
4361 if test "$BISON" = "none"
4363 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in ar gar
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if ${ac_cv_prog_AR+:} false; then :
4374 $as_echo_n "(cached) " >&6
4376 if test -n "$AR"; then
4377 ac_cv_prog_AR="$AR" # Let the user override the test.
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4386 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 if test -n "$AR"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4399 $as_echo "$AR" >&6; }
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4406 test -n "$AR" && break
4409 if test -z "$AR"; then
4411 for ac_prog in ar gar
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4418 $as_echo_n "(cached) " >&6
4420 if test -n "$ac_ct_AR"; then
4421 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4430 ac_cv_prog_ac_ct_AR="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4441 if test -n "$ac_ct_AR"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4443 $as_echo "$ac_ct_AR" >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4450 test -n "$ac_ct_AR" && break
4453 if test "x$ac_ct_AR" = x; then
4456 case $cross_compiling:$ac_tool_warned in
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4468 if test -n "$ac_tool_prefix"; then
4469 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4470 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4472 $as_echo_n "checking for $ac_word... " >&6; }
4473 if ${ac_cv_prog_RANLIB+:} false; then :
4474 $as_echo_n "(cached) " >&6
4476 if test -n "$RANLIB"; then
4477 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 RANLIB=$ac_cv_prog_RANLIB
4497 if test -n "$RANLIB"; then
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4499 $as_echo "$RANLIB" >&6; }
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4502 $as_echo "no" >&6; }
4507 if test -z "$ac_cv_prog_RANLIB"; then
4508 ac_ct_RANLIB=$RANLIB
4509 # Extract the first word of "ranlib", so it can be a program name with args.
4510 set dummy ranlib; ac_word=$2
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4512 $as_echo_n "checking for $ac_word... " >&6; }
4513 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4514 $as_echo_n "(cached) " >&6
4516 if test -n "$ac_ct_RANLIB"; then
4517 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir=.
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4526 ac_cv_prog_ac_ct_RANLIB="ranlib"
4527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4536 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4537 if test -n "$ac_ct_RANLIB"; then
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4539 $as_echo "$ac_ct_RANLIB" >&6; }
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4542 $as_echo "no" >&6; }
4545 if test "x$ac_ct_RANLIB" = x; then
4548 case $cross_compiling:$ac_tool_warned in
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4552 ac_tool_warned=yes ;;
4554 RANLIB=$ac_ct_RANLIB
4557 RANLIB="$ac_cv_prog_RANLIB"
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4561 $as_echo_n "checking whether ln -s works... " >&6; }
4563 if test "$LN_S" = "ln -s"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4565 $as_echo "yes" >&6; }
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4568 $as_echo "no, using $LN_S" >&6; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4572 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4573 if ${ac_cv_path_GREP+:} false; then :
4574 $as_echo_n "(cached) " >&6
4576 if test -z "$GREP"; then
4577 ac_path_GREP_found=false
4578 # Loop through the user's path and test for each of PROGNAME-LIST
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4583 test -z "$as_dir" && as_dir=.
4584 for ac_prog in grep ggrep; do
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4587 as_fn_executable_p "$ac_path_GREP" || continue
4588 # Check for GNU ac_path_GREP and select it if it is found.
4589 # Check for GNU $ac_path_GREP
4590 case `"$ac_path_GREP" --version 2>&1` in
4592 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4595 $as_echo_n 0123456789 >"conftest.in"
4598 cat "conftest.in" "conftest.in" >"conftest.tmp"
4599 mv "conftest.tmp" "conftest.in"
4600 cp "conftest.in" "conftest.nl"
4601 $as_echo 'GREP' >> "conftest.nl"
4602 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4603 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4604 as_fn_arith $ac_count + 1 && ac_count=$as_val
4605 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4606 # Best one so far, save it but keep looking for a better one
4607 ac_cv_path_GREP="$ac_path_GREP"
4608 ac_path_GREP_max=$ac_count
4610 # 10*(2^10) chars as input seems more than enough
4611 test $ac_count -gt 10 && break
4613 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4616 $ac_path_GREP_found && break 3
4621 if test -z "$ac_cv_path_GREP"; then
4622 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4625 ac_cv_path_GREP=$GREP
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4630 $as_echo "$ac_cv_path_GREP" >&6; }
4631 GREP="$ac_cv_path_GREP"
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4635 $as_echo_n "checking for egrep... " >&6; }
4636 if ${ac_cv_path_EGREP+:} false; then :
4637 $as_echo_n "(cached) " >&6
4639 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4640 then ac_cv_path_EGREP="$GREP -E"
4642 if test -z "$EGREP"; then
4643 ac_path_EGREP_found=false
4644 # Loop through the user's path and test for each of PROGNAME-LIST
4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4649 test -z "$as_dir" && as_dir=.
4650 for ac_prog in egrep; do
4651 for ac_exec_ext in '' $ac_executable_extensions; do
4652 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4653 as_fn_executable_p "$ac_path_EGREP" || continue
4654 # Check for GNU ac_path_EGREP and select it if it is found.
4655 # Check for GNU $ac_path_EGREP
4656 case `"$ac_path_EGREP" --version 2>&1` in
4658 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4661 $as_echo_n 0123456789 >"conftest.in"
4664 cat "conftest.in" "conftest.in" >"conftest.tmp"
4665 mv "conftest.tmp" "conftest.in"
4666 cp "conftest.in" "conftest.nl"
4667 $as_echo 'EGREP' >> "conftest.nl"
4668 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4669 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4670 as_fn_arith $ac_count + 1 && ac_count=$as_val
4671 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4672 # Best one so far, save it but keep looking for a better one
4673 ac_cv_path_EGREP="$ac_path_EGREP"
4674 ac_path_EGREP_max=$ac_count
4676 # 10*(2^10) chars as input seems more than enough
4677 test $ac_count -gt 10 && break
4679 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4682 $ac_path_EGREP_found && break 3
4687 if test -z "$ac_cv_path_EGREP"; then
4688 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4691 ac_cv_path_EGREP=$EGREP
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4697 $as_echo "$ac_cv_path_EGREP" >&6; }
4698 EGREP="$ac_cv_path_EGREP"
4701 # Extract the first word of "ldconfig", so it can be a program name with args.
4702 set dummy ldconfig; ac_word=$2
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704 $as_echo_n "checking for $ac_word... " >&6; }
4705 if ${ac_cv_path_LDCONFIG+:} false; then :
4706 $as_echo_n "(cached) " >&6
4710 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in /sbin /usr/sbin $PATH
4717 test -z "$as_dir" && as_dir=.
4718 for ac_exec_ext in '' $ac_executable_extensions; do
4719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4720 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
4721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
4732 LDCONFIG=$ac_cv_path_LDCONFIG
4733 if test -n "$LDCONFIG"; then
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4735 $as_echo "$LDCONFIG" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4742 # Find a good install program. We prefer a C program (faster),
4743 # so one script is as good as another. But avoid the broken or
4744 # incompatible versions:
4745 # SysV /etc/install, /usr/sbin/install
4746 # SunOS /usr/etc/install
4747 # IRIX /sbin/install
4749 # AmigaOS /C/install, which installs bootblocks on floppy discs
4750 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4751 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4752 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4753 # OS/2's system install, which has a completely different semantic
4754 # ./install, which can be erroneously created by make from ./install.sh.
4755 # Reject install programs that cannot install multiple files.
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4757 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4758 if test -z "$INSTALL"; then
4759 if ${ac_cv_path_install+:} false; then :
4760 $as_echo_n "(cached) " >&6
4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 test -z "$as_dir" && as_dir=.
4767 # Account for people who put trailing slashes in PATH elements.
4768 case $as_dir/ in #((
4769 ./ | .// | /[cC]/* | \
4770 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4771 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4774 # OSF1 and SCO ODT 3.0 have their own names for install.
4775 # Don't use installbsd from OSF since it installs stuff as root
4777 for ac_prog in ginstall scoinst install; do
4778 for ac_exec_ext in '' $ac_executable_extensions; do
4779 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4780 if test $ac_prog = install &&
4781 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4782 # AIX install. It has an incompatible calling convention.
4784 elif test $ac_prog = install &&
4785 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4786 # program-specific install script used by HP pwplus--don't use.
4789 rm -rf conftest.one conftest.two conftest.dir
4790 echo one > conftest.one
4791 echo two > conftest.two
4793 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4794 test -s conftest.one && test -s conftest.two &&
4795 test -s conftest.dir/conftest.one &&
4796 test -s conftest.dir/conftest.two
4798 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4811 rm -rf conftest.one conftest.two conftest.dir
4814 if test "${ac_cv_path_install+set}" = set; then
4815 INSTALL=$ac_cv_path_install
4817 # As a last resort, use the slow shell script. Don't cache a
4818 # value for INSTALL within a source directory, because that will
4819 # break other packages using the cache if that directory is
4820 # removed, or if the value is a relative name.
4821 INSTALL=$ac_install_sh
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4825 $as_echo "$INSTALL" >&6; }
4827 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4828 # It thinks the first close brace ends the variable substitution.
4829 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4831 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4833 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4836 [\\/$]* | ?:[\\/]* ) ;;
4837 *) INSTALL="\\\$(top_srcdir)/$INSTALL" ;;
4840 for ac_prog in lclint lint
4842 # Extract the first word of "$ac_prog", so it can be a program name with args.
4843 set dummy $ac_prog; ac_word=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if ${ac_cv_prog_LINT+:} false; then :
4847 $as_echo_n "(cached) " >&6
4849 if test -n "$LINT"; then
4850 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 test -z "$as_dir" && as_dir=.
4857 for ac_exec_ext in '' $ac_executable_extensions; do
4858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4859 ac_cv_prog_LINT="$ac_prog"
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 LINT=$ac_cv_prog_LINT
4870 if test -n "$LINT"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4872 $as_echo "$LINT" >&6; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4879 test -n "$LINT" && break
4882 if test "$LINT" = "lint"
4884 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4888 for ac_prog in fontforge
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy $ac_prog; ac_word=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if ${ac_cv_prog_FONTFORGE+:} false; then :
4895 $as_echo_n "(cached) " >&6
4897 if test -n "$FONTFORGE"; then
4898 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir=.
4905 for ac_exec_ext in '' $ac_executable_extensions; do
4906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4907 ac_cv_prog_FONTFORGE="$ac_prog"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 FONTFORGE=$ac_cv_prog_FONTFORGE
4918 if test -n "$FONTFORGE"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4920 $as_echo "$FONTFORGE" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4927 test -n "$FONTFORGE" && break
4929 test -n "$FONTFORGE" || FONTFORGE="false"
4931 for ac_prog in pkg-config
4933 # Extract the first word of "$ac_prog", so it can be a program name with args.
4934 set dummy $ac_prog; ac_word=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$PKG_CONFIG"; then
4941 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir=.
4948 for ac_exec_ext in '' $ac_executable_extensions; do
4949 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4950 ac_cv_prog_PKG_CONFIG="$ac_prog"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4961 if test -n "$PKG_CONFIG"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4963 $as_echo "$PKG_CONFIG" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4970 test -n "$PKG_CONFIG" && break
4972 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4976 # Extract the first word of "$ac_prog", so it can be a program name with args.
4977 set dummy $ac_prog; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if ${ac_cv_prog_RSVG+:} false; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$RSVG"; then
4984 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_RSVG="$ac_prog"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 RSVG=$ac_cv_prog_RSVG
5004 if test -n "$RSVG"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5006 $as_echo "$RSVG" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 test -n "$RSVG" && break
5015 test -n "$RSVG" || RSVG="false"
5017 for ac_prog in convert
5019 # Extract the first word of "$ac_prog", so it can be a program name with args.
5020 set dummy $ac_prog; ac_word=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_CONVERT+:} false; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -n "$CONVERT"; then
5027 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir=.
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_CONVERT="$ac_prog"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 CONVERT=$ac_cv_prog_CONVERT
5047 if test -n "$CONVERT"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5049 $as_echo "$CONVERT" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5056 test -n "$CONVERT" && break
5058 test -n "$CONVERT" || CONVERT="false"
5060 for ac_prog in icotool
5062 # Extract the first word of "$ac_prog", so it can be a program name with args.
5063 set dummy $ac_prog; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if ${ac_cv_prog_ICOTOOL+:} false; then :
5067 $as_echo_n "(cached) " >&6
5069 if test -n "$ICOTOOL"; then
5070 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5076 test -z "$as_dir" && as_dir=.
5077 for ac_exec_ext in '' $ac_executable_extensions; do
5078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5079 ac_cv_prog_ICOTOOL="$ac_prog"
5080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 ICOTOOL=$ac_cv_prog_ICOTOOL
5090 if test -n "$ICOTOOL"; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5092 $as_echo "$ICOTOOL" >&6; }
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5099 test -n "$ICOTOOL" && break
5101 test -n "$ICOTOOL" || ICOTOOL="false"
5103 for ac_prog in msgfmt
5105 # Extract the first word of "$ac_prog", so it can be a program name with args.
5106 set dummy $ac_prog; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if ${ac_cv_prog_MSGFMT+:} false; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$MSGFMT"; then
5113 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5122 ac_cv_prog_MSGFMT="$ac_prog"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 MSGFMT=$ac_cv_prog_MSGFMT
5133 if test -n "$MSGFMT"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5135 $as_echo "$MSGFMT" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5142 test -n "$MSGFMT" && break
5144 test -n "$MSGFMT" || MSGFMT="false"
5147 if test "x$enable_maintainer_mode" != "xyes"
5152 if test "$FONTFORGE" = "false"; then as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5153 if test "$RSVG" = "false"; then as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5155 if test "$CONVERT" = false
5157 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5160 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5161 convert_version=`convert --version | head -n1`
5162 if test "x$convert_version" != "x"
5164 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5165 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5166 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5171 if test "$CONVERT" = false
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5174 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5175 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5178 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5182 if test "$ICOTOOL" = false
5184 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5187 $as_echo_n "checking for recent enough icotool... " >&6; }
5188 icotool_version=`icotool --version | head -n1`
5189 if test "x$icotool_version" != "x"
5191 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5192 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5193 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5196 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
5199 if test "$ICOTOOL" = false
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5202 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5203 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5206 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5212 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
5215 test "x$with_gettext" != xno || MSGFMT=false
5216 if test "$MSGFMT" != "false"
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5219 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5220 cat >conftest.po <<EOF
5226 if $MSGFMT -o /dev/null conftest.po 2>&5
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5229 $as_echo "yes" >&6; }
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5232 $as_echo "no" >&6; }
5236 if test "$MSGFMT" = false; then :
5237 case "x$with_gettext" in
5238 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
5240 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
5241 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5247 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5248 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
5249 $as_echo_n "(cached) " >&6
5251 ac_check_lib_save_LIBS=$LIBS
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5256 /* Override any GCC internal prototype to avoid an error.
5257 Use char because int might match the return type of a GCC
5258 builtin and then its argument prototype would still apply. */
5262 char i386_set_ldt ();
5266 return i386_set_ldt ();
5271 if ac_fn_c_try_link "$LINENO"; then :
5272 ac_cv_lib_i386_i386_set_ldt=yes
5274 ac_cv_lib_i386_i386_set_ldt=no
5276 rm -f core conftest.err conftest.$ac_objext \
5277 conftest$ac_exeext conftest.$ac_ext
5278 LIBS=$ac_check_lib_save_LIBS
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5281 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5282 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
5283 cat >>confdefs.h <<_ACEOF
5284 #define HAVE_LIBI386 1
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5292 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5293 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
5294 $as_echo_n "(cached) " >&6
5296 ac_check_lib_save_LIBS=$LIBS
5297 LIBS="-lossaudio $LIBS"
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5301 /* Override any GCC internal prototype to avoid an error.
5302 Use char because int might match the return type of a GCC
5303 builtin and then its argument prototype would still apply. */
5311 return _oss_ioctl ();
5316 if ac_fn_c_try_link "$LINENO"; then :
5317 ac_cv_lib_ossaudio__oss_ioctl=yes
5319 ac_cv_lib_ossaudio__oss_ioctl=no
5321 rm -f core conftest.err conftest.$ac_objext \
5322 conftest$ac_exeext conftest.$ac_ext
5323 LIBS=$ac_check_lib_save_LIBS
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5326 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5327 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
5328 cat >>confdefs.h <<_ACEOF
5329 #define HAVE_LIBOSSAUDIO 1
5332 LIBS="-lossaudio $LIBS"
5343 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h=no
5345 # Check whether --enable-largefile was given.
5346 if test "${enable_largefile+set}" = set; then :
5347 enableval=$enable_largefile;
5350 if test "$enable_largefile" != no; then
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5353 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5354 if ${ac_cv_sys_largefile_CC+:} false; then :
5355 $as_echo_n "(cached) " >&6
5357 ac_cv_sys_largefile_CC=no
5358 if test "$GCC" != yes; then
5361 # IRIX 6.2 and later do not support large files by default,
5362 # so use the C compiler's -n32 option if that helps.
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5365 #include <sys/types.h>
5366 /* Check that off_t can represent 2**63 - 1 correctly.
5367 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5368 since some C++ compilers masquerading as C compilers
5369 incorrectly reject 9223372036854775807. */
5370 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5371 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5372 && LARGE_OFF_T % 2147483647 == 1)
5382 if ac_fn_c_try_compile "$LINENO"; then :
5385 rm -f core conftest.err conftest.$ac_objext
5387 if ac_fn_c_try_compile "$LINENO"; then :
5388 ac_cv_sys_largefile_CC=' -n32'; break
5390 rm -f core conftest.err conftest.$ac_objext
5394 rm -f conftest.$ac_ext
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5398 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5399 if test "$ac_cv_sys_largefile_CC" != no; then
5400 CC=$CC$ac_cv_sys_largefile_CC
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5404 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5405 if ${ac_cv_sys_file_offset_bits+:} false; then :
5406 $as_echo_n "(cached) " >&6
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h. */
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=no; break
5431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5434 #define _FILE_OFFSET_BITS 64
5435 #include <sys/types.h>
5436 /* Check that off_t can represent 2**63 - 1 correctly.
5437 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5438 since some C++ compilers masquerading as C compilers
5439 incorrectly reject 9223372036854775807. */
5440 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5441 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5442 && LARGE_OFF_T % 2147483647 == 1)
5452 if ac_fn_c_try_compile "$LINENO"; then :
5453 ac_cv_sys_file_offset_bits=64; break
5455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5456 ac_cv_sys_file_offset_bits=unknown
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5461 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5462 case $ac_cv_sys_file_offset_bits in #(
5465 cat >>confdefs.h <<_ACEOF
5466 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5471 if test $ac_cv_sys_file_offset_bits = unknown; then
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5473 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5474 if ${ac_cv_sys_large_files+:} false; then :
5475 $as_echo_n "(cached) " >&6
5478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5479 /* end confdefs.h. */
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=no; break
5500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5503 #define _LARGE_FILES 1
5504 #include <sys/types.h>
5505 /* Check that off_t can represent 2**63 - 1 correctly.
5506 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5507 since some C++ compilers masquerading as C compilers
5508 incorrectly reject 9223372036854775807. */
5509 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5510 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5511 && LARGE_OFF_T % 2147483647 == 1)
5521 if ac_fn_c_try_compile "$LINENO"; then :
5522 ac_cv_sys_large_files=1; break
5524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5525 ac_cv_sys_large_files=unknown
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5530 $as_echo "$ac_cv_sys_large_files" >&6; }
5531 case $ac_cv_sys_large_files in #(
5534 cat >>confdefs.h <<_ACEOF
5535 #define _LARGE_FILES $ac_cv_sys_large_files
5547 ac_cpp='$CPP $CPPFLAGS'
5548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5552 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5553 # On Suns, sometimes $CPP names a directory.
5554 if test -n "$CPP" && test -d "$CPP"; then
5557 if test -z "$CPP"; then
5558 if ${ac_cv_prog_CPP+:} false; then :
5559 $as_echo_n "(cached) " >&6
5561 # Double quotes because CPP needs to be expanded
5562 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5565 for ac_c_preproc_warn_flag in '' yes
5567 # Use a header file that comes with gcc, so configuring glibc
5568 # with a fresh cross-compiler works.
5569 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5570 # <limits.h> exists even on freestanding compilers.
5571 # On the NeXT, cc -E runs the code through the compiler's parser,
5572 # not just through cpp. "Syntax error" is here to catch this case.
5573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5574 /* end confdefs.h. */
5576 # include <limits.h>
5578 # include <assert.h>
5582 if ac_fn_c_try_cpp "$LINENO"; then :
5585 # Broken: fails on valid input.
5588 rm -f conftest.err conftest.i conftest.$ac_ext
5590 # OK, works on sane cases. Now check whether nonexistent headers
5591 # can be detected and how.
5592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5593 /* end confdefs.h. */
5594 #include <ac_nonexistent.h>
5596 if ac_fn_c_try_cpp "$LINENO"; then :
5597 # Broken: success on invalid input.
5600 # Passes both tests.
5604 rm -f conftest.err conftest.i conftest.$ac_ext
5607 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5608 rm -f conftest.i conftest.err conftest.$ac_ext
5609 if $ac_preproc_ok; then :
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5622 $as_echo "$CPP" >&6; }
5624 for ac_c_preproc_warn_flag in '' yes
5626 # Use a header file that comes with gcc, so configuring glibc
5627 # with a fresh cross-compiler works.
5628 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5629 # <limits.h> exists even on freestanding compilers.
5630 # On the NeXT, cc -E runs the code through the compiler's parser,
5631 # not just through cpp. "Syntax error" is here to catch this case.
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5635 # include <limits.h>
5637 # include <assert.h>
5641 if ac_fn_c_try_cpp "$LINENO"; then :
5644 # Broken: fails on valid input.
5647 rm -f conftest.err conftest.i conftest.$ac_ext
5649 # OK, works on sane cases. Now check whether nonexistent headers
5650 # can be detected and how.
5651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5652 /* end confdefs.h. */
5653 #include <ac_nonexistent.h>
5655 if ac_fn_c_try_cpp "$LINENO"; then :
5656 # Broken: success on invalid input.
5659 # Passes both tests.
5663 rm -f conftest.err conftest.i conftest.$ac_ext
5666 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5667 rm -f conftest.i conftest.err conftest.$ac_ext
5668 if $ac_preproc_ok; then :
5671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5672 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5673 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5674 See \`config.log' for more details" "$LINENO" 5; }
5678 ac_cpp='$CPP $CPPFLAGS'
5679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5685 $as_echo_n "checking for ANSI C header files... " >&6; }
5686 if ${ac_cv_header_stdc+:} false; then :
5687 $as_echo_n "(cached) " >&6
5689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5704 if ac_fn_c_try_compile "$LINENO"; then :
5705 ac_cv_header_stdc=yes
5707 ac_cv_header_stdc=no
5709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5711 if test $ac_cv_header_stdc = yes; then
5712 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5714 /* end confdefs.h. */
5718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5719 $EGREP "memchr" >/dev/null 2>&1; then :
5722 ac_cv_header_stdc=no
5728 if test $ac_cv_header_stdc = yes; then
5729 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5731 /* end confdefs.h. */
5735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5736 $EGREP "free" >/dev/null 2>&1; then :
5739 ac_cv_header_stdc=no
5745 if test $ac_cv_header_stdc = yes; then
5746 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5747 if test "$cross_compiling" = yes; then :
5750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5751 /* end confdefs.h. */
5754 #if ((' ' & 0x0FF) == 0x020)
5755 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5756 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5758 # define ISLOWER(c) \
5759 (('a' <= (c) && (c) <= 'i') \
5760 || ('j' <= (c) && (c) <= 'r') \
5761 || ('s' <= (c) && (c) <= 'z'))
5762 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5765 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5770 for (i = 0; i < 256; i++)
5771 if (XOR (islower (i), ISLOWER (i))
5772 || toupper (i) != TOUPPER (i))
5777 if ac_fn_c_try_run "$LINENO"; then :
5780 ac_cv_header_stdc=no
5782 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5783 conftest.$ac_objext conftest.beam conftest.$ac_ext
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5789 $as_echo "$ac_cv_header_stdc" >&6; }
5790 if test $ac_cv_header_stdc = yes; then
5792 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5796 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5797 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5798 inttypes.h stdint.h unistd.h
5800 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5801 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5803 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5804 cat >>confdefs.h <<_ACEOF
5805 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5815 ApplicationServices/ApplicationServices.h \
5816 AudioToolbox/AudioConverter.h \
5817 AudioUnit/AudioUnit.h \
5818 AudioUnit/AudioComponent.h \
5821 CoreAudio/CoreAudio.h \
5822 CoreServices/CoreServices.h \
5823 DiskArbitration/DiskArbitration.h \
5825 IOKit/hid/IOHIDLib.h \
5828 QuickTime/ImageCompression.h \
5829 Security/Security.h \
5843 fontconfig/fontconfig.h \
5884 netinet/in_systm.h \
5947 valgrind/memcheck.h \
5948 valgrind/valgrind.h \
5952 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5953 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5954 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5955 cat >>confdefs.h <<_ACEOF
5956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5964 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5965 if ${ac_cv_header_stat_broken+:} false; then :
5966 $as_echo_n "(cached) " >&6
5968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5970 #include <sys/types.h>
5971 #include <sys/stat.h>
5973 #if defined S_ISBLK && defined S_IFDIR
5974 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5977 #if defined S_ISBLK && defined S_IFCHR
5978 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5981 #if defined S_ISLNK && defined S_IFREG
5982 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5985 #if defined S_ISSOCK && defined S_IFREG
5986 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5990 if ac_fn_c_try_compile "$LINENO"; then :
5991 ac_cv_header_stat_broken=no
5993 ac_cv_header_stat_broken=yes
5995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5998 $as_echo "$ac_cv_header_stat_broken" >&6; }
5999 if test $ac_cv_header_stat_broken = yes; then
6001 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6007 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6011 #ifdef HAVE_SYS_PARAM_H
6012 # include <sys/param.h>
6015 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6016 cat >>confdefs.h <<_ACEOF
6017 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6032 netinet/if_ether.h \
6033 netinet/if_inarp.h \
6042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6043 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6044 #ifdef HAVE_SYS_SOCKET_H
6045 # include <sys/socket.h>
6047 #ifdef HAVE_SYS_SOCKETVAR_H
6048 # include <sys/socketvar.h>
6050 #ifdef HAVE_NET_ROUTE_H
6051 # include <net/route.h>
6053 #ifdef HAVE_NETINET_IN_H
6054 # include <netinet/in.h>
6056 #ifdef HAVE_NETINET_IN_SYSTM_H
6057 # include <netinet/in_systm.h>
6059 #ifdef HAVE_NET_IF_H
6060 # include <net/if.h>
6062 #ifdef HAVE_NETINET_IP_H
6063 # include <netinet/ip.h>
6066 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6067 cat >>confdefs.h <<_ACEOF
6068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6076 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6078 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6079 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6083 #ifdef HAVE_SYS_SOCKET_H
6084 # include <sys/socket.h>
6086 #ifdef HAVE_SYS_SOCKETVAR_H
6087 # include <sys/socketvar.h>
6089 #ifdef HAVE_SYS_TIMEOUT_H
6090 # include <sys/timeout.h>
6092 #ifdef HAVE_NETINET_IN_H
6093 # include <netinet/in.h>
6095 #ifdef HAVE_NETINET_IN_SYSTM_H
6096 # include <netinet/in_systm.h>
6098 #ifdef HAVE_NETINET_IP_H
6099 # include <netinet/ip.h>
6101 #ifdef HAVE_NETINET_IP_VAR_H
6102 # include <netinet/ip_var.h>
6104 #ifdef HAVE_NETINET_IP_ICMP_H
6105 # include <netinet/ip_icmp.h>
6107 #ifdef HAVE_NETINET_UDP_H
6108 # include <netinet/udp.h>
6110 #ifdef HAVE_NETINET_TCP_H
6111 # include <netinet/tcp.h>
6113 #ifdef HAVE_NETINET_TCP_TIMER_H
6114 #include <netinet/tcp_timer.h>
6117 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6118 cat >>confdefs.h <<_ACEOF
6119 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6127 for ac_header in linux/ipx.h linux/irda.h
6129 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6130 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6131 #ifdef HAVE_ASM_TYPES_H
6132 # include <asm/types.h>
6134 #ifdef HAVE_SYS_SOCKET_H
6135 # include <sys/socket.h>
6137 #ifdef HAVE_LINUX_TYPES_H
6138 # include <linux/types.h>
6141 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6142 cat >>confdefs.h <<_ACEOF
6143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6151 for ac_header in mach-o/dyld_images.h
6153 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6154 # include <stdbool.h>
6156 #ifdef HAVE_STDINT_H
6157 # include <stdint.h>
6160 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
6161 cat >>confdefs.h <<_ACEOF
6162 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6170 for ac_header in resolv.h
6172 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6173 #ifdef HAVE_SYS_SOCKET_H
6174 # include <sys/socket.h>
6176 #ifdef HAVE_NETINET_IN_H
6177 # include <netinet/in.h>
6179 #ifdef HAVE_ARPA_NAMESER_H
6180 # include <arpa/nameser.h>
6183 if test "x$ac_cv_header_resolv_h" = xyes; then :
6184 cat >>confdefs.h <<_ACEOF
6185 #define HAVE_RESOLV_H 1
6193 for ac_header in ifaddrs.h
6195 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6197 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
6198 cat >>confdefs.h <<_ACEOF
6199 #define HAVE_IFADDRS_H 1
6207 for ac_header in ucontext.h
6209 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6211 if test "x$ac_cv_header_ucontext_h" = xyes; then :
6212 cat >>confdefs.h <<_ACEOF
6213 #define HAVE_UCONTEXT_H 1
6221 for ac_header in sys/thr.h
6223 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6224 #ifdef HAVE_UCONTEXT_H
6225 #include <ucontext.h>
6228 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
6229 cat >>confdefs.h <<_ACEOF
6230 #define HAVE_SYS_THR_H 1
6238 for ac_header in pthread_np.h
6240 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6241 #include <pthread.h>
6244 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
6245 cat >>confdefs.h <<_ACEOF
6246 #define HAVE_PTHREAD_NP_H 1
6254 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
6256 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6257 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6258 #include <sys/time.h>
6260 #include <sys/types.h>
6261 #ifdef HAVE_ASM_TYPES_H
6262 #include <asm/types.h>
6265 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6266 cat >>confdefs.h <<_ACEOF
6267 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6275 for ac_header in linux/capi.h
6277 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6279 if test "x$ac_cv_header_linux_capi_h" = xyes; then :
6280 cat >>confdefs.h <<_ACEOF
6281 #define HAVE_LINUX_CAPI_H 1
6292 DLLFLAGS="-D_REENTRANT"
6306 STATIC_IMPLIBEXT="def.a"
6307 # Extract the first word of "ldd", so it can be a program name with args.
6308 set dummy ldd; ac_word=$2
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6310 $as_echo_n "checking for $ac_word... " >&6; }
6311 if ${ac_cv_path_LDD+:} false; then :
6312 $as_echo_n "(cached) " >&6
6316 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6320 as_dummy="/sbin:/usr/sbin:$PATH"
6321 for as_dir in $as_dummy
6324 test -z "$as_dir" && as_dir=.
6325 for ac_exec_ext in '' $ac_executable_extensions; do
6326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6327 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
6328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6340 if test -n "$LDD"; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6342 $as_echo "$LDD" >&6; }
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345 $as_echo "no" >&6; }
6349 if test -n "$ac_tool_prefix"; then
6350 for ac_prog in readelf
6352 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6353 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if ${ac_cv_prog_READELF+:} false; then :
6357 $as_echo_n "(cached) " >&6
6359 if test -n "$READELF"; then
6360 ac_cv_prog_READELF="$READELF" # Let the user override the test.
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_prog_READELF="$ac_tool_prefix$ac_prog"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6379 READELF=$ac_cv_prog_READELF
6380 if test -n "$READELF"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6382 $as_echo "$READELF" >&6; }
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; }
6389 test -n "$READELF" && break
6392 if test -z "$READELF"; then
6393 ac_ct_READELF=$READELF
6394 for ac_prog in readelf
6396 # Extract the first word of "$ac_prog", so it can be a program name with args.
6397 set dummy $ac_prog; ac_word=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
6401 $as_echo_n "(cached) " >&6
6403 if test -n "$ac_ct_READELF"; then
6404 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
6406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6410 test -z "$as_dir" && as_dir=.
6411 for ac_exec_ext in '' $ac_executable_extensions; do
6412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6413 ac_cv_prog_ac_ct_READELF="$ac_prog"
6414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6423 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
6424 if test -n "$ac_ct_READELF"; then
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6426 $as_echo "$ac_ct_READELF" >&6; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6429 $as_echo "no" >&6; }
6433 test -n "$ac_ct_READELF" && break
6436 if test "x$ac_ct_READELF" = x; then
6439 case $cross_compiling:$ac_tool_warned in
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6443 ac_tool_warned=yes ;;
6445 READELF=$ac_ct_READELF
6452 if test -n "$ac_tool_prefix"; then
6453 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6454 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6456 $as_echo_n "checking for $ac_word... " >&6; }
6457 if ${ac_cv_prog_DLLTOOL+:} false; then :
6458 $as_echo_n "(cached) " >&6
6460 if test -n "$DLLTOOL"; then
6461 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6467 test -z "$as_dir" && as_dir=.
6468 for ac_exec_ext in '' $ac_executable_extensions; do
6469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6470 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 DLLTOOL=$ac_cv_prog_DLLTOOL
6481 if test -n "$DLLTOOL"; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6483 $as_echo "$DLLTOOL" >&6; }
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6486 $as_echo "no" >&6; }
6491 if test -z "$ac_cv_prog_DLLTOOL"; then
6492 ac_ct_DLLTOOL=$DLLTOOL
6493 # Extract the first word of "dlltool", so it can be a program name with args.
6494 set dummy dlltool; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6498 $as_echo_n "(cached) " >&6
6500 if test -n "$ac_ct_DLLTOOL"; then
6501 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 test -z "$as_dir" && as_dir=.
6508 for ac_exec_ext in '' $ac_executable_extensions; do
6509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6510 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6520 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6521 if test -n "$ac_ct_DLLTOOL"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6523 $as_echo "$ac_ct_DLLTOOL" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6529 if test "x$ac_ct_DLLTOOL" = x; then
6532 case $cross_compiling:$ac_tool_warned in
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6536 ac_tool_warned=yes ;;
6538 DLLTOOL=$ac_ct_DLLTOOL
6541 DLLTOOL="$ac_cv_prog_DLLTOOL"
6544 if test -n "$ac_tool_prefix"; then
6545 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6546 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6548 $as_echo_n "checking for $ac_word... " >&6; }
6549 if ${ac_cv_prog_DLLWRAP+:} false; then :
6550 $as_echo_n "(cached) " >&6
6552 if test -n "$DLLWRAP"; then
6553 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 test -z "$as_dir" && as_dir=.
6560 for ac_exec_ext in '' $ac_executable_extensions; do
6561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6562 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
6563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 DLLWRAP=$ac_cv_prog_DLLWRAP
6573 if test -n "$DLLWRAP"; then
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6575 $as_echo "$DLLWRAP" >&6; }
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6578 $as_echo "no" >&6; }
6583 if test -z "$ac_cv_prog_DLLWRAP"; then
6584 ac_ct_DLLWRAP=$DLLWRAP
6585 # Extract the first word of "dllwrap", so it can be a program name with args.
6586 set dummy dllwrap; ac_word=$2
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6588 $as_echo_n "checking for $ac_word... " >&6; }
6589 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false; then :
6590 $as_echo_n "(cached) " >&6
6592 if test -n "$ac_ct_DLLWRAP"; then
6593 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 test -z "$as_dir" && as_dir=.
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6602 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
6603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6612 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6613 if test -n "$ac_ct_DLLWRAP"; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6615 $as_echo "$ac_ct_DLLWRAP" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6621 if test "x$ac_ct_DLLWRAP" = x; then
6624 case $cross_compiling:$ac_tool_warned in
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6628 ac_tool_warned=yes ;;
6630 DLLWRAP=$ac_ct_DLLWRAP
6633 DLLWRAP="$ac_cv_prog_DLLWRAP"
6636 if test "$DLLWRAP" = "false"; then
6642 STATIC_IMPLIBEXT="a"
6643 enable_iphlpapi=${enable_iphlpapi:-no}
6644 enable_kernel32=${enable_kernel32:-no}
6645 enable_msvcrt=${enable_msvcrt:-no}
6646 enable_ntdll=${enable_ntdll:-no}
6647 enable_ws2_32=${enable_ws2_32:-no}
6648 enable_loader=${enable_loader:-no}
6649 enable_server=${enable_server:-no}
6650 with_x=${with_x:-no}
6651 with_pthread=${with_pthread:-no}
6656 DLLFLAGS="$DLLFLAGS -fPIC"
6657 LDDLLFLAGS="-bundle -multiply_defined suppress"
6658 LIBWINE_LDFLAGS="-multiply_defined suppress"
6659 LDSHARED="\$(CC) -dynamiclib"
6660 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6661 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6662 COREFOUNDATIONLIB="-framework CoreFoundation"
6664 IOKITLIB="-framework IOKit -framework CoreFoundation"
6666 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6668 CORESERVICESLIB="-framework CoreServices"
6672 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6675 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6678 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6680 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6683 if test "$ac_cv_header_Security_Security_h" = "yes"
6685 SECURITYLIB="-framework Security -framework CoreFoundation"
6687 ac_save_LIBS="$LIBS"
6688 LIBS="$LIBS $SECURITYLIB"
6689 for ac_func in SSLCopyPeerCertificates
6691 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6692 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6693 cat >>confdefs.h <<_ACEOF
6694 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6700 LIBS="$ac_save_LIBS"
6701 with_gnutls=${with_gnutls:-no}
6703 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6705 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6707 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6710 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6713 ac_save_LIBS="$LIBS"
6714 LIBS="$LIBS $COREAUDIO"
6715 for ac_func in AUGraphAddNode
6717 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6718 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6719 cat >>confdefs.h <<_ACEOF
6720 #define HAVE_AUGRAPHADDNODE 1
6726 LIBS="$ac_save_LIBS"
6728 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6730 FRAMEWORK_OPENAL="-framework OpenAL"
6733 cat >>confdefs.h <<_ACEOF
6734 #define HAVE_OPENAL 1
6737 ac_cv_lib_openal=yes
6739 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6741 LIBOPENCL="-framework OpenCL"
6743 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6745 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6747 ac_save_LIBS="$LIBS"
6748 LIBS="$LIBS $IOKITLIB"
6749 for ac_func in IOHIDManagerCreate
6751 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6752 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6753 cat >>confdefs.h <<_ACEOF
6754 #define HAVE_IOHIDMANAGERCREATE 1
6760 LIBS="$ac_save_LIBS"
6764 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6766 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6768 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6770 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6772 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6774 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6776 CARBONLIB="-framework Carbon"
6780 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6782 ac_save_LIBS="$LIBS"
6783 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6784 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6785 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6786 enable_winemac_drv=${enable_winemac_drv:-yes}
6789 LIBS="$ac_save_LIBS"
6792 if test "x$enable_win16" = "xyes"
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6795 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6796 if test "$cross_compiling" = yes; then :
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6798 $as_echo "cross-compiling, assuming yes" >&6; }
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6804 "good:\tnop;nop\n\t"
6805 ".globl _testfunc\n"
6806 "_testfunc:\tcallw good");
6807 extern void testfunc();
6811 unsigned short *p = (unsigned short *)testfunc;
6812 return p[0] != 0xe866 || p[1] != 0xfffa
6817 if ac_fn_c_try_run "$LINENO"; then :
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6819 $as_echo "yes" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6823 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
6825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6826 conftest.$ac_objext conftest.beam conftest.$ac_ext
6832 DLLFLAGS="$DLLFLAGS -fPIC"
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6835 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6836 if ${ac_cv_c_dll_gnuelf+:} false; then :
6837 $as_echo_n "(cached) " >&6
6839 ac_wine_try_cflags_saved=$CFLAGS
6840 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6845 if ac_fn_c_try_link "$LINENO"; then :
6846 ac_cv_c_dll_gnuelf="yes"
6848 ac_cv_c_dll_gnuelf="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_c_dll_gnuelf" >&5
6855 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6856 if test "$ac_cv_c_dll_gnuelf" = "yes"
6858 LDSHARED="\$(CC) -shared"
6859 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6861 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6862 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6863 $as_echo_n "(cached) " >&6
6865 ac_wine_try_cflags_saved=$CFLAGS
6866 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6868 /* end confdefs.h. */
6869 int main(int argc, char **argv) { return 0; }
6871 if ac_fn_c_try_link "$LINENO"; then :
6872 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6874 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6876 rm -f core conftest.err conftest.$ac_objext \
6877 conftest$ac_exeext conftest.$ac_ext
6878 CFLAGS=$ac_wine_try_cflags_saved
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6881 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6882 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6883 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6886 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6887 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6888 $as_echo_n "(cached) " >&6
6890 ac_wine_try_cflags_saved=$CFLAGS
6891 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6894 int main(int argc, char **argv) { return 0; }
6896 if ac_fn_c_try_link "$LINENO"; then :
6897 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6899 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6901 rm -f core conftest.err conftest.$ac_objext \
6902 conftest$ac_exeext conftest.$ac_ext
6903 CFLAGS=$ac_wine_try_cflags_saved
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6906 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6907 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6908 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6913 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6914 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6915 $as_echo_n "(cached) " >&6
6917 ac_wine_try_cflags_saved=$CFLAGS
6918 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6920 /* end confdefs.h. */
6921 int main(int argc, char **argv) { return 0; }
6923 if ac_fn_c_try_link "$LINENO"; then :
6924 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6926 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6928 rm -f core conftest.err conftest.$ac_objext \
6929 conftest$ac_exeext conftest.$ac_ext
6930 CFLAGS=$ac_wine_try_cflags_saved
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6933 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6934 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6935 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6938 { $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
6939 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6940 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6941 $as_echo_n "(cached) " >&6
6943 ac_wine_try_cflags_saved=$CFLAGS
6944 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6947 int main(int argc, char **argv) { return 0; }
6949 if ac_fn_c_try_link "$LINENO"; then :
6950 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6952 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6954 rm -f core conftest.err conftest.$ac_objext \
6955 conftest$ac_exeext conftest.$ac_ext
6956 CFLAGS=$ac_wine_try_cflags_saved
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6959 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6960 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6961 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6964 echo '{ global: *; };' >conftest.map
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6966 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6967 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
6968 $as_echo_n "(cached) " >&6
6970 ac_wine_try_cflags_saved=$CFLAGS
6971 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6974 int main(int argc, char **argv) { return 0; }
6976 if ac_fn_c_try_link "$LINENO"; then :
6977 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6979 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6981 rm -f core conftest.err conftest.$ac_objext \
6982 conftest$ac_exeext conftest.$ac_ext
6983 CFLAGS=$ac_wine_try_cflags_saved
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6986 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6987 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6988 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6993 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6994 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6995 $as_echo_n "(cached) " >&6
6997 ac_wine_try_cflags_saved=$CFLAGS
6998 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7000 /* end confdefs.h. */
7001 int main(int argc, char **argv) { return 0; }
7003 if ac_fn_c_try_link "$LINENO"; then :
7004 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7006 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7008 rm -f core conftest.err conftest.$ac_objext \
7009 conftest$ac_exeext conftest.$ac_ext
7010 CFLAGS=$ac_wine_try_cflags_saved
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7013 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7014 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7015 LDEXECFLAGS="-Wl,--export-dynamic"
7019 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7021 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7022 if eval \${$as_ac_var+:} false; then :
7023 $as_echo_n "(cached) " >&6
7025 ac_wine_try_cflags_saved=$CFLAGS
7026 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7028 /* end confdefs.h. */
7029 int main(int argc, char **argv) { return 0; }
7031 if ac_fn_c_try_link "$LINENO"; then :
7032 eval "$as_ac_var=yes"
7034 eval "$as_ac_var=no"
7036 rm -f core conftest.err conftest.$ac_objext \
7037 conftest$ac_exeext conftest.$ac_ext
7038 CFLAGS=$ac_wine_try_cflags_saved
7040 eval ac_res=\$$as_ac_var
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7042 $as_echo "$ac_res" >&6; }
7043 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7044 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7045 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7047 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7049 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7050 if eval \${$as_ac_var+:} false; then :
7051 $as_echo_n "(cached) " >&6
7053 ac_wine_try_cflags_saved=$CFLAGS
7054 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7057 int main(int argc, char **argv) { return 0; }
7059 if ac_fn_c_try_link "$LINENO"; then :
7060 eval "$as_ac_var=yes"
7062 eval "$as_ac_var=no"
7064 rm -f core conftest.err conftest.$ac_objext \
7065 conftest$ac_exeext conftest.$ac_ext
7066 CFLAGS=$ac_wine_try_cflags_saved
7068 eval ac_res=\$$as_ac_var
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7070 $as_echo "$ac_res" >&6; }
7071 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7072 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7073 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7078 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7079 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7080 $as_echo_n "(cached) " >&6
7082 ac_wine_try_cflags_saved=$CFLAGS
7083 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 int main(int argc, char **argv) { return 0; }
7088 if ac_fn_c_try_link "$LINENO"; then :
7089 ac_cv_cflags__Wl___enable_new_dtags=yes
7091 ac_cv_cflags__Wl___enable_new_dtags=no
7093 rm -f core conftest.err conftest.$ac_objext \
7094 conftest$ac_exeext conftest.$ac_ext
7095 CFLAGS=$ac_wine_try_cflags_saved
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7098 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7099 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7100 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7104 *i[3456789]86* | x86_64)
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7106 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7107 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7108 $as_echo_n "(cached) " >&6
7110 ac_wine_try_cflags_saved=$CFLAGS
7111 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7113 /* end confdefs.h. */
7114 int main(int argc, char **argv) { return 0; }
7116 if ac_fn_c_try_link "$LINENO"; then :
7117 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7119 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7121 rm -f core conftest.err conftest.$ac_objext \
7122 conftest$ac_exeext conftest.$ac_ext
7123 CFLAGS=$ac_wine_try_cflags_saved
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7126 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7127 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7129 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7130 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7134 # Extract the first word of "prelink", so it can be a program name with args.
7135 set dummy prelink; ac_word=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if ${ac_cv_path_PRELINK+:} false; then :
7139 $as_echo_n "(cached) " >&6
7143 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7147 for as_dir in /sbin /usr/sbin $PATH
7150 test -z "$as_dir" && as_dir=.
7151 for ac_exec_ext in '' $ac_executable_extensions; do
7152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7153 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7165 PRELINK=$ac_cv_path_PRELINK
7166 if test -n "$PRELINK"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7168 $as_echo "$PRELINK" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7175 if test "x$PRELINK" = xfalse
7177 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7184 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7185 if ${ac_cv_c_dll_unixware+:} false; then :
7186 $as_echo_n "(cached) " >&6
7188 ac_wine_try_cflags_saved=$CFLAGS
7189 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7191 /* end confdefs.h. */
7194 if ac_fn_c_try_link "$LINENO"; then :
7195 ac_cv_c_dll_unixware="yes"
7197 ac_cv_c_dll_unixware="no"
7199 rm -f core conftest.err conftest.$ac_objext \
7200 conftest$ac_exeext conftest.$ac_ext
7201 CFLAGS=$ac_wine_try_cflags_saved
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7204 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7205 if test "$ac_cv_c_dll_unixware" = "yes"
7207 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7208 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7212 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7213 if ${ac_cv_c_dll_hpux+:} false; then :
7214 $as_echo_n "(cached) " >&6
7216 ac_wine_try_cflags_saved=$CFLAGS
7217 CFLAGS="$CFLAGS -shared"
7218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7222 if ac_fn_c_try_link "$LINENO"; then :
7223 ac_cv_c_dll_hpux="yes"
7225 ac_cv_c_dll_hpux="no"
7227 rm -f core conftest.err conftest.$ac_objext \
7228 conftest$ac_exeext conftest.$ac_ext
7229 CFLAGS=$ac_wine_try_cflags_saved
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7232 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7233 if test "$ac_cv_c_dll_hpux" = "yes"
7237 LDDLLFLAGS="-shared -fPIC"
7238 LDSHARED="\$(CC) -shared"
7245 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7246 enable_winemac_drv=${enable_winemac_drv:-no}
7248 if test "$LIBEXT" = "a"; then
7249 as_fn_error $? "could not find a way to build shared libraries.
7250 It is currently not possible to build Wine without shared library
7251 (.so) support to allow transparent switch between .so and .dll files.
7252 If you are using Linux, you will need a newer binutils.
7256 CROSSTEST_DISABLE=\#
7258 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7262 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
7265 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 " ;;
7267 ac_prefix_list="" ;;
7269 for ac_prog in $ac_prefix_list
7271 # Extract the first word of "$ac_prog", so it can be a program name with args.
7272 set dummy $ac_prog; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if ${ac_cv_prog_CROSSCC+:} false; then :
7276 $as_echo_n "(cached) " >&6
7278 if test -n "$CROSSCC"; then
7279 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_CROSSCC="$ac_prog"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7298 CROSSCC=$ac_cv_prog_CROSSCC
7299 if test -n "$CROSSCC"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7301 $as_echo "$CROSSCC" >&6; }
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7308 test -n "$CROSSCC" && break
7310 test -n "$CROSSCC" || CROSSCC="false"
7312 if test "$CROSSCC" != "false"
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7317 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7319 /* end confdefs.h. */
7329 if ac_fn_c_try_compile "$LINENO"; then :
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7331 $as_echo "yes" >&6; }
7338 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7342 if test -n "$target"
7344 CROSSTEST_DISABLE=""
7345 CROSSTARGET="$target"
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7350 $as_echo "no" >&6; }
7352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7358 if test "$ac_cv_header_pthread_h" = "yes"
7360 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7361 if test "x$ac_cv_func_pthread_create" = xyes; then :
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7365 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7366 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7367 $as_echo_n "(cached) " >&6
7369 ac_check_lib_save_LIBS=$LIBS
7370 LIBS="-lpthread $LIBS"
7371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7374 /* Override any GCC internal prototype to avoid an error.
7375 Use char because int might match the return type of a GCC
7376 builtin and then its argument prototype would still apply. */
7380 char pthread_create ();
7384 return pthread_create ();
7389 if ac_fn_c_try_link "$LINENO"; then :
7390 ac_cv_lib_pthread_pthread_create=yes
7392 ac_cv_lib_pthread_pthread_create=no
7394 rm -f core conftest.err conftest.$ac_objext \
7395 conftest$ac_exeext conftest.$ac_ext
7396 LIBS=$ac_check_lib_save_LIBS
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7399 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7400 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7401 LIBPTHREAD="-lpthread"
7408 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7409 case "x$with_pthread" in
7411 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7412 Wine cannot support threads without libpthread.
7413 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7419 $as_echo_n "checking for X... " >&6; }
7422 # Check whether --with-x was given.
7423 if test "${with_x+set}" = set; then :
7427 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7428 if test "x$with_x" = xno; then
7429 # The user explicitly disabled X.
7432 case $x_includes,$x_libraries in #(
7433 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7434 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7435 $as_echo_n "(cached) " >&6
7437 # One or both of the vars are not set, and there is no cached value.
7438 ac_x_includes=no ac_x_libraries=no
7439 rm -f -r conftest.dir
7440 if mkdir conftest.dir; then
7442 cat >Imakefile <<'_ACEOF'
7444 @echo incroot='${INCROOT}'
7446 @echo usrlibdir='${USRLIBDIR}'
7448 @echo libdir='${LIBDIR}'
7450 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7451 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7452 for ac_var in incroot usrlibdir libdir; do
7453 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7455 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7456 for ac_extension in a so sl dylib la dll; do
7457 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7458 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7459 ac_im_usrlibdir=$ac_im_libdir; break
7462 # Screen out bogus values from the imake configuration. They are
7463 # bogus both because they are the default anyway, and because
7464 # using them would break gcc on systems where it needs fixed includes.
7465 case $ac_im_incroot in
7466 /usr/include) ac_x_includes= ;;
7467 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7469 case $ac_im_usrlibdir in
7470 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7471 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7475 rm -f -r conftest.dir
7478 # Standard set of common directories for X headers.
7479 # Check X11 before X11Rn because it is often a symlink to the current release.
7493 /usr/local/X11/include
7494 /usr/local/X11R7/include
7495 /usr/local/X11R6/include
7496 /usr/local/X11R5/include
7497 /usr/local/X11R4/include
7499 /usr/local/include/X11
7500 /usr/local/include/X11R7
7501 /usr/local/include/X11R6
7502 /usr/local/include/X11R5
7503 /usr/local/include/X11R4
7507 /usr/XFree86/include/X11
7511 /usr/unsupported/include
7513 /usr/local/x11r5/include
7514 /usr/lpp/Xamples/include
7516 /usr/openwin/include
7517 /usr/openwin/share/include'
7519 if test "$ac_x_includes" = no; then
7520 # Guess where to find include files, by looking for Xlib.h.
7521 # First, try using that file with no special directory specified.
7522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h. */
7524 #include <X11/Xlib.h>
7526 if ac_fn_c_try_cpp "$LINENO"; then :
7527 # We can compile using X headers with no special include directory.
7530 for ac_dir in $ac_x_header_dirs; do
7531 if test -r "$ac_dir/X11/Xlib.h"; then
7532 ac_x_includes=$ac_dir
7537 rm -f conftest.err conftest.i conftest.$ac_ext
7538 fi # $ac_x_includes = no
7540 if test "$ac_x_libraries" = no; then
7541 # Check for the libraries.
7542 # See if we find them without any special options.
7543 # Don't add to $LIBS permanently.
7546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h. */
7548 #include <X11/Xlib.h>
7557 if ac_fn_c_try_link "$LINENO"; then :
7559 # We can link X programs with no special library path.
7563 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7565 # Don't even attempt the hair of trying to link an X program!
7566 for ac_extension in a so sl dylib la dll; do
7567 if test -r "$ac_dir/libX11.$ac_extension"; then
7568 ac_x_libraries=$ac_dir
7574 rm -f core conftest.err conftest.$ac_objext \
7575 conftest$ac_exeext conftest.$ac_ext
7576 fi # $ac_x_libraries = no
7578 case $ac_x_includes,$ac_x_libraries in #(
7580 # Didn't find X, or a directory has "'" in its name.
7581 ac_cv_have_x="have_x=no";; #(
7583 # Record where we found X for the cache.
7584 ac_cv_have_x="have_x=yes\
7585 ac_x_includes='$ac_x_includes'\
7586 ac_x_libraries='$ac_x_libraries'"
7592 eval "$ac_cv_have_x"
7595 if test "$have_x" != yes; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7597 $as_echo "$have_x" >&6; }
7600 # If each of the values was on the command line, it overrides each guess.
7601 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7602 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7603 # Update the cache value to reflect the command line values.
7604 ac_cv_have_x="have_x=yes\
7605 ac_x_includes='$x_includes'\
7606 ac_x_libraries='$x_libraries'"
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7608 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7611 if test "$no_x" = yes; then
7612 # Not all programs may use this symbol, but it does not hurt to define it.
7614 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7616 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7618 if test -n "$x_includes"; then
7619 X_CFLAGS="$X_CFLAGS -I$x_includes"
7622 # It would also be nice to do this for all -L options, not just this one.
7623 if test -n "$x_libraries"; then
7624 X_LIBS="$X_LIBS -L$x_libraries"
7625 # For Solaris; some versions of Sun CC require a space after -R and
7626 # others require no space. Words are not sufficient . . . .
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7628 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7629 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7630 ac_xsave_c_werror_flag=$ac_c_werror_flag
7631 ac_c_werror_flag=yes
7632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7633 /* end confdefs.h. */
7643 if ac_fn_c_try_link "$LINENO"; then :
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7646 X_LIBS="$X_LIBS -R$x_libraries"
7648 LIBS="$ac_xsave_LIBS -R $x_libraries"
7649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7650 /* end confdefs.h. */
7660 if ac_fn_c_try_link "$LINENO"; then :
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7662 $as_echo "yes" >&6; }
7663 X_LIBS="$X_LIBS -R $x_libraries"
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7666 $as_echo "neither works" >&6; }
7668 rm -f core conftest.err conftest.$ac_objext \
7669 conftest$ac_exeext conftest.$ac_ext
7671 rm -f core conftest.err conftest.$ac_objext \
7672 conftest$ac_exeext conftest.$ac_ext
7673 ac_c_werror_flag=$ac_xsave_c_werror_flag
7677 # Check for system-dependent libraries X programs must link with.
7678 # Do this before checking for the system-independent R6 libraries
7679 # (-lICE), since we may need -lsocket or whatever for X linking.
7681 if test "$ISC" = yes; then
7682 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7684 # Martyn Johnson says this is needed for Ultrix, if the X
7685 # libraries were built with DECnet support. And Karl Berry says
7686 # the Alpha needs dnet_stub (dnet does not exist).
7687 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7689 /* end confdefs.h. */
7691 /* Override any GCC internal prototype to avoid an error.
7692 Use char because int might match the return type of a GCC
7693 builtin and then its argument prototype would still apply. */
7697 char XOpenDisplay ();
7701 return XOpenDisplay ();
7706 if ac_fn_c_try_link "$LINENO"; then :
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7710 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7711 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7712 $as_echo_n "(cached) " >&6
7714 ac_check_lib_save_LIBS=$LIBS
7716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7717 /* end confdefs.h. */
7719 /* Override any GCC internal prototype to avoid an error.
7720 Use char because int might match the return type of a GCC
7721 builtin and then its argument prototype would still apply. */
7729 return dnet_ntoa ();
7734 if ac_fn_c_try_link "$LINENO"; then :
7735 ac_cv_lib_dnet_dnet_ntoa=yes
7737 ac_cv_lib_dnet_dnet_ntoa=no
7739 rm -f core conftest.err conftest.$ac_objext \
7740 conftest$ac_exeext conftest.$ac_ext
7741 LIBS=$ac_check_lib_save_LIBS
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7744 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7745 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7746 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7749 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7751 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7752 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7753 $as_echo_n "(cached) " >&6
7755 ac_check_lib_save_LIBS=$LIBS
7756 LIBS="-ldnet_stub $LIBS"
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7760 /* Override any GCC internal prototype to avoid an error.
7761 Use char because int might match the return type of a GCC
7762 builtin and then its argument prototype would still apply. */
7770 return dnet_ntoa ();
7775 if ac_fn_c_try_link "$LINENO"; then :
7776 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7778 ac_cv_lib_dnet_stub_dnet_ntoa=no
7780 rm -f core conftest.err conftest.$ac_objext \
7781 conftest$ac_exeext conftest.$ac_ext
7782 LIBS=$ac_check_lib_save_LIBS
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7785 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7786 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7787 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7792 rm -f core conftest.err conftest.$ac_objext \
7793 conftest$ac_exeext conftest.$ac_ext
7794 LIBS="$ac_xsave_LIBS"
7796 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7797 # to get the SysV transport functions.
7798 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7800 # The nsl library prevents programs from opening the X display
7801 # on Irix 5.2, according to T.E. Dickey.
7802 # The functions gethostbyname, getservbyname, and inet_addr are
7803 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7804 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7805 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7809 if test $ac_cv_func_gethostbyname = no; then
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7811 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7812 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7813 $as_echo_n "(cached) " >&6
7815 ac_check_lib_save_LIBS=$LIBS
7817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7818 /* end confdefs.h. */
7820 /* Override any GCC internal prototype to avoid an error.
7821 Use char because int might match the return type of a GCC
7822 builtin and then its argument prototype would still apply. */
7826 char gethostbyname ();
7830 return gethostbyname ();
7835 if ac_fn_c_try_link "$LINENO"; then :
7836 ac_cv_lib_nsl_gethostbyname=yes
7838 ac_cv_lib_nsl_gethostbyname=no
7840 rm -f core conftest.err conftest.$ac_objext \
7841 conftest$ac_exeext conftest.$ac_ext
7842 LIBS=$ac_check_lib_save_LIBS
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7845 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7846 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7847 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7850 if test $ac_cv_lib_nsl_gethostbyname = no; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7852 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7853 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7854 $as_echo_n "(cached) " >&6
7856 ac_check_lib_save_LIBS=$LIBS
7858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7859 /* end confdefs.h. */
7861 /* Override any GCC internal prototype to avoid an error.
7862 Use char because int might match the return type of a GCC
7863 builtin and then its argument prototype would still apply. */
7867 char gethostbyname ();
7871 return gethostbyname ();
7876 if ac_fn_c_try_link "$LINENO"; then :
7877 ac_cv_lib_bsd_gethostbyname=yes
7879 ac_cv_lib_bsd_gethostbyname=no
7881 rm -f core conftest.err conftest.$ac_objext \
7882 conftest$ac_exeext conftest.$ac_ext
7883 LIBS=$ac_check_lib_save_LIBS
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7886 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7887 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7888 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7894 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7895 # socket/setsockopt and other routines are undefined under SCO ODT
7896 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7897 # on later versions), says Simon Leinen: it contains gethostby*
7898 # variants that don't use the name server (or something). -lsocket
7899 # must be given before -lnsl if both are needed. We assume that
7900 # if connect needs -lnsl, so does gethostbyname.
7901 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7902 if test "x$ac_cv_func_connect" = xyes; then :
7906 if test $ac_cv_func_connect = no; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7908 $as_echo_n "checking for connect in -lsocket... " >&6; }
7909 if ${ac_cv_lib_socket_connect+:} false; then :
7910 $as_echo_n "(cached) " >&6
7912 ac_check_lib_save_LIBS=$LIBS
7913 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7915 /* end confdefs.h. */
7917 /* Override any GCC internal prototype to avoid an error.
7918 Use char because int might match the return type of a GCC
7919 builtin and then its argument prototype would still apply. */
7932 if ac_fn_c_try_link "$LINENO"; then :
7933 ac_cv_lib_socket_connect=yes
7935 ac_cv_lib_socket_connect=no
7937 rm -f core conftest.err conftest.$ac_objext \
7938 conftest$ac_exeext conftest.$ac_ext
7939 LIBS=$ac_check_lib_save_LIBS
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7942 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7943 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7944 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7949 # Guillermo Gomez says -lposix is necessary on A/UX.
7950 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7951 if test "x$ac_cv_func_remove" = xyes; then :
7955 if test $ac_cv_func_remove = no; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7957 $as_echo_n "checking for remove in -lposix... " >&6; }
7958 if ${ac_cv_lib_posix_remove+:} false; then :
7959 $as_echo_n "(cached) " >&6
7961 ac_check_lib_save_LIBS=$LIBS
7962 LIBS="-lposix $LIBS"
7963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7966 /* Override any GCC internal prototype to avoid an error.
7967 Use char because int might match the return type of a GCC
7968 builtin and then its argument prototype would still apply. */
7981 if ac_fn_c_try_link "$LINENO"; then :
7982 ac_cv_lib_posix_remove=yes
7984 ac_cv_lib_posix_remove=no
7986 rm -f core conftest.err conftest.$ac_objext \
7987 conftest$ac_exeext conftest.$ac_ext
7988 LIBS=$ac_check_lib_save_LIBS
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7991 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7992 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7998 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7999 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
8000 if test "x$ac_cv_func_shmat" = xyes; then :
8004 if test $ac_cv_func_shmat = no; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8006 $as_echo_n "checking for shmat in -lipc... " >&6; }
8007 if ${ac_cv_lib_ipc_shmat+:} false; then :
8008 $as_echo_n "(cached) " >&6
8010 ac_check_lib_save_LIBS=$LIBS
8012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8013 /* end confdefs.h. */
8015 /* Override any GCC internal prototype to avoid an error.
8016 Use char because int might match the return type of a GCC
8017 builtin and then its argument prototype would still apply. */
8030 if ac_fn_c_try_link "$LINENO"; then :
8031 ac_cv_lib_ipc_shmat=yes
8033 ac_cv_lib_ipc_shmat=no
8035 rm -f core conftest.err conftest.$ac_objext \
8036 conftest$ac_exeext conftest.$ac_ext
8037 LIBS=$ac_check_lib_save_LIBS
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8040 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8041 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8048 # Check for libraries that X11R6 Xt/Xaw programs need.
8049 ac_save_LDFLAGS=$LDFLAGS
8050 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8051 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8052 # check for ICE first), but we must link in the order -lSM -lICE or
8053 # we get undefined symbols. So assume we have SM if we have ICE.
8054 # These have to be linked with before -lX11, unlike the other
8055 # libraries we check for below, so use a different variable.
8056 # John Interrante, Karl Berry
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8058 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8059 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8060 $as_echo_n "(cached) " >&6
8062 ac_check_lib_save_LIBS=$LIBS
8063 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8065 /* end confdefs.h. */
8067 /* Override any GCC internal prototype to avoid an error.
8068 Use char because int might match the return type of a GCC
8069 builtin and then its argument prototype would still apply. */
8073 char IceConnectionNumber ();
8077 return IceConnectionNumber ();
8082 if ac_fn_c_try_link "$LINENO"; then :
8083 ac_cv_lib_ICE_IceConnectionNumber=yes
8085 ac_cv_lib_ICE_IceConnectionNumber=no
8087 rm -f core conftest.err conftest.$ac_objext \
8088 conftest$ac_exeext conftest.$ac_ext
8089 LIBS=$ac_check_lib_save_LIBS
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8092 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8093 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8094 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8097 LDFLAGS=$ac_save_LDFLAGS
8102 if test "$have_x" = "yes"
8105 ac_save_CPPFLAGS="$CPPFLAGS"
8106 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8109 $as_echo_n "checking for -lX11... " >&6; }
8110 if ${ac_cv_lib_soname_X11+:} false; then :
8111 $as_echo_n "(cached) " >&6
8113 ac_check_soname_save_LIBS=$LIBS
8114 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8116 /* end confdefs.h. */
8118 /* Override any GCC internal prototype to avoid an error.
8119 Use char because int might match the return type of a GCC
8120 builtin and then its argument prototype would still apply. */
8124 char XCreateWindow ();
8128 return XCreateWindow ();
8133 if ac_fn_c_try_link "$LINENO"; then :
8135 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8136 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'` ;;
8137 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8138 if test "x$ac_cv_lib_soname_X11" = x; then :
8139 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8143 rm -f core conftest.err conftest.$ac_objext \
8144 conftest$ac_exeext conftest.$ac_ext
8145 LIBS=$ac_check_soname_save_LIBS
8147 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8149 $as_echo "not found" >&6; }
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8153 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8155 cat >>confdefs.h <<_ACEOF
8156 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8162 $as_echo_n "checking for -lXext... " >&6; }
8163 if ${ac_cv_lib_soname_Xext+:} false; then :
8164 $as_echo_n "(cached) " >&6
8166 ac_check_soname_save_LIBS=$LIBS
8167 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8171 /* Override any GCC internal prototype to avoid an error.
8172 Use char because int might match the return type of a GCC
8173 builtin and then its argument prototype would still apply. */
8177 char XextCreateExtension ();
8181 return XextCreateExtension ();
8186 if ac_fn_c_try_link "$LINENO"; then :
8188 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8189 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'` ;;
8190 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8191 if test "x$ac_cv_lib_soname_Xext" = x; then :
8192 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8196 rm -f core conftest.err conftest.$ac_objext \
8197 conftest$ac_exeext conftest.$ac_ext
8198 LIBS=$ac_check_soname_save_LIBS
8200 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8202 $as_echo "not found" >&6; }
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8206 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8208 cat >>confdefs.h <<_ACEOF
8209 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8215 for ac_header in X11/Xlib.h \
8218 X11/Xcursor/Xcursor.h \
8219 X11/extensions/shape.h \
8220 X11/extensions/XInput.h \
8221 X11/extensions/XInput2.h \
8222 X11/extensions/XShm.h \
8223 X11/extensions/Xcomposite.h \
8224 X11/extensions/Xinerama.h \
8225 X11/extensions/Xrandr.h \
8226 X11/extensions/Xrender.h \
8227 X11/extensions/xf86vmode.h \
8228 X11/extensions/xf86vmproto.h
8230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8232 # include <X11/Xlib.h>
8234 #ifdef HAVE_X11_XUTIL_H
8235 # include <X11/Xutil.h>
8238 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8239 cat >>confdefs.h <<_ACEOF
8240 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8248 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8251 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8252 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8253 $as_echo_n "(cached) " >&6
8255 ac_check_lib_save_LIBS=$LIBS
8256 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8260 /* Override any GCC internal prototype to avoid an error.
8261 Use char because int might match the return type of a GCC
8262 builtin and then its argument prototype would still apply. */
8266 char XkbQueryExtension ();
8270 return XkbQueryExtension ();
8275 if ac_fn_c_try_link "$LINENO"; then :
8276 ac_cv_lib_X11_XkbQueryExtension=yes
8278 ac_cv_lib_X11_XkbQueryExtension=no
8280 rm -f core conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 LIBS=$ac_check_lib_save_LIBS
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8285 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8286 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8288 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8294 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8297 $as_echo_n "checking for -lXcursor... " >&6; }
8298 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8299 $as_echo_n "(cached) " >&6
8301 ac_check_soname_save_LIBS=$LIBS
8302 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8306 /* Override any GCC internal prototype to avoid an error.
8307 Use char because int might match the return type of a GCC
8308 builtin and then its argument prototype would still apply. */
8312 char XcursorImageLoadCursor ();
8316 return XcursorImageLoadCursor ();
8321 if ac_fn_c_try_link "$LINENO"; then :
8323 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8324 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'` ;;
8325 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8326 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8327 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 LIBS=$ac_check_soname_save_LIBS
8335 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8337 $as_echo "not found" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8341 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8343 cat >>confdefs.h <<_ACEOF
8344 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8350 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8351 case "x$with_xcursor" in
8352 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8354 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8355 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8359 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8362 $as_echo_n "checking for -lXi... " >&6; }
8363 if ${ac_cv_lib_soname_Xi+:} false; then :
8364 $as_echo_n "(cached) " >&6
8366 ac_check_soname_save_LIBS=$LIBS
8367 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8371 /* Override any GCC internal prototype to avoid an error.
8372 Use char because int might match the return type of a GCC
8373 builtin and then its argument prototype would still apply. */
8377 char XOpenDevice ();
8381 return XOpenDevice ();
8386 if ac_fn_c_try_link "$LINENO"; then :
8388 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8389 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'` ;;
8390 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8391 if test "x$ac_cv_lib_soname_Xi" = x; then :
8392 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8396 rm -f core conftest.err conftest.$ac_objext \
8397 conftest$ac_exeext conftest.$ac_ext
8398 LIBS=$ac_check_soname_save_LIBS
8400 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8402 $as_echo "not found" >&6; }
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8406 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8408 cat >>confdefs.h <<_ACEOF
8409 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8415 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8416 case "x$with_xinput" in
8417 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8419 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8420 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8424 if test "x$ac_cv_lib_soname_Xi" != x
8426 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8427 case "x$with_xinput2" in
8428 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8430 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8431 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8436 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8439 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8440 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8441 $as_echo_n "(cached) " >&6
8443 ac_check_lib_save_LIBS=$LIBS
8444 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8448 /* Override any GCC internal prototype to avoid an error.
8449 Use char because int might match the return type of a GCC
8450 builtin and then its argument prototype would still apply. */
8454 char XShmQueryExtension ();
8458 return XShmQueryExtension ();
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 ac_cv_lib_Xext_XShmQueryExtension=yes
8466 ac_cv_lib_Xext_XShmQueryExtension=no
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 LIBS=$ac_check_lib_save_LIBS
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8473 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8474 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8476 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8481 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8482 case "x$with_xshm" in
8483 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8485 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8486 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8490 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8493 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8494 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8495 $as_echo_n "(cached) " >&6
8497 ac_check_lib_save_LIBS=$LIBS
8498 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500 /* end confdefs.h. */
8502 /* Override any GCC internal prototype to avoid an error.
8503 Use char because int might match the return type of a GCC
8504 builtin and then its argument prototype would still apply. */
8508 char XShapeQueryExtension ();
8512 return XShapeQueryExtension ();
8517 if ac_fn_c_try_link "$LINENO"; then :
8518 ac_cv_lib_Xext_XShapeQueryExtension=yes
8520 ac_cv_lib_Xext_XShapeQueryExtension=no
8522 rm -f core conftest.err conftest.$ac_objext \
8523 conftest$ac_exeext conftest.$ac_ext
8524 LIBS=$ac_check_lib_save_LIBS
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8527 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8528 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8530 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8535 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8536 case "x$with_xshape" in
8537 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8539 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8540 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8544 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8547 $as_echo_n "checking for -lXxf86vm... " >&6; }
8548 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8549 $as_echo_n "(cached) " >&6
8551 ac_check_soname_save_LIBS=$LIBS
8552 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8556 /* Override any GCC internal prototype to avoid an error.
8557 Use char because int might match the return type of a GCC
8558 builtin and then its argument prototype would still apply. */
8562 char XF86VidModeQueryExtension ();
8566 return XF86VidModeQueryExtension ();
8571 if ac_fn_c_try_link "$LINENO"; then :
8573 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8574 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'` ;;
8575 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8576 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8577 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8581 rm -f core conftest.err conftest.$ac_objext \
8582 conftest$ac_exeext conftest.$ac_ext
8583 LIBS=$ac_check_soname_save_LIBS
8585 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8587 $as_echo "not found" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8591 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8593 cat >>confdefs.h <<_ACEOF
8594 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8600 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8601 case "x$with_xxf86vm" in
8602 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8604 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8605 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8609 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"
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8612 $as_echo_n "checking for -lXrender... " >&6; }
8613 if ${ac_cv_lib_soname_Xrender+:} false; then :
8614 $as_echo_n "(cached) " >&6
8616 ac_check_soname_save_LIBS=$LIBS
8617 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8621 /* Override any GCC internal prototype to avoid an error.
8622 Use char because int might match the return type of a GCC
8623 builtin and then its argument prototype would still apply. */
8627 char XRenderQueryExtension ();
8631 return XRenderQueryExtension ();
8636 if ac_fn_c_try_link "$LINENO"; then :
8638 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8639 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'` ;;
8640 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8641 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8642 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8646 rm -f core conftest.err conftest.$ac_objext \
8647 conftest$ac_exeext conftest.$ac_ext
8648 LIBS=$ac_check_soname_save_LIBS
8650 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8652 $as_echo "not found" >&6; }
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8656 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8658 cat >>confdefs.h <<_ACEOF
8659 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8663 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8664 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8665 $as_echo_n "(cached) " >&6
8667 ac_check_lib_save_LIBS=$LIBS
8668 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8672 /* Override any GCC internal prototype to avoid an error.
8673 Use char because int might match the return type of a GCC
8674 builtin and then its argument prototype would still apply. */
8678 char XRenderSetPictureTransform ();
8682 return XRenderSetPictureTransform ();
8687 if ac_fn_c_try_link "$LINENO"; then :
8688 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8690 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8692 rm -f core conftest.err conftest.$ac_objext \
8693 conftest$ac_exeext conftest.$ac_ext
8694 LIBS=$ac_check_lib_save_LIBS
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8697 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8698 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8700 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8705 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8706 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8707 $as_echo_n "(cached) " >&6
8709 ac_check_lib_save_LIBS=$LIBS
8710 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8712 /* end confdefs.h. */
8714 /* Override any GCC internal prototype to avoid an error.
8715 Use char because int might match the return type of a GCC
8716 builtin and then its argument prototype would still apply. */
8720 char XRenderCreateLinearGradient ();
8724 return XRenderCreateLinearGradient ();
8729 if ac_fn_c_try_link "$LINENO"; then :
8730 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8732 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8734 rm -f core conftest.err conftest.$ac_objext \
8735 conftest$ac_exeext conftest.$ac_ext
8736 LIBS=$ac_check_lib_save_LIBS
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8739 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8740 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8742 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8749 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8750 case "x$with_xrender" in
8751 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8753 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8754 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8758 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8761 /* end confdefs.h. */
8762 #include <X11/Xlib.h>
8763 #include <X11/extensions/Xrandr.h>
8767 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8772 if ac_fn_c_try_compile "$LINENO"; then :
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8774 $as_echo_n "checking for -lXrandr... " >&6; }
8775 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8776 $as_echo_n "(cached) " >&6
8778 ac_check_soname_save_LIBS=$LIBS
8779 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8783 /* Override any GCC internal prototype to avoid an error.
8784 Use char because int might match the return type of a GCC
8785 builtin and then its argument prototype would still apply. */
8789 char XRRQueryExtension ();
8793 return XRRQueryExtension ();
8798 if ac_fn_c_try_link "$LINENO"; then :
8800 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8801 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'` ;;
8802 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8803 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
8804 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 LIBS=$ac_check_soname_save_LIBS
8812 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8814 $as_echo "not found" >&6; }
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8818 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8820 cat >>confdefs.h <<_ACEOF
8821 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 #include <X11/extensions/Xrandr.h>
8830 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8835 if ac_fn_c_try_compile "$LINENO"; then :
8837 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8845 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8846 case "x$with_xrandr" in
8847 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8849 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8850 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8854 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8857 /* end confdefs.h. */
8858 #include <X11/Xlib.h>
8859 #include <X11/extensions/Xinerama.h>
8863 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8868 if ac_fn_c_try_compile "$LINENO"; then :
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8870 $as_echo_n "checking for -lXinerama... " >&6; }
8871 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8872 $as_echo_n "(cached) " >&6
8874 ac_check_soname_save_LIBS=$LIBS
8875 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h. */
8879 /* Override any GCC internal prototype to avoid an error.
8880 Use char because int might match the return type of a GCC
8881 builtin and then its argument prototype would still apply. */
8885 char XineramaQueryScreens ();
8889 return XineramaQueryScreens ();
8894 if ac_fn_c_try_link "$LINENO"; then :
8896 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8897 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'` ;;
8898 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8899 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
8900 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8904 rm -f core conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8906 LIBS=$ac_check_soname_save_LIBS
8908 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8910 $as_echo "not found" >&6; }
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8914 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8916 cat >>confdefs.h <<_ACEOF
8917 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8925 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8926 case "x$with_xinerama" in
8927 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8929 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8930 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8934 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8937 $as_echo_n "checking for -lXcomposite... " >&6; }
8938 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8939 $as_echo_n "(cached) " >&6
8941 ac_check_soname_save_LIBS=$LIBS
8942 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8944 /* end confdefs.h. */
8946 /* Override any GCC internal prototype to avoid an error.
8947 Use char because int might match the return type of a GCC
8948 builtin and then its argument prototype would still apply. */
8952 char XCompositeRedirectWindow ();
8956 return XCompositeRedirectWindow ();
8961 if ac_fn_c_try_link "$LINENO"; then :
8963 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8964 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'` ;;
8965 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8966 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
8967 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8971 rm -f core conftest.err conftest.$ac_objext \
8972 conftest$ac_exeext conftest.$ac_ext
8973 LIBS=$ac_check_soname_save_LIBS
8975 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8977 $as_echo "not found" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8981 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8983 cat >>confdefs.h <<_ACEOF
8984 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8990 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8991 case "x$with_xcomposite" in
8992 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8994 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8995 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8999 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9000 #include <X11/Xlib.h>
9003 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9005 cat >>confdefs.h <<_ACEOF
9006 #define HAVE_XICCALLBACK_CALLBACK 1
9011 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9012 #include <X11/Xlib.h>
9015 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9017 cat >>confdefs.h <<_ACEOF
9018 #define HAVE_XEVENT_XCOOKIE 1
9027 if test "x$with_opengl" != "xno"
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9030 $as_echo_n "checking for -lGL... " >&6; }
9031 if ${ac_cv_lib_soname_GL+:} false; then :
9032 $as_echo_n "(cached) " >&6
9034 ac_check_soname_save_LIBS=$LIBS
9035 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9037 /* end confdefs.h. */
9039 /* Override any GCC internal prototype to avoid an error.
9040 Use char because int might match the return type of a GCC
9041 builtin and then its argument prototype would still apply. */
9045 char glXCreateContext ();
9049 return glXCreateContext ();
9054 if ac_fn_c_try_link "$LINENO"; then :
9056 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9057 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'` ;;
9058 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9059 if test "x$ac_cv_lib_soname_GL" = x; then :
9060 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9064 rm -f core conftest.err conftest.$ac_objext \
9065 conftest$ac_exeext conftest.$ac_ext
9066 LIBS=$ac_check_soname_save_LIBS
9068 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9070 $as_echo "not found" >&6; }
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9072 $as_echo_n "checking for -lGL... " >&6; }
9073 if ${ac_cv_lib_soname_GL+:} false; then :
9074 $as_echo_n "(cached) " >&6
9076 ac_check_soname_save_LIBS=$LIBS
9077 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"
9078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9079 /* end confdefs.h. */
9081 /* Override any GCC internal prototype to avoid an error.
9082 Use char because int might match the return type of a GCC
9083 builtin and then its argument prototype would still apply. */
9087 char glXCreateContext ();
9091 return glXCreateContext ();
9096 if ac_fn_c_try_link "$LINENO"; then :
9098 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9099 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'` ;;
9100 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9101 if test "x$ac_cv_lib_soname_GL" = x; then :
9102 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9106 rm -f core conftest.err conftest.$ac_objext \
9107 conftest$ac_exeext conftest.$ac_ext
9108 LIBS=$ac_check_soname_save_LIBS
9110 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9112 $as_echo "not found" >&6; }
9113 if test -f /usr/X11R6/lib/libGL.a
9115 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9116 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9118 opengl_msg="No OpenGL library found on this system."
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9122 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9124 cat >>confdefs.h <<_ACEOF
9125 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9128 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"
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9132 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9134 cat >>confdefs.h <<_ACEOF
9135 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9140 if test "x$with_glu" != "xno"
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9143 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9144 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9145 $as_echo_n "(cached) " >&6
9147 ac_check_lib_save_LIBS=$LIBS
9148 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9152 /* Override any GCC internal prototype to avoid an error.
9153 Use char because int might match the return type of a GCC
9154 builtin and then its argument prototype would still apply. */
9162 return gluLookAt ();
9167 if ac_fn_c_try_link "$LINENO"; then :
9168 ac_cv_lib_GLU_gluLookAt=yes
9170 ac_cv_lib_GLU_gluLookAt=no
9172 rm -f core conftest.err conftest.$ac_objext \
9173 conftest$ac_exeext conftest.$ac_ext
9174 LIBS=$ac_check_lib_save_LIBS
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9177 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9178 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9182 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9183 case "x$with_glu" in
9184 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9186 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9187 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9192 if test "x$with_osmesa" != "xno"
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9195 $as_echo_n "checking for -lOSMesa... " >&6; }
9196 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9197 $as_echo_n "(cached) " >&6
9199 ac_check_soname_save_LIBS=$LIBS
9200 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9204 /* Override any GCC internal prototype to avoid an error.
9205 Use char because int might match the return type of a GCC
9206 builtin and then its argument prototype would still apply. */
9219 if ac_fn_c_try_link "$LINENO"; then :
9221 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9222 dylib) ac_cv_lib_soname_OSMesa=`otool -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9223 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9224 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9225 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9229 rm -f core conftest.err conftest.$ac_objext \
9230 conftest$ac_exeext conftest.$ac_ext
9231 LIBS=$ac_check_soname_save_LIBS
9233 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9235 $as_echo "not found" >&6; }
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9239 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9241 cat >>confdefs.h <<_ACEOF
9242 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9247 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9248 case "x$with_osmesa" in
9249 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9251 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9252 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9257 if test -n "$opengl_msg"; then :
9258 case "x$with_opengl" in
9259 x) as_fn_append wine_warnings "|$opengl_msg
9260 OpenGL and Direct3D won't be supported." ;;
9262 *) as_fn_error $? "$opengl_msg
9263 OpenGL and Direct3D won't be supported.
9264 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9268 CPPFLAGS="$ac_save_CPPFLAGS"
9273 enable_winex11_drv=${enable_winex11_drv:-no}
9275 if test "x$XLIB" = "x"; then :
9278 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9279 without X support, which probably isn't what you want. You will need
9280 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9281 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9285 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9287 if test "$ac_cv_header_CL_cl_h" = "yes"
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9290 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9291 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9292 $as_echo_n "(cached) " >&6
9294 ac_check_lib_save_LIBS=$LIBS
9295 LIBS="-lOpenCL $LIBS"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9299 /* Override any GCC internal prototype to avoid an error.
9300 Use char because int might match the return type of a GCC
9301 builtin and then its argument prototype would still apply. */
9305 char clGetPlatformInfo ();
9309 return clGetPlatformInfo ();
9314 if ac_fn_c_try_link "$LINENO"; then :
9315 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9317 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9319 rm -f core conftest.err conftest.$ac_objext \
9320 conftest$ac_exeext conftest.$ac_ext
9321 LIBS=$ac_check_lib_save_LIBS
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9324 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9325 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9326 LIBOPENCL="-lOpenCL"
9331 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9332 case "x$with_opencl" in
9333 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9335 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9336 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9339 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9348 if test "x$with_xml" != "xno"
9350 ac_save_CPPFLAGS="$CPPFLAGS"
9351 if test "$PKG_CONFIG" != "false"
9353 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9354 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9356 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9357 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9359 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9360 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9363 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9364 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9365 cat >>confdefs.h <<_ACEOF
9366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9373 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"
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9376 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9377 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9378 $as_echo_n "(cached) " >&6
9380 ac_check_lib_save_LIBS=$LIBS
9381 LIBS="-lxml2 $ac_xml_libs $LIBS"
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9385 /* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
9391 char xmlParseMemory ();
9395 return xmlParseMemory ();
9400 if ac_fn_c_try_link "$LINENO"; then :
9401 ac_cv_lib_xml2_xmlParseMemory=yes
9403 ac_cv_lib_xml2_xmlParseMemory=no
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_lib_save_LIBS
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9410 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9411 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9413 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9415 XML2LIBS="$ac_xml_libs"
9416 XML2INCL="$ac_xml_cflags"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9420 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9421 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9422 $as_echo_n "(cached) " >&6
9424 ac_check_lib_save_LIBS=$LIBS
9425 LIBS="-lxml2 $ac_xml_libs $LIBS"
9426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9427 /* end confdefs.h. */
9429 /* Override any GCC internal prototype to avoid an error.
9430 Use char because int might match the return type of a GCC
9431 builtin and then its argument prototype would still apply. */
9435 char xmlReadMemory ();
9439 return xmlReadMemory ();
9444 if ac_fn_c_try_link "$LINENO"; then :
9445 ac_cv_lib_xml2_xmlReadMemory=yes
9447 ac_cv_lib_xml2_xmlReadMemory=no
9449 rm -f core conftest.err conftest.$ac_objext \
9450 conftest$ac_exeext conftest.$ac_ext
9451 LIBS=$ac_check_lib_save_LIBS
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9454 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9455 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9457 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9462 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9463 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9464 $as_echo_n "(cached) " >&6
9466 ac_check_lib_save_LIBS=$LIBS
9467 LIBS="-lxml2 $ac_xml_libs $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9477 char xmlNewDocPI ();
9481 return xmlNewDocPI ();
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_lib_xml2_xmlNewDocPI=yes
9489 ac_cv_lib_xml2_xmlNewDocPI=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9496 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9497 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9499 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9504 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9505 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9506 $as_echo_n "(cached) " >&6
9508 ac_check_lib_save_LIBS=$LIBS
9509 LIBS="-lxml2 $ac_xml_libs $LIBS"
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9519 char xmlSchemaSetParserStructuredErrors ();
9523 return xmlSchemaSetParserStructuredErrors ();
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9531 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 LIBS=$ac_check_lib_save_LIBS
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9538 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9539 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9541 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9546 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9547 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9548 $as_echo_n "(cached) " >&6
9550 ac_check_lib_save_LIBS=$LIBS
9551 LIBS="-lxml2 $ac_xml_libs $LIBS"
9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9555 /* Override any GCC internal prototype to avoid an error.
9556 Use char because int might match the return type of a GCC
9557 builtin and then its argument prototype would still apply. */
9561 char xmlSchemaSetValidStructuredErrors ();
9565 return xmlSchemaSetValidStructuredErrors ();
9570 if ac_fn_c_try_link "$LINENO"; then :
9571 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9573 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 LIBS=$ac_check_lib_save_LIBS
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9580 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9581 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9583 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9588 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9589 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9590 $as_echo_n "(cached) " >&6
9592 ac_check_lib_save_LIBS=$LIBS
9593 LIBS="-lxml2 $ac_xml_libs $LIBS"
9594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9595 /* end confdefs.h. */
9597 /* Override any GCC internal prototype to avoid an error.
9598 Use char because int might match the return type of a GCC
9599 builtin and then its argument prototype would still apply. */
9603 char xmlFirstElementChild ();
9607 return xmlFirstElementChild ();
9612 if ac_fn_c_try_link "$LINENO"; then :
9613 ac_cv_lib_xml2_xmlFirstElementChild=yes
9615 ac_cv_lib_xml2_xmlFirstElementChild=no
9617 rm -f core conftest.err conftest.$ac_objext \
9618 conftest$ac_exeext conftest.$ac_ext
9619 LIBS=$ac_check_lib_save_LIBS
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9622 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9623 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9625 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9629 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9631 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9633 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9638 CPPFLAGS="$ac_save_CPPFLAGS"
9640 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9641 case "x$with_xml" in
9642 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9644 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9645 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9649 if test "x$with_xslt" != "xno"
9651 if test "$PKG_CONFIG" != "false"
9653 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9654 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9656 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9657 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9659 ac_save_CPPFLAGS="$CPPFLAGS"
9660 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9661 for ac_header in libxslt/pattern.h libxslt/transform.h
9663 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9664 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9665 # include <libxslt/pattern.h>
9668 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9669 cat >>confdefs.h <<_ACEOF
9670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9677 CPPFLAGS="$ac_save_CPPFLAGS"
9678 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9681 $as_echo_n "checking for -lxslt... " >&6; }
9682 if ${ac_cv_lib_soname_xslt+:} false; then :
9683 $as_echo_n "(cached) " >&6
9685 ac_check_soname_save_LIBS=$LIBS
9686 LIBS="-lxslt $ac_xslt_libs $LIBS"
9687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9696 char xsltCompilePattern ();
9700 return xsltCompilePattern ();
9705 if ac_fn_c_try_link "$LINENO"; then :
9707 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9708 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'` ;;
9709 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9710 if test "x$ac_cv_lib_soname_xslt" = x; then :
9711 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9715 rm -f core conftest.err conftest.$ac_objext \
9716 conftest$ac_exeext conftest.$ac_ext
9717 LIBS=$ac_check_soname_save_LIBS
9719 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9721 $as_echo "not found" >&6; }
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9725 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9727 cat >>confdefs.h <<_ACEOF
9728 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9731 XSLTINCL="$ac_xslt_cflags"
9735 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9736 case "x$with_xslt" in
9737 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9739 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9740 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9744 if test "x$with_dbus" != "xno"
9746 ac_save_CPPFLAGS="$CPPFLAGS"
9747 if test "$PKG_CONFIG" != "false"
9749 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9750 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9751 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9753 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9754 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9756 $as_echo_n "checking for -ldbus-1... " >&6; }
9757 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9758 $as_echo_n "(cached) " >&6
9760 ac_check_soname_save_LIBS=$LIBS
9761 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9765 /* Override any GCC internal prototype to avoid an error.
9766 Use char because int might match the return type of a GCC
9767 builtin and then its argument prototype would still apply. */
9771 char dbus_connection_close ();
9775 return dbus_connection_close ();
9780 if ac_fn_c_try_link "$LINENO"; then :
9782 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9783 dylib) ac_cv_lib_soname_dbus_1=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9784 *) ac_cv_lib_soname_dbus_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9785 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
9786 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9790 rm -f core conftest.err conftest.$ac_objext \
9791 conftest$ac_exeext conftest.$ac_ext
9792 LIBS=$ac_check_soname_save_LIBS
9794 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9796 $as_echo "not found" >&6; }
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9800 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9802 cat >>confdefs.h <<_ACEOF
9803 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9806 DBUSINCL="$ac_dbus_cflags"
9812 CPPFLAGS="$ac_save_CPPFLAGS"
9814 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9815 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9816 case "x$with_dbus" in
9817 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9819 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9820 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9824 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9826 ac_save_CPPFLAGS="$CPPFLAGS"
9827 if test "$PKG_CONFIG" != "false"
9829 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9830 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9831 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9833 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9834 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9836 $as_echo_n "checking for -lhal... " >&6; }
9837 if ${ac_cv_lib_soname_hal+:} false; then :
9838 $as_echo_n "(cached) " >&6
9840 ac_check_soname_save_LIBS=$LIBS
9841 LIBS="-lhal $ac_hal_libs $LIBS"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9845 /* Override any GCC internal prototype to avoid an error.
9846 Use char because int might match the return type of a GCC
9847 builtin and then its argument prototype would still apply. */
9851 char libhal_ctx_new ();
9855 return libhal_ctx_new ();
9860 if ac_fn_c_try_link "$LINENO"; then :
9862 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9863 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'` ;;
9864 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9865 if test "x$ac_cv_lib_soname_hal" = x; then :
9866 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LIBS=$ac_check_soname_save_LIBS
9874 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9876 $as_echo "not found" >&6; }
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9880 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9882 cat >>confdefs.h <<_ACEOF
9883 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9886 HALINCL="$ac_hal_cflags"
9892 CPPFLAGS="$ac_save_CPPFLAGS"
9893 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9894 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9895 case "x$with_hal" in
9896 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9898 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9899 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9904 if test "x$with_gnutls" != "xno"
9906 ac_save_CPPFLAGS="$CPPFLAGS"
9907 if test "$PKG_CONFIG" != "false"
9909 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9910 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9911 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9913 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9914 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 #include <gnutls/gnutls.h>
9921 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9926 if ac_fn_c_try_compile "$LINENO"; then :
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9928 $as_echo_n "checking for -lgnutls... " >&6; }
9929 if ${ac_cv_lib_soname_gnutls+:} false; then :
9930 $as_echo_n "(cached) " >&6
9932 ac_check_soname_save_LIBS=$LIBS
9933 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9943 char gnutls_global_init ();
9947 return gnutls_global_init ();
9952 if ac_fn_c_try_link "$LINENO"; then :
9954 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9955 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'` ;;
9956 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9957 if test "x$ac_cv_lib_soname_gnutls" = x; then :
9958 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9962 rm -f core conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_soname_save_LIBS
9966 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9968 $as_echo "not found" >&6; }
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9972 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9974 cat >>confdefs.h <<_ACEOF
9975 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9978 GNUTLSINCL="$ac_gnutls_cflags"
9982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9986 CPPFLAGS="$ac_save_CPPFLAGS"
9988 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9989 case "x$with_gnutls" in
9990 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9992 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9993 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9998 if test "$ac_cv_header_ncurses_h" = "yes"
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10001 $as_echo_n "checking for -lncurses... " >&6; }
10002 if ${ac_cv_lib_soname_ncurses+:} false; then :
10003 $as_echo_n "(cached) " >&6
10005 ac_check_soname_save_LIBS=$LIBS
10006 LIBS="-lncurses $LIBS"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10010 /* Override any GCC internal prototype to avoid an error.
10011 Use char because int might match the return type of a GCC
10012 builtin and then its argument prototype would still apply. */
10025 if ac_fn_c_try_link "$LINENO"; then :
10027 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10028 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'` ;;
10029 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10030 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10031 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10035 rm -f core conftest.err conftest.$ac_objext \
10036 conftest$ac_exeext conftest.$ac_ext
10037 LIBS=$ac_check_soname_save_LIBS
10039 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10041 $as_echo "not found" >&6; }
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10045 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10047 cat >>confdefs.h <<_ACEOF
10048 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10051 CURSESLIBS="-lncurses"
10053 elif test "$ac_cv_header_curses_h" = "yes"
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10056 $as_echo_n "checking for -lcurses... " >&6; }
10057 if ${ac_cv_lib_soname_curses+:} false; then :
10058 $as_echo_n "(cached) " >&6
10060 ac_check_soname_save_LIBS=$LIBS
10061 LIBS="-lcurses $LIBS"
10062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10063 /* end confdefs.h. */
10065 /* Override any GCC internal prototype to avoid an error.
10066 Use char because int might match the return type of a GCC
10067 builtin and then its argument prototype would still apply. */
10080 if ac_fn_c_try_link "$LINENO"; then :
10082 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10083 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'` ;;
10084 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10085 if test "x$ac_cv_lib_soname_curses" = x; then :
10086 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10090 rm -f core conftest.err conftest.$ac_objext \
10091 conftest$ac_exeext conftest.$ac_ext
10092 LIBS=$ac_check_soname_save_LIBS
10094 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10096 $as_echo "not found" >&6; }
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10100 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10102 cat >>confdefs.h <<_ACEOF
10103 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10106 CURSESLIBS="-lcurses"
10109 ac_save_LIBS="$LIBS"
10110 LIBS="$LIBS $CURSESLIBS"
10111 for ac_func in mousemask
10113 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10114 if test "x$ac_cv_func_mousemask" = xyes; then :
10115 cat >>confdefs.h <<_ACEOF
10116 #define HAVE_MOUSEMASK 1
10122 LIBS="$ac_save_LIBS"
10123 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10124 case "x$with_curses" in
10125 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10127 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10128 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10132 if test "x$with_sane" != "xno"
10134 ac_save_CPPFLAGS="$CPPFLAGS"
10135 # Extract the first word of "sane-config", so it can be a program name with args.
10136 set dummy sane-config; ac_word=$2
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10138 $as_echo_n "checking for $ac_word... " >&6; }
10139 if ${ac_cv_prog_sane_devel+:} false; then :
10140 $as_echo_n "(cached) " >&6
10142 if test -n "$sane_devel"; then
10143 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10146 for as_dir in $PATH
10149 test -z "$as_dir" && as_dir=.
10150 for ac_exec_ext in '' $ac_executable_extensions; do
10151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10152 ac_cv_prog_sane_devel="sane-config"
10153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10160 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10163 sane_devel=$ac_cv_prog_sane_devel
10164 if test -n "$sane_devel"; then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10166 $as_echo "$sane_devel" >&6; }
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10169 $as_echo "no" >&6; }
10173 if test "$sane_devel" != "no"
10175 ac_sane_incl="`$sane_devel --cflags`"
10176 ac_sane_libs="`$sane_devel --ldflags`"
10177 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
10179 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10180 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10182 $as_echo_n "checking for -lsane... " >&6; }
10183 if ${ac_cv_lib_soname_sane+:} false; then :
10184 $as_echo_n "(cached) " >&6
10186 ac_check_soname_save_LIBS=$LIBS
10187 LIBS="-lsane $ac_sane_libs $LIBS"
10188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10189 /* end confdefs.h. */
10191 /* Override any GCC internal prototype to avoid an error.
10192 Use char because int might match the return type of a GCC
10193 builtin and then its argument prototype would still apply. */
10201 return sane_init ();
10206 if ac_fn_c_try_link "$LINENO"; then :
10208 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10209 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'` ;;
10210 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10211 if test "x$ac_cv_lib_soname_sane" = x; then :
10212 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10216 rm -f core conftest.err conftest.$ac_objext \
10217 conftest$ac_exeext conftest.$ac_ext
10218 LIBS=$ac_check_soname_save_LIBS
10220 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10222 $as_echo "not found" >&6; }
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10226 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10228 cat >>confdefs.h <<_ACEOF
10229 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10232 SANEINCL="$ac_sane_incl"
10238 CPPFLAGS="$ac_save_CPPFLAGS"
10240 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10241 case "x$with_sane" in
10242 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10244 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10245 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10249 if test "x$with_v4l" != "xno"
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10252 $as_echo_n "checking for -lv4l1... " >&6; }
10253 if ${ac_cv_lib_soname_v4l1+:} false; then :
10254 $as_echo_n "(cached) " >&6
10256 ac_check_soname_save_LIBS=$LIBS
10257 LIBS="-lv4l1 $LIBS"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10261 /* Override any GCC internal prototype to avoid an error.
10262 Use char because int might match the return type of a GCC
10263 builtin and then its argument prototype would still apply. */
10271 return v4l1_open ();
10276 if ac_fn_c_try_link "$LINENO"; then :
10278 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10279 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'` ;;
10280 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10281 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10282 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10286 rm -f core conftest.err conftest.$ac_objext \
10287 conftest$ac_exeext conftest.$ac_ext
10288 LIBS=$ac_check_soname_save_LIBS
10290 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10292 $as_echo "not found" >&6; }
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10296 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10298 cat >>confdefs.h <<_ACEOF
10299 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10305 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10306 case "x$with_v4l" in
10307 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10309 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10310 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10314 if test "x$with_gphoto" != "xno"
10316 ac_save_CPPFLAGS="$CPPFLAGS"
10317 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10318 set dummy gphoto2-config; ac_word=$2
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10320 $as_echo_n "checking for $ac_word... " >&6; }
10321 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10322 $as_echo_n "(cached) " >&6
10324 if test -n "$gphoto2_devel"; then
10325 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10328 for as_dir in $PATH
10331 test -z "$as_dir" && as_dir=.
10332 for ac_exec_ext in '' $ac_executable_extensions; do
10333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10334 ac_cv_prog_gphoto2_devel="gphoto2-config"
10335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10342 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10345 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10346 if test -n "$gphoto2_devel"; then
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10348 $as_echo "$gphoto2_devel" >&6; }
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10351 $as_echo "no" >&6; }
10355 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10356 set dummy gphoto2-port-config; ac_word=$2
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10358 $as_echo_n "checking for $ac_word... " >&6; }
10359 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10360 $as_echo_n "(cached) " >&6
10362 if test -n "$gphoto2port_devel"; then
10363 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10369 test -z "$as_dir" && as_dir=.
10370 for ac_exec_ext in '' $ac_executable_extensions; do
10371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10372 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10380 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10383 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10384 if test -n "$gphoto2port_devel"; then
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10386 $as_echo "$gphoto2port_devel" >&6; }
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10389 $as_echo "no" >&6; }
10393 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10395 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10397 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10400 -L/usr/lib|-L/usr/lib64) ;;
10401 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10404 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10406 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10407 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10408 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10410 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10411 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10412 $as_echo_n "(cached) " >&6
10414 ac_check_lib_save_LIBS=$LIBS
10415 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10419 /* Override any GCC internal prototype to avoid an error.
10420 Use char because int might match the return type of a GCC
10421 builtin and then its argument prototype would still apply. */
10425 char gp_camera_new ();
10429 return gp_camera_new ();
10434 if ac_fn_c_try_link "$LINENO"; then :
10435 ac_cv_lib_gphoto2_gp_camera_new=yes
10437 ac_cv_lib_gphoto2_gp_camera_new=no
10439 rm -f core conftest.err conftest.$ac_objext \
10440 conftest$ac_exeext conftest.$ac_ext
10441 LIBS=$ac_check_lib_save_LIBS
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10444 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10445 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10447 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10449 GPHOTO2LIBS="$ac_gphoto2_libs"
10451 GPHOTO2INCL="$ac_gphoto2_incl"
10458 CPPFLAGS="$ac_save_CPPFLAGS"
10460 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10461 case "x$with_gphoto" in
10462 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10464 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10465 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10470 if test "$ac_cv_header_resolv_h" = "yes"
10472 ac_save_LIBS="$LIBS"
10473 for lib in '' -lresolv
10475 LIBS="$lib $ac_save_LIBS"
10476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10478 #ifdef HAVE_NETINET_IN_H
10479 #include <netinet/in.h>
10481 #include <resolv.h>
10485 res_query("foo",ns_c_in,0,0,0);
10490 if ac_fn_c_try_link "$LINENO"; then :
10492 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10497 rm -f core conftest.err conftest.$ac_objext \
10498 conftest$ac_exeext conftest.$ac_ext
10499 if test "${RESOLVLIBS+set}" = set; then
10503 LIBS="$ac_save_LIBS"
10508 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10511 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10512 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10513 $as_echo_n "(cached) " >&6
10515 ac_check_lib_save_LIBS=$LIBS
10516 LIBS="-llcms $LIBS"
10517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10518 /* end confdefs.h. */
10520 /* Override any GCC internal prototype to avoid an error.
10521 Use char because int might match the return type of a GCC
10522 builtin and then its argument prototype would still apply. */
10526 char cmsOpenProfileFromFile ();
10530 return cmsOpenProfileFromFile ();
10535 if ac_fn_c_try_link "$LINENO"; then :
10536 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10538 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10540 rm -f core conftest.err conftest.$ac_objext \
10541 conftest$ac_exeext conftest.$ac_ext
10542 LIBS=$ac_check_lib_save_LIBS
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10545 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10546 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10548 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10554 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10555 case "x$with_cms" in
10556 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10558 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10559 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10563 if test "x$with_freetype" != "xno"
10565 if test "$PKG_CONFIG" != "false"
10567 ac_freetype_incl="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10568 ac_freetype_libs="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10570 for ac_prog in freetype-config freetype2-config
10572 # Extract the first word of "$ac_prog", so it can be a program name with args.
10573 set dummy $ac_prog; ac_word=$2
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10575 $as_echo_n "checking for $ac_word... " >&6; }
10576 if ${ac_cv_prog_ft_devel+:} false; then :
10577 $as_echo_n "(cached) " >&6
10579 if test -n "$ft_devel"; then
10580 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10583 for as_dir in $PATH
10586 test -z "$as_dir" && as_dir=.
10587 for ac_exec_ext in '' $ac_executable_extensions; do
10588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10589 ac_cv_prog_ft_devel="$ac_prog"
10590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10599 ft_devel=$ac_cv_prog_ft_devel
10600 if test -n "$ft_devel"; then
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10602 $as_echo "$ft_devel" >&6; }
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10605 $as_echo "no" >&6; }
10609 test -n "$ft_devel" && break
10611 test -n "$ft_devel" || ft_devel="no"
10613 if test "$ft_devel" != "no"
10615 ac_freetype_incl=`$ft_devel --cflags`
10616 ac_freetype_libs=`$ft_devel --libs`
10619 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10621 $as_echo_n "checking for -lfreetype... " >&6; }
10622 if ${ac_cv_lib_soname_freetype+:} false; then :
10623 $as_echo_n "(cached) " >&6
10625 ac_check_soname_save_LIBS=$LIBS
10626 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10628 /* end confdefs.h. */
10630 /* Override any GCC internal prototype to avoid an error.
10631 Use char because int might match the return type of a GCC
10632 builtin and then its argument prototype would still apply. */
10636 char FT_Init_FreeType ();
10640 return FT_Init_FreeType ();
10645 if ac_fn_c_try_link "$LINENO"; then :
10647 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10648 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'` ;;
10649 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10650 if test "x$ac_cv_lib_soname_freetype" = x; then :
10651 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10655 rm -f core conftest.err conftest.$ac_objext \
10656 conftest$ac_exeext conftest.$ac_ext
10657 LIBS=$ac_check_soname_save_LIBS
10659 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10661 $as_echo "not found" >&6; }
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10665 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10667 cat >>confdefs.h <<_ACEOF
10668 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10673 if test "$ft_lib" = "yes"
10675 ac_save_CPPFLAGS="$CPPFLAGS"
10676 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10677 for ac_header in ft2build.h \
10678 freetype/freetype.h \
10679 freetype/ftglyph.h \
10680 freetype/fttypes.h \
10681 freetype/tttables.h \
10682 freetype/ftsnames.h \
10683 freetype/ttnameid.h \
10684 freetype/ftoutln.h \
10685 freetype/ftwinfnt.h \
10686 freetype/ftmodapi.h \
10687 freetype/ftlcdfil.h
10689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10690 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10691 # include <ft2build.h>
10694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10695 cat >>confdefs.h <<_ACEOF
10696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10704 /* end confdefs.h. */
10705 #include <ft2build.h>
10706 #include <freetype/fttrigon.h>
10708 if ac_fn_c_try_cpp "$LINENO"; then :
10710 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10712 wine_cv_fttrigon=yes
10714 wine_cv_fttrigon=no
10716 rm -f conftest.err conftest.i conftest.$ac_ext
10717 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10719 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10721 cat >>confdefs.h <<_ACEOF
10722 #define HAVE_FT_TRUETYPEENGINETYPE 1
10728 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10731 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10733 FREETYPELIBS="$ac_freetype_libs"
10735 FREETYPEINCL="$ac_freetype_incl"
10740 if test "x$FREETYPELIBS" = "x"; then :
10741 case "x$with_freetype" in
10743 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10744 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10747 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10750 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10751 if ${ac_cv_c_ppdev+:} false; then :
10752 $as_echo_n "(cached) " >&6
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10756 #ifdef HAVE_SYS_IOCTL_H
10757 # include <sys/ioctl.h>
10759 #include <linux/ppdev.h>
10763 ioctl (1,PPCLAIM,0)
10768 if ac_fn_c_try_compile "$LINENO"; then :
10769 ac_cv_c_ppdev="yes"
10773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10776 $as_echo "$ac_cv_c_ppdev" >&6; }
10777 if test "$ac_cv_c_ppdev" = "yes"
10780 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10784 ac_wine_check_funcs_save_LIBS="$LIBS"
10785 LIBS="$LIBS $LIBPTHREAD"
10787 pthread_attr_get_np \
10788 pthread_getattr_np \
10789 pthread_getthreadid_np \
10790 pthread_get_stackaddr_np \
10791 pthread_get_stacksize_np
10793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10795 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10796 cat >>confdefs.h <<_ACEOF
10797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10803 LIBS="$ac_wine_check_funcs_save_LIBS"
10805 if test "$ac_cv_header_zlib_h" = "yes"
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10808 $as_echo_n "checking for inflate in -lz... " >&6; }
10809 if ${ac_cv_lib_z_inflate+:} false; then :
10810 $as_echo_n "(cached) " >&6
10812 ac_check_lib_save_LIBS=$LIBS
10814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10815 /* end confdefs.h. */
10817 /* Override any GCC internal prototype to avoid an error.
10818 Use char because int might match the return type of a GCC
10819 builtin and then its argument prototype would still apply. */
10832 if ac_fn_c_try_link "$LINENO"; then :
10833 ac_cv_lib_z_inflate=yes
10835 ac_cv_lib_z_inflate=no
10837 rm -f core conftest.err conftest.$ac_objext \
10838 conftest$ac_exeext conftest.$ac_ext
10839 LIBS=$ac_check_lib_save_LIBS
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10842 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10843 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10845 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10852 if test "x$ZLIB" = "x"; then :
10853 case "x$with_zlib" in
10854 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10856 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10857 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10861 if test "x$enable_tools" != xno
10863 if test "$ac_cv_header_gettext_po_h" = "yes"
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10866 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10867 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10868 $as_echo_n "(cached) " >&6
10870 ac_check_lib_save_LIBS=$LIBS
10871 LIBS="-lgettextpo $LIBS"
10872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10881 char po_message_msgctxt ();
10885 return po_message_msgctxt ();
10890 if ac_fn_c_try_link "$LINENO"; then :
10891 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10893 ac_cv_lib_gettextpo_po_message_msgctxt=no
10895 rm -f core conftest.err conftest.$ac_objext \
10896 conftest$ac_exeext conftest.$ac_ext
10897 LIBS=$ac_check_lib_save_LIBS
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10900 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10901 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10903 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10905 LIBGETTEXTPO="-lgettextpo"
10910 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10911 case "x$with_gettextpo" in
10912 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10914 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10915 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10920 if test "x$with_gstreamer" != "xno"
10922 ac_save_CPPFLAGS="$CPPFLAGS"
10923 if test "$PKG_CONFIG" != "false"; then
10925 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10928 -I*) ac_gst_incl="$ac_gst_incl $i";;
10931 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10932 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10933 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10934 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10935 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10936 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10938 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10940 /* end confdefs.h. */
10941 #include <gst/app/gstappsink.h>
10945 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10950 if ac_fn_c_try_compile "$LINENO"; then :
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10952 $as_echo "yes" >&6; }
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10954 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10955 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10956 $as_echo_n "(cached) " >&6
10958 ac_check_lib_save_LIBS=$LIBS
10959 LIBS="-lgstreamer-0.10 $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10969 char gst_pad_get_caps_reffed ();
10973 return gst_pad_get_caps_reffed ();
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10981 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10983 rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10988 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10989 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10991 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10992 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10993 $as_echo_n "(cached) " >&6
10995 ac_check_lib_save_LIBS=$LIBS
10996 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
11000 /* Override any GCC internal prototype to avoid an error.
11001 Use char because int might match the return type of a GCC
11002 builtin and then its argument prototype would still apply. */
11006 char gst_app_buffer_new ();
11010 return gst_app_buffer_new ();
11015 if ac_fn_c_try_link "$LINENO"; then :
11016 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11018 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11020 rm -f core conftest.err conftest.$ac_objext \
11021 conftest$ac_exeext conftest.$ac_ext
11022 LIBS=$ac_check_lib_save_LIBS
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11025 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11026 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11027 GSTREAMER_LIBS="$ac_gst_libs"
11029 GSTREAMER_INCL="$ac_gst_incl"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11037 $as_echo "no" >&6; }
11039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11047 CPPFLAGS="$ac_save_CPPFLAGS"
11049 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11050 case "x$with_gstreamer" in
11051 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11053 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11054 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11057 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11061 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11064 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11065 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11066 $as_echo_n "(cached) " >&6
11068 ac_check_lib_save_LIBS=$LIBS
11069 LIBS="-lasound $LIBS"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11073 /* Override any GCC internal prototype to avoid an error.
11074 Use char because int might match the return type of a GCC
11075 builtin and then its argument prototype would still apply. */
11079 char snd_pcm_hw_params_get_access_mask ();
11083 return snd_pcm_hw_params_get_access_mask ();
11088 if ac_fn_c_try_link "$LINENO"; then :
11089 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11091 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11093 rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095 LIBS=$ac_check_lib_save_LIBS
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11098 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11099 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11102 #ifdef HAVE_ALSA_ASOUNDLIB_H
11103 #include <alsa/asoundlib.h>
11104 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11105 #include <sys/asoundlib.h>
11110 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11115 if ac_fn_c_try_compile "$LINENO"; then :
11116 ALSALIBS="-lasound"
11118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11123 if test "x$with_oss" != xno
11125 ac_save_CPPFLAGS="$CPPFLAGS"
11126 if test -f /etc/oss.conf
11130 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11131 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11132 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11133 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11134 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11136 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11138 cat >>confdefs.h <<_ACEOF
11139 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11142 OSS4INCL="$ac_oss_incl"
11149 CPPFLAGS="$ac_save_CPPFLAGS"
11150 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11152 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11157 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11160 $as_echo_n "checking for -lcapi20... " >&6; }
11161 if ${ac_cv_lib_soname_capi20+:} false; then :
11162 $as_echo_n "(cached) " >&6
11164 ac_check_soname_save_LIBS=$LIBS
11165 LIBS="-lcapi20 $LIBS"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11175 char capi20_register ();
11179 return capi20_register ();
11184 if ac_fn_c_try_link "$LINENO"; then :
11186 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11187 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'` ;;
11188 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11189 if test "x$ac_cv_lib_soname_capi20" = x; then :
11190 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11194 rm -f core conftest.err conftest.$ac_objext \
11195 conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_soname_save_LIBS
11198 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11200 $as_echo "not found" >&6; }
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11204 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11206 cat >>confdefs.h <<_ACEOF
11207 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11213 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11214 case "x$with_capi" in
11215 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11217 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11218 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11224 if test "x$with_cups" != "xno"
11226 ac_save_CPPFLAGS="$CPPFLAGS"
11227 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11228 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11229 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11230 for ac_header in cups/cups.h
11232 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11233 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11234 cat >>confdefs.h <<_ACEOF
11235 #define HAVE_CUPS_CUPS_H 1
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11238 $as_echo_n "checking for -lcups... " >&6; }
11239 if ${ac_cv_lib_soname_cups+:} false; then :
11240 $as_echo_n "(cached) " >&6
11242 ac_check_soname_save_LIBS=$LIBS
11243 LIBS="-lcups $ac_cups_libs $LIBS"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11253 char cupsGetDefault ();
11257 return cupsGetDefault ();
11262 if ac_fn_c_try_link "$LINENO"; then :
11264 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11265 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'` ;;
11266 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11267 if test "x$ac_cv_lib_soname_cups" = x; then :
11268 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11272 rm -f core conftest.err conftest.$ac_objext \
11273 conftest$ac_exeext conftest.$ac_ext
11274 LIBS=$ac_check_soname_save_LIBS
11276 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11278 $as_echo "not found" >&6; }
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11282 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11284 cat >>confdefs.h <<_ACEOF
11285 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11288 CUPSINCL="$ac_cups_cflags"
11294 CPPFLAGS="$ac_save_CPPFLAGS"
11296 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11297 case "x$with_cups" in
11298 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11300 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11301 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11305 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11308 $as_echo_n "checking for -lfontconfig... " >&6; }
11309 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11310 $as_echo_n "(cached) " >&6
11312 ac_check_soname_save_LIBS=$LIBS
11313 LIBS="-lfontconfig $LIBS"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11332 if ac_fn_c_try_link "$LINENO"; then :
11334 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11335 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'` ;;
11336 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11337 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11338 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11342 rm -f core conftest.err conftest.$ac_objext \
11343 conftest$ac_exeext conftest.$ac_ext
11344 LIBS=$ac_check_soname_save_LIBS
11346 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11348 $as_echo "not found" >&6; }
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11352 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11354 cat >>confdefs.h <<_ACEOF
11355 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11360 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11362 ac_save_CPPFLAGS="$CPPFLAGS"
11363 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11364 $as_unset ac_cv_header_fontconfig_fontconfig_h
11365 for ac_header in fontconfig/fontconfig.h
11367 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11368 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11369 cat >>confdefs.h <<_ACEOF
11370 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11377 CPPFLAGS="$ac_save_CPPFLAGS"
11378 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11380 FONTCONFIGINCL="$X_CFLAGS"
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11383 $as_echo_n "checking for -lfontconfig... " >&6; }
11384 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11385 $as_echo_n "(cached) " >&6
11387 ac_check_soname_save_LIBS=$LIBS
11388 LIBS="-lfontconfig $X_LIBS $LIBS"
11389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11390 /* end confdefs.h. */
11392 /* Override any GCC internal prototype to avoid an error.
11393 Use char because int might match the return type of a GCC
11394 builtin and then its argument prototype would still apply. */
11407 if ac_fn_c_try_link "$LINENO"; then :
11409 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11410 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'` ;;
11411 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11412 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11413 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11417 rm -f core conftest.err conftest.$ac_objext \
11418 conftest$ac_exeext conftest.$ac_ext
11419 LIBS=$ac_check_soname_save_LIBS
11421 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11423 $as_echo "not found" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11427 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11429 cat >>confdefs.h <<_ACEOF
11430 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11437 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11438 case "x$with_fontconfig" in
11439 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11441 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11442 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11446 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11449 $as_echo_n "checking for -lssl... " >&6; }
11450 if ${ac_cv_lib_soname_ssl+:} false; then :
11451 $as_echo_n "(cached) " >&6
11453 ac_check_soname_save_LIBS=$LIBS
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11464 char SSL_library_init ();
11468 return SSL_library_init ();
11473 if ac_fn_c_try_link "$LINENO"; then :
11475 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11476 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'` ;;
11477 *) ac_cv_lib_soname_ssl=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libssl\\.$LIBEXT" | sed -e "s/^.*\\[\\(libssl\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11478 if test "x$ac_cv_lib_soname_ssl" = x; then :
11479 ac_cv_lib_soname_ssl=`$LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11483 rm -f core conftest.err conftest.$ac_objext \
11484 conftest$ac_exeext conftest.$ac_ext
11485 LIBS=$ac_check_soname_save_LIBS
11487 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11489 $as_echo "not found" >&6; }
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11493 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11495 cat >>confdefs.h <<_ACEOF
11496 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11502 $as_echo_n "checking for -lcrypto... " >&6; }
11503 if ${ac_cv_lib_soname_crypto+:} false; then :
11504 $as_echo_n "(cached) " >&6
11506 ac_check_soname_save_LIBS=$LIBS
11507 LIBS="-lcrypto $LIBS"
11508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11509 /* end confdefs.h. */
11511 /* Override any GCC internal prototype to avoid an error.
11512 Use char because int might match the return type of a GCC
11513 builtin and then its argument prototype would still apply. */
11517 char BIO_new_socket ();
11521 return BIO_new_socket ();
11526 if ac_fn_c_try_link "$LINENO"; then :
11528 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11529 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'` ;;
11530 *) ac_cv_lib_soname_crypto=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcrypto\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcrypto\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11531 if test "x$ac_cv_lib_soname_crypto" = x; then :
11532 ac_cv_lib_soname_crypto=`$LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11536 rm -f core conftest.err conftest.$ac_objext \
11537 conftest$ac_exeext conftest.$ac_ext
11538 LIBS=$ac_check_soname_save_LIBS
11540 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11542 $as_echo "not found" >&6; }
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11546 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11548 cat >>confdefs.h <<_ACEOF
11549 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11555 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11556 case "x$with_openssl" in
11557 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11559 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11560 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11564 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11567 $as_echo_n "checking for -lgsm... " >&6; }
11568 if ${ac_cv_lib_soname_gsm+:} false; then :
11569 $as_echo_n "(cached) " >&6
11571 ac_check_soname_save_LIBS=$LIBS
11573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11574 /* end confdefs.h. */
11576 /* Override any GCC internal prototype to avoid an error.
11577 Use char because int might match the return type of a GCC
11578 builtin and then its argument prototype would still apply. */
11582 char gsm_create ();
11586 return gsm_create ();
11591 if ac_fn_c_try_link "$LINENO"; then :
11593 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11594 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'` ;;
11595 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11596 if test "x$ac_cv_lib_soname_gsm" = x; then :
11597 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$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_gsm" = "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_gsm" >&5
11611 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11613 cat >>confdefs.h <<_ACEOF
11614 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11620 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11621 case "x$with_gsm" in
11622 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11624 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11625 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11629 if test "$ac_cv_header_jpeglib_h" = "yes"
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11632 $as_echo_n "checking for -ljpeg... " >&6; }
11633 if ${ac_cv_lib_soname_jpeg+:} false; then :
11634 $as_echo_n "(cached) " >&6
11636 ac_check_soname_save_LIBS=$LIBS
11637 LIBS="-ljpeg $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 jpeg_start_decompress ();
11651 return jpeg_start_decompress ();
11656 if ac_fn_c_try_link "$LINENO"; then :
11658 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11659 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'` ;;
11660 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11661 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11662 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11666 rm -f core conftest.err conftest.$ac_objext \
11667 conftest$ac_exeext conftest.$ac_ext
11668 LIBS=$ac_check_soname_save_LIBS
11670 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11672 $as_echo "not found" >&6; }
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11676 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11678 cat >>confdefs.h <<_ACEOF
11679 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11685 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11686 case "x$with_jpeg" in
11687 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11689 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11690 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11694 if test "$ac_cv_header_png_h" = "yes"
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11697 $as_echo_n "checking for -lpng... " >&6; }
11698 if ${ac_cv_lib_soname_png+:} false; then :
11699 $as_echo_n "(cached) " >&6
11701 ac_check_soname_save_LIBS=$LIBS
11702 LIBS="-lpng -lm -lz $LIBS"
11703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11706 /* Override any GCC internal prototype to avoid an error.
11707 Use char because int might match the return type of a GCC
11708 builtin and then its argument prototype would still apply. */
11712 char png_create_read_struct ();
11716 return png_create_read_struct ();
11721 if ac_fn_c_try_link "$LINENO"; then :
11723 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11724 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'` ;;
11725 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11726 if test "x$ac_cv_lib_soname_png" = x; then :
11727 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11731 rm -f core conftest.err conftest.$ac_objext \
11732 conftest$ac_exeext conftest.$ac_ext
11733 LIBS=$ac_check_soname_save_LIBS
11735 if test "x$ac_cv_lib_soname_png" = "x"; then :
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11737 $as_echo "not found" >&6; }
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11741 $as_echo "$ac_cv_lib_soname_png" >&6; }
11743 cat >>confdefs.h <<_ACEOF
11744 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11750 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11751 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11752 $as_echo_n "(cached) " >&6
11754 ac_check_lib_save_LIBS=$LIBS
11755 LIBS="-lpng -lm -lz $LIBS"
11756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11759 /* Override any GCC internal prototype to avoid an error.
11760 Use char because int might match the return type of a GCC
11761 builtin and then its argument prototype would still apply. */
11765 char png_set_expand_gray_1_2_4_to_8 ();
11769 return png_set_expand_gray_1_2_4_to_8 ();
11774 if ac_fn_c_try_link "$LINENO"; then :
11775 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11777 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11779 rm -f core conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 LIBS=$ac_check_lib_save_LIBS
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11784 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11785 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11787 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11792 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11794 ac_save_CPPFLAGS="$CPPFLAGS"
11795 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11796 $as_unset ac_cv_header_png_h
11797 for ac_header in png.h
11799 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11800 if test "x$ac_cv_header_png_h" = xyes; then :
11801 cat >>confdefs.h <<_ACEOF
11802 #define HAVE_PNG_H 1
11809 CPPFLAGS="$ac_save_CPPFLAGS"
11810 if test "$ac_cv_header_png_h" = "yes"
11812 PNGINCL="$X_CFLAGS"
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11815 $as_echo_n "checking for -lpng... " >&6; }
11816 if ${ac_cv_lib_soname_png+:} false; then :
11817 $as_echo_n "(cached) " >&6
11819 ac_check_soname_save_LIBS=$LIBS
11820 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11822 /* end confdefs.h. */
11824 /* Override any GCC internal prototype to avoid an error.
11825 Use char because int might match the return type of a GCC
11826 builtin and then its argument prototype would still apply. */
11830 char png_create_read_struct ();
11834 return png_create_read_struct ();
11839 if ac_fn_c_try_link "$LINENO"; then :
11841 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11842 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'` ;;
11843 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11844 if test "x$ac_cv_lib_soname_png" = x; then :
11845 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11849 rm -f core conftest.err conftest.$ac_objext \
11850 conftest$ac_exeext conftest.$ac_ext
11851 LIBS=$ac_check_soname_save_LIBS
11853 if test "x$ac_cv_lib_soname_png" = "x"; then :
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11855 $as_echo "not found" >&6; }
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11859 $as_echo "$ac_cv_lib_soname_png" >&6; }
11861 cat >>confdefs.h <<_ACEOF
11862 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11868 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11869 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11870 $as_echo_n "(cached) " >&6
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11883 char png_set_expand_gray_1_2_4_to_8 ();
11887 return png_set_expand_gray_1_2_4_to_8 ();
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11895 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11902 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11903 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11904 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11910 if test "x$ac_cv_lib_soname_png" = "x"; then :
11911 case "x$with_png" in
11912 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11914 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11915 This is an error since --with-png was requested." "$LINENO" 5 ;;
11919 if test "$ac_cv_header_tiffio_h" = "yes"
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11922 $as_echo_n "checking for -ltiff... " >&6; }
11923 if ${ac_cv_lib_soname_tiff+:} false; then :
11924 $as_echo_n "(cached) " >&6
11926 ac_check_soname_save_LIBS=$LIBS
11927 LIBS="-ltiff $LIBS"
11928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11937 char TIFFClientOpen ();
11941 return TIFFClientOpen ();
11946 if ac_fn_c_try_link "$LINENO"; then :
11948 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11949 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'` ;;
11950 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11951 if test "x$ac_cv_lib_soname_tiff" = x; then :
11952 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11956 rm -f core conftest.err conftest.$ac_objext \
11957 conftest$ac_exeext conftest.$ac_ext
11958 LIBS=$ac_check_soname_save_LIBS
11960 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11962 $as_echo "not found" >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11966 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11968 cat >>confdefs.h <<_ACEOF
11969 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11975 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11976 case "x$with_tiff" in
11977 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11979 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11980 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11984 if test "$ac_cv_header_mpg123_h" = "yes"
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11987 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11988 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11989 $as_echo_n "(cached) " >&6
11991 ac_check_lib_save_LIBS=$LIBS
11992 LIBS="-lmpg123 $LIBS"
11993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11994 /* end confdefs.h. */
11996 /* Override any GCC internal prototype to avoid an error.
11997 Use char because int might match the return type of a GCC
11998 builtin and then its argument prototype would still apply. */
12002 char mpg123_feed ();
12006 return mpg123_feed ();
12011 if ac_fn_c_try_link "$LINENO"; then :
12012 ac_cv_lib_mpg123_mpg123_feed=yes
12014 ac_cv_lib_mpg123_mpg123_feed=no
12016 rm -f core conftest.err conftest.$ac_objext \
12017 conftest$ac_exeext conftest.$ac_ext
12018 LIBS=$ac_check_lib_save_LIBS
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12021 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12022 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12023 LIBMPG123="-lmpg123"
12028 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12029 case "x$with_mpg123" in
12030 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12032 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12033 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12036 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}
12038 if test "$ac_cv_header_AL_al_h" = "yes"
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12041 $as_echo_n "checking for -lopenal... " >&6; }
12042 if ${ac_cv_lib_soname_openal+:} false; then :
12043 $as_echo_n "(cached) " >&6
12045 ac_check_soname_save_LIBS=$LIBS
12046 LIBS="-lopenal $LIBS"
12047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12050 /* Override any GCC internal prototype to avoid an error.
12051 Use char because int might match the return type of a GCC
12052 builtin and then its argument prototype would still apply. */
12056 char alGetSource3i ();
12060 return alGetSource3i ();
12065 if ac_fn_c_try_link "$LINENO"; then :
12067 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12068 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'` ;;
12069 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12070 if test "x$ac_cv_lib_soname_openal" = x; then :
12071 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12075 rm -f core conftest.err conftest.$ac_objext \
12076 conftest$ac_exeext conftest.$ac_ext
12077 LIBS=$ac_check_soname_save_LIBS
12079 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12081 $as_echo "not found" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12085 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12087 cat >>confdefs.h <<_ACEOF
12088 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12091 LIBOPENAL="-lopenal"
12093 ac_cv_lib_openal=yes
12095 cat >>confdefs.h <<_ACEOF
12096 #define HAVE_OPENAL 1
12101 if test "x$ac_cv_lib_openal" != xyes; then :
12102 case "x$with_openal" in
12103 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12105 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12106 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12109 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12111 if test "$ac_cv_header_kstat_h" = "yes"
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12114 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12115 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12116 $as_echo_n "(cached) " >&6
12118 ac_check_lib_save_LIBS=$LIBS
12119 LIBS="-lkstat $LIBS"
12120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12121 /* end confdefs.h. */
12123 /* Override any GCC internal prototype to avoid an error.
12124 Use char because int might match the return type of a GCC
12125 builtin and then its argument prototype would still apply. */
12129 char kstat_open ();
12133 return kstat_open ();
12138 if ac_fn_c_try_link "$LINENO"; then :
12139 ac_cv_lib_kstat_kstat_open=yes
12141 ac_cv_lib_kstat_kstat_open=no
12143 rm -f core conftest.err conftest.$ac_objext \
12144 conftest$ac_exeext conftest.$ac_ext
12145 LIBS=$ac_check_lib_save_LIBS
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12148 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12149 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12151 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12160 $as_echo_n "checking for -lodbc... " >&6; }
12161 if ${ac_cv_lib_soname_odbc+:} false; then :
12162 $as_echo_n "(cached) " >&6
12164 ac_check_soname_save_LIBS=$LIBS
12165 LIBS="-lodbc $LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12175 char SQLConnect ();
12179 return SQLConnect ();
12184 if ac_fn_c_try_link "$LINENO"; then :
12186 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12187 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'` ;;
12188 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12189 if test "x$ac_cv_lib_soname_odbc" = x; then :
12190 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12194 rm -f core conftest.err conftest.$ac_objext \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_soname_save_LIBS
12198 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12200 $as_echo "not found" >&6; }
12201 cat >>confdefs.h <<_ACEOF
12202 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12207 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12209 cat >>confdefs.h <<_ACEOF
12210 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12216 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12217 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12218 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12219 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12221 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12222 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12223 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12225 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12231 if test "x${GCC}" = "xyes"
12233 EXTRACFLAGS="-Wall -pipe"
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12236 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12237 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12238 $as_echo_n "(cached) " >&6
12240 if test "$cross_compiling" = yes; then :
12241 ac_cv_c_gcc_strength_bug="yes"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12245 int L[4] = {0,1,2,3};
12249 static int Array[3];
12250 unsigned int B = 3;
12252 for(i=0; i<B; i++) Array[i] = i - 3;
12253 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12255 return (Array[1] != -2 || L[2] != 3)
12260 if ac_fn_c_try_run "$LINENO"; then :
12261 ac_cv_c_gcc_strength_bug="no"
12263 ac_cv_c_gcc_strength_bug="yes"
12265 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12266 conftest.$ac_objext conftest.beam conftest.$ac_ext
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12271 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12272 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12274 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12278 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12279 if ${ac_cv_cflags__fno_builtin+:} false; then :
12280 $as_echo_n "(cached) " >&6
12282 ac_wine_try_cflags_saved=$CFLAGS
12283 CFLAGS="$CFLAGS -fno-builtin"
12284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12285 /* end confdefs.h. */
12286 int main(int argc, char **argv) { return 0; }
12288 if ac_fn_c_try_link "$LINENO"; then :
12289 ac_cv_cflags__fno_builtin=yes
12291 ac_cv_cflags__fno_builtin=no
12293 rm -f core conftest.err conftest.$ac_objext \
12294 conftest$ac_exeext conftest.$ac_ext
12295 CFLAGS=$ac_wine_try_cflags_saved
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12298 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12299 if test $ac_cv_cflags__fno_builtin = yes; then :
12300 BUILTINFLAG="-fno-builtin"
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12304 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12305 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12306 $as_echo_n "(cached) " >&6
12308 ac_wine_try_cflags_saved=$CFLAGS
12309 CFLAGS="$CFLAGS -fno-strict-aliasing"
12310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311 /* end confdefs.h. */
12312 int main(int argc, char **argv) { return 0; }
12314 if ac_fn_c_try_link "$LINENO"; then :
12315 ac_cv_cflags__fno_strict_aliasing=yes
12317 ac_cv_cflags__fno_strict_aliasing=no
12319 rm -f core conftest.err conftest.$ac_objext \
12320 conftest$ac_exeext conftest.$ac_ext
12321 CFLAGS=$ac_wine_try_cflags_saved
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12324 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12325 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12326 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12329 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12330 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12331 $as_echo_n "(cached) " >&6
12333 ac_wine_try_cflags_saved=$CFLAGS
12334 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12337 int main(int argc, char **argv) { return 0; }
12339 if ac_fn_c_try_link "$LINENO"; then :
12340 ac_cv_cflags__Wdeclaration_after_statement=yes
12342 ac_cv_cflags__Wdeclaration_after_statement=no
12344 rm -f core conftest.err conftest.$ac_objext \
12345 conftest$ac_exeext conftest.$ac_ext
12346 CFLAGS=$ac_wine_try_cflags_saved
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12349 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12350 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12351 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12354 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12355 if ${ac_cv_cflags__Wempty_body+:} false; then :
12356 $as_echo_n "(cached) " >&6
12358 ac_wine_try_cflags_saved=$CFLAGS
12359 CFLAGS="$CFLAGS -Wempty-body"
12360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12362 int main(int argc, char **argv) { return 0; }
12364 if ac_fn_c_try_link "$LINENO"; then :
12365 ac_cv_cflags__Wempty_body=yes
12367 ac_cv_cflags__Wempty_body=no
12369 rm -f core conftest.err conftest.$ac_objext \
12370 conftest$ac_exeext conftest.$ac_ext
12371 CFLAGS=$ac_wine_try_cflags_saved
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12374 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12375 if test $ac_cv_cflags__Wempty_body = yes; then :
12376 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12379 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12380 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12381 $as_echo_n "(cached) " >&6
12383 ac_wine_try_cflags_saved=$CFLAGS
12384 CFLAGS="$CFLAGS -Wignored-qualifiers"
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12387 int main(int argc, char **argv) { return 0; }
12389 if ac_fn_c_try_link "$LINENO"; then :
12390 ac_cv_cflags__Wignored_qualifiers=yes
12392 ac_cv_cflags__Wignored_qualifiers=no
12394 rm -f core conftest.err conftest.$ac_objext \
12395 conftest$ac_exeext conftest.$ac_ext
12396 CFLAGS=$ac_wine_try_cflags_saved
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12399 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12400 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12401 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12404 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12405 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12406 $as_echo_n "(cached) " >&6
12408 ac_wine_try_cflags_saved=$CFLAGS
12409 CFLAGS="$CFLAGS -Wstrict-prototypes"
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12412 int main(int argc, char **argv) { return 0; }
12414 if ac_fn_c_try_link "$LINENO"; then :
12415 ac_cv_cflags__Wstrict_prototypes=yes
12417 ac_cv_cflags__Wstrict_prototypes=no
12419 rm -f core conftest.err conftest.$ac_objext \
12420 conftest$ac_exeext conftest.$ac_ext
12421 CFLAGS=$ac_wine_try_cflags_saved
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12424 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12425 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12426 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12429 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12430 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12431 $as_echo_n "(cached) " >&6
12433 ac_wine_try_cflags_saved=$CFLAGS
12434 CFLAGS="$CFLAGS -Wtype-limits"
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12437 int main(int argc, char **argv) { return 0; }
12439 if ac_fn_c_try_link "$LINENO"; then :
12440 ac_cv_cflags__Wtype_limits=yes
12442 ac_cv_cflags__Wtype_limits=no
12444 rm -f core conftest.err conftest.$ac_objext \
12445 conftest$ac_exeext conftest.$ac_ext
12446 CFLAGS=$ac_wine_try_cflags_saved
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12449 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12450 if test $ac_cv_cflags__Wtype_limits = yes; then :
12451 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12454 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12455 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12456 $as_echo_n "(cached) " >&6
12458 ac_wine_try_cflags_saved=$CFLAGS
12459 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12462 int main(int argc, char **argv) { return 0; }
12464 if ac_fn_c_try_link "$LINENO"; then :
12465 ac_cv_cflags__Wunused_but_set_parameter=yes
12467 ac_cv_cflags__Wunused_but_set_parameter=no
12469 rm -f core conftest.err conftest.$ac_objext \
12470 conftest$ac_exeext conftest.$ac_ext
12471 CFLAGS=$ac_wine_try_cflags_saved
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12474 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12475 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12476 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12479 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12480 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12481 $as_echo_n "(cached) " >&6
12483 ac_wine_try_cflags_saved=$CFLAGS
12484 CFLAGS="$CFLAGS -Wwrite-strings"
12485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12486 /* end confdefs.h. */
12487 int main(int argc, char **argv) { return 0; }
12489 if ac_fn_c_try_link "$LINENO"; then :
12490 ac_cv_cflags__Wwrite_strings=yes
12492 ac_cv_cflags__Wwrite_strings=no
12494 rm -f core conftest.err conftest.$ac_objext \
12495 conftest$ac_exeext conftest.$ac_ext
12496 CFLAGS=$ac_wine_try_cflags_saved
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12499 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12500 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12501 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12504 for ac_flag in $CFLAGS; do
12506 -g) case $host_os in
12507 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12508 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12509 if ${ac_cv_cflags__gstabsp+:} false; then :
12510 $as_echo_n "(cached) " >&6
12512 ac_wine_try_cflags_saved=$CFLAGS
12513 CFLAGS="$CFLAGS -gstabs+"
12514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12515 /* end confdefs.h. */
12516 int main(int argc, char **argv) { return 0; }
12518 if ac_fn_c_try_link "$LINENO"; then :
12519 ac_cv_cflags__gstabsp=yes
12521 ac_cv_cflags__gstabsp=no
12523 rm -f core conftest.err conftest.$ac_objext \
12524 conftest$ac_exeext conftest.$ac_ext
12525 CFLAGS=$ac_wine_try_cflags_saved
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12528 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12529 if test $ac_cv_cflags__gstabsp = yes; then :
12530 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12532 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12533 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12534 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12535 $as_echo_n "(cached) " >&6
12537 ac_wine_try_cflags_saved=$CFLAGS
12538 CFLAGS="$CFLAGS -gdwarf-2"
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 int main(int argc, char **argv) { return 0; }
12543 if ac_fn_c_try_link "$LINENO"; then :
12544 ac_cv_cflags__gdwarf_2=yes
12546 ac_cv_cflags__gdwarf_2=no
12548 rm -f core conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 CFLAGS=$ac_wine_try_cflags_saved
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12553 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12554 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12555 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12558 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12559 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12560 $as_echo_n "(cached) " >&6
12562 ac_wine_try_cflags_saved=$CFLAGS
12563 CFLAGS="$CFLAGS -gstrict-dwarf"
12564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12565 /* end confdefs.h. */
12566 int main(int argc, char **argv) { return 0; }
12568 if ac_fn_c_try_link "$LINENO"; then :
12569 ac_cv_cflags__gstrict_dwarf=yes
12571 ac_cv_cflags__gstrict_dwarf=no
12573 rm -f core conftest.err conftest.$ac_objext \
12574 conftest$ac_exeext conftest.$ac_ext
12575 CFLAGS=$ac_wine_try_cflags_saved
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12578 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12579 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12580 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12587 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12588 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12589 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12590 $as_echo_n "(cached) " >&6
12592 ac_wine_try_cflags_saved=$CFLAGS
12593 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12596 int main(int argc, char **argv) { return 0; }
12598 if ac_fn_c_try_link "$LINENO"; then :
12599 ac_cv_cflags__fno_omit_frame_pointer=yes
12601 ac_cv_cflags__fno_omit_frame_pointer=no
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 CFLAGS=$ac_wine_try_cflags_saved
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12608 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12609 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12610 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12615 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12616 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12617 if ${ac_cv_cflags__Wno_format+:} false; then :
12618 $as_echo_n "(cached) " >&6
12620 ac_wine_try_cflags_saved=$CFLAGS
12621 CFLAGS="$CFLAGS -Wno-format"
12622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h. */
12624 int main(int argc, char **argv) { return 0; }
12626 if ac_fn_c_try_link "$LINENO"; then :
12627 ac_cv_cflags__Wno_format=yes
12629 ac_cv_cflags__Wno_format=no
12631 rm -f core conftest.err conftest.$ac_objext \
12632 conftest$ac_exeext conftest.$ac_ext
12633 CFLAGS=$ac_wine_try_cflags_saved
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12636 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12637 if test $ac_cv_cflags__Wno_format = yes; then :
12638 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12642 saved_CFLAGS="$CFLAGS"
12643 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12645 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12646 if ${ac_cv_c_string_h_warnings+:} false; then :
12647 $as_echo_n "(cached) " >&6
12649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12651 #include <string.h>
12660 if ac_fn_c_try_compile "$LINENO"; then :
12661 ac_cv_c_string_h_warnings=no
12663 ac_cv_c_string_h_warnings=yes
12665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12668 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12669 CFLAGS="$saved_CFLAGS"
12670 if test "$ac_cv_c_string_h_warnings" = "no"
12672 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12675 saved_CFLAGS="$CFLAGS"
12676 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12678 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12679 if ${ac_cv_c_logicalop_noisy+:} false; then :
12680 $as_echo_n "(cached) " >&6
12682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12683 /* end confdefs.h. */
12684 #include <string.h>
12688 char*f(const char *h,char n) {return strchr(h,n);}
12693 if ac_fn_c_try_compile "$LINENO"; then :
12694 ac_cv_c_logicalop_noisy=no
12696 ac_cv_c_logicalop_noisy=yes
12698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12701 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12702 CFLAGS="$saved_CFLAGS"
12703 if test "$ac_cv_c_logicalop_noisy" = "no"
12705 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12708 if test "x$enable_maintainer_mode" = "xyes"
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12711 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12712 if ${ac_cv_cflags__Werror+:} false; then :
12713 $as_echo_n "(cached) " >&6
12715 ac_wine_try_cflags_saved=$CFLAGS
12716 CFLAGS="$CFLAGS -Werror"
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12719 int main(int argc, char **argv) { return 0; }
12721 if ac_fn_c_try_link "$LINENO"; then :
12722 ac_cv_cflags__Werror=yes
12724 ac_cv_cflags__Werror=no
12726 rm -f core conftest.err conftest.$ac_objext \
12727 conftest$ac_exeext conftest.$ac_ext
12728 CFLAGS=$ac_wine_try_cflags_saved
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12731 $as_echo "$ac_cv_cflags__Werror" >&6; }
12732 if test $ac_cv_cflags__Werror = yes; then :
12733 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12737 saved_CFLAGS="$CFLAGS"
12738 CFLAGS="$CFLAGS -Werror"
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12740 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12741 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12742 $as_echo_n "(cached) " >&6
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12746 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12755 if ac_fn_c_try_compile "$LINENO"; then :
12756 ac_cv_have_ms_hook_prologue="yes"
12758 ac_cv_have_ms_hook_prologue="no"
12760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12763 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12764 CFLAGS="$saved_CFLAGS"
12765 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12768 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12771 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12778 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12779 if ${ac_cv_c_fortify_enabled+:} false; then :
12780 $as_echo_n "(cached) " >&6
12782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12783 /* end confdefs.h. */
12784 #include <string.h>
12788 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12789 #error Fortify enabled
12795 if ac_fn_c_try_compile "$LINENO"; then :
12796 ac_cv_c_fortify_enabled=no
12798 ac_cv_c_fortify_enabled=yes
12800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12803 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12804 if test "$ac_cv_c_fortify_enabled" = yes
12806 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12811 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12812 if ${ac_cv_c_extern_prefix+:} false; then :
12813 $as_echo_n "(cached) " >&6
12815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12817 extern int ac_test;
12821 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12826 if ac_fn_c_try_link "$LINENO"; then :
12827 ac_cv_c_extern_prefix="yes"
12829 ac_cv_c_extern_prefix="no"
12831 rm -f core conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12835 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12840 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12841 if ${ac_cv_c_stdcall_suffix+:} false; then :
12842 $as_echo_n "(cached) " >&6
12844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12845 /* end confdefs.h. */
12847 #define __stdcall __attribute__((__stdcall__))
12849 int __stdcall ac_test(int i) { return i; }
12853 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12858 if ac_fn_c_try_link "$LINENO"; then :
12859 ac_cv_c_stdcall_suffix="yes"
12861 ac_cv_c_stdcall_suffix="no"
12863 rm -f core conftest.err conftest.$ac_objext \
12864 conftest$ac_exeext conftest.$ac_ext
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12867 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12868 *) ac_cv_c_stdcall_suffix="no" ;;
12872 if test "$ac_cv_c_extern_prefix" = "yes"
12874 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12876 asm_name_prefix="_"
12878 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12884 if test "$ac_cv_c_stdcall_suffix" = "yes"
12886 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12889 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12895 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12896 if ${ac_cv_asm_func_def+:} false; then :
12897 $as_echo_n "(cached) " >&6
12899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12905 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_asm_func_def=".def"
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12919 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12924 if ac_fn_c_try_link "$LINENO"; then :
12925 ac_cv_asm_func_def=".type @function"
12927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12928 /* end confdefs.h. */
12933 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12938 if ac_fn_c_try_link "$LINENO"; then :
12939 ac_cv_asm_func_def=".type 2"
12941 ac_cv_asm_func_def="unknown"
12943 rm -f core conftest.err conftest.$ac_objext \
12944 conftest$ac_exeext conftest.$ac_ext
12946 rm -f core conftest.err conftest.$ac_objext \
12947 conftest$ac_exeext conftest.$ac_ext
12949 rm -f core conftest.err conftest.$ac_objext \
12950 conftest$ac_exeext conftest.$ac_ext
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12953 $as_echo "$ac_cv_asm_func_def" >&6; }
12956 case "$ac_cv_asm_func_def" in
12958 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12960 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12962 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12964 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12966 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12968 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12970 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12972 asm_func_header="" ;;
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12976 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12977 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12978 $as_echo_n "(cached) " >&6
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12982 asm(".text\n\t.long 0");
12991 if ac_fn_c_try_compile "$LINENO"; then :
12992 ac_cv_c_asm_outside_funcs="yes"
12994 ac_cv_c_asm_outside_funcs="no"
12996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12999 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13002 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13003 if ${ac_cv_c_dot_previous+:} false; then :
13004 $as_echo_n "(cached) " >&6
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13012 asm(".text\nac_test:\t.long 0\n\t.previous");
13017 if ac_fn_c_try_link "$LINENO"; then :
13018 ac_cv_c_dot_previous="yes"
13020 ac_cv_c_dot_previous="no"
13022 rm -f core conftest.err conftest.$ac_objext \
13023 conftest$ac_exeext conftest.$ac_ext
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13026 $as_echo "$ac_cv_c_dot_previous" >&6; }
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13029 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13030 if ${ac_cv_c_cfi_support+:} false; then :
13031 $as_echo_n "(cached) " >&6
13033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13034 /* end confdefs.h. */
13035 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13044 if ac_fn_c_try_compile "$LINENO"; then :
13045 ac_cv_c_cfi_support="yes"
13047 ac_cv_c_cfi_support="no"
13049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13052 $as_echo "$ac_cv_c_cfi_support" >&6; }
13054 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13055 asm_func_trailer=""
13056 if test "$ac_cv_c_dot_previous" = "yes"
13058 asm_func_trailer="\\n\\t.previous"
13060 if test "$ac_cv_c_cfi_support" = "yes"
13062 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13063 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13065 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13067 UNWINDFLAGS=-fasynchronous-unwind-tables
13070 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13074 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13077 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13079 cat >>confdefs.h <<_ACEOF
13080 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13084 cat >>confdefs.h <<_ACEOF
13085 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13090 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13093 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13103 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13108 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13116 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
13123 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13128 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13130 x86_64*) EXTRA_BINARIES="wine64-preloader"
13137 ac_save_CFLAGS="$CFLAGS"
13138 CFLAGS="$CFLAGS $BUILTINFLAG"
13213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13215 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13216 cat >>confdefs.h <<_ACEOF
13217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13223 CFLAGS="$ac_save_CFLAGS"
13225 if test "$ac_cv_func_dlopen" = no
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13228 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13229 if ${ac_cv_lib_dl_dlopen+:} false; then :
13230 $as_echo_n "(cached) " >&6
13232 ac_check_lib_save_LIBS=$LIBS
13234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13235 /* end confdefs.h. */
13237 /* Override any GCC internal prototype to avoid an error.
13238 Use char because int might match the return type of a GCC
13239 builtin and then its argument prototype would still apply. */
13252 if ac_fn_c_try_link "$LINENO"; then :
13253 ac_cv_lib_dl_dlopen=yes
13255 ac_cv_lib_dl_dlopen=no
13257 rm -f core conftest.err conftest.$ac_objext \
13258 conftest$ac_exeext conftest.$ac_ext
13259 LIBS=$ac_check_lib_save_LIBS
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13262 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13263 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13264 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13270 ac_wine_check_funcs_save_LIBS="$LIBS"
13271 LIBS="$LIBS $LIBDL"
13272 for ac_func in dladdr
13274 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13275 if test "x$ac_cv_func_dladdr" = xyes; then :
13276 cat >>confdefs.h <<_ACEOF
13277 #define HAVE_DLADDR 1
13283 LIBS="$ac_wine_check_funcs_save_LIBS"
13285 if test "$ac_cv_func_poll" = no
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13288 $as_echo_n "checking for poll in -lpoll... " >&6; }
13289 if ${ac_cv_lib_poll_poll+:} false; then :
13290 $as_echo_n "(cached) " >&6
13292 ac_check_lib_save_LIBS=$LIBS
13293 LIBS="-lpoll $LIBS"
13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 /* end confdefs.h. */
13297 /* Override any GCC internal prototype to avoid an error.
13298 Use char because int might match the return type of a GCC
13299 builtin and then its argument prototype would still apply. */
13312 if ac_fn_c_try_link "$LINENO"; then :
13313 ac_cv_lib_poll_poll=yes
13315 ac_cv_lib_poll_poll=no
13317 rm -f core conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_lib_save_LIBS
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13322 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13323 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13324 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13332 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13333 if ${ac_cv_search_gethostbyname+:} false; then :
13334 $as_echo_n "(cached) " >&6
13336 ac_func_search_save_LIBS=$LIBS
13337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13338 /* end confdefs.h. */
13340 /* Override any GCC internal prototype to avoid an error.
13341 Use char because int might match the return type of a GCC
13342 builtin and then its argument prototype would still apply. */
13346 char gethostbyname ();
13350 return gethostbyname ();
13355 for ac_lib in '' nsl; do
13356 if test -z "$ac_lib"; then
13357 ac_res="none required"
13360 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13362 if ac_fn_c_try_link "$LINENO"; then :
13363 ac_cv_search_gethostbyname=$ac_res
13365 rm -f core conftest.err conftest.$ac_objext \
13367 if ${ac_cv_search_gethostbyname+:} false; then :
13371 if ${ac_cv_search_gethostbyname+:} false; then :
13374 ac_cv_search_gethostbyname=no
13376 rm conftest.$ac_ext
13377 LIBS=$ac_func_search_save_LIBS
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13380 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13381 ac_res=$ac_cv_search_gethostbyname
13382 if test "$ac_res" != no; then :
13383 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13389 $as_echo_n "checking for library containing connect... " >&6; }
13390 if ${ac_cv_search_connect+:} false; then :
13391 $as_echo_n "(cached) " >&6
13393 ac_func_search_save_LIBS=$LIBS
13394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13395 /* end confdefs.h. */
13397 /* Override any GCC internal prototype to avoid an error.
13398 Use char because int might match the return type of a GCC
13399 builtin and then its argument prototype would still apply. */
13412 for ac_lib in '' socket; do
13413 if test -z "$ac_lib"; then
13414 ac_res="none required"
13417 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13419 if ac_fn_c_try_link "$LINENO"; then :
13420 ac_cv_search_connect=$ac_res
13422 rm -f core conftest.err conftest.$ac_objext \
13424 if ${ac_cv_search_connect+:} false; then :
13428 if ${ac_cv_search_connect+:} false; then :
13431 ac_cv_search_connect=no
13433 rm conftest.$ac_ext
13434 LIBS=$ac_func_search_save_LIBS
13436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13437 $as_echo "$ac_cv_search_connect" >&6; }
13438 ac_res=$ac_cv_search_connect
13439 if test "$ac_res" != no; then :
13440 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13446 $as_echo_n "checking for library containing inet_aton... " >&6; }
13447 if ${ac_cv_search_inet_aton+:} false; then :
13448 $as_echo_n "(cached) " >&6
13450 ac_func_search_save_LIBS=$LIBS
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13454 /* Override any GCC internal prototype to avoid an error.
13455 Use char because int might match the return type of a GCC
13456 builtin and then its argument prototype would still apply. */
13464 return inet_aton ();
13469 for ac_lib in '' resolv; do
13470 if test -z "$ac_lib"; then
13471 ac_res="none required"
13474 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13476 if ac_fn_c_try_link "$LINENO"; then :
13477 ac_cv_search_inet_aton=$ac_res
13479 rm -f core conftest.err conftest.$ac_objext \
13481 if ${ac_cv_search_inet_aton+:} false; then :
13485 if ${ac_cv_search_inet_aton+:} false; then :
13488 ac_cv_search_inet_aton=no
13490 rm conftest.$ac_ext
13491 LIBS=$ac_func_search_save_LIBS
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13494 $as_echo "$ac_cv_search_inet_aton" >&6; }
13495 ac_res=$ac_cv_search_inet_aton
13496 if test "$ac_res" != no; then :
13497 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13519 cat >>confdefs.h <<_ACEOF
13520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13529 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13531 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13533 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13535 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13536 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13537 $as_echo_n "(cached) " >&6
13539 ac_check_lib_save_LIBS=$LIBS
13540 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13542 /* end confdefs.h. */
13544 /* Override any GCC internal prototype to avoid an error.
13545 Use char because int might match the return type of a GCC
13546 builtin and then its argument prototype would still apply. */
13550 char ldap_initialize ();
13554 return ldap_initialize ();
13559 if ac_fn_c_try_link "$LINENO"; then :
13560 ac_cv_lib_ldap_r_ldap_initialize=yes
13562 ac_cv_lib_ldap_r_ldap_initialize=no
13564 rm -f core conftest.err conftest.$ac_objext \
13565 conftest$ac_exeext conftest.$ac_ext
13566 LIBS=$ac_check_lib_save_LIBS
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13569 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13570 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13572 $as_echo_n "checking for ber_init in -llber... " >&6; }
13573 if ${ac_cv_lib_lber_ber_init+:} false; then :
13574 $as_echo_n "(cached) " >&6
13576 ac_check_lib_save_LIBS=$LIBS
13577 LIBS="-llber $LIBPTHREAD $LIBS"
13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13581 /* Override any GCC internal prototype to avoid an error.
13582 Use char because int might match the return type of a GCC
13583 builtin and then its argument prototype would still apply. */
13591 return ber_init ();
13596 if ac_fn_c_try_link "$LINENO"; then :
13597 ac_cv_lib_lber_ber_init=yes
13599 ac_cv_lib_lber_ber_init=no
13601 rm -f core conftest.err conftest.$ac_objext \
13602 conftest$ac_exeext conftest.$ac_ext
13603 LIBS=$ac_check_lib_save_LIBS
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13606 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13607 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13609 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13611 LDAPLIBS="-lldap_r -llber"
13618 ac_wine_check_funcs_save_LIBS="$LIBS"
13619 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13621 ldap_count_references \
13622 ldap_first_reference \
13623 ldap_next_reference \
13624 ldap_parse_reference \
13625 ldap_parse_sort_control \
13626 ldap_parse_sortresponse_control \
13627 ldap_parse_vlv_control \
13628 ldap_parse_vlvresponse_control
13630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13632 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13633 cat >>confdefs.h <<_ACEOF
13634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13640 LIBS="$ac_wine_check_funcs_save_LIBS"
13642 if test "x$LDAPLIBS" = "x"; then :
13643 case "x$with_ldap" in
13644 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13646 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13647 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13652 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13653 if ${wine_cv_one_arg_mkdir+:} false; then :
13654 $as_echo_n "(cached) " >&6
13656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13657 /* end confdefs.h. */
13658 #include <sys/stat.h>
13667 if ac_fn_c_try_compile "$LINENO"; then :
13668 wine_cv_one_arg_mkdir=yes
13670 wine_cv_one_arg_mkdir=no
13672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13675 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13676 if test "$wine_cv_one_arg_mkdir" = "yes"
13679 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13684 $as_echo_n "checking for sched_setaffinity... " >&6; }
13685 if ${wine_cv_have_sched_setaffinity+:} false; then :
13686 $as_echo_n "(cached) " >&6
13688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13689 /* end confdefs.h. */
13690 #define _GNU_SOURCE
13695 sched_setaffinity(0, 0, 0);
13700 if ac_fn_c_try_link "$LINENO"; then :
13701 wine_cv_have_sched_setaffinity=yes
13703 wine_cv_have_sched_setaffinity=no
13705 rm -f core conftest.err conftest.$ac_objext \
13706 conftest$ac_exeext conftest.$ac_ext
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13709 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13710 if test "$wine_cv_have_sched_setaffinity" = "yes"
13713 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13718 $as_echo_n "checking for fallocate... " >&6; }
13719 if ${wine_cv_have_fallocate+:} false; then :
13720 $as_echo_n "(cached) " >&6
13722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13723 /* end confdefs.h. */
13724 #define _GNU_SOURCE
13729 fallocate(-1, 0, 0, 0);
13734 if ac_fn_c_try_link "$LINENO"; then :
13735 wine_cv_have_fallocate=yes
13737 wine_cv_have_fallocate=no
13739 rm -f core conftest.err conftest.$ac_objext \
13740 conftest$ac_exeext conftest.$ac_ext
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13743 $as_echo "$wine_cv_have_fallocate" >&6; }
13744 if test "$wine_cv_have_fallocate" = "yes"
13747 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13753 $as_echo_n "checking for inline... " >&6; }
13754 if ${ac_cv_c_inline+:} false; then :
13755 $as_echo_n "(cached) " >&6
13758 for ac_kw in inline __inline__ __inline; do
13759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13760 /* end confdefs.h. */
13761 #ifndef __cplusplus
13763 static $ac_kw foo_t static_foo () {return 0; }
13764 $ac_kw foo_t foo () {return 0; }
13768 if ac_fn_c_try_compile "$LINENO"; then :
13769 ac_cv_c_inline=$ac_kw
13771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13772 test "$ac_cv_c_inline" != no && break
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13777 $as_echo "$ac_cv_c_inline" >&6; }
13779 case $ac_cv_c_inline in
13782 case $ac_cv_c_inline in
13784 *) ac_val=$ac_cv_c_inline;;
13786 cat >>confdefs.h <<_ACEOF
13787 #ifndef __cplusplus
13788 #define inline $ac_val
13794 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13795 if test "x$ac_cv_type_mode_t" = xyes; then :
13797 cat >>confdefs.h <<_ACEOF
13798 #define HAVE_MODE_T 1
13803 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13804 if test "x$ac_cv_type_off_t" = xyes; then :
13806 cat >>confdefs.h <<_ACEOF
13807 #define HAVE_OFF_T 1
13812 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13813 if test "x$ac_cv_type_pid_t" = xyes; then :
13815 cat >>confdefs.h <<_ACEOF
13816 #define HAVE_PID_T 1
13821 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13822 if test "x$ac_cv_type_size_t" = xyes; then :
13824 cat >>confdefs.h <<_ACEOF
13825 #define HAVE_SIZE_T 1
13830 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13831 if test "x$ac_cv_type_ssize_t" = xyes; then :
13833 cat >>confdefs.h <<_ACEOF
13834 #define HAVE_SSIZE_T 1
13839 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13840 if test "x$ac_cv_type_long_long" = xyes; then :
13842 cat >>confdefs.h <<_ACEOF
13843 #define HAVE_LONG_LONG 1
13848 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13849 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13851 cat >>confdefs.h <<_ACEOF
13852 #define HAVE_FSBLKCNT_T 1
13857 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13858 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13860 cat >>confdefs.h <<_ACEOF
13861 #define HAVE_FSFILCNT_T 1
13867 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13868 #include <signal.h>
13870 if test "x$ac_cv_type_sigset_t" = xyes; then :
13872 cat >>confdefs.h <<_ACEOF
13873 #define HAVE_SIGSET_T 1
13879 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13881 if test "x$ac_cv_type_request_sense" = xyes; then :
13883 cat >>confdefs.h <<_ACEOF
13884 #define HAVE_REQUEST_SENSE 1
13891 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13892 #ifdef HAVE_SYS_SOCKET_H
13893 #include <sys/socket.h>
13895 #ifdef HAVE_SYS_SOCKETVAR_H
13896 #include <sys/socketvar.h>
13898 #ifdef HAVE_NET_ROUTE_H
13899 #include <net/route.h>
13901 #ifdef HAVE_NETINET_IN_H
13902 #include <netinet/in.h>
13904 #ifdef HAVE_NETINET_IN_SYSTM_H
13905 #include <netinet/in_systm.h>
13907 #ifdef HAVE_NETINET_IP_H
13908 #include <netinet/ip.h>
13910 #ifdef HAVE_NETINET_IN_PCB_H
13911 #include <netinet/in_pcb.h>
13914 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13916 cat >>confdefs.h <<_ACEOF
13917 #define HAVE_STRUCT_XINPGEN 1
13924 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13925 #include <linux/input.h>
13928 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13930 cat >>confdefs.h <<_ACEOF
13931 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13939 $as_echo_n "checking for sigaddset... " >&6; }
13940 if ${wine_cv_have_sigaddset+:} false; then :
13941 $as_echo_n "(cached) " >&6
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13945 #include <signal.h>
13949 sigset_t set; sigaddset(&set,SIGTERM);
13954 if ac_fn_c_try_link "$LINENO"; then :
13955 wine_cv_have_sigaddset=yes
13957 wine_cv_have_sigaddset=no
13959 rm -f core conftest.err conftest.$ac_objext \
13960 conftest$ac_exeext conftest.$ac_ext
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13963 $as_echo "$wine_cv_have_sigaddset" >&6; }
13964 if test "$wine_cv_have_sigaddset" = "yes"
13967 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13973 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13974 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13975 $as_echo_n "(cached) " >&6
13977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13978 /* end confdefs.h. */
13986 struct hostent *result;
13993 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13994 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14000 if ac_fn_c_try_link "$LINENO"; then :
14001 wine_cv_linux_gethostbyname_r_6=yes
14003 wine_cv_linux_gethostbyname_r_6=no
14006 rm -f core conftest.err conftest.$ac_objext \
14007 conftest$ac_exeext conftest.$ac_ext
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14011 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14012 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14015 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14019 if test "$ac_cv_header_linux_joystick_h" = "yes"
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14022 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14023 if ${wine_cv_linux_joystick_22_api+:} false; then :
14024 $as_echo_n "(cached) " >&6
14026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14027 /* end confdefs.h. */
14029 #include <sys/ioctl.h>
14030 #include <sys/types.h>
14031 #include <linux/joystick.h>
14033 struct js_event blub;
14034 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14035 #error "no 2.2 header"
14046 if ac_fn_c_try_compile "$LINENO"; then :
14047 wine_cv_linux_joystick_22_api=yes
14049 wine_cv_linux_joystick_22_api=no
14051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14055 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14056 if test "$wine_cv_linux_joystick_22_api" = "yes"
14059 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14065 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14066 #ifdef HAVE_SYS_PARAM_H
14067 # include <sys/param.h>
14069 #ifdef HAVE_SYS_MOUNT_H
14070 # include <sys/mount.h>
14072 #ifdef HAVE_SYS_VFS_H
14073 # include <sys/vfs.h>
14075 #ifdef HAVE_SYS_STATFS_H
14076 # include <sys/statfs.h>
14079 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14081 cat >>confdefs.h <<_ACEOF
14082 #define HAVE_STRUCT_STATFS_F_BFREE 1
14087 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14088 #ifdef HAVE_SYS_PARAM_H
14089 # include <sys/param.h>
14091 #ifdef HAVE_SYS_MOUNT_H
14092 # include <sys/mount.h>
14094 #ifdef HAVE_SYS_VFS_H
14095 # include <sys/vfs.h>
14097 #ifdef HAVE_SYS_STATFS_H
14098 # include <sys/statfs.h>
14101 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14103 cat >>confdefs.h <<_ACEOF
14104 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14109 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14110 #ifdef HAVE_SYS_PARAM_H
14111 # include <sys/param.h>
14113 #ifdef HAVE_SYS_MOUNT_H
14114 # include <sys/mount.h>
14116 #ifdef HAVE_SYS_VFS_H
14117 # include <sys/vfs.h>
14119 #ifdef HAVE_SYS_STATFS_H
14120 # include <sys/statfs.h>
14123 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14125 cat >>confdefs.h <<_ACEOF
14126 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14131 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14132 #ifdef HAVE_SYS_PARAM_H
14133 # include <sys/param.h>
14135 #ifdef HAVE_SYS_MOUNT_H
14136 # include <sys/mount.h>
14138 #ifdef HAVE_SYS_VFS_H
14139 # include <sys/vfs.h>
14141 #ifdef HAVE_SYS_STATFS_H
14142 # include <sys/statfs.h>
14145 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14147 cat >>confdefs.h <<_ACEOF
14148 #define HAVE_STRUCT_STATFS_F_FFREE 1
14153 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14154 #ifdef HAVE_SYS_PARAM_H
14155 # include <sys/param.h>
14157 #ifdef HAVE_SYS_MOUNT_H
14158 # include <sys/mount.h>
14160 #ifdef HAVE_SYS_VFS_H
14161 # include <sys/vfs.h>
14163 #ifdef HAVE_SYS_STATFS_H
14164 # include <sys/statfs.h>
14167 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14169 cat >>confdefs.h <<_ACEOF
14170 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14175 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14176 #ifdef HAVE_SYS_PARAM_H
14177 # include <sys/param.h>
14179 #ifdef HAVE_SYS_MOUNT_H
14180 # include <sys/mount.h>
14182 #ifdef HAVE_SYS_VFS_H
14183 # include <sys/vfs.h>
14185 #ifdef HAVE_SYS_STATFS_H
14186 # include <sys/statfs.h>
14189 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14191 cat >>confdefs.h <<_ACEOF
14192 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14199 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14200 #include <sys/statvfs.h>
14203 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14205 cat >>confdefs.h <<_ACEOF
14206 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14213 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14214 #include <dirent.h>
14217 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14219 cat >>confdefs.h <<_ACEOF
14220 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14227 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14228 #ifdef HAVE_SYS_SOCKET_H
14229 # include <sys/socket.h>
14231 #ifdef HAVE_SYS_UN_H
14232 # include <sys/un.h>
14235 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14237 cat >>confdefs.h <<_ACEOF
14238 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14243 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14244 #ifdef HAVE_SYS_SOCKET_H
14245 # include <sys/socket.h>
14247 #ifdef HAVE_SYS_UN_H
14248 # include <sys/un.h>
14251 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14253 cat >>confdefs.h <<_ACEOF
14254 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14259 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14260 #ifdef HAVE_SYS_SOCKET_H
14261 # include <sys/socket.h>
14263 #ifdef HAVE_SYS_UN_H
14264 # include <sys/un.h>
14267 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14269 cat >>confdefs.h <<_ACEOF
14270 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14277 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14278 #ifdef HAVE_SCSI_SG_H
14279 #include <scsi/sg.h>
14282 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14284 cat >>confdefs.h <<_ACEOF
14285 #define HAVE_SCSIREQ_T_CMD 1
14290 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>
14291 #ifdef HAVE_SCSI_SG_H
14292 #include <scsi/sg.h>
14295 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14297 cat >>confdefs.h <<_ACEOF
14298 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14305 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14307 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14309 cat >>confdefs.h <<_ACEOF
14310 #define HAVE_SIGINFO_T_SI_FD 1
14317 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14318 #ifdef HAVE_SYS_MTIO_H
14319 #include <sys/mtio.h>
14322 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14324 cat >>confdefs.h <<_ACEOF
14325 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14330 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14331 #ifdef HAVE_SYS_MTIO_H
14332 #include <sys/mtio.h>
14335 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14337 cat >>confdefs.h <<_ACEOF
14338 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14343 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14344 #ifdef HAVE_SYS_MTIO_H
14345 #include <sys/mtio.h>
14348 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14350 cat >>confdefs.h <<_ACEOF
14351 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14358 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14359 #include <getopt.h>
14362 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14364 cat >>confdefs.h <<_ACEOF
14365 #define HAVE_STRUCT_OPTION_NAME 1
14372 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14373 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14375 cat >>confdefs.h <<_ACEOF
14376 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14381 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14382 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14384 cat >>confdefs.h <<_ACEOF
14385 #define HAVE_STRUCT_STAT_ST_MTIM 1
14390 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14391 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14393 cat >>confdefs.h <<_ACEOF
14394 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14399 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14400 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14402 cat >>confdefs.h <<_ACEOF
14403 #define HAVE_STRUCT_STAT_ST_CTIM 1
14408 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14409 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14411 cat >>confdefs.h <<_ACEOF
14412 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14417 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14418 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14420 cat >>confdefs.h <<_ACEOF
14421 #define HAVE_STRUCT_STAT_ST_ATIM 1
14426 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14427 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14429 cat >>confdefs.h <<_ACEOF
14430 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14435 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14436 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14438 cat >>confdefs.h <<_ACEOF
14439 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14444 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14445 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14447 cat >>confdefs.h <<_ACEOF
14448 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14453 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14454 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14456 cat >>confdefs.h <<_ACEOF
14457 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14462 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14463 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14465 cat >>confdefs.h <<_ACEOF
14466 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14471 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14472 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14474 cat >>confdefs.h <<_ACEOF
14475 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14482 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
14483 #include <sys/types.h>
14485 #ifdef HAVE_NETINET_IN_H
14486 #include <netinet/in.h>
14489 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14491 cat >>confdefs.h <<_ACEOF
14492 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14499 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14500 #include <sys/types.h>
14502 #ifdef HAVE_NETINET_IN_H
14503 # include <netinet/in.h>
14505 #ifdef HAVE_ARPA_NAMESER_H
14506 # include <arpa/nameser.h>
14509 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14511 cat >>confdefs.h <<_ACEOF
14512 #define HAVE_NS_MSG__MSG_PTR 1
14519 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14520 #include <sys/types.h>
14522 #ifdef HAVE_NETINET_IP_H
14523 #include <netinet/ip.h>
14525 #ifdef HAVE_NETINET_IP_ICMP_H
14526 #include <netinet/ip_icmp.h>
14528 #ifdef HAVE_NETINET_ICMP_VAR_H
14529 #include <netinet/icmp_var.h>
14532 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14534 cat >>confdefs.h <<_ACEOF
14535 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14542 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14543 #include <sys/types.h>
14545 #ifdef HAVE_ALIAS_H
14548 #ifdef HAVE_SYS_SOCKET_H
14549 #include <sys/socket.h>
14551 #ifdef HAVE_SYS_SOCKETVAR_H
14552 #include <sys/socketvar.h>
14554 #ifdef HAVE_SYS_TIMEOUT_H
14555 #include <sys/timeout.h>
14557 #ifdef HAVE_NETINET_IN_H
14558 #include <netinet/in.h>
14560 #ifdef HAVE_NETINET_IN_SYSTM_H
14561 #include <netinet/in_systm.h>
14563 #ifdef HAVE_NETINET_IP_H
14564 #include <netinet/ip.h>
14566 #ifdef HAVE_NETINET_IP_VAR_H
14567 #include <netinet/ip_var.h>
14569 #ifdef HAVE_NETINET_IP_ICMP_H
14570 #include <netinet/ip_icmp.h>
14572 #ifdef HAVE_NETINET_ICMP_VAR_H
14573 #include <netinet/icmp_var.h>
14576 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14578 cat >>confdefs.h <<_ACEOF
14579 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14586 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14587 #include <sys/types.h>
14589 #ifdef HAVE_SYS_SOCKETVAR_H
14590 #include <sys/socketvar.h>
14592 #ifdef HAVE_NETINET_IN_H
14593 #include <netinet/in.h>
14595 #ifdef HAVE_NETINET_IP_VAR_H
14596 #include <netinet/ip_var.h>
14599 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14601 cat >>confdefs.h <<_ACEOF
14602 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14609 ac_fn_c_check_member "$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
14610 #include <netinet/ip_var.h>
14613 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14615 cat >>confdefs.h <<_ACEOF
14616 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14623 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14624 #include <sys/types.h>
14626 #ifdef HAVE_SYS_SOCKETVAR_H
14627 #include <sys/socketvar.h>
14629 #ifdef HAVE_NETINET_IN_H
14630 #include <netinet/in.h>
14632 #ifdef HAVE_NETINET_TCP_H
14633 #include <netinet/tcp.h>
14635 #ifdef HAVE_NETINET_TCP_VAR_H
14636 #include <netinet/tcp_var.h>
14639 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14641 cat >>confdefs.h <<_ACEOF
14642 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14649 ac_fn_c_check_member "$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
14650 #include <netinet/tcp_var.h>
14653 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14655 cat >>confdefs.h <<_ACEOF
14656 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14663 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14664 #include <sys/types.h>
14666 #ifdef HAVE_NETINET_IN_H
14667 #include <netinet/in.h>
14669 #ifdef HAVE_NETINET_IP_VAR_H
14670 #include <netinet/ip_var.h>
14672 #ifdef HAVE_NETINET_UDP_H
14673 #include <netinet/udp.h>
14675 #ifdef HAVE_NETINET_UDP_VAR_H
14676 #include <netinet/udp_var.h>
14679 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14681 cat >>confdefs.h <<_ACEOF
14682 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14689 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14690 #include <sys/types.h>
14692 #ifdef HAVE_NET_IF_H
14693 # include <net/if.h>
14696 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14698 cat >>confdefs.h <<_ACEOF
14699 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14707 $as_echo_n "checking for timezone variable... " >&6; }
14708 if ${ac_cv_have_timezone+:} false; then :
14709 $as_echo_n "(cached) " >&6
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14722 if ac_fn_c_try_link "$LINENO"; then :
14723 ac_cv_have_timezone="yes"
14725 ac_cv_have_timezone="no"
14727 rm -f core conftest.err conftest.$ac_objext \
14728 conftest$ac_exeext conftest.$ac_ext
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14731 $as_echo "$ac_cv_have_timezone" >&6; }
14732 if test "$ac_cv_have_timezone" = "yes"
14735 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14739 $as_echo_n "checking for daylight variable... " >&6; }
14740 if ${ac_cv_have_daylight+:} false; then :
14741 $as_echo_n "(cached) " >&6
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14754 if ac_fn_c_try_link "$LINENO"; then :
14755 ac_cv_have_daylight="yes"
14757 ac_cv_have_daylight="no"
14759 rm -f core conftest.err conftest.$ac_objext \
14760 conftest$ac_exeext conftest.$ac_ext
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14763 $as_echo "$ac_cv_have_daylight" >&6; }
14764 if test "$ac_cv_have_daylight" = "yes"
14767 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14771 ac_save_LIBS="$LIBS"
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14774 $as_echo_n "checking for isinf... " >&6; }
14775 if ${ac_cv_have_isinf+:} false; then :
14776 $as_echo_n "(cached) " >&6
14778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14779 /* end confdefs.h. */
14784 float f = 0.0; return isinf(f)
14789 if ac_fn_c_try_link "$LINENO"; then :
14790 ac_cv_have_isinf="yes"
14792 ac_cv_have_isinf="no"
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14798 $as_echo "$ac_cv_have_isinf" >&6; }
14799 if test "$ac_cv_have_isinf" = "yes"
14802 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14807 $as_echo_n "checking for isnan... " >&6; }
14808 if ${ac_cv_have_isnan+:} false; then :
14809 $as_echo_n "(cached) " >&6
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14817 float f = 0.0; return isnan(f)
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_have_isnan="yes"
14825 ac_cv_have_isnan="no"
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14831 $as_echo "$ac_cv_have_isnan" >&6; }
14832 if test "$ac_cv_have_isnan" = "yes"
14835 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14838 LIBS="$ac_save_LIBS"
14842 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14843 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14844 if ${ac_cv_cpp_def___i386__+:} false; then :
14845 $as_echo_n "(cached) " >&6
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14854 $EGREP "yes" >/dev/null 2>&1; then :
14855 ac_cv_cpp_def___i386__=yes
14857 ac_cv_cpp_def___i386__=no
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14863 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14864 if test $ac_cv_cpp_def___i386__ = yes; then :
14865 CFLAGS="$CFLAGS -D__i386__"
14866 LINTFLAGS="$LINTFLAGS -D__i386__"
14868 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14869 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14870 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14871 $as_echo_n "(cached) " >&6
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14880 $EGREP "yes" >/dev/null 2>&1; then :
14881 ac_cv_cpp_def___x86_64__=yes
14883 ac_cv_cpp_def___x86_64__=no
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14889 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14890 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14891 CFLAGS="$CFLAGS -D__x86_64__"
14892 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14894 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14895 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14896 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14897 $as_echo_n "(cached) " >&6
14899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14900 /* end confdefs.h. */
14901 #ifndef __sparc64__
14905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14906 $EGREP "yes" >/dev/null 2>&1; then :
14907 ac_cv_cpp_def___sparc64__=yes
14909 ac_cv_cpp_def___sparc64__=no
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14915 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14916 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14917 CFLAGS="$CFLAGS -D__sparc64__"
14918 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14920 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14921 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14922 if ${ac_cv_cpp_def___sparc__+:} false; then :
14923 $as_echo_n "(cached) " >&6
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14932 $EGREP "yes" >/dev/null 2>&1; then :
14933 ac_cv_cpp_def___sparc__=yes
14935 ac_cv_cpp_def___sparc__=no
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14941 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14942 if test $ac_cv_cpp_def___sparc__ = yes; then :
14943 CFLAGS="$CFLAGS -D__sparc__"
14944 LINTFLAGS="$LINTFLAGS -D__sparc__"
14946 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14947 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14948 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14949 $as_echo_n "(cached) " >&6
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14953 #ifndef __powerpc64__
14957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14958 $EGREP "yes" >/dev/null 2>&1; then :
14959 ac_cv_cpp_def___powerpc64__=yes
14961 ac_cv_cpp_def___powerpc64__=no
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14967 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14968 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14969 CFLAGS="$CFLAGS -D__powerpc64__"
14970 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14972 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14973 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14974 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14975 $as_echo_n "(cached) " >&6
14977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14978 /* end confdefs.h. */
14979 #ifndef __powerpc__
14983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14984 $EGREP "yes" >/dev/null 2>&1; then :
14985 ac_cv_cpp_def___powerpc__=yes
14987 ac_cv_cpp_def___powerpc__=no
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14993 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14994 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14995 CFLAGS="$CFLAGS -D__powerpc__"
14996 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14998 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14999 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15000 if ${ac_cv_cpp_def___arm__+:} false; then :
15001 $as_echo_n "(cached) " >&6
15003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15004 /* end confdefs.h. */
15009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15010 $EGREP "yes" >/dev/null 2>&1; then :
15011 ac_cv_cpp_def___arm__=yes
15013 ac_cv_cpp_def___arm__=no
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15019 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15020 if test $ac_cv_cpp_def___arm__ = yes; then :
15021 CFLAGS="$CFLAGS -D__arm__"
15022 LINTFLAGS="$LINTFLAGS -D__arm__"
15026 case $host_vendor in
15027 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15028 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15029 if ${ac_cv_cpp_def___sun__+:} false; then :
15030 $as_echo_n "(cached) " >&6
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15039 $EGREP "yes" >/dev/null 2>&1; then :
15040 ac_cv_cpp_def___sun__=yes
15042 ac_cv_cpp_def___sun__=no
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15048 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15049 if test $ac_cv_cpp_def___sun__ = yes; then :
15050 CFLAGS="$CFLAGS -D__sun__"
15051 LINTFLAGS="$LINTFLAGS -D__sun__"
15059 ac_config_commands="$ac_config_commands include/stamp-h"
15062 ALL_MAKEFILE_DEPENDS="
15063 # Rules automatically generated by configure
15068 Makefile: Makefile.in Make.vars.in Make.rules config.status
15069 @./config.status Make.tmp Makefile"
15072 ALL_TEST_RESOURCES=""
15075 wine_fn_append_file ()
15077 as_fn_append $1 " \\$as_nl $2"
15080 wine_fn_append_rule ()
15082 as_fn_append $1 "$as_nl$2"
15085 wine_fn_has_flag ()
15087 expr ",$2," : ".*,$1,.*" >/dev/null
15090 wine_fn_all_dir_rules ()
15094 ac_makedep="\$(MAKEDEP)"
15095 ac_input=Make.vars.in:$ac_dir/Makefile.in
15096 if test $ac_dir != tools
15098 ac_alldeps="$2 $ac_makedep"
15100 ac_alldeps="$2 include/config.h"
15103 *.in) ac_input=$ac_input:$2 ;;
15104 *) ac_makedep="$2 $ac_makedep" ;;
15107 wine_fn_append_file ALL_DIRS $ac_dir
15108 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15109 "__clean__: $ac_dir/__clean__
15110 .PHONY: $ac_dir/__clean__
15111 $ac_dir/__clean__: $ac_dir/Makefile
15112 @cd $ac_dir && \$(MAKE) clean
15113 \$(RM) $ac_dir/Makefile
15114 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15115 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15116 depend: $ac_dir/__depend__
15117 .PHONY: $ac_dir/__depend__
15118 $ac_dir/__depend__: $ac_makedep dummy
15119 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15122 wine_fn_pot_rules ()
15127 test "x$with_gettextpo" = xyes || return
15129 if wine_fn_has_flag mc $ac_flags
15131 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15132 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15133 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15134 @cd $ac_dir && \$(MAKE) msg.pot
15135 $ac_dir/msg.pot: tools/wmc include"
15137 if wine_fn_has_flag po $ac_flags
15139 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15140 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15141 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15142 @cd $ac_dir && \$(MAKE) rsrc.pot
15143 $ac_dir/rsrc.pot: tools/wrc include"
15147 wine_fn_config_makefile ()
15153 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15157 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15158 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15161 $ac_dir: $ac_dir/Makefile dummy
15162 @cd $ac_dir && \$(MAKE)"
15164 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15166 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15167 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15168 $ac_dir/__install__:: $ac_dir
15169 @cd $ac_dir && \$(MAKE) install
15170 $ac_dir/__uninstall__:: $ac_dir/Makefile
15171 @cd $ac_dir && \$(MAKE) uninstall
15172 install:: $ac_dir/__install__
15173 __uninstall__: $ac_dir/__uninstall__"
15175 if wine_fn_has_flag install-lib $ac_flags
15177 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15178 ".PHONY: $ac_dir/__install-lib__
15179 $ac_dir/__install-lib__:: $ac_dir
15180 @cd $ac_dir && \$(MAKE) install-lib
15181 install-lib:: $ac_dir/__install-lib__"
15184 if wine_fn_has_flag install-dev $ac_flags
15186 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15187 ".PHONY: $ac_dir/__install-dev
15188 $ac_dir/__install-dev__:: $ac_dir
15189 @cd $ac_dir && \$(MAKE) install-dev
15190 install-dev:: $ac_dir/__install-dev__"
15194 wine_fn_config_lib ()
15198 ac_dir=dlls/$ac_name
15199 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15201 if wine_fn_has_flag install-dev $ac_flags
15204 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15205 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15206 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15207 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15208 $ac_dir/__uninstall__::
15209 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15210 install install-dev:: $ac_dir/__install__
15211 __uninstall__: $ac_dir/__uninstall__"
15214 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
15215 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15218 wine_fn_config_dll ()
15221 ac_dir=dlls/$ac_name
15224 ac_implib=${4:-$ac_name}
15225 ac_file=$ac_dir/lib$ac_implib
15227 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15231 *16) ac_implibflags=" -m16" ;;
15233 *) ac_dll=$ac_dll.dll ;;
15236 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15238 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15239 test "$ac_enable" != enable_win16 || return 0
15240 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15242 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15243 "$ac_dir: __builddeps__
15244 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15245 @cd $ac_dir && \$(MAKE) \$@"
15247 if wine_fn_has_flag install-lib $ac_flags
15250 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15251 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15252 install install-lib:: $ac_dir/__install-lib__
15253 __uninstall__: $ac_dir/__uninstall__"
15254 if test -n "$DLLEXT"
15256 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15257 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15258 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15259 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15260 $ac_dir/__uninstall__::
15261 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15263 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15264 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15265 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15266 $ac_dir/__uninstall__::
15267 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15271 wine_fn_pot_rules $ac_dir $ac_flags
15274 if wine_fn_has_flag staticimplib $ac_flags
15276 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15277 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15278 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15279 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15280 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15281 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15282 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15283 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15284 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15285 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15286 $ac_dir/__uninstall__::
15287 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15288 install install-dev:: $ac_dir/__install-dev__
15289 __uninstall__: $ac_dir/__uninstall__"
15291 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15293 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15294 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15295 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15296 $ac_dir/__uninstall__::
15297 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15300 if test "x$CROSSTEST_DISABLE" = x
15302 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15303 "__builddeps__: $ac_file.cross.a
15304 $ac_file.cross.a: $ac_dir/Makefile dummy
15305 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15308 elif wine_fn_has_flag implib $ac_flags
15310 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15311 "__builddeps__: $ac_file.$IMPLIBEXT
15312 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15313 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15314 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15315 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15316 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15317 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15318 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15319 $ac_dir/__uninstall__::
15320 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15321 install install-dev:: $ac_dir/__install-dev__
15322 __uninstall__: $ac_dir/__uninstall__"
15323 if test "x$CROSSTEST_DISABLE" = x
15325 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15326 "__builddeps__: $ac_file.cross.a
15327 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15328 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15331 if test "$ac_name" != "$ac_implib"
15333 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15334 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15335 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15336 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15338 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15339 if test "x$CROSSTEST_DISABLE" = x
15341 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15342 "__builddeps__: dlls/lib$ac_implib.cross.a
15343 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15344 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15350 wine_fn_config_program ()
15353 ac_dir=programs/$ac_name
15356 ac_program=$ac_name
15360 *) ac_program=$ac_program.exe ;;
15363 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15365 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15368 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15369 "$ac_dir: __builddeps__"
15371 wine_fn_pot_rules $ac_dir $ac_flags
15373 wine_fn_has_flag install $ac_flags || return
15374 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15375 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15376 install install-lib:: $ac_dir/__install__
15377 __uninstall__: $ac_dir/__uninstall__"
15379 if test -n "$DLLEXT"
15381 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15382 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15383 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15384 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15385 $ac_dir/__uninstall__::
15386 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15388 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15390 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15391 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15392 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15393 $ac_dir/__uninstall__::
15394 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15397 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15398 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15399 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15400 $ac_dir/__uninstall__::
15401 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15404 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15406 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15407 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15408 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15409 $ac_dir/__uninstall__::
15410 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15415 wine_fn_config_test ()
15420 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15421 wine_fn_all_dir_rules $ac_dir Maketest.rules
15423 if test "x$enable_tests" = xno; then :
15426 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15429 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15430 @cd $ac_dir && \$(MAKE)
15431 programs/winetest: $ac_dir
15432 check test: $ac_dir/__test__
15433 .PHONY: $ac_dir/__test__
15434 $ac_dir/__test__: dummy
15435 @cd $ac_dir && \$(MAKE) test
15437 \$(RM) $ac_dir/*.ok"
15439 if test "x$CROSSTEST_DISABLE" = x
15441 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15442 "crosstest: $ac_dir/__crosstest__
15443 .PHONY: $ac_dir/__crosstest__
15444 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15445 @cd $ac_dir && \$(MAKE) crosstest"
15450 wine_fn_config_tool ()
15454 if test "x$enable_tools" = xno; then :
15458 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15460 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15461 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15463 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15467 wine_fn_config_makerules ()
15471 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15472 "$ac_rules: $ac_rules.in $ac_deps config.status
15473 @./config.status $ac_rules
15478 wine_fn_config_symlink ()
15481 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15483 @./config.status $ac_link
15488 if test "x$CROSSTEST_DISABLE" != x
15490 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15492 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15494 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15495 wine_fn_config_symlink dlls/shell32/AUTHORS
15496 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15497 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15498 if test "x$enable_fonts" != xno; then
15499 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15500 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15502 if test "x$enable_fonts" != xno; then
15503 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15504 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15506 if test "x$enable_fonts" != xno; then
15507 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15508 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15510 if test "x$enable_fonts" != xno; then
15511 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15512 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15514 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15515 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15516 if test "x$enable_tools" != xno; then
15517 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15518 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15520 ac_config_links="$ac_config_links wine:tools/winewrapper"
15521 wine_fn_config_symlink wine
15522 if test "x$enable_win64" != xno; then
15523 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15524 wine_fn_config_symlink wine64
15527 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15529 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15531 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15533 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15535 ac_config_commands="$ac_config_commands dlls/user32/resources"
15537 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15539 ac_config_commands="$ac_config_commands include/wine"
15542 wine_fn_config_makerules Make.rules
15543 MAKE_RULES=Make.rules
15544 ac_config_files="$ac_config_files Make.rules"
15546 wine_fn_config_makerules Maketest.rules Make.rules
15547 MAKE_TEST_RULES=Maketest.rules
15548 ac_config_files="$ac_config_files Maketest.rules"
15550 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15551 MAKE_DLL_RULES=dlls/Makedll.rules
15552 ac_config_files="$ac_config_files dlls/Makedll.rules"
15554 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15555 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15556 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15558 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15559 MAKE_PROG_RULES=programs/Makeprog.rules
15560 ac_config_files="$ac_config_files programs/Makeprog.rules"
15563 wine_fn_config_dll acledit enable_acledit
15564 wine_fn_config_dll aclui enable_aclui implib
15565 wine_fn_config_dll activeds enable_activeds implib
15566 wine_fn_config_dll actxprxy enable_actxprxy
15567 wine_fn_config_lib adsiid
15568 wine_fn_config_dll advapi32 enable_advapi32 implib
15569 wine_fn_config_test dlls/advapi32/tests advapi32_test
15570 wine_fn_config_dll advpack enable_advpack implib
15571 wine_fn_config_test dlls/advpack/tests advpack_test
15572 wine_fn_config_dll amstream enable_amstream
15573 wine_fn_config_test dlls/amstream/tests amstream_test
15574 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15575 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15576 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15577 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15578 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15579 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15580 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15581 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15582 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15583 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15584 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15585 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15586 wine_fn_config_dll apphelp enable_apphelp
15587 wine_fn_config_test dlls/apphelp/tests apphelp_test
15588 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15589 wine_fn_config_dll atl enable_atl implib
15590 wine_fn_config_test dlls/atl/tests atl_test
15591 wine_fn_config_dll atl100 enable_atl100 implib
15592 wine_fn_config_test dlls/atl100/tests atl100_test
15593 wine_fn_config_dll atl80 enable_atl80 implib
15594 wine_fn_config_dll authz enable_authz
15595 wine_fn_config_dll avicap32 enable_avicap32 implib
15596 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15597 wine_fn_config_test dlls/avifil32/tests avifil32_test
15598 wine_fn_config_dll avifile.dll16 enable_win16
15599 wine_fn_config_dll avrt enable_avrt implib
15600 wine_fn_config_dll bcrypt enable_bcrypt
15601 wine_fn_config_dll browseui enable_browseui po
15602 wine_fn_config_test dlls/browseui/tests browseui_test
15603 wine_fn_config_dll cabinet enable_cabinet implib
15604 wine_fn_config_test dlls/cabinet/tests cabinet_test
15605 wine_fn_config_dll capi2032 enable_capi2032 implib
15606 wine_fn_config_dll cards enable_cards implib
15607 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15608 wine_fn_config_dll clusapi enable_clusapi implib
15609 wine_fn_config_dll comcat enable_comcat
15610 wine_fn_config_test dlls/comcat/tests comcat_test
15611 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15612 wine_fn_config_test dlls/comctl32/tests comctl32_test
15613 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15614 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15615 wine_fn_config_dll comm.drv16 enable_win16
15616 wine_fn_config_dll commdlg.dll16 enable_win16
15617 wine_fn_config_dll compobj.dll16 enable_win16
15618 wine_fn_config_dll compstui enable_compstui implib
15619 wine_fn_config_dll credui enable_credui implib,po
15620 wine_fn_config_test dlls/credui/tests credui_test
15621 wine_fn_config_dll crtdll enable_crtdll implib
15622 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15623 wine_fn_config_test dlls/crypt32/tests crypt32_test
15624 wine_fn_config_dll cryptdlg enable_cryptdlg po
15625 wine_fn_config_dll cryptdll enable_cryptdll implib
15626 wine_fn_config_dll cryptnet enable_cryptnet implib
15627 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15628 wine_fn_config_dll cryptui enable_cryptui implib,po
15629 wine_fn_config_test dlls/cryptui/tests cryptui_test
15630 wine_fn_config_dll ctapi32 enable_ctapi32
15631 wine_fn_config_dll ctl3d.dll16 enable_win16
15632 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15633 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15634 wine_fn_config_dll d3d10 enable_d3d10 implib
15635 wine_fn_config_test dlls/d3d10/tests d3d10_test
15636 wine_fn_config_dll d3d10core enable_d3d10core implib
15637 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15638 wine_fn_config_dll d3d11 enable_d3d11
15639 wine_fn_config_dll d3d8 enable_d3d8 implib
15640 wine_fn_config_test dlls/d3d8/tests d3d8_test
15641 wine_fn_config_dll d3d9 enable_d3d9 implib
15642 wine_fn_config_test dlls/d3d9/tests d3d9_test
15643 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15644 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15645 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15646 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15647 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15648 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15649 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15650 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15651 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15652 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15653 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15654 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15655 wine_fn_config_dll d3dim enable_d3dim implib
15656 wine_fn_config_dll d3drm enable_d3drm implib
15657 wine_fn_config_test dlls/d3drm/tests d3drm_test
15658 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15659 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15660 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15661 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15662 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15663 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15664 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15665 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15666 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15667 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15668 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15669 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15670 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15671 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15672 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15673 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15674 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15675 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15676 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15677 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15678 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15679 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15680 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15681 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15682 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15683 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15684 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15685 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15686 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15687 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15688 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15689 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15690 wine_fn_config_dll d3dxof enable_d3dxof implib
15691 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15692 wine_fn_config_dll dbgeng enable_dbgeng implib
15693 wine_fn_config_dll dbghelp enable_dbghelp implib
15694 wine_fn_config_dll dciman32 enable_dciman32 implib
15695 wine_fn_config_dll ddeml.dll16 enable_win16
15696 wine_fn_config_dll ddraw enable_ddraw implib
15697 wine_fn_config_test dlls/ddraw/tests ddraw_test
15698 wine_fn_config_dll ddrawex enable_ddrawex
15699 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15700 wine_fn_config_dll devenum enable_devenum po
15701 wine_fn_config_test dlls/devenum/tests devenum_test
15702 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15703 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15704 wine_fn_config_test dlls/dinput/tests dinput_test
15705 wine_fn_config_dll dinput8 enable_dinput8 implib
15706 wine_fn_config_test dlls/dinput8/tests dinput8_test
15707 wine_fn_config_dll dispdib.dll16 enable_win16
15708 wine_fn_config_dll dispex enable_dispex
15709 wine_fn_config_test dlls/dispex/tests dispex_test
15710 wine_fn_config_dll display.drv16 enable_win16
15711 wine_fn_config_dll dmband enable_dmband
15712 wine_fn_config_test dlls/dmband/tests dmband_test
15713 wine_fn_config_dll dmcompos enable_dmcompos
15714 wine_fn_config_dll dmime enable_dmime
15715 wine_fn_config_test dlls/dmime/tests dmime_test
15716 wine_fn_config_dll dmloader enable_dmloader
15717 wine_fn_config_test dlls/dmloader/tests dmloader_test
15718 wine_fn_config_dll dmscript enable_dmscript
15719 wine_fn_config_dll dmstyle enable_dmstyle
15720 wine_fn_config_dll dmsynth enable_dmsynth
15721 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
15722 wine_fn_config_dll dmusic enable_dmusic
15723 wine_fn_config_test dlls/dmusic/tests dmusic_test
15724 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15725 wine_fn_config_dll dnsapi enable_dnsapi implib
15726 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15727 wine_fn_config_dll dplay enable_dplay implib
15728 wine_fn_config_dll dplayx enable_dplayx implib
15729 wine_fn_config_test dlls/dplayx/tests dplayx_test
15730 wine_fn_config_dll dpnaddr enable_dpnaddr
15731 wine_fn_config_dll dpnet enable_dpnet implib
15732 wine_fn_config_test dlls/dpnet/tests dpnet_test
15733 wine_fn_config_dll dpnhpast enable_dpnhpast
15734 wine_fn_config_dll dpnlobby enable_dpnlobby
15735 wine_fn_config_dll dpwsockx enable_dpwsockx
15736 wine_fn_config_dll drmclien enable_drmclien
15737 wine_fn_config_dll dsound enable_dsound implib
15738 wine_fn_config_test dlls/dsound/tests dsound_test
15739 wine_fn_config_dll dssenh enable_dssenh
15740 wine_fn_config_test dlls/dssenh/tests dssenh_test
15741 wine_fn_config_dll dswave enable_dswave
15742 wine_fn_config_dll dwmapi enable_dwmapi implib
15743 wine_fn_config_dll dwrite enable_dwrite implib
15744 wine_fn_config_test dlls/dwrite/tests dwrite_test
15745 wine_fn_config_dll dxdiagn enable_dxdiagn po
15746 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15747 wine_fn_config_lib dxerr8
15748 wine_fn_config_lib dxerr9
15749 wine_fn_config_dll dxgi enable_dxgi implib
15750 wine_fn_config_test dlls/dxgi/tests dxgi_test
15751 wine_fn_config_lib dxguid
15752 wine_fn_config_dll explorerframe enable_explorerframe
15753 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15754 wine_fn_config_dll faultrep enable_faultrep implib
15755 wine_fn_config_test dlls/faultrep/tests faultrep_test
15756 wine_fn_config_dll fltlib enable_fltlib
15757 wine_fn_config_dll fusion enable_fusion
15758 wine_fn_config_test dlls/fusion/tests fusion_test
15759 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15760 wine_fn_config_dll gameux enable_gameux
15761 wine_fn_config_test dlls/gameux/tests gameux_test
15762 wine_fn_config_dll gdi.exe16 enable_win16
15763 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15764 wine_fn_config_test dlls/gdi32/tests gdi32_test
15765 wine_fn_config_dll gdiplus enable_gdiplus implib
15766 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15767 wine_fn_config_dll glu32 enable_glu32 implib
15768 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15769 wine_fn_config_dll gpkcsp enable_gpkcsp
15770 wine_fn_config_dll hal enable_hal
15771 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
15772 wine_fn_config_dll hid enable_hid implib
15773 wine_fn_config_dll hlink enable_hlink implib
15774 wine_fn_config_test dlls/hlink/tests hlink_test
15775 wine_fn_config_dll hnetcfg enable_hnetcfg
15776 wine_fn_config_dll httpapi enable_httpapi
15777 wine_fn_config_dll iccvid enable_iccvid po
15778 wine_fn_config_dll icmp enable_icmp
15779 wine_fn_config_dll ieframe enable_ieframe implib,po
15780 wine_fn_config_test dlls/ieframe/tests ieframe_test
15781 wine_fn_config_dll ifsmgr.vxd enable_win16
15782 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15783 wine_fn_config_dll imagehlp enable_imagehlp implib
15784 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15785 wine_fn_config_dll imm.dll16 enable_win16
15786 wine_fn_config_dll imm32 enable_imm32 implib
15787 wine_fn_config_test dlls/imm32/tests imm32_test
15788 wine_fn_config_dll inetcomm enable_inetcomm implib
15789 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15790 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15791 wine_fn_config_dll inetmib1 enable_inetmib1
15792 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15793 wine_fn_config_dll infosoft enable_infosoft
15794 wine_fn_config_test dlls/infosoft/tests infosoft_test
15795 wine_fn_config_dll initpki enable_initpki
15796 wine_fn_config_dll inkobj enable_inkobj
15797 wine_fn_config_dll inseng enable_inseng
15798 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15799 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15800 wine_fn_config_dll itircl enable_itircl
15801 wine_fn_config_dll itss enable_itss
15802 wine_fn_config_test dlls/itss/tests itss_test
15803 wine_fn_config_dll joy.cpl enable_joy_cpl po
15804 wine_fn_config_dll jscript enable_jscript po
15805 wine_fn_config_test dlls/jscript/tests jscript_test
15806 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15807 wine_fn_config_test dlls/kernel32/tests kernel32_test
15808 wine_fn_config_dll keyboard.drv16 enable_win16
15809 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15810 wine_fn_config_dll ktmw32 enable_ktmw32
15811 wine_fn_config_dll loadperf enable_loadperf implib
15812 wine_fn_config_dll localspl enable_localspl po
15813 wine_fn_config_test dlls/localspl/tests localspl_test
15814 wine_fn_config_dll localui enable_localui po
15815 wine_fn_config_test dlls/localui/tests localui_test
15816 wine_fn_config_dll lz32 enable_lz32 implib
15817 wine_fn_config_test dlls/lz32/tests lz32_test
15818 wine_fn_config_dll lzexpand.dll16 enable_win16
15819 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15820 wine_fn_config_test dlls/mapi32/tests mapi32_test
15821 wine_fn_config_dll mapistub enable_mapistub
15822 wine_fn_config_dll mciavi32 enable_mciavi32
15823 wine_fn_config_dll mcicda enable_mcicda
15824 wine_fn_config_dll mciqtz32 enable_mciqtz32
15825 wine_fn_config_dll mciseq enable_mciseq
15826 wine_fn_config_dll mciwave enable_mciwave
15827 wine_fn_config_dll mgmtapi enable_mgmtapi
15828 wine_fn_config_dll midimap enable_midimap
15829 wine_fn_config_dll mlang enable_mlang implib
15830 wine_fn_config_test dlls/mlang/tests mlang_test
15831 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15832 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
15833 wine_fn_config_dll mmdevapi enable_mmdevapi
15834 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15835 wine_fn_config_dll mmdevldr.vxd enable_win16
15836 wine_fn_config_dll mmsystem.dll16 enable_win16
15837 wine_fn_config_dll monodebg.vxd enable_win16
15838 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15839 wine_fn_config_dll mouse.drv16 enable_win16
15840 wine_fn_config_dll mpr enable_mpr implib,po
15841 wine_fn_config_test dlls/mpr/tests mpr_test
15842 wine_fn_config_dll mprapi enable_mprapi implib
15843 wine_fn_config_dll msacm.dll16 enable_win16
15844 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15845 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15846 wine_fn_config_test dlls/msacm32/tests msacm32_test
15847 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15848 wine_fn_config_dll mscat32 enable_mscat32
15849 wine_fn_config_dll mscms enable_mscms implib
15850 wine_fn_config_test dlls/mscms/tests mscms_test
15851 wine_fn_config_dll mscoree enable_mscoree
15852 wine_fn_config_test dlls/mscoree/tests mscoree_test
15853 wine_fn_config_dll msctf enable_msctf
15854 wine_fn_config_test dlls/msctf/tests msctf_test
15855 wine_fn_config_dll msdaps enable_msdaps
15856 wine_fn_config_dll msdmo enable_msdmo implib
15857 wine_fn_config_dll msftedit enable_msftedit
15858 wine_fn_config_dll msg711.acm enable_msg711_acm
15859 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15860 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15861 wine_fn_config_dll mshtml enable_mshtml implib,po
15862 wine_fn_config_test dlls/mshtml/tests mshtml_test
15863 wine_fn_config_dll msi enable_msi implib,po
15864 wine_fn_config_test dlls/msi/tests msi_test
15865 wine_fn_config_dll msident enable_msident
15866 wine_fn_config_dll msimg32 enable_msimg32 implib
15867 wine_fn_config_dll msimsg enable_msimsg
15868 wine_fn_config_dll msimtf enable_msimtf
15869 wine_fn_config_dll msisip enable_msisip
15870 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15871 wine_fn_config_dll msls31 enable_msls31
15872 wine_fn_config_dll msnet32 enable_msnet32
15873 wine_fn_config_dll mspatcha enable_mspatcha
15874 wine_fn_config_dll msrle32 enable_msrle32 po
15875 wine_fn_config_dll mssign32 enable_mssign32
15876 wine_fn_config_dll mssip32 enable_mssip32
15877 wine_fn_config_dll mstask enable_mstask
15878 wine_fn_config_test dlls/mstask/tests mstask_test
15879 wine_fn_config_dll msvcirt enable_msvcirt
15880 wine_fn_config_dll msvcm80 enable_msvcm80
15881 wine_fn_config_dll msvcm90 enable_msvcm90
15882 wine_fn_config_dll msvcp100 enable_msvcp100
15883 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
15884 wine_fn_config_dll msvcp60 enable_msvcp60
15885 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
15886 wine_fn_config_dll msvcp70 enable_msvcp70
15887 wine_fn_config_dll msvcp71 enable_msvcp71
15888 wine_fn_config_dll msvcp80 enable_msvcp80
15889 wine_fn_config_dll msvcp90 enable_msvcp90
15890 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15891 wine_fn_config_dll msvcr100 enable_msvcr100
15892 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
15893 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15894 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15895 wine_fn_config_dll msvcr80 enable_msvcr80
15896 wine_fn_config_dll msvcr90 enable_msvcr90
15897 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15898 wine_fn_config_dll msvcrt enable_msvcrt implib
15899 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15900 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15901 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15902 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15903 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15904 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15905 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15906 wine_fn_config_dll msvidc32 enable_msvidc32 po
15907 wine_fn_config_dll msvideo.dll16 enable_win16
15908 wine_fn_config_dll mswsock enable_mswsock implib
15909 wine_fn_config_dll msxml enable_msxml
15910 wine_fn_config_dll msxml2 enable_msxml2
15911 wine_fn_config_dll msxml3 enable_msxml3
15912 wine_fn_config_test dlls/msxml3/tests msxml3_test
15913 wine_fn_config_dll msxml4 enable_msxml4
15914 wine_fn_config_dll msxml6 enable_msxml6
15915 wine_fn_config_dll nddeapi enable_nddeapi implib
15916 wine_fn_config_dll netapi32 enable_netapi32 implib
15917 wine_fn_config_test dlls/netapi32/tests netapi32_test
15918 wine_fn_config_dll newdev enable_newdev implib
15919 wine_fn_config_dll normaliz enable_normaliz implib
15920 wine_fn_config_dll npmshtml enable_npmshtml
15921 wine_fn_config_dll ntdll enable_ntdll implib
15922 wine_fn_config_test dlls/ntdll/tests ntdll_test
15923 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15924 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15925 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15926 wine_fn_config_dll ntprint enable_ntprint
15927 wine_fn_config_test dlls/ntprint/tests ntprint_test
15928 wine_fn_config_dll objsel enable_objsel
15929 wine_fn_config_dll odbc32 enable_odbc32 implib
15930 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15931 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15932 wine_fn_config_dll odbccu32 enable_odbccu32
15933 wine_fn_config_dll ole2.dll16 enable_win16
15934 wine_fn_config_dll ole2conv.dll16 enable_win16
15935 wine_fn_config_dll ole2disp.dll16 enable_win16
15936 wine_fn_config_dll ole2nls.dll16 enable_win16
15937 wine_fn_config_dll ole2prox.dll16 enable_win16
15938 wine_fn_config_dll ole2thk.dll16 enable_win16
15939 wine_fn_config_dll ole32 enable_ole32 implib
15940 wine_fn_config_test dlls/ole32/tests ole32_test
15941 wine_fn_config_dll oleacc enable_oleacc implib,po
15942 wine_fn_config_test dlls/oleacc/tests oleacc_test
15943 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15944 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15945 wine_fn_config_dll olecli.dll16 enable_win16
15946 wine_fn_config_dll olecli32 enable_olecli32 implib
15947 wine_fn_config_dll oledb32 enable_oledb32
15948 wine_fn_config_test dlls/oledb32/tests oledb32_test
15949 wine_fn_config_dll oledlg enable_oledlg implib,po
15950 wine_fn_config_dll olepro32 enable_olepro32 implib
15951 wine_fn_config_dll olesvr.dll16 enable_win16
15952 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15953 wine_fn_config_dll olethk32 enable_olethk32
15954 wine_fn_config_dll openal32 enable_openal32
15955 wine_fn_config_dll opencl enable_opencl
15956 wine_fn_config_dll opengl32 enable_opengl32 implib
15957 wine_fn_config_test dlls/opengl32/tests opengl32_test
15958 wine_fn_config_dll pdh enable_pdh implib
15959 wine_fn_config_test dlls/pdh/tests pdh_test
15960 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15961 wine_fn_config_dll pidgen enable_pidgen
15962 wine_fn_config_dll powrprof enable_powrprof implib
15963 wine_fn_config_dll printui enable_printui
15964 wine_fn_config_dll propsys enable_propsys implib
15965 wine_fn_config_test dlls/propsys/tests propsys_test
15966 wine_fn_config_dll psapi enable_psapi implib
15967 wine_fn_config_test dlls/psapi/tests psapi_test
15968 wine_fn_config_dll pstorec enable_pstorec
15969 wine_fn_config_dll qcap enable_qcap
15970 wine_fn_config_dll qedit enable_qedit
15971 wine_fn_config_test dlls/qedit/tests qedit_test
15972 wine_fn_config_dll qmgr enable_qmgr
15973 wine_fn_config_test dlls/qmgr/tests qmgr_test
15974 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15975 wine_fn_config_dll quartz enable_quartz implib
15976 wine_fn_config_test dlls/quartz/tests quartz_test
15977 wine_fn_config_dll query enable_query
15978 wine_fn_config_dll rasapi16.dll16 enable_win16
15979 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15980 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15981 wine_fn_config_dll rasdlg enable_rasdlg implib
15982 wine_fn_config_dll regapi enable_regapi
15983 wine_fn_config_dll resutils enable_resutils implib
15984 wine_fn_config_dll riched20 enable_riched20 implib
15985 wine_fn_config_test dlls/riched20/tests riched20_test
15986 wine_fn_config_dll riched32 enable_riched32
15987 wine_fn_config_test dlls/riched32/tests riched32_test
15988 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15989 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15990 wine_fn_config_dll rsabase enable_rsabase
15991 wine_fn_config_dll rsaenh enable_rsaenh implib
15992 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15993 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15994 wine_fn_config_dll rtutils enable_rtutils implib
15995 wine_fn_config_dll samlib enable_samlib
15996 wine_fn_config_dll sane.ds enable_sane_ds po
15997 wine_fn_config_dll scarddlg enable_scarddlg
15998 wine_fn_config_dll sccbase enable_sccbase
15999 wine_fn_config_dll schannel enable_schannel
16000 wine_fn_config_test dlls/schannel/tests schannel_test
16001 wine_fn_config_dll scrrun enable_scrrun
16002 wine_fn_config_test dlls/scrrun/tests scrrun_test
16003 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16004 wine_fn_config_dll secur32 enable_secur32 implib
16005 wine_fn_config_test dlls/secur32/tests secur32_test
16006 wine_fn_config_dll security enable_security
16007 wine_fn_config_dll sensapi enable_sensapi implib
16008 wine_fn_config_dll serialui enable_serialui implib,po
16009 wine_fn_config_test dlls/serialui/tests serialui_test
16010 wine_fn_config_dll setupapi enable_setupapi implib,po
16011 wine_fn_config_test dlls/setupapi/tests setupapi_test
16012 wine_fn_config_dll setupx.dll16 enable_win16
16013 wine_fn_config_dll sfc enable_sfc implib
16014 wine_fn_config_dll sfc_os enable_sfc_os implib
16015 wine_fn_config_dll shdoclc enable_shdoclc po
16016 wine_fn_config_dll shdocvw enable_shdocvw implib
16017 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
16018 wine_fn_config_dll shell.dll16 enable_win16
16019 wine_fn_config_dll shell32 enable_shell32 implib,po
16020 wine_fn_config_test dlls/shell32/tests shell32_test
16021 wine_fn_config_dll shfolder enable_shfolder implib
16022 wine_fn_config_dll shlwapi enable_shlwapi implib,po
16023 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
16024 wine_fn_config_dll slbcsp enable_slbcsp
16025 wine_fn_config_dll slc enable_slc implib
16026 wine_fn_config_dll snmpapi enable_snmpapi implib
16027 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
16028 wine_fn_config_dll softpub enable_softpub
16029 wine_fn_config_dll sound.drv16 enable_win16
16030 wine_fn_config_dll spoolss enable_spoolss implib
16031 wine_fn_config_test dlls/spoolss/tests spoolss_test
16032 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16033 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16034 wine_fn_config_dll sti enable_sti implib
16035 wine_fn_config_test dlls/sti/tests sti_test
16036 wine_fn_config_dll storage.dll16 enable_win16
16037 wine_fn_config_dll stress.dll16 enable_win16
16038 wine_fn_config_lib strmbase
16039 wine_fn_config_lib strmiids
16040 wine_fn_config_dll svrapi enable_svrapi
16041 wine_fn_config_dll sxs enable_sxs implib
16042 wine_fn_config_test dlls/sxs/tests sxs_test
16043 wine_fn_config_dll system.drv16 enable_win16
16044 wine_fn_config_dll t2embed enable_t2embed
16045 wine_fn_config_dll tapi32 enable_tapi32 implib
16046 wine_fn_config_dll toolhelp.dll16 enable_win16
16047 wine_fn_config_dll traffic enable_traffic
16048 wine_fn_config_dll twain.dll16 enable_win16
16049 wine_fn_config_dll twain_32 enable_twain_32
16050 wine_fn_config_test dlls/twain_32/tests twain_32_test
16051 wine_fn_config_dll typelib.dll16 enable_win16
16052 wine_fn_config_dll unicows enable_unicows implib
16053 wine_fn_config_dll updspapi enable_updspapi
16054 wine_fn_config_dll url enable_url implib
16055 wine_fn_config_dll urlmon enable_urlmon implib,po
16056 wine_fn_config_test dlls/urlmon/tests urlmon_test
16057 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16058 wine_fn_config_dll user.exe16 enable_win16
16059 wine_fn_config_dll user32 enable_user32 implib,po
16060 wine_fn_config_test dlls/user32/tests user32_test
16061 wine_fn_config_dll userenv enable_userenv implib
16062 wine_fn_config_test dlls/userenv/tests userenv_test
16063 wine_fn_config_dll usp10 enable_usp10 implib
16064 wine_fn_config_test dlls/usp10/tests usp10_test
16065 wine_fn_config_lib uuid
16066 wine_fn_config_dll uxtheme enable_uxtheme implib
16067 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16068 wine_fn_config_dll vbscript enable_vbscript
16069 wine_fn_config_test dlls/vbscript/tests vbscript_test
16070 wine_fn_config_dll vcomp enable_vcomp
16071 wine_fn_config_dll vcomp100 enable_vcomp100
16072 wine_fn_config_dll vcomp90 enable_vcomp90
16073 wine_fn_config_dll vdhcp.vxd enable_win16
16074 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16075 wine_fn_config_dll ver.dll16 enable_win16
16076 wine_fn_config_dll version enable_version implib
16077 wine_fn_config_test dlls/version/tests version_test
16078 wine_fn_config_dll vmm.vxd enable_win16
16079 wine_fn_config_dll vnbt.vxd enable_win16
16080 wine_fn_config_dll vnetbios.vxd enable_win16
16081 wine_fn_config_dll vtdapi.vxd enable_win16
16082 wine_fn_config_dll vwin32.vxd enable_win16
16083 wine_fn_config_dll w32skrnl enable_win16
16084 wine_fn_config_dll w32sys.dll16 enable_win16
16085 wine_fn_config_dll wbemprox enable_wbemprox
16086 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16087 wine_fn_config_dll wer enable_wer implib
16088 wine_fn_config_test dlls/wer/tests wer_test
16089 wine_fn_config_dll wevtapi enable_wevtapi
16090 wine_fn_config_dll wiaservc enable_wiaservc
16091 wine_fn_config_dll win32s16.dll16 enable_win16
16092 wine_fn_config_dll win87em.dll16 enable_win16
16093 wine_fn_config_dll winaspi.dll16 enable_win16
16094 wine_fn_config_dll windebug.dll16 enable_win16
16095 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16096 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16097 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16098 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16099 wine_fn_config_lib winecrt0
16100 wine_fn_config_dll wined3d enable_wined3d implib
16101 wine_fn_config_dll winegstreamer enable_winegstreamer
16102 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16103 wine_fn_config_dll winemac.drv enable_winemac_drv
16104 wine_fn_config_dll winemapi enable_winemapi
16105 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16106 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16107 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16108 wine_fn_config_dll wineps16.drv16 enable_win16
16109 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16110 wine_fn_config_dll winex11.drv enable_winex11_drv
16111 wine_fn_config_dll wing.dll16 enable_win16
16112 wine_fn_config_dll wing32 enable_wing32
16113 wine_fn_config_dll winhttp enable_winhttp implib
16114 wine_fn_config_test dlls/winhttp/tests winhttp_test
16115 wine_fn_config_dll wininet enable_wininet implib,po
16116 wine_fn_config_test dlls/wininet/tests wininet_test
16117 wine_fn_config_dll winmm enable_winmm implib,po
16118 wine_fn_config_test dlls/winmm/tests winmm_test
16119 wine_fn_config_dll winnls.dll16 enable_win16
16120 wine_fn_config_dll winnls32 enable_winnls32 implib
16121 wine_fn_config_dll winscard enable_winscard implib
16122 wine_fn_config_dll winsock.dll16 enable_win16
16123 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16124 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16125 wine_fn_config_dll winsta enable_winsta
16126 wine_fn_config_dll wintab.dll16 enable_win16
16127 wine_fn_config_dll wintab32 enable_wintab32 implib
16128 wine_fn_config_test dlls/wintab32/tests wintab32_test
16129 wine_fn_config_dll wintrust enable_wintrust implib
16130 wine_fn_config_test dlls/wintrust/tests wintrust_test
16131 wine_fn_config_dll wlanapi enable_wlanapi
16132 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16133 wine_fn_config_test dlls/wldap32/tests wldap32_test
16134 wine_fn_config_dll wmi enable_wmi
16135 wine_fn_config_dll wmiutils enable_wmiutils
16136 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16137 wine_fn_config_dll wmvcore enable_wmvcore
16138 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16139 wine_fn_config_dll wow32 enable_win16 implib
16140 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16141 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16142 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16143 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
16144 wine_fn_config_dll wsnmp32 enable_wsnmp32
16145 wine_fn_config_dll wsock32 enable_wsock32 implib
16146 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16147 wine_fn_config_dll wuapi enable_wuapi
16148 wine_fn_config_dll wuaueng enable_wuaueng
16149 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16150 wine_fn_config_dll xinput1_1 enable_xinput1_1
16151 wine_fn_config_dll xinput1_2 enable_xinput1_2
16152 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16153 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16154 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16155 wine_fn_config_dll xmllite enable_xmllite
16156 wine_fn_config_test dlls/xmllite/tests xmllite_test
16157 wine_fn_config_dll xolehlp enable_xolehlp
16158 wine_fn_config_dll xpsprint enable_xpsprint
16159 wine_fn_config_dll xpssvcs enable_xpssvcs
16160 wine_fn_config_makefile documentation enable_documentation
16161 wine_fn_config_makefile fonts enable_fonts install-lib
16162 wine_fn_config_makefile include enable_include install-dev
16163 wine_fn_config_makefile libs/port enable_libs_port
16164 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
16165 wine_fn_config_makefile libs/wpp enable_libs_wpp
16166 wine_fn_config_makefile loader enable_loader install-lib,manpage
16167 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16168 wine_fn_config_program attrib enable_attrib install,po
16169 wine_fn_config_program cabarc enable_cabarc install
16170 wine_fn_config_program cacls enable_cacls install
16171 wine_fn_config_program clock enable_clock install,po
16172 wine_fn_config_program cmd enable_cmd install,po
16173 wine_fn_config_test programs/cmd/tests cmd.exe_test
16174 wine_fn_config_program conhost enable_conhost install
16175 wine_fn_config_program control enable_control install
16176 wine_fn_config_program cscript enable_cscript install
16177 wine_fn_config_program dxdiag enable_dxdiag install,po
16178 wine_fn_config_program eject enable_eject install
16179 wine_fn_config_program expand enable_expand install
16180 wine_fn_config_program explorer enable_explorer install,po
16181 wine_fn_config_program extrac32 enable_extrac32 install
16182 wine_fn_config_program findstr enable_findstr install
16183 wine_fn_config_program hh enable_hh install
16184 wine_fn_config_program hostname enable_hostname install,po
16185 wine_fn_config_program icinfo enable_icinfo install
16186 wine_fn_config_program iexplore enable_iexplore install
16187 wine_fn_config_program ipconfig enable_ipconfig install,po
16188 wine_fn_config_program lodctr enable_lodctr install
16189 wine_fn_config_program mofcomp enable_mofcomp install
16190 wine_fn_config_program mshta enable_mshta install
16191 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16192 wine_fn_config_program net enable_net install,po
16193 wine_fn_config_program netsh enable_netsh install
16194 wine_fn_config_program netstat enable_netstat install,po
16195 wine_fn_config_program ngen enable_ngen install
16196 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16197 wine_fn_config_program oleview enable_oleview install,po
16198 wine_fn_config_program ping enable_ping install
16199 wine_fn_config_program plugplay enable_plugplay install
16200 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16201 wine_fn_config_program progman enable_progman install,po
16202 wine_fn_config_program reg enable_reg install,po
16203 wine_fn_config_program regasm enable_regasm install
16204 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16205 wine_fn_config_test programs/regedit/tests regedit.exe_test
16206 wine_fn_config_program regsvcs enable_regsvcs install
16207 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16208 wine_fn_config_program rpcss enable_rpcss install
16209 wine_fn_config_program rundll.exe16 enable_win16 install
16210 wine_fn_config_program rundll32 enable_rundll32 install
16211 wine_fn_config_program sc enable_sc install
16212 wine_fn_config_program schtasks enable_schtasks install
16213 wine_fn_config_program secedit enable_secedit install
16214 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16215 wine_fn_config_program services enable_services install
16216 wine_fn_config_test programs/services/tests services.exe_test
16217 wine_fn_config_program spoolsv enable_spoolsv install
16218 wine_fn_config_program start enable_start install,po
16219 wine_fn_config_program svchost enable_svchost install
16220 wine_fn_config_program taskkill enable_taskkill install,po
16221 wine_fn_config_program taskmgr enable_taskmgr install,po
16222 wine_fn_config_program termsv enable_termsv install
16223 wine_fn_config_program uninstaller enable_uninstaller install,po
16224 wine_fn_config_program unlodctr enable_unlodctr install
16225 wine_fn_config_program view enable_view install,po
16226 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16227 wine_fn_config_program winebrowser enable_winebrowser install
16228 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16229 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16230 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16231 wine_fn_config_program winedevice enable_winedevice install
16232 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16233 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16234 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16235 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16236 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16237 wine_fn_config_program winetest enable_winetest
16238 wine_fn_config_program winevdm enable_win16 install
16239 wine_fn_config_program winhelp.exe16 enable_win16 install
16240 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16241 wine_fn_config_program winoldap.mod16 enable_win16 install
16242 wine_fn_config_program winver enable_winver install
16243 wine_fn_config_program wmic enable_wmic install,po
16244 wine_fn_config_program wordpad enable_wordpad install,po
16245 wine_fn_config_program write enable_write install,po
16246 wine_fn_config_program wscript enable_wscript install
16247 wine_fn_config_test programs/wscript/tests wscript.exe_test
16248 wine_fn_config_program wusa enable_wusa install
16249 wine_fn_config_program xcopy enable_xcopy install,po
16250 wine_fn_config_makefile server enable_server install-lib,manpage
16251 wine_fn_config_tool tools install-dev,install-lib,manpage
16252 wine_fn_config_tool tools/widl install-dev,manpage
16253 wine_fn_config_tool tools/winebuild install-dev,manpage
16254 wine_fn_config_tool tools/winedump install-dev,manpage
16255 wine_fn_config_tool tools/winegcc install-dev,manpage
16256 wine_fn_config_tool tools/wmc install-dev,manpage
16257 wine_fn_config_tool tools/wrc install-dev,manpage
16307 ac_config_commands="$ac_config_commands Makefile"
16310 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16314 if test "x$enable_maintainer_mode" = xyes
16316 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
16317 cd \$(srcdir) && autoconf --warnings=all
16318 \$(srcdir)/include/config.h.in: include/stamp-h.in
16319 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16320 cd \$(srcdir) && autoheader --warnings=all
16321 @echo timestamp > \$@"
16324 if test "x$with_gettextpo" = xyes
16326 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16327 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
16328 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16329 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16330 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16331 msgcat -o \$@ \$(ALL_POT_FILES)"
16334 if test "$MSGFMT" != false
16336 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16338 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
16343 if test "x$enable_tools" != xno
16345 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16347 \$(RM) tools/makedep\$(EXEEXT)"
16350 if test -n "$with_wine64"
16352 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16353 fonts server tools:
16354 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16355 $with_wine64/loader/wine:
16356 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16357 $with_wine64/loader/wine-preloader:
16358 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16360 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16363 cat >confcache <<\_ACEOF
16364 # This file is a shell script that caches the results of configure
16365 # tests run on this system so they can be shared between configure
16366 # scripts and configure runs, see configure's option --config-cache.
16367 # It is not useful on other systems. If it contains results you don't
16368 # want to keep, you may remove or edit it.
16370 # config.status only pays attention to the cache file if you give it
16371 # the --recheck option to rerun configure.
16373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16375 # following values.
16379 # The following way of writing the cache mishandles newlines in values,
16380 # but we know of no workaround that is simple, portable, and efficient.
16381 # So, we kill variables containing newlines.
16382 # Ultrix sh set writes to stderr and can't be redirected directly,
16383 # and sets the high bit in the cache file unless we assign to the vars.
16385 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16386 eval ac_val=\$$ac_var
16390 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16391 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16394 _ | IFS | as_nl) ;; #(
16395 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16396 *) { eval $ac_var=; unset $ac_var;} ;;
16402 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16403 *${as_nl}ac_space=\ *)
16404 # `set' does not quote correctly, so add quotes: double-quote
16405 # substitution turns \\\\ into \\, and sed turns \\ into \.
16408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16411 # `set' quotes correctly as required by POSIX, so do not add quotes.
16412 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16421 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16423 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16425 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16426 if test -w "$cache_file"; then
16427 if test "x$cache_file" != "x/dev/null"; then
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16429 $as_echo "$as_me: updating cache $cache_file" >&6;}
16430 if test ! -f "$cache_file" || test -h "$cache_file"; then
16431 cat confcache >"$cache_file"
16433 case $cache_file in #(
16435 mv -f confcache "$cache_file"$$ &&
16436 mv -f "$cache_file"$$ "$cache_file" ;; #(
16438 mv -f confcache "$cache_file" ;;
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16444 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16449 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16450 # Let make expand exec_prefix.
16451 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16453 DEFS=-DHAVE_CONFIG_H
16458 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16459 # 1. Remove the extension, and $U if already installed.
16460 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16461 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16462 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16463 # will be set to the directory where LIBOBJS objects are built.
16464 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16465 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16467 LIBOBJS=$ac_libobjs
16469 LTLIBOBJS=$ac_ltlibobjs
16473 : "${CONFIG_STATUS=./config.status}"
16475 ac_clean_files_save=$ac_clean_files
16476 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16478 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16480 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16482 # Generated by $as_me.
16483 # Run this file to recreate the current configuration.
16484 # Compiler output produced by configure, useful for debugging
16485 # configure, is in config.log if it exists.
16488 ac_cs_recheck=false
16491 SHELL=\${CONFIG_SHELL-$SHELL}
16494 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16495 ## -------------------- ##
16496 ## M4sh Initialization. ##
16497 ## -------------------- ##
16499 # Be more Bourne compatible
16500 DUALCASE=1; export DUALCASE # for MKS sh
16501 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16504 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16505 # is contrary to our usage. Disable this feature.
16506 alias -g '${1+"$@"}'='"$@"'
16507 setopt NO_GLOB_SUBST
16509 case `(set -o) 2>/dev/null` in #(
16521 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16522 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16523 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16525 # Prefer a ksh shell builtin over an external printf program on Solaris,
16526 # but without wasting forks for bash or zsh.
16527 if test -z "$BASH_VERSION$ZSH_VERSION" \
16528 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16529 as_echo='print -r --'
16530 as_echo_n='print -rn --'
16531 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16532 as_echo='printf %s\n'
16533 as_echo_n='printf %s'
16535 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16536 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16537 as_echo_n='/usr/ucb/echo -n'
16539 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16540 as_echo_n_body='eval
16544 expr "X$arg" : "X\\(.*\\)$as_nl";
16545 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16547 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16549 export as_echo_n_body
16550 as_echo_n='sh -c $as_echo_n_body as_echo'
16552 export as_echo_body
16553 as_echo='sh -c $as_echo_body as_echo'
16556 # The user is always right.
16557 if test "${PATH_SEPARATOR+set}" != set; then
16559 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16560 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16567 # We need space, tab and new line, in precisely that order. Quoting is
16568 # there to prevent editors from complaining about space-tab.
16569 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16570 # splitting by setting IFS to empty value.)
16573 # Find who we are. Look in the path if we contain no directory separator.
16576 *[\\/]* ) as_myself=$0 ;;
16577 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16578 for as_dir in $PATH
16581 test -z "$as_dir" && as_dir=.
16582 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16588 # We did not find ourselves, most probably we were run as `sh COMMAND'
16589 # in which case we are not to be found in the path.
16590 if test "x$as_myself" = x; then
16593 if test ! -f "$as_myself"; then
16594 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16598 # Unset variables that we do not need and which cause bugs (e.g. in
16599 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16600 # suppresses any "Segmentation fault" message there. '((' could
16601 # trigger a bug in pdksh 5.2.14.
16602 for as_var in BASH_ENV ENV MAIL MAILPATH
16603 do eval test x\${$as_var+set} = xset \
16604 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16617 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16620 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16621 # ----------------------------------------
16622 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16623 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16624 # script with STATUS, using 1 if that was 0.
16627 as_status=$1; test $as_status -eq 0 && as_status=1
16629 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16630 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16632 $as_echo "$as_me: error: $2" >&2
16633 as_fn_exit $as_status
16637 # as_fn_set_status STATUS
16638 # -----------------------
16639 # Set $? to STATUS, without forking.
16640 as_fn_set_status ()
16643 } # as_fn_set_status
16645 # as_fn_exit STATUS
16646 # -----------------
16647 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16651 as_fn_set_status $1
16657 # Portably unset VAR.
16660 { eval $1=; unset $1;}
16662 as_unset=as_fn_unset
16663 # as_fn_append VAR VALUE
16664 # ----------------------
16665 # Append the text in VALUE to the end of the definition contained in VAR. Take
16666 # advantage of any shell optimizations that allow amortized linear growth over
16667 # repeated appends, instead of the typical quadratic growth present in naive
16669 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16670 eval 'as_fn_append ()
16681 # as_fn_arith ARG...
16682 # ------------------
16683 # Perform arithmetic evaluation on the ARGs, and store the result in the
16684 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16685 # must be portable across $(()) and expr.
16686 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16687 eval 'as_fn_arith ()
16694 as_val=`expr "$@" || test $? -eq 1`
16699 if expr a : '\(a\)' >/dev/null 2>&1 &&
16700 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16706 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16707 as_basename=basename
16712 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16718 as_me=`$as_basename -- "$0" ||
16719 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16720 X"$0" : 'X\(//\)$' \| \
16721 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16723 sed '/^.*\/\([^/][^/]*\)\/*$/{
16737 # Avoid depending upon Character Ranges.
16738 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16739 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16740 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16741 as_cr_digits='0123456789'
16742 as_cr_alnum=$as_cr_Letters$as_cr_digits
16744 ECHO_C= ECHO_N= ECHO_T=
16745 case `echo -n x` in #(((((
16747 case `echo 'xy\c'` in
16748 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16750 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16757 rm -f conf$$ conf$$.exe conf$$.file
16758 if test -d conf$$.dir; then
16759 rm -f conf$$.dir/conf$$.file
16762 mkdir conf$$.dir 2>/dev/null
16764 if (echo >conf$$.file) 2>/dev/null; then
16765 if ln -s conf$$.file conf$$ 2>/dev/null; then
16767 # ... but there are two gotchas:
16768 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16769 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16770 # In both cases, we have to default to `cp -pR'.
16771 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16773 elif ln conf$$.file conf$$ 2>/dev/null; then
16781 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16782 rmdir conf$$.dir 2>/dev/null
16787 # Create "$as_dir" as a directory, including parents if necessary.
16792 -*) as_dir=./$as_dir;;
16794 test -d "$as_dir" || eval $as_mkdir_p || {
16798 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16799 *) as_qdir=$as_dir;;
16801 as_dirs="'$as_qdir' $as_dirs"
16802 as_dir=`$as_dirname -- "$as_dir" ||
16803 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16804 X"$as_dir" : 'X\(//\)[^/]' \| \
16805 X"$as_dir" : 'X\(//\)$' \| \
16806 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16807 $as_echo X"$as_dir" |
16808 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16812 /^X\(\/\/\)[^/].*/{
16825 test -d "$as_dir" && break
16827 test -z "$as_dirs" || eval "mkdir $as_dirs"
16828 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16832 if mkdir -p . 2>/dev/null; then
16833 as_mkdir_p='mkdir -p "$as_dir"'
16835 test -d ./-p && rmdir ./-p
16840 # as_fn_executable_p FILE
16841 # -----------------------
16842 # Test if FILE is an executable regular file.
16843 as_fn_executable_p ()
16845 test -f "$1" && test -x "$1"
16846 } # as_fn_executable_p
16847 as_test_x='test -x'
16848 as_executable_p=as_fn_executable_p
16850 # Sed expression to map a string onto a valid CPP name.
16851 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16853 # Sed expression to map a string onto a valid variable name.
16854 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16858 ## ----------------------------------- ##
16859 ## Main body of $CONFIG_STATUS script. ##
16860 ## ----------------------------------- ##
16862 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16865 # Save the log message, to keep $0 and so on meaningful, and to
16866 # report actual input values of CONFIG_FILES etc. instead of their
16867 # values after options handling.
16869 This file was extended by Wine $as_me 1.5.21, which was
16870 generated by GNU Autoconf 2.69. Invocation command line was
16872 CONFIG_FILES = $CONFIG_FILES
16873 CONFIG_HEADERS = $CONFIG_HEADERS
16874 CONFIG_LINKS = $CONFIG_LINKS
16875 CONFIG_COMMANDS = $CONFIG_COMMANDS
16878 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16883 case $ac_config_files in *"
16884 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16887 case $ac_config_headers in *"
16888 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16893 # Files that config.status was made for.
16894 config_files="$ac_config_files"
16895 config_headers="$ac_config_headers"
16896 config_links="$ac_config_links"
16897 config_commands="$ac_config_commands"
16901 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16903 \`$as_me' instantiates files and other configuration actions
16904 from templates according to the current configuration. Unless the files
16905 and actions are specified as TAGs, all are instantiated by default.
16907 Usage: $0 [OPTION]... [TAG]...
16909 -h, --help print this help, then exit
16910 -V, --version print version number and configuration settings, then exit
16911 --config print configuration, then exit
16912 -q, --quiet, --silent
16913 do not print progress messages
16914 -d, --debug don't remove temporary files
16915 --recheck update $as_me by reconfiguring in the same conditions
16916 --file=FILE[:TEMPLATE]
16917 instantiate the configuration file FILE
16918 --header=FILE[:TEMPLATE]
16919 instantiate the configuration header FILE
16921 Configuration files:
16924 Configuration headers:
16927 Configuration links:
16930 Configuration commands:
16933 Report bugs to <wine-devel@winehq.org>.
16934 Wine home page: <http://www.winehq.org>."
16937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16938 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16940 Wine config.status 1.5.21
16941 configured by $0, generated by GNU Autoconf 2.69,
16942 with options \\"\$ac_cs_config\\"
16944 Copyright (C) 2012 Free Software Foundation, Inc.
16945 This config.status script is free software; the Free Software Foundation
16946 gives unlimited permission to copy, distribute and modify it."
16951 test -n "\$AWK" || AWK=awk
16954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16955 # The default lists apply if the user does not specify any file.
16961 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16962 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16966 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16978 # Handling of the options.
16979 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16981 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16982 $as_echo "$ac_cs_version"; exit ;;
16983 --config | --confi | --conf | --con | --co | --c )
16984 $as_echo "$ac_cs_config"; exit ;;
16985 --debug | --debu | --deb | --de | --d | -d )
16987 --file | --fil | --fi | --f )
16990 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16991 '') as_fn_error $? "missing file argument" ;;
16993 as_fn_append CONFIG_FILES " '$ac_optarg'"
16994 ac_need_defaults=false;;
16995 --header | --heade | --head | --hea )
16998 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17000 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17001 ac_need_defaults=false;;
17003 # Conflict between --help and --header
17004 as_fn_error $? "ambiguous option: \`$1'
17005 Try \`$0 --help' for more information.";;
17006 --help | --hel | -h )
17007 $as_echo "$ac_cs_usage"; exit ;;
17008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17009 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17012 # This is an error.
17013 -*) as_fn_error $? "unrecognized option: \`$1'
17014 Try \`$0 --help' for more information." ;;
17016 *) as_fn_append ac_config_targets " $1"
17017 ac_need_defaults=false ;;
17023 ac_configure_extra_args=
17025 if $ac_cs_silent; then
17027 ac_configure_extra_args="$ac_configure_extra_args --silent"
17031 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17032 if \$ac_cs_recheck; then
17033 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17035 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17036 CONFIG_SHELL='$SHELL'
17037 export CONFIG_SHELL
17042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17046 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17047 ## Running $as_me. ##
17053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17057 wine_fn_output_makefile ()
17059 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17060 $ALL_MAKEFILE_DEPENDS
17062 as_fn_error $? "could not create Makefile" "$LINENO" 5
17067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17069 # Handling of arguments.
17070 for ac_config_target in $ac_config_targets
17072 case $ac_config_target in
17073 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17074 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17075 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17076 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17077 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17078 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17079 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17080 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17081 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17082 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17083 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17084 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17085 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17086 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17087 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17088 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17089 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17090 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17091 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17092 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17093 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17094 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17095 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17096 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17097 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17098 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17100 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17105 # If the user did not use the arguments to specify the items to instantiate,
17106 # then the envvar interface is used. Set only those that are not.
17107 # We use the long form for the default assignment because of an extremely
17108 # bizarre bug on SunOS 4.1.3.
17109 if $ac_need_defaults; then
17110 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17111 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17112 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17113 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17116 # Have a temporary directory for convenience. Make it in the build tree
17117 # simply because there is no reason against having it here, and in addition,
17118 # creating and moving files from /tmp can sometimes cause problems.
17119 # Hook for its removal unless debugging.
17120 # Note that there is a small window in which the directory will not be cleaned:
17121 # after its creation but before its name has been assigned to `$tmp'.
17125 trap 'exit_status=$?
17126 : "${ac_tmp:=$tmp}"
17127 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17129 trap 'as_fn_exit 1' 1 2 13 15
17131 # Create a (secure) tmp directory for tmp files.
17134 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17138 tmp=./conf$$-$RANDOM
17139 (umask 077 && mkdir "$tmp")
17140 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17143 # Set up the scripts for CONFIG_FILES section.
17144 # No need to generate them if there are no CONFIG_FILES.
17145 # This happens for instance with `./config.status config.h'.
17146 if test -n "$CONFIG_FILES"; then
17148 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17149 ac_cs_awk_getline=:
17150 ac_cs_awk_pipe_init=
17151 ac_cs_awk_read_file='
17152 while ((getline aline < (F[key])) > 0)
17155 ac_cs_awk_pipe_fini=
17157 ac_cs_awk_getline=false
17158 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17159 ac_cs_awk_read_file='
17161 print "cat " F[key] " &&"
17162 '$ac_cs_awk_pipe_init
17163 # The final `:' finishes the AND list.
17164 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17166 ac_cr=`echo X | tr X '\015'`
17167 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17168 # But we know of no other shell where ac_cr would be empty at this
17169 # point, so we can use a bashism as a fallback.
17170 if test "x$ac_cr" = x; then
17171 eval ac_cr=\$\'\\r\'
17173 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17174 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17177 ac_cs_awk_cr=$ac_cr
17180 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17183 # Create commands to substitute file output variables.
17185 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17186 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17187 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17190 } >conf$$files.sh &&
17191 . ./conf$$files.sh ||
17192 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17193 rm -f conf$$files.sh
17196 echo "cat >conf$$subs.awk <<_ACEOF" &&
17197 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17199 } >conf$$subs.sh ||
17200 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17201 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17203 for ac_last_try in false false false false false :; do
17204 . ./conf$$subs.sh ||
17205 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17207 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17208 if test $ac_delim_n = $ac_delim_num; then
17210 elif $ac_last_try; then
17211 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17213 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17216 rm -f conf$$subs.sh
17218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17219 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17223 s/^/S["/; s/!.*/"]=/
17233 s/\(.\{148\}\)..*/\1/
17235 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17240 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17247 s/\(.\{148\}\)..*/\1/
17249 s/["\\]/\\&/g; s/^/"/; s/$/"/
17253 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17258 ' <conf$$subs.awk | sed '
17263 ' >>$CONFIG_STATUS || ac_write_fail=1
17264 rm -f conf$$subs.awk
17265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17267 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17268 for (key in S) S_is_set[key] = 1
17270 \$ac_cs_awk_pipe_init
17274 nfields = split(line, field, "@")
17276 len = length(field[1])
17277 for (i = 2; i < nfields; i++) {
17279 keylen = length(key)
17280 if (S_is_set[key]) {
17282 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17283 len += length(value) + length(field[++i])
17288 if (nfields == 3 && !substed) {
17290 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17291 \$ac_cs_awk_read_file
17297 \$ac_cs_awk_pipe_fini
17300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17301 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17302 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17305 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17306 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17309 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17310 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17311 # trailing colons and then remove the whole line if VPATH becomes empty
17312 # (actually we leave an empty line to preserve line numbers).
17313 if test "x$srcdir" = x.; then
17314 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17333 fi # test -n "$CONFIG_FILES"
17335 # Set up the scripts for CONFIG_HEADERS section.
17336 # No need to generate them if there are no CONFIG_HEADERS.
17337 # This happens for instance with `./config.status Makefile'.
17338 if test -n "$CONFIG_HEADERS"; then
17339 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17343 # Transform confdefs.h into an awk script `defines.awk', embedded as
17344 # here-document in config.status, that substitutes the proper values into
17345 # config.h.in to produce config.h.
17347 # Create a delimiter string that does not exist in confdefs.h, to ease
17348 # handling of long lines.
17350 for ac_last_try in false false :; do
17351 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17352 if test -z "$ac_tt"; then
17354 elif $ac_last_try; then
17355 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17357 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17361 # For the awk script, D is an array of macro values keyed by name,
17362 # likewise P contains macro parameters if any. Preserve backslash
17363 # newline sequences.
17365 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17367 s/.\{148\}/&'"$ac_delim"'/g
17370 s/^[ ]*#[ ]*define[ ][ ]*/ /
17377 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17379 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17383 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17384 D["\1"]=" \3\\\\\\n"\\/p
17386 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17391 s/.\{148\}/&'"$ac_delim"'/g
17396 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17399 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17401 ' <confdefs.h | sed '
17402 s/'"$ac_delim"'/"\\\
17403 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17406 for (key in D) D_is_set[key] = 1
17409 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17411 split(line, arg, " ")
17412 if (arg[1] == "#") {
17416 defundef = substr(arg[1], 2)
17419 split(mac1, mac2, "(") #)
17421 prefix = substr(line, 1, index(line, defundef) - 1)
17422 if (D_is_set[macro]) {
17423 # Preserve the white space surrounding the "#".
17424 print prefix "define", macro P[macro] D[macro]
17427 # Replace #undef with comments. This is necessary, for example,
17428 # in the case of _POSIX_SOURCE, which is predefined and required
17429 # on some systems where configure will not decide to define it.
17430 if (defundef == "undef") {
17431 print "/*", prefix defundef, macro, "*/"
17439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17440 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17441 fi # test -n "$CONFIG_HEADERS"
17444 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17449 :[FHLC]) ac_mode=$ac_tag; continue;;
17451 case $ac_mode$ac_tag in
17453 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17454 :[FH]-) ac_tag=-:-;;
17455 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17472 -) ac_f="$ac_tmp/stdin";;
17473 *) # Look for the file first in the build tree, then in the source tree
17474 # (if the path is not absolute). The absolute path cannot be DOS-style,
17475 # because $ac_f cannot contain `:'.
17479 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17481 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17483 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17484 as_fn_append ac_file_inputs " '$ac_f'"
17487 # Let's still pretend it is `configure' which instantiates (i.e., don't
17488 # use $as_me), people would be surprised to read:
17489 # /* config.h. Generated by config.status. */
17490 configure_input='Generated from '`
17491 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17493 if test x"$ac_file" != x-; then
17494 configure_input="$ac_file. $configure_input"
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17496 $as_echo "$as_me: creating $ac_file" >&6;}
17498 # Neutralize special characters interpreted by sed in replacement strings.
17499 case $configure_input in #(
17500 *\&* | *\|* | *\\* )
17501 ac_sed_conf_input=`$as_echo "$configure_input" |
17502 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17503 *) ac_sed_conf_input=$configure_input;;
17507 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17513 ac_dir=`$as_dirname -- "$ac_file" ||
17514 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17515 X"$ac_file" : 'X\(//\)[^/]' \| \
17516 X"$ac_file" : 'X\(//\)$' \| \
17517 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17518 $as_echo X"$ac_file" |
17519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17523 /^X\(\/\/\)[^/].*/{
17536 as_dir="$ac_dir"; as_fn_mkdir_p
17540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17543 # A ".." for each directory in $ac_dir_suffix.
17544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17545 case $ac_top_builddir_sub in
17546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17550 ac_abs_top_builddir=$ac_pwd
17551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17552 # for backward compatibility:
17553 ac_top_builddir=$ac_top_build_prefix
17556 .) # We are building in place.
17558 ac_top_srcdir=$ac_top_builddir_sub
17559 ac_abs_top_srcdir=$ac_pwd ;;
17560 [\\/]* | ?:[\\/]* ) # Absolute name.
17561 ac_srcdir=$srcdir$ac_dir_suffix;
17562 ac_top_srcdir=$srcdir
17563 ac_abs_top_srcdir=$srcdir ;;
17564 *) # Relative name.
17565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17566 ac_top_srcdir=$ac_top_build_prefix$srcdir
17567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17579 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17580 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17585 # If the template does not know about datarootdir, expand it.
17586 # FIXME: This hack should be removed a few years after 2.60.
17587 ac_datarootdir_hack=; ac_datarootdir_seen=
17598 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17599 *datarootdir*) ac_datarootdir_seen=yes;;
17600 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17602 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17605 ac_datarootdir_hack='
17606 s&@datadir@&$datadir&g
17607 s&@docdir@&$docdir&g
17608 s&@infodir@&$infodir&g
17609 s&@localedir@&$localedir&g
17610 s&@mandir@&$mandir&g
17611 s&\\\${datarootdir}&$datarootdir&g' ;;
17615 # Neutralize VPATH when `$srcdir' = `.'.
17616 # Shell code in configure.ac might set extrasub.
17617 # FIXME: do we really want to maintain this feature?
17618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17619 ac_sed_extra="$ac_vpsub
17622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17624 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17625 s|@configure_input@|$ac_sed_conf_input|;t t
17626 s&@top_builddir@&$ac_top_builddir_sub&;t t
17627 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17628 s&@srcdir@&$ac_srcdir&;t t
17629 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17630 s&@top_srcdir@&$ac_top_srcdir&;t t
17631 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17632 s&@builddir@&$ac_builddir&;t t
17633 s&@abs_builddir@&$ac_abs_builddir&;t t
17634 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17635 s&@INSTALL@&$ac_INSTALL&;t t
17636 $ac_datarootdir_hack
17638 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17639 if $ac_cs_awk_getline; then
17640 $AWK -f "$ac_tmp/subs.awk"
17642 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17644 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17646 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17647 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17648 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17649 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17651 which seems to be undefined. Please make sure it is defined" >&5
17652 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17653 which seems to be undefined. Please make sure it is defined" >&2;}
17655 rm -f "$ac_tmp/stdin"
17657 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17658 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17660 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17666 if test x"$ac_file" != x-; then
17668 $as_echo "/* $configure_input */" \
17669 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17670 } >"$ac_tmp/config.h" \
17671 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17672 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17674 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17677 mv "$ac_tmp/config.h" "$ac_file" \
17678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17681 $as_echo "/* $configure_input */" \
17682 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17683 || as_fn_error $? "could not create -" "$LINENO" 5
17691 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17694 # Prefer the file from the source tree if names are identical.
17695 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17696 ac_source=$srcdir/$ac_source
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17700 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17702 if test ! -r "$ac_source"; then
17703 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17707 # Try a relative symlink, then a hard link, then a copy.
17709 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17710 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17712 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17713 ln "$ac_source" "$ac_file" 2>/dev/null ||
17714 cp -p "$ac_source" "$ac_file" ||
17715 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17718 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17719 $as_echo "$as_me: executing $ac_file commands" >&6;}
17724 case $ac_file$ac_mode in
17725 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17726 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17727 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17728 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17729 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17730 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17731 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17732 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17733 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17734 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17735 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17736 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17737 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17738 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17739 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17740 "Makefile":C) wine_fn_output_makefile Makefile ;;
17748 ac_clean_files=$ac_clean_files_save
17750 test $ac_write_fail = 0 ||
17751 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17754 # configure is writing to config.log, and then calls config.status.
17755 # config.status does its own redirection, appending to config.log.
17756 # Unfortunately, on DOS this fails, as config.log is still kept open
17757 # by configure, so config.status won't be able to write to it; its
17758 # output is simply discarded. So we exec the FD to /dev/null,
17759 # effectively closing config.log, so it can be properly (re)opened and
17760 # appended to by config.status. When coming back to configure, we
17761 # need to make the FD available again.
17762 if test "$no_create" != yes; then
17764 ac_config_status_args=
17765 test "$silent" = yes &&
17766 ac_config_status_args="$ac_config_status_args --quiet"
17768 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17770 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17771 # would make configure fail if this is the last instruction.
17772 $ac_cs_success || as_fn_exit 1
17774 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17776 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17780 if test "$no_create" = "yes"
17786 if test "x$wine_notices != "x; then
17789 for msg in $wine_notices; do
17791 if test -n "$msg"; then
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17793 $as_echo "$as_me: $msg" >&6;}
17798 for msg in $wine_warnings; do
17800 if test -n "$msg"; then
17802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17803 $as_echo "$as_me: WARNING: $msg" >&2;}
17809 $as_me: Finished. Do '${ac_make}' to compile Wine.