d3d11: Support D3D11_FEATURE_D3D10_X_HARDWARE_OPTIONS in ID3D11Device CheckFeatureSup...
[wine.git] / configure
blob4e1a980486cc58b7591b0b27d49d433c36c12906
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.16.
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 :
20 emulate sh
21 NULLCMD=:
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+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
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
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
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.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
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
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
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 || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
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.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
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
158 as_fn_exit 255
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 :
164 emulate sh
165 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
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; }
185 exitcode=0
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 :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || 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 :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
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 :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
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
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
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.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
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
259 exit 255
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."
268 else
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."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
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 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
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
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
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 :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
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.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
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
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
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. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
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).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
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
525 as_ln_s='ln -s'
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 ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
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"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
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
561 exec 6>&1
563 # Name of the host.
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`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='1.9.16'
584 PACKAGE_STRING='Wine 1.9.16'
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="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_console_l2_1_0
878 enable_api_ms_win_core_datetime_l1_1_0
879 enable_api_ms_win_core_datetime_l1_1_1
880 enable_api_ms_win_core_debug_l1_1_0
881 enable_api_ms_win_core_debug_l1_1_1
882 enable_api_ms_win_core_delayload_l1_1_1
883 enable_api_ms_win_core_errorhandling_l1_1_0
884 enable_api_ms_win_core_errorhandling_l1_1_1
885 enable_api_ms_win_core_errorhandling_l1_1_2
886 enable_api_ms_win_core_fibers_l1_1_0
887 enable_api_ms_win_core_fibers_l1_1_1
888 enable_api_ms_win_core_file_l1_1_0
889 enable_api_ms_win_core_file_l1_2_0
890 enable_api_ms_win_core_file_l1_2_1
891 enable_api_ms_win_core_file_l2_1_0
892 enable_api_ms_win_core_file_l2_1_1
893 enable_api_ms_win_core_handle_l1_1_0
894 enable_api_ms_win_core_heap_l1_1_0
895 enable_api_ms_win_core_heap_l1_2_0
896 enable_api_ms_win_core_heap_obsolete_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_1_0
898 enable_api_ms_win_core_interlocked_l1_2_0
899 enable_api_ms_win_core_io_l1_1_1
900 enable_api_ms_win_core_kernel32_legacy_l1_1_0
901 enable_api_ms_win_core_kernel32_legacy_l1_1_1
902 enable_api_ms_win_core_libraryloader_l1_1_0
903 enable_api_ms_win_core_libraryloader_l1_1_1
904 enable_api_ms_win_core_libraryloader_l1_2_0
905 enable_api_ms_win_core_localization_l1_1_0
906 enable_api_ms_win_core_localization_l1_2_0
907 enable_api_ms_win_core_localization_l1_2_1
908 enable_api_ms_win_core_localization_obsolete_l1_1_0
909 enable_api_ms_win_core_localregistry_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_0
911 enable_api_ms_win_core_memory_l1_1_1
912 enable_api_ms_win_core_memory_l1_1_2
913 enable_api_ms_win_core_misc_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_1_0
915 enable_api_ms_win_core_namedpipe_l1_2_0
916 enable_api_ms_win_core_path_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_1_0
918 enable_api_ms_win_core_processenvironment_l1_2_0
919 enable_api_ms_win_core_processthreads_l1_1_0
920 enable_api_ms_win_core_processthreads_l1_1_1
921 enable_api_ms_win_core_processthreads_l1_1_2
922 enable_api_ms_win_core_profile_l1_1_0
923 enable_api_ms_win_core_psapi_l1_1_0
924 enable_api_ms_win_core_registry_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_1_0
926 enable_api_ms_win_core_rtlsupport_l1_2_0
927 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
928 enable_api_ms_win_core_string_l1_1_0
929 enable_api_ms_win_core_string_l2_1_0
930 enable_api_ms_win_core_synch_l1_1_0
931 enable_api_ms_win_core_synch_l1_2_0
932 enable_api_ms_win_core_sysinfo_l1_1_0
933 enable_api_ms_win_core_sysinfo_l1_2_0
934 enable_api_ms_win_core_sysinfo_l1_2_1
935 enable_api_ms_win_core_threadpool_l1_2_0
936 enable_api_ms_win_core_threadpool_legacy_l1_1_0
937 enable_api_ms_win_core_timezone_l1_1_0
938 enable_api_ms_win_core_url_l1_1_0
939 enable_api_ms_win_core_util_l1_1_0
940 enable_api_ms_win_core_version_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_0
942 enable_api_ms_win_core_winrt_error_l1_1_1
943 enable_api_ms_win_core_winrt_l1_1_0
944 enable_api_ms_win_core_winrt_registration_l1_1_0
945 enable_api_ms_win_core_winrt_string_l1_1_0
946 enable_api_ms_win_core_wow64_l1_1_0
947 enable_api_ms_win_core_xstate_l2_1_0
948 enable_api_ms_win_crt_conio_l1_1_0
949 enable_api_ms_win_crt_convert_l1_1_0
950 enable_api_ms_win_crt_environment_l1_1_0
951 enable_api_ms_win_crt_filesystem_l1_1_0
952 enable_api_ms_win_crt_heap_l1_1_0
953 enable_api_ms_win_crt_locale_l1_1_0
954 enable_api_ms_win_crt_math_l1_1_0
955 enable_api_ms_win_crt_multibyte_l1_1_0
956 enable_api_ms_win_crt_private_l1_1_0
957 enable_api_ms_win_crt_process_l1_1_0
958 enable_api_ms_win_crt_runtime_l1_1_0
959 enable_api_ms_win_crt_stdio_l1_1_0
960 enable_api_ms_win_crt_string_l1_1_0
961 enable_api_ms_win_crt_time_l1_1_0
962 enable_api_ms_win_crt_utility_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l1_1_0
964 enable_api_ms_win_downlevel_advapi32_l2_1_0
965 enable_api_ms_win_downlevel_normaliz_l1_1_0
966 enable_api_ms_win_downlevel_ole32_l1_1_0
967 enable_api_ms_win_downlevel_shell32_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l1_1_0
969 enable_api_ms_win_downlevel_shlwapi_l2_1_0
970 enable_api_ms_win_downlevel_user32_l1_1_0
971 enable_api_ms_win_downlevel_version_l1_1_0
972 enable_api_ms_win_eventing_classicprovider_l1_1_0
973 enable_api_ms_win_eventing_provider_l1_1_0
974 enable_api_ms_win_ntuser_dc_access_l1_1_0
975 enable_api_ms_win_security_base_l1_1_0
976 enable_api_ms_win_security_base_l1_2_0
977 enable_api_ms_win_security_lsalookup_l1_1_0
978 enable_api_ms_win_security_lsalookup_l1_1_1
979 enable_api_ms_win_security_sddl_l1_1_0
980 enable_api_ms_win_service_core_l1_1_1
981 enable_api_ms_win_service_management_l1_1_0
982 enable_api_ms_win_service_winsvc_l1_2_0
983 enable_apphelp
984 enable_appwiz_cpl
985 enable_atl
986 enable_atl100
987 enable_atl110
988 enable_atl80
989 enable_atl90
990 enable_authz
991 enable_avicap32
992 enable_avifil32
993 enable_avrt
994 enable_bcrypt
995 enable_bluetoothapis
996 enable_browseui
997 enable_bthprops_cpl
998 enable_cabinet
999 enable_capi2032
1000 enable_cards
1001 enable_cfgmgr32
1002 enable_clusapi
1003 enable_combase
1004 enable_comcat
1005 enable_comctl32
1006 enable_comdlg32
1007 enable_compstui
1008 enable_comsvcs
1009 enable_concrt140
1010 enable_connect
1011 enable_credui
1012 enable_crtdll
1013 enable_crypt32
1014 enable_cryptdlg
1015 enable_cryptdll
1016 enable_cryptext
1017 enable_cryptnet
1018 enable_cryptui
1019 enable_ctapi32
1020 enable_ctl3d32
1021 enable_d2d1
1022 enable_d3d10
1023 enable_d3d10_1
1024 enable_d3d10core
1025 enable_d3d11
1026 enable_d3d8
1027 enable_d3d9
1028 enable_d3dcompiler_33
1029 enable_d3dcompiler_34
1030 enable_d3dcompiler_35
1031 enable_d3dcompiler_36
1032 enable_d3dcompiler_37
1033 enable_d3dcompiler_38
1034 enable_d3dcompiler_39
1035 enable_d3dcompiler_40
1036 enable_d3dcompiler_41
1037 enable_d3dcompiler_42
1038 enable_d3dcompiler_43
1039 enable_d3dcompiler_46
1040 enable_d3dcompiler_47
1041 enable_d3dim
1042 enable_d3drm
1043 enable_d3dx10_33
1044 enable_d3dx10_34
1045 enable_d3dx10_35
1046 enable_d3dx10_36
1047 enable_d3dx10_37
1048 enable_d3dx10_38
1049 enable_d3dx10_39
1050 enable_d3dx10_40
1051 enable_d3dx10_41
1052 enable_d3dx10_42
1053 enable_d3dx10_43
1054 enable_d3dx11_42
1055 enable_d3dx11_43
1056 enable_d3dx9_24
1057 enable_d3dx9_25
1058 enable_d3dx9_26
1059 enable_d3dx9_27
1060 enable_d3dx9_28
1061 enable_d3dx9_29
1062 enable_d3dx9_30
1063 enable_d3dx9_31
1064 enable_d3dx9_32
1065 enable_d3dx9_33
1066 enable_d3dx9_34
1067 enable_d3dx9_35
1068 enable_d3dx9_36
1069 enable_d3dx9_37
1070 enable_d3dx9_38
1071 enable_d3dx9_39
1072 enable_d3dx9_40
1073 enable_d3dx9_41
1074 enable_d3dx9_42
1075 enable_d3dx9_43
1076 enable_d3dxof
1077 enable_davclnt
1078 enable_dbgeng
1079 enable_dbghelp
1080 enable_dciman32
1081 enable_ddraw
1082 enable_ddrawex
1083 enable_devenum
1084 enable_dhcpcsvc
1085 enable_difxapi
1086 enable_dinput
1087 enable_dinput8
1088 enable_dispex
1089 enable_dmband
1090 enable_dmcompos
1091 enable_dmime
1092 enable_dmloader
1093 enable_dmscript
1094 enable_dmstyle
1095 enable_dmsynth
1096 enable_dmusic
1097 enable_dmusic32
1098 enable_dnsapi
1099 enable_dplay
1100 enable_dplayx
1101 enable_dpnaddr
1102 enable_dpnet
1103 enable_dpnhpast
1104 enable_dpnlobby
1105 enable_dpvoice
1106 enable_dpwsockx
1107 enable_drmclien
1108 enable_dsound
1109 enable_dssenh
1110 enable_dswave
1111 enable_dwmapi
1112 enable_dwrite
1113 enable_dxdiagn
1114 enable_dxgi
1115 enable_dxva2
1116 enable_esent
1117 enable_evr
1118 enable_explorerframe
1119 enable_ext_ms_win_gdi_devcaps_l1_1_0
1120 enable_faultrep
1121 enable_fltlib
1122 enable_fltmgr_sys
1123 enable_fntcache
1124 enable_fontsub
1125 enable_fusion
1126 enable_fwpuclnt
1127 enable_gameux
1128 enable_gdi32
1129 enable_gdiplus
1130 enable_glu32
1131 enable_gphoto2_ds
1132 enable_gpkcsp
1133 enable_hal
1134 enable_hhctrl_ocx
1135 enable_hid
1136 enable_hidclass_sys
1137 enable_hlink
1138 enable_hnetcfg
1139 enable_httpapi
1140 enable_iccvid
1141 enable_icmp
1142 enable_ieframe
1143 enable_imaadp32_acm
1144 enable_imagehlp
1145 enable_imm32
1146 enable_inetcomm
1147 enable_inetcpl_cpl
1148 enable_inetmib1
1149 enable_infosoft
1150 enable_initpki
1151 enable_inkobj
1152 enable_inseng
1153 enable_iphlpapi
1154 enable_irprops_cpl
1155 enable_itircl
1156 enable_itss
1157 enable_joy_cpl
1158 enable_jscript
1159 enable_jsproxy
1160 enable_kernel32
1161 enable_kernelbase
1162 enable_ksuser
1163 enable_ktmw32
1164 enable_loadperf
1165 enable_localspl
1166 enable_localui
1167 enable_lz32
1168 enable_mapi32
1169 enable_mapistub
1170 enable_mciavi32
1171 enable_mcicda
1172 enable_mciqtz32
1173 enable_mciseq
1174 enable_mciwave
1175 enable_mf
1176 enable_mfplat
1177 enable_mfreadwrite
1178 enable_mgmtapi
1179 enable_midimap
1180 enable_mlang
1181 enable_mmcndmgr
1182 enable_mmdevapi
1183 enable_mountmgr_sys
1184 enable_mpr
1185 enable_mprapi
1186 enable_msacm32_drv
1187 enable_msacm32
1188 enable_msadp32_acm
1189 enable_msasn1
1190 enable_mscat32
1191 enable_mscms
1192 enable_mscoree
1193 enable_msctf
1194 enable_msctfp
1195 enable_msdaps
1196 enable_msdelta
1197 enable_msdmo
1198 enable_msdrm
1199 enable_msftedit
1200 enable_msg711_acm
1201 enable_msgsm32_acm
1202 enable_mshtml_tlb
1203 enable_mshtml
1204 enable_msi
1205 enable_msident
1206 enable_msimg32
1207 enable_msimsg
1208 enable_msimtf
1209 enable_msisip
1210 enable_msisys_ocx
1211 enable_msls31
1212 enable_msnet32
1213 enable_mspatcha
1214 enable_msrle32
1215 enable_msscript_ocx
1216 enable_mssign32
1217 enable_mssip32
1218 enable_mstask
1219 enable_msvcirt
1220 enable_msvcm80
1221 enable_msvcm90
1222 enable_msvcp100
1223 enable_msvcp110
1224 enable_msvcp120
1225 enable_msvcp120_app
1226 enable_msvcp140
1227 enable_msvcp60
1228 enable_msvcp70
1229 enable_msvcp71
1230 enable_msvcp80
1231 enable_msvcp90
1232 enable_msvcr100
1233 enable_msvcr110
1234 enable_msvcr120
1235 enable_msvcr120_app
1236 enable_msvcr70
1237 enable_msvcr71
1238 enable_msvcr80
1239 enable_msvcr90
1240 enable_msvcrt
1241 enable_msvcrt20
1242 enable_msvcrt40
1243 enable_msvcrtd
1244 enable_msvfw32
1245 enable_msvidc32
1246 enable_mswsock
1247 enable_msxml
1248 enable_msxml2
1249 enable_msxml3
1250 enable_msxml4
1251 enable_msxml6
1252 enable_ncrypt
1253 enable_nddeapi
1254 enable_ndis_sys
1255 enable_netapi32
1256 enable_netcfgx
1257 enable_netprofm
1258 enable_newdev
1259 enable_normaliz
1260 enable_npmshtml
1261 enable_npptools
1262 enable_ntdll
1263 enable_ntdsapi
1264 enable_ntoskrnl_exe
1265 enable_ntprint
1266 enable_objsel
1267 enable_odbc32
1268 enable_odbccp32
1269 enable_odbccu32
1270 enable_ole32
1271 enable_oleacc
1272 enable_oleaut32
1273 enable_olecli32
1274 enable_oledb32
1275 enable_oledlg
1276 enable_olepro32
1277 enable_olesvr32
1278 enable_olethk32
1279 enable_openal32
1280 enable_opencl
1281 enable_opengl32
1282 enable_packager
1283 enable_pdh
1284 enable_photometadatahandler
1285 enable_pidgen
1286 enable_powrprof
1287 enable_printui
1288 enable_prntvpt
1289 enable_propsys
1290 enable_psapi
1291 enable_pstorec
1292 enable_qcap
1293 enable_qedit
1294 enable_qmgr
1295 enable_qmgrprxy
1296 enable_quartz
1297 enable_query
1298 enable_rasapi32
1299 enable_rasdlg
1300 enable_regapi
1301 enable_resutils
1302 enable_riched20
1303 enable_riched32
1304 enable_rpcrt4
1305 enable_rsabase
1306 enable_rsaenh
1307 enable_rstrtmgr
1308 enable_rtutils
1309 enable_samlib
1310 enable_sane_ds
1311 enable_scarddlg
1312 enable_sccbase
1313 enable_schannel
1314 enable_schedsvc
1315 enable_scrrun
1316 enable_scsiport_sys
1317 enable_secur32
1318 enable_security
1319 enable_sensapi
1320 enable_serialui
1321 enable_setupapi
1322 enable_sfc
1323 enable_sfc_os
1324 enable_shdoclc
1325 enable_shdocvw
1326 enable_shell32
1327 enable_shfolder
1328 enable_shlwapi
1329 enable_slbcsp
1330 enable_slc
1331 enable_snmpapi
1332 enable_softpub
1333 enable_spoolss
1334 enable_sspicli
1335 enable_stdole2_tlb
1336 enable_stdole32_tlb
1337 enable_sti
1338 enable_svrapi
1339 enable_sxs
1340 enable_t2embed
1341 enable_tapi32
1342 enable_taskschd
1343 enable_tdi_sys
1344 enable_traffic
1345 enable_twain_32
1346 enable_ucrtbase
1347 enable_unicows
1348 enable_updspapi
1349 enable_url
1350 enable_urlmon
1351 enable_usbd_sys
1352 enable_user32
1353 enable_userenv
1354 enable_usp10
1355 enable_uxtheme
1356 enable_vbscript
1357 enable_vcomp
1358 enable_vcomp100
1359 enable_vcomp110
1360 enable_vcomp120
1361 enable_vcomp140
1362 enable_vcomp90
1363 enable_vcruntime140
1364 enable_vdmdbg
1365 enable_version
1366 enable_vssapi
1367 enable_wbemdisp
1368 enable_wbemprox
1369 enable_webservices
1370 enable_wer
1371 enable_wevtapi
1372 enable_wiaservc
1373 enable_wimgapi
1374 enable_windowscodecs
1375 enable_windowscodecsext
1376 enable_winealsa_drv
1377 enable_winecoreaudio_drv
1378 enable_wined3d
1379 enable_winegstreamer
1380 enable_winejoystick_drv
1381 enable_winemac_drv
1382 enable_winemapi
1383 enable_winemp3_acm
1384 enable_wineoss_drv
1385 enable_wineps_drv
1386 enable_winepulse_drv
1387 enable_wineqtdecoder
1388 enable_winex11_drv
1389 enable_wing32
1390 enable_winhttp
1391 enable_wininet
1392 enable_winmm
1393 enable_winnls32
1394 enable_winscard
1395 enable_winspool_drv
1396 enable_winsta
1397 enable_wintab32
1398 enable_wintrust
1399 enable_wlanapi
1400 enable_wldap32
1401 enable_wmasf
1402 enable_wmi
1403 enable_wmiutils
1404 enable_wmp
1405 enable_wmvcore
1406 enable_wnaspi32
1407 enable_wpcap
1408 enable_ws2_32
1409 enable_wshom_ocx
1410 enable_wsnmp32
1411 enable_wsock32
1412 enable_wtsapi32
1413 enable_wuapi
1414 enable_wuaueng
1415 enable_x3daudio1_0
1416 enable_x3daudio1_1
1417 enable_x3daudio1_2
1418 enable_x3daudio1_3
1419 enable_x3daudio1_4
1420 enable_x3daudio1_5
1421 enable_x3daudio1_6
1422 enable_x3daudio1_7
1423 enable_xapofx1_1
1424 enable_xapofx1_2
1425 enable_xapofx1_3
1426 enable_xapofx1_4
1427 enable_xapofx1_5
1428 enable_xaudio2_0
1429 enable_xaudio2_1
1430 enable_xaudio2_2
1431 enable_xaudio2_3
1432 enable_xaudio2_4
1433 enable_xaudio2_5
1434 enable_xaudio2_6
1435 enable_xaudio2_7
1436 enable_xaudio2_8
1437 enable_xaudio2_9
1438 enable_xinput1_1
1439 enable_xinput1_2
1440 enable_xinput1_3
1441 enable_xinput1_4
1442 enable_xinput9_1_0
1443 enable_xmllite
1444 enable_xolehlp
1445 enable_xpsprint
1446 enable_xpssvcs
1447 enable_fonts
1448 enable_include
1449 enable_libs_port
1450 enable_libs_wine
1451 enable_libs_wpp
1452 enable_loader
1453 enable_po
1454 enable_arp
1455 enable_aspnet_regiis
1456 enable_attrib
1457 enable_cabarc
1458 enable_cacls
1459 enable_clock
1460 enable_cmd
1461 enable_conhost
1462 enable_control
1463 enable_cscript
1464 enable_dpnsvr
1465 enable_dxdiag
1466 enable_eject
1467 enable_expand
1468 enable_explorer
1469 enable_extrac32
1470 enable_findstr
1471 enable_fsutil
1472 enable_hh
1473 enable_hostname
1474 enable_icacls
1475 enable_icinfo
1476 enable_iexplore
1477 enable_ipconfig
1478 enable_lodctr
1479 enable_mofcomp
1480 enable_mshta
1481 enable_msiexec
1482 enable_net
1483 enable_netsh
1484 enable_netstat
1485 enable_ngen
1486 enable_notepad
1487 enable_oleview
1488 enable_ping
1489 enable_plugplay
1490 enable_presentationfontcache
1491 enable_progman
1492 enable_reg
1493 enable_regasm
1494 enable_regedit
1495 enable_regsvcs
1496 enable_regsvr32
1497 enable_rpcss
1498 enable_rundll32
1499 enable_sc
1500 enable_schtasks
1501 enable_sdbinst
1502 enable_secedit
1503 enable_servicemodelreg
1504 enable_services
1505 enable_shutdown
1506 enable_spoolsv
1507 enable_start
1508 enable_svchost
1509 enable_systeminfo
1510 enable_taskkill
1511 enable_tasklist
1512 enable_taskmgr
1513 enable_termsv
1514 enable_uninstaller
1515 enable_unlodctr
1516 enable_view
1517 enable_wevtutil
1518 enable_wineboot
1519 enable_winebrowser
1520 enable_winecfg
1521 enable_wineconsole
1522 enable_winedbg
1523 enable_winedevice
1524 enable_winefile
1525 enable_winemenubuilder
1526 enable_winemine
1527 enable_winemsibuilder
1528 enable_winepath
1529 enable_winetest
1530 enable_winhlp32
1531 enable_winver
1532 enable_wmic
1533 enable_wmplayer
1534 enable_wordpad
1535 enable_write
1536 enable_wscript
1537 enable_wusa
1538 enable_xcopy
1539 enable_server
1540 enable_tools
1542 ac_precious_vars='build_alias
1543 host_alias
1544 target_alias
1546 CFLAGS
1547 LDFLAGS
1548 LIBS
1549 CPPFLAGS
1551 CXXFLAGS
1554 XMKMF
1555 XML2_CFLAGS
1556 XML2_LIBS
1557 XSLT_CFLAGS
1558 XSLT_LIBS
1559 DBUS_CFLAGS
1560 DBUS_LIBS
1561 HAL_CFLAGS
1562 HAL_LIBS
1563 GNUTLS_CFLAGS
1564 GNUTLS_LIBS
1565 SANE_CFLAGS
1566 SANE_LIBS
1567 GPHOTO2_CFLAGS
1568 GPHOTO2_LIBS
1569 GPHOTO2_PORT_CFLAGS
1570 GPHOTO2_PORT_LIBS
1571 LCMS2_CFLAGS
1572 LCMS2_LIBS
1573 FREETYPE_CFLAGS
1574 FREETYPE_LIBS
1575 PULSE_CFLAGS
1576 PULSE_LIBS
1577 GSTREAMER_CFLAGS
1578 GSTREAMER_LIBS
1579 CAPI20_CFLAGS
1580 CAPI20_LIBS
1581 FONTCONFIG_CFLAGS
1582 FONTCONFIG_LIBS
1583 JPEG_CFLAGS
1584 JPEG_LIBS
1585 PNG_CFLAGS
1586 PNG_LIBS
1587 TIFF_CFLAGS
1588 TIFF_LIBS
1589 MPG123_CFLAGS
1590 MPG123_LIBS
1591 NETAPI_CFLAGS
1592 NETAPI_LIBS'
1595 # Initialize some variables set by options.
1596 ac_init_help=
1597 ac_init_version=false
1598 ac_unrecognized_opts=
1599 ac_unrecognized_sep=
1600 # The variables have the same names as the options, with
1601 # dashes changed to underlines.
1602 cache_file=/dev/null
1603 exec_prefix=NONE
1604 no_create=
1605 no_recursion=
1606 prefix=NONE
1607 program_prefix=NONE
1608 program_suffix=NONE
1609 program_transform_name=s,x,x,
1610 silent=
1611 site=
1612 srcdir=
1613 verbose=
1614 x_includes=NONE
1615 x_libraries=NONE
1617 # Installation directory options.
1618 # These are left unexpanded so users can "make install exec_prefix=/foo"
1619 # and all the variables that are supposed to be based on exec_prefix
1620 # by default will actually change.
1621 # Use braces instead of parens because sh, perl, etc. also accept them.
1622 # (The list follows the same order as the GNU Coding Standards.)
1623 bindir='${exec_prefix}/bin'
1624 sbindir='${exec_prefix}/sbin'
1625 libexecdir='${exec_prefix}/libexec'
1626 datarootdir='${prefix}/share'
1627 datadir='${datarootdir}'
1628 sysconfdir='${prefix}/etc'
1629 sharedstatedir='${prefix}/com'
1630 localstatedir='${prefix}/var'
1631 runstatedir='${localstatedir}/run'
1632 includedir='${prefix}/include'
1633 oldincludedir='/usr/include'
1634 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1635 infodir='${datarootdir}/info'
1636 htmldir='${docdir}'
1637 dvidir='${docdir}'
1638 pdfdir='${docdir}'
1639 psdir='${docdir}'
1640 libdir='${exec_prefix}/lib'
1641 localedir='${datarootdir}/locale'
1642 mandir='${datarootdir}/man'
1644 ac_prev=
1645 ac_dashdash=
1646 for ac_option
1648 # If the previous option needs an argument, assign it.
1649 if test -n "$ac_prev"; then
1650 eval $ac_prev=\$ac_option
1651 ac_prev=
1652 continue
1655 case $ac_option in
1656 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1657 *=) ac_optarg= ;;
1658 *) ac_optarg=yes ;;
1659 esac
1661 # Accept the important Cygnus configure options, so we can diagnose typos.
1663 case $ac_dashdash$ac_option in
1665 ac_dashdash=yes ;;
1667 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1668 ac_prev=bindir ;;
1669 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1670 bindir=$ac_optarg ;;
1672 -build | --build | --buil | --bui | --bu)
1673 ac_prev=build_alias ;;
1674 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1675 build_alias=$ac_optarg ;;
1677 -cache-file | --cache-file | --cache-fil | --cache-fi \
1678 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1679 ac_prev=cache_file ;;
1680 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1681 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1682 cache_file=$ac_optarg ;;
1684 --config-cache | -C)
1685 cache_file=config.cache ;;
1687 -datadir | --datadir | --datadi | --datad)
1688 ac_prev=datadir ;;
1689 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1690 datadir=$ac_optarg ;;
1692 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1693 | --dataroo | --dataro | --datar)
1694 ac_prev=datarootdir ;;
1695 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1696 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1697 datarootdir=$ac_optarg ;;
1699 -disable-* | --disable-*)
1700 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1701 # Reject names that are not valid shell variable names.
1702 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1703 as_fn_error $? "invalid feature name: $ac_useropt"
1704 ac_useropt_orig=$ac_useropt
1705 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1706 case $ac_user_opts in
1708 "enable_$ac_useropt"
1709 "*) ;;
1710 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1711 ac_unrecognized_sep=', ';;
1712 esac
1713 eval enable_$ac_useropt=no ;;
1715 -docdir | --docdir | --docdi | --doc | --do)
1716 ac_prev=docdir ;;
1717 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1718 docdir=$ac_optarg ;;
1720 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1721 ac_prev=dvidir ;;
1722 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1723 dvidir=$ac_optarg ;;
1725 -enable-* | --enable-*)
1726 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1727 # Reject names that are not valid shell variable names.
1728 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1729 as_fn_error $? "invalid feature name: $ac_useropt"
1730 ac_useropt_orig=$ac_useropt
1731 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1732 case $ac_user_opts in
1734 "enable_$ac_useropt"
1735 "*) ;;
1736 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1737 ac_unrecognized_sep=', ';;
1738 esac
1739 eval enable_$ac_useropt=\$ac_optarg ;;
1741 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1742 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1743 | --exec | --exe | --ex)
1744 ac_prev=exec_prefix ;;
1745 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1746 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1747 | --exec=* | --exe=* | --ex=*)
1748 exec_prefix=$ac_optarg ;;
1750 -gas | --gas | --ga | --g)
1751 # Obsolete; use --with-gas.
1752 with_gas=yes ;;
1754 -help | --help | --hel | --he | -h)
1755 ac_init_help=long ;;
1756 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1757 ac_init_help=recursive ;;
1758 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1759 ac_init_help=short ;;
1761 -host | --host | --hos | --ho)
1762 ac_prev=host_alias ;;
1763 -host=* | --host=* | --hos=* | --ho=*)
1764 host_alias=$ac_optarg ;;
1766 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1767 ac_prev=htmldir ;;
1768 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1769 | --ht=*)
1770 htmldir=$ac_optarg ;;
1772 -includedir | --includedir | --includedi | --included | --include \
1773 | --includ | --inclu | --incl | --inc)
1774 ac_prev=includedir ;;
1775 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1776 | --includ=* | --inclu=* | --incl=* | --inc=*)
1777 includedir=$ac_optarg ;;
1779 -infodir | --infodir | --infodi | --infod | --info | --inf)
1780 ac_prev=infodir ;;
1781 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1782 infodir=$ac_optarg ;;
1784 -libdir | --libdir | --libdi | --libd)
1785 ac_prev=libdir ;;
1786 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1787 libdir=$ac_optarg ;;
1789 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1790 | --libexe | --libex | --libe)
1791 ac_prev=libexecdir ;;
1792 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1793 | --libexe=* | --libex=* | --libe=*)
1794 libexecdir=$ac_optarg ;;
1796 -localedir | --localedir | --localedi | --localed | --locale)
1797 ac_prev=localedir ;;
1798 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1799 localedir=$ac_optarg ;;
1801 -localstatedir | --localstatedir | --localstatedi | --localstated \
1802 | --localstate | --localstat | --localsta | --localst | --locals)
1803 ac_prev=localstatedir ;;
1804 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1805 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1806 localstatedir=$ac_optarg ;;
1808 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1809 ac_prev=mandir ;;
1810 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1811 mandir=$ac_optarg ;;
1813 -nfp | --nfp | --nf)
1814 # Obsolete; use --without-fp.
1815 with_fp=no ;;
1817 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1818 | --no-cr | --no-c | -n)
1819 no_create=yes ;;
1821 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1822 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1823 no_recursion=yes ;;
1825 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1826 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1827 | --oldin | --oldi | --old | --ol | --o)
1828 ac_prev=oldincludedir ;;
1829 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1830 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1831 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1832 oldincludedir=$ac_optarg ;;
1834 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1835 ac_prev=prefix ;;
1836 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1837 prefix=$ac_optarg ;;
1839 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1840 | --program-pre | --program-pr | --program-p)
1841 ac_prev=program_prefix ;;
1842 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1843 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1844 program_prefix=$ac_optarg ;;
1846 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1847 | --program-suf | --program-su | --program-s)
1848 ac_prev=program_suffix ;;
1849 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1850 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1851 program_suffix=$ac_optarg ;;
1853 -program-transform-name | --program-transform-name \
1854 | --program-transform-nam | --program-transform-na \
1855 | --program-transform-n | --program-transform- \
1856 | --program-transform | --program-transfor \
1857 | --program-transfo | --program-transf \
1858 | --program-trans | --program-tran \
1859 | --progr-tra | --program-tr | --program-t)
1860 ac_prev=program_transform_name ;;
1861 -program-transform-name=* | --program-transform-name=* \
1862 | --program-transform-nam=* | --program-transform-na=* \
1863 | --program-transform-n=* | --program-transform-=* \
1864 | --program-transform=* | --program-transfor=* \
1865 | --program-transfo=* | --program-transf=* \
1866 | --program-trans=* | --program-tran=* \
1867 | --progr-tra=* | --program-tr=* | --program-t=*)
1868 program_transform_name=$ac_optarg ;;
1870 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1871 ac_prev=pdfdir ;;
1872 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1873 pdfdir=$ac_optarg ;;
1875 -psdir | --psdir | --psdi | --psd | --ps)
1876 ac_prev=psdir ;;
1877 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1878 psdir=$ac_optarg ;;
1880 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1881 | -silent | --silent | --silen | --sile | --sil)
1882 silent=yes ;;
1884 -runstatedir | --runstatedir | --runstatedi | --runstated \
1885 | --runstate | --runstat | --runsta | --runst | --runs \
1886 | --run | --ru | --r)
1887 ac_prev=runstatedir ;;
1888 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1889 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1890 | --run=* | --ru=* | --r=*)
1891 runstatedir=$ac_optarg ;;
1893 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1894 ac_prev=sbindir ;;
1895 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1896 | --sbi=* | --sb=*)
1897 sbindir=$ac_optarg ;;
1899 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1900 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1901 | --sharedst | --shareds | --shared | --share | --shar \
1902 | --sha | --sh)
1903 ac_prev=sharedstatedir ;;
1904 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1905 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1906 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1907 | --sha=* | --sh=*)
1908 sharedstatedir=$ac_optarg ;;
1910 -site | --site | --sit)
1911 ac_prev=site ;;
1912 -site=* | --site=* | --sit=*)
1913 site=$ac_optarg ;;
1915 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1916 ac_prev=srcdir ;;
1917 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1918 srcdir=$ac_optarg ;;
1920 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1921 | --syscon | --sysco | --sysc | --sys | --sy)
1922 ac_prev=sysconfdir ;;
1923 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1924 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1925 sysconfdir=$ac_optarg ;;
1927 -target | --target | --targe | --targ | --tar | --ta | --t)
1928 ac_prev=target_alias ;;
1929 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1930 target_alias=$ac_optarg ;;
1932 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1933 verbose=yes ;;
1935 -version | --version | --versio | --versi | --vers | -V)
1936 ac_init_version=: ;;
1938 -with-* | --with-*)
1939 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1940 # Reject names that are not valid shell variable names.
1941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1942 as_fn_error $? "invalid package name: $ac_useropt"
1943 ac_useropt_orig=$ac_useropt
1944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1945 case $ac_user_opts in
1947 "with_$ac_useropt"
1948 "*) ;;
1949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1950 ac_unrecognized_sep=', ';;
1951 esac
1952 eval with_$ac_useropt=\$ac_optarg ;;
1954 -without-* | --without-*)
1955 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1956 # Reject names that are not valid shell variable names.
1957 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1958 as_fn_error $? "invalid package name: $ac_useropt"
1959 ac_useropt_orig=$ac_useropt
1960 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1961 case $ac_user_opts in
1963 "with_$ac_useropt"
1964 "*) ;;
1965 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1966 ac_unrecognized_sep=', ';;
1967 esac
1968 eval with_$ac_useropt=no ;;
1970 --x)
1971 # Obsolete; use --with-x.
1972 with_x=yes ;;
1974 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1975 | --x-incl | --x-inc | --x-in | --x-i)
1976 ac_prev=x_includes ;;
1977 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1978 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1979 x_includes=$ac_optarg ;;
1981 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1982 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1983 ac_prev=x_libraries ;;
1984 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1985 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1986 x_libraries=$ac_optarg ;;
1988 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1989 Try \`$0 --help' for more information"
1992 *=*)
1993 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1994 # Reject names that are not valid shell variable names.
1995 case $ac_envvar in #(
1996 '' | [0-9]* | *[!_$as_cr_alnum]* )
1997 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1998 esac
1999 eval $ac_envvar=\$ac_optarg
2000 export $ac_envvar ;;
2003 # FIXME: should be removed in autoconf 3.0.
2004 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2005 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2006 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2007 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2010 esac
2011 done
2013 if test -n "$ac_prev"; then
2014 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2015 as_fn_error $? "missing argument to $ac_option"
2018 if test -n "$ac_unrecognized_opts"; then
2019 case $enable_option_checking in
2020 no) ;;
2021 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2022 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2023 esac
2026 # Check all directory arguments for consistency.
2027 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2028 datadir sysconfdir sharedstatedir localstatedir includedir \
2029 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2030 libdir localedir mandir runstatedir
2032 eval ac_val=\$$ac_var
2033 # Remove trailing slashes.
2034 case $ac_val in
2035 */ )
2036 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2037 eval $ac_var=\$ac_val;;
2038 esac
2039 # Be sure to have absolute directory names.
2040 case $ac_val in
2041 [\\/$]* | ?:[\\/]* ) continue;;
2042 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2043 esac
2044 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2045 done
2047 # There might be people who depend on the old broken behavior: `$host'
2048 # used to hold the argument of --host etc.
2049 # FIXME: To remove some day.
2050 build=$build_alias
2051 host=$host_alias
2052 target=$target_alias
2054 # FIXME: To remove some day.
2055 if test "x$host_alias" != x; then
2056 if test "x$build_alias" = x; then
2057 cross_compiling=maybe
2058 elif test "x$build_alias" != "x$host_alias"; then
2059 cross_compiling=yes
2063 ac_tool_prefix=
2064 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2066 test "$silent" = yes && exec 6>/dev/null
2069 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2070 ac_ls_di=`ls -di .` &&
2071 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2072 as_fn_error $? "working directory cannot be determined"
2073 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2074 as_fn_error $? "pwd does not report name of working directory"
2077 # Find the source files, if location was not specified.
2078 if test -z "$srcdir"; then
2079 ac_srcdir_defaulted=yes
2080 # Try the directory containing this script, then the parent directory.
2081 ac_confdir=`$as_dirname -- "$as_myself" ||
2082 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2083 X"$as_myself" : 'X\(//\)[^/]' \| \
2084 X"$as_myself" : 'X\(//\)$' \| \
2085 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2086 $as_echo X"$as_myself" |
2087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2088 s//\1/
2091 /^X\(\/\/\)[^/].*/{
2092 s//\1/
2095 /^X\(\/\/\)$/{
2096 s//\1/
2099 /^X\(\/\).*/{
2100 s//\1/
2103 s/.*/./; q'`
2104 srcdir=$ac_confdir
2105 if test ! -r "$srcdir/$ac_unique_file"; then
2106 srcdir=..
2108 else
2109 ac_srcdir_defaulted=no
2111 if test ! -r "$srcdir/$ac_unique_file"; then
2112 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2113 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2115 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2116 ac_abs_confdir=`(
2117 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2118 pwd)`
2119 # When building in place, set srcdir=.
2120 if test "$ac_abs_confdir" = "$ac_pwd"; then
2121 srcdir=.
2123 # Remove unnecessary trailing slashes from srcdir.
2124 # Double slashes in file names in object file debugging info
2125 # mess up M-x gdb in Emacs.
2126 case $srcdir in
2127 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2128 esac
2129 for ac_var in $ac_precious_vars; do
2130 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2131 eval ac_env_${ac_var}_value=\$${ac_var}
2132 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2133 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2134 done
2137 # Report the --help message.
2139 if test "$ac_init_help" = "long"; then
2140 # Omit some internal or obsolete options to make the list less imposing.
2141 # This message is too long to be a string in the A/UX 3.1 sh.
2142 cat <<_ACEOF
2143 \`configure' configures Wine 1.9.16 to adapt to many kinds of systems.
2145 Usage: $0 [OPTION]... [VAR=VALUE]...
2147 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2148 VAR=VALUE. See below for descriptions of some of the useful variables.
2150 Defaults for the options are specified in brackets.
2152 Configuration:
2153 -h, --help display this help and exit
2154 --help=short display options specific to this package
2155 --help=recursive display the short help of all the included packages
2156 -V, --version display version information and exit
2157 -q, --quiet, --silent do not print \`checking ...' messages
2158 --cache-file=FILE cache test results in FILE [disabled]
2159 -C, --config-cache alias for \`--cache-file=config.cache'
2160 -n, --no-create do not create output files
2161 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2163 Installation directories:
2164 --prefix=PREFIX install architecture-independent files in PREFIX
2165 [$ac_default_prefix]
2166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2167 [PREFIX]
2169 By default, \`make install' will install all the files in
2170 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2171 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2172 for instance \`--prefix=\$HOME'.
2174 For better control, use the options below.
2176 Fine tuning of the installation directories:
2177 --bindir=DIR user executables [EPREFIX/bin]
2178 --sbindir=DIR system admin executables [EPREFIX/sbin]
2179 --libexecdir=DIR program executables [EPREFIX/libexec]
2180 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2181 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2182 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2183 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2184 --libdir=DIR object code libraries [EPREFIX/lib]
2185 --includedir=DIR C header files [PREFIX/include]
2186 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2187 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2188 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2189 --infodir=DIR info documentation [DATAROOTDIR/info]
2190 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2191 --mandir=DIR man documentation [DATAROOTDIR/man]
2192 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2193 --htmldir=DIR html documentation [DOCDIR]
2194 --dvidir=DIR dvi documentation [DOCDIR]
2195 --pdfdir=DIR pdf documentation [DOCDIR]
2196 --psdir=DIR ps documentation [DOCDIR]
2197 _ACEOF
2199 cat <<\_ACEOF
2201 X features:
2202 --x-includes=DIR X include files are in DIR
2203 --x-libraries=DIR X library files are in DIR
2205 System types:
2206 --build=BUILD configure for building on BUILD [guessed]
2207 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2208 _ACEOF
2211 if test -n "$ac_init_help"; then
2212 case $ac_init_help in
2213 short | recursive ) echo "Configuration of Wine 1.9.16:";;
2214 esac
2215 cat <<\_ACEOF
2217 Optional Features:
2218 --disable-option-checking ignore unrecognized --enable/--with options
2219 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2220 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2221 --disable-win16 do not include Win16 support
2222 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2223 binaries)
2224 --disable-tests do not build the regression tests
2225 --enable-maintainer-mode
2226 enable maintainer-specific build rules
2227 --disable-largefile omit support for large files
2229 Optional Packages:
2230 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2231 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2232 --without-alsa do not use the Alsa sound support
2233 --without-capi do not use CAPI (ISDN support)
2234 --without-cms do not use CMS (color management support)
2235 --without-coreaudio do not use the CoreAudio sound support
2236 --without-cups do not use CUPS
2237 --without-curses do not use (n)curses
2238 --without-dbus do not use DBus (dynamic device support)
2239 --without-fontconfig do not use fontconfig
2240 --without-freetype do not use the FreeType library
2241 --without-gettext do not use gettext
2242 --with-gettextpo use the GetTextPO library to rebuild po files
2243 --without-gphoto do not use gphoto (Digital Camera support)
2244 --without-glu do not use the GLU library
2245 --without-gnutls do not use GnuTLS (schannel support)
2246 --without-gsm do not use libgsm (GSM 06.10 codec support)
2247 --without-gstreamer do not use GStreamer (codecs support)
2248 --without-hal do not use HAL (dynamic device support)
2249 --without-jpeg do not use JPEG
2250 --without-ldap do not use LDAP
2251 --without-mpg123 do not use the mpg123 library
2252 --without-netapi do not use the Samba NetAPI library
2253 --without-openal do not use OpenAL
2254 --without-opencl do not use OpenCL
2255 --without-opengl do not use OpenGL
2256 --without-osmesa do not use the OSMesa library
2257 --without-oss do not use the OSS sound support
2258 --without-pcap do not use the Packet Capture library
2259 --without-png do not use PNG
2260 --without-pthread do not use the pthread library
2261 --without-pulse do not use PulseAudio sound support
2262 --without-sane do not use SANE (scanner support)
2263 --without-tiff do not use TIFF
2264 --without-v4l do not use v4l1 (v4l support)
2265 --without-xcomposite do not use the Xcomposite extension
2266 --without-xcursor do not use the Xcursor extension
2267 --without-xinerama do not use Xinerama (multi-monitor support)
2268 --without-xinput do not use the Xinput extension
2269 --without-xinput2 do not use the Xinput 2 extension
2270 --without-xml do not use XML
2271 --without-xrandr do not use Xrandr (resolution changes)
2272 --without-xrender do not use the Xrender extension
2273 --without-xshape do not use the Xshape extension
2274 --without-xshm do not use XShm (shared memory extension)
2275 --without-xslt do not use XSLT
2276 --without-xxf86vm do not use XFree video mode extension
2277 --without-zlib do not use Zlib (data compression)
2278 --with-wine-tools=DIR use Wine tools from directory DIR
2279 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2280 --with-x use the X Window System
2282 Some influential environment variables:
2283 CC C compiler command
2284 CFLAGS C compiler flags
2285 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2286 nonstandard directory <lib dir>
2287 LIBS libraries to pass to the linker, e.g. -l<library>
2288 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2289 you have headers in a nonstandard directory <include dir>
2290 CXX C++ compiler command
2291 CXXFLAGS C++ compiler flags
2292 CPP C preprocessor
2293 XMKMF Path to xmkmf, Makefile generator for X Window System
2294 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2295 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2296 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2297 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2298 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2299 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2300 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2301 HAL_LIBS Linker flags for hal, overriding pkg-config
2302 GNUTLS_CFLAGS
2303 C compiler flags for gnutls, overriding pkg-config
2304 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2305 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2306 SANE_LIBS Linker flags for libsane, overriding pkg-config
2307 GPHOTO2_CFLAGS
2308 C compiler flags for libgphoto2, overriding pkg-config
2309 GPHOTO2_LIBS
2310 Linker flags for libgphoto2, overriding pkg-config
2311 GPHOTO2_PORT_CFLAGS
2312 C compiler flags for libgphoto2_port, overriding pkg-config
2313 GPHOTO2_PORT_LIBS
2314 Linker flags for libgphoto2_port, overriding pkg-config
2315 LCMS2_CFLAGS
2316 C compiler flags for lcms2, overriding pkg-config
2317 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2318 FREETYPE_CFLAGS
2319 C compiler flags for freetype2, overriding pkg-config
2320 FREETYPE_LIBS
2321 Linker flags for freetype2, overriding pkg-config
2322 PULSE_CFLAGS
2323 C compiler flags for libpulse, overriding pkg-config
2324 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2325 GSTREAMER_CFLAGS
2326 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2327 gstreamer-audio-1.0, overriding pkg-config
2328 GSTREAMER_LIBS
2329 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2330 gstreamer-audio-1.0, overriding pkg-config
2331 CAPI20_CFLAGS
2332 C compiler flags for capi20, overriding pkg-config
2333 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2334 FONTCONFIG_CFLAGS
2335 C compiler flags for fontconfig, overriding pkg-config
2336 FONTCONFIG_LIBS
2337 Linker flags for fontconfig, overriding pkg-config
2338 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2339 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2340 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2341 PNG_LIBS Linker flags for libpng, overriding pkg-config
2342 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2343 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2344 MPG123_CFLAGS
2345 C compiler flags for libmpg123, overriding pkg-config
2346 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2347 NETAPI_CFLAGS
2348 C compiler flags for netapi, overriding pkg-config
2349 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2351 Use these variables to override the choices made by `configure' or to help
2352 it to find libraries and programs with nonstandard names/locations.
2354 Report bugs to <wine-devel@winehq.org>.
2355 Wine home page: <http://www.winehq.org>.
2356 _ACEOF
2357 ac_status=$?
2360 if test "$ac_init_help" = "recursive"; then
2361 # If there are subdirs, report their specific --help.
2362 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2363 test -d "$ac_dir" ||
2364 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2365 continue
2366 ac_builddir=.
2368 case "$ac_dir" in
2369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2371 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2372 # A ".." for each directory in $ac_dir_suffix.
2373 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2374 case $ac_top_builddir_sub in
2375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2377 esac ;;
2378 esac
2379 ac_abs_top_builddir=$ac_pwd
2380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2381 # for backward compatibility:
2382 ac_top_builddir=$ac_top_build_prefix
2384 case $srcdir in
2385 .) # We are building in place.
2386 ac_srcdir=.
2387 ac_top_srcdir=$ac_top_builddir_sub
2388 ac_abs_top_srcdir=$ac_pwd ;;
2389 [\\/]* | ?:[\\/]* ) # Absolute name.
2390 ac_srcdir=$srcdir$ac_dir_suffix;
2391 ac_top_srcdir=$srcdir
2392 ac_abs_top_srcdir=$srcdir ;;
2393 *) # Relative name.
2394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2395 ac_top_srcdir=$ac_top_build_prefix$srcdir
2396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2397 esac
2398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2400 cd "$ac_dir" || { ac_status=$?; continue; }
2401 # Check for guested configure.
2402 if test -f "$ac_srcdir/configure.gnu"; then
2403 echo &&
2404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2405 elif test -f "$ac_srcdir/configure"; then
2406 echo &&
2407 $SHELL "$ac_srcdir/configure" --help=recursive
2408 else
2409 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2410 fi || ac_status=$?
2411 cd "$ac_pwd" || { ac_status=$?; break; }
2412 done
2415 test -n "$ac_init_help" && exit $ac_status
2416 if $ac_init_version; then
2417 cat <<\_ACEOF
2418 Wine configure 1.9.16
2419 generated by GNU Autoconf 2.69
2421 Copyright (C) 2012 Free Software Foundation, Inc.
2422 This configure script is free software; the Free Software Foundation
2423 gives unlimited permission to copy, distribute and modify it.
2424 _ACEOF
2425 exit
2428 ## ------------------------ ##
2429 ## Autoconf initialization. ##
2430 ## ------------------------ ##
2432 # ac_fn_c_try_compile LINENO
2433 # --------------------------
2434 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2435 ac_fn_c_try_compile ()
2437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2438 rm -f conftest.$ac_objext
2439 if { { ac_try="$ac_compile"
2440 case "(($ac_try" in
2441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2442 *) ac_try_echo=$ac_try;;
2443 esac
2444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2445 $as_echo "$ac_try_echo"; } >&5
2446 (eval "$ac_compile") 2>conftest.err
2447 ac_status=$?
2448 if test -s conftest.err; then
2449 grep -v '^ *+' conftest.err >conftest.er1
2450 cat conftest.er1 >&5
2451 mv -f conftest.er1 conftest.err
2453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2454 test $ac_status = 0; } && {
2455 test -z "$ac_c_werror_flag" ||
2456 test ! -s conftest.err
2457 } && test -s conftest.$ac_objext; then :
2458 ac_retval=0
2459 else
2460 $as_echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.$ac_ext >&5
2463 ac_retval=1
2465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2466 as_fn_set_status $ac_retval
2468 } # ac_fn_c_try_compile
2470 # ac_fn_cxx_try_compile LINENO
2471 # ----------------------------
2472 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2473 ac_fn_cxx_try_compile ()
2475 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2476 rm -f conftest.$ac_objext
2477 if { { ac_try="$ac_compile"
2478 case "(($ac_try" in
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2481 esac
2482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2483 $as_echo "$ac_try_echo"; } >&5
2484 (eval "$ac_compile") 2>conftest.err
2485 ac_status=$?
2486 if test -s conftest.err; then
2487 grep -v '^ *+' conftest.err >conftest.er1
2488 cat conftest.er1 >&5
2489 mv -f conftest.er1 conftest.err
2491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2492 test $ac_status = 0; } && {
2493 test -z "$ac_cxx_werror_flag" ||
2494 test ! -s conftest.err
2495 } && test -s conftest.$ac_objext; then :
2496 ac_retval=0
2497 else
2498 $as_echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2501 ac_retval=1
2503 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2504 as_fn_set_status $ac_retval
2506 } # ac_fn_cxx_try_compile
2508 # ac_fn_c_try_link LINENO
2509 # -----------------------
2510 # Try to link conftest.$ac_ext, and return whether this succeeded.
2511 ac_fn_c_try_link ()
2513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2514 rm -f conftest.$ac_objext conftest$ac_exeext
2515 if { { ac_try="$ac_link"
2516 case "(($ac_try" in
2517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2518 *) ac_try_echo=$ac_try;;
2519 esac
2520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2521 $as_echo "$ac_try_echo"; } >&5
2522 (eval "$ac_link") 2>conftest.err
2523 ac_status=$?
2524 if test -s conftest.err; then
2525 grep -v '^ *+' conftest.err >conftest.er1
2526 cat conftest.er1 >&5
2527 mv -f conftest.er1 conftest.err
2529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2530 test $ac_status = 0; } && {
2531 test -z "$ac_c_werror_flag" ||
2532 test ! -s conftest.err
2533 } && test -s conftest$ac_exeext && {
2534 test "$cross_compiling" = yes ||
2535 test -x conftest$ac_exeext
2536 }; then :
2537 ac_retval=0
2538 else
2539 $as_echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2542 ac_retval=1
2544 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2545 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2546 # interfere with the next link command; also delete a directory that is
2547 # left behind by Apple's compiler. We do this before executing the actions.
2548 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2550 as_fn_set_status $ac_retval
2552 } # ac_fn_c_try_link
2554 # ac_fn_c_try_cpp LINENO
2555 # ----------------------
2556 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2557 ac_fn_c_try_cpp ()
2559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2560 if { { ac_try="$ac_cpp conftest.$ac_ext"
2561 case "(($ac_try" in
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2564 esac
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2568 ac_status=$?
2569 if test -s conftest.err; then
2570 grep -v '^ *+' conftest.err >conftest.er1
2571 cat conftest.er1 >&5
2572 mv -f conftest.er1 conftest.err
2574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2575 test $ac_status = 0; } > conftest.i && {
2576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2577 test ! -s conftest.err
2578 }; then :
2579 ac_retval=0
2580 else
2581 $as_echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2584 ac_retval=1
2586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2587 as_fn_set_status $ac_retval
2589 } # ac_fn_c_try_cpp
2591 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2592 # -------------------------------------------------------
2593 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2594 # the include files in INCLUDES and setting the cache variable VAR
2595 # accordingly.
2596 ac_fn_c_check_header_mongrel ()
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 if eval \${$3+:} false; then :
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2601 $as_echo_n "checking for $2... " >&6; }
2602 if eval \${$3+:} false; then :
2603 $as_echo_n "(cached) " >&6
2605 eval ac_res=\$$3
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2607 $as_echo "$ac_res" >&6; }
2608 else
2609 # Is the header compilable?
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2611 $as_echo_n "checking $2 usability... " >&6; }
2612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2613 /* end confdefs.h. */
2615 #include <$2>
2616 _ACEOF
2617 if ac_fn_c_try_compile "$LINENO"; then :
2618 ac_header_compiler=yes
2619 else
2620 ac_header_compiler=no
2622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2624 $as_echo "$ac_header_compiler" >&6; }
2626 # Is the header present?
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2628 $as_echo_n "checking $2 presence... " >&6; }
2629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2630 /* end confdefs.h. */
2631 #include <$2>
2632 _ACEOF
2633 if ac_fn_c_try_cpp "$LINENO"; then :
2634 ac_header_preproc=yes
2635 else
2636 ac_header_preproc=no
2638 rm -f conftest.err conftest.i conftest.$ac_ext
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2640 $as_echo "$ac_header_preproc" >&6; }
2642 # So? What about this header?
2643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2644 yes:no: )
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2646 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2650 no:yes:* )
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2652 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2654 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2656 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2658 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2661 ( $as_echo "## ------------------------------------ ##
2662 ## Report this to wine-devel@winehq.org ##
2663 ## ------------------------------------ ##"
2664 ) | sed "s/^/$as_me: WARNING: /" >&2
2666 esac
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2668 $as_echo_n "checking for $2... " >&6; }
2669 if eval \${$3+:} false; then :
2670 $as_echo_n "(cached) " >&6
2671 else
2672 eval "$3=\$ac_header_compiler"
2674 eval ac_res=\$$3
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2678 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2680 } # ac_fn_c_check_header_mongrel
2682 # ac_fn_c_try_run LINENO
2683 # ----------------------
2684 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2685 # that executables *can* be run.
2686 ac_fn_c_try_run ()
2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2689 if { { ac_try="$ac_link"
2690 case "(($ac_try" in
2691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2692 *) ac_try_echo=$ac_try;;
2693 esac
2694 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2695 $as_echo "$ac_try_echo"; } >&5
2696 (eval "$ac_link") 2>&5
2697 ac_status=$?
2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2700 { { case "(($ac_try" in
2701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2702 *) ac_try_echo=$ac_try;;
2703 esac
2704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2705 $as_echo "$ac_try_echo"; } >&5
2706 (eval "$ac_try") 2>&5
2707 ac_status=$?
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; }; }; then :
2710 ac_retval=0
2711 else
2712 $as_echo "$as_me: program exited with status $ac_status" >&5
2713 $as_echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2716 ac_retval=$ac_status
2718 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2719 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2720 as_fn_set_status $ac_retval
2722 } # ac_fn_c_try_run
2724 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2725 # -------------------------------------------------------
2726 # Tests whether HEADER exists and can be compiled using the include files in
2727 # INCLUDES, setting the cache variable VAR accordingly.
2728 ac_fn_c_check_header_compile ()
2730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2732 $as_echo_n "checking for $2... " >&6; }
2733 if eval \${$3+:} false; then :
2734 $as_echo_n "(cached) " >&6
2735 else
2736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2737 /* end confdefs.h. */
2739 #include <$2>
2740 _ACEOF
2741 if ac_fn_c_try_compile "$LINENO"; then :
2742 eval "$3=yes"
2743 else
2744 eval "$3=no"
2746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2748 eval ac_res=\$$3
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2750 $as_echo "$ac_res" >&6; }
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2753 } # ac_fn_c_check_header_compile
2755 # ac_fn_c_check_func LINENO FUNC VAR
2756 # ----------------------------------
2757 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2758 ac_fn_c_check_func ()
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2762 $as_echo_n "checking for $2... " >&6; }
2763 if eval \${$3+:} false; then :
2764 $as_echo_n "(cached) " >&6
2765 else
2766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h. */
2768 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2770 #define $2 innocuous_$2
2772 /* System header to define __stub macros and hopefully few prototypes,
2773 which can conflict with char $2 (); below.
2774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2775 <limits.h> exists even on freestanding compilers. */
2777 #ifdef __STDC__
2778 # include <limits.h>
2779 #else
2780 # include <assert.h>
2781 #endif
2783 #undef $2
2785 /* Override any GCC internal prototype to avoid an error.
2786 Use char because int might match the return type of a GCC
2787 builtin and then its argument prototype would still apply. */
2788 #ifdef __cplusplus
2789 extern "C"
2790 #endif
2791 char $2 ();
2792 /* The GNU C library defines this for functions which it implements
2793 to always fail with ENOSYS. Some functions are actually named
2794 something starting with __ and the normal name is an alias. */
2795 #if defined __stub_$2 || defined __stub___$2
2796 choke me
2797 #endif
2800 main ()
2802 return $2 ();
2804 return 0;
2806 _ACEOF
2807 if ac_fn_c_try_link "$LINENO"; then :
2808 eval "$3=yes"
2809 else
2810 eval "$3=no"
2812 rm -f core conftest.err conftest.$ac_objext \
2813 conftest$ac_exeext conftest.$ac_ext
2815 eval ac_res=\$$3
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2817 $as_echo "$ac_res" >&6; }
2818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2820 } # ac_fn_c_check_func
2822 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2823 # ----------------------------------------------------
2824 # Tries to find if the field MEMBER exists in type AGGR, after including
2825 # INCLUDES, setting cache variable VAR accordingly.
2826 ac_fn_c_check_member ()
2828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2830 $as_echo_n "checking for $2.$3... " >&6; }
2831 if eval \${$4+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2838 main ()
2840 static $2 ac_aggr;
2841 if (ac_aggr.$3)
2842 return 0;
2844 return 0;
2846 _ACEOF
2847 if ac_fn_c_try_compile "$LINENO"; then :
2848 eval "$4=yes"
2849 else
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2854 main ()
2856 static $2 ac_aggr;
2857 if (sizeof ac_aggr.$3)
2858 return 0;
2860 return 0;
2862 _ACEOF
2863 if ac_fn_c_try_compile "$LINENO"; then :
2864 eval "$4=yes"
2865 else
2866 eval "$4=no"
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2872 eval ac_res=\$$4
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2874 $as_echo "$ac_res" >&6; }
2875 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2877 } # ac_fn_c_check_member
2879 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2880 # -------------------------------------------
2881 # Tests whether TYPE exists after having included INCLUDES, setting cache
2882 # variable VAR accordingly.
2883 ac_fn_c_check_type ()
2885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2887 $as_echo_n "checking for $2... " >&6; }
2888 if eval \${$3+:} false; then :
2889 $as_echo_n "(cached) " >&6
2890 else
2891 eval "$3=no"
2892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2893 /* end confdefs.h. */
2896 main ()
2898 if (sizeof ($2))
2899 return 0;
2901 return 0;
2903 _ACEOF
2904 if ac_fn_c_try_compile "$LINENO"; then :
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2909 main ()
2911 if (sizeof (($2)))
2912 return 0;
2914 return 0;
2916 _ACEOF
2917 if ac_fn_c_try_compile "$LINENO"; then :
2919 else
2920 eval "$3=yes"
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 eval ac_res=\$$3
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2928 $as_echo "$ac_res" >&6; }
2929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 } # ac_fn_c_check_type
2932 cat >config.log <<_ACEOF
2933 This file contains any messages produced by compilers while
2934 running configure, to aid debugging if configure makes a mistake.
2936 It was created by Wine $as_me 1.9.16, which was
2937 generated by GNU Autoconf 2.69. Invocation command line was
2939 $ $0 $@
2941 _ACEOF
2942 exec 5>>config.log
2944 cat <<_ASUNAME
2945 ## --------- ##
2946 ## Platform. ##
2947 ## --------- ##
2949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2961 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2966 _ASUNAME
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 for as_dir in $PATH
2971 IFS=$as_save_IFS
2972 test -z "$as_dir" && as_dir=.
2973 $as_echo "PATH: $as_dir"
2974 done
2975 IFS=$as_save_IFS
2977 } >&5
2979 cat >&5 <<_ACEOF
2982 ## ----------- ##
2983 ## Core tests. ##
2984 ## ----------- ##
2986 _ACEOF
2989 # Keep a trace of the command line.
2990 # Strip out --no-create and --no-recursion so they do not pile up.
2991 # Strip out --silent because we don't want to record it for future runs.
2992 # Also quote any args containing shell meta-characters.
2993 # Make two passes to allow for proper duplicate-argument suppression.
2994 ac_configure_args=
2995 ac_configure_args0=
2996 ac_configure_args1=
2997 ac_must_keep_next=false
2998 for ac_pass in 1 2
3000 for ac_arg
3002 case $ac_arg in
3003 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3004 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3005 | -silent | --silent | --silen | --sile | --sil)
3006 continue ;;
3007 *\'*)
3008 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3009 esac
3010 case $ac_pass in
3011 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3013 as_fn_append ac_configure_args1 " '$ac_arg'"
3014 if test $ac_must_keep_next = true; then
3015 ac_must_keep_next=false # Got value, back to normal.
3016 else
3017 case $ac_arg in
3018 *=* | --config-cache | -C | -disable-* | --disable-* \
3019 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3020 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3021 | -with-* | --with-* | -without-* | --without-* | --x)
3022 case "$ac_configure_args0 " in
3023 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3024 esac
3026 -* ) ac_must_keep_next=true ;;
3027 esac
3029 as_fn_append ac_configure_args " '$ac_arg'"
3031 esac
3032 done
3033 done
3034 { ac_configure_args0=; unset ac_configure_args0;}
3035 { ac_configure_args1=; unset ac_configure_args1;}
3037 # When interrupted or exit'd, cleanup temporary files, and complete
3038 # config.log. We remove comments because anyway the quotes in there
3039 # would cause problems or look ugly.
3040 # WARNING: Use '\'' to represent an apostrophe within the trap.
3041 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3042 trap 'exit_status=$?
3043 # Save into config.log some information that might help in debugging.
3045 echo
3047 $as_echo "## ---------------- ##
3048 ## Cache variables. ##
3049 ## ---------------- ##"
3050 echo
3051 # The following way of writing the cache mishandles newlines in values,
3053 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3054 eval ac_val=\$$ac_var
3055 case $ac_val in #(
3056 *${as_nl}*)
3057 case $ac_var in #(
3058 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3059 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3060 esac
3061 case $ac_var in #(
3062 _ | IFS | as_nl) ;; #(
3063 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3064 *) { eval $ac_var=; unset $ac_var;} ;;
3065 esac ;;
3066 esac
3067 done
3068 (set) 2>&1 |
3069 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3070 *${as_nl}ac_space=\ *)
3071 sed -n \
3072 "s/'\''/'\''\\\\'\'''\''/g;
3073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3074 ;; #(
3076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3078 esac |
3079 sort
3081 echo
3083 $as_echo "## ----------------- ##
3084 ## Output variables. ##
3085 ## ----------------- ##"
3086 echo
3087 for ac_var in $ac_subst_vars
3089 eval ac_val=\$$ac_var
3090 case $ac_val in
3091 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3092 esac
3093 $as_echo "$ac_var='\''$ac_val'\''"
3094 done | sort
3095 echo
3097 if test -n "$ac_subst_files"; then
3098 $as_echo "## ------------------- ##
3099 ## File substitutions. ##
3100 ## ------------------- ##"
3101 echo
3102 for ac_var in $ac_subst_files
3104 eval ac_val=\$$ac_var
3105 case $ac_val in
3106 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3107 esac
3108 $as_echo "$ac_var='\''$ac_val'\''"
3109 done | sort
3110 echo
3113 if test -s confdefs.h; then
3114 $as_echo "## ----------- ##
3115 ## confdefs.h. ##
3116 ## ----------- ##"
3117 echo
3118 cat confdefs.h
3119 echo
3121 test "$ac_signal" != 0 &&
3122 $as_echo "$as_me: caught signal $ac_signal"
3123 $as_echo "$as_me: exit $exit_status"
3124 } >&5
3125 rm -f core *.core core.conftest.* &&
3126 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3127 exit $exit_status
3129 for ac_signal in 1 2 13 15; do
3130 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3131 done
3132 ac_signal=0
3134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3135 rm -f -r conftest* confdefs.h
3137 $as_echo "/* confdefs.h */" > confdefs.h
3139 # Predefined preprocessor variables.
3141 cat >>confdefs.h <<_ACEOF
3142 #define PACKAGE_NAME "$PACKAGE_NAME"
3143 _ACEOF
3145 cat >>confdefs.h <<_ACEOF
3146 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3147 _ACEOF
3149 cat >>confdefs.h <<_ACEOF
3150 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3151 _ACEOF
3153 cat >>confdefs.h <<_ACEOF
3154 #define PACKAGE_STRING "$PACKAGE_STRING"
3155 _ACEOF
3157 cat >>confdefs.h <<_ACEOF
3158 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3159 _ACEOF
3161 cat >>confdefs.h <<_ACEOF
3162 #define PACKAGE_URL "$PACKAGE_URL"
3163 _ACEOF
3166 # Let the site file select an alternate cache file if it wants to.
3167 # Prefer an explicitly selected file to automatically selected ones.
3168 ac_site_file1=NONE
3169 ac_site_file2=NONE
3170 if test -n "$CONFIG_SITE"; then
3171 # We do not want a PATH search for config.site.
3172 case $CONFIG_SITE in #((
3173 -*) ac_site_file1=./$CONFIG_SITE;;
3174 */*) ac_site_file1=$CONFIG_SITE;;
3175 *) ac_site_file1=./$CONFIG_SITE;;
3176 esac
3177 elif test "x$prefix" != xNONE; then
3178 ac_site_file1=$prefix/share/config.site
3179 ac_site_file2=$prefix/etc/config.site
3180 else
3181 ac_site_file1=$ac_default_prefix/share/config.site
3182 ac_site_file2=$ac_default_prefix/etc/config.site
3184 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3186 test "x$ac_site_file" = xNONE && continue
3187 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3189 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3190 sed 's/^/| /' "$ac_site_file" >&5
3191 . "$ac_site_file" \
3192 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 as_fn_error $? "failed to load site script $ac_site_file
3195 See \`config.log' for more details" "$LINENO" 5; }
3197 done
3199 if test -r "$cache_file"; then
3200 # Some versions of bash will fail to source /dev/null (special files
3201 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3202 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3204 $as_echo "$as_me: loading cache $cache_file" >&6;}
3205 case $cache_file in
3206 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3207 *) . "./$cache_file";;
3208 esac
3210 else
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3212 $as_echo "$as_me: creating cache $cache_file" >&6;}
3213 >$cache_file
3216 # Check that the precious variables saved in the cache have kept the same
3217 # value.
3218 ac_cache_corrupted=false
3219 for ac_var in $ac_precious_vars; do
3220 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3221 eval ac_new_set=\$ac_env_${ac_var}_set
3222 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3223 eval ac_new_val=\$ac_env_${ac_var}_value
3224 case $ac_old_set,$ac_new_set in
3225 set,)
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3227 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3228 ac_cache_corrupted=: ;;
3229 ,set)
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3231 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3232 ac_cache_corrupted=: ;;
3233 ,);;
3235 if test "x$ac_old_val" != "x$ac_new_val"; then
3236 # differences in whitespace do not lead to failure.
3237 ac_old_val_w=`echo x $ac_old_val`
3238 ac_new_val_w=`echo x $ac_new_val`
3239 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3242 ac_cache_corrupted=:
3243 else
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3246 eval $ac_var=\$ac_old_val
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3249 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3252 fi;;
3253 esac
3254 # Pass precious variables to config.status.
3255 if test "$ac_new_set" = set; then
3256 case $ac_new_val in
3257 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3258 *) ac_arg=$ac_var=$ac_new_val ;;
3259 esac
3260 case " $ac_configure_args " in
3261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3262 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3263 esac
3265 done
3266 if $ac_cache_corrupted; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3271 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3273 ## -------------------- ##
3274 ## Main body of script. ##
3275 ## -------------------- ##
3277 ac_ext=c
3278 ac_cpp='$CPP $CPPFLAGS'
3279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3285 ac_config_headers="$ac_config_headers include/config.h"
3287 ac_aux_dir=
3288 for ac_dir in tools "$srcdir"/tools; do
3289 if test -f "$ac_dir/install-sh"; then
3290 ac_aux_dir=$ac_dir
3291 ac_install_sh="$ac_aux_dir/install-sh -c"
3292 break
3293 elif test -f "$ac_dir/install.sh"; then
3294 ac_aux_dir=$ac_dir
3295 ac_install_sh="$ac_aux_dir/install.sh -c"
3296 break
3297 elif test -f "$ac_dir/shtool"; then
3298 ac_aux_dir=$ac_dir
3299 ac_install_sh="$ac_aux_dir/shtool install -c"
3300 break
3302 done
3303 if test -z "$ac_aux_dir"; then
3304 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3307 # These three variables are undocumented and unsupported,
3308 # and are intended to be withdrawn in a future Autoconf release.
3309 # They can cause serious problems if a builder's source tree is in a directory
3310 # whose full name contains unusual characters.
3311 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3312 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3313 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3317 libwine_version="1.0"
3321 # Check whether --enable-win16 was given.
3322 if test "${enable_win16+set}" = set; then :
3323 enableval=$enable_win16;
3326 # Check whether --enable-win64 was given.
3327 if test "${enable_win64+set}" = set; then :
3328 enableval=$enable_win64;
3331 # Check whether --enable-tests was given.
3332 if test "${enable_tests+set}" = set; then :
3333 enableval=$enable_tests;
3336 # Check whether --enable-maintainer-mode was given.
3337 if test "${enable_maintainer_mode+set}" = set; then :
3338 enableval=$enable_maintainer_mode;
3343 # Check whether --with-alsa was given.
3344 if test "${with_alsa+set}" = set; then :
3345 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3349 # Check whether --with-capi was given.
3350 if test "${with_capi+set}" = set; then :
3351 withval=$with_capi;
3355 # Check whether --with-cms was given.
3356 if test "${with_cms+set}" = set; then :
3357 withval=$with_cms;
3361 # Check whether --with-coreaudio was given.
3362 if test "${with_coreaudio+set}" = set; then :
3363 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3367 # Check whether --with-cups was given.
3368 if test "${with_cups+set}" = set; then :
3369 withval=$with_cups;
3373 # Check whether --with-curses was given.
3374 if test "${with_curses+set}" = set; then :
3375 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3379 # Check whether --with-dbus was given.
3380 if test "${with_dbus+set}" = set; then :
3381 withval=$with_dbus;
3385 # Check whether --with-fontconfig was given.
3386 if test "${with_fontconfig+set}" = set; then :
3387 withval=$with_fontconfig;
3391 # Check whether --with-freetype was given.
3392 if test "${with_freetype+set}" = set; then :
3393 withval=$with_freetype;
3397 # Check whether --with-gettext was given.
3398 if test "${with_gettext+set}" = set; then :
3399 withval=$with_gettext;
3403 # Check whether --with-gettextpo was given.
3404 if test "${with_gettextpo+set}" = set; then :
3405 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3409 # Check whether --with-gphoto was given.
3410 if test "${with_gphoto+set}" = set; then :
3411 withval=$with_gphoto;
3415 # Check whether --with-glu was given.
3416 if test "${with_glu+set}" = set; then :
3417 withval=$with_glu;
3421 # Check whether --with-gnutls was given.
3422 if test "${with_gnutls+set}" = set; then :
3423 withval=$with_gnutls;
3427 # Check whether --with-gsm was given.
3428 if test "${with_gsm+set}" = set; then :
3429 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3433 # Check whether --with-gstreamer was given.
3434 if test "${with_gstreamer+set}" = set; then :
3435 withval=$with_gstreamer;
3439 # Check whether --with-hal was given.
3440 if test "${with_hal+set}" = set; then :
3441 withval=$with_hal;
3445 # Check whether --with-jpeg was given.
3446 if test "${with_jpeg+set}" = set; then :
3447 withval=$with_jpeg;
3451 # Check whether --with-ldap was given.
3452 if test "${with_ldap+set}" = set; then :
3453 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3457 # Check whether --with-mpg123 was given.
3458 if test "${with_mpg123+set}" = set; then :
3459 withval=$with_mpg123;
3463 # Check whether --with-netapi was given.
3464 if test "${with_netapi+set}" = set; then :
3465 withval=$with_netapi;
3469 # Check whether --with-openal was given.
3470 if test "${with_openal+set}" = set; then :
3471 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3475 # Check whether --with-opencl was given.
3476 if test "${with_opencl+set}" = set; then :
3477 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3481 # Check whether --with-opengl was given.
3482 if test "${with_opengl+set}" = set; then :
3483 withval=$with_opengl;
3487 # Check whether --with-osmesa was given.
3488 if test "${with_osmesa+set}" = set; then :
3489 withval=$with_osmesa;
3493 # Check whether --with-oss was given.
3494 if test "${with_oss+set}" = set; then :
3495 withval=$with_oss;
3499 # Check whether --with-pcap was given.
3500 if test "${with_pcap+set}" = set; then :
3501 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3505 # Check whether --with-png was given.
3506 if test "${with_png+set}" = set; then :
3507 withval=$with_png;
3511 # Check whether --with-pthread was given.
3512 if test "${with_pthread+set}" = set; then :
3513 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3517 # Check whether --with-pulse was given.
3518 if test "${with_pulse+set}" = set; then :
3519 withval=$with_pulse;
3523 # Check whether --with-sane was given.
3524 if test "${with_sane+set}" = set; then :
3525 withval=$with_sane;
3529 # Check whether --with-tiff was given.
3530 if test "${with_tiff+set}" = set; then :
3531 withval=$with_tiff;
3535 # Check whether --with-v4l was given.
3536 if test "${with_v4l+set}" = set; then :
3537 withval=$with_v4l;
3541 # Check whether --with-xcomposite was given.
3542 if test "${with_xcomposite+set}" = set; then :
3543 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3547 # Check whether --with-xcursor was given.
3548 if test "${with_xcursor+set}" = set; then :
3549 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3553 # Check whether --with-xinerama was given.
3554 if test "${with_xinerama+set}" = set; then :
3555 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3559 # Check whether --with-xinput was given.
3560 if test "${with_xinput+set}" = set; then :
3561 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3565 # Check whether --with-xinput2 was given.
3566 if test "${with_xinput2+set}" = set; then :
3567 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3571 # Check whether --with-xml was given.
3572 if test "${with_xml+set}" = set; then :
3573 withval=$with_xml;
3577 # Check whether --with-xrandr was given.
3578 if test "${with_xrandr+set}" = set; then :
3579 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3583 # Check whether --with-xrender was given.
3584 if test "${with_xrender+set}" = set; then :
3585 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3589 # Check whether --with-xshape was given.
3590 if test "${with_xshape+set}" = set; then :
3591 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3595 # Check whether --with-xshm was given.
3596 if test "${with_xshm+set}" = set; then :
3597 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3601 # Check whether --with-xslt was given.
3602 if test "${with_xslt+set}" = set; then :
3603 withval=$with_xslt;
3607 # Check whether --with-xxf86vm was given.
3608 if test "${with_xxf86vm+set}" = set; then :
3609 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
3613 # Check whether --with-zlib was given.
3614 if test "${with_zlib+set}" = set; then :
3615 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3620 # Check whether --with-wine-tools was given.
3621 if test "${with_wine_tools+set}" = set; then :
3622 withval=$with_wine_tools;
3626 # Check whether --with-wine64 was given.
3627 if test "${with_wine64+set}" = set; then :
3628 withval=$with_wine64;
3632 # Make sure we can run config.sub.
3633 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3634 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3637 $as_echo_n "checking build system type... " >&6; }
3638 if ${ac_cv_build+:} false; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 ac_build_alias=$build_alias
3642 test "x$ac_build_alias" = x &&
3643 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3644 test "x$ac_build_alias" = x &&
3645 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3646 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3647 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3651 $as_echo "$ac_cv_build" >&6; }
3652 case $ac_cv_build in
3653 *-*-*) ;;
3654 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3655 esac
3656 build=$ac_cv_build
3657 ac_save_IFS=$IFS; IFS='-'
3658 set x $ac_cv_build
3659 shift
3660 build_cpu=$1
3661 build_vendor=$2
3662 shift; shift
3663 # Remember, the first character of IFS is used to create $*,
3664 # except with old shells:
3665 build_os=$*
3666 IFS=$ac_save_IFS
3667 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3671 $as_echo_n "checking host system type... " >&6; }
3672 if ${ac_cv_host+:} false; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test "x$host_alias" = x; then
3676 ac_cv_host=$ac_cv_build
3677 else
3678 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3679 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3684 $as_echo "$ac_cv_host" >&6; }
3685 case $ac_cv_host in
3686 *-*-*) ;;
3687 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3688 esac
3689 host=$ac_cv_host
3690 ac_save_IFS=$IFS; IFS='-'
3691 set x $ac_cv_host
3692 shift
3693 host_cpu=$1
3694 host_vendor=$2
3695 shift; shift
3696 # Remember, the first character of IFS is used to create $*,
3697 # except with old shells:
3698 host_os=$*
3699 IFS=$ac_save_IFS
3700 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3704 case "$srcdir" in
3705 .) ;;
3706 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3707 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3708 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3709 fi ;;
3710 esac
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3714 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3715 set x ${MAKE-make}
3716 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3717 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3718 $as_echo_n "(cached) " >&6
3719 else
3720 cat >conftest.make <<\_ACEOF
3721 SHELL = /bin/sh
3722 all:
3723 @echo '@@@%%%=$(MAKE)=@@@%%%'
3724 _ACEOF
3725 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3726 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3727 *@@@%%%=?*=@@@%%%*)
3728 eval ac_cv_prog_make_${ac_make}_set=yes;;
3730 eval ac_cv_prog_make_${ac_make}_set=no;;
3731 esac
3732 rm -f conftest.make
3734 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3736 $as_echo "yes" >&6; }
3737 SET_MAKE=
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 SET_MAKE="MAKE=${MAKE-make}"
3744 ac_ext=c
3745 ac_cpp='$CPP $CPPFLAGS'
3746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3749 if test -n "$ac_tool_prefix"; then
3750 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3751 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if ${ac_cv_prog_CC+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC="$CC" # Let the user override the test.
3759 else
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3763 IFS=$as_save_IFS
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3767 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 break 2
3771 done
3772 done
3773 IFS=$as_save_IFS
3777 CC=$ac_cv_prog_CC
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3788 if test -z "$ac_cv_prog_CC"; then
3789 ac_ct_CC=$CC
3790 # Extract the first word of "gcc", so it can be a program name with args.
3791 set dummy gcc; ac_word=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3795 $as_echo_n "(cached) " >&6
3796 else
3797 if test -n "$ac_ct_CC"; then
3798 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3799 else
3800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3801 for as_dir in $PATH
3803 IFS=$as_save_IFS
3804 test -z "$as_dir" && as_dir=.
3805 for ac_exec_ext in '' $ac_executable_extensions; do
3806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3807 ac_cv_prog_ac_ct_CC="gcc"
3808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3809 break 2
3811 done
3812 done
3813 IFS=$as_save_IFS
3817 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3818 if test -n "$ac_ct_CC"; then
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3820 $as_echo "$ac_ct_CC" >&6; }
3821 else
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3823 $as_echo "no" >&6; }
3826 if test "x$ac_ct_CC" = x; then
3827 CC=""
3828 else
3829 case $cross_compiling:$ac_tool_warned in
3830 yes:)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned=yes ;;
3834 esac
3835 CC=$ac_ct_CC
3837 else
3838 CC="$ac_cv_prog_CC"
3841 if test -z "$CC"; then
3842 if test -n "$ac_tool_prefix"; then
3843 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3844 set dummy ${ac_tool_prefix}cc; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_CC+:} false; then :
3848 $as_echo_n "(cached) " >&6
3849 else
3850 if test -n "$CC"; then
3851 ac_cv_prog_CC="$CC" # Let the user override the test.
3852 else
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3854 for as_dir in $PATH
3856 IFS=$as_save_IFS
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_CC="${ac_tool_prefix}cc"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 break 2
3864 done
3865 done
3866 IFS=$as_save_IFS
3870 CC=$ac_cv_prog_CC
3871 if test -n "$CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873 $as_echo "$CC" >&6; }
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3882 if test -z "$CC"; then
3883 # Extract the first word of "cc", so it can be a program name with args.
3884 set dummy cc; ac_word=$2
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3886 $as_echo_n "checking for $ac_word... " >&6; }
3887 if ${ac_cv_prog_CC+:} false; then :
3888 $as_echo_n "(cached) " >&6
3889 else
3890 if test -n "$CC"; then
3891 ac_cv_prog_CC="$CC" # Let the user override the test.
3892 else
3893 ac_prog_rejected=no
3894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 for as_dir in $PATH
3897 IFS=$as_save_IFS
3898 test -z "$as_dir" && as_dir=.
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3901 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3902 ac_prog_rejected=yes
3903 continue
3905 ac_cv_prog_CC="cc"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 break 2
3909 done
3910 done
3911 IFS=$as_save_IFS
3913 if test $ac_prog_rejected = yes; then
3914 # We found a bogon in the path, so make sure we never use it.
3915 set dummy $ac_cv_prog_CC
3916 shift
3917 if test $# != 0; then
3918 # We chose a different compiler from the bogus one.
3919 # However, it has the same basename, so the bogon will be chosen
3920 # first if we set CC to just the basename; use the full file name.
3921 shift
3922 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3927 CC=$ac_cv_prog_CC
3928 if test -n "$CC"; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3930 $as_echo "$CC" >&6; }
3931 else
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3938 if test -z "$CC"; then
3939 if test -n "$ac_tool_prefix"; then
3940 for ac_prog in cl.exe
3942 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3943 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if ${ac_cv_prog_CC+:} false; then :
3947 $as_echo_n "(cached) " >&6
3948 else
3949 if test -n "$CC"; then
3950 ac_cv_prog_CC="$CC" # Let the user override the test.
3951 else
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 for as_dir in $PATH
3955 IFS=$as_save_IFS
3956 test -z "$as_dir" && as_dir=.
3957 for ac_exec_ext in '' $ac_executable_extensions; do
3958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 break 2
3963 done
3964 done
3965 IFS=$as_save_IFS
3969 CC=$ac_cv_prog_CC
3970 if test -n "$CC"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3972 $as_echo "$CC" >&6; }
3973 else
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3979 test -n "$CC" && break
3980 done
3982 if test -z "$CC"; then
3983 ac_ct_CC=$CC
3984 for ac_prog in cl.exe
3986 # Extract the first word of "$ac_prog", so it can be a program name with args.
3987 set dummy $ac_prog; ac_word=$2
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 $as_echo_n "checking for $ac_word... " >&6; }
3990 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3991 $as_echo_n "(cached) " >&6
3992 else
3993 if test -n "$ac_ct_CC"; then
3994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3995 else
3996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3997 for as_dir in $PATH
3999 IFS=$as_save_IFS
4000 test -z "$as_dir" && as_dir=.
4001 for ac_exec_ext in '' $ac_executable_extensions; do
4002 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4003 ac_cv_prog_ac_ct_CC="$ac_prog"
4004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 break 2
4007 done
4008 done
4009 IFS=$as_save_IFS
4013 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4014 if test -n "$ac_ct_CC"; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4016 $as_echo "$ac_ct_CC" >&6; }
4017 else
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4023 test -n "$ac_ct_CC" && break
4024 done
4026 if test "x$ac_ct_CC" = x; then
4027 CC=""
4028 else
4029 case $cross_compiling:$ac_tool_warned in
4030 yes:)
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4033 ac_tool_warned=yes ;;
4034 esac
4035 CC=$ac_ct_CC
4042 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4044 as_fn_error $? "no acceptable C compiler found in \$PATH
4045 See \`config.log' for more details" "$LINENO" 5; }
4047 # Provide some information about the compiler.
4048 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4049 set X $ac_compile
4050 ac_compiler=$2
4051 for ac_option in --version -v -V -qversion; do
4052 { { ac_try="$ac_compiler $ac_option >&5"
4053 case "(($ac_try" in
4054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4056 esac
4057 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4058 $as_echo "$ac_try_echo"; } >&5
4059 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4060 ac_status=$?
4061 if test -s conftest.err; then
4062 sed '10a\
4063 ... rest of stderr output deleted ...
4064 10q' conftest.err >conftest.er1
4065 cat conftest.er1 >&5
4067 rm -f conftest.er1 conftest.err
4068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4069 test $ac_status = 0; }
4070 done
4072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4076 main ()
4080 return 0;
4082 _ACEOF
4083 ac_clean_files_save=$ac_clean_files
4084 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4085 # Try to create an executable without -o first, disregard a.out.
4086 # It will help us diagnose broken compilers, and finding out an intuition
4087 # of exeext.
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4089 $as_echo_n "checking whether the C compiler works... " >&6; }
4090 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4092 # The possible output files:
4093 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4095 ac_rmfiles=
4096 for ac_file in $ac_files
4098 case $ac_file in
4099 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4100 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4101 esac
4102 done
4103 rm -f $ac_rmfiles
4105 if { { ac_try="$ac_link_default"
4106 case "(($ac_try" in
4107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4108 *) ac_try_echo=$ac_try;;
4109 esac
4110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4111 $as_echo "$ac_try_echo"; } >&5
4112 (eval "$ac_link_default") 2>&5
4113 ac_status=$?
4114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4115 test $ac_status = 0; }; then :
4116 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4117 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4118 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4119 # so that the user can short-circuit this test for compilers unknown to
4120 # Autoconf.
4121 for ac_file in $ac_files ''
4123 test -f "$ac_file" || continue
4124 case $ac_file in
4125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4127 [ab].out )
4128 # We found the default executable, but exeext='' is most
4129 # certainly right.
4130 break;;
4131 *.* )
4132 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4133 then :; else
4134 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4136 # We set ac_cv_exeext here because the later test for it is not
4137 # safe: cross compilers may not add the suffix if given an `-o'
4138 # argument, so we may need to know it at that point already.
4139 # Even if this section looks crufty: it has the advantage of
4140 # actually working.
4141 break;;
4143 break;;
4144 esac
4145 done
4146 test "$ac_cv_exeext" = no && ac_cv_exeext=
4148 else
4149 ac_file=''
4151 if test -z "$ac_file"; then :
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4154 $as_echo "$as_me: failed program was:" >&5
4155 sed 's/^/| /' conftest.$ac_ext >&5
4157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4159 as_fn_error 77 "C compiler cannot create executables
4160 See \`config.log' for more details" "$LINENO" 5; }
4161 else
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4163 $as_echo "yes" >&6; }
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4166 $as_echo_n "checking for C compiler default output file name... " >&6; }
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4168 $as_echo "$ac_file" >&6; }
4169 ac_exeext=$ac_cv_exeext
4171 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4172 ac_clean_files=$ac_clean_files_save
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4174 $as_echo_n "checking for suffix of executables... " >&6; }
4175 if { { ac_try="$ac_link"
4176 case "(($ac_try" in
4177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4178 *) ac_try_echo=$ac_try;;
4179 esac
4180 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4181 $as_echo "$ac_try_echo"; } >&5
4182 (eval "$ac_link") 2>&5
4183 ac_status=$?
4184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4185 test $ac_status = 0; }; then :
4186 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4187 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4188 # work properly (i.e., refer to `conftest.exe'), while it won't with
4189 # `rm'.
4190 for ac_file in conftest.exe conftest conftest.*; do
4191 test -f "$ac_file" || continue
4192 case $ac_file in
4193 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4194 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4195 break;;
4196 * ) break;;
4197 esac
4198 done
4199 else
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4203 See \`config.log' for more details" "$LINENO" 5; }
4205 rm -f conftest conftest$ac_cv_exeext
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4207 $as_echo "$ac_cv_exeext" >&6; }
4209 rm -f conftest.$ac_ext
4210 EXEEXT=$ac_cv_exeext
4211 ac_exeext=$EXEEXT
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214 #include <stdio.h>
4216 main ()
4218 FILE *f = fopen ("conftest.out", "w");
4219 return ferror (f) || fclose (f) != 0;
4222 return 0;
4224 _ACEOF
4225 ac_clean_files="$ac_clean_files conftest.out"
4226 # Check that the compiler produces executables we can run. If not, either
4227 # the compiler is broken, or we cross compile.
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4229 $as_echo_n "checking whether we are cross compiling... " >&6; }
4230 if test "$cross_compiling" != yes; then
4231 { { ac_try="$ac_link"
4232 case "(($ac_try" in
4233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4234 *) ac_try_echo=$ac_try;;
4235 esac
4236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4237 $as_echo "$ac_try_echo"; } >&5
4238 (eval "$ac_link") 2>&5
4239 ac_status=$?
4240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4241 test $ac_status = 0; }
4242 if { ac_try='./conftest$ac_cv_exeext'
4243 { { case "(($ac_try" in
4244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4245 *) ac_try_echo=$ac_try;;
4246 esac
4247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4248 $as_echo "$ac_try_echo"; } >&5
4249 (eval "$ac_try") 2>&5
4250 ac_status=$?
4251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4252 test $ac_status = 0; }; }; then
4253 cross_compiling=no
4254 else
4255 if test "$cross_compiling" = maybe; then
4256 cross_compiling=yes
4257 else
4258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4260 as_fn_error $? "cannot run C compiled programs.
4261 If you meant to cross compile, use \`--host'.
4262 See \`config.log' for more details" "$LINENO" 5; }
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4267 $as_echo "$cross_compiling" >&6; }
4269 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4270 ac_clean_files=$ac_clean_files_save
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4272 $as_echo_n "checking for suffix of object files... " >&6; }
4273 if ${ac_cv_objext+:} false; then :
4274 $as_echo_n "(cached) " >&6
4275 else
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4280 main ()
4284 return 0;
4286 _ACEOF
4287 rm -f conftest.o conftest.obj
4288 if { { ac_try="$ac_compile"
4289 case "(($ac_try" in
4290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4292 esac
4293 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4294 $as_echo "$ac_try_echo"; } >&5
4295 (eval "$ac_compile") 2>&5
4296 ac_status=$?
4297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4298 test $ac_status = 0; }; then :
4299 for ac_file in conftest.o conftest.obj conftest.*; do
4300 test -f "$ac_file" || continue;
4301 case $ac_file in
4302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4303 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4304 break;;
4305 esac
4306 done
4307 else
4308 $as_echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4313 as_fn_error $? "cannot compute suffix of object files: cannot compile
4314 See \`config.log' for more details" "$LINENO" 5; }
4316 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4319 $as_echo "$ac_cv_objext" >&6; }
4320 OBJEXT=$ac_cv_objext
4321 ac_objext=$OBJEXT
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4323 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4324 if ${ac_cv_c_compiler_gnu+:} false; then :
4325 $as_echo_n "(cached) " >&6
4326 else
4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4328 /* end confdefs.h. */
4331 main ()
4333 #ifndef __GNUC__
4334 choke me
4335 #endif
4338 return 0;
4340 _ACEOF
4341 if ac_fn_c_try_compile "$LINENO"; then :
4342 ac_compiler_gnu=yes
4343 else
4344 ac_compiler_gnu=no
4346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4347 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4351 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4352 if test $ac_compiler_gnu = yes; then
4353 GCC=yes
4354 else
4355 GCC=
4357 ac_test_CFLAGS=${CFLAGS+set}
4358 ac_save_CFLAGS=$CFLAGS
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4360 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4361 if ${ac_cv_prog_cc_g+:} false; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 ac_save_c_werror_flag=$ac_c_werror_flag
4365 ac_c_werror_flag=yes
4366 ac_cv_prog_cc_g=no
4367 CFLAGS="-g"
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4372 main ()
4376 return 0;
4378 _ACEOF
4379 if ac_fn_c_try_compile "$LINENO"; then :
4380 ac_cv_prog_cc_g=yes
4381 else
4382 CFLAGS=""
4383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384 /* end confdefs.h. */
4387 main ()
4391 return 0;
4393 _ACEOF
4394 if ac_fn_c_try_compile "$LINENO"; then :
4396 else
4397 ac_c_werror_flag=$ac_save_c_werror_flag
4398 CFLAGS="-g"
4399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4400 /* end confdefs.h. */
4403 main ()
4407 return 0;
4409 _ACEOF
4410 if ac_fn_c_try_compile "$LINENO"; then :
4411 ac_cv_prog_cc_g=yes
4413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4418 ac_c_werror_flag=$ac_save_c_werror_flag
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4421 $as_echo "$ac_cv_prog_cc_g" >&6; }
4422 if test "$ac_test_CFLAGS" = set; then
4423 CFLAGS=$ac_save_CFLAGS
4424 elif test $ac_cv_prog_cc_g = yes; then
4425 if test "$GCC" = yes; then
4426 CFLAGS="-g -O2"
4427 else
4428 CFLAGS="-g"
4430 else
4431 if test "$GCC" = yes; then
4432 CFLAGS="-O2"
4433 else
4434 CFLAGS=
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4438 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4439 if ${ac_cv_prog_cc_c89+:} false; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 ac_cv_prog_cc_c89=no
4443 ac_save_CC=$CC
4444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445 /* end confdefs.h. */
4446 #include <stdarg.h>
4447 #include <stdio.h>
4448 struct stat;
4449 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4450 struct buf { int x; };
4451 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4452 static char *e (p, i)
4453 char **p;
4454 int i;
4456 return p[i];
4458 static char *f (char * (*g) (char **, int), char **p, ...)
4460 char *s;
4461 va_list v;
4462 va_start (v,p);
4463 s = g (p, va_arg (v,int));
4464 va_end (v);
4465 return s;
4468 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4469 function prototypes and stuff, but not '\xHH' hex character constants.
4470 These don't provoke an error unfortunately, instead are silently treated
4471 as 'x'. The following induces an error, until -std is added to get
4472 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4473 array size at least. It's necessary to write '\x00'==0 to get something
4474 that's true only with -std. */
4475 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4477 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4478 inside strings and character constants. */
4479 #define FOO(x) 'x'
4480 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4482 int test (int i, double x);
4483 struct s1 {int (*f) (int a);};
4484 struct s2 {int (*f) (double a);};
4485 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4486 int argc;
4487 char **argv;
4489 main ()
4491 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4493 return 0;
4495 _ACEOF
4496 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4497 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4499 CC="$ac_save_CC $ac_arg"
4500 if ac_fn_c_try_compile "$LINENO"; then :
4501 ac_cv_prog_cc_c89=$ac_arg
4503 rm -f core conftest.err conftest.$ac_objext
4504 test "x$ac_cv_prog_cc_c89" != "xno" && break
4505 done
4506 rm -f conftest.$ac_ext
4507 CC=$ac_save_CC
4510 # AC_CACHE_VAL
4511 case "x$ac_cv_prog_cc_c89" in
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4514 $as_echo "none needed" >&6; } ;;
4515 xno)
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4517 $as_echo "unsupported" >&6; } ;;
4519 CC="$CC $ac_cv_prog_cc_c89"
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4521 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4522 esac
4523 if test "x$ac_cv_prog_cc_c89" != xno; then :
4527 ac_ext=c
4528 ac_cpp='$CPP $CPPFLAGS'
4529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4533 ac_ext=cpp
4534 ac_cpp='$CXXCPP $CPPFLAGS'
4535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4538 if test -z "$CXX"; then
4539 if test -n "$CCC"; then
4540 CXX=$CCC
4541 else
4542 if test -n "$ac_tool_prefix"; then
4543 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4545 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4546 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4548 $as_echo_n "checking for $ac_word... " >&6; }
4549 if ${ac_cv_prog_CXX+:} false; then :
4550 $as_echo_n "(cached) " >&6
4551 else
4552 if test -n "$CXX"; then
4553 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4554 else
4555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 for as_dir in $PATH
4558 IFS=$as_save_IFS
4559 test -z "$as_dir" && as_dir=.
4560 for ac_exec_ext in '' $ac_executable_extensions; do
4561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4562 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 break 2
4566 done
4567 done
4568 IFS=$as_save_IFS
4572 CXX=$ac_cv_prog_CXX
4573 if test -n "$CXX"; then
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4575 $as_echo "$CXX" >&6; }
4576 else
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4578 $as_echo "no" >&6; }
4582 test -n "$CXX" && break
4583 done
4585 if test -z "$CXX"; then
4586 ac_ct_CXX=$CXX
4587 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4589 # Extract the first word of "$ac_prog", so it can be a program name with args.
4590 set dummy $ac_prog; ac_word=$2
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4592 $as_echo_n "checking for $ac_word... " >&6; }
4593 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4594 $as_echo_n "(cached) " >&6
4595 else
4596 if test -n "$ac_ct_CXX"; then
4597 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4598 else
4599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4600 for as_dir in $PATH
4602 IFS=$as_save_IFS
4603 test -z "$as_dir" && as_dir=.
4604 for ac_exec_ext in '' $ac_executable_extensions; do
4605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4606 ac_cv_prog_ac_ct_CXX="$ac_prog"
4607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 break 2
4610 done
4611 done
4612 IFS=$as_save_IFS
4616 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4617 if test -n "$ac_ct_CXX"; then
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4619 $as_echo "$ac_ct_CXX" >&6; }
4620 else
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4622 $as_echo "no" >&6; }
4626 test -n "$ac_ct_CXX" && break
4627 done
4629 if test "x$ac_ct_CXX" = x; then
4630 CXX="g++"
4631 else
4632 case $cross_compiling:$ac_tool_warned in
4633 yes:)
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4636 ac_tool_warned=yes ;;
4637 esac
4638 CXX=$ac_ct_CXX
4644 # Provide some information about the compiler.
4645 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4646 set X $ac_compile
4647 ac_compiler=$2
4648 for ac_option in --version -v -V -qversion; do
4649 { { ac_try="$ac_compiler $ac_option >&5"
4650 case "(($ac_try" in
4651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4653 esac
4654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4655 $as_echo "$ac_try_echo"; } >&5
4656 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4657 ac_status=$?
4658 if test -s conftest.err; then
4659 sed '10a\
4660 ... rest of stderr output deleted ...
4661 10q' conftest.err >conftest.er1
4662 cat conftest.er1 >&5
4664 rm -f conftest.er1 conftest.err
4665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4666 test $ac_status = 0; }
4667 done
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4670 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4671 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4672 $as_echo_n "(cached) " >&6
4673 else
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4678 main ()
4680 #ifndef __GNUC__
4681 choke me
4682 #endif
4685 return 0;
4687 _ACEOF
4688 if ac_fn_cxx_try_compile "$LINENO"; then :
4689 ac_compiler_gnu=yes
4690 else
4691 ac_compiler_gnu=no
4693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4698 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4699 if test $ac_compiler_gnu = yes; then
4700 GXX=yes
4701 else
4702 GXX=
4704 ac_test_CXXFLAGS=${CXXFLAGS+set}
4705 ac_save_CXXFLAGS=$CXXFLAGS
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4707 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4708 if ${ac_cv_prog_cxx_g+:} false; then :
4709 $as_echo_n "(cached) " >&6
4710 else
4711 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4712 ac_cxx_werror_flag=yes
4713 ac_cv_prog_cxx_g=no
4714 CXXFLAGS="-g"
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4719 main ()
4723 return 0;
4725 _ACEOF
4726 if ac_fn_cxx_try_compile "$LINENO"; then :
4727 ac_cv_prog_cxx_g=yes
4728 else
4729 CXXFLAGS=""
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4734 main ()
4738 return 0;
4740 _ACEOF
4741 if ac_fn_cxx_try_compile "$LINENO"; then :
4743 else
4744 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4745 CXXFLAGS="-g"
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h. */
4750 main ()
4754 return 0;
4756 _ACEOF
4757 if ac_fn_cxx_try_compile "$LINENO"; then :
4758 ac_cv_prog_cxx_g=yes
4760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4765 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4768 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4769 if test "$ac_test_CXXFLAGS" = set; then
4770 CXXFLAGS=$ac_save_CXXFLAGS
4771 elif test $ac_cv_prog_cxx_g = yes; then
4772 if test "$GXX" = yes; then
4773 CXXFLAGS="-g -O2"
4774 else
4775 CXXFLAGS="-g"
4777 else
4778 if test "$GXX" = yes; then
4779 CXXFLAGS="-O2"
4780 else
4781 CXXFLAGS=
4784 ac_ext=c
4785 ac_cpp='$CPP $CPPFLAGS'
4786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790 if test -n "$ac_tool_prefix"; then
4791 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4792 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 $as_echo_n "checking for $ac_word... " >&6; }
4795 if ${ac_cv_prog_CPPBIN+:} false; then :
4796 $as_echo_n "(cached) " >&6
4797 else
4798 if test -n "$CPPBIN"; then
4799 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4800 else
4801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4802 for as_dir in $PATH
4804 IFS=$as_save_IFS
4805 test -z "$as_dir" && as_dir=.
4806 for ac_exec_ext in '' $ac_executable_extensions; do
4807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4808 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 break 2
4812 done
4813 done
4814 IFS=$as_save_IFS
4818 CPPBIN=$ac_cv_prog_CPPBIN
4819 if test -n "$CPPBIN"; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4821 $as_echo "$CPPBIN" >&6; }
4822 else
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4829 if test -z "$ac_cv_prog_CPPBIN"; then
4830 ac_ct_CPPBIN=$CPPBIN
4831 # Extract the first word of "cpp", so it can be a program name with args.
4832 set dummy cpp; ac_word=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 if test -n "$ac_ct_CPPBIN"; then
4839 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4840 else
4841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4842 for as_dir in $PATH
4844 IFS=$as_save_IFS
4845 test -z "$as_dir" && as_dir=.
4846 for ac_exec_ext in '' $ac_executable_extensions; do
4847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4848 ac_cv_prog_ac_ct_CPPBIN="cpp"
4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 break 2
4852 done
4853 done
4854 IFS=$as_save_IFS
4858 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4859 if test -n "$ac_ct_CPPBIN"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4861 $as_echo "$ac_ct_CPPBIN" >&6; }
4862 else
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4867 if test "x$ac_ct_CPPBIN" = x; then
4868 CPPBIN="cpp"
4869 else
4870 case $cross_compiling:$ac_tool_warned in
4871 yes:)
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4873 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4874 ac_tool_warned=yes ;;
4875 esac
4876 CPPBIN=$ac_ct_CPPBIN
4878 else
4879 CPPBIN="$ac_cv_prog_CPPBIN"
4883 cat >>confdefs.h <<_ACEOF
4884 #define EXEEXT "$ac_exeext"
4885 _ACEOF
4887 if test -n "$ac_tool_prefix"; then
4888 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4889 set dummy ${ac_tool_prefix}ld; ac_word=$2
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891 $as_echo_n "checking for $ac_word... " >&6; }
4892 if ${ac_cv_prog_LD+:} false; then :
4893 $as_echo_n "(cached) " >&6
4894 else
4895 if test -n "$LD"; then
4896 ac_cv_prog_LD="$LD" # Let the user override the test.
4897 else
4898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4899 for as_dir in $PATH
4901 IFS=$as_save_IFS
4902 test -z "$as_dir" && as_dir=.
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4905 ac_cv_prog_LD="${ac_tool_prefix}ld"
4906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 break 2
4909 done
4910 done
4911 IFS=$as_save_IFS
4915 LD=$ac_cv_prog_LD
4916 if test -n "$LD"; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4918 $as_echo "$LD" >&6; }
4919 else
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4926 if test -z "$ac_cv_prog_LD"; then
4927 ac_ct_LD=$LD
4928 # Extract the first word of "ld", so it can be a program name with args.
4929 set dummy ld; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4933 $as_echo_n "(cached) " >&6
4934 else
4935 if test -n "$ac_ct_LD"; then
4936 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4937 else
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4939 for as_dir in $PATH
4941 IFS=$as_save_IFS
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_ac_ct_LD="ld"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 break 2
4949 done
4950 done
4951 IFS=$as_save_IFS
4955 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4956 if test -n "$ac_ct_LD"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4958 $as_echo "$ac_ct_LD" >&6; }
4959 else
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4964 if test "x$ac_ct_LD" = x; then
4965 LD=""
4966 else
4967 case $cross_compiling:$ac_tool_warned in
4968 yes:)
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4971 ac_tool_warned=yes ;;
4972 esac
4973 LD=$ac_ct_LD
4975 else
4976 LD="$ac_cv_prog_LD"
4980 case $host in
4981 *-darwin*)
4982 with_fontconfig=${with_fontconfig:-no}
4984 *-mingw32*|*-cygwin*)
4985 enable_win16=${enable_win16:-no}
4986 CFLAGS="$CFLAGS -D_WIN32"
4988 esac
4990 case $host in
4991 x86_64*|amd64*)
4992 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4993 then
4994 CC="$CC -m32"
4995 CXX="$CXX -m32"
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4997 $as_echo_n "checking whether $CC works... " >&6; }
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5003 main ()
5007 return 0;
5009 _ACEOF
5010 if ac_fn_c_try_link "$LINENO"; then :
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5012 $as_echo "yes" >&6; }
5013 else
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5016 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5018 rm -f core conftest.err conftest.$ac_objext \
5019 conftest$ac_exeext conftest.$ac_ext
5020 host_cpu="i386"
5021 notice_platform="32-bit "
5022 TARGETFLAGS="-m32"
5024 enable_win16=${enable_win16:-yes}
5025 else
5026 if test "x${GCC}" = "xyes"
5027 then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5029 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5032 #include <stdarg.h>
5034 main ()
5036 void func(__builtin_ms_va_list *args);
5038 return 0;
5040 _ACEOF
5041 if ac_fn_c_try_compile "$LINENO"; then :
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5043 $as_echo "yes" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5047 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5051 CC="$CC -m64"
5052 CXX="$CXX -m64"
5053 host_cpu="x86_64"
5054 notice_platform="64-bit "
5055 TARGETFLAGS="-m64"
5059 arm*)
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5061 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5064 int ac_test(int i) { return i; }
5066 main ()
5068 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5070 return 0;
5072 _ACEOF
5073 if ac_fn_c_try_link "$LINENO"; then :
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5075 $as_echo "yes" >&6; }
5076 else
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5079 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5081 rm -f core conftest.err conftest.$ac_objext \
5082 conftest$ac_exeext conftest.$ac_ext
5083 CFLAGS="$CFLAGS -marm"
5084 TARGETFLAGS="-marm"
5087 i[3456789]86*)
5088 enable_win16=${enable_win16:-yes}
5090 esac
5092 enable_win16=${enable_win16:-no}
5093 enable_win64=${enable_win64:-no}
5095 enable_winetest=${enable_winetest:-$enable_tests}
5097 if test -n "$with_wine64"
5098 then
5099 if test "x$enable_win64" = "xyes"
5100 then
5101 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5102 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5104 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5105 You should create a separate build directory and run configure from there." "$LINENO" 5
5106 enable_fonts=${enable_fonts:-no}
5107 enable_server=${enable_server:-no}
5108 elif test "x$enable_win64" = "xyes"
5109 then
5110 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5114 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5115 if ${wine_cv_toolsdir+:} false; then :
5116 $as_echo_n "(cached) " >&6
5117 else
5118 wine_cv_toolsdir="$with_wine_tools"
5119 if test -z "$with_wine_tools"; then
5120 if test "$cross_compiling" = "yes"; then
5121 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5122 elif test -n "$with_wine64"; then
5123 wine_cv_toolsdir="$with_wine64"
5126 if test -z "$wine_cv_toolsdir"; then
5127 wine_makedep=tools/makedep
5128 wine_cv_toolsdir="\$(top_builddir)"
5129 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5130 wine_makedep=$wine_cv_toolsdir/tools/makedep
5131 case "$wine_cv_toolsdir" in
5132 /*) ;;
5133 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5134 esac
5135 enable_tools=${enable_tools:-no}
5136 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5137 else
5138 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5142 $as_echo "$wine_cv_toolsdir" >&6; }
5143 TOOLSDIR=$wine_cv_toolsdir
5145 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5146 then
5147 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5151 for ac_prog in flex
5153 # Extract the first word of "$ac_prog", so it can be a program name with args.
5154 set dummy $ac_prog; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if ${ac_cv_prog_FLEX+:} false; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$FLEX"; then
5161 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_FLEX="$ac_prog"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5174 done
5175 done
5176 IFS=$as_save_IFS
5180 FLEX=$ac_cv_prog_FLEX
5181 if test -n "$FLEX"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5183 $as_echo "$FLEX" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5190 test -n "$FLEX" && break
5191 done
5192 test -n "$FLEX" || FLEX="none"
5194 if test "$FLEX" = "none"
5195 then
5196 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5199 $as_echo_n "checking whether flex is recent enough... " >&6; }
5200 cat >conftest.l <<EOF
5201 %top{
5202 #include "prediluvian.h"
5206 if $FLEX -t conftest.l >/dev/null 2>&5
5207 then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5209 $as_echo "yes" >&6; }
5210 else
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5213 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5216 for ac_prog in bison
5218 # Extract the first word of "$ac_prog", so it can be a program name with args.
5219 set dummy $ac_prog; ac_word=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if ${ac_cv_prog_BISON+:} false; then :
5223 $as_echo_n "(cached) " >&6
5224 else
5225 if test -n "$BISON"; then
5226 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5227 else
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH
5231 IFS=$as_save_IFS
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_prog_BISON="$ac_prog"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 break 2
5239 done
5240 done
5241 IFS=$as_save_IFS
5245 BISON=$ac_cv_prog_BISON
5246 if test -n "$BISON"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5248 $as_echo "$BISON" >&6; }
5249 else
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5255 test -n "$BISON" && break
5256 done
5257 test -n "$BISON" || BISON="none"
5259 if test "$BISON" = "none"
5260 then
5261 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5264 if test -n "$ac_tool_prefix"; then
5265 for ac_prog in ar gar
5267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270 $as_echo_n "checking for $ac_word... " >&6; }
5271 if ${ac_cv_prog_AR+:} false; then :
5272 $as_echo_n "(cached) " >&6
5273 else
5274 if test -n "$AR"; then
5275 ac_cv_prog_AR="$AR" # Let the user override the test.
5276 else
5277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278 for as_dir in $PATH
5280 IFS=$as_save_IFS
5281 test -z "$as_dir" && as_dir=.
5282 for ac_exec_ext in '' $ac_executable_extensions; do
5283 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286 break 2
5288 done
5289 done
5290 IFS=$as_save_IFS
5294 AR=$ac_cv_prog_AR
5295 if test -n "$AR"; then
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5297 $as_echo "$AR" >&6; }
5298 else
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300 $as_echo "no" >&6; }
5304 test -n "$AR" && break
5305 done
5307 if test -z "$AR"; then
5308 ac_ct_AR=$AR
5309 for ac_prog in ar gar
5311 # Extract the first word of "$ac_prog", so it can be a program name with args.
5312 set dummy $ac_prog; ac_word=$2
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314 $as_echo_n "checking for $ac_word... " >&6; }
5315 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5316 $as_echo_n "(cached) " >&6
5317 else
5318 if test -n "$ac_ct_AR"; then
5319 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5320 else
5321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 for as_dir in $PATH
5324 IFS=$as_save_IFS
5325 test -z "$as_dir" && as_dir=.
5326 for ac_exec_ext in '' $ac_executable_extensions; do
5327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5328 ac_cv_prog_ac_ct_AR="$ac_prog"
5329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330 break 2
5332 done
5333 done
5334 IFS=$as_save_IFS
5338 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5339 if test -n "$ac_ct_AR"; then
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5341 $as_echo "$ac_ct_AR" >&6; }
5342 else
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344 $as_echo "no" >&6; }
5348 test -n "$ac_ct_AR" && break
5349 done
5351 if test "x$ac_ct_AR" = x; then
5352 AR="ar"
5353 else
5354 case $cross_compiling:$ac_tool_warned in
5355 yes:)
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5358 ac_tool_warned=yes ;;
5359 esac
5360 AR=$ac_ct_AR
5364 if test -n "$ac_tool_prefix"; then
5365 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5366 set dummy ${ac_tool_prefix}strip; ac_word=$2
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5368 $as_echo_n "checking for $ac_word... " >&6; }
5369 if ${ac_cv_prog_STRIP+:} false; then :
5370 $as_echo_n "(cached) " >&6
5371 else
5372 if test -n "$STRIP"; then
5373 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5374 else
5375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5376 for as_dir in $PATH
5378 IFS=$as_save_IFS
5379 test -z "$as_dir" && as_dir=.
5380 for ac_exec_ext in '' $ac_executable_extensions; do
5381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5382 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 break 2
5386 done
5387 done
5388 IFS=$as_save_IFS
5392 STRIP=$ac_cv_prog_STRIP
5393 if test -n "$STRIP"; then
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5395 $as_echo "$STRIP" >&6; }
5396 else
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398 $as_echo "no" >&6; }
5403 if test -z "$ac_cv_prog_STRIP"; then
5404 ac_ct_STRIP=$STRIP
5405 # Extract the first word of "strip", so it can be a program name with args.
5406 set dummy strip; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5410 $as_echo_n "(cached) " >&6
5411 else
5412 if test -n "$ac_ct_STRIP"; then
5413 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5414 else
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5416 for as_dir in $PATH
5418 IFS=$as_save_IFS
5419 test -z "$as_dir" && as_dir=.
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5422 ac_cv_prog_ac_ct_STRIP="strip"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424 break 2
5426 done
5427 done
5428 IFS=$as_save_IFS
5432 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5433 if test -n "$ac_ct_STRIP"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5435 $as_echo "$ac_ct_STRIP" >&6; }
5436 else
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5441 if test "x$ac_ct_STRIP" = x; then
5442 STRIP="strip"
5443 else
5444 case $cross_compiling:$ac_tool_warned in
5445 yes:)
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5448 ac_tool_warned=yes ;;
5449 esac
5450 STRIP=$ac_ct_STRIP
5452 else
5453 STRIP="$ac_cv_prog_STRIP"
5456 ARFLAGS=rc
5458 if test -n "$ac_tool_prefix"; then
5459 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5460 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5462 $as_echo_n "checking for $ac_word... " >&6; }
5463 if ${ac_cv_prog_RANLIB+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$RANLIB"; then
5467 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5468 else
5469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5470 for as_dir in $PATH
5472 IFS=$as_save_IFS
5473 test -z "$as_dir" && as_dir=.
5474 for ac_exec_ext in '' $ac_executable_extensions; do
5475 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5476 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 break 2
5480 done
5481 done
5482 IFS=$as_save_IFS
5486 RANLIB=$ac_cv_prog_RANLIB
5487 if test -n "$RANLIB"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5489 $as_echo "$RANLIB" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5497 if test -z "$ac_cv_prog_RANLIB"; then
5498 ac_ct_RANLIB=$RANLIB
5499 # Extract the first word of "ranlib", so it can be a program name with args.
5500 set dummy ranlib; ac_word=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5504 $as_echo_n "(cached) " >&6
5505 else
5506 if test -n "$ac_ct_RANLIB"; then
5507 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5508 else
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 for as_dir in $PATH
5512 IFS=$as_save_IFS
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_ac_ct_RANLIB="ranlib"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 break 2
5520 done
5521 done
5522 IFS=$as_save_IFS
5526 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5527 if test -n "$ac_ct_RANLIB"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5529 $as_echo "$ac_ct_RANLIB" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5535 if test "x$ac_ct_RANLIB" = x; then
5536 RANLIB=":"
5537 else
5538 case $cross_compiling:$ac_tool_warned in
5539 yes:)
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5542 ac_tool_warned=yes ;;
5543 esac
5544 RANLIB=$ac_ct_RANLIB
5546 else
5547 RANLIB="$ac_cv_prog_RANLIB"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5551 $as_echo_n "checking whether ln -s works... " >&6; }
5552 LN_S=$as_ln_s
5553 if test "$LN_S" = "ln -s"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5555 $as_echo "yes" >&6; }
5556 else
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5558 $as_echo "no, using $LN_S" >&6; }
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5562 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5563 if ${ac_cv_path_GREP+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 if test -z "$GREP"; then
5567 ac_path_GREP_found=false
5568 # Loop through the user's path and test for each of PROGNAME-LIST
5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5570 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5572 IFS=$as_save_IFS
5573 test -z "$as_dir" && as_dir=.
5574 for ac_prog in grep ggrep; do
5575 for ac_exec_ext in '' $ac_executable_extensions; do
5576 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5577 as_fn_executable_p "$ac_path_GREP" || continue
5578 # Check for GNU ac_path_GREP and select it if it is found.
5579 # Check for GNU $ac_path_GREP
5580 case `"$ac_path_GREP" --version 2>&1` in
5581 *GNU*)
5582 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5584 ac_count=0
5585 $as_echo_n 0123456789 >"conftest.in"
5586 while :
5588 cat "conftest.in" "conftest.in" >"conftest.tmp"
5589 mv "conftest.tmp" "conftest.in"
5590 cp "conftest.in" "conftest.nl"
5591 $as_echo 'GREP' >> "conftest.nl"
5592 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5593 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5594 as_fn_arith $ac_count + 1 && ac_count=$as_val
5595 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5596 # Best one so far, save it but keep looking for a better one
5597 ac_cv_path_GREP="$ac_path_GREP"
5598 ac_path_GREP_max=$ac_count
5600 # 10*(2^10) chars as input seems more than enough
5601 test $ac_count -gt 10 && break
5602 done
5603 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5604 esac
5606 $ac_path_GREP_found && break 3
5607 done
5608 done
5609 done
5610 IFS=$as_save_IFS
5611 if test -z "$ac_cv_path_GREP"; then
5612 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5614 else
5615 ac_cv_path_GREP=$GREP
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5620 $as_echo "$ac_cv_path_GREP" >&6; }
5621 GREP="$ac_cv_path_GREP"
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5625 $as_echo_n "checking for egrep... " >&6; }
5626 if ${ac_cv_path_EGREP+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5630 then ac_cv_path_EGREP="$GREP -E"
5631 else
5632 if test -z "$EGREP"; then
5633 ac_path_EGREP_found=false
5634 # Loop through the user's path and test for each of PROGNAME-LIST
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5638 IFS=$as_save_IFS
5639 test -z "$as_dir" && as_dir=.
5640 for ac_prog in egrep; do
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5643 as_fn_executable_p "$ac_path_EGREP" || continue
5644 # Check for GNU ac_path_EGREP and select it if it is found.
5645 # Check for GNU $ac_path_EGREP
5646 case `"$ac_path_EGREP" --version 2>&1` in
5647 *GNU*)
5648 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5650 ac_count=0
5651 $as_echo_n 0123456789 >"conftest.in"
5652 while :
5654 cat "conftest.in" "conftest.in" >"conftest.tmp"
5655 mv "conftest.tmp" "conftest.in"
5656 cp "conftest.in" "conftest.nl"
5657 $as_echo 'EGREP' >> "conftest.nl"
5658 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5659 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5660 as_fn_arith $ac_count + 1 && ac_count=$as_val
5661 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5662 # Best one so far, save it but keep looking for a better one
5663 ac_cv_path_EGREP="$ac_path_EGREP"
5664 ac_path_EGREP_max=$ac_count
5666 # 10*(2^10) chars as input seems more than enough
5667 test $ac_count -gt 10 && break
5668 done
5669 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5670 esac
5672 $ac_path_EGREP_found && break 3
5673 done
5674 done
5675 done
5676 IFS=$as_save_IFS
5677 if test -z "$ac_cv_path_EGREP"; then
5678 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5680 else
5681 ac_cv_path_EGREP=$EGREP
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5687 $as_echo "$ac_cv_path_EGREP" >&6; }
5688 EGREP="$ac_cv_path_EGREP"
5691 # Extract the first word of "ldconfig", so it can be a program name with args.
5692 set dummy ldconfig; ac_word=$2
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5694 $as_echo_n "checking for $ac_word... " >&6; }
5695 if ${ac_cv_path_LDCONFIG+:} false; then :
5696 $as_echo_n "(cached) " >&6
5697 else
5698 case $LDCONFIG in
5699 [\\/]* | ?:[\\/]*)
5700 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 for as_dir in /sbin /usr/sbin $PATH
5706 IFS=$as_save_IFS
5707 test -z "$as_dir" && as_dir=.
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5710 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712 break 2
5714 done
5715 done
5716 IFS=$as_save_IFS
5718 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5720 esac
5722 LDCONFIG=$ac_cv_path_LDCONFIG
5723 if test -n "$LDCONFIG"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5725 $as_echo "$LDCONFIG" >&6; }
5726 else
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5732 for ac_prog in msgfmt
5734 # Extract the first word of "$ac_prog", so it can be a program name with args.
5735 set dummy $ac_prog; ac_word=$2
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5737 $as_echo_n "checking for $ac_word... " >&6; }
5738 if ${ac_cv_prog_MSGFMT+:} false; then :
5739 $as_echo_n "(cached) " >&6
5740 else
5741 if test -n "$MSGFMT"; then
5742 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5743 else
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 for as_dir in $PATH
5747 IFS=$as_save_IFS
5748 test -z "$as_dir" && as_dir=.
5749 for ac_exec_ext in '' $ac_executable_extensions; do
5750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5751 ac_cv_prog_MSGFMT="$ac_prog"
5752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 break 2
5755 done
5756 done
5757 IFS=$as_save_IFS
5761 MSGFMT=$ac_cv_prog_MSGFMT
5762 if test -n "$MSGFMT"; then
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5764 $as_echo "$MSGFMT" >&6; }
5765 else
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5767 $as_echo "no" >&6; }
5771 test -n "$MSGFMT" && break
5772 done
5773 test -n "$MSGFMT" || MSGFMT="false"
5775 if ${ac_tool_prefix+:} false; then :
5776 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5777 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$PKG_CONFIG"; then
5784 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5804 if test -n "$PKG_CONFIG"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5806 $as_echo "$PKG_CONFIG" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5814 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5815 if test "x$cross_compiling" = xyes; then :
5817 else
5818 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5819 # Extract the first word of "pkg-config", so it can be a program name with args.
5820 set dummy pkg-config; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$PKG_CONFIG"; then
5827 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_PKG_CONFIG="pkg-config"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5847 if test -n "$PKG_CONFIG"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5849 $as_echo "$PKG_CONFIG" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5857 else
5858 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5861 if test "x$enable_maintainer_mode" != "xyes"
5862 then
5863 FONTFORGE=""
5864 RSVG=""
5865 CONVERT=""
5866 ICOTOOL=""
5867 else
5868 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5869 for ac_prog in fontforge
5871 # Extract the first word of "$ac_prog", so it can be a program name with args.
5872 set dummy $ac_prog; ac_word=$2
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874 $as_echo_n "checking for $ac_word... " >&6; }
5875 if ${ac_cv_prog_FONTFORGE+:} false; then :
5876 $as_echo_n "(cached) " >&6
5877 else
5878 if test -n "$FONTFORGE"; then
5879 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5880 else
5881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 for as_dir in $PATH
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5888 ac_cv_prog_FONTFORGE="$ac_prog"
5889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 break 2
5892 done
5893 done
5894 IFS=$as_save_IFS
5898 FONTFORGE=$ac_cv_prog_FONTFORGE
5899 if test -n "$FONTFORGE"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5901 $as_echo "$FONTFORGE" >&6; }
5902 else
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904 $as_echo "no" >&6; }
5908 test -n "$FONTFORGE" && break
5909 done
5910 test -n "$FONTFORGE" || FONTFORGE="false"
5912 for ac_prog in rsvg-convert rsvg
5914 # Extract the first word of "$ac_prog", so it can be a program name with args.
5915 set dummy $ac_prog; ac_word=$2
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5917 $as_echo_n "checking for $ac_word... " >&6; }
5918 if ${ac_cv_prog_RSVG+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if test -n "$RSVG"; then
5922 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5923 else
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH
5927 IFS=$as_save_IFS
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_RSVG="$ac_prog"
5932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5933 break 2
5935 done
5936 done
5937 IFS=$as_save_IFS
5941 RSVG=$ac_cv_prog_RSVG
5942 if test -n "$RSVG"; then
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5944 $as_echo "$RSVG" >&6; }
5945 else
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5947 $as_echo "no" >&6; }
5951 test -n "$RSVG" && break
5952 done
5953 test -n "$RSVG" || RSVG="false"
5955 for ac_prog in convert
5957 # Extract the first word of "$ac_prog", so it can be a program name with args.
5958 set dummy $ac_prog; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_CONVERT+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$CONVERT"; then
5965 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_CONVERT="$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 CONVERT=$ac_cv_prog_CONVERT
5985 if test -n "$CONVERT"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5987 $as_echo "$CONVERT" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$CONVERT" && break
5995 done
5996 test -n "$CONVERT" || CONVERT="false"
5998 for ac_prog in icotool
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_ICOTOOL+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$ICOTOOL"; then
6008 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_ICOTOOL="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 ICOTOOL=$ac_cv_prog_ICOTOOL
6028 if test -n "$ICOTOOL"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6030 $as_echo "$ICOTOOL" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$ICOTOOL" && break
6038 done
6039 test -n "$ICOTOOL" || ICOTOOL="false"
6041 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6042 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6044 if test "$CONVERT" = false
6045 then
6046 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6047 else
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6049 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6050 convert_version=`convert --version | head -n1`
6051 if test "x$convert_version" != "x"
6052 then
6053 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6054 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6055 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6056 then
6057 CONVERT=false
6060 if test "$CONVERT" = false
6061 then
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6063 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6064 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6065 else
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6067 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6071 if test "$ICOTOOL" = false
6072 then
6073 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6074 else
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6076 $as_echo_n "checking for recent enough icotool... " >&6; }
6077 icotool_version=`icotool --version | head -n1`
6078 if test "x$icotool_version" != "x"
6079 then
6080 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6081 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6082 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6083 then
6084 ICOTOOL=false
6085 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6088 if test "$ICOTOOL" = false
6089 then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6091 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6092 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6095 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6099 with_gettext=yes
6100 with_gettextpo=yes
6101 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6104 test "x$with_gettext" != xno || MSGFMT=false
6105 if test "$MSGFMT" != "false"
6106 then
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6108 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6109 cat >conftest.po <<EOF
6110 # comment
6111 msgctxt "ctxt"
6112 msgid "id"
6113 msgstr "str"
6115 if $MSGFMT -o /dev/null conftest.po 2>&5
6116 then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6118 $as_echo "yes" >&6; }
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6122 MSGFMT=false
6125 if test "$MSGFMT" = false; then :
6126 case "x$with_gettext" in
6127 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6128 xno) ;;
6129 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6130 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6131 esac
6132 enable_po=${enable_po:-no}
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6137 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6138 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6139 $as_echo_n "(cached) " >&6
6140 else
6141 ac_check_lib_save_LIBS=$LIBS
6142 LIBS="-li386 $LIBS"
6143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6146 /* Override any GCC internal prototype to avoid an error.
6147 Use char because int might match the return type of a GCC
6148 builtin and then its argument prototype would still apply. */
6149 #ifdef __cplusplus
6150 extern "C"
6151 #endif
6152 char i386_set_ldt ();
6154 main ()
6156 return i386_set_ldt ();
6158 return 0;
6160 _ACEOF
6161 if ac_fn_c_try_link "$LINENO"; then :
6162 ac_cv_lib_i386_i386_set_ldt=yes
6163 else
6164 ac_cv_lib_i386_i386_set_ldt=no
6166 rm -f core conftest.err conftest.$ac_objext \
6167 conftest$ac_exeext conftest.$ac_ext
6168 LIBS=$ac_check_lib_save_LIBS
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6171 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6172 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6173 cat >>confdefs.h <<_ACEOF
6174 #define HAVE_LIBI386 1
6175 _ACEOF
6177 LIBS="-li386 $LIBS"
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6182 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6183 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6184 $as_echo_n "(cached) " >&6
6185 else
6186 ac_check_lib_save_LIBS=$LIBS
6187 LIBS="-lossaudio $LIBS"
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6194 #ifdef __cplusplus
6195 extern "C"
6196 #endif
6197 char _oss_ioctl ();
6199 main ()
6201 return _oss_ioctl ();
6203 return 0;
6205 _ACEOF
6206 if ac_fn_c_try_link "$LINENO"; then :
6207 ac_cv_lib_ossaudio__oss_ioctl=yes
6208 else
6209 ac_cv_lib_ossaudio__oss_ioctl=no
6211 rm -f core conftest.err conftest.$ac_objext \
6212 conftest$ac_exeext conftest.$ac_ext
6213 LIBS=$ac_check_lib_save_LIBS
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6216 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6217 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6218 cat >>confdefs.h <<_ACEOF
6219 #define HAVE_LIBOSSAUDIO 1
6220 _ACEOF
6222 LIBS="-lossaudio $LIBS"
6227 OPENGL_LIBS=""
6231 # Check whether --enable-largefile was given.
6232 if test "${enable_largefile+set}" = set; then :
6233 enableval=$enable_largefile;
6236 if test "$enable_largefile" != no; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6239 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6240 if ${ac_cv_sys_largefile_CC+:} false; then :
6241 $as_echo_n "(cached) " >&6
6242 else
6243 ac_cv_sys_largefile_CC=no
6244 if test "$GCC" != yes; then
6245 ac_save_CC=$CC
6246 while :; do
6247 # IRIX 6.2 and later do not support large files by default,
6248 # so use the C compiler's -n32 option if that helps.
6249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6250 /* end confdefs.h. */
6251 #include <sys/types.h>
6252 /* Check that off_t can represent 2**63 - 1 correctly.
6253 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6254 since some C++ compilers masquerading as C compilers
6255 incorrectly reject 9223372036854775807. */
6256 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6257 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6258 && LARGE_OFF_T % 2147483647 == 1)
6259 ? 1 : -1];
6261 main ()
6265 return 0;
6267 _ACEOF
6268 if ac_fn_c_try_compile "$LINENO"; then :
6269 break
6271 rm -f core conftest.err conftest.$ac_objext
6272 CC="$CC -n32"
6273 if ac_fn_c_try_compile "$LINENO"; then :
6274 ac_cv_sys_largefile_CC=' -n32'; break
6276 rm -f core conftest.err conftest.$ac_objext
6277 break
6278 done
6279 CC=$ac_save_CC
6280 rm -f conftest.$ac_ext
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6284 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6285 if test "$ac_cv_sys_largefile_CC" != no; then
6286 CC=$CC$ac_cv_sys_largefile_CC
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6290 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6291 if ${ac_cv_sys_file_offset_bits+:} false; then :
6292 $as_echo_n "(cached) " >&6
6293 else
6294 while :; do
6295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6296 /* end confdefs.h. */
6297 #include <sys/types.h>
6298 /* Check that off_t can represent 2**63 - 1 correctly.
6299 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6300 since some C++ compilers masquerading as C compilers
6301 incorrectly reject 9223372036854775807. */
6302 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6303 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6304 && LARGE_OFF_T % 2147483647 == 1)
6305 ? 1 : -1];
6307 main ()
6311 return 0;
6313 _ACEOF
6314 if ac_fn_c_try_compile "$LINENO"; then :
6315 ac_cv_sys_file_offset_bits=no; break
6317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6319 /* end confdefs.h. */
6320 #define _FILE_OFFSET_BITS 64
6321 #include <sys/types.h>
6322 /* Check that off_t can represent 2**63 - 1 correctly.
6323 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6324 since some C++ compilers masquerading as C compilers
6325 incorrectly reject 9223372036854775807. */
6326 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6327 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6328 && LARGE_OFF_T % 2147483647 == 1)
6329 ? 1 : -1];
6331 main ()
6335 return 0;
6337 _ACEOF
6338 if ac_fn_c_try_compile "$LINENO"; then :
6339 ac_cv_sys_file_offset_bits=64; break
6341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6342 ac_cv_sys_file_offset_bits=unknown
6343 break
6344 done
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6347 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6348 case $ac_cv_sys_file_offset_bits in #(
6349 no | unknown) ;;
6351 cat >>confdefs.h <<_ACEOF
6352 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6353 _ACEOF
6355 esac
6356 rm -rf conftest*
6357 if test $ac_cv_sys_file_offset_bits = unknown; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6359 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6360 if ${ac_cv_sys_large_files+:} false; then :
6361 $as_echo_n "(cached) " >&6
6362 else
6363 while :; do
6364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6365 /* end confdefs.h. */
6366 #include <sys/types.h>
6367 /* Check that off_t can represent 2**63 - 1 correctly.
6368 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6369 since some C++ compilers masquerading as C compilers
6370 incorrectly reject 9223372036854775807. */
6371 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6372 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6373 && LARGE_OFF_T % 2147483647 == 1)
6374 ? 1 : -1];
6376 main ()
6380 return 0;
6382 _ACEOF
6383 if ac_fn_c_try_compile "$LINENO"; then :
6384 ac_cv_sys_large_files=no; break
6386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6388 /* end confdefs.h. */
6389 #define _LARGE_FILES 1
6390 #include <sys/types.h>
6391 /* Check that off_t can represent 2**63 - 1 correctly.
6392 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6393 since some C++ compilers masquerading as C compilers
6394 incorrectly reject 9223372036854775807. */
6395 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6396 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6397 && LARGE_OFF_T % 2147483647 == 1)
6398 ? 1 : -1];
6400 main ()
6404 return 0;
6406 _ACEOF
6407 if ac_fn_c_try_compile "$LINENO"; then :
6408 ac_cv_sys_large_files=1; break
6410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6411 ac_cv_sys_large_files=unknown
6412 break
6413 done
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6416 $as_echo "$ac_cv_sys_large_files" >&6; }
6417 case $ac_cv_sys_large_files in #(
6418 no | unknown) ;;
6420 cat >>confdefs.h <<_ACEOF
6421 #define _LARGE_FILES $ac_cv_sys_large_files
6422 _ACEOF
6424 esac
6425 rm -rf conftest*
6432 ac_ext=c
6433 ac_cpp='$CPP $CPPFLAGS'
6434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6438 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6439 # On Suns, sometimes $CPP names a directory.
6440 if test -n "$CPP" && test -d "$CPP"; then
6441 CPP=
6443 if test -z "$CPP"; then
6444 if ${ac_cv_prog_CPP+:} false; then :
6445 $as_echo_n "(cached) " >&6
6446 else
6447 # Double quotes because CPP needs to be expanded
6448 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6450 ac_preproc_ok=false
6451 for ac_c_preproc_warn_flag in '' yes
6453 # Use a header file that comes with gcc, so configuring glibc
6454 # with a fresh cross-compiler works.
6455 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6456 # <limits.h> exists even on freestanding compilers.
6457 # On the NeXT, cc -E runs the code through the compiler's parser,
6458 # not just through cpp. "Syntax error" is here to catch this case.
6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6460 /* end confdefs.h. */
6461 #ifdef __STDC__
6462 # include <limits.h>
6463 #else
6464 # include <assert.h>
6465 #endif
6466 Syntax error
6467 _ACEOF
6468 if ac_fn_c_try_cpp "$LINENO"; then :
6470 else
6471 # Broken: fails on valid input.
6472 continue
6474 rm -f conftest.err conftest.i conftest.$ac_ext
6476 # OK, works on sane cases. Now check whether nonexistent headers
6477 # can be detected and how.
6478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6479 /* end confdefs.h. */
6480 #include <ac_nonexistent.h>
6481 _ACEOF
6482 if ac_fn_c_try_cpp "$LINENO"; then :
6483 # Broken: success on invalid input.
6484 continue
6485 else
6486 # Passes both tests.
6487 ac_preproc_ok=:
6488 break
6490 rm -f conftest.err conftest.i conftest.$ac_ext
6492 done
6493 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6494 rm -f conftest.i conftest.err conftest.$ac_ext
6495 if $ac_preproc_ok; then :
6496 break
6499 done
6500 ac_cv_prog_CPP=$CPP
6503 CPP=$ac_cv_prog_CPP
6504 else
6505 ac_cv_prog_CPP=$CPP
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6508 $as_echo "$CPP" >&6; }
6509 ac_preproc_ok=false
6510 for ac_c_preproc_warn_flag in '' yes
6512 # Use a header file that comes with gcc, so configuring glibc
6513 # with a fresh cross-compiler works.
6514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6515 # <limits.h> exists even on freestanding compilers.
6516 # On the NeXT, cc -E runs the code through the compiler's parser,
6517 # not just through cpp. "Syntax error" is here to catch this case.
6518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6519 /* end confdefs.h. */
6520 #ifdef __STDC__
6521 # include <limits.h>
6522 #else
6523 # include <assert.h>
6524 #endif
6525 Syntax error
6526 _ACEOF
6527 if ac_fn_c_try_cpp "$LINENO"; then :
6529 else
6530 # Broken: fails on valid input.
6531 continue
6533 rm -f conftest.err conftest.i conftest.$ac_ext
6535 # OK, works on sane cases. Now check whether nonexistent headers
6536 # can be detected and how.
6537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6538 /* end confdefs.h. */
6539 #include <ac_nonexistent.h>
6540 _ACEOF
6541 if ac_fn_c_try_cpp "$LINENO"; then :
6542 # Broken: success on invalid input.
6543 continue
6544 else
6545 # Passes both tests.
6546 ac_preproc_ok=:
6547 break
6549 rm -f conftest.err conftest.i conftest.$ac_ext
6551 done
6552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6553 rm -f conftest.i conftest.err conftest.$ac_ext
6554 if $ac_preproc_ok; then :
6556 else
6557 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6559 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6560 See \`config.log' for more details" "$LINENO" 5; }
6563 ac_ext=c
6564 ac_cpp='$CPP $CPPFLAGS'
6565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6571 $as_echo_n "checking for ANSI C header files... " >&6; }
6572 if ${ac_cv_header_stdc+:} false; then :
6573 $as_echo_n "(cached) " >&6
6574 else
6575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6576 /* end confdefs.h. */
6577 #include <stdlib.h>
6578 #include <stdarg.h>
6579 #include <string.h>
6580 #include <float.h>
6583 main ()
6587 return 0;
6589 _ACEOF
6590 if ac_fn_c_try_compile "$LINENO"; then :
6591 ac_cv_header_stdc=yes
6592 else
6593 ac_cv_header_stdc=no
6595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6597 if test $ac_cv_header_stdc = yes; then
6598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6600 /* end confdefs.h. */
6601 #include <string.h>
6603 _ACEOF
6604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6605 $EGREP "memchr" >/dev/null 2>&1; then :
6607 else
6608 ac_cv_header_stdc=no
6610 rm -f conftest*
6614 if test $ac_cv_header_stdc = yes; then
6615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6618 #include <stdlib.h>
6620 _ACEOF
6621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6622 $EGREP "free" >/dev/null 2>&1; then :
6624 else
6625 ac_cv_header_stdc=no
6627 rm -f conftest*
6631 if test $ac_cv_header_stdc = yes; then
6632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6633 if test "$cross_compiling" = yes; then :
6635 else
6636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6637 /* end confdefs.h. */
6638 #include <ctype.h>
6639 #include <stdlib.h>
6640 #if ((' ' & 0x0FF) == 0x020)
6641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6643 #else
6644 # define ISLOWER(c) \
6645 (('a' <= (c) && (c) <= 'i') \
6646 || ('j' <= (c) && (c) <= 'r') \
6647 || ('s' <= (c) && (c) <= 'z'))
6648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6649 #endif
6651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6653 main ()
6655 int i;
6656 for (i = 0; i < 256; i++)
6657 if (XOR (islower (i), ISLOWER (i))
6658 || toupper (i) != TOUPPER (i))
6659 return 2;
6660 return 0;
6662 _ACEOF
6663 if ac_fn_c_try_run "$LINENO"; then :
6665 else
6666 ac_cv_header_stdc=no
6668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6669 conftest.$ac_objext conftest.beam conftest.$ac_ext
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6675 $as_echo "$ac_cv_header_stdc" >&6; }
6676 if test $ac_cv_header_stdc = yes; then
6678 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6682 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6683 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6684 inttypes.h stdint.h unistd.h
6685 do :
6686 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6687 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6689 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6690 cat >>confdefs.h <<_ACEOF
6691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6692 _ACEOF
6696 done
6699 for ac_header in \
6700 AL/al.h \
6701 ApplicationServices/ApplicationServices.h \
6702 AudioToolbox/AudioConverter.h \
6703 AudioUnit/AudioUnit.h \
6704 AudioUnit/AudioComponent.h \
6705 CL/cl.h \
6706 Carbon/Carbon.h \
6707 CommonCrypto/CommonDigest.h \
6708 CoreAudio/CoreAudio.h \
6709 CoreServices/CoreServices.h \
6710 DiskArbitration/DiskArbitration.h \
6711 IOKit/IOKitLib.h \
6712 IOKit/hid/IOHIDLib.h \
6713 OpenAL/al.h \
6714 OpenCL/opencl.h \
6715 QuickTime/ImageCompression.h \
6716 Security/Security.h \
6717 alias.h \
6718 alsa/asoundlib.h \
6719 arpa/inet.h \
6720 arpa/nameser.h \
6721 asm/types.h \
6722 asm/user.h \
6723 curses.h \
6724 direct.h \
6725 dirent.h \
6726 dlfcn.h \
6727 elf.h \
6728 float.h \
6729 fnmatch.h \
6730 getopt.h \
6731 gettext-po.h \
6732 grp.h \
6733 gsm.h \
6734 gsm/gsm.h \
6735 ieeefp.h \
6736 inet/mib2.h \
6737 io.h \
6738 kstat.h \
6739 lber.h \
6740 ldap.h \
6741 libproc.h \
6742 link.h \
6743 linux/cdrom.h \
6744 linux/compiler.h \
6745 linux/filter.h \
6746 linux/hdreg.h \
6747 linux/input.h \
6748 linux/ioctl.h \
6749 linux/joystick.h \
6750 linux/major.h \
6751 linux/param.h \
6752 linux/serial.h \
6753 linux/types.h \
6754 linux/ucdrom.h \
6755 lwp.h \
6756 mach-o/nlist.h \
6757 mach-o/loader.h \
6758 mach/mach.h \
6759 mach/machine.h \
6760 machine/cpu.h \
6761 machine/limits.h \
6762 machine/sysarch.h \
6763 mntent.h \
6764 ncurses.h \
6765 netdb.h \
6766 netinet/in.h \
6767 netinet/in_systm.h \
6768 netinet/tcp.h \
6769 netinet/tcp_fsm.h \
6770 pcap/pcap.h \
6771 poll.h \
6772 port.h \
6773 process.h \
6774 pthread.h \
6775 pwd.h \
6776 sched.h \
6777 scsi/scsi.h \
6778 scsi/scsi_ioctl.h \
6779 scsi/sg.h \
6780 stdbool.h \
6781 stdint.h \
6782 stropts.h \
6783 sys/asoundlib.h \
6784 sys/attr.h \
6785 sys/cdio.h \
6786 sys/elf32.h \
6787 sys/epoll.h \
6788 sys/event.h \
6789 sys/exec_elf.h \
6790 sys/filio.h \
6791 sys/inotify.h \
6792 sys/ioctl.h \
6793 sys/ipc.h \
6794 sys/limits.h \
6795 sys/link.h \
6796 sys/mman.h \
6797 sys/modem.h \
6798 sys/msg.h \
6799 sys/mtio.h \
6800 sys/param.h \
6801 sys/poll.h \
6802 sys/prctl.h \
6803 sys/protosw.h \
6804 sys/ptrace.h \
6805 sys/queue.h \
6806 sys/resource.h \
6807 sys/scsiio.h \
6808 sys/shm.h \
6809 sys/signal.h \
6810 sys/socket.h \
6811 sys/socketvar.h \
6812 sys/sockio.h \
6813 sys/statvfs.h \
6814 sys/strtio.h \
6815 sys/syscall.h \
6816 sys/sysinfo.h \
6817 sys/tihdr.h \
6818 sys/time.h \
6819 sys/timeout.h \
6820 sys/times.h \
6821 sys/uio.h \
6822 sys/user.h \
6823 sys/utsname.h \
6824 sys/vm86.h \
6825 sys/vnode.h \
6826 sys/wait.h \
6827 syscall.h \
6828 termios.h \
6829 unistd.h \
6830 utime.h \
6831 valgrind/memcheck.h \
6832 valgrind/valgrind.h \
6833 zlib.h
6835 do :
6836 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6837 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6838 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6839 cat >>confdefs.h <<_ACEOF
6840 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6841 _ACEOF
6845 done
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6848 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6849 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6850 $as_echo_n "(cached) " >&6
6851 else
6852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6854 #include <sys/types.h>
6856 main ()
6858 return makedev(0, 0);
6860 return 0;
6862 _ACEOF
6863 if ac_fn_c_try_link "$LINENO"; then :
6864 ac_cv_header_sys_types_h_makedev=yes
6865 else
6866 ac_cv_header_sys_types_h_makedev=no
6868 rm -f core conftest.err conftest.$ac_objext \
6869 conftest$ac_exeext conftest.$ac_ext
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
6873 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
6875 if test $ac_cv_header_sys_types_h_makedev = no; then
6876 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
6877 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
6879 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
6885 if test $ac_cv_header_sys_mkdev_h = no; then
6886 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
6887 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
6889 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6898 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6899 if ${ac_cv_header_stat_broken+:} false; then :
6900 $as_echo_n "(cached) " >&6
6901 else
6902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6904 #include <sys/types.h>
6905 #include <sys/stat.h>
6907 #if defined S_ISBLK && defined S_IFDIR
6908 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6909 #endif
6911 #if defined S_ISBLK && defined S_IFCHR
6912 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6913 #endif
6915 #if defined S_ISLNK && defined S_IFREG
6916 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6917 #endif
6919 #if defined S_ISSOCK && defined S_IFREG
6920 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6921 #endif
6923 _ACEOF
6924 if ac_fn_c_try_compile "$LINENO"; then :
6925 ac_cv_header_stat_broken=no
6926 else
6927 ac_cv_header_stat_broken=yes
6929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6932 $as_echo "$ac_cv_header_stat_broken" >&6; }
6933 if test $ac_cv_header_stat_broken = yes; then
6935 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6941 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6942 do :
6943 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6944 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6945 #ifdef HAVE_SYS_PARAM_H
6946 # include <sys/param.h>
6947 #endif
6949 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6950 cat >>confdefs.h <<_ACEOF
6951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6952 _ACEOF
6956 done
6959 for ac_header in \
6960 netinet/ip.h \
6961 net/if.h \
6962 net/if_arp.h \
6963 net/if_dl.h \
6964 net/if_types.h \
6965 net/route.h \
6966 netinet/if_ether.h \
6967 netinet/if_inarp.h \
6968 netinet/in_pcb.h \
6969 netinet/ip_icmp.h \
6970 netinet/ip_var.h \
6971 netinet/udp.h \
6972 netipx/ipx.h \
6973 sys/un.h \
6975 do :
6976 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6977 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6978 #ifdef HAVE_SYS_SOCKET_H
6979 # include <sys/socket.h>
6980 #endif
6981 #ifdef HAVE_SYS_SOCKETVAR_H
6982 # include <sys/socketvar.h>
6983 #endif
6984 #ifdef HAVE_NET_ROUTE_H
6985 # include <net/route.h>
6986 #endif
6987 #ifdef HAVE_NETINET_IN_H
6988 # include <netinet/in.h>
6989 #endif
6990 #ifdef HAVE_NETINET_IN_SYSTM_H
6991 # include <netinet/in_systm.h>
6992 #endif
6993 #ifdef HAVE_NET_IF_H
6994 # include <net/if.h>
6995 #endif
6996 #ifdef HAVE_NETINET_IP_H
6997 # include <netinet/ip.h>
6998 #endif
7000 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7001 cat >>confdefs.h <<_ACEOF
7002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7003 _ACEOF
7007 done
7010 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7011 do :
7012 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7013 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7014 #ifdef HAVE_ALIAS_H
7015 # include <alias.h>
7016 #endif
7017 #ifdef HAVE_SYS_SOCKET_H
7018 # include <sys/socket.h>
7019 #endif
7020 #ifdef HAVE_SYS_SOCKETVAR_H
7021 # include <sys/socketvar.h>
7022 #endif
7023 #ifdef HAVE_SYS_TIMEOUT_H
7024 # include <sys/timeout.h>
7025 #endif
7026 #ifdef HAVE_NETINET_IN_H
7027 # include <netinet/in.h>
7028 #endif
7029 #ifdef HAVE_NETINET_IN_SYSTM_H
7030 # include <netinet/in_systm.h>
7031 #endif
7032 #ifdef HAVE_NETINET_IP_H
7033 # include <netinet/ip.h>
7034 #endif
7035 #ifdef HAVE_NETINET_IP_VAR_H
7036 # include <netinet/ip_var.h>
7037 #endif
7038 #ifdef HAVE_NETINET_IP_ICMP_H
7039 # include <netinet/ip_icmp.h>
7040 #endif
7041 #ifdef HAVE_NETINET_UDP_H
7042 # include <netinet/udp.h>
7043 #endif
7044 #ifdef HAVE_NETINET_TCP_H
7045 # include <netinet/tcp.h>
7046 #endif
7047 #ifdef HAVE_NETINET_TCP_TIMER_H
7048 #include <netinet/tcp_timer.h>
7049 #endif
7051 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7052 cat >>confdefs.h <<_ACEOF
7053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7054 _ACEOF
7058 done
7061 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7062 do :
7063 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7064 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7065 #ifdef HAVE_ASM_TYPES_H
7066 # include <asm/types.h>
7067 #endif
7068 #ifdef HAVE_SYS_SOCKET_H
7069 # include <sys/socket.h>
7070 #endif
7071 #ifdef HAVE_LINUX_TYPES_H
7072 # include <linux/types.h>
7073 #endif
7075 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7076 cat >>confdefs.h <<_ACEOF
7077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7078 _ACEOF
7082 done
7085 for ac_header in mach-o/dyld_images.h
7086 do :
7087 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7088 # include <stdbool.h>
7089 #endif
7090 #ifdef HAVE_STDINT_H
7091 # include <stdint.h>
7092 #endif
7094 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7095 cat >>confdefs.h <<_ACEOF
7096 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7097 _ACEOF
7101 done
7104 for ac_header in resolv.h
7105 do :
7106 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7107 #ifdef HAVE_SYS_SOCKET_H
7108 # include <sys/socket.h>
7109 #endif
7110 #ifdef HAVE_NETINET_IN_H
7111 # include <netinet/in.h>
7112 #endif
7113 #ifdef HAVE_ARPA_NAMESER_H
7114 # include <arpa/nameser.h>
7115 #endif
7117 if test "x$ac_cv_header_resolv_h" = xyes; then :
7118 cat >>confdefs.h <<_ACEOF
7119 #define HAVE_RESOLV_H 1
7120 _ACEOF
7124 done
7127 for ac_header in ifaddrs.h
7128 do :
7129 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7131 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7132 cat >>confdefs.h <<_ACEOF
7133 #define HAVE_IFADDRS_H 1
7134 _ACEOF
7138 done
7141 for ac_header in sys/ucontext.h
7142 do :
7143 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7145 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7146 cat >>confdefs.h <<_ACEOF
7147 #define HAVE_SYS_UCONTEXT_H 1
7148 _ACEOF
7152 done
7155 for ac_header in sys/thr.h
7156 do :
7157 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7158 #ifdef HAVE_SYS_UCONTEXT_H
7159 #include <sys/ucontext.h>
7160 #endif
7162 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7163 cat >>confdefs.h <<_ACEOF
7164 #define HAVE_SYS_THR_H 1
7165 _ACEOF
7169 done
7172 for ac_header in pthread_np.h
7173 do :
7174 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7175 #include <pthread.h>
7176 #endif
7178 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7179 cat >>confdefs.h <<_ACEOF
7180 #define HAVE_PTHREAD_NP_H 1
7181 _ACEOF
7185 done
7188 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7189 do :
7190 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7191 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7192 #include <sys/time.h>
7193 #endif
7194 #include <sys/types.h>
7195 #ifdef HAVE_ASM_TYPES_H
7196 #include <asm/types.h>
7197 #endif
7199 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7200 cat >>confdefs.h <<_ACEOF
7201 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7202 _ACEOF
7206 done
7209 for ac_header in libprocstat.h
7210 do :
7211 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7212 #include <sys/param.h>
7213 #endif
7214 #ifdef HAVE_SYS_QUEUE_H
7215 #include <sys/queue.h>
7216 #endif
7217 #ifdef HAVE_SYS_SOCKET_H
7218 #include <sys/socket.h>
7219 #endif
7221 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define HAVE_LIBPROCSTAT_H 1
7224 _ACEOF
7228 done
7232 dlldir="\${libdir}/wine"
7234 DLLFLAGS="-D_REENTRANT"
7236 LDRPATH_INSTALL=""
7238 LDRPATH_LOCAL=""
7240 LDEXECFLAGS=""
7242 LIBEXT="so"
7243 DLLEXT=".so"
7244 IMPLIBEXT="def"
7245 # Extract the first word of "ldd", so it can be a program name with args.
7246 set dummy ldd; ac_word=$2
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248 $as_echo_n "checking for $ac_word... " >&6; }
7249 if ${ac_cv_path_LDD+:} false; then :
7250 $as_echo_n "(cached) " >&6
7251 else
7252 case $LDD in
7253 [\\/]* | ?:[\\/]*)
7254 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 as_dummy="/sbin:/usr/sbin:$PATH"
7259 for as_dir in $as_dummy
7261 IFS=$as_save_IFS
7262 test -z "$as_dir" && as_dir=.
7263 for ac_exec_ext in '' $ac_executable_extensions; do
7264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7265 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 break 2
7269 done
7270 done
7271 IFS=$as_save_IFS
7273 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7275 esac
7277 LDD=$ac_cv_path_LDD
7278 if test -n "$LDD"; then
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7280 $as_echo "$LDD" >&6; }
7281 else
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283 $as_echo "no" >&6; }
7287 if test -n "$ac_tool_prefix"; then
7288 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7289 set dummy ${ac_tool_prefix}otool; ac_word=$2
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7291 $as_echo_n "checking for $ac_word... " >&6; }
7292 if ${ac_cv_prog_OTOOL+:} false; then :
7293 $as_echo_n "(cached) " >&6
7294 else
7295 if test -n "$OTOOL"; then
7296 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7297 else
7298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299 for as_dir in $PATH
7301 IFS=$as_save_IFS
7302 test -z "$as_dir" && as_dir=.
7303 for ac_exec_ext in '' $ac_executable_extensions; do
7304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7305 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 break 2
7309 done
7310 done
7311 IFS=$as_save_IFS
7315 OTOOL=$ac_cv_prog_OTOOL
7316 if test -n "$OTOOL"; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7318 $as_echo "$OTOOL" >&6; }
7319 else
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7326 if test -z "$ac_cv_prog_OTOOL"; then
7327 ac_ct_OTOOL=$OTOOL
7328 # Extract the first word of "otool", so it can be a program name with args.
7329 set dummy otool; ac_word=$2
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 $as_echo_n "checking for $ac_word... " >&6; }
7332 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7333 $as_echo_n "(cached) " >&6
7334 else
7335 if test -n "$ac_ct_OTOOL"; then
7336 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7337 else
7338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 for as_dir in $PATH
7341 IFS=$as_save_IFS
7342 test -z "$as_dir" && as_dir=.
7343 for ac_exec_ext in '' $ac_executable_extensions; do
7344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7345 ac_cv_prog_ac_ct_OTOOL="otool"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7347 break 2
7349 done
7350 done
7351 IFS=$as_save_IFS
7355 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7356 if test -n "$ac_ct_OTOOL"; then
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7358 $as_echo "$ac_ct_OTOOL" >&6; }
7359 else
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361 $as_echo "no" >&6; }
7364 if test "x$ac_ct_OTOOL" = x; then
7365 OTOOL="otool"
7366 else
7367 case $cross_compiling:$ac_tool_warned in
7368 yes:)
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7371 ac_tool_warned=yes ;;
7372 esac
7373 OTOOL=$ac_ct_OTOOL
7375 else
7376 OTOOL="$ac_cv_prog_OTOOL"
7379 if test -n "$ac_tool_prefix"; then
7380 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7381 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 $as_echo_n "checking for $ac_word... " >&6; }
7384 if ${ac_cv_prog_READELF+:} false; then :
7385 $as_echo_n "(cached) " >&6
7386 else
7387 if test -n "$READELF"; then
7388 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7389 else
7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7391 for as_dir in $PATH
7393 IFS=$as_save_IFS
7394 test -z "$as_dir" && as_dir=.
7395 for ac_exec_ext in '' $ac_executable_extensions; do
7396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7397 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 break 2
7401 done
7402 done
7403 IFS=$as_save_IFS
7407 READELF=$ac_cv_prog_READELF
7408 if test -n "$READELF"; then
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7410 $as_echo "$READELF" >&6; }
7411 else
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7413 $as_echo "no" >&6; }
7418 if test -z "$ac_cv_prog_READELF"; then
7419 ac_ct_READELF=$READELF
7420 # Extract the first word of "readelf", so it can be a program name with args.
7421 set dummy readelf; ac_word=$2
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7423 $as_echo_n "checking for $ac_word... " >&6; }
7424 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7425 $as_echo_n "(cached) " >&6
7426 else
7427 if test -n "$ac_ct_READELF"; then
7428 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7429 else
7430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7431 for as_dir in $PATH
7433 IFS=$as_save_IFS
7434 test -z "$as_dir" && as_dir=.
7435 for ac_exec_ext in '' $ac_executable_extensions; do
7436 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7437 ac_cv_prog_ac_ct_READELF="readelf"
7438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7439 break 2
7441 done
7442 done
7443 IFS=$as_save_IFS
7447 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7448 if test -n "$ac_ct_READELF"; then
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7450 $as_echo "$ac_ct_READELF" >&6; }
7451 else
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7453 $as_echo "no" >&6; }
7456 if test "x$ac_ct_READELF" = x; then
7457 READELF="true"
7458 else
7459 case $cross_compiling:$ac_tool_warned in
7460 yes:)
7461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7462 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7463 ac_tool_warned=yes ;;
7464 esac
7465 READELF=$ac_ct_READELF
7467 else
7468 READELF="$ac_cv_prog_READELF"
7471 wine_rules_file=conf$$rules.make
7472 rm -f $wine_rules_file
7473 SUBDIRS=""
7475 DISABLED_SUBDIRS=""
7477 CONFIGURE_TARGETS=""
7479 ALL_TEST_RESOURCES=""
7482 wine_fn_append_file ()
7484 as_fn_append $1 " \\$as_nl $2"
7487 wine_fn_append_rule ()
7489 $as_echo "$1" >>$wine_rules_file
7492 wine_fn_has_flag ()
7494 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7497 wine_fn_all_rules ()
7499 wine_fn_append_file SUBDIRS $ac_dir
7500 wine_fn_append_rule \
7501 "all: $ac_dir
7502 .PHONY: $ac_dir
7503 $ac_dir: dummy
7504 @cd $ac_dir && \$(MAKE)"
7507 wine_fn_install_rules ()
7509 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7511 wine_fn_append_rule \
7512 ".PHONY: $ac_dir/install $ac_dir/uninstall
7513 $ac_dir/install:: $ac_dir
7514 @cd $ac_dir && \$(MAKE) install
7515 $ac_dir/uninstall::
7516 @cd $ac_dir && \$(MAKE) uninstall
7517 install:: $ac_dir/install
7518 __uninstall__: $ac_dir/uninstall"
7520 if wine_fn_has_flag install-lib
7521 then
7522 wine_fn_append_rule \
7523 ".PHONY: $ac_dir/install-lib
7524 $ac_dir/install-lib:: $ac_dir
7525 @cd $ac_dir && \$(MAKE) install-lib
7526 install-lib:: $ac_dir/install-lib"
7529 if wine_fn_has_flag install-dev
7530 then
7531 wine_fn_append_rule \
7532 ".PHONY: $ac_dir/install-dev
7533 $ac_dir/install-dev:: $ac_dir
7534 @cd $ac_dir && \$(MAKE) install-dev
7535 install-dev:: $ac_dir/install-dev"
7539 wine_fn_clean_rules ()
7541 ac_clean=$@
7543 if wine_fn_has_flag clean
7544 then
7545 wine_fn_append_rule \
7546 "$ac_dir/clean: dummy
7547 @cd $ac_dir && \$(MAKE) clean"
7548 else
7549 wine_fn_append_rule \
7550 "$ac_dir/clean: dummy
7551 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7553 wine_fn_append_rule \
7554 "__clean__: $ac_dir/clean
7555 .PHONY: $ac_dir/clean"
7558 wine_fn_disabled_rules ()
7560 ac_clean=$@
7562 wine_fn_append_file SUBDIRS $ac_dir
7563 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7564 wine_fn_append_rule \
7565 "__clean__: $ac_dir/clean
7566 .PHONY: $ac_dir/clean
7567 $ac_dir/clean: dummy
7568 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7571 wine_fn_config_makefile ()
7573 ac_dir=$1
7574 ac_enable=$2
7575 ac_flags=$3
7577 case $ac_dir in
7578 fonts|server) test -z "$with_wine64" || return ;;
7579 esac
7580 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7581 wine_fn_disabled_rules; return
7583 wine_fn_all_rules
7584 wine_fn_install_rules
7585 wine_fn_clean_rules
7588 wine_fn_config_lib ()
7590 ac_name=$1
7591 ac_flags=$2
7592 ac_dir=dlls/$ac_name
7593 ac_deps="include"
7595 if test "x$enable_tools" = xno; then :
7597 else
7598 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7600 wine_fn_all_rules
7601 wine_fn_clean_rules
7603 wine_fn_append_rule \
7604 ".PHONY: $ac_dir/install $ac_dir/uninstall
7605 $ac_dir/install:: $ac_dir
7606 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7607 $ac_dir/uninstall::
7608 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7609 install install-dev:: $ac_dir/install
7610 __uninstall__: $ac_dir/uninstall
7611 __builddeps__: $ac_dir
7612 $ac_dir: $ac_deps"
7615 wine_fn_config_dll ()
7617 ac_name=$1
7618 ac_dir=dlls/$ac_name
7619 ac_enable=$2
7620 ac_flags=$3
7621 ac_implib=${4:-$ac_name}
7622 ac_file=$ac_dir/lib$ac_implib
7623 ac_dll=$ac_name
7624 ac_deps="include"
7625 ac_implibflags=""
7627 if test "x$enable_tools" = xno; then :
7629 else
7630 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7632 case $ac_name in
7633 *16) ac_implibflags=" -m16" ;;
7634 *.*) ;;
7635 *) ac_dll=$ac_dll.dll ;;
7636 esac
7638 ac_clean=
7639 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7640 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7642 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7643 if test "$ac_enable" != enable_win16
7644 then
7645 wine_fn_clean_rules $ac_clean
7646 wine_fn_append_file SUBDIRS $ac_dir
7647 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7648 else
7649 wine_fn_disabled_rules $ac_clean
7650 return
7652 else
7653 wine_fn_all_rules
7654 wine_fn_clean_rules $ac_clean
7655 wine_fn_append_rule \
7656 "$ac_dir: __builddeps__
7657 manpages htmlpages sgmlpages xmlpages::
7658 @cd $ac_dir && \$(MAKE) \$@
7659 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7660 install install-lib:: $ac_dir/install-lib
7661 __uninstall__: $ac_dir/uninstall"
7662 if test -n "$DLLEXT"
7663 then
7664 wine_fn_append_rule \
7665 "$ac_dir/install-lib:: $ac_dir
7666 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7667 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7668 $ac_dir/uninstall::
7669 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7670 else
7671 wine_fn_append_rule \
7672 "$ac_dir/install-lib:: $ac_dir
7673 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7674 $ac_dir/uninstall::
7675 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7679 if wine_fn_has_flag staticimplib
7680 then
7681 wine_fn_append_rule \
7682 "__builddeps__: $ac_file.a
7683 $ac_file.a $ac_file.cross.a: $ac_deps
7684 $ac_file.a: dummy
7685 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7686 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7687 $ac_dir/install-dev:: $ac_file.a
7688 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7689 $ac_dir/uninstall::
7690 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7691 install install-dev:: $ac_dir/install-dev
7692 __uninstall__: $ac_dir/uninstall"
7694 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7695 then
7696 wine_fn_append_rule \
7697 "__builddeps__: $ac_file.cross.a
7698 $ac_file.cross.a: dummy
7699 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7702 elif wine_fn_has_flag implib
7703 then
7704 wine_fn_append_rule \
7705 "__builddeps__: $ac_file.$IMPLIBEXT
7706 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7707 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7708 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7709 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7710 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7711 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7712 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7713 $ac_dir/uninstall::
7714 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7715 install install-dev:: $ac_dir/install-dev
7716 __uninstall__: $ac_dir/uninstall"
7717 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7718 then
7719 wine_fn_append_rule \
7720 "__builddeps__: $ac_file.cross.a
7721 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7722 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7727 wine_fn_config_program ()
7729 ac_name=$1
7730 ac_dir=programs/$ac_name
7731 ac_enable=$2
7732 ac_flags=$3
7733 ac_program=$ac_name
7735 case $ac_name in
7736 *.*) ;;
7737 *) ac_program=$ac_program.exe ;;
7738 esac
7740 ac_clean=
7741 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7742 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7744 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7745 wine_fn_disabled_rules $ac_clean; return
7748 wine_fn_all_rules
7749 wine_fn_clean_rules $ac_clean
7750 wine_fn_append_rule "$ac_dir: __builddeps__"
7752 wine_fn_has_flag install || return
7753 wine_fn_append_rule \
7754 ".PHONY: $ac_dir/install $ac_dir/uninstall
7755 install install-lib:: $ac_dir/install
7756 __uninstall__: $ac_dir/uninstall"
7758 if test -n "$DLLEXT"
7759 then
7760 wine_fn_append_rule \
7761 "$ac_dir/install:: $ac_dir
7762 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7763 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7764 $ac_dir/uninstall::
7765 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7767 if test -z "$with_wine64" && wine_fn_has_flag installbin
7768 then
7769 wine_fn_append_rule \
7770 "$ac_dir/install:: __tooldeps__
7771 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7772 $ac_dir/uninstall::
7773 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7775 else
7776 wine_fn_append_rule \
7777 "$ac_dir/install:: $ac_dir
7778 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7779 $ac_dir/uninstall::
7780 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7783 if test -z "$with_wine64" && wine_fn_has_flag manpage
7784 then
7785 wine_fn_append_rule \
7786 "$ac_dir/install:: $ac_dir
7787 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7788 $ac_dir/uninstall::
7789 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7793 wine_fn_config_test ()
7795 ac_dir=$1
7796 ac_name=$2
7797 ac_flags=$3
7799 ac_clean=
7800 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7801 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7803 if test "x$enable_tests" = xno; then :
7804 wine_fn_disabled_rules $ac_clean; return
7807 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7808 wine_fn_all_rules
7809 wine_fn_clean_rules $ac_clean
7811 wine_fn_append_rule \
7812 "$ac_dir: __builddeps__
7813 programs/winetest: $ac_dir
7814 check test: $ac_dir/test
7815 .PHONY: $ac_dir/test
7816 $ac_dir/test: dummy
7817 @cd $ac_dir && \$(MAKE) test
7818 testclean::
7819 \$(RM) $ac_dir/*.ok"
7821 if test -n "$CROSSTARGET"
7822 then
7823 wine_fn_append_rule \
7824 "crosstest: $ac_dir/crosstest
7825 .PHONY: $ac_dir/crosstest
7826 $ac_dir/crosstest: __builddeps__ dummy
7827 @cd $ac_dir && \$(MAKE) crosstest"
7831 wine_fn_config_tool ()
7833 ac_dir=$1
7834 ac_flags=$2
7835 if test "x$enable_tools" = xno; then :
7836 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7839 wine_fn_all_rules
7840 wine_fn_install_rules
7841 wine_fn_clean_rules
7843 wine_fn_append_rule "__tooldeps__: $ac_dir"
7844 wine_fn_append_rule "$ac_dir: libs/port"
7845 case $ac_dir in
7846 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7847 esac
7850 wine_fn_config_symlink ()
7852 ac_linkdir=
7853 if test "x$1" = "x-d"
7854 then
7855 ac_linkdir=$2
7856 shift; shift
7858 ac_links=$@
7859 wine_fn_append_rule \
7860 "$ac_links:
7861 @./config.status \$@"
7862 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7863 test -n "$ac_linkdir" || return
7864 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7867 wine_binary="wine"
7868 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7869 WINELOADER_PROGRAMS="$wine_binary"
7871 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7873 case $host_os in
7874 cygwin*|mingw32*)
7875 if test -n "$ac_tool_prefix"; then
7876 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7877 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_prog_DLLTOOL+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 if test -n "$DLLTOOL"; then
7884 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7885 else
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 for as_dir in $PATH
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7897 done
7898 done
7899 IFS=$as_save_IFS
7903 DLLTOOL=$ac_cv_prog_DLLTOOL
7904 if test -n "$DLLTOOL"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7906 $as_echo "$DLLTOOL" >&6; }
7907 else
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7914 if test -z "$ac_cv_prog_DLLTOOL"; then
7915 ac_ct_DLLTOOL=$DLLTOOL
7916 # Extract the first word of "dlltool", so it can be a program name with args.
7917 set dummy dlltool; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$ac_ct_DLLTOOL"; then
7924 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7937 done
7938 done
7939 IFS=$as_save_IFS
7943 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7944 if test -n "$ac_ct_DLLTOOL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7946 $as_echo "$ac_ct_DLLTOOL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7952 if test "x$ac_ct_DLLTOOL" = x; then
7953 DLLTOOL="false"
7954 else
7955 case $cross_compiling:$ac_tool_warned in
7956 yes:)
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959 ac_tool_warned=yes ;;
7960 esac
7961 DLLTOOL=$ac_ct_DLLTOOL
7963 else
7964 DLLTOOL="$ac_cv_prog_DLLTOOL"
7967 LIBEXT="dll"
7968 DLLEXT=""
7969 IMPLIBEXT="a"
7970 enable_iphlpapi=${enable_iphlpapi:-no}
7971 enable_kernel32=${enable_kernel32:-no}
7972 enable_msvcrt=${enable_msvcrt:-no}
7973 enable_ntdll=${enable_ntdll:-no}
7974 enable_ws2_32=${enable_ws2_32:-no}
7975 enable_loader=${enable_loader:-no}
7976 enable_server=${enable_server:-no}
7977 with_x=${with_x:-no}
7978 with_pthread=${with_pthread:-no}
7980 crtlibs=""
7981 case $host_os in
7982 mingw32*)
7983 crtlibs="-lmsvcrt"
7984 SOCKET_LIBS="-lws2_32"
7986 esac
7988 LIBWINE_SHAREDLIB="libwine.dll"
7990 LIBWINE_IMPORTLIB="libwine.a"
7992 LIBWINE_INSTALL_LIB="libwine.dll"
7994 LIBWINE_INSTALL_DEV="libwine.a"
7996 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7998 LIBWINE_DEPENDS="wine.def"
8002 darwin*|macosx*)
8003 for ac_header in libunwind.h
8004 do :
8005 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8007 cat >>confdefs.h <<_ACEOF
8008 #define HAVE_LIBUNWIND_H 1
8009 _ACEOF
8013 done
8015 LIBEXT="dylib"
8016 DLLFLAGS="$DLLFLAGS -fPIC"
8017 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8018 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8019 COREFOUNDATION_LIBS="-framework CoreFoundation"
8021 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8023 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8025 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8027 CORESERVICES_LIBS="-framework CoreServices"
8029 APPKIT_LIBS="-framework AppKit"
8031 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8033 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8034 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8035 $as_echo_n "(cached) " >&6
8036 else
8037 ac_wine_try_cflags_saved=$CFLAGS
8038 CFLAGS="$CFLAGS -Wl,-no_pie"
8039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8040 /* end confdefs.h. */
8041 int main(int argc, char **argv) { return 0; }
8042 _ACEOF
8043 if ac_fn_c_try_link "$LINENO"; then :
8044 ac_cv_cflags__Wl__no_pie=yes
8045 else
8046 ac_cv_cflags__Wl__no_pie=no
8048 rm -f core conftest.err conftest.$ac_objext \
8049 conftest$ac_exeext conftest.$ac_ext
8050 CFLAGS=$ac_wine_try_cflags_saved
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8053 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8054 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8055 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8057 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8058 then
8059 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8062 if test "$ac_cv_header_Security_Security_h" = "yes"
8063 then
8064 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8066 ac_save_LIBS="$LIBS"
8067 LIBS="$LIBS $SECURITY_LIBS"
8068 for ac_func in SSLCopyPeerCertificates
8069 do :
8070 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8071 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8072 cat >>confdefs.h <<_ACEOF
8073 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8074 _ACEOF
8077 done
8079 LIBS="$ac_save_LIBS"
8080 with_gnutls=${with_gnutls:-no}
8082 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8083 then
8084 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8085 then
8086 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8088 else
8089 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8092 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8093 ac_save_LIBS="$LIBS"
8094 LIBS="$LIBS $COREAUDIO_LIBS"
8095 for ac_func in AUGraphAddNode
8096 do :
8097 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8098 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8099 cat >>confdefs.h <<_ACEOF
8100 #define HAVE_AUGRAPHADDNODE 1
8101 _ACEOF
8104 done
8106 LIBS="$ac_save_LIBS"
8108 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8109 then
8110 OPENAL_LIBS="-framework OpenAL"
8113 cat >>confdefs.h <<_ACEOF
8114 #define HAVE_OPENAL 1
8115 _ACEOF
8117 ac_cv_lib_openal=yes
8119 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8120 then
8121 OPENCL_LIBS="-framework OpenCL"
8123 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8125 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8126 then
8127 ac_save_LIBS="$LIBS"
8128 LIBS="$LIBS $IOKIT_LIBS"
8129 for ac_func in IOHIDManagerCreate
8130 do :
8131 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8132 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8133 cat >>confdefs.h <<_ACEOF
8134 #define HAVE_IOHIDMANAGERCREATE 1
8135 _ACEOF
8138 done
8140 LIBS="$ac_save_LIBS"
8142 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8143 then
8144 ac_save_LIBS="$LIBS"
8145 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8147 $as_echo_n "checking for the QuickTime framework... " >&6; }
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8150 #include <QuickTime/ImageCompression.h>
8152 main ()
8154 CodecManagerVersion(NULL);
8156 return 0;
8158 _ACEOF
8159 if ac_fn_c_try_link "$LINENO"; then :
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8161 $as_echo "yes" >&6; }
8162 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8164 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8165 else
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8167 $as_echo "no" >&6; }
8168 ac_cv_header_QuickTime_ImageCompression_h=no
8170 rm -f core conftest.err conftest.$ac_objext \
8171 conftest$ac_exeext conftest.$ac_ext
8172 LIBS="$ac_save_LIBS"
8174 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8175 then
8176 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8178 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8179 then
8180 CARBON_LIBS="-framework Carbon"
8184 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8185 then
8186 ac_save_LIBS="$LIBS"
8187 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8188 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8189 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8190 enable_winemac_drv=${enable_winemac_drv:-yes}
8193 LIBS="$ac_save_LIBS"
8196 if test "x$enable_win16" = "xyes"
8197 then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8199 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8200 if test "$cross_compiling" = yes; then :
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8202 $as_echo "cross-compiling, assuming yes" >&6; }
8203 else
8204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8206 asm(".text\n"
8207 "bad:\tnop;nop\n"
8208 "good:\tnop;nop\n\t"
8209 ".globl _testfunc\n"
8210 "_testfunc:\tcallw good");
8211 extern void testfunc();
8213 main ()
8215 unsigned short *p = (unsigned short *)testfunc;
8216 return p[0] != 0xe866 || p[1] != 0xfffa
8218 return 0;
8220 _ACEOF
8221 if ac_fn_c_try_run "$LINENO"; then :
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8223 $as_echo "yes" >&6; }
8224 else
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8227 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
8229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8230 conftest.$ac_objext conftest.beam conftest.$ac_ext
8235 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8237 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8239 LIBWINE_INSTALL_DEV="libwine.dylib"
8241 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8243 WINELOADER_DEPENDS="wine_info.plist"
8247 linux-android*)
8248 DLLFLAGS="$DLLFLAGS -fPIC"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8250 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8251 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 ac_wine_try_cflags_saved=$CFLAGS
8255 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8259 _ACEOF
8260 if ac_fn_c_try_link "$LINENO"; then :
8261 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8262 else
8263 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8265 rm -f core conftest.err conftest.$ac_objext \
8266 conftest$ac_exeext conftest.$ac_ext
8267 CFLAGS=$ac_wine_try_cflags_saved
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8270 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8271 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8272 LDEXECFLAGS="-Wl,--export-dynamic"
8274 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8276 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8277 if eval \${$as_ac_var+:} false; then :
8278 $as_echo_n "(cached) " >&6
8279 else
8280 ac_wine_try_cflags_saved=$CFLAGS
8281 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8284 int main(int argc, char **argv) { return 0; }
8285 _ACEOF
8286 if ac_fn_c_try_link "$LINENO"; then :
8287 eval "$as_ac_var=yes"
8288 else
8289 eval "$as_ac_var=no"
8291 rm -f core conftest.err conftest.$ac_objext \
8292 conftest$ac_exeext conftest.$ac_ext
8293 CFLAGS=$ac_wine_try_cflags_saved
8295 eval ac_res=\$$as_ac_var
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8297 $as_echo "$ac_res" >&6; }
8298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8299 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8300 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8301 else
8302 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8304 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8305 if eval \${$as_ac_var+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 ac_wine_try_cflags_saved=$CFLAGS
8309 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8313 _ACEOF
8314 if ac_fn_c_try_link "$LINENO"; then :
8315 eval "$as_ac_var=yes"
8316 else
8317 eval "$as_ac_var=no"
8319 rm -f core conftest.err conftest.$ac_objext \
8320 conftest$ac_exeext conftest.$ac_ext
8321 CFLAGS=$ac_wine_try_cflags_saved
8323 eval ac_res=\$$as_ac_var
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8325 $as_echo "$ac_res" >&6; }
8326 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8327 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8328 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8333 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8334 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 ac_wine_try_cflags_saved=$CFLAGS
8338 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8342 _ACEOF
8343 if ac_fn_c_try_link "$LINENO"; then :
8344 ac_cv_cflags__Wl___enable_new_dtags=yes
8345 else
8346 ac_cv_cflags__Wl___enable_new_dtags=no
8348 rm -f core conftest.err conftest.$ac_objext \
8349 conftest$ac_exeext conftest.$ac_ext
8350 CFLAGS=$ac_wine_try_cflags_saved
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8353 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8354 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8355 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8358 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8359 if ${ac_cv_cflags__Wl__pie+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 ac_wine_try_cflags_saved=$CFLAGS
8363 CFLAGS="$CFLAGS -Wl,-pie"
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 int main(int argc, char **argv) { return 0; }
8367 _ACEOF
8368 if ac_fn_c_try_link "$LINENO"; then :
8369 ac_cv_cflags__Wl__pie=yes
8370 else
8371 ac_cv_cflags__Wl__pie=no
8373 rm -f core conftest.err conftest.$ac_objext \
8374 conftest$ac_exeext conftest.$ac_ext
8375 CFLAGS=$ac_wine_try_cflags_saved
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8378 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8379 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8380 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8383 LIBWINE_SHAREDLIB="libwine.so"
8385 LIBWINE_INSTALL_LIB="libwine.so"
8387 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8392 DLLFLAGS="$DLLFLAGS -fPIC"
8393 LDEXECFLAGS=""
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8395 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8396 if ${ac_cv_c_dll_gnuelf+:} false; then :
8397 $as_echo_n "(cached) " >&6
8398 else
8399 ac_wine_try_cflags_saved=$CFLAGS
8400 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8403 void myfunc() {}
8404 _ACEOF
8405 if ac_fn_c_try_link "$LINENO"; then :
8406 ac_cv_c_dll_gnuelf="yes"
8407 else
8408 ac_cv_c_dll_gnuelf="no"
8410 rm -f core conftest.err conftest.$ac_objext \
8411 conftest$ac_exeext conftest.$ac_ext
8412 CFLAGS=$ac_wine_try_cflags_saved
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8415 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8416 if test "$ac_cv_c_dll_gnuelf" = "yes"
8417 then
8418 LIBWINE_LDFLAGS="-shared"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8420 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8421 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 ac_wine_try_cflags_saved=$CFLAGS
8425 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 int main(int argc, char **argv) { return 0; }
8429 _ACEOF
8430 if ac_fn_c_try_link "$LINENO"; then :
8431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8432 else
8433 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 CFLAGS=$ac_wine_try_cflags_saved
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8440 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8441 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8442 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8443 else
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8445 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8446 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8457 else
8458 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8465 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8466 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8467 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8471 echo '{ global: *; };' >conftest.map
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8473 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8474 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8482 _ACEOF
8483 if ac_fn_c_try_link "$LINENO"; then :
8484 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8485 else
8486 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 CFLAGS=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8493 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8494 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8495 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8497 rm -f conftest.map
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8501 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8512 else
8513 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8522 LDEXECFLAGS="-Wl,--export-dynamic"
8525 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8528 if eval \${$as_ac_var+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 eval "$as_ac_var=yes"
8539 else
8540 eval "$as_ac_var=no"
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 eval ac_res=\$$as_ac_var
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8548 $as_echo "$ac_res" >&6; }
8549 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8550 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8551 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8552 else
8553 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8556 if eval \${$as_ac_var+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 eval "$as_ac_var=yes"
8567 else
8568 eval "$as_ac_var=no"
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 eval ac_res=\$$as_ac_var
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8576 $as_echo "$ac_res" >&6; }
8577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8578 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8579 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8584 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8585 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 ac_wine_try_cflags_saved=$CFLAGS
8589 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8593 _ACEOF
8594 if ac_fn_c_try_link "$LINENO"; then :
8595 ac_cv_cflags__Wl___enable_new_dtags=yes
8596 else
8597 ac_cv_cflags__Wl___enable_new_dtags=no
8599 rm -f core conftest.err conftest.$ac_objext \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8604 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8605 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8606 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8609 case $host_cpu in
8610 *i[3456789]86* | x86_64)
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8612 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8613 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 ac_wine_try_cflags_saved=$CFLAGS
8617 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8621 _ACEOF
8622 if ac_fn_c_try_link "$LINENO"; then :
8623 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8624 else
8625 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8627 rm -f core conftest.err conftest.$ac_objext \
8628 conftest$ac_exeext conftest.$ac_ext
8629 CFLAGS=$ac_wine_try_cflags_saved
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8632 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8633 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8634 case $host_os in
8635 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8636 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8637 esac
8638 else
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8640 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8641 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8642 $as_echo_n "(cached) " >&6
8643 else
8644 ac_wine_try_cflags_saved=$CFLAGS
8645 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8647 /* end confdefs.h. */
8648 int main(int argc, char **argv) { return 0; }
8649 _ACEOF
8650 if ac_fn_c_try_link "$LINENO"; then :
8651 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8652 else
8653 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8655 rm -f core conftest.err conftest.$ac_objext \
8656 conftest$ac_exeext conftest.$ac_ext
8657 CFLAGS=$ac_wine_try_cflags_saved
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8660 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8661 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8662 case $host_os in
8663 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8664 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8665 esac
8667 # Extract the first word of "prelink", so it can be a program name with args.
8668 set dummy prelink; ac_word=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if ${ac_cv_path_PRELINK+:} false; then :
8672 $as_echo_n "(cached) " >&6
8673 else
8674 case $PRELINK in
8675 [\\/]* | ?:[\\/]*)
8676 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8680 for as_dir in /sbin /usr/sbin $PATH
8682 IFS=$as_save_IFS
8683 test -z "$as_dir" && as_dir=.
8684 for ac_exec_ext in '' $ac_executable_extensions; do
8685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8688 break 2
8690 done
8691 done
8692 IFS=$as_save_IFS
8694 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8696 esac
8698 PRELINK=$ac_cv_path_PRELINK
8699 if test -n "$PRELINK"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8701 $as_echo "$PRELINK" >&6; }
8702 else
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704 $as_echo "no" >&6; }
8708 if test "x$PRELINK" = xfalse
8709 then
8710 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8714 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8715 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8716 $as_echo_n "(cached) " >&6
8717 else
8718 ac_wine_try_cflags_saved=$CFLAGS
8719 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8721 /* end confdefs.h. */
8722 int main(int argc, char **argv) { return 0; }
8723 _ACEOF
8724 if ac_fn_c_try_link "$LINENO"; then :
8725 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8726 else
8727 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8729 rm -f core conftest.err conftest.$ac_objext \
8730 conftest$ac_exeext conftest.$ac_ext
8731 CFLAGS=$ac_wine_try_cflags_saved
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8734 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8735 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8736 LDEXECFLAGS="$LDEXECFLAGS -Wl,-z,max-page-size=0x1000"
8739 esac
8741 else
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8743 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8744 if ${ac_cv_c_dll_unixware+:} false; then :
8745 $as_echo_n "(cached) " >&6
8746 else
8747 ac_wine_try_cflags_saved=$CFLAGS
8748 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 void myfunc() {}
8752 _ACEOF
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 ac_cv_c_dll_unixware="yes"
8755 else
8756 ac_cv_c_dll_unixware="no"
8758 rm -f core conftest.err conftest.$ac_objext \
8759 conftest$ac_exeext conftest.$ac_ext
8760 CFLAGS=$ac_wine_try_cflags_saved
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8763 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8764 if test "$ac_cv_c_dll_unixware" = "yes"
8765 then
8766 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8769 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8771 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8773 LIBWINE_INSTALL_DEV="libwine.so"
8775 LIBWINE_DEPENDS="wine.map"
8778 esac
8780 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8781 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8782 enable_winemac_drv=${enable_winemac_drv:-no}
8783 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8785 CROSSTARGET=""
8787 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8788 then
8789 case "$host_cpu" in
8790 arm*)
8791 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8792 i[3456789]86*)
8793 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
8794 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8795 mingw32-gcc" ;;
8796 x86_64)
8797 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
8798 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8800 ac_prefix_list="" ;;
8801 esac
8802 for ac_prog in $ac_prefix_list
8804 # Extract the first word of "$ac_prog", so it can be a program name with args.
8805 set dummy $ac_prog; ac_word=$2
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8807 $as_echo_n "checking for $ac_word... " >&6; }
8808 if ${ac_cv_prog_CROSSCC+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 if test -n "$CROSSCC"; then
8812 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8813 else
8814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8815 for as_dir in $PATH
8817 IFS=$as_save_IFS
8818 test -z "$as_dir" && as_dir=.
8819 for ac_exec_ext in '' $ac_executable_extensions; do
8820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8821 ac_cv_prog_CROSSCC="$ac_prog"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8823 break 2
8825 done
8826 done
8827 IFS=$as_save_IFS
8831 CROSSCC=$ac_cv_prog_CROSSCC
8832 if test -n "$CROSSCC"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8834 $as_echo "$CROSSCC" >&6; }
8835 else
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8837 $as_echo "no" >&6; }
8841 test -n "$CROSSCC" && break
8842 done
8843 test -n "$CROSSCC" || CROSSCC="false"
8845 if test "$CROSSCC" != "false"
8846 then
8847 ac_save_CC="$CC"
8848 CC="$CROSSCC"
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8850 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8852 /* end confdefs.h. */
8855 main ()
8859 return 0;
8861 _ACEOF
8862 if ac_fn_c_try_compile "$LINENO"; then :
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8864 $as_echo "yes" >&6; }
8865 set x $CROSSCC
8866 shift
8867 while test $# -ge 1
8869 case "$1" in
8870 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8871 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8872 esac
8873 shift
8874 done
8875 else
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8877 $as_echo "no" >&6; }
8879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8880 CC="$ac_save_CC"
8885 if test "$ac_cv_header_pthread_h" = "yes"
8886 then
8887 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8888 if test "x$ac_cv_func_pthread_create" = xyes; then :
8890 else
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8892 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8893 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8894 $as_echo_n "(cached) " >&6
8895 else
8896 ac_check_lib_save_LIBS=$LIBS
8897 LIBS="-lpthread $LIBS"
8898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8899 /* end confdefs.h. */
8901 /* Override any GCC internal prototype to avoid an error.
8902 Use char because int might match the return type of a GCC
8903 builtin and then its argument prototype would still apply. */
8904 #ifdef __cplusplus
8905 extern "C"
8906 #endif
8907 char pthread_create ();
8909 main ()
8911 return pthread_create ();
8913 return 0;
8915 _ACEOF
8916 if ac_fn_c_try_link "$LINENO"; then :
8917 ac_cv_lib_pthread_pthread_create=yes
8918 else
8919 ac_cv_lib_pthread_pthread_create=no
8921 rm -f core conftest.err conftest.$ac_objext \
8922 conftest$ac_exeext conftest.$ac_ext
8923 LIBS=$ac_check_lib_save_LIBS
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8926 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8927 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8928 PTHREAD_LIBS="-lpthread"
8935 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8936 case "x$with_pthread" in
8937 xno) ;;
8938 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8939 Wine cannot support threads without libpthread.
8940 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8941 esac
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8947 $as_echo_n "checking for X... " >&6; }
8950 # Check whether --with-x was given.
8951 if test "${with_x+set}" = set; then :
8952 withval=$with_x;
8955 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8956 if test "x$with_x" = xno; then
8957 # The user explicitly disabled X.
8958 have_x=disabled
8959 else
8960 case $x_includes,$x_libraries in #(
8961 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8962 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8963 $as_echo_n "(cached) " >&6
8964 else
8965 # One or both of the vars are not set, and there is no cached value.
8966 ac_x_includes=no ac_x_libraries=no
8967 rm -f -r conftest.dir
8968 if mkdir conftest.dir; then
8969 cd conftest.dir
8970 cat >Imakefile <<'_ACEOF'
8971 incroot:
8972 @echo incroot='${INCROOT}'
8973 usrlibdir:
8974 @echo usrlibdir='${USRLIBDIR}'
8975 libdir:
8976 @echo libdir='${LIBDIR}'
8977 _ACEOF
8978 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8979 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8980 for ac_var in incroot usrlibdir libdir; do
8981 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8982 done
8983 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8984 for ac_extension in a so sl dylib la dll; do
8985 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8986 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8987 ac_im_usrlibdir=$ac_im_libdir; break
8989 done
8990 # Screen out bogus values from the imake configuration. They are
8991 # bogus both because they are the default anyway, and because
8992 # using them would break gcc on systems where it needs fixed includes.
8993 case $ac_im_incroot in
8994 /usr/include) ac_x_includes= ;;
8995 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8996 esac
8997 case $ac_im_usrlibdir in
8998 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8999 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9000 esac
9002 cd ..
9003 rm -f -r conftest.dir
9006 # Standard set of common directories for X headers.
9007 # Check X11 before X11Rn because it is often a symlink to the current release.
9008 ac_x_header_dirs='
9009 /usr/X11/include
9010 /usr/X11R7/include
9011 /usr/X11R6/include
9012 /usr/X11R5/include
9013 /usr/X11R4/include
9015 /usr/include/X11
9016 /usr/include/X11R7
9017 /usr/include/X11R6
9018 /usr/include/X11R5
9019 /usr/include/X11R4
9021 /usr/local/X11/include
9022 /usr/local/X11R7/include
9023 /usr/local/X11R6/include
9024 /usr/local/X11R5/include
9025 /usr/local/X11R4/include
9027 /usr/local/include/X11
9028 /usr/local/include/X11R7
9029 /usr/local/include/X11R6
9030 /usr/local/include/X11R5
9031 /usr/local/include/X11R4
9033 /usr/X386/include
9034 /usr/x386/include
9035 /usr/XFree86/include/X11
9037 /usr/include
9038 /usr/local/include
9039 /usr/unsupported/include
9040 /usr/athena/include
9041 /usr/local/x11r5/include
9042 /usr/lpp/Xamples/include
9044 /usr/openwin/include
9045 /usr/openwin/share/include'
9047 if test "$ac_x_includes" = no; then
9048 # Guess where to find include files, by looking for Xlib.h.
9049 # First, try using that file with no special directory specified.
9050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9051 /* end confdefs.h. */
9052 #include <X11/Xlib.h>
9053 _ACEOF
9054 if ac_fn_c_try_cpp "$LINENO"; then :
9055 # We can compile using X headers with no special include directory.
9056 ac_x_includes=
9057 else
9058 for ac_dir in $ac_x_header_dirs; do
9059 if test -r "$ac_dir/X11/Xlib.h"; then
9060 ac_x_includes=$ac_dir
9061 break
9063 done
9065 rm -f conftest.err conftest.i conftest.$ac_ext
9066 fi # $ac_x_includes = no
9068 if test "$ac_x_libraries" = no; then
9069 # Check for the libraries.
9070 # See if we find them without any special options.
9071 # Don't add to $LIBS permanently.
9072 ac_save_LIBS=$LIBS
9073 LIBS="-lX11 $LIBS"
9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9076 #include <X11/Xlib.h>
9078 main ()
9080 XrmInitialize ()
9082 return 0;
9084 _ACEOF
9085 if ac_fn_c_try_link "$LINENO"; then :
9086 LIBS=$ac_save_LIBS
9087 # We can link X programs with no special library path.
9088 ac_x_libraries=
9089 else
9090 LIBS=$ac_save_LIBS
9091 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9093 # Don't even attempt the hair of trying to link an X program!
9094 for ac_extension in a so sl dylib la dll; do
9095 if test -r "$ac_dir/libX11.$ac_extension"; then
9096 ac_x_libraries=$ac_dir
9097 break 2
9099 done
9100 done
9102 rm -f core conftest.err conftest.$ac_objext \
9103 conftest$ac_exeext conftest.$ac_ext
9104 fi # $ac_x_libraries = no
9106 case $ac_x_includes,$ac_x_libraries in #(
9107 no,* | *,no | *\'*)
9108 # Didn't find X, or a directory has "'" in its name.
9109 ac_cv_have_x="have_x=no";; #(
9111 # Record where we found X for the cache.
9112 ac_cv_have_x="have_x=yes\
9113 ac_x_includes='$ac_x_includes'\
9114 ac_x_libraries='$ac_x_libraries'"
9115 esac
9117 ;; #(
9118 *) have_x=yes;;
9119 esac
9120 eval "$ac_cv_have_x"
9121 fi # $with_x != no
9123 if test "$have_x" != yes; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9125 $as_echo "$have_x" >&6; }
9126 no_x=yes
9127 else
9128 # If each of the values was on the command line, it overrides each guess.
9129 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9130 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9131 # Update the cache value to reflect the command line values.
9132 ac_cv_have_x="have_x=yes\
9133 ac_x_includes='$x_includes'\
9134 ac_x_libraries='$x_libraries'"
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9136 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9139 if test "$no_x" = yes; then
9140 # Not all programs may use this symbol, but it does not hurt to define it.
9142 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9144 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9145 else
9146 if test -n "$x_includes"; then
9147 X_CFLAGS="$X_CFLAGS -I$x_includes"
9150 # It would also be nice to do this for all -L options, not just this one.
9151 if test -n "$x_libraries"; then
9152 X_LIBS="$X_LIBS -L$x_libraries"
9153 # For Solaris; some versions of Sun CC require a space after -R and
9154 # others require no space. Words are not sufficient . . . .
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9156 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9157 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9158 ac_xsave_c_werror_flag=$ac_c_werror_flag
9159 ac_c_werror_flag=yes
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9164 main ()
9168 return 0;
9170 _ACEOF
9171 if ac_fn_c_try_link "$LINENO"; then :
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9174 X_LIBS="$X_LIBS -R$x_libraries"
9175 else
9176 LIBS="$ac_xsave_LIBS -R $x_libraries"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9181 main ()
9185 return 0;
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9190 $as_echo "yes" >&6; }
9191 X_LIBS="$X_LIBS -R $x_libraries"
9192 else
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9194 $as_echo "neither works" >&6; }
9196 rm -f core conftest.err conftest.$ac_objext \
9197 conftest$ac_exeext conftest.$ac_ext
9199 rm -f core conftest.err conftest.$ac_objext \
9200 conftest$ac_exeext conftest.$ac_ext
9201 ac_c_werror_flag=$ac_xsave_c_werror_flag
9202 LIBS=$ac_xsave_LIBS
9205 # Check for system-dependent libraries X programs must link with.
9206 # Do this before checking for the system-independent R6 libraries
9207 # (-lICE), since we may need -lsocket or whatever for X linking.
9209 if test "$ISC" = yes; then
9210 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9211 else
9212 # Martyn Johnson says this is needed for Ultrix, if the X
9213 # libraries were built with DECnet support. And Karl Berry says
9214 # the Alpha needs dnet_stub (dnet does not exist).
9215 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9222 #ifdef __cplusplus
9223 extern "C"
9224 #endif
9225 char XOpenDisplay ();
9227 main ()
9229 return XOpenDisplay ();
9231 return 0;
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9236 else
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9238 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9239 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9240 $as_echo_n "(cached) " >&6
9241 else
9242 ac_check_lib_save_LIBS=$LIBS
9243 LIBS="-ldnet $LIBS"
9244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9245 /* end confdefs.h. */
9247 /* Override any GCC internal prototype to avoid an error.
9248 Use char because int might match the return type of a GCC
9249 builtin and then its argument prototype would still apply. */
9250 #ifdef __cplusplus
9251 extern "C"
9252 #endif
9253 char dnet_ntoa ();
9255 main ()
9257 return dnet_ntoa ();
9259 return 0;
9261 _ACEOF
9262 if ac_fn_c_try_link "$LINENO"; then :
9263 ac_cv_lib_dnet_dnet_ntoa=yes
9264 else
9265 ac_cv_lib_dnet_dnet_ntoa=no
9267 rm -f core conftest.err conftest.$ac_objext \
9268 conftest$ac_exeext conftest.$ac_ext
9269 LIBS=$ac_check_lib_save_LIBS
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9272 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9273 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9274 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9277 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9279 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9280 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9281 $as_echo_n "(cached) " >&6
9282 else
9283 ac_check_lib_save_LIBS=$LIBS
9284 LIBS="-ldnet_stub $LIBS"
9285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9288 /* Override any GCC internal prototype to avoid an error.
9289 Use char because int might match the return type of a GCC
9290 builtin and then its argument prototype would still apply. */
9291 #ifdef __cplusplus
9292 extern "C"
9293 #endif
9294 char dnet_ntoa ();
9296 main ()
9298 return dnet_ntoa ();
9300 return 0;
9302 _ACEOF
9303 if ac_fn_c_try_link "$LINENO"; then :
9304 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9305 else
9306 ac_cv_lib_dnet_stub_dnet_ntoa=no
9308 rm -f core conftest.err conftest.$ac_objext \
9309 conftest$ac_exeext conftest.$ac_ext
9310 LIBS=$ac_check_lib_save_LIBS
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9313 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9314 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9315 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9320 rm -f core conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 LIBS="$ac_xsave_LIBS"
9324 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9325 # to get the SysV transport functions.
9326 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9327 # needs -lnsl.
9328 # The nsl library prevents programs from opening the X display
9329 # on Irix 5.2, according to T.E. Dickey.
9330 # The functions gethostbyname, getservbyname, and inet_addr are
9331 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9332 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9333 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9337 if test $ac_cv_func_gethostbyname = no; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9339 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9340 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_check_lib_save_LIBS=$LIBS
9344 LIBS="-lnsl $LIBS"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9351 #ifdef __cplusplus
9352 extern "C"
9353 #endif
9354 char gethostbyname ();
9356 main ()
9358 return gethostbyname ();
9360 return 0;
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_lib_nsl_gethostbyname=yes
9365 else
9366 ac_cv_lib_nsl_gethostbyname=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 LIBS=$ac_check_lib_save_LIBS
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9373 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9374 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9375 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9378 if test $ac_cv_lib_nsl_gethostbyname = no; then
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9380 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9381 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9382 $as_echo_n "(cached) " >&6
9383 else
9384 ac_check_lib_save_LIBS=$LIBS
9385 LIBS="-lbsd $LIBS"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9389 /* Override any GCC internal prototype to avoid an error.
9390 Use char because int might match the return type of a GCC
9391 builtin and then its argument prototype would still apply. */
9392 #ifdef __cplusplus
9393 extern "C"
9394 #endif
9395 char gethostbyname ();
9397 main ()
9399 return gethostbyname ();
9401 return 0;
9403 _ACEOF
9404 if ac_fn_c_try_link "$LINENO"; then :
9405 ac_cv_lib_bsd_gethostbyname=yes
9406 else
9407 ac_cv_lib_bsd_gethostbyname=no
9409 rm -f core conftest.err conftest.$ac_objext \
9410 conftest$ac_exeext conftest.$ac_ext
9411 LIBS=$ac_check_lib_save_LIBS
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9414 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9415 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9416 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9422 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9423 # socket/setsockopt and other routines are undefined under SCO ODT
9424 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9425 # on later versions), says Simon Leinen: it contains gethostby*
9426 # variants that don't use the name server (or something). -lsocket
9427 # must be given before -lnsl if both are needed. We assume that
9428 # if connect needs -lnsl, so does gethostbyname.
9429 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9430 if test "x$ac_cv_func_connect" = xyes; then :
9434 if test $ac_cv_func_connect = no; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9436 $as_echo_n "checking for connect in -lsocket... " >&6; }
9437 if ${ac_cv_lib_socket_connect+:} false; then :
9438 $as_echo_n "(cached) " >&6
9439 else
9440 ac_check_lib_save_LIBS=$LIBS
9441 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9445 /* Override any GCC internal prototype to avoid an error.
9446 Use char because int might match the return type of a GCC
9447 builtin and then its argument prototype would still apply. */
9448 #ifdef __cplusplus
9449 extern "C"
9450 #endif
9451 char connect ();
9453 main ()
9455 return connect ();
9457 return 0;
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461 ac_cv_lib_socket_connect=yes
9462 else
9463 ac_cv_lib_socket_connect=no
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 LIBS=$ac_check_lib_save_LIBS
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9470 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9471 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9472 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9477 # Guillermo Gomez says -lposix is necessary on A/UX.
9478 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9479 if test "x$ac_cv_func_remove" = xyes; then :
9483 if test $ac_cv_func_remove = no; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9485 $as_echo_n "checking for remove in -lposix... " >&6; }
9486 if ${ac_cv_lib_posix_remove+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_check_lib_save_LIBS=$LIBS
9490 LIBS="-lposix $LIBS"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9494 /* Override any GCC internal prototype to avoid an error.
9495 Use char because int might match the return type of a GCC
9496 builtin and then its argument prototype would still apply. */
9497 #ifdef __cplusplus
9498 extern "C"
9499 #endif
9500 char remove ();
9502 main ()
9504 return remove ();
9506 return 0;
9508 _ACEOF
9509 if ac_fn_c_try_link "$LINENO"; then :
9510 ac_cv_lib_posix_remove=yes
9511 else
9512 ac_cv_lib_posix_remove=no
9514 rm -f core conftest.err conftest.$ac_objext \
9515 conftest$ac_exeext conftest.$ac_ext
9516 LIBS=$ac_check_lib_save_LIBS
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9519 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9520 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9521 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9526 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9527 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9528 if test "x$ac_cv_func_shmat" = xyes; then :
9532 if test $ac_cv_func_shmat = no; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9534 $as_echo_n "checking for shmat in -lipc... " >&6; }
9535 if ${ac_cv_lib_ipc_shmat+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_check_lib_save_LIBS=$LIBS
9539 LIBS="-lipc $LIBS"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9546 #ifdef __cplusplus
9547 extern "C"
9548 #endif
9549 char shmat ();
9551 main ()
9553 return shmat ();
9555 return 0;
9557 _ACEOF
9558 if ac_fn_c_try_link "$LINENO"; then :
9559 ac_cv_lib_ipc_shmat=yes
9560 else
9561 ac_cv_lib_ipc_shmat=no
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_lib_save_LIBS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9568 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9569 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9570 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9576 # Check for libraries that X11R6 Xt/Xaw programs need.
9577 ac_save_LDFLAGS=$LDFLAGS
9578 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9579 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9580 # check for ICE first), but we must link in the order -lSM -lICE or
9581 # we get undefined symbols. So assume we have SM if we have ICE.
9582 # These have to be linked with before -lX11, unlike the other
9583 # libraries we check for below, so use a different variable.
9584 # John Interrante, Karl Berry
9585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9586 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9587 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9588 $as_echo_n "(cached) " >&6
9589 else
9590 ac_check_lib_save_LIBS=$LIBS
9591 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9595 /* Override any GCC internal prototype to avoid an error.
9596 Use char because int might match the return type of a GCC
9597 builtin and then its argument prototype would still apply. */
9598 #ifdef __cplusplus
9599 extern "C"
9600 #endif
9601 char IceConnectionNumber ();
9603 main ()
9605 return IceConnectionNumber ();
9607 return 0;
9609 _ACEOF
9610 if ac_fn_c_try_link "$LINENO"; then :
9611 ac_cv_lib_ICE_IceConnectionNumber=yes
9612 else
9613 ac_cv_lib_ICE_IceConnectionNumber=no
9615 rm -f core conftest.err conftest.$ac_objext \
9616 conftest$ac_exeext conftest.$ac_ext
9617 LIBS=$ac_check_lib_save_LIBS
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9620 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9621 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9622 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9625 LDFLAGS=$ac_save_LDFLAGS
9630 if test "$have_x" = "yes"
9631 then
9632 ac_save_CPPFLAGS="$CPPFLAGS"
9633 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9636 $as_echo_n "checking for -lX11... " >&6; }
9637 if ${ac_cv_lib_soname_X11+:} false; then :
9638 $as_echo_n "(cached) " >&6
9639 else
9640 ac_check_soname_save_LIBS=$LIBS
9641 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9643 /* end confdefs.h. */
9645 /* Override any GCC internal prototype to avoid an error.
9646 Use char because int might match the return type of a GCC
9647 builtin and then its argument prototype would still apply. */
9648 #ifdef __cplusplus
9649 extern "C"
9650 #endif
9651 char XCreateWindow ();
9653 main ()
9655 return XCreateWindow ();
9657 return 0;
9659 _ACEOF
9660 if ac_fn_c_try_link "$LINENO"; then :
9661 case "$LIBEXT" in
9662 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9663 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'` ;;
9664 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9665 if ${ac_cv_lib_soname_X11:+false} :; then :
9666 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9667 fi ;;
9668 esac
9670 rm -f core conftest.err conftest.$ac_objext \
9671 conftest$ac_exeext conftest.$ac_ext
9672 LIBS=$ac_check_soname_save_LIBS
9674 if ${ac_cv_lib_soname_X11:+false} :; then :
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9676 $as_echo "not found" >&6; }
9678 else
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9680 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9682 cat >>confdefs.h <<_ACEOF
9683 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9684 _ACEOF
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9689 $as_echo_n "checking for -lXext... " >&6; }
9690 if ${ac_cv_lib_soname_Xext+:} false; then :
9691 $as_echo_n "(cached) " >&6
9692 else
9693 ac_check_soname_save_LIBS=$LIBS
9694 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9701 #ifdef __cplusplus
9702 extern "C"
9703 #endif
9704 char XextCreateExtension ();
9706 main ()
9708 return XextCreateExtension ();
9710 return 0;
9712 _ACEOF
9713 if ac_fn_c_try_link "$LINENO"; then :
9714 case "$LIBEXT" in
9715 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9716 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'` ;;
9717 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9718 if ${ac_cv_lib_soname_Xext:+false} :; then :
9719 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9720 fi ;;
9721 esac
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_soname_save_LIBS
9727 if ${ac_cv_lib_soname_Xext:+false} :; then :
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9729 $as_echo "not found" >&6; }
9731 else
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9733 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9735 cat >>confdefs.h <<_ACEOF
9736 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9737 _ACEOF
9739 X_LIBS="$X_LIBS -lXext"
9741 X_LIBS="$X_LIBS -lX11"
9743 for ac_header in X11/Xlib.h \
9744 X11/XKBlib.h \
9745 X11/Xutil.h \
9746 X11/Xcursor/Xcursor.h \
9747 X11/extensions/shape.h \
9748 X11/extensions/XInput.h \
9749 X11/extensions/XInput2.h \
9750 X11/extensions/XShm.h \
9751 X11/extensions/Xcomposite.h \
9752 X11/extensions/Xinerama.h \
9753 X11/extensions/Xrandr.h \
9754 X11/extensions/Xrender.h \
9755 X11/extensions/xf86vmode.h \
9756 X11/extensions/xf86vmproto.h
9757 do :
9758 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9759 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9760 # include <X11/Xlib.h>
9761 #endif
9762 #ifdef HAVE_X11_XUTIL_H
9763 # include <X11/Xutil.h>
9764 #endif
9766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9767 cat >>confdefs.h <<_ACEOF
9768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9769 _ACEOF
9773 done
9776 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9777 then
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9779 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9780 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9781 $as_echo_n "(cached) " >&6
9782 else
9783 ac_check_lib_save_LIBS=$LIBS
9784 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9786 /* end confdefs.h. */
9788 /* Override any GCC internal prototype to avoid an error.
9789 Use char because int might match the return type of a GCC
9790 builtin and then its argument prototype would still apply. */
9791 #ifdef __cplusplus
9792 extern "C"
9793 #endif
9794 char XkbQueryExtension ();
9796 main ()
9798 return XkbQueryExtension ();
9800 return 0;
9802 _ACEOF
9803 if ac_fn_c_try_link "$LINENO"; then :
9804 ac_cv_lib_X11_XkbQueryExtension=yes
9805 else
9806 ac_cv_lib_X11_XkbQueryExtension=no
9808 rm -f core conftest.err conftest.$ac_objext \
9809 conftest$ac_exeext conftest.$ac_ext
9810 LIBS=$ac_check_lib_save_LIBS
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9813 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9814 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9816 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9822 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9823 then
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9825 $as_echo_n "checking for -lXcursor... " >&6; }
9826 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9827 $as_echo_n "(cached) " >&6
9828 else
9829 ac_check_soname_save_LIBS=$LIBS
9830 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9832 /* end confdefs.h. */
9834 /* Override any GCC internal prototype to avoid an error.
9835 Use char because int might match the return type of a GCC
9836 builtin and then its argument prototype would still apply. */
9837 #ifdef __cplusplus
9838 extern "C"
9839 #endif
9840 char XcursorImageLoadCursor ();
9842 main ()
9844 return XcursorImageLoadCursor ();
9846 return 0;
9848 _ACEOF
9849 if ac_fn_c_try_link "$LINENO"; then :
9850 case "$LIBEXT" in
9851 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9852 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'` ;;
9853 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9854 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9855 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9856 fi ;;
9857 esac
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LIBS=$ac_check_soname_save_LIBS
9863 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9865 $as_echo "not found" >&6; }
9867 else
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9869 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9871 cat >>confdefs.h <<_ACEOF
9872 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9873 _ACEOF
9878 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9879 case "x$with_xcursor" in
9880 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9881 xno) ;;
9882 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9883 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9884 esac
9888 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9889 then
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9891 $as_echo_n "checking for -lXi... " >&6; }
9892 if ${ac_cv_lib_soname_Xi+:} false; then :
9893 $as_echo_n "(cached) " >&6
9894 else
9895 ac_check_soname_save_LIBS=$LIBS
9896 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898 /* end confdefs.h. */
9900 /* Override any GCC internal prototype to avoid an error.
9901 Use char because int might match the return type of a GCC
9902 builtin and then its argument prototype would still apply. */
9903 #ifdef __cplusplus
9904 extern "C"
9905 #endif
9906 char XOpenDevice ();
9908 main ()
9910 return XOpenDevice ();
9912 return 0;
9914 _ACEOF
9915 if ac_fn_c_try_link "$LINENO"; then :
9916 case "$LIBEXT" in
9917 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9918 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'` ;;
9919 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9920 if ${ac_cv_lib_soname_Xi:+false} :; then :
9921 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9922 fi ;;
9923 esac
9925 rm -f core conftest.err conftest.$ac_objext \
9926 conftest$ac_exeext conftest.$ac_ext
9927 LIBS=$ac_check_soname_save_LIBS
9929 if ${ac_cv_lib_soname_Xi:+false} :; then :
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9931 $as_echo "not found" >&6; }
9933 else
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9935 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9937 cat >>confdefs.h <<_ACEOF
9938 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9939 _ACEOF
9944 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9945 case "x$with_xinput" in
9946 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9947 xno) ;;
9948 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9949 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9950 esac
9954 if test "x$ac_cv_lib_soname_Xi" != x
9955 then
9956 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9957 case "x$with_xinput2" in
9958 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9959 xno) ;;
9960 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9961 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9962 esac
9967 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9968 then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9970 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9971 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9972 $as_echo_n "(cached) " >&6
9973 else
9974 ac_check_lib_save_LIBS=$LIBS
9975 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9979 /* Override any GCC internal prototype to avoid an error.
9980 Use char because int might match the return type of a GCC
9981 builtin and then its argument prototype would still apply. */
9982 #ifdef __cplusplus
9983 extern "C"
9984 #endif
9985 char XShmQueryExtension ();
9987 main ()
9989 return XShmQueryExtension ();
9991 return 0;
9993 _ACEOF
9994 if ac_fn_c_try_link "$LINENO"; then :
9995 ac_cv_lib_Xext_XShmQueryExtension=yes
9996 else
9997 ac_cv_lib_Xext_XShmQueryExtension=no
9999 rm -f core conftest.err conftest.$ac_objext \
10000 conftest$ac_exeext conftest.$ac_ext
10001 LIBS=$ac_check_lib_save_LIBS
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10004 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10005 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10007 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10012 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10013 case "x$with_xshm" in
10014 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10015 xno) ;;
10016 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10017 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10018 esac
10022 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10023 then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10025 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10026 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10027 $as_echo_n "(cached) " >&6
10028 else
10029 ac_check_lib_save_LIBS=$LIBS
10030 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10032 /* end confdefs.h. */
10034 /* Override any GCC internal prototype to avoid an error.
10035 Use char because int might match the return type of a GCC
10036 builtin and then its argument prototype would still apply. */
10037 #ifdef __cplusplus
10038 extern "C"
10039 #endif
10040 char XShapeQueryExtension ();
10042 main ()
10044 return XShapeQueryExtension ();
10046 return 0;
10048 _ACEOF
10049 if ac_fn_c_try_link "$LINENO"; then :
10050 ac_cv_lib_Xext_XShapeQueryExtension=yes
10051 else
10052 ac_cv_lib_Xext_XShapeQueryExtension=no
10054 rm -f core conftest.err conftest.$ac_objext \
10055 conftest$ac_exeext conftest.$ac_ext
10056 LIBS=$ac_check_lib_save_LIBS
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10059 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10060 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10062 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10067 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10068 case "x$with_xshape" in
10069 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10070 xno) ;;
10071 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10072 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10073 esac
10077 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10078 then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10080 $as_echo_n "checking for -lXxf86vm... " >&6; }
10081 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_check_soname_save_LIBS=$LIBS
10085 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10092 #ifdef __cplusplus
10093 extern "C"
10094 #endif
10095 char XF86VidModeQueryExtension ();
10097 main ()
10099 return XF86VidModeQueryExtension ();
10101 return 0;
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 case "$LIBEXT" in
10106 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10107 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'` ;;
10108 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10109 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10110 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10111 fi ;;
10112 esac
10114 rm -f core conftest.err conftest.$ac_objext \
10115 conftest$ac_exeext conftest.$ac_ext
10116 LIBS=$ac_check_soname_save_LIBS
10118 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 $as_echo "not found" >&6; }
10122 else
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10124 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10126 cat >>confdefs.h <<_ACEOF
10127 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10128 _ACEOF
10133 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10134 case "x$with_xxf86vm" in
10135 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10136 xno) ;;
10137 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10138 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10139 esac
10143 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10144 then
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10146 $as_echo_n "checking for -lXrender... " >&6; }
10147 if ${ac_cv_lib_soname_Xrender+:} false; then :
10148 $as_echo_n "(cached) " >&6
10149 else
10150 ac_check_soname_save_LIBS=$LIBS
10151 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10155 /* Override any GCC internal prototype to avoid an error.
10156 Use char because int might match the return type of a GCC
10157 builtin and then its argument prototype would still apply. */
10158 #ifdef __cplusplus
10159 extern "C"
10160 #endif
10161 char XRenderQueryExtension ();
10163 main ()
10165 return XRenderQueryExtension ();
10167 return 0;
10169 _ACEOF
10170 if ac_fn_c_try_link "$LINENO"; then :
10171 case "$LIBEXT" in
10172 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10173 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'` ;;
10174 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10175 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10176 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10177 fi ;;
10178 esac
10180 rm -f core conftest.err conftest.$ac_objext \
10181 conftest$ac_exeext conftest.$ac_ext
10182 LIBS=$ac_check_soname_save_LIBS
10184 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10186 $as_echo "not found" >&6; }
10188 else
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10190 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10192 cat >>confdefs.h <<_ACEOF
10193 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10194 _ACEOF
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10197 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10198 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10199 $as_echo_n "(cached) " >&6
10200 else
10201 ac_check_lib_save_LIBS=$LIBS
10202 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10204 /* end confdefs.h. */
10206 /* Override any GCC internal prototype to avoid an error.
10207 Use char because int might match the return type of a GCC
10208 builtin and then its argument prototype would still apply. */
10209 #ifdef __cplusplus
10210 extern "C"
10211 #endif
10212 char XRenderSetPictureTransform ();
10214 main ()
10216 return XRenderSetPictureTransform ();
10218 return 0;
10220 _ACEOF
10221 if ac_fn_c_try_link "$LINENO"; then :
10222 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10223 else
10224 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10226 rm -f core conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10228 LIBS=$ac_check_lib_save_LIBS
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10231 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10232 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10234 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10239 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10240 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10241 $as_echo_n "(cached) " >&6
10242 else
10243 ac_check_lib_save_LIBS=$LIBS
10244 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10248 /* Override any GCC internal prototype to avoid an error.
10249 Use char because int might match the return type of a GCC
10250 builtin and then its argument prototype would still apply. */
10251 #ifdef __cplusplus
10252 extern "C"
10253 #endif
10254 char XRenderCreateLinearGradient ();
10256 main ()
10258 return XRenderCreateLinearGradient ();
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10264 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10265 else
10266 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10268 rm -f core conftest.err conftest.$ac_objext \
10269 conftest$ac_exeext conftest.$ac_ext
10270 LIBS=$ac_check_lib_save_LIBS
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10273 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10274 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10276 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10283 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10284 case "x$with_xrender" in
10285 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10286 xno) ;;
10287 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10288 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10289 esac
10293 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10294 then
10295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10296 /* end confdefs.h. */
10297 #include <X11/Xlib.h>
10298 #include <X11/extensions/Xrandr.h>
10300 main ()
10302 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10304 return 0;
10306 _ACEOF
10307 if ac_fn_c_try_compile "$LINENO"; then :
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10309 $as_echo_n "checking for -lXrandr... " >&6; }
10310 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10311 $as_echo_n "(cached) " >&6
10312 else
10313 ac_check_soname_save_LIBS=$LIBS
10314 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10318 /* Override any GCC internal prototype to avoid an error.
10319 Use char because int might match the return type of a GCC
10320 builtin and then its argument prototype would still apply. */
10321 #ifdef __cplusplus
10322 extern "C"
10323 #endif
10324 char XRRQueryExtension ();
10326 main ()
10328 return XRRQueryExtension ();
10330 return 0;
10332 _ACEOF
10333 if ac_fn_c_try_link "$LINENO"; then :
10334 case "$LIBEXT" in
10335 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10336 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'` ;;
10337 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10338 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10339 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10340 fi ;;
10341 esac
10343 rm -f core conftest.err conftest.$ac_objext \
10344 conftest$ac_exeext conftest.$ac_ext
10345 LIBS=$ac_check_soname_save_LIBS
10347 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10349 $as_echo "not found" >&6; }
10351 else
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10353 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10355 cat >>confdefs.h <<_ACEOF
10356 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10357 _ACEOF
10359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10361 #include <X11/Xlib.h>
10362 #include <X11/extensions/Xrandr.h>
10364 main ()
10366 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10368 return 0;
10370 _ACEOF
10371 if ac_fn_c_try_compile "$LINENO"; then :
10373 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10381 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10382 case "x$with_xrandr" in
10383 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10384 xno) ;;
10385 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10386 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10387 esac
10391 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10392 then
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h. */
10395 #include <X11/Xlib.h>
10396 #include <X11/extensions/Xinerama.h>
10398 main ()
10400 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10402 return 0;
10404 _ACEOF
10405 if ac_fn_c_try_compile "$LINENO"; then :
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10407 $as_echo_n "checking for -lXinerama... " >&6; }
10408 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10409 $as_echo_n "(cached) " >&6
10410 else
10411 ac_check_soname_save_LIBS=$LIBS
10412 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10416 /* Override any GCC internal prototype to avoid an error.
10417 Use char because int might match the return type of a GCC
10418 builtin and then its argument prototype would still apply. */
10419 #ifdef __cplusplus
10420 extern "C"
10421 #endif
10422 char XineramaQueryScreens ();
10424 main ()
10426 return XineramaQueryScreens ();
10428 return 0;
10430 _ACEOF
10431 if ac_fn_c_try_link "$LINENO"; then :
10432 case "$LIBEXT" in
10433 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10434 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'` ;;
10435 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10436 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10437 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10438 fi ;;
10439 esac
10441 rm -f core conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 LIBS=$ac_check_soname_save_LIBS
10445 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10447 $as_echo "not found" >&6; }
10449 else
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10451 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10453 cat >>confdefs.h <<_ACEOF
10454 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10455 _ACEOF
10460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10462 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10463 case "x$with_xinerama" in
10464 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10465 xno) ;;
10466 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10467 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10468 esac
10472 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10473 then
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10475 $as_echo_n "checking for -lXcomposite... " >&6; }
10476 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10477 $as_echo_n "(cached) " >&6
10478 else
10479 ac_check_soname_save_LIBS=$LIBS
10480 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10484 /* Override any GCC internal prototype to avoid an error.
10485 Use char because int might match the return type of a GCC
10486 builtin and then its argument prototype would still apply. */
10487 #ifdef __cplusplus
10488 extern "C"
10489 #endif
10490 char XCompositeRedirectWindow ();
10492 main ()
10494 return XCompositeRedirectWindow ();
10496 return 0;
10498 _ACEOF
10499 if ac_fn_c_try_link "$LINENO"; then :
10500 case "$LIBEXT" in
10501 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10502 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'` ;;
10503 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10504 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10505 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10506 fi ;;
10507 esac
10509 rm -f core conftest.err conftest.$ac_objext \
10510 conftest$ac_exeext conftest.$ac_ext
10511 LIBS=$ac_check_soname_save_LIBS
10513 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10515 $as_echo "not found" >&6; }
10517 else
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10519 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10521 cat >>confdefs.h <<_ACEOF
10522 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10523 _ACEOF
10528 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10529 case "x$with_xcomposite" in
10530 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10531 xno) ;;
10532 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10533 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10534 esac
10538 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10539 #include <X11/Xlib.h>
10540 #endif
10542 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10544 cat >>confdefs.h <<_ACEOF
10545 #define HAVE_XICCALLBACK_CALLBACK 1
10546 _ACEOF
10550 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10551 #include <X11/Xlib.h>
10552 #endif
10554 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10556 cat >>confdefs.h <<_ACEOF
10557 #define HAVE_XEVENT_XCOOKIE 1
10558 _ACEOF
10565 opengl_msg=""
10566 if test "x$with_opengl" != "xno"
10567 then
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10569 $as_echo_n "checking for -lGL... " >&6; }
10570 if ${ac_cv_lib_soname_GL+:} false; then :
10571 $as_echo_n "(cached) " >&6
10572 else
10573 ac_check_soname_save_LIBS=$LIBS
10574 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10578 /* Override any GCC internal prototype to avoid an error.
10579 Use char because int might match the return type of a GCC
10580 builtin and then its argument prototype would still apply. */
10581 #ifdef __cplusplus
10582 extern "C"
10583 #endif
10584 char glXCreateContext ();
10586 main ()
10588 return glXCreateContext ();
10590 return 0;
10592 _ACEOF
10593 if ac_fn_c_try_link "$LINENO"; then :
10594 case "$LIBEXT" in
10595 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10596 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'` ;;
10597 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10598 if ${ac_cv_lib_soname_GL:+false} :; then :
10599 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10600 fi ;;
10601 esac
10603 rm -f core conftest.err conftest.$ac_objext \
10604 conftest$ac_exeext conftest.$ac_ext
10605 LIBS=$ac_check_soname_save_LIBS
10607 if ${ac_cv_lib_soname_GL:+false} :; then :
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10609 $as_echo "not found" >&6; }
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10611 $as_echo_n "checking for -lGL... " >&6; }
10612 if ${ac_cv_lib_soname_GL+:} false; then :
10613 $as_echo_n "(cached) " >&6
10614 else
10615 ac_check_soname_save_LIBS=$LIBS
10616 LIBS="-lGL $X_LIBS -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"
10617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10618 /* end confdefs.h. */
10620 /* Override any GCC internal prototype to avoid an error.
10621 Use char because int might match the return type of a GCC
10622 builtin and then its argument prototype would still apply. */
10623 #ifdef __cplusplus
10624 extern "C"
10625 #endif
10626 char glXCreateContext ();
10628 main ()
10630 return glXCreateContext ();
10632 return 0;
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636 case "$LIBEXT" in
10637 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10638 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'` ;;
10639 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10640 if ${ac_cv_lib_soname_GL:+false} :; then :
10641 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10642 fi ;;
10643 esac
10645 rm -f core conftest.err conftest.$ac_objext \
10646 conftest$ac_exeext conftest.$ac_ext
10647 LIBS=$ac_check_soname_save_LIBS
10649 if ${ac_cv_lib_soname_GL:+false} :; then :
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10651 $as_echo "not found" >&6; }
10652 if test -f /usr/X11R6/lib/libGL.a
10653 then
10654 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10655 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10656 else
10657 opengl_msg="No OpenGL library found on this system."
10659 else
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10661 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10663 cat >>confdefs.h <<_ACEOF
10664 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10665 _ACEOF
10667 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"
10669 else
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10671 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10673 cat >>confdefs.h <<_ACEOF
10674 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10675 _ACEOF
10677 OPENGL_LIBS="-lGL"
10679 if test "x$with_glu" != "xno"
10680 then
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10682 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10683 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10684 $as_echo_n "(cached) " >&6
10685 else
10686 ac_check_lib_save_LIBS=$LIBS
10687 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10689 /* end confdefs.h. */
10691 /* Override any GCC internal prototype to avoid an error.
10692 Use char because int might match the return type of a GCC
10693 builtin and then its argument prototype would still apply. */
10694 #ifdef __cplusplus
10695 extern "C"
10696 #endif
10697 char gluLookAt ();
10699 main ()
10701 return gluLookAt ();
10703 return 0;
10705 _ACEOF
10706 if ac_fn_c_try_link "$LINENO"; then :
10707 ac_cv_lib_GLU_gluLookAt=yes
10708 else
10709 ac_cv_lib_GLU_gluLookAt=no
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 LIBS=$ac_check_lib_save_LIBS
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10716 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10717 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10721 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10722 case "x$with_glu" in
10723 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10724 xno) ;;
10725 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10726 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10727 esac
10732 if test "x$with_osmesa" != "xno"
10733 then
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10735 $as_echo_n "checking for -lOSMesa... " >&6; }
10736 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10737 $as_echo_n "(cached) " >&6
10738 else
10739 ac_check_soname_save_LIBS=$LIBS
10740 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10744 /* Override any GCC internal prototype to avoid an error.
10745 Use char because int might match the return type of a GCC
10746 builtin and then its argument prototype would still apply. */
10747 #ifdef __cplusplus
10748 extern "C"
10749 #endif
10750 char glAccum ();
10752 main ()
10754 return glAccum ();
10756 return 0;
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"; then :
10760 case "$LIBEXT" in
10761 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10762 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'` ;;
10763 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10764 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10765 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10766 fi ;;
10767 esac
10769 rm -f core conftest.err conftest.$ac_objext \
10770 conftest$ac_exeext conftest.$ac_ext
10771 LIBS=$ac_check_soname_save_LIBS
10773 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10775 $as_echo "not found" >&6; }
10777 else
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10779 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10781 cat >>confdefs.h <<_ACEOF
10782 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10783 _ACEOF
10787 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10788 case "x$with_osmesa" in
10789 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10790 xno) ;;
10791 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10792 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10793 esac
10798 if test -n "$opengl_msg"; then :
10799 case "x$with_opengl" in
10800 x) as_fn_append wine_warnings "|$opengl_msg
10801 OpenGL and Direct3D won't be supported." ;;
10802 xno) ;;
10803 *) as_fn_error $? "$opengl_msg
10804 OpenGL and Direct3D won't be supported.
10805 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10806 esac
10810 CPPFLAGS="$ac_save_CPPFLAGS"
10811 else
10812 X_CFLAGS=""
10813 X_LIBS=""
10815 if test "x$X_LIBS" = "x"; then :
10816 case "x$with_x" in
10817 xno) ;;
10818 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10819 without X support, which probably isn't what you want. You will need
10820 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10821 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10822 esac
10823 enable_winex11_drv=${enable_winex11_drv:-no}
10826 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10828 if test "$ac_cv_header_CL_cl_h" = "yes"
10829 then
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10831 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10832 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10833 $as_echo_n "(cached) " >&6
10834 else
10835 ac_check_lib_save_LIBS=$LIBS
10836 LIBS="-lOpenCL $LIBS"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10843 #ifdef __cplusplus
10844 extern "C"
10845 #endif
10846 char clGetPlatformInfo ();
10848 main ()
10850 return clGetPlatformInfo ();
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10857 else
10858 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LIBS=$ac_check_lib_save_LIBS
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10865 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10866 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10867 OPENCL_LIBS="-lOpenCL"
10872 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10873 case "x$with_opencl" in
10874 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10875 xno) ;;
10876 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10877 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10878 esac
10879 enable_opencl=${enable_opencl:-no}
10882 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10883 then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10885 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10886 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10887 $as_echo_n "(cached) " >&6
10888 else
10889 ac_check_lib_save_LIBS=$LIBS
10890 LIBS="-lpcap $LIBS"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10897 #ifdef __cplusplus
10898 extern "C"
10899 #endif
10900 char pcap_create ();
10902 main ()
10904 return pcap_create ();
10906 return 0;
10908 _ACEOF
10909 if ac_fn_c_try_link "$LINENO"; then :
10910 ac_cv_lib_pcap_pcap_create=yes
10911 else
10912 ac_cv_lib_pcap_pcap_create=no
10914 rm -f core conftest.err conftest.$ac_objext \
10915 conftest$ac_exeext conftest.$ac_ext
10916 LIBS=$ac_check_lib_save_LIBS
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10919 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10920 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10921 PCAP_LIBS="-lpcap"
10926 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10927 case "x$with_pcap" in
10928 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10929 xno) ;;
10930 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10931 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10932 esac
10933 enable_wpcap=${enable_wpcap:-no}
10937 if test "x$with_xml" != "xno"
10938 then
10939 if ${XML2_CFLAGS:+false} :; then :
10940 if ${PKG_CONFIG+:} false; then :
10941 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10944 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10945 if ${XML2_LIBS:+false} :; then :
10946 if ${PKG_CONFIG+:} false; then :
10947 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10950 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10951 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10952 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10953 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10954 ac_save_CPPFLAGS=$CPPFLAGS
10955 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10956 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10957 do :
10958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10959 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10960 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10961 cat >>confdefs.h <<_ACEOF
10962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10963 _ACEOF
10967 done
10969 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"
10970 then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10972 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10973 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10974 $as_echo_n "(cached) " >&6
10975 else
10976 ac_check_lib_save_LIBS=$LIBS
10977 LIBS="-lxml2 $XML2_LIBS $LIBS"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10984 #ifdef __cplusplus
10985 extern "C"
10986 #endif
10987 char xmlParseMemory ();
10989 main ()
10991 return xmlParseMemory ();
10993 return 0;
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 ac_cv_lib_xml2_xmlParseMemory=yes
10998 else
10999 ac_cv_lib_xml2_xmlParseMemory=no
11001 rm -f core conftest.err conftest.$ac_objext \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11006 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11007 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11009 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11011 else
11012 XML2_LIBS=""
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11016 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11017 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11018 $as_echo_n "(cached) " >&6
11019 else
11020 ac_check_lib_save_LIBS=$LIBS
11021 LIBS="-lxml2 $XML2_LIBS $LIBS"
11022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11025 /* Override any GCC internal prototype to avoid an error.
11026 Use char because int might match the return type of a GCC
11027 builtin and then its argument prototype would still apply. */
11028 #ifdef __cplusplus
11029 extern "C"
11030 #endif
11031 char xmlReadMemory ();
11033 main ()
11035 return xmlReadMemory ();
11037 return 0;
11039 _ACEOF
11040 if ac_fn_c_try_link "$LINENO"; then :
11041 ac_cv_lib_xml2_xmlReadMemory=yes
11042 else
11043 ac_cv_lib_xml2_xmlReadMemory=no
11045 rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11050 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11051 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11053 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11058 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11059 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11060 $as_echo_n "(cached) " >&6
11061 else
11062 ac_check_lib_save_LIBS=$LIBS
11063 LIBS="-lxml2 $XML2_LIBS $LIBS"
11064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11065 /* end confdefs.h. */
11067 /* Override any GCC internal prototype to avoid an error.
11068 Use char because int might match the return type of a GCC
11069 builtin and then its argument prototype would still apply. */
11070 #ifdef __cplusplus
11071 extern "C"
11072 #endif
11073 char xmlNewDocPI ();
11075 main ()
11077 return xmlNewDocPI ();
11079 return 0;
11081 _ACEOF
11082 if ac_fn_c_try_link "$LINENO"; then :
11083 ac_cv_lib_xml2_xmlNewDocPI=yes
11084 else
11085 ac_cv_lib_xml2_xmlNewDocPI=no
11087 rm -f core conftest.err conftest.$ac_objext \
11088 conftest$ac_exeext conftest.$ac_ext
11089 LIBS=$ac_check_lib_save_LIBS
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11092 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11093 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11095 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11100 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11101 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11102 $as_echo_n "(cached) " >&6
11103 else
11104 ac_check_lib_save_LIBS=$LIBS
11105 LIBS="-lxml2 $XML2_LIBS $LIBS"
11106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11112 #ifdef __cplusplus
11113 extern "C"
11114 #endif
11115 char xmlSchemaSetParserStructuredErrors ();
11117 main ()
11119 return xmlSchemaSetParserStructuredErrors ();
11121 return 0;
11123 _ACEOF
11124 if ac_fn_c_try_link "$LINENO"; then :
11125 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11126 else
11127 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11129 rm -f core conftest.err conftest.$ac_objext \
11130 conftest$ac_exeext conftest.$ac_ext
11131 LIBS=$ac_check_lib_save_LIBS
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11134 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11135 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11137 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11142 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11143 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11144 $as_echo_n "(cached) " >&6
11145 else
11146 ac_check_lib_save_LIBS=$LIBS
11147 LIBS="-lxml2 $XML2_LIBS $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11154 #ifdef __cplusplus
11155 extern "C"
11156 #endif
11157 char xmlSchemaSetValidStructuredErrors ();
11159 main ()
11161 return xmlSchemaSetValidStructuredErrors ();
11163 return 0;
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11168 else
11169 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11176 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11177 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11179 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11184 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11185 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11186 $as_echo_n "(cached) " >&6
11187 else
11188 ac_check_lib_save_LIBS=$LIBS
11189 LIBS="-lxml2 $XML2_LIBS $LIBS"
11190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11193 /* Override any GCC internal prototype to avoid an error.
11194 Use char because int might match the return type of a GCC
11195 builtin and then its argument prototype would still apply. */
11196 #ifdef __cplusplus
11197 extern "C"
11198 #endif
11199 char xmlFirstElementChild ();
11201 main ()
11203 return xmlFirstElementChild ();
11205 return 0;
11207 _ACEOF
11208 if ac_fn_c_try_link "$LINENO"; then :
11209 ac_cv_lib_xml2_xmlFirstElementChild=yes
11210 else
11211 ac_cv_lib_xml2_xmlFirstElementChild=no
11213 rm -f core conftest.err conftest.$ac_objext \
11214 conftest$ac_exeext conftest.$ac_ext
11215 LIBS=$ac_check_lib_save_LIBS
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11218 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11219 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11221 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11225 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11227 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11229 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11233 else
11234 XML2_CFLAGS=""
11235 XML2_LIBS=""
11237 CPPFLAGS=$ac_save_CPPFLAGS
11238 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11239 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11242 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11243 case "x$with_xml" in
11244 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11245 xno) ;;
11246 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11247 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11248 esac
11252 if test "x$with_xslt" != "xno"
11253 then
11254 if ${XSLT_CFLAGS:+false} :; then :
11255 if ${PKG_CONFIG+:} false; then :
11256 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11259 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11260 if ${XSLT_LIBS:+false} :; then :
11261 if ${PKG_CONFIG+:} false; then :
11262 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11265 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11266 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11267 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11268 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11269 ac_save_CPPFLAGS=$CPPFLAGS
11270 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11271 for ac_header in libxslt/pattern.h libxslt/transform.h
11272 do :
11273 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11274 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11275 # include <libxslt/pattern.h>
11276 #endif
11278 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11279 cat >>confdefs.h <<_ACEOF
11280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11281 _ACEOF
11285 done
11287 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11288 then
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11290 $as_echo_n "checking for -lxslt... " >&6; }
11291 if ${ac_cv_lib_soname_xslt+:} false; then :
11292 $as_echo_n "(cached) " >&6
11293 else
11294 ac_check_soname_save_LIBS=$LIBS
11295 LIBS="-lxslt $XSLT_LIBS $LIBS"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11299 /* Override any GCC internal prototype to avoid an error.
11300 Use char because int might match the return type of a GCC
11301 builtin and then its argument prototype would still apply. */
11302 #ifdef __cplusplus
11303 extern "C"
11304 #endif
11305 char xsltCompilePattern ();
11307 main ()
11309 return xsltCompilePattern ();
11311 return 0;
11313 _ACEOF
11314 if ac_fn_c_try_link "$LINENO"; then :
11315 case "$LIBEXT" in
11316 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11317 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'` ;;
11318 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11319 if ${ac_cv_lib_soname_xslt:+false} :; then :
11320 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11321 fi ;;
11322 esac
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_soname_save_LIBS
11328 if ${ac_cv_lib_soname_xslt:+false} :; then :
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11330 $as_echo "not found" >&6; }
11332 else
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11334 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11336 cat >>confdefs.h <<_ACEOF
11337 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11338 _ACEOF
11342 else
11343 XSLT_CFLAGS=""
11345 CPPFLAGS=$ac_save_CPPFLAGS
11346 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11347 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11350 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11351 case "x$with_xslt" in
11352 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11353 xno) ;;
11354 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11355 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11356 esac
11360 if test "x$with_dbus" != "xno"
11361 then
11362 if ${DBUS_CFLAGS:+false} :; then :
11363 if ${PKG_CONFIG+:} false; then :
11364 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11368 if ${DBUS_LIBS:+false} :; then :
11369 if ${PKG_CONFIG+:} false; then :
11370 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11375 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11376 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11377 ac_save_CPPFLAGS=$CPPFLAGS
11378 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11379 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11380 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11382 $as_echo_n "checking for -ldbus-1... " >&6; }
11383 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_soname_save_LIBS=$LIBS
11387 LIBS="-ldbus-1 $DBUS_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. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char dbus_connection_close ();
11399 main ()
11401 return dbus_connection_close ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 case "$LIBEXT" in
11408 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11409 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'` ;;
11410 *) 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'`
11411 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11412 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11413 fi ;;
11414 esac
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 ${ac_cv_lib_soname_dbus_1:+false} :; then :
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11422 $as_echo "not found" >&6; }
11423 DBUS_CFLAGS=""
11424 else
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11426 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11428 cat >>confdefs.h <<_ACEOF
11429 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11430 _ACEOF
11434 else
11435 DBUS_CFLAGS=""
11439 CPPFLAGS=$ac_save_CPPFLAGS
11440 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11441 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11444 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11445 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11446 case "x$with_dbus" in
11447 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11448 xno) ;;
11449 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11450 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11451 esac
11455 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11456 then
11457 if ${HAL_CFLAGS:+false} :; then :
11458 if ${PKG_CONFIG+:} false; then :
11459 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11463 if ${HAL_LIBS:+false} :; then :
11464 if ${PKG_CONFIG+:} false; then :
11465 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11469 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11470 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11471 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11472 ac_save_CPPFLAGS=$CPPFLAGS
11473 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11474 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11475 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11477 $as_echo_n "checking for -lhal... " >&6; }
11478 if ${ac_cv_lib_soname_hal+:} false; then :
11479 $as_echo_n "(cached) " >&6
11480 else
11481 ac_check_soname_save_LIBS=$LIBS
11482 LIBS="-lhal $HAL_LIBS $LIBS"
11483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11484 /* end confdefs.h. */
11486 /* Override any GCC internal prototype to avoid an error.
11487 Use char because int might match the return type of a GCC
11488 builtin and then its argument prototype would still apply. */
11489 #ifdef __cplusplus
11490 extern "C"
11491 #endif
11492 char libhal_ctx_new ();
11494 main ()
11496 return libhal_ctx_new ();
11498 return 0;
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"; then :
11502 case "$LIBEXT" in
11503 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11504 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'` ;;
11505 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11506 if ${ac_cv_lib_soname_hal:+false} :; then :
11507 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11508 fi ;;
11509 esac
11511 rm -f core conftest.err conftest.$ac_objext \
11512 conftest$ac_exeext conftest.$ac_ext
11513 LIBS=$ac_check_soname_save_LIBS
11515 if ${ac_cv_lib_soname_hal:+false} :; then :
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11517 $as_echo "not found" >&6; }
11518 HAL_CFLAGS=""
11519 else
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11521 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11523 cat >>confdefs.h <<_ACEOF
11524 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11525 _ACEOF
11529 else
11530 HAL_CFLAGS=""
11534 CPPFLAGS=$ac_save_CPPFLAGS
11535 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11536 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11538 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11539 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11540 case "x$with_hal" in
11541 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11542 xno) ;;
11543 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11544 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11545 esac
11550 if test "x$with_gnutls" != "xno"
11551 then
11552 if ${GNUTLS_CFLAGS:+false} :; then :
11553 if ${PKG_CONFIG+:} false; then :
11554 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11558 if ${GNUTLS_LIBS:+false} :; then :
11559 if ${PKG_CONFIG+:} false; then :
11560 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11565 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11566 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11567 ac_save_CPPFLAGS=$CPPFLAGS
11568 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11569 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11570 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11572 /* end confdefs.h. */
11573 #include <gnutls/gnutls.h>
11574 #include <gnutls/crypto.h>
11576 main ()
11578 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11580 return 0;
11582 _ACEOF
11583 if ac_fn_c_try_compile "$LINENO"; then :
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11585 $as_echo_n "checking for -lgnutls... " >&6; }
11586 if ${ac_cv_lib_soname_gnutls+:} false; then :
11587 $as_echo_n "(cached) " >&6
11588 else
11589 ac_check_soname_save_LIBS=$LIBS
11590 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11592 /* end confdefs.h. */
11594 /* Override any GCC internal prototype to avoid an error.
11595 Use char because int might match the return type of a GCC
11596 builtin and then its argument prototype would still apply. */
11597 #ifdef __cplusplus
11598 extern "C"
11599 #endif
11600 char gnutls_global_init ();
11602 main ()
11604 return gnutls_global_init ();
11606 return 0;
11608 _ACEOF
11609 if ac_fn_c_try_link "$LINENO"; then :
11610 case "$LIBEXT" in
11611 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11612 dylib) ac_cv_lib_soname_gnutls=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11613 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11614 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11615 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11616 fi ;;
11617 esac
11619 rm -f core conftest.err conftest.$ac_objext \
11620 conftest$ac_exeext conftest.$ac_ext
11621 LIBS=$ac_check_soname_save_LIBS
11623 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11625 $as_echo "not found" >&6; }
11626 GNUTLS_CFLAGS=""
11627 else
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11629 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11631 cat >>confdefs.h <<_ACEOF
11632 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11633 _ACEOF
11637 ac_wine_check_funcs_save_LIBS="$LIBS"
11638 LIBS="$LIBS $GNUTLS_LIBS"
11639 for ac_func in gnutls_hash
11640 do :
11641 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11642 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11643 cat >>confdefs.h <<_ACEOF
11644 #define HAVE_GNUTLS_HASH 1
11645 _ACEOF
11647 else
11648 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11650 done
11652 LIBS="$ac_wine_check_funcs_save_LIBS"
11654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11655 else
11656 GNUTLS_CFLAGS=""
11660 CPPFLAGS=$ac_save_CPPFLAGS
11661 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11662 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11665 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11666 case "x$with_gnutls" in
11667 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11668 xno) ;;
11669 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11670 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11671 esac
11675 CURSES_LIBS=""
11676 if test "$ac_cv_header_ncurses_h" = "yes"
11677 then
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11679 $as_echo_n "checking for -lncurses... " >&6; }
11680 if ${ac_cv_lib_soname_ncurses+:} false; then :
11681 $as_echo_n "(cached) " >&6
11682 else
11683 ac_check_soname_save_LIBS=$LIBS
11684 LIBS="-lncurses $LIBS"
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 char waddch ();
11696 main ()
11698 return waddch ();
11700 return 0;
11702 _ACEOF
11703 if ac_fn_c_try_link "$LINENO"; then :
11704 case "$LIBEXT" in
11705 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11706 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11707 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11708 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11709 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11710 fi ;;
11711 esac
11713 rm -f core conftest.err conftest.$ac_objext \
11714 conftest$ac_exeext conftest.$ac_ext
11715 LIBS=$ac_check_soname_save_LIBS
11717 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11719 $as_echo "not found" >&6; }
11721 else
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11723 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11725 cat >>confdefs.h <<_ACEOF
11726 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11727 _ACEOF
11729 CURSES_LIBS="-lncurses"
11731 elif test "$ac_cv_header_curses_h" = "yes"
11732 then
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11734 $as_echo_n "checking for -lcurses... " >&6; }
11735 if ${ac_cv_lib_soname_curses+:} false; then :
11736 $as_echo_n "(cached) " >&6
11737 else
11738 ac_check_soname_save_LIBS=$LIBS
11739 LIBS="-lcurses $LIBS"
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11743 /* Override any GCC internal prototype to avoid an error.
11744 Use char because int might match the return type of a GCC
11745 builtin and then its argument prototype would still apply. */
11746 #ifdef __cplusplus
11747 extern "C"
11748 #endif
11749 char waddch ();
11751 main ()
11753 return waddch ();
11755 return 0;
11757 _ACEOF
11758 if ac_fn_c_try_link "$LINENO"; then :
11759 case "$LIBEXT" in
11760 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11761 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'` ;;
11762 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11763 if ${ac_cv_lib_soname_curses:+false} :; then :
11764 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11765 fi ;;
11766 esac
11768 rm -f core conftest.err conftest.$ac_objext \
11769 conftest$ac_exeext conftest.$ac_ext
11770 LIBS=$ac_check_soname_save_LIBS
11772 if ${ac_cv_lib_soname_curses:+false} :; then :
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11774 $as_echo "not found" >&6; }
11776 else
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11778 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11780 cat >>confdefs.h <<_ACEOF
11781 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11782 _ACEOF
11784 CURSES_LIBS="-lcurses"
11787 ac_save_LIBS="$LIBS"
11788 LIBS="$LIBS $CURSES_LIBS"
11789 for ac_func in mousemask
11790 do :
11791 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11792 if test "x$ac_cv_func_mousemask" = xyes; then :
11793 cat >>confdefs.h <<_ACEOF
11794 #define HAVE_MOUSEMASK 1
11795 _ACEOF
11798 done
11800 LIBS="$ac_save_LIBS"
11801 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11802 case "x$with_curses" in
11803 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11804 xno) ;;
11805 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11806 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11807 esac
11811 if test "x$with_sane" != "xno"
11812 then
11813 if ${SANE_CFLAGS:+false} :; then :
11814 if ${PKG_CONFIG+:} false; then :
11815 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11818 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11819 if ${SANE_LIBS:+false} :; then :
11820 if ${PKG_CONFIG+:} false; then :
11821 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11824 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11826 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11827 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11828 ac_save_CPPFLAGS=$CPPFLAGS
11829 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11830 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11831 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11833 $as_echo_n "checking for -lsane... " >&6; }
11834 if ${ac_cv_lib_soname_sane+:} false; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 ac_check_soname_save_LIBS=$LIBS
11838 LIBS="-lsane $SANE_LIBS $LIBS"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11845 #ifdef __cplusplus
11846 extern "C"
11847 #endif
11848 char sane_init ();
11850 main ()
11852 return sane_init ();
11854 return 0;
11856 _ACEOF
11857 if ac_fn_c_try_link "$LINENO"; then :
11858 case "$LIBEXT" in
11859 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11860 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'` ;;
11861 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11862 if ${ac_cv_lib_soname_sane:+false} :; then :
11863 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11864 fi ;;
11865 esac
11867 rm -f core conftest.err conftest.$ac_objext \
11868 conftest$ac_exeext conftest.$ac_ext
11869 LIBS=$ac_check_soname_save_LIBS
11871 if ${ac_cv_lib_soname_sane:+false} :; then :
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11873 $as_echo "not found" >&6; }
11874 SANE_CFLAGS=""
11875 else
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11877 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11879 cat >>confdefs.h <<_ACEOF
11880 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11881 _ACEOF
11885 else
11886 SANE_CFLAGS=""
11890 CPPFLAGS=$ac_save_CPPFLAGS
11891 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11892 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11895 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11896 case "x$with_sane" in
11897 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11898 xno) ;;
11899 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11900 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11901 esac
11905 if test "x$with_v4l" != "xno"
11906 then
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11908 $as_echo_n "checking for -lv4l1... " >&6; }
11909 if ${ac_cv_lib_soname_v4l1+:} false; then :
11910 $as_echo_n "(cached) " >&6
11911 else
11912 ac_check_soname_save_LIBS=$LIBS
11913 LIBS="-lv4l1 $LIBS"
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11920 #ifdef __cplusplus
11921 extern "C"
11922 #endif
11923 char v4l1_open ();
11925 main ()
11927 return v4l1_open ();
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_link "$LINENO"; then :
11933 case "$LIBEXT" in
11934 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11935 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'` ;;
11936 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11937 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11938 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11939 fi ;;
11940 esac
11942 rm -f core conftest.err conftest.$ac_objext \
11943 conftest$ac_exeext conftest.$ac_ext
11944 LIBS=$ac_check_soname_save_LIBS
11946 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11948 $as_echo "not found" >&6; }
11950 else
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11952 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11954 cat >>confdefs.h <<_ACEOF
11955 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11956 _ACEOF
11961 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11962 case "x$with_v4l" in
11963 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11964 xno) ;;
11965 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11966 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11967 esac
11971 if test "x$with_gphoto" != "xno"
11972 then
11973 if ${GPHOTO2_CFLAGS:+false} :; then :
11974 if ${PKG_CONFIG+:} false; then :
11975 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11978 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11979 if ${GPHOTO2_LIBS:+false} :; then :
11980 if ${PKG_CONFIG+:} false; then :
11981 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11984 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11985 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11986 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11987 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11988 ac_save_CPPFLAGS=$CPPFLAGS
11989 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11990 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11991 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11993 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11994 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11995 $as_echo_n "(cached) " >&6
11996 else
11997 ac_check_lib_save_LIBS=$LIBS
11998 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12000 /* end confdefs.h. */
12002 /* Override any GCC internal prototype to avoid an error.
12003 Use char because int might match the return type of a GCC
12004 builtin and then its argument prototype would still apply. */
12005 #ifdef __cplusplus
12006 extern "C"
12007 #endif
12008 char gp_camera_new ();
12010 main ()
12012 return gp_camera_new ();
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_link "$LINENO"; then :
12018 ac_cv_lib_gphoto2_gp_camera_new=yes
12019 else
12020 ac_cv_lib_gphoto2_gp_camera_new=no
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_lib_save_LIBS
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12027 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12028 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12030 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12032 else
12033 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12036 else
12037 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12041 CPPFLAGS=$ac_save_CPPFLAGS
12042 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12043 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12045 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12046 if ${PKG_CONFIG+:} false; then :
12047 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12050 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12051 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12052 if ${PKG_CONFIG+:} false; then :
12053 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12056 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12057 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12058 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12059 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12060 ac_save_CPPFLAGS=$CPPFLAGS
12061 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12062 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12063 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12065 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12066 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 ac_check_lib_save_LIBS=$LIBS
12070 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 char gp_port_info_list_new ();
12082 main ()
12084 return gp_port_info_list_new ();
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"; then :
12090 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12091 else
12092 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12094 rm -f core conftest.err conftest.$ac_objext \
12095 conftest$ac_exeext conftest.$ac_ext
12096 LIBS=$ac_check_lib_save_LIBS
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12099 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12100 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12102 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12104 else
12105 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12108 else
12109 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12113 CPPFLAGS=$ac_save_CPPFLAGS
12114 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12115 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12118 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12119 case "x$with_gphoto" in
12120 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12121 xno) ;;
12122 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12123 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12124 esac
12127 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12128 case "x$with_gphoto" in
12129 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12130 xno) ;;
12131 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12132 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12133 esac
12138 if test "$ac_cv_header_resolv_h" = "yes"
12139 then
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12141 $as_echo_n "checking for resolver library... " >&6; }
12142 if ${ac_cv_have_resolv+:} false; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 ac_save_LIBS="$LIBS"
12146 for lib in '' -lresolv
12148 LIBS="$lib $ac_save_LIBS"
12149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12151 #ifdef HAVE_NETINET_IN_H
12152 #include <netinet/in.h>
12153 #endif
12154 #include <resolv.h>
12156 main ()
12158 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12160 return 0;
12162 _ACEOF
12163 if ac_fn_c_try_link "$LINENO"; then :
12164 ac_cv_have_resolv=${lib:-"none required"}
12165 else
12166 ac_cv_have_resolv="not found"
12168 rm -f core conftest.err conftest.$ac_objext \
12169 conftest$ac_exeext conftest.$ac_ext
12170 test "x$ac_cv_have_resolv" = "xnot found" || break
12171 done
12172 LIBS="$ac_save_LIBS"
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12175 $as_echo "$ac_cv_have_resolv" >&6; }
12177 case "$ac_cv_have_resolv" in
12178 "not found") ;;
12179 "none required")
12181 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12184 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12186 RESOLV_LIBS=$ac_cv_have_resolv
12188 esac
12191 if test "x$with_cms" != "xno"
12192 then
12193 if ${LCMS2_CFLAGS:+false} :; then :
12194 if ${PKG_CONFIG+:} false; then :
12195 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12199 if ${LCMS2_LIBS:+false} :; then :
12200 if ${PKG_CONFIG+:} false; then :
12201 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12205 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12206 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12207 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12208 ac_save_CPPFLAGS=$CPPFLAGS
12209 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12210 for ac_header in lcms2.h
12211 do :
12212 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12213 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12214 cat >>confdefs.h <<_ACEOF
12215 #define HAVE_LCMS2_H 1
12216 _ACEOF
12220 done
12222 if test "$ac_cv_header_lcms2_h" = "yes"
12223 then
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12225 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12226 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12227 $as_echo_n "(cached) " >&6
12228 else
12229 ac_check_lib_save_LIBS=$LIBS
12230 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12237 #ifdef __cplusplus
12238 extern "C"
12239 #endif
12240 char cmsOpenProfileFromFile ();
12242 main ()
12244 return cmsOpenProfileFromFile ();
12246 return 0;
12248 _ACEOF
12249 if ac_fn_c_try_link "$LINENO"; then :
12250 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12251 else
12252 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12254 rm -f core conftest.err conftest.$ac_objext \
12255 conftest$ac_exeext conftest.$ac_ext
12256 LIBS=$ac_check_lib_save_LIBS
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12259 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12260 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12262 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12264 else
12265 LCMS2_LIBS=""
12268 else
12269 LCMS2_CFLAGS=""
12270 LCMS2_LIBS=""
12272 CPPFLAGS=$ac_save_CPPFLAGS
12273 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12274 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12277 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12278 case "x$with_cms" in
12279 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12280 xno) ;;
12281 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12282 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12283 esac
12287 if test "x$with_freetype" != "xno"
12288 then
12289 if ${FREETYPE_CFLAGS:+false} :; then :
12290 if ${PKG_CONFIG+:} false; then :
12291 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12294 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12295 if ${FREETYPE_LIBS:+false} :; then :
12296 if ${PKG_CONFIG+:} false; then :
12297 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12300 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12301 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12302 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12303 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12304 ac_save_CPPFLAGS=$CPPFLAGS
12305 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12306 for ac_header in ft2build.h
12307 do :
12308 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12309 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12310 cat >>confdefs.h <<_ACEOF
12311 #define HAVE_FT2BUILD_H 1
12312 _ACEOF
12316 done
12318 if test "$ac_cv_header_ft2build_h" = "yes"
12319 then
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12321 $as_echo_n "checking for -lfreetype... " >&6; }
12322 if ${ac_cv_lib_soname_freetype+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 ac_check_soname_save_LIBS=$LIBS
12326 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328 /* end confdefs.h. */
12330 /* Override any GCC internal prototype to avoid an error.
12331 Use char because int might match the return type of a GCC
12332 builtin and then its argument prototype would still apply. */
12333 #ifdef __cplusplus
12334 extern "C"
12335 #endif
12336 char FT_Init_FreeType ();
12338 main ()
12340 return FT_Init_FreeType ();
12342 return 0;
12344 _ACEOF
12345 if ac_fn_c_try_link "$LINENO"; then :
12346 case "$LIBEXT" in
12347 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12348 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'` ;;
12349 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12350 if ${ac_cv_lib_soname_freetype:+false} :; then :
12351 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12352 fi ;;
12353 esac
12355 rm -f core conftest.err conftest.$ac_objext \
12356 conftest$ac_exeext conftest.$ac_ext
12357 LIBS=$ac_check_soname_save_LIBS
12359 if ${ac_cv_lib_soname_freetype:+false} :; then :
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12361 $as_echo "not found" >&6; }
12362 FREETYPE_LIBS=""
12363 else
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12365 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12367 cat >>confdefs.h <<_ACEOF
12368 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12369 _ACEOF
12372 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12374 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12375 #include FT_MODULE_H
12377 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12379 cat >>confdefs.h <<_ACEOF
12380 #define HAVE_FT_TRUETYPEENGINETYPE 1
12381 _ACEOF
12387 else
12388 FREETYPE_CFLAGS=""
12389 FREETYPE_LIBS=""
12391 CPPFLAGS=$ac_save_CPPFLAGS
12392 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12393 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12396 if test "x$ac_cv_lib_soname_freetype" = x; then :
12397 case "x$with_freetype" in
12398 xno) ;;
12399 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12400 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12401 esac
12402 enable_fonts=${enable_fonts:-no}
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12406 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12407 if ${ac_cv_c_ppdev+:} false; then :
12408 $as_echo_n "(cached) " >&6
12409 else
12410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12412 #ifdef HAVE_SYS_IOCTL_H
12413 # include <sys/ioctl.h>
12414 #endif
12415 #include <linux/ppdev.h>
12417 main ()
12419 ioctl (1,PPCLAIM,0)
12421 return 0;
12423 _ACEOF
12424 if ac_fn_c_try_compile "$LINENO"; then :
12425 ac_cv_c_ppdev="yes"
12426 else
12427 ac_cv_c_ppdev="no"
12429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12432 $as_echo "$ac_cv_c_ppdev" >&6; }
12433 if test "$ac_cv_c_ppdev" = "yes"
12434 then
12436 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12440 ac_wine_check_funcs_save_LIBS="$LIBS"
12441 LIBS="$LIBS $PTHREAD_LIBS"
12442 for ac_func in \
12443 pthread_attr_get_np \
12444 pthread_getattr_np \
12445 pthread_getthreadid_np \
12446 pthread_get_stackaddr_np \
12447 pthread_get_stacksize_np
12448 do :
12449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12451 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12452 cat >>confdefs.h <<_ACEOF
12453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12454 _ACEOF
12457 done
12459 LIBS="$ac_wine_check_funcs_save_LIBS"
12461 if test "$ac_cv_header_zlib_h" = "yes"
12462 then
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12464 $as_echo_n "checking for inflate in -lz... " >&6; }
12465 if ${ac_cv_lib_z_inflate+:} false; then :
12466 $as_echo_n "(cached) " >&6
12467 else
12468 ac_check_lib_save_LIBS=$LIBS
12469 LIBS="-lz $LIBS"
12470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471 /* end confdefs.h. */
12473 /* Override any GCC internal prototype to avoid an error.
12474 Use char because int might match the return type of a GCC
12475 builtin and then its argument prototype would still apply. */
12476 #ifdef __cplusplus
12477 extern "C"
12478 #endif
12479 char inflate ();
12481 main ()
12483 return inflate ();
12485 return 0;
12487 _ACEOF
12488 if ac_fn_c_try_link "$LINENO"; then :
12489 ac_cv_lib_z_inflate=yes
12490 else
12491 ac_cv_lib_z_inflate=no
12493 rm -f core conftest.err conftest.$ac_objext \
12494 conftest$ac_exeext conftest.$ac_ext
12495 LIBS=$ac_check_lib_save_LIBS
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12498 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12499 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12501 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12503 Z_LIBS="-lz"
12508 if test "x$Z_LIBS" = "x"; then :
12509 case "x$with_zlib" in
12510 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12511 xno) ;;
12512 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12513 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12514 esac
12518 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12519 then
12520 if test "$ac_cv_header_gettext_po_h" = "yes"
12521 then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12523 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12524 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 ac_check_lib_save_LIBS=$LIBS
12528 LIBS="-lgettextpo $LIBS"
12529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12535 #ifdef __cplusplus
12536 extern "C"
12537 #endif
12538 char po_message_msgctxt ();
12540 main ()
12542 return po_message_msgctxt ();
12544 return 0;
12546 _ACEOF
12547 if ac_fn_c_try_link "$LINENO"; then :
12548 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12549 else
12550 ac_cv_lib_gettextpo_po_message_msgctxt=no
12552 rm -f core conftest.err conftest.$ac_objext \
12553 conftest$ac_exeext conftest.$ac_ext
12554 LIBS=$ac_check_lib_save_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12557 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12558 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12560 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12562 GETTEXTPO_LIBS="-lgettextpo"
12567 if test "x$GETTEXTPO_LIBS" = "x"; then :
12568 case "x$with_gettextpo" in
12569 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12570 xno) ;;
12571 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12572 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12573 esac
12576 if test "$srcdir" != .; then :
12577 case "x$with_gettextpo" in
12578 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12579 xno) ;;
12580 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12581 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12582 esac
12587 if test "x$with_pulse" != "xno";
12588 then
12589 if ${PULSE_CFLAGS:+false} :; then :
12590 if ${PKG_CONFIG+:} false; then :
12591 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12595 if ${PULSE_LIBS:+false} :; then :
12596 if ${PKG_CONFIG+:} false; then :
12597 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12602 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12603 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12604 ac_save_CPPFLAGS=$CPPFLAGS
12605 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12606 for ac_header in pulse/pulseaudio.h
12607 do :
12608 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12609 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12610 cat >>confdefs.h <<_ACEOF
12611 #define HAVE_PULSE_PULSEAUDIO_H 1
12612 _ACEOF
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12614 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12615 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12616 $as_echo_n "(cached) " >&6
12617 else
12618 ac_check_lib_save_LIBS=$LIBS
12619 LIBS="-lpulse $PULSE_LIBS $LIBS"
12620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12623 /* Override any GCC internal prototype to avoid an error.
12624 Use char because int might match the return type of a GCC
12625 builtin and then its argument prototype would still apply. */
12626 #ifdef __cplusplus
12627 extern "C"
12628 #endif
12629 char pa_stream_is_corked ();
12631 main ()
12633 return pa_stream_is_corked ();
12635 return 0;
12637 _ACEOF
12638 if ac_fn_c_try_link "$LINENO"; then :
12639 ac_cv_lib_pulse_pa_stream_is_corked=yes
12640 else
12641 ac_cv_lib_pulse_pa_stream_is_corked=no
12643 rm -f core conftest.err conftest.$ac_objext \
12644 conftest$ac_exeext conftest.$ac_ext
12645 LIBS=$ac_check_lib_save_LIBS
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12648 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12649 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12651 else
12652 PULSE_LIBS=""
12655 else
12656 PULSE_LIBS=""
12659 done
12661 CPPFLAGS=$ac_save_CPPFLAGS
12662 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12663 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12666 if test -z "$PULSE_LIBS"; then :
12667 case "x$with_pulse" in
12668 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12669 xno) ;;
12670 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12671 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12672 esac
12673 enable_winepulse_drv=${enable_winepulse_drv:-no}
12676 if test "x$with_gstreamer" != "xno"
12677 then
12678 if ${GSTREAMER_CFLAGS:+false} :; then :
12679 if ${PKG_CONFIG+:} false; then :
12680 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12684 if ${GSTREAMER_LIBS:+false} :; then :
12685 if ${PKG_CONFIG+:} false; then :
12686 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12691 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12692 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12693 ac_save_CPPFLAGS=$CPPFLAGS
12694 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12695 ac_gst_incl=""
12696 for i in $GSTREAMER_CFLAGS
12698 case "$i" in
12699 -I*) ac_gst_incl="$ac_gst_incl $i";;
12700 esac
12701 done
12702 GSTREAMER_CFLAGS=$ac_gst_incl
12703 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12704 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12705 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12707 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 #include <gst/gst.h>
12712 main ()
12714 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12716 return 0;
12718 _ACEOF
12719 if ac_fn_c_try_compile "$LINENO"; then :
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12721 $as_echo "yes" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12723 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12724 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12725 $as_echo_n "(cached) " >&6
12726 else
12727 ac_check_lib_save_LIBS=$LIBS
12728 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12732 /* Override any GCC internal prototype to avoid an error.
12733 Use char because int might match the return type of a GCC
12734 builtin and then its argument prototype would still apply. */
12735 #ifdef __cplusplus
12736 extern "C"
12737 #endif
12738 char gst_pad_new ();
12740 main ()
12742 return gst_pad_new ();
12744 return 0;
12746 _ACEOF
12747 if ac_fn_c_try_link "$LINENO"; then :
12748 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12749 else
12750 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12752 rm -f core conftest.err conftest.$ac_objext \
12753 conftest$ac_exeext conftest.$ac_ext
12754 LIBS=$ac_check_lib_save_LIBS
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12757 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12758 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12762 else
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12765 ac_glib2_broken=yes
12766 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12772 CPPFLAGS=$ac_save_CPPFLAGS
12773 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12774 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12777 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
12778 case "x$with_gstreamer" in
12779 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12780 xno) ;;
12781 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12782 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12783 esac
12786 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12788 ALSA_LIBS=""
12790 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12791 then
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12793 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12794 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12795 $as_echo_n "(cached) " >&6
12796 else
12797 ac_check_lib_save_LIBS=$LIBS
12798 LIBS="-lasound $LIBS"
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 /* Override any GCC internal prototype to avoid an error.
12803 Use char because int might match the return type of a GCC
12804 builtin and then its argument prototype would still apply. */
12805 #ifdef __cplusplus
12806 extern "C"
12807 #endif
12808 char snd_pcm_hw_params_get_access_mask ();
12810 main ()
12812 return snd_pcm_hw_params_get_access_mask ();
12814 return 0;
12816 _ACEOF
12817 if ac_fn_c_try_link "$LINENO"; then :
12818 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12819 else
12820 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12822 rm -f core conftest.err conftest.$ac_objext \
12823 conftest$ac_exeext conftest.$ac_ext
12824 LIBS=$ac_check_lib_save_LIBS
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12827 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12828 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12831 #ifdef HAVE_ALSA_ASOUNDLIB_H
12832 #include <alsa/asoundlib.h>
12833 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12834 #include <sys/asoundlib.h>
12835 #endif
12837 main ()
12839 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12841 return 0;
12843 _ACEOF
12844 if ac_fn_c_try_compile "$LINENO"; then :
12845 ALSA_LIBS="-lasound"
12847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12851 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12853 if test "x$with_oss" != xno
12854 then
12855 ac_save_CPPFLAGS="$CPPFLAGS"
12856 if test -f /etc/oss.conf
12857 then
12858 . /etc/oss.conf
12860 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12861 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12862 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12863 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12864 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12866 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12868 cat >>confdefs.h <<_ACEOF
12869 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12870 _ACEOF
12872 OSS4_CFLAGS="$ac_oss_incl"
12879 CPPFLAGS="$ac_save_CPPFLAGS"
12881 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12882 case "x$with_oss" in
12883 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12884 xno) ;;
12885 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12886 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12887 esac
12888 enable_wineoss_drv=${enable_wineoss_drv:-no}
12891 if test "x$with_capi" != "xno"
12892 then
12893 if ${CAPI20_CFLAGS:+false} :; then :
12894 if ${PKG_CONFIG+:} false; then :
12895 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12899 if ${CAPI20_LIBS:+false} :; then :
12900 if ${PKG_CONFIG+:} false; then :
12901 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12906 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12907 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12908 ac_save_CPPFLAGS=$CPPFLAGS
12909 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12910 for ac_header in capi20.h linux/capi.h
12911 do :
12912 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12913 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12915 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12916 cat >>confdefs.h <<_ACEOF
12917 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12918 _ACEOF
12922 done
12924 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12925 then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12927 $as_echo_n "checking for -lcapi20... " >&6; }
12928 if ${ac_cv_lib_soname_capi20+:} false; then :
12929 $as_echo_n "(cached) " >&6
12930 else
12931 ac_check_soname_save_LIBS=$LIBS
12932 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12939 #ifdef __cplusplus
12940 extern "C"
12941 #endif
12942 char capi20_register ();
12944 main ()
12946 return capi20_register ();
12948 return 0;
12950 _ACEOF
12951 if ac_fn_c_try_link "$LINENO"; then :
12952 case "$LIBEXT" in
12953 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12954 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'` ;;
12955 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12956 if ${ac_cv_lib_soname_capi20:+false} :; then :
12957 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12958 fi ;;
12959 esac
12961 rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
12963 LIBS=$ac_check_soname_save_LIBS
12965 if ${ac_cv_lib_soname_capi20:+false} :; then :
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12967 $as_echo "not found" >&6; }
12969 else
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12971 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12973 cat >>confdefs.h <<_ACEOF
12974 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12975 _ACEOF
12980 CPPFLAGS=$ac_save_CPPFLAGS
12981 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12982 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12985 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12986 case "x$with_capi" in
12987 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12988 xno) ;;
12989 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12990 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12991 esac
12995 CUPS_CFLAGS=""
12997 if test "x$with_cups" != "xno"
12998 then
12999 ac_save_CPPFLAGS="$CPPFLAGS"
13000 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13001 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13002 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13003 for ac_header in cups/cups.h
13004 do :
13005 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13006 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13007 cat >>confdefs.h <<_ACEOF
13008 #define HAVE_CUPS_CUPS_H 1
13009 _ACEOF
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13011 $as_echo_n "checking for -lcups... " >&6; }
13012 if ${ac_cv_lib_soname_cups+:} false; then :
13013 $as_echo_n "(cached) " >&6
13014 else
13015 ac_check_soname_save_LIBS=$LIBS
13016 LIBS="-lcups $ac_cups_libs $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13023 #ifdef __cplusplus
13024 extern "C"
13025 #endif
13026 char cupsGetDefault ();
13028 main ()
13030 return cupsGetDefault ();
13032 return 0;
13034 _ACEOF
13035 if ac_fn_c_try_link "$LINENO"; then :
13036 case "$LIBEXT" in
13037 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13038 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'` ;;
13039 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13040 if ${ac_cv_lib_soname_cups:+false} :; then :
13041 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13042 fi ;;
13043 esac
13045 rm -f core conftest.err conftest.$ac_objext \
13046 conftest$ac_exeext conftest.$ac_ext
13047 LIBS=$ac_check_soname_save_LIBS
13049 if ${ac_cv_lib_soname_cups:+false} :; then :
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13051 $as_echo "not found" >&6; }
13053 else
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13055 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13057 cat >>confdefs.h <<_ACEOF
13058 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13059 _ACEOF
13061 CUPS_CFLAGS="$ac_cups_cflags"
13063 for ac_header in cups/ppd.h
13064 do :
13065 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13066 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13067 cat >>confdefs.h <<_ACEOF
13068 #define HAVE_CUPS_PPD_H 1
13069 _ACEOF
13073 done
13077 done
13079 CPPFLAGS="$ac_save_CPPFLAGS"
13081 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13082 case "x$with_cups" in
13083 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13084 xno) ;;
13085 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13086 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13087 esac
13091 if test "x$with_fontconfig" != "xno"
13092 then
13093 if ${FONTCONFIG_CFLAGS:+false} :; then :
13094 if ${PKG_CONFIG+:} false; then :
13095 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13098 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13099 if ${FONTCONFIG_LIBS:+false} :; then :
13100 if ${PKG_CONFIG+:} false; then :
13101 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13104 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13106 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13107 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13108 ac_save_CPPFLAGS=$CPPFLAGS
13109 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13110 for ac_header in fontconfig/fontconfig.h
13111 do :
13112 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13113 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13114 cat >>confdefs.h <<_ACEOF
13115 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13116 _ACEOF
13120 done
13122 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13123 then
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13125 $as_echo_n "checking for -lfontconfig... " >&6; }
13126 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13127 $as_echo_n "(cached) " >&6
13128 else
13129 ac_check_soname_save_LIBS=$LIBS
13130 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13132 /* end confdefs.h. */
13134 /* Override any GCC internal prototype to avoid an error.
13135 Use char because int might match the return type of a GCC
13136 builtin and then its argument prototype would still apply. */
13137 #ifdef __cplusplus
13138 extern "C"
13139 #endif
13140 char FcInit ();
13142 main ()
13144 return FcInit ();
13146 return 0;
13148 _ACEOF
13149 if ac_fn_c_try_link "$LINENO"; then :
13150 case "$LIBEXT" in
13151 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13152 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'` ;;
13153 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13154 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13155 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13156 fi ;;
13157 esac
13159 rm -f core conftest.err conftest.$ac_objext \
13160 conftest$ac_exeext conftest.$ac_ext
13161 LIBS=$ac_check_soname_save_LIBS
13163 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13165 $as_echo "not found" >&6; }
13166 FONTCONFIG_CFLAGS=""
13167 else
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13169 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13171 cat >>confdefs.h <<_ACEOF
13172 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13173 _ACEOF
13177 else
13178 FONTCONFIG_CFLAGS=""
13180 CPPFLAGS=$ac_save_CPPFLAGS
13181 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13182 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13185 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13186 case "x$with_fontconfig" in
13187 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13188 xno) ;;
13189 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13190 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13191 esac
13195 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13196 then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13198 $as_echo_n "checking for -lgsm... " >&6; }
13199 if ${ac_cv_lib_soname_gsm+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13202 ac_check_soname_save_LIBS=$LIBS
13203 LIBS="-lgsm $LIBS"
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 char gsm_create ();
13215 main ()
13217 return gsm_create ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 case "$LIBEXT" in
13224 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13225 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'` ;;
13226 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13227 if ${ac_cv_lib_soname_gsm:+false} :; then :
13228 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13229 fi ;;
13230 esac
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_soname_save_LIBS
13236 if ${ac_cv_lib_soname_gsm:+false} :; then :
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13238 $as_echo "not found" >&6; }
13240 else
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13242 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13244 cat >>confdefs.h <<_ACEOF
13245 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13246 _ACEOF
13251 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13252 case "x$with_gsm" in
13253 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13254 xno) ;;
13255 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13256 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13257 esac
13261 if test "x$with_jpeg" != "xno"
13262 then
13263 if ${JPEG_CFLAGS:+false} :; then :
13264 if ${PKG_CONFIG+:} false; then :
13265 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13269 if ${JPEG_LIBS:+false} :; then :
13270 if ${PKG_CONFIG+:} false; then :
13271 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13276 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13277 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13278 ac_save_CPPFLAGS=$CPPFLAGS
13279 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13280 for ac_header in jpeglib.h
13281 do :
13282 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13283 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13284 cat >>confdefs.h <<_ACEOF
13285 #define HAVE_JPEGLIB_H 1
13286 _ACEOF
13290 done
13292 if test "$ac_cv_header_jpeglib_h" = "yes"
13293 then
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13295 $as_echo_n "checking for -ljpeg... " >&6; }
13296 if ${ac_cv_lib_soname_jpeg+:} false; then :
13297 $as_echo_n "(cached) " >&6
13298 else
13299 ac_check_soname_save_LIBS=$LIBS
13300 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13302 /* end confdefs.h. */
13304 /* Override any GCC internal prototype to avoid an error.
13305 Use char because int might match the return type of a GCC
13306 builtin and then its argument prototype would still apply. */
13307 #ifdef __cplusplus
13308 extern "C"
13309 #endif
13310 char jpeg_start_decompress ();
13312 main ()
13314 return jpeg_start_decompress ();
13316 return 0;
13318 _ACEOF
13319 if ac_fn_c_try_link "$LINENO"; then :
13320 case "$LIBEXT" in
13321 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13322 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'` ;;
13323 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13324 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13325 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13326 fi ;;
13327 esac
13329 rm -f core conftest.err conftest.$ac_objext \
13330 conftest$ac_exeext conftest.$ac_ext
13331 LIBS=$ac_check_soname_save_LIBS
13333 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13335 $as_echo "not found" >&6; }
13336 JPEG_CFLAGS=""
13337 else
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13339 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13341 cat >>confdefs.h <<_ACEOF
13342 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13343 _ACEOF
13347 else
13348 JPEG_CFLAGS=""
13350 CPPFLAGS=$ac_save_CPPFLAGS
13351 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13352 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13355 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13356 case "x$with_jpeg" in
13357 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13358 xno) ;;
13359 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13360 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13361 esac
13365 if test "x$with_png" != "xno"
13366 then
13367 if ${PNG_CFLAGS:+false} :; then :
13368 if ${PKG_CONFIG+:} false; then :
13369 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13372 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13373 if ${PNG_LIBS:+false} :; then :
13374 if ${PKG_CONFIG+:} false; then :
13375 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13378 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13380 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13381 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13382 ac_save_CPPFLAGS=$CPPFLAGS
13383 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13384 for ac_header in png.h
13385 do :
13386 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13387 if test "x$ac_cv_header_png_h" = xyes; then :
13388 cat >>confdefs.h <<_ACEOF
13389 #define HAVE_PNG_H 1
13390 _ACEOF
13394 done
13396 if test "$ac_cv_header_png_h" = "yes"
13397 then
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13399 $as_echo_n "checking for -lpng... " >&6; }
13400 if ${ac_cv_lib_soname_png+:} false; then :
13401 $as_echo_n "(cached) " >&6
13402 else
13403 ac_check_soname_save_LIBS=$LIBS
13404 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13406 /* end confdefs.h. */
13408 /* Override any GCC internal prototype to avoid an error.
13409 Use char because int might match the return type of a GCC
13410 builtin and then its argument prototype would still apply. */
13411 #ifdef __cplusplus
13412 extern "C"
13413 #endif
13414 char png_create_read_struct ();
13416 main ()
13418 return png_create_read_struct ();
13420 return 0;
13422 _ACEOF
13423 if ac_fn_c_try_link "$LINENO"; then :
13424 case "$LIBEXT" in
13425 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13426 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'` ;;
13427 *) 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'`
13428 if ${ac_cv_lib_soname_png:+false} :; then :
13429 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13430 fi ;;
13431 esac
13433 rm -f core conftest.err conftest.$ac_objext \
13434 conftest$ac_exeext conftest.$ac_ext
13435 LIBS=$ac_check_soname_save_LIBS
13437 if ${ac_cv_lib_soname_png:+false} :; then :
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13439 $as_echo "not found" >&6; }
13440 PNG_CFLAGS=""
13441 else
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13443 $as_echo "$ac_cv_lib_soname_png" >&6; }
13445 cat >>confdefs.h <<_ACEOF
13446 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13447 _ACEOF
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13451 #include <png.h>
13453 main ()
13455 typeof(png_set_expand_gray_1_2_4_to_8) *p
13457 return 0;
13459 _ACEOF
13460 if ac_fn_c_try_compile "$LINENO"; then :
13462 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13467 else
13468 PNG_CFLAGS=""
13470 CPPFLAGS=$ac_save_CPPFLAGS
13471 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13472 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13475 if test "x$ac_cv_lib_soname_png" = "x"; then :
13476 case "x$with_png" in
13477 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13478 xno) ;;
13479 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13480 This is an error since --with-png was requested." "$LINENO" 5 ;;
13481 esac
13485 if test "x$with_tiff" != "xno"
13486 then
13487 if ${TIFF_CFLAGS:+false} :; then :
13488 if ${PKG_CONFIG+:} false; then :
13489 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13493 if ${TIFF_LIBS:+false} :; then :
13494 if ${PKG_CONFIG+:} false; then :
13495 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13500 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13501 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13502 ac_save_CPPFLAGS=$CPPFLAGS
13503 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13504 for ac_header in tiffio.h
13505 do :
13506 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13507 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13508 cat >>confdefs.h <<_ACEOF
13509 #define HAVE_TIFFIO_H 1
13510 _ACEOF
13514 done
13516 if test "$ac_cv_header_tiffio_h" = "yes"
13517 then
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13519 $as_echo_n "checking for -ltiff... " >&6; }
13520 if ${ac_cv_lib_soname_tiff+:} false; then :
13521 $as_echo_n "(cached) " >&6
13522 else
13523 ac_check_soname_save_LIBS=$LIBS
13524 LIBS="-ltiff $TIFF_LIBS $LIBS"
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13528 /* Override any GCC internal prototype to avoid an error.
13529 Use char because int might match the return type of a GCC
13530 builtin and then its argument prototype would still apply. */
13531 #ifdef __cplusplus
13532 extern "C"
13533 #endif
13534 char TIFFClientOpen ();
13536 main ()
13538 return TIFFClientOpen ();
13540 return 0;
13542 _ACEOF
13543 if ac_fn_c_try_link "$LINENO"; then :
13544 case "$LIBEXT" in
13545 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13546 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'` ;;
13547 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13548 if ${ac_cv_lib_soname_tiff:+false} :; then :
13549 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13550 fi ;;
13551 esac
13553 rm -f core conftest.err conftest.$ac_objext \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_soname_save_LIBS
13557 if ${ac_cv_lib_soname_tiff:+false} :; then :
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13559 $as_echo "not found" >&6; }
13561 else
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13563 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13565 cat >>confdefs.h <<_ACEOF
13566 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13567 _ACEOF
13572 CPPFLAGS=$ac_save_CPPFLAGS
13573 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13574 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13577 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13578 case "x$with_tiff" in
13579 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13580 xno) ;;
13581 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13582 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13583 esac
13587 if test "x$with_mpg123" != "xno"
13588 then
13589 if ${MPG123_CFLAGS:+false} :; then :
13590 if ${PKG_CONFIG+:} false; then :
13591 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13595 if ${MPG123_LIBS:+false} :; then :
13596 if ${PKG_CONFIG+:} false; then :
13597 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13601 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13602 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13603 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13604 ac_save_CPPFLAGS=$CPPFLAGS
13605 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13606 for ac_header in mpg123.h
13607 do :
13608 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13609 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13610 cat >>confdefs.h <<_ACEOF
13611 #define HAVE_MPG123_H 1
13612 _ACEOF
13616 done
13618 if test "$ac_cv_header_mpg123_h" = "yes"
13619 then
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13621 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13622 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13623 $as_echo_n "(cached) " >&6
13624 else
13625 ac_check_lib_save_LIBS=$LIBS
13626 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13630 /* Override any GCC internal prototype to avoid an error.
13631 Use char because int might match the return type of a GCC
13632 builtin and then its argument prototype would still apply. */
13633 #ifdef __cplusplus
13634 extern "C"
13635 #endif
13636 char mpg123_feed ();
13638 main ()
13640 return mpg123_feed ();
13642 return 0;
13644 _ACEOF
13645 if ac_fn_c_try_link "$LINENO"; then :
13646 ac_cv_lib_mpg123_mpg123_feed=yes
13647 else
13648 ac_cv_lib_mpg123_mpg123_feed=no
13650 rm -f core conftest.err conftest.$ac_objext \
13651 conftest$ac_exeext conftest.$ac_ext
13652 LIBS=$ac_check_lib_save_LIBS
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13655 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13656 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13658 else
13659 MPG123_LIBS=""
13662 else
13663 MPG123_CFLAGS=""
13664 MPG123_LIBS=""
13666 CPPFLAGS=$ac_save_CPPFLAGS
13667 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13668 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13671 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13672 case "x$with_mpg123" in
13673 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13674 xno) ;;
13675 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13676 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13677 esac
13678 enable_winemp3_acm=${enable_winemp3_acm:-no}
13681 if test "$ac_cv_header_AL_al_h" = "yes"
13682 then
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13684 $as_echo_n "checking for -lopenal... " >&6; }
13685 if ${ac_cv_lib_soname_openal+:} false; then :
13686 $as_echo_n "(cached) " >&6
13687 else
13688 ac_check_soname_save_LIBS=$LIBS
13689 LIBS="-lopenal $LIBS"
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13693 /* Override any GCC internal prototype to avoid an error.
13694 Use char because int might match the return type of a GCC
13695 builtin and then its argument prototype would still apply. */
13696 #ifdef __cplusplus
13697 extern "C"
13698 #endif
13699 char alGetSource3i ();
13701 main ()
13703 return alGetSource3i ();
13705 return 0;
13707 _ACEOF
13708 if ac_fn_c_try_link "$LINENO"; then :
13709 case "$LIBEXT" in
13710 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13711 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'` ;;
13712 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13713 if ${ac_cv_lib_soname_openal:+false} :; then :
13714 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13715 fi ;;
13716 esac
13718 rm -f core conftest.err conftest.$ac_objext \
13719 conftest$ac_exeext conftest.$ac_ext
13720 LIBS=$ac_check_soname_save_LIBS
13722 if ${ac_cv_lib_soname_openal:+false} :; then :
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13724 $as_echo "not found" >&6; }
13726 else
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13728 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13730 cat >>confdefs.h <<_ACEOF
13731 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13732 _ACEOF
13734 OPENAL_LIBS="-lopenal"
13736 ac_cv_lib_openal=yes
13738 cat >>confdefs.h <<_ACEOF
13739 #define HAVE_OPENAL 1
13740 _ACEOF
13744 if test "x$ac_cv_lib_openal" != xyes; then :
13745 case "x$with_openal" in
13746 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13747 xno) ;;
13748 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13749 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13750 esac
13751 enable_openal32=${enable_openal32:-no}
13754 if test "x$ac_cv_lib_openal" = xyes
13755 then
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13757 $as_echo_n "checking for openal-soft... " >&6; }
13758 if ${ac_cv_have_openalsoft+:} false; then :
13759 $as_echo_n "(cached) " >&6
13760 else
13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13762 /* end confdefs.h. */
13763 #include <AL/al.h>
13764 #include <AL/alc.h>
13765 #include <AL/alext.h>
13766 LPALCRENDERSAMPLESSOFT x;
13768 main ()
13772 return 0;
13774 _ACEOF
13775 if ac_fn_c_try_compile "$LINENO"; then :
13776 ac_cv_have_openalsoft=yes
13777 else
13778 ac_cv_have_openalsoft=no
13780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13783 $as_echo "$ac_cv_have_openalsoft" >&6; }
13785 if test "x$ac_cv_have_openalsoft" != xyes
13786 then
13787 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13788 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13789 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13790 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13791 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13792 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13793 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13794 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13795 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13796 enable_xapofx1_1=${enable_xapofx1_1:-no}
13797 enable_xapofx1_2=${enable_xapofx1_2:-no}
13798 enable_xapofx1_3=${enable_xapofx1_3:-no}
13799 enable_xapofx1_4=${enable_xapofx1_4:-no}
13800 enable_xapofx1_5=${enable_xapofx1_5:-no}
13801 enable_xaudio2_0=${enable_xaudio2_0:-no}
13802 enable_xaudio2_1=${enable_xaudio2_1:-no}
13803 enable_xaudio2_2=${enable_xaudio2_2:-no}
13804 enable_xaudio2_3=${enable_xaudio2_3:-no}
13805 enable_xaudio2_4=${enable_xaudio2_4:-no}
13806 enable_xaudio2_5=${enable_xaudio2_5:-no}
13807 enable_xaudio2_6=${enable_xaudio2_6:-no}
13808 enable_xaudio2_7=${enable_xaudio2_7:-no}
13809 enable_xaudio2_8=${enable_xaudio2_8:-no}
13810 enable_xaudio2_9=${enable_xaudio2_9:-no}
13813 if test "$ac_cv_header_kstat_h" = "yes"
13814 then
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13816 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13817 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13818 $as_echo_n "(cached) " >&6
13819 else
13820 ac_check_lib_save_LIBS=$LIBS
13821 LIBS="-lkstat $LIBS"
13822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13828 #ifdef __cplusplus
13829 extern "C"
13830 #endif
13831 char kstat_open ();
13833 main ()
13835 return kstat_open ();
13837 return 0;
13839 _ACEOF
13840 if ac_fn_c_try_link "$LINENO"; then :
13841 ac_cv_lib_kstat_kstat_open=yes
13842 else
13843 ac_cv_lib_kstat_kstat_open=no
13845 rm -f core conftest.err conftest.$ac_objext \
13846 conftest$ac_exeext conftest.$ac_ext
13847 LIBS=$ac_check_lib_save_LIBS
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13850 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13851 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13853 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13855 KSTAT_LIBS="-lkstat"
13861 if test "$ac_cv_header_libprocstat_h" = "yes"
13862 then
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13864 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13865 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13866 $as_echo_n "(cached) " >&6
13867 else
13868 ac_check_lib_save_LIBS=$LIBS
13869 LIBS="-lprocstat $LIBS"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871 /* end confdefs.h. */
13873 /* Override any GCC internal prototype to avoid an error.
13874 Use char because int might match the return type of a GCC
13875 builtin and then its argument prototype would still apply. */
13876 #ifdef __cplusplus
13877 extern "C"
13878 #endif
13879 char procstat_open_sysctl ();
13881 main ()
13883 return procstat_open_sysctl ();
13885 return 0;
13887 _ACEOF
13888 if ac_fn_c_try_link "$LINENO"; then :
13889 ac_cv_lib_procstat_procstat_open_sysctl=yes
13890 else
13891 ac_cv_lib_procstat_procstat_open_sysctl=no
13893 rm -f core conftest.err conftest.$ac_objext \
13894 conftest$ac_exeext conftest.$ac_ext
13895 LIBS=$ac_check_lib_save_LIBS
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13898 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13899 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13901 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13903 PROCSTAT_LIBS="-lprocstat"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13910 $as_echo_n "checking for -lodbc... " >&6; }
13911 if ${ac_cv_lib_soname_odbc+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 ac_check_soname_save_LIBS=$LIBS
13915 LIBS="-lodbc $LIBS"
13916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13919 /* Override any GCC internal prototype to avoid an error.
13920 Use char because int might match the return type of a GCC
13921 builtin and then its argument prototype would still apply. */
13922 #ifdef __cplusplus
13923 extern "C"
13924 #endif
13925 char SQLConnect ();
13927 main ()
13929 return SQLConnect ();
13931 return 0;
13933 _ACEOF
13934 if ac_fn_c_try_link "$LINENO"; then :
13935 case "$LIBEXT" in
13936 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13937 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'` ;;
13938 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13939 if ${ac_cv_lib_soname_odbc:+false} :; then :
13940 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13941 fi ;;
13942 esac
13944 rm -f core conftest.err conftest.$ac_objext \
13945 conftest$ac_exeext conftest.$ac_ext
13946 LIBS=$ac_check_soname_save_LIBS
13948 if ${ac_cv_lib_soname_odbc:+false} :; then :
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13950 $as_echo "not found" >&6; }
13951 cat >>confdefs.h <<_ACEOF
13952 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13953 _ACEOF
13955 else
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13957 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13959 cat >>confdefs.h <<_ACEOF
13960 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13961 _ACEOF
13966 if test "x$with_netapi" != "xno"
13967 then
13968 if ${NETAPI_CFLAGS:+false} :; then :
13969 if ${PKG_CONFIG+:} false; then :
13970 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13974 if ${NETAPI_LIBS:+false} :; then :
13975 if ${PKG_CONFIG+:} false; then :
13976 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13981 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13982 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13983 ac_save_CPPFLAGS=$CPPFLAGS
13984 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13986 $as_echo_n "checking for -lnetapi... " >&6; }
13987 if ${ac_cv_lib_soname_netapi+:} false; then :
13988 $as_echo_n "(cached) " >&6
13989 else
13990 ac_check_soname_save_LIBS=$LIBS
13991 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13993 /* end confdefs.h. */
13995 /* Override any GCC internal prototype to avoid an error.
13996 Use char because int might match the return type of a GCC
13997 builtin and then its argument prototype would still apply. */
13998 #ifdef __cplusplus
13999 extern "C"
14000 #endif
14001 char libnetapi_init ();
14003 main ()
14005 return libnetapi_init ();
14007 return 0;
14009 _ACEOF
14010 if ac_fn_c_try_link "$LINENO"; then :
14011 case "$LIBEXT" in
14012 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14013 dylib) ac_cv_lib_soname_netapi=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14014 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14015 if ${ac_cv_lib_soname_netapi:+false} :; then :
14016 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14017 fi ;;
14018 esac
14020 rm -f core conftest.err conftest.$ac_objext \
14021 conftest$ac_exeext conftest.$ac_ext
14022 LIBS=$ac_check_soname_save_LIBS
14024 if ${ac_cv_lib_soname_netapi:+false} :; then :
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14026 $as_echo "not found" >&6; }
14027 cat >>confdefs.h <<_ACEOF
14028 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14029 _ACEOF
14031 else
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14033 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14035 cat >>confdefs.h <<_ACEOF
14036 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14037 _ACEOF
14041 CPPFLAGS=$ac_save_CPPFLAGS
14042 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14043 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14047 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14048 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14049 then
14050 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14054 EXTRACFLAGS=""
14056 if test "x${GCC}" = "xyes"
14057 then
14058 EXTRACFLAGS="-Wall -pipe"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14061 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14062 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14063 $as_echo_n "(cached) " >&6
14064 else
14065 if test "$cross_compiling" = yes; then :
14066 ac_cv_c_gcc_strength_bug="no"
14067 else
14068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14069 /* end confdefs.h. */
14070 int L[4] = {0,1,2,3};
14072 main ()
14074 static int Array[3];
14075 unsigned int B = 3;
14076 int i;
14077 for(i=0; i<B; i++) Array[i] = i - 3;
14078 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14079 L[i] = 4;
14080 return (Array[1] != -2 || L[2] != 3)
14082 return 0;
14084 _ACEOF
14085 if ac_fn_c_try_run "$LINENO"; then :
14086 ac_cv_c_gcc_strength_bug="no"
14087 else
14088 ac_cv_c_gcc_strength_bug="yes"
14090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14091 conftest.$ac_objext conftest.beam conftest.$ac_ext
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14096 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14097 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14098 then
14099 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14103 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14104 if ${ac_cv_cflags__fno_builtin+:} false; then :
14105 $as_echo_n "(cached) " >&6
14106 else
14107 ac_wine_try_cflags_saved=$CFLAGS
14108 CFLAGS="$CFLAGS -fno-builtin"
14109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14111 int main(int argc, char **argv) { return 0; }
14112 _ACEOF
14113 if ac_fn_c_try_link "$LINENO"; then :
14114 ac_cv_cflags__fno_builtin=yes
14115 else
14116 ac_cv_cflags__fno_builtin=no
14118 rm -f core conftest.err conftest.$ac_objext \
14119 conftest$ac_exeext conftest.$ac_ext
14120 CFLAGS=$ac_wine_try_cflags_saved
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14123 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14124 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14125 BUILTINFLAG="-fno-builtin"
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14129 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14130 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14131 $as_echo_n "(cached) " >&6
14132 else
14133 ac_wine_try_cflags_saved=$CFLAGS
14134 CFLAGS="$CFLAGS -fno-strict-aliasing"
14135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14136 /* end confdefs.h. */
14137 int main(int argc, char **argv) { return 0; }
14138 _ACEOF
14139 if ac_fn_c_try_link "$LINENO"; then :
14140 ac_cv_cflags__fno_strict_aliasing=yes
14141 else
14142 ac_cv_cflags__fno_strict_aliasing=no
14144 rm -f core conftest.err conftest.$ac_objext \
14145 conftest$ac_exeext conftest.$ac_ext
14146 CFLAGS=$ac_wine_try_cflags_saved
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14149 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14150 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14151 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14154 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14155 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14156 $as_echo_n "(cached) " >&6
14157 else
14158 ac_wine_try_cflags_saved=$CFLAGS
14159 CFLAGS="$CFLAGS -fexcess-precision=standard"
14160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14161 /* end confdefs.h. */
14162 int main(int argc, char **argv) { return 0; }
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"; then :
14165 ac_cv_cflags__fexcess_precision_standard=yes
14166 else
14167 ac_cv_cflags__fexcess_precision_standard=no
14169 rm -f core conftest.err conftest.$ac_objext \
14170 conftest$ac_exeext conftest.$ac_ext
14171 CFLAGS=$ac_wine_try_cflags_saved
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14174 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14175 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14176 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14179 saved_CFLAGS=$CFLAGS
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14181 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14182 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14183 $as_echo_n "(cached) " >&6
14184 else
14185 ac_wine_try_cflags_saved=$CFLAGS
14186 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 int main(int argc, char **argv) { return 0; }
14190 _ACEOF
14191 if ac_fn_c_try_link "$LINENO"; then :
14192 ac_cv_cflags__Werror_unknown_warning_option=yes
14193 else
14194 ac_cv_cflags__Werror_unknown_warning_option=no
14196 rm -f core conftest.err conftest.$ac_objext \
14197 conftest$ac_exeext conftest.$ac_ext
14198 CFLAGS=$ac_wine_try_cflags_saved
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14201 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14202 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14203 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14206 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14207 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14208 $as_echo_n "(cached) " >&6
14209 else
14210 ac_wine_try_cflags_saved=$CFLAGS
14211 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14214 int main(int argc, char **argv) { return 0; }
14215 _ACEOF
14216 if ac_fn_c_try_link "$LINENO"; then :
14217 ac_cv_cflags__Wdeclaration_after_statement=yes
14218 else
14219 ac_cv_cflags__Wdeclaration_after_statement=no
14221 rm -f core conftest.err conftest.$ac_objext \
14222 conftest$ac_exeext conftest.$ac_ext
14223 CFLAGS=$ac_wine_try_cflags_saved
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14226 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14227 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14228 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14231 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14232 if ${ac_cv_cflags__Wempty_body+:} false; then :
14233 $as_echo_n "(cached) " >&6
14234 else
14235 ac_wine_try_cflags_saved=$CFLAGS
14236 CFLAGS="$CFLAGS -Wempty-body"
14237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14238 /* end confdefs.h. */
14239 int main(int argc, char **argv) { return 0; }
14240 _ACEOF
14241 if ac_fn_c_try_link "$LINENO"; then :
14242 ac_cv_cflags__Wempty_body=yes
14243 else
14244 ac_cv_cflags__Wempty_body=no
14246 rm -f core conftest.err conftest.$ac_objext \
14247 conftest$ac_exeext conftest.$ac_ext
14248 CFLAGS=$ac_wine_try_cflags_saved
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14251 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14252 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14253 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14256 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14257 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14258 $as_echo_n "(cached) " >&6
14259 else
14260 ac_wine_try_cflags_saved=$CFLAGS
14261 CFLAGS="$CFLAGS -Wignored-qualifiers"
14262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14263 /* end confdefs.h. */
14264 int main(int argc, char **argv) { return 0; }
14265 _ACEOF
14266 if ac_fn_c_try_link "$LINENO"; then :
14267 ac_cv_cflags__Wignored_qualifiers=yes
14268 else
14269 ac_cv_cflags__Wignored_qualifiers=no
14271 rm -f core conftest.err conftest.$ac_objext \
14272 conftest$ac_exeext conftest.$ac_ext
14273 CFLAGS=$ac_wine_try_cflags_saved
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14276 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14277 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14278 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14281 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14282 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14283 $as_echo_n "(cached) " >&6
14284 else
14285 ac_wine_try_cflags_saved=$CFLAGS
14286 CFLAGS="$CFLAGS -Wshift-overflow=2"
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 int main(int argc, char **argv) { return 0; }
14290 _ACEOF
14291 if ac_fn_c_try_link "$LINENO"; then :
14292 ac_cv_cflags__Wshift_overflow_2=yes
14293 else
14294 ac_cv_cflags__Wshift_overflow_2=no
14296 rm -f core conftest.err conftest.$ac_objext \
14297 conftest$ac_exeext conftest.$ac_ext
14298 CFLAGS=$ac_wine_try_cflags_saved
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14301 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14302 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14303 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14306 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14307 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14308 $as_echo_n "(cached) " >&6
14309 else
14310 ac_wine_try_cflags_saved=$CFLAGS
14311 CFLAGS="$CFLAGS -Wstrict-prototypes"
14312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14314 int main(int argc, char **argv) { return 0; }
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 ac_cv_cflags__Wstrict_prototypes=yes
14318 else
14319 ac_cv_cflags__Wstrict_prototypes=no
14321 rm -f core conftest.err conftest.$ac_objext \
14322 conftest$ac_exeext conftest.$ac_ext
14323 CFLAGS=$ac_wine_try_cflags_saved
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14326 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14327 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14328 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14331 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14332 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14333 $as_echo_n "(cached) " >&6
14334 else
14335 ac_wine_try_cflags_saved=$CFLAGS
14336 CFLAGS="$CFLAGS -Wtype-limits"
14337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 int main(int argc, char **argv) { return 0; }
14340 _ACEOF
14341 if ac_fn_c_try_link "$LINENO"; then :
14342 ac_cv_cflags__Wtype_limits=yes
14343 else
14344 ac_cv_cflags__Wtype_limits=no
14346 rm -f core conftest.err conftest.$ac_objext \
14347 conftest$ac_exeext conftest.$ac_ext
14348 CFLAGS=$ac_wine_try_cflags_saved
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14351 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14352 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14353 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14356 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14357 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 ac_wine_try_cflags_saved=$CFLAGS
14361 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14364 int main(int argc, char **argv) { return 0; }
14365 _ACEOF
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 ac_cv_cflags__Wunused_but_set_parameter=yes
14368 else
14369 ac_cv_cflags__Wunused_but_set_parameter=no
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14373 CFLAGS=$ac_wine_try_cflags_saved
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14376 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14377 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14378 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14381 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14382 if ${ac_cv_cflags__Wvla+:} false; then :
14383 $as_echo_n "(cached) " >&6
14384 else
14385 ac_wine_try_cflags_saved=$CFLAGS
14386 CFLAGS="$CFLAGS -Wvla"
14387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14388 /* end confdefs.h. */
14389 int main(int argc, char **argv) { return 0; }
14390 _ACEOF
14391 if ac_fn_c_try_link "$LINENO"; then :
14392 ac_cv_cflags__Wvla=yes
14393 else
14394 ac_cv_cflags__Wvla=no
14396 rm -f core conftest.err conftest.$ac_objext \
14397 conftest$ac_exeext conftest.$ac_ext
14398 CFLAGS=$ac_wine_try_cflags_saved
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14401 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14402 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14403 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14406 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14407 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 ac_wine_try_cflags_saved=$CFLAGS
14411 CFLAGS="$CFLAGS -Wwrite-strings"
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14414 int main(int argc, char **argv) { return 0; }
14415 _ACEOF
14416 if ac_fn_c_try_link "$LINENO"; then :
14417 ac_cv_cflags__Wwrite_strings=yes
14418 else
14419 ac_cv_cflags__Wwrite_strings=no
14421 rm -f core conftest.err conftest.$ac_objext \
14422 conftest$ac_exeext conftest.$ac_ext
14423 CFLAGS=$ac_wine_try_cflags_saved
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14426 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14427 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14428 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14432 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14433 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14434 $as_echo_n "(cached) " >&6
14435 else
14436 ac_wine_try_cflags_saved=$CFLAGS
14437 CFLAGS="$CFLAGS -Wpointer-arith"
14438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14439 /* end confdefs.h. */
14440 int main(int argc, char **argv) { return 0; }
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 ac_cv_cflags__Wpointer_arith=yes
14444 else
14445 ac_cv_cflags__Wpointer_arith=no
14447 rm -f core conftest.err conftest.$ac_objext \
14448 conftest$ac_exeext conftest.$ac_ext
14449 CFLAGS=$ac_wine_try_cflags_saved
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14452 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14453 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14454 saved_string_h_CFLAGS=$CFLAGS
14455 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14457 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14458 if ${ac_cv_c_string_h_warnings+:} false; then :
14459 $as_echo_n "(cached) " >&6
14460 else
14461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14462 /* end confdefs.h. */
14463 #include <string.h>
14465 main ()
14469 return 0;
14471 _ACEOF
14472 if ac_fn_c_try_compile "$LINENO"; then :
14473 ac_cv_c_string_h_warnings=no
14474 else
14475 ac_cv_c_string_h_warnings=yes
14477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14480 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14481 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14482 CFLAGS=$saved_string_h_CFLAGS
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14486 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14487 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 ac_wine_try_cflags_saved=$CFLAGS
14491 CFLAGS="$CFLAGS -Wlogical-op"
14492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14493 /* end confdefs.h. */
14494 int main(int argc, char **argv) { return 0; }
14495 _ACEOF
14496 if ac_fn_c_try_link "$LINENO"; then :
14497 ac_cv_cflags__Wlogical_op=yes
14498 else
14499 ac_cv_cflags__Wlogical_op=no
14501 rm -f core conftest.err conftest.$ac_objext \
14502 conftest$ac_exeext conftest.$ac_ext
14503 CFLAGS=$ac_wine_try_cflags_saved
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14506 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14507 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14508 saved_string_h_CFLAGS=$CFLAGS
14509 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14511 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14512 if ${ac_cv_c_logicalop_noisy+:} false; then :
14513 $as_echo_n "(cached) " >&6
14514 else
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517 #include <string.h>
14518 char*f(const char *h,char n) {return strchr(h,n);}
14520 main ()
14524 return 0;
14526 _ACEOF
14527 if ac_fn_c_try_compile "$LINENO"; then :
14528 ac_cv_c_logicalop_noisy=no
14529 else
14530 ac_cv_c_logicalop_noisy=yes
14532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14535 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14536 CFLAGS=$saved_string_h_CFLAGS
14537 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14540 CFLAGS=$saved_CFLAGS
14542 for ac_flag in $CFLAGS; do
14543 case $ac_flag in
14544 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14545 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14546 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14547 $as_echo_n "(cached) " >&6
14548 else
14549 ac_wine_try_cflags_saved=$CFLAGS
14550 CFLAGS="$CFLAGS -gdwarf-2"
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 int main(int argc, char **argv) { return 0; }
14554 _ACEOF
14555 if ac_fn_c_try_link "$LINENO"; then :
14556 ac_cv_cflags__gdwarf_2=yes
14557 else
14558 ac_cv_cflags__gdwarf_2=no
14560 rm -f core conftest.err conftest.$ac_objext \
14561 conftest$ac_exeext conftest.$ac_ext
14562 CFLAGS=$ac_wine_try_cflags_saved
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14565 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14566 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14567 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14570 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14571 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14572 $as_echo_n "(cached) " >&6
14573 else
14574 ac_wine_try_cflags_saved=$CFLAGS
14575 CFLAGS="$CFLAGS -gstrict-dwarf"
14576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14577 /* end confdefs.h. */
14578 int main(int argc, char **argv) { return 0; }
14579 _ACEOF
14580 if ac_fn_c_try_link "$LINENO"; then :
14581 ac_cv_cflags__gstrict_dwarf=yes
14582 else
14583 ac_cv_cflags__gstrict_dwarf=no
14585 rm -f core conftest.err conftest.$ac_objext \
14586 conftest$ac_exeext conftest.$ac_ext
14587 CFLAGS=$ac_wine_try_cflags_saved
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14590 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14591 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14592 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14593 fi ;;
14594 esac
14595 done
14597 case $host_cpu in
14598 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14599 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14600 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14601 $as_echo_n "(cached) " >&6
14602 else
14603 ac_wine_try_cflags_saved=$CFLAGS
14604 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14606 /* end confdefs.h. */
14607 int main(int argc, char **argv) { return 0; }
14608 _ACEOF
14609 if ac_fn_c_try_link "$LINENO"; then :
14610 ac_cv_cflags__fno_omit_frame_pointer=yes
14611 else
14612 ac_cv_cflags__fno_omit_frame_pointer=no
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 CFLAGS=$ac_wine_try_cflags_saved
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14619 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14620 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14621 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14622 fi ;;
14623 esac
14625 case $host in
14626 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14627 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14628 if ${ac_cv_cflags__Wno_format+:} false; then :
14629 $as_echo_n "(cached) " >&6
14630 else
14631 ac_wine_try_cflags_saved=$CFLAGS
14632 CFLAGS="$CFLAGS -Wno-format"
14633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14634 /* end confdefs.h. */
14635 int main(int argc, char **argv) { return 0; }
14636 _ACEOF
14637 if ac_fn_c_try_link "$LINENO"; then :
14638 ac_cv_cflags__Wno_format=yes
14639 else
14640 ac_cv_cflags__Wno_format=no
14642 rm -f core conftest.err conftest.$ac_objext \
14643 conftest$ac_exeext conftest.$ac_ext
14644 CFLAGS=$ac_wine_try_cflags_saved
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14647 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14648 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14649 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14650 fi ;;
14651 esac
14653 if test "x$enable_maintainer_mode" = "xyes"
14654 then
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14656 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14657 if ${ac_cv_cflags__Werror+:} false; then :
14658 $as_echo_n "(cached) " >&6
14659 else
14660 ac_wine_try_cflags_saved=$CFLAGS
14661 CFLAGS="$CFLAGS -Werror"
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14664 int main(int argc, char **argv) { return 0; }
14665 _ACEOF
14666 if ac_fn_c_try_link "$LINENO"; then :
14667 ac_cv_cflags__Werror=yes
14668 else
14669 ac_cv_cflags__Werror=no
14671 rm -f core conftest.err conftest.$ac_objext \
14672 conftest$ac_exeext conftest.$ac_ext
14673 CFLAGS=$ac_wine_try_cflags_saved
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14676 $as_echo "$ac_cv_cflags__Werror" >&6; }
14677 if test "x$ac_cv_cflags__Werror" = xyes; then :
14678 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14682 saved_CFLAGS="$CFLAGS"
14683 CFLAGS="$CFLAGS -Werror"
14684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14685 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14686 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14687 $as_echo_n "(cached) " >&6
14688 else
14689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14690 /* end confdefs.h. */
14691 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14693 main ()
14697 return 0;
14699 _ACEOF
14700 if ac_fn_c_try_compile "$LINENO"; then :
14701 ac_cv_have_ms_hook_prologue="yes"
14702 else
14703 ac_cv_have_ms_hook_prologue="no"
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14708 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14709 CFLAGS="$saved_CFLAGS"
14710 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14711 then
14713 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14715 else
14716 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14723 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14724 if ${ac_cv_c_fortify_enabled+:} false; then :
14725 $as_echo_n "(cached) " >&6
14726 else
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 #include <string.h>
14731 main ()
14733 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14734 #error Fortify enabled
14735 #endif
14737 return 0;
14739 _ACEOF
14740 if ac_fn_c_try_compile "$LINENO"; then :
14741 ac_cv_c_fortify_enabled=no
14742 else
14743 ac_cv_c_fortify_enabled=yes
14745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14748 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14749 if test "$ac_cv_c_fortify_enabled" = yes
14750 then
14751 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14756 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14757 if ${ac_cv_c_extern_prefix+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14762 extern int ac_test;
14764 main ()
14766 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"; then :
14772 ac_cv_c_extern_prefix="yes"
14773 else
14774 ac_cv_c_extern_prefix="no"
14776 rm -f core conftest.err conftest.$ac_objext \
14777 conftest$ac_exeext conftest.$ac_ext
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14780 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14782 case $host_cpu in
14783 *i[3456789]86*)
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14785 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14786 if ${ac_cv_c_stdcall_suffix+:} false; then :
14787 $as_echo_n "(cached) " >&6
14788 else
14789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14791 #ifndef _MSC_VER
14792 #define __stdcall __attribute__((__stdcall__))
14793 #endif
14794 int __stdcall ac_test(int i) { return i; }
14796 main ()
14798 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14800 return 0;
14802 _ACEOF
14803 if ac_fn_c_try_link "$LINENO"; then :
14804 ac_cv_c_stdcall_suffix="yes"
14805 else
14806 ac_cv_c_stdcall_suffix="no"
14808 rm -f core conftest.err conftest.$ac_objext \
14809 conftest$ac_exeext conftest.$ac_ext
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14812 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14813 *) ac_cv_c_stdcall_suffix="no" ;;
14814 esac
14817 if test "$ac_cv_c_extern_prefix" = "yes"
14818 then
14819 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14821 asm_name_prefix="_"
14822 else
14823 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14825 asm_name_prefix=""
14829 if test "$ac_cv_c_stdcall_suffix" = "yes"
14830 then
14831 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14833 else
14834 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14840 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14841 if ${ac_cv_asm_func_def+:} false; then :
14842 $as_echo_n "(cached) " >&6
14843 else
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14848 main ()
14850 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14852 return 0;
14854 _ACEOF
14855 if ac_fn_c_try_link "$LINENO"; then :
14856 ac_cv_asm_func_def=".def"
14857 else
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14862 main ()
14864 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14866 return 0;
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"; then :
14870 ac_cv_asm_func_def=".type @function"
14871 else
14872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14873 /* end confdefs.h. */
14876 main ()
14878 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14880 return 0;
14882 _ACEOF
14883 if ac_fn_c_try_link "$LINENO"; then :
14884 ac_cv_asm_func_def=".type 2"
14885 else
14886 ac_cv_asm_func_def="unknown"
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14891 rm -f core conftest.err conftest.$ac_objext \
14892 conftest$ac_exeext conftest.$ac_ext
14894 rm -f core conftest.err conftest.$ac_objext \
14895 conftest$ac_exeext conftest.$ac_ext
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14898 $as_echo "$ac_cv_asm_func_def" >&6; }
14901 case "$ac_cv_asm_func_def" in
14902 ".def")
14903 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14905 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14906 ".type @function")
14907 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14909 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14910 ".type 2")
14911 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14913 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14915 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14917 asm_func_header="" ;;
14918 esac
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14921 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14922 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14923 $as_echo_n "(cached) " >&6
14924 else
14925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h. */
14927 asm(".text\n\t.long 0");
14929 main ()
14933 return 0;
14935 _ACEOF
14936 if ac_fn_c_try_compile "$LINENO"; then :
14937 ac_cv_c_asm_outside_funcs="yes"
14938 else
14939 ac_cv_c_asm_outside_funcs="no"
14941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14944 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14947 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14948 if ${ac_cv_c_dot_previous+:} false; then :
14949 $as_echo_n "(cached) " >&6
14950 else
14951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14952 /* end confdefs.h. */
14955 main ()
14957 asm(".text\nac_test:\t.long 0\n\t.previous");
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_link "$LINENO"; then :
14963 ac_cv_c_dot_previous="yes"
14964 else
14965 ac_cv_c_dot_previous="no"
14967 rm -f core conftest.err conftest.$ac_objext \
14968 conftest$ac_exeext conftest.$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14971 $as_echo "$ac_cv_c_dot_previous" >&6; }
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14974 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14975 if ${ac_cv_c_cfi_support+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14979 /* end confdefs.h. */
14980 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14982 main ()
14986 return 0;
14988 _ACEOF
14989 if ac_fn_c_try_compile "$LINENO"; then :
14990 ac_cv_c_cfi_support="yes"
14991 else
14992 ac_cv_c_cfi_support="no"
14994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14997 $as_echo "$ac_cv_c_cfi_support" >&6; }
14999 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15000 asm_func_trailer=""
15001 if test "$ac_cv_c_dot_previous" = "yes"
15002 then
15003 asm_func_trailer="\\n\\t.previous"
15005 if test "$ac_cv_c_cfi_support" = "yes"
15006 then
15007 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15008 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15010 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15012 UNWINDFLAGS=-fasynchronous-unwind-tables
15014 else
15015 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15017 if test "x$enable_win64" = "xyes"
15018 then
15019 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15023 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15026 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15027 then
15028 cat >>confdefs.h <<_ACEOF
15029 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15030 _ACEOF
15032 else
15033 cat >>confdefs.h <<_ACEOF
15034 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15035 _ACEOF
15039 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15042 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15046 case $build_os in
15047 cygwin*|mingw32*) TOOLSEXT=".exe"
15049 esac
15051 case $host_os in
15052 linux-android*) ;;
15053 linux*)
15054 case $host_cpu in
15055 *i[3456789]86*|x86_64*)
15056 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15057 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15059 esac
15061 esac
15064 ac_save_CFLAGS="$CFLAGS"
15065 CFLAGS="$CFLAGS $BUILTINFLAG"
15066 for ac_func in \
15067 __res_get_state \
15068 __res_getservers \
15069 _finite \
15070 _isnan \
15071 _pclose \
15072 _popen \
15073 _snprintf \
15074 _spawnvp \
15075 _strdup \
15076 _stricmp \
15077 _strnicmp \
15078 _strtoi64 \
15079 _strtoui64 \
15080 _vsnprintf \
15081 asctime_r \
15082 chsize \
15083 dlopen \
15084 epoll_create \
15085 ffs \
15086 finitef \
15087 fnmatch \
15088 fork \
15089 fpclass \
15090 fstatfs \
15091 fstatvfs \
15092 ftruncate \
15093 futimens \
15094 futimes \
15095 futimesat \
15096 getattrlist \
15097 getopt_long_only \
15098 getpwuid \
15099 gettimeofday \
15100 getuid \
15101 if_nameindex \
15102 isnanf \
15103 kqueue \
15104 lstat \
15105 memmove \
15106 mmap \
15107 pclose \
15108 pipe2 \
15109 poll \
15110 popen \
15111 port_create \
15112 prctl \
15113 pread \
15114 proc_pidinfo \
15115 pwrite \
15116 readdir \
15117 readlink \
15118 sched_yield \
15119 select \
15120 setproctitle \
15121 setprogname \
15122 setrlimit \
15123 settimeofday \
15124 sigaltstack \
15125 sigprocmask \
15126 snprintf \
15127 statfs \
15128 statvfs \
15129 strcasecmp \
15130 strdup \
15131 strerror \
15132 strncasecmp \
15133 strtold \
15134 strtoll \
15135 strtoull \
15136 symlink \
15137 sysinfo \
15138 tcdrain \
15139 thr_kill2 \
15140 timegm \
15141 usleep \
15142 vsnprintf
15144 do :
15145 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15146 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15147 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15148 cat >>confdefs.h <<_ACEOF
15149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15150 _ACEOF
15153 done
15155 CFLAGS="$ac_save_CFLAGS"
15157 if test "$ac_cv_func_dlopen" = no
15158 then
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15160 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15161 if ${ac_cv_lib_dl_dlopen+:} false; then :
15162 $as_echo_n "(cached) " >&6
15163 else
15164 ac_check_lib_save_LIBS=$LIBS
15165 LIBS="-ldl $LIBS"
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15169 /* Override any GCC internal prototype to avoid an error.
15170 Use char because int might match the return type of a GCC
15171 builtin and then its argument prototype would still apply. */
15172 #ifdef __cplusplus
15173 extern "C"
15174 #endif
15175 char dlopen ();
15177 main ()
15179 return dlopen ();
15181 return 0;
15183 _ACEOF
15184 if ac_fn_c_try_link "$LINENO"; then :
15185 ac_cv_lib_dl_dlopen=yes
15186 else
15187 ac_cv_lib_dl_dlopen=no
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15191 LIBS=$ac_check_lib_save_LIBS
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15194 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15195 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15196 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15197 DL_LIBS="-ldl"
15202 ac_wine_check_funcs_save_LIBS="$LIBS"
15203 LIBS="$LIBS $DL_LIBS"
15204 for ac_func in dladdr
15205 do :
15206 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15207 if test "x$ac_cv_func_dladdr" = xyes; then :
15208 cat >>confdefs.h <<_ACEOF
15209 #define HAVE_DLADDR 1
15210 _ACEOF
15213 done
15215 LIBS="$ac_wine_check_funcs_save_LIBS"
15217 if test "$ac_cv_func_poll" = no
15218 then
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15220 $as_echo_n "checking for poll in -lpoll... " >&6; }
15221 if ${ac_cv_lib_poll_poll+:} false; then :
15222 $as_echo_n "(cached) " >&6
15223 else
15224 ac_check_lib_save_LIBS=$LIBS
15225 LIBS="-lpoll $LIBS"
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15229 /* Override any GCC internal prototype to avoid an error.
15230 Use char because int might match the return type of a GCC
15231 builtin and then its argument prototype would still apply. */
15232 #ifdef __cplusplus
15233 extern "C"
15234 #endif
15235 char poll ();
15237 main ()
15239 return poll ();
15241 return 0;
15243 _ACEOF
15244 if ac_fn_c_try_link "$LINENO"; then :
15245 ac_cv_lib_poll_poll=yes
15246 else
15247 ac_cv_lib_poll_poll=no
15249 rm -f core conftest.err conftest.$ac_objext \
15250 conftest$ac_exeext conftest.$ac_ext
15251 LIBS=$ac_check_lib_save_LIBS
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15254 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15255 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15256 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15257 POLL_LIBS="-lpoll"
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15264 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15265 if ${ac_cv_search_gethostbyname+:} false; then :
15266 $as_echo_n "(cached) " >&6
15267 else
15268 ac_func_search_save_LIBS=$LIBS
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15272 /* Override any GCC internal prototype to avoid an error.
15273 Use char because int might match the return type of a GCC
15274 builtin and then its argument prototype would still apply. */
15275 #ifdef __cplusplus
15276 extern "C"
15277 #endif
15278 char gethostbyname ();
15280 main ()
15282 return gethostbyname ();
15284 return 0;
15286 _ACEOF
15287 for ac_lib in '' nsl; do
15288 if test -z "$ac_lib"; then
15289 ac_res="none required"
15290 else
15291 ac_res=-l$ac_lib
15292 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15294 if ac_fn_c_try_link "$LINENO"; then :
15295 ac_cv_search_gethostbyname=$ac_res
15297 rm -f core conftest.err conftest.$ac_objext \
15298 conftest$ac_exeext
15299 if ${ac_cv_search_gethostbyname+:} false; then :
15300 break
15302 done
15303 if ${ac_cv_search_gethostbyname+:} false; then :
15305 else
15306 ac_cv_search_gethostbyname=no
15308 rm conftest.$ac_ext
15309 LIBS=$ac_func_search_save_LIBS
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15312 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15313 ac_res=$ac_cv_search_gethostbyname
15314 if test "$ac_res" != no; then :
15315 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15321 $as_echo_n "checking for library containing connect... " >&6; }
15322 if ${ac_cv_search_connect+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 ac_func_search_save_LIBS=$LIBS
15326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15327 /* end confdefs.h. */
15329 /* Override any GCC internal prototype to avoid an error.
15330 Use char because int might match the return type of a GCC
15331 builtin and then its argument prototype would still apply. */
15332 #ifdef __cplusplus
15333 extern "C"
15334 #endif
15335 char connect ();
15337 main ()
15339 return connect ();
15341 return 0;
15343 _ACEOF
15344 for ac_lib in '' socket; do
15345 if test -z "$ac_lib"; then
15346 ac_res="none required"
15347 else
15348 ac_res=-l$ac_lib
15349 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15351 if ac_fn_c_try_link "$LINENO"; then :
15352 ac_cv_search_connect=$ac_res
15354 rm -f core conftest.err conftest.$ac_objext \
15355 conftest$ac_exeext
15356 if ${ac_cv_search_connect+:} false; then :
15357 break
15359 done
15360 if ${ac_cv_search_connect+:} false; then :
15362 else
15363 ac_cv_search_connect=no
15365 rm conftest.$ac_ext
15366 LIBS=$ac_func_search_save_LIBS
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15369 $as_echo "$ac_cv_search_connect" >&6; }
15370 ac_res=$ac_cv_search_connect
15371 if test "$ac_res" != no; then :
15372 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15378 $as_echo_n "checking for library containing inet_aton... " >&6; }
15379 if ${ac_cv_search_inet_aton+:} false; then :
15380 $as_echo_n "(cached) " >&6
15381 else
15382 ac_func_search_save_LIBS=$LIBS
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15386 /* Override any GCC internal prototype to avoid an error.
15387 Use char because int might match the return type of a GCC
15388 builtin and then its argument prototype would still apply. */
15389 #ifdef __cplusplus
15390 extern "C"
15391 #endif
15392 char inet_aton ();
15394 main ()
15396 return inet_aton ();
15398 return 0;
15400 _ACEOF
15401 for ac_lib in '' resolv; do
15402 if test -z "$ac_lib"; then
15403 ac_res="none required"
15404 else
15405 ac_res=-l$ac_lib
15406 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15408 if ac_fn_c_try_link "$LINENO"; then :
15409 ac_cv_search_inet_aton=$ac_res
15411 rm -f core conftest.err conftest.$ac_objext \
15412 conftest$ac_exeext
15413 if ${ac_cv_search_inet_aton+:} false; then :
15414 break
15416 done
15417 if ${ac_cv_search_inet_aton+:} false; then :
15419 else
15420 ac_cv_search_inet_aton=no
15422 rm conftest.$ac_ext
15423 LIBS=$ac_func_search_save_LIBS
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15426 $as_echo "$ac_cv_search_inet_aton" >&6; }
15427 ac_res=$ac_cv_search_inet_aton
15428 if test "$ac_res" != no; then :
15429 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15434 for ac_func in \
15435 getaddrinfo \
15436 getnameinfo \
15437 getnetbyname \
15438 getprotobyname \
15439 getprotobynumber \
15440 getservbyport \
15441 inet_addr \
15442 inet_network \
15443 inet_ntop \
15444 inet_pton \
15445 sendmsg \
15446 socketpair \
15448 do :
15449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15451 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15452 cat >>confdefs.h <<_ACEOF
15453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15454 _ACEOF
15457 done
15460 ac_save_LIBS=$LIBS
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15462 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15463 if ${ac_cv_search_clock_gettime+:} false; then :
15464 $as_echo_n "(cached) " >&6
15465 else
15466 ac_func_search_save_LIBS=$LIBS
15467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15470 /* Override any GCC internal prototype to avoid an error.
15471 Use char because int might match the return type of a GCC
15472 builtin and then its argument prototype would still apply. */
15473 #ifdef __cplusplus
15474 extern "C"
15475 #endif
15476 char clock_gettime ();
15478 main ()
15480 return clock_gettime ();
15482 return 0;
15484 _ACEOF
15485 for ac_lib in '' rt; do
15486 if test -z "$ac_lib"; then
15487 ac_res="none required"
15488 else
15489 ac_res=-l$ac_lib
15490 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15492 if ac_fn_c_try_link "$LINENO"; then :
15493 ac_cv_search_clock_gettime=$ac_res
15495 rm -f core conftest.err conftest.$ac_objext \
15496 conftest$ac_exeext
15497 if ${ac_cv_search_clock_gettime+:} false; then :
15498 break
15500 done
15501 if ${ac_cv_search_clock_gettime+:} false; then :
15503 else
15504 ac_cv_search_clock_gettime=no
15506 rm conftest.$ac_ext
15507 LIBS=$ac_func_search_save_LIBS
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15510 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15511 ac_res=$ac_cv_search_clock_gettime
15512 if test "$ac_res" != no; then :
15513 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15515 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15517 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15521 LIBS=$ac_save_LIBS
15523 LDAP_LIBS=""
15525 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15526 then
15527 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15529 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15531 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15532 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15533 $as_echo_n "(cached) " >&6
15534 else
15535 ac_check_lib_save_LIBS=$LIBS
15536 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15538 /* end confdefs.h. */
15540 /* Override any GCC internal prototype to avoid an error.
15541 Use char because int might match the return type of a GCC
15542 builtin and then its argument prototype would still apply. */
15543 #ifdef __cplusplus
15544 extern "C"
15545 #endif
15546 char ldap_initialize ();
15548 main ()
15550 return ldap_initialize ();
15552 return 0;
15554 _ACEOF
15555 if ac_fn_c_try_link "$LINENO"; then :
15556 ac_cv_lib_ldap_r_ldap_initialize=yes
15557 else
15558 ac_cv_lib_ldap_r_ldap_initialize=no
15560 rm -f core conftest.err conftest.$ac_objext \
15561 conftest$ac_exeext conftest.$ac_ext
15562 LIBS=$ac_check_lib_save_LIBS
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15565 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15566 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15568 $as_echo_n "checking for ber_init in -llber... " >&6; }
15569 if ${ac_cv_lib_lber_ber_init+:} false; then :
15570 $as_echo_n "(cached) " >&6
15571 else
15572 ac_check_lib_save_LIBS=$LIBS
15573 LIBS="-llber $PTHREAD_LIBS $LIBS"
15574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15580 #ifdef __cplusplus
15581 extern "C"
15582 #endif
15583 char ber_init ();
15585 main ()
15587 return ber_init ();
15589 return 0;
15591 _ACEOF
15592 if ac_fn_c_try_link "$LINENO"; then :
15593 ac_cv_lib_lber_ber_init=yes
15594 else
15595 ac_cv_lib_lber_ber_init=no
15597 rm -f core conftest.err conftest.$ac_objext \
15598 conftest$ac_exeext conftest.$ac_ext
15599 LIBS=$ac_check_lib_save_LIBS
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15602 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15603 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15605 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15607 LDAP_LIBS="-lldap_r -llber"
15614 ac_wine_check_funcs_save_LIBS="$LIBS"
15615 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15616 for ac_func in \
15617 ldap_count_references \
15618 ldap_first_reference \
15619 ldap_next_reference \
15620 ldap_parse_reference \
15621 ldap_parse_sort_control \
15622 ldap_parse_sortresponse_control \
15623 ldap_parse_vlv_control \
15624 ldap_parse_vlvresponse_control
15625 do :
15626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15628 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15629 cat >>confdefs.h <<_ACEOF
15630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15631 _ACEOF
15634 done
15636 LIBS="$ac_wine_check_funcs_save_LIBS"
15638 if test "x$LDAP_LIBS" = "x"; then :
15639 case "x$with_ldap" in
15640 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15641 xno) ;;
15642 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15643 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15644 esac
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15649 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15650 if ${wine_cv_one_arg_mkdir+:} false; then :
15651 $as_echo_n "(cached) " >&6
15652 else
15653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15654 /* end confdefs.h. */
15655 #include <sys/stat.h>
15657 main ()
15659 mkdir("foo");
15661 return 0;
15663 _ACEOF
15664 if ac_fn_c_try_compile "$LINENO"; then :
15665 wine_cv_one_arg_mkdir=yes
15666 else
15667 wine_cv_one_arg_mkdir=no
15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15672 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15673 if test "$wine_cv_one_arg_mkdir" = "yes"
15674 then
15676 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15681 $as_echo_n "checking for sched_setaffinity... " >&6; }
15682 if ${wine_cv_have_sched_setaffinity+:} false; then :
15683 $as_echo_n "(cached) " >&6
15684 else
15685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15686 /* end confdefs.h. */
15687 #define _GNU_SOURCE
15688 #include <sched.h>
15690 main ()
15692 sched_setaffinity(0, 0, 0);
15694 return 0;
15696 _ACEOF
15697 if ac_fn_c_try_link "$LINENO"; then :
15698 wine_cv_have_sched_setaffinity=yes
15699 else
15700 wine_cv_have_sched_setaffinity=no
15702 rm -f core conftest.err conftest.$ac_objext \
15703 conftest$ac_exeext conftest.$ac_ext
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15706 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15707 if test "$wine_cv_have_sched_setaffinity" = "yes"
15708 then
15710 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15715 $as_echo_n "checking for fallocate... " >&6; }
15716 if ${wine_cv_have_fallocate+:} false; then :
15717 $as_echo_n "(cached) " >&6
15718 else
15719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15720 /* end confdefs.h. */
15721 #define _GNU_SOURCE
15722 #include <fcntl.h>
15724 main ()
15726 fallocate(-1, 0, 0, 0);
15728 return 0;
15730 _ACEOF
15731 if ac_fn_c_try_link "$LINENO"; then :
15732 wine_cv_have_fallocate=yes
15733 else
15734 wine_cv_have_fallocate=no
15736 rm -f core conftest.err conftest.$ac_objext \
15737 conftest$ac_exeext conftest.$ac_ext
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15740 $as_echo "$wine_cv_have_fallocate" >&6; }
15741 if test "$wine_cv_have_fallocate" = "yes"
15742 then
15744 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15750 $as_echo_n "checking for inline... " >&6; }
15751 if ${ac_cv_c_inline+:} false; then :
15752 $as_echo_n "(cached) " >&6
15753 else
15754 ac_cv_c_inline=no
15755 for ac_kw in inline __inline__ __inline; do
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15758 #ifndef __cplusplus
15759 typedef int foo_t;
15760 static $ac_kw foo_t static_foo () {return 0; }
15761 $ac_kw foo_t foo () {return 0; }
15762 #endif
15764 _ACEOF
15765 if ac_fn_c_try_compile "$LINENO"; then :
15766 ac_cv_c_inline=$ac_kw
15768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15769 test "$ac_cv_c_inline" != no && break
15770 done
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15774 $as_echo "$ac_cv_c_inline" >&6; }
15776 case $ac_cv_c_inline in
15777 inline | yes) ;;
15779 case $ac_cv_c_inline in
15780 no) ac_val=;;
15781 *) ac_val=$ac_cv_c_inline;;
15782 esac
15783 cat >>confdefs.h <<_ACEOF
15784 #ifndef __cplusplus
15785 #define inline $ac_val
15786 #endif
15787 _ACEOF
15789 esac
15791 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15792 if test "x$ac_cv_type_mode_t" = xyes; then :
15794 cat >>confdefs.h <<_ACEOF
15795 #define HAVE_MODE_T 1
15796 _ACEOF
15800 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15801 if test "x$ac_cv_type_off_t" = xyes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_OFF_T 1
15805 _ACEOF
15809 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15810 if test "x$ac_cv_type_pid_t" = xyes; then :
15812 cat >>confdefs.h <<_ACEOF
15813 #define HAVE_PID_T 1
15814 _ACEOF
15818 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15819 if test "x$ac_cv_type_size_t" = xyes; then :
15821 cat >>confdefs.h <<_ACEOF
15822 #define HAVE_SIZE_T 1
15823 _ACEOF
15827 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15828 if test "x$ac_cv_type_ssize_t" = xyes; then :
15830 cat >>confdefs.h <<_ACEOF
15831 #define HAVE_SSIZE_T 1
15832 _ACEOF
15836 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15837 if test "x$ac_cv_type_long_long" = xyes; then :
15839 cat >>confdefs.h <<_ACEOF
15840 #define HAVE_LONG_LONG 1
15841 _ACEOF
15845 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15846 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_FSBLKCNT_T 1
15850 _ACEOF
15854 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15855 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15857 cat >>confdefs.h <<_ACEOF
15858 #define HAVE_FSFILCNT_T 1
15859 _ACEOF
15864 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15865 #include <signal.h>
15867 if test "x$ac_cv_type_sigset_t" = xyes; then :
15869 cat >>confdefs.h <<_ACEOF
15870 #define HAVE_SIGSET_T 1
15871 _ACEOF
15876 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15878 if test "x$ac_cv_type_request_sense" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_REQUEST_SENSE 1
15882 _ACEOF
15888 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15889 #ifdef HAVE_SYS_SOCKET_H
15890 #include <sys/socket.h>
15891 #endif
15892 #ifdef HAVE_SYS_SOCKETVAR_H
15893 #include <sys/socketvar.h>
15894 #endif
15895 #ifdef HAVE_NET_ROUTE_H
15896 #include <net/route.h>
15897 #endif
15898 #ifdef HAVE_NETINET_IN_H
15899 #include <netinet/in.h>
15900 #endif
15901 #ifdef HAVE_NETINET_IN_SYSTM_H
15902 #include <netinet/in_systm.h>
15903 #endif
15904 #ifdef HAVE_NETINET_IP_H
15905 #include <netinet/ip.h>
15906 #endif
15907 #ifdef HAVE_NETINET_IN_PCB_H
15908 #include <netinet/in_pcb.h>
15909 #endif
15911 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15913 cat >>confdefs.h <<_ACEOF
15914 #define HAVE_STRUCT_XINPGEN 1
15915 _ACEOF
15921 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15922 #include <link.h>
15923 #endif
15924 #ifdef HAVE_SYS_LINK_H
15925 #include <sys/link.h>
15926 #endif
15928 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15930 cat >>confdefs.h <<_ACEOF
15931 #define HAVE_STRUCT_R_DEBUG 1
15932 _ACEOF
15936 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15937 #include <link.h>
15938 #endif
15939 #ifdef HAVE_SYS_LINK_H
15940 #include <sys/link.h>
15941 #endif
15943 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15945 cat >>confdefs.h <<_ACEOF
15946 #define HAVE_STRUCT_LINK_MAP 1
15947 _ACEOF
15953 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15954 #include <linux/input.h>
15955 #endif
15957 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15959 cat >>confdefs.h <<_ACEOF
15960 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15961 _ACEOF
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15968 $as_echo_n "checking for sigaddset... " >&6; }
15969 if ${wine_cv_have_sigaddset+:} false; then :
15970 $as_echo_n "(cached) " >&6
15971 else
15972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15973 /* end confdefs.h. */
15974 #include <signal.h>
15976 main ()
15978 sigset_t set; sigaddset(&set,SIGTERM);
15980 return 0;
15982 _ACEOF
15983 if ac_fn_c_try_link "$LINENO"; then :
15984 wine_cv_have_sigaddset=yes
15985 else
15986 wine_cv_have_sigaddset=no
15988 rm -f core conftest.err conftest.$ac_objext \
15989 conftest$ac_exeext conftest.$ac_ext
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15992 $as_echo "$wine_cv_have_sigaddset" >&6; }
15993 if test "$wine_cv_have_sigaddset" = "yes"
15994 then
15996 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16002 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16003 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16004 $as_echo_n "(cached) " >&6
16005 else
16006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16007 /* end confdefs.h. */
16008 #include <netdb.h>
16010 main ()
16013 char *name=0;
16014 struct hostent he;
16015 struct hostent *result;
16016 char *buf=0;
16017 int bufsize=0;
16018 int errnr;
16019 char *addr=0;
16020 int addrlen=0;
16021 int addrtype=0;
16022 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16023 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16026 return 0;
16028 _ACEOF
16029 if ac_fn_c_try_link "$LINENO"; then :
16030 wine_cv_linux_gethostbyname_r_6=yes
16031 else
16032 wine_cv_linux_gethostbyname_r_6=no
16035 rm -f core conftest.err conftest.$ac_objext \
16036 conftest$ac_exeext conftest.$ac_ext
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16040 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16041 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16042 then
16044 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16048 if test "$ac_cv_header_linux_joystick_h" = "yes"
16049 then
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16051 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16052 if ${wine_cv_linux_joystick_22_api+:} false; then :
16053 $as_echo_n "(cached) " >&6
16054 else
16055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16056 /* end confdefs.h. */
16058 #include <sys/ioctl.h>
16059 #include <sys/types.h>
16060 #include <linux/joystick.h>
16062 struct js_event blub;
16063 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16064 #error "no 2.2 header"
16065 #endif
16068 main ()
16070 /*empty*/
16072 return 0;
16074 _ACEOF
16075 if ac_fn_c_try_compile "$LINENO"; then :
16076 wine_cv_linux_joystick_22_api=yes
16077 else
16078 wine_cv_linux_joystick_22_api=no
16080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16084 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16085 if test "$wine_cv_linux_joystick_22_api" = "yes"
16086 then
16088 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16094 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16095 #ifdef HAVE_SYS_PARAM_H
16096 # include <sys/param.h>
16097 #endif
16098 #ifdef HAVE_SYS_MOUNT_H
16099 # include <sys/mount.h>
16100 #endif
16101 #ifdef HAVE_SYS_VFS_H
16102 # include <sys/vfs.h>
16103 #endif
16104 #ifdef HAVE_SYS_STATFS_H
16105 # include <sys/statfs.h>
16106 #endif
16108 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_STATFS_F_BFREE 1
16112 _ACEOF
16116 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16117 #ifdef HAVE_SYS_PARAM_H
16118 # include <sys/param.h>
16119 #endif
16120 #ifdef HAVE_SYS_MOUNT_H
16121 # include <sys/mount.h>
16122 #endif
16123 #ifdef HAVE_SYS_VFS_H
16124 # include <sys/vfs.h>
16125 #endif
16126 #ifdef HAVE_SYS_STATFS_H
16127 # include <sys/statfs.h>
16128 #endif
16130 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16132 cat >>confdefs.h <<_ACEOF
16133 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16134 _ACEOF
16138 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16139 #ifdef HAVE_SYS_PARAM_H
16140 # include <sys/param.h>
16141 #endif
16142 #ifdef HAVE_SYS_MOUNT_H
16143 # include <sys/mount.h>
16144 #endif
16145 #ifdef HAVE_SYS_VFS_H
16146 # include <sys/vfs.h>
16147 #endif
16148 #ifdef HAVE_SYS_STATFS_H
16149 # include <sys/statfs.h>
16150 #endif
16152 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16154 cat >>confdefs.h <<_ACEOF
16155 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16156 _ACEOF
16160 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16161 #ifdef HAVE_SYS_PARAM_H
16162 # include <sys/param.h>
16163 #endif
16164 #ifdef HAVE_SYS_MOUNT_H
16165 # include <sys/mount.h>
16166 #endif
16167 #ifdef HAVE_SYS_VFS_H
16168 # include <sys/vfs.h>
16169 #endif
16170 #ifdef HAVE_SYS_STATFS_H
16171 # include <sys/statfs.h>
16172 #endif
16174 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16176 cat >>confdefs.h <<_ACEOF
16177 #define HAVE_STRUCT_STATFS_F_FFREE 1
16178 _ACEOF
16182 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16183 #ifdef HAVE_SYS_PARAM_H
16184 # include <sys/param.h>
16185 #endif
16186 #ifdef HAVE_SYS_MOUNT_H
16187 # include <sys/mount.h>
16188 #endif
16189 #ifdef HAVE_SYS_VFS_H
16190 # include <sys/vfs.h>
16191 #endif
16192 #ifdef HAVE_SYS_STATFS_H
16193 # include <sys/statfs.h>
16194 #endif
16196 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16198 cat >>confdefs.h <<_ACEOF
16199 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16200 _ACEOF
16204 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16205 #ifdef HAVE_SYS_PARAM_H
16206 # include <sys/param.h>
16207 #endif
16208 #ifdef HAVE_SYS_MOUNT_H
16209 # include <sys/mount.h>
16210 #endif
16211 #ifdef HAVE_SYS_VFS_H
16212 # include <sys/vfs.h>
16213 #endif
16214 #ifdef HAVE_SYS_STATFS_H
16215 # include <sys/statfs.h>
16216 #endif
16218 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16220 cat >>confdefs.h <<_ACEOF
16221 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16222 _ACEOF
16228 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16229 #include <sys/statvfs.h>
16230 #endif
16232 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16234 cat >>confdefs.h <<_ACEOF
16235 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16236 _ACEOF
16242 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16243 #include <dirent.h>
16244 #endif
16246 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16248 cat >>confdefs.h <<_ACEOF
16249 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16250 _ACEOF
16256 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16257 #ifdef HAVE_SYS_SOCKET_H
16258 # include <sys/socket.h>
16259 #endif
16260 #ifdef HAVE_SYS_UN_H
16261 # include <sys/un.h>
16262 #endif
16264 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16266 cat >>confdefs.h <<_ACEOF
16267 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16268 _ACEOF
16272 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16273 #ifdef HAVE_SYS_SOCKET_H
16274 # include <sys/socket.h>
16275 #endif
16276 #ifdef HAVE_SYS_UN_H
16277 # include <sys/un.h>
16278 #endif
16280 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16284 _ACEOF
16288 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16289 #ifdef HAVE_SYS_SOCKET_H
16290 # include <sys/socket.h>
16291 #endif
16292 #ifdef HAVE_SYS_UN_H
16293 # include <sys/un.h>
16294 #endif
16296 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16298 cat >>confdefs.h <<_ACEOF
16299 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16300 _ACEOF
16306 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16307 #ifdef HAVE_SCSI_SG_H
16308 #include <scsi/sg.h>
16309 #endif
16311 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16313 cat >>confdefs.h <<_ACEOF
16314 #define HAVE_SCSIREQ_T_CMD 1
16315 _ACEOF
16319 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>
16320 #ifdef HAVE_SCSI_SG_H
16321 #include <scsi/sg.h>
16322 #endif
16324 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16326 cat >>confdefs.h <<_ACEOF
16327 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16328 _ACEOF
16334 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16336 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16338 cat >>confdefs.h <<_ACEOF
16339 #define HAVE_SIGINFO_T_SI_FD 1
16340 _ACEOF
16346 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16347 #ifdef HAVE_SYS_MTIO_H
16348 #include <sys/mtio.h>
16349 #endif
16351 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16353 cat >>confdefs.h <<_ACEOF
16354 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16355 _ACEOF
16359 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16360 #ifdef HAVE_SYS_MTIO_H
16361 #include <sys/mtio.h>
16362 #endif
16364 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16368 _ACEOF
16372 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16373 #ifdef HAVE_SYS_MTIO_H
16374 #include <sys/mtio.h>
16375 #endif
16377 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16379 cat >>confdefs.h <<_ACEOF
16380 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16381 _ACEOF
16387 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16388 #include <getopt.h>
16389 #endif
16391 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16393 cat >>confdefs.h <<_ACEOF
16394 #define HAVE_STRUCT_OPTION_NAME 1
16395 _ACEOF
16401 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16402 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16404 cat >>confdefs.h <<_ACEOF
16405 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16406 _ACEOF
16410 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16411 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16413 cat >>confdefs.h <<_ACEOF
16414 #define HAVE_STRUCT_STAT_ST_MTIM 1
16415 _ACEOF
16419 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16420 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16424 _ACEOF
16428 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16429 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16431 cat >>confdefs.h <<_ACEOF
16432 #define HAVE_STRUCT_STAT_ST_CTIM 1
16433 _ACEOF
16437 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16438 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16440 cat >>confdefs.h <<_ACEOF
16441 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16442 _ACEOF
16446 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16447 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16449 cat >>confdefs.h <<_ACEOF
16450 #define HAVE_STRUCT_STAT_ST_ATIM 1
16451 _ACEOF
16455 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16456 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16460 _ACEOF
16464 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16465 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16469 _ACEOF
16473 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16474 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16478 _ACEOF
16482 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16483 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16485 cat >>confdefs.h <<_ACEOF
16486 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16487 _ACEOF
16491 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16492 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16496 _ACEOF
16500 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16501 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16503 cat >>confdefs.h <<_ACEOF
16504 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16505 _ACEOF
16511 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
16512 #include <sys/types.h>
16513 #endif
16514 #ifdef HAVE_NETINET_IN_H
16515 #include <netinet/in.h>
16516 #endif
16518 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16520 cat >>confdefs.h <<_ACEOF
16521 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16522 _ACEOF
16528 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16529 #include <resolv.h>
16530 #endif
16532 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16534 cat >>confdefs.h <<_ACEOF
16535 #define HAVE_STRUCT___RES_STATE 1
16536 _ACEOF
16542 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
16543 #include <resolv.h>
16544 #endif
16546 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16550 _ACEOF
16556 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16557 #include <sys/types.h>
16558 #endif
16559 #ifdef HAVE_NETINET_IN_H
16560 # include <netinet/in.h>
16561 #endif
16562 #ifdef HAVE_ARPA_NAMESER_H
16563 # include <arpa/nameser.h>
16564 #endif
16566 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_NS_MSG__MSG_PTR 1
16570 _ACEOF
16576 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16577 #include <sys/types.h>
16578 #endif
16579 #ifdef HAVE_NETINET_IP_H
16580 #include <netinet/ip.h>
16581 #endif
16582 #ifdef HAVE_NETINET_IP_ICMP_H
16583 #include <netinet/ip_icmp.h>
16584 #endif
16585 #ifdef HAVE_NETINET_ICMP_VAR_H
16586 #include <netinet/icmp_var.h>
16587 #endif
16589 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16591 cat >>confdefs.h <<_ACEOF
16592 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16593 _ACEOF
16599 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16600 #include <sys/types.h>
16601 #endif
16602 #ifdef HAVE_ALIAS_H
16603 #include <alias.h>
16604 #endif
16605 #ifdef HAVE_SYS_SOCKET_H
16606 #include <sys/socket.h>
16607 #endif
16608 #ifdef HAVE_SYS_SOCKETVAR_H
16609 #include <sys/socketvar.h>
16610 #endif
16611 #ifdef HAVE_SYS_TIMEOUT_H
16612 #include <sys/timeout.h>
16613 #endif
16614 #ifdef HAVE_NETINET_IN_H
16615 #include <netinet/in.h>
16616 #endif
16617 #ifdef HAVE_NETINET_IN_SYSTM_H
16618 #include <netinet/in_systm.h>
16619 #endif
16620 #ifdef HAVE_NETINET_IP_H
16621 #include <netinet/ip.h>
16622 #endif
16623 #ifdef HAVE_NETINET_IP_VAR_H
16624 #include <netinet/ip_var.h>
16625 #endif
16626 #ifdef HAVE_NETINET_IP_ICMP_H
16627 #include <netinet/ip_icmp.h>
16628 #endif
16629 #ifdef HAVE_NETINET_ICMP_VAR_H
16630 #include <netinet/icmp_var.h>
16631 #endif
16633 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16635 cat >>confdefs.h <<_ACEOF
16636 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16637 _ACEOF
16643 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16644 #include <sys/types.h>
16645 #endif
16646 #ifdef HAVE_SYS_SOCKETVAR_H
16647 #include <sys/socketvar.h>
16648 #endif
16649 #ifdef HAVE_NETINET_IN_H
16650 #include <netinet/in.h>
16651 #endif
16652 #ifdef HAVE_NETINET_IP_VAR_H
16653 #include <netinet/ip_var.h>
16654 #endif
16656 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16658 cat >>confdefs.h <<_ACEOF
16659 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16660 _ACEOF
16666 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
16667 #include <netinet/ip_var.h>
16668 #endif
16670 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16674 _ACEOF
16680 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16681 #include <sys/types.h>
16682 #endif
16683 #ifdef HAVE_SYS_SOCKETVAR_H
16684 #include <sys/socketvar.h>
16685 #endif
16686 #ifdef HAVE_NETINET_IN_H
16687 #include <netinet/in.h>
16688 #endif
16689 #ifdef HAVE_NETINET_TCP_H
16690 #include <netinet/tcp.h>
16691 #endif
16692 #ifdef HAVE_NETINET_TCP_VAR_H
16693 #include <netinet/tcp_var.h>
16694 #endif
16696 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16698 cat >>confdefs.h <<_ACEOF
16699 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16700 _ACEOF
16706 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
16707 #include <netinet/tcp_var.h>
16708 #endif
16710 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16712 cat >>confdefs.h <<_ACEOF
16713 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16714 _ACEOF
16720 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16721 #include <sys/types.h>
16722 #endif
16723 #ifdef HAVE_NETINET_IN_H
16724 #include <netinet/in.h>
16725 #endif
16726 #ifdef HAVE_NETINET_IP_VAR_H
16727 #include <netinet/ip_var.h>
16728 #endif
16729 #ifdef HAVE_NETINET_UDP_H
16730 #include <netinet/udp.h>
16731 #endif
16732 #ifdef HAVE_NETINET_UDP_VAR_H
16733 #include <netinet/udp_var.h>
16734 #endif
16736 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16738 cat >>confdefs.h <<_ACEOF
16739 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16740 _ACEOF
16746 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16747 #include <sys/types.h>
16748 #endif
16749 #ifdef HAVE_NET_IF_H
16750 # include <net/if.h>
16751 #endif
16753 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16755 cat >>confdefs.h <<_ACEOF
16756 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16757 _ACEOF
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16764 $as_echo_n "checking for timezone variable... " >&6; }
16765 if ${ac_cv_have_timezone+:} false; then :
16766 $as_echo_n "(cached) " >&6
16767 else
16768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16770 #include <time.h>
16772 main ()
16774 timezone = 1
16776 return 0;
16778 _ACEOF
16779 if ac_fn_c_try_link "$LINENO"; then :
16780 ac_cv_have_timezone="yes"
16781 else
16782 ac_cv_have_timezone="no"
16784 rm -f core conftest.err conftest.$ac_objext \
16785 conftest$ac_exeext conftest.$ac_ext
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16788 $as_echo "$ac_cv_have_timezone" >&6; }
16789 if test "$ac_cv_have_timezone" = "yes"
16790 then
16792 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16796 $as_echo_n "checking for daylight variable... " >&6; }
16797 if ${ac_cv_have_daylight+:} false; then :
16798 $as_echo_n "(cached) " >&6
16799 else
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h. */
16802 #include <time.h>
16804 main ()
16806 daylight = 1
16808 return 0;
16810 _ACEOF
16811 if ac_fn_c_try_link "$LINENO"; then :
16812 ac_cv_have_daylight="yes"
16813 else
16814 ac_cv_have_daylight="no"
16816 rm -f core conftest.err conftest.$ac_objext \
16817 conftest$ac_exeext conftest.$ac_ext
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16820 $as_echo "$ac_cv_have_daylight" >&6; }
16821 if test "$ac_cv_have_daylight" = "yes"
16822 then
16824 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16828 ac_save_LIBS="$LIBS"
16829 LIBS="$LIBS -lm"
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16831 $as_echo_n "checking for isfinite... " >&6; }
16832 if ${ac_cv_have_isfinite+:} false; then :
16833 $as_echo_n "(cached) " >&6
16834 else
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16837 #define _GNU_SOURCE
16838 #include <math.h>
16840 main ()
16842 float f = 0.0; return isfinite(f)
16844 return 0;
16846 _ACEOF
16847 if ac_fn_c_try_link "$LINENO"; then :
16848 ac_cv_have_isfinite="yes"
16849 else
16850 ac_cv_have_isfinite="no"
16852 rm -f core conftest.err conftest.$ac_objext \
16853 conftest$ac_exeext conftest.$ac_ext
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16856 $as_echo "$ac_cv_have_isfinite" >&6; }
16857 if test "$ac_cv_have_isfinite" = "yes"
16858 then
16860 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16865 $as_echo_n "checking for isinf... " >&6; }
16866 if ${ac_cv_have_isinf+:} false; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16870 /* end confdefs.h. */
16871 #include <math.h>
16873 main ()
16875 float f = 0.0; return isinf(f)
16877 return 0;
16879 _ACEOF
16880 if ac_fn_c_try_link "$LINENO"; then :
16881 ac_cv_have_isinf="yes"
16882 else
16883 ac_cv_have_isinf="no"
16885 rm -f core conftest.err conftest.$ac_objext \
16886 conftest$ac_exeext conftest.$ac_ext
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16889 $as_echo "$ac_cv_have_isinf" >&6; }
16890 if test "$ac_cv_have_isinf" = "yes"
16891 then
16893 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16898 $as_echo_n "checking for isnan... " >&6; }
16899 if ${ac_cv_have_isnan+:} false; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16904 #include <math.h>
16906 main ()
16908 float f = 0.0; return isnan(f)
16910 return 0;
16912 _ACEOF
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_have_isnan="yes"
16915 else
16916 ac_cv_have_isnan="no"
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16922 $as_echo "$ac_cv_have_isnan" >&6; }
16923 if test "$ac_cv_have_isnan" = "yes"
16924 then
16926 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16930 for ac_func in \
16931 asinh \
16932 asinhf \
16933 cbrt \
16934 cbrtf \
16935 erf \
16936 erff \
16937 exp2 \
16938 exp2f \
16939 lgamma \
16940 lgammaf \
16941 llrint \
16942 llrintf \
16943 llround \
16944 llroundf \
16945 log2 \
16946 log2f \
16947 lrint \
16948 lrintf \
16949 lround \
16950 lroundf \
16951 powl \
16952 remainder \
16953 remainderf \
16954 rint \
16955 rintf \
16956 round \
16957 roundf \
16958 trunc \
16959 truncf
16961 do :
16962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16964 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16965 cat >>confdefs.h <<_ACEOF
16966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16967 _ACEOF
16970 done
16972 LIBS="$ac_save_LIBS"
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16975 $as_echo_n "checking for __builtin_clz... " >&6; }
16976 if ${ac_cv_have___builtin_clz+:} false; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16983 main ()
16985 return __builtin_clz(1)
16987 return 0;
16989 _ACEOF
16990 if ac_fn_c_try_link "$LINENO"; then :
16991 ac_cv_have___builtin_clz="yes"
16992 else
16993 ac_cv_have___builtin_clz="no"
16995 rm -f core conftest.err conftest.$ac_objext \
16996 conftest$ac_exeext conftest.$ac_ext
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16999 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17000 if test "$ac_cv_have___builtin_clz" = "yes"
17001 then
17003 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17008 $as_echo_n "checking for __builtin_popcount... " >&6; }
17009 if ${ac_cv_have___builtin_popcount+:} false; then :
17010 $as_echo_n "(cached) " >&6
17011 else
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17016 main ()
17018 return __builtin_popcount(1)
17020 return 0;
17022 _ACEOF
17023 if ac_fn_c_try_link "$LINENO"; then :
17024 ac_cv_have___builtin_popcount="yes"
17025 else
17026 ac_cv_have___builtin_popcount="no"
17028 rm -f core conftest.err conftest.$ac_objext \
17029 conftest$ac_exeext conftest.$ac_ext
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17032 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17033 if test "$ac_cv_have___builtin_popcount" = "yes"
17034 then
17036 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17041 case $host_cpu in
17042 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17043 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17044 if ${ac_cv_cpp_def___i386__+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 #ifndef __i386__
17051 #endif
17052 _ACEOF
17053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17054 $EGREP "yes" >/dev/null 2>&1; then :
17055 ac_cv_cpp_def___i386__=yes
17056 else
17057 ac_cv_cpp_def___i386__=no
17059 rm -f conftest*
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17063 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17064 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17065 CFLAGS="$CFLAGS -D__i386__"
17066 LINTFLAGS="$LINTFLAGS -D__i386__"
17067 fi ;;
17068 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17069 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17070 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #ifndef __x86_64__
17077 #endif
17078 _ACEOF
17079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17080 $EGREP "yes" >/dev/null 2>&1; then :
17081 ac_cv_cpp_def___x86_64__=yes
17082 else
17083 ac_cv_cpp_def___x86_64__=no
17085 rm -f conftest*
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17089 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17090 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17091 CFLAGS="$CFLAGS -D__x86_64__"
17092 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17093 fi ;;
17094 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17095 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17096 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101 #ifndef __sparc64__
17103 #endif
17104 _ACEOF
17105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17106 $EGREP "yes" >/dev/null 2>&1; then :
17107 ac_cv_cpp_def___sparc64__=yes
17108 else
17109 ac_cv_cpp_def___sparc64__=no
17111 rm -f conftest*
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17115 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17116 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17117 CFLAGS="$CFLAGS -D__sparc64__"
17118 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17119 fi ;;
17120 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17121 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17122 if ${ac_cv_cpp_def___sparc__+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #ifndef __sparc__
17129 #endif
17130 _ACEOF
17131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17132 $EGREP "yes" >/dev/null 2>&1; then :
17133 ac_cv_cpp_def___sparc__=yes
17134 else
17135 ac_cv_cpp_def___sparc__=no
17137 rm -f conftest*
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17141 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17142 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17143 CFLAGS="$CFLAGS -D__sparc__"
17144 LINTFLAGS="$LINTFLAGS -D__sparc__"
17145 fi ;;
17146 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17147 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17148 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 #ifndef __powerpc64__
17155 #endif
17156 _ACEOF
17157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17158 $EGREP "yes" >/dev/null 2>&1; then :
17159 ac_cv_cpp_def___powerpc64__=yes
17160 else
17161 ac_cv_cpp_def___powerpc64__=no
17163 rm -f conftest*
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17167 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17168 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17169 CFLAGS="$CFLAGS -D__powerpc64__"
17170 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17171 fi ;;
17172 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17173 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17174 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17175 $as_echo_n "(cached) " >&6
17176 else
17177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17178 /* end confdefs.h. */
17179 #ifndef __powerpc__
17181 #endif
17182 _ACEOF
17183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17184 $EGREP "yes" >/dev/null 2>&1; then :
17185 ac_cv_cpp_def___powerpc__=yes
17186 else
17187 ac_cv_cpp_def___powerpc__=no
17189 rm -f conftest*
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17193 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17194 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17195 CFLAGS="$CFLAGS -D__powerpc__"
17196 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17197 fi ;;
17198 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17199 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17200 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 #ifndef __aarch64__
17207 #endif
17208 _ACEOF
17209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17210 $EGREP "yes" >/dev/null 2>&1; then :
17211 ac_cv_cpp_def___aarch64__=yes
17212 else
17213 ac_cv_cpp_def___aarch64__=no
17215 rm -f conftest*
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17219 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17220 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17221 CFLAGS="$CFLAGS -D__aarch64__"
17222 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17223 fi ;;
17224 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17225 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17226 if ${ac_cv_cpp_def___arm__+:} false; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17230 /* end confdefs.h. */
17231 #ifndef __arm__
17233 #endif
17234 _ACEOF
17235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17236 $EGREP "yes" >/dev/null 2>&1; then :
17237 ac_cv_cpp_def___arm__=yes
17238 else
17239 ac_cv_cpp_def___arm__=no
17241 rm -f conftest*
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17245 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17246 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17247 CFLAGS="$CFLAGS -D__arm__"
17248 LINTFLAGS="$LINTFLAGS -D__arm__"
17249 fi ;;
17250 esac
17252 case $host_vendor in
17253 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17254 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17255 if ${ac_cv_cpp_def___sun__+:} false; then :
17256 $as_echo_n "(cached) " >&6
17257 else
17258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17259 /* end confdefs.h. */
17260 #ifndef __sun__
17262 #endif
17263 _ACEOF
17264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17265 $EGREP "yes" >/dev/null 2>&1; then :
17266 ac_cv_cpp_def___sun__=yes
17267 else
17268 ac_cv_cpp_def___sun__=no
17270 rm -f conftest*
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17274 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17275 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17276 CFLAGS="$CFLAGS -D__sun__"
17277 LINTFLAGS="$LINTFLAGS -D__sun__"
17278 fi ;;
17279 esac
17285 ac_config_commands="$ac_config_commands include/stamp-h"
17287 $as_echo_n "creating Makefile rules..." >&6
17289 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17290 SOCKET_LIBS = $SOCKET_LIBS
17291 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17292 IOKIT_LIBS = $IOKIT_LIBS
17293 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17294 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17295 CORESERVICES_LIBS = $CORESERVICES_LIBS
17296 APPKIT_LIBS = $APPKIT_LIBS
17297 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17298 SECURITY_LIBS = $SECURITY_LIBS
17299 COREAUDIO_LIBS = $COREAUDIO_LIBS
17300 OPENAL_LIBS = $OPENAL_LIBS
17301 OPENCL_LIBS = $OPENCL_LIBS
17302 QUICKTIME_LIBS = $QUICKTIME_LIBS
17303 CARBON_LIBS = $CARBON_LIBS
17304 PTHREAD_LIBS = $PTHREAD_LIBS
17305 X_CFLAGS = $X_CFLAGS
17306 X_PRE_LIBS = $X_PRE_LIBS
17307 X_LIBS = $X_LIBS
17308 X_EXTRA_LIBS = $X_EXTRA_LIBS
17309 PCAP_LIBS = $PCAP_LIBS
17310 XML2_CFLAGS = $XML2_CFLAGS
17311 XML2_LIBS = $XML2_LIBS
17312 XSLT_CFLAGS = $XSLT_CFLAGS
17313 XSLT_LIBS = $XSLT_LIBS
17314 DBUS_CFLAGS = $DBUS_CFLAGS
17315 DBUS_LIBS = $DBUS_LIBS
17316 HAL_CFLAGS = $HAL_CFLAGS
17317 HAL_LIBS = $HAL_LIBS
17318 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17319 GNUTLS_LIBS = $GNUTLS_LIBS
17320 SANE_CFLAGS = $SANE_CFLAGS
17321 SANE_LIBS = $SANE_LIBS
17322 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17323 GPHOTO2_LIBS = $GPHOTO2_LIBS
17324 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17325 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17326 RESOLV_LIBS = $RESOLV_LIBS
17327 LCMS2_CFLAGS = $LCMS2_CFLAGS
17328 LCMS2_LIBS = $LCMS2_LIBS
17329 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17330 FREETYPE_LIBS = $FREETYPE_LIBS
17331 Z_LIBS = $Z_LIBS
17332 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17333 PULSE_CFLAGS = $PULSE_CFLAGS
17334 PULSE_LIBS = $PULSE_LIBS
17335 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17336 GSTREAMER_LIBS = $GSTREAMER_LIBS
17337 ALSA_LIBS = $ALSA_LIBS
17338 OSS4_CFLAGS = $OSS4_CFLAGS
17339 CAPI20_CFLAGS = $CAPI20_CFLAGS
17340 CAPI20_LIBS = $CAPI20_LIBS
17341 CUPS_CFLAGS = $CUPS_CFLAGS
17342 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17343 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17344 JPEG_CFLAGS = $JPEG_CFLAGS
17345 JPEG_LIBS = $JPEG_LIBS
17346 PNG_CFLAGS = $PNG_CFLAGS
17347 PNG_LIBS = $PNG_LIBS
17348 TIFF_CFLAGS = $TIFF_CFLAGS
17349 TIFF_LIBS = $TIFF_LIBS
17350 MPG123_CFLAGS = $MPG123_CFLAGS
17351 MPG123_LIBS = $MPG123_LIBS
17352 KSTAT_LIBS = $KSTAT_LIBS
17353 PROCSTAT_LIBS = $PROCSTAT_LIBS
17354 NETAPI_CFLAGS = $NETAPI_CFLAGS
17355 NETAPI_LIBS = $NETAPI_LIBS
17356 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17357 DL_LIBS = $DL_LIBS
17358 POLL_LIBS = $POLL_LIBS
17359 RT_LIBS = $RT_LIBS
17360 LDAP_LIBS = $LDAP_LIBS
17365 wine_fn_append_rule "
17366 # Rules automatically generated by configure
17368 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17370 .INIT: Makefile
17371 .MAKEFILEDEPS:
17372 all: Makefile
17373 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17374 @./config.status Make.tmp Makefile
17375 depend: \$(MAKEDEP) dummy
17376 \$(MAKEDEP)"
17378 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17379 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17381 if test "x$enable_fonts" != xno; then
17382 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17383 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17384 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17385 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17386 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17387 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17389 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17390 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17391 ac_config_links="$ac_config_links wine:tools/winewrapper"
17392 wine_fn_config_symlink wine
17393 if test "x$enable_win64" != xno; then
17394 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17395 wine_fn_config_symlink wine64
17398 wine_fn_config_dll acledit enable_acledit
17399 wine_fn_config_dll aclui enable_aclui implib
17400 wine_fn_config_dll activeds enable_activeds implib
17401 wine_fn_config_dll actxprxy enable_actxprxy clean
17402 wine_fn_config_lib adsiid
17403 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17404 wine_fn_config_test dlls/advapi32/tests advapi32_test
17405 wine_fn_config_dll advpack enable_advpack implib
17406 wine_fn_config_test dlls/advpack/tests advpack_test
17407 wine_fn_config_dll amstream enable_amstream clean
17408 wine_fn_config_test dlls/amstream/tests amstream_test
17409 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17410 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17411 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17412 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17413 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17414 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17415 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17416 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17417 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17418 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17419 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17420 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17421 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17422 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17423 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17424 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17425 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17426 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17427 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17428 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17429 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17430 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17431 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17432 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17433 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17434 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17435 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17436 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17437 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17438 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17439 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17440 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17441 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17442 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17443 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17444 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17445 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17446 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17447 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17448 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17449 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17450 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17451 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17452 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17453 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17454 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17455 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17456 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17457 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17458 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17459 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17460 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17461 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17462 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17463 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17464 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17465 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17466 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17467 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17468 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17469 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17470 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17471 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17472 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17473 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17474 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17475 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17476 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17477 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17478 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17479 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17480 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17481 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17482 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17483 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17484 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17485 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17486 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17487 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17488 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17489 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17490 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17491 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17492 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17493 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17494 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17495 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17496 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17497 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17498 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17499 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17500 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17501 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17502 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17503 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17504 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17505 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17506 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17507 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17508 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17509 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17510 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17511 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17512 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17513 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17514 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17515 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17516 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17517 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17518 wine_fn_config_dll apphelp enable_apphelp
17519 wine_fn_config_test dlls/apphelp/tests apphelp_test
17520 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17521 wine_fn_config_dll atl enable_atl clean,implib
17522 wine_fn_config_test dlls/atl/tests atl_test
17523 wine_fn_config_dll atl100 enable_atl100 clean,implib
17524 wine_fn_config_test dlls/atl100/tests atl100_test
17525 wine_fn_config_dll atl110 enable_atl110 clean
17526 wine_fn_config_dll atl80 enable_atl80 clean,implib
17527 wine_fn_config_test dlls/atl80/tests atl80_test
17528 wine_fn_config_dll atl90 enable_atl90 clean
17529 wine_fn_config_dll authz enable_authz
17530 wine_fn_config_dll avicap32 enable_avicap32 implib
17531 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17532 wine_fn_config_test dlls/avifil32/tests avifil32_test
17533 wine_fn_config_dll avifile.dll16 enable_win16
17534 wine_fn_config_dll avrt enable_avrt implib
17535 wine_fn_config_dll bcrypt enable_bcrypt implib
17536 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17537 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17538 wine_fn_config_dll browseui enable_browseui clean
17539 wine_fn_config_test dlls/browseui/tests browseui_test
17540 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17541 wine_fn_config_dll cabinet enable_cabinet implib
17542 wine_fn_config_test dlls/cabinet/tests cabinet_test
17543 wine_fn_config_dll capi2032 enable_capi2032 implib
17544 wine_fn_config_dll cards enable_cards implib
17545 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17546 wine_fn_config_dll clusapi enable_clusapi implib
17547 wine_fn_config_dll combase enable_combase
17548 wine_fn_config_test dlls/combase/tests combase_test
17549 wine_fn_config_dll comcat enable_comcat
17550 wine_fn_config_test dlls/comcat/tests comcat_test
17551 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17552 wine_fn_config_test dlls/comctl32/tests comctl32_test
17553 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17554 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17555 wine_fn_config_dll comm.drv16 enable_win16
17556 wine_fn_config_dll commdlg.dll16 enable_win16
17557 wine_fn_config_dll compobj.dll16 enable_win16
17558 wine_fn_config_dll compstui enable_compstui implib
17559 wine_fn_config_dll comsvcs enable_comsvcs implib
17560 wine_fn_config_dll concrt140 enable_concrt140
17561 wine_fn_config_dll connect enable_connect
17562 wine_fn_config_dll credui enable_credui clean,implib
17563 wine_fn_config_test dlls/credui/tests credui_test
17564 wine_fn_config_dll crtdll enable_crtdll
17565 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17566 wine_fn_config_test dlls/crypt32/tests crypt32_test
17567 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17568 wine_fn_config_dll cryptdll enable_cryptdll implib
17569 wine_fn_config_dll cryptext enable_cryptext
17570 wine_fn_config_dll cryptnet enable_cryptnet implib
17571 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17572 wine_fn_config_dll cryptui enable_cryptui clean,implib
17573 wine_fn_config_test dlls/cryptui/tests cryptui_test
17574 wine_fn_config_dll ctapi32 enable_ctapi32
17575 wine_fn_config_dll ctl3d.dll16 enable_win16
17576 wine_fn_config_dll ctl3d32 enable_ctl3d32
17577 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17578 wine_fn_config_dll d2d1 enable_d2d1 implib
17579 wine_fn_config_test dlls/d2d1/tests d2d1_test
17580 wine_fn_config_dll d3d10 enable_d3d10 implib
17581 wine_fn_config_test dlls/d3d10/tests d3d10_test
17582 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17583 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17584 wine_fn_config_dll d3d10core enable_d3d10core implib
17585 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17586 wine_fn_config_dll d3d11 enable_d3d11 implib
17587 wine_fn_config_test dlls/d3d11/tests d3d11_test
17588 wine_fn_config_dll d3d8 enable_d3d8 implib
17589 wine_fn_config_test dlls/d3d8/tests d3d8_test
17590 wine_fn_config_dll d3d9 enable_d3d9 implib
17591 wine_fn_config_test dlls/d3d9/tests d3d9_test
17592 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17593 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17594 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17595 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17596 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17597 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17598 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17599 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17600 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17601 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17602 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17603 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17604 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17605 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17606 wine_fn_config_dll d3dim enable_d3dim
17607 wine_fn_config_dll d3drm enable_d3drm implib
17608 wine_fn_config_test dlls/d3drm/tests d3drm_test
17609 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17610 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17611 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17612 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17613 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17614 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17615 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17616 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17617 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17618 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17619 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17620 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
17621 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17622 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
17623 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17624 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17625 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17626 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17627 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17628 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17629 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17630 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17631 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17632 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17633 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17634 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17635 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17636 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17637 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17638 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17639 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17640 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17641 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17642 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17643 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17644 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17645 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17646 wine_fn_config_dll davclnt enable_davclnt
17647 wine_fn_config_dll dbgeng enable_dbgeng implib
17648 wine_fn_config_dll dbghelp enable_dbghelp implib
17649 wine_fn_config_dll dciman32 enable_dciman32 implib
17650 wine_fn_config_dll ddeml.dll16 enable_win16
17651 wine_fn_config_dll ddraw enable_ddraw clean,implib
17652 wine_fn_config_test dlls/ddraw/tests ddraw_test
17653 wine_fn_config_dll ddrawex enable_ddrawex clean
17654 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17655 wine_fn_config_dll devenum enable_devenum clean
17656 wine_fn_config_test dlls/devenum/tests devenum_test
17657 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17658 wine_fn_config_dll difxapi enable_difxapi
17659 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17660 wine_fn_config_test dlls/dinput/tests dinput_test
17661 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17662 wine_fn_config_test dlls/dinput8/tests dinput8_test
17663 wine_fn_config_dll dispdib.dll16 enable_win16
17664 wine_fn_config_dll dispex enable_dispex clean
17665 wine_fn_config_test dlls/dispex/tests dispex_test
17666 wine_fn_config_dll display.drv16 enable_win16
17667 wine_fn_config_dll dmband enable_dmband clean
17668 wine_fn_config_test dlls/dmband/tests dmband_test
17669 wine_fn_config_dll dmcompos enable_dmcompos clean
17670 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17671 wine_fn_config_dll dmime enable_dmime clean
17672 wine_fn_config_test dlls/dmime/tests dmime_test
17673 wine_fn_config_dll dmloader enable_dmloader clean
17674 wine_fn_config_test dlls/dmloader/tests dmloader_test
17675 wine_fn_config_dll dmscript enable_dmscript clean
17676 wine_fn_config_test dlls/dmscript/tests dmscript_test
17677 wine_fn_config_dll dmstyle enable_dmstyle clean
17678 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17679 wine_fn_config_dll dmsynth enable_dmsynth clean
17680 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17681 wine_fn_config_dll dmusic enable_dmusic clean
17682 wine_fn_config_test dlls/dmusic/tests dmusic_test
17683 wine_fn_config_dll dmusic32 enable_dmusic32
17684 wine_fn_config_dll dnsapi enable_dnsapi implib
17685 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17686 wine_fn_config_dll dplay enable_dplay
17687 wine_fn_config_dll dplayx enable_dplayx clean,implib
17688 wine_fn_config_test dlls/dplayx/tests dplayx_test
17689 wine_fn_config_dll dpnaddr enable_dpnaddr
17690 wine_fn_config_dll dpnet enable_dpnet clean,implib
17691 wine_fn_config_test dlls/dpnet/tests dpnet_test
17692 wine_fn_config_dll dpnhpast enable_dpnhpast
17693 wine_fn_config_dll dpnlobby enable_dpnlobby
17694 wine_fn_config_dll dpvoice enable_dpvoice clean
17695 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17696 wine_fn_config_dll dpwsockx enable_dpwsockx
17697 wine_fn_config_dll drmclien enable_drmclien
17698 wine_fn_config_dll dsound enable_dsound clean,implib
17699 wine_fn_config_test dlls/dsound/tests dsound_test
17700 wine_fn_config_dll dssenh enable_dssenh
17701 wine_fn_config_test dlls/dssenh/tests dssenh_test
17702 wine_fn_config_dll dswave enable_dswave clean
17703 wine_fn_config_test dlls/dswave/tests dswave_test
17704 wine_fn_config_dll dwmapi enable_dwmapi implib
17705 wine_fn_config_dll dwrite enable_dwrite implib
17706 wine_fn_config_test dlls/dwrite/tests dwrite_test
17707 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17708 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17709 wine_fn_config_lib dxerr8
17710 wine_fn_config_lib dxerr9
17711 wine_fn_config_dll dxgi enable_dxgi implib
17712 wine_fn_config_test dlls/dxgi/tests dxgi_test
17713 wine_fn_config_lib dxguid
17714 wine_fn_config_dll dxva2 enable_dxva2
17715 wine_fn_config_dll esent enable_esent
17716 wine_fn_config_dll evr enable_evr
17717 wine_fn_config_dll explorerframe enable_explorerframe clean
17718 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17719 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17720 wine_fn_config_dll faultrep enable_faultrep implib
17721 wine_fn_config_test dlls/faultrep/tests faultrep_test
17722 wine_fn_config_dll fltlib enable_fltlib
17723 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17724 wine_fn_config_dll fntcache enable_fntcache
17725 wine_fn_config_dll fontsub enable_fontsub
17726 wine_fn_config_dll fusion enable_fusion
17727 wine_fn_config_test dlls/fusion/tests fusion_test
17728 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17729 wine_fn_config_dll gameux enable_gameux clean
17730 wine_fn_config_test dlls/gameux/tests gameux_test
17731 wine_fn_config_dll gdi.exe16 enable_win16
17732 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17733 wine_fn_config_test dlls/gdi32/tests gdi32_test
17734 wine_fn_config_dll gdiplus enable_gdiplus implib
17735 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17736 wine_fn_config_dll glu32 enable_glu32 implib
17737 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17738 wine_fn_config_dll gpkcsp enable_gpkcsp
17739 wine_fn_config_dll hal enable_hal
17740 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17741 wine_fn_config_dll hid enable_hid implib
17742 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17743 wine_fn_config_dll hlink enable_hlink clean,implib
17744 wine_fn_config_test dlls/hlink/tests hlink_test
17745 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17746 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
17747 wine_fn_config_dll httpapi enable_httpapi
17748 wine_fn_config_dll iccvid enable_iccvid clean
17749 wine_fn_config_dll icmp enable_icmp
17750 wine_fn_config_dll ieframe enable_ieframe clean,implib
17751 wine_fn_config_test dlls/ieframe/tests ieframe_test
17752 wine_fn_config_dll ifsmgr.vxd enable_win16
17753 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17754 wine_fn_config_dll imagehlp enable_imagehlp implib
17755 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17756 wine_fn_config_dll imm.dll16 enable_win16
17757 wine_fn_config_dll imm32 enable_imm32 implib
17758 wine_fn_config_test dlls/imm32/tests imm32_test
17759 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17760 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17761 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17762 wine_fn_config_dll inetmib1 enable_inetmib1
17763 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17764 wine_fn_config_dll infosoft enable_infosoft clean
17765 wine_fn_config_test dlls/infosoft/tests infosoft_test
17766 wine_fn_config_dll initpki enable_initpki
17767 wine_fn_config_dll inkobj enable_inkobj
17768 wine_fn_config_dll inseng enable_inseng clean
17769 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17770 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17771 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17772 wine_fn_config_dll itircl enable_itircl
17773 wine_fn_config_dll itss enable_itss clean
17774 wine_fn_config_test dlls/itss/tests itss_test
17775 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17776 wine_fn_config_dll jscript enable_jscript clean
17777 wine_fn_config_test dlls/jscript/tests jscript_test
17778 wine_fn_config_dll jsproxy enable_jsproxy implib
17779 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
17780 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17781 wine_fn_config_test dlls/kernel32/tests kernel32_test
17782 wine_fn_config_dll kernelbase enable_kernelbase
17783 wine_fn_config_dll keyboard.drv16 enable_win16
17784 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17785 wine_fn_config_dll ksuser enable_ksuser
17786 wine_fn_config_dll ktmw32 enable_ktmw32
17787 wine_fn_config_dll loadperf enable_loadperf implib
17788 wine_fn_config_dll localspl enable_localspl clean
17789 wine_fn_config_test dlls/localspl/tests localspl_test
17790 wine_fn_config_dll localui enable_localui clean
17791 wine_fn_config_test dlls/localui/tests localui_test
17792 wine_fn_config_dll lz32 enable_lz32 implib
17793 wine_fn_config_test dlls/lz32/tests lz32_test
17794 wine_fn_config_dll lzexpand.dll16 enable_win16
17795 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17796 wine_fn_config_test dlls/mapi32/tests mapi32_test
17797 wine_fn_config_dll mapistub enable_mapistub
17798 wine_fn_config_dll mciavi32 enable_mciavi32
17799 wine_fn_config_dll mcicda enable_mcicda
17800 wine_fn_config_dll mciqtz32 enable_mciqtz32
17801 wine_fn_config_dll mciseq enable_mciseq
17802 wine_fn_config_dll mciwave enable_mciwave
17803 wine_fn_config_dll mf enable_mf
17804 wine_fn_config_dll mfplat enable_mfplat
17805 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17806 wine_fn_config_dll mgmtapi enable_mgmtapi
17807 wine_fn_config_dll midimap enable_midimap
17808 wine_fn_config_dll mlang enable_mlang clean,implib
17809 wine_fn_config_test dlls/mlang/tests mlang_test
17810 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17811 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17812 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17813 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17814 wine_fn_config_dll mmdevldr.vxd enable_win16
17815 wine_fn_config_dll mmsystem.dll16 enable_win16
17816 wine_fn_config_dll monodebg.vxd enable_win16
17817 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17818 wine_fn_config_dll mouse.drv16 enable_win16
17819 wine_fn_config_dll mpr enable_mpr clean,implib
17820 wine_fn_config_test dlls/mpr/tests mpr_test
17821 wine_fn_config_dll mprapi enable_mprapi implib
17822 wine_fn_config_dll msacm.dll16 enable_win16
17823 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17824 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17825 wine_fn_config_test dlls/msacm32/tests msacm32_test
17826 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17827 wine_fn_config_dll msasn1 enable_msasn1 implib
17828 wine_fn_config_dll mscat32 enable_mscat32
17829 wine_fn_config_dll mscms enable_mscms implib
17830 wine_fn_config_test dlls/mscms/tests mscms_test
17831 wine_fn_config_dll mscoree enable_mscoree clean
17832 wine_fn_config_test dlls/mscoree/tests mscoree_test
17833 wine_fn_config_dll msctf enable_msctf clean
17834 wine_fn_config_test dlls/msctf/tests msctf_test
17835 wine_fn_config_dll msctfp enable_msctfp clean
17836 wine_fn_config_dll msdaps enable_msdaps clean
17837 wine_fn_config_dll msdelta enable_msdelta
17838 wine_fn_config_dll msdmo enable_msdmo implib
17839 wine_fn_config_test dlls/msdmo/tests msdmo_test
17840 wine_fn_config_dll msdrm enable_msdrm
17841 wine_fn_config_dll msftedit enable_msftedit
17842 wine_fn_config_dll msg711.acm enable_msg711_acm
17843 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17844 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17845 wine_fn_config_dll mshtml enable_mshtml clean,implib
17846 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17847 wine_fn_config_dll msi enable_msi clean,implib
17848 wine_fn_config_test dlls/msi/tests msi_test
17849 wine_fn_config_dll msident enable_msident clean
17850 wine_fn_config_dll msimg32 enable_msimg32 implib
17851 wine_fn_config_dll msimsg enable_msimsg
17852 wine_fn_config_dll msimtf enable_msimtf clean
17853 wine_fn_config_dll msisip enable_msisip
17854 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17855 wine_fn_config_dll msls31 enable_msls31
17856 wine_fn_config_dll msnet32 enable_msnet32
17857 wine_fn_config_dll mspatcha enable_mspatcha implib
17858 wine_fn_config_dll msrle32 enable_msrle32 clean
17859 wine_fn_config_test dlls/msrle32/tests msrle32_test
17860 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17861 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
17862 wine_fn_config_dll mssign32 enable_mssign32
17863 wine_fn_config_dll mssip32 enable_mssip32
17864 wine_fn_config_dll mstask enable_mstask clean
17865 wine_fn_config_test dlls/mstask/tests mstask_test
17866 wine_fn_config_dll msvcirt enable_msvcirt
17867 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17868 wine_fn_config_dll msvcm80 enable_msvcm80
17869 wine_fn_config_dll msvcm90 enable_msvcm90
17870 wine_fn_config_dll msvcp100 enable_msvcp100
17871 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17872 wine_fn_config_dll msvcp110 enable_msvcp110
17873 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17874 wine_fn_config_dll msvcp120 enable_msvcp120
17875 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17876 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17877 wine_fn_config_dll msvcp140 enable_msvcp140
17878 wine_fn_config_dll msvcp60 enable_msvcp60
17879 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17880 wine_fn_config_dll msvcp70 enable_msvcp70
17881 wine_fn_config_dll msvcp71 enable_msvcp71
17882 wine_fn_config_dll msvcp80 enable_msvcp80
17883 wine_fn_config_dll msvcp90 enable_msvcp90
17884 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17885 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17886 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17887 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17888 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17889 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17890 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17891 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17892 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17893 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17894 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17895 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17896 wine_fn_config_dll msvcrt enable_msvcrt implib
17897 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17898 wine_fn_config_dll msvcrt20 enable_msvcrt20
17899 wine_fn_config_dll msvcrt40 enable_msvcrt40
17900 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17901 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17902 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17903 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17904 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17905 wine_fn_config_dll msvideo.dll16 enable_win16
17906 wine_fn_config_dll mswsock enable_mswsock implib
17907 wine_fn_config_dll msxml enable_msxml clean
17908 wine_fn_config_dll msxml2 enable_msxml2 clean
17909 wine_fn_config_dll msxml3 enable_msxml3 clean
17910 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17911 wine_fn_config_dll msxml4 enable_msxml4 clean
17912 wine_fn_config_dll msxml6 enable_msxml6 clean
17913 wine_fn_config_dll ncrypt enable_ncrypt
17914 wine_fn_config_dll nddeapi enable_nddeapi implib
17915 wine_fn_config_dll ndis.sys enable_ndis_sys
17916 wine_fn_config_dll netapi32 enable_netapi32 implib
17917 wine_fn_config_test dlls/netapi32/tests netapi32_test
17918 wine_fn_config_dll netcfgx enable_netcfgx clean
17919 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17920 wine_fn_config_dll netprofm enable_netprofm clean
17921 wine_fn_config_test dlls/netprofm/tests netprofm_test
17922 wine_fn_config_dll newdev enable_newdev implib
17923 wine_fn_config_dll normaliz enable_normaliz implib
17924 wine_fn_config_dll npmshtml enable_npmshtml
17925 wine_fn_config_dll npptools enable_npptools
17926 wine_fn_config_dll ntdll enable_ntdll implib
17927 wine_fn_config_test dlls/ntdll/tests ntdll_test
17928 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17929 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17930 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
17931 wine_fn_config_dll ntprint enable_ntprint
17932 wine_fn_config_test dlls/ntprint/tests ntprint_test
17933 wine_fn_config_dll objsel enable_objsel clean
17934 wine_fn_config_dll odbc32 enable_odbc32 implib
17935 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17936 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17937 wine_fn_config_dll odbccu32 enable_odbccu32
17938 wine_fn_config_dll ole2.dll16 enable_win16
17939 wine_fn_config_dll ole2conv.dll16 enable_win16
17940 wine_fn_config_dll ole2disp.dll16 enable_win16
17941 wine_fn_config_dll ole2nls.dll16 enable_win16
17942 wine_fn_config_dll ole2prox.dll16 enable_win16
17943 wine_fn_config_dll ole2thk.dll16 enable_win16
17944 wine_fn_config_dll ole32 enable_ole32 clean,implib
17945 wine_fn_config_test dlls/ole32/tests ole32_test
17946 wine_fn_config_dll oleacc enable_oleacc clean,implib
17947 wine_fn_config_test dlls/oleacc/tests oleacc_test
17948 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17949 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17950 wine_fn_config_dll olecli.dll16 enable_win16
17951 wine_fn_config_dll olecli32 enable_olecli32 implib
17952 wine_fn_config_dll oledb32 enable_oledb32 clean
17953 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17954 wine_fn_config_dll oledlg enable_oledlg clean,implib
17955 wine_fn_config_test dlls/oledlg/tests oledlg_test
17956 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17957 wine_fn_config_dll olesvr.dll16 enable_win16
17958 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17959 wine_fn_config_dll olethk32 enable_olethk32
17960 wine_fn_config_dll openal32 enable_openal32
17961 wine_fn_config_dll opencl enable_opencl
17962 wine_fn_config_dll opengl32 enable_opengl32 implib
17963 wine_fn_config_test dlls/opengl32/tests opengl32_test
17964 wine_fn_config_dll packager enable_packager clean
17965 wine_fn_config_test dlls/packager/tests packager_test
17966 wine_fn_config_dll pdh enable_pdh implib
17967 wine_fn_config_test dlls/pdh/tests pdh_test
17968 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17969 wine_fn_config_dll pidgen enable_pidgen
17970 wine_fn_config_dll powrprof enable_powrprof implib
17971 wine_fn_config_dll printui enable_printui
17972 wine_fn_config_dll prntvpt enable_prntvpt
17973 wine_fn_config_dll propsys enable_propsys clean,implib
17974 wine_fn_config_test dlls/propsys/tests propsys_test
17975 wine_fn_config_dll psapi enable_psapi implib
17976 wine_fn_config_test dlls/psapi/tests psapi_test
17977 wine_fn_config_dll pstorec enable_pstorec clean
17978 wine_fn_config_dll qcap enable_qcap
17979 wine_fn_config_test dlls/qcap/tests qcap_test
17980 wine_fn_config_dll qedit enable_qedit clean
17981 wine_fn_config_test dlls/qedit/tests qedit_test
17982 wine_fn_config_dll qmgr enable_qmgr clean
17983 wine_fn_config_test dlls/qmgr/tests qmgr_test
17984 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17985 wine_fn_config_dll quartz enable_quartz clean,implib
17986 wine_fn_config_test dlls/quartz/tests quartz_test clean
17987 wine_fn_config_dll query enable_query
17988 wine_fn_config_dll rasapi16.dll16 enable_win16
17989 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17990 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17991 wine_fn_config_dll rasdlg enable_rasdlg implib
17992 wine_fn_config_dll regapi enable_regapi
17993 wine_fn_config_dll resutils enable_resutils implib
17994 wine_fn_config_dll riched20 enable_riched20 clean,implib
17995 wine_fn_config_test dlls/riched20/tests riched20_test
17996 wine_fn_config_dll riched32 enable_riched32
17997 wine_fn_config_test dlls/riched32/tests riched32_test
17998 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17999 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18000 wine_fn_config_dll rsabase enable_rsabase
18001 wine_fn_config_dll rsaenh enable_rsaenh implib
18002 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18003 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18004 wine_fn_config_dll rtutils enable_rtutils implib
18005 wine_fn_config_dll samlib enable_samlib
18006 wine_fn_config_dll sane.ds enable_sane_ds clean
18007 wine_fn_config_dll scarddlg enable_scarddlg
18008 wine_fn_config_dll sccbase enable_sccbase
18009 wine_fn_config_dll schannel enable_schannel
18010 wine_fn_config_test dlls/schannel/tests schannel_test
18011 wine_fn_config_dll schedsvc enable_schedsvc clean
18012 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18013 wine_fn_config_dll scrrun enable_scrrun clean
18014 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18015 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18016 wine_fn_config_dll secur32 enable_secur32 implib
18017 wine_fn_config_test dlls/secur32/tests secur32_test
18018 wine_fn_config_dll security enable_security
18019 wine_fn_config_dll sensapi enable_sensapi implib
18020 wine_fn_config_dll serialui enable_serialui clean
18021 wine_fn_config_test dlls/serialui/tests serialui_test
18022 wine_fn_config_dll setupapi enable_setupapi clean,implib
18023 wine_fn_config_test dlls/setupapi/tests setupapi_test
18024 wine_fn_config_dll setupx.dll16 enable_win16
18025 wine_fn_config_dll sfc enable_sfc implib
18026 wine_fn_config_dll sfc_os enable_sfc_os implib
18027 wine_fn_config_dll shdoclc enable_shdoclc clean
18028 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18029 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18030 wine_fn_config_dll shell.dll16 enable_win16
18031 wine_fn_config_dll shell32 enable_shell32 clean,implib
18032 wine_fn_config_test dlls/shell32/tests shell32_test
18033 wine_fn_config_dll shfolder enable_shfolder implib
18034 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18035 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18036 wine_fn_config_dll slbcsp enable_slbcsp
18037 wine_fn_config_dll slc enable_slc implib
18038 wine_fn_config_test dlls/slc/tests slc_test
18039 wine_fn_config_dll snmpapi enable_snmpapi implib
18040 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18041 wine_fn_config_dll softpub enable_softpub
18042 wine_fn_config_dll sound.drv16 enable_win16
18043 wine_fn_config_dll spoolss enable_spoolss implib
18044 wine_fn_config_test dlls/spoolss/tests spoolss_test
18045 wine_fn_config_dll sspicli enable_sspicli
18046 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18047 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18048 wine_fn_config_dll sti enable_sti clean,implib
18049 wine_fn_config_test dlls/sti/tests sti_test
18050 wine_fn_config_dll storage.dll16 enable_win16
18051 wine_fn_config_dll stress.dll16 enable_win16
18052 wine_fn_config_lib strmbase
18053 wine_fn_config_lib strmiids
18054 wine_fn_config_dll svrapi enable_svrapi
18055 wine_fn_config_dll sxs enable_sxs implib
18056 wine_fn_config_test dlls/sxs/tests sxs_test
18057 wine_fn_config_dll system.drv16 enable_win16
18058 wine_fn_config_dll t2embed enable_t2embed implib
18059 wine_fn_config_test dlls/t2embed/tests t2embed_test
18060 wine_fn_config_dll tapi32 enable_tapi32 implib
18061 wine_fn_config_dll taskschd enable_taskschd clean
18062 wine_fn_config_test dlls/taskschd/tests taskschd_test
18063 wine_fn_config_dll tdi.sys enable_tdi_sys
18064 wine_fn_config_dll toolhelp.dll16 enable_win16
18065 wine_fn_config_dll traffic enable_traffic
18066 wine_fn_config_dll twain.dll16 enable_win16
18067 wine_fn_config_dll twain_32 enable_twain_32
18068 wine_fn_config_test dlls/twain_32/tests twain_32_test
18069 wine_fn_config_dll typelib.dll16 enable_win16
18070 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18071 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18072 wine_fn_config_dll unicows enable_unicows implib
18073 wine_fn_config_dll updspapi enable_updspapi
18074 wine_fn_config_dll url enable_url implib
18075 wine_fn_config_dll urlmon enable_urlmon clean,implib
18076 wine_fn_config_test dlls/urlmon/tests urlmon_test
18077 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18078 wine_fn_config_dll user.exe16 enable_win16
18079 wine_fn_config_dll user32 enable_user32 clean,implib
18080 wine_fn_config_test dlls/user32/tests user32_test
18081 wine_fn_config_dll userenv enable_userenv implib
18082 wine_fn_config_test dlls/userenv/tests userenv_test
18083 wine_fn_config_dll usp10 enable_usp10 implib
18084 wine_fn_config_test dlls/usp10/tests usp10_test
18085 wine_fn_config_lib uuid
18086 wine_fn_config_dll uxtheme enable_uxtheme implib
18087 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18088 wine_fn_config_dll vbscript enable_vbscript clean
18089 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18090 wine_fn_config_dll vcomp enable_vcomp
18091 wine_fn_config_test dlls/vcomp/tests vcomp_test
18092 wine_fn_config_dll vcomp100 enable_vcomp100
18093 wine_fn_config_dll vcomp110 enable_vcomp110
18094 wine_fn_config_dll vcomp120 enable_vcomp120
18095 wine_fn_config_dll vcomp140 enable_vcomp140
18096 wine_fn_config_dll vcomp90 enable_vcomp90
18097 wine_fn_config_dll vcruntime140 enable_vcruntime140
18098 wine_fn_config_dll vdhcp.vxd enable_win16
18099 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18100 wine_fn_config_dll ver.dll16 enable_win16
18101 wine_fn_config_dll version enable_version implib
18102 wine_fn_config_test dlls/version/tests version_test
18103 wine_fn_config_dll vmm.vxd enable_win16
18104 wine_fn_config_dll vnbt.vxd enable_win16
18105 wine_fn_config_dll vnetbios.vxd enable_win16
18106 wine_fn_config_dll vssapi enable_vssapi
18107 wine_fn_config_dll vtdapi.vxd enable_win16
18108 wine_fn_config_dll vwin32.vxd enable_win16
18109 wine_fn_config_dll w32skrnl enable_win16
18110 wine_fn_config_dll w32sys.dll16 enable_win16
18111 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18112 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18113 wine_fn_config_dll wbemprox enable_wbemprox clean
18114 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18115 wine_fn_config_dll webservices enable_webservices implib
18116 wine_fn_config_test dlls/webservices/tests webservices_test
18117 wine_fn_config_dll wer enable_wer implib
18118 wine_fn_config_test dlls/wer/tests wer_test
18119 wine_fn_config_dll wevtapi enable_wevtapi
18120 wine_fn_config_dll wiaservc enable_wiaservc clean
18121 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18122 wine_fn_config_dll wimgapi enable_wimgapi
18123 wine_fn_config_dll win32s16.dll16 enable_win16
18124 wine_fn_config_dll win87em.dll16 enable_win16
18125 wine_fn_config_dll winaspi.dll16 enable_win16
18126 wine_fn_config_dll windebug.dll16 enable_win16
18127 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18128 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18129 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18130 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18131 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18132 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18133 wine_fn_config_lib winecrt0
18134 wine_fn_config_dll wined3d enable_wined3d implib
18135 wine_fn_config_dll winegstreamer enable_winegstreamer
18136 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18137 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18138 wine_fn_config_dll winemapi enable_winemapi
18139 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18140 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18141 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18142 wine_fn_config_dll wineps16.drv16 enable_win16
18143 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18144 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18145 wine_fn_config_dll winex11.drv enable_winex11_drv
18146 wine_fn_config_dll wing.dll16 enable_win16
18147 wine_fn_config_dll wing32 enable_wing32
18148 wine_fn_config_dll winhttp enable_winhttp clean,implib
18149 wine_fn_config_test dlls/winhttp/tests winhttp_test
18150 wine_fn_config_dll wininet enable_wininet clean,implib
18151 wine_fn_config_test dlls/wininet/tests wininet_test
18152 wine_fn_config_dll winmm enable_winmm clean,implib
18153 wine_fn_config_test dlls/winmm/tests winmm_test
18154 wine_fn_config_dll winnls.dll16 enable_win16
18155 wine_fn_config_dll winnls32 enable_winnls32 implib
18156 wine_fn_config_dll winscard enable_winscard implib
18157 wine_fn_config_dll winsock.dll16 enable_win16
18158 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18159 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18160 wine_fn_config_dll winsta enable_winsta
18161 wine_fn_config_dll wintab.dll16 enable_win16
18162 wine_fn_config_dll wintab32 enable_wintab32 implib
18163 wine_fn_config_test dlls/wintab32/tests wintab32_test
18164 wine_fn_config_dll wintrust enable_wintrust implib
18165 wine_fn_config_test dlls/wintrust/tests wintrust_test
18166 wine_fn_config_dll wlanapi enable_wlanapi
18167 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18168 wine_fn_config_test dlls/wldap32/tests wldap32_test
18169 wine_fn_config_dll wmasf enable_wmasf
18170 wine_fn_config_dll wmi enable_wmi
18171 wine_fn_config_dll wmiutils enable_wmiutils clean
18172 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18173 wine_fn_config_dll wmp enable_wmp clean
18174 wine_fn_config_test dlls/wmp/tests wmp_test
18175 wine_fn_config_dll wmvcore enable_wmvcore
18176 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18177 wine_fn_config_dll wow32 enable_win16 implib
18178 wine_fn_config_dll wpcap enable_wpcap
18179 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18180 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18181 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18182 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18183 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18184 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18185 wine_fn_config_dll wsock32 enable_wsock32 implib
18186 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18187 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18188 wine_fn_config_dll wuapi enable_wuapi clean
18189 wine_fn_config_dll wuaueng enable_wuaueng
18190 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18191 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18192 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18193 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18194 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18195 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18196 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18197 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18198 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18199 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18200 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18201 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18202 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18203 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18204 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18205 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18206 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18207 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18208 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18209 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18210 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18211 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18212 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18213 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18214 wine_fn_config_dll xinput1_1 enable_xinput1_1
18215 wine_fn_config_dll xinput1_2 enable_xinput1_2
18216 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18217 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18218 wine_fn_config_dll xinput1_4 enable_xinput1_4
18219 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18220 wine_fn_config_dll xmllite enable_xmllite implib
18221 wine_fn_config_test dlls/xmllite/tests xmllite_test
18222 wine_fn_config_dll xolehlp enable_xolehlp
18223 wine_fn_config_dll xpsprint enable_xpsprint
18224 wine_fn_config_dll xpssvcs enable_xpssvcs
18225 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18226 wine_fn_config_makefile include enable_include clean,install-dev
18227 wine_fn_config_makefile libs/port enable_libs_port
18228 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18229 wine_fn_config_makefile libs/wpp enable_libs_wpp
18230 wine_fn_config_makefile loader enable_loader clean,install-lib
18231 wine_fn_config_makefile po enable_po clean
18232 wine_fn_config_program arp enable_arp install
18233 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18234 wine_fn_config_program attrib enable_attrib clean,install
18235 wine_fn_config_program cabarc enable_cabarc install
18236 wine_fn_config_program cacls enable_cacls install
18237 wine_fn_config_program clock enable_clock clean,install
18238 wine_fn_config_program cmd enable_cmd clean,install
18239 wine_fn_config_test programs/cmd/tests cmd.exe_test
18240 wine_fn_config_program conhost enable_conhost install
18241 wine_fn_config_program control enable_control install
18242 wine_fn_config_program cscript enable_cscript clean,install
18243 wine_fn_config_program dpnsvr enable_dpnsvr install
18244 wine_fn_config_program dxdiag enable_dxdiag clean,install
18245 wine_fn_config_program eject enable_eject install
18246 wine_fn_config_program expand enable_expand install
18247 wine_fn_config_program explorer enable_explorer clean,install
18248 wine_fn_config_program extrac32 enable_extrac32 install
18249 wine_fn_config_program findstr enable_findstr install
18250 wine_fn_config_program fsutil enable_fsutil install
18251 wine_fn_config_program hh enable_hh install
18252 wine_fn_config_program hostname enable_hostname clean,install
18253 wine_fn_config_program icacls enable_icacls install
18254 wine_fn_config_program icinfo enable_icinfo install
18255 wine_fn_config_program iexplore enable_iexplore install
18256 wine_fn_config_program ipconfig enable_ipconfig clean,install
18257 wine_fn_config_program lodctr enable_lodctr install
18258 wine_fn_config_program mofcomp enable_mofcomp install
18259 wine_fn_config_program mshta enable_mshta install
18260 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18261 wine_fn_config_program net enable_net clean,install
18262 wine_fn_config_program netsh enable_netsh install
18263 wine_fn_config_program netstat enable_netstat clean,install
18264 wine_fn_config_program ngen enable_ngen install
18265 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18266 wine_fn_config_program oleview enable_oleview clean,install
18267 wine_fn_config_program ping enable_ping install
18268 wine_fn_config_program plugplay enable_plugplay install
18269 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18270 wine_fn_config_program progman enable_progman clean,install
18271 wine_fn_config_program reg enable_reg clean,install
18272 wine_fn_config_test programs/reg/tests reg.exe_test
18273 wine_fn_config_program regasm enable_regasm install
18274 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18275 wine_fn_config_test programs/regedit/tests regedit.exe_test
18276 wine_fn_config_program regsvcs enable_regsvcs install
18277 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18278 wine_fn_config_program rpcss enable_rpcss clean,install
18279 wine_fn_config_program rundll.exe16 enable_win16 install
18280 wine_fn_config_program rundll32 enable_rundll32 install
18281 wine_fn_config_program sc enable_sc install
18282 wine_fn_config_program schtasks enable_schtasks install
18283 wine_fn_config_program sdbinst enable_sdbinst install
18284 wine_fn_config_program secedit enable_secedit install
18285 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18286 wine_fn_config_program services enable_services clean,install
18287 wine_fn_config_test programs/services/tests services.exe_test
18288 wine_fn_config_program shutdown enable_shutdown install
18289 wine_fn_config_program spoolsv enable_spoolsv install
18290 wine_fn_config_program start enable_start clean,install
18291 wine_fn_config_program svchost enable_svchost install
18292 wine_fn_config_program systeminfo enable_systeminfo install
18293 wine_fn_config_program taskkill enable_taskkill clean,install
18294 wine_fn_config_program tasklist enable_tasklist install
18295 wine_fn_config_program taskmgr enable_taskmgr clean,install
18296 wine_fn_config_program termsv enable_termsv install
18297 wine_fn_config_program uninstaller enable_uninstaller clean,install
18298 wine_fn_config_program unlodctr enable_unlodctr install
18299 wine_fn_config_program view enable_view clean,install
18300 wine_fn_config_program wevtutil enable_wevtutil install
18301 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18302 wine_fn_config_program winebrowser enable_winebrowser install
18303 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18304 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18305 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18306 wine_fn_config_program winedevice enable_winedevice install
18307 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18308 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18309 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18310 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18311 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18312 wine_fn_config_program winetest enable_winetest clean
18313 wine_fn_config_program winevdm enable_win16 install
18314 wine_fn_config_program winhelp.exe16 enable_win16 install
18315 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18316 wine_fn_config_program winoldap.mod16 enable_win16 install
18317 wine_fn_config_program winver enable_winver install
18318 wine_fn_config_program wmic enable_wmic clean,install
18319 wine_fn_config_program wmplayer enable_wmplayer install
18320 wine_fn_config_program wordpad enable_wordpad clean,install
18321 wine_fn_config_program write enable_write clean,install
18322 wine_fn_config_program wscript enable_wscript clean,install
18323 wine_fn_config_test programs/wscript/tests wscript.exe_test
18324 wine_fn_config_program wusa enable_wusa install
18325 wine_fn_config_program xcopy enable_xcopy clean,install
18326 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18327 wine_fn_config_makefile server enable_server clean,install-lib
18328 wine_fn_config_tool tools clean
18329 wine_fn_config_tool tools/sfnt2fon clean
18330 wine_fn_config_tool tools/widl clean,install-dev
18331 wine_fn_config_tool tools/winebuild clean,install-dev
18332 wine_fn_config_tool tools/winedump clean,install-dev
18333 wine_fn_config_tool tools/winegcc clean,install-dev
18334 wine_fn_config_tool tools/winemaker clean,install-dev
18335 wine_fn_config_tool tools/wmc clean,install-dev
18336 wine_fn_config_tool tools/wrc clean,install-dev
18339 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18340 wine_fn_append_file CONFIGURE_TARGETS "tags"
18341 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18342 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18343 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18344 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18345 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18346 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18348 if test "x$enable_tools" != xno
18349 then
18350 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18351 ac_config_commands="$ac_config_commands tools/makedep"
18355 ac_config_commands="$ac_config_commands Makefile"
18358 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18362 if test "x$enable_maintainer_mode" = xyes
18363 then
18364 wine_fn_append_rule "configure: configure.ac aclocal.m4
18365 autoconf --warnings=all
18366 include/config.h.in: include/stamp-h.in
18367 include/stamp-h.in: configure.ac aclocal.m4
18368 autoheader --warnings=all
18369 @echo timestamp > \$@"
18372 if test "x$enable_tools" != xno
18373 then
18374 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18375 @./config.status tools/makedep
18376 Makefile: tools/makedep$ac_exeext"
18377 else
18378 wine_fn_append_rule "\$(MAKEDEP):
18379 @echo \"You need to run make in $TOOLSDIR first\" && false"
18382 if test -n "$with_wine64"
18383 then
18384 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18385 fonts server:
18386 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18387 $with_wine64/loader/wine:
18388 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18389 $with_wine64/loader/wine-preloader:
18390 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18391 clean::
18392 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18393 else
18394 WINELOADER_INSTALL="wine.inf"
18396 wine_fn_append_rule "install install-lib::
18397 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18398 uninstall::
18399 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18400 case $host_os in
18401 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18402 *) wine_fn_append_rule "install install-lib::
18403 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18404 uninstall::
18405 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18406 esac
18409 $as_echo " done" >&6
18410 cat >confcache <<\_ACEOF
18411 # This file is a shell script that caches the results of configure
18412 # tests run on this system so they can be shared between configure
18413 # scripts and configure runs, see configure's option --config-cache.
18414 # It is not useful on other systems. If it contains results you don't
18415 # want to keep, you may remove or edit it.
18417 # config.status only pays attention to the cache file if you give it
18418 # the --recheck option to rerun configure.
18420 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18421 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18422 # following values.
18424 _ACEOF
18426 # The following way of writing the cache mishandles newlines in values,
18427 # but we know of no workaround that is simple, portable, and efficient.
18428 # So, we kill variables containing newlines.
18429 # Ultrix sh set writes to stderr and can't be redirected directly,
18430 # and sets the high bit in the cache file unless we assign to the vars.
18432 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18433 eval ac_val=\$$ac_var
18434 case $ac_val in #(
18435 *${as_nl}*)
18436 case $ac_var in #(
18437 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18438 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18439 esac
18440 case $ac_var in #(
18441 _ | IFS | as_nl) ;; #(
18442 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18443 *) { eval $ac_var=; unset $ac_var;} ;;
18444 esac ;;
18445 esac
18446 done
18448 (set) 2>&1 |
18449 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18450 *${as_nl}ac_space=\ *)
18451 # `set' does not quote correctly, so add quotes: double-quote
18452 # substitution turns \\\\ into \\, and sed turns \\ into \.
18453 sed -n \
18454 "s/'/'\\\\''/g;
18455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18456 ;; #(
18458 # `set' quotes correctly as required by POSIX, so do not add quotes.
18459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18461 esac |
18462 sort
18464 sed '
18465 /^ac_cv_env_/b end
18466 t clear
18467 :clear
18468 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18469 t end
18470 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18471 :end' >>confcache
18472 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18473 if test -w "$cache_file"; then
18474 if test "x$cache_file" != "x/dev/null"; then
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18476 $as_echo "$as_me: updating cache $cache_file" >&6;}
18477 if test ! -f "$cache_file" || test -h "$cache_file"; then
18478 cat confcache >"$cache_file"
18479 else
18480 case $cache_file in #(
18481 */* | ?:*)
18482 mv -f confcache "$cache_file"$$ &&
18483 mv -f "$cache_file"$$ "$cache_file" ;; #(
18485 mv -f confcache "$cache_file" ;;
18486 esac
18489 else
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18491 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18494 rm -f confcache
18496 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18497 # Let make expand exec_prefix.
18498 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18500 DEFS=-DHAVE_CONFIG_H
18502 ac_libobjs=
18503 ac_ltlibobjs=
18505 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18506 # 1. Remove the extension, and $U if already installed.
18507 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18508 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18509 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18510 # will be set to the directory where LIBOBJS objects are built.
18511 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18512 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18513 done
18514 LIBOBJS=$ac_libobjs
18516 LTLIBOBJS=$ac_ltlibobjs
18520 : "${CONFIG_STATUS=./config.status}"
18521 ac_write_fail=0
18522 ac_clean_files_save=$ac_clean_files
18523 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18525 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18526 as_write_fail=0
18527 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18528 #! $SHELL
18529 # Generated by $as_me.
18530 # Run this file to recreate the current configuration.
18531 # Compiler output produced by configure, useful for debugging
18532 # configure, is in config.log if it exists.
18534 debug=false
18535 ac_cs_recheck=false
18536 ac_cs_silent=false
18538 SHELL=\${CONFIG_SHELL-$SHELL}
18539 export SHELL
18540 _ASEOF
18541 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18542 ## -------------------- ##
18543 ## M4sh Initialization. ##
18544 ## -------------------- ##
18546 # Be more Bourne compatible
18547 DUALCASE=1; export DUALCASE # for MKS sh
18548 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18549 emulate sh
18550 NULLCMD=:
18551 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18552 # is contrary to our usage. Disable this feature.
18553 alias -g '${1+"$@"}'='"$@"'
18554 setopt NO_GLOB_SUBST
18555 else
18556 case `(set -o) 2>/dev/null` in #(
18557 *posix*) :
18558 set -o posix ;; #(
18559 *) :
18561 esac
18565 as_nl='
18567 export as_nl
18568 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18569 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18570 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18571 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18572 # Prefer a ksh shell builtin over an external printf program on Solaris,
18573 # but without wasting forks for bash or zsh.
18574 if test -z "$BASH_VERSION$ZSH_VERSION" \
18575 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18576 as_echo='print -r --'
18577 as_echo_n='print -rn --'
18578 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18579 as_echo='printf %s\n'
18580 as_echo_n='printf %s'
18581 else
18582 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18583 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18584 as_echo_n='/usr/ucb/echo -n'
18585 else
18586 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18587 as_echo_n_body='eval
18588 arg=$1;
18589 case $arg in #(
18590 *"$as_nl"*)
18591 expr "X$arg" : "X\\(.*\\)$as_nl";
18592 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18593 esac;
18594 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18596 export as_echo_n_body
18597 as_echo_n='sh -c $as_echo_n_body as_echo'
18599 export as_echo_body
18600 as_echo='sh -c $as_echo_body as_echo'
18603 # The user is always right.
18604 if test "${PATH_SEPARATOR+set}" != set; then
18605 PATH_SEPARATOR=:
18606 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18607 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18608 PATH_SEPARATOR=';'
18613 # IFS
18614 # We need space, tab and new line, in precisely that order. Quoting is
18615 # there to prevent editors from complaining about space-tab.
18616 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18617 # splitting by setting IFS to empty value.)
18618 IFS=" "" $as_nl"
18620 # Find who we are. Look in the path if we contain no directory separator.
18621 as_myself=
18622 case $0 in #((
18623 *[\\/]* ) as_myself=$0 ;;
18624 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18625 for as_dir in $PATH
18627 IFS=$as_save_IFS
18628 test -z "$as_dir" && as_dir=.
18629 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18630 done
18631 IFS=$as_save_IFS
18634 esac
18635 # We did not find ourselves, most probably we were run as `sh COMMAND'
18636 # in which case we are not to be found in the path.
18637 if test "x$as_myself" = x; then
18638 as_myself=$0
18640 if test ! -f "$as_myself"; then
18641 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18642 exit 1
18645 # Unset variables that we do not need and which cause bugs (e.g. in
18646 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18647 # suppresses any "Segmentation fault" message there. '((' could
18648 # trigger a bug in pdksh 5.2.14.
18649 for as_var in BASH_ENV ENV MAIL MAILPATH
18650 do eval test x\${$as_var+set} = xset \
18651 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18652 done
18653 PS1='$ '
18654 PS2='> '
18655 PS4='+ '
18657 # NLS nuisances.
18658 LC_ALL=C
18659 export LC_ALL
18660 LANGUAGE=C
18661 export LANGUAGE
18663 # CDPATH.
18664 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18667 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18668 # ----------------------------------------
18669 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18670 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18671 # script with STATUS, using 1 if that was 0.
18672 as_fn_error ()
18674 as_status=$1; test $as_status -eq 0 && as_status=1
18675 if test "$4"; then
18676 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18677 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18679 $as_echo "$as_me: error: $2" >&2
18680 as_fn_exit $as_status
18681 } # as_fn_error
18684 # as_fn_set_status STATUS
18685 # -----------------------
18686 # Set $? to STATUS, without forking.
18687 as_fn_set_status ()
18689 return $1
18690 } # as_fn_set_status
18692 # as_fn_exit STATUS
18693 # -----------------
18694 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18695 as_fn_exit ()
18697 set +e
18698 as_fn_set_status $1
18699 exit $1
18700 } # as_fn_exit
18702 # as_fn_unset VAR
18703 # ---------------
18704 # Portably unset VAR.
18705 as_fn_unset ()
18707 { eval $1=; unset $1;}
18709 as_unset=as_fn_unset
18710 # as_fn_append VAR VALUE
18711 # ----------------------
18712 # Append the text in VALUE to the end of the definition contained in VAR. Take
18713 # advantage of any shell optimizations that allow amortized linear growth over
18714 # repeated appends, instead of the typical quadratic growth present in naive
18715 # implementations.
18716 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18717 eval 'as_fn_append ()
18719 eval $1+=\$2
18721 else
18722 as_fn_append ()
18724 eval $1=\$$1\$2
18726 fi # as_fn_append
18728 # as_fn_arith ARG...
18729 # ------------------
18730 # Perform arithmetic evaluation on the ARGs, and store the result in the
18731 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18732 # must be portable across $(()) and expr.
18733 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18734 eval 'as_fn_arith ()
18736 as_val=$(( $* ))
18738 else
18739 as_fn_arith ()
18741 as_val=`expr "$@" || test $? -eq 1`
18743 fi # as_fn_arith
18746 if expr a : '\(a\)' >/dev/null 2>&1 &&
18747 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18748 as_expr=expr
18749 else
18750 as_expr=false
18753 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18754 as_basename=basename
18755 else
18756 as_basename=false
18759 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18760 as_dirname=dirname
18761 else
18762 as_dirname=false
18765 as_me=`$as_basename -- "$0" ||
18766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18767 X"$0" : 'X\(//\)$' \| \
18768 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18769 $as_echo X/"$0" |
18770 sed '/^.*\/\([^/][^/]*\)\/*$/{
18771 s//\1/
18774 /^X\/\(\/\/\)$/{
18775 s//\1/
18778 /^X\/\(\/\).*/{
18779 s//\1/
18782 s/.*/./; q'`
18784 # Avoid depending upon Character Ranges.
18785 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18786 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18787 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18788 as_cr_digits='0123456789'
18789 as_cr_alnum=$as_cr_Letters$as_cr_digits
18791 ECHO_C= ECHO_N= ECHO_T=
18792 case `echo -n x` in #(((((
18793 -n*)
18794 case `echo 'xy\c'` in
18795 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18796 xy) ECHO_C='\c';;
18797 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18798 ECHO_T=' ';;
18799 esac;;
18801 ECHO_N='-n';;
18802 esac
18804 rm -f conf$$ conf$$.exe conf$$.file
18805 if test -d conf$$.dir; then
18806 rm -f conf$$.dir/conf$$.file
18807 else
18808 rm -f conf$$.dir
18809 mkdir conf$$.dir 2>/dev/null
18811 if (echo >conf$$.file) 2>/dev/null; then
18812 if ln -s conf$$.file conf$$ 2>/dev/null; then
18813 as_ln_s='ln -s'
18814 # ... but there are two gotchas:
18815 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18816 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18817 # In both cases, we have to default to `cp -pR'.
18818 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18819 as_ln_s='cp -pR'
18820 elif ln conf$$.file conf$$ 2>/dev/null; then
18821 as_ln_s=ln
18822 else
18823 as_ln_s='cp -pR'
18825 else
18826 as_ln_s='cp -pR'
18828 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18829 rmdir conf$$.dir 2>/dev/null
18832 # as_fn_mkdir_p
18833 # -------------
18834 # Create "$as_dir" as a directory, including parents if necessary.
18835 as_fn_mkdir_p ()
18838 case $as_dir in #(
18839 -*) as_dir=./$as_dir;;
18840 esac
18841 test -d "$as_dir" || eval $as_mkdir_p || {
18842 as_dirs=
18843 while :; do
18844 case $as_dir in #(
18845 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18846 *) as_qdir=$as_dir;;
18847 esac
18848 as_dirs="'$as_qdir' $as_dirs"
18849 as_dir=`$as_dirname -- "$as_dir" ||
18850 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18851 X"$as_dir" : 'X\(//\)[^/]' \| \
18852 X"$as_dir" : 'X\(//\)$' \| \
18853 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18854 $as_echo X"$as_dir" |
18855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18856 s//\1/
18859 /^X\(\/\/\)[^/].*/{
18860 s//\1/
18863 /^X\(\/\/\)$/{
18864 s//\1/
18867 /^X\(\/\).*/{
18868 s//\1/
18871 s/.*/./; q'`
18872 test -d "$as_dir" && break
18873 done
18874 test -z "$as_dirs" || eval "mkdir $as_dirs"
18875 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18878 } # as_fn_mkdir_p
18879 if mkdir -p . 2>/dev/null; then
18880 as_mkdir_p='mkdir -p "$as_dir"'
18881 else
18882 test -d ./-p && rmdir ./-p
18883 as_mkdir_p=false
18887 # as_fn_executable_p FILE
18888 # -----------------------
18889 # Test if FILE is an executable regular file.
18890 as_fn_executable_p ()
18892 test -f "$1" && test -x "$1"
18893 } # as_fn_executable_p
18894 as_test_x='test -x'
18895 as_executable_p=as_fn_executable_p
18897 # Sed expression to map a string onto a valid CPP name.
18898 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18900 # Sed expression to map a string onto a valid variable name.
18901 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18904 exec 6>&1
18905 ## ----------------------------------- ##
18906 ## Main body of $CONFIG_STATUS script. ##
18907 ## ----------------------------------- ##
18908 _ASEOF
18909 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18912 # Save the log message, to keep $0 and so on meaningful, and to
18913 # report actual input values of CONFIG_FILES etc. instead of their
18914 # values after options handling.
18915 ac_log="
18916 This file was extended by Wine $as_me 1.9.16, which was
18917 generated by GNU Autoconf 2.69. Invocation command line was
18919 CONFIG_FILES = $CONFIG_FILES
18920 CONFIG_HEADERS = $CONFIG_HEADERS
18921 CONFIG_LINKS = $CONFIG_LINKS
18922 CONFIG_COMMANDS = $CONFIG_COMMANDS
18923 $ $0 $@
18925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18928 _ACEOF
18930 case $ac_config_files in *"
18931 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18932 esac
18934 case $ac_config_headers in *"
18935 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18936 esac
18939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18940 # Files that config.status was made for.
18941 config_files="$ac_config_files"
18942 config_headers="$ac_config_headers"
18943 config_links="$ac_config_links"
18944 config_commands="$ac_config_commands"
18946 _ACEOF
18948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18949 ac_cs_usage="\
18950 \`$as_me' instantiates files and other configuration actions
18951 from templates according to the current configuration. Unless the files
18952 and actions are specified as TAGs, all are instantiated by default.
18954 Usage: $0 [OPTION]... [TAG]...
18956 -h, --help print this help, then exit
18957 -V, --version print version number and configuration settings, then exit
18958 --config print configuration, then exit
18959 -q, --quiet, --silent
18960 do not print progress messages
18961 -d, --debug don't remove temporary files
18962 --recheck update $as_me by reconfiguring in the same conditions
18963 --file=FILE[:TEMPLATE]
18964 instantiate the configuration file FILE
18965 --header=FILE[:TEMPLATE]
18966 instantiate the configuration header FILE
18968 Configuration files:
18969 $config_files
18971 Configuration headers:
18972 $config_headers
18974 Configuration links:
18975 $config_links
18977 Configuration commands:
18978 $config_commands
18980 Report bugs to <wine-devel@winehq.org>.
18981 Wine home page: <http://www.winehq.org>."
18983 _ACEOF
18984 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18985 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18986 ac_cs_version="\\
18987 Wine config.status 1.9.16
18988 configured by $0, generated by GNU Autoconf 2.69,
18989 with options \\"\$ac_cs_config\\"
18991 Copyright (C) 2012 Free Software Foundation, Inc.
18992 This config.status script is free software; the Free Software Foundation
18993 gives unlimited permission to copy, distribute and modify it."
18995 ac_pwd='$ac_pwd'
18996 srcdir='$srcdir'
18997 test -n "\$AWK" || AWK=awk
18998 _ACEOF
19000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19001 # The default lists apply if the user does not specify any file.
19002 ac_need_defaults=:
19003 while test $# != 0
19005 case $1 in
19006 --*=?*)
19007 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19008 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19009 ac_shift=:
19011 --*=)
19012 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19013 ac_optarg=
19014 ac_shift=:
19017 ac_option=$1
19018 ac_optarg=$2
19019 ac_shift=shift
19021 esac
19023 case $ac_option in
19024 # Handling of the options.
19025 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19026 ac_cs_recheck=: ;;
19027 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19028 $as_echo "$ac_cs_version"; exit ;;
19029 --config | --confi | --conf | --con | --co | --c )
19030 $as_echo "$ac_cs_config"; exit ;;
19031 --debug | --debu | --deb | --de | --d | -d )
19032 debug=: ;;
19033 --file | --fil | --fi | --f )
19034 $ac_shift
19035 case $ac_optarg in
19036 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19037 '') as_fn_error $? "missing file argument" ;;
19038 esac
19039 as_fn_append CONFIG_FILES " '$ac_optarg'"
19040 ac_need_defaults=false;;
19041 --header | --heade | --head | --hea )
19042 $ac_shift
19043 case $ac_optarg in
19044 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19045 esac
19046 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19047 ac_need_defaults=false;;
19048 --he | --h)
19049 # Conflict between --help and --header
19050 as_fn_error $? "ambiguous option: \`$1'
19051 Try \`$0 --help' for more information.";;
19052 --help | --hel | -h )
19053 $as_echo "$ac_cs_usage"; exit ;;
19054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19055 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19056 ac_cs_silent=: ;;
19058 # This is an error.
19059 -*) as_fn_error $? "unrecognized option: \`$1'
19060 Try \`$0 --help' for more information." ;;
19062 *) as_fn_append ac_config_targets " $1"
19063 ac_need_defaults=false ;;
19065 esac
19066 shift
19067 done
19069 ac_configure_extra_args=
19071 if $ac_cs_silent; then
19072 exec 6>/dev/null
19073 ac_configure_extra_args="$ac_configure_extra_args --silent"
19076 _ACEOF
19077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19078 if \$ac_cs_recheck; then
19079 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19080 shift
19081 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19082 CONFIG_SHELL='$SHELL'
19083 export CONFIG_SHELL
19084 exec "\$@"
19087 _ACEOF
19088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19089 exec 5>>config.log
19091 echo
19092 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19093 ## Running $as_me. ##
19094 _ASBOX
19095 $as_echo "$ac_log"
19096 } >&5
19098 _ACEOF
19099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19101 # INIT-COMMANDS
19103 wine_fn_output_makedep ()
19105 as_dir=tools; as_fn_mkdir_p
19106 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19108 wine_fn_output_makefile ()
19110 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19111 `cat $wine_rules_file`
19112 _WINE_EOF
19113 as_fn_error $? "could not create Makefile" "$LINENO" 5
19116 _ACEOF
19118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19120 # Handling of arguments.
19121 for ac_config_target in $ac_config_targets
19123 case $ac_config_target in
19124 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19125 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19126 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19127 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19128 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19129 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19130 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19131 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19132 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19133 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19134 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19135 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19136 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19138 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19139 esac
19140 done
19143 # If the user did not use the arguments to specify the items to instantiate,
19144 # then the envvar interface is used. Set only those that are not.
19145 # We use the long form for the default assignment because of an extremely
19146 # bizarre bug on SunOS 4.1.3.
19147 if $ac_need_defaults; then
19148 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19149 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19150 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19154 # Have a temporary directory for convenience. Make it in the build tree
19155 # simply because there is no reason against having it here, and in addition,
19156 # creating and moving files from /tmp can sometimes cause problems.
19157 # Hook for its removal unless debugging.
19158 # Note that there is a small window in which the directory will not be cleaned:
19159 # after its creation but before its name has been assigned to `$tmp'.
19160 $debug ||
19162 tmp= ac_tmp=
19163 trap 'exit_status=$?
19164 : "${ac_tmp:=$tmp}"
19165 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19167 trap 'as_fn_exit 1' 1 2 13 15
19169 # Create a (secure) tmp directory for tmp files.
19172 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19173 test -d "$tmp"
19174 } ||
19176 tmp=./conf$$-$RANDOM
19177 (umask 077 && mkdir "$tmp")
19178 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19179 ac_tmp=$tmp
19181 # Set up the scripts for CONFIG_FILES section.
19182 # No need to generate them if there are no CONFIG_FILES.
19183 # This happens for instance with `./config.status config.h'.
19184 if test -n "$CONFIG_FILES"; then
19187 ac_cr=`echo X | tr X '\015'`
19188 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19189 # But we know of no other shell where ac_cr would be empty at this
19190 # point, so we can use a bashism as a fallback.
19191 if test "x$ac_cr" = x; then
19192 eval ac_cr=\$\'\\r\'
19194 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19195 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19196 ac_cs_awk_cr='\\r'
19197 else
19198 ac_cs_awk_cr=$ac_cr
19201 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19202 _ACEOF
19206 echo "cat >conf$$subs.awk <<_ACEOF" &&
19207 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19208 echo "_ACEOF"
19209 } >conf$$subs.sh ||
19210 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19211 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19212 ac_delim='%!_!# '
19213 for ac_last_try in false false false false false :; do
19214 . ./conf$$subs.sh ||
19215 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19217 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19218 if test $ac_delim_n = $ac_delim_num; then
19219 break
19220 elif $ac_last_try; then
19221 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19222 else
19223 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19225 done
19226 rm -f conf$$subs.sh
19228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19229 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19230 _ACEOF
19231 sed -n '
19233 s/^/S["/; s/!.*/"]=/
19236 s/^[^!]*!//
19237 :repl
19238 t repl
19239 s/'"$ac_delim"'$//
19240 t delim
19243 s/\(.\{148\}\)..*/\1/
19244 t more1
19245 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19248 b repl
19249 :more1
19250 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19253 s/.\{148\}//
19254 t nl
19255 :delim
19257 s/\(.\{148\}\)..*/\1/
19258 t more2
19259 s/["\\]/\\&/g; s/^/"/; s/$/"/
19262 :more2
19263 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19266 s/.\{148\}//
19267 t delim
19268 ' <conf$$subs.awk | sed '
19269 /^[^""]/{
19271 s/\n//
19273 ' >>$CONFIG_STATUS || ac_write_fail=1
19274 rm -f conf$$subs.awk
19275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19276 _ACAWK
19277 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19278 for (key in S) S_is_set[key] = 1
19279 FS = "\a"
19283 line = $ 0
19284 nfields = split(line, field, "@")
19285 substed = 0
19286 len = length(field[1])
19287 for (i = 2; i < nfields; i++) {
19288 key = field[i]
19289 keylen = length(key)
19290 if (S_is_set[key]) {
19291 value = S[key]
19292 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19293 len += length(value) + length(field[++i])
19294 substed = 1
19295 } else
19296 len += 1 + keylen
19299 print line
19302 _ACAWK
19303 _ACEOF
19304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19305 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19306 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19307 else
19309 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19310 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19311 _ACEOF
19313 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19314 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19315 # trailing colons and then remove the whole line if VPATH becomes empty
19316 # (actually we leave an empty line to preserve line numbers).
19317 if test "x$srcdir" = x.; then
19318 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19320 s///
19321 s/^/:/
19322 s/[ ]*$/:/
19323 s/:\$(srcdir):/:/g
19324 s/:\${srcdir}:/:/g
19325 s/:@srcdir@:/:/g
19326 s/^:*//
19327 s/:*$//
19329 s/\(=[ ]*\).*/\1/
19331 s/\n//
19332 s/^[^=]*=[ ]*$//
19336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19337 fi # test -n "$CONFIG_FILES"
19339 # Set up the scripts for CONFIG_HEADERS section.
19340 # No need to generate them if there are no CONFIG_HEADERS.
19341 # This happens for instance with `./config.status Makefile'.
19342 if test -n "$CONFIG_HEADERS"; then
19343 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19344 BEGIN {
19345 _ACEOF
19347 # Transform confdefs.h into an awk script `defines.awk', embedded as
19348 # here-document in config.status, that substitutes the proper values into
19349 # config.h.in to produce config.h.
19351 # Create a delimiter string that does not exist in confdefs.h, to ease
19352 # handling of long lines.
19353 ac_delim='%!_!# '
19354 for ac_last_try in false false :; do
19355 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19356 if test -z "$ac_tt"; then
19357 break
19358 elif $ac_last_try; then
19359 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19360 else
19361 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19363 done
19365 # For the awk script, D is an array of macro values keyed by name,
19366 # likewise P contains macro parameters if any. Preserve backslash
19367 # newline sequences.
19369 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19370 sed -n '
19371 s/.\{148\}/&'"$ac_delim"'/g
19372 t rset
19373 :rset
19374 s/^[ ]*#[ ]*define[ ][ ]*/ /
19375 t def
19377 :def
19378 s/\\$//
19379 t bsnl
19380 s/["\\]/\\&/g
19381 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19382 D["\1"]=" \3"/p
19383 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19385 :bsnl
19386 s/["\\]/\\&/g
19387 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19388 D["\1"]=" \3\\\\\\n"\\/p
19389 t cont
19390 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19391 t cont
19393 :cont
19395 s/.\{148\}/&'"$ac_delim"'/g
19396 t clear
19397 :clear
19398 s/\\$//
19399 t bsnlc
19400 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19402 :bsnlc
19403 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19404 b cont
19405 ' <confdefs.h | sed '
19406 s/'"$ac_delim"'/"\\\
19407 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19410 for (key in D) D_is_set[key] = 1
19411 FS = "\a"
19413 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19414 line = \$ 0
19415 split(line, arg, " ")
19416 if (arg[1] == "#") {
19417 defundef = arg[2]
19418 mac1 = arg[3]
19419 } else {
19420 defundef = substr(arg[1], 2)
19421 mac1 = arg[2]
19423 split(mac1, mac2, "(") #)
19424 macro = mac2[1]
19425 prefix = substr(line, 1, index(line, defundef) - 1)
19426 if (D_is_set[macro]) {
19427 # Preserve the white space surrounding the "#".
19428 print prefix "define", macro P[macro] D[macro]
19429 next
19430 } else {
19431 # Replace #undef with comments. This is necessary, for example,
19432 # in the case of _POSIX_SOURCE, which is predefined and required
19433 # on some systems where configure will not decide to define it.
19434 if (defundef == "undef") {
19435 print "/*", prefix defundef, macro, "*/"
19436 next
19440 { print }
19441 _ACAWK
19442 _ACEOF
19443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19444 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19445 fi # test -n "$CONFIG_HEADERS"
19448 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19449 shift
19450 for ac_tag
19452 case $ac_tag in
19453 :[FHLC]) ac_mode=$ac_tag; continue;;
19454 esac
19455 case $ac_mode$ac_tag in
19456 :[FHL]*:*);;
19457 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19458 :[FH]-) ac_tag=-:-;;
19459 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19460 esac
19461 ac_save_IFS=$IFS
19462 IFS=:
19463 set x $ac_tag
19464 IFS=$ac_save_IFS
19465 shift
19466 ac_file=$1
19467 shift
19469 case $ac_mode in
19470 :L) ac_source=$1;;
19471 :[FH])
19472 ac_file_inputs=
19473 for ac_f
19475 case $ac_f in
19476 -) ac_f="$ac_tmp/stdin";;
19477 *) # Look for the file first in the build tree, then in the source tree
19478 # (if the path is not absolute). The absolute path cannot be DOS-style,
19479 # because $ac_f cannot contain `:'.
19480 test -f "$ac_f" ||
19481 case $ac_f in
19482 [\\/$]*) false;;
19483 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19484 esac ||
19485 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19486 esac
19487 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19488 as_fn_append ac_file_inputs " '$ac_f'"
19489 done
19491 # Let's still pretend it is `configure' which instantiates (i.e., don't
19492 # use $as_me), people would be surprised to read:
19493 # /* config.h. Generated by config.status. */
19494 configure_input='Generated from '`
19495 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19496 `' by configure.'
19497 if test x"$ac_file" != x-; then
19498 configure_input="$ac_file. $configure_input"
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19500 $as_echo "$as_me: creating $ac_file" >&6;}
19502 # Neutralize special characters interpreted by sed in replacement strings.
19503 case $configure_input in #(
19504 *\&* | *\|* | *\\* )
19505 ac_sed_conf_input=`$as_echo "$configure_input" |
19506 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19507 *) ac_sed_conf_input=$configure_input;;
19508 esac
19510 case $ac_tag in
19511 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19512 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19513 esac
19515 esac
19517 ac_dir=`$as_dirname -- "$ac_file" ||
19518 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19519 X"$ac_file" : 'X\(//\)[^/]' \| \
19520 X"$ac_file" : 'X\(//\)$' \| \
19521 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19522 $as_echo X"$ac_file" |
19523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19524 s//\1/
19527 /^X\(\/\/\)[^/].*/{
19528 s//\1/
19531 /^X\(\/\/\)$/{
19532 s//\1/
19535 /^X\(\/\).*/{
19536 s//\1/
19539 s/.*/./; q'`
19540 as_dir="$ac_dir"; as_fn_mkdir_p
19541 ac_builddir=.
19543 case "$ac_dir" in
19544 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19546 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19547 # A ".." for each directory in $ac_dir_suffix.
19548 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19549 case $ac_top_builddir_sub in
19550 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19551 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19552 esac ;;
19553 esac
19554 ac_abs_top_builddir=$ac_pwd
19555 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19556 # for backward compatibility:
19557 ac_top_builddir=$ac_top_build_prefix
19559 case $srcdir in
19560 .) # We are building in place.
19561 ac_srcdir=.
19562 ac_top_srcdir=$ac_top_builddir_sub
19563 ac_abs_top_srcdir=$ac_pwd ;;
19564 [\\/]* | ?:[\\/]* ) # Absolute name.
19565 ac_srcdir=$srcdir$ac_dir_suffix;
19566 ac_top_srcdir=$srcdir
19567 ac_abs_top_srcdir=$srcdir ;;
19568 *) # Relative name.
19569 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19570 ac_top_srcdir=$ac_top_build_prefix$srcdir
19571 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19572 esac
19573 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19576 case $ac_mode in
19579 # CONFIG_FILE
19582 _ACEOF
19584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19585 # If the template does not know about datarootdir, expand it.
19586 # FIXME: This hack should be removed a few years after 2.60.
19587 ac_datarootdir_hack=; ac_datarootdir_seen=
19588 ac_sed_dataroot='
19589 /datarootdir/ {
19593 /@datadir@/p
19594 /@docdir@/p
19595 /@infodir@/p
19596 /@localedir@/p
19597 /@mandir@/p'
19598 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19599 *datarootdir*) ac_datarootdir_seen=yes;;
19600 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19602 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19603 _ACEOF
19604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19605 ac_datarootdir_hack='
19606 s&@datadir@&$datadir&g
19607 s&@docdir@&$docdir&g
19608 s&@infodir@&$infodir&g
19609 s&@localedir@&$localedir&g
19610 s&@mandir@&$mandir&g
19611 s&\\\${datarootdir}&$datarootdir&g' ;;
19612 esac
19613 _ACEOF
19615 # Neutralize VPATH when `$srcdir' = `.'.
19616 # Shell code in configure.ac might set extrasub.
19617 # FIXME: do we really want to maintain this feature?
19618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19619 ac_sed_extra="$ac_vpsub
19620 $extrasub
19621 _ACEOF
19622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19624 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19625 s|@configure_input@|$ac_sed_conf_input|;t t
19626 s&@top_builddir@&$ac_top_builddir_sub&;t t
19627 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19628 s&@srcdir@&$ac_srcdir&;t t
19629 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19630 s&@top_srcdir@&$ac_top_srcdir&;t t
19631 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19632 s&@builddir@&$ac_builddir&;t t
19633 s&@abs_builddir@&$ac_abs_builddir&;t t
19634 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19635 $ac_datarootdir_hack
19637 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19638 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19640 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19641 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19642 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19643 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19645 which seems to be undefined. Please make sure it is defined" >&5
19646 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19647 which seems to be undefined. Please make sure it is defined" >&2;}
19649 rm -f "$ac_tmp/stdin"
19650 case $ac_file in
19651 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19652 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19653 esac \
19654 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19658 # CONFIG_HEADER
19660 if test x"$ac_file" != x-; then
19662 $as_echo "/* $configure_input */" \
19663 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19664 } >"$ac_tmp/config.h" \
19665 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19666 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19668 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19669 else
19670 rm -f "$ac_file"
19671 mv "$ac_tmp/config.h" "$ac_file" \
19672 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19674 else
19675 $as_echo "/* $configure_input */" \
19676 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19677 || as_fn_error $? "could not create -" "$LINENO" 5
19682 # CONFIG_LINK
19685 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19687 else
19688 # Prefer the file from the source tree if names are identical.
19689 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19690 ac_source=$srcdir/$ac_source
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19694 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19696 if test ! -r "$ac_source"; then
19697 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19699 rm -f "$ac_file"
19701 # Try a relative symlink, then a hard link, then a copy.
19702 case $ac_source in
19703 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19704 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19705 esac
19706 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19707 ln "$ac_source" "$ac_file" 2>/dev/null ||
19708 cp -p "$ac_source" "$ac_file" ||
19709 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19712 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19713 $as_echo "$as_me: executing $ac_file commands" >&6;}
19715 esac
19718 case $ac_file$ac_mode in
19719 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19720 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19721 "Makefile":C) wine_fn_output_makefile Makefile ;;
19723 esac
19724 done # for ac_tag
19727 as_fn_exit 0
19728 _ACEOF
19729 ac_clean_files=$ac_clean_files_save
19731 test $ac_write_fail = 0 ||
19732 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19735 # configure is writing to config.log, and then calls config.status.
19736 # config.status does its own redirection, appending to config.log.
19737 # Unfortunately, on DOS this fails, as config.log is still kept open
19738 # by configure, so config.status won't be able to write to it; its
19739 # output is simply discarded. So we exec the FD to /dev/null,
19740 # effectively closing config.log, so it can be properly (re)opened and
19741 # appended to by config.status. When coming back to configure, we
19742 # need to make the FD available again.
19743 if test "$no_create" != yes; then
19744 ac_cs_success=:
19745 ac_config_status_args=
19746 test "$silent" = yes &&
19747 ac_config_status_args="$ac_config_status_args --quiet"
19748 exec 5>/dev/null
19749 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19750 exec 5>>config.log
19751 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19752 # would make configure fail if this is the last instruction.
19753 $ac_cs_success || as_fn_exit 1
19755 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19757 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19761 if test "$no_create" = "yes"
19762 then
19763 exit 0
19766 ac_save_IFS="$IFS"
19767 if test "x$wine_notices" != x; then
19768 echo >&6
19769 IFS="|"
19770 for msg in $wine_notices; do
19771 IFS="$ac_save_IFS"
19772 if ${msg:+false} :; then :
19774 else
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19776 $as_echo "$as_me: $msg" >&6;}
19778 done
19780 IFS="|"
19781 for msg in $wine_warnings; do
19782 IFS="$ac_save_IFS"
19783 if ${msg:+false} :; then :
19785 else
19786 echo >&2
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19788 $as_echo "$as_me: WARNING: $msg" >&2;}
19790 done
19791 IFS="$ac_save_IFS"
19793 $as_echo "
19794 $as_me: Finished. Do '${ac_make}' to compile Wine.
19795 " >&6