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
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_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6661 COREFOUNDATIONLIB="-framework CoreFoundation"
6663 IOKITLIB="-framework IOKit -framework CoreFoundation"
6665 APPLICATIONSERVICESLIB="-framework ApplicationServices"
6667 CORESERVICESLIB="-framework CoreServices"
6671 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"
6674 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6677 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6679 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6682 if test "$ac_cv_header_Security_Security_h" = "yes"
6684 SECURITYLIB="-framework Security -framework CoreFoundation"
6686 ac_save_LIBS="$LIBS"
6687 LIBS="$LIBS $SECURITYLIB"
6688 for ac_func in SSLCopyPeerCertificates
6690 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6691 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
6692 cat >>confdefs.h <<_ACEOF
6693 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6699 LIBS="$ac_save_LIBS"
6700 with_gnutls=${with_gnutls:-no}
6702 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6704 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6706 COREAUDIO="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6709 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6712 ac_save_LIBS="$LIBS"
6713 LIBS="$LIBS $COREAUDIO"
6714 for ac_func in AUGraphAddNode
6716 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6717 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
6718 cat >>confdefs.h <<_ACEOF
6719 #define HAVE_AUGRAPHADDNODE 1
6725 LIBS="$ac_save_LIBS"
6727 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6729 FRAMEWORK_OPENAL="-framework OpenAL"
6732 cat >>confdefs.h <<_ACEOF
6733 #define HAVE_OPENAL 1
6736 ac_cv_lib_openal=yes
6738 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6740 LIBOPENCL="-framework OpenCL"
6742 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
6744 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6746 ac_save_LIBS="$LIBS"
6747 LIBS="$LIBS $IOKITLIB"
6748 for ac_func in IOHIDManagerCreate
6750 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6751 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
6752 cat >>confdefs.h <<_ACEOF
6753 #define HAVE_IOHIDMANAGERCREATE 1
6759 LIBS="$ac_save_LIBS"
6763 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6765 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6767 QUICKTIMELIB="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6769 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
6771 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6773 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6775 CARBONLIB="-framework Carbon"
6779 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6781 ac_save_LIBS="$LIBS"
6782 LIBS="$LIBS $APPLICATIONSERVICESLIB"
6783 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6784 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
6785 enable_winemac_drv=${enable_winemac_drv:-yes}
6788 LIBS="$ac_save_LIBS"
6791 if test "x$enable_win16" = "xyes"
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6794 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6795 if test "$cross_compiling" = yes; then :
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6797 $as_echo "cross-compiling, assuming yes" >&6; }
6799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800 /* end confdefs.h. */
6803 "good:\tnop;nop\n\t"
6804 ".globl _testfunc\n"
6805 "_testfunc:\tcallw good");
6806 extern void testfunc();
6810 unsigned short *p = (unsigned short *)testfunc;
6811 return p[0] != 0xe866 || p[1] != 0xfffa
6816 if ac_fn_c_try_run "$LINENO"; then :
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6818 $as_echo "yes" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 $as_echo "no" >&6; }
6822 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
6824 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6825 conftest.$ac_objext conftest.beam conftest.$ac_ext
6831 DLLFLAGS="$DLLFLAGS -fPIC"
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6834 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6835 if ${ac_cv_c_dll_gnuelf+:} false; then :
6836 $as_echo_n "(cached) " >&6
6838 ac_wine_try_cflags_saved=$CFLAGS
6839 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6844 if ac_fn_c_try_link "$LINENO"; then :
6845 ac_cv_c_dll_gnuelf="yes"
6847 ac_cv_c_dll_gnuelf="no"
6849 rm -f core conftest.err conftest.$ac_objext \
6850 conftest$ac_exeext conftest.$ac_ext
6851 CFLAGS=$ac_wine_try_cflags_saved
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6854 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6855 if test "$ac_cv_c_dll_gnuelf" = "yes"
6857 LDSHARED="\$(CC) -shared"
6858 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6860 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6861 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
6862 $as_echo_n "(cached) " >&6
6864 ac_wine_try_cflags_saved=$CFLAGS
6865 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6867 /* end confdefs.h. */
6868 int main(int argc, char **argv) { return 0; }
6870 if ac_fn_c_try_link "$LINENO"; then :
6871 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6873 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
6875 rm -f core conftest.err conftest.$ac_objext \
6876 conftest$ac_exeext conftest.$ac_ext
6877 CFLAGS=$ac_wine_try_cflags_saved
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6880 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6881 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6882 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6885 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6886 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
6887 $as_echo_n "(cached) " >&6
6889 ac_wine_try_cflags_saved=$CFLAGS
6890 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6893 int main(int argc, char **argv) { return 0; }
6895 if ac_fn_c_try_link "$LINENO"; then :
6896 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6898 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
6900 rm -f core conftest.err conftest.$ac_objext \
6901 conftest$ac_exeext conftest.$ac_ext
6902 CFLAGS=$ac_wine_try_cflags_saved
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6905 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6906 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6907 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6912 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6913 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false; then :
6914 $as_echo_n "(cached) " >&6
6916 ac_wine_try_cflags_saved=$CFLAGS
6917 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6919 /* end confdefs.h. */
6920 int main(int argc, char **argv) { return 0; }
6922 if ac_fn_c_try_link "$LINENO"; then :
6923 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6925 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
6927 rm -f core conftest.err conftest.$ac_objext \
6928 conftest$ac_exeext conftest.$ac_ext
6929 CFLAGS=$ac_wine_try_cflags_saved
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6932 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6933 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6934 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6937 { $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
6938 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6939 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false; then :
6940 $as_echo_n "(cached) " >&6
6942 ac_wine_try_cflags_saved=$CFLAGS
6943 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6945 /* end confdefs.h. */
6946 int main(int argc, char **argv) { return 0; }
6948 if ac_fn_c_try_link "$LINENO"; then :
6949 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6951 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
6953 rm -f core conftest.err conftest.$ac_objext \
6954 conftest$ac_exeext conftest.$ac_ext
6955 CFLAGS=$ac_wine_try_cflags_saved
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6958 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6959 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6960 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6963 echo '{ global: *; };' >conftest.map
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6965 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6966 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
6967 $as_echo_n "(cached) " >&6
6969 ac_wine_try_cflags_saved=$CFLAGS
6970 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 int main(int argc, char **argv) { return 0; }
6975 if ac_fn_c_try_link "$LINENO"; then :
6976 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6978 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
6980 rm -f core conftest.err conftest.$ac_objext \
6981 conftest$ac_exeext conftest.$ac_ext
6982 CFLAGS=$ac_wine_try_cflags_saved
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6985 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6986 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6987 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6992 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6993 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
6994 $as_echo_n "(cached) " >&6
6996 ac_wine_try_cflags_saved=$CFLAGS
6997 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
6998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6999 /* end confdefs.h. */
7000 int main(int argc, char **argv) { return 0; }
7002 if ac_fn_c_try_link "$LINENO"; then :
7003 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
7005 ac_cv_cflags__fPIC__Wl___export_dynamic=no
7007 rm -f core conftest.err conftest.$ac_objext \
7008 conftest$ac_exeext conftest.$ac_ext
7009 CFLAGS=$ac_wine_try_cflags_saved
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7012 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7013 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7014 LDEXECFLAGS="-Wl,--export-dynamic"
7018 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7020 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7021 if eval \${$as_ac_var+:} false; then :
7022 $as_echo_n "(cached) " >&6
7024 ac_wine_try_cflags_saved=$CFLAGS
7025 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 /* end confdefs.h. */
7028 int main(int argc, char **argv) { return 0; }
7030 if ac_fn_c_try_link "$LINENO"; then :
7031 eval "$as_ac_var=yes"
7033 eval "$as_ac_var=no"
7035 rm -f core conftest.err conftest.$ac_objext \
7036 conftest$ac_exeext conftest.$ac_ext
7037 CFLAGS=$ac_wine_try_cflags_saved
7039 eval ac_res=\$$as_ac_var
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7041 $as_echo "$ac_res" >&6; }
7042 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7043 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7044 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7046 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7048 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7049 if eval \${$as_ac_var+:} false; then :
7050 $as_echo_n "(cached) " >&6
7052 ac_wine_try_cflags_saved=$CFLAGS
7053 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7055 /* end confdefs.h. */
7056 int main(int argc, char **argv) { return 0; }
7058 if ac_fn_c_try_link "$LINENO"; then :
7059 eval "$as_ac_var=yes"
7061 eval "$as_ac_var=no"
7063 rm -f core conftest.err conftest.$ac_objext \
7064 conftest$ac_exeext conftest.$ac_ext
7065 CFLAGS=$ac_wine_try_cflags_saved
7067 eval ac_res=\$$as_ac_var
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7069 $as_echo "$ac_res" >&6; }
7070 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7071 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7072 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7077 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7078 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
7079 $as_echo_n "(cached) " >&6
7081 ac_wine_try_cflags_saved=$CFLAGS
7082 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
7083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7084 /* end confdefs.h. */
7085 int main(int argc, char **argv) { return 0; }
7087 if ac_fn_c_try_link "$LINENO"; then :
7088 ac_cv_cflags__Wl___enable_new_dtags=yes
7090 ac_cv_cflags__Wl___enable_new_dtags=no
7092 rm -f core conftest.err conftest.$ac_objext \
7093 conftest$ac_exeext conftest.$ac_ext
7094 CFLAGS=$ac_wine_try_cflags_saved
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7097 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7098 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7099 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7103 *i[3456789]86* | x86_64)
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7105 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7106 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
7107 $as_echo_n "(cached) " >&6
7109 ac_wine_try_cflags_saved=$CFLAGS
7110 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7112 /* end confdefs.h. */
7113 int main(int argc, char **argv) { return 0; }
7115 if ac_fn_c_try_link "$LINENO"; then :
7116 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
7118 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
7120 rm -f core conftest.err conftest.$ac_objext \
7121 conftest$ac_exeext conftest.$ac_ext
7122 CFLAGS=$ac_wine_try_cflags_saved
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7125 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7126 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7128 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7129 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7133 # Extract the first word of "prelink", so it can be a program name with args.
7134 set dummy prelink; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if ${ac_cv_path_PRELINK+:} false; then :
7138 $as_echo_n "(cached) " >&6
7142 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
7145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146 for as_dir in /sbin /usr/sbin $PATH
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7152 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
7164 PRELINK=$ac_cv_path_PRELINK
7165 if test -n "$PRELINK"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7167 $as_echo "$PRELINK" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170 $as_echo "no" >&6; }
7174 if test "x$PRELINK" = xfalse
7176 as_fn_append wine_warnings "|prelink not found, base address of core dlls won't be set correctly."
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7183 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7184 if ${ac_cv_c_dll_unixware+:} false; then :
7185 $as_echo_n "(cached) " >&6
7187 ac_wine_try_cflags_saved=$CFLAGS
7188 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7190 /* end confdefs.h. */
7193 if ac_fn_c_try_link "$LINENO"; then :
7194 ac_cv_c_dll_unixware="yes"
7196 ac_cv_c_dll_unixware="no"
7198 rm -f core conftest.err conftest.$ac_objext \
7199 conftest$ac_exeext conftest.$ac_ext
7200 CFLAGS=$ac_wine_try_cflags_saved
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7203 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7204 if test "$ac_cv_c_dll_unixware" = "yes"
7206 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7207 LDDLLFLAGS="-Wl,-G,-B,symbolic"
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7211 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7212 if ${ac_cv_c_dll_hpux+:} false; then :
7213 $as_echo_n "(cached) " >&6
7215 ac_wine_try_cflags_saved=$CFLAGS
7216 CFLAGS="$CFLAGS -shared"
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7221 if ac_fn_c_try_link "$LINENO"; then :
7222 ac_cv_c_dll_hpux="yes"
7224 ac_cv_c_dll_hpux="no"
7226 rm -f core conftest.err conftest.$ac_objext \
7227 conftest$ac_exeext conftest.$ac_ext
7228 CFLAGS=$ac_wine_try_cflags_saved
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7231 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7232 if test "$ac_cv_c_dll_hpux" = "yes"
7236 LDDLLFLAGS="-shared -fPIC"
7237 LDSHARED="\$(CC) -shared"
7244 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
7245 enable_winemac_drv=${enable_winemac_drv:-no}
7247 if test "$LIBEXT" = "a"; then
7248 as_fn_error $? "could not find a way to build shared libraries.
7249 It is currently not possible to build Wine without shared library
7250 (.so) support to allow transparent switch between .so and .dll files.
7251 If you are using Linux, you will need a newer binutils.
7255 CROSSTEST_DISABLE=\#
7257 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno -a "$LIBEXT" != "dll"
7261 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
7264 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 " ;;
7266 ac_prefix_list="" ;;
7268 for ac_prog in $ac_prefix_list
7270 # Extract the first word of "$ac_prog", so it can be a program name with args.
7271 set dummy $ac_prog; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if ${ac_cv_prog_CROSSCC+:} false; then :
7275 $as_echo_n "(cached) " >&6
7277 if test -n "$CROSSCC"; then
7278 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_CROSSCC="$ac_prog"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7297 CROSSCC=$ac_cv_prog_CROSSCC
7298 if test -n "$CROSSCC"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7300 $as_echo "$CROSSCC" >&6; }
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7307 test -n "$CROSSCC" && break
7309 test -n "$CROSSCC" || CROSSCC="false"
7311 if test "$CROSSCC" != "false"
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7316 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7318 /* end confdefs.h. */
7328 if ac_fn_c_try_compile "$LINENO"; then :
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7330 $as_echo "yes" >&6; }
7337 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
7341 if test -n "$target"
7343 CROSSTEST_DISABLE=""
7344 CROSSTARGET="$target"
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7349 $as_echo "no" >&6; }
7351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7357 if test "$ac_cv_header_pthread_h" = "yes"
7359 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7360 if test "x$ac_cv_func_pthread_create" = xyes; then :
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7364 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7365 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
7366 $as_echo_n "(cached) " >&6
7368 ac_check_lib_save_LIBS=$LIBS
7369 LIBS="-lpthread $LIBS"
7370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7371 /* end confdefs.h. */
7373 /* Override any GCC internal prototype to avoid an error.
7374 Use char because int might match the return type of a GCC
7375 builtin and then its argument prototype would still apply. */
7379 char pthread_create ();
7383 return pthread_create ();
7388 if ac_fn_c_try_link "$LINENO"; then :
7389 ac_cv_lib_pthread_pthread_create=yes
7391 ac_cv_lib_pthread_pthread_create=no
7393 rm -f core conftest.err conftest.$ac_objext \
7394 conftest$ac_exeext conftest.$ac_ext
7395 LIBS=$ac_check_lib_save_LIBS
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7398 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7399 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
7400 LIBPTHREAD="-lpthread"
7407 if test "x$ac_cv_func_pthread_create" != xyes -a "x$LIBPTHREAD" = x; then :
7408 case "x$with_pthread" in
7410 *) as_fn_error $? "pthread ${notice_platform}development files not found.
7411 Wine cannot support threads without libpthread.
7412 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7418 $as_echo_n "checking for X... " >&6; }
7421 # Check whether --with-x was given.
7422 if test "${with_x+set}" = set; then :
7426 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7427 if test "x$with_x" = xno; then
7428 # The user explicitly disabled X.
7431 case $x_includes,$x_libraries in #(
7432 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
7433 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
7434 $as_echo_n "(cached) " >&6
7436 # One or both of the vars are not set, and there is no cached value.
7437 ac_x_includes=no ac_x_libraries=no
7438 rm -f -r conftest.dir
7439 if mkdir conftest.dir; then
7441 cat >Imakefile <<'_ACEOF'
7443 @echo incroot='${INCROOT}'
7445 @echo usrlibdir='${USRLIBDIR}'
7447 @echo libdir='${LIBDIR}'
7449 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7450 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7451 for ac_var in incroot usrlibdir libdir; do
7452 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7454 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7455 for ac_extension in a so sl dylib la dll; do
7456 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7457 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7458 ac_im_usrlibdir=$ac_im_libdir; break
7461 # Screen out bogus values from the imake configuration. They are
7462 # bogus both because they are the default anyway, and because
7463 # using them would break gcc on systems where it needs fixed includes.
7464 case $ac_im_incroot in
7465 /usr/include) ac_x_includes= ;;
7466 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7468 case $ac_im_usrlibdir in
7469 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7470 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7474 rm -f -r conftest.dir
7477 # Standard set of common directories for X headers.
7478 # Check X11 before X11Rn because it is often a symlink to the current release.
7492 /usr/local/X11/include
7493 /usr/local/X11R7/include
7494 /usr/local/X11R6/include
7495 /usr/local/X11R5/include
7496 /usr/local/X11R4/include
7498 /usr/local/include/X11
7499 /usr/local/include/X11R7
7500 /usr/local/include/X11R6
7501 /usr/local/include/X11R5
7502 /usr/local/include/X11R4
7506 /usr/XFree86/include/X11
7510 /usr/unsupported/include
7512 /usr/local/x11r5/include
7513 /usr/lpp/Xamples/include
7515 /usr/openwin/include
7516 /usr/openwin/share/include'
7518 if test "$ac_x_includes" = no; then
7519 # Guess where to find include files, by looking for Xlib.h.
7520 # First, try using that file with no special directory specified.
7521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h. */
7523 #include <X11/Xlib.h>
7525 if ac_fn_c_try_cpp "$LINENO"; then :
7526 # We can compile using X headers with no special include directory.
7529 for ac_dir in $ac_x_header_dirs; do
7530 if test -r "$ac_dir/X11/Xlib.h"; then
7531 ac_x_includes=$ac_dir
7536 rm -f conftest.err conftest.i conftest.$ac_ext
7537 fi # $ac_x_includes = no
7539 if test "$ac_x_libraries" = no; then
7540 # Check for the libraries.
7541 # See if we find them without any special options.
7542 # Don't add to $LIBS permanently.
7545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7547 #include <X11/Xlib.h>
7556 if ac_fn_c_try_link "$LINENO"; then :
7558 # We can link X programs with no special library path.
7562 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7564 # Don't even attempt the hair of trying to link an X program!
7565 for ac_extension in a so sl dylib la dll; do
7566 if test -r "$ac_dir/libX11.$ac_extension"; then
7567 ac_x_libraries=$ac_dir
7573 rm -f core conftest.err conftest.$ac_objext \
7574 conftest$ac_exeext conftest.$ac_ext
7575 fi # $ac_x_libraries = no
7577 case $ac_x_includes,$ac_x_libraries in #(
7579 # Didn't find X, or a directory has "'" in its name.
7580 ac_cv_have_x="have_x=no";; #(
7582 # Record where we found X for the cache.
7583 ac_cv_have_x="have_x=yes\
7584 ac_x_includes='$ac_x_includes'\
7585 ac_x_libraries='$ac_x_libraries'"
7591 eval "$ac_cv_have_x"
7594 if test "$have_x" != yes; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7596 $as_echo "$have_x" >&6; }
7599 # If each of the values was on the command line, it overrides each guess.
7600 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7601 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7602 # Update the cache value to reflect the command line values.
7603 ac_cv_have_x="have_x=yes\
7604 ac_x_includes='$x_includes'\
7605 ac_x_libraries='$x_libraries'"
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7607 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7610 if test "$no_x" = yes; then
7611 # Not all programs may use this symbol, but it does not hurt to define it.
7613 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7615 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7617 if test -n "$x_includes"; then
7618 X_CFLAGS="$X_CFLAGS -I$x_includes"
7621 # It would also be nice to do this for all -L options, not just this one.
7622 if test -n "$x_libraries"; then
7623 X_LIBS="$X_LIBS -L$x_libraries"
7624 # For Solaris; some versions of Sun CC require a space after -R and
7625 # others require no space. Words are not sufficient . . . .
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7627 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7628 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7629 ac_xsave_c_werror_flag=$ac_c_werror_flag
7630 ac_c_werror_flag=yes
7631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7632 /* end confdefs.h. */
7642 if ac_fn_c_try_link "$LINENO"; then :
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7645 X_LIBS="$X_LIBS -R$x_libraries"
7647 LIBS="$ac_xsave_LIBS -R $x_libraries"
7648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7649 /* end confdefs.h. */
7659 if ac_fn_c_try_link "$LINENO"; then :
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7661 $as_echo "yes" >&6; }
7662 X_LIBS="$X_LIBS -R $x_libraries"
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7665 $as_echo "neither works" >&6; }
7667 rm -f core conftest.err conftest.$ac_objext \
7668 conftest$ac_exeext conftest.$ac_ext
7670 rm -f core conftest.err conftest.$ac_objext \
7671 conftest$ac_exeext conftest.$ac_ext
7672 ac_c_werror_flag=$ac_xsave_c_werror_flag
7676 # Check for system-dependent libraries X programs must link with.
7677 # Do this before checking for the system-independent R6 libraries
7678 # (-lICE), since we may need -lsocket or whatever for X linking.
7680 if test "$ISC" = yes; then
7681 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7683 # Martyn Johnson says this is needed for Ultrix, if the X
7684 # libraries were built with DECnet support. And Karl Berry says
7685 # the Alpha needs dnet_stub (dnet does not exist).
7686 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7688 /* end confdefs.h. */
7690 /* Override any GCC internal prototype to avoid an error.
7691 Use char because int might match the return type of a GCC
7692 builtin and then its argument prototype would still apply. */
7696 char XOpenDisplay ();
7700 return XOpenDisplay ();
7705 if ac_fn_c_try_link "$LINENO"; then :
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7709 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7710 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
7711 $as_echo_n "(cached) " >&6
7713 ac_check_lib_save_LIBS=$LIBS
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7718 /* Override any GCC internal prototype to avoid an error.
7719 Use char because int might match the return type of a GCC
7720 builtin and then its argument prototype would still apply. */
7728 return dnet_ntoa ();
7733 if ac_fn_c_try_link "$LINENO"; then :
7734 ac_cv_lib_dnet_dnet_ntoa=yes
7736 ac_cv_lib_dnet_dnet_ntoa=no
7738 rm -f core conftest.err conftest.$ac_objext \
7739 conftest$ac_exeext conftest.$ac_ext
7740 LIBS=$ac_check_lib_save_LIBS
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7743 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7744 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
7745 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7748 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7750 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7751 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
7752 $as_echo_n "(cached) " >&6
7754 ac_check_lib_save_LIBS=$LIBS
7755 LIBS="-ldnet_stub $LIBS"
7756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7759 /* Override any GCC internal prototype to avoid an error.
7760 Use char because int might match the return type of a GCC
7761 builtin and then its argument prototype would still apply. */
7769 return dnet_ntoa ();
7774 if ac_fn_c_try_link "$LINENO"; then :
7775 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7777 ac_cv_lib_dnet_stub_dnet_ntoa=no
7779 rm -f core conftest.err conftest.$ac_objext \
7780 conftest$ac_exeext conftest.$ac_ext
7781 LIBS=$ac_check_lib_save_LIBS
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7784 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7785 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
7786 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7791 rm -f core conftest.err conftest.$ac_objext \
7792 conftest$ac_exeext conftest.$ac_ext
7793 LIBS="$ac_xsave_LIBS"
7795 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7796 # to get the SysV transport functions.
7797 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7799 # The nsl library prevents programs from opening the X display
7800 # on Irix 5.2, according to T.E. Dickey.
7801 # The functions gethostbyname, getservbyname, and inet_addr are
7802 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7803 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7804 if test "x$ac_cv_func_gethostbyname" = xyes; then :
7808 if test $ac_cv_func_gethostbyname = no; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7810 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7811 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
7812 $as_echo_n "(cached) " >&6
7814 ac_check_lib_save_LIBS=$LIBS
7816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7817 /* end confdefs.h. */
7819 /* Override any GCC internal prototype to avoid an error.
7820 Use char because int might match the return type of a GCC
7821 builtin and then its argument prototype would still apply. */
7825 char gethostbyname ();
7829 return gethostbyname ();
7834 if ac_fn_c_try_link "$LINENO"; then :
7835 ac_cv_lib_nsl_gethostbyname=yes
7837 ac_cv_lib_nsl_gethostbyname=no
7839 rm -f core conftest.err conftest.$ac_objext \
7840 conftest$ac_exeext conftest.$ac_ext
7841 LIBS=$ac_check_lib_save_LIBS
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7844 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7845 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
7846 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7849 if test $ac_cv_lib_nsl_gethostbyname = no; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7851 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7852 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
7853 $as_echo_n "(cached) " >&6
7855 ac_check_lib_save_LIBS=$LIBS
7857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h. */
7860 /* Override any GCC internal prototype to avoid an error.
7861 Use char because int might match the return type of a GCC
7862 builtin and then its argument prototype would still apply. */
7866 char gethostbyname ();
7870 return gethostbyname ();
7875 if ac_fn_c_try_link "$LINENO"; then :
7876 ac_cv_lib_bsd_gethostbyname=yes
7878 ac_cv_lib_bsd_gethostbyname=no
7880 rm -f core conftest.err conftest.$ac_objext \
7881 conftest$ac_exeext conftest.$ac_ext
7882 LIBS=$ac_check_lib_save_LIBS
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7885 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7886 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
7887 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7893 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7894 # socket/setsockopt and other routines are undefined under SCO ODT
7895 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7896 # on later versions), says Simon Leinen: it contains gethostby*
7897 # variants that don't use the name server (or something). -lsocket
7898 # must be given before -lnsl if both are needed. We assume that
7899 # if connect needs -lnsl, so does gethostbyname.
7900 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7901 if test "x$ac_cv_func_connect" = xyes; then :
7905 if test $ac_cv_func_connect = no; then
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7907 $as_echo_n "checking for connect in -lsocket... " >&6; }
7908 if ${ac_cv_lib_socket_connect+:} false; then :
7909 $as_echo_n "(cached) " >&6
7911 ac_check_lib_save_LIBS=$LIBS
7912 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7914 /* end confdefs.h. */
7916 /* Override any GCC internal prototype to avoid an error.
7917 Use char because int might match the return type of a GCC
7918 builtin and then its argument prototype would still apply. */
7931 if ac_fn_c_try_link "$LINENO"; then :
7932 ac_cv_lib_socket_connect=yes
7934 ac_cv_lib_socket_connect=no
7936 rm -f core conftest.err conftest.$ac_objext \
7937 conftest$ac_exeext conftest.$ac_ext
7938 LIBS=$ac_check_lib_save_LIBS
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7941 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7942 if test "x$ac_cv_lib_socket_connect" = xyes; then :
7943 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7948 # Guillermo Gomez says -lposix is necessary on A/UX.
7949 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7950 if test "x$ac_cv_func_remove" = xyes; then :
7954 if test $ac_cv_func_remove = no; then
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7956 $as_echo_n "checking for remove in -lposix... " >&6; }
7957 if ${ac_cv_lib_posix_remove+:} false; then :
7958 $as_echo_n "(cached) " >&6
7960 ac_check_lib_save_LIBS=$LIBS
7961 LIBS="-lposix $LIBS"
7962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7963 /* end confdefs.h. */
7965 /* Override any GCC internal prototype to avoid an error.
7966 Use char because int might match the return type of a GCC
7967 builtin and then its argument prototype would still apply. */
7980 if ac_fn_c_try_link "$LINENO"; then :
7981 ac_cv_lib_posix_remove=yes
7983 ac_cv_lib_posix_remove=no
7985 rm -f core conftest.err conftest.$ac_objext \
7986 conftest$ac_exeext conftest.$ac_ext
7987 LIBS=$ac_check_lib_save_LIBS
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7990 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7991 if test "x$ac_cv_lib_posix_remove" = xyes; then :
7992 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7997 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7998 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7999 if test "x$ac_cv_func_shmat" = xyes; then :
8003 if test $ac_cv_func_shmat = no; then
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8005 $as_echo_n "checking for shmat in -lipc... " >&6; }
8006 if ${ac_cv_lib_ipc_shmat+:} false; then :
8007 $as_echo_n "(cached) " >&6
8009 ac_check_lib_save_LIBS=$LIBS
8011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8012 /* end confdefs.h. */
8014 /* Override any GCC internal prototype to avoid an error.
8015 Use char because int might match the return type of a GCC
8016 builtin and then its argument prototype would still apply. */
8029 if ac_fn_c_try_link "$LINENO"; then :
8030 ac_cv_lib_ipc_shmat=yes
8032 ac_cv_lib_ipc_shmat=no
8034 rm -f core conftest.err conftest.$ac_objext \
8035 conftest$ac_exeext conftest.$ac_ext
8036 LIBS=$ac_check_lib_save_LIBS
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8039 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8040 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
8041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8047 # Check for libraries that X11R6 Xt/Xaw programs need.
8048 ac_save_LDFLAGS=$LDFLAGS
8049 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8050 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8051 # check for ICE first), but we must link in the order -lSM -lICE or
8052 # we get undefined symbols. So assume we have SM if we have ICE.
8053 # These have to be linked with before -lX11, unlike the other
8054 # libraries we check for below, so use a different variable.
8055 # John Interrante, Karl Berry
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8057 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8058 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
8059 $as_echo_n "(cached) " >&6
8061 ac_check_lib_save_LIBS=$LIBS
8062 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8064 /* end confdefs.h. */
8066 /* Override any GCC internal prototype to avoid an error.
8067 Use char because int might match the return type of a GCC
8068 builtin and then its argument prototype would still apply. */
8072 char IceConnectionNumber ();
8076 return IceConnectionNumber ();
8081 if ac_fn_c_try_link "$LINENO"; then :
8082 ac_cv_lib_ICE_IceConnectionNumber=yes
8084 ac_cv_lib_ICE_IceConnectionNumber=no
8086 rm -f core conftest.err conftest.$ac_objext \
8087 conftest$ac_exeext conftest.$ac_ext
8088 LIBS=$ac_check_lib_save_LIBS
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8091 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8092 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
8093 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8096 LDFLAGS=$ac_save_LDFLAGS
8101 if test "$have_x" = "yes"
8104 ac_save_CPPFLAGS="$CPPFLAGS"
8105 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8108 $as_echo_n "checking for -lX11... " >&6; }
8109 if ${ac_cv_lib_soname_X11+:} false; then :
8110 $as_echo_n "(cached) " >&6
8112 ac_check_soname_save_LIBS=$LIBS
8113 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8117 /* Override any GCC internal prototype to avoid an error.
8118 Use char because int might match the return type of a GCC
8119 builtin and then its argument prototype would still apply. */
8123 char XCreateWindow ();
8127 return XCreateWindow ();
8132 if ac_fn_c_try_link "$LINENO"; then :
8134 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8135 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'` ;;
8136 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8137 if test "x$ac_cv_lib_soname_X11" = x; then :
8138 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8142 rm -f core conftest.err conftest.$ac_objext \
8143 conftest$ac_exeext conftest.$ac_ext
8144 LIBS=$ac_check_soname_save_LIBS
8146 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8148 $as_echo "not found" >&6; }
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8152 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8154 cat >>confdefs.h <<_ACEOF
8155 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8161 $as_echo_n "checking for -lXext... " >&6; }
8162 if ${ac_cv_lib_soname_Xext+:} false; then :
8163 $as_echo_n "(cached) " >&6
8165 ac_check_soname_save_LIBS=$LIBS
8166 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8170 /* Override any GCC internal prototype to avoid an error.
8171 Use char because int might match the return type of a GCC
8172 builtin and then its argument prototype would still apply. */
8176 char XextCreateExtension ();
8180 return XextCreateExtension ();
8185 if ac_fn_c_try_link "$LINENO"; then :
8187 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8188 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'` ;;
8189 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8190 if test "x$ac_cv_lib_soname_Xext" = x; then :
8191 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8195 rm -f core conftest.err conftest.$ac_objext \
8196 conftest$ac_exeext conftest.$ac_ext
8197 LIBS=$ac_check_soname_save_LIBS
8199 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8201 $as_echo "not found" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8205 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8207 cat >>confdefs.h <<_ACEOF
8208 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8214 for ac_header in X11/Xlib.h \
8217 X11/Xcursor/Xcursor.h \
8218 X11/extensions/shape.h \
8219 X11/extensions/XInput.h \
8220 X11/extensions/XInput2.h \
8221 X11/extensions/XShm.h \
8222 X11/extensions/Xcomposite.h \
8223 X11/extensions/Xinerama.h \
8224 X11/extensions/Xrandr.h \
8225 X11/extensions/Xrender.h \
8226 X11/extensions/xf86vmode.h \
8227 X11/extensions/xf86vmproto.h
8229 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8230 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8231 # include <X11/Xlib.h>
8233 #ifdef HAVE_X11_XUTIL_H
8234 # include <X11/Xutil.h>
8237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8238 cat >>confdefs.h <<_ACEOF
8239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8247 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8250 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8251 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
8252 $as_echo_n "(cached) " >&6
8254 ac_check_lib_save_LIBS=$LIBS
8255 LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8259 /* Override any GCC internal prototype to avoid an error.
8260 Use char because int might match the return type of a GCC
8261 builtin and then its argument prototype would still apply. */
8265 char XkbQueryExtension ();
8269 return XkbQueryExtension ();
8274 if ac_fn_c_try_link "$LINENO"; then :
8275 ac_cv_lib_X11_XkbQueryExtension=yes
8277 ac_cv_lib_X11_XkbQueryExtension=no
8279 rm -f core conftest.err conftest.$ac_objext \
8280 conftest$ac_exeext conftest.$ac_ext
8281 LIBS=$ac_check_lib_save_LIBS
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8284 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8285 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
8287 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8293 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8296 $as_echo_n "checking for -lXcursor... " >&6; }
8297 if ${ac_cv_lib_soname_Xcursor+:} false; then :
8298 $as_echo_n "(cached) " >&6
8300 ac_check_soname_save_LIBS=$LIBS
8301 LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8303 /* end confdefs.h. */
8305 /* Override any GCC internal prototype to avoid an error.
8306 Use char because int might match the return type of a GCC
8307 builtin and then its argument prototype would still apply. */
8311 char XcursorImageLoadCursor ();
8315 return XcursorImageLoadCursor ();
8320 if ac_fn_c_try_link "$LINENO"; then :
8322 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8323 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'` ;;
8324 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8325 if test "x$ac_cv_lib_soname_Xcursor" = x; then :
8326 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8330 rm -f core conftest.err conftest.$ac_objext \
8331 conftest$ac_exeext conftest.$ac_ext
8332 LIBS=$ac_check_soname_save_LIBS
8334 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8336 $as_echo "not found" >&6; }
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8340 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8342 cat >>confdefs.h <<_ACEOF
8343 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8349 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8350 case "x$with_xcursor" in
8351 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8353 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8354 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8358 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8361 $as_echo_n "checking for -lXi... " >&6; }
8362 if ${ac_cv_lib_soname_Xi+:} false; then :
8363 $as_echo_n "(cached) " >&6
8365 ac_check_soname_save_LIBS=$LIBS
8366 LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8370 /* Override any GCC internal prototype to avoid an error.
8371 Use char because int might match the return type of a GCC
8372 builtin and then its argument prototype would still apply. */
8376 char XOpenDevice ();
8380 return XOpenDevice ();
8385 if ac_fn_c_try_link "$LINENO"; then :
8387 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8388 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'` ;;
8389 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8390 if test "x$ac_cv_lib_soname_Xi" = x; then :
8391 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8395 rm -f core conftest.err conftest.$ac_objext \
8396 conftest$ac_exeext conftest.$ac_ext
8397 LIBS=$ac_check_soname_save_LIBS
8399 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8401 $as_echo "not found" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8405 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8407 cat >>confdefs.h <<_ACEOF
8408 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8414 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8415 case "x$with_xinput" in
8416 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8418 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8419 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8423 if test "x$ac_cv_lib_soname_Xi" != x
8425 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8426 case "x$with_xinput2" in
8427 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8429 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
8430 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8435 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8438 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8439 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
8440 $as_echo_n "(cached) " >&6
8442 ac_check_lib_save_LIBS=$LIBS
8443 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8447 /* Override any GCC internal prototype to avoid an error.
8448 Use char because int might match the return type of a GCC
8449 builtin and then its argument prototype would still apply. */
8453 char XShmQueryExtension ();
8457 return XShmQueryExtension ();
8462 if ac_fn_c_try_link "$LINENO"; then :
8463 ac_cv_lib_Xext_XShmQueryExtension=yes
8465 ac_cv_lib_Xext_XShmQueryExtension=no
8467 rm -f core conftest.err conftest.$ac_objext \
8468 conftest$ac_exeext conftest.$ac_ext
8469 LIBS=$ac_check_lib_save_LIBS
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8472 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8473 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
8475 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8480 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8481 case "x$with_xshm" in
8482 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8484 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8485 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8489 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8492 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8493 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
8494 $as_echo_n "(cached) " >&6
8496 ac_check_lib_save_LIBS=$LIBS
8497 LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8499 /* end confdefs.h. */
8501 /* Override any GCC internal prototype to avoid an error.
8502 Use char because int might match the return type of a GCC
8503 builtin and then its argument prototype would still apply. */
8507 char XShapeQueryExtension ();
8511 return XShapeQueryExtension ();
8516 if ac_fn_c_try_link "$LINENO"; then :
8517 ac_cv_lib_Xext_XShapeQueryExtension=yes
8519 ac_cv_lib_Xext_XShapeQueryExtension=no
8521 rm -f core conftest.err conftest.$ac_objext \
8522 conftest$ac_exeext conftest.$ac_ext
8523 LIBS=$ac_check_lib_save_LIBS
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8526 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8527 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
8529 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8534 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8535 case "x$with_xshape" in
8536 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8538 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
8539 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8543 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8546 $as_echo_n "checking for -lXxf86vm... " >&6; }
8547 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
8548 $as_echo_n "(cached) " >&6
8550 ac_check_soname_save_LIBS=$LIBS
8551 LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8555 /* Override any GCC internal prototype to avoid an error.
8556 Use char because int might match the return type of a GCC
8557 builtin and then its argument prototype would still apply. */
8561 char XF86VidModeQueryExtension ();
8565 return XF86VidModeQueryExtension ();
8570 if ac_fn_c_try_link "$LINENO"; then :
8572 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8573 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'` ;;
8574 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8575 if test "x$ac_cv_lib_soname_Xxf86vm" = x; then :
8576 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8580 rm -f core conftest.err conftest.$ac_objext \
8581 conftest$ac_exeext conftest.$ac_ext
8582 LIBS=$ac_check_soname_save_LIBS
8584 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8586 $as_echo "not found" >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8590 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8592 cat >>confdefs.h <<_ACEOF
8593 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8599 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8600 case "x$with_xxf86vm" in
8601 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8603 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8604 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8608 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"
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8611 $as_echo_n "checking for -lXrender... " >&6; }
8612 if ${ac_cv_lib_soname_Xrender+:} false; then :
8613 $as_echo_n "(cached) " >&6
8615 ac_check_soname_save_LIBS=$LIBS
8616 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8618 /* end confdefs.h. */
8620 /* Override any GCC internal prototype to avoid an error.
8621 Use char because int might match the return type of a GCC
8622 builtin and then its argument prototype would still apply. */
8626 char XRenderQueryExtension ();
8630 return XRenderQueryExtension ();
8635 if ac_fn_c_try_link "$LINENO"; then :
8637 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8638 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'` ;;
8639 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8640 if test "x$ac_cv_lib_soname_Xrender" = x; then :
8641 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8645 rm -f core conftest.err conftest.$ac_objext \
8646 conftest$ac_exeext conftest.$ac_ext
8647 LIBS=$ac_check_soname_save_LIBS
8649 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8651 $as_echo "not found" >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8655 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8657 cat >>confdefs.h <<_ACEOF
8658 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8662 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8663 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
8664 $as_echo_n "(cached) " >&6
8666 ac_check_lib_save_LIBS=$LIBS
8667 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8671 /* Override any GCC internal prototype to avoid an error.
8672 Use char because int might match the return type of a GCC
8673 builtin and then its argument prototype would still apply. */
8677 char XRenderSetPictureTransform ();
8681 return XRenderSetPictureTransform ();
8686 if ac_fn_c_try_link "$LINENO"; then :
8687 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8689 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8691 rm -f core conftest.err conftest.$ac_objext \
8692 conftest$ac_exeext conftest.$ac_ext
8693 LIBS=$ac_check_lib_save_LIBS
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8696 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8697 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
8699 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8704 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8705 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
8706 $as_echo_n "(cached) " >&6
8708 ac_check_lib_save_LIBS=$LIBS
8709 LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8713 /* Override any GCC internal prototype to avoid an error.
8714 Use char because int might match the return type of a GCC
8715 builtin and then its argument prototype would still apply. */
8719 char XRenderCreateLinearGradient ();
8723 return XRenderCreateLinearGradient ();
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
8731 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 LIBS=$ac_check_lib_save_LIBS
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8738 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8739 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
8741 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8748 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8749 case "x$with_xrender" in
8750 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8752 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
8753 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8757 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8760 /* end confdefs.h. */
8761 #include <X11/Xlib.h>
8762 #include <X11/extensions/Xrandr.h>
8766 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8771 if ac_fn_c_try_compile "$LINENO"; then :
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8773 $as_echo_n "checking for -lXrandr... " >&6; }
8774 if ${ac_cv_lib_soname_Xrandr+:} false; then :
8775 $as_echo_n "(cached) " >&6
8777 ac_check_soname_save_LIBS=$LIBS
8778 LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8782 /* Override any GCC internal prototype to avoid an error.
8783 Use char because int might match the return type of a GCC
8784 builtin and then its argument prototype would still apply. */
8788 char XRRQueryExtension ();
8792 return XRRQueryExtension ();
8797 if ac_fn_c_try_link "$LINENO"; then :
8799 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8800 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'` ;;
8801 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8802 if test "x$ac_cv_lib_soname_Xrandr" = x; then :
8803 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8807 rm -f core conftest.err conftest.$ac_objext \
8808 conftest$ac_exeext conftest.$ac_ext
8809 LIBS=$ac_check_soname_save_LIBS
8811 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8813 $as_echo "not found" >&6; }
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8817 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8819 cat >>confdefs.h <<_ACEOF
8820 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8824 /* end confdefs.h. */
8825 #include <X11/extensions/Xrandr.h>
8829 static typeof(XRRGetScreenResources) *f; if (f) return 0;
8834 if ac_fn_c_try_compile "$LINENO"; then :
8836 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
8839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8844 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8845 case "x$with_xrandr" in
8846 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8848 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8849 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8853 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8856 /* end confdefs.h. */
8857 #include <X11/Xlib.h>
8858 #include <X11/extensions/Xinerama.h>
8862 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8867 if ac_fn_c_try_compile "$LINENO"; then :
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8869 $as_echo_n "checking for -lXinerama... " >&6; }
8870 if ${ac_cv_lib_soname_Xinerama+:} false; then :
8871 $as_echo_n "(cached) " >&6
8873 ac_check_soname_save_LIBS=$LIBS
8874 LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8878 /* Override any GCC internal prototype to avoid an error.
8879 Use char because int might match the return type of a GCC
8880 builtin and then its argument prototype would still apply. */
8884 char XineramaQueryScreens ();
8888 return XineramaQueryScreens ();
8893 if ac_fn_c_try_link "$LINENO"; then :
8895 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8896 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'` ;;
8897 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8898 if test "x$ac_cv_lib_soname_Xinerama" = x; then :
8899 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8903 rm -f core conftest.err conftest.$ac_objext \
8904 conftest$ac_exeext conftest.$ac_ext
8905 LIBS=$ac_check_soname_save_LIBS
8907 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8909 $as_echo "not found" >&6; }
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8913 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8915 cat >>confdefs.h <<_ACEOF
8916 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8924 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8925 case "x$with_xinerama" in
8926 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8928 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8929 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8933 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8936 $as_echo_n "checking for -lXcomposite... " >&6; }
8937 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
8938 $as_echo_n "(cached) " >&6
8940 ac_check_soname_save_LIBS=$LIBS
8941 LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8945 /* Override any GCC internal prototype to avoid an error.
8946 Use char because int might match the return type of a GCC
8947 builtin and then its argument prototype would still apply. */
8951 char XCompositeRedirectWindow ();
8955 return XCompositeRedirectWindow ();
8960 if ac_fn_c_try_link "$LINENO"; then :
8962 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8963 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'` ;;
8964 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8965 if test "x$ac_cv_lib_soname_Xcomposite" = x; then :
8966 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8970 rm -f core conftest.err conftest.$ac_objext \
8971 conftest$ac_exeext conftest.$ac_ext
8972 LIBS=$ac_check_soname_save_LIBS
8974 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8976 $as_echo "not found" >&6; }
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8980 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8982 cat >>confdefs.h <<_ACEOF
8983 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8989 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8990 case "x$with_xcomposite" in
8991 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8993 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8994 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8998 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8999 #include <X11/Xlib.h>
9002 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
9004 cat >>confdefs.h <<_ACEOF
9005 #define HAVE_XICCALLBACK_CALLBACK 1
9010 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9011 #include <X11/Xlib.h>
9014 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
9016 cat >>confdefs.h <<_ACEOF
9017 #define HAVE_XEVENT_XCOOKIE 1
9026 if test "x$with_opengl" != "xno"
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9029 $as_echo_n "checking for -lGL... " >&6; }
9030 if ${ac_cv_lib_soname_GL+:} false; then :
9031 $as_echo_n "(cached) " >&6
9033 ac_check_soname_save_LIBS=$LIBS
9034 LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9036 /* end confdefs.h. */
9038 /* Override any GCC internal prototype to avoid an error.
9039 Use char because int might match the return type of a GCC
9040 builtin and then its argument prototype would still apply. */
9044 char glXCreateContext ();
9048 return glXCreateContext ();
9053 if ac_fn_c_try_link "$LINENO"; then :
9055 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9056 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'` ;;
9057 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9058 if test "x$ac_cv_lib_soname_GL" = x; then :
9059 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9063 rm -f core conftest.err conftest.$ac_objext \
9064 conftest$ac_exeext conftest.$ac_ext
9065 LIBS=$ac_check_soname_save_LIBS
9067 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9069 $as_echo "not found" >&6; }
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9071 $as_echo_n "checking for -lGL... " >&6; }
9072 if ${ac_cv_lib_soname_GL+:} false; then :
9073 $as_echo_n "(cached) " >&6
9075 ac_check_soname_save_LIBS=$LIBS
9076 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"
9077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9080 /* Override any GCC internal prototype to avoid an error.
9081 Use char because int might match the return type of a GCC
9082 builtin and then its argument prototype would still apply. */
9086 char glXCreateContext ();
9090 return glXCreateContext ();
9095 if ac_fn_c_try_link "$LINENO"; then :
9097 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9098 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'` ;;
9099 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9100 if test "x$ac_cv_lib_soname_GL" = x; then :
9101 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9105 rm -f core conftest.err conftest.$ac_objext \
9106 conftest$ac_exeext conftest.$ac_ext
9107 LIBS=$ac_check_soname_save_LIBS
9109 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9111 $as_echo "not found" >&6; }
9112 if test -f /usr/X11R6/lib/libGL.a
9114 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
9115 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9117 opengl_msg="No OpenGL library found on this system."
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9121 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9123 cat >>confdefs.h <<_ACEOF
9124 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9127 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"
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9131 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9133 cat >>confdefs.h <<_ACEOF
9134 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9139 if test "x$with_glu" != "xno"
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9142 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9143 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
9144 $as_echo_n "(cached) " >&6
9146 ac_check_lib_save_LIBS=$LIBS
9147 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9149 /* end confdefs.h. */
9151 /* Override any GCC internal prototype to avoid an error.
9152 Use char because int might match the return type of a GCC
9153 builtin and then its argument prototype would still apply. */
9161 return gluLookAt ();
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 ac_cv_lib_GLU_gluLookAt=yes
9169 ac_cv_lib_GLU_gluLookAt=no
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 LIBS=$ac_check_lib_save_LIBS
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9176 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9177 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
9181 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
9182 case "x$with_glu" in
9183 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9185 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
9186 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9191 if test "x$with_osmesa" != "xno"
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9194 $as_echo_n "checking for -lOSMesa... " >&6; }
9195 if ${ac_cv_lib_soname_OSMesa+:} false; then :
9196 $as_echo_n "(cached) " >&6
9198 ac_check_soname_save_LIBS=$LIBS
9199 LIBS="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9218 if ac_fn_c_try_link "$LINENO"; then :
9220 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9221 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'` ;;
9222 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9223 if test "x$ac_cv_lib_soname_OSMesa" = x; then :
9224 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9228 rm -f core conftest.err conftest.$ac_objext \
9229 conftest$ac_exeext conftest.$ac_ext
9230 LIBS=$ac_check_soname_save_LIBS
9232 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9234 $as_echo "not found" >&6; }
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9238 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9240 cat >>confdefs.h <<_ACEOF
9241 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9246 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9247 case "x$with_osmesa" in
9248 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9250 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9251 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9256 if test -n "$opengl_msg"; then :
9257 case "x$with_opengl" in
9258 x) as_fn_append wine_warnings "|$opengl_msg
9259 OpenGL and Direct3D won't be supported." ;;
9261 *) as_fn_error $? "$opengl_msg
9262 OpenGL and Direct3D won't be supported.
9263 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9267 CPPFLAGS="$ac_save_CPPFLAGS"
9272 enable_winex11_drv=${enable_winex11_drv:-no}
9274 if test "x$XLIB" = "x"; then :
9277 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
9278 without X support, which probably isn't what you want. You will need
9279 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9280 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9284 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
9286 if test "$ac_cv_header_CL_cl_h" = "yes"
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9289 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9290 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
9291 $as_echo_n "(cached) " >&6
9293 ac_check_lib_save_LIBS=$LIBS
9294 LIBS="-lOpenCL $LIBS"
9295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9304 char clGetPlatformInfo ();
9308 return clGetPlatformInfo ();
9313 if ac_fn_c_try_link "$LINENO"; then :
9314 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9316 ac_cv_lib_OpenCL_clGetPlatformInfo=no
9318 rm -f core conftest.err conftest.$ac_objext \
9319 conftest$ac_exeext conftest.$ac_ext
9320 LIBS=$ac_check_lib_save_LIBS
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9323 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9324 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
9325 LIBOPENCL="-lOpenCL"
9330 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
9331 case "x$with_opencl" in
9332 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9334 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9335 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9338 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
9347 if test "x$with_xml" != "xno"
9349 ac_save_CPPFLAGS="$CPPFLAGS"
9350 if test "$PKG_CONFIG" != "false"
9352 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9353 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9355 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
9356 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
9358 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9359 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
9361 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9362 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9363 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9364 cat >>confdefs.h <<_ACEOF
9365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9372 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"
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9375 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9376 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
9377 $as_echo_n "(cached) " >&6
9379 ac_check_lib_save_LIBS=$LIBS
9380 LIBS="-lxml2 $ac_xml_libs $LIBS"
9381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9382 /* end confdefs.h. */
9384 /* Override any GCC internal prototype to avoid an error.
9385 Use char because int might match the return type of a GCC
9386 builtin and then its argument prototype would still apply. */
9390 char xmlParseMemory ();
9394 return xmlParseMemory ();
9399 if ac_fn_c_try_link "$LINENO"; then :
9400 ac_cv_lib_xml2_xmlParseMemory=yes
9402 ac_cv_lib_xml2_xmlParseMemory=no
9404 rm -f core conftest.err conftest.$ac_objext \
9405 conftest$ac_exeext conftest.$ac_ext
9406 LIBS=$ac_check_lib_save_LIBS
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9409 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9410 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
9412 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9414 XML2LIBS="$ac_xml_libs"
9415 XML2INCL="$ac_xml_cflags"
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9419 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9420 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
9421 $as_echo_n "(cached) " >&6
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-lxml2 $ac_xml_libs $LIBS"
9425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9434 char xmlReadMemory ();
9438 return xmlReadMemory ();
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 ac_cv_lib_xml2_xmlReadMemory=yes
9446 ac_cv_lib_xml2_xmlReadMemory=no
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 LIBS=$ac_check_lib_save_LIBS
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9453 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9454 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
9456 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9461 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9462 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
9463 $as_echo_n "(cached) " >&6
9465 ac_check_lib_save_LIBS=$LIBS
9466 LIBS="-lxml2 $ac_xml_libs $LIBS"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9476 char xmlNewDocPI ();
9480 return xmlNewDocPI ();
9485 if ac_fn_c_try_link "$LINENO"; then :
9486 ac_cv_lib_xml2_xmlNewDocPI=yes
9488 ac_cv_lib_xml2_xmlNewDocPI=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 LIBS=$ac_check_lib_save_LIBS
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9495 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9496 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
9498 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9503 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9504 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
9505 $as_echo_n "(cached) " >&6
9507 ac_check_lib_save_LIBS=$LIBS
9508 LIBS="-lxml2 $ac_xml_libs $LIBS"
9509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9510 /* end confdefs.h. */
9512 /* Override any GCC internal prototype to avoid an error.
9513 Use char because int might match the return type of a GCC
9514 builtin and then its argument prototype would still apply. */
9518 char xmlSchemaSetParserStructuredErrors ();
9522 return xmlSchemaSetParserStructuredErrors ();
9527 if ac_fn_c_try_link "$LINENO"; then :
9528 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
9530 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
9532 rm -f core conftest.err conftest.$ac_objext \
9533 conftest$ac_exeext conftest.$ac_ext
9534 LIBS=$ac_check_lib_save_LIBS
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9537 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9538 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
9540 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9545 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9546 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
9547 $as_echo_n "(cached) " >&6
9549 ac_check_lib_save_LIBS=$LIBS
9550 LIBS="-lxml2 $ac_xml_libs $LIBS"
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9560 char xmlSchemaSetValidStructuredErrors ();
9564 return xmlSchemaSetValidStructuredErrors ();
9569 if ac_fn_c_try_link "$LINENO"; then :
9570 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
9572 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 LIBS=$ac_check_lib_save_LIBS
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9579 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9580 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
9582 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9587 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9588 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
9589 $as_echo_n "(cached) " >&6
9591 ac_check_lib_save_LIBS=$LIBS
9592 LIBS="-lxml2 $ac_xml_libs $LIBS"
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9596 /* Override any GCC internal prototype to avoid an error.
9597 Use char because int might match the return type of a GCC
9598 builtin and then its argument prototype would still apply. */
9602 char xmlFirstElementChild ();
9606 return xmlFirstElementChild ();
9611 if ac_fn_c_try_link "$LINENO"; then :
9612 ac_cv_lib_xml2_xmlFirstElementChild=yes
9614 ac_cv_lib_xml2_xmlFirstElementChild=no
9616 rm -f core conftest.err conftest.$ac_objext \
9617 conftest$ac_exeext conftest.$ac_ext
9618 LIBS=$ac_check_lib_save_LIBS
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9621 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9622 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
9624 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9628 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9630 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
9632 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9637 CPPFLAGS="$ac_save_CPPFLAGS"
9639 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9640 case "x$with_xml" in
9641 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9643 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9644 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9648 if test "x$with_xslt" != "xno"
9650 if test "$PKG_CONFIG" != "false"
9652 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9653 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9655 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9656 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9658 ac_save_CPPFLAGS="$CPPFLAGS"
9659 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9660 for ac_header in libxslt/pattern.h libxslt/transform.h
9662 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9663 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9664 # include <libxslt/pattern.h>
9667 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9668 cat >>confdefs.h <<_ACEOF
9669 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9676 CPPFLAGS="$ac_save_CPPFLAGS"
9677 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9680 $as_echo_n "checking for -lxslt... " >&6; }
9681 if ${ac_cv_lib_soname_xslt+:} false; then :
9682 $as_echo_n "(cached) " >&6
9684 ac_check_soname_save_LIBS=$LIBS
9685 LIBS="-lxslt $ac_xslt_libs $LIBS"
9686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h. */
9689 /* Override any GCC internal prototype to avoid an error.
9690 Use char because int might match the return type of a GCC
9691 builtin and then its argument prototype would still apply. */
9695 char xsltCompilePattern ();
9699 return xsltCompilePattern ();
9704 if ac_fn_c_try_link "$LINENO"; then :
9706 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9707 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'` ;;
9708 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9709 if test "x$ac_cv_lib_soname_xslt" = x; then :
9710 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9714 rm -f core conftest.err conftest.$ac_objext \
9715 conftest$ac_exeext conftest.$ac_ext
9716 LIBS=$ac_check_soname_save_LIBS
9718 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9720 $as_echo "not found" >&6; }
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9724 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9726 cat >>confdefs.h <<_ACEOF
9727 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9730 XSLTINCL="$ac_xslt_cflags"
9734 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9735 case "x$with_xslt" in
9736 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9738 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
9739 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9743 if test "x$with_dbus" != "xno"
9745 ac_save_CPPFLAGS="$CPPFLAGS"
9746 if test "$PKG_CONFIG" != "false"
9748 ac_dbus_libs="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9749 ac_dbus_cflags="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9750 CPPFLAGS="$CPPFLAGS $ac_dbus_cflags"
9752 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9753 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9755 $as_echo_n "checking for -ldbus-1... " >&6; }
9756 if ${ac_cv_lib_soname_dbus_1+:} false; then :
9757 $as_echo_n "(cached) " >&6
9759 ac_check_soname_save_LIBS=$LIBS
9760 LIBS="-ldbus-1 $ac_dbus_libs $LIBS"
9761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9764 /* Override any GCC internal prototype to avoid an error.
9765 Use char because int might match the return type of a GCC
9766 builtin and then its argument prototype would still apply. */
9770 char dbus_connection_close ();
9774 return dbus_connection_close ();
9779 if ac_fn_c_try_link "$LINENO"; then :
9781 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9782 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'` ;;
9783 *) 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'`
9784 if test "x$ac_cv_lib_soname_dbus_1" = x; then :
9785 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9789 rm -f core conftest.err conftest.$ac_objext \
9790 conftest$ac_exeext conftest.$ac_ext
9791 LIBS=$ac_check_soname_save_LIBS
9793 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9795 $as_echo "not found" >&6; }
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9799 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9801 cat >>confdefs.h <<_ACEOF
9802 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9805 DBUSINCL="$ac_dbus_cflags"
9811 CPPFLAGS="$ac_save_CPPFLAGS"
9813 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9814 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9815 case "x$with_dbus" in
9816 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9818 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
9819 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9823 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9825 ac_save_CPPFLAGS="$CPPFLAGS"
9826 if test "$PKG_CONFIG" != "false"
9828 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9829 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9830 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9832 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9833 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9835 $as_echo_n "checking for -lhal... " >&6; }
9836 if ${ac_cv_lib_soname_hal+:} false; then :
9837 $as_echo_n "(cached) " >&6
9839 ac_check_soname_save_LIBS=$LIBS
9840 LIBS="-lhal $ac_hal_libs $LIBS"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9844 /* Override any GCC internal prototype to avoid an error.
9845 Use char because int might match the return type of a GCC
9846 builtin and then its argument prototype would still apply. */
9850 char libhal_ctx_new ();
9854 return libhal_ctx_new ();
9859 if ac_fn_c_try_link "$LINENO"; then :
9861 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9862 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'` ;;
9863 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9864 if test "x$ac_cv_lib_soname_hal" = x; then :
9865 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 LIBS=$ac_check_soname_save_LIBS
9873 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9875 $as_echo "not found" >&6; }
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9879 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9881 cat >>confdefs.h <<_ACEOF
9882 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9885 HALINCL="$ac_hal_cflags"
9891 CPPFLAGS="$ac_save_CPPFLAGS"
9892 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9893 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9894 case "x$with_hal" in
9895 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9897 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
9898 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9903 if test "x$with_gnutls" != "xno"
9905 ac_save_CPPFLAGS="$CPPFLAGS"
9906 if test "$PKG_CONFIG" != "false"
9908 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9909 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9910 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9912 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9913 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 #include <gnutls/gnutls.h>
9920 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9925 if ac_fn_c_try_compile "$LINENO"; then :
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9927 $as_echo_n "checking for -lgnutls... " >&6; }
9928 if ${ac_cv_lib_soname_gnutls+:} false; then :
9929 $as_echo_n "(cached) " >&6
9931 ac_check_soname_save_LIBS=$LIBS
9932 LIBS="-lgnutls $ac_gnutls_libs $LIBS"
9933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9936 /* Override any GCC internal prototype to avoid an error.
9937 Use char because int might match the return type of a GCC
9938 builtin and then its argument prototype would still apply. */
9942 char gnutls_global_init ();
9946 return gnutls_global_init ();
9951 if ac_fn_c_try_link "$LINENO"; then :
9953 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9954 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'` ;;
9955 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9956 if test "x$ac_cv_lib_soname_gnutls" = x; then :
9957 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9961 rm -f core conftest.err conftest.$ac_objext \
9962 conftest$ac_exeext conftest.$ac_ext
9963 LIBS=$ac_check_soname_save_LIBS
9965 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9967 $as_echo "not found" >&6; }
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9971 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9973 cat >>confdefs.h <<_ACEOF
9974 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9977 GNUTLSINCL="$ac_gnutls_cflags"
9981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9985 CPPFLAGS="$ac_save_CPPFLAGS"
9987 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9988 case "x$with_gnutls" in
9989 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9991 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
9992 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9997 if test "$ac_cv_header_ncurses_h" = "yes"
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10000 $as_echo_n "checking for -lncurses... " >&6; }
10001 if ${ac_cv_lib_soname_ncurses+:} false; then :
10002 $as_echo_n "(cached) " >&6
10004 ac_check_soname_save_LIBS=$LIBS
10005 LIBS="-lncurses $LIBS"
10006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10009 /* Override any GCC internal prototype to avoid an error.
10010 Use char because int might match the return type of a GCC
10011 builtin and then its argument prototype would still apply. */
10024 if ac_fn_c_try_link "$LINENO"; then :
10026 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10027 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'` ;;
10028 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10029 if test "x$ac_cv_lib_soname_ncurses" = x; then :
10030 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10034 rm -f core conftest.err conftest.$ac_objext \
10035 conftest$ac_exeext conftest.$ac_ext
10036 LIBS=$ac_check_soname_save_LIBS
10038 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10040 $as_echo "not found" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10044 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10046 cat >>confdefs.h <<_ACEOF
10047 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10050 CURSESLIBS="-lncurses"
10052 elif test "$ac_cv_header_curses_h" = "yes"
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10055 $as_echo_n "checking for -lcurses... " >&6; }
10056 if ${ac_cv_lib_soname_curses+:} false; then :
10057 $as_echo_n "(cached) " >&6
10059 ac_check_soname_save_LIBS=$LIBS
10060 LIBS="-lcurses $LIBS"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10064 /* Override any GCC internal prototype to avoid an error.
10065 Use char because int might match the return type of a GCC
10066 builtin and then its argument prototype would still apply. */
10079 if ac_fn_c_try_link "$LINENO"; then :
10081 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10082 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'` ;;
10083 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10084 if test "x$ac_cv_lib_soname_curses" = x; then :
10085 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10089 rm -f core conftest.err conftest.$ac_objext \
10090 conftest$ac_exeext conftest.$ac_ext
10091 LIBS=$ac_check_soname_save_LIBS
10093 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10095 $as_echo "not found" >&6; }
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10099 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10101 cat >>confdefs.h <<_ACEOF
10102 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10105 CURSESLIBS="-lcurses"
10108 ac_save_LIBS="$LIBS"
10109 LIBS="$LIBS $CURSESLIBS"
10110 for ac_func in mousemask
10112 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
10113 if test "x$ac_cv_func_mousemask" = xyes; then :
10114 cat >>confdefs.h <<_ACEOF
10115 #define HAVE_MOUSEMASK 1
10121 LIBS="$ac_save_LIBS"
10122 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10123 case "x$with_curses" in
10124 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10126 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10127 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10131 if test "x$with_sane" != "xno"
10133 ac_save_CPPFLAGS="$CPPFLAGS"
10134 # Extract the first word of "sane-config", so it can be a program name with args.
10135 set dummy sane-config; ac_word=$2
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10137 $as_echo_n "checking for $ac_word... " >&6; }
10138 if ${ac_cv_prog_sane_devel+:} false; then :
10139 $as_echo_n "(cached) " >&6
10141 if test -n "$sane_devel"; then
10142 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10145 for as_dir in $PATH
10148 test -z "$as_dir" && as_dir=.
10149 for ac_exec_ext in '' $ac_executable_extensions; do
10150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10151 ac_cv_prog_sane_devel="sane-config"
10152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10162 sane_devel=$ac_cv_prog_sane_devel
10163 if test -n "$sane_devel"; then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10165 $as_echo "$sane_devel" >&6; }
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10168 $as_echo "no" >&6; }
10172 if test "$sane_devel" != "no"
10174 ac_sane_incl="`$sane_devel --cflags`"
10175 ac_sane_libs="`$sane_devel --ldflags`"
10176 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
10178 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10179 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10181 $as_echo_n "checking for -lsane... " >&6; }
10182 if ${ac_cv_lib_soname_sane+:} false; then :
10183 $as_echo_n "(cached) " >&6
10185 ac_check_soname_save_LIBS=$LIBS
10186 LIBS="-lsane $ac_sane_libs $LIBS"
10187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10188 /* end confdefs.h. */
10190 /* Override any GCC internal prototype to avoid an error.
10191 Use char because int might match the return type of a GCC
10192 builtin and then its argument prototype would still apply. */
10200 return sane_init ();
10205 if ac_fn_c_try_link "$LINENO"; then :
10207 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10208 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'` ;;
10209 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10210 if test "x$ac_cv_lib_soname_sane" = x; then :
10211 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10215 rm -f core conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 LIBS=$ac_check_soname_save_LIBS
10219 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10221 $as_echo "not found" >&6; }
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10225 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10227 cat >>confdefs.h <<_ACEOF
10228 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10231 SANEINCL="$ac_sane_incl"
10237 CPPFLAGS="$ac_save_CPPFLAGS"
10239 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10240 case "x$with_sane" in
10241 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10243 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
10244 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10248 if test "x$with_v4l" != "xno"
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10251 $as_echo_n "checking for -lv4l1... " >&6; }
10252 if ${ac_cv_lib_soname_v4l1+:} false; then :
10253 $as_echo_n "(cached) " >&6
10255 ac_check_soname_save_LIBS=$LIBS
10256 LIBS="-lv4l1 $LIBS"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10260 /* Override any GCC internal prototype to avoid an error.
10261 Use char because int might match the return type of a GCC
10262 builtin and then its argument prototype would still apply. */
10270 return v4l1_open ();
10275 if ac_fn_c_try_link "$LINENO"; then :
10277 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10278 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'` ;;
10279 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10280 if test "x$ac_cv_lib_soname_v4l1" = x; then :
10281 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 LIBS=$ac_check_soname_save_LIBS
10289 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10291 $as_echo "not found" >&6; }
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10295 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10297 cat >>confdefs.h <<_ACEOF
10298 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10304 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10305 case "x$with_v4l" in
10306 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
10308 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
10309 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10313 if test "x$with_gphoto" != "xno"
10315 ac_save_CPPFLAGS="$CPPFLAGS"
10316 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10317 set dummy gphoto2-config; ac_word=$2
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10319 $as_echo_n "checking for $ac_word... " >&6; }
10320 if ${ac_cv_prog_gphoto2_devel+:} false; then :
10321 $as_echo_n "(cached) " >&6
10323 if test -n "$gphoto2_devel"; then
10324 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10327 for as_dir in $PATH
10330 test -z "$as_dir" && as_dir=.
10331 for ac_exec_ext in '' $ac_executable_extensions; do
10332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10333 ac_cv_prog_gphoto2_devel="gphoto2-config"
10334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10341 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10344 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10345 if test -n "$gphoto2_devel"; then
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10347 $as_echo "$gphoto2_devel" >&6; }
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10350 $as_echo "no" >&6; }
10354 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10355 set dummy gphoto2-port-config; ac_word=$2
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10357 $as_echo_n "checking for $ac_word... " >&6; }
10358 if ${ac_cv_prog_gphoto2port_devel+:} false; then :
10359 $as_echo_n "(cached) " >&6
10361 if test -n "$gphoto2port_devel"; then
10362 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in $PATH
10368 test -z "$as_dir" && as_dir=.
10369 for ac_exec_ext in '' $ac_executable_extensions; do
10370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10371 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10379 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10382 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10383 if test -n "$gphoto2port_devel"; then
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10385 $as_echo "$gphoto2port_devel" >&6; }
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10388 $as_echo "no" >&6; }
10392 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10394 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10396 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10399 -L/usr/lib|-L/usr/lib64) ;;
10400 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
10403 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
10405 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
10406 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10407 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10409 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10410 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
10411 $as_echo_n "(cached) " >&6
10413 ac_check_lib_save_LIBS=$LIBS
10414 LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
10415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10418 /* Override any GCC internal prototype to avoid an error.
10419 Use char because int might match the return type of a GCC
10420 builtin and then its argument prototype would still apply. */
10424 char gp_camera_new ();
10428 return gp_camera_new ();
10433 if ac_fn_c_try_link "$LINENO"; then :
10434 ac_cv_lib_gphoto2_gp_camera_new=yes
10436 ac_cv_lib_gphoto2_gp_camera_new=no
10438 rm -f core conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10440 LIBS=$ac_check_lib_save_LIBS
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10443 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10444 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
10446 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10448 GPHOTO2LIBS="$ac_gphoto2_libs"
10450 GPHOTO2INCL="$ac_gphoto2_incl"
10457 CPPFLAGS="$ac_save_CPPFLAGS"
10459 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10460 case "x$with_gphoto" in
10461 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10463 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10464 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10469 if test "$ac_cv_header_resolv_h" = "yes"
10471 ac_save_LIBS="$LIBS"
10472 for lib in '' -lresolv
10474 LIBS="$lib $ac_save_LIBS"
10475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10476 /* end confdefs.h. */
10477 #ifdef HAVE_NETINET_IN_H
10478 #include <netinet/in.h>
10480 #include <resolv.h>
10484 res_query("foo",ns_c_in,0,0,0);
10489 if ac_fn_c_try_link "$LINENO"; then :
10491 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10496 rm -f core conftest.err conftest.$ac_objext \
10497 conftest$ac_exeext conftest.$ac_ext
10498 if test "${RESOLVLIBS+set}" = set; then
10502 LIBS="$ac_save_LIBS"
10507 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10510 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10511 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false; then :
10512 $as_echo_n "(cached) " >&6
10514 ac_check_lib_save_LIBS=$LIBS
10515 LIBS="-llcms $LIBS"
10516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10517 /* end confdefs.h. */
10519 /* Override any GCC internal prototype to avoid an error.
10520 Use char because int might match the return type of a GCC
10521 builtin and then its argument prototype would still apply. */
10525 char cmsOpenProfileFromFile ();
10529 return cmsOpenProfileFromFile ();
10534 if ac_fn_c_try_link "$LINENO"; then :
10535 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10537 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10539 rm -f core conftest.err conftest.$ac_objext \
10540 conftest$ac_exeext conftest.$ac_ext
10541 LIBS=$ac_check_lib_save_LIBS
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10544 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10545 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes; then :
10547 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10553 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10554 case "x$with_cms" in
10555 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10557 *) as_fn_error $? "liblcms ${notice_platform}development files not found, Color Management won't be supported.
10558 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10562 if test "x$with_freetype" != "xno"
10564 if test "$PKG_CONFIG" != "false"
10566 ac_freetype_incl="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10567 ac_freetype_libs="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10569 for ac_prog in freetype-config freetype2-config
10571 # Extract the first word of "$ac_prog", so it can be a program name with args.
10572 set dummy $ac_prog; ac_word=$2
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10574 $as_echo_n "checking for $ac_word... " >&6; }
10575 if ${ac_cv_prog_ft_devel+:} false; then :
10576 $as_echo_n "(cached) " >&6
10578 if test -n "$ft_devel"; then
10579 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582 for as_dir in $PATH
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10588 ac_cv_prog_ft_devel="$ac_prog"
10589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10598 ft_devel=$ac_cv_prog_ft_devel
10599 if test -n "$ft_devel"; then
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10601 $as_echo "$ft_devel" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10604 $as_echo "no" >&6; }
10608 test -n "$ft_devel" && break
10610 test -n "$ft_devel" || ft_devel="no"
10612 if test "$ft_devel" != "no"
10614 ac_freetype_incl=`$ft_devel --cflags`
10615 ac_freetype_libs=`$ft_devel --libs`
10618 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10620 $as_echo_n "checking for -lfreetype... " >&6; }
10621 if ${ac_cv_lib_soname_freetype+:} false; then :
10622 $as_echo_n "(cached) " >&6
10624 ac_check_soname_save_LIBS=$LIBS
10625 LIBS="-lfreetype $ac_freetype_libs $LIBS"
10626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10627 /* end confdefs.h. */
10629 /* Override any GCC internal prototype to avoid an error.
10630 Use char because int might match the return type of a GCC
10631 builtin and then its argument prototype would still apply. */
10635 char FT_Init_FreeType ();
10639 return FT_Init_FreeType ();
10644 if ac_fn_c_try_link "$LINENO"; then :
10646 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10647 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'` ;;
10648 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10649 if test "x$ac_cv_lib_soname_freetype" = x; then :
10650 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10654 rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656 LIBS=$ac_check_soname_save_LIBS
10658 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10660 $as_echo "not found" >&6; }
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10664 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10666 cat >>confdefs.h <<_ACEOF
10667 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10672 if test "$ft_lib" = "yes"
10674 ac_save_CPPFLAGS="$CPPFLAGS"
10675 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
10676 for ac_header in ft2build.h \
10677 freetype/freetype.h \
10678 freetype/ftglyph.h \
10679 freetype/fttypes.h \
10680 freetype/tttables.h \
10681 freetype/ftsnames.h \
10682 freetype/ttnameid.h \
10683 freetype/ftoutln.h \
10684 freetype/ftwinfnt.h \
10685 freetype/ftmodapi.h \
10686 freetype/ftlcdfil.h
10688 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10689 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10690 # include <ft2build.h>
10693 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10694 cat >>confdefs.h <<_ACEOF
10695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10704 #include <ft2build.h>
10705 #include <freetype/fttrigon.h>
10707 if ac_fn_c_try_cpp "$LINENO"; then :
10709 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10711 wine_cv_fttrigon=yes
10713 wine_cv_fttrigon=no
10715 rm -f conftest.err conftest.i conftest.$ac_ext
10716 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10718 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
10720 cat >>confdefs.h <<_ACEOF
10721 #define HAVE_FT_TRUETYPEENGINETYPE 1
10727 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10730 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10732 FREETYPELIBS="$ac_freetype_libs"
10734 FREETYPEINCL="$ac_freetype_incl"
10739 if test "x$FREETYPELIBS" = "x"; then :
10740 case "x$with_freetype" in
10742 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
10743 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10746 test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10749 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10750 if ${ac_cv_c_ppdev+:} false; then :
10751 $as_echo_n "(cached) " >&6
10753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10754 /* end confdefs.h. */
10755 #ifdef HAVE_SYS_IOCTL_H
10756 # include <sys/ioctl.h>
10758 #include <linux/ppdev.h>
10762 ioctl (1,PPCLAIM,0)
10767 if ac_fn_c_try_compile "$LINENO"; then :
10768 ac_cv_c_ppdev="yes"
10772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10775 $as_echo "$ac_cv_c_ppdev" >&6; }
10776 if test "$ac_cv_c_ppdev" = "yes"
10779 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10783 ac_wine_check_funcs_save_LIBS="$LIBS"
10784 LIBS="$LIBS $LIBPTHREAD"
10786 pthread_attr_get_np \
10787 pthread_getattr_np \
10788 pthread_getthreadid_np \
10789 pthread_get_stackaddr_np \
10790 pthread_get_stacksize_np
10792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10794 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
10795 cat >>confdefs.h <<_ACEOF
10796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10802 LIBS="$ac_wine_check_funcs_save_LIBS"
10804 if test "$ac_cv_header_zlib_h" = "yes"
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10807 $as_echo_n "checking for inflate in -lz... " >&6; }
10808 if ${ac_cv_lib_z_inflate+:} false; then :
10809 $as_echo_n "(cached) " >&6
10811 ac_check_lib_save_LIBS=$LIBS
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10831 if ac_fn_c_try_link "$LINENO"; then :
10832 ac_cv_lib_z_inflate=yes
10834 ac_cv_lib_z_inflate=no
10836 rm -f core conftest.err conftest.$ac_objext \
10837 conftest$ac_exeext conftest.$ac_ext
10838 LIBS=$ac_check_lib_save_LIBS
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10841 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10842 if test "x$ac_cv_lib_z_inflate" = xyes; then :
10844 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10851 if test "x$ZLIB" = "x"; then :
10852 case "x$with_zlib" in
10853 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10855 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
10856 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10860 if test "x$enable_tools" != xno
10862 if test "$ac_cv_header_gettext_po_h" = "yes"
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10865 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10866 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
10867 $as_echo_n "(cached) " >&6
10869 ac_check_lib_save_LIBS=$LIBS
10870 LIBS="-lgettextpo $LIBS"
10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10880 char po_message_msgctxt ();
10884 return po_message_msgctxt ();
10889 if ac_fn_c_try_link "$LINENO"; then :
10890 ac_cv_lib_gettextpo_po_message_msgctxt=yes
10892 ac_cv_lib_gettextpo_po_message_msgctxt=no
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_lib_save_LIBS
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10899 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10900 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
10902 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10904 LIBGETTEXTPO="-lgettextpo"
10909 test "x$with_gettextpo" != xyes || if test "x$LIBGETTEXTPO" = "x"; then :
10910 case "x$with_gettextpo" in
10911 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10913 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10914 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10919 if test "x$with_gstreamer" != "xno"
10921 ac_save_CPPFLAGS="$CPPFLAGS"
10922 if test "$PKG_CONFIG" != "false"; then
10924 for i in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10927 -I*) ac_gst_incl="$ac_gst_incl $i";;
10930 ac_gst_libs="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10931 CPPFLAGS="$CPPFLAGS $ac_gst_incl"
10932 ac_fn_c_check_header_mongrel "$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10933 if test "x$ac_cv_header_gst_gstpad_h" = xyes; then :
10934 ac_fn_c_check_header_mongrel "$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10935 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes; then :
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10937 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10939 /* end confdefs.h. */
10940 #include <gst/app/gstappsink.h>
10944 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10949 if ac_fn_c_try_compile "$LINENO"; then :
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10951 $as_echo "yes" >&6; }
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10953 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10954 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false; then :
10955 $as_echo_n "(cached) " >&6
10957 ac_check_lib_save_LIBS=$LIBS
10958 LIBS="-lgstreamer-0.10 $LIBS"
10959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10960 /* end confdefs.h. */
10962 /* Override any GCC internal prototype to avoid an error.
10963 Use char because int might match the return type of a GCC
10964 builtin and then its argument prototype would still apply. */
10968 char gst_pad_get_caps_reffed ();
10972 return gst_pad_get_caps_reffed ();
10977 if ac_fn_c_try_link "$LINENO"; then :
10978 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=yes
10980 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed=no
10982 rm -f core conftest.err conftest.$ac_objext \
10983 conftest$ac_exeext conftest.$ac_ext
10984 LIBS=$ac_check_lib_save_LIBS
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10987 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10988 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes; then :
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10990 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10991 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false; then :
10992 $as_echo_n "(cached) " >&6
10994 ac_check_lib_save_LIBS=$LIBS
10995 LIBS="-lgstapp-0.10 $ac_gst_libs $LIBS"
10996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997 /* end confdefs.h. */
10999 /* Override any GCC internal prototype to avoid an error.
11000 Use char because int might match the return type of a GCC
11001 builtin and then its argument prototype would still apply. */
11005 char gst_app_buffer_new ();
11009 return gst_app_buffer_new ();
11014 if ac_fn_c_try_link "$LINENO"; then :
11015 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=yes
11017 ac_cv_lib_gstapp_0_10_gst_app_buffer_new=no
11019 rm -f core conftest.err conftest.$ac_objext \
11020 conftest$ac_exeext conftest.$ac_ext
11021 LIBS=$ac_check_lib_save_LIBS
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11024 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11025 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes; then :
11026 GSTREAMER_LIBS="$ac_gst_libs"
11028 GSTREAMER_INCL="$ac_gst_incl"
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11036 $as_echo "no" >&6; }
11038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11046 CPPFLAGS="$ac_save_CPPFLAGS"
11048 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes; then :
11049 case "x$with_gstreamer" in
11050 x) as_fn_append wine_notices "|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11052 *) as_fn_error $? "gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11053 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11056 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
11060 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11063 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11064 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
11065 $as_echo_n "(cached) " >&6
11067 ac_check_lib_save_LIBS=$LIBS
11068 LIBS="-lasound $LIBS"
11069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11078 char snd_pcm_hw_params_get_access_mask ();
11082 return snd_pcm_hw_params_get_access_mask ();
11087 if ac_fn_c_try_link "$LINENO"; then :
11088 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
11090 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
11092 rm -f core conftest.err conftest.$ac_objext \
11093 conftest$ac_exeext conftest.$ac_ext
11094 LIBS=$ac_check_lib_save_LIBS
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11097 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11098 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11101 #ifdef HAVE_ALSA_ASOUNDLIB_H
11102 #include <alsa/asoundlib.h>
11103 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11104 #include <sys/asoundlib.h>
11109 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11114 if ac_fn_c_try_compile "$LINENO"; then :
11115 ALSALIBS="-lasound"
11117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11122 if test "x$with_oss" != xno
11124 ac_save_CPPFLAGS="$CPPFLAGS"
11125 if test -f /etc/oss.conf
11129 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11130 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
11131 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11132 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
11133 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11135 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
11137 cat >>confdefs.h <<_ACEOF
11138 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11141 OSS4INCL="$ac_oss_incl"
11148 CPPFLAGS="$ac_save_CPPFLAGS"
11149 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11151 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11156 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11159 $as_echo_n "checking for -lcapi20... " >&6; }
11160 if ${ac_cv_lib_soname_capi20+:} false; then :
11161 $as_echo_n "(cached) " >&6
11163 ac_check_soname_save_LIBS=$LIBS
11164 LIBS="-lcapi20 $LIBS"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11168 /* Override any GCC internal prototype to avoid an error.
11169 Use char because int might match the return type of a GCC
11170 builtin and then its argument prototype would still apply. */
11174 char capi20_register ();
11178 return capi20_register ();
11183 if ac_fn_c_try_link "$LINENO"; then :
11185 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11186 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'` ;;
11187 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11188 if test "x$ac_cv_lib_soname_capi20" = x; then :
11189 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11193 rm -f core conftest.err conftest.$ac_objext \
11194 conftest$ac_exeext conftest.$ac_ext
11195 LIBS=$ac_check_soname_save_LIBS
11197 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11199 $as_echo "not found" >&6; }
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11203 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11205 cat >>confdefs.h <<_ACEOF
11206 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11212 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11213 case "x$with_capi" in
11214 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11216 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11217 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11223 if test "x$with_cups" != "xno"
11225 ac_save_CPPFLAGS="$CPPFLAGS"
11226 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
11227 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
11228 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
11229 for ac_header in cups/cups.h
11231 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11232 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
11233 cat >>confdefs.h <<_ACEOF
11234 #define HAVE_CUPS_CUPS_H 1
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11237 $as_echo_n "checking for -lcups... " >&6; }
11238 if ${ac_cv_lib_soname_cups+:} false; then :
11239 $as_echo_n "(cached) " >&6
11241 ac_check_soname_save_LIBS=$LIBS
11242 LIBS="-lcups $ac_cups_libs $LIBS"
11243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244 /* end confdefs.h. */
11246 /* Override any GCC internal prototype to avoid an error.
11247 Use char because int might match the return type of a GCC
11248 builtin and then its argument prototype would still apply. */
11252 char cupsGetDefault ();
11256 return cupsGetDefault ();
11261 if ac_fn_c_try_link "$LINENO"; then :
11263 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11264 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'` ;;
11265 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11266 if test "x$ac_cv_lib_soname_cups" = x; then :
11267 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11271 rm -f core conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_soname_save_LIBS
11275 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11277 $as_echo "not found" >&6; }
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11281 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11283 cat >>confdefs.h <<_ACEOF
11284 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11287 CUPSINCL="$ac_cups_cflags"
11293 CPPFLAGS="$ac_save_CPPFLAGS"
11295 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11296 case "x$with_cups" in
11297 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11299 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
11300 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11304 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11307 $as_echo_n "checking for -lfontconfig... " >&6; }
11308 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11309 $as_echo_n "(cached) " >&6
11311 ac_check_soname_save_LIBS=$LIBS
11312 LIBS="-lfontconfig $LIBS"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11331 if ac_fn_c_try_link "$LINENO"; then :
11333 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11334 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'` ;;
11335 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11336 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11337 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11341 rm -f core conftest.err conftest.$ac_objext \
11342 conftest$ac_exeext conftest.$ac_ext
11343 LIBS=$ac_check_soname_save_LIBS
11345 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11347 $as_echo "not found" >&6; }
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11351 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11353 cat >>confdefs.h <<_ACEOF
11354 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11359 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11361 ac_save_CPPFLAGS="$CPPFLAGS"
11362 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11363 $as_unset ac_cv_header_fontconfig_fontconfig_h
11364 for ac_header in fontconfig/fontconfig.h
11366 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11367 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
11368 cat >>confdefs.h <<_ACEOF
11369 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11376 CPPFLAGS="$ac_save_CPPFLAGS"
11377 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11379 FONTCONFIGINCL="$X_CFLAGS"
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11382 $as_echo_n "checking for -lfontconfig... " >&6; }
11383 if ${ac_cv_lib_soname_fontconfig+:} false; then :
11384 $as_echo_n "(cached) " >&6
11386 ac_check_soname_save_LIBS=$LIBS
11387 LIBS="-lfontconfig $X_LIBS $LIBS"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11406 if ac_fn_c_try_link "$LINENO"; then :
11408 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11411 if test "x$ac_cv_lib_soname_fontconfig" = x; then :
11412 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_soname_save_LIBS
11420 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11426 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11436 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11437 case "x$with_fontconfig" in
11438 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11440 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11441 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11445 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11448 $as_echo_n "checking for -lssl... " >&6; }
11449 if ${ac_cv_lib_soname_ssl+:} false; then :
11450 $as_echo_n "(cached) " >&6
11452 ac_check_soname_save_LIBS=$LIBS
11454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h. */
11457 /* Override any GCC internal prototype to avoid an error.
11458 Use char because int might match the return type of a GCC
11459 builtin and then its argument prototype would still apply. */
11463 char SSL_library_init ();
11467 return SSL_library_init ();
11472 if ac_fn_c_try_link "$LINENO"; then :
11474 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11475 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'` ;;
11476 *) ac_cv_lib_soname_ssl=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libssl\\.$LIBEXT" | sed -e "s/^.*\\[\\(libssl\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11477 if test "x$ac_cv_lib_soname_ssl" = x; then :
11478 ac_cv_lib_soname_ssl=`$LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_soname_save_LIBS
11486 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11488 $as_echo "not found" >&6; }
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11492 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11494 cat >>confdefs.h <<_ACEOF
11495 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11501 $as_echo_n "checking for -lcrypto... " >&6; }
11502 if ${ac_cv_lib_soname_crypto+:} false; then :
11503 $as_echo_n "(cached) " >&6
11505 ac_check_soname_save_LIBS=$LIBS
11506 LIBS="-lcrypto $LIBS"
11507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11516 char BIO_new_socket ();
11520 return BIO_new_socket ();
11525 if ac_fn_c_try_link "$LINENO"; then :
11527 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11528 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'` ;;
11529 *) ac_cv_lib_soname_crypto=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcrypto\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcrypto\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11530 if test "x$ac_cv_lib_soname_crypto" = x; then :
11531 ac_cv_lib_soname_crypto=`$LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11535 rm -f core conftest.err conftest.$ac_objext \
11536 conftest$ac_exeext conftest.$ac_ext
11537 LIBS=$ac_check_soname_save_LIBS
11539 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11541 $as_echo "not found" >&6; }
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11545 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11547 cat >>confdefs.h <<_ACEOF
11548 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11554 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11555 case "x$with_openssl" in
11556 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11558 *) as_fn_error $? "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11559 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11563 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11566 $as_echo_n "checking for -lgsm... " >&6; }
11567 if ${ac_cv_lib_soname_gsm+:} false; then :
11568 $as_echo_n "(cached) " >&6
11570 ac_check_soname_save_LIBS=$LIBS
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11581 char gsm_create ();
11585 return gsm_create ();
11590 if ac_fn_c_try_link "$LINENO"; then :
11592 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11593 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'` ;;
11594 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11595 if test "x$ac_cv_lib_soname_gsm" = x; then :
11596 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11600 rm -f core conftest.err conftest.$ac_objext \
11601 conftest$ac_exeext conftest.$ac_ext
11602 LIBS=$ac_check_soname_save_LIBS
11604 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11606 $as_echo "not found" >&6; }
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11610 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11612 cat >>confdefs.h <<_ACEOF
11613 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11619 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11620 case "x$with_gsm" in
11621 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11623 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11624 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11628 if test "$ac_cv_header_jpeglib_h" = "yes"
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11631 $as_echo_n "checking for -ljpeg... " >&6; }
11632 if ${ac_cv_lib_soname_jpeg+:} false; then :
11633 $as_echo_n "(cached) " >&6
11635 ac_check_soname_save_LIBS=$LIBS
11636 LIBS="-ljpeg $LIBS"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11640 /* Override any GCC internal prototype to avoid an error.
11641 Use char because int might match the return type of a GCC
11642 builtin and then its argument prototype would still apply. */
11646 char jpeg_start_decompress ();
11650 return jpeg_start_decompress ();
11655 if ac_fn_c_try_link "$LINENO"; then :
11657 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11658 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'` ;;
11659 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11660 if test "x$ac_cv_lib_soname_jpeg" = x; then :
11661 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11665 rm -f core conftest.err conftest.$ac_objext \
11666 conftest$ac_exeext conftest.$ac_ext
11667 LIBS=$ac_check_soname_save_LIBS
11669 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11671 $as_echo "not found" >&6; }
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11675 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11677 cat >>confdefs.h <<_ACEOF
11678 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11684 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11685 case "x$with_jpeg" in
11686 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11688 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11689 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11693 if test "$ac_cv_header_png_h" = "yes"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11696 $as_echo_n "checking for -lpng... " >&6; }
11697 if ${ac_cv_lib_soname_png+:} false; then :
11698 $as_echo_n "(cached) " >&6
11700 ac_check_soname_save_LIBS=$LIBS
11701 LIBS="-lpng -lm -lz $LIBS"
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11711 char png_create_read_struct ();
11715 return png_create_read_struct ();
11720 if ac_fn_c_try_link "$LINENO"; then :
11722 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11723 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'` ;;
11724 *) 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'`
11725 if test "x$ac_cv_lib_soname_png" = x; then :
11726 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11730 rm -f core conftest.err conftest.$ac_objext \
11731 conftest$ac_exeext conftest.$ac_ext
11732 LIBS=$ac_check_soname_save_LIBS
11734 if test "x$ac_cv_lib_soname_png" = "x"; then :
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11736 $as_echo "not found" >&6; }
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11740 $as_echo "$ac_cv_lib_soname_png" >&6; }
11742 cat >>confdefs.h <<_ACEOF
11743 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11749 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11750 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11751 $as_echo_n "(cached) " >&6
11753 ac_check_lib_save_LIBS=$LIBS
11754 LIBS="-lpng -lm -lz $LIBS"
11755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11764 char png_set_expand_gray_1_2_4_to_8 ();
11768 return png_set_expand_gray_1_2_4_to_8 ();
11773 if ac_fn_c_try_link "$LINENO"; then :
11774 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11776 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11778 rm -f core conftest.err conftest.$ac_objext \
11779 conftest$ac_exeext conftest.$ac_ext
11780 LIBS=$ac_check_lib_save_LIBS
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11783 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11784 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11786 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11791 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11793 ac_save_CPPFLAGS="$CPPFLAGS"
11794 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11795 $as_unset ac_cv_header_png_h
11796 for ac_header in png.h
11798 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11799 if test "x$ac_cv_header_png_h" = xyes; then :
11800 cat >>confdefs.h <<_ACEOF
11801 #define HAVE_PNG_H 1
11808 CPPFLAGS="$ac_save_CPPFLAGS"
11809 if test "$ac_cv_header_png_h" = "yes"
11811 PNGINCL="$X_CFLAGS"
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11814 $as_echo_n "checking for -lpng... " >&6; }
11815 if ${ac_cv_lib_soname_png+:} false; then :
11816 $as_echo_n "(cached) " >&6
11818 ac_check_soname_save_LIBS=$LIBS
11819 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11821 /* end confdefs.h. */
11823 /* Override any GCC internal prototype to avoid an error.
11824 Use char because int might match the return type of a GCC
11825 builtin and then its argument prototype would still apply. */
11829 char png_create_read_struct ();
11833 return png_create_read_struct ();
11838 if ac_fn_c_try_link "$LINENO"; then :
11840 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11841 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'` ;;
11842 *) 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'`
11843 if test "x$ac_cv_lib_soname_png" = x; then :
11844 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11848 rm -f core conftest.err conftest.$ac_objext \
11849 conftest$ac_exeext conftest.$ac_ext
11850 LIBS=$ac_check_soname_save_LIBS
11852 if test "x$ac_cv_lib_soname_png" = "x"; then :
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11854 $as_echo "not found" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11858 $as_echo "$ac_cv_lib_soname_png" >&6; }
11860 cat >>confdefs.h <<_ACEOF
11861 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11867 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11868 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false; then :
11869 $as_echo_n "(cached) " >&6
11871 ac_check_lib_save_LIBS=$LIBS
11872 LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11882 char png_set_expand_gray_1_2_4_to_8 ();
11886 return png_set_expand_gray_1_2_4_to_8 ();
11891 if ac_fn_c_try_link "$LINENO"; then :
11892 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11894 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11896 rm -f core conftest.err conftest.$ac_objext \
11897 conftest$ac_exeext conftest.$ac_ext
11898 LIBS=$ac_check_lib_save_LIBS
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11901 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11902 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes; then :
11903 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11909 if test "x$ac_cv_lib_soname_png" = "x"; then :
11910 case "x$with_png" in
11911 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11913 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
11914 This is an error since --with-png was requested." "$LINENO" 5 ;;
11918 if test "$ac_cv_header_tiffio_h" = "yes"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11921 $as_echo_n "checking for -ltiff... " >&6; }
11922 if ${ac_cv_lib_soname_tiff+:} false; then :
11923 $as_echo_n "(cached) " >&6
11925 ac_check_soname_save_LIBS=$LIBS
11926 LIBS="-ltiff $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11936 char TIFFClientOpen ();
11940 return TIFFClientOpen ();
11945 if ac_fn_c_try_link "$LINENO"; then :
11947 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11948 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'` ;;
11949 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11950 if test "x$ac_cv_lib_soname_tiff" = x; then :
11951 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11955 rm -f core conftest.err conftest.$ac_objext \
11956 conftest$ac_exeext conftest.$ac_ext
11957 LIBS=$ac_check_soname_save_LIBS
11959 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11961 $as_echo "not found" >&6; }
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11965 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11967 cat >>confdefs.h <<_ACEOF
11968 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11974 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11975 case "x$with_tiff" in
11976 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11978 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
11979 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11983 if test "$ac_cv_header_mpg123_h" = "yes"
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11986 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11987 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
11988 $as_echo_n "(cached) " >&6
11990 ac_check_lib_save_LIBS=$LIBS
11991 LIBS="-lmpg123 $LIBS"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11995 /* Override any GCC internal prototype to avoid an error.
11996 Use char because int might match the return type of a GCC
11997 builtin and then its argument prototype would still apply. */
12001 char mpg123_feed ();
12005 return mpg123_feed ();
12010 if ac_fn_c_try_link "$LINENO"; then :
12011 ac_cv_lib_mpg123_mpg123_feed=yes
12013 ac_cv_lib_mpg123_mpg123_feed=no
12015 rm -f core conftest.err conftest.$ac_objext \
12016 conftest$ac_exeext conftest.$ac_ext
12017 LIBS=$ac_check_lib_save_LIBS
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12020 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12021 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
12022 LIBMPG123="-lmpg123"
12027 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
12028 case "x$with_mpg123" in
12029 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12031 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12032 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12035 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}
12037 if test "$ac_cv_header_AL_al_h" = "yes"
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12040 $as_echo_n "checking for -lopenal... " >&6; }
12041 if ${ac_cv_lib_soname_openal+:} false; then :
12042 $as_echo_n "(cached) " >&6
12044 ac_check_soname_save_LIBS=$LIBS
12045 LIBS="-lopenal $LIBS"
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12055 char alGetSource3i ();
12059 return alGetSource3i ();
12064 if ac_fn_c_try_link "$LINENO"; then :
12066 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12067 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'` ;;
12068 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12069 if test "x$ac_cv_lib_soname_openal" = x; then :
12070 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12074 rm -f core conftest.err conftest.$ac_objext \
12075 conftest$ac_exeext conftest.$ac_ext
12076 LIBS=$ac_check_soname_save_LIBS
12078 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12080 $as_echo "not found" >&6; }
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12084 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12086 cat >>confdefs.h <<_ACEOF
12087 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12090 LIBOPENAL="-lopenal"
12092 ac_cv_lib_openal=yes
12094 cat >>confdefs.h <<_ACEOF
12095 #define HAVE_OPENAL 1
12100 if test "x$ac_cv_lib_openal" != xyes; then :
12101 case "x$with_openal" in
12102 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12104 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12105 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12108 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
12110 if test "$ac_cv_header_kstat_h" = "yes"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12113 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12114 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
12115 $as_echo_n "(cached) " >&6
12117 ac_check_lib_save_LIBS=$LIBS
12118 LIBS="-lkstat $LIBS"
12119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12128 char kstat_open ();
12132 return kstat_open ();
12137 if ac_fn_c_try_link "$LINENO"; then :
12138 ac_cv_lib_kstat_kstat_open=yes
12140 ac_cv_lib_kstat_kstat_open=no
12142 rm -f core conftest.err conftest.$ac_objext \
12143 conftest$ac_exeext conftest.$ac_ext
12144 LIBS=$ac_check_lib_save_LIBS
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12147 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12148 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
12150 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12159 $as_echo_n "checking for -lodbc... " >&6; }
12160 if ${ac_cv_lib_soname_odbc+:} false; then :
12161 $as_echo_n "(cached) " >&6
12163 ac_check_soname_save_LIBS=$LIBS
12164 LIBS="-lodbc $LIBS"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12174 char SQLConnect ();
12178 return SQLConnect ();
12183 if ac_fn_c_try_link "$LINENO"; then :
12185 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12186 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'` ;;
12187 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12188 if test "x$ac_cv_lib_soname_odbc" = x; then :
12189 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_soname_save_LIBS
12197 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12199 $as_echo "not found" >&6; }
12200 cat >>confdefs.h <<_ACEOF
12201 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12206 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12208 cat >>confdefs.h <<_ACEOF
12209 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12215 test -n "$ALSALIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12216 test -n "$COREAUDIO" || enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
12217 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12218 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
12220 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12221 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes -a \
12222 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12224 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
12230 if test "x${GCC}" = "xyes"
12232 EXTRACFLAGS="-Wall -pipe"
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12235 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12236 if ${ac_cv_c_gcc_strength_bug+:} false; then :
12237 $as_echo_n "(cached) " >&6
12239 if test "$cross_compiling" = yes; then :
12240 ac_cv_c_gcc_strength_bug="yes"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12244 int L[4] = {0,1,2,3};
12248 static int Array[3];
12249 unsigned int B = 3;
12251 for(i=0; i<B; i++) Array[i] = i - 3;
12252 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12254 return (Array[1] != -2 || L[2] != 3)
12259 if ac_fn_c_try_run "$LINENO"; then :
12260 ac_cv_c_gcc_strength_bug="no"
12262 ac_cv_c_gcc_strength_bug="yes"
12264 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12265 conftest.$ac_objext conftest.beam conftest.$ac_ext
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12270 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12271 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12273 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12277 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12278 if ${ac_cv_cflags__fno_builtin+:} false; then :
12279 $as_echo_n "(cached) " >&6
12281 ac_wine_try_cflags_saved=$CFLAGS
12282 CFLAGS="$CFLAGS -fno-builtin"
12283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285 int main(int argc, char **argv) { return 0; }
12287 if ac_fn_c_try_link "$LINENO"; then :
12288 ac_cv_cflags__fno_builtin=yes
12290 ac_cv_cflags__fno_builtin=no
12292 rm -f core conftest.err conftest.$ac_objext \
12293 conftest$ac_exeext conftest.$ac_ext
12294 CFLAGS=$ac_wine_try_cflags_saved
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12297 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12298 if test $ac_cv_cflags__fno_builtin = yes; then :
12299 BUILTINFLAG="-fno-builtin"
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12303 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12304 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
12305 $as_echo_n "(cached) " >&6
12307 ac_wine_try_cflags_saved=$CFLAGS
12308 CFLAGS="$CFLAGS -fno-strict-aliasing"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h. */
12311 int main(int argc, char **argv) { return 0; }
12313 if ac_fn_c_try_link "$LINENO"; then :
12314 ac_cv_cflags__fno_strict_aliasing=yes
12316 ac_cv_cflags__fno_strict_aliasing=no
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 CFLAGS=$ac_wine_try_cflags_saved
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12323 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12324 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12325 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12328 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12329 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
12330 $as_echo_n "(cached) " >&6
12332 ac_wine_try_cflags_saved=$CFLAGS
12333 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12336 int main(int argc, char **argv) { return 0; }
12338 if ac_fn_c_try_link "$LINENO"; then :
12339 ac_cv_cflags__Wdeclaration_after_statement=yes
12341 ac_cv_cflags__Wdeclaration_after_statement=no
12343 rm -f core conftest.err conftest.$ac_objext \
12344 conftest$ac_exeext conftest.$ac_ext
12345 CFLAGS=$ac_wine_try_cflags_saved
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12348 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12349 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12350 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12353 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12354 if ${ac_cv_cflags__Wempty_body+:} false; then :
12355 $as_echo_n "(cached) " >&6
12357 ac_wine_try_cflags_saved=$CFLAGS
12358 CFLAGS="$CFLAGS -Wempty-body"
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12361 int main(int argc, char **argv) { return 0; }
12363 if ac_fn_c_try_link "$LINENO"; then :
12364 ac_cv_cflags__Wempty_body=yes
12366 ac_cv_cflags__Wempty_body=no
12368 rm -f core conftest.err conftest.$ac_objext \
12369 conftest$ac_exeext conftest.$ac_ext
12370 CFLAGS=$ac_wine_try_cflags_saved
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12373 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12374 if test $ac_cv_cflags__Wempty_body = yes; then :
12375 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12378 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12379 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
12380 $as_echo_n "(cached) " >&6
12382 ac_wine_try_cflags_saved=$CFLAGS
12383 CFLAGS="$CFLAGS -Wignored-qualifiers"
12384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12385 /* end confdefs.h. */
12386 int main(int argc, char **argv) { return 0; }
12388 if ac_fn_c_try_link "$LINENO"; then :
12389 ac_cv_cflags__Wignored_qualifiers=yes
12391 ac_cv_cflags__Wignored_qualifiers=no
12393 rm -f core conftest.err conftest.$ac_objext \
12394 conftest$ac_exeext conftest.$ac_ext
12395 CFLAGS=$ac_wine_try_cflags_saved
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12398 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12399 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12400 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12403 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12404 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
12405 $as_echo_n "(cached) " >&6
12407 ac_wine_try_cflags_saved=$CFLAGS
12408 CFLAGS="$CFLAGS -Wstrict-prototypes"
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12411 int main(int argc, char **argv) { return 0; }
12413 if ac_fn_c_try_link "$LINENO"; then :
12414 ac_cv_cflags__Wstrict_prototypes=yes
12416 ac_cv_cflags__Wstrict_prototypes=no
12418 rm -f core conftest.err conftest.$ac_objext \
12419 conftest$ac_exeext conftest.$ac_ext
12420 CFLAGS=$ac_wine_try_cflags_saved
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12423 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12424 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12425 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12428 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12429 if ${ac_cv_cflags__Wtype_limits+:} false; then :
12430 $as_echo_n "(cached) " >&6
12432 ac_wine_try_cflags_saved=$CFLAGS
12433 CFLAGS="$CFLAGS -Wtype-limits"
12434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12436 int main(int argc, char **argv) { return 0; }
12438 if ac_fn_c_try_link "$LINENO"; then :
12439 ac_cv_cflags__Wtype_limits=yes
12441 ac_cv_cflags__Wtype_limits=no
12443 rm -f core conftest.err conftest.$ac_objext \
12444 conftest$ac_exeext conftest.$ac_ext
12445 CFLAGS=$ac_wine_try_cflags_saved
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12448 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12449 if test $ac_cv_cflags__Wtype_limits = yes; then :
12450 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12453 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12454 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
12455 $as_echo_n "(cached) " >&6
12457 ac_wine_try_cflags_saved=$CFLAGS
12458 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12461 int main(int argc, char **argv) { return 0; }
12463 if ac_fn_c_try_link "$LINENO"; then :
12464 ac_cv_cflags__Wunused_but_set_parameter=yes
12466 ac_cv_cflags__Wunused_but_set_parameter=no
12468 rm -f core conftest.err conftest.$ac_objext \
12469 conftest$ac_exeext conftest.$ac_ext
12470 CFLAGS=$ac_wine_try_cflags_saved
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12473 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12474 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12475 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12478 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12479 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
12480 $as_echo_n "(cached) " >&6
12482 ac_wine_try_cflags_saved=$CFLAGS
12483 CFLAGS="$CFLAGS -Wwrite-strings"
12484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12485 /* end confdefs.h. */
12486 int main(int argc, char **argv) { return 0; }
12488 if ac_fn_c_try_link "$LINENO"; then :
12489 ac_cv_cflags__Wwrite_strings=yes
12491 ac_cv_cflags__Wwrite_strings=no
12493 rm -f core conftest.err conftest.$ac_objext \
12494 conftest$ac_exeext conftest.$ac_ext
12495 CFLAGS=$ac_wine_try_cflags_saved
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12498 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12499 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12500 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12503 for ac_flag in $CFLAGS; do
12505 -g) case $host_os in
12506 darwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12507 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12508 if ${ac_cv_cflags__gstabsp+:} false; then :
12509 $as_echo_n "(cached) " >&6
12511 ac_wine_try_cflags_saved=$CFLAGS
12512 CFLAGS="$CFLAGS -gstabs+"
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12515 int main(int argc, char **argv) { return 0; }
12517 if ac_fn_c_try_link "$LINENO"; then :
12518 ac_cv_cflags__gstabsp=yes
12520 ac_cv_cflags__gstabsp=no
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 CFLAGS=$ac_wine_try_cflags_saved
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12527 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12528 if test $ac_cv_cflags__gstabsp = yes; then :
12529 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12531 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12532 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12533 if ${ac_cv_cflags__gdwarf_2+:} false; then :
12534 $as_echo_n "(cached) " >&6
12536 ac_wine_try_cflags_saved=$CFLAGS
12537 CFLAGS="$CFLAGS -gdwarf-2"
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h. */
12540 int main(int argc, char **argv) { return 0; }
12542 if ac_fn_c_try_link "$LINENO"; then :
12543 ac_cv_cflags__gdwarf_2=yes
12545 ac_cv_cflags__gdwarf_2=no
12547 rm -f core conftest.err conftest.$ac_objext \
12548 conftest$ac_exeext conftest.$ac_ext
12549 CFLAGS=$ac_wine_try_cflags_saved
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12552 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12553 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12554 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12557 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12558 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
12559 $as_echo_n "(cached) " >&6
12561 ac_wine_try_cflags_saved=$CFLAGS
12562 CFLAGS="$CFLAGS -gstrict-dwarf"
12563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12564 /* end confdefs.h. */
12565 int main(int argc, char **argv) { return 0; }
12567 if ac_fn_c_try_link "$LINENO"; then :
12568 ac_cv_cflags__gstrict_dwarf=yes
12570 ac_cv_cflags__gstrict_dwarf=no
12572 rm -f core conftest.err conftest.$ac_objext \
12573 conftest$ac_exeext conftest.$ac_ext
12574 CFLAGS=$ac_wine_try_cflags_saved
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12577 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12578 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12579 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
12586 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12587 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12588 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
12589 $as_echo_n "(cached) " >&6
12591 ac_wine_try_cflags_saved=$CFLAGS
12592 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
12593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12595 int main(int argc, char **argv) { return 0; }
12597 if ac_fn_c_try_link "$LINENO"; then :
12598 ac_cv_cflags__fno_omit_frame_pointer=yes
12600 ac_cv_cflags__fno_omit_frame_pointer=no
12602 rm -f core conftest.err conftest.$ac_objext \
12603 conftest$ac_exeext conftest.$ac_ext
12604 CFLAGS=$ac_wine_try_cflags_saved
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12607 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12608 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12609 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
12614 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12615 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12616 if ${ac_cv_cflags__Wno_format+:} false; then :
12617 $as_echo_n "(cached) " >&6
12619 ac_wine_try_cflags_saved=$CFLAGS
12620 CFLAGS="$CFLAGS -Wno-format"
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12623 int main(int argc, char **argv) { return 0; }
12625 if ac_fn_c_try_link "$LINENO"; then :
12626 ac_cv_cflags__Wno_format=yes
12628 ac_cv_cflags__Wno_format=no
12630 rm -f core conftest.err conftest.$ac_objext \
12631 conftest$ac_exeext conftest.$ac_ext
12632 CFLAGS=$ac_wine_try_cflags_saved
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12635 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12636 if test $ac_cv_cflags__Wno_format = yes; then :
12637 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
12641 saved_CFLAGS="$CFLAGS"
12642 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12644 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12645 if ${ac_cv_c_string_h_warnings+:} false; then :
12646 $as_echo_n "(cached) " >&6
12648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12649 /* end confdefs.h. */
12650 #include <string.h>
12659 if ac_fn_c_try_compile "$LINENO"; then :
12660 ac_cv_c_string_h_warnings=no
12662 ac_cv_c_string_h_warnings=yes
12664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12667 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12668 CFLAGS="$saved_CFLAGS"
12669 if test "$ac_cv_c_string_h_warnings" = "no"
12671 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12674 saved_CFLAGS="$CFLAGS"
12675 CFLAGS="$CFLAGS -Wlogical-op -Werror"
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12677 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12678 if ${ac_cv_c_logicalop_noisy+:} false; then :
12679 $as_echo_n "(cached) " >&6
12681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12683 #include <string.h>
12687 char*f(const char *h,char n) {return strchr(h,n);}
12692 if ac_fn_c_try_compile "$LINENO"; then :
12693 ac_cv_c_logicalop_noisy=no
12695 ac_cv_c_logicalop_noisy=yes
12697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12700 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12701 CFLAGS="$saved_CFLAGS"
12702 if test "$ac_cv_c_logicalop_noisy" = "no"
12704 EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
12707 if test "x$enable_maintainer_mode" = "xyes"
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12710 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12711 if ${ac_cv_cflags__Werror+:} false; then :
12712 $as_echo_n "(cached) " >&6
12714 ac_wine_try_cflags_saved=$CFLAGS
12715 CFLAGS="$CFLAGS -Werror"
12716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12717 /* end confdefs.h. */
12718 int main(int argc, char **argv) { return 0; }
12720 if ac_fn_c_try_link "$LINENO"; then :
12721 ac_cv_cflags__Werror=yes
12723 ac_cv_cflags__Werror=no
12725 rm -f core conftest.err conftest.$ac_objext \
12726 conftest$ac_exeext conftest.$ac_ext
12727 CFLAGS=$ac_wine_try_cflags_saved
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12730 $as_echo "$ac_cv_cflags__Werror" >&6; }
12731 if test $ac_cv_cflags__Werror = yes; then :
12732 EXTRACFLAGS="$EXTRACFLAGS -Werror"
12736 saved_CFLAGS="$CFLAGS"
12737 CFLAGS="$CFLAGS -Werror"
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12739 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12740 if ${ac_cv_have_ms_hook_prologue+:} false; then :
12741 $as_echo_n "(cached) " >&6
12743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12744 /* end confdefs.h. */
12745 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12754 if ac_fn_c_try_compile "$LINENO"; then :
12755 ac_cv_have_ms_hook_prologue="yes"
12757 ac_cv_have_ms_hook_prologue="no"
12759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12762 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12763 CFLAGS="$saved_CFLAGS"
12764 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12767 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12770 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12777 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12778 if ${ac_cv_c_fortify_enabled+:} false; then :
12779 $as_echo_n "(cached) " >&6
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12783 #include <string.h>
12787 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12788 #error Fortify enabled
12794 if ac_fn_c_try_compile "$LINENO"; then :
12795 ac_cv_c_fortify_enabled=no
12797 ac_cv_c_fortify_enabled=yes
12799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12802 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12803 if test "$ac_cv_c_fortify_enabled" = yes
12805 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12810 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12811 if ${ac_cv_c_extern_prefix+:} false; then :
12812 $as_echo_n "(cached) " >&6
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12816 extern int ac_test;
12820 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12825 if ac_fn_c_try_link "$LINENO"; then :
12826 ac_cv_c_extern_prefix="yes"
12828 ac_cv_c_extern_prefix="no"
12830 rm -f core conftest.err conftest.$ac_objext \
12831 conftest$ac_exeext conftest.$ac_ext
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12834 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12839 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12840 if ${ac_cv_c_stdcall_suffix+:} false; then :
12841 $as_echo_n "(cached) " >&6
12843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12846 #define __stdcall __attribute__((__stdcall__))
12848 int __stdcall ac_test(int i) { return i; }
12852 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12857 if ac_fn_c_try_link "$LINENO"; then :
12858 ac_cv_c_stdcall_suffix="yes"
12860 ac_cv_c_stdcall_suffix="no"
12862 rm -f core conftest.err conftest.$ac_objext \
12863 conftest$ac_exeext conftest.$ac_ext
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12866 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12867 *) ac_cv_c_stdcall_suffix="no" ;;
12871 if test "$ac_cv_c_extern_prefix" = "yes"
12873 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12875 asm_name_prefix="_"
12877 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12883 if test "$ac_cv_c_stdcall_suffix" = "yes"
12885 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12888 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12894 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12895 if ${ac_cv_asm_func_def+:} false; then :
12896 $as_echo_n "(cached) " >&6
12898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12899 /* end confdefs.h. */
12904 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12909 if ac_fn_c_try_link "$LINENO"; then :
12910 ac_cv_asm_func_def=".def"
12912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12913 /* end confdefs.h. */
12918 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12923 if ac_fn_c_try_link "$LINENO"; then :
12924 ac_cv_asm_func_def=".type @function"
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12932 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12937 if ac_fn_c_try_link "$LINENO"; then :
12938 ac_cv_asm_func_def=".type 2"
12940 ac_cv_asm_func_def="unknown"
12942 rm -f core conftest.err conftest.$ac_objext \
12943 conftest$ac_exeext conftest.$ac_ext
12945 rm -f core conftest.err conftest.$ac_objext \
12946 conftest$ac_exeext conftest.$ac_ext
12948 rm -f core conftest.err conftest.$ac_objext \
12949 conftest$ac_exeext conftest.$ac_ext
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12952 $as_echo "$ac_cv_asm_func_def" >&6; }
12955 case "$ac_cv_asm_func_def" in
12957 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12959 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12961 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12963 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
12965 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12967 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
12969 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12971 asm_func_header="" ;;
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12975 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12976 if ${ac_cv_c_asm_outside_funcs+:} false; then :
12977 $as_echo_n "(cached) " >&6
12979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12980 /* end confdefs.h. */
12981 asm(".text\n\t.long 0");
12990 if ac_fn_c_try_compile "$LINENO"; then :
12991 ac_cv_c_asm_outside_funcs="yes"
12993 ac_cv_c_asm_outside_funcs="no"
12995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12998 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13001 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13002 if ${ac_cv_c_dot_previous+:} false; then :
13003 $as_echo_n "(cached) " >&6
13005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13006 /* end confdefs.h. */
13011 asm(".text\nac_test:\t.long 0\n\t.previous");
13016 if ac_fn_c_try_link "$LINENO"; then :
13017 ac_cv_c_dot_previous="yes"
13019 ac_cv_c_dot_previous="no"
13021 rm -f core conftest.err conftest.$ac_objext \
13022 conftest$ac_exeext conftest.$ac_ext
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13025 $as_echo "$ac_cv_c_dot_previous" >&6; }
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13028 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13029 if ${ac_cv_c_cfi_support+:} false; then :
13030 $as_echo_n "(cached) " >&6
13032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13033 /* end confdefs.h. */
13034 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13043 if ac_fn_c_try_compile "$LINENO"; then :
13044 ac_cv_c_cfi_support="yes"
13046 ac_cv_c_cfi_support="no"
13048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13051 $as_echo "$ac_cv_c_cfi_support" >&6; }
13053 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13054 asm_func_trailer=""
13055 if test "$ac_cv_c_dot_previous" = "yes"
13057 asm_func_trailer="\\n\\t.previous"
13059 if test "$ac_cv_c_cfi_support" = "yes"
13061 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
13062 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
13064 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13066 UNWINDFLAGS=-fasynchronous-unwind-tables
13069 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13073 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
13076 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13078 cat >>confdefs.h <<_ACEOF
13079 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13083 cat >>confdefs.h <<_ACEOF
13084 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13089 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13092 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13102 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13107 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13115 SOCKETLIBS="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
13122 test "x$enable_win64" != "xyes" || MAIN_BINARY="wine64"
13127 *i[3456789]86*) EXTRA_BINARIES="wine-preloader"
13129 x86_64*) EXTRA_BINARIES="wine64-preloader"
13136 ac_save_CFLAGS="$CFLAGS"
13137 CFLAGS="$CFLAGS $BUILTINFLAG"
13212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13215 cat >>confdefs.h <<_ACEOF
13216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13222 CFLAGS="$ac_save_CFLAGS"
13224 if test "$ac_cv_func_dlopen" = no
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13227 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13228 if ${ac_cv_lib_dl_dlopen+:} false; then :
13229 $as_echo_n "(cached) " >&6
13231 ac_check_lib_save_LIBS=$LIBS
13233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13236 /* Override any GCC internal prototype to avoid an error.
13237 Use char because int might match the return type of a GCC
13238 builtin and then its argument prototype would still apply. */
13251 if ac_fn_c_try_link "$LINENO"; then :
13252 ac_cv_lib_dl_dlopen=yes
13254 ac_cv_lib_dl_dlopen=no
13256 rm -f core conftest.err conftest.$ac_objext \
13257 conftest$ac_exeext conftest.$ac_ext
13258 LIBS=$ac_check_lib_save_LIBS
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13261 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13262 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13263 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13269 ac_wine_check_funcs_save_LIBS="$LIBS"
13270 LIBS="$LIBS $LIBDL"
13271 for ac_func in dladdr
13273 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13274 if test "x$ac_cv_func_dladdr" = xyes; then :
13275 cat >>confdefs.h <<_ACEOF
13276 #define HAVE_DLADDR 1
13282 LIBS="$ac_wine_check_funcs_save_LIBS"
13284 if test "$ac_cv_func_poll" = no
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13287 $as_echo_n "checking for poll in -lpoll... " >&6; }
13288 if ${ac_cv_lib_poll_poll+:} false; then :
13289 $as_echo_n "(cached) " >&6
13291 ac_check_lib_save_LIBS=$LIBS
13292 LIBS="-lpoll $LIBS"
13293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13294 /* end confdefs.h. */
13296 /* Override any GCC internal prototype to avoid an error.
13297 Use char because int might match the return type of a GCC
13298 builtin and then its argument prototype would still apply. */
13311 if ac_fn_c_try_link "$LINENO"; then :
13312 ac_cv_lib_poll_poll=yes
13314 ac_cv_lib_poll_poll=no
13316 rm -f core conftest.err conftest.$ac_objext \
13317 conftest$ac_exeext conftest.$ac_ext
13318 LIBS=$ac_check_lib_save_LIBS
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13321 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13322 if test "x$ac_cv_lib_poll_poll" = xyes; then :
13323 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13331 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13332 if ${ac_cv_search_gethostbyname+:} false; then :
13333 $as_echo_n "(cached) " >&6
13335 ac_func_search_save_LIBS=$LIBS
13336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13337 /* end confdefs.h. */
13339 /* Override any GCC internal prototype to avoid an error.
13340 Use char because int might match the return type of a GCC
13341 builtin and then its argument prototype would still apply. */
13345 char gethostbyname ();
13349 return gethostbyname ();
13354 for ac_lib in '' nsl; do
13355 if test -z "$ac_lib"; then
13356 ac_res="none required"
13359 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13361 if ac_fn_c_try_link "$LINENO"; then :
13362 ac_cv_search_gethostbyname=$ac_res
13364 rm -f core conftest.err conftest.$ac_objext \
13366 if ${ac_cv_search_gethostbyname+:} false; then :
13370 if ${ac_cv_search_gethostbyname+:} false; then :
13373 ac_cv_search_gethostbyname=no
13375 rm conftest.$ac_ext
13376 LIBS=$ac_func_search_save_LIBS
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13379 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13380 ac_res=$ac_cv_search_gethostbyname
13381 if test "$ac_res" != no; then :
13382 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13388 $as_echo_n "checking for library containing connect... " >&6; }
13389 if ${ac_cv_search_connect+:} false; then :
13390 $as_echo_n "(cached) " >&6
13392 ac_func_search_save_LIBS=$LIBS
13393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394 /* end confdefs.h. */
13396 /* Override any GCC internal prototype to avoid an error.
13397 Use char because int might match the return type of a GCC
13398 builtin and then its argument prototype would still apply. */
13411 for ac_lib in '' socket; do
13412 if test -z "$ac_lib"; then
13413 ac_res="none required"
13416 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13418 if ac_fn_c_try_link "$LINENO"; then :
13419 ac_cv_search_connect=$ac_res
13421 rm -f core conftest.err conftest.$ac_objext \
13423 if ${ac_cv_search_connect+:} false; then :
13427 if ${ac_cv_search_connect+:} false; then :
13430 ac_cv_search_connect=no
13432 rm conftest.$ac_ext
13433 LIBS=$ac_func_search_save_LIBS
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13436 $as_echo "$ac_cv_search_connect" >&6; }
13437 ac_res=$ac_cv_search_connect
13438 if test "$ac_res" != no; then :
13439 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13445 $as_echo_n "checking for library containing inet_aton... " >&6; }
13446 if ${ac_cv_search_inet_aton+:} false; then :
13447 $as_echo_n "(cached) " >&6
13449 ac_func_search_save_LIBS=$LIBS
13450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13451 /* end confdefs.h. */
13453 /* Override any GCC internal prototype to avoid an error.
13454 Use char because int might match the return type of a GCC
13455 builtin and then its argument prototype would still apply. */
13463 return inet_aton ();
13468 for ac_lib in '' resolv; do
13469 if test -z "$ac_lib"; then
13470 ac_res="none required"
13473 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13475 if ac_fn_c_try_link "$LINENO"; then :
13476 ac_cv_search_inet_aton=$ac_res
13478 rm -f core conftest.err conftest.$ac_objext \
13480 if ${ac_cv_search_inet_aton+:} false; then :
13484 if ${ac_cv_search_inet_aton+:} false; then :
13487 ac_cv_search_inet_aton=no
13489 rm conftest.$ac_ext
13490 LIBS=$ac_func_search_save_LIBS
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13493 $as_echo "$ac_cv_search_inet_aton" >&6; }
13494 ac_res=$ac_cv_search_inet_aton
13495 if test "$ac_res" != no; then :
13496 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13517 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13518 cat >>confdefs.h <<_ACEOF
13519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13528 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13530 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13532 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13534 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13535 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
13536 $as_echo_n "(cached) " >&6
13538 ac_check_lib_save_LIBS=$LIBS
13539 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13541 /* end confdefs.h. */
13543 /* Override any GCC internal prototype to avoid an error.
13544 Use char because int might match the return type of a GCC
13545 builtin and then its argument prototype would still apply. */
13549 char ldap_initialize ();
13553 return ldap_initialize ();
13558 if ac_fn_c_try_link "$LINENO"; then :
13559 ac_cv_lib_ldap_r_ldap_initialize=yes
13561 ac_cv_lib_ldap_r_ldap_initialize=no
13563 rm -f core conftest.err conftest.$ac_objext \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS=$ac_check_lib_save_LIBS
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13568 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13569 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13571 $as_echo_n "checking for ber_init in -llber... " >&6; }
13572 if ${ac_cv_lib_lber_ber_init+:} false; then :
13573 $as_echo_n "(cached) " >&6
13575 ac_check_lib_save_LIBS=$LIBS
13576 LIBS="-llber $LIBPTHREAD $LIBS"
13577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13578 /* end confdefs.h. */
13580 /* Override any GCC internal prototype to avoid an error.
13581 Use char because int might match the return type of a GCC
13582 builtin and then its argument prototype would still apply. */
13590 return ber_init ();
13595 if ac_fn_c_try_link "$LINENO"; then :
13596 ac_cv_lib_lber_ber_init=yes
13598 ac_cv_lib_lber_ber_init=no
13600 rm -f core conftest.err conftest.$ac_objext \
13601 conftest$ac_exeext conftest.$ac_ext
13602 LIBS=$ac_check_lib_save_LIBS
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13605 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13606 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
13608 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13610 LDAPLIBS="-lldap_r -llber"
13617 ac_wine_check_funcs_save_LIBS="$LIBS"
13618 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13620 ldap_count_references \
13621 ldap_first_reference \
13622 ldap_next_reference \
13623 ldap_parse_reference \
13624 ldap_parse_sort_control \
13625 ldap_parse_sortresponse_control \
13626 ldap_parse_vlv_control \
13627 ldap_parse_vlvresponse_control
13629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13632 cat >>confdefs.h <<_ACEOF
13633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13639 LIBS="$ac_wine_check_funcs_save_LIBS"
13641 if test "x$LDAPLIBS" = "x"; then :
13642 case "x$with_ldap" in
13643 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13645 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13646 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13651 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13652 if ${wine_cv_one_arg_mkdir+:} false; then :
13653 $as_echo_n "(cached) " >&6
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13657 #include <sys/stat.h>
13666 if ac_fn_c_try_compile "$LINENO"; then :
13667 wine_cv_one_arg_mkdir=yes
13669 wine_cv_one_arg_mkdir=no
13671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13674 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13675 if test "$wine_cv_one_arg_mkdir" = "yes"
13678 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13683 $as_echo_n "checking for sched_setaffinity... " >&6; }
13684 if ${wine_cv_have_sched_setaffinity+:} false; then :
13685 $as_echo_n "(cached) " >&6
13687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13688 /* end confdefs.h. */
13689 #define _GNU_SOURCE
13694 sched_setaffinity(0, 0, 0);
13699 if ac_fn_c_try_link "$LINENO"; then :
13700 wine_cv_have_sched_setaffinity=yes
13702 wine_cv_have_sched_setaffinity=no
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13708 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13709 if test "$wine_cv_have_sched_setaffinity" = "yes"
13712 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13717 $as_echo_n "checking for fallocate... " >&6; }
13718 if ${wine_cv_have_fallocate+:} false; then :
13719 $as_echo_n "(cached) " >&6
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13723 #define _GNU_SOURCE
13728 fallocate(-1, 0, 0, 0);
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 wine_cv_have_fallocate=yes
13736 wine_cv_have_fallocate=no
13738 rm -f core conftest.err conftest.$ac_objext \
13739 conftest$ac_exeext conftest.$ac_ext
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13742 $as_echo "$wine_cv_have_fallocate" >&6; }
13743 if test "$wine_cv_have_fallocate" = "yes"
13746 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13752 $as_echo_n "checking for inline... " >&6; }
13753 if ${ac_cv_c_inline+:} false; then :
13754 $as_echo_n "(cached) " >&6
13757 for ac_kw in inline __inline__ __inline; do
13758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13759 /* end confdefs.h. */
13760 #ifndef __cplusplus
13762 static $ac_kw foo_t static_foo () {return 0; }
13763 $ac_kw foo_t foo () {return 0; }
13767 if ac_fn_c_try_compile "$LINENO"; then :
13768 ac_cv_c_inline=$ac_kw
13770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13771 test "$ac_cv_c_inline" != no && break
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13776 $as_echo "$ac_cv_c_inline" >&6; }
13778 case $ac_cv_c_inline in
13781 case $ac_cv_c_inline in
13783 *) ac_val=$ac_cv_c_inline;;
13785 cat >>confdefs.h <<_ACEOF
13786 #ifndef __cplusplus
13787 #define inline $ac_val
13793 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13794 if test "x$ac_cv_type_mode_t" = xyes; then :
13796 cat >>confdefs.h <<_ACEOF
13797 #define HAVE_MODE_T 1
13802 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13803 if test "x$ac_cv_type_off_t" = xyes; then :
13805 cat >>confdefs.h <<_ACEOF
13806 #define HAVE_OFF_T 1
13811 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13812 if test "x$ac_cv_type_pid_t" = xyes; then :
13814 cat >>confdefs.h <<_ACEOF
13815 #define HAVE_PID_T 1
13820 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13821 if test "x$ac_cv_type_size_t" = xyes; then :
13823 cat >>confdefs.h <<_ACEOF
13824 #define HAVE_SIZE_T 1
13829 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13830 if test "x$ac_cv_type_ssize_t" = xyes; then :
13832 cat >>confdefs.h <<_ACEOF
13833 #define HAVE_SSIZE_T 1
13838 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13839 if test "x$ac_cv_type_long_long" = xyes; then :
13841 cat >>confdefs.h <<_ACEOF
13842 #define HAVE_LONG_LONG 1
13847 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13848 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
13850 cat >>confdefs.h <<_ACEOF
13851 #define HAVE_FSBLKCNT_T 1
13856 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13857 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
13859 cat >>confdefs.h <<_ACEOF
13860 #define HAVE_FSFILCNT_T 1
13866 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13867 #include <signal.h>
13869 if test "x$ac_cv_type_sigset_t" = xyes; then :
13871 cat >>confdefs.h <<_ACEOF
13872 #define HAVE_SIGSET_T 1
13878 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13880 if test "x$ac_cv_type_request_sense" = xyes; then :
13882 cat >>confdefs.h <<_ACEOF
13883 #define HAVE_REQUEST_SENSE 1
13890 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13891 #ifdef HAVE_SYS_SOCKET_H
13892 #include <sys/socket.h>
13894 #ifdef HAVE_SYS_SOCKETVAR_H
13895 #include <sys/socketvar.h>
13897 #ifdef HAVE_NET_ROUTE_H
13898 #include <net/route.h>
13900 #ifdef HAVE_NETINET_IN_H
13901 #include <netinet/in.h>
13903 #ifdef HAVE_NETINET_IN_SYSTM_H
13904 #include <netinet/in_systm.h>
13906 #ifdef HAVE_NETINET_IP_H
13907 #include <netinet/ip.h>
13909 #ifdef HAVE_NETINET_IN_PCB_H
13910 #include <netinet/in_pcb.h>
13913 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
13915 cat >>confdefs.h <<_ACEOF
13916 #define HAVE_STRUCT_XINPGEN 1
13923 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13924 #include <linux/input.h>
13927 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
13929 cat >>confdefs.h <<_ACEOF
13930 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13938 $as_echo_n "checking for sigaddset... " >&6; }
13939 if ${wine_cv_have_sigaddset+:} false; then :
13940 $as_echo_n "(cached) " >&6
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13944 #include <signal.h>
13948 sigset_t set; sigaddset(&set,SIGTERM);
13953 if ac_fn_c_try_link "$LINENO"; then :
13954 wine_cv_have_sigaddset=yes
13956 wine_cv_have_sigaddset=no
13958 rm -f core conftest.err conftest.$ac_objext \
13959 conftest$ac_exeext conftest.$ac_ext
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13962 $as_echo "$wine_cv_have_sigaddset" >&6; }
13963 if test "$wine_cv_have_sigaddset" = "yes"
13966 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13972 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13973 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
13974 $as_echo_n "(cached) " >&6
13976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13977 /* end confdefs.h. */
13985 struct hostent *result;
13992 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13993 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 wine_cv_linux_gethostbyname_r_6=yes
14002 wine_cv_linux_gethostbyname_r_6=no
14005 rm -f core conftest.err conftest.$ac_objext \
14006 conftest$ac_exeext conftest.$ac_ext
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14010 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14011 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14014 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14018 if test "$ac_cv_header_linux_joystick_h" = "yes"
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14021 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14022 if ${wine_cv_linux_joystick_22_api+:} false; then :
14023 $as_echo_n "(cached) " >&6
14025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14026 /* end confdefs.h. */
14028 #include <sys/ioctl.h>
14029 #include <sys/types.h>
14030 #include <linux/joystick.h>
14032 struct js_event blub;
14033 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14034 #error "no 2.2 header"
14045 if ac_fn_c_try_compile "$LINENO"; then :
14046 wine_cv_linux_joystick_22_api=yes
14048 wine_cv_linux_joystick_22_api=no
14050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14054 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14055 if test "$wine_cv_linux_joystick_22_api" = "yes"
14058 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14064 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14065 #ifdef HAVE_SYS_PARAM_H
14066 # include <sys/param.h>
14068 #ifdef HAVE_SYS_MOUNT_H
14069 # include <sys/mount.h>
14071 #ifdef HAVE_SYS_VFS_H
14072 # include <sys/vfs.h>
14074 #ifdef HAVE_SYS_STATFS_H
14075 # include <sys/statfs.h>
14078 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
14080 cat >>confdefs.h <<_ACEOF
14081 #define HAVE_STRUCT_STATFS_F_BFREE 1
14086 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14087 #ifdef HAVE_SYS_PARAM_H
14088 # include <sys/param.h>
14090 #ifdef HAVE_SYS_MOUNT_H
14091 # include <sys/mount.h>
14093 #ifdef HAVE_SYS_VFS_H
14094 # include <sys/vfs.h>
14096 #ifdef HAVE_SYS_STATFS_H
14097 # include <sys/statfs.h>
14100 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
14102 cat >>confdefs.h <<_ACEOF
14103 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14108 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14109 #ifdef HAVE_SYS_PARAM_H
14110 # include <sys/param.h>
14112 #ifdef HAVE_SYS_MOUNT_H
14113 # include <sys/mount.h>
14115 #ifdef HAVE_SYS_VFS_H
14116 # include <sys/vfs.h>
14118 #ifdef HAVE_SYS_STATFS_H
14119 # include <sys/statfs.h>
14122 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
14124 cat >>confdefs.h <<_ACEOF
14125 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14130 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14131 #ifdef HAVE_SYS_PARAM_H
14132 # include <sys/param.h>
14134 #ifdef HAVE_SYS_MOUNT_H
14135 # include <sys/mount.h>
14137 #ifdef HAVE_SYS_VFS_H
14138 # include <sys/vfs.h>
14140 #ifdef HAVE_SYS_STATFS_H
14141 # include <sys/statfs.h>
14144 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
14146 cat >>confdefs.h <<_ACEOF
14147 #define HAVE_STRUCT_STATFS_F_FFREE 1
14152 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14153 #ifdef HAVE_SYS_PARAM_H
14154 # include <sys/param.h>
14156 #ifdef HAVE_SYS_MOUNT_H
14157 # include <sys/mount.h>
14159 #ifdef HAVE_SYS_VFS_H
14160 # include <sys/vfs.h>
14162 #ifdef HAVE_SYS_STATFS_H
14163 # include <sys/statfs.h>
14166 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
14168 cat >>confdefs.h <<_ACEOF
14169 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14174 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14175 #ifdef HAVE_SYS_PARAM_H
14176 # include <sys/param.h>
14178 #ifdef HAVE_SYS_MOUNT_H
14179 # include <sys/mount.h>
14181 #ifdef HAVE_SYS_VFS_H
14182 # include <sys/vfs.h>
14184 #ifdef HAVE_SYS_STATFS_H
14185 # include <sys/statfs.h>
14188 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
14190 cat >>confdefs.h <<_ACEOF
14191 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14198 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14199 #include <sys/statvfs.h>
14202 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
14204 cat >>confdefs.h <<_ACEOF
14205 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14212 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14213 #include <dirent.h>
14216 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
14218 cat >>confdefs.h <<_ACEOF
14219 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14226 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14227 #ifdef HAVE_SYS_SOCKET_H
14228 # include <sys/socket.h>
14230 #ifdef HAVE_SYS_UN_H
14231 # include <sys/un.h>
14234 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
14236 cat >>confdefs.h <<_ACEOF
14237 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14242 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14243 #ifdef HAVE_SYS_SOCKET_H
14244 # include <sys/socket.h>
14246 #ifdef HAVE_SYS_UN_H
14247 # include <sys/un.h>
14250 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
14252 cat >>confdefs.h <<_ACEOF
14253 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14258 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14259 #ifdef HAVE_SYS_SOCKET_H
14260 # include <sys/socket.h>
14262 #ifdef HAVE_SYS_UN_H
14263 # include <sys/un.h>
14266 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
14268 cat >>confdefs.h <<_ACEOF
14269 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14276 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14277 #ifdef HAVE_SCSI_SG_H
14278 #include <scsi/sg.h>
14281 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
14283 cat >>confdefs.h <<_ACEOF
14284 #define HAVE_SCSIREQ_T_CMD 1
14289 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>
14290 #ifdef HAVE_SCSI_SG_H
14291 #include <scsi/sg.h>
14294 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
14296 cat >>confdefs.h <<_ACEOF
14297 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14304 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14306 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
14308 cat >>confdefs.h <<_ACEOF
14309 #define HAVE_SIGINFO_T_SI_FD 1
14316 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14317 #ifdef HAVE_SYS_MTIO_H
14318 #include <sys/mtio.h>
14321 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
14323 cat >>confdefs.h <<_ACEOF
14324 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14329 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14330 #ifdef HAVE_SYS_MTIO_H
14331 #include <sys/mtio.h>
14334 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
14336 cat >>confdefs.h <<_ACEOF
14337 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14342 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14343 #ifdef HAVE_SYS_MTIO_H
14344 #include <sys/mtio.h>
14347 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
14349 cat >>confdefs.h <<_ACEOF
14350 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14357 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14358 #include <getopt.h>
14361 if test "x$ac_cv_member_struct_option_name" = xyes; then :
14363 cat >>confdefs.h <<_ACEOF
14364 #define HAVE_STRUCT_OPTION_NAME 1
14371 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14372 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
14374 cat >>confdefs.h <<_ACEOF
14375 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14380 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14381 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
14383 cat >>confdefs.h <<_ACEOF
14384 #define HAVE_STRUCT_STAT_ST_MTIM 1
14389 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14390 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
14392 cat >>confdefs.h <<_ACEOF
14393 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14398 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14399 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
14401 cat >>confdefs.h <<_ACEOF
14402 #define HAVE_STRUCT_STAT_ST_CTIM 1
14407 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14408 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
14410 cat >>confdefs.h <<_ACEOF
14411 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14416 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14417 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
14419 cat >>confdefs.h <<_ACEOF
14420 #define HAVE_STRUCT_STAT_ST_ATIM 1
14425 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14426 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
14428 cat >>confdefs.h <<_ACEOF
14429 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14434 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14435 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
14437 cat >>confdefs.h <<_ACEOF
14438 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14443 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14444 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
14446 cat >>confdefs.h <<_ACEOF
14447 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14452 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14453 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
14455 cat >>confdefs.h <<_ACEOF
14456 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14461 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14462 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
14464 cat >>confdefs.h <<_ACEOF
14465 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14470 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14471 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
14473 cat >>confdefs.h <<_ACEOF
14474 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14481 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
14482 #include <sys/types.h>
14484 #ifdef HAVE_NETINET_IN_H
14485 #include <netinet/in.h>
14488 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
14490 cat >>confdefs.h <<_ACEOF
14491 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14498 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14499 #include <sys/types.h>
14501 #ifdef HAVE_NETINET_IN_H
14502 # include <netinet/in.h>
14504 #ifdef HAVE_ARPA_NAMESER_H
14505 # include <arpa/nameser.h>
14508 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
14510 cat >>confdefs.h <<_ACEOF
14511 #define HAVE_NS_MSG__MSG_PTR 1
14518 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14519 #include <sys/types.h>
14521 #ifdef HAVE_NETINET_IP_H
14522 #include <netinet/ip.h>
14524 #ifdef HAVE_NETINET_IP_ICMP_H
14525 #include <netinet/ip_icmp.h>
14527 #ifdef HAVE_NETINET_ICMP_VAR_H
14528 #include <netinet/icmp_var.h>
14531 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
14533 cat >>confdefs.h <<_ACEOF
14534 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14541 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14542 #include <sys/types.h>
14544 #ifdef HAVE_ALIAS_H
14547 #ifdef HAVE_SYS_SOCKET_H
14548 #include <sys/socket.h>
14550 #ifdef HAVE_SYS_SOCKETVAR_H
14551 #include <sys/socketvar.h>
14553 #ifdef HAVE_SYS_TIMEOUT_H
14554 #include <sys/timeout.h>
14556 #ifdef HAVE_NETINET_IN_H
14557 #include <netinet/in.h>
14559 #ifdef HAVE_NETINET_IN_SYSTM_H
14560 #include <netinet/in_systm.h>
14562 #ifdef HAVE_NETINET_IP_H
14563 #include <netinet/ip.h>
14565 #ifdef HAVE_NETINET_IP_VAR_H
14566 #include <netinet/ip_var.h>
14568 #ifdef HAVE_NETINET_IP_ICMP_H
14569 #include <netinet/ip_icmp.h>
14571 #ifdef HAVE_NETINET_ICMP_VAR_H
14572 #include <netinet/icmp_var.h>
14575 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
14577 cat >>confdefs.h <<_ACEOF
14578 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14585 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14586 #include <sys/types.h>
14588 #ifdef HAVE_SYS_SOCKETVAR_H
14589 #include <sys/socketvar.h>
14591 #ifdef HAVE_NETINET_IN_H
14592 #include <netinet/in.h>
14594 #ifdef HAVE_NETINET_IP_VAR_H
14595 #include <netinet/ip_var.h>
14598 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
14600 cat >>confdefs.h <<_ACEOF
14601 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14608 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
14609 #include <netinet/ip_var.h>
14612 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
14614 cat >>confdefs.h <<_ACEOF
14615 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14622 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14623 #include <sys/types.h>
14625 #ifdef HAVE_SYS_SOCKETVAR_H
14626 #include <sys/socketvar.h>
14628 #ifdef HAVE_NETINET_IN_H
14629 #include <netinet/in.h>
14631 #ifdef HAVE_NETINET_TCP_H
14632 #include <netinet/tcp.h>
14634 #ifdef HAVE_NETINET_TCP_VAR_H
14635 #include <netinet/tcp_var.h>
14638 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
14640 cat >>confdefs.h <<_ACEOF
14641 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14648 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
14649 #include <netinet/tcp_var.h>
14652 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
14654 cat >>confdefs.h <<_ACEOF
14655 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14662 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14663 #include <sys/types.h>
14665 #ifdef HAVE_NETINET_IN_H
14666 #include <netinet/in.h>
14668 #ifdef HAVE_NETINET_IP_VAR_H
14669 #include <netinet/ip_var.h>
14671 #ifdef HAVE_NETINET_UDP_H
14672 #include <netinet/udp.h>
14674 #ifdef HAVE_NETINET_UDP_VAR_H
14675 #include <netinet/udp_var.h>
14678 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
14680 cat >>confdefs.h <<_ACEOF
14681 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14688 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14689 #include <sys/types.h>
14691 #ifdef HAVE_NET_IF_H
14692 # include <net/if.h>
14695 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
14697 cat >>confdefs.h <<_ACEOF
14698 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14706 $as_echo_n "checking for timezone variable... " >&6; }
14707 if ${ac_cv_have_timezone+:} false; then :
14708 $as_echo_n "(cached) " >&6
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14721 if ac_fn_c_try_link "$LINENO"; then :
14722 ac_cv_have_timezone="yes"
14724 ac_cv_have_timezone="no"
14726 rm -f core conftest.err conftest.$ac_objext \
14727 conftest$ac_exeext conftest.$ac_ext
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14730 $as_echo "$ac_cv_have_timezone" >&6; }
14731 if test "$ac_cv_have_timezone" = "yes"
14734 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14738 $as_echo_n "checking for daylight variable... " >&6; }
14739 if ${ac_cv_have_daylight+:} false; then :
14740 $as_echo_n "(cached) " >&6
14742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14743 /* end confdefs.h. */
14753 if ac_fn_c_try_link "$LINENO"; then :
14754 ac_cv_have_daylight="yes"
14756 ac_cv_have_daylight="no"
14758 rm -f core conftest.err conftest.$ac_objext \
14759 conftest$ac_exeext conftest.$ac_ext
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14762 $as_echo "$ac_cv_have_daylight" >&6; }
14763 if test "$ac_cv_have_daylight" = "yes"
14766 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14770 ac_save_LIBS="$LIBS"
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14773 $as_echo_n "checking for isinf... " >&6; }
14774 if ${ac_cv_have_isinf+:} false; then :
14775 $as_echo_n "(cached) " >&6
14777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h. */
14783 float f = 0.0; return isinf(f)
14788 if ac_fn_c_try_link "$LINENO"; then :
14789 ac_cv_have_isinf="yes"
14791 ac_cv_have_isinf="no"
14793 rm -f core conftest.err conftest.$ac_objext \
14794 conftest$ac_exeext conftest.$ac_ext
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14797 $as_echo "$ac_cv_have_isinf" >&6; }
14798 if test "$ac_cv_have_isinf" = "yes"
14801 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14806 $as_echo_n "checking for isnan... " >&6; }
14807 if ${ac_cv_have_isnan+:} false; then :
14808 $as_echo_n "(cached) " >&6
14810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14811 /* end confdefs.h. */
14816 float f = 0.0; return isnan(f)
14821 if ac_fn_c_try_link "$LINENO"; then :
14822 ac_cv_have_isnan="yes"
14824 ac_cv_have_isnan="no"
14826 rm -f core conftest.err conftest.$ac_objext \
14827 conftest$ac_exeext conftest.$ac_ext
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14830 $as_echo "$ac_cv_have_isnan" >&6; }
14831 if test "$ac_cv_have_isnan" = "yes"
14834 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14837 LIBS="$ac_save_LIBS"
14841 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14842 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14843 if ${ac_cv_cpp_def___i386__+:} false; then :
14844 $as_echo_n "(cached) " >&6
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14853 $EGREP "yes" >/dev/null 2>&1; then :
14854 ac_cv_cpp_def___i386__=yes
14856 ac_cv_cpp_def___i386__=no
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14862 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14863 if test $ac_cv_cpp_def___i386__ = yes; then :
14864 CFLAGS="$CFLAGS -D__i386__"
14865 LINTFLAGS="$LINTFLAGS -D__i386__"
14867 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14868 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14869 if ${ac_cv_cpp_def___x86_64__+:} false; then :
14870 $as_echo_n "(cached) " >&6
14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14879 $EGREP "yes" >/dev/null 2>&1; then :
14880 ac_cv_cpp_def___x86_64__=yes
14882 ac_cv_cpp_def___x86_64__=no
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14888 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14889 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14890 CFLAGS="$CFLAGS -D__x86_64__"
14891 LINTFLAGS="$LINTFLAGS -D__x86_64__"
14893 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14894 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14895 if ${ac_cv_cpp_def___sparc64__+:} false; then :
14896 $as_echo_n "(cached) " >&6
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 #ifndef __sparc64__
14904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14905 $EGREP "yes" >/dev/null 2>&1; then :
14906 ac_cv_cpp_def___sparc64__=yes
14908 ac_cv_cpp_def___sparc64__=no
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14914 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14915 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14916 CFLAGS="$CFLAGS -D__sparc64__"
14917 LINTFLAGS="$LINTFLAGS -D__sparc64__"
14919 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14920 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14921 if ${ac_cv_cpp_def___sparc__+:} false; then :
14922 $as_echo_n "(cached) " >&6
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14931 $EGREP "yes" >/dev/null 2>&1; then :
14932 ac_cv_cpp_def___sparc__=yes
14934 ac_cv_cpp_def___sparc__=no
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14940 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14941 if test $ac_cv_cpp_def___sparc__ = yes; then :
14942 CFLAGS="$CFLAGS -D__sparc__"
14943 LINTFLAGS="$LINTFLAGS -D__sparc__"
14945 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14946 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14947 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
14948 $as_echo_n "(cached) " >&6
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 #ifndef __powerpc64__
14956 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14957 $EGREP "yes" >/dev/null 2>&1; then :
14958 ac_cv_cpp_def___powerpc64__=yes
14960 ac_cv_cpp_def___powerpc64__=no
14965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14966 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14967 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14968 CFLAGS="$CFLAGS -D__powerpc64__"
14969 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
14971 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14972 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14973 if ${ac_cv_cpp_def___powerpc__+:} false; then :
14974 $as_echo_n "(cached) " >&6
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 #ifndef __powerpc__
14982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14983 $EGREP "yes" >/dev/null 2>&1; then :
14984 ac_cv_cpp_def___powerpc__=yes
14986 ac_cv_cpp_def___powerpc__=no
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14992 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14993 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14994 CFLAGS="$CFLAGS -D__powerpc__"
14995 LINTFLAGS="$LINTFLAGS -D__powerpc__"
14997 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14998 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14999 if ${ac_cv_cpp_def___arm__+:} false; then :
15000 $as_echo_n "(cached) " >&6
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15009 $EGREP "yes" >/dev/null 2>&1; then :
15010 ac_cv_cpp_def___arm__=yes
15012 ac_cv_cpp_def___arm__=no
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15018 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15019 if test $ac_cv_cpp_def___arm__ = yes; then :
15020 CFLAGS="$CFLAGS -D__arm__"
15021 LINTFLAGS="$LINTFLAGS -D__arm__"
15025 case $host_vendor in
15026 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15027 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15028 if ${ac_cv_cpp_def___sun__+:} false; then :
15029 $as_echo_n "(cached) " >&6
15031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15032 /* end confdefs.h. */
15037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15038 $EGREP "yes" >/dev/null 2>&1; then :
15039 ac_cv_cpp_def___sun__=yes
15041 ac_cv_cpp_def___sun__=no
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15047 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15048 if test $ac_cv_cpp_def___sun__ = yes; then :
15049 CFLAGS="$CFLAGS -D__sun__"
15050 LINTFLAGS="$LINTFLAGS -D__sun__"
15058 ac_config_commands="$ac_config_commands include/stamp-h"
15061 ALL_MAKEFILE_DEPENDS="
15062 # Rules automatically generated by configure
15067 Makefile: Makefile.in Make.vars.in Make.rules config.status
15068 @./config.status Make.tmp Makefile"
15071 ALL_TEST_RESOURCES=""
15074 wine_fn_append_file ()
15076 as_fn_append $1 " \\$as_nl $2"
15079 wine_fn_append_rule ()
15081 as_fn_append $1 "$as_nl$2"
15084 wine_fn_has_flag ()
15086 expr ",$2," : ".*,$1,.*" >/dev/null
15089 wine_fn_all_dir_rules ()
15093 ac_makedep="\$(MAKEDEP)"
15094 ac_input=Make.vars.in:$ac_dir/Makefile.in
15095 if test $ac_dir != tools
15097 ac_alldeps="$2 $ac_makedep"
15099 ac_alldeps="$2 include/config.h"
15102 *.in) ac_input=$ac_input:$2 ;;
15103 *) ac_makedep="$2 $ac_makedep" ;;
15106 wine_fn_append_file ALL_DIRS $ac_dir
15107 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15108 "__clean__: $ac_dir/__clean__
15109 .PHONY: $ac_dir/__clean__
15110 $ac_dir/__clean__: $ac_dir/Makefile
15111 @cd $ac_dir && \$(MAKE) clean
15112 \$(RM) $ac_dir/Makefile
15113 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15114 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15115 depend: $ac_dir/__depend__
15116 .PHONY: $ac_dir/__depend__
15117 $ac_dir/__depend__: $ac_makedep dummy
15118 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15121 wine_fn_pot_rules ()
15126 test "x$with_gettextpo" = xyes || return
15128 if wine_fn_has_flag mc $ac_flags
15130 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
15131 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15132 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15133 @cd $ac_dir && \$(MAKE) msg.pot
15134 $ac_dir/msg.pot: tools/wmc include"
15136 if wine_fn_has_flag po $ac_flags
15138 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
15139 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15140 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15141 @cd $ac_dir && \$(MAKE) rsrc.pot
15142 $ac_dir/rsrc.pot: tools/wrc include"
15146 wine_fn_config_makefile ()
15152 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15156 wine_fn_all_dir_rules $ac_dir ${ac_rules:-Make.rules}
15157 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15160 $ac_dir: $ac_dir/Makefile dummy
15161 @cd $ac_dir && \$(MAKE)"
15163 wine_fn_has_flag install-lib $ac_flags || wine_fn_has_flag install-dev $ac_flags || return
15165 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15166 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15167 $ac_dir/__install__:: $ac_dir
15168 @cd $ac_dir && \$(MAKE) install
15169 $ac_dir/__uninstall__:: $ac_dir/Makefile
15170 @cd $ac_dir && \$(MAKE) uninstall
15171 install:: $ac_dir/__install__
15172 __uninstall__: $ac_dir/__uninstall__"
15174 if wine_fn_has_flag install-lib $ac_flags
15176 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15177 ".PHONY: $ac_dir/__install-lib__
15178 $ac_dir/__install-lib__:: $ac_dir
15179 @cd $ac_dir && \$(MAKE) install-lib
15180 install-lib:: $ac_dir/__install-lib__"
15183 if wine_fn_has_flag install-dev $ac_flags
15185 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15186 ".PHONY: $ac_dir/__install-dev
15187 $ac_dir/__install-dev__:: $ac_dir
15188 @cd $ac_dir && \$(MAKE) install-dev
15189 install-dev:: $ac_dir/__install-dev__"
15193 wine_fn_config_lib ()
15197 ac_dir=dlls/$ac_name
15198 wine_fn_config_makefile $ac_dir enable_$ac_name "$ac_flags" dlls/Makeimplib.rules
15200 if wine_fn_has_flag install-dev $ac_flags
15203 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15204 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15205 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15206 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15207 $ac_dir/__uninstall__::
15208 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15209 install install-dev:: $ac_dir/__install__
15210 __uninstall__: $ac_dir/__uninstall__"
15213 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: $ac_dir"
15214 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15217 wine_fn_config_dll ()
15220 ac_dir=dlls/$ac_name
15223 ac_implib=${4:-$ac_name}
15224 ac_file=$ac_dir/lib$ac_implib
15226 ac_deps="tools/widl tools/winebuild tools/winegcc include"
15230 *16) ac_implibflags=" -m16" ;;
15232 *) ac_dll=$ac_dll.dll ;;
15235 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" dlls/Makedll.rules
15237 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15238 test "$ac_enable" != enable_win16 || return 0
15239 wine_fn_has_flag implib $ac_flags && wine_fn_all_dir_rules $ac_dir dlls/Makedll.rules
15241 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15242 "$ac_dir: __builddeps__
15243 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15244 @cd $ac_dir && \$(MAKE) \$@"
15246 if wine_fn_has_flag install-lib $ac_flags
15249 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15250 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15251 install install-lib:: $ac_dir/__install-lib__
15252 __uninstall__: $ac_dir/__uninstall__"
15253 if test -n "$DLLEXT"
15255 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15256 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15257 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15258 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15259 $ac_dir/__uninstall__::
15260 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15262 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15263 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15264 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15265 $ac_dir/__uninstall__::
15266 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15270 wine_fn_pot_rules $ac_dir $ac_flags
15273 if wine_fn_has_flag staticimplib $ac_flags
15275 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15276 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15277 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15278 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15279 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15280 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15281 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15282 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15283 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15284 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15285 $ac_dir/__uninstall__::
15286 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15287 install install-dev:: $ac_dir/__install-dev__
15288 __uninstall__: $ac_dir/__uninstall__"
15290 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15292 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15293 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15294 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15295 $ac_dir/__uninstall__::
15296 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15299 if test "x$CROSSTEST_DISABLE" = x
15301 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15302 "__builddeps__: $ac_file.cross.a
15303 $ac_file.cross.a: $ac_dir/Makefile dummy
15304 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15307 elif wine_fn_has_flag implib $ac_flags
15309 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15310 "__builddeps__: $ac_file.$IMPLIBEXT
15311 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15312 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15313 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15314 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15315 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15316 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15317 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15318 $ac_dir/__uninstall__::
15319 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15320 install install-dev:: $ac_dir/__install-dev__
15321 __uninstall__: $ac_dir/__uninstall__"
15322 if test "x$CROSSTEST_DISABLE" = x
15324 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15325 "__builddeps__: $ac_file.cross.a
15326 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15327 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15330 if test "$ac_name" != "$ac_implib"
15332 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15333 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15334 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15335 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15337 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15338 if test "x$CROSSTEST_DISABLE" = x
15340 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15341 "__builddeps__: dlls/lib$ac_implib.cross.a
15342 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15343 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15349 wine_fn_config_program ()
15352 ac_dir=programs/$ac_name
15355 ac_program=$ac_name
15359 *) ac_program=$ac_program.exe ;;
15362 wine_fn_config_makefile $ac_dir $ac_enable "$ac_flags" programs/Makeprog.rules
15364 if eval test \"x\$"$ac_enable"\" = x"no"; then :
15367 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15368 "$ac_dir: __builddeps__"
15370 wine_fn_pot_rules $ac_dir $ac_flags
15372 wine_fn_has_flag install $ac_flags || return
15373 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15374 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15375 install install-lib:: $ac_dir/__install__
15376 __uninstall__: $ac_dir/__uninstall__"
15378 if test -n "$DLLEXT"
15380 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15381 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15382 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15383 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15384 $ac_dir/__uninstall__::
15385 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15387 if test "x$enable_tools" != xno && wine_fn_has_flag installbin $ac_flags
15389 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15390 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15391 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15392 $ac_dir/__uninstall__::
15393 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15396 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15397 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15398 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15399 $ac_dir/__uninstall__::
15400 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15403 if test "x$enable_tools" != xno && wine_fn_has_flag manpage $ac_flags
15405 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15406 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15407 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15408 $ac_dir/__uninstall__::
15409 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15414 wine_fn_config_test ()
15419 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
15420 wine_fn_all_dir_rules $ac_dir Maketest.rules
15422 if test "x$enable_tests" = xno; then :
15425 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15428 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15429 @cd $ac_dir && \$(MAKE)
15430 programs/winetest: $ac_dir
15431 check test: $ac_dir/__test__
15432 .PHONY: $ac_dir/__test__
15433 $ac_dir/__test__: dummy
15434 @cd $ac_dir && \$(MAKE) test
15436 \$(RM) $ac_dir/*.ok"
15438 if test "x$CROSSTEST_DISABLE" = x
15440 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15441 "crosstest: $ac_dir/__crosstest__
15442 .PHONY: $ac_dir/__crosstest__
15443 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15444 @cd $ac_dir && \$(MAKE) crosstest"
15449 wine_fn_config_tool ()
15453 if test "x$enable_tools" = xno; then :
15457 wine_fn_config_makefile $ac_dir enable_tools $ac_flags
15459 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__tooldeps__: $ac_dir"
15460 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: libs/port"
15462 tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
15466 wine_fn_config_makerules ()
15470 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15471 "$ac_rules: $ac_rules.in $ac_deps config.status
15472 @./config.status $ac_rules
15477 wine_fn_config_symlink ()
15480 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15482 @./config.status $ac_link
15487 if test "x$CROSSTEST_DISABLE" != x
15489 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15491 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15493 ac_config_links="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15494 wine_fn_config_symlink dlls/shell32/AUTHORS
15495 ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15496 test "$srcdir" = "." || wine_fn_config_symlink dlls/wineps.drv/generic.ppd
15497 if test "x$enable_fonts" != xno; then
15498 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15499 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf
15501 if test "x$enable_fonts" != xno; then
15502 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15503 test "$srcdir" = "." || wine_fn_config_symlink fonts/symbol.ttf
15505 if test "x$enable_fonts" != xno; then
15506 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15507 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahoma.ttf
15509 if test "x$enable_fonts" != xno; then
15510 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15511 test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
15513 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
15514 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
15515 if test "x$enable_tools" != xno; then
15516 ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15517 test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
15519 ac_config_links="$ac_config_links wine:tools/winewrapper"
15520 wine_fn_config_symlink wine
15521 if test "x$enable_win64" != xno; then
15522 ac_config_links="$ac_config_links wine64:tools/winewrapper"
15523 wine_fn_config_symlink wine64
15526 ac_config_commands="$ac_config_commands dlls/gdi32/dibdrv"
15528 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
15530 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
15532 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
15534 ac_config_commands="$ac_config_commands dlls/user32/resources"
15536 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
15538 ac_config_commands="$ac_config_commands include/wine"
15541 wine_fn_config_makerules Make.rules
15542 MAKE_RULES=Make.rules
15543 ac_config_files="$ac_config_files Make.rules"
15545 wine_fn_config_makerules Maketest.rules Make.rules
15546 MAKE_TEST_RULES=Maketest.rules
15547 ac_config_files="$ac_config_files Maketest.rules"
15549 wine_fn_config_makerules dlls/Makedll.rules Make.rules
15550 MAKE_DLL_RULES=dlls/Makedll.rules
15551 ac_config_files="$ac_config_files dlls/Makedll.rules"
15553 wine_fn_config_makerules dlls/Makeimplib.rules Make.rules
15554 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
15555 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
15557 wine_fn_config_makerules programs/Makeprog.rules Make.rules
15558 MAKE_PROG_RULES=programs/Makeprog.rules
15559 ac_config_files="$ac_config_files programs/Makeprog.rules"
15562 wine_fn_config_dll acledit enable_acledit
15563 wine_fn_config_dll aclui enable_aclui implib
15564 wine_fn_config_dll activeds enable_activeds implib
15565 wine_fn_config_dll actxprxy enable_actxprxy
15566 wine_fn_config_lib adsiid
15567 wine_fn_config_dll advapi32 enable_advapi32 implib
15568 wine_fn_config_test dlls/advapi32/tests advapi32_test
15569 wine_fn_config_dll advpack enable_advpack implib
15570 wine_fn_config_test dlls/advpack/tests advpack_test
15571 wine_fn_config_dll amstream enable_amstream
15572 wine_fn_config_test dlls/amstream/tests amstream_test
15573 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15574 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15575 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15576 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15577 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15578 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15579 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15580 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15581 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15582 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15583 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15584 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15585 wine_fn_config_dll apphelp enable_apphelp
15586 wine_fn_config_test dlls/apphelp/tests apphelp_test
15587 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15588 wine_fn_config_dll atl enable_atl implib
15589 wine_fn_config_test dlls/atl/tests atl_test
15590 wine_fn_config_dll atl100 enable_atl100 implib
15591 wine_fn_config_test dlls/atl100/tests atl100_test
15592 wine_fn_config_dll atl80 enable_atl80 implib
15593 wine_fn_config_dll authz enable_authz
15594 wine_fn_config_dll avicap32 enable_avicap32 implib
15595 wine_fn_config_dll avifil32 enable_avifil32 implib,po
15596 wine_fn_config_test dlls/avifil32/tests avifil32_test
15597 wine_fn_config_dll avifile.dll16 enable_win16
15598 wine_fn_config_dll avrt enable_avrt implib
15599 wine_fn_config_dll bcrypt enable_bcrypt
15600 wine_fn_config_dll browseui enable_browseui po
15601 wine_fn_config_test dlls/browseui/tests browseui_test
15602 wine_fn_config_dll cabinet enable_cabinet implib
15603 wine_fn_config_test dlls/cabinet/tests cabinet_test
15604 wine_fn_config_dll capi2032 enable_capi2032 implib
15605 wine_fn_config_dll cards enable_cards implib
15606 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15607 wine_fn_config_dll clusapi enable_clusapi implib
15608 wine_fn_config_dll comcat enable_comcat
15609 wine_fn_config_test dlls/comcat/tests comcat_test
15610 wine_fn_config_dll comctl32 enable_comctl32 implib,po
15611 wine_fn_config_test dlls/comctl32/tests comctl32_test
15612 wine_fn_config_dll comdlg32 enable_comdlg32 implib,po
15613 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
15614 wine_fn_config_dll comm.drv16 enable_win16
15615 wine_fn_config_dll commdlg.dll16 enable_win16
15616 wine_fn_config_dll compobj.dll16 enable_win16
15617 wine_fn_config_dll compstui enable_compstui implib
15618 wine_fn_config_dll credui enable_credui implib,po
15619 wine_fn_config_test dlls/credui/tests credui_test
15620 wine_fn_config_dll crtdll enable_crtdll implib
15621 wine_fn_config_dll crypt32 enable_crypt32 implib,po
15622 wine_fn_config_test dlls/crypt32/tests crypt32_test
15623 wine_fn_config_dll cryptdlg enable_cryptdlg po
15624 wine_fn_config_dll cryptdll enable_cryptdll implib
15625 wine_fn_config_dll cryptnet enable_cryptnet implib
15626 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
15627 wine_fn_config_dll cryptui enable_cryptui implib,po
15628 wine_fn_config_test dlls/cryptui/tests cryptui_test
15629 wine_fn_config_dll ctapi32 enable_ctapi32
15630 wine_fn_config_dll ctl3d.dll16 enable_win16
15631 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15632 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15633 wine_fn_config_dll d3d10 enable_d3d10 implib
15634 wine_fn_config_test dlls/d3d10/tests d3d10_test
15635 wine_fn_config_dll d3d10core enable_d3d10core implib
15636 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
15637 wine_fn_config_dll d3d11 enable_d3d11
15638 wine_fn_config_dll d3d8 enable_d3d8 implib
15639 wine_fn_config_test dlls/d3d8/tests d3d8_test
15640 wine_fn_config_dll d3d9 enable_d3d9 implib
15641 wine_fn_config_test dlls/d3d9/tests d3d9_test
15642 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15643 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15644 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15645 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15646 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15647 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15648 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15649 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15650 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15651 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15652 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15653 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
15654 wine_fn_config_dll d3dim enable_d3dim implib
15655 wine_fn_config_dll d3drm enable_d3drm implib
15656 wine_fn_config_test dlls/d3drm/tests d3drm_test
15657 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15658 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15659 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15660 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15661 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15662 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15663 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15664 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15665 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15666 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15667 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15668 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15669 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15670 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15671 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15672 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15673 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15674 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15675 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15676 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15677 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15678 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15679 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15680 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15681 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
15682 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15683 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15684 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15685 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15686 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15687 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15688 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15689 wine_fn_config_dll d3dxof enable_d3dxof implib
15690 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
15691 wine_fn_config_dll dbgeng enable_dbgeng implib
15692 wine_fn_config_dll dbghelp enable_dbghelp implib
15693 wine_fn_config_dll dciman32 enable_dciman32 implib
15694 wine_fn_config_dll ddeml.dll16 enable_win16
15695 wine_fn_config_dll ddraw enable_ddraw implib
15696 wine_fn_config_test dlls/ddraw/tests ddraw_test
15697 wine_fn_config_dll ddrawex enable_ddrawex
15698 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
15699 wine_fn_config_dll devenum enable_devenum po
15700 wine_fn_config_test dlls/devenum/tests devenum_test
15701 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15702 wine_fn_config_dll dinput enable_dinput implib,po,staticimplib
15703 wine_fn_config_test dlls/dinput/tests dinput_test
15704 wine_fn_config_dll dinput8 enable_dinput8 implib
15705 wine_fn_config_test dlls/dinput8/tests dinput8_test
15706 wine_fn_config_dll dispdib.dll16 enable_win16
15707 wine_fn_config_dll dispex enable_dispex
15708 wine_fn_config_test dlls/dispex/tests dispex_test
15709 wine_fn_config_dll display.drv16 enable_win16
15710 wine_fn_config_dll dmband enable_dmband
15711 wine_fn_config_test dlls/dmband/tests dmband_test
15712 wine_fn_config_dll dmcompos enable_dmcompos
15713 wine_fn_config_dll dmime enable_dmime
15714 wine_fn_config_test dlls/dmime/tests dmime_test
15715 wine_fn_config_dll dmloader enable_dmloader
15716 wine_fn_config_test dlls/dmloader/tests dmloader_test
15717 wine_fn_config_dll dmscript enable_dmscript
15718 wine_fn_config_dll dmstyle enable_dmstyle
15719 wine_fn_config_dll dmsynth enable_dmsynth
15720 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
15721 wine_fn_config_dll dmusic enable_dmusic
15722 wine_fn_config_test dlls/dmusic/tests dmusic_test
15723 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15724 wine_fn_config_dll dnsapi enable_dnsapi implib
15725 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
15726 wine_fn_config_dll dplay enable_dplay implib
15727 wine_fn_config_dll dplayx enable_dplayx implib
15728 wine_fn_config_test dlls/dplayx/tests dplayx_test
15729 wine_fn_config_dll dpnaddr enable_dpnaddr
15730 wine_fn_config_dll dpnet enable_dpnet implib
15731 wine_fn_config_test dlls/dpnet/tests dpnet_test
15732 wine_fn_config_dll dpnhpast enable_dpnhpast
15733 wine_fn_config_dll dpnlobby enable_dpnlobby
15734 wine_fn_config_dll dpwsockx enable_dpwsockx
15735 wine_fn_config_dll drmclien enable_drmclien
15736 wine_fn_config_dll dsound enable_dsound implib
15737 wine_fn_config_test dlls/dsound/tests dsound_test
15738 wine_fn_config_dll dssenh enable_dssenh
15739 wine_fn_config_test dlls/dssenh/tests dssenh_test
15740 wine_fn_config_dll dswave enable_dswave
15741 wine_fn_config_dll dwmapi enable_dwmapi implib
15742 wine_fn_config_dll dwrite enable_dwrite implib
15743 wine_fn_config_test dlls/dwrite/tests dwrite_test
15744 wine_fn_config_dll dxdiagn enable_dxdiagn po
15745 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
15746 wine_fn_config_lib dxerr8
15747 wine_fn_config_lib dxerr9
15748 wine_fn_config_dll dxgi enable_dxgi implib
15749 wine_fn_config_test dlls/dxgi/tests dxgi_test
15750 wine_fn_config_lib dxguid
15751 wine_fn_config_dll explorerframe enable_explorerframe
15752 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
15753 wine_fn_config_dll faultrep enable_faultrep implib
15754 wine_fn_config_test dlls/faultrep/tests faultrep_test
15755 wine_fn_config_dll fltlib enable_fltlib
15756 wine_fn_config_dll fusion enable_fusion
15757 wine_fn_config_test dlls/fusion/tests fusion_test
15758 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15759 wine_fn_config_dll gameux enable_gameux
15760 wine_fn_config_test dlls/gameux/tests gameux_test
15761 wine_fn_config_dll gdi.exe16 enable_win16
15762 wine_fn_config_dll gdi32 enable_gdi32 implib,po
15763 wine_fn_config_test dlls/gdi32/tests gdi32_test
15764 wine_fn_config_dll gdiplus enable_gdiplus implib
15765 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
15766 wine_fn_config_dll glu32 enable_glu32 implib
15767 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15768 wine_fn_config_dll gpkcsp enable_gpkcsp
15769 wine_fn_config_dll hal enable_hal
15770 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib,po htmlhelp
15771 wine_fn_config_dll hid enable_hid implib
15772 wine_fn_config_dll hlink enable_hlink implib
15773 wine_fn_config_test dlls/hlink/tests hlink_test
15774 wine_fn_config_dll hnetcfg enable_hnetcfg
15775 wine_fn_config_dll httpapi enable_httpapi
15776 wine_fn_config_dll iccvid enable_iccvid po
15777 wine_fn_config_dll icmp enable_icmp
15778 wine_fn_config_dll ieframe enable_ieframe implib,po
15779 wine_fn_config_test dlls/ieframe/tests ieframe_test
15780 wine_fn_config_dll ifsmgr.vxd enable_win16
15781 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15782 wine_fn_config_dll imagehlp enable_imagehlp implib
15783 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
15784 wine_fn_config_dll imm.dll16 enable_win16
15785 wine_fn_config_dll imm32 enable_imm32 implib
15786 wine_fn_config_test dlls/imm32/tests imm32_test
15787 wine_fn_config_dll inetcomm enable_inetcomm implib
15788 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
15789 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15790 wine_fn_config_dll inetmib1 enable_inetmib1
15791 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
15792 wine_fn_config_dll infosoft enable_infosoft
15793 wine_fn_config_test dlls/infosoft/tests infosoft_test
15794 wine_fn_config_dll initpki enable_initpki
15795 wine_fn_config_dll inkobj enable_inkobj
15796 wine_fn_config_dll inseng enable_inseng
15797 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15798 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
15799 wine_fn_config_dll itircl enable_itircl
15800 wine_fn_config_dll itss enable_itss
15801 wine_fn_config_test dlls/itss/tests itss_test
15802 wine_fn_config_dll joy.cpl enable_joy_cpl po
15803 wine_fn_config_dll jscript enable_jscript po
15804 wine_fn_config_test dlls/jscript/tests jscript_test
15805 wine_fn_config_dll kernel32 enable_kernel32 implib,mc
15806 wine_fn_config_test dlls/kernel32/tests kernel32_test
15807 wine_fn_config_dll keyboard.drv16 enable_win16
15808 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15809 wine_fn_config_dll ktmw32 enable_ktmw32
15810 wine_fn_config_dll loadperf enable_loadperf implib
15811 wine_fn_config_dll localspl enable_localspl po
15812 wine_fn_config_test dlls/localspl/tests localspl_test
15813 wine_fn_config_dll localui enable_localui po
15814 wine_fn_config_test dlls/localui/tests localui_test
15815 wine_fn_config_dll lz32 enable_lz32 implib
15816 wine_fn_config_test dlls/lz32/tests lz32_test
15817 wine_fn_config_dll lzexpand.dll16 enable_win16
15818 wine_fn_config_dll mapi32 enable_mapi32 implib,po
15819 wine_fn_config_test dlls/mapi32/tests mapi32_test
15820 wine_fn_config_dll mapistub enable_mapistub
15821 wine_fn_config_dll mciavi32 enable_mciavi32
15822 wine_fn_config_dll mcicda enable_mcicda
15823 wine_fn_config_dll mciqtz32 enable_mciqtz32
15824 wine_fn_config_dll mciseq enable_mciseq
15825 wine_fn_config_dll mciwave enable_mciwave
15826 wine_fn_config_dll mgmtapi enable_mgmtapi
15827 wine_fn_config_dll midimap enable_midimap
15828 wine_fn_config_dll mlang enable_mlang implib
15829 wine_fn_config_test dlls/mlang/tests mlang_test
15830 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15831 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
15832 wine_fn_config_dll mmdevapi enable_mmdevapi
15833 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
15834 wine_fn_config_dll mmdevldr.vxd enable_win16
15835 wine_fn_config_dll mmsystem.dll16 enable_win16
15836 wine_fn_config_dll monodebg.vxd enable_win16
15837 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15838 wine_fn_config_dll mouse.drv16 enable_win16
15839 wine_fn_config_dll mpr enable_mpr implib,po
15840 wine_fn_config_test dlls/mpr/tests mpr_test
15841 wine_fn_config_dll mprapi enable_mprapi implib
15842 wine_fn_config_dll msacm.dll16 enable_win16
15843 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15844 wine_fn_config_dll msacm32 enable_msacm32 implib,po
15845 wine_fn_config_test dlls/msacm32/tests msacm32_test
15846 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15847 wine_fn_config_dll mscat32 enable_mscat32
15848 wine_fn_config_dll mscms enable_mscms implib
15849 wine_fn_config_test dlls/mscms/tests mscms_test
15850 wine_fn_config_dll mscoree enable_mscoree
15851 wine_fn_config_test dlls/mscoree/tests mscoree_test
15852 wine_fn_config_dll msctf enable_msctf
15853 wine_fn_config_test dlls/msctf/tests msctf_test
15854 wine_fn_config_dll msdaps enable_msdaps
15855 wine_fn_config_dll msdmo enable_msdmo implib
15856 wine_fn_config_dll msftedit enable_msftedit
15857 wine_fn_config_dll msg711.acm enable_msg711_acm
15858 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15859 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15860 wine_fn_config_dll mshtml enable_mshtml implib,po
15861 wine_fn_config_test dlls/mshtml/tests mshtml_test
15862 wine_fn_config_dll msi enable_msi implib,po
15863 wine_fn_config_test dlls/msi/tests msi_test
15864 wine_fn_config_dll msident enable_msident
15865 wine_fn_config_dll msimg32 enable_msimg32 implib
15866 wine_fn_config_dll msimsg enable_msimsg
15867 wine_fn_config_dll msimtf enable_msimtf
15868 wine_fn_config_dll msisip enable_msisip
15869 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15870 wine_fn_config_dll msls31 enable_msls31
15871 wine_fn_config_dll msnet32 enable_msnet32
15872 wine_fn_config_dll mspatcha enable_mspatcha
15873 wine_fn_config_dll msrle32 enable_msrle32 po
15874 wine_fn_config_dll mssign32 enable_mssign32
15875 wine_fn_config_dll mssip32 enable_mssip32
15876 wine_fn_config_dll mstask enable_mstask
15877 wine_fn_config_test dlls/mstask/tests mstask_test
15878 wine_fn_config_dll msvcirt enable_msvcirt
15879 wine_fn_config_dll msvcm80 enable_msvcm80
15880 wine_fn_config_dll msvcm90 enable_msvcm90
15881 wine_fn_config_dll msvcp100 enable_msvcp100
15882 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
15883 wine_fn_config_dll msvcp60 enable_msvcp60
15884 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
15885 wine_fn_config_dll msvcp70 enable_msvcp70
15886 wine_fn_config_dll msvcp71 enable_msvcp71
15887 wine_fn_config_dll msvcp80 enable_msvcp80
15888 wine_fn_config_dll msvcp90 enable_msvcp90
15889 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
15890 wine_fn_config_dll msvcr100 enable_msvcr100
15891 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
15892 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15893 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15894 wine_fn_config_dll msvcr80 enable_msvcr80
15895 wine_fn_config_dll msvcr90 enable_msvcr90
15896 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
15897 wine_fn_config_dll msvcrt enable_msvcrt implib
15898 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15899 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15900 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15901 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15902 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15903 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
15904 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15905 wine_fn_config_dll msvidc32 enable_msvidc32 po
15906 wine_fn_config_dll msvideo.dll16 enable_win16
15907 wine_fn_config_dll mswsock enable_mswsock implib
15908 wine_fn_config_dll msxml enable_msxml
15909 wine_fn_config_dll msxml2 enable_msxml2
15910 wine_fn_config_dll msxml3 enable_msxml3
15911 wine_fn_config_test dlls/msxml3/tests msxml3_test
15912 wine_fn_config_dll msxml4 enable_msxml4
15913 wine_fn_config_dll msxml6 enable_msxml6
15914 wine_fn_config_dll nddeapi enable_nddeapi implib
15915 wine_fn_config_dll netapi32 enable_netapi32 implib
15916 wine_fn_config_test dlls/netapi32/tests netapi32_test
15917 wine_fn_config_dll newdev enable_newdev implib
15918 wine_fn_config_dll normaliz enable_normaliz implib
15919 wine_fn_config_dll npmshtml enable_npmshtml
15920 wine_fn_config_dll ntdll enable_ntdll implib
15921 wine_fn_config_test dlls/ntdll/tests ntdll_test
15922 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15923 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15924 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15925 wine_fn_config_dll ntprint enable_ntprint
15926 wine_fn_config_test dlls/ntprint/tests ntprint_test
15927 wine_fn_config_dll objsel enable_objsel
15928 wine_fn_config_dll odbc32 enable_odbc32 implib
15929 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15930 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15931 wine_fn_config_dll odbccu32 enable_odbccu32
15932 wine_fn_config_dll ole2.dll16 enable_win16
15933 wine_fn_config_dll ole2conv.dll16 enable_win16
15934 wine_fn_config_dll ole2disp.dll16 enable_win16
15935 wine_fn_config_dll ole2nls.dll16 enable_win16
15936 wine_fn_config_dll ole2prox.dll16 enable_win16
15937 wine_fn_config_dll ole2thk.dll16 enable_win16
15938 wine_fn_config_dll ole32 enable_ole32 implib
15939 wine_fn_config_test dlls/ole32/tests ole32_test
15940 wine_fn_config_dll oleacc enable_oleacc implib,po
15941 wine_fn_config_test dlls/oleacc/tests oleacc_test
15942 wine_fn_config_dll oleaut32 enable_oleaut32 implib,po
15943 wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15944 wine_fn_config_dll olecli.dll16 enable_win16
15945 wine_fn_config_dll olecli32 enable_olecli32 implib
15946 wine_fn_config_dll oledb32 enable_oledb32
15947 wine_fn_config_test dlls/oledb32/tests oledb32_test
15948 wine_fn_config_dll oledlg enable_oledlg implib,po
15949 wine_fn_config_dll olepro32 enable_olepro32 implib
15950 wine_fn_config_dll olesvr.dll16 enable_win16
15951 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15952 wine_fn_config_dll olethk32 enable_olethk32
15953 wine_fn_config_dll openal32 enable_openal32
15954 wine_fn_config_dll opencl enable_opencl
15955 wine_fn_config_dll opengl32 enable_opengl32 implib
15956 wine_fn_config_test dlls/opengl32/tests opengl32_test
15957 wine_fn_config_dll pdh enable_pdh implib
15958 wine_fn_config_test dlls/pdh/tests pdh_test
15959 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15960 wine_fn_config_dll pidgen enable_pidgen
15961 wine_fn_config_dll powrprof enable_powrprof implib
15962 wine_fn_config_dll printui enable_printui
15963 wine_fn_config_dll propsys enable_propsys implib
15964 wine_fn_config_test dlls/propsys/tests propsys_test
15965 wine_fn_config_dll psapi enable_psapi implib
15966 wine_fn_config_test dlls/psapi/tests psapi_test
15967 wine_fn_config_dll pstorec enable_pstorec
15968 wine_fn_config_dll qcap enable_qcap
15969 wine_fn_config_dll qedit enable_qedit
15970 wine_fn_config_test dlls/qedit/tests qedit_test
15971 wine_fn_config_dll qmgr enable_qmgr
15972 wine_fn_config_test dlls/qmgr/tests qmgr_test
15973 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15974 wine_fn_config_dll quartz enable_quartz implib
15975 wine_fn_config_test dlls/quartz/tests quartz_test
15976 wine_fn_config_dll query enable_query
15977 wine_fn_config_dll rasapi16.dll16 enable_win16
15978 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15979 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15980 wine_fn_config_dll rasdlg enable_rasdlg implib
15981 wine_fn_config_dll regapi enable_regapi
15982 wine_fn_config_dll resutils enable_resutils implib
15983 wine_fn_config_dll riched20 enable_riched20 implib
15984 wine_fn_config_test dlls/riched20/tests riched20_test
15985 wine_fn_config_dll riched32 enable_riched32
15986 wine_fn_config_test dlls/riched32/tests riched32_test
15987 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15988 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15989 wine_fn_config_dll rsabase enable_rsabase
15990 wine_fn_config_dll rsaenh enable_rsaenh implib
15991 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15992 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15993 wine_fn_config_dll rtutils enable_rtutils implib
15994 wine_fn_config_dll samlib enable_samlib
15995 wine_fn_config_dll sane.ds enable_sane_ds po
15996 wine_fn_config_dll scarddlg enable_scarddlg
15997 wine_fn_config_dll sccbase enable_sccbase
15998 wine_fn_config_dll schannel enable_schannel
15999 wine_fn_config_test dlls/schannel/tests schannel_test
16000 wine_fn_config_dll scrrun enable_scrrun
16001 wine_fn_config_test dlls/scrrun/tests scrrun_test
16002 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16003 wine_fn_config_dll secur32 enable_secur32 implib
16004 wine_fn_config_test dlls/secur32/tests secur32_test
16005 wine_fn_config_dll security enable_security
16006 wine_fn_config_dll sensapi enable_sensapi implib
16007 wine_fn_config_dll serialui enable_serialui implib,po
16008 wine_fn_config_test dlls/serialui/tests serialui_test
16009 wine_fn_config_dll setupapi enable_setupapi implib,po
16010 wine_fn_config_test dlls/setupapi/tests setupapi_test
16011 wine_fn_config_dll setupx.dll16 enable_win16
16012 wine_fn_config_dll sfc enable_sfc implib
16013 wine_fn_config_dll sfc_os enable_sfc_os implib
16014 wine_fn_config_dll shdoclc enable_shdoclc po
16015 wine_fn_config_dll shdocvw enable_shdocvw implib
16016 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
16017 wine_fn_config_dll shell.dll16 enable_win16
16018 wine_fn_config_dll shell32 enable_shell32 implib,po
16019 wine_fn_config_test dlls/shell32/tests shell32_test
16020 wine_fn_config_dll shfolder enable_shfolder implib
16021 wine_fn_config_dll shlwapi enable_shlwapi implib,po
16022 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
16023 wine_fn_config_dll slbcsp enable_slbcsp
16024 wine_fn_config_dll slc enable_slc implib
16025 wine_fn_config_dll snmpapi enable_snmpapi implib
16026 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
16027 wine_fn_config_dll softpub enable_softpub
16028 wine_fn_config_dll sound.drv16 enable_win16
16029 wine_fn_config_dll spoolss enable_spoolss implib
16030 wine_fn_config_test dlls/spoolss/tests spoolss_test
16031 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16032 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16033 wine_fn_config_dll sti enable_sti implib
16034 wine_fn_config_test dlls/sti/tests sti_test
16035 wine_fn_config_dll storage.dll16 enable_win16
16036 wine_fn_config_dll stress.dll16 enable_win16
16037 wine_fn_config_lib strmbase
16038 wine_fn_config_lib strmiids
16039 wine_fn_config_dll svrapi enable_svrapi
16040 wine_fn_config_dll sxs enable_sxs implib
16041 wine_fn_config_test dlls/sxs/tests sxs_test
16042 wine_fn_config_dll system.drv16 enable_win16
16043 wine_fn_config_dll t2embed enable_t2embed
16044 wine_fn_config_dll tapi32 enable_tapi32 implib
16045 wine_fn_config_dll toolhelp.dll16 enable_win16
16046 wine_fn_config_dll traffic enable_traffic
16047 wine_fn_config_dll twain.dll16 enable_win16
16048 wine_fn_config_dll twain_32 enable_twain_32
16049 wine_fn_config_test dlls/twain_32/tests twain_32_test
16050 wine_fn_config_dll typelib.dll16 enable_win16
16051 wine_fn_config_dll unicows enable_unicows implib
16052 wine_fn_config_dll updspapi enable_updspapi
16053 wine_fn_config_dll url enable_url implib
16054 wine_fn_config_dll urlmon enable_urlmon implib,po
16055 wine_fn_config_test dlls/urlmon/tests urlmon_test
16056 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16057 wine_fn_config_dll user.exe16 enable_win16
16058 wine_fn_config_dll user32 enable_user32 implib,po
16059 wine_fn_config_test dlls/user32/tests user32_test
16060 wine_fn_config_dll userenv enable_userenv implib
16061 wine_fn_config_test dlls/userenv/tests userenv_test
16062 wine_fn_config_dll usp10 enable_usp10 implib
16063 wine_fn_config_test dlls/usp10/tests usp10_test
16064 wine_fn_config_lib uuid
16065 wine_fn_config_dll uxtheme enable_uxtheme implib
16066 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
16067 wine_fn_config_dll vbscript enable_vbscript
16068 wine_fn_config_test dlls/vbscript/tests vbscript_test
16069 wine_fn_config_dll vcomp enable_vcomp
16070 wine_fn_config_dll vcomp100 enable_vcomp100
16071 wine_fn_config_dll vcomp90 enable_vcomp90
16072 wine_fn_config_dll vdhcp.vxd enable_win16
16073 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16074 wine_fn_config_dll ver.dll16 enable_win16
16075 wine_fn_config_dll version enable_version implib
16076 wine_fn_config_test dlls/version/tests version_test
16077 wine_fn_config_dll vmm.vxd enable_win16
16078 wine_fn_config_dll vnbt.vxd enable_win16
16079 wine_fn_config_dll vnetbios.vxd enable_win16
16080 wine_fn_config_dll vtdapi.vxd enable_win16
16081 wine_fn_config_dll vwin32.vxd enable_win16
16082 wine_fn_config_dll w32skrnl enable_win16
16083 wine_fn_config_dll w32sys.dll16 enable_win16
16084 wine_fn_config_dll wbemprox enable_wbemprox
16085 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
16086 wine_fn_config_dll wer enable_wer implib
16087 wine_fn_config_test dlls/wer/tests wer_test
16088 wine_fn_config_dll wevtapi enable_wevtapi
16089 wine_fn_config_dll wiaservc enable_wiaservc
16090 wine_fn_config_dll win32s16.dll16 enable_win16
16091 wine_fn_config_dll win87em.dll16 enable_win16
16092 wine_fn_config_dll winaspi.dll16 enable_win16
16093 wine_fn_config_dll windebug.dll16 enable_win16
16094 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16095 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16096 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16097 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16098 wine_fn_config_lib winecrt0
16099 wine_fn_config_dll wined3d enable_wined3d implib
16100 wine_fn_config_dll winegstreamer enable_winegstreamer
16101 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16102 wine_fn_config_dll winemac.drv enable_winemac_drv
16103 wine_fn_config_dll winemapi enable_winemapi
16104 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16105 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16106 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib,po
16107 wine_fn_config_dll wineps16.drv16 enable_win16
16108 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16109 wine_fn_config_dll winex11.drv enable_winex11_drv
16110 wine_fn_config_dll wing.dll16 enable_win16
16111 wine_fn_config_dll wing32 enable_wing32
16112 wine_fn_config_dll winhttp enable_winhttp implib
16113 wine_fn_config_test dlls/winhttp/tests winhttp_test
16114 wine_fn_config_dll wininet enable_wininet implib,po
16115 wine_fn_config_test dlls/wininet/tests wininet_test
16116 wine_fn_config_dll winmm enable_winmm implib,po
16117 wine_fn_config_test dlls/winmm/tests winmm_test
16118 wine_fn_config_dll winnls.dll16 enable_win16
16119 wine_fn_config_dll winnls32 enable_winnls32 implib
16120 wine_fn_config_dll winscard enable_winscard implib
16121 wine_fn_config_dll winsock.dll16 enable_win16
16122 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
16123 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16124 wine_fn_config_dll winsta enable_winsta
16125 wine_fn_config_dll wintab.dll16 enable_win16
16126 wine_fn_config_dll wintab32 enable_wintab32 implib
16127 wine_fn_config_test dlls/wintab32/tests wintab32_test
16128 wine_fn_config_dll wintrust enable_wintrust implib
16129 wine_fn_config_test dlls/wintrust/tests wintrust_test
16130 wine_fn_config_dll wlanapi enable_wlanapi
16131 wine_fn_config_dll wldap32 enable_wldap32 implib,po
16132 wine_fn_config_test dlls/wldap32/tests wldap32_test
16133 wine_fn_config_dll wmi enable_wmi
16134 wine_fn_config_dll wmiutils enable_wmiutils
16135 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
16136 wine_fn_config_dll wmvcore enable_wmvcore
16137 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16138 wine_fn_config_dll wow32 enable_win16 implib
16139 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16140 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16141 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16142 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test
16143 wine_fn_config_dll wsnmp32 enable_wsnmp32
16144 wine_fn_config_dll wsock32 enable_wsock32 implib
16145 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16146 wine_fn_config_dll wuapi enable_wuapi
16147 wine_fn_config_dll wuaueng enable_wuaueng
16148 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16149 wine_fn_config_dll xinput1_1 enable_xinput1_1
16150 wine_fn_config_dll xinput1_2 enable_xinput1_2
16151 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16152 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16153 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16154 wine_fn_config_dll xmllite enable_xmllite
16155 wine_fn_config_test dlls/xmllite/tests xmllite_test
16156 wine_fn_config_dll xolehlp enable_xolehlp
16157 wine_fn_config_dll xpsprint enable_xpsprint
16158 wine_fn_config_dll xpssvcs enable_xpssvcs
16159 wine_fn_config_makefile documentation enable_documentation
16160 wine_fn_config_makefile fonts enable_fonts install-lib
16161 wine_fn_config_makefile include enable_include install-dev
16162 wine_fn_config_makefile libs/port enable_libs_port
16163 wine_fn_config_makefile libs/wine enable_libs_wine install-dev,install-lib
16164 wine_fn_config_makefile libs/wpp enable_libs_wpp
16165 wine_fn_config_makefile loader enable_loader install-lib,manpage
16166 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
16167 wine_fn_config_program attrib enable_attrib install,po
16168 wine_fn_config_program cabarc enable_cabarc install
16169 wine_fn_config_program cacls enable_cacls install
16170 wine_fn_config_program clock enable_clock install,po
16171 wine_fn_config_program cmd enable_cmd install,po
16172 wine_fn_config_test programs/cmd/tests cmd.exe_test
16173 wine_fn_config_program conhost enable_conhost install
16174 wine_fn_config_program control enable_control install
16175 wine_fn_config_program cscript enable_cscript install
16176 wine_fn_config_program dxdiag enable_dxdiag install,po
16177 wine_fn_config_program eject enable_eject install
16178 wine_fn_config_program expand enable_expand install
16179 wine_fn_config_program explorer enable_explorer install,po
16180 wine_fn_config_program extrac32 enable_extrac32 install
16181 wine_fn_config_program findstr enable_findstr install
16182 wine_fn_config_program hh enable_hh install
16183 wine_fn_config_program hostname enable_hostname install,po
16184 wine_fn_config_program icinfo enable_icinfo install
16185 wine_fn_config_program iexplore enable_iexplore install
16186 wine_fn_config_program ipconfig enable_ipconfig install,po
16187 wine_fn_config_program lodctr enable_lodctr install
16188 wine_fn_config_program mofcomp enable_mofcomp install
16189 wine_fn_config_program mshta enable_mshta install
16190 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
16191 wine_fn_config_program net enable_net install,po
16192 wine_fn_config_program netsh enable_netsh install
16193 wine_fn_config_program netstat enable_netstat install,po
16194 wine_fn_config_program ngen enable_ngen install
16195 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
16196 wine_fn_config_program oleview enable_oleview install,po
16197 wine_fn_config_program ping enable_ping install
16198 wine_fn_config_program plugplay enable_plugplay install
16199 wine_fn_config_program presentationfontcache enable_presentationfontcache install
16200 wine_fn_config_program progman enable_progman install,po
16201 wine_fn_config_program reg enable_reg install,po
16202 wine_fn_config_program regasm enable_regasm install
16203 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
16204 wine_fn_config_test programs/regedit/tests regedit.exe_test
16205 wine_fn_config_program regsvcs enable_regsvcs install
16206 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage
16207 wine_fn_config_program rpcss enable_rpcss install
16208 wine_fn_config_program rundll.exe16 enable_win16 install
16209 wine_fn_config_program rundll32 enable_rundll32 install
16210 wine_fn_config_program sc enable_sc install
16211 wine_fn_config_program schtasks enable_schtasks install
16212 wine_fn_config_program secedit enable_secedit install
16213 wine_fn_config_program servicemodelreg enable_servicemodelreg install
16214 wine_fn_config_program services enable_services install
16215 wine_fn_config_test programs/services/tests services.exe_test
16216 wine_fn_config_program spoolsv enable_spoolsv install
16217 wine_fn_config_program start enable_start install,po
16218 wine_fn_config_program svchost enable_svchost install
16219 wine_fn_config_program taskkill enable_taskkill install,po
16220 wine_fn_config_program taskmgr enable_taskmgr install,po
16221 wine_fn_config_program termsv enable_termsv install
16222 wine_fn_config_program uninstaller enable_uninstaller install,po
16223 wine_fn_config_program unlodctr enable_unlodctr install
16224 wine_fn_config_program view enable_view install,po
16225 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
16226 wine_fn_config_program winebrowser enable_winebrowser install
16227 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
16228 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
16229 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
16230 wine_fn_config_program winedevice enable_winedevice install
16231 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
16232 wine_fn_config_program winemenubuilder enable_winemenubuilder install
16233 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
16234 wine_fn_config_program winemsibuilder enable_winemsibuilder install
16235 wine_fn_config_program winepath enable_winepath install,installbin,manpage
16236 wine_fn_config_program winetest enable_winetest
16237 wine_fn_config_program winevdm enable_win16 install
16238 wine_fn_config_program winhelp.exe16 enable_win16 install
16239 wine_fn_config_program winhlp32 enable_winhlp32 install,po
16240 wine_fn_config_program winoldap.mod16 enable_win16 install
16241 wine_fn_config_program winver enable_winver install
16242 wine_fn_config_program wmic enable_wmic install,po
16243 wine_fn_config_program wordpad enable_wordpad install,po
16244 wine_fn_config_program write enable_write install,po
16245 wine_fn_config_program wscript enable_wscript install
16246 wine_fn_config_test programs/wscript/tests wscript.exe_test
16247 wine_fn_config_program wusa enable_wusa install
16248 wine_fn_config_program xcopy enable_xcopy install,po
16249 wine_fn_config_makefile server enable_server install-lib,manpage
16250 wine_fn_config_tool tools install-dev,install-lib,manpage
16251 wine_fn_config_tool tools/widl install-dev,manpage
16252 wine_fn_config_tool tools/winebuild install-dev,manpage
16253 wine_fn_config_tool tools/winedump install-dev,manpage
16254 wine_fn_config_tool tools/winegcc install-dev,manpage
16255 wine_fn_config_tool tools/wmc install-dev,manpage
16256 wine_fn_config_tool tools/wrc install-dev,manpage
16306 ac_config_commands="$ac_config_commands Makefile"
16309 ac_config_files="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16313 if test "x$enable_maintainer_mode" = xyes
16315 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(srcdir)/configure: configure.ac aclocal.m4
16316 cd \$(srcdir) && autoconf --warnings=all
16317 \$(srcdir)/include/config.h.in: include/stamp-h.in
16318 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16319 cd \$(srcdir) && autoheader --warnings=all
16320 @echo timestamp > \$@"
16323 if test "x$with_gettextpo" = xyes
16325 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16326 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "ALL_POT_FILES =$ALL_POT_FILES
16327 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16328 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16329 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16330 msgcat -o \$@ \$(ALL_POT_FILES)"
16333 if test "$MSGFMT" != false
16335 PORCFLAGS="--po-dir=\$(top_builddir)/po"
16337 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "__builddeps__: \$(ALL_MO_FILES)"
16342 if test "x$enable_tools" != xno
16344 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
16346 \$(RM) tools/makedep\$(EXEEXT)"
16349 if test -n "$with_wine64"
16351 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16352 fonts server tools:
16353 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16354 $with_wine64/loader/wine:
16355 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16356 $with_wine64/loader/wine-preloader:
16357 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16359 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16362 cat >confcache <<\_ACEOF
16363 # This file is a shell script that caches the results of configure
16364 # tests run on this system so they can be shared between configure
16365 # scripts and configure runs, see configure's option --config-cache.
16366 # It is not useful on other systems. If it contains results you don't
16367 # want to keep, you may remove or edit it.
16369 # config.status only pays attention to the cache file if you give it
16370 # the --recheck option to rerun configure.
16372 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16373 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16374 # following values.
16378 # The following way of writing the cache mishandles newlines in values,
16379 # but we know of no workaround that is simple, portable, and efficient.
16380 # So, we kill variables containing newlines.
16381 # Ultrix sh set writes to stderr and can't be redirected directly,
16382 # and sets the high bit in the cache file unless we assign to the vars.
16384 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16385 eval ac_val=\$$ac_var
16389 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16390 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16393 _ | IFS | as_nl) ;; #(
16394 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16395 *) { eval $ac_var=; unset $ac_var;} ;;
16401 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16402 *${as_nl}ac_space=\ *)
16403 # `set' does not quote correctly, so add quotes: double-quote
16404 # substitution turns \\\\ into \\, and sed turns \\ into \.
16407 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16410 # `set' quotes correctly as required by POSIX, so do not add quotes.
16411 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16420 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16422 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16424 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16425 if test -w "$cache_file"; then
16426 if test "x$cache_file" != "x/dev/null"; then
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16428 $as_echo "$as_me: updating cache $cache_file" >&6;}
16429 if test ! -f "$cache_file" || test -h "$cache_file"; then
16430 cat confcache >"$cache_file"
16432 case $cache_file in #(
16434 mv -f confcache "$cache_file"$$ &&
16435 mv -f "$cache_file"$$ "$cache_file" ;; #(
16437 mv -f confcache "$cache_file" ;;
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16443 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16448 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16449 # Let make expand exec_prefix.
16450 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16452 DEFS=-DHAVE_CONFIG_H
16457 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16458 # 1. Remove the extension, and $U if already installed.
16459 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16460 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16461 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16462 # will be set to the directory where LIBOBJS objects are built.
16463 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16464 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16466 LIBOBJS=$ac_libobjs
16468 LTLIBOBJS=$ac_ltlibobjs
16472 : "${CONFIG_STATUS=./config.status}"
16474 ac_clean_files_save=$ac_clean_files
16475 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16477 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16479 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16481 # Generated by $as_me.
16482 # Run this file to recreate the current configuration.
16483 # Compiler output produced by configure, useful for debugging
16484 # configure, is in config.log if it exists.
16487 ac_cs_recheck=false
16490 SHELL=\${CONFIG_SHELL-$SHELL}
16493 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16494 ## -------------------- ##
16495 ## M4sh Initialization. ##
16496 ## -------------------- ##
16498 # Be more Bourne compatible
16499 DUALCASE=1; export DUALCASE # for MKS sh
16500 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16503 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16504 # is contrary to our usage. Disable this feature.
16505 alias -g '${1+"$@"}'='"$@"'
16506 setopt NO_GLOB_SUBST
16508 case `(set -o) 2>/dev/null` in #(
16520 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16521 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16522 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16523 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16524 # Prefer a ksh shell builtin over an external printf program on Solaris,
16525 # but without wasting forks for bash or zsh.
16526 if test -z "$BASH_VERSION$ZSH_VERSION" \
16527 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16528 as_echo='print -r --'
16529 as_echo_n='print -rn --'
16530 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16531 as_echo='printf %s\n'
16532 as_echo_n='printf %s'
16534 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16535 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16536 as_echo_n='/usr/ucb/echo -n'
16538 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16539 as_echo_n_body='eval
16543 expr "X$arg" : "X\\(.*\\)$as_nl";
16544 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16546 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16548 export as_echo_n_body
16549 as_echo_n='sh -c $as_echo_n_body as_echo'
16551 export as_echo_body
16552 as_echo='sh -c $as_echo_body as_echo'
16555 # The user is always right.
16556 if test "${PATH_SEPARATOR+set}" != set; then
16558 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16559 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16566 # We need space, tab and new line, in precisely that order. Quoting is
16567 # there to prevent editors from complaining about space-tab.
16568 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16569 # splitting by setting IFS to empty value.)
16572 # Find who we are. Look in the path if we contain no directory separator.
16575 *[\\/]* ) as_myself=$0 ;;
16576 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16577 for as_dir in $PATH
16580 test -z "$as_dir" && as_dir=.
16581 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16587 # We did not find ourselves, most probably we were run as `sh COMMAND'
16588 # in which case we are not to be found in the path.
16589 if test "x$as_myself" = x; then
16592 if test ! -f "$as_myself"; then
16593 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16597 # Unset variables that we do not need and which cause bugs (e.g. in
16598 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16599 # suppresses any "Segmentation fault" message there. '((' could
16600 # trigger a bug in pdksh 5.2.14.
16601 for as_var in BASH_ENV ENV MAIL MAILPATH
16602 do eval test x\${$as_var+set} = xset \
16603 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16616 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16619 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16620 # ----------------------------------------
16621 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16622 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16623 # script with STATUS, using 1 if that was 0.
16626 as_status=$1; test $as_status -eq 0 && as_status=1
16628 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16629 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16631 $as_echo "$as_me: error: $2" >&2
16632 as_fn_exit $as_status
16636 # as_fn_set_status STATUS
16637 # -----------------------
16638 # Set $? to STATUS, without forking.
16639 as_fn_set_status ()
16642 } # as_fn_set_status
16644 # as_fn_exit STATUS
16645 # -----------------
16646 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16650 as_fn_set_status $1
16656 # Portably unset VAR.
16659 { eval $1=; unset $1;}
16661 as_unset=as_fn_unset
16662 # as_fn_append VAR VALUE
16663 # ----------------------
16664 # Append the text in VALUE to the end of the definition contained in VAR. Take
16665 # advantage of any shell optimizations that allow amortized linear growth over
16666 # repeated appends, instead of the typical quadratic growth present in naive
16668 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16669 eval 'as_fn_append ()
16680 # as_fn_arith ARG...
16681 # ------------------
16682 # Perform arithmetic evaluation on the ARGs, and store the result in the
16683 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16684 # must be portable across $(()) and expr.
16685 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16686 eval 'as_fn_arith ()
16693 as_val=`expr "$@" || test $? -eq 1`
16698 if expr a : '\(a\)' >/dev/null 2>&1 &&
16699 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16705 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16706 as_basename=basename
16711 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16717 as_me=`$as_basename -- "$0" ||
16718 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16719 X"$0" : 'X\(//\)$' \| \
16720 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16722 sed '/^.*\/\([^/][^/]*\)\/*$/{
16736 # Avoid depending upon Character Ranges.
16737 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16738 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16739 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16740 as_cr_digits='0123456789'
16741 as_cr_alnum=$as_cr_Letters$as_cr_digits
16743 ECHO_C= ECHO_N= ECHO_T=
16744 case `echo -n x` in #(((((
16746 case `echo 'xy\c'` in
16747 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16749 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16756 rm -f conf$$ conf$$.exe conf$$.file
16757 if test -d conf$$.dir; then
16758 rm -f conf$$.dir/conf$$.file
16761 mkdir conf$$.dir 2>/dev/null
16763 if (echo >conf$$.file) 2>/dev/null; then
16764 if ln -s conf$$.file conf$$ 2>/dev/null; then
16766 # ... but there are two gotchas:
16767 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16768 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16769 # In both cases, we have to default to `cp -pR'.
16770 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16772 elif ln conf$$.file conf$$ 2>/dev/null; then
16780 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16781 rmdir conf$$.dir 2>/dev/null
16786 # Create "$as_dir" as a directory, including parents if necessary.
16791 -*) as_dir=./$as_dir;;
16793 test -d "$as_dir" || eval $as_mkdir_p || {
16797 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16798 *) as_qdir=$as_dir;;
16800 as_dirs="'$as_qdir' $as_dirs"
16801 as_dir=`$as_dirname -- "$as_dir" ||
16802 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16803 X"$as_dir" : 'X\(//\)[^/]' \| \
16804 X"$as_dir" : 'X\(//\)$' \| \
16805 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16806 $as_echo X"$as_dir" |
16807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16811 /^X\(\/\/\)[^/].*/{
16824 test -d "$as_dir" && break
16826 test -z "$as_dirs" || eval "mkdir $as_dirs"
16827 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16831 if mkdir -p . 2>/dev/null; then
16832 as_mkdir_p='mkdir -p "$as_dir"'
16834 test -d ./-p && rmdir ./-p
16839 # as_fn_executable_p FILE
16840 # -----------------------
16841 # Test if FILE is an executable regular file.
16842 as_fn_executable_p ()
16844 test -f "$1" && test -x "$1"
16845 } # as_fn_executable_p
16846 as_test_x='test -x'
16847 as_executable_p=as_fn_executable_p
16849 # Sed expression to map a string onto a valid CPP name.
16850 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16852 # Sed expression to map a string onto a valid variable name.
16853 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16857 ## ----------------------------------- ##
16858 ## Main body of $CONFIG_STATUS script. ##
16859 ## ----------------------------------- ##
16861 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16864 # Save the log message, to keep $0 and so on meaningful, and to
16865 # report actual input values of CONFIG_FILES etc. instead of their
16866 # values after options handling.
16868 This file was extended by Wine $as_me 1.5.21, which was
16869 generated by GNU Autoconf 2.69. Invocation command line was
16871 CONFIG_FILES = $CONFIG_FILES
16872 CONFIG_HEADERS = $CONFIG_HEADERS
16873 CONFIG_LINKS = $CONFIG_LINKS
16874 CONFIG_COMMANDS = $CONFIG_COMMANDS
16877 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16882 case $ac_config_files in *"
16883 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16886 case $ac_config_headers in *"
16887 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16891 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16892 # Files that config.status was made for.
16893 config_files="$ac_config_files"
16894 config_headers="$ac_config_headers"
16895 config_links="$ac_config_links"
16896 config_commands="$ac_config_commands"
16900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16902 \`$as_me' instantiates files and other configuration actions
16903 from templates according to the current configuration. Unless the files
16904 and actions are specified as TAGs, all are instantiated by default.
16906 Usage: $0 [OPTION]... [TAG]...
16908 -h, --help print this help, then exit
16909 -V, --version print version number and configuration settings, then exit
16910 --config print configuration, then exit
16911 -q, --quiet, --silent
16912 do not print progress messages
16913 -d, --debug don't remove temporary files
16914 --recheck update $as_me by reconfiguring in the same conditions
16915 --file=FILE[:TEMPLATE]
16916 instantiate the configuration file FILE
16917 --header=FILE[:TEMPLATE]
16918 instantiate the configuration header FILE
16920 Configuration files:
16923 Configuration headers:
16926 Configuration links:
16929 Configuration commands:
16932 Report bugs to <wine-devel@winehq.org>.
16933 Wine home page: <http://www.winehq.org>."
16936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16937 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16939 Wine config.status 1.5.21
16940 configured by $0, generated by GNU Autoconf 2.69,
16941 with options \\"\$ac_cs_config\\"
16943 Copyright (C) 2012 Free Software Foundation, Inc.
16944 This config.status script is free software; the Free Software Foundation
16945 gives unlimited permission to copy, distribute and modify it."
16950 test -n "\$AWK" || AWK=awk
16953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16954 # The default lists apply if the user does not specify any file.
16960 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16961 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16965 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16977 # Handling of the options.
16978 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16980 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16981 $as_echo "$ac_cs_version"; exit ;;
16982 --config | --confi | --conf | --con | --co | --c )
16983 $as_echo "$ac_cs_config"; exit ;;
16984 --debug | --debu | --deb | --de | --d | -d )
16986 --file | --fil | --fi | --f )
16989 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16990 '') as_fn_error $? "missing file argument" ;;
16992 as_fn_append CONFIG_FILES " '$ac_optarg'"
16993 ac_need_defaults=false;;
16994 --header | --heade | --head | --hea )
16997 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16999 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17000 ac_need_defaults=false;;
17002 # Conflict between --help and --header
17003 as_fn_error $? "ambiguous option: \`$1'
17004 Try \`$0 --help' for more information.";;
17005 --help | --hel | -h )
17006 $as_echo "$ac_cs_usage"; exit ;;
17007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17008 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17011 # This is an error.
17012 -*) as_fn_error $? "unrecognized option: \`$1'
17013 Try \`$0 --help' for more information." ;;
17015 *) as_fn_append ac_config_targets " $1"
17016 ac_need_defaults=false ;;
17022 ac_configure_extra_args=
17024 if $ac_cs_silent; then
17026 ac_configure_extra_args="$ac_configure_extra_args --silent"
17030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17031 if \$ac_cs_recheck; then
17032 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17034 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17035 CONFIG_SHELL='$SHELL'
17036 export CONFIG_SHELL
17041 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17045 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17046 ## Running $as_me. ##
17052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17056 wine_fn_output_makefile ()
17058 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17059 $ALL_MAKEFILE_DEPENDS
17061 as_fn_error $? "could not create Makefile" "$LINENO" 5
17066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17068 # Handling of arguments.
17069 for ac_config_target in $ac_config_targets
17071 case $ac_config_target in
17072 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
17073 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
17074 "dlls/shell32/AUTHORS") CONFIG_LINKS="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17075 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17076 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17077 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17078 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17079 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17080 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17081 "tools/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17082 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
17083 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17084 "dlls/gdi32/dibdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17085 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17086 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17087 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17088 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
17089 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17090 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17091 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
17092 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
17093 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17094 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17095 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17096 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
17097 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17099 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17104 # If the user did not use the arguments to specify the items to instantiate,
17105 # then the envvar interface is used. Set only those that are not.
17106 # We use the long form for the default assignment because of an extremely
17107 # bizarre bug on SunOS 4.1.3.
17108 if $ac_need_defaults; then
17109 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17110 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17111 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
17112 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17115 # Have a temporary directory for convenience. Make it in the build tree
17116 # simply because there is no reason against having it here, and in addition,
17117 # creating and moving files from /tmp can sometimes cause problems.
17118 # Hook for its removal unless debugging.
17119 # Note that there is a small window in which the directory will not be cleaned:
17120 # after its creation but before its name has been assigned to `$tmp'.
17124 trap 'exit_status=$?
17125 : "${ac_tmp:=$tmp}"
17126 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17128 trap 'as_fn_exit 1' 1 2 13 15
17130 # Create a (secure) tmp directory for tmp files.
17133 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17137 tmp=./conf$$-$RANDOM
17138 (umask 077 && mkdir "$tmp")
17139 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17142 # Set up the scripts for CONFIG_FILES section.
17143 # No need to generate them if there are no CONFIG_FILES.
17144 # This happens for instance with `./config.status config.h'.
17145 if test -n "$CONFIG_FILES"; then
17147 if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17148 ac_cs_awk_getline=:
17149 ac_cs_awk_pipe_init=
17150 ac_cs_awk_read_file='
17151 while ((getline aline < (F[key])) > 0)
17154 ac_cs_awk_pipe_fini=
17156 ac_cs_awk_getline=false
17157 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17158 ac_cs_awk_read_file='
17160 print "cat " F[key] " &&"
17161 '$ac_cs_awk_pipe_init
17162 # The final `:' finishes the AND list.
17163 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17165 ac_cr=`echo X | tr X '\015'`
17166 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17167 # But we know of no other shell where ac_cr would be empty at this
17168 # point, so we can use a bashism as a fallback.
17169 if test "x$ac_cr" = x; then
17170 eval ac_cr=\$\'\\r\'
17172 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17173 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17176 ac_cs_awk_cr=$ac_cr
17179 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17182 # Create commands to substitute file output variables.
17184 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17185 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17186 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17189 } >conf$$files.sh &&
17190 . ./conf$$files.sh ||
17191 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17192 rm -f conf$$files.sh
17195 echo "cat >conf$$subs.awk <<_ACEOF" &&
17196 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17198 } >conf$$subs.sh ||
17199 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17200 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17202 for ac_last_try in false false false false false :; do
17203 . ./conf$$subs.sh ||
17204 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17206 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17207 if test $ac_delim_n = $ac_delim_num; then
17209 elif $ac_last_try; then
17210 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17212 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17215 rm -f conf$$subs.sh
17217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17218 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17222 s/^/S["/; s/!.*/"]=/
17232 s/\(.\{148\}\)..*/\1/
17234 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17239 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17246 s/\(.\{148\}\)..*/\1/
17248 s/["\\]/\\&/g; s/^/"/; s/$/"/
17252 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17257 ' <conf$$subs.awk | sed '
17262 ' >>$CONFIG_STATUS || ac_write_fail=1
17263 rm -f conf$$subs.awk
17264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17266 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17267 for (key in S) S_is_set[key] = 1
17269 \$ac_cs_awk_pipe_init
17273 nfields = split(line, field, "@")
17275 len = length(field[1])
17276 for (i = 2; i < nfields; i++) {
17278 keylen = length(key)
17279 if (S_is_set[key]) {
17281 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17282 len += length(value) + length(field[++i])
17287 if (nfields == 3 && !substed) {
17289 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17290 \$ac_cs_awk_read_file
17296 \$ac_cs_awk_pipe_fini
17299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17300 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17301 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17304 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17305 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17308 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17309 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17310 # trailing colons and then remove the whole line if VPATH becomes empty
17311 # (actually we leave an empty line to preserve line numbers).
17312 if test "x$srcdir" = x.; then
17313 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17331 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17332 fi # test -n "$CONFIG_FILES"
17334 # Set up the scripts for CONFIG_HEADERS section.
17335 # No need to generate them if there are no CONFIG_HEADERS.
17336 # This happens for instance with `./config.status Makefile'.
17337 if test -n "$CONFIG_HEADERS"; then
17338 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17342 # Transform confdefs.h into an awk script `defines.awk', embedded as
17343 # here-document in config.status, that substitutes the proper values into
17344 # config.h.in to produce config.h.
17346 # Create a delimiter string that does not exist in confdefs.h, to ease
17347 # handling of long lines.
17349 for ac_last_try in false false :; do
17350 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17351 if test -z "$ac_tt"; then
17353 elif $ac_last_try; then
17354 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17356 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17360 # For the awk script, D is an array of macro values keyed by name,
17361 # likewise P contains macro parameters if any. Preserve backslash
17362 # newline sequences.
17364 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17366 s/.\{148\}/&'"$ac_delim"'/g
17369 s/^[ ]*#[ ]*define[ ][ ]*/ /
17376 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17378 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17382 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17383 D["\1"]=" \3\\\\\\n"\\/p
17385 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17390 s/.\{148\}/&'"$ac_delim"'/g
17395 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17398 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17400 ' <confdefs.h | sed '
17401 s/'"$ac_delim"'/"\\\
17402 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17404 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17405 for (key in D) D_is_set[key] = 1
17408 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17410 split(line, arg, " ")
17411 if (arg[1] == "#") {
17415 defundef = substr(arg[1], 2)
17418 split(mac1, mac2, "(") #)
17420 prefix = substr(line, 1, index(line, defundef) - 1)
17421 if (D_is_set[macro]) {
17422 # Preserve the white space surrounding the "#".
17423 print prefix "define", macro P[macro] D[macro]
17426 # Replace #undef with comments. This is necessary, for example,
17427 # in the case of _POSIX_SOURCE, which is predefined and required
17428 # on some systems where configure will not decide to define it.
17429 if (defundef == "undef") {
17430 print "/*", prefix defundef, macro, "*/"
17438 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17439 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17440 fi # test -n "$CONFIG_HEADERS"
17443 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17448 :[FHLC]) ac_mode=$ac_tag; continue;;
17450 case $ac_mode$ac_tag in
17452 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17453 :[FH]-) ac_tag=-:-;;
17454 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17471 -) ac_f="$ac_tmp/stdin";;
17472 *) # Look for the file first in the build tree, then in the source tree
17473 # (if the path is not absolute). The absolute path cannot be DOS-style,
17474 # because $ac_f cannot contain `:'.
17478 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17480 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17482 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17483 as_fn_append ac_file_inputs " '$ac_f'"
17486 # Let's still pretend it is `configure' which instantiates (i.e., don't
17487 # use $as_me), people would be surprised to read:
17488 # /* config.h. Generated by config.status. */
17489 configure_input='Generated from '`
17490 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17492 if test x"$ac_file" != x-; then
17493 configure_input="$ac_file. $configure_input"
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17495 $as_echo "$as_me: creating $ac_file" >&6;}
17497 # Neutralize special characters interpreted by sed in replacement strings.
17498 case $configure_input in #(
17499 *\&* | *\|* | *\\* )
17500 ac_sed_conf_input=`$as_echo "$configure_input" |
17501 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17502 *) ac_sed_conf_input=$configure_input;;
17506 *:-:* | *:-) cat >"$ac_tmp/stdin" \
17507 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17512 ac_dir=`$as_dirname -- "$ac_file" ||
17513 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17514 X"$ac_file" : 'X\(//\)[^/]' \| \
17515 X"$ac_file" : 'X\(//\)$' \| \
17516 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17517 $as_echo X"$ac_file" |
17518 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17522 /^X\(\/\/\)[^/].*/{
17535 as_dir="$ac_dir"; as_fn_mkdir_p
17539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17541 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17542 # A ".." for each directory in $ac_dir_suffix.
17543 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17544 case $ac_top_builddir_sub in
17545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17549 ac_abs_top_builddir=$ac_pwd
17550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17551 # for backward compatibility:
17552 ac_top_builddir=$ac_top_build_prefix
17555 .) # We are building in place.
17557 ac_top_srcdir=$ac_top_builddir_sub
17558 ac_abs_top_srcdir=$ac_pwd ;;
17559 [\\/]* | ?:[\\/]* ) # Absolute name.
17560 ac_srcdir=$srcdir$ac_dir_suffix;
17561 ac_top_srcdir=$srcdir
17562 ac_abs_top_srcdir=$srcdir ;;
17563 *) # Relative name.
17564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17565 ac_top_srcdir=$ac_top_build_prefix$srcdir
17566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17578 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17579 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17584 # If the template does not know about datarootdir, expand it.
17585 # FIXME: This hack should be removed a few years after 2.60.
17586 ac_datarootdir_hack=; ac_datarootdir_seen=
17597 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17598 *datarootdir*) ac_datarootdir_seen=yes;;
17599 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17601 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17604 ac_datarootdir_hack='
17605 s&@datadir@&$datadir&g
17606 s&@docdir@&$docdir&g
17607 s&@infodir@&$infodir&g
17608 s&@localedir@&$localedir&g
17609 s&@mandir@&$mandir&g
17610 s&\\\${datarootdir}&$datarootdir&g' ;;
17614 # Neutralize VPATH when `$srcdir' = `.'.
17615 # Shell code in configure.ac might set extrasub.
17616 # FIXME: do we really want to maintain this feature?
17617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17618 ac_sed_extra="$ac_vpsub
17621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17624 s|@configure_input@|$ac_sed_conf_input|;t t
17625 s&@top_builddir@&$ac_top_builddir_sub&;t t
17626 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17627 s&@srcdir@&$ac_srcdir&;t t
17628 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17629 s&@top_srcdir@&$ac_top_srcdir&;t t
17630 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17631 s&@builddir@&$ac_builddir&;t t
17632 s&@abs_builddir@&$ac_abs_builddir&;t t
17633 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17634 s&@INSTALL@&$ac_INSTALL&;t t
17635 $ac_datarootdir_hack
17637 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17638 if $ac_cs_awk_getline; then
17639 $AWK -f "$ac_tmp/subs.awk"
17641 $AWK -f "$ac_tmp/subs.awk" | $SHELL
17643 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17645 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17646 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17647 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17648 "$ac_tmp/out"`; test -z "$ac_out"; } &&
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17650 which seems to be undefined. Please make sure it is defined" >&5
17651 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17652 which seems to be undefined. Please make sure it is defined" >&2;}
17654 rm -f "$ac_tmp/stdin"
17656 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17657 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17659 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17665 if test x"$ac_file" != x-; then
17667 $as_echo "/* $configure_input */" \
17668 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17669 } >"$ac_tmp/config.h" \
17670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17671 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17673 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17676 mv "$ac_tmp/config.h" "$ac_file" \
17677 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17680 $as_echo "/* $configure_input */" \
17681 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17682 || as_fn_error $? "could not create -" "$LINENO" 5
17690 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
17693 # Prefer the file from the source tree if names are identical.
17694 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17695 ac_source=$srcdir/$ac_source
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17699 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17701 if test ! -r "$ac_source"; then
17702 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17706 # Try a relative symlink, then a hard link, then a copy.
17708 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17709 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17711 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17712 ln "$ac_source" "$ac_file" 2>/dev/null ||
17713 cp -p "$ac_source" "$ac_file" ||
17714 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17717 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17718 $as_echo "$as_me: executing $ac_file commands" >&6;}
17723 case $ac_file$ac_mode in
17724 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17725 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17726 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17727 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17728 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17729 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17730 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17731 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17732 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17733 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17734 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17735 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17736 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17737 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17738 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17739 "Makefile":C) wine_fn_output_makefile Makefile ;;
17747 ac_clean_files=$ac_clean_files_save
17749 test $ac_write_fail = 0 ||
17750 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17753 # configure is writing to config.log, and then calls config.status.
17754 # config.status does its own redirection, appending to config.log.
17755 # Unfortunately, on DOS this fails, as config.log is still kept open
17756 # by configure, so config.status won't be able to write to it; its
17757 # output is simply discarded. So we exec the FD to /dev/null,
17758 # effectively closing config.log, so it can be properly (re)opened and
17759 # appended to by config.status. When coming back to configure, we
17760 # need to make the FD available again.
17761 if test "$no_create" != yes; then
17763 ac_config_status_args=
17764 test "$silent" = yes &&
17765 ac_config_status_args="$ac_config_status_args --quiet"
17767 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17769 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17770 # would make configure fail if this is the last instruction.
17771 $ac_cs_success || as_fn_exit 1
17773 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17775 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17779 if test "$no_create" = "yes"
17785 if test "x$wine_notices != "x; then
17788 for msg in $wine_notices; do
17790 if test -n "$msg"; then
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17792 $as_echo "$as_me: $msg" >&6;}
17797 for msg in $wine_warnings; do
17799 if test -n "$msg"; then
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17802 $as_echo "$as_me: WARNING: $msg" >&2;}
17808 $as_me: Finished. Do '${ac_make}' to compile Wine.