shell32: Stub SHOpenWithDialog.
[wine.git] / configure
blob47a41cdfec166aab553e40c8918d736ee77f141b
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.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='2.16'
584 PACKAGE_STRING='Wine 2.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 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_CFLAGS
654 CAPI20_LIBS
655 CAPI20_CFLAGS
656 UDEV_LIBS
657 UDEV_CFLAGS
658 OSS4_CFLAGS
659 ALSA_LIBS
660 GSTREAMER_LIBS
661 GSTREAMER_CFLAGS
662 PULSE_LIBS
663 PULSE_CFLAGS
664 GETTEXTPO_LIBS
665 Z_LIBS
666 FREETYPE_LIBS
667 FREETYPE_CFLAGS
668 LCMS2_LIBS
669 LCMS2_CFLAGS
670 RESOLV_LIBS
671 GPHOTO2_PORT_LIBS
672 GPHOTO2_PORT_CFLAGS
673 GPHOTO2_LIBS
674 GPHOTO2_CFLAGS
675 SANE_LIBS
676 SANE_CFLAGS
677 GNUTLS_LIBS
678 GNUTLS_CFLAGS
679 HAL_LIBS
680 HAL_CFLAGS
681 DBUS_LIBS
682 DBUS_CFLAGS
683 XSLT_LIBS
684 XSLT_CFLAGS
685 XML2_LIBS
686 XML2_CFLAGS
687 PCAP_LIBS
688 X_EXTRA_LIBS
689 X_LIBS
690 X_PRE_LIBS
691 X_CFLAGS
692 XMKMF
693 PTHREAD_LIBS
694 CROSSCFLAGS
695 CROSSCC
696 CROSSTARGET
697 PRELINK
698 WINELOADER_DEPENDS
699 CARBON_LIBS
700 QUICKTIME_LIBS
701 OPENCL_LIBS
702 OPENAL_LIBS
703 COREAUDIO_LIBS
704 SECURITY_LIBS
705 DISKARBITRATION_LIBS
706 APPKIT_LIBS
707 CORESERVICES_LIBS
708 APPLICATIONSERVICES_LIBS
709 FORCEFEEDBACK_LIBS
710 IOKIT_LIBS
711 COREFOUNDATION_LIBS
712 LIBWINE_DEPENDS
713 LIBWINE_LDFLAGS
714 LIBWINE_INSTALL_DEV
715 LIBWINE_INSTALL_LIB
716 LIBWINE_IMPORTLIB
717 LIBWINE_SHAREDLIB
718 SOCKET_LIBS
719 DLLTOOL
720 WINELOADER_PROGRAMS
721 ALL_TEST_RESOURCES
722 CONFIGURE_TARGETS
723 DISABLED_SUBDIRS
724 SUBDIRS
725 READELF
726 OTOOL
728 WINELOADER_LDFLAGS
729 LDEXECFLAGS
730 LDRPATH_LOCAL
731 LDRPATH_INSTALL
732 DLLFLAGS
733 dlldir
735 OPENGL_LIBS
736 ICOTOOL
737 CONVERT
738 RSVG
739 FONTFORGE
740 PKG_CONFIG
741 MSGFMT
742 LDCONFIG
743 EGREP
744 GREP
745 LN_S
746 RANLIB
747 ARFLAGS
748 STRIP
749 ac_ct_AR
751 BISON
752 FLEX
753 TOOLSDIR
754 TARGETFLAGS
756 CPPBIN
757 ac_ct_CXX
758 CXXFLAGS
760 OBJEXT
761 EXEEXT
762 ac_ct_CC
763 CPPFLAGS
764 LDFLAGS
765 CFLAGS
767 SET_MAKE
768 host_os
769 host_vendor
770 host_cpu
771 host
772 build_os
773 build_vendor
774 build_cpu
775 build
776 target_alias
777 host_alias
778 build_alias
779 LIBS
780 ECHO_T
781 ECHO_N
782 ECHO_C
783 DEFS
784 mandir
785 localedir
786 libdir
787 psdir
788 pdfdir
789 dvidir
790 htmldir
791 infodir
792 docdir
793 oldincludedir
794 includedir
795 runstatedir
796 localstatedir
797 sharedstatedir
798 sysconfdir
799 datadir
800 datarootdir
801 libexecdir
802 sbindir
803 bindir
804 program_transform_name
805 prefix
806 exec_prefix
807 PACKAGE_URL
808 PACKAGE_BUGREPORT
809 PACKAGE_STRING
810 PACKAGE_VERSION
811 PACKAGE_TARNAME
812 PACKAGE_NAME
813 PATH_SEPARATOR
814 SHELL'
815 ac_subst_files=''
816 ac_user_opts='
817 enable_option_checking
818 enable_win16
819 enable_win64
820 enable_tests
821 enable_maintainer_mode
822 with_alsa
823 with_capi
824 with_cms
825 with_coreaudio
826 with_cups
827 with_curses
828 with_dbus
829 with_fontconfig
830 with_freetype
831 with_gettext
832 with_gettextpo
833 with_gphoto
834 with_glu
835 with_gnutls
836 with_gsm
837 with_gstreamer
838 with_hal
839 with_jpeg
840 with_ldap
841 with_mpg123
842 with_netapi
843 with_openal
844 with_opencl
845 with_opengl
846 with_osmesa
847 with_oss
848 with_pcap
849 with_png
850 with_pthread
851 with_pulse
852 with_sane
853 with_tiff
854 with_udev
855 with_v4l
856 with_xcomposite
857 with_xcursor
858 with_xfixes
859 with_xinerama
860 with_xinput
861 with_xinput2
862 with_xml
863 with_xrandr
864 with_xrender
865 with_xshape
866 with_xshm
867 with_xslt
868 with_xxf86vm
869 with_zlib
870 with_wine_tools
871 with_wine64
872 enable_largefile
873 with_x
874 enable_acledit
875 enable_aclui
876 enable_activeds
877 enable_actxprxy
878 enable_adsldpc
879 enable_advapi32
880 enable_advpack
881 enable_amstream
882 enable_api_ms_win_appmodel_identity_l1_1_0
883 enable_api_ms_win_appmodel_runtime_l1_1_1
884 enable_api_ms_win_core_apiquery_l1_1_0
885 enable_api_ms_win_core_appcompat_l1_1_1
886 enable_api_ms_win_core_appinit_l1_1_0
887 enable_api_ms_win_core_atoms_l1_1_0
888 enable_api_ms_win_core_bem_l1_1_0
889 enable_api_ms_win_core_com_l1_1_0
890 enable_api_ms_win_core_com_l1_1_1
891 enable_api_ms_win_core_com_private_l1_1_0
892 enable_api_ms_win_core_console_l1_1_0
893 enable_api_ms_win_core_console_l2_1_0
894 enable_api_ms_win_core_crt_l1_1_0
895 enable_api_ms_win_core_crt_l2_1_0
896 enable_api_ms_win_core_datetime_l1_1_0
897 enable_api_ms_win_core_datetime_l1_1_1
898 enable_api_ms_win_core_debug_l1_1_0
899 enable_api_ms_win_core_debug_l1_1_1
900 enable_api_ms_win_core_delayload_l1_1_0
901 enable_api_ms_win_core_delayload_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_0
903 enable_api_ms_win_core_errorhandling_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_2
905 enable_api_ms_win_core_fibers_l1_1_0
906 enable_api_ms_win_core_fibers_l1_1_1
907 enable_api_ms_win_core_file_l1_1_0
908 enable_api_ms_win_core_file_l1_2_0
909 enable_api_ms_win_core_file_l1_2_1
910 enable_api_ms_win_core_file_l2_1_0
911 enable_api_ms_win_core_file_l2_1_1
912 enable_api_ms_win_core_handle_l1_1_0
913 enable_api_ms_win_core_heap_l1_1_0
914 enable_api_ms_win_core_heap_l1_2_0
915 enable_api_ms_win_core_heap_l2_1_0
916 enable_api_ms_win_core_heap_obsolete_l1_1_0
917 enable_api_ms_win_core_interlocked_l1_1_0
918 enable_api_ms_win_core_interlocked_l1_2_0
919 enable_api_ms_win_core_io_l1_1_0
920 enable_api_ms_win_core_io_l1_1_1
921 enable_api_ms_win_core_job_l1_1_0
922 enable_api_ms_win_core_job_l2_1_0
923 enable_api_ms_win_core_kernel32_legacy_l1_1_0
924 enable_api_ms_win_core_kernel32_legacy_l1_1_1
925 enable_api_ms_win_core_kernel32_private_l1_1_1
926 enable_api_ms_win_core_libraryloader_l1_1_0
927 enable_api_ms_win_core_libraryloader_l1_1_1
928 enable_api_ms_win_core_libraryloader_l1_2_0
929 enable_api_ms_win_core_libraryloader_l1_2_2
930 enable_api_ms_win_core_localization_l1_1_0
931 enable_api_ms_win_core_localization_l1_2_0
932 enable_api_ms_win_core_localization_l1_2_1
933 enable_api_ms_win_core_localization_l2_1_0
934 enable_api_ms_win_core_localization_obsolete_l1_1_0
935 enable_api_ms_win_core_localization_obsolete_l1_2_0
936 enable_api_ms_win_core_localization_obsolete_l1_3_0
937 enable_api_ms_win_core_localization_private_l1_1_0
938 enable_api_ms_win_core_localregistry_l1_1_0
939 enable_api_ms_win_core_memory_l1_1_0
940 enable_api_ms_win_core_memory_l1_1_1
941 enable_api_ms_win_core_memory_l1_1_2
942 enable_api_ms_win_core_misc_l1_1_0
943 enable_api_ms_win_core_namedpipe_l1_1_0
944 enable_api_ms_win_core_namedpipe_l1_2_0
945 enable_api_ms_win_core_namespace_l1_1_0
946 enable_api_ms_win_core_normalization_l1_1_0
947 enable_api_ms_win_core_path_l1_1_0
948 enable_api_ms_win_core_privateprofile_l1_1_1
949 enable_api_ms_win_core_processenvironment_l1_1_0
950 enable_api_ms_win_core_processenvironment_l1_2_0
951 enable_api_ms_win_core_processthreads_l1_1_0
952 enable_api_ms_win_core_processthreads_l1_1_1
953 enable_api_ms_win_core_processthreads_l1_1_2
954 enable_api_ms_win_core_profile_l1_1_0
955 enable_api_ms_win_core_psapi_ansi_l1_1_0
956 enable_api_ms_win_core_psapi_l1_1_0
957 enable_api_ms_win_core_psapi_obsolete_l1_1_0
958 enable_api_ms_win_core_quirks_l1_1_0
959 enable_api_ms_win_core_realtime_l1_1_0
960 enable_api_ms_win_core_registry_l1_1_0
961 enable_api_ms_win_core_registry_l2_1_0
962 enable_api_ms_win_core_registryuserspecific_l1_1_0
963 enable_api_ms_win_core_rtlsupport_l1_1_0
964 enable_api_ms_win_core_rtlsupport_l1_2_0
965 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
966 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
967 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
968 enable_api_ms_win_core_sidebyside_l1_1_0
969 enable_api_ms_win_core_string_l1_1_0
970 enable_api_ms_win_core_string_l2_1_0
971 enable_api_ms_win_core_string_obsolete_l1_1_0
972 enable_api_ms_win_core_stringansi_l1_1_0
973 enable_api_ms_win_core_synch_l1_1_0
974 enable_api_ms_win_core_synch_l1_2_0
975 enable_api_ms_win_core_synch_l1_2_1
976 enable_api_ms_win_core_sysinfo_l1_1_0
977 enable_api_ms_win_core_sysinfo_l1_2_0
978 enable_api_ms_win_core_sysinfo_l1_2_1
979 enable_api_ms_win_core_threadpool_l1_1_0
980 enable_api_ms_win_core_threadpool_l1_2_0
981 enable_api_ms_win_core_threadpool_legacy_l1_1_0
982 enable_api_ms_win_core_threadpool_private_l1_1_0
983 enable_api_ms_win_core_timezone_l1_1_0
984 enable_api_ms_win_core_toolhelp_l1_1_0
985 enable_api_ms_win_core_url_l1_1_0
986 enable_api_ms_win_core_util_l1_1_0
987 enable_api_ms_win_core_version_l1_1_0
988 enable_api_ms_win_core_version_private_l1_1_0
989 enable_api_ms_win_core_versionansi_l1_1_0
990 enable_api_ms_win_core_windowserrorreporting_l1_1_0
991 enable_api_ms_win_core_winrt_error_l1_1_0
992 enable_api_ms_win_core_winrt_error_l1_1_1
993 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
994 enable_api_ms_win_core_winrt_l1_1_0
995 enable_api_ms_win_core_winrt_registration_l1_1_0
996 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
997 enable_api_ms_win_core_winrt_string_l1_1_0
998 enable_api_ms_win_core_wow64_l1_1_0
999 enable_api_ms_win_core_xstate_l1_1_0
1000 enable_api_ms_win_core_xstate_l2_1_0
1001 enable_api_ms_win_crt_conio_l1_1_0
1002 enable_api_ms_win_crt_convert_l1_1_0
1003 enable_api_ms_win_crt_environment_l1_1_0
1004 enable_api_ms_win_crt_filesystem_l1_1_0
1005 enable_api_ms_win_crt_heap_l1_1_0
1006 enable_api_ms_win_crt_locale_l1_1_0
1007 enable_api_ms_win_crt_math_l1_1_0
1008 enable_api_ms_win_crt_multibyte_l1_1_0
1009 enable_api_ms_win_crt_private_l1_1_0
1010 enable_api_ms_win_crt_process_l1_1_0
1011 enable_api_ms_win_crt_runtime_l1_1_0
1012 enable_api_ms_win_crt_stdio_l1_1_0
1013 enable_api_ms_win_crt_string_l1_1_0
1014 enable_api_ms_win_crt_time_l1_1_0
1015 enable_api_ms_win_crt_utility_l1_1_0
1016 enable_api_ms_win_devices_config_l1_1_1
1017 enable_api_ms_win_devices_query_l1_1_1
1018 enable_api_ms_win_downlevel_advapi32_l1_1_0
1019 enable_api_ms_win_downlevel_advapi32_l2_1_0
1020 enable_api_ms_win_downlevel_normaliz_l1_1_0
1021 enable_api_ms_win_downlevel_ole32_l1_1_0
1022 enable_api_ms_win_downlevel_shell32_l1_1_0
1023 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1024 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1025 enable_api_ms_win_downlevel_user32_l1_1_0
1026 enable_api_ms_win_downlevel_version_l1_1_0
1027 enable_api_ms_win_dx_d3dkmt_l1_1_0
1028 enable_api_ms_win_eventing_classicprovider_l1_1_0
1029 enable_api_ms_win_eventing_consumer_l1_1_0
1030 enable_api_ms_win_eventing_controller_l1_1_0
1031 enable_api_ms_win_eventing_legacy_l1_1_0
1032 enable_api_ms_win_eventing_provider_l1_1_0
1033 enable_api_ms_win_eventlog_legacy_l1_1_0
1034 enable_api_ms_win_mm_misc_l1_1_1
1035 enable_api_ms_win_mm_mme_l1_1_0
1036 enable_api_ms_win_mm_time_l1_1_0
1037 enable_api_ms_win_ntuser_dc_access_l1_1_0
1038 enable_api_ms_win_power_base_l1_1_0
1039 enable_api_ms_win_power_setting_l1_1_0
1040 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1041 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1042 enable_api_ms_win_security_audit_l1_1_1
1043 enable_api_ms_win_security_base_l1_1_0
1044 enable_api_ms_win_security_base_l1_2_0
1045 enable_api_ms_win_security_base_private_l1_1_1
1046 enable_api_ms_win_security_credentials_l1_1_0
1047 enable_api_ms_win_security_grouppolicy_l1_1_0
1048 enable_api_ms_win_security_lsalookup_l1_1_0
1049 enable_api_ms_win_security_lsalookup_l1_1_1
1050 enable_api_ms_win_security_lsalookup_l2_1_1
1051 enable_api_ms_win_security_lsapolicy_l1_1_0
1052 enable_api_ms_win_security_provider_l1_1_0
1053 enable_api_ms_win_security_sddl_l1_1_0
1054 enable_api_ms_win_security_systemfunctions_l1_1_0
1055 enable_api_ms_win_service_core_l1_1_0
1056 enable_api_ms_win_service_core_l1_1_1
1057 enable_api_ms_win_service_management_l1_1_0
1058 enable_api_ms_win_service_management_l2_1_0
1059 enable_api_ms_win_service_private_l1_1_1
1060 enable_api_ms_win_service_winsvc_l1_1_0
1061 enable_api_ms_win_service_winsvc_l1_2_0
1062 enable_api_ms_win_shell_shellcom_l1_1_0
1063 enable_api_ms_win_shell_shellfolders_l1_1_0
1064 enable_apphelp
1065 enable_appwiz_cpl
1066 enable_atl
1067 enable_atl100
1068 enable_atl110
1069 enable_atl80
1070 enable_atl90
1071 enable_authz
1072 enable_avicap32
1073 enable_avifil32
1074 enable_avrt
1075 enable_bcrypt
1076 enable_bluetoothapis
1077 enable_browseui
1078 enable_bthprops_cpl
1079 enable_cabinet
1080 enable_capi2032
1081 enable_cards
1082 enable_cfgmgr32
1083 enable_clusapi
1084 enable_combase
1085 enable_comcat
1086 enable_comctl32
1087 enable_comdlg32
1088 enable_compstui
1089 enable_comsvcs
1090 enable_concrt140
1091 enable_connect
1092 enable_credui
1093 enable_crtdll
1094 enable_crypt32
1095 enable_cryptdlg
1096 enable_cryptdll
1097 enable_cryptext
1098 enable_cryptnet
1099 enable_cryptui
1100 enable_ctapi32
1101 enable_ctl3d32
1102 enable_d2d1
1103 enable_d3d10
1104 enable_d3d10_1
1105 enable_d3d10core
1106 enable_d3d11
1107 enable_d3d8
1108 enable_d3d9
1109 enable_d3dcompiler_33
1110 enable_d3dcompiler_34
1111 enable_d3dcompiler_35
1112 enable_d3dcompiler_36
1113 enable_d3dcompiler_37
1114 enable_d3dcompiler_38
1115 enable_d3dcompiler_39
1116 enable_d3dcompiler_40
1117 enable_d3dcompiler_41
1118 enable_d3dcompiler_42
1119 enable_d3dcompiler_43
1120 enable_d3dcompiler_46
1121 enable_d3dcompiler_47
1122 enable_d3dim
1123 enable_d3drm
1124 enable_d3dx10_33
1125 enable_d3dx10_34
1126 enable_d3dx10_35
1127 enable_d3dx10_36
1128 enable_d3dx10_37
1129 enable_d3dx10_38
1130 enable_d3dx10_39
1131 enable_d3dx10_40
1132 enable_d3dx10_41
1133 enable_d3dx10_42
1134 enable_d3dx10_43
1135 enable_d3dx11_42
1136 enable_d3dx11_43
1137 enable_d3dx9_24
1138 enable_d3dx9_25
1139 enable_d3dx9_26
1140 enable_d3dx9_27
1141 enable_d3dx9_28
1142 enable_d3dx9_29
1143 enable_d3dx9_30
1144 enable_d3dx9_31
1145 enable_d3dx9_32
1146 enable_d3dx9_33
1147 enable_d3dx9_34
1148 enable_d3dx9_35
1149 enable_d3dx9_36
1150 enable_d3dx9_37
1151 enable_d3dx9_38
1152 enable_d3dx9_39
1153 enable_d3dx9_40
1154 enable_d3dx9_41
1155 enable_d3dx9_42
1156 enable_d3dx9_43
1157 enable_d3dxof
1158 enable_davclnt
1159 enable_dbgeng
1160 enable_dbghelp
1161 enable_dciman32
1162 enable_ddraw
1163 enable_ddrawex
1164 enable_devenum
1165 enable_dhcpcsvc
1166 enable_difxapi
1167 enable_dinput
1168 enable_dinput8
1169 enable_dispex
1170 enable_dmband
1171 enable_dmcompos
1172 enable_dmime
1173 enable_dmloader
1174 enable_dmscript
1175 enable_dmstyle
1176 enable_dmsynth
1177 enable_dmusic
1178 enable_dmusic32
1179 enable_dnsapi
1180 enable_dplay
1181 enable_dplayx
1182 enable_dpnaddr
1183 enable_dpnet
1184 enable_dpnhpast
1185 enable_dpnlobby
1186 enable_dpvoice
1187 enable_dpwsockx
1188 enable_drmclien
1189 enable_dsound
1190 enable_dsquery
1191 enable_dssenh
1192 enable_dswave
1193 enable_dwmapi
1194 enable_dwrite
1195 enable_dxdiagn
1196 enable_dxgi
1197 enable_dxva2
1198 enable_esent
1199 enable_evr
1200 enable_explorerframe
1201 enable_ext_ms_win_authz_context_l1_1_0
1202 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1203 enable_ext_ms_win_gdi_dc_create_l1_1_1
1204 enable_ext_ms_win_gdi_dc_l1_2_0
1205 enable_ext_ms_win_gdi_devcaps_l1_1_0
1206 enable_ext_ms_win_gdi_draw_l1_1_1
1207 enable_ext_ms_win_gdi_render_l1_1_0
1208 enable_ext_ms_win_kernel32_package_current_l1_1_0
1209 enable_ext_ms_win_kernel32_package_l1_1_1
1210 enable_ext_ms_win_ntuser_message_l1_1_1
1211 enable_ext_ms_win_ntuser_private_l1_1_1
1212 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1213 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1214 enable_ext_ms_win_ntuser_window_l1_1_1
1215 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1216 enable_ext_ms_win_ras_rasapi32_l1_1_0
1217 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1218 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1219 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1220 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1221 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1222 enable_ext_ms_win_security_credui_l1_1_0
1223 enable_ext_ms_win_security_cryptui_l1_1_0
1224 enable_faultrep
1225 enable_fltlib
1226 enable_fltmgr_sys
1227 enable_fntcache
1228 enable_fontsub
1229 enable_fusion
1230 enable_fwpuclnt
1231 enable_gameux
1232 enable_gdi32
1233 enable_gdiplus
1234 enable_glu32
1235 enable_gphoto2_ds
1236 enable_gpkcsp
1237 enable_hal
1238 enable_hhctrl_ocx
1239 enable_hid
1240 enable_hidclass_sys
1241 enable_hlink
1242 enable_hnetcfg
1243 enable_httpapi
1244 enable_iccvid
1245 enable_icmp
1246 enable_ieframe
1247 enable_ieproxy
1248 enable_imaadp32_acm
1249 enable_imagehlp
1250 enable_imm32
1251 enable_inetcomm
1252 enable_inetcpl_cpl
1253 enable_inetmib1
1254 enable_infosoft
1255 enable_initpki
1256 enable_inkobj
1257 enable_inseng
1258 enable_iphlpapi
1259 enable_iprop
1260 enable_irprops_cpl
1261 enable_itircl
1262 enable_itss
1263 enable_joy_cpl
1264 enable_jscript
1265 enable_jsproxy
1266 enable_kernel32
1267 enable_kernelbase
1268 enable_ksuser
1269 enable_ktmw32
1270 enable_loadperf
1271 enable_localspl
1272 enable_localui
1273 enable_lz32
1274 enable_mapi32
1275 enable_mapistub
1276 enable_mciavi32
1277 enable_mcicda
1278 enable_mciqtz32
1279 enable_mciseq
1280 enable_mciwave
1281 enable_mf
1282 enable_mf3216
1283 enable_mfplat
1284 enable_mfreadwrite
1285 enable_mgmtapi
1286 enable_midimap
1287 enable_mlang
1288 enable_mmcndmgr
1289 enable_mmdevapi
1290 enable_mountmgr_sys
1291 enable_mpr
1292 enable_mprapi
1293 enable_msacm32_drv
1294 enable_msacm32
1295 enable_msadp32_acm
1296 enable_msasn1
1297 enable_mscat32
1298 enable_mscms
1299 enable_mscoree
1300 enable_msctf
1301 enable_msctfp
1302 enable_msdaps
1303 enable_msdelta
1304 enable_msdmo
1305 enable_msdrm
1306 enable_msftedit
1307 enable_msg711_acm
1308 enable_msgsm32_acm
1309 enable_mshtml_tlb
1310 enable_mshtml
1311 enable_msi
1312 enable_msident
1313 enable_msimg32
1314 enable_msimsg
1315 enable_msimtf
1316 enable_msisip
1317 enable_msisys_ocx
1318 enable_msls31
1319 enable_msnet32
1320 enable_mspatcha
1321 enable_msports
1322 enable_msrle32
1323 enable_msscript_ocx
1324 enable_mssign32
1325 enable_mssip32
1326 enable_mstask
1327 enable_msvcirt
1328 enable_msvcm80
1329 enable_msvcm90
1330 enable_msvcp100
1331 enable_msvcp110
1332 enable_msvcp120
1333 enable_msvcp120_app
1334 enable_msvcp140
1335 enable_msvcp60
1336 enable_msvcp70
1337 enable_msvcp71
1338 enable_msvcp80
1339 enable_msvcp90
1340 enable_msvcr100
1341 enable_msvcr110
1342 enable_msvcr120
1343 enable_msvcr120_app
1344 enable_msvcr70
1345 enable_msvcr71
1346 enable_msvcr80
1347 enable_msvcr90
1348 enable_msvcrt
1349 enable_msvcrt20
1350 enable_msvcrt40
1351 enable_msvcrtd
1352 enable_msvfw32
1353 enable_msvidc32
1354 enable_mswsock
1355 enable_msxml
1356 enable_msxml2
1357 enable_msxml3
1358 enable_msxml4
1359 enable_msxml6
1360 enable_mtxdm
1361 enable_ncrypt
1362 enable_nddeapi
1363 enable_ndis_sys
1364 enable_netapi32
1365 enable_netcfgx
1366 enable_netprofm
1367 enable_newdev
1368 enable_normaliz
1369 enable_npmshtml
1370 enable_npptools
1371 enable_ntdll
1372 enable_ntdsapi
1373 enable_ntoskrnl_exe
1374 enable_ntprint
1375 enable_objsel
1376 enable_odbc32
1377 enable_odbccp32
1378 enable_odbccu32
1379 enable_ole32
1380 enable_oleacc
1381 enable_oleaut32
1382 enable_olecli32
1383 enable_oledb32
1384 enable_oledlg
1385 enable_olepro32
1386 enable_olesvr32
1387 enable_olethk32
1388 enable_openal32
1389 enable_opencl
1390 enable_opengl32
1391 enable_packager
1392 enable_pdh
1393 enable_photometadatahandler
1394 enable_pidgen
1395 enable_powrprof
1396 enable_printui
1397 enable_prntvpt
1398 enable_propsys
1399 enable_psapi
1400 enable_pstorec
1401 enable_qcap
1402 enable_qedit
1403 enable_qmgr
1404 enable_qmgrprxy
1405 enable_quartz
1406 enable_query
1407 enable_rasapi32
1408 enable_rasdlg
1409 enable_regapi
1410 enable_resutils
1411 enable_riched20
1412 enable_riched32
1413 enable_rpcrt4
1414 enable_rsabase
1415 enable_rsaenh
1416 enable_rstrtmgr
1417 enable_rtutils
1418 enable_samlib
1419 enable_sane_ds
1420 enable_scarddlg
1421 enable_sccbase
1422 enable_schannel
1423 enable_schedsvc
1424 enable_scrobj
1425 enable_scrrun
1426 enable_scsiport_sys
1427 enable_secur32
1428 enable_security
1429 enable_sensapi
1430 enable_serialui
1431 enable_setupapi
1432 enable_sfc
1433 enable_sfc_os
1434 enable_shdoclc
1435 enable_shdocvw
1436 enable_shell32
1437 enable_shfolder
1438 enable_shlwapi
1439 enable_slbcsp
1440 enable_slc
1441 enable_snmpapi
1442 enable_softpub
1443 enable_spoolss
1444 enable_sspicli
1445 enable_stdole2_tlb
1446 enable_stdole32_tlb
1447 enable_sti
1448 enable_svrapi
1449 enable_sxs
1450 enable_t2embed
1451 enable_tapi32
1452 enable_taskschd
1453 enable_tdh
1454 enable_tdi_sys
1455 enable_traffic
1456 enable_twain_32
1457 enable_ucrtbase
1458 enable_uiautomationcore
1459 enable_uiribbon
1460 enable_unicows
1461 enable_updspapi
1462 enable_url
1463 enable_urlmon
1464 enable_usbd_sys
1465 enable_user32
1466 enable_userenv
1467 enable_usp10
1468 enable_uxtheme
1469 enable_vbscript
1470 enable_vcomp
1471 enable_vcomp100
1472 enable_vcomp110
1473 enable_vcomp120
1474 enable_vcomp140
1475 enable_vcomp90
1476 enable_vcruntime140
1477 enable_vdmdbg
1478 enable_version
1479 enable_virtdisk
1480 enable_vssapi
1481 enable_wbemdisp
1482 enable_wbemprox
1483 enable_webservices
1484 enable_wer
1485 enable_wevtapi
1486 enable_wiaservc
1487 enable_wimgapi
1488 enable_windowscodecs
1489 enable_windowscodecsext
1490 enable_winealsa_drv
1491 enable_wineandroid_drv
1492 enable_winebus_sys
1493 enable_winecoreaudio_drv
1494 enable_wined3d
1495 enable_winegstreamer
1496 enable_winehid_sys
1497 enable_winejoystick_drv
1498 enable_winemac_drv
1499 enable_winemapi
1500 enable_winemp3_acm
1501 enable_wineoss_drv
1502 enable_wineps_drv
1503 enable_winepulse_drv
1504 enable_wineqtdecoder
1505 enable_winex11_drv
1506 enable_wing32
1507 enable_winhttp
1508 enable_wininet
1509 enable_winmm
1510 enable_winnls32
1511 enable_winscard
1512 enable_winspool_drv
1513 enable_winsta
1514 enable_wintab32
1515 enable_wintrust
1516 enable_winusb
1517 enable_wlanapi
1518 enable_wldap32
1519 enable_wmasf
1520 enable_wmi
1521 enable_wmiutils
1522 enable_wmp
1523 enable_wmphoto
1524 enable_wmvcore
1525 enable_wnaspi32
1526 enable_wpc
1527 enable_wpcap
1528 enable_ws2_32
1529 enable_wsdapi
1530 enable_wshom_ocx
1531 enable_wsnmp32
1532 enable_wsock32
1533 enable_wtsapi32
1534 enable_wuapi
1535 enable_wuaueng
1536 enable_x3daudio1_0
1537 enable_x3daudio1_1
1538 enable_x3daudio1_2
1539 enable_x3daudio1_3
1540 enable_x3daudio1_4
1541 enable_x3daudio1_5
1542 enable_x3daudio1_6
1543 enable_x3daudio1_7
1544 enable_xapofx1_1
1545 enable_xapofx1_2
1546 enable_xapofx1_3
1547 enable_xapofx1_4
1548 enable_xapofx1_5
1549 enable_xaudio2_0
1550 enable_xaudio2_1
1551 enable_xaudio2_2
1552 enable_xaudio2_3
1553 enable_xaudio2_4
1554 enable_xaudio2_5
1555 enable_xaudio2_6
1556 enable_xaudio2_7
1557 enable_xaudio2_8
1558 enable_xaudio2_9
1559 enable_xinput1_1
1560 enable_xinput1_2
1561 enable_xinput1_3
1562 enable_xinput1_4
1563 enable_xinput9_1_0
1564 enable_xmllite
1565 enable_xolehlp
1566 enable_xpsprint
1567 enable_xpssvcs
1568 enable_fonts
1569 enable_include
1570 enable_libs_port
1571 enable_libs_wine
1572 enable_libs_wpp
1573 enable_loader
1574 enable_po
1575 enable_arp
1576 enable_aspnet_regiis
1577 enable_attrib
1578 enable_cabarc
1579 enable_cacls
1580 enable_clock
1581 enable_cmd
1582 enable_conhost
1583 enable_control
1584 enable_cscript
1585 enable_dpnsvr
1586 enable_dxdiag
1587 enable_eject
1588 enable_expand
1589 enable_explorer
1590 enable_extrac32
1591 enable_findstr
1592 enable_fsutil
1593 enable_hh
1594 enable_hostname
1595 enable_icacls
1596 enable_icinfo
1597 enable_iexplore
1598 enable_ipconfig
1599 enable_lodctr
1600 enable_mofcomp
1601 enable_mshta
1602 enable_msiexec
1603 enable_msinfo32
1604 enable_net
1605 enable_netsh
1606 enable_netstat
1607 enable_ngen
1608 enable_notepad
1609 enable_oleview
1610 enable_ping
1611 enable_plugplay
1612 enable_powershell
1613 enable_presentationfontcache
1614 enable_progman
1615 enable_reg
1616 enable_regasm
1617 enable_regedit
1618 enable_regsvcs
1619 enable_regsvr32
1620 enable_rpcss
1621 enable_rundll32
1622 enable_sc
1623 enable_schtasks
1624 enable_sdbinst
1625 enable_secedit
1626 enable_servicemodelreg
1627 enable_services
1628 enable_shutdown
1629 enable_spoolsv
1630 enable_start
1631 enable_subst
1632 enable_svchost
1633 enable_systeminfo
1634 enable_taskkill
1635 enable_tasklist
1636 enable_taskmgr
1637 enable_termsv
1638 enable_uninstaller
1639 enable_unlodctr
1640 enable_view
1641 enable_wevtutil
1642 enable_wineboot
1643 enable_winebrowser
1644 enable_winecfg
1645 enable_wineconsole
1646 enable_winedbg
1647 enable_winedevice
1648 enable_winefile
1649 enable_winemenubuilder
1650 enable_winemine
1651 enable_winemsibuilder
1652 enable_winepath
1653 enable_winetest
1654 enable_winhlp32
1655 enable_winver
1656 enable_wmic
1657 enable_wmplayer
1658 enable_wordpad
1659 enable_write
1660 enable_wscript
1661 enable_wusa
1662 enable_xcopy
1663 enable_server
1664 enable_tools
1666 ac_precious_vars='build_alias
1667 host_alias
1668 target_alias
1670 CFLAGS
1671 LDFLAGS
1672 LIBS
1673 CPPFLAGS
1675 CXXFLAGS
1678 XMKMF
1679 XML2_CFLAGS
1680 XML2_LIBS
1681 XSLT_CFLAGS
1682 XSLT_LIBS
1683 DBUS_CFLAGS
1684 DBUS_LIBS
1685 HAL_CFLAGS
1686 HAL_LIBS
1687 GNUTLS_CFLAGS
1688 GNUTLS_LIBS
1689 SANE_CFLAGS
1690 SANE_LIBS
1691 GPHOTO2_CFLAGS
1692 GPHOTO2_LIBS
1693 GPHOTO2_PORT_CFLAGS
1694 GPHOTO2_PORT_LIBS
1695 LCMS2_CFLAGS
1696 LCMS2_LIBS
1697 FREETYPE_CFLAGS
1698 FREETYPE_LIBS
1699 PULSE_CFLAGS
1700 PULSE_LIBS
1701 GSTREAMER_CFLAGS
1702 GSTREAMER_LIBS
1703 UDEV_CFLAGS
1704 UDEV_LIBS
1705 CAPI20_CFLAGS
1706 CAPI20_LIBS
1707 FONTCONFIG_CFLAGS
1708 FONTCONFIG_LIBS
1709 JPEG_CFLAGS
1710 JPEG_LIBS
1711 PNG_CFLAGS
1712 PNG_LIBS
1713 TIFF_CFLAGS
1714 TIFF_LIBS
1715 MPG123_CFLAGS
1716 MPG123_LIBS
1717 NETAPI_CFLAGS
1718 NETAPI_LIBS
1719 LDAP_CFLAGS
1720 LDAP_LIBS'
1723 # Initialize some variables set by options.
1724 ac_init_help=
1725 ac_init_version=false
1726 ac_unrecognized_opts=
1727 ac_unrecognized_sep=
1728 # The variables have the same names as the options, with
1729 # dashes changed to underlines.
1730 cache_file=/dev/null
1731 exec_prefix=NONE
1732 no_create=
1733 no_recursion=
1734 prefix=NONE
1735 program_prefix=NONE
1736 program_suffix=NONE
1737 program_transform_name=s,x,x,
1738 silent=
1739 site=
1740 srcdir=
1741 verbose=
1742 x_includes=NONE
1743 x_libraries=NONE
1745 # Installation directory options.
1746 # These are left unexpanded so users can "make install exec_prefix=/foo"
1747 # and all the variables that are supposed to be based on exec_prefix
1748 # by default will actually change.
1749 # Use braces instead of parens because sh, perl, etc. also accept them.
1750 # (The list follows the same order as the GNU Coding Standards.)
1751 bindir='${exec_prefix}/bin'
1752 sbindir='${exec_prefix}/sbin'
1753 libexecdir='${exec_prefix}/libexec'
1754 datarootdir='${prefix}/share'
1755 datadir='${datarootdir}'
1756 sysconfdir='${prefix}/etc'
1757 sharedstatedir='${prefix}/com'
1758 localstatedir='${prefix}/var'
1759 runstatedir='${localstatedir}/run'
1760 includedir='${prefix}/include'
1761 oldincludedir='/usr/include'
1762 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1763 infodir='${datarootdir}/info'
1764 htmldir='${docdir}'
1765 dvidir='${docdir}'
1766 pdfdir='${docdir}'
1767 psdir='${docdir}'
1768 libdir='${exec_prefix}/lib'
1769 localedir='${datarootdir}/locale'
1770 mandir='${datarootdir}/man'
1772 ac_prev=
1773 ac_dashdash=
1774 for ac_option
1776 # If the previous option needs an argument, assign it.
1777 if test -n "$ac_prev"; then
1778 eval $ac_prev=\$ac_option
1779 ac_prev=
1780 continue
1783 case $ac_option in
1784 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1785 *=) ac_optarg= ;;
1786 *) ac_optarg=yes ;;
1787 esac
1789 # Accept the important Cygnus configure options, so we can diagnose typos.
1791 case $ac_dashdash$ac_option in
1793 ac_dashdash=yes ;;
1795 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1796 ac_prev=bindir ;;
1797 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1798 bindir=$ac_optarg ;;
1800 -build | --build | --buil | --bui | --bu)
1801 ac_prev=build_alias ;;
1802 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1803 build_alias=$ac_optarg ;;
1805 -cache-file | --cache-file | --cache-fil | --cache-fi \
1806 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1807 ac_prev=cache_file ;;
1808 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1809 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1810 cache_file=$ac_optarg ;;
1812 --config-cache | -C)
1813 cache_file=config.cache ;;
1815 -datadir | --datadir | --datadi | --datad)
1816 ac_prev=datadir ;;
1817 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1818 datadir=$ac_optarg ;;
1820 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1821 | --dataroo | --dataro | --datar)
1822 ac_prev=datarootdir ;;
1823 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1824 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1825 datarootdir=$ac_optarg ;;
1827 -disable-* | --disable-*)
1828 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1829 # Reject names that are not valid shell variable names.
1830 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1831 as_fn_error $? "invalid feature name: $ac_useropt"
1832 ac_useropt_orig=$ac_useropt
1833 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1834 case $ac_user_opts in
1836 "enable_$ac_useropt"
1837 "*) ;;
1838 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1839 ac_unrecognized_sep=', ';;
1840 esac
1841 eval enable_$ac_useropt=no ;;
1843 -docdir | --docdir | --docdi | --doc | --do)
1844 ac_prev=docdir ;;
1845 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1846 docdir=$ac_optarg ;;
1848 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1849 ac_prev=dvidir ;;
1850 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1851 dvidir=$ac_optarg ;;
1853 -enable-* | --enable-*)
1854 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1855 # Reject names that are not valid shell variable names.
1856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1857 as_fn_error $? "invalid feature name: $ac_useropt"
1858 ac_useropt_orig=$ac_useropt
1859 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1860 case $ac_user_opts in
1862 "enable_$ac_useropt"
1863 "*) ;;
1864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1865 ac_unrecognized_sep=', ';;
1866 esac
1867 eval enable_$ac_useropt=\$ac_optarg ;;
1869 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1870 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1871 | --exec | --exe | --ex)
1872 ac_prev=exec_prefix ;;
1873 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1874 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1875 | --exec=* | --exe=* | --ex=*)
1876 exec_prefix=$ac_optarg ;;
1878 -gas | --gas | --ga | --g)
1879 # Obsolete; use --with-gas.
1880 with_gas=yes ;;
1882 -help | --help | --hel | --he | -h)
1883 ac_init_help=long ;;
1884 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1885 ac_init_help=recursive ;;
1886 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1887 ac_init_help=short ;;
1889 -host | --host | --hos | --ho)
1890 ac_prev=host_alias ;;
1891 -host=* | --host=* | --hos=* | --ho=*)
1892 host_alias=$ac_optarg ;;
1894 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1895 ac_prev=htmldir ;;
1896 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1897 | --ht=*)
1898 htmldir=$ac_optarg ;;
1900 -includedir | --includedir | --includedi | --included | --include \
1901 | --includ | --inclu | --incl | --inc)
1902 ac_prev=includedir ;;
1903 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1904 | --includ=* | --inclu=* | --incl=* | --inc=*)
1905 includedir=$ac_optarg ;;
1907 -infodir | --infodir | --infodi | --infod | --info | --inf)
1908 ac_prev=infodir ;;
1909 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1910 infodir=$ac_optarg ;;
1912 -libdir | --libdir | --libdi | --libd)
1913 ac_prev=libdir ;;
1914 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1915 libdir=$ac_optarg ;;
1917 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1918 | --libexe | --libex | --libe)
1919 ac_prev=libexecdir ;;
1920 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1921 | --libexe=* | --libex=* | --libe=*)
1922 libexecdir=$ac_optarg ;;
1924 -localedir | --localedir | --localedi | --localed | --locale)
1925 ac_prev=localedir ;;
1926 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1927 localedir=$ac_optarg ;;
1929 -localstatedir | --localstatedir | --localstatedi | --localstated \
1930 | --localstate | --localstat | --localsta | --localst | --locals)
1931 ac_prev=localstatedir ;;
1932 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1933 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1934 localstatedir=$ac_optarg ;;
1936 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1937 ac_prev=mandir ;;
1938 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1939 mandir=$ac_optarg ;;
1941 -nfp | --nfp | --nf)
1942 # Obsolete; use --without-fp.
1943 with_fp=no ;;
1945 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1946 | --no-cr | --no-c | -n)
1947 no_create=yes ;;
1949 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1950 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1951 no_recursion=yes ;;
1953 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1954 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1955 | --oldin | --oldi | --old | --ol | --o)
1956 ac_prev=oldincludedir ;;
1957 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1958 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1959 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1960 oldincludedir=$ac_optarg ;;
1962 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1963 ac_prev=prefix ;;
1964 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1965 prefix=$ac_optarg ;;
1967 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1968 | --program-pre | --program-pr | --program-p)
1969 ac_prev=program_prefix ;;
1970 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1971 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1972 program_prefix=$ac_optarg ;;
1974 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1975 | --program-suf | --program-su | --program-s)
1976 ac_prev=program_suffix ;;
1977 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1978 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1979 program_suffix=$ac_optarg ;;
1981 -program-transform-name | --program-transform-name \
1982 | --program-transform-nam | --program-transform-na \
1983 | --program-transform-n | --program-transform- \
1984 | --program-transform | --program-transfor \
1985 | --program-transfo | --program-transf \
1986 | --program-trans | --program-tran \
1987 | --progr-tra | --program-tr | --program-t)
1988 ac_prev=program_transform_name ;;
1989 -program-transform-name=* | --program-transform-name=* \
1990 | --program-transform-nam=* | --program-transform-na=* \
1991 | --program-transform-n=* | --program-transform-=* \
1992 | --program-transform=* | --program-transfor=* \
1993 | --program-transfo=* | --program-transf=* \
1994 | --program-trans=* | --program-tran=* \
1995 | --progr-tra=* | --program-tr=* | --program-t=*)
1996 program_transform_name=$ac_optarg ;;
1998 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1999 ac_prev=pdfdir ;;
2000 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2001 pdfdir=$ac_optarg ;;
2003 -psdir | --psdir | --psdi | --psd | --ps)
2004 ac_prev=psdir ;;
2005 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2006 psdir=$ac_optarg ;;
2008 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2009 | -silent | --silent | --silen | --sile | --sil)
2010 silent=yes ;;
2012 -runstatedir | --runstatedir | --runstatedi | --runstated \
2013 | --runstate | --runstat | --runsta | --runst | --runs \
2014 | --run | --ru | --r)
2015 ac_prev=runstatedir ;;
2016 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2017 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2018 | --run=* | --ru=* | --r=*)
2019 runstatedir=$ac_optarg ;;
2021 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2022 ac_prev=sbindir ;;
2023 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2024 | --sbi=* | --sb=*)
2025 sbindir=$ac_optarg ;;
2027 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2028 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2029 | --sharedst | --shareds | --shared | --share | --shar \
2030 | --sha | --sh)
2031 ac_prev=sharedstatedir ;;
2032 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2033 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2034 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2035 | --sha=* | --sh=*)
2036 sharedstatedir=$ac_optarg ;;
2038 -site | --site | --sit)
2039 ac_prev=site ;;
2040 -site=* | --site=* | --sit=*)
2041 site=$ac_optarg ;;
2043 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2044 ac_prev=srcdir ;;
2045 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2046 srcdir=$ac_optarg ;;
2048 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2049 | --syscon | --sysco | --sysc | --sys | --sy)
2050 ac_prev=sysconfdir ;;
2051 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2052 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2053 sysconfdir=$ac_optarg ;;
2055 -target | --target | --targe | --targ | --tar | --ta | --t)
2056 ac_prev=target_alias ;;
2057 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2058 target_alias=$ac_optarg ;;
2060 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2061 verbose=yes ;;
2063 -version | --version | --versio | --versi | --vers | -V)
2064 ac_init_version=: ;;
2066 -with-* | --with-*)
2067 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2068 # Reject names that are not valid shell variable names.
2069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2070 as_fn_error $? "invalid package name: $ac_useropt"
2071 ac_useropt_orig=$ac_useropt
2072 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2073 case $ac_user_opts in
2075 "with_$ac_useropt"
2076 "*) ;;
2077 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2078 ac_unrecognized_sep=', ';;
2079 esac
2080 eval with_$ac_useropt=\$ac_optarg ;;
2082 -without-* | --without-*)
2083 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2084 # Reject names that are not valid shell variable names.
2085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2086 as_fn_error $? "invalid package name: $ac_useropt"
2087 ac_useropt_orig=$ac_useropt
2088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2089 case $ac_user_opts in
2091 "with_$ac_useropt"
2092 "*) ;;
2093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2094 ac_unrecognized_sep=', ';;
2095 esac
2096 eval with_$ac_useropt=no ;;
2098 --x)
2099 # Obsolete; use --with-x.
2100 with_x=yes ;;
2102 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2103 | --x-incl | --x-inc | --x-in | --x-i)
2104 ac_prev=x_includes ;;
2105 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2106 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2107 x_includes=$ac_optarg ;;
2109 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2110 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2111 ac_prev=x_libraries ;;
2112 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2113 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2114 x_libraries=$ac_optarg ;;
2116 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2117 Try \`$0 --help' for more information"
2120 *=*)
2121 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2122 # Reject names that are not valid shell variable names.
2123 case $ac_envvar in #(
2124 '' | [0-9]* | *[!_$as_cr_alnum]* )
2125 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2126 esac
2127 eval $ac_envvar=\$ac_optarg
2128 export $ac_envvar ;;
2131 # FIXME: should be removed in autoconf 3.0.
2132 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2133 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2134 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2135 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2138 esac
2139 done
2141 if test -n "$ac_prev"; then
2142 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2143 as_fn_error $? "missing argument to $ac_option"
2146 if test -n "$ac_unrecognized_opts"; then
2147 case $enable_option_checking in
2148 no) ;;
2149 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2150 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2151 esac
2154 # Check all directory arguments for consistency.
2155 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2156 datadir sysconfdir sharedstatedir localstatedir includedir \
2157 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2158 libdir localedir mandir runstatedir
2160 eval ac_val=\$$ac_var
2161 # Remove trailing slashes.
2162 case $ac_val in
2163 */ )
2164 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2165 eval $ac_var=\$ac_val;;
2166 esac
2167 # Be sure to have absolute directory names.
2168 case $ac_val in
2169 [\\/$]* | ?:[\\/]* ) continue;;
2170 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2171 esac
2172 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2173 done
2175 # There might be people who depend on the old broken behavior: `$host'
2176 # used to hold the argument of --host etc.
2177 # FIXME: To remove some day.
2178 build=$build_alias
2179 host=$host_alias
2180 target=$target_alias
2182 # FIXME: To remove some day.
2183 if test "x$host_alias" != x; then
2184 if test "x$build_alias" = x; then
2185 cross_compiling=maybe
2186 elif test "x$build_alias" != "x$host_alias"; then
2187 cross_compiling=yes
2191 ac_tool_prefix=
2192 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2194 test "$silent" = yes && exec 6>/dev/null
2197 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2198 ac_ls_di=`ls -di .` &&
2199 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2200 as_fn_error $? "working directory cannot be determined"
2201 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2202 as_fn_error $? "pwd does not report name of working directory"
2205 # Find the source files, if location was not specified.
2206 if test -z "$srcdir"; then
2207 ac_srcdir_defaulted=yes
2208 # Try the directory containing this script, then the parent directory.
2209 ac_confdir=`$as_dirname -- "$as_myself" ||
2210 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2211 X"$as_myself" : 'X\(//\)[^/]' \| \
2212 X"$as_myself" : 'X\(//\)$' \| \
2213 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2214 $as_echo X"$as_myself" |
2215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2216 s//\1/
2219 /^X\(\/\/\)[^/].*/{
2220 s//\1/
2223 /^X\(\/\/\)$/{
2224 s//\1/
2227 /^X\(\/\).*/{
2228 s//\1/
2231 s/.*/./; q'`
2232 srcdir=$ac_confdir
2233 if test ! -r "$srcdir/$ac_unique_file"; then
2234 srcdir=..
2236 else
2237 ac_srcdir_defaulted=no
2239 if test ! -r "$srcdir/$ac_unique_file"; then
2240 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2241 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2243 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2244 ac_abs_confdir=`(
2245 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2246 pwd)`
2247 # When building in place, set srcdir=.
2248 if test "$ac_abs_confdir" = "$ac_pwd"; then
2249 srcdir=.
2251 # Remove unnecessary trailing slashes from srcdir.
2252 # Double slashes in file names in object file debugging info
2253 # mess up M-x gdb in Emacs.
2254 case $srcdir in
2255 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2256 esac
2257 for ac_var in $ac_precious_vars; do
2258 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2259 eval ac_env_${ac_var}_value=\$${ac_var}
2260 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2261 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2262 done
2265 # Report the --help message.
2267 if test "$ac_init_help" = "long"; then
2268 # Omit some internal or obsolete options to make the list less imposing.
2269 # This message is too long to be a string in the A/UX 3.1 sh.
2270 cat <<_ACEOF
2271 \`configure' configures Wine 2.16 to adapt to many kinds of systems.
2273 Usage: $0 [OPTION]... [VAR=VALUE]...
2275 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2276 VAR=VALUE. See below for descriptions of some of the useful variables.
2278 Defaults for the options are specified in brackets.
2280 Configuration:
2281 -h, --help display this help and exit
2282 --help=short display options specific to this package
2283 --help=recursive display the short help of all the included packages
2284 -V, --version display version information and exit
2285 -q, --quiet, --silent do not print \`checking ...' messages
2286 --cache-file=FILE cache test results in FILE [disabled]
2287 -C, --config-cache alias for \`--cache-file=config.cache'
2288 -n, --no-create do not create output files
2289 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2291 Installation directories:
2292 --prefix=PREFIX install architecture-independent files in PREFIX
2293 [$ac_default_prefix]
2294 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2295 [PREFIX]
2297 By default, \`make install' will install all the files in
2298 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2299 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2300 for instance \`--prefix=\$HOME'.
2302 For better control, use the options below.
2304 Fine tuning of the installation directories:
2305 --bindir=DIR user executables [EPREFIX/bin]
2306 --sbindir=DIR system admin executables [EPREFIX/sbin]
2307 --libexecdir=DIR program executables [EPREFIX/libexec]
2308 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2309 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2310 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2311 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2312 --libdir=DIR object code libraries [EPREFIX/lib]
2313 --includedir=DIR C header files [PREFIX/include]
2314 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2315 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2316 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2317 --infodir=DIR info documentation [DATAROOTDIR/info]
2318 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2319 --mandir=DIR man documentation [DATAROOTDIR/man]
2320 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2321 --htmldir=DIR html documentation [DOCDIR]
2322 --dvidir=DIR dvi documentation [DOCDIR]
2323 --pdfdir=DIR pdf documentation [DOCDIR]
2324 --psdir=DIR ps documentation [DOCDIR]
2325 _ACEOF
2327 cat <<\_ACEOF
2329 X features:
2330 --x-includes=DIR X include files are in DIR
2331 --x-libraries=DIR X library files are in DIR
2333 System types:
2334 --build=BUILD configure for building on BUILD [guessed]
2335 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2336 _ACEOF
2339 if test -n "$ac_init_help"; then
2340 case $ac_init_help in
2341 short | recursive ) echo "Configuration of Wine 2.16:";;
2342 esac
2343 cat <<\_ACEOF
2345 Optional Features:
2346 --disable-option-checking ignore unrecognized --enable/--with options
2347 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2348 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2349 --disable-win16 do not include Win16 support
2350 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2351 binaries)
2352 --disable-tests do not build the regression tests
2353 --enable-maintainer-mode
2354 enable maintainer-specific build rules
2355 --disable-largefile omit support for large files
2357 Optional Packages:
2358 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2359 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2360 --without-alsa do not use the Alsa sound support
2361 --without-capi do not use CAPI (ISDN support)
2362 --without-cms do not use CMS (color management support)
2363 --without-coreaudio do not use the CoreAudio sound support
2364 --without-cups do not use CUPS
2365 --without-curses do not use (n)curses
2366 --without-dbus do not use DBus (dynamic device support)
2367 --without-fontconfig do not use fontconfig
2368 --without-freetype do not use the FreeType library
2369 --without-gettext do not use gettext
2370 --with-gettextpo use the GetTextPO library to rebuild po files
2371 --without-gphoto do not use gphoto (Digital Camera support)
2372 --without-glu do not use the GLU library
2373 --without-gnutls do not use GnuTLS (schannel support)
2374 --without-gsm do not use libgsm (GSM 06.10 codec support)
2375 --without-gstreamer do not use GStreamer (codecs support)
2376 --without-hal do not use HAL (dynamic device support)
2377 --without-jpeg do not use JPEG
2378 --without-ldap do not use LDAP
2379 --without-mpg123 do not use the mpg123 library
2380 --without-netapi do not use the Samba NetAPI library
2381 --without-openal do not use OpenAL
2382 --without-opencl do not use OpenCL
2383 --without-opengl do not use OpenGL
2384 --without-osmesa do not use the OSMesa library
2385 --without-oss do not use the OSS sound support
2386 --without-pcap do not use the Packet Capture library
2387 --without-png do not use PNG
2388 --without-pthread do not use the pthread library
2389 --without-pulse do not use PulseAudio sound support
2390 --without-sane do not use SANE (scanner support)
2391 --without-tiff do not use TIFF
2392 --without-udev do not use udev (plug and play support)
2393 --without-v4l do not use v4l1 (v4l support)
2394 --without-xcomposite do not use the Xcomposite extension
2395 --without-xcursor do not use the Xcursor extension
2396 --without-xfixes do not use Xfixes for clipboard change notifications
2397 --without-xinerama do not use Xinerama (multi-monitor support)
2398 --without-xinput do not use the Xinput extension
2399 --without-xinput2 do not use the Xinput 2 extension
2400 --without-xml do not use XML
2401 --without-xrandr do not use Xrandr (resolution changes)
2402 --without-xrender do not use the Xrender extension
2403 --without-xshape do not use the Xshape extension
2404 --without-xshm do not use XShm (shared memory extension)
2405 --without-xslt do not use XSLT
2406 --without-xxf86vm do not use XFree video mode extension
2407 --without-zlib do not use Zlib (data compression)
2408 --with-wine-tools=DIR use Wine tools from directory DIR
2409 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2410 --with-x use the X Window System
2412 Some influential environment variables:
2413 CC C compiler command
2414 CFLAGS C compiler flags
2415 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2416 nonstandard directory <lib dir>
2417 LIBS libraries to pass to the linker, e.g. -l<library>
2418 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2419 you have headers in a nonstandard directory <include dir>
2420 CXX C++ compiler command
2421 CXXFLAGS C++ compiler flags
2422 CPP C preprocessor
2423 XMKMF Path to xmkmf, Makefile generator for X Window System
2424 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2425 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2426 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2427 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2428 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2429 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2430 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2431 HAL_LIBS Linker flags for hal, overriding pkg-config
2432 GNUTLS_CFLAGS
2433 C compiler flags for gnutls, overriding pkg-config
2434 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2435 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2436 SANE_LIBS Linker flags for libsane, overriding pkg-config
2437 GPHOTO2_CFLAGS
2438 C compiler flags for libgphoto2, overriding pkg-config
2439 GPHOTO2_LIBS
2440 Linker flags for libgphoto2, overriding pkg-config
2441 GPHOTO2_PORT_CFLAGS
2442 C compiler flags for libgphoto2_port, overriding pkg-config
2443 GPHOTO2_PORT_LIBS
2444 Linker flags for libgphoto2_port, overriding pkg-config
2445 LCMS2_CFLAGS
2446 C compiler flags for lcms2, overriding pkg-config
2447 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2448 FREETYPE_CFLAGS
2449 C compiler flags for freetype2, overriding pkg-config
2450 FREETYPE_LIBS
2451 Linker flags for freetype2, overriding pkg-config
2452 PULSE_CFLAGS
2453 C compiler flags for libpulse, overriding pkg-config
2454 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2455 GSTREAMER_CFLAGS
2456 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2457 gstreamer-audio-1.0, overriding pkg-config
2458 GSTREAMER_LIBS
2459 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2460 gstreamer-audio-1.0, overriding pkg-config
2461 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2462 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2463 CAPI20_CFLAGS
2464 C compiler flags for capi20, overriding pkg-config
2465 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2466 FONTCONFIG_CFLAGS
2467 C compiler flags for fontconfig, overriding pkg-config
2468 FONTCONFIG_LIBS
2469 Linker flags for fontconfig, overriding pkg-config
2470 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2471 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2472 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2473 PNG_LIBS Linker flags for libpng, overriding pkg-config
2474 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2475 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2476 MPG123_CFLAGS
2477 C compiler flags for libmpg123, overriding pkg-config
2478 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2479 NETAPI_CFLAGS
2480 C compiler flags for netapi, overriding pkg-config
2481 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2482 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2483 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2485 Use these variables to override the choices made by `configure' or to help
2486 it to find libraries and programs with nonstandard names/locations.
2488 Report bugs to <wine-devel@winehq.org>.
2489 Wine home page: <http://www.winehq.org>.
2490 _ACEOF
2491 ac_status=$?
2494 if test "$ac_init_help" = "recursive"; then
2495 # If there are subdirs, report their specific --help.
2496 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2497 test -d "$ac_dir" ||
2498 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2499 continue
2500 ac_builddir=.
2502 case "$ac_dir" in
2503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2505 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2506 # A ".." for each directory in $ac_dir_suffix.
2507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2508 case $ac_top_builddir_sub in
2509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2511 esac ;;
2512 esac
2513 ac_abs_top_builddir=$ac_pwd
2514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2515 # for backward compatibility:
2516 ac_top_builddir=$ac_top_build_prefix
2518 case $srcdir in
2519 .) # We are building in place.
2520 ac_srcdir=.
2521 ac_top_srcdir=$ac_top_builddir_sub
2522 ac_abs_top_srcdir=$ac_pwd ;;
2523 [\\/]* | ?:[\\/]* ) # Absolute name.
2524 ac_srcdir=$srcdir$ac_dir_suffix;
2525 ac_top_srcdir=$srcdir
2526 ac_abs_top_srcdir=$srcdir ;;
2527 *) # Relative name.
2528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2529 ac_top_srcdir=$ac_top_build_prefix$srcdir
2530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2531 esac
2532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2534 cd "$ac_dir" || { ac_status=$?; continue; }
2535 # Check for guested configure.
2536 if test -f "$ac_srcdir/configure.gnu"; then
2537 echo &&
2538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2539 elif test -f "$ac_srcdir/configure"; then
2540 echo &&
2541 $SHELL "$ac_srcdir/configure" --help=recursive
2542 else
2543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2544 fi || ac_status=$?
2545 cd "$ac_pwd" || { ac_status=$?; break; }
2546 done
2549 test -n "$ac_init_help" && exit $ac_status
2550 if $ac_init_version; then
2551 cat <<\_ACEOF
2552 Wine configure 2.16
2553 generated by GNU Autoconf 2.69
2555 Copyright (C) 2012 Free Software Foundation, Inc.
2556 This configure script is free software; the Free Software Foundation
2557 gives unlimited permission to copy, distribute and modify it.
2558 _ACEOF
2559 exit
2562 ## ------------------------ ##
2563 ## Autoconf initialization. ##
2564 ## ------------------------ ##
2566 # ac_fn_c_try_compile LINENO
2567 # --------------------------
2568 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2569 ac_fn_c_try_compile ()
2571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2572 rm -f conftest.$ac_objext
2573 if { { ac_try="$ac_compile"
2574 case "(($ac_try" in
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2577 esac
2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 $as_echo "$ac_try_echo"; } >&5
2580 (eval "$ac_compile") 2>conftest.err
2581 ac_status=$?
2582 if test -s conftest.err; then
2583 grep -v '^ *+' conftest.err >conftest.er1
2584 cat conftest.er1 >&5
2585 mv -f conftest.er1 conftest.err
2587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 test $ac_status = 0; } && {
2589 test -z "$ac_c_werror_flag" ||
2590 test ! -s conftest.err
2591 } && test -s conftest.$ac_objext; then :
2592 ac_retval=0
2593 else
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2597 ac_retval=1
2599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2600 as_fn_set_status $ac_retval
2602 } # ac_fn_c_try_compile
2604 # ac_fn_cxx_try_compile LINENO
2605 # ----------------------------
2606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2607 ac_fn_cxx_try_compile ()
2609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2610 rm -f conftest.$ac_objext
2611 if { { ac_try="$ac_compile"
2612 case "(($ac_try" in
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2615 esac
2616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_compile") 2>conftest.err
2619 ac_status=$?
2620 if test -s conftest.err; then
2621 grep -v '^ *+' conftest.err >conftest.er1
2622 cat conftest.er1 >&5
2623 mv -f conftest.er1 conftest.err
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; } && {
2627 test -z "$ac_cxx_werror_flag" ||
2628 test ! -s conftest.err
2629 } && test -s conftest.$ac_objext; then :
2630 ac_retval=0
2631 else
2632 $as_echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2635 ac_retval=1
2637 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2638 as_fn_set_status $ac_retval
2640 } # ac_fn_cxx_try_compile
2642 # ac_fn_c_try_link LINENO
2643 # -----------------------
2644 # Try to link conftest.$ac_ext, and return whether this succeeded.
2645 ac_fn_c_try_link ()
2647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2648 rm -f conftest.$ac_objext conftest$ac_exeext
2649 if { { ac_try="$ac_link"
2650 case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2653 esac
2654 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2655 $as_echo "$ac_try_echo"; } >&5
2656 (eval "$ac_link") 2>conftest.err
2657 ac_status=$?
2658 if test -s conftest.err; then
2659 grep -v '^ *+' conftest.err >conftest.er1
2660 cat conftest.er1 >&5
2661 mv -f conftest.er1 conftest.err
2663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2664 test $ac_status = 0; } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest$ac_exeext && {
2668 test "$cross_compiling" = yes ||
2669 test -x conftest$ac_exeext
2670 }; then :
2671 ac_retval=0
2672 else
2673 $as_echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_retval=1
2678 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2679 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2680 # interfere with the next link command; also delete a directory that is
2681 # left behind by Apple's compiler. We do this before executing the actions.
2682 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2684 as_fn_set_status $ac_retval
2686 } # ac_fn_c_try_link
2688 # ac_fn_c_try_cpp LINENO
2689 # ----------------------
2690 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2691 ac_fn_c_try_cpp ()
2693 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2694 if { { ac_try="$ac_cpp conftest.$ac_ext"
2695 case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698 esac
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 $as_echo "$ac_try_echo"; } >&5
2701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2702 ac_status=$?
2703 if test -s conftest.err; then
2704 grep -v '^ *+' conftest.err >conftest.er1
2705 cat conftest.er1 >&5
2706 mv -f conftest.er1 conftest.err
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; } > conftest.i && {
2710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2711 test ! -s conftest.err
2712 }; then :
2713 ac_retval=0
2714 else
2715 $as_echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2718 ac_retval=1
2720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2721 as_fn_set_status $ac_retval
2723 } # ac_fn_c_try_cpp
2725 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2726 # -------------------------------------------------------
2727 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2728 # the include files in INCLUDES and setting the cache variable VAR
2729 # accordingly.
2730 ac_fn_c_check_header_mongrel ()
2732 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2733 if eval \${$3+:} false; then :
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2735 $as_echo_n "checking for $2... " >&6; }
2736 if eval \${$3+:} false; then :
2737 $as_echo_n "(cached) " >&6
2739 eval ac_res=\$$3
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2742 else
2743 # Is the header compilable?
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2745 $as_echo_n "checking $2 usability... " >&6; }
2746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2747 /* end confdefs.h. */
2749 #include <$2>
2750 _ACEOF
2751 if ac_fn_c_try_compile "$LINENO"; then :
2752 ac_header_compiler=yes
2753 else
2754 ac_header_compiler=no
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2758 $as_echo "$ac_header_compiler" >&6; }
2760 # Is the header present?
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2762 $as_echo_n "checking $2 presence... " >&6; }
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2765 #include <$2>
2766 _ACEOF
2767 if ac_fn_c_try_cpp "$LINENO"; then :
2768 ac_header_preproc=yes
2769 else
2770 ac_header_preproc=no
2772 rm -f conftest.err conftest.i conftest.$ac_ext
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2774 $as_echo "$ac_header_preproc" >&6; }
2776 # So? What about this header?
2777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2778 yes:no: )
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2780 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2782 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2784 no:yes:* )
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2786 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2788 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2790 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2792 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2795 ( $as_echo "## ------------------------------------ ##
2796 ## Report this to wine-devel@winehq.org ##
2797 ## ------------------------------------ ##"
2798 ) | sed "s/^/$as_me: WARNING: /" >&2
2800 esac
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2802 $as_echo_n "checking for $2... " >&6; }
2803 if eval \${$3+:} false; then :
2804 $as_echo_n "(cached) " >&6
2805 else
2806 eval "$3=\$ac_header_compiler"
2808 eval ac_res=\$$3
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2810 $as_echo "$ac_res" >&6; }
2812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2814 } # ac_fn_c_check_header_mongrel
2816 # ac_fn_c_try_run LINENO
2817 # ----------------------
2818 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2819 # that executables *can* be run.
2820 ac_fn_c_try_run ()
2822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2823 if { { ac_try="$ac_link"
2824 case "(($ac_try" in
2825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826 *) ac_try_echo=$ac_try;;
2827 esac
2828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2829 $as_echo "$ac_try_echo"; } >&5
2830 (eval "$ac_link") 2>&5
2831 ac_status=$?
2832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2833 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2834 { { case "(($ac_try" in
2835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 *) ac_try_echo=$ac_try;;
2837 esac
2838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2839 $as_echo "$ac_try_echo"; } >&5
2840 (eval "$ac_try") 2>&5
2841 ac_status=$?
2842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2843 test $ac_status = 0; }; }; then :
2844 ac_retval=0
2845 else
2846 $as_echo "$as_me: program exited with status $ac_status" >&5
2847 $as_echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.$ac_ext >&5
2850 ac_retval=$ac_status
2852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2854 as_fn_set_status $ac_retval
2856 } # ac_fn_c_try_run
2858 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2859 # -------------------------------------------------------
2860 # Tests whether HEADER exists and can be compiled using the include files in
2861 # INCLUDES, setting the cache variable VAR accordingly.
2862 ac_fn_c_check_header_compile ()
2864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2866 $as_echo_n "checking for $2... " >&6; }
2867 if eval \${$3+:} false; then :
2868 $as_echo_n "(cached) " >&6
2869 else
2870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2871 /* end confdefs.h. */
2873 #include <$2>
2874 _ACEOF
2875 if ac_fn_c_try_compile "$LINENO"; then :
2876 eval "$3=yes"
2877 else
2878 eval "$3=no"
2880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2882 eval ac_res=\$$3
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2884 $as_echo "$ac_res" >&6; }
2885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2887 } # ac_fn_c_check_header_compile
2889 # ac_fn_c_check_func LINENO FUNC VAR
2890 # ----------------------------------
2891 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2892 ac_fn_c_check_func ()
2894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2896 $as_echo_n "checking for $2... " >&6; }
2897 if eval \${$3+:} false; then :
2898 $as_echo_n "(cached) " >&6
2899 else
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2902 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2904 #define $2 innocuous_$2
2906 /* System header to define __stub macros and hopefully few prototypes,
2907 which can conflict with char $2 (); below.
2908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2909 <limits.h> exists even on freestanding compilers. */
2911 #ifdef __STDC__
2912 # include <limits.h>
2913 #else
2914 # include <assert.h>
2915 #endif
2917 #undef $2
2919 /* Override any GCC internal prototype to avoid an error.
2920 Use char because int might match the return type of a GCC
2921 builtin and then its argument prototype would still apply. */
2922 #ifdef __cplusplus
2923 extern "C"
2924 #endif
2925 char $2 ();
2926 /* The GNU C library defines this for functions which it implements
2927 to always fail with ENOSYS. Some functions are actually named
2928 something starting with __ and the normal name is an alias. */
2929 #if defined __stub_$2 || defined __stub___$2
2930 choke me
2931 #endif
2934 main ()
2936 return $2 ();
2938 return 0;
2940 _ACEOF
2941 if ac_fn_c_try_link "$LINENO"; then :
2942 eval "$3=yes"
2943 else
2944 eval "$3=no"
2946 rm -f core conftest.err conftest.$ac_objext \
2947 conftest$ac_exeext conftest.$ac_ext
2949 eval ac_res=\$$3
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2954 } # ac_fn_c_check_func
2956 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2957 # ----------------------------------------------------
2958 # Tries to find if the field MEMBER exists in type AGGR, after including
2959 # INCLUDES, setting cache variable VAR accordingly.
2960 ac_fn_c_check_member ()
2962 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2964 $as_echo_n "checking for $2.$3... " >&6; }
2965 if eval \${$4+:} false; then :
2966 $as_echo_n "(cached) " >&6
2967 else
2968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969 /* end confdefs.h. */
2972 main ()
2974 static $2 ac_aggr;
2975 if (ac_aggr.$3)
2976 return 0;
2978 return 0;
2980 _ACEOF
2981 if ac_fn_c_try_compile "$LINENO"; then :
2982 eval "$4=yes"
2983 else
2984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2985 /* end confdefs.h. */
2988 main ()
2990 static $2 ac_aggr;
2991 if (sizeof ac_aggr.$3)
2992 return 0;
2994 return 0;
2996 _ACEOF
2997 if ac_fn_c_try_compile "$LINENO"; then :
2998 eval "$4=yes"
2999 else
3000 eval "$4=no"
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3006 eval ac_res=\$$4
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3008 $as_echo "$ac_res" >&6; }
3009 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3011 } # ac_fn_c_check_member
3013 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3014 # -------------------------------------------
3015 # Tests whether TYPE exists after having included INCLUDES, setting cache
3016 # variable VAR accordingly.
3017 ac_fn_c_check_type ()
3019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3021 $as_echo_n "checking for $2... " >&6; }
3022 if eval \${$3+:} false; then :
3023 $as_echo_n "(cached) " >&6
3024 else
3025 eval "$3=no"
3026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3027 /* end confdefs.h. */
3030 main ()
3032 if (sizeof ($2))
3033 return 0;
3035 return 0;
3037 _ACEOF
3038 if ac_fn_c_try_compile "$LINENO"; then :
3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3040 /* end confdefs.h. */
3043 main ()
3045 if (sizeof (($2)))
3046 return 0;
3048 return 0;
3050 _ACEOF
3051 if ac_fn_c_try_compile "$LINENO"; then :
3053 else
3054 eval "$3=yes"
3056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3060 eval ac_res=\$$3
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3062 $as_echo "$ac_res" >&6; }
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3065 } # ac_fn_c_check_type
3066 cat >config.log <<_ACEOF
3067 This file contains any messages produced by compilers while
3068 running configure, to aid debugging if configure makes a mistake.
3070 It was created by Wine $as_me 2.16, which was
3071 generated by GNU Autoconf 2.69. Invocation command line was
3073 $ $0 $@
3075 _ACEOF
3076 exec 5>>config.log
3078 cat <<_ASUNAME
3079 ## --------- ##
3080 ## Platform. ##
3081 ## --------- ##
3083 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3084 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3085 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3086 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3087 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3089 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3090 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3092 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3093 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3094 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3095 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3096 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3097 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3098 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3100 _ASUNAME
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 for as_dir in $PATH
3105 IFS=$as_save_IFS
3106 test -z "$as_dir" && as_dir=.
3107 $as_echo "PATH: $as_dir"
3108 done
3109 IFS=$as_save_IFS
3111 } >&5
3113 cat >&5 <<_ACEOF
3116 ## ----------- ##
3117 ## Core tests. ##
3118 ## ----------- ##
3120 _ACEOF
3123 # Keep a trace of the command line.
3124 # Strip out --no-create and --no-recursion so they do not pile up.
3125 # Strip out --silent because we don't want to record it for future runs.
3126 # Also quote any args containing shell meta-characters.
3127 # Make two passes to allow for proper duplicate-argument suppression.
3128 ac_configure_args=
3129 ac_configure_args0=
3130 ac_configure_args1=
3131 ac_must_keep_next=false
3132 for ac_pass in 1 2
3134 for ac_arg
3136 case $ac_arg in
3137 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3138 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3139 | -silent | --silent | --silen | --sile | --sil)
3140 continue ;;
3141 *\'*)
3142 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3143 esac
3144 case $ac_pass in
3145 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3147 as_fn_append ac_configure_args1 " '$ac_arg'"
3148 if test $ac_must_keep_next = true; then
3149 ac_must_keep_next=false # Got value, back to normal.
3150 else
3151 case $ac_arg in
3152 *=* | --config-cache | -C | -disable-* | --disable-* \
3153 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3154 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3155 | -with-* | --with-* | -without-* | --without-* | --x)
3156 case "$ac_configure_args0 " in
3157 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3158 esac
3160 -* ) ac_must_keep_next=true ;;
3161 esac
3163 as_fn_append ac_configure_args " '$ac_arg'"
3165 esac
3166 done
3167 done
3168 { ac_configure_args0=; unset ac_configure_args0;}
3169 { ac_configure_args1=; unset ac_configure_args1;}
3171 # When interrupted or exit'd, cleanup temporary files, and complete
3172 # config.log. We remove comments because anyway the quotes in there
3173 # would cause problems or look ugly.
3174 # WARNING: Use '\'' to represent an apostrophe within the trap.
3175 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3176 trap 'exit_status=$?
3177 # Save into config.log some information that might help in debugging.
3179 echo
3181 $as_echo "## ---------------- ##
3182 ## Cache variables. ##
3183 ## ---------------- ##"
3184 echo
3185 # The following way of writing the cache mishandles newlines in values,
3187 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3188 eval ac_val=\$$ac_var
3189 case $ac_val in #(
3190 *${as_nl}*)
3191 case $ac_var in #(
3192 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3193 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3194 esac
3195 case $ac_var in #(
3196 _ | IFS | as_nl) ;; #(
3197 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3198 *) { eval $ac_var=; unset $ac_var;} ;;
3199 esac ;;
3200 esac
3201 done
3202 (set) 2>&1 |
3203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3204 *${as_nl}ac_space=\ *)
3205 sed -n \
3206 "s/'\''/'\''\\\\'\'''\''/g;
3207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3208 ;; #(
3210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3212 esac |
3213 sort
3215 echo
3217 $as_echo "## ----------------- ##
3218 ## Output variables. ##
3219 ## ----------------- ##"
3220 echo
3221 for ac_var in $ac_subst_vars
3223 eval ac_val=\$$ac_var
3224 case $ac_val in
3225 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3226 esac
3227 $as_echo "$ac_var='\''$ac_val'\''"
3228 done | sort
3229 echo
3231 if test -n "$ac_subst_files"; then
3232 $as_echo "## ------------------- ##
3233 ## File substitutions. ##
3234 ## ------------------- ##"
3235 echo
3236 for ac_var in $ac_subst_files
3238 eval ac_val=\$$ac_var
3239 case $ac_val in
3240 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3241 esac
3242 $as_echo "$ac_var='\''$ac_val'\''"
3243 done | sort
3244 echo
3247 if test -s confdefs.h; then
3248 $as_echo "## ----------- ##
3249 ## confdefs.h. ##
3250 ## ----------- ##"
3251 echo
3252 cat confdefs.h
3253 echo
3255 test "$ac_signal" != 0 &&
3256 $as_echo "$as_me: caught signal $ac_signal"
3257 $as_echo "$as_me: exit $exit_status"
3258 } >&5
3259 rm -f core *.core core.conftest.* &&
3260 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3261 exit $exit_status
3263 for ac_signal in 1 2 13 15; do
3264 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3265 done
3266 ac_signal=0
3268 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3269 rm -f -r conftest* confdefs.h
3271 $as_echo "/* confdefs.h */" > confdefs.h
3273 # Predefined preprocessor variables.
3275 cat >>confdefs.h <<_ACEOF
3276 #define PACKAGE_NAME "$PACKAGE_NAME"
3277 _ACEOF
3279 cat >>confdefs.h <<_ACEOF
3280 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3281 _ACEOF
3283 cat >>confdefs.h <<_ACEOF
3284 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3285 _ACEOF
3287 cat >>confdefs.h <<_ACEOF
3288 #define PACKAGE_STRING "$PACKAGE_STRING"
3289 _ACEOF
3291 cat >>confdefs.h <<_ACEOF
3292 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3293 _ACEOF
3295 cat >>confdefs.h <<_ACEOF
3296 #define PACKAGE_URL "$PACKAGE_URL"
3297 _ACEOF
3300 # Let the site file select an alternate cache file if it wants to.
3301 # Prefer an explicitly selected file to automatically selected ones.
3302 ac_site_file1=NONE
3303 ac_site_file2=NONE
3304 if test -n "$CONFIG_SITE"; then
3305 # We do not want a PATH search for config.site.
3306 case $CONFIG_SITE in #((
3307 -*) ac_site_file1=./$CONFIG_SITE;;
3308 */*) ac_site_file1=$CONFIG_SITE;;
3309 *) ac_site_file1=./$CONFIG_SITE;;
3310 esac
3311 elif test "x$prefix" != xNONE; then
3312 ac_site_file1=$prefix/share/config.site
3313 ac_site_file2=$prefix/etc/config.site
3314 else
3315 ac_site_file1=$ac_default_prefix/share/config.site
3316 ac_site_file2=$ac_default_prefix/etc/config.site
3318 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3320 test "x$ac_site_file" = xNONE && continue
3321 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3323 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3324 sed 's/^/| /' "$ac_site_file" >&5
3325 . "$ac_site_file" \
3326 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3328 as_fn_error $? "failed to load site script $ac_site_file
3329 See \`config.log' for more details" "$LINENO" 5; }
3331 done
3333 if test -r "$cache_file"; then
3334 # Some versions of bash will fail to source /dev/null (special files
3335 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3336 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3338 $as_echo "$as_me: loading cache $cache_file" >&6;}
3339 case $cache_file in
3340 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3341 *) . "./$cache_file";;
3342 esac
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3346 $as_echo "$as_me: creating cache $cache_file" >&6;}
3347 >$cache_file
3350 # Check that the precious variables saved in the cache have kept the same
3351 # value.
3352 ac_cache_corrupted=false
3353 for ac_var in $ac_precious_vars; do
3354 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3355 eval ac_new_set=\$ac_env_${ac_var}_set
3356 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3357 eval ac_new_val=\$ac_env_${ac_var}_value
3358 case $ac_old_set,$ac_new_set in
3359 set,)
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3361 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3362 ac_cache_corrupted=: ;;
3363 ,set)
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3365 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3366 ac_cache_corrupted=: ;;
3367 ,);;
3369 if test "x$ac_old_val" != "x$ac_new_val"; then
3370 # differences in whitespace do not lead to failure.
3371 ac_old_val_w=`echo x $ac_old_val`
3372 ac_new_val_w=`echo x $ac_new_val`
3373 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3375 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3376 ac_cache_corrupted=:
3377 else
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3379 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3380 eval $ac_var=\$ac_old_val
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3383 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3385 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3386 fi;;
3387 esac
3388 # Pass precious variables to config.status.
3389 if test "$ac_new_set" = set; then
3390 case $ac_new_val in
3391 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3392 *) ac_arg=$ac_var=$ac_new_val ;;
3393 esac
3394 case " $ac_configure_args " in
3395 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3396 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3397 esac
3399 done
3400 if $ac_cache_corrupted; then
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3404 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3405 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3407 ## -------------------- ##
3408 ## Main body of script. ##
3409 ## -------------------- ##
3411 ac_ext=c
3412 ac_cpp='$CPP $CPPFLAGS'
3413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3419 ac_config_headers="$ac_config_headers include/config.h"
3421 ac_aux_dir=
3422 for ac_dir in tools "$srcdir"/tools; do
3423 if test -f "$ac_dir/install-sh"; then
3424 ac_aux_dir=$ac_dir
3425 ac_install_sh="$ac_aux_dir/install-sh -c"
3426 break
3427 elif test -f "$ac_dir/install.sh"; then
3428 ac_aux_dir=$ac_dir
3429 ac_install_sh="$ac_aux_dir/install.sh -c"
3430 break
3431 elif test -f "$ac_dir/shtool"; then
3432 ac_aux_dir=$ac_dir
3433 ac_install_sh="$ac_aux_dir/shtool install -c"
3434 break
3436 done
3437 if test -z "$ac_aux_dir"; then
3438 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3441 # These three variables are undocumented and unsupported,
3442 # and are intended to be withdrawn in a future Autoconf release.
3443 # They can cause serious problems if a builder's source tree is in a directory
3444 # whose full name contains unusual characters.
3445 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3446 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3447 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3451 libwine_version="1.0"
3455 # Check whether --enable-win16 was given.
3456 if test "${enable_win16+set}" = set; then :
3457 enableval=$enable_win16;
3460 # Check whether --enable-win64 was given.
3461 if test "${enable_win64+set}" = set; then :
3462 enableval=$enable_win64;
3465 # Check whether --enable-tests was given.
3466 if test "${enable_tests+set}" = set; then :
3467 enableval=$enable_tests;
3470 # Check whether --enable-maintainer-mode was given.
3471 if test "${enable_maintainer_mode+set}" = set; then :
3472 enableval=$enable_maintainer_mode;
3477 # Check whether --with-alsa was given.
3478 if test "${with_alsa+set}" = set; then :
3479 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3483 # Check whether --with-capi was given.
3484 if test "${with_capi+set}" = set; then :
3485 withval=$with_capi;
3489 # Check whether --with-cms was given.
3490 if test "${with_cms+set}" = set; then :
3491 withval=$with_cms;
3495 # Check whether --with-coreaudio was given.
3496 if test "${with_coreaudio+set}" = set; then :
3497 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3501 # Check whether --with-cups was given.
3502 if test "${with_cups+set}" = set; then :
3503 withval=$with_cups;
3507 # Check whether --with-curses was given.
3508 if test "${with_curses+set}" = set; then :
3509 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3513 # Check whether --with-dbus was given.
3514 if test "${with_dbus+set}" = set; then :
3515 withval=$with_dbus;
3519 # Check whether --with-fontconfig was given.
3520 if test "${with_fontconfig+set}" = set; then :
3521 withval=$with_fontconfig;
3525 # Check whether --with-freetype was given.
3526 if test "${with_freetype+set}" = set; then :
3527 withval=$with_freetype;
3531 # Check whether --with-gettext was given.
3532 if test "${with_gettext+set}" = set; then :
3533 withval=$with_gettext;
3537 # Check whether --with-gettextpo was given.
3538 if test "${with_gettextpo+set}" = set; then :
3539 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3543 # Check whether --with-gphoto was given.
3544 if test "${with_gphoto+set}" = set; then :
3545 withval=$with_gphoto;
3549 # Check whether --with-glu was given.
3550 if test "${with_glu+set}" = set; then :
3551 withval=$with_glu;
3555 # Check whether --with-gnutls was given.
3556 if test "${with_gnutls+set}" = set; then :
3557 withval=$with_gnutls;
3561 # Check whether --with-gsm was given.
3562 if test "${with_gsm+set}" = set; then :
3563 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3567 # Check whether --with-gstreamer was given.
3568 if test "${with_gstreamer+set}" = set; then :
3569 withval=$with_gstreamer;
3573 # Check whether --with-hal was given.
3574 if test "${with_hal+set}" = set; then :
3575 withval=$with_hal;
3579 # Check whether --with-jpeg was given.
3580 if test "${with_jpeg+set}" = set; then :
3581 withval=$with_jpeg;
3585 # Check whether --with-ldap was given.
3586 if test "${with_ldap+set}" = set; then :
3587 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3591 # Check whether --with-mpg123 was given.
3592 if test "${with_mpg123+set}" = set; then :
3593 withval=$with_mpg123;
3597 # Check whether --with-netapi was given.
3598 if test "${with_netapi+set}" = set; then :
3599 withval=$with_netapi;
3603 # Check whether --with-openal was given.
3604 if test "${with_openal+set}" = set; then :
3605 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3609 # Check whether --with-opencl was given.
3610 if test "${with_opencl+set}" = set; then :
3611 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3615 # Check whether --with-opengl was given.
3616 if test "${with_opengl+set}" = set; then :
3617 withval=$with_opengl;
3621 # Check whether --with-osmesa was given.
3622 if test "${with_osmesa+set}" = set; then :
3623 withval=$with_osmesa;
3627 # Check whether --with-oss was given.
3628 if test "${with_oss+set}" = set; then :
3629 withval=$with_oss;
3633 # Check whether --with-pcap was given.
3634 if test "${with_pcap+set}" = set; then :
3635 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3639 # Check whether --with-png was given.
3640 if test "${with_png+set}" = set; then :
3641 withval=$with_png;
3645 # Check whether --with-pthread was given.
3646 if test "${with_pthread+set}" = set; then :
3647 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3651 # Check whether --with-pulse was given.
3652 if test "${with_pulse+set}" = set; then :
3653 withval=$with_pulse;
3657 # Check whether --with-sane was given.
3658 if test "${with_sane+set}" = set; then :
3659 withval=$with_sane;
3663 # Check whether --with-tiff was given.
3664 if test "${with_tiff+set}" = set; then :
3665 withval=$with_tiff;
3669 # Check whether --with-udev was given.
3670 if test "${with_udev+set}" = set; then :
3671 withval=$with_udev;
3675 # Check whether --with-v4l was given.
3676 if test "${with_v4l+set}" = set; then :
3677 withval=$with_v4l;
3681 # Check whether --with-xcomposite was given.
3682 if test "${with_xcomposite+set}" = set; then :
3683 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3687 # Check whether --with-xcursor was given.
3688 if test "${with_xcursor+set}" = set; then :
3689 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3693 # Check whether --with-xfixes was given.
3694 if test "${with_xfixes+set}" = set; then :
3695 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3699 # Check whether --with-xinerama was given.
3700 if test "${with_xinerama+set}" = set; then :
3701 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3705 # Check whether --with-xinput was given.
3706 if test "${with_xinput+set}" = set; then :
3707 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3711 # Check whether --with-xinput2 was given.
3712 if test "${with_xinput2+set}" = set; then :
3713 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3717 # Check whether --with-xml was given.
3718 if test "${with_xml+set}" = set; then :
3719 withval=$with_xml;
3723 # Check whether --with-xrandr was given.
3724 if test "${with_xrandr+set}" = set; then :
3725 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3729 # Check whether --with-xrender was given.
3730 if test "${with_xrender+set}" = set; then :
3731 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3735 # Check whether --with-xshape was given.
3736 if test "${with_xshape+set}" = set; then :
3737 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3741 # Check whether --with-xshm was given.
3742 if test "${with_xshm+set}" = set; then :
3743 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3747 # Check whether --with-xslt was given.
3748 if test "${with_xslt+set}" = set; then :
3749 withval=$with_xslt;
3753 # Check whether --with-xxf86vm was given.
3754 if test "${with_xxf86vm+set}" = set; then :
3755 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
3759 # Check whether --with-zlib was given.
3760 if test "${with_zlib+set}" = set; then :
3761 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3766 # Check whether --with-wine-tools was given.
3767 if test "${with_wine_tools+set}" = set; then :
3768 withval=$with_wine_tools;
3772 # Check whether --with-wine64 was given.
3773 if test "${with_wine64+set}" = set; then :
3774 withval=$with_wine64;
3778 # Make sure we can run config.sub.
3779 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3780 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3783 $as_echo_n "checking build system type... " >&6; }
3784 if ${ac_cv_build+:} false; then :
3785 $as_echo_n "(cached) " >&6
3786 else
3787 ac_build_alias=$build_alias
3788 test "x$ac_build_alias" = x &&
3789 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3790 test "x$ac_build_alias" = x &&
3791 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3792 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3793 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3797 $as_echo "$ac_cv_build" >&6; }
3798 case $ac_cv_build in
3799 *-*-*) ;;
3800 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3801 esac
3802 build=$ac_cv_build
3803 ac_save_IFS=$IFS; IFS='-'
3804 set x $ac_cv_build
3805 shift
3806 build_cpu=$1
3807 build_vendor=$2
3808 shift; shift
3809 # Remember, the first character of IFS is used to create $*,
3810 # except with old shells:
3811 build_os=$*
3812 IFS=$ac_save_IFS
3813 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3817 $as_echo_n "checking host system type... " >&6; }
3818 if ${ac_cv_host+:} false; then :
3819 $as_echo_n "(cached) " >&6
3820 else
3821 if test "x$host_alias" = x; then
3822 ac_cv_host=$ac_cv_build
3823 else
3824 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3825 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3830 $as_echo "$ac_cv_host" >&6; }
3831 case $ac_cv_host in
3832 *-*-*) ;;
3833 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3834 esac
3835 host=$ac_cv_host
3836 ac_save_IFS=$IFS; IFS='-'
3837 set x $ac_cv_host
3838 shift
3839 host_cpu=$1
3840 host_vendor=$2
3841 shift; shift
3842 # Remember, the first character of IFS is used to create $*,
3843 # except with old shells:
3844 host_os=$*
3845 IFS=$ac_save_IFS
3846 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3850 case "$srcdir" in
3851 .) ;;
3852 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3853 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3854 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3855 fi ;;
3856 esac
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3860 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3861 set x ${MAKE-make}
3862 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3863 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3864 $as_echo_n "(cached) " >&6
3865 else
3866 cat >conftest.make <<\_ACEOF
3867 SHELL = /bin/sh
3868 all:
3869 @echo '@@@%%%=$(MAKE)=@@@%%%'
3870 _ACEOF
3871 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3872 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3873 *@@@%%%=?*=@@@%%%*)
3874 eval ac_cv_prog_make_${ac_make}_set=yes;;
3876 eval ac_cv_prog_make_${ac_make}_set=no;;
3877 esac
3878 rm -f conftest.make
3880 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3882 $as_echo "yes" >&6; }
3883 SET_MAKE=
3884 else
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3887 SET_MAKE="MAKE=${MAKE-make}"
3890 ac_ext=c
3891 ac_cpp='$CPP $CPPFLAGS'
3892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3895 if test -n "$ac_tool_prefix"; then
3896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3897 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if ${ac_cv_prog_CC+:} false; then :
3901 $as_echo_n "(cached) " >&6
3902 else
3903 if test -n "$CC"; then
3904 ac_cv_prog_CC="$CC" # Let the user override the test.
3905 else
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 for as_dir in $PATH
3909 IFS=$as_save_IFS
3910 test -z "$as_dir" && as_dir=.
3911 for ac_exec_ext in '' $ac_executable_extensions; do
3912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3913 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 break 2
3917 done
3918 done
3919 IFS=$as_save_IFS
3923 CC=$ac_cv_prog_CC
3924 if test -n "$CC"; then
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3926 $as_echo "$CC" >&6; }
3927 else
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3934 if test -z "$ac_cv_prog_CC"; then
3935 ac_ct_CC=$CC
3936 # Extract the first word of "gcc", so it can be a program name with args.
3937 set dummy gcc; ac_word=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3941 $as_echo_n "(cached) " >&6
3942 else
3943 if test -n "$ac_ct_CC"; then
3944 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3945 else
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947 for as_dir in $PATH
3949 IFS=$as_save_IFS
3950 test -z "$as_dir" && as_dir=.
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3953 ac_cv_prog_ac_ct_CC="gcc"
3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3955 break 2
3957 done
3958 done
3959 IFS=$as_save_IFS
3963 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3964 if test -n "$ac_ct_CC"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3966 $as_echo "$ac_ct_CC" >&6; }
3967 else
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3972 if test "x$ac_ct_CC" = x; then
3973 CC=""
3974 else
3975 case $cross_compiling:$ac_tool_warned in
3976 yes:)
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3979 ac_tool_warned=yes ;;
3980 esac
3981 CC=$ac_ct_CC
3983 else
3984 CC="$ac_cv_prog_CC"
3987 if test -z "$CC"; then
3988 if test -n "$ac_tool_prefix"; then
3989 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3990 set dummy ${ac_tool_prefix}cc; ac_word=$2
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if ${ac_cv_prog_CC+:} false; then :
3994 $as_echo_n "(cached) " >&6
3995 else
3996 if test -n "$CC"; then
3997 ac_cv_prog_CC="$CC" # Let the user override the test.
3998 else
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4000 for as_dir in $PATH
4002 IFS=$as_save_IFS
4003 test -z "$as_dir" && as_dir=.
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4006 ac_cv_prog_CC="${ac_tool_prefix}cc"
4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 break 2
4010 done
4011 done
4012 IFS=$as_save_IFS
4016 CC=$ac_cv_prog_CC
4017 if test -n "$CC"; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4019 $as_echo "$CC" >&6; }
4020 else
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4028 if test -z "$CC"; then
4029 # Extract the first word of "cc", so it can be a program name with args.
4030 set dummy cc; ac_word=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if ${ac_cv_prog_CC+:} false; then :
4034 $as_echo_n "(cached) " >&6
4035 else
4036 if test -n "$CC"; then
4037 ac_cv_prog_CC="$CC" # Let the user override the test.
4038 else
4039 ac_prog_rejected=no
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041 for as_dir in $PATH
4043 IFS=$as_save_IFS
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4048 ac_prog_rejected=yes
4049 continue
4051 ac_cv_prog_CC="cc"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 break 2
4055 done
4056 done
4057 IFS=$as_save_IFS
4059 if test $ac_prog_rejected = yes; then
4060 # We found a bogon in the path, so make sure we never use it.
4061 set dummy $ac_cv_prog_CC
4062 shift
4063 if test $# != 0; then
4064 # We chose a different compiler from the bogus one.
4065 # However, it has the same basename, so the bogon will be chosen
4066 # first if we set CC to just the basename; use the full file name.
4067 shift
4068 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4073 CC=$ac_cv_prog_CC
4074 if test -n "$CC"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4076 $as_echo "$CC" >&6; }
4077 else
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4084 if test -z "$CC"; then
4085 if test -n "$ac_tool_prefix"; then
4086 for ac_prog in cl.exe
4088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4089 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4091 $as_echo_n "checking for $ac_word... " >&6; }
4092 if ${ac_cv_prog_CC+:} false; then :
4093 $as_echo_n "(cached) " >&6
4094 else
4095 if test -n "$CC"; then
4096 ac_cv_prog_CC="$CC" # Let the user override the test.
4097 else
4098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4099 for as_dir in $PATH
4101 IFS=$as_save_IFS
4102 test -z "$as_dir" && as_dir=.
4103 for ac_exec_ext in '' $ac_executable_extensions; do
4104 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4105 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4107 break 2
4109 done
4110 done
4111 IFS=$as_save_IFS
4115 CC=$ac_cv_prog_CC
4116 if test -n "$CC"; then
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4118 $as_echo "$CC" >&6; }
4119 else
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4121 $as_echo "no" >&6; }
4125 test -n "$CC" && break
4126 done
4128 if test -z "$CC"; then
4129 ac_ct_CC=$CC
4130 for ac_prog in cl.exe
4132 # Extract the first word of "$ac_prog", so it can be a program name with args.
4133 set dummy $ac_prog; ac_word=$2
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4135 $as_echo_n "checking for $ac_word... " >&6; }
4136 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4137 $as_echo_n "(cached) " >&6
4138 else
4139 if test -n "$ac_ct_CC"; then
4140 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4141 else
4142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4143 for as_dir in $PATH
4145 IFS=$as_save_IFS
4146 test -z "$as_dir" && as_dir=.
4147 for ac_exec_ext in '' $ac_executable_extensions; do
4148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4149 ac_cv_prog_ac_ct_CC="$ac_prog"
4150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4151 break 2
4153 done
4154 done
4155 IFS=$as_save_IFS
4159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4160 if test -n "$ac_ct_CC"; then
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4162 $as_echo "$ac_ct_CC" >&6; }
4163 else
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4165 $as_echo "no" >&6; }
4169 test -n "$ac_ct_CC" && break
4170 done
4172 if test "x$ac_ct_CC" = x; then
4173 CC=""
4174 else
4175 case $cross_compiling:$ac_tool_warned in
4176 yes:)
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4179 ac_tool_warned=yes ;;
4180 esac
4181 CC=$ac_ct_CC
4188 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4190 as_fn_error $? "no acceptable C compiler found in \$PATH
4191 See \`config.log' for more details" "$LINENO" 5; }
4193 # Provide some information about the compiler.
4194 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4195 set X $ac_compile
4196 ac_compiler=$2
4197 for ac_option in --version -v -V -qversion; do
4198 { { ac_try="$ac_compiler $ac_option >&5"
4199 case "(($ac_try" in
4200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201 *) ac_try_echo=$ac_try;;
4202 esac
4203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4204 $as_echo "$ac_try_echo"; } >&5
4205 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4206 ac_status=$?
4207 if test -s conftest.err; then
4208 sed '10a\
4209 ... rest of stderr output deleted ...
4210 10q' conftest.err >conftest.er1
4211 cat conftest.er1 >&5
4213 rm -f conftest.er1 conftest.err
4214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4215 test $ac_status = 0; }
4216 done
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4222 main ()
4226 return 0;
4228 _ACEOF
4229 ac_clean_files_save=$ac_clean_files
4230 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4231 # Try to create an executable without -o first, disregard a.out.
4232 # It will help us diagnose broken compilers, and finding out an intuition
4233 # of exeext.
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4235 $as_echo_n "checking whether the C compiler works... " >&6; }
4236 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4238 # The possible output files:
4239 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4241 ac_rmfiles=
4242 for ac_file in $ac_files
4244 case $ac_file in
4245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4246 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4247 esac
4248 done
4249 rm -f $ac_rmfiles
4251 if { { ac_try="$ac_link_default"
4252 case "(($ac_try" in
4253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4254 *) ac_try_echo=$ac_try;;
4255 esac
4256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4257 $as_echo "$ac_try_echo"; } >&5
4258 (eval "$ac_link_default") 2>&5
4259 ac_status=$?
4260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4261 test $ac_status = 0; }; then :
4262 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4263 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4264 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4265 # so that the user can short-circuit this test for compilers unknown to
4266 # Autoconf.
4267 for ac_file in $ac_files ''
4269 test -f "$ac_file" || continue
4270 case $ac_file in
4271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4273 [ab].out )
4274 # We found the default executable, but exeext='' is most
4275 # certainly right.
4276 break;;
4277 *.* )
4278 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4279 then :; else
4280 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4282 # We set ac_cv_exeext here because the later test for it is not
4283 # safe: cross compilers may not add the suffix if given an `-o'
4284 # argument, so we may need to know it at that point already.
4285 # Even if this section looks crufty: it has the advantage of
4286 # actually working.
4287 break;;
4289 break;;
4290 esac
4291 done
4292 test "$ac_cv_exeext" = no && ac_cv_exeext=
4294 else
4295 ac_file=''
4297 if test -z "$ac_file"; then :
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4300 $as_echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.$ac_ext >&5
4303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4305 as_fn_error 77 "C compiler cannot create executables
4306 See \`config.log' for more details" "$LINENO" 5; }
4307 else
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4309 $as_echo "yes" >&6; }
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4312 $as_echo_n "checking for C compiler default output file name... " >&6; }
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4314 $as_echo "$ac_file" >&6; }
4315 ac_exeext=$ac_cv_exeext
4317 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4318 ac_clean_files=$ac_clean_files_save
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4320 $as_echo_n "checking for suffix of executables... " >&6; }
4321 if { { ac_try="$ac_link"
4322 case "(($ac_try" in
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4325 esac
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_link") 2>&5
4329 ac_status=$?
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; then :
4332 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4333 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4334 # work properly (i.e., refer to `conftest.exe'), while it won't with
4335 # `rm'.
4336 for ac_file in conftest.exe conftest conftest.*; do
4337 test -f "$ac_file" || continue
4338 case $ac_file in
4339 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4340 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4341 break;;
4342 * ) break;;
4343 esac
4344 done
4345 else
4346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4348 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4349 See \`config.log' for more details" "$LINENO" 5; }
4351 rm -f conftest conftest$ac_cv_exeext
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4353 $as_echo "$ac_cv_exeext" >&6; }
4355 rm -f conftest.$ac_ext
4356 EXEEXT=$ac_cv_exeext
4357 ac_exeext=$EXEEXT
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4360 #include <stdio.h>
4362 main ()
4364 FILE *f = fopen ("conftest.out", "w");
4365 return ferror (f) || fclose (f) != 0;
4368 return 0;
4370 _ACEOF
4371 ac_clean_files="$ac_clean_files conftest.out"
4372 # Check that the compiler produces executables we can run. If not, either
4373 # the compiler is broken, or we cross compile.
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4375 $as_echo_n "checking whether we are cross compiling... " >&6; }
4376 if test "$cross_compiling" != yes; then
4377 { { ac_try="$ac_link"
4378 case "(($ac_try" in
4379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380 *) ac_try_echo=$ac_try;;
4381 esac
4382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4383 $as_echo "$ac_try_echo"; } >&5
4384 (eval "$ac_link") 2>&5
4385 ac_status=$?
4386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4387 test $ac_status = 0; }
4388 if { ac_try='./conftest$ac_cv_exeext'
4389 { { case "(($ac_try" in
4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4392 esac
4393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4394 $as_echo "$ac_try_echo"; } >&5
4395 (eval "$ac_try") 2>&5
4396 ac_status=$?
4397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4398 test $ac_status = 0; }; }; then
4399 cross_compiling=no
4400 else
4401 if test "$cross_compiling" = maybe; then
4402 cross_compiling=yes
4403 else
4404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4406 as_fn_error $? "cannot run C compiled programs.
4407 If you meant to cross compile, use \`--host'.
4408 See \`config.log' for more details" "$LINENO" 5; }
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4413 $as_echo "$cross_compiling" >&6; }
4415 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4416 ac_clean_files=$ac_clean_files_save
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4418 $as_echo_n "checking for suffix of object files... " >&6; }
4419 if ${ac_cv_objext+:} false; then :
4420 $as_echo_n "(cached) " >&6
4421 else
4422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4423 /* end confdefs.h. */
4426 main ()
4430 return 0;
4432 _ACEOF
4433 rm -f conftest.o conftest.obj
4434 if { { ac_try="$ac_compile"
4435 case "(($ac_try" in
4436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4438 esac
4439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4440 $as_echo "$ac_try_echo"; } >&5
4441 (eval "$ac_compile") 2>&5
4442 ac_status=$?
4443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4444 test $ac_status = 0; }; then :
4445 for ac_file in conftest.o conftest.obj conftest.*; do
4446 test -f "$ac_file" || continue;
4447 case $ac_file in
4448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4449 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4450 break;;
4451 esac
4452 done
4453 else
4454 $as_echo "$as_me: failed program was:" >&5
4455 sed 's/^/| /' conftest.$ac_ext >&5
4457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4459 as_fn_error $? "cannot compute suffix of object files: cannot compile
4460 See \`config.log' for more details" "$LINENO" 5; }
4462 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4465 $as_echo "$ac_cv_objext" >&6; }
4466 OBJEXT=$ac_cv_objext
4467 ac_objext=$OBJEXT
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4469 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4470 if ${ac_cv_c_compiler_gnu+:} false; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4474 /* end confdefs.h. */
4477 main ()
4479 #ifndef __GNUC__
4480 choke me
4481 #endif
4484 return 0;
4486 _ACEOF
4487 if ac_fn_c_try_compile "$LINENO"; then :
4488 ac_compiler_gnu=yes
4489 else
4490 ac_compiler_gnu=no
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4497 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4498 if test $ac_compiler_gnu = yes; then
4499 GCC=yes
4500 else
4501 GCC=
4503 ac_test_CFLAGS=${CFLAGS+set}
4504 ac_save_CFLAGS=$CFLAGS
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4506 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4507 if ${ac_cv_prog_cc_g+:} false; then :
4508 $as_echo_n "(cached) " >&6
4509 else
4510 ac_save_c_werror_flag=$ac_c_werror_flag
4511 ac_c_werror_flag=yes
4512 ac_cv_prog_cc_g=no
4513 CFLAGS="-g"
4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4518 main ()
4522 return 0;
4524 _ACEOF
4525 if ac_fn_c_try_compile "$LINENO"; then :
4526 ac_cv_prog_cc_g=yes
4527 else
4528 CFLAGS=""
4529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530 /* end confdefs.h. */
4533 main ()
4537 return 0;
4539 _ACEOF
4540 if ac_fn_c_try_compile "$LINENO"; then :
4542 else
4543 ac_c_werror_flag=$ac_save_c_werror_flag
4544 CFLAGS="-g"
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4549 main ()
4553 return 0;
4555 _ACEOF
4556 if ac_fn_c_try_compile "$LINENO"; then :
4557 ac_cv_prog_cc_g=yes
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4564 ac_c_werror_flag=$ac_save_c_werror_flag
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4567 $as_echo "$ac_cv_prog_cc_g" >&6; }
4568 if test "$ac_test_CFLAGS" = set; then
4569 CFLAGS=$ac_save_CFLAGS
4570 elif test $ac_cv_prog_cc_g = yes; then
4571 if test "$GCC" = yes; then
4572 CFLAGS="-g -O2"
4573 else
4574 CFLAGS="-g"
4576 else
4577 if test "$GCC" = yes; then
4578 CFLAGS="-O2"
4579 else
4580 CFLAGS=
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4584 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4585 if ${ac_cv_prog_cc_c89+:} false; then :
4586 $as_echo_n "(cached) " >&6
4587 else
4588 ac_cv_prog_cc_c89=no
4589 ac_save_CC=$CC
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4592 #include <stdarg.h>
4593 #include <stdio.h>
4594 struct stat;
4595 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4596 struct buf { int x; };
4597 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4598 static char *e (p, i)
4599 char **p;
4600 int i;
4602 return p[i];
4604 static char *f (char * (*g) (char **, int), char **p, ...)
4606 char *s;
4607 va_list v;
4608 va_start (v,p);
4609 s = g (p, va_arg (v,int));
4610 va_end (v);
4611 return s;
4614 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4615 function prototypes and stuff, but not '\xHH' hex character constants.
4616 These don't provoke an error unfortunately, instead are silently treated
4617 as 'x'. The following induces an error, until -std is added to get
4618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4619 array size at least. It's necessary to write '\x00'==0 to get something
4620 that's true only with -std. */
4621 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4623 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4624 inside strings and character constants. */
4625 #define FOO(x) 'x'
4626 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4628 int test (int i, double x);
4629 struct s1 {int (*f) (int a);};
4630 struct s2 {int (*f) (double a);};
4631 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4632 int argc;
4633 char **argv;
4635 main ()
4637 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4639 return 0;
4641 _ACEOF
4642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4645 CC="$ac_save_CC $ac_arg"
4646 if ac_fn_c_try_compile "$LINENO"; then :
4647 ac_cv_prog_cc_c89=$ac_arg
4649 rm -f core conftest.err conftest.$ac_objext
4650 test "x$ac_cv_prog_cc_c89" != "xno" && break
4651 done
4652 rm -f conftest.$ac_ext
4653 CC=$ac_save_CC
4656 # AC_CACHE_VAL
4657 case "x$ac_cv_prog_cc_c89" in
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4660 $as_echo "none needed" >&6; } ;;
4661 xno)
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4663 $as_echo "unsupported" >&6; } ;;
4665 CC="$CC $ac_cv_prog_cc_c89"
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4667 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4668 esac
4669 if test "x$ac_cv_prog_cc_c89" != xno; then :
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4679 ac_ext=cpp
4680 ac_cpp='$CXXCPP $CPPFLAGS'
4681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4684 if test -z "$CXX"; then
4685 if test -n "$CCC"; then
4686 CXX=$CCC
4687 else
4688 if test -n "$ac_tool_prefix"; then
4689 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4692 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if ${ac_cv_prog_CXX+:} false; then :
4696 $as_echo_n "(cached) " >&6
4697 else
4698 if test -n "$CXX"; then
4699 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4700 else
4701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702 for as_dir in $PATH
4704 IFS=$as_save_IFS
4705 test -z "$as_dir" && as_dir=.
4706 for ac_exec_ext in '' $ac_executable_extensions; do
4707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4708 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4710 break 2
4712 done
4713 done
4714 IFS=$as_save_IFS
4718 CXX=$ac_cv_prog_CXX
4719 if test -n "$CXX"; then
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4721 $as_echo "$CXX" >&6; }
4722 else
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4728 test -n "$CXX" && break
4729 done
4731 if test -z "$CXX"; then
4732 ac_ct_CXX=$CXX
4733 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4735 # Extract the first word of "$ac_prog", so it can be a program name with args.
4736 set dummy $ac_prog; ac_word=$2
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4740 $as_echo_n "(cached) " >&6
4741 else
4742 if test -n "$ac_ct_CXX"; then
4743 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4744 else
4745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4746 for as_dir in $PATH
4748 IFS=$as_save_IFS
4749 test -z "$as_dir" && as_dir=.
4750 for ac_exec_ext in '' $ac_executable_extensions; do
4751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4752 ac_cv_prog_ac_ct_CXX="$ac_prog"
4753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 break 2
4756 done
4757 done
4758 IFS=$as_save_IFS
4762 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4763 if test -n "$ac_ct_CXX"; then
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4765 $as_echo "$ac_ct_CXX" >&6; }
4766 else
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4768 $as_echo "no" >&6; }
4772 test -n "$ac_ct_CXX" && break
4773 done
4775 if test "x$ac_ct_CXX" = x; then
4776 CXX="g++"
4777 else
4778 case $cross_compiling:$ac_tool_warned in
4779 yes:)
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4781 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4782 ac_tool_warned=yes ;;
4783 esac
4784 CXX=$ac_ct_CXX
4790 # Provide some information about the compiler.
4791 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4792 set X $ac_compile
4793 ac_compiler=$2
4794 for ac_option in --version -v -V -qversion; do
4795 { { ac_try="$ac_compiler $ac_option >&5"
4796 case "(($ac_try" in
4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798 *) ac_try_echo=$ac_try;;
4799 esac
4800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4801 $as_echo "$ac_try_echo"; } >&5
4802 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4803 ac_status=$?
4804 if test -s conftest.err; then
4805 sed '10a\
4806 ... rest of stderr output deleted ...
4807 10q' conftest.err >conftest.er1
4808 cat conftest.er1 >&5
4810 rm -f conftest.er1 conftest.err
4811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4812 test $ac_status = 0; }
4813 done
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4816 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4817 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4824 main ()
4826 #ifndef __GNUC__
4827 choke me
4828 #endif
4831 return 0;
4833 _ACEOF
4834 if ac_fn_cxx_try_compile "$LINENO"; then :
4835 ac_compiler_gnu=yes
4836 else
4837 ac_compiler_gnu=no
4839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4840 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4844 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4845 if test $ac_compiler_gnu = yes; then
4846 GXX=yes
4847 else
4848 GXX=
4850 ac_test_CXXFLAGS=${CXXFLAGS+set}
4851 ac_save_CXXFLAGS=$CXXFLAGS
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4853 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4854 if ${ac_cv_prog_cxx_g+:} false; then :
4855 $as_echo_n "(cached) " >&6
4856 else
4857 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4858 ac_cxx_werror_flag=yes
4859 ac_cv_prog_cxx_g=no
4860 CXXFLAGS="-g"
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4865 main ()
4869 return 0;
4871 _ACEOF
4872 if ac_fn_cxx_try_compile "$LINENO"; then :
4873 ac_cv_prog_cxx_g=yes
4874 else
4875 CXXFLAGS=""
4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4877 /* end confdefs.h. */
4880 main ()
4884 return 0;
4886 _ACEOF
4887 if ac_fn_cxx_try_compile "$LINENO"; then :
4889 else
4890 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4891 CXXFLAGS="-g"
4892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4893 /* end confdefs.h. */
4896 main ()
4900 return 0;
4902 _ACEOF
4903 if ac_fn_cxx_try_compile "$LINENO"; then :
4904 ac_cv_prog_cxx_g=yes
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4911 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4914 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4915 if test "$ac_test_CXXFLAGS" = set; then
4916 CXXFLAGS=$ac_save_CXXFLAGS
4917 elif test $ac_cv_prog_cxx_g = yes; then
4918 if test "$GXX" = yes; then
4919 CXXFLAGS="-g -O2"
4920 else
4921 CXXFLAGS="-g"
4923 else
4924 if test "$GXX" = yes; then
4925 CXXFLAGS="-O2"
4926 else
4927 CXXFLAGS=
4930 ac_ext=c
4931 ac_cpp='$CPP $CPPFLAGS'
4932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4936 if test -n "$ac_tool_prefix"; then
4937 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4938 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if ${ac_cv_prog_CPPBIN+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 if test -n "$CPPBIN"; then
4945 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4946 else
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 for as_dir in $PATH
4950 IFS=$as_save_IFS
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4954 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956 break 2
4958 done
4959 done
4960 IFS=$as_save_IFS
4964 CPPBIN=$ac_cv_prog_CPPBIN
4965 if test -n "$CPPBIN"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4967 $as_echo "$CPPBIN" >&6; }
4968 else
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4975 if test -z "$ac_cv_prog_CPPBIN"; then
4976 ac_ct_CPPBIN=$CPPBIN
4977 # Extract the first word of "cpp", so it can be a program name with args.
4978 set dummy cpp; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 if test -n "$ac_ct_CPPBIN"; then
4985 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4986 else
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH
4990 IFS=$as_save_IFS
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4994 ac_cv_prog_ac_ct_CPPBIN="cpp"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 break 2
4998 done
4999 done
5000 IFS=$as_save_IFS
5004 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5005 if test -n "$ac_ct_CPPBIN"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5007 $as_echo "$ac_ct_CPPBIN" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5013 if test "x$ac_ct_CPPBIN" = x; then
5014 CPPBIN="cpp"
5015 else
5016 case $cross_compiling:$ac_tool_warned in
5017 yes:)
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned=yes ;;
5021 esac
5022 CPPBIN=$ac_ct_CPPBIN
5024 else
5025 CPPBIN="$ac_cv_prog_CPPBIN"
5029 cat >>confdefs.h <<_ACEOF
5030 #define EXEEXT "$ac_exeext"
5031 _ACEOF
5033 if test -n "$ac_tool_prefix"; then
5034 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5035 set dummy ${ac_tool_prefix}ld; ac_word=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if ${ac_cv_prog_LD+:} false; then :
5039 $as_echo_n "(cached) " >&6
5040 else
5041 if test -n "$LD"; then
5042 ac_cv_prog_LD="$LD" # Let the user override the test.
5043 else
5044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5045 for as_dir in $PATH
5047 IFS=$as_save_IFS
5048 test -z "$as_dir" && as_dir=.
5049 for ac_exec_ext in '' $ac_executable_extensions; do
5050 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5051 ac_cv_prog_LD="${ac_tool_prefix}ld"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 break 2
5055 done
5056 done
5057 IFS=$as_save_IFS
5061 LD=$ac_cv_prog_LD
5062 if test -n "$LD"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5064 $as_echo "$LD" >&6; }
5065 else
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5072 if test -z "$ac_cv_prog_LD"; then
5073 ac_ct_LD=$LD
5074 # Extract the first word of "ld", so it can be a program name with args.
5075 set dummy ld; ac_word=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5079 $as_echo_n "(cached) " >&6
5080 else
5081 if test -n "$ac_ct_LD"; then
5082 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5083 else
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5085 for as_dir in $PATH
5087 IFS=$as_save_IFS
5088 test -z "$as_dir" && as_dir=.
5089 for ac_exec_ext in '' $ac_executable_extensions; do
5090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5091 ac_cv_prog_ac_ct_LD="ld"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 break 2
5095 done
5096 done
5097 IFS=$as_save_IFS
5101 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5102 if test -n "$ac_ct_LD"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5104 $as_echo "$ac_ct_LD" >&6; }
5105 else
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5110 if test "x$ac_ct_LD" = x; then
5111 LD=""
5112 else
5113 case $cross_compiling:$ac_tool_warned in
5114 yes:)
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5117 ac_tool_warned=yes ;;
5118 esac
5119 LD=$ac_ct_LD
5121 else
5122 LD="$ac_cv_prog_LD"
5126 case $host in
5127 *-darwin*)
5128 with_fontconfig=${with_fontconfig:-no}
5130 *-mingw32*|*-cygwin*)
5131 enable_win16=${enable_win16:-no}
5132 CFLAGS="$CFLAGS -D_WIN32"
5134 esac
5136 case $host in
5137 x86_64*|amd64*)
5138 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5139 then
5140 CC="$CC -m32"
5141 CXX="$CXX -m32"
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5143 $as_echo_n "checking whether $CC works... " >&6; }
5145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5146 /* end confdefs.h. */
5149 main ()
5153 return 0;
5155 _ACEOF
5156 if ac_fn_c_try_link "$LINENO"; then :
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5158 $as_echo "yes" >&6; }
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5162 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5164 rm -f core conftest.err conftest.$ac_objext \
5165 conftest$ac_exeext conftest.$ac_ext
5166 host_cpu="i386"
5167 notice_platform="32-bit "
5168 TARGETFLAGS="-m32"
5170 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5171 export PKG_CONFIG_PATH
5172 enable_win16=${enable_win16:-yes}
5173 else
5174 if test "x${GCC}" = "xyes"
5175 then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5177 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5179 /* end confdefs.h. */
5180 #include <stdarg.h>
5182 main ()
5184 void func(__builtin_ms_va_list *args);
5186 return 0;
5188 _ACEOF
5189 if ac_fn_c_try_compile "$LINENO"; then :
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 $as_echo "yes" >&6; }
5192 else
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5195 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 CC="$CC -m64"
5200 CXX="$CXX -m64"
5201 host_cpu="x86_64"
5202 notice_platform="64-bit "
5203 TARGETFLAGS="-m64"
5207 arm*)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5209 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5212 int ac_test(int i) { return i; }
5214 main ()
5216 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5218 return 0;
5220 _ACEOF
5221 if ac_fn_c_try_link "$LINENO"; then :
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5223 $as_echo "yes" >&6; }
5224 else
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5226 $as_echo "no" >&6; }
5227 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5229 rm -f core conftest.err conftest.$ac_objext \
5230 conftest$ac_exeext conftest.$ac_ext
5231 CFLAGS="$CFLAGS -marm"
5232 TARGETFLAGS="-marm"
5235 i[3456789]86*)
5236 enable_win16=${enable_win16:-yes}
5238 esac
5240 enable_win16=${enable_win16:-no}
5241 enable_win64=${enable_win64:-no}
5243 enable_winetest=${enable_winetest:-$enable_tests}
5245 if test -n "$with_wine64"
5246 then
5247 if test "x$enable_win64" = "xyes"
5248 then
5249 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5250 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5252 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5253 You should create a separate build directory and run configure from there." "$LINENO" 5
5254 enable_fonts=${enable_fonts:-no}
5255 enable_server=${enable_server:-no}
5256 elif test "x$enable_win64" = "xyes"
5257 then
5258 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5262 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5263 if ${wine_cv_toolsdir+:} false; then :
5264 $as_echo_n "(cached) " >&6
5265 else
5266 wine_cv_toolsdir="$with_wine_tools"
5267 if test -z "$with_wine_tools"; then
5268 if test "$cross_compiling" = "yes"; then
5269 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5270 elif test -n "$with_wine64"; then
5271 wine_cv_toolsdir="$with_wine64"
5274 if test -z "$wine_cv_toolsdir"; then
5275 wine_makedep=tools/makedep
5276 wine_cv_toolsdir="\$(top_builddir)"
5277 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5278 wine_makedep=$wine_cv_toolsdir/tools/makedep
5279 case "$wine_cv_toolsdir" in
5280 /*) ;;
5281 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5282 esac
5283 enable_tools=${enable_tools:-no}
5284 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5285 else
5286 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5290 $as_echo "$wine_cv_toolsdir" >&6; }
5291 TOOLSDIR=$wine_cv_toolsdir
5293 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5294 then
5295 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5299 for ac_prog in flex
5301 # Extract the first word of "$ac_prog", so it can be a program name with args.
5302 set dummy $ac_prog; ac_word=$2
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if ${ac_cv_prog_FLEX+:} false; then :
5306 $as_echo_n "(cached) " >&6
5307 else
5308 if test -n "$FLEX"; then
5309 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5314 IFS=$as_save_IFS
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_FLEX="$ac_prog"
5319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 break 2
5322 done
5323 done
5324 IFS=$as_save_IFS
5328 FLEX=$ac_cv_prog_FLEX
5329 if test -n "$FLEX"; then
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5331 $as_echo "$FLEX" >&6; }
5332 else
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5334 $as_echo "no" >&6; }
5338 test -n "$FLEX" && break
5339 done
5340 test -n "$FLEX" || FLEX="none"
5342 if test "$FLEX" = "none"
5343 then
5344 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5347 $as_echo_n "checking whether flex is recent enough... " >&6; }
5348 cat >conftest.l <<EOF
5349 %top{
5350 #include "prediluvian.h"
5354 if $FLEX -t conftest.l >/dev/null 2>&5
5355 then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5357 $as_echo "yes" >&6; }
5358 else
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5361 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5364 for ac_prog in bison
5366 # Extract the first word of "$ac_prog", so it can be a program name with args.
5367 set dummy $ac_prog; ac_word=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_BISON+:} false; then :
5371 $as_echo_n "(cached) " >&6
5372 else
5373 if test -n "$BISON"; then
5374 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5375 else
5376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5377 for as_dir in $PATH
5379 IFS=$as_save_IFS
5380 test -z "$as_dir" && as_dir=.
5381 for ac_exec_ext in '' $ac_executable_extensions; do
5382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5383 ac_cv_prog_BISON="$ac_prog"
5384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5385 break 2
5387 done
5388 done
5389 IFS=$as_save_IFS
5393 BISON=$ac_cv_prog_BISON
5394 if test -n "$BISON"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5396 $as_echo "$BISON" >&6; }
5397 else
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5403 test -n "$BISON" && break
5404 done
5405 test -n "$BISON" || BISON="none"
5407 if test "$BISON" = "none"
5408 then
5409 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5412 if test -n "$ac_tool_prefix"; then
5413 for ac_prog in ar gar
5415 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5416 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5418 $as_echo_n "checking for $ac_word... " >&6; }
5419 if ${ac_cv_prog_AR+:} false; then :
5420 $as_echo_n "(cached) " >&6
5421 else
5422 if test -n "$AR"; then
5423 ac_cv_prog_AR="$AR" # Let the user override the test.
5424 else
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_exec_ext in '' $ac_executable_extensions; do
5431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5432 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434 break 2
5436 done
5437 done
5438 IFS=$as_save_IFS
5442 AR=$ac_cv_prog_AR
5443 if test -n "$AR"; then
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5445 $as_echo "$AR" >&6; }
5446 else
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5448 $as_echo "no" >&6; }
5452 test -n "$AR" && break
5453 done
5455 if test -z "$AR"; then
5456 ac_ct_AR=$AR
5457 for ac_prog in ar gar
5459 # Extract the first word of "$ac_prog", so it can be a program name with args.
5460 set dummy $ac_prog; 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_ac_ct_AR+:} false; then :
5464 $as_echo_n "(cached) " >&6
5465 else
5466 if test -n "$ac_ct_AR"; then
5467 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_ac_ct_AR="$ac_prog"
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 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5487 if test -n "$ac_ct_AR"; then
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5489 $as_echo "$ac_ct_AR" >&6; }
5490 else
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5492 $as_echo "no" >&6; }
5496 test -n "$ac_ct_AR" && break
5497 done
5499 if test "x$ac_ct_AR" = x; then
5500 AR="ar"
5501 else
5502 case $cross_compiling:$ac_tool_warned in
5503 yes:)
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5506 ac_tool_warned=yes ;;
5507 esac
5508 AR=$ac_ct_AR
5512 if test -n "$ac_tool_prefix"; then
5513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5514 set dummy ${ac_tool_prefix}strip; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_STRIP+:} false; then :
5518 $as_echo_n "(cached) " >&6
5519 else
5520 if test -n "$STRIP"; then
5521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5526 IFS=$as_save_IFS
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 break 2
5534 done
5535 done
5536 IFS=$as_save_IFS
5540 STRIP=$ac_cv_prog_STRIP
5541 if test -n "$STRIP"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5543 $as_echo "$STRIP" >&6; }
5544 else
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5551 if test -z "$ac_cv_prog_STRIP"; then
5552 ac_ct_STRIP=$STRIP
5553 # Extract the first word of "strip", so it can be a program name with args.
5554 set dummy strip; ac_word=$2
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5556 $as_echo_n "checking for $ac_word... " >&6; }
5557 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5558 $as_echo_n "(cached) " >&6
5559 else
5560 if test -n "$ac_ct_STRIP"; then
5561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5562 else
5563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5564 for as_dir in $PATH
5566 IFS=$as_save_IFS
5567 test -z "$as_dir" && as_dir=.
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5570 ac_cv_prog_ac_ct_STRIP="strip"
5571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5572 break 2
5574 done
5575 done
5576 IFS=$as_save_IFS
5580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5581 if test -n "$ac_ct_STRIP"; then
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5583 $as_echo "$ac_ct_STRIP" >&6; }
5584 else
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5586 $as_echo "no" >&6; }
5589 if test "x$ac_ct_STRIP" = x; then
5590 STRIP="strip"
5591 else
5592 case $cross_compiling:$ac_tool_warned in
5593 yes:)
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5596 ac_tool_warned=yes ;;
5597 esac
5598 STRIP=$ac_ct_STRIP
5600 else
5601 STRIP="$ac_cv_prog_STRIP"
5604 ARFLAGS=rc
5606 if test -n "$ac_tool_prefix"; then
5607 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5608 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5610 $as_echo_n "checking for $ac_word... " >&6; }
5611 if ${ac_cv_prog_RANLIB+:} false; then :
5612 $as_echo_n "(cached) " >&6
5613 else
5614 if test -n "$RANLIB"; then
5615 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5616 else
5617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5618 for as_dir in $PATH
5620 IFS=$as_save_IFS
5621 test -z "$as_dir" && as_dir=.
5622 for ac_exec_ext in '' $ac_executable_extensions; do
5623 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5624 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5626 break 2
5628 done
5629 done
5630 IFS=$as_save_IFS
5634 RANLIB=$ac_cv_prog_RANLIB
5635 if test -n "$RANLIB"; then
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5637 $as_echo "$RANLIB" >&6; }
5638 else
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5640 $as_echo "no" >&6; }
5645 if test -z "$ac_cv_prog_RANLIB"; then
5646 ac_ct_RANLIB=$RANLIB
5647 # Extract the first word of "ranlib", so it can be a program name with args.
5648 set dummy ranlib; ac_word=$2
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 $as_echo_n "checking for $ac_word... " >&6; }
5651 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5652 $as_echo_n "(cached) " >&6
5653 else
5654 if test -n "$ac_ct_RANLIB"; then
5655 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5656 else
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $PATH
5660 IFS=$as_save_IFS
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5664 ac_cv_prog_ac_ct_RANLIB="ranlib"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 break 2
5668 done
5669 done
5670 IFS=$as_save_IFS
5674 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5675 if test -n "$ac_ct_RANLIB"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5677 $as_echo "$ac_ct_RANLIB" >&6; }
5678 else
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680 $as_echo "no" >&6; }
5683 if test "x$ac_ct_RANLIB" = x; then
5684 RANLIB=":"
5685 else
5686 case $cross_compiling:$ac_tool_warned in
5687 yes:)
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5690 ac_tool_warned=yes ;;
5691 esac
5692 RANLIB=$ac_ct_RANLIB
5694 else
5695 RANLIB="$ac_cv_prog_RANLIB"
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5699 $as_echo_n "checking whether ln -s works... " >&6; }
5700 LN_S=$as_ln_s
5701 if test "$LN_S" = "ln -s"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5703 $as_echo "yes" >&6; }
5704 else
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5706 $as_echo "no, using $LN_S" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5710 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5711 if ${ac_cv_path_GREP+:} false; then :
5712 $as_echo_n "(cached) " >&6
5713 else
5714 if test -z "$GREP"; then
5715 ac_path_GREP_found=false
5716 # Loop through the user's path and test for each of PROGNAME-LIST
5717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5720 IFS=$as_save_IFS
5721 test -z "$as_dir" && as_dir=.
5722 for ac_prog in grep ggrep; do
5723 for ac_exec_ext in '' $ac_executable_extensions; do
5724 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5725 as_fn_executable_p "$ac_path_GREP" || continue
5726 # Check for GNU ac_path_GREP and select it if it is found.
5727 # Check for GNU $ac_path_GREP
5728 case `"$ac_path_GREP" --version 2>&1` in
5729 *GNU*)
5730 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5732 ac_count=0
5733 $as_echo_n 0123456789 >"conftest.in"
5734 while :
5736 cat "conftest.in" "conftest.in" >"conftest.tmp"
5737 mv "conftest.tmp" "conftest.in"
5738 cp "conftest.in" "conftest.nl"
5739 $as_echo 'GREP' >> "conftest.nl"
5740 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5741 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5742 as_fn_arith $ac_count + 1 && ac_count=$as_val
5743 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5744 # Best one so far, save it but keep looking for a better one
5745 ac_cv_path_GREP="$ac_path_GREP"
5746 ac_path_GREP_max=$ac_count
5748 # 10*(2^10) chars as input seems more than enough
5749 test $ac_count -gt 10 && break
5750 done
5751 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5752 esac
5754 $ac_path_GREP_found && break 3
5755 done
5756 done
5757 done
5758 IFS=$as_save_IFS
5759 if test -z "$ac_cv_path_GREP"; then
5760 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5762 else
5763 ac_cv_path_GREP=$GREP
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5768 $as_echo "$ac_cv_path_GREP" >&6; }
5769 GREP="$ac_cv_path_GREP"
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5773 $as_echo_n "checking for egrep... " >&6; }
5774 if ${ac_cv_path_EGREP+:} false; then :
5775 $as_echo_n "(cached) " >&6
5776 else
5777 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5778 then ac_cv_path_EGREP="$GREP -E"
5779 else
5780 if test -z "$EGREP"; then
5781 ac_path_EGREP_found=false
5782 # Loop through the user's path and test for each of PROGNAME-LIST
5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5786 IFS=$as_save_IFS
5787 test -z "$as_dir" && as_dir=.
5788 for ac_prog in egrep; do
5789 for ac_exec_ext in '' $ac_executable_extensions; do
5790 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5791 as_fn_executable_p "$ac_path_EGREP" || continue
5792 # Check for GNU ac_path_EGREP and select it if it is found.
5793 # Check for GNU $ac_path_EGREP
5794 case `"$ac_path_EGREP" --version 2>&1` in
5795 *GNU*)
5796 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5798 ac_count=0
5799 $as_echo_n 0123456789 >"conftest.in"
5800 while :
5802 cat "conftest.in" "conftest.in" >"conftest.tmp"
5803 mv "conftest.tmp" "conftest.in"
5804 cp "conftest.in" "conftest.nl"
5805 $as_echo 'EGREP' >> "conftest.nl"
5806 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5807 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5808 as_fn_arith $ac_count + 1 && ac_count=$as_val
5809 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5810 # Best one so far, save it but keep looking for a better one
5811 ac_cv_path_EGREP="$ac_path_EGREP"
5812 ac_path_EGREP_max=$ac_count
5814 # 10*(2^10) chars as input seems more than enough
5815 test $ac_count -gt 10 && break
5816 done
5817 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5818 esac
5820 $ac_path_EGREP_found && break 3
5821 done
5822 done
5823 done
5824 IFS=$as_save_IFS
5825 if test -z "$ac_cv_path_EGREP"; then
5826 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5828 else
5829 ac_cv_path_EGREP=$EGREP
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5835 $as_echo "$ac_cv_path_EGREP" >&6; }
5836 EGREP="$ac_cv_path_EGREP"
5839 # Extract the first word of "ldconfig", so it can be a program name with args.
5840 set dummy ldconfig; ac_word=$2
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5842 $as_echo_n "checking for $ac_word... " >&6; }
5843 if ${ac_cv_path_LDCONFIG+:} false; then :
5844 $as_echo_n "(cached) " >&6
5845 else
5846 case $LDCONFIG in
5847 [\\/]* | ?:[\\/]*)
5848 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852 for as_dir in /sbin /usr/sbin $PATH
5854 IFS=$as_save_IFS
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5858 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 break 2
5862 done
5863 done
5864 IFS=$as_save_IFS
5866 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5868 esac
5870 LDCONFIG=$ac_cv_path_LDCONFIG
5871 if test -n "$LDCONFIG"; then
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5873 $as_echo "$LDCONFIG" >&6; }
5874 else
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5876 $as_echo "no" >&6; }
5880 for ac_prog in msgfmt
5882 # Extract the first word of "$ac_prog", so it can be a program name with args.
5883 set dummy $ac_prog; ac_word=$2
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5885 $as_echo_n "checking for $ac_word... " >&6; }
5886 if ${ac_cv_prog_MSGFMT+:} false; then :
5887 $as_echo_n "(cached) " >&6
5888 else
5889 if test -n "$MSGFMT"; then
5890 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5891 else
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 for as_dir in $PATH
5895 IFS=$as_save_IFS
5896 test -z "$as_dir" && as_dir=.
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5899 ac_cv_prog_MSGFMT="$ac_prog"
5900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 break 2
5903 done
5904 done
5905 IFS=$as_save_IFS
5909 MSGFMT=$ac_cv_prog_MSGFMT
5910 if test -n "$MSGFMT"; then
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5912 $as_echo "$MSGFMT" >&6; }
5913 else
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5915 $as_echo "no" >&6; }
5919 test -n "$MSGFMT" && break
5920 done
5921 test -n "$MSGFMT" || MSGFMT="false"
5923 if ${ac_tool_prefix+:} false; then :
5924 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5925 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927 $as_echo_n "checking for $ac_word... " >&6; }
5928 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5929 $as_echo_n "(cached) " >&6
5930 else
5931 if test -n "$PKG_CONFIG"; then
5932 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5933 else
5934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5935 for as_dir in $PATH
5937 IFS=$as_save_IFS
5938 test -z "$as_dir" && as_dir=.
5939 for ac_exec_ext in '' $ac_executable_extensions; do
5940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5941 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5943 break 2
5945 done
5946 done
5947 IFS=$as_save_IFS
5951 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5952 if test -n "$PKG_CONFIG"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5954 $as_echo "$PKG_CONFIG" >&6; }
5955 else
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957 $as_echo "no" >&6; }
5962 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5963 if test "x$cross_compiling" = xyes; then :
5965 else
5966 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5967 # Extract the first word of "pkg-config", so it can be a program name with args.
5968 set dummy pkg-config; ac_word=$2
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5970 $as_echo_n "checking for $ac_word... " >&6; }
5971 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5972 $as_echo_n "(cached) " >&6
5973 else
5974 if test -n "$PKG_CONFIG"; then
5975 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5976 else
5977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978 for as_dir in $PATH
5980 IFS=$as_save_IFS
5981 test -z "$as_dir" && as_dir=.
5982 for ac_exec_ext in '' $ac_executable_extensions; do
5983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5984 ac_cv_prog_PKG_CONFIG="pkg-config"
5985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5986 break 2
5988 done
5989 done
5990 IFS=$as_save_IFS
5994 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5995 if test -n "$PKG_CONFIG"; then
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5997 $as_echo "$PKG_CONFIG" >&6; }
5998 else
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6000 $as_echo "no" >&6; }
6005 else
6006 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6009 if test "x$enable_maintainer_mode" != "xyes"
6010 then
6011 FONTFORGE=""
6012 RSVG=""
6013 CONVERT=""
6014 ICOTOOL=""
6015 else
6016 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6017 for ac_prog in fontforge
6019 # Extract the first word of "$ac_prog", so it can be a program name with args.
6020 set dummy $ac_prog; ac_word=$2
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022 $as_echo_n "checking for $ac_word... " >&6; }
6023 if ${ac_cv_prog_FONTFORGE+:} false; then :
6024 $as_echo_n "(cached) " >&6
6025 else
6026 if test -n "$FONTFORGE"; then
6027 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 test -z "$as_dir" && as_dir=.
6034 for ac_exec_ext in '' $ac_executable_extensions; do
6035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6036 ac_cv_prog_FONTFORGE="$ac_prog"
6037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 break 2
6040 done
6041 done
6042 IFS=$as_save_IFS
6046 FONTFORGE=$ac_cv_prog_FONTFORGE
6047 if test -n "$FONTFORGE"; then
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6049 $as_echo "$FONTFORGE" >&6; }
6050 else
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052 $as_echo "no" >&6; }
6056 test -n "$FONTFORGE" && break
6057 done
6058 test -n "$FONTFORGE" || FONTFORGE="false"
6060 for ac_prog in rsvg-convert rsvg
6062 # Extract the first word of "$ac_prog", so it can be a program name with args.
6063 set dummy $ac_prog; ac_word=$2
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6065 $as_echo_n "checking for $ac_word... " >&6; }
6066 if ${ac_cv_prog_RSVG+:} false; then :
6067 $as_echo_n "(cached) " >&6
6068 else
6069 if test -n "$RSVG"; then
6070 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 test -z "$as_dir" && as_dir=.
6077 for ac_exec_ext in '' $ac_executable_extensions; do
6078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6079 ac_cv_prog_RSVG="$ac_prog"
6080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6081 break 2
6083 done
6084 done
6085 IFS=$as_save_IFS
6089 RSVG=$ac_cv_prog_RSVG
6090 if test -n "$RSVG"; then
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6092 $as_echo "$RSVG" >&6; }
6093 else
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6095 $as_echo "no" >&6; }
6099 test -n "$RSVG" && break
6100 done
6101 test -n "$RSVG" || RSVG="false"
6103 for ac_prog in convert
6105 # Extract the first word of "$ac_prog", so it can be a program name with args.
6106 set dummy $ac_prog; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if ${ac_cv_prog_CONVERT+:} false; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$CONVERT"; then
6113 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6122 ac_cv_prog_CONVERT="$ac_prog"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 CONVERT=$ac_cv_prog_CONVERT
6133 if test -n "$CONVERT"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6135 $as_echo "$CONVERT" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6142 test -n "$CONVERT" && break
6143 done
6144 test -n "$CONVERT" || CONVERT="false"
6146 for ac_prog in icotool
6148 # Extract the first word of "$ac_prog", so it can be a program name with args.
6149 set dummy $ac_prog; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if ${ac_cv_prog_ICOTOOL+:} false; then :
6153 $as_echo_n "(cached) " >&6
6154 else
6155 if test -n "$ICOTOOL"; then
6156 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6161 IFS=$as_save_IFS
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_ICOTOOL="$ac_prog"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167 break 2
6169 done
6170 done
6171 IFS=$as_save_IFS
6175 ICOTOOL=$ac_cv_prog_ICOTOOL
6176 if test -n "$ICOTOOL"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6178 $as_echo "$ICOTOOL" >&6; }
6179 else
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6185 test -n "$ICOTOOL" && break
6186 done
6187 test -n "$ICOTOOL" || ICOTOOL="false"
6189 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6190 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6192 if test "$CONVERT" = false
6193 then
6194 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6195 else
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6197 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6198 convert_version=`convert --version | head -n1`
6199 if test "x$convert_version" != "x"
6200 then
6201 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6202 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6203 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6204 then
6205 CONVERT=false
6208 if test "$CONVERT" = false
6209 then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6211 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6212 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6215 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6219 if test "$ICOTOOL" = false
6220 then
6221 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6222 else
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6224 $as_echo_n "checking for recent enough icotool... " >&6; }
6225 icotool_version=`icotool --version | head -n1`
6226 if test "x$icotool_version" != "x"
6227 then
6228 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6229 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6230 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6231 then
6232 ICOTOOL=false
6233 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6236 if test "$ICOTOOL" = false
6237 then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6239 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6240 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6243 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6247 with_gettext=yes
6248 with_gettextpo=yes
6249 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6252 test "x$with_gettext" != xno || MSGFMT=false
6253 if test "$MSGFMT" != "false"
6254 then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6256 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6257 cat >conftest.po <<EOF
6258 # comment
6259 msgctxt "ctxt"
6260 msgid "id"
6261 msgstr "str"
6263 if $MSGFMT -o /dev/null conftest.po 2>&5
6264 then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6266 $as_echo "yes" >&6; }
6267 else
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
6270 MSGFMT=false
6273 if test "$MSGFMT" = false; then :
6274 case "x$with_gettext" in
6275 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6276 xno) ;;
6277 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6278 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6279 esac
6280 enable_po=${enable_po:-no}
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6285 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6286 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 ac_check_lib_save_LIBS=$LIBS
6290 LIBS="-li386 $LIBS"
6291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6294 /* Override any GCC internal prototype to avoid an error.
6295 Use char because int might match the return type of a GCC
6296 builtin and then its argument prototype would still apply. */
6297 #ifdef __cplusplus
6298 extern "C"
6299 #endif
6300 char i386_set_ldt ();
6302 main ()
6304 return i386_set_ldt ();
6306 return 0;
6308 _ACEOF
6309 if ac_fn_c_try_link "$LINENO"; then :
6310 ac_cv_lib_i386_i386_set_ldt=yes
6311 else
6312 ac_cv_lib_i386_i386_set_ldt=no
6314 rm -f core conftest.err conftest.$ac_objext \
6315 conftest$ac_exeext conftest.$ac_ext
6316 LIBS=$ac_check_lib_save_LIBS
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6319 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6320 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6321 cat >>confdefs.h <<_ACEOF
6322 #define HAVE_LIBI386 1
6323 _ACEOF
6325 LIBS="-li386 $LIBS"
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6330 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6331 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6332 $as_echo_n "(cached) " >&6
6333 else
6334 ac_check_lib_save_LIBS=$LIBS
6335 LIBS="-lossaudio $LIBS"
6336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6337 /* end confdefs.h. */
6339 /* Override any GCC internal prototype to avoid an error.
6340 Use char because int might match the return type of a GCC
6341 builtin and then its argument prototype would still apply. */
6342 #ifdef __cplusplus
6343 extern "C"
6344 #endif
6345 char _oss_ioctl ();
6347 main ()
6349 return _oss_ioctl ();
6351 return 0;
6353 _ACEOF
6354 if ac_fn_c_try_link "$LINENO"; then :
6355 ac_cv_lib_ossaudio__oss_ioctl=yes
6356 else
6357 ac_cv_lib_ossaudio__oss_ioctl=no
6359 rm -f core conftest.err conftest.$ac_objext \
6360 conftest$ac_exeext conftest.$ac_ext
6361 LIBS=$ac_check_lib_save_LIBS
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6364 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6365 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6366 cat >>confdefs.h <<_ACEOF
6367 #define HAVE_LIBOSSAUDIO 1
6368 _ACEOF
6370 LIBS="-lossaudio $LIBS"
6375 OPENGL_LIBS=""
6379 # Check whether --enable-largefile was given.
6380 if test "${enable_largefile+set}" = set; then :
6381 enableval=$enable_largefile;
6384 if test "$enable_largefile" != no; then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6387 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6388 if ${ac_cv_sys_largefile_CC+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 ac_cv_sys_largefile_CC=no
6392 if test "$GCC" != yes; then
6393 ac_save_CC=$CC
6394 while :; do
6395 # IRIX 6.2 and later do not support large files by default,
6396 # so use the C compiler's -n32 option if that helps.
6397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6398 /* end confdefs.h. */
6399 #include <sys/types.h>
6400 /* Check that off_t can represent 2**63 - 1 correctly.
6401 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6402 since some C++ compilers masquerading as C compilers
6403 incorrectly reject 9223372036854775807. */
6404 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6405 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6406 && LARGE_OFF_T % 2147483647 == 1)
6407 ? 1 : -1];
6409 main ()
6413 return 0;
6415 _ACEOF
6416 if ac_fn_c_try_compile "$LINENO"; then :
6417 break
6419 rm -f core conftest.err conftest.$ac_objext
6420 CC="$CC -n32"
6421 if ac_fn_c_try_compile "$LINENO"; then :
6422 ac_cv_sys_largefile_CC=' -n32'; break
6424 rm -f core conftest.err conftest.$ac_objext
6425 break
6426 done
6427 CC=$ac_save_CC
6428 rm -f conftest.$ac_ext
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6432 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6433 if test "$ac_cv_sys_largefile_CC" != no; then
6434 CC=$CC$ac_cv_sys_largefile_CC
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6438 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6439 if ${ac_cv_sys_file_offset_bits+:} false; then :
6440 $as_echo_n "(cached) " >&6
6441 else
6442 while :; do
6443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6444 /* end confdefs.h. */
6445 #include <sys/types.h>
6446 /* Check that off_t can represent 2**63 - 1 correctly.
6447 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6448 since some C++ compilers masquerading as C compilers
6449 incorrectly reject 9223372036854775807. */
6450 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6451 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6452 && LARGE_OFF_T % 2147483647 == 1)
6453 ? 1 : -1];
6455 main ()
6459 return 0;
6461 _ACEOF
6462 if ac_fn_c_try_compile "$LINENO"; then :
6463 ac_cv_sys_file_offset_bits=no; break
6465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6468 #define _FILE_OFFSET_BITS 64
6469 #include <sys/types.h>
6470 /* Check that off_t can represent 2**63 - 1 correctly.
6471 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6472 since some C++ compilers masquerading as C compilers
6473 incorrectly reject 9223372036854775807. */
6474 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6475 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6476 && LARGE_OFF_T % 2147483647 == 1)
6477 ? 1 : -1];
6479 main ()
6483 return 0;
6485 _ACEOF
6486 if ac_fn_c_try_compile "$LINENO"; then :
6487 ac_cv_sys_file_offset_bits=64; break
6489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6490 ac_cv_sys_file_offset_bits=unknown
6491 break
6492 done
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6495 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6496 case $ac_cv_sys_file_offset_bits in #(
6497 no | unknown) ;;
6499 cat >>confdefs.h <<_ACEOF
6500 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6501 _ACEOF
6503 esac
6504 rm -rf conftest*
6505 if test $ac_cv_sys_file_offset_bits = unknown; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6507 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6508 if ${ac_cv_sys_large_files+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 while :; do
6512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6513 /* end confdefs.h. */
6514 #include <sys/types.h>
6515 /* Check that off_t can represent 2**63 - 1 correctly.
6516 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6517 since some C++ compilers masquerading as C compilers
6518 incorrectly reject 9223372036854775807. */
6519 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6520 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6521 && LARGE_OFF_T % 2147483647 == 1)
6522 ? 1 : -1];
6524 main ()
6528 return 0;
6530 _ACEOF
6531 if ac_fn_c_try_compile "$LINENO"; then :
6532 ac_cv_sys_large_files=no; break
6534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6536 /* end confdefs.h. */
6537 #define _LARGE_FILES 1
6538 #include <sys/types.h>
6539 /* Check that off_t can represent 2**63 - 1 correctly.
6540 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6541 since some C++ compilers masquerading as C compilers
6542 incorrectly reject 9223372036854775807. */
6543 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6544 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6545 && LARGE_OFF_T % 2147483647 == 1)
6546 ? 1 : -1];
6548 main ()
6552 return 0;
6554 _ACEOF
6555 if ac_fn_c_try_compile "$LINENO"; then :
6556 ac_cv_sys_large_files=1; break
6558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6559 ac_cv_sys_large_files=unknown
6560 break
6561 done
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6564 $as_echo "$ac_cv_sys_large_files" >&6; }
6565 case $ac_cv_sys_large_files in #(
6566 no | unknown) ;;
6568 cat >>confdefs.h <<_ACEOF
6569 #define _LARGE_FILES $ac_cv_sys_large_files
6570 _ACEOF
6572 esac
6573 rm -rf conftest*
6580 ac_ext=c
6581 ac_cpp='$CPP $CPPFLAGS'
6582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6586 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6587 # On Suns, sometimes $CPP names a directory.
6588 if test -n "$CPP" && test -d "$CPP"; then
6589 CPP=
6591 if test -z "$CPP"; then
6592 if ${ac_cv_prog_CPP+:} false; then :
6593 $as_echo_n "(cached) " >&6
6594 else
6595 # Double quotes because CPP needs to be expanded
6596 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6598 ac_preproc_ok=false
6599 for ac_c_preproc_warn_flag in '' yes
6601 # Use a header file that comes with gcc, so configuring glibc
6602 # with a fresh cross-compiler works.
6603 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6604 # <limits.h> exists even on freestanding compilers.
6605 # On the NeXT, cc -E runs the code through the compiler's parser,
6606 # not just through cpp. "Syntax error" is here to catch this case.
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6609 #ifdef __STDC__
6610 # include <limits.h>
6611 #else
6612 # include <assert.h>
6613 #endif
6614 Syntax error
6615 _ACEOF
6616 if ac_fn_c_try_cpp "$LINENO"; then :
6618 else
6619 # Broken: fails on valid input.
6620 continue
6622 rm -f conftest.err conftest.i conftest.$ac_ext
6624 # OK, works on sane cases. Now check whether nonexistent headers
6625 # can be detected and how.
6626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6628 #include <ac_nonexistent.h>
6629 _ACEOF
6630 if ac_fn_c_try_cpp "$LINENO"; then :
6631 # Broken: success on invalid input.
6632 continue
6633 else
6634 # Passes both tests.
6635 ac_preproc_ok=:
6636 break
6638 rm -f conftest.err conftest.i conftest.$ac_ext
6640 done
6641 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6642 rm -f conftest.i conftest.err conftest.$ac_ext
6643 if $ac_preproc_ok; then :
6644 break
6647 done
6648 ac_cv_prog_CPP=$CPP
6651 CPP=$ac_cv_prog_CPP
6652 else
6653 ac_cv_prog_CPP=$CPP
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6656 $as_echo "$CPP" >&6; }
6657 ac_preproc_ok=false
6658 for ac_c_preproc_warn_flag in '' yes
6660 # Use a header file that comes with gcc, so configuring glibc
6661 # with a fresh cross-compiler works.
6662 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6663 # <limits.h> exists even on freestanding compilers.
6664 # On the NeXT, cc -E runs the code through the compiler's parser,
6665 # not just through cpp. "Syntax error" is here to catch this case.
6666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6667 /* end confdefs.h. */
6668 #ifdef __STDC__
6669 # include <limits.h>
6670 #else
6671 # include <assert.h>
6672 #endif
6673 Syntax error
6674 _ACEOF
6675 if ac_fn_c_try_cpp "$LINENO"; then :
6677 else
6678 # Broken: fails on valid input.
6679 continue
6681 rm -f conftest.err conftest.i conftest.$ac_ext
6683 # OK, works on sane cases. Now check whether nonexistent headers
6684 # can be detected and how.
6685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6686 /* end confdefs.h. */
6687 #include <ac_nonexistent.h>
6688 _ACEOF
6689 if ac_fn_c_try_cpp "$LINENO"; then :
6690 # Broken: success on invalid input.
6691 continue
6692 else
6693 # Passes both tests.
6694 ac_preproc_ok=:
6695 break
6697 rm -f conftest.err conftest.i conftest.$ac_ext
6699 done
6700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6701 rm -f conftest.i conftest.err conftest.$ac_ext
6702 if $ac_preproc_ok; then :
6704 else
6705 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6707 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6708 See \`config.log' for more details" "$LINENO" 5; }
6711 ac_ext=c
6712 ac_cpp='$CPP $CPPFLAGS'
6713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6719 $as_echo_n "checking for ANSI C header files... " >&6; }
6720 if ${ac_cv_header_stdc+:} false; then :
6721 $as_echo_n "(cached) " >&6
6722 else
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6725 #include <stdlib.h>
6726 #include <stdarg.h>
6727 #include <string.h>
6728 #include <float.h>
6731 main ()
6735 return 0;
6737 _ACEOF
6738 if ac_fn_c_try_compile "$LINENO"; then :
6739 ac_cv_header_stdc=yes
6740 else
6741 ac_cv_header_stdc=no
6743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6745 if test $ac_cv_header_stdc = yes; then
6746 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6748 /* end confdefs.h. */
6749 #include <string.h>
6751 _ACEOF
6752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6753 $EGREP "memchr" >/dev/null 2>&1; then :
6755 else
6756 ac_cv_header_stdc=no
6758 rm -f conftest*
6762 if test $ac_cv_header_stdc = yes; then
6763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6765 /* end confdefs.h. */
6766 #include <stdlib.h>
6768 _ACEOF
6769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6770 $EGREP "free" >/dev/null 2>&1; then :
6772 else
6773 ac_cv_header_stdc=no
6775 rm -f conftest*
6779 if test $ac_cv_header_stdc = yes; then
6780 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6781 if test "$cross_compiling" = yes; then :
6783 else
6784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6785 /* end confdefs.h. */
6786 #include <ctype.h>
6787 #include <stdlib.h>
6788 #if ((' ' & 0x0FF) == 0x020)
6789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6791 #else
6792 # define ISLOWER(c) \
6793 (('a' <= (c) && (c) <= 'i') \
6794 || ('j' <= (c) && (c) <= 'r') \
6795 || ('s' <= (c) && (c) <= 'z'))
6796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6797 #endif
6799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6801 main ()
6803 int i;
6804 for (i = 0; i < 256; i++)
6805 if (XOR (islower (i), ISLOWER (i))
6806 || toupper (i) != TOUPPER (i))
6807 return 2;
6808 return 0;
6810 _ACEOF
6811 if ac_fn_c_try_run "$LINENO"; then :
6813 else
6814 ac_cv_header_stdc=no
6816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6817 conftest.$ac_objext conftest.beam conftest.$ac_ext
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6823 $as_echo "$ac_cv_header_stdc" >&6; }
6824 if test $ac_cv_header_stdc = yes; then
6826 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6830 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6832 inttypes.h stdint.h unistd.h
6833 do :
6834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6835 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6838 cat >>confdefs.h <<_ACEOF
6839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6840 _ACEOF
6844 done
6847 for ac_header in \
6848 AL/al.h \
6849 ApplicationServices/ApplicationServices.h \
6850 AudioToolbox/AudioConverter.h \
6851 AudioUnit/AudioUnit.h \
6852 AudioUnit/AudioComponent.h \
6853 CL/cl.h \
6854 Carbon/Carbon.h \
6855 CommonCrypto/CommonDigest.h \
6856 CoreAudio/CoreAudio.h \
6857 CoreServices/CoreServices.h \
6858 DiskArbitration/DiskArbitration.h \
6859 EGL/egl.h \
6860 IOKit/IOKitLib.h \
6861 IOKit/hid/IOHIDLib.h \
6862 OpenAL/al.h \
6863 OpenCL/opencl.h \
6864 QuickTime/ImageCompression.h \
6865 Security/Security.h \
6866 alias.h \
6867 alsa/asoundlib.h \
6868 arpa/inet.h \
6869 arpa/nameser.h \
6870 asm/types.h \
6871 asm/user.h \
6872 curses.h \
6873 direct.h \
6874 dirent.h \
6875 dlfcn.h \
6876 elf.h \
6877 float.h \
6878 fnmatch.h \
6879 getopt.h \
6880 gettext-po.h \
6881 grp.h \
6882 gsm.h \
6883 gsm/gsm.h \
6884 ieeefp.h \
6885 inet/mib2.h \
6886 io.h \
6887 kstat.h \
6888 libproc.h \
6889 link.h \
6890 linux/cdrom.h \
6891 linux/compiler.h \
6892 linux/filter.h \
6893 linux/hdreg.h \
6894 linux/hidraw.h \
6895 linux/input.h \
6896 linux/ioctl.h \
6897 linux/joystick.h \
6898 linux/major.h \
6899 linux/param.h \
6900 linux/serial.h \
6901 linux/types.h \
6902 linux/ucdrom.h \
6903 lwp.h \
6904 mach-o/nlist.h \
6905 mach-o/loader.h \
6906 mach/mach.h \
6907 mach/machine.h \
6908 machine/cpu.h \
6909 machine/limits.h \
6910 machine/sysarch.h \
6911 mntent.h \
6912 ncurses.h \
6913 netdb.h \
6914 netinet/in.h \
6915 netinet/in_systm.h \
6916 netinet/tcp.h \
6917 netinet/tcp_fsm.h \
6918 pcap/pcap.h \
6919 poll.h \
6920 port.h \
6921 process.h \
6922 pthread.h \
6923 pwd.h \
6924 sched.h \
6925 scsi/scsi.h \
6926 scsi/scsi_ioctl.h \
6927 scsi/sg.h \
6928 stdbool.h \
6929 stdint.h \
6930 stropts.h \
6931 sys/asoundlib.h \
6932 sys/attr.h \
6933 sys/auxv.h \
6934 sys/cdio.h \
6935 sys/elf32.h \
6936 sys/epoll.h \
6937 sys/event.h \
6938 sys/exec_elf.h \
6939 sys/filio.h \
6940 sys/inotify.h \
6941 sys/ioctl.h \
6942 sys/ipc.h \
6943 sys/limits.h \
6944 sys/link.h \
6945 sys/mman.h \
6946 sys/modem.h \
6947 sys/msg.h \
6948 sys/mtio.h \
6949 sys/param.h \
6950 sys/poll.h \
6951 sys/prctl.h \
6952 sys/protosw.h \
6953 sys/ptrace.h \
6954 sys/queue.h \
6955 sys/resource.h \
6956 sys/scsiio.h \
6957 sys/shm.h \
6958 sys/signal.h \
6959 sys/socket.h \
6960 sys/socketvar.h \
6961 sys/sockio.h \
6962 sys/statvfs.h \
6963 sys/strtio.h \
6964 sys/syscall.h \
6965 sys/sysinfo.h \
6966 sys/tihdr.h \
6967 sys/time.h \
6968 sys/timeout.h \
6969 sys/times.h \
6970 sys/uio.h \
6971 sys/user.h \
6972 sys/utsname.h \
6973 sys/vm86.h \
6974 sys/vnode.h \
6975 sys/wait.h \
6976 syscall.h \
6977 termios.h \
6978 unistd.h \
6979 utime.h \
6980 valgrind/memcheck.h \
6981 valgrind/valgrind.h \
6982 zlib.h
6984 do :
6985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6986 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6987 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6988 cat >>confdefs.h <<_ACEOF
6989 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6990 _ACEOF
6994 done
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6997 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6998 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6999 $as_echo_n "(cached) " >&6
7000 else
7001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7002 /* end confdefs.h. */
7003 #include <sys/types.h>
7005 main ()
7007 return makedev(0, 0);
7009 return 0;
7011 _ACEOF
7012 if ac_fn_c_try_link "$LINENO"; then :
7013 ac_cv_header_sys_types_h_makedev=yes
7014 else
7015 ac_cv_header_sys_types_h_makedev=no
7017 rm -f core conftest.err conftest.$ac_objext \
7018 conftest$ac_exeext conftest.$ac_ext
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7022 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7024 if test $ac_cv_header_sys_types_h_makedev = no; then
7025 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7026 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7028 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7034 if test $ac_cv_header_sys_mkdev_h = no; then
7035 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7036 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7038 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7047 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7048 if ${ac_cv_header_stat_broken+:} false; then :
7049 $as_echo_n "(cached) " >&6
7050 else
7051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7052 /* end confdefs.h. */
7053 #include <sys/types.h>
7054 #include <sys/stat.h>
7056 #if defined S_ISBLK && defined S_IFDIR
7057 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7058 #endif
7060 #if defined S_ISBLK && defined S_IFCHR
7061 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7062 #endif
7064 #if defined S_ISLNK && defined S_IFREG
7065 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7066 #endif
7068 #if defined S_ISSOCK && defined S_IFREG
7069 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7070 #endif
7072 _ACEOF
7073 if ac_fn_c_try_compile "$LINENO"; then :
7074 ac_cv_header_stat_broken=no
7075 else
7076 ac_cv_header_stat_broken=yes
7078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7081 $as_echo "$ac_cv_header_stat_broken" >&6; }
7082 if test $ac_cv_header_stat_broken = yes; then
7084 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7090 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7091 do :
7092 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7093 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7094 #ifdef HAVE_SYS_PARAM_H
7095 # include <sys/param.h>
7096 #endif
7098 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7099 cat >>confdefs.h <<_ACEOF
7100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7101 _ACEOF
7105 done
7108 for ac_header in \
7109 netinet/ip.h \
7110 net/if.h \
7111 net/if_arp.h \
7112 net/if_dl.h \
7113 net/if_types.h \
7114 net/route.h \
7115 netinet/if_ether.h \
7116 netinet/if_inarp.h \
7117 netinet/in_pcb.h \
7118 netinet/ip_icmp.h \
7119 netinet/ip_var.h \
7120 netinet/udp.h \
7121 netipx/ipx.h \
7122 sys/un.h \
7124 do :
7125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7126 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7127 #ifdef HAVE_SYS_SOCKET_H
7128 # include <sys/socket.h>
7129 #endif
7130 #ifdef HAVE_SYS_SOCKETVAR_H
7131 # include <sys/socketvar.h>
7132 #endif
7133 #ifdef HAVE_NET_ROUTE_H
7134 # include <net/route.h>
7135 #endif
7136 #ifdef HAVE_NETINET_IN_H
7137 # include <netinet/in.h>
7138 #endif
7139 #ifdef HAVE_NETINET_IN_SYSTM_H
7140 # include <netinet/in_systm.h>
7141 #endif
7142 #ifdef HAVE_NET_IF_H
7143 # include <net/if.h>
7144 #endif
7145 #ifdef HAVE_NETINET_IP_H
7146 # include <netinet/ip.h>
7147 #endif
7149 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7150 cat >>confdefs.h <<_ACEOF
7151 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7152 _ACEOF
7156 done
7159 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7160 do :
7161 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7162 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7163 #ifdef HAVE_ALIAS_H
7164 # include <alias.h>
7165 #endif
7166 #ifdef HAVE_SYS_SOCKET_H
7167 # include <sys/socket.h>
7168 #endif
7169 #ifdef HAVE_SYS_SOCKETVAR_H
7170 # include <sys/socketvar.h>
7171 #endif
7172 #ifdef HAVE_SYS_TIMEOUT_H
7173 # include <sys/timeout.h>
7174 #endif
7175 #ifdef HAVE_NETINET_IN_H
7176 # include <netinet/in.h>
7177 #endif
7178 #ifdef HAVE_NETINET_IN_SYSTM_H
7179 # include <netinet/in_systm.h>
7180 #endif
7181 #ifdef HAVE_NETINET_IP_H
7182 # include <netinet/ip.h>
7183 #endif
7184 #ifdef HAVE_NETINET_IP_VAR_H
7185 # include <netinet/ip_var.h>
7186 #endif
7187 #ifdef HAVE_NETINET_IP_ICMP_H
7188 # include <netinet/ip_icmp.h>
7189 #endif
7190 #ifdef HAVE_NETINET_UDP_H
7191 # include <netinet/udp.h>
7192 #endif
7193 #ifdef HAVE_NETINET_TCP_H
7194 # include <netinet/tcp.h>
7195 #endif
7196 #ifdef HAVE_NETINET_TCP_TIMER_H
7197 #include <netinet/tcp_timer.h>
7198 #endif
7200 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7201 cat >>confdefs.h <<_ACEOF
7202 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7203 _ACEOF
7207 done
7210 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7211 do :
7212 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7213 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7214 #ifdef HAVE_ASM_TYPES_H
7215 # include <asm/types.h>
7216 #endif
7217 #ifdef HAVE_SYS_SOCKET_H
7218 # include <sys/socket.h>
7219 #endif
7220 #ifdef HAVE_LINUX_TYPES_H
7221 # include <linux/types.h>
7222 #endif
7224 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7225 cat >>confdefs.h <<_ACEOF
7226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7227 _ACEOF
7231 done
7234 for ac_header in mach-o/dyld_images.h
7235 do :
7236 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7237 # include <stdbool.h>
7238 #endif
7239 #ifdef HAVE_STDINT_H
7240 # include <stdint.h>
7241 #endif
7243 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7244 cat >>confdefs.h <<_ACEOF
7245 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7246 _ACEOF
7250 done
7253 for ac_header in resolv.h
7254 do :
7255 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7256 #ifdef HAVE_SYS_SOCKET_H
7257 # include <sys/socket.h>
7258 #endif
7259 #ifdef HAVE_NETINET_IN_H
7260 # include <netinet/in.h>
7261 #endif
7262 #ifdef HAVE_ARPA_NAMESER_H
7263 # include <arpa/nameser.h>
7264 #endif
7266 if test "x$ac_cv_header_resolv_h" = xyes; then :
7267 cat >>confdefs.h <<_ACEOF
7268 #define HAVE_RESOLV_H 1
7269 _ACEOF
7273 done
7276 for ac_header in ifaddrs.h
7277 do :
7278 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7280 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7281 cat >>confdefs.h <<_ACEOF
7282 #define HAVE_IFADDRS_H 1
7283 _ACEOF
7287 done
7290 for ac_header in sys/ucontext.h
7291 do :
7292 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7294 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7295 cat >>confdefs.h <<_ACEOF
7296 #define HAVE_SYS_UCONTEXT_H 1
7297 _ACEOF
7301 done
7304 for ac_header in sys/thr.h
7305 do :
7306 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7307 #ifdef HAVE_SYS_UCONTEXT_H
7308 #include <sys/ucontext.h>
7309 #endif
7311 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7312 cat >>confdefs.h <<_ACEOF
7313 #define HAVE_SYS_THR_H 1
7314 _ACEOF
7318 done
7321 for ac_header in pthread_np.h
7322 do :
7323 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7324 #include <pthread.h>
7325 #endif
7327 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7328 cat >>confdefs.h <<_ACEOF
7329 #define HAVE_PTHREAD_NP_H 1
7330 _ACEOF
7334 done
7337 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7338 do :
7339 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7341 #include <sys/time.h>
7342 #endif
7343 #include <sys/types.h>
7344 #ifdef HAVE_ASM_TYPES_H
7345 #include <asm/types.h>
7346 #endif
7348 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7349 cat >>confdefs.h <<_ACEOF
7350 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7351 _ACEOF
7355 done
7358 for ac_header in libprocstat.h
7359 do :
7360 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7361 #include <sys/param.h>
7362 #endif
7363 #ifdef HAVE_SYS_QUEUE_H
7364 #include <sys/queue.h>
7365 #endif
7366 #ifdef HAVE_SYS_SOCKET_H
7367 #include <sys/socket.h>
7368 #endif
7370 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7371 cat >>confdefs.h <<_ACEOF
7372 #define HAVE_LIBPROCSTAT_H 1
7373 _ACEOF
7377 done
7381 dlldir="\${libdir}/wine"
7383 DLLFLAGS="-D_REENTRANT"
7385 LDRPATH_INSTALL=""
7387 LDRPATH_LOCAL=""
7389 LDEXECFLAGS=""
7391 WINELOADER_LDFLAGS=""
7393 LIBEXT="so"
7394 DLLEXT=".so"
7395 IMPLIBEXT="def"
7396 # Extract the first word of "ldd", so it can be a program name with args.
7397 set dummy ldd; ac_word=$2
7398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7399 $as_echo_n "checking for $ac_word... " >&6; }
7400 if ${ac_cv_path_LDD+:} false; then :
7401 $as_echo_n "(cached) " >&6
7402 else
7403 case $LDD in
7404 [\\/]* | ?:[\\/]*)
7405 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 as_dummy="/sbin:/usr/sbin:$PATH"
7410 for as_dir in $as_dummy
7412 IFS=$as_save_IFS
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7416 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7418 break 2
7420 done
7421 done
7422 IFS=$as_save_IFS
7424 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7426 esac
7428 LDD=$ac_cv_path_LDD
7429 if test -n "$LDD"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7431 $as_echo "$LDD" >&6; }
7432 else
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}otool; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if ${ac_cv_prog_OTOOL+:} false; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$OTOOL"; then
7447 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7456 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 OTOOL=$ac_cv_prog_OTOOL
7467 if test -n "$OTOOL"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7469 $as_echo "$OTOOL" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_OTOOL"; then
7478 ac_ct_OTOOL=$OTOOL
7479 # Extract the first word of "otool", so it can be a program name with args.
7480 set dummy otool; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_OTOOL"; then
7487 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7496 ac_cv_prog_ac_ct_OTOOL="otool"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7507 if test -n "$ac_ct_OTOOL"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7509 $as_echo "$ac_ct_OTOOL" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_OTOOL" = x; then
7516 OTOOL="otool"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 OTOOL=$ac_ct_OTOOL
7526 else
7527 OTOOL="$ac_cv_prog_OTOOL"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if ${ac_cv_prog_READELF+:} false; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$READELF"; then
7539 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7548 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 READELF=$ac_cv_prog_READELF
7559 if test -n "$READELF"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7561 $as_echo "$READELF" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_READELF"; then
7570 ac_ct_READELF=$READELF
7571 # Extract the first word of "readelf", so it can be a program name with args.
7572 set dummy readelf; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_READELF"; then
7579 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_prog_ac_ct_READELF="readelf"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7599 if test -n "$ac_ct_READELF"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7601 $as_echo "$ac_ct_READELF" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_READELF" = x; then
7608 READELF="true"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 READELF=$ac_ct_READELF
7618 else
7619 READELF="$ac_cv_prog_READELF"
7622 wine_rules_file=conf$$rules.make
7623 rm -f $wine_rules_file
7624 SUBDIRS=""
7626 DISABLED_SUBDIRS=""
7628 CONFIGURE_TARGETS=""
7630 ALL_TEST_RESOURCES=""
7633 wine_fn_append_file ()
7635 as_fn_append $1 " \\$as_nl $2"
7638 wine_fn_append_rule ()
7640 $as_echo "$1" >>$wine_rules_file
7643 wine_fn_has_flag ()
7645 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7648 wine_fn_all_rules ()
7650 wine_fn_append_file SUBDIRS $ac_dir
7651 wine_fn_append_rule \
7652 "all: $ac_dir
7653 .PHONY: $ac_dir
7654 $ac_dir: dummy
7655 @cd $ac_dir && \$(MAKE)"
7658 wine_fn_install_rules ()
7660 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7662 wine_fn_append_rule \
7663 ".PHONY: $ac_dir/install $ac_dir/uninstall
7664 $ac_dir/install:: $ac_dir
7665 @cd $ac_dir && \$(MAKE) install
7666 $ac_dir/uninstall::
7667 @cd $ac_dir && \$(MAKE) uninstall
7668 install:: $ac_dir/install
7669 __uninstall__: $ac_dir/uninstall"
7671 if wine_fn_has_flag install-lib
7672 then
7673 wine_fn_append_rule \
7674 ".PHONY: $ac_dir/install-lib
7675 $ac_dir/install-lib:: $ac_dir
7676 @cd $ac_dir && \$(MAKE) install-lib
7677 install-lib:: $ac_dir/install-lib"
7680 if wine_fn_has_flag install-dev
7681 then
7682 wine_fn_append_rule \
7683 ".PHONY: $ac_dir/install-dev
7684 $ac_dir/install-dev:: $ac_dir
7685 @cd $ac_dir && \$(MAKE) install-dev
7686 install-dev:: $ac_dir/install-dev"
7690 wine_fn_clean_rules ()
7692 ac_clean=$@
7694 if wine_fn_has_flag clean
7695 then
7696 wine_fn_append_rule \
7697 "$ac_dir/clean: dummy
7698 @cd $ac_dir && \$(MAKE) clean"
7699 else
7700 wine_fn_append_rule \
7701 "$ac_dir/clean: dummy
7702 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7704 wine_fn_append_rule \
7705 "__clean__: $ac_dir/clean
7706 .PHONY: $ac_dir/clean"
7709 wine_fn_disabled_rules ()
7711 ac_clean=$@
7713 wine_fn_append_file SUBDIRS $ac_dir
7714 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7715 wine_fn_append_rule \
7716 "__clean__: $ac_dir/clean
7717 .PHONY: $ac_dir/clean
7718 $ac_dir/clean: dummy
7719 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7722 wine_fn_config_makefile ()
7724 ac_dir=$1
7725 ac_enable=$2
7726 ac_flags=$3
7728 case $ac_dir in
7729 fonts|server) test -z "$with_wine64" || return ;;
7730 esac
7731 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7732 wine_fn_disabled_rules; return
7734 wine_fn_all_rules
7735 wine_fn_install_rules
7736 wine_fn_clean_rules
7739 wine_fn_config_lib ()
7741 ac_name=$1
7742 ac_flags=$2
7743 ac_dir=dlls/$ac_name
7744 ac_deps="include"
7746 if test "x$enable_tools" = xno; then :
7748 else
7749 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7751 wine_fn_all_rules
7752 wine_fn_clean_rules
7754 wine_fn_append_rule \
7755 ".PHONY: $ac_dir/install $ac_dir/uninstall
7756 $ac_dir/install:: $ac_dir
7757 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7758 $ac_dir/uninstall::
7759 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7760 install install-dev:: $ac_dir/install
7761 __uninstall__: $ac_dir/uninstall
7762 __builddeps__: $ac_dir
7763 $ac_dir: $ac_deps"
7766 wine_fn_config_dll ()
7768 ac_name=$1
7769 ac_dir=dlls/$ac_name
7770 ac_enable=$2
7771 ac_flags=$3
7772 ac_implib=${4:-$ac_name}
7773 ac_file=$ac_dir/lib$ac_implib
7774 ac_dll=$ac_name
7775 ac_deps="include"
7776 ac_implibflags=""
7778 if test "x$enable_tools" = xno; then :
7780 else
7781 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7783 case $ac_name in
7784 *.*16) ac_implibflags=" -m16" ;;
7785 *.*) ;;
7786 *) ac_dll=$ac_dll.dll ;;
7787 esac
7789 ac_clean=
7790 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7791 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7793 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7794 if test "$ac_enable" != enable_win16
7795 then
7796 wine_fn_clean_rules $ac_clean
7797 wine_fn_append_file SUBDIRS $ac_dir
7798 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7799 else
7800 wine_fn_disabled_rules $ac_clean
7801 return
7803 else
7804 wine_fn_all_rules
7805 wine_fn_clean_rules $ac_clean
7806 wine_fn_append_rule \
7807 "$ac_dir: __builddeps__
7808 manpages htmlpages sgmlpages xmlpages::
7809 @cd $ac_dir && \$(MAKE) \$@
7810 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7811 install install-lib:: $ac_dir/install-lib
7812 __uninstall__: $ac_dir/uninstall"
7813 if test -n "$DLLEXT"
7814 then
7815 wine_fn_append_rule \
7816 "$ac_dir/install-lib:: $ac_dir
7817 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7818 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7819 $ac_dir/uninstall::
7820 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7821 else
7822 wine_fn_append_rule \
7823 "$ac_dir/install-lib:: $ac_dir
7824 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7825 $ac_dir/uninstall::
7826 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7830 if wine_fn_has_flag staticimplib
7831 then
7832 wine_fn_append_rule \
7833 "__builddeps__: $ac_file.a
7834 $ac_file.a $ac_file.cross.a: $ac_deps
7835 $ac_file.a: dummy
7836 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7837 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7838 $ac_dir/install-dev:: $ac_file.a
7839 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7840 $ac_dir/uninstall::
7841 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7842 install install-dev:: $ac_dir/install-dev
7843 __uninstall__: $ac_dir/uninstall"
7845 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7846 then
7847 wine_fn_append_rule \
7848 "__builddeps__: $ac_file.cross.a
7849 $ac_file.cross.a: dummy
7850 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7853 elif wine_fn_has_flag implib
7854 then
7855 wine_fn_append_rule \
7856 "__builddeps__: $ac_file.$IMPLIBEXT
7857 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7858 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7859 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7860 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7861 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7862 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7863 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7864 $ac_dir/uninstall::
7865 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7866 install install-dev:: $ac_dir/install-dev
7867 __uninstall__: $ac_dir/uninstall"
7868 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7869 then
7870 wine_fn_append_rule \
7871 "__builddeps__: $ac_file.cross.a
7872 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7873 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7878 wine_fn_config_program ()
7880 ac_name=$1
7881 ac_dir=programs/$ac_name
7882 ac_enable=$2
7883 ac_flags=$3
7884 ac_program=$ac_name
7886 case $ac_name in
7887 *.*) ;;
7888 *) ac_program=$ac_program.exe ;;
7889 esac
7891 ac_clean=
7892 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7893 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7895 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7896 wine_fn_disabled_rules $ac_clean; return
7899 wine_fn_all_rules
7900 wine_fn_clean_rules $ac_clean
7901 wine_fn_append_rule "$ac_dir: __builddeps__"
7903 wine_fn_has_flag install || return
7904 wine_fn_append_rule \
7905 ".PHONY: $ac_dir/install $ac_dir/uninstall
7906 install install-lib:: $ac_dir/install
7907 __uninstall__: $ac_dir/uninstall"
7909 if test -n "$DLLEXT"
7910 then
7911 wine_fn_append_rule \
7912 "$ac_dir/install:: $ac_dir
7913 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7914 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7915 $ac_dir/uninstall::
7916 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7918 if test -z "$with_wine64" && wine_fn_has_flag installbin
7919 then
7920 wine_fn_append_rule \
7921 "$ac_dir/install:: __tooldeps__
7922 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7923 $ac_dir/uninstall::
7924 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7926 else
7927 wine_fn_append_rule \
7928 "$ac_dir/install:: $ac_dir
7929 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7930 $ac_dir/uninstall::
7931 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7934 if test -z "$with_wine64" && wine_fn_has_flag manpage
7935 then
7936 wine_fn_append_rule \
7937 "$ac_dir/install:: $ac_dir
7938 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7939 $ac_dir/uninstall::
7940 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7944 wine_fn_config_test ()
7946 ac_dir=$1
7947 ac_name=$2
7948 ac_flags=$3
7950 ac_clean=
7951 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7952 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7954 if test "x$enable_tests" = xno; then :
7955 wine_fn_disabled_rules $ac_clean; return
7958 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7959 wine_fn_all_rules
7960 wine_fn_clean_rules $ac_clean
7962 wine_fn_append_rule \
7963 "$ac_dir: __builddeps__
7964 programs/winetest: $ac_dir
7965 check test: $ac_dir/test
7966 .PHONY: $ac_dir/test
7967 $ac_dir/test: dummy
7968 @cd $ac_dir && \$(MAKE) test
7969 testclean::
7970 \$(RM) $ac_dir/*.ok"
7972 if test -n "$CROSSTARGET"
7973 then
7974 wine_fn_append_rule \
7975 "crosstest: $ac_dir/crosstest
7976 .PHONY: $ac_dir/crosstest
7977 $ac_dir/crosstest: __builddeps__ dummy
7978 @cd $ac_dir && \$(MAKE) crosstest"
7982 wine_fn_config_tool ()
7984 ac_dir=$1
7985 ac_flags=$2
7986 if test "x$enable_tools" = xno; then :
7987 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7990 wine_fn_all_rules
7991 wine_fn_install_rules
7992 wine_fn_clean_rules
7994 wine_fn_append_rule "__tooldeps__: $ac_dir"
7995 wine_fn_append_rule "$ac_dir: libs/port"
7996 case $ac_dir in
7997 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7998 esac
8001 wine_fn_config_symlink ()
8003 ac_linkdir=
8004 if test "x$1" = "x-d"
8005 then
8006 ac_linkdir=$2
8007 shift; shift
8009 ac_links=$@
8010 wine_fn_append_rule \
8011 "$ac_links:
8012 @./config.status \$@"
8013 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8014 test -n "$ac_linkdir" || return
8015 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8018 wine_binary="wine"
8019 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8020 WINELOADER_PROGRAMS="$wine_binary"
8022 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8024 case $host_os in
8025 cygwin*|mingw32*)
8026 if test -n "$ac_tool_prefix"; then
8027 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8028 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8030 $as_echo_n "checking for $ac_word... " >&6; }
8031 if ${ac_cv_prog_DLLTOOL+:} false; then :
8032 $as_echo_n "(cached) " >&6
8033 else
8034 if test -n "$DLLTOOL"; then
8035 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8036 else
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8038 for as_dir in $PATH
8040 IFS=$as_save_IFS
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8044 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 break 2
8048 done
8049 done
8050 IFS=$as_save_IFS
8054 DLLTOOL=$ac_cv_prog_DLLTOOL
8055 if test -n "$DLLTOOL"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8057 $as_echo "$DLLTOOL" >&6; }
8058 else
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8060 $as_echo "no" >&6; }
8065 if test -z "$ac_cv_prog_DLLTOOL"; then
8066 ac_ct_DLLTOOL=$DLLTOOL
8067 # Extract the first word of "dlltool", so it can be a program name with args.
8068 set dummy dlltool; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8070 $as_echo_n "checking for $ac_word... " >&6; }
8071 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8072 $as_echo_n "(cached) " >&6
8073 else
8074 if test -n "$ac_ct_DLLTOOL"; then
8075 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8076 else
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8078 for as_dir in $PATH
8080 IFS=$as_save_IFS
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8084 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 break 2
8088 done
8089 done
8090 IFS=$as_save_IFS
8094 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8095 if test -n "$ac_ct_DLLTOOL"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8097 $as_echo "$ac_ct_DLLTOOL" >&6; }
8098 else
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8103 if test "x$ac_ct_DLLTOOL" = x; then
8104 DLLTOOL="false"
8105 else
8106 case $cross_compiling:$ac_tool_warned in
8107 yes:)
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8110 ac_tool_warned=yes ;;
8111 esac
8112 DLLTOOL=$ac_ct_DLLTOOL
8114 else
8115 DLLTOOL="$ac_cv_prog_DLLTOOL"
8118 LIBEXT="dll"
8119 DLLEXT=""
8120 IMPLIBEXT="a"
8121 enable_iphlpapi=${enable_iphlpapi:-no}
8122 enable_kernel32=${enable_kernel32:-no}
8123 enable_msvcrt=${enable_msvcrt:-no}
8124 enable_ntdll=${enable_ntdll:-no}
8125 enable_ws2_32=${enable_ws2_32:-no}
8126 enable_loader=${enable_loader:-no}
8127 enable_server=${enable_server:-no}
8128 with_x=${with_x:-no}
8129 with_pthread=${with_pthread:-no}
8131 crtlibs=""
8132 case $host_os in
8133 mingw32*)
8134 crtlibs="-lmsvcrt"
8135 SOCKET_LIBS="-lws2_32"
8137 esac
8139 LIBWINE_SHAREDLIB="libwine.dll"
8141 LIBWINE_IMPORTLIB="libwine.a"
8143 LIBWINE_INSTALL_LIB="libwine.dll"
8145 LIBWINE_INSTALL_DEV="libwine.a"
8147 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8149 LIBWINE_DEPENDS="wine.def"
8153 darwin*|macosx*)
8154 for ac_header in libunwind.h
8155 do :
8156 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8158 cat >>confdefs.h <<_ACEOF
8159 #define HAVE_LIBUNWIND_H 1
8160 _ACEOF
8164 done
8166 LIBEXT="dylib"
8167 DLLFLAGS="$DLLFLAGS -fPIC"
8168 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8169 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8170 COREFOUNDATION_LIBS="-framework CoreFoundation"
8172 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8174 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8176 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8178 CORESERVICES_LIBS="-framework CoreServices"
8180 APPKIT_LIBS="-framework AppKit"
8182 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8184 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8185 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8186 $as_echo_n "(cached) " >&6
8187 else
8188 ac_wine_try_cflags_saved=$CFLAGS
8189 CFLAGS="$CFLAGS -Wl,-no_pie"
8190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8191 /* end confdefs.h. */
8192 int main(int argc, char **argv) { return 0; }
8193 _ACEOF
8194 if ac_fn_c_try_link "$LINENO"; then :
8195 ac_cv_cflags__Wl__no_pie=yes
8196 else
8197 ac_cv_cflags__Wl__no_pie=no
8199 rm -f core conftest.err conftest.$ac_objext \
8200 conftest$ac_exeext conftest.$ac_ext
8201 CFLAGS=$ac_wine_try_cflags_saved
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8204 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8205 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8206 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8208 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8209 then
8210 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8213 if test "$ac_cv_header_Security_Security_h" = "yes"
8214 then
8215 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8217 ac_save_LIBS="$LIBS"
8218 LIBS="$LIBS $SECURITY_LIBS"
8219 for ac_func in SSLCopyPeerCertificates
8220 do :
8221 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8222 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8223 cat >>confdefs.h <<_ACEOF
8224 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8225 _ACEOF
8228 done
8230 LIBS="$ac_save_LIBS"
8231 with_gnutls=${with_gnutls:-no}
8233 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8234 then
8235 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8236 then
8237 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8239 else
8240 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8243 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8244 ac_save_LIBS="$LIBS"
8245 LIBS="$LIBS $COREAUDIO_LIBS"
8246 for ac_func in AUGraphAddNode
8247 do :
8248 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8249 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8250 cat >>confdefs.h <<_ACEOF
8251 #define HAVE_AUGRAPHADDNODE 1
8252 _ACEOF
8255 done
8257 LIBS="$ac_save_LIBS"
8259 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8260 then
8261 OPENAL_LIBS="-framework OpenAL"
8264 cat >>confdefs.h <<_ACEOF
8265 #define HAVE_OPENAL 1
8266 _ACEOF
8268 ac_cv_lib_openal=yes
8270 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8271 then
8272 OPENCL_LIBS="-framework OpenCL"
8274 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8276 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8277 then
8278 ac_save_LIBS="$LIBS"
8279 LIBS="$LIBS $IOKIT_LIBS"
8280 for ac_func in IOHIDManagerCreate
8281 do :
8282 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8283 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8284 cat >>confdefs.h <<_ACEOF
8285 #define HAVE_IOHIDMANAGERCREATE 1
8286 _ACEOF
8289 done
8291 LIBS="$ac_save_LIBS"
8293 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8294 then
8295 ac_save_LIBS="$LIBS"
8296 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8298 $as_echo_n "checking for the QuickTime framework... " >&6; }
8299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8300 /* end confdefs.h. */
8301 #include <QuickTime/ImageCompression.h>
8303 main ()
8305 CodecManagerVersion(NULL);
8307 return 0;
8309 _ACEOF
8310 if ac_fn_c_try_link "$LINENO"; then :
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8312 $as_echo "yes" >&6; }
8313 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8315 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8316 else
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8318 $as_echo "no" >&6; }
8319 ac_cv_header_QuickTime_ImageCompression_h=no
8321 rm -f core conftest.err conftest.$ac_objext \
8322 conftest$ac_exeext conftest.$ac_ext
8323 LIBS="$ac_save_LIBS"
8325 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8326 then
8327 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8329 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8330 then
8331 CARBON_LIBS="-framework Carbon"
8335 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8336 then
8337 ac_save_LIBS="$LIBS"
8338 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8339 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8340 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8341 enable_winemac_drv=${enable_winemac_drv:-yes}
8344 LIBS="$ac_save_LIBS"
8347 if test "x$enable_win16" = "xyes"
8348 then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8350 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8351 if test "$cross_compiling" = yes; then :
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8353 $as_echo "cross-compiling, assuming yes" >&6; }
8354 else
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8357 asm(".text\n"
8358 "bad:\tnop;nop\n"
8359 "good:\tnop;nop\n\t"
8360 ".globl _testfunc\n"
8361 "_testfunc:\tcallw good");
8362 extern void testfunc();
8364 main ()
8366 unsigned short *p = (unsigned short *)testfunc;
8367 return p[0] != 0xe866 || p[1] != 0xfffa
8369 return 0;
8371 _ACEOF
8372 if ac_fn_c_try_run "$LINENO"; then :
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8374 $as_echo "yes" >&6; }
8375 else
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8377 $as_echo "no" >&6; }
8378 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
8380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8381 conftest.$ac_objext conftest.beam conftest.$ac_ext
8386 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8388 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8390 LIBWINE_INSTALL_DEV="libwine.dylib"
8392 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8394 WINELOADER_DEPENDS="wine_info.plist"
8398 linux-android*)
8399 DLLFLAGS="$DLLFLAGS -fPIC"
8400 LDEXECFLAGS="-Wl,-pie"
8401 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8403 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8404 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8405 $as_echo_n "(cached) " >&6
8406 else
8407 ac_wine_try_cflags_saved=$CFLAGS
8408 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8411 int main(int argc, char **argv) { return 0; }
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8415 else
8416 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 CFLAGS=$ac_wine_try_cflags_saved
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8423 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8424 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8425 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8427 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8429 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8430 if eval \${$as_ac_var+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 ac_wine_try_cflags_saved=$CFLAGS
8434 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8436 /* end confdefs.h. */
8437 int main(int argc, char **argv) { return 0; }
8438 _ACEOF
8439 if ac_fn_c_try_link "$LINENO"; then :
8440 eval "$as_ac_var=yes"
8441 else
8442 eval "$as_ac_var=no"
8444 rm -f core conftest.err conftest.$ac_objext \
8445 conftest$ac_exeext conftest.$ac_ext
8446 CFLAGS=$ac_wine_try_cflags_saved
8448 eval ac_res=\$$as_ac_var
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8450 $as_echo "$ac_res" >&6; }
8451 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8452 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8453 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8454 else
8455 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8457 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8458 if eval \${$as_ac_var+:} false; then :
8459 $as_echo_n "(cached) " >&6
8460 else
8461 ac_wine_try_cflags_saved=$CFLAGS
8462 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 int main(int argc, char **argv) { return 0; }
8466 _ACEOF
8467 if ac_fn_c_try_link "$LINENO"; then :
8468 eval "$as_ac_var=yes"
8469 else
8470 eval "$as_ac_var=no"
8472 rm -f core conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
8474 CFLAGS=$ac_wine_try_cflags_saved
8476 eval ac_res=\$$as_ac_var
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8478 $as_echo "$ac_res" >&6; }
8479 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8480 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8481 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8485 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8486 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8487 $as_echo_n "(cached) " >&6
8488 else
8489 ac_wine_try_cflags_saved=$CFLAGS
8490 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8492 /* end confdefs.h. */
8493 int main(int argc, char **argv) { return 0; }
8494 _ACEOF
8495 if ac_fn_c_try_link "$LINENO"; then :
8496 ac_cv_cflags__Wl___enable_new_dtags=yes
8497 else
8498 ac_cv_cflags__Wl___enable_new_dtags=no
8500 rm -f core conftest.err conftest.$ac_objext \
8501 conftest$ac_exeext conftest.$ac_ext
8502 CFLAGS=$ac_wine_try_cflags_saved
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8505 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8506 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8507 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8510 LIBWINE_SHAREDLIB="libwine.so"
8512 LIBWINE_INSTALL_LIB="libwine.so"
8514 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8518 $as_echo_n "checking for -lEGL... " >&6; }
8519 if ${ac_cv_lib_soname_EGL+:} false; then :
8520 $as_echo_n "(cached) " >&6
8521 else
8522 ac_check_soname_save_LIBS=$LIBS
8523 LIBS="-lEGL $LIBS"
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8527 /* Override any GCC internal prototype to avoid an error.
8528 Use char because int might match the return type of a GCC
8529 builtin and then its argument prototype would still apply. */
8530 #ifdef __cplusplus
8531 extern "C"
8532 #endif
8533 char eglGetProcAddress ();
8535 main ()
8537 return eglGetProcAddress ();
8539 return 0;
8541 _ACEOF
8542 if ac_fn_c_try_link "$LINENO"; then :
8543 case "$LIBEXT" in
8544 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8545 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8546 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8547 if ${ac_cv_lib_soname_EGL:+false} :; then :
8548 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8549 fi ;;
8550 esac
8552 rm -f core conftest.err conftest.$ac_objext \
8553 conftest$ac_exeext conftest.$ac_ext
8554 LIBS=$ac_check_soname_save_LIBS
8556 if ${ac_cv_lib_soname_EGL:+false} :; then :
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8558 $as_echo "not found" >&6; }
8560 else
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8562 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8564 cat >>confdefs.h <<_ACEOF
8565 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8566 _ACEOF
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8571 $as_echo_n "checking for -lGLESv2... " >&6; }
8572 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8573 $as_echo_n "(cached) " >&6
8574 else
8575 ac_check_soname_save_LIBS=$LIBS
8576 LIBS="-lGLESv2 $LIBS"
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8580 /* Override any GCC internal prototype to avoid an error.
8581 Use char because int might match the return type of a GCC
8582 builtin and then its argument prototype would still apply. */
8583 #ifdef __cplusplus
8584 extern "C"
8585 #endif
8586 char glFlush ();
8588 main ()
8590 return glFlush ();
8592 return 0;
8594 _ACEOF
8595 if ac_fn_c_try_link "$LINENO"; then :
8596 case "$LIBEXT" in
8597 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8598 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8599 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8600 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8601 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8602 fi ;;
8603 esac
8605 rm -f core conftest.err conftest.$ac_objext \
8606 conftest$ac_exeext conftest.$ac_ext
8607 LIBS=$ac_check_soname_save_LIBS
8609 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8611 $as_echo "not found" >&6; }
8613 else
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8615 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8617 cat >>confdefs.h <<_ACEOF
8618 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8619 _ACEOF
8624 if test "x$exec_prefix" = xNONE
8625 then
8626 case $host_cpu in
8627 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8628 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8629 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8630 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8631 esac
8636 DLLFLAGS="$DLLFLAGS -fPIC"
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8638 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8639 if ${ac_cv_c_dll_gnuelf+:} false; then :
8640 $as_echo_n "(cached) " >&6
8641 else
8642 ac_wine_try_cflags_saved=$CFLAGS
8643 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8645 /* end confdefs.h. */
8646 void myfunc() {}
8647 _ACEOF
8648 if ac_fn_c_try_link "$LINENO"; then :
8649 ac_cv_c_dll_gnuelf="yes"
8650 else
8651 ac_cv_c_dll_gnuelf="no"
8653 rm -f core conftest.err conftest.$ac_objext \
8654 conftest$ac_exeext conftest.$ac_ext
8655 CFLAGS=$ac_wine_try_cflags_saved
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8658 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8659 if test "$ac_cv_c_dll_gnuelf" = "yes"
8660 then
8661 LIBWINE_LDFLAGS="-shared"
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8663 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8664 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 int main(int argc, char **argv) { return 0; }
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8675 else
8676 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8678 rm -f core conftest.err conftest.$ac_objext \
8679 conftest$ac_exeext conftest.$ac_ext
8680 CFLAGS=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8683 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8684 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8685 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8686 else
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8688 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8689 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 int main(int argc, char **argv) { return 0; }
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8700 else
8701 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8708 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8709 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8710 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8714 echo '{ global: *; };' >conftest.map
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8716 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8717 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8718 $as_echo_n "(cached) " >&6
8719 else
8720 ac_wine_try_cflags_saved=$CFLAGS
8721 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8724 int main(int argc, char **argv) { return 0; }
8725 _ACEOF
8726 if ac_fn_c_try_link "$LINENO"; then :
8727 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8728 else
8729 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8731 rm -f core conftest.err conftest.$ac_objext \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8736 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8737 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8738 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8740 rm -f conftest.map
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8743 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8744 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8745 $as_echo_n "(cached) " >&6
8746 else
8747 ac_wine_try_cflags_saved=$CFLAGS
8748 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8751 int main(int argc, char **argv) { return 0; }
8752 _ACEOF
8753 if ac_fn_c_try_link "$LINENO"; then :
8754 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8755 else
8756 ac_cv_cflags__fPIC__Wl___export_dynamic=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_cflags__fPIC__Wl___export_dynamic" >&5
8763 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8764 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8765 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8768 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8770 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8771 if eval \${$as_ac_var+:} false; then :
8772 $as_echo_n "(cached) " >&6
8773 else
8774 ac_wine_try_cflags_saved=$CFLAGS
8775 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8777 /* end confdefs.h. */
8778 int main(int argc, char **argv) { return 0; }
8779 _ACEOF
8780 if ac_fn_c_try_link "$LINENO"; then :
8781 eval "$as_ac_var=yes"
8782 else
8783 eval "$as_ac_var=no"
8785 rm -f core conftest.err conftest.$ac_objext \
8786 conftest$ac_exeext conftest.$ac_ext
8787 CFLAGS=$ac_wine_try_cflags_saved
8789 eval ac_res=\$$as_ac_var
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8791 $as_echo "$ac_res" >&6; }
8792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8793 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8794 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8795 else
8796 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8798 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8799 if eval \${$as_ac_var+:} false; then :
8800 $as_echo_n "(cached) " >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8806 int main(int argc, char **argv) { return 0; }
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 eval "$as_ac_var=yes"
8810 else
8811 eval "$as_ac_var=no"
8813 rm -f core conftest.err conftest.$ac_objext \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 eval ac_res=\$$as_ac_var
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8819 $as_echo "$ac_res" >&6; }
8820 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8821 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8822 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8827 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8828 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 ac_wine_try_cflags_saved=$CFLAGS
8832 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8835 int main(int argc, char **argv) { return 0; }
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 ac_cv_cflags__Wl___enable_new_dtags=yes
8839 else
8840 ac_cv_cflags__Wl___enable_new_dtags=no
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 CFLAGS=$ac_wine_try_cflags_saved
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8847 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8848 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8849 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8852 case $host_cpu in
8853 *i[3456789]86* | x86_64)
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8855 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8856 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8857 $as_echo_n "(cached) " >&6
8858 else
8859 ac_wine_try_cflags_saved=$CFLAGS
8860 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8863 int main(int argc, char **argv) { return 0; }
8864 _ACEOF
8865 if ac_fn_c_try_link "$LINENO"; then :
8866 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8867 else
8868 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8870 rm -f core conftest.err conftest.$ac_objext \
8871 conftest$ac_exeext conftest.$ac_ext
8872 CFLAGS=$ac_wine_try_cflags_saved
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8875 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8876 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8877 case $host_os in
8878 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8879 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8880 esac
8881 else
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8883 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8884 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8885 $as_echo_n "(cached) " >&6
8886 else
8887 ac_wine_try_cflags_saved=$CFLAGS
8888 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8890 /* end confdefs.h. */
8891 int main(int argc, char **argv) { return 0; }
8892 _ACEOF
8893 if ac_fn_c_try_link "$LINENO"; then :
8894 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8895 else
8896 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8898 rm -f core conftest.err conftest.$ac_objext \
8899 conftest$ac_exeext conftest.$ac_ext
8900 CFLAGS=$ac_wine_try_cflags_saved
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8903 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8904 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8905 case $host_os in
8906 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8907 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8908 esac
8910 # Extract the first word of "prelink", so it can be a program name with args.
8911 set dummy prelink; ac_word=$2
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8913 $as_echo_n "checking for $ac_word... " >&6; }
8914 if ${ac_cv_path_PRELINK+:} false; then :
8915 $as_echo_n "(cached) " >&6
8916 else
8917 case $PRELINK in
8918 [\\/]* | ?:[\\/]*)
8919 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8923 for as_dir in /sbin /usr/sbin $PATH
8925 IFS=$as_save_IFS
8926 test -z "$as_dir" && as_dir=.
8927 for ac_exec_ext in '' $ac_executable_extensions; do
8928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8929 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8931 break 2
8933 done
8934 done
8935 IFS=$as_save_IFS
8937 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8939 esac
8941 PRELINK=$ac_cv_path_PRELINK
8942 if test -n "$PRELINK"; then
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8944 $as_echo "$PRELINK" >&6; }
8945 else
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8947 $as_echo "no" >&6; }
8951 if test "x$PRELINK" = xfalse
8952 then
8953 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8957 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8958 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8959 $as_echo_n "(cached) " >&6
8960 else
8961 ac_wine_try_cflags_saved=$CFLAGS
8962 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8964 /* end confdefs.h. */
8965 int main(int argc, char **argv) { return 0; }
8966 _ACEOF
8967 if ac_fn_c_try_link "$LINENO"; then :
8968 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8969 else
8970 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8972 rm -f core conftest.err conftest.$ac_objext \
8973 conftest$ac_exeext conftest.$ac_ext
8974 CFLAGS=$ac_wine_try_cflags_saved
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8977 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8978 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8979 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8982 esac
8984 else
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8986 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8987 if ${ac_cv_c_dll_unixware+:} false; then :
8988 $as_echo_n "(cached) " >&6
8989 else
8990 ac_wine_try_cflags_saved=$CFLAGS
8991 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8993 /* end confdefs.h. */
8994 void myfunc() {}
8995 _ACEOF
8996 if ac_fn_c_try_link "$LINENO"; then :
8997 ac_cv_c_dll_unixware="yes"
8998 else
8999 ac_cv_c_dll_unixware="no"
9001 rm -f core conftest.err conftest.$ac_objext \
9002 conftest$ac_exeext conftest.$ac_ext
9003 CFLAGS=$ac_wine_try_cflags_saved
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9006 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9007 if test "$ac_cv_c_dll_unixware" = "yes"
9008 then
9009 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9012 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9014 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9016 LIBWINE_INSTALL_DEV="libwine.so"
9018 LIBWINE_DEPENDS="wine.map"
9021 esac
9023 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9024 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9025 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9026 enable_winemac_drv=${enable_winemac_drv:-no}
9027 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9029 CROSSTARGET=""
9031 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9032 then
9033 case "$host_cpu" in
9034 arm*)
9035 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9036 i[3456789]86*)
9037 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
9038 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9039 mingw32-gcc" ;;
9040 x86_64)
9041 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
9042 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9044 ac_prefix_list="" ;;
9045 esac
9046 for ac_prog in $ac_prefix_list
9048 # Extract the first word of "$ac_prog", so it can be a program name with args.
9049 set dummy $ac_prog; ac_word=$2
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9051 $as_echo_n "checking for $ac_word... " >&6; }
9052 if ${ac_cv_prog_CROSSCC+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 if test -n "$CROSSCC"; then
9056 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9057 else
9058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9059 for as_dir in $PATH
9061 IFS=$as_save_IFS
9062 test -z "$as_dir" && as_dir=.
9063 for ac_exec_ext in '' $ac_executable_extensions; do
9064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9065 ac_cv_prog_CROSSCC="$ac_prog"
9066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9067 break 2
9069 done
9070 done
9071 IFS=$as_save_IFS
9075 CROSSCC=$ac_cv_prog_CROSSCC
9076 if test -n "$CROSSCC"; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9078 $as_echo "$CROSSCC" >&6; }
9079 else
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9081 $as_echo "no" >&6; }
9085 test -n "$CROSSCC" && break
9086 done
9087 test -n "$CROSSCC" || CROSSCC="false"
9089 if test "$CROSSCC" != "false"
9090 then
9091 ac_save_CC="$CC"
9092 CC="$CROSSCC"
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9094 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9096 /* end confdefs.h. */
9099 main ()
9103 return 0;
9105 _ACEOF
9106 if ac_fn_c_try_compile "$LINENO"; then :
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9108 $as_echo "yes" >&6; }
9109 set x $CROSSCC
9110 shift
9111 while test $# -ge 1
9113 case "$1" in
9114 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9115 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9116 esac
9117 shift
9118 done
9119 else
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9121 $as_echo "no" >&6; }
9123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9124 CC="$ac_save_CC"
9125 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9131 if test "$ac_cv_header_pthread_h" = "yes"
9132 then
9133 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9134 if test "x$ac_cv_func_pthread_create" = xyes; then :
9136 else
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9138 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9139 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9140 $as_echo_n "(cached) " >&6
9141 else
9142 ac_check_lib_save_LIBS=$LIBS
9143 LIBS="-lpthread $LIBS"
9144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9145 /* end confdefs.h. */
9147 /* Override any GCC internal prototype to avoid an error.
9148 Use char because int might match the return type of a GCC
9149 builtin and then its argument prototype would still apply. */
9150 #ifdef __cplusplus
9151 extern "C"
9152 #endif
9153 char pthread_create ();
9155 main ()
9157 return pthread_create ();
9159 return 0;
9161 _ACEOF
9162 if ac_fn_c_try_link "$LINENO"; then :
9163 ac_cv_lib_pthread_pthread_create=yes
9164 else
9165 ac_cv_lib_pthread_pthread_create=no
9167 rm -f core conftest.err conftest.$ac_objext \
9168 conftest$ac_exeext conftest.$ac_ext
9169 LIBS=$ac_check_lib_save_LIBS
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9172 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9173 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9174 PTHREAD_LIBS="-lpthread"
9181 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9182 case "x$with_pthread" in
9183 xno) ;;
9184 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9185 Wine cannot support threads without libpthread.
9186 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9187 esac
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9193 $as_echo_n "checking for X... " >&6; }
9196 # Check whether --with-x was given.
9197 if test "${with_x+set}" = set; then :
9198 withval=$with_x;
9201 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9202 if test "x$with_x" = xno; then
9203 # The user explicitly disabled X.
9204 have_x=disabled
9205 else
9206 case $x_includes,$x_libraries in #(
9207 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9208 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9209 $as_echo_n "(cached) " >&6
9210 else
9211 # One or both of the vars are not set, and there is no cached value.
9212 ac_x_includes=no ac_x_libraries=no
9213 rm -f -r conftest.dir
9214 if mkdir conftest.dir; then
9215 cd conftest.dir
9216 cat >Imakefile <<'_ACEOF'
9217 incroot:
9218 @echo incroot='${INCROOT}'
9219 usrlibdir:
9220 @echo usrlibdir='${USRLIBDIR}'
9221 libdir:
9222 @echo libdir='${LIBDIR}'
9223 _ACEOF
9224 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9225 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9226 for ac_var in incroot usrlibdir libdir; do
9227 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9228 done
9229 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9230 for ac_extension in a so sl dylib la dll; do
9231 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9232 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9233 ac_im_usrlibdir=$ac_im_libdir; break
9235 done
9236 # Screen out bogus values from the imake configuration. They are
9237 # bogus both because they are the default anyway, and because
9238 # using them would break gcc on systems where it needs fixed includes.
9239 case $ac_im_incroot in
9240 /usr/include) ac_x_includes= ;;
9241 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9242 esac
9243 case $ac_im_usrlibdir in
9244 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9245 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9246 esac
9248 cd ..
9249 rm -f -r conftest.dir
9252 # Standard set of common directories for X headers.
9253 # Check X11 before X11Rn because it is often a symlink to the current release.
9254 ac_x_header_dirs='
9255 /usr/X11/include
9256 /usr/X11R7/include
9257 /usr/X11R6/include
9258 /usr/X11R5/include
9259 /usr/X11R4/include
9261 /usr/include/X11
9262 /usr/include/X11R7
9263 /usr/include/X11R6
9264 /usr/include/X11R5
9265 /usr/include/X11R4
9267 /usr/local/X11/include
9268 /usr/local/X11R7/include
9269 /usr/local/X11R6/include
9270 /usr/local/X11R5/include
9271 /usr/local/X11R4/include
9273 /usr/local/include/X11
9274 /usr/local/include/X11R7
9275 /usr/local/include/X11R6
9276 /usr/local/include/X11R5
9277 /usr/local/include/X11R4
9279 /usr/X386/include
9280 /usr/x386/include
9281 /usr/XFree86/include/X11
9283 /usr/include
9284 /usr/local/include
9285 /usr/unsupported/include
9286 /usr/athena/include
9287 /usr/local/x11r5/include
9288 /usr/lpp/Xamples/include
9290 /usr/openwin/include
9291 /usr/openwin/share/include'
9293 if test "$ac_x_includes" = no; then
9294 # Guess where to find include files, by looking for Xlib.h.
9295 # First, try using that file with no special directory specified.
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9298 #include <X11/Xlib.h>
9299 _ACEOF
9300 if ac_fn_c_try_cpp "$LINENO"; then :
9301 # We can compile using X headers with no special include directory.
9302 ac_x_includes=
9303 else
9304 for ac_dir in $ac_x_header_dirs; do
9305 if test -r "$ac_dir/X11/Xlib.h"; then
9306 ac_x_includes=$ac_dir
9307 break
9309 done
9311 rm -f conftest.err conftest.i conftest.$ac_ext
9312 fi # $ac_x_includes = no
9314 if test "$ac_x_libraries" = no; then
9315 # Check for the libraries.
9316 # See if we find them without any special options.
9317 # Don't add to $LIBS permanently.
9318 ac_save_LIBS=$LIBS
9319 LIBS="-lX11 $LIBS"
9320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9321 /* end confdefs.h. */
9322 #include <X11/Xlib.h>
9324 main ()
9326 XrmInitialize ()
9328 return 0;
9330 _ACEOF
9331 if ac_fn_c_try_link "$LINENO"; then :
9332 LIBS=$ac_save_LIBS
9333 # We can link X programs with no special library path.
9334 ac_x_libraries=
9335 else
9336 LIBS=$ac_save_LIBS
9337 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9339 # Don't even attempt the hair of trying to link an X program!
9340 for ac_extension in a so sl dylib la dll; do
9341 if test -r "$ac_dir/libX11.$ac_extension"; then
9342 ac_x_libraries=$ac_dir
9343 break 2
9345 done
9346 done
9348 rm -f core conftest.err conftest.$ac_objext \
9349 conftest$ac_exeext conftest.$ac_ext
9350 fi # $ac_x_libraries = no
9352 case $ac_x_includes,$ac_x_libraries in #(
9353 no,* | *,no | *\'*)
9354 # Didn't find X, or a directory has "'" in its name.
9355 ac_cv_have_x="have_x=no";; #(
9357 # Record where we found X for the cache.
9358 ac_cv_have_x="have_x=yes\
9359 ac_x_includes='$ac_x_includes'\
9360 ac_x_libraries='$ac_x_libraries'"
9361 esac
9363 ;; #(
9364 *) have_x=yes;;
9365 esac
9366 eval "$ac_cv_have_x"
9367 fi # $with_x != no
9369 if test "$have_x" != yes; then
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9371 $as_echo "$have_x" >&6; }
9372 no_x=yes
9373 else
9374 # If each of the values was on the command line, it overrides each guess.
9375 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9376 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9377 # Update the cache value to reflect the command line values.
9378 ac_cv_have_x="have_x=yes\
9379 ac_x_includes='$x_includes'\
9380 ac_x_libraries='$x_libraries'"
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9382 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9385 if test "$no_x" = yes; then
9386 # Not all programs may use this symbol, but it does not hurt to define it.
9388 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9390 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9391 else
9392 if test -n "$x_includes"; then
9393 X_CFLAGS="$X_CFLAGS -I$x_includes"
9396 # It would also be nice to do this for all -L options, not just this one.
9397 if test -n "$x_libraries"; then
9398 X_LIBS="$X_LIBS -L$x_libraries"
9399 # For Solaris; some versions of Sun CC require a space after -R and
9400 # others require no space. Words are not sufficient . . . .
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9402 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9403 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9404 ac_xsave_c_werror_flag=$ac_c_werror_flag
9405 ac_c_werror_flag=yes
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9410 main ()
9414 return 0;
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9419 $as_echo "no" >&6; }
9420 X_LIBS="$X_LIBS -R$x_libraries"
9421 else
9422 LIBS="$ac_xsave_LIBS -R $x_libraries"
9423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9427 main ()
9431 return 0;
9433 _ACEOF
9434 if ac_fn_c_try_link "$LINENO"; then :
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9436 $as_echo "yes" >&6; }
9437 X_LIBS="$X_LIBS -R $x_libraries"
9438 else
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9440 $as_echo "neither works" >&6; }
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9445 rm -f core conftest.err conftest.$ac_objext \
9446 conftest$ac_exeext conftest.$ac_ext
9447 ac_c_werror_flag=$ac_xsave_c_werror_flag
9448 LIBS=$ac_xsave_LIBS
9451 # Check for system-dependent libraries X programs must link with.
9452 # Do this before checking for the system-independent R6 libraries
9453 # (-lICE), since we may need -lsocket or whatever for X linking.
9455 if test "$ISC" = yes; then
9456 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9457 else
9458 # Martyn Johnson says this is needed for Ultrix, if the X
9459 # libraries were built with DECnet support. And Karl Berry says
9460 # the Alpha needs dnet_stub (dnet does not exist).
9461 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9465 /* Override any GCC internal prototype to avoid an error.
9466 Use char because int might match the return type of a GCC
9467 builtin and then its argument prototype would still apply. */
9468 #ifdef __cplusplus
9469 extern "C"
9470 #endif
9471 char XOpenDisplay ();
9473 main ()
9475 return XOpenDisplay ();
9477 return 0;
9479 _ACEOF
9480 if ac_fn_c_try_link "$LINENO"; then :
9482 else
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9484 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9485 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9486 $as_echo_n "(cached) " >&6
9487 else
9488 ac_check_lib_save_LIBS=$LIBS
9489 LIBS="-ldnet $LIBS"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9493 /* Override any GCC internal prototype to avoid an error.
9494 Use char because int might match the return type of a GCC
9495 builtin and then its argument prototype would still apply. */
9496 #ifdef __cplusplus
9497 extern "C"
9498 #endif
9499 char dnet_ntoa ();
9501 main ()
9503 return dnet_ntoa ();
9505 return 0;
9507 _ACEOF
9508 if ac_fn_c_try_link "$LINENO"; then :
9509 ac_cv_lib_dnet_dnet_ntoa=yes
9510 else
9511 ac_cv_lib_dnet_dnet_ntoa=no
9513 rm -f core conftest.err conftest.$ac_objext \
9514 conftest$ac_exeext conftest.$ac_ext
9515 LIBS=$ac_check_lib_save_LIBS
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9518 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9519 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9520 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9523 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9525 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9526 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9527 $as_echo_n "(cached) " >&6
9528 else
9529 ac_check_lib_save_LIBS=$LIBS
9530 LIBS="-ldnet_stub $LIBS"
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9534 /* Override any GCC internal prototype to avoid an error.
9535 Use char because int might match the return type of a GCC
9536 builtin and then its argument prototype would still apply. */
9537 #ifdef __cplusplus
9538 extern "C"
9539 #endif
9540 char dnet_ntoa ();
9542 main ()
9544 return dnet_ntoa ();
9546 return 0;
9548 _ACEOF
9549 if ac_fn_c_try_link "$LINENO"; then :
9550 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9551 else
9552 ac_cv_lib_dnet_stub_dnet_ntoa=no
9554 rm -f core conftest.err conftest.$ac_objext \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS=$ac_check_lib_save_LIBS
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9559 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9560 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9561 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 LIBS="$ac_xsave_LIBS"
9570 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9571 # to get the SysV transport functions.
9572 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9573 # needs -lnsl.
9574 # The nsl library prevents programs from opening the X display
9575 # on Irix 5.2, according to T.E. Dickey.
9576 # The functions gethostbyname, getservbyname, and inet_addr are
9577 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9578 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9579 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9583 if test $ac_cv_func_gethostbyname = no; then
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9585 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9586 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9587 $as_echo_n "(cached) " >&6
9588 else
9589 ac_check_lib_save_LIBS=$LIBS
9590 LIBS="-lnsl $LIBS"
9591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9592 /* end confdefs.h. */
9594 /* Override any GCC internal prototype to avoid an error.
9595 Use char because int might match the return type of a GCC
9596 builtin and then its argument prototype would still apply. */
9597 #ifdef __cplusplus
9598 extern "C"
9599 #endif
9600 char gethostbyname ();
9602 main ()
9604 return gethostbyname ();
9606 return 0;
9608 _ACEOF
9609 if ac_fn_c_try_link "$LINENO"; then :
9610 ac_cv_lib_nsl_gethostbyname=yes
9611 else
9612 ac_cv_lib_nsl_gethostbyname=no
9614 rm -f core conftest.err conftest.$ac_objext \
9615 conftest$ac_exeext conftest.$ac_ext
9616 LIBS=$ac_check_lib_save_LIBS
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9619 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9620 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9621 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9624 if test $ac_cv_lib_nsl_gethostbyname = no; then
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9626 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9627 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9628 $as_echo_n "(cached) " >&6
9629 else
9630 ac_check_lib_save_LIBS=$LIBS
9631 LIBS="-lbsd $LIBS"
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9635 /* Override any GCC internal prototype to avoid an error.
9636 Use char because int might match the return type of a GCC
9637 builtin and then its argument prototype would still apply. */
9638 #ifdef __cplusplus
9639 extern "C"
9640 #endif
9641 char gethostbyname ();
9643 main ()
9645 return gethostbyname ();
9647 return 0;
9649 _ACEOF
9650 if ac_fn_c_try_link "$LINENO"; then :
9651 ac_cv_lib_bsd_gethostbyname=yes
9652 else
9653 ac_cv_lib_bsd_gethostbyname=no
9655 rm -f core conftest.err conftest.$ac_objext \
9656 conftest$ac_exeext conftest.$ac_ext
9657 LIBS=$ac_check_lib_save_LIBS
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9660 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9661 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9662 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9668 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9669 # socket/setsockopt and other routines are undefined under SCO ODT
9670 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9671 # on later versions), says Simon Leinen: it contains gethostby*
9672 # variants that don't use the name server (or something). -lsocket
9673 # must be given before -lnsl if both are needed. We assume that
9674 # if connect needs -lnsl, so does gethostbyname.
9675 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9676 if test "x$ac_cv_func_connect" = xyes; then :
9680 if test $ac_cv_func_connect = no; then
9681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9682 $as_echo_n "checking for connect in -lsocket... " >&6; }
9683 if ${ac_cv_lib_socket_connect+:} false; then :
9684 $as_echo_n "(cached) " >&6
9685 else
9686 ac_check_lib_save_LIBS=$LIBS
9687 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9689 /* end confdefs.h. */
9691 /* Override any GCC internal prototype to avoid an error.
9692 Use char because int might match the return type of a GCC
9693 builtin and then its argument prototype would still apply. */
9694 #ifdef __cplusplus
9695 extern "C"
9696 #endif
9697 char connect ();
9699 main ()
9701 return connect ();
9703 return 0;
9705 _ACEOF
9706 if ac_fn_c_try_link "$LINENO"; then :
9707 ac_cv_lib_socket_connect=yes
9708 else
9709 ac_cv_lib_socket_connect=no
9711 rm -f core conftest.err conftest.$ac_objext \
9712 conftest$ac_exeext conftest.$ac_ext
9713 LIBS=$ac_check_lib_save_LIBS
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9716 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9717 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9718 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9723 # Guillermo Gomez says -lposix is necessary on A/UX.
9724 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9725 if test "x$ac_cv_func_remove" = xyes; then :
9729 if test $ac_cv_func_remove = no; then
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9731 $as_echo_n "checking for remove in -lposix... " >&6; }
9732 if ${ac_cv_lib_posix_remove+:} false; then :
9733 $as_echo_n "(cached) " >&6
9734 else
9735 ac_check_lib_save_LIBS=$LIBS
9736 LIBS="-lposix $LIBS"
9737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9738 /* end confdefs.h. */
9740 /* Override any GCC internal prototype to avoid an error.
9741 Use char because int might match the return type of a GCC
9742 builtin and then its argument prototype would still apply. */
9743 #ifdef __cplusplus
9744 extern "C"
9745 #endif
9746 char remove ();
9748 main ()
9750 return remove ();
9752 return 0;
9754 _ACEOF
9755 if ac_fn_c_try_link "$LINENO"; then :
9756 ac_cv_lib_posix_remove=yes
9757 else
9758 ac_cv_lib_posix_remove=no
9760 rm -f core conftest.err conftest.$ac_objext \
9761 conftest$ac_exeext conftest.$ac_ext
9762 LIBS=$ac_check_lib_save_LIBS
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9765 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9766 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9767 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9772 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9773 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9774 if test "x$ac_cv_func_shmat" = xyes; then :
9778 if test $ac_cv_func_shmat = no; then
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9780 $as_echo_n "checking for shmat in -lipc... " >&6; }
9781 if ${ac_cv_lib_ipc_shmat+:} false; then :
9782 $as_echo_n "(cached) " >&6
9783 else
9784 ac_check_lib_save_LIBS=$LIBS
9785 LIBS="-lipc $LIBS"
9786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9792 #ifdef __cplusplus
9793 extern "C"
9794 #endif
9795 char shmat ();
9797 main ()
9799 return shmat ();
9801 return 0;
9803 _ACEOF
9804 if ac_fn_c_try_link "$LINENO"; then :
9805 ac_cv_lib_ipc_shmat=yes
9806 else
9807 ac_cv_lib_ipc_shmat=no
9809 rm -f core conftest.err conftest.$ac_objext \
9810 conftest$ac_exeext conftest.$ac_ext
9811 LIBS=$ac_check_lib_save_LIBS
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9814 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9815 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9816 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9822 # Check for libraries that X11R6 Xt/Xaw programs need.
9823 ac_save_LDFLAGS=$LDFLAGS
9824 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9825 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9826 # check for ICE first), but we must link in the order -lSM -lICE or
9827 # we get undefined symbols. So assume we have SM if we have ICE.
9828 # These have to be linked with before -lX11, unlike the other
9829 # libraries we check for below, so use a different variable.
9830 # John Interrante, Karl Berry
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9832 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9833 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 ac_check_lib_save_LIBS=$LIBS
9837 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9844 #ifdef __cplusplus
9845 extern "C"
9846 #endif
9847 char IceConnectionNumber ();
9849 main ()
9851 return IceConnectionNumber ();
9853 return 0;
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 ac_cv_lib_ICE_IceConnectionNumber=yes
9858 else
9859 ac_cv_lib_ICE_IceConnectionNumber=no
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LIBS=$ac_check_lib_save_LIBS
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9866 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9867 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9868 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9871 LDFLAGS=$ac_save_LDFLAGS
9876 if test "$have_x" = "yes"
9877 then
9878 ac_save_CPPFLAGS="$CPPFLAGS"
9879 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9882 $as_echo_n "checking for -lX11... " >&6; }
9883 if ${ac_cv_lib_soname_X11+:} false; then :
9884 $as_echo_n "(cached) " >&6
9885 else
9886 ac_check_soname_save_LIBS=$LIBS
9887 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9894 #ifdef __cplusplus
9895 extern "C"
9896 #endif
9897 char XCreateWindow ();
9899 main ()
9901 return XCreateWindow ();
9903 return 0;
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 case "$LIBEXT" in
9908 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9909 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'` ;;
9910 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9911 if ${ac_cv_lib_soname_X11:+false} :; then :
9912 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9913 fi ;;
9914 esac
9916 rm -f core conftest.err conftest.$ac_objext \
9917 conftest$ac_exeext conftest.$ac_ext
9918 LIBS=$ac_check_soname_save_LIBS
9920 if ${ac_cv_lib_soname_X11:+false} :; then :
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9922 $as_echo "not found" >&6; }
9924 else
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9926 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9928 cat >>confdefs.h <<_ACEOF
9929 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9930 _ACEOF
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9935 $as_echo_n "checking for -lXext... " >&6; }
9936 if ${ac_cv_lib_soname_Xext+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_check_soname_save_LIBS=$LIBS
9940 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9942 /* end confdefs.h. */
9944 /* Override any GCC internal prototype to avoid an error.
9945 Use char because int might match the return type of a GCC
9946 builtin and then its argument prototype would still apply. */
9947 #ifdef __cplusplus
9948 extern "C"
9949 #endif
9950 char XextCreateExtension ();
9952 main ()
9954 return XextCreateExtension ();
9956 return 0;
9958 _ACEOF
9959 if ac_fn_c_try_link "$LINENO"; then :
9960 case "$LIBEXT" in
9961 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9962 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'` ;;
9963 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9964 if ${ac_cv_lib_soname_Xext:+false} :; then :
9965 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9966 fi ;;
9967 esac
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LIBS=$ac_check_soname_save_LIBS
9973 if ${ac_cv_lib_soname_Xext:+false} :; then :
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9975 $as_echo "not found" >&6; }
9977 else
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9979 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9981 cat >>confdefs.h <<_ACEOF
9982 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9983 _ACEOF
9985 X_LIBS="$X_LIBS -lXext"
9987 X_LIBS="$X_LIBS -lX11"
9989 for ac_header in X11/Xlib.h \
9990 X11/XKBlib.h \
9991 X11/Xutil.h \
9992 X11/Xcursor/Xcursor.h \
9993 X11/extensions/shape.h \
9994 X11/extensions/XInput.h \
9995 X11/extensions/XInput2.h \
9996 X11/extensions/XShm.h \
9997 X11/extensions/Xcomposite.h \
9998 X11/extensions/Xfixes.h \
9999 X11/extensions/Xinerama.h \
10000 X11/extensions/Xrandr.h \
10001 X11/extensions/Xrender.h \
10002 X11/extensions/xf86vmode.h \
10003 X11/extensions/xf86vmproto.h
10004 do :
10005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10007 # include <X11/Xlib.h>
10008 #endif
10009 #ifdef HAVE_X11_XUTIL_H
10010 # include <X11/Xutil.h>
10011 #endif
10013 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10014 cat >>confdefs.h <<_ACEOF
10015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10016 _ACEOF
10020 done
10023 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10024 then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10026 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10027 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10028 $as_echo_n "(cached) " >&6
10029 else
10030 ac_check_lib_save_LIBS=$LIBS
10031 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10033 /* end confdefs.h. */
10035 /* Override any GCC internal prototype to avoid an error.
10036 Use char because int might match the return type of a GCC
10037 builtin and then its argument prototype would still apply. */
10038 #ifdef __cplusplus
10039 extern "C"
10040 #endif
10041 char XkbQueryExtension ();
10043 main ()
10045 return XkbQueryExtension ();
10047 return 0;
10049 _ACEOF
10050 if ac_fn_c_try_link "$LINENO"; then :
10051 ac_cv_lib_X11_XkbQueryExtension=yes
10052 else
10053 ac_cv_lib_X11_XkbQueryExtension=no
10055 rm -f core conftest.err conftest.$ac_objext \
10056 conftest$ac_exeext conftest.$ac_ext
10057 LIBS=$ac_check_lib_save_LIBS
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10060 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10061 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10063 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10069 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10070 then
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10072 $as_echo_n "checking for -lXcursor... " >&6; }
10073 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10074 $as_echo_n "(cached) " >&6
10075 else
10076 ac_check_soname_save_LIBS=$LIBS
10077 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10079 /* end confdefs.h. */
10081 /* Override any GCC internal prototype to avoid an error.
10082 Use char because int might match the return type of a GCC
10083 builtin and then its argument prototype would still apply. */
10084 #ifdef __cplusplus
10085 extern "C"
10086 #endif
10087 char XcursorImageLoadCursor ();
10089 main ()
10091 return XcursorImageLoadCursor ();
10093 return 0;
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 case "$LIBEXT" in
10098 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10099 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'` ;;
10100 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10101 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10102 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10103 fi ;;
10104 esac
10106 rm -f core conftest.err conftest.$ac_objext \
10107 conftest$ac_exeext conftest.$ac_ext
10108 LIBS=$ac_check_soname_save_LIBS
10110 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10112 $as_echo "not found" >&6; }
10114 else
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10116 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10118 cat >>confdefs.h <<_ACEOF
10119 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10120 _ACEOF
10125 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10126 case "x$with_xcursor" in
10127 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10128 xno) ;;
10129 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10130 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10131 esac
10135 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10136 then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10138 $as_echo_n "checking for -lXi... " >&6; }
10139 if ${ac_cv_lib_soname_Xi+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 ac_check_soname_save_LIBS=$LIBS
10143 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10150 #ifdef __cplusplus
10151 extern "C"
10152 #endif
10153 char XOpenDevice ();
10155 main ()
10157 return XOpenDevice ();
10159 return 0;
10161 _ACEOF
10162 if ac_fn_c_try_link "$LINENO"; then :
10163 case "$LIBEXT" in
10164 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10165 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'` ;;
10166 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10167 if ${ac_cv_lib_soname_Xi:+false} :; then :
10168 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10169 fi ;;
10170 esac
10172 rm -f core conftest.err conftest.$ac_objext \
10173 conftest$ac_exeext conftest.$ac_ext
10174 LIBS=$ac_check_soname_save_LIBS
10176 if ${ac_cv_lib_soname_Xi:+false} :; then :
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10178 $as_echo "not found" >&6; }
10180 else
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10182 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10184 cat >>confdefs.h <<_ACEOF
10185 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10186 _ACEOF
10191 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10192 case "x$with_xinput" in
10193 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10194 xno) ;;
10195 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10196 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10197 esac
10201 if test "x$ac_cv_lib_soname_Xi" != x
10202 then
10203 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10204 case "x$with_xinput2" in
10205 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10206 xno) ;;
10207 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10208 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10209 esac
10214 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10215 then
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10217 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10218 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220 else
10221 ac_check_lib_save_LIBS=$LIBS
10222 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10229 #ifdef __cplusplus
10230 extern "C"
10231 #endif
10232 char XShmQueryExtension ();
10234 main ()
10236 return XShmQueryExtension ();
10238 return 0;
10240 _ACEOF
10241 if ac_fn_c_try_link "$LINENO"; then :
10242 ac_cv_lib_Xext_XShmQueryExtension=yes
10243 else
10244 ac_cv_lib_Xext_XShmQueryExtension=no
10246 rm -f core conftest.err conftest.$ac_objext \
10247 conftest$ac_exeext conftest.$ac_ext
10248 LIBS=$ac_check_lib_save_LIBS
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10251 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10252 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10254 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10259 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10260 case "x$with_xshm" in
10261 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10262 xno) ;;
10263 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10264 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10265 esac
10269 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10270 then
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10272 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10273 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10274 $as_echo_n "(cached) " >&6
10275 else
10276 ac_check_lib_save_LIBS=$LIBS
10277 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10281 /* Override any GCC internal prototype to avoid an error.
10282 Use char because int might match the return type of a GCC
10283 builtin and then its argument prototype would still apply. */
10284 #ifdef __cplusplus
10285 extern "C"
10286 #endif
10287 char XShapeQueryExtension ();
10289 main ()
10291 return XShapeQueryExtension ();
10293 return 0;
10295 _ACEOF
10296 if ac_fn_c_try_link "$LINENO"; then :
10297 ac_cv_lib_Xext_XShapeQueryExtension=yes
10298 else
10299 ac_cv_lib_Xext_XShapeQueryExtension=no
10301 rm -f core conftest.err conftest.$ac_objext \
10302 conftest$ac_exeext conftest.$ac_ext
10303 LIBS=$ac_check_lib_save_LIBS
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10306 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10307 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10309 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10314 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10315 case "x$with_xshape" in
10316 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10317 xno) ;;
10318 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10319 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10320 esac
10324 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10325 then
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10327 $as_echo_n "checking for -lXxf86vm... " >&6; }
10328 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10329 $as_echo_n "(cached) " >&6
10330 else
10331 ac_check_soname_save_LIBS=$LIBS
10332 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10334 /* end confdefs.h. */
10336 /* Override any GCC internal prototype to avoid an error.
10337 Use char because int might match the return type of a GCC
10338 builtin and then its argument prototype would still apply. */
10339 #ifdef __cplusplus
10340 extern "C"
10341 #endif
10342 char XF86VidModeQueryExtension ();
10344 main ()
10346 return XF86VidModeQueryExtension ();
10348 return 0;
10350 _ACEOF
10351 if ac_fn_c_try_link "$LINENO"; then :
10352 case "$LIBEXT" in
10353 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10354 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'` ;;
10355 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10356 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10357 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10358 fi ;;
10359 esac
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 LIBS=$ac_check_soname_save_LIBS
10365 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10367 $as_echo "not found" >&6; }
10369 else
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10371 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10373 cat >>confdefs.h <<_ACEOF
10374 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10375 _ACEOF
10380 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10381 case "x$with_xxf86vm" in
10382 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10383 xno) ;;
10384 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10385 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10386 esac
10390 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10391 then
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10393 $as_echo_n "checking for -lXrender... " >&6; }
10394 if ${ac_cv_lib_soname_Xrender+:} false; then :
10395 $as_echo_n "(cached) " >&6
10396 else
10397 ac_check_soname_save_LIBS=$LIBS
10398 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10400 /* end confdefs.h. */
10402 /* Override any GCC internal prototype to avoid an error.
10403 Use char because int might match the return type of a GCC
10404 builtin and then its argument prototype would still apply. */
10405 #ifdef __cplusplus
10406 extern "C"
10407 #endif
10408 char XRenderQueryExtension ();
10410 main ()
10412 return XRenderQueryExtension ();
10414 return 0;
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418 case "$LIBEXT" in
10419 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10420 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'` ;;
10421 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10422 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10423 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10424 fi ;;
10425 esac
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 LIBS=$ac_check_soname_save_LIBS
10431 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10433 $as_echo "not found" >&6; }
10435 else
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10437 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10439 cat >>confdefs.h <<_ACEOF
10440 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10441 _ACEOF
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10444 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10445 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10446 $as_echo_n "(cached) " >&6
10447 else
10448 ac_check_lib_save_LIBS=$LIBS
10449 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451 /* end confdefs.h. */
10453 /* Override any GCC internal prototype to avoid an error.
10454 Use char because int might match the return type of a GCC
10455 builtin and then its argument prototype would still apply. */
10456 #ifdef __cplusplus
10457 extern "C"
10458 #endif
10459 char XRenderSetPictureTransform ();
10461 main ()
10463 return XRenderSetPictureTransform ();
10465 return 0;
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10470 else
10471 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 LIBS=$ac_check_lib_save_LIBS
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10478 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10479 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10481 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10486 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10487 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10488 $as_echo_n "(cached) " >&6
10489 else
10490 ac_check_lib_save_LIBS=$LIBS
10491 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10493 /* end confdefs.h. */
10495 /* Override any GCC internal prototype to avoid an error.
10496 Use char because int might match the return type of a GCC
10497 builtin and then its argument prototype would still apply. */
10498 #ifdef __cplusplus
10499 extern "C"
10500 #endif
10501 char XRenderCreateLinearGradient ();
10503 main ()
10505 return XRenderCreateLinearGradient ();
10507 return 0;
10509 _ACEOF
10510 if ac_fn_c_try_link "$LINENO"; then :
10511 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10512 else
10513 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10515 rm -f core conftest.err conftest.$ac_objext \
10516 conftest$ac_exeext conftest.$ac_ext
10517 LIBS=$ac_check_lib_save_LIBS
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10520 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10521 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10523 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10530 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10531 case "x$with_xrender" in
10532 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10533 xno) ;;
10534 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10535 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10536 esac
10540 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10541 then
10542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10543 /* end confdefs.h. */
10544 #include <X11/Xlib.h>
10545 #include <X11/extensions/Xrandr.h>
10547 main ()
10549 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10551 return 0;
10553 _ACEOF
10554 if ac_fn_c_try_compile "$LINENO"; then :
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10556 $as_echo_n "checking for -lXrandr... " >&6; }
10557 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10558 $as_echo_n "(cached) " >&6
10559 else
10560 ac_check_soname_save_LIBS=$LIBS
10561 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10563 /* end confdefs.h. */
10565 /* Override any GCC internal prototype to avoid an error.
10566 Use char because int might match the return type of a GCC
10567 builtin and then its argument prototype would still apply. */
10568 #ifdef __cplusplus
10569 extern "C"
10570 #endif
10571 char XRRQueryExtension ();
10573 main ()
10575 return XRRQueryExtension ();
10577 return 0;
10579 _ACEOF
10580 if ac_fn_c_try_link "$LINENO"; then :
10581 case "$LIBEXT" in
10582 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10583 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'` ;;
10584 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10585 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10586 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10587 fi ;;
10588 esac
10590 rm -f core conftest.err conftest.$ac_objext \
10591 conftest$ac_exeext conftest.$ac_ext
10592 LIBS=$ac_check_soname_save_LIBS
10594 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10596 $as_echo "not found" >&6; }
10598 else
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10600 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10602 cat >>confdefs.h <<_ACEOF
10603 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10604 _ACEOF
10606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10607 /* end confdefs.h. */
10608 #include <X11/Xlib.h>
10609 #include <X11/extensions/Xrandr.h>
10611 main ()
10613 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10615 return 0;
10617 _ACEOF
10618 if ac_fn_c_try_compile "$LINENO"; then :
10620 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10628 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10629 case "x$with_xrandr" in
10630 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10631 xno) ;;
10632 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10633 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10634 esac
10638 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10639 then
10640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10641 /* end confdefs.h. */
10642 #include <X11/Xlib.h>
10643 #include <X11/extensions/Xfixes.h>
10645 main ()
10647 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10649 return 0;
10651 _ACEOF
10652 if ac_fn_c_try_compile "$LINENO"; then :
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10654 $as_echo_n "checking for -lXfixes... " >&6; }
10655 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10656 $as_echo_n "(cached) " >&6
10657 else
10658 ac_check_soname_save_LIBS=$LIBS
10659 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char XFixesQueryVersion ();
10671 main ()
10673 return XFixesQueryVersion ();
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_link "$LINENO"; then :
10679 case "$LIBEXT" in
10680 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10681 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10682 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10683 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10684 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10685 fi ;;
10686 esac
10688 rm -f core conftest.err conftest.$ac_objext \
10689 conftest$ac_exeext conftest.$ac_ext
10690 LIBS=$ac_check_soname_save_LIBS
10692 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10694 $as_echo "not found" >&6; }
10696 else
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10698 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10700 cat >>confdefs.h <<_ACEOF
10701 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10702 _ACEOF
10707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10709 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10710 case "x$with_xfixes" in
10711 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10712 xno) ;;
10713 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10714 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10715 esac
10719 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10720 then
10721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10722 /* end confdefs.h. */
10723 #include <X11/Xlib.h>
10724 #include <X11/extensions/Xinerama.h>
10726 main ()
10728 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10730 return 0;
10732 _ACEOF
10733 if ac_fn_c_try_compile "$LINENO"; then :
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10735 $as_echo_n "checking for -lXinerama... " >&6; }
10736 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10737 $as_echo_n "(cached) " >&6
10738 else
10739 ac_check_soname_save_LIBS=$LIBS
10740 LIBS="-lXinerama $X_LIBS $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 XineramaQueryScreens ();
10752 main ()
10754 return XineramaQueryScreens ();
10756 return 0;
10758 _ACEOF
10759 if ac_fn_c_try_link "$LINENO"; then :
10760 case "$LIBEXT" in
10761 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10762 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'` ;;
10763 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10764 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10765 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$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_Xinerama:+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_Xinerama" >&5
10779 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10781 cat >>confdefs.h <<_ACEOF
10782 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10783 _ACEOF
10788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10790 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10791 case "x$with_xinerama" in
10792 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10793 xno) ;;
10794 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10795 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10796 esac
10800 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10801 then
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10803 $as_echo_n "checking for -lXcomposite... " >&6; }
10804 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 ac_check_soname_save_LIBS=$LIBS
10808 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10812 /* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10815 #ifdef __cplusplus
10816 extern "C"
10817 #endif
10818 char XCompositeRedirectWindow ();
10820 main ()
10822 return XCompositeRedirectWindow ();
10824 return 0;
10826 _ACEOF
10827 if ac_fn_c_try_link "$LINENO"; then :
10828 case "$LIBEXT" in
10829 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10830 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'` ;;
10831 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10832 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10833 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10834 fi ;;
10835 esac
10837 rm -f core conftest.err conftest.$ac_objext \
10838 conftest$ac_exeext conftest.$ac_ext
10839 LIBS=$ac_check_soname_save_LIBS
10841 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10843 $as_echo "not found" >&6; }
10845 else
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10847 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10849 cat >>confdefs.h <<_ACEOF
10850 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10851 _ACEOF
10856 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10857 case "x$with_xcomposite" in
10858 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10859 xno) ;;
10860 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10861 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10862 esac
10866 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10867 #include <X11/Xlib.h>
10868 #endif
10870 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10872 cat >>confdefs.h <<_ACEOF
10873 #define HAVE_XICCALLBACK_CALLBACK 1
10874 _ACEOF
10878 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10879 #include <X11/Xlib.h>
10880 #endif
10882 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10884 cat >>confdefs.h <<_ACEOF
10885 #define HAVE_XEVENT_XCOOKIE 1
10886 _ACEOF
10893 opengl_msg=""
10894 if test "x$with_opengl" != "xno"
10895 then
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10897 $as_echo_n "checking for -lGL... " >&6; }
10898 if ${ac_cv_lib_soname_GL+:} false; then :
10899 $as_echo_n "(cached) " >&6
10900 else
10901 ac_check_soname_save_LIBS=$LIBS
10902 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904 /* end confdefs.h. */
10906 /* Override any GCC internal prototype to avoid an error.
10907 Use char because int might match the return type of a GCC
10908 builtin and then its argument prototype would still apply. */
10909 #ifdef __cplusplus
10910 extern "C"
10911 #endif
10912 char glXCreateContext ();
10914 main ()
10916 return glXCreateContext ();
10918 return 0;
10920 _ACEOF
10921 if ac_fn_c_try_link "$LINENO"; then :
10922 case "$LIBEXT" in
10923 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10924 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'` ;;
10925 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10926 if ${ac_cv_lib_soname_GL:+false} :; then :
10927 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10928 fi ;;
10929 esac
10931 rm -f core conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LIBS=$ac_check_soname_save_LIBS
10935 if ${ac_cv_lib_soname_GL:+false} :; then :
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10937 $as_echo "not found" >&6; }
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10939 $as_echo_n "checking for -lGL... " >&6; }
10940 if ${ac_cv_lib_soname_GL+:} false; then :
10941 $as_echo_n "(cached) " >&6
10942 else
10943 ac_check_soname_save_LIBS=$LIBS
10944 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"
10945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10946 /* end confdefs.h. */
10948 /* Override any GCC internal prototype to avoid an error.
10949 Use char because int might match the return type of a GCC
10950 builtin and then its argument prototype would still apply. */
10951 #ifdef __cplusplus
10952 extern "C"
10953 #endif
10954 char glXCreateContext ();
10956 main ()
10958 return glXCreateContext ();
10960 return 0;
10962 _ACEOF
10963 if ac_fn_c_try_link "$LINENO"; then :
10964 case "$LIBEXT" in
10965 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10966 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'` ;;
10967 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10968 if ${ac_cv_lib_soname_GL:+false} :; then :
10969 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10970 fi ;;
10971 esac
10973 rm -f core conftest.err conftest.$ac_objext \
10974 conftest$ac_exeext conftest.$ac_ext
10975 LIBS=$ac_check_soname_save_LIBS
10977 if ${ac_cv_lib_soname_GL:+false} :; then :
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10979 $as_echo "not found" >&6; }
10980 if test -f /usr/X11R6/lib/libGL.a
10981 then
10982 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10983 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10984 else
10985 opengl_msg="No OpenGL library found on this system."
10987 else
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10989 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10991 cat >>confdefs.h <<_ACEOF
10992 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10993 _ACEOF
10995 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"
10997 else
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10999 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11001 cat >>confdefs.h <<_ACEOF
11002 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11003 _ACEOF
11005 OPENGL_LIBS="-lGL"
11007 if test "x$with_glu" != "xno"
11008 then
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11010 $as_echo_n "checking for -lGLU... " >&6; }
11011 if ${ac_cv_lib_soname_GLU+:} false; then :
11012 $as_echo_n "(cached) " >&6
11013 else
11014 ac_check_soname_save_LIBS=$LIBS
11015 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11017 /* end confdefs.h. */
11019 /* Override any GCC internal prototype to avoid an error.
11020 Use char because int might match the return type of a GCC
11021 builtin and then its argument prototype would still apply. */
11022 #ifdef __cplusplus
11023 extern "C"
11024 #endif
11025 char gluLookAt ();
11027 main ()
11029 return gluLookAt ();
11031 return 0;
11033 _ACEOF
11034 if ac_fn_c_try_link "$LINENO"; then :
11035 case "$LIBEXT" in
11036 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11037 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11038 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11039 if ${ac_cv_lib_soname_GLU:+false} :; then :
11040 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11041 fi ;;
11042 esac
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_soname_save_LIBS
11048 if ${ac_cv_lib_soname_GLU:+false} :; then :
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11050 $as_echo "not found" >&6; }
11052 else
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11054 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11056 cat >>confdefs.h <<_ACEOF
11057 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11058 _ACEOF
11062 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11063 case "x$with_glu" in
11064 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11065 xno) ;;
11066 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11067 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11068 esac
11073 if test "x$with_osmesa" != "xno"
11074 then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11076 $as_echo_n "checking for -lOSMesa... " >&6; }
11077 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11078 $as_echo_n "(cached) " >&6
11079 else
11080 ac_check_soname_save_LIBS=$LIBS
11081 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11083 /* end confdefs.h. */
11085 /* Override any GCC internal prototype to avoid an error.
11086 Use char because int might match the return type of a GCC
11087 builtin and then its argument prototype would still apply. */
11088 #ifdef __cplusplus
11089 extern "C"
11090 #endif
11091 char OSMesaGetProcAddress ();
11093 main ()
11095 return OSMesaGetProcAddress ();
11097 return 0;
11099 _ACEOF
11100 if ac_fn_c_try_link "$LINENO"; then :
11101 case "$LIBEXT" in
11102 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11103 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'` ;;
11104 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11105 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11106 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11107 fi ;;
11108 esac
11110 rm -f core conftest.err conftest.$ac_objext \
11111 conftest$ac_exeext conftest.$ac_ext
11112 LIBS=$ac_check_soname_save_LIBS
11114 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11116 $as_echo "not found" >&6; }
11118 else
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11120 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11122 cat >>confdefs.h <<_ACEOF
11123 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11124 _ACEOF
11128 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11129 case "x$with_osmesa" in
11130 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11131 xno) ;;
11132 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11133 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11134 esac
11139 if test -n "$opengl_msg"; then :
11140 case "x$with_opengl" in
11141 x) as_fn_append wine_warnings "|$opengl_msg
11142 OpenGL and Direct3D won't be supported." ;;
11143 xno) ;;
11144 *) as_fn_error $? "$opengl_msg
11145 OpenGL and Direct3D won't be supported.
11146 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11147 esac
11151 CPPFLAGS="$ac_save_CPPFLAGS"
11152 else
11153 X_CFLAGS=""
11154 X_LIBS=""
11157 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11158 then
11159 if test "x$X_LIBS" = "x"; then :
11160 case "x$with_x" in
11161 xno) ;;
11162 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11163 without X support, which probably isn't what you want. You will need
11164 to install ${notice_platform}development packages of Xlib at the very least.
11165 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11166 esac
11167 enable_winex11_drv=${enable_winex11_drv:-no}
11169 else
11170 if test "x$X_LIBS" = "x"; then :
11171 case "x$with_x" in
11172 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11173 xno) ;;
11174 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11175 This is an error since --with-x was requested." "$LINENO" 5 ;;
11176 esac
11177 enable_winex11_drv=${enable_winex11_drv:-no}
11181 if test "$ac_cv_header_CL_cl_h" = "yes"
11182 then
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11184 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11185 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11186 $as_echo_n "(cached) " >&6
11187 else
11188 ac_check_lib_save_LIBS=$LIBS
11189 LIBS="-lOpenCL $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 clGetPlatformInfo ();
11201 main ()
11203 return clGetPlatformInfo ();
11205 return 0;
11207 _ACEOF
11208 if ac_fn_c_try_link "$LINENO"; then :
11209 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11210 else
11211 ac_cv_lib_OpenCL_clGetPlatformInfo=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_OpenCL_clGetPlatformInfo" >&5
11218 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11219 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11220 OPENCL_LIBS="-lOpenCL"
11225 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11226 case "x$with_opencl" in
11227 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11228 xno) ;;
11229 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11230 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11231 esac
11232 enable_opencl=${enable_opencl:-no}
11235 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11236 then
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11238 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11239 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11240 $as_echo_n "(cached) " >&6
11241 else
11242 ac_check_lib_save_LIBS=$LIBS
11243 LIBS="-lpcap $LIBS"
11244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11245 /* end confdefs.h. */
11247 /* Override any GCC internal prototype to avoid an error.
11248 Use char because int might match the return type of a GCC
11249 builtin and then its argument prototype would still apply. */
11250 #ifdef __cplusplus
11251 extern "C"
11252 #endif
11253 char pcap_create ();
11255 main ()
11257 return pcap_create ();
11259 return 0;
11261 _ACEOF
11262 if ac_fn_c_try_link "$LINENO"; then :
11263 ac_cv_lib_pcap_pcap_create=yes
11264 else
11265 ac_cv_lib_pcap_pcap_create=no
11267 rm -f core conftest.err conftest.$ac_objext \
11268 conftest$ac_exeext conftest.$ac_ext
11269 LIBS=$ac_check_lib_save_LIBS
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11272 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11273 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11274 PCAP_LIBS="-lpcap"
11279 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11280 case "x$with_pcap" in
11281 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11282 xno) ;;
11283 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11284 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11285 esac
11286 enable_wpcap=${enable_wpcap:-no}
11290 if test "x$with_xml" != "xno"
11291 then
11292 if ${XML2_CFLAGS:+false} :; then :
11293 if ${PKG_CONFIG+:} false; then :
11294 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11297 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11298 if ${XML2_LIBS:+false} :; then :
11299 if ${PKG_CONFIG+:} false; then :
11300 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11303 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11304 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11305 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11306 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11307 ac_save_CPPFLAGS=$CPPFLAGS
11308 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11309 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11310 do :
11311 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11312 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11313 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11314 cat >>confdefs.h <<_ACEOF
11315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11316 _ACEOF
11320 done
11322 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"
11323 then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11325 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11326 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-lxml2 $XML2_LIBS $LIBS"
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char xmlParseMemory ();
11342 main ()
11344 return xmlParseMemory ();
11346 return 0;
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_xml2_xmlParseMemory=yes
11351 else
11352 ac_cv_lib_xml2_xmlParseMemory=no
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11359 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11360 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11362 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11364 else
11365 XML2_LIBS=""
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11369 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11370 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11371 $as_echo_n "(cached) " >&6
11372 else
11373 ac_check_lib_save_LIBS=$LIBS
11374 LIBS="-lxml2 $XML2_LIBS $LIBS"
11375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11378 /* Override any GCC internal prototype to avoid an error.
11379 Use char because int might match the return type of a GCC
11380 builtin and then its argument prototype would still apply. */
11381 #ifdef __cplusplus
11382 extern "C"
11383 #endif
11384 char xmlReadMemory ();
11386 main ()
11388 return xmlReadMemory ();
11390 return 0;
11392 _ACEOF
11393 if ac_fn_c_try_link "$LINENO"; then :
11394 ac_cv_lib_xml2_xmlReadMemory=yes
11395 else
11396 ac_cv_lib_xml2_xmlReadMemory=no
11398 rm -f core conftest.err conftest.$ac_objext \
11399 conftest$ac_exeext conftest.$ac_ext
11400 LIBS=$ac_check_lib_save_LIBS
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11403 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11404 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11406 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11411 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11412 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11413 $as_echo_n "(cached) " >&6
11414 else
11415 ac_check_lib_save_LIBS=$LIBS
11416 LIBS="-lxml2 $XML2_LIBS $LIBS"
11417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11418 /* end confdefs.h. */
11420 /* Override any GCC internal prototype to avoid an error.
11421 Use char because int might match the return type of a GCC
11422 builtin and then its argument prototype would still apply. */
11423 #ifdef __cplusplus
11424 extern "C"
11425 #endif
11426 char xmlNewDocPI ();
11428 main ()
11430 return xmlNewDocPI ();
11432 return 0;
11434 _ACEOF
11435 if ac_fn_c_try_link "$LINENO"; then :
11436 ac_cv_lib_xml2_xmlNewDocPI=yes
11437 else
11438 ac_cv_lib_xml2_xmlNewDocPI=no
11440 rm -f core conftest.err conftest.$ac_objext \
11441 conftest$ac_exeext conftest.$ac_ext
11442 LIBS=$ac_check_lib_save_LIBS
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11445 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11446 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11448 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11453 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11454 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11455 $as_echo_n "(cached) " >&6
11456 else
11457 ac_check_lib_save_LIBS=$LIBS
11458 LIBS="-lxml2 $XML2_LIBS $LIBS"
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11465 #ifdef __cplusplus
11466 extern "C"
11467 #endif
11468 char xmlSchemaSetParserStructuredErrors ();
11470 main ()
11472 return xmlSchemaSetParserStructuredErrors ();
11474 return 0;
11476 _ACEOF
11477 if ac_fn_c_try_link "$LINENO"; then :
11478 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11479 else
11480 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_lib_save_LIBS
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11487 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11488 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11490 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11495 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11496 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11497 $as_echo_n "(cached) " >&6
11498 else
11499 ac_check_lib_save_LIBS=$LIBS
11500 LIBS="-lxml2 $XML2_LIBS $LIBS"
11501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11504 /* Override any GCC internal prototype to avoid an error.
11505 Use char because int might match the return type of a GCC
11506 builtin and then its argument prototype would still apply. */
11507 #ifdef __cplusplus
11508 extern "C"
11509 #endif
11510 char xmlSchemaSetValidStructuredErrors ();
11512 main ()
11514 return xmlSchemaSetValidStructuredErrors ();
11516 return 0;
11518 _ACEOF
11519 if ac_fn_c_try_link "$LINENO"; then :
11520 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11521 else
11522 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11524 rm -f core conftest.err conftest.$ac_objext \
11525 conftest$ac_exeext conftest.$ac_ext
11526 LIBS=$ac_check_lib_save_LIBS
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11529 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11530 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11532 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11537 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11538 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11539 $as_echo_n "(cached) " >&6
11540 else
11541 ac_check_lib_save_LIBS=$LIBS
11542 LIBS="-lxml2 $XML2_LIBS $LIBS"
11543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11544 /* end confdefs.h. */
11546 /* Override any GCC internal prototype to avoid an error.
11547 Use char because int might match the return type of a GCC
11548 builtin and then its argument prototype would still apply. */
11549 #ifdef __cplusplus
11550 extern "C"
11551 #endif
11552 char xmlFirstElementChild ();
11554 main ()
11556 return xmlFirstElementChild ();
11558 return 0;
11560 _ACEOF
11561 if ac_fn_c_try_link "$LINENO"; then :
11562 ac_cv_lib_xml2_xmlFirstElementChild=yes
11563 else
11564 ac_cv_lib_xml2_xmlFirstElementChild=no
11566 rm -f core conftest.err conftest.$ac_objext \
11567 conftest$ac_exeext conftest.$ac_ext
11568 LIBS=$ac_check_lib_save_LIBS
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11571 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11572 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11574 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11578 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11580 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11582 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11586 else
11587 XML2_CFLAGS=""
11588 XML2_LIBS=""
11590 CPPFLAGS=$ac_save_CPPFLAGS
11591 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11592 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11595 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11596 case "x$with_xml" in
11597 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11598 xno) ;;
11599 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11600 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11601 esac
11605 if test "x$with_xslt" != "xno"
11606 then
11607 if ${XSLT_CFLAGS:+false} :; then :
11608 if ${PKG_CONFIG+:} false; then :
11609 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11612 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11613 if ${XSLT_LIBS:+false} :; then :
11614 if ${PKG_CONFIG+:} false; then :
11615 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11618 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11619 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11620 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11621 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11622 ac_save_CPPFLAGS=$CPPFLAGS
11623 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11624 for ac_header in libxslt/pattern.h libxslt/transform.h
11625 do :
11626 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11627 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11628 # include <libxslt/pattern.h>
11629 #endif
11631 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11632 cat >>confdefs.h <<_ACEOF
11633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11634 _ACEOF
11638 done
11640 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11641 then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11643 $as_echo_n "checking for -lxslt... " >&6; }
11644 if ${ac_cv_lib_soname_xslt+:} false; then :
11645 $as_echo_n "(cached) " >&6
11646 else
11647 ac_check_soname_save_LIBS=$LIBS
11648 LIBS="-lxslt $XSLT_LIBS $LIBS"
11649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11650 /* end confdefs.h. */
11652 /* Override any GCC internal prototype to avoid an error.
11653 Use char because int might match the return type of a GCC
11654 builtin and then its argument prototype would still apply. */
11655 #ifdef __cplusplus
11656 extern "C"
11657 #endif
11658 char xsltCompilePattern ();
11660 main ()
11662 return xsltCompilePattern ();
11664 return 0;
11666 _ACEOF
11667 if ac_fn_c_try_link "$LINENO"; then :
11668 case "$LIBEXT" in
11669 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11670 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'` ;;
11671 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11672 if ${ac_cv_lib_soname_xslt:+false} :; then :
11673 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11674 fi ;;
11675 esac
11677 rm -f core conftest.err conftest.$ac_objext \
11678 conftest$ac_exeext conftest.$ac_ext
11679 LIBS=$ac_check_soname_save_LIBS
11681 if ${ac_cv_lib_soname_xslt:+false} :; then :
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11683 $as_echo "not found" >&6; }
11685 else
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11687 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11689 cat >>confdefs.h <<_ACEOF
11690 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11691 _ACEOF
11695 else
11696 XSLT_CFLAGS=""
11698 CPPFLAGS=$ac_save_CPPFLAGS
11699 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11700 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11703 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11704 case "x$with_xslt" in
11705 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11706 xno) ;;
11707 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11708 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11709 esac
11713 if test "x$with_dbus" != "xno"
11714 then
11715 if ${DBUS_CFLAGS:+false} :; then :
11716 if ${PKG_CONFIG+:} false; then :
11717 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11721 if ${DBUS_LIBS:+false} :; then :
11722 if ${PKG_CONFIG+:} false; then :
11723 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11728 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11729 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11730 ac_save_CPPFLAGS=$CPPFLAGS
11731 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11732 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11733 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11735 $as_echo_n "checking for -ldbus-1... " >&6; }
11736 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11737 $as_echo_n "(cached) " >&6
11738 else
11739 ac_check_soname_save_LIBS=$LIBS
11740 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11747 #ifdef __cplusplus
11748 extern "C"
11749 #endif
11750 char dbus_connection_close ();
11752 main ()
11754 return dbus_connection_close ();
11756 return 0;
11758 _ACEOF
11759 if ac_fn_c_try_link "$LINENO"; then :
11760 case "$LIBEXT" in
11761 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11762 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'` ;;
11763 *) 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'`
11764 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11765 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11766 fi ;;
11767 esac
11769 rm -f core conftest.err conftest.$ac_objext \
11770 conftest$ac_exeext conftest.$ac_ext
11771 LIBS=$ac_check_soname_save_LIBS
11773 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11775 $as_echo "not found" >&6; }
11776 DBUS_CFLAGS=""
11777 else
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11779 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11781 cat >>confdefs.h <<_ACEOF
11782 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11783 _ACEOF
11787 else
11788 DBUS_CFLAGS=""
11792 CPPFLAGS=$ac_save_CPPFLAGS
11793 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11794 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11797 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11798 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11799 case "x$with_dbus" in
11800 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11801 xno) ;;
11802 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11803 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11804 esac
11808 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11809 then
11810 if ${HAL_CFLAGS:+false} :; then :
11811 if ${PKG_CONFIG+:} false; then :
11812 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11816 if ${HAL_LIBS:+false} :; then :
11817 if ${PKG_CONFIG+:} false; then :
11818 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11822 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11823 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11824 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11825 ac_save_CPPFLAGS=$CPPFLAGS
11826 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11827 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11828 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11830 $as_echo_n "checking for -lhal... " >&6; }
11831 if ${ac_cv_lib_soname_hal+:} false; then :
11832 $as_echo_n "(cached) " >&6
11833 else
11834 ac_check_soname_save_LIBS=$LIBS
11835 LIBS="-lhal $HAL_LIBS $LIBS"
11836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11842 #ifdef __cplusplus
11843 extern "C"
11844 #endif
11845 char libhal_ctx_new ();
11847 main ()
11849 return libhal_ctx_new ();
11851 return 0;
11853 _ACEOF
11854 if ac_fn_c_try_link "$LINENO"; then :
11855 case "$LIBEXT" in
11856 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11857 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'` ;;
11858 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11859 if ${ac_cv_lib_soname_hal:+false} :; then :
11860 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11861 fi ;;
11862 esac
11864 rm -f core conftest.err conftest.$ac_objext \
11865 conftest$ac_exeext conftest.$ac_ext
11866 LIBS=$ac_check_soname_save_LIBS
11868 if ${ac_cv_lib_soname_hal:+false} :; then :
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11870 $as_echo "not found" >&6; }
11871 HAL_CFLAGS=""
11872 else
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11874 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11876 cat >>confdefs.h <<_ACEOF
11877 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11878 _ACEOF
11882 else
11883 HAL_CFLAGS=""
11887 CPPFLAGS=$ac_save_CPPFLAGS
11888 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11889 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11891 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11892 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11893 case "x$with_hal" in
11894 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11895 xno) ;;
11896 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11897 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11898 esac
11903 if test "x$with_gnutls" != "xno"
11904 then
11905 if ${GNUTLS_CFLAGS:+false} :; then :
11906 if ${PKG_CONFIG+:} false; then :
11907 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11911 if ${GNUTLS_LIBS:+false} :; then :
11912 if ${PKG_CONFIG+:} false; then :
11913 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11918 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11919 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11920 ac_save_CPPFLAGS=$CPPFLAGS
11921 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11922 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11923 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #include <gnutls/gnutls.h>
11927 #include <gnutls/crypto.h>
11929 main ()
11931 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11933 return 0;
11935 _ACEOF
11936 if ac_fn_c_try_compile "$LINENO"; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11938 $as_echo_n "checking for -lgnutls... " >&6; }
11939 if ${ac_cv_lib_soname_gnutls+:} false; then :
11940 $as_echo_n "(cached) " >&6
11941 else
11942 ac_check_soname_save_LIBS=$LIBS
11943 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11950 #ifdef __cplusplus
11951 extern "C"
11952 #endif
11953 char gnutls_global_init ();
11955 main ()
11957 return gnutls_global_init ();
11959 return 0;
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"; then :
11963 case "$LIBEXT" in
11964 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11965 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'` ;;
11966 *) 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'`
11967 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11968 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'`
11969 fi ;;
11970 esac
11972 rm -f core conftest.err conftest.$ac_objext \
11973 conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_soname_save_LIBS
11976 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11978 $as_echo "not found" >&6; }
11979 GNUTLS_CFLAGS=""
11980 else
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11982 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11984 cat >>confdefs.h <<_ACEOF
11985 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11986 _ACEOF
11990 ac_wine_check_funcs_save_LIBS="$LIBS"
11991 LIBS="$LIBS $GNUTLS_LIBS"
11992 for ac_func in gnutls_cipher_init
11993 do :
11994 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11995 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11996 cat >>confdefs.h <<_ACEOF
11997 #define HAVE_GNUTLS_CIPHER_INIT 1
11998 _ACEOF
12000 else
12001 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12003 done
12005 LIBS="$ac_wine_check_funcs_save_LIBS"
12007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12008 else
12009 GNUTLS_CFLAGS=""
12013 CPPFLAGS=$ac_save_CPPFLAGS
12014 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12015 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12018 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12019 case "x$with_gnutls" in
12020 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12021 xno) ;;
12022 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12023 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12024 esac
12028 CURSES_LIBS=""
12029 if test "$ac_cv_header_ncurses_h" = "yes"
12030 then
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12032 $as_echo_n "checking for -lncurses... " >&6; }
12033 if ${ac_cv_lib_soname_ncurses+:} false; then :
12034 $as_echo_n "(cached) " >&6
12035 else
12036 ac_check_soname_save_LIBS=$LIBS
12037 LIBS="-lncurses $LIBS"
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 /* Override any GCC internal prototype to avoid an error.
12042 Use char because int might match the return type of a GCC
12043 builtin and then its argument prototype would still apply. */
12044 #ifdef __cplusplus
12045 extern "C"
12046 #endif
12047 char waddch ();
12049 main ()
12051 return waddch ();
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_link "$LINENO"; then :
12057 case "$LIBEXT" in
12058 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12059 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'` ;;
12060 *) 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'`
12061 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12062 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12063 fi ;;
12064 esac
12066 rm -f core conftest.err conftest.$ac_objext \
12067 conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_soname_save_LIBS
12070 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12072 $as_echo "not found" >&6; }
12074 else
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12076 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12078 cat >>confdefs.h <<_ACEOF
12079 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12080 _ACEOF
12082 CURSES_LIBS="-lncurses"
12084 elif test "$ac_cv_header_curses_h" = "yes"
12085 then
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12087 $as_echo_n "checking for -lcurses... " >&6; }
12088 if ${ac_cv_lib_soname_curses+:} false; then :
12089 $as_echo_n "(cached) " >&6
12090 else
12091 ac_check_soname_save_LIBS=$LIBS
12092 LIBS="-lcurses $LIBS"
12093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12096 /* Override any GCC internal prototype to avoid an error.
12097 Use char because int might match the return type of a GCC
12098 builtin and then its argument prototype would still apply. */
12099 #ifdef __cplusplus
12100 extern "C"
12101 #endif
12102 char waddch ();
12104 main ()
12106 return waddch ();
12108 return 0;
12110 _ACEOF
12111 if ac_fn_c_try_link "$LINENO"; then :
12112 case "$LIBEXT" in
12113 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12114 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'` ;;
12115 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12116 if ${ac_cv_lib_soname_curses:+false} :; then :
12117 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12118 fi ;;
12119 esac
12121 rm -f core conftest.err conftest.$ac_objext \
12122 conftest$ac_exeext conftest.$ac_ext
12123 LIBS=$ac_check_soname_save_LIBS
12125 if ${ac_cv_lib_soname_curses:+false} :; then :
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12127 $as_echo "not found" >&6; }
12129 else
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12131 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12133 cat >>confdefs.h <<_ACEOF
12134 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12135 _ACEOF
12137 CURSES_LIBS="-lcurses"
12140 ac_save_LIBS="$LIBS"
12141 LIBS="$LIBS $CURSES_LIBS"
12142 for ac_func in mousemask
12143 do :
12144 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12145 if test "x$ac_cv_func_mousemask" = xyes; then :
12146 cat >>confdefs.h <<_ACEOF
12147 #define HAVE_MOUSEMASK 1
12148 _ACEOF
12151 done
12153 LIBS="$ac_save_LIBS"
12154 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12155 case "x$with_curses" in
12156 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12157 xno) ;;
12158 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12159 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12160 esac
12164 if test "x$with_sane" != "xno"
12165 then
12166 if ${SANE_CFLAGS:+false} :; then :
12167 if ${PKG_CONFIG+:} false; then :
12168 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12171 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12172 if ${SANE_LIBS:+false} :; then :
12173 if ${PKG_CONFIG+:} false; then :
12174 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12177 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12179 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12180 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12181 ac_save_CPPFLAGS=$CPPFLAGS
12182 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12183 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12184 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12186 $as_echo_n "checking for -lsane... " >&6; }
12187 if ${ac_cv_lib_soname_sane+:} false; then :
12188 $as_echo_n "(cached) " >&6
12189 else
12190 ac_check_soname_save_LIBS=$LIBS
12191 LIBS="-lsane $SANE_LIBS $LIBS"
12192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193 /* end confdefs.h. */
12195 /* Override any GCC internal prototype to avoid an error.
12196 Use char because int might match the return type of a GCC
12197 builtin and then its argument prototype would still apply. */
12198 #ifdef __cplusplus
12199 extern "C"
12200 #endif
12201 char sane_init ();
12203 main ()
12205 return sane_init ();
12207 return 0;
12209 _ACEOF
12210 if ac_fn_c_try_link "$LINENO"; then :
12211 case "$LIBEXT" in
12212 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12213 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'` ;;
12214 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12215 if ${ac_cv_lib_soname_sane:+false} :; then :
12216 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12217 fi ;;
12218 esac
12220 rm -f core conftest.err conftest.$ac_objext \
12221 conftest$ac_exeext conftest.$ac_ext
12222 LIBS=$ac_check_soname_save_LIBS
12224 if ${ac_cv_lib_soname_sane:+false} :; then :
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12226 $as_echo "not found" >&6; }
12227 SANE_CFLAGS=""
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12230 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12232 cat >>confdefs.h <<_ACEOF
12233 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12234 _ACEOF
12238 else
12239 SANE_CFLAGS=""
12243 CPPFLAGS=$ac_save_CPPFLAGS
12244 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12245 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12248 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12249 case "x$with_sane" in
12250 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12251 xno) ;;
12252 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12253 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12254 esac
12258 if test "x$with_v4l" != "xno"
12259 then
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12261 $as_echo_n "checking for -lv4l1... " >&6; }
12262 if ${ac_cv_lib_soname_v4l1+:} false; then :
12263 $as_echo_n "(cached) " >&6
12264 else
12265 ac_check_soname_save_LIBS=$LIBS
12266 LIBS="-lv4l1 $LIBS"
12267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12270 /* Override any GCC internal prototype to avoid an error.
12271 Use char because int might match the return type of a GCC
12272 builtin and then its argument prototype would still apply. */
12273 #ifdef __cplusplus
12274 extern "C"
12275 #endif
12276 char v4l1_open ();
12278 main ()
12280 return v4l1_open ();
12282 return 0;
12284 _ACEOF
12285 if ac_fn_c_try_link "$LINENO"; then :
12286 case "$LIBEXT" in
12287 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12288 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'` ;;
12289 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12290 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12291 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12292 fi ;;
12293 esac
12295 rm -f core conftest.err conftest.$ac_objext \
12296 conftest$ac_exeext conftest.$ac_ext
12297 LIBS=$ac_check_soname_save_LIBS
12299 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12301 $as_echo "not found" >&6; }
12303 else
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12305 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12307 cat >>confdefs.h <<_ACEOF
12308 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12309 _ACEOF
12314 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12315 case "x$with_v4l" in
12316 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12317 xno) ;;
12318 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12319 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12320 esac
12324 if test "x$with_gphoto" != "xno"
12325 then
12326 if ${GPHOTO2_CFLAGS:+false} :; then :
12327 if ${PKG_CONFIG+:} false; then :
12328 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12331 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12332 if ${GPHOTO2_LIBS:+false} :; then :
12333 if ${PKG_CONFIG+:} false; then :
12334 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12337 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12338 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12339 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12340 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12341 ac_save_CPPFLAGS=$CPPFLAGS
12342 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12343 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12344 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12346 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12347 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12348 $as_echo_n "(cached) " >&6
12349 else
12350 ac_check_lib_save_LIBS=$LIBS
12351 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12353 /* end confdefs.h. */
12355 /* Override any GCC internal prototype to avoid an error.
12356 Use char because int might match the return type of a GCC
12357 builtin and then its argument prototype would still apply. */
12358 #ifdef __cplusplus
12359 extern "C"
12360 #endif
12361 char gp_camera_new ();
12363 main ()
12365 return gp_camera_new ();
12367 return 0;
12369 _ACEOF
12370 if ac_fn_c_try_link "$LINENO"; then :
12371 ac_cv_lib_gphoto2_gp_camera_new=yes
12372 else
12373 ac_cv_lib_gphoto2_gp_camera_new=no
12375 rm -f core conftest.err conftest.$ac_objext \
12376 conftest$ac_exeext conftest.$ac_ext
12377 LIBS=$ac_check_lib_save_LIBS
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12380 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12381 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12383 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12385 else
12386 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12389 else
12390 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12394 CPPFLAGS=$ac_save_CPPFLAGS
12395 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12396 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12398 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12399 if ${PKG_CONFIG+:} false; then :
12400 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12403 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12404 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12405 if ${PKG_CONFIG+:} false; then :
12406 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12409 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12410 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12411 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12412 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12413 ac_save_CPPFLAGS=$CPPFLAGS
12414 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12415 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12416 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12418 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12419 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12420 $as_echo_n "(cached) " >&6
12421 else
12422 ac_check_lib_save_LIBS=$LIBS
12423 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12425 /* end confdefs.h. */
12427 /* Override any GCC internal prototype to avoid an error.
12428 Use char because int might match the return type of a GCC
12429 builtin and then its argument prototype would still apply. */
12430 #ifdef __cplusplus
12431 extern "C"
12432 #endif
12433 char gp_port_info_list_new ();
12435 main ()
12437 return gp_port_info_list_new ();
12439 return 0;
12441 _ACEOF
12442 if ac_fn_c_try_link "$LINENO"; then :
12443 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12444 else
12445 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12447 rm -f core conftest.err conftest.$ac_objext \
12448 conftest$ac_exeext conftest.$ac_ext
12449 LIBS=$ac_check_lib_save_LIBS
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12452 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12453 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12455 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12457 else
12458 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12461 else
12462 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12466 CPPFLAGS=$ac_save_CPPFLAGS
12467 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12468 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12471 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12472 case "x$with_gphoto" in
12473 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12474 xno) ;;
12475 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12476 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12477 esac
12480 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12481 case "x$with_gphoto" in
12482 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12483 xno) ;;
12484 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12485 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12486 esac
12491 if test "$ac_cv_header_resolv_h" = "yes"
12492 then
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12494 $as_echo_n "checking for resolver library... " >&6; }
12495 if ${ac_cv_have_resolv+:} false; then :
12496 $as_echo_n "(cached) " >&6
12497 else
12498 ac_save_LIBS="$LIBS"
12499 for lib in '' -lresolv
12501 LIBS="$lib $ac_save_LIBS"
12502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12504 #ifdef HAVE_NETINET_IN_H
12505 #include <netinet/in.h>
12506 #endif
12507 #include <resolv.h>
12509 main ()
12511 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12513 return 0;
12515 _ACEOF
12516 if ac_fn_c_try_link "$LINENO"; then :
12517 ac_cv_have_resolv=${lib:-"none required"}
12518 else
12519 ac_cv_have_resolv="not found"
12521 rm -f core conftest.err conftest.$ac_objext \
12522 conftest$ac_exeext conftest.$ac_ext
12523 test "x$ac_cv_have_resolv" = "xnot found" || break
12524 done
12525 LIBS="$ac_save_LIBS"
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12528 $as_echo "$ac_cv_have_resolv" >&6; }
12530 case "$ac_cv_have_resolv" in
12531 "not found") ;;
12532 "none required")
12534 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12537 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12539 RESOLV_LIBS=$ac_cv_have_resolv
12541 esac
12544 if test "x$with_cms" != "xno"
12545 then
12546 if ${LCMS2_CFLAGS:+false} :; then :
12547 if ${PKG_CONFIG+:} false; then :
12548 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12552 if ${LCMS2_LIBS:+false} :; then :
12553 if ${PKG_CONFIG+:} false; then :
12554 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12558 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12559 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12560 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12561 ac_save_CPPFLAGS=$CPPFLAGS
12562 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12563 for ac_header in lcms2.h
12564 do :
12565 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12566 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12567 cat >>confdefs.h <<_ACEOF
12568 #define HAVE_LCMS2_H 1
12569 _ACEOF
12573 done
12575 if test "$ac_cv_header_lcms2_h" = "yes"
12576 then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12578 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12579 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12580 $as_echo_n "(cached) " >&6
12581 else
12582 ac_check_lib_save_LIBS=$LIBS
12583 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12585 /* end confdefs.h. */
12587 /* Override any GCC internal prototype to avoid an error.
12588 Use char because int might match the return type of a GCC
12589 builtin and then its argument prototype would still apply. */
12590 #ifdef __cplusplus
12591 extern "C"
12592 #endif
12593 char cmsOpenProfileFromFile ();
12595 main ()
12597 return cmsOpenProfileFromFile ();
12599 return 0;
12601 _ACEOF
12602 if ac_fn_c_try_link "$LINENO"; then :
12603 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12604 else
12605 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12607 rm -f core conftest.err conftest.$ac_objext \
12608 conftest$ac_exeext conftest.$ac_ext
12609 LIBS=$ac_check_lib_save_LIBS
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12612 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12613 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12615 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12617 else
12618 LCMS2_LIBS=""
12621 else
12622 LCMS2_CFLAGS=""
12623 LCMS2_LIBS=""
12625 CPPFLAGS=$ac_save_CPPFLAGS
12626 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12627 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12630 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12631 case "x$with_cms" in
12632 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12633 xno) ;;
12634 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12635 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12636 esac
12640 if test "x$with_freetype" != "xno"
12641 then
12642 if ${FREETYPE_CFLAGS:+false} :; then :
12643 if ${PKG_CONFIG+:} false; then :
12644 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12647 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12648 if ${FREETYPE_LIBS:+false} :; then :
12649 if ${PKG_CONFIG+:} false; then :
12650 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12653 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12654 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12655 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12656 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12657 ac_save_CPPFLAGS=$CPPFLAGS
12658 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12659 for ac_header in ft2build.h
12660 do :
12661 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12662 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12663 cat >>confdefs.h <<_ACEOF
12664 #define HAVE_FT2BUILD_H 1
12665 _ACEOF
12669 done
12671 if test "$ac_cv_header_ft2build_h" = "yes"
12672 then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12674 $as_echo_n "checking for -lfreetype... " >&6; }
12675 if ${ac_cv_lib_soname_freetype+:} false; then :
12676 $as_echo_n "(cached) " >&6
12677 else
12678 ac_check_soname_save_LIBS=$LIBS
12679 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12686 #ifdef __cplusplus
12687 extern "C"
12688 #endif
12689 char FT_Init_FreeType ();
12691 main ()
12693 return FT_Init_FreeType ();
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_link "$LINENO"; then :
12699 case "$LIBEXT" in
12700 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12701 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'` ;;
12702 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12703 if ${ac_cv_lib_soname_freetype:+false} :; then :
12704 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12705 fi ;;
12706 esac
12708 rm -f core conftest.err conftest.$ac_objext \
12709 conftest$ac_exeext conftest.$ac_ext
12710 LIBS=$ac_check_soname_save_LIBS
12712 if ${ac_cv_lib_soname_freetype:+false} :; then :
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12714 $as_echo "not found" >&6; }
12715 FREETYPE_LIBS=""
12716 else
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12718 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12720 cat >>confdefs.h <<_ACEOF
12721 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12722 _ACEOF
12725 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12727 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12728 #include FT_MODULE_H
12730 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12732 cat >>confdefs.h <<_ACEOF
12733 #define HAVE_FT_TRUETYPEENGINETYPE 1
12734 _ACEOF
12740 else
12741 FREETYPE_CFLAGS=""
12742 FREETYPE_LIBS=""
12744 CPPFLAGS=$ac_save_CPPFLAGS
12745 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12746 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12749 if test "x$ac_cv_lib_soname_freetype" = x; then :
12750 case "x$with_freetype" in
12751 xno) ;;
12752 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12753 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12754 esac
12755 enable_fonts=${enable_fonts:-no}
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12759 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12760 if ${ac_cv_c_ppdev+:} false; then :
12761 $as_echo_n "(cached) " >&6
12762 else
12763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12764 /* end confdefs.h. */
12765 #ifdef HAVE_SYS_IOCTL_H
12766 # include <sys/ioctl.h>
12767 #endif
12768 #include <linux/ppdev.h>
12770 main ()
12772 ioctl (1,PPCLAIM,0)
12774 return 0;
12776 _ACEOF
12777 if ac_fn_c_try_compile "$LINENO"; then :
12778 ac_cv_c_ppdev="yes"
12779 else
12780 ac_cv_c_ppdev="no"
12782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12785 $as_echo "$ac_cv_c_ppdev" >&6; }
12786 if test "$ac_cv_c_ppdev" = "yes"
12787 then
12789 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12793 ac_wine_check_funcs_save_LIBS="$LIBS"
12794 LIBS="$LIBS $PTHREAD_LIBS"
12795 for ac_func in \
12796 pthread_attr_get_np \
12797 pthread_getattr_np \
12798 pthread_getthreadid_np \
12799 pthread_get_stackaddr_np \
12800 pthread_get_stacksize_np
12801 do :
12802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12804 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12805 cat >>confdefs.h <<_ACEOF
12806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12807 _ACEOF
12810 done
12812 LIBS="$ac_wine_check_funcs_save_LIBS"
12814 if test "$ac_cv_header_zlib_h" = "yes"
12815 then
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12817 $as_echo_n "checking for inflate in -lz... " >&6; }
12818 if ${ac_cv_lib_z_inflate+:} false; then :
12819 $as_echo_n "(cached) " >&6
12820 else
12821 ac_check_lib_save_LIBS=$LIBS
12822 LIBS="-lz $LIBS"
12823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12826 /* Override any GCC internal prototype to avoid an error.
12827 Use char because int might match the return type of a GCC
12828 builtin and then its argument prototype would still apply. */
12829 #ifdef __cplusplus
12830 extern "C"
12831 #endif
12832 char inflate ();
12834 main ()
12836 return inflate ();
12838 return 0;
12840 _ACEOF
12841 if ac_fn_c_try_link "$LINENO"; then :
12842 ac_cv_lib_z_inflate=yes
12843 else
12844 ac_cv_lib_z_inflate=no
12846 rm -f core conftest.err conftest.$ac_objext \
12847 conftest$ac_exeext conftest.$ac_ext
12848 LIBS=$ac_check_lib_save_LIBS
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12851 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12852 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12854 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12856 Z_LIBS="-lz"
12861 if test "x$Z_LIBS" = "x"; then :
12862 case "x$with_zlib" in
12863 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12864 xno) ;;
12865 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12866 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12867 esac
12871 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12872 then
12873 if test "$ac_cv_header_gettext_po_h" = "yes"
12874 then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12876 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12877 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12878 $as_echo_n "(cached) " >&6
12879 else
12880 ac_check_lib_save_LIBS=$LIBS
12881 LIBS="-lgettextpo $LIBS"
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 /* Override any GCC internal prototype to avoid an error.
12886 Use char because int might match the return type of a GCC
12887 builtin and then its argument prototype would still apply. */
12888 #ifdef __cplusplus
12889 extern "C"
12890 #endif
12891 char po_message_msgctxt ();
12893 main ()
12895 return po_message_msgctxt ();
12897 return 0;
12899 _ACEOF
12900 if ac_fn_c_try_link "$LINENO"; then :
12901 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12902 else
12903 ac_cv_lib_gettextpo_po_message_msgctxt=no
12905 rm -f core conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_lib_save_LIBS
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12910 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12911 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12913 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12915 GETTEXTPO_LIBS="-lgettextpo"
12920 if test "x$GETTEXTPO_LIBS" = "x"; then :
12921 case "x$with_gettextpo" in
12922 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12923 xno) ;;
12924 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12925 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12926 esac
12929 if test "$srcdir" != .; then :
12930 case "x$with_gettextpo" in
12931 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12932 xno) ;;
12933 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12934 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12935 esac
12940 if test "x$with_pulse" != "xno";
12941 then
12942 if ${PULSE_CFLAGS:+false} :; then :
12943 if ${PKG_CONFIG+:} false; then :
12944 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12948 if ${PULSE_LIBS:+false} :; then :
12949 if ${PKG_CONFIG+:} false; then :
12950 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12955 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12956 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12957 ac_save_CPPFLAGS=$CPPFLAGS
12958 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12959 for ac_header in pulse/pulseaudio.h
12960 do :
12961 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12962 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12963 cat >>confdefs.h <<_ACEOF
12964 #define HAVE_PULSE_PULSEAUDIO_H 1
12965 _ACEOF
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12967 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12968 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12969 $as_echo_n "(cached) " >&6
12970 else
12971 ac_check_lib_save_LIBS=$LIBS
12972 LIBS="-lpulse $PULSE_LIBS $LIBS"
12973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12976 /* Override any GCC internal prototype to avoid an error.
12977 Use char because int might match the return type of a GCC
12978 builtin and then its argument prototype would still apply. */
12979 #ifdef __cplusplus
12980 extern "C"
12981 #endif
12982 char pa_stream_is_corked ();
12984 main ()
12986 return pa_stream_is_corked ();
12988 return 0;
12990 _ACEOF
12991 if ac_fn_c_try_link "$LINENO"; then :
12992 ac_cv_lib_pulse_pa_stream_is_corked=yes
12993 else
12994 ac_cv_lib_pulse_pa_stream_is_corked=no
12996 rm -f core conftest.err conftest.$ac_objext \
12997 conftest$ac_exeext conftest.$ac_ext
12998 LIBS=$ac_check_lib_save_LIBS
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13001 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13002 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13004 else
13005 PULSE_LIBS=""
13008 else
13009 PULSE_LIBS=""
13012 done
13014 CPPFLAGS=$ac_save_CPPFLAGS
13015 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13016 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13019 if test -z "$PULSE_LIBS"; then :
13020 case "x$with_pulse" in
13021 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13022 xno) ;;
13023 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13024 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13025 esac
13026 enable_winepulse_drv=${enable_winepulse_drv:-no}
13029 if test "x$with_gstreamer" != "xno"
13030 then
13031 if ${GSTREAMER_CFLAGS:+false} :; then :
13032 if ${PKG_CONFIG+:} false; then :
13033 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13037 if ${GSTREAMER_LIBS:+false} :; then :
13038 if ${PKG_CONFIG+:} false; then :
13039 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13044 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13045 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13046 ac_save_CPPFLAGS=$CPPFLAGS
13047 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13048 ac_gst_incl=""
13049 for i in $GSTREAMER_CFLAGS
13051 case "$i" in
13052 -I*) ac_gst_incl="$ac_gst_incl $i";;
13053 esac
13054 done
13055 GSTREAMER_CFLAGS=$ac_gst_incl
13056 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13057 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13058 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13060 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h. */
13063 #include <gst/gst.h>
13065 main ()
13067 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13069 return 0;
13071 _ACEOF
13072 if ac_fn_c_try_compile "$LINENO"; then :
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13074 $as_echo "yes" >&6; }
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13076 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13077 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13078 $as_echo_n "(cached) " >&6
13079 else
13080 ac_check_lib_save_LIBS=$LIBS
13081 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13088 #ifdef __cplusplus
13089 extern "C"
13090 #endif
13091 char gst_pad_new ();
13093 main ()
13095 return gst_pad_new ();
13097 return 0;
13099 _ACEOF
13100 if ac_fn_c_try_link "$LINENO"; then :
13101 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13102 else
13103 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13105 rm -f core conftest.err conftest.$ac_objext \
13106 conftest$ac_exeext conftest.$ac_ext
13107 LIBS=$ac_check_lib_save_LIBS
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13110 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13111 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13115 else
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13117 $as_echo "no" >&6; }
13118 ac_glib2_broken=yes
13119 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13125 CPPFLAGS=$ac_save_CPPFLAGS
13126 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13127 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13130 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 :
13131 case "x$with_gstreamer" in
13132 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13133 xno) ;;
13134 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13135 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13136 esac
13139 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13141 ALSA_LIBS=""
13143 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13144 then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13146 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13147 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13148 $as_echo_n "(cached) " >&6
13149 else
13150 ac_check_lib_save_LIBS=$LIBS
13151 LIBS="-lasound $LIBS"
13152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13153 /* end confdefs.h. */
13155 /* Override any GCC internal prototype to avoid an error.
13156 Use char because int might match the return type of a GCC
13157 builtin and then its argument prototype would still apply. */
13158 #ifdef __cplusplus
13159 extern "C"
13160 #endif
13161 char snd_pcm_hw_params_get_access_mask ();
13163 main ()
13165 return snd_pcm_hw_params_get_access_mask ();
13167 return 0;
13169 _ACEOF
13170 if ac_fn_c_try_link "$LINENO"; then :
13171 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13172 else
13173 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13175 rm -f core conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_lib_save_LIBS
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13180 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13181 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13184 #ifdef HAVE_ALSA_ASOUNDLIB_H
13185 #include <alsa/asoundlib.h>
13186 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13187 #include <sys/asoundlib.h>
13188 #endif
13190 main ()
13192 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13194 return 0;
13196 _ACEOF
13197 if ac_fn_c_try_compile "$LINENO"; then :
13198 ALSA_LIBS="-lasound"
13200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13204 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13206 if test "x$with_oss" != xno
13207 then
13208 ac_save_CPPFLAGS="$CPPFLAGS"
13209 if test -f /etc/oss.conf
13210 then
13211 . /etc/oss.conf
13213 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13214 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13215 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13216 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13217 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13219 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13221 cat >>confdefs.h <<_ACEOF
13222 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13223 _ACEOF
13225 OSS4_CFLAGS="$ac_oss_incl"
13232 CPPFLAGS="$ac_save_CPPFLAGS"
13234 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13235 case "x$with_oss" in
13236 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13237 xno) ;;
13238 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13239 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13240 esac
13241 enable_wineoss_drv=${enable_wineoss_drv:-no}
13244 if test "x$with_udev" != "xno"
13245 then
13246 if ${UDEV_CFLAGS:+false} :; then :
13247 if ${PKG_CONFIG+:} false; then :
13248 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13252 if ${UDEV_LIBS:+false} :; then :
13253 if ${PKG_CONFIG+:} false; then :
13254 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13258 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13259 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13260 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13261 ac_save_CPPFLAGS=$CPPFLAGS
13262 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13263 for ac_header in libudev.h
13264 do :
13265 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13266 if test "x$ac_cv_header_libudev_h" = xyes; then :
13267 cat >>confdefs.h <<_ACEOF
13268 #define HAVE_LIBUDEV_H 1
13269 _ACEOF
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13271 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13272 if ${ac_cv_lib_udev_udev_new+:} false; then :
13273 $as_echo_n "(cached) " >&6
13274 else
13275 ac_check_lib_save_LIBS=$LIBS
13276 LIBS="-ludev $UDEV_LIBS $LIBS"
13277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13278 /* end confdefs.h. */
13280 /* Override any GCC internal prototype to avoid an error.
13281 Use char because int might match the return type of a GCC
13282 builtin and then its argument prototype would still apply. */
13283 #ifdef __cplusplus
13284 extern "C"
13285 #endif
13286 char udev_new ();
13288 main ()
13290 return udev_new ();
13292 return 0;
13294 _ACEOF
13295 if ac_fn_c_try_link "$LINENO"; then :
13296 ac_cv_lib_udev_udev_new=yes
13297 else
13298 ac_cv_lib_udev_udev_new=no
13300 rm -f core conftest.err conftest.$ac_objext \
13301 conftest$ac_exeext conftest.$ac_ext
13302 LIBS=$ac_check_lib_save_LIBS
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13305 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13306 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13308 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13310 else
13311 UDEV_LIBS=""
13314 else
13315 UDEV_LIBS=""
13318 done
13320 CPPFLAGS=$ac_save_CPPFLAGS
13321 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13322 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13325 if test "x$UDEV_LIBS" = "x"; then :
13326 case "x$with_udev" in
13327 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13328 xno) ;;
13329 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13330 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13331 esac
13335 if test "x$with_capi" != "xno"
13336 then
13337 if ${CAPI20_CFLAGS:+false} :; then :
13338 if ${PKG_CONFIG+:} false; then :
13339 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13343 if ${CAPI20_LIBS:+false} :; then :
13344 if ${PKG_CONFIG+:} false; then :
13345 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13350 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13351 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13352 ac_save_CPPFLAGS=$CPPFLAGS
13353 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13354 for ac_header in capi20.h linux/capi.h
13355 do :
13356 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13357 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13359 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13360 cat >>confdefs.h <<_ACEOF
13361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13362 _ACEOF
13366 done
13368 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13369 then
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13371 $as_echo_n "checking for -lcapi20... " >&6; }
13372 if ${ac_cv_lib_soname_capi20+:} false; then :
13373 $as_echo_n "(cached) " >&6
13374 else
13375 ac_check_soname_save_LIBS=$LIBS
13376 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13378 /* end confdefs.h. */
13380 /* Override any GCC internal prototype to avoid an error.
13381 Use char because int might match the return type of a GCC
13382 builtin and then its argument prototype would still apply. */
13383 #ifdef __cplusplus
13384 extern "C"
13385 #endif
13386 char capi20_register ();
13388 main ()
13390 return capi20_register ();
13392 return 0;
13394 _ACEOF
13395 if ac_fn_c_try_link "$LINENO"; then :
13396 case "$LIBEXT" in
13397 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13398 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'` ;;
13399 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13400 if ${ac_cv_lib_soname_capi20:+false} :; then :
13401 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13402 fi ;;
13403 esac
13405 rm -f core conftest.err conftest.$ac_objext \
13406 conftest$ac_exeext conftest.$ac_ext
13407 LIBS=$ac_check_soname_save_LIBS
13409 if ${ac_cv_lib_soname_capi20:+false} :; then :
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13411 $as_echo "not found" >&6; }
13413 else
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13415 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13417 cat >>confdefs.h <<_ACEOF
13418 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13419 _ACEOF
13424 CPPFLAGS=$ac_save_CPPFLAGS
13425 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13426 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13429 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13430 case "x$with_capi" in
13431 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13432 xno) ;;
13433 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13434 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13435 esac
13439 CUPS_CFLAGS=""
13441 if test "x$with_cups" != "xno"
13442 then
13443 ac_save_CPPFLAGS="$CPPFLAGS"
13444 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13445 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13446 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13447 for ac_header in cups/cups.h
13448 do :
13449 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13450 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13451 cat >>confdefs.h <<_ACEOF
13452 #define HAVE_CUPS_CUPS_H 1
13453 _ACEOF
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13455 $as_echo_n "checking for -lcups... " >&6; }
13456 if ${ac_cv_lib_soname_cups+:} false; then :
13457 $as_echo_n "(cached) " >&6
13458 else
13459 ac_check_soname_save_LIBS=$LIBS
13460 LIBS="-lcups $ac_cups_libs $LIBS"
13461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13462 /* end confdefs.h. */
13464 /* Override any GCC internal prototype to avoid an error.
13465 Use char because int might match the return type of a GCC
13466 builtin and then its argument prototype would still apply. */
13467 #ifdef __cplusplus
13468 extern "C"
13469 #endif
13470 char cupsGetDefault ();
13472 main ()
13474 return cupsGetDefault ();
13476 return 0;
13478 _ACEOF
13479 if ac_fn_c_try_link "$LINENO"; then :
13480 case "$LIBEXT" in
13481 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13482 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'` ;;
13483 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13484 if ${ac_cv_lib_soname_cups:+false} :; then :
13485 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13486 fi ;;
13487 esac
13489 rm -f core conftest.err conftest.$ac_objext \
13490 conftest$ac_exeext conftest.$ac_ext
13491 LIBS=$ac_check_soname_save_LIBS
13493 if ${ac_cv_lib_soname_cups:+false} :; then :
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13495 $as_echo "not found" >&6; }
13497 else
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13499 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13501 cat >>confdefs.h <<_ACEOF
13502 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13503 _ACEOF
13505 CUPS_CFLAGS="$ac_cups_cflags"
13507 for ac_header in cups/ppd.h
13508 do :
13509 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13510 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13511 cat >>confdefs.h <<_ACEOF
13512 #define HAVE_CUPS_PPD_H 1
13513 _ACEOF
13517 done
13521 done
13523 CPPFLAGS="$ac_save_CPPFLAGS"
13525 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13526 case "x$with_cups" in
13527 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13528 xno) ;;
13529 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13530 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13531 esac
13535 if test "x$with_fontconfig" != "xno"
13536 then
13537 if ${FONTCONFIG_CFLAGS:+false} :; then :
13538 if ${PKG_CONFIG+:} false; then :
13539 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13542 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13543 if ${FONTCONFIG_LIBS:+false} :; then :
13544 if ${PKG_CONFIG+:} false; then :
13545 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13548 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13550 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13551 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13552 ac_save_CPPFLAGS=$CPPFLAGS
13553 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13554 for ac_header in fontconfig/fontconfig.h
13555 do :
13556 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13557 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13558 cat >>confdefs.h <<_ACEOF
13559 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13560 _ACEOF
13564 done
13566 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13567 then
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13569 $as_echo_n "checking for -lfontconfig... " >&6; }
13570 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13571 $as_echo_n "(cached) " >&6
13572 else
13573 ac_check_soname_save_LIBS=$LIBS
13574 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13581 #ifdef __cplusplus
13582 extern "C"
13583 #endif
13584 char FcInit ();
13586 main ()
13588 return FcInit ();
13590 return 0;
13592 _ACEOF
13593 if ac_fn_c_try_link "$LINENO"; then :
13594 case "$LIBEXT" in
13595 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13596 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'` ;;
13597 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13598 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13599 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13600 fi ;;
13601 esac
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 LIBS=$ac_check_soname_save_LIBS
13607 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13609 $as_echo "not found" >&6; }
13610 FONTCONFIG_CFLAGS=""
13611 else
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13613 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13615 cat >>confdefs.h <<_ACEOF
13616 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13617 _ACEOF
13621 else
13622 FONTCONFIG_CFLAGS=""
13624 CPPFLAGS=$ac_save_CPPFLAGS
13625 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13626 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13629 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13630 case "x$with_fontconfig" in
13631 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13632 xno) ;;
13633 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13634 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13635 esac
13639 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13640 then
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13642 $as_echo_n "checking for -lgsm... " >&6; }
13643 if ${ac_cv_lib_soname_gsm+:} false; then :
13644 $as_echo_n "(cached) " >&6
13645 else
13646 ac_check_soname_save_LIBS=$LIBS
13647 LIBS="-lgsm $LIBS"
13648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13649 /* end confdefs.h. */
13651 /* Override any GCC internal prototype to avoid an error.
13652 Use char because int might match the return type of a GCC
13653 builtin and then its argument prototype would still apply. */
13654 #ifdef __cplusplus
13655 extern "C"
13656 #endif
13657 char gsm_create ();
13659 main ()
13661 return gsm_create ();
13663 return 0;
13665 _ACEOF
13666 if ac_fn_c_try_link "$LINENO"; then :
13667 case "$LIBEXT" in
13668 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13669 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'` ;;
13670 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13671 if ${ac_cv_lib_soname_gsm:+false} :; then :
13672 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13673 fi ;;
13674 esac
13676 rm -f core conftest.err conftest.$ac_objext \
13677 conftest$ac_exeext conftest.$ac_ext
13678 LIBS=$ac_check_soname_save_LIBS
13680 if ${ac_cv_lib_soname_gsm:+false} :; then :
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13682 $as_echo "not found" >&6; }
13684 else
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13686 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13688 cat >>confdefs.h <<_ACEOF
13689 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13690 _ACEOF
13695 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13696 case "x$with_gsm" in
13697 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13698 xno) ;;
13699 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13700 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13701 esac
13705 if test "x$with_jpeg" != "xno"
13706 then
13707 if ${JPEG_CFLAGS:+false} :; then :
13708 if ${PKG_CONFIG+:} false; then :
13709 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13713 if ${JPEG_LIBS:+false} :; then :
13714 if ${PKG_CONFIG+:} false; then :
13715 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13720 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13721 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13722 ac_save_CPPFLAGS=$CPPFLAGS
13723 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13724 for ac_header in jpeglib.h
13725 do :
13726 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13727 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13728 cat >>confdefs.h <<_ACEOF
13729 #define HAVE_JPEGLIB_H 1
13730 _ACEOF
13734 done
13736 if test "$ac_cv_header_jpeglib_h" = "yes"
13737 then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13739 $as_echo_n "checking for -ljpeg... " >&6; }
13740 if ${ac_cv_lib_soname_jpeg+:} false; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 ac_check_soname_save_LIBS=$LIBS
13744 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13746 /* end confdefs.h. */
13748 /* Override any GCC internal prototype to avoid an error.
13749 Use char because int might match the return type of a GCC
13750 builtin and then its argument prototype would still apply. */
13751 #ifdef __cplusplus
13752 extern "C"
13753 #endif
13754 char jpeg_start_decompress ();
13756 main ()
13758 return jpeg_start_decompress ();
13760 return 0;
13762 _ACEOF
13763 if ac_fn_c_try_link "$LINENO"; then :
13764 case "$LIBEXT" in
13765 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13766 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'` ;;
13767 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13768 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13769 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13770 fi ;;
13771 esac
13773 rm -f core conftest.err conftest.$ac_objext \
13774 conftest$ac_exeext conftest.$ac_ext
13775 LIBS=$ac_check_soname_save_LIBS
13777 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13779 $as_echo "not found" >&6; }
13780 JPEG_CFLAGS=""
13781 else
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13783 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13785 cat >>confdefs.h <<_ACEOF
13786 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13787 _ACEOF
13791 else
13792 JPEG_CFLAGS=""
13794 CPPFLAGS=$ac_save_CPPFLAGS
13795 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13796 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13799 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13800 case "x$with_jpeg" in
13801 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13802 xno) ;;
13803 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13804 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13805 esac
13809 if test "x$with_png" != "xno"
13810 then
13811 if ${PNG_CFLAGS:+false} :; then :
13812 if ${PKG_CONFIG+:} false; then :
13813 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13816 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13817 if ${PNG_LIBS:+false} :; then :
13818 if ${PKG_CONFIG+:} false; then :
13819 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13822 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13824 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13825 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13826 ac_save_CPPFLAGS=$CPPFLAGS
13827 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13828 for ac_header in png.h
13829 do :
13830 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13831 if test "x$ac_cv_header_png_h" = xyes; then :
13832 cat >>confdefs.h <<_ACEOF
13833 #define HAVE_PNG_H 1
13834 _ACEOF
13838 done
13840 if test "$ac_cv_header_png_h" = "yes"
13841 then
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13843 $as_echo_n "checking for -lpng... " >&6; }
13844 if ${ac_cv_lib_soname_png+:} false; then :
13845 $as_echo_n "(cached) " >&6
13846 else
13847 ac_check_soname_save_LIBS=$LIBS
13848 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13850 /* end confdefs.h. */
13852 /* Override any GCC internal prototype to avoid an error.
13853 Use char because int might match the return type of a GCC
13854 builtin and then its argument prototype would still apply. */
13855 #ifdef __cplusplus
13856 extern "C"
13857 #endif
13858 char png_create_read_struct ();
13860 main ()
13862 return png_create_read_struct ();
13864 return 0;
13866 _ACEOF
13867 if ac_fn_c_try_link "$LINENO"; then :
13868 case "$LIBEXT" in
13869 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13870 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'` ;;
13871 *) 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'`
13872 if ${ac_cv_lib_soname_png:+false} :; then :
13873 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13874 fi ;;
13875 esac
13877 rm -f core conftest.err conftest.$ac_objext \
13878 conftest$ac_exeext conftest.$ac_ext
13879 LIBS=$ac_check_soname_save_LIBS
13881 if ${ac_cv_lib_soname_png:+false} :; then :
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13883 $as_echo "not found" >&6; }
13884 PNG_CFLAGS=""
13885 else
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13887 $as_echo "$ac_cv_lib_soname_png" >&6; }
13889 cat >>confdefs.h <<_ACEOF
13890 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13891 _ACEOF
13895 else
13896 PNG_CFLAGS=""
13898 CPPFLAGS=$ac_save_CPPFLAGS
13899 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13900 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13903 if test "x$ac_cv_lib_soname_png" = "x"; then :
13904 case "x$with_png" in
13905 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13906 xno) ;;
13907 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13908 This is an error since --with-png was requested." "$LINENO" 5 ;;
13909 esac
13913 if test "x$with_tiff" != "xno"
13914 then
13915 if ${TIFF_CFLAGS:+false} :; then :
13916 if ${PKG_CONFIG+:} false; then :
13917 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13921 if ${TIFF_LIBS:+false} :; then :
13922 if ${PKG_CONFIG+:} false; then :
13923 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13928 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13929 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13930 ac_save_CPPFLAGS=$CPPFLAGS
13931 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13932 for ac_header in tiffio.h
13933 do :
13934 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13935 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13936 cat >>confdefs.h <<_ACEOF
13937 #define HAVE_TIFFIO_H 1
13938 _ACEOF
13942 done
13944 if test "$ac_cv_header_tiffio_h" = "yes"
13945 then
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13947 $as_echo_n "checking for -ltiff... " >&6; }
13948 if ${ac_cv_lib_soname_tiff+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 ac_check_soname_save_LIBS=$LIBS
13952 LIBS="-ltiff $TIFF_LIBS $LIBS"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13956 /* Override any GCC internal prototype to avoid an error.
13957 Use char because int might match the return type of a GCC
13958 builtin and then its argument prototype would still apply. */
13959 #ifdef __cplusplus
13960 extern "C"
13961 #endif
13962 char TIFFClientOpen ();
13964 main ()
13966 return TIFFClientOpen ();
13968 return 0;
13970 _ACEOF
13971 if ac_fn_c_try_link "$LINENO"; then :
13972 case "$LIBEXT" in
13973 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13974 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'` ;;
13975 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13976 if ${ac_cv_lib_soname_tiff:+false} :; then :
13977 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13978 fi ;;
13979 esac
13981 rm -f core conftest.err conftest.$ac_objext \
13982 conftest$ac_exeext conftest.$ac_ext
13983 LIBS=$ac_check_soname_save_LIBS
13985 if ${ac_cv_lib_soname_tiff:+false} :; then :
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13987 $as_echo "not found" >&6; }
13989 else
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13991 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13993 cat >>confdefs.h <<_ACEOF
13994 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13995 _ACEOF
14000 CPPFLAGS=$ac_save_CPPFLAGS
14001 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14002 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14005 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14006 case "x$with_tiff" in
14007 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14008 xno) ;;
14009 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14010 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14011 esac
14015 if test "x$with_mpg123" != "xno"
14016 then
14017 if ${MPG123_CFLAGS:+false} :; then :
14018 if ${PKG_CONFIG+:} false; then :
14019 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14023 if ${MPG123_LIBS:+false} :; then :
14024 if ${PKG_CONFIG+:} false; then :
14025 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14029 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14030 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14031 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14032 ac_save_CPPFLAGS=$CPPFLAGS
14033 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14034 for ac_header in mpg123.h
14035 do :
14036 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14037 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14038 cat >>confdefs.h <<_ACEOF
14039 #define HAVE_MPG123_H 1
14040 _ACEOF
14044 done
14046 if test "$ac_cv_header_mpg123_h" = "yes"
14047 then
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14049 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14050 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14051 $as_echo_n "(cached) " >&6
14052 else
14053 ac_check_lib_save_LIBS=$LIBS
14054 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14056 /* end confdefs.h. */
14058 /* Override any GCC internal prototype to avoid an error.
14059 Use char because int might match the return type of a GCC
14060 builtin and then its argument prototype would still apply. */
14061 #ifdef __cplusplus
14062 extern "C"
14063 #endif
14064 char mpg123_feed ();
14066 main ()
14068 return mpg123_feed ();
14070 return 0;
14072 _ACEOF
14073 if ac_fn_c_try_link "$LINENO"; then :
14074 ac_cv_lib_mpg123_mpg123_feed=yes
14075 else
14076 ac_cv_lib_mpg123_mpg123_feed=no
14078 rm -f core conftest.err conftest.$ac_objext \
14079 conftest$ac_exeext conftest.$ac_ext
14080 LIBS=$ac_check_lib_save_LIBS
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14083 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14084 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14086 else
14087 MPG123_LIBS=""
14090 else
14091 MPG123_CFLAGS=""
14092 MPG123_LIBS=""
14094 CPPFLAGS=$ac_save_CPPFLAGS
14095 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14096 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14099 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14100 case "x$with_mpg123" in
14101 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14102 xno) ;;
14103 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14104 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14105 esac
14106 enable_winemp3_acm=${enable_winemp3_acm:-no}
14109 if test "$ac_cv_header_AL_al_h" = "yes"
14110 then
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14112 $as_echo_n "checking for -lopenal... " >&6; }
14113 if ${ac_cv_lib_soname_openal+:} false; then :
14114 $as_echo_n "(cached) " >&6
14115 else
14116 ac_check_soname_save_LIBS=$LIBS
14117 LIBS="-lopenal $LIBS"
14118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14119 /* end confdefs.h. */
14121 /* Override any GCC internal prototype to avoid an error.
14122 Use char because int might match the return type of a GCC
14123 builtin and then its argument prototype would still apply. */
14124 #ifdef __cplusplus
14125 extern "C"
14126 #endif
14127 char alGetSource3i ();
14129 main ()
14131 return alGetSource3i ();
14133 return 0;
14135 _ACEOF
14136 if ac_fn_c_try_link "$LINENO"; then :
14137 case "$LIBEXT" in
14138 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14139 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'` ;;
14140 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14141 if ${ac_cv_lib_soname_openal:+false} :; then :
14142 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14143 fi ;;
14144 esac
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_soname_save_LIBS
14150 if ${ac_cv_lib_soname_openal:+false} :; then :
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14152 $as_echo "not found" >&6; }
14154 else
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14156 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14158 cat >>confdefs.h <<_ACEOF
14159 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14160 _ACEOF
14162 OPENAL_LIBS="-lopenal"
14164 ac_cv_lib_openal=yes
14166 cat >>confdefs.h <<_ACEOF
14167 #define HAVE_OPENAL 1
14168 _ACEOF
14172 if test "x$ac_cv_lib_openal" != xyes; then :
14173 case "x$with_openal" in
14174 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14175 xno) ;;
14176 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14177 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14178 esac
14179 enable_openal32=${enable_openal32:-no}
14182 if test "x$ac_cv_lib_openal" = xyes
14183 then
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14185 $as_echo_n "checking for openal-soft... " >&6; }
14186 if ${ac_cv_have_openalsoft+:} false; then :
14187 $as_echo_n "(cached) " >&6
14188 else
14189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14190 /* end confdefs.h. */
14191 #include <AL/al.h>
14192 #include <AL/alc.h>
14193 #include <AL/alext.h>
14194 LPALCRENDERSAMPLESSOFT x;
14196 main ()
14200 return 0;
14202 _ACEOF
14203 if ac_fn_c_try_compile "$LINENO"; then :
14204 ac_cv_have_openalsoft=yes
14205 else
14206 ac_cv_have_openalsoft=no
14208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14211 $as_echo "$ac_cv_have_openalsoft" >&6; }
14213 if test "x$ac_cv_have_openalsoft" != xyes
14214 then
14215 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14216 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14217 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14218 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14219 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14220 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14221 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14222 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14223 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14224 enable_xapofx1_1=${enable_xapofx1_1:-no}
14225 enable_xapofx1_2=${enable_xapofx1_2:-no}
14226 enable_xapofx1_3=${enable_xapofx1_3:-no}
14227 enable_xapofx1_4=${enable_xapofx1_4:-no}
14228 enable_xapofx1_5=${enable_xapofx1_5:-no}
14229 enable_xaudio2_0=${enable_xaudio2_0:-no}
14230 enable_xaudio2_1=${enable_xaudio2_1:-no}
14231 enable_xaudio2_2=${enable_xaudio2_2:-no}
14232 enable_xaudio2_3=${enable_xaudio2_3:-no}
14233 enable_xaudio2_4=${enable_xaudio2_4:-no}
14234 enable_xaudio2_5=${enable_xaudio2_5:-no}
14235 enable_xaudio2_6=${enable_xaudio2_6:-no}
14236 enable_xaudio2_7=${enable_xaudio2_7:-no}
14237 enable_xaudio2_8=${enable_xaudio2_8:-no}
14238 enable_xaudio2_9=${enable_xaudio2_9:-no}
14241 if test "$ac_cv_header_kstat_h" = "yes"
14242 then
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14244 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14245 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14246 $as_echo_n "(cached) " >&6
14247 else
14248 ac_check_lib_save_LIBS=$LIBS
14249 LIBS="-lkstat $LIBS"
14250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14251 /* end confdefs.h. */
14253 /* Override any GCC internal prototype to avoid an error.
14254 Use char because int might match the return type of a GCC
14255 builtin and then its argument prototype would still apply. */
14256 #ifdef __cplusplus
14257 extern "C"
14258 #endif
14259 char kstat_open ();
14261 main ()
14263 return kstat_open ();
14265 return 0;
14267 _ACEOF
14268 if ac_fn_c_try_link "$LINENO"; then :
14269 ac_cv_lib_kstat_kstat_open=yes
14270 else
14271 ac_cv_lib_kstat_kstat_open=no
14273 rm -f core conftest.err conftest.$ac_objext \
14274 conftest$ac_exeext conftest.$ac_ext
14275 LIBS=$ac_check_lib_save_LIBS
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14278 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14279 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14281 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14283 KSTAT_LIBS="-lkstat"
14289 if test "$ac_cv_header_libprocstat_h" = "yes"
14290 then
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14292 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14293 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14294 $as_echo_n "(cached) " >&6
14295 else
14296 ac_check_lib_save_LIBS=$LIBS
14297 LIBS="-lprocstat $LIBS"
14298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14299 /* end confdefs.h. */
14301 /* Override any GCC internal prototype to avoid an error.
14302 Use char because int might match the return type of a GCC
14303 builtin and then its argument prototype would still apply. */
14304 #ifdef __cplusplus
14305 extern "C"
14306 #endif
14307 char procstat_open_sysctl ();
14309 main ()
14311 return procstat_open_sysctl ();
14313 return 0;
14315 _ACEOF
14316 if ac_fn_c_try_link "$LINENO"; then :
14317 ac_cv_lib_procstat_procstat_open_sysctl=yes
14318 else
14319 ac_cv_lib_procstat_procstat_open_sysctl=no
14321 rm -f core conftest.err conftest.$ac_objext \
14322 conftest$ac_exeext conftest.$ac_ext
14323 LIBS=$ac_check_lib_save_LIBS
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14326 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14327 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14329 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14331 PROCSTAT_LIBS="-lprocstat"
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14338 $as_echo_n "checking for -lodbc... " >&6; }
14339 if ${ac_cv_lib_soname_odbc+:} false; then :
14340 $as_echo_n "(cached) " >&6
14341 else
14342 ac_check_soname_save_LIBS=$LIBS
14343 LIBS="-lodbc $LIBS"
14344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14347 /* Override any GCC internal prototype to avoid an error.
14348 Use char because int might match the return type of a GCC
14349 builtin and then its argument prototype would still apply. */
14350 #ifdef __cplusplus
14351 extern "C"
14352 #endif
14353 char SQLConnect ();
14355 main ()
14357 return SQLConnect ();
14359 return 0;
14361 _ACEOF
14362 if ac_fn_c_try_link "$LINENO"; then :
14363 case "$LIBEXT" in
14364 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14365 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'` ;;
14366 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14367 if ${ac_cv_lib_soname_odbc:+false} :; then :
14368 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14369 fi ;;
14370 esac
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 LIBS=$ac_check_soname_save_LIBS
14376 if ${ac_cv_lib_soname_odbc:+false} :; then :
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14378 $as_echo "not found" >&6; }
14379 cat >>confdefs.h <<_ACEOF
14380 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14381 _ACEOF
14383 else
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14385 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14387 cat >>confdefs.h <<_ACEOF
14388 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14389 _ACEOF
14394 if test "x$with_netapi" != "xno"
14395 then
14396 if ${NETAPI_CFLAGS:+false} :; then :
14397 if ${PKG_CONFIG+:} false; then :
14398 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14402 if ${NETAPI_LIBS:+false} :; then :
14403 if ${PKG_CONFIG+:} false; then :
14404 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14409 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14410 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14411 ac_save_CPPFLAGS=$CPPFLAGS
14412 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14414 $as_echo_n "checking for -lnetapi... " >&6; }
14415 if ${ac_cv_lib_soname_netapi+:} false; then :
14416 $as_echo_n "(cached) " >&6
14417 else
14418 ac_check_soname_save_LIBS=$LIBS
14419 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14421 /* end confdefs.h. */
14423 /* Override any GCC internal prototype to avoid an error.
14424 Use char because int might match the return type of a GCC
14425 builtin and then its argument prototype would still apply. */
14426 #ifdef __cplusplus
14427 extern "C"
14428 #endif
14429 char libnetapi_init ();
14431 main ()
14433 return libnetapi_init ();
14435 return 0;
14437 _ACEOF
14438 if ac_fn_c_try_link "$LINENO"; then :
14439 case "$LIBEXT" in
14440 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14441 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'` ;;
14442 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14443 if ${ac_cv_lib_soname_netapi:+false} :; then :
14444 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14445 fi ;;
14446 esac
14448 rm -f core conftest.err conftest.$ac_objext \
14449 conftest$ac_exeext conftest.$ac_ext
14450 LIBS=$ac_check_soname_save_LIBS
14452 if ${ac_cv_lib_soname_netapi:+false} :; then :
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14454 $as_echo "not found" >&6; }
14455 cat >>confdefs.h <<_ACEOF
14456 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14457 _ACEOF
14459 else
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14461 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14463 cat >>confdefs.h <<_ACEOF
14464 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14465 _ACEOF
14469 CPPFLAGS=$ac_save_CPPFLAGS
14470 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14471 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14475 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14476 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14477 then
14478 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14482 EXTRACFLAGS=""
14484 if test "x${GCC}" = "xyes"
14485 then
14486 EXTRACFLAGS="-Wall -pipe"
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14489 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14490 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14491 $as_echo_n "(cached) " >&6
14492 else
14493 if test "$cross_compiling" = yes; then :
14494 ac_cv_c_gcc_strength_bug="no"
14495 else
14496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14497 /* end confdefs.h. */
14498 int L[4] = {0,1,2,3};
14500 main ()
14502 static int Array[3];
14503 unsigned int B = 3;
14504 int i;
14505 for(i=0; i<B; i++) Array[i] = i - 3;
14506 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14507 L[i] = 4;
14508 return (Array[1] != -2 || L[2] != 3)
14510 return 0;
14512 _ACEOF
14513 if ac_fn_c_try_run "$LINENO"; then :
14514 ac_cv_c_gcc_strength_bug="no"
14515 else
14516 ac_cv_c_gcc_strength_bug="yes"
14518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14519 conftest.$ac_objext conftest.beam conftest.$ac_ext
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14524 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14525 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14526 then
14527 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14531 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14532 if ${ac_cv_cflags__fno_builtin+:} false; then :
14533 $as_echo_n "(cached) " >&6
14534 else
14535 ac_wine_try_cflags_saved=$CFLAGS
14536 CFLAGS="$CFLAGS -fno-builtin"
14537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14538 /* end confdefs.h. */
14539 int main(int argc, char **argv) { return 0; }
14540 _ACEOF
14541 if ac_fn_c_try_link "$LINENO"; then :
14542 ac_cv_cflags__fno_builtin=yes
14543 else
14544 ac_cv_cflags__fno_builtin=no
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14548 CFLAGS=$ac_wine_try_cflags_saved
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14551 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14552 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14553 BUILTINFLAG="-fno-builtin"
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14557 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14558 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14559 $as_echo_n "(cached) " >&6
14560 else
14561 ac_wine_try_cflags_saved=$CFLAGS
14562 CFLAGS="$CFLAGS -fno-strict-aliasing"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14565 int main(int argc, char **argv) { return 0; }
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"; then :
14568 ac_cv_cflags__fno_strict_aliasing=yes
14569 else
14570 ac_cv_cflags__fno_strict_aliasing=no
14572 rm -f core conftest.err conftest.$ac_objext \
14573 conftest$ac_exeext conftest.$ac_ext
14574 CFLAGS=$ac_wine_try_cflags_saved
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14577 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14578 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14579 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14582 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14583 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_wine_try_cflags_saved=$CFLAGS
14587 CFLAGS="$CFLAGS -fexcess-precision=standard"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14590 int main(int argc, char **argv) { return 0; }
14591 _ACEOF
14592 if ac_fn_c_try_link "$LINENO"; then :
14593 ac_cv_cflags__fexcess_precision_standard=yes
14594 else
14595 ac_cv_cflags__fexcess_precision_standard=no
14597 rm -f core conftest.err conftest.$ac_objext \
14598 conftest$ac_exeext conftest.$ac_ext
14599 CFLAGS=$ac_wine_try_cflags_saved
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14602 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14603 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14604 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14607 saved_CFLAGS=$CFLAGS
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14609 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14610 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14611 $as_echo_n "(cached) " >&6
14612 else
14613 ac_wine_try_cflags_saved=$CFLAGS
14614 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 int main(int argc, char **argv) { return 0; }
14618 _ACEOF
14619 if ac_fn_c_try_link "$LINENO"; then :
14620 ac_cv_cflags__Werror_unknown_warning_option=yes
14621 else
14622 ac_cv_cflags__Werror_unknown_warning_option=no
14624 rm -f core conftest.err conftest.$ac_objext \
14625 conftest$ac_exeext conftest.$ac_ext
14626 CFLAGS=$ac_wine_try_cflags_saved
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14629 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14630 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14631 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14634 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14635 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14636 $as_echo_n "(cached) " >&6
14637 else
14638 ac_wine_try_cflags_saved=$CFLAGS
14639 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641 /* end confdefs.h. */
14642 int main(int argc, char **argv) { return 0; }
14643 _ACEOF
14644 if ac_fn_c_try_link "$LINENO"; then :
14645 ac_cv_cflags__Wdeclaration_after_statement=yes
14646 else
14647 ac_cv_cflags__Wdeclaration_after_statement=no
14649 rm -f core conftest.err conftest.$ac_objext \
14650 conftest$ac_exeext conftest.$ac_ext
14651 CFLAGS=$ac_wine_try_cflags_saved
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14654 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14655 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14656 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14659 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14660 if ${ac_cv_cflags__Wempty_body+:} false; then :
14661 $as_echo_n "(cached) " >&6
14662 else
14663 ac_wine_try_cflags_saved=$CFLAGS
14664 CFLAGS="$CFLAGS -Wempty-body"
14665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14666 /* end confdefs.h. */
14667 int main(int argc, char **argv) { return 0; }
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_cflags__Wempty_body=yes
14671 else
14672 ac_cv_cflags__Wempty_body=no
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14676 CFLAGS=$ac_wine_try_cflags_saved
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14679 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14680 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14681 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14684 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14685 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14686 $as_echo_n "(cached) " >&6
14687 else
14688 ac_wine_try_cflags_saved=$CFLAGS
14689 CFLAGS="$CFLAGS -Wignored-qualifiers"
14690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14691 /* end confdefs.h. */
14692 int main(int argc, char **argv) { return 0; }
14693 _ACEOF
14694 if ac_fn_c_try_link "$LINENO"; then :
14695 ac_cv_cflags__Wignored_qualifiers=yes
14696 else
14697 ac_cv_cflags__Wignored_qualifiers=no
14699 rm -f core conftest.err conftest.$ac_objext \
14700 conftest$ac_exeext conftest.$ac_ext
14701 CFLAGS=$ac_wine_try_cflags_saved
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14704 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14705 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14706 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14709 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14710 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14711 $as_echo_n "(cached) " >&6
14712 else
14713 ac_wine_try_cflags_saved=$CFLAGS
14714 CFLAGS="$CFLAGS -Wshift-overflow=2"
14715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14716 /* end confdefs.h. */
14717 int main(int argc, char **argv) { return 0; }
14718 _ACEOF
14719 if ac_fn_c_try_link "$LINENO"; then :
14720 ac_cv_cflags__Wshift_overflow_2=yes
14721 else
14722 ac_cv_cflags__Wshift_overflow_2=no
14724 rm -f core conftest.err conftest.$ac_objext \
14725 conftest$ac_exeext conftest.$ac_ext
14726 CFLAGS=$ac_wine_try_cflags_saved
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14729 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14730 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14731 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14734 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14735 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14736 $as_echo_n "(cached) " >&6
14737 else
14738 ac_wine_try_cflags_saved=$CFLAGS
14739 CFLAGS="$CFLAGS -Wstrict-prototypes"
14740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14741 /* end confdefs.h. */
14742 int main(int argc, char **argv) { return 0; }
14743 _ACEOF
14744 if ac_fn_c_try_link "$LINENO"; then :
14745 ac_cv_cflags__Wstrict_prototypes=yes
14746 else
14747 ac_cv_cflags__Wstrict_prototypes=no
14749 rm -f core conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 CFLAGS=$ac_wine_try_cflags_saved
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14754 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14755 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14756 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14759 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14760 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14761 $as_echo_n "(cached) " >&6
14762 else
14763 ac_wine_try_cflags_saved=$CFLAGS
14764 CFLAGS="$CFLAGS -Wtype-limits"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14767 int main(int argc, char **argv) { return 0; }
14768 _ACEOF
14769 if ac_fn_c_try_link "$LINENO"; then :
14770 ac_cv_cflags__Wtype_limits=yes
14771 else
14772 ac_cv_cflags__Wtype_limits=no
14774 rm -f core conftest.err conftest.$ac_objext \
14775 conftest$ac_exeext conftest.$ac_ext
14776 CFLAGS=$ac_wine_try_cflags_saved
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14779 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14780 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14781 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14784 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14785 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14786 $as_echo_n "(cached) " >&6
14787 else
14788 ac_wine_try_cflags_saved=$CFLAGS
14789 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14791 /* end confdefs.h. */
14792 int main(int argc, char **argv) { return 0; }
14793 _ACEOF
14794 if ac_fn_c_try_link "$LINENO"; then :
14795 ac_cv_cflags__Wunused_but_set_parameter=yes
14796 else
14797 ac_cv_cflags__Wunused_but_set_parameter=no
14799 rm -f core conftest.err conftest.$ac_objext \
14800 conftest$ac_exeext conftest.$ac_ext
14801 CFLAGS=$ac_wine_try_cflags_saved
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14804 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14805 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14806 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14809 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14810 if ${ac_cv_cflags__Wvla+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_wine_try_cflags_saved=$CFLAGS
14814 CFLAGS="$CFLAGS -Wvla"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 int main(int argc, char **argv) { return 0; }
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_cflags__Wvla=yes
14821 else
14822 ac_cv_cflags__Wvla=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 CFLAGS=$ac_wine_try_cflags_saved
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14829 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14830 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14831 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14834 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14835 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_wine_try_cflags_saved=$CFLAGS
14839 CFLAGS="$CFLAGS -Wwrite-strings"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_cflags__Wwrite_strings=yes
14846 else
14847 ac_cv_cflags__Wwrite_strings=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 CFLAGS=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14854 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14855 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14856 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14860 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14861 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14862 $as_echo_n "(cached) " >&6
14863 else
14864 ac_wine_try_cflags_saved=$CFLAGS
14865 CFLAGS="$CFLAGS -Wpointer-arith"
14866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14867 /* end confdefs.h. */
14868 int main(int argc, char **argv) { return 0; }
14869 _ACEOF
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 ac_cv_cflags__Wpointer_arith=yes
14872 else
14873 ac_cv_cflags__Wpointer_arith=no
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14877 CFLAGS=$ac_wine_try_cflags_saved
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14880 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14881 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14882 saved_string_h_CFLAGS=$CFLAGS
14883 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14885 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14886 if ${ac_cv_c_string_h_warnings+:} false; then :
14887 $as_echo_n "(cached) " >&6
14888 else
14889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14890 /* end confdefs.h. */
14891 #include <string.h>
14893 main ()
14897 return 0;
14899 _ACEOF
14900 if ac_fn_c_try_compile "$LINENO"; then :
14901 ac_cv_c_string_h_warnings=no
14902 else
14903 ac_cv_c_string_h_warnings=yes
14905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14908 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14909 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14910 CFLAGS=$saved_string_h_CFLAGS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14914 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14915 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14916 $as_echo_n "(cached) " >&6
14917 else
14918 ac_wine_try_cflags_saved=$CFLAGS
14919 CFLAGS="$CFLAGS -Wlogical-op"
14920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14921 /* end confdefs.h. */
14922 int main(int argc, char **argv) { return 0; }
14923 _ACEOF
14924 if ac_fn_c_try_link "$LINENO"; then :
14925 ac_cv_cflags__Wlogical_op=yes
14926 else
14927 ac_cv_cflags__Wlogical_op=no
14929 rm -f core conftest.err conftest.$ac_objext \
14930 conftest$ac_exeext conftest.$ac_ext
14931 CFLAGS=$ac_wine_try_cflags_saved
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14934 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14935 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14936 saved_string_h_CFLAGS=$CFLAGS
14937 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14939 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14940 if ${ac_cv_c_logicalop_noisy+:} false; then :
14941 $as_echo_n "(cached) " >&6
14942 else
14943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14944 /* end confdefs.h. */
14945 #include <string.h>
14946 char*f(const char *h,char n) {return strchr(h,n);}
14948 main ()
14952 return 0;
14954 _ACEOF
14955 if ac_fn_c_try_compile "$LINENO"; then :
14956 ac_cv_c_logicalop_noisy=no
14957 else
14958 ac_cv_c_logicalop_noisy=yes
14960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14963 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14964 CFLAGS=$saved_string_h_CFLAGS
14965 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14968 CFLAGS=$saved_CFLAGS
14970 for ac_flag in $CFLAGS; do
14971 case $ac_flag in
14972 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14973 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14974 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14975 $as_echo_n "(cached) " >&6
14976 else
14977 ac_wine_try_cflags_saved=$CFLAGS
14978 CFLAGS="$CFLAGS -gdwarf-2"
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 int main(int argc, char **argv) { return 0; }
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 ac_cv_cflags__gdwarf_2=yes
14985 else
14986 ac_cv_cflags__gdwarf_2=no
14988 rm -f core conftest.err conftest.$ac_objext \
14989 conftest$ac_exeext conftest.$ac_ext
14990 CFLAGS=$ac_wine_try_cflags_saved
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14993 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14994 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14995 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14998 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14999 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_wine_try_cflags_saved=$CFLAGS
15003 CFLAGS="$CFLAGS -gstrict-dwarf"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 int main(int argc, char **argv) { return 0; }
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 ac_cv_cflags__gstrict_dwarf=yes
15010 else
15011 ac_cv_cflags__gstrict_dwarf=no
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 CFLAGS=$ac_wine_try_cflags_saved
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15018 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15019 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15020 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15021 fi ;;
15022 esac
15023 done
15025 case $host_cpu in
15026 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15027 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15028 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15029 $as_echo_n "(cached) " >&6
15030 else
15031 ac_wine_try_cflags_saved=$CFLAGS
15032 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15035 int main(int argc, char **argv) { return 0; }
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"; then :
15038 ac_cv_cflags__fno_omit_frame_pointer=yes
15039 else
15040 ac_cv_cflags__fno_omit_frame_pointer=no
15042 rm -f core conftest.err conftest.$ac_objext \
15043 conftest$ac_exeext conftest.$ac_ext
15044 CFLAGS=$ac_wine_try_cflags_saved
15046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15047 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15048 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15049 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15050 fi ;;
15051 esac
15053 case $host in
15054 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15055 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15056 if ${ac_cv_cflags__Wno_format+:} false; then :
15057 $as_echo_n "(cached) " >&6
15058 else
15059 ac_wine_try_cflags_saved=$CFLAGS
15060 CFLAGS="$CFLAGS -Wno-format"
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15063 int main(int argc, char **argv) { return 0; }
15064 _ACEOF
15065 if ac_fn_c_try_link "$LINENO"; then :
15066 ac_cv_cflags__Wno_format=yes
15067 else
15068 ac_cv_cflags__Wno_format=no
15070 rm -f core conftest.err conftest.$ac_objext \
15071 conftest$ac_exeext conftest.$ac_ext
15072 CFLAGS=$ac_wine_try_cflags_saved
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15075 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15076 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15077 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15078 fi ;;
15079 esac
15081 if test "x$enable_maintainer_mode" = "xyes"
15082 then
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15084 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15085 if ${ac_cv_cflags__Werror+:} false; then :
15086 $as_echo_n "(cached) " >&6
15087 else
15088 ac_wine_try_cflags_saved=$CFLAGS
15089 CFLAGS="$CFLAGS -Werror"
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 int main(int argc, char **argv) { return 0; }
15093 _ACEOF
15094 if ac_fn_c_try_link "$LINENO"; then :
15095 ac_cv_cflags__Werror=yes
15096 else
15097 ac_cv_cflags__Werror=no
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 CFLAGS=$ac_wine_try_cflags_saved
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15104 $as_echo "$ac_cv_cflags__Werror" >&6; }
15105 if test "x$ac_cv_cflags__Werror" = xyes; then :
15106 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15110 saved_CFLAGS="$CFLAGS"
15111 CFLAGS="$CFLAGS -Werror"
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15113 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15114 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15119 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15121 main ()
15125 return 0;
15127 _ACEOF
15128 if ac_fn_c_try_compile "$LINENO"; then :
15129 ac_cv_have_ms_hook_prologue="yes"
15130 else
15131 ac_cv_have_ms_hook_prologue="no"
15133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15136 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15137 CFLAGS="$saved_CFLAGS"
15138 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15139 then
15141 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15143 else
15144 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15151 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15152 if ${ac_cv_c_fortify_enabled+:} false; then :
15153 $as_echo_n "(cached) " >&6
15154 else
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15157 #include <string.h>
15159 main ()
15161 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15162 #error Fortify enabled
15163 #endif
15165 return 0;
15167 _ACEOF
15168 if ac_fn_c_try_compile "$LINENO"; then :
15169 ac_cv_c_fortify_enabled=no
15170 else
15171 ac_cv_c_fortify_enabled=yes
15173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15176 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15177 if test "$ac_cv_c_fortify_enabled" = yes
15178 then
15179 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15184 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15185 if ${ac_cv_c_extern_prefix+:} false; then :
15186 $as_echo_n "(cached) " >&6
15187 else
15188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15189 /* end confdefs.h. */
15190 extern int ac_test;
15192 main ()
15194 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"; then :
15200 ac_cv_c_extern_prefix="yes"
15201 else
15202 ac_cv_c_extern_prefix="no"
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15208 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15210 case $host_cpu in
15211 *i[3456789]86*)
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15213 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15214 if ${ac_cv_c_stdcall_suffix+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219 #ifndef _MSC_VER
15220 #define __stdcall __attribute__((__stdcall__))
15221 #endif
15222 int __stdcall ac_test(int i) { return i; }
15224 main ()
15226 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15228 return 0;
15230 _ACEOF
15231 if ac_fn_c_try_link "$LINENO"; then :
15232 ac_cv_c_stdcall_suffix="yes"
15233 else
15234 ac_cv_c_stdcall_suffix="no"
15236 rm -f core conftest.err conftest.$ac_objext \
15237 conftest$ac_exeext conftest.$ac_ext
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15240 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15241 *) ac_cv_c_stdcall_suffix="no" ;;
15242 esac
15245 if test "$ac_cv_c_extern_prefix" = "yes"
15246 then
15247 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15249 asm_name_prefix="_"
15250 else
15251 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15253 asm_name_prefix=""
15257 if test "$ac_cv_c_stdcall_suffix" = "yes"
15258 then
15259 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15261 else
15262 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15268 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15269 if ${ac_cv_asm_func_def+:} false; then :
15270 $as_echo_n "(cached) " >&6
15271 else
15272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15273 /* end confdefs.h. */
15276 main ()
15278 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15280 return 0;
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 ac_cv_asm_func_def=".def"
15285 else
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15290 main ()
15292 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15294 return 0;
15296 _ACEOF
15297 if ac_fn_c_try_link "$LINENO"; then :
15298 ac_cv_asm_func_def=".type @function"
15299 else
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15304 main ()
15306 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 ac_cv_asm_func_def=".type 2"
15313 else
15314 ac_cv_asm_func_def="unknown"
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15322 rm -f core conftest.err conftest.$ac_objext \
15323 conftest$ac_exeext conftest.$ac_ext
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15326 $as_echo "$ac_cv_asm_func_def" >&6; }
15329 case "$ac_cv_asm_func_def" in
15330 ".def")
15331 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15333 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15334 ".type @function")
15335 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15337 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15338 ".type 2")
15339 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15341 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15343 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15345 asm_func_header="" ;;
15346 esac
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15349 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15350 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15351 $as_echo_n "(cached) " >&6
15352 else
15353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354 /* end confdefs.h. */
15355 asm(".text\n\t.long 0");
15357 main ()
15361 return 0;
15363 _ACEOF
15364 if ac_fn_c_try_compile "$LINENO"; then :
15365 ac_cv_c_asm_outside_funcs="yes"
15366 else
15367 ac_cv_c_asm_outside_funcs="no"
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15372 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15375 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15376 if ${ac_cv_c_dot_previous+:} false; then :
15377 $as_echo_n "(cached) " >&6
15378 else
15379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15380 /* end confdefs.h. */
15383 main ()
15385 asm(".text\nac_test:\t.long 0\n\t.previous");
15387 return 0;
15389 _ACEOF
15390 if ac_fn_c_try_link "$LINENO"; then :
15391 ac_cv_c_dot_previous="yes"
15392 else
15393 ac_cv_c_dot_previous="no"
15395 rm -f core conftest.err conftest.$ac_objext \
15396 conftest$ac_exeext conftest.$ac_ext
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15399 $as_echo "$ac_cv_c_dot_previous" >&6; }
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15402 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15403 if ${ac_cv_c_cfi_support+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15408 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15410 main ()
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_compile "$LINENO"; then :
15418 ac_cv_c_cfi_support="yes"
15419 else
15420 ac_cv_c_cfi_support="no"
15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15425 $as_echo "$ac_cv_c_cfi_support" >&6; }
15427 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15428 asm_func_trailer=""
15429 if test "$ac_cv_c_dot_previous" = "yes"
15430 then
15431 asm_func_trailer="\\n\\t.previous"
15433 if test "$ac_cv_c_cfi_support" = "yes"
15434 then
15435 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15436 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15438 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15440 UNWINDFLAGS=-fasynchronous-unwind-tables
15442 else
15443 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15445 if test "x$enable_win64" = "xyes"
15446 then
15447 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15451 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15454 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15455 then
15456 cat >>confdefs.h <<_ACEOF
15457 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15458 _ACEOF
15460 else
15461 cat >>confdefs.h <<_ACEOF
15462 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15463 _ACEOF
15467 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15470 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15474 case $build_os in
15475 cygwin*|mingw32*) TOOLSEXT=".exe"
15477 esac
15479 case $host_os in
15480 linux*)
15481 case $host_cpu in
15482 *i[3456789]86*|x86_64*)
15483 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15484 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15486 esac
15488 esac
15491 ac_save_CFLAGS="$CFLAGS"
15492 CFLAGS="$CFLAGS $BUILTINFLAG"
15493 for ac_func in \
15494 __res_get_state \
15495 __res_getservers \
15496 _finite \
15497 _isnan \
15498 _pclose \
15499 _popen \
15500 _snprintf \
15501 _spawnvp \
15502 _strdup \
15503 _stricmp \
15504 _strnicmp \
15505 _strtoi64 \
15506 _strtoui64 \
15507 _vsnprintf \
15508 asctime_r \
15509 chsize \
15510 dlopen \
15511 epoll_create \
15512 ffs \
15513 finitef \
15514 fnmatch \
15515 fork \
15516 fpclass \
15517 fstatfs \
15518 fstatvfs \
15519 ftruncate \
15520 futimens \
15521 futimes \
15522 futimesat \
15523 getattrlist \
15524 getauxval \
15525 getifaddrs \
15526 getopt_long_only \
15527 getpwuid \
15528 gettimeofday \
15529 getuid \
15530 isnanf \
15531 kqueue \
15532 lstat \
15533 memmove \
15534 mmap \
15535 pclose \
15536 pipe2 \
15537 poll \
15538 popen \
15539 port_create \
15540 prctl \
15541 pread \
15542 proc_pidinfo \
15543 pwrite \
15544 readdir \
15545 readlink \
15546 sched_yield \
15547 select \
15548 setproctitle \
15549 setprogname \
15550 setrlimit \
15551 settimeofday \
15552 sigaltstack \
15553 sigprocmask \
15554 snprintf \
15555 statfs \
15556 statvfs \
15557 strcasecmp \
15558 strdup \
15559 strerror \
15560 strncasecmp \
15561 strtold \
15562 strtoll \
15563 strtoull \
15564 symlink \
15565 sysinfo \
15566 tcdrain \
15567 thr_kill2 \
15568 timegm \
15569 usleep \
15570 vsnprintf
15572 do :
15573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15575 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15576 cat >>confdefs.h <<_ACEOF
15577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15578 _ACEOF
15581 done
15583 CFLAGS="$ac_save_CFLAGS"
15585 if test "$ac_cv_func_dlopen" = no
15586 then
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15588 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15589 if ${ac_cv_lib_dl_dlopen+:} false; then :
15590 $as_echo_n "(cached) " >&6
15591 else
15592 ac_check_lib_save_LIBS=$LIBS
15593 LIBS="-ldl $LIBS"
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15597 /* Override any GCC internal prototype to avoid an error.
15598 Use char because int might match the return type of a GCC
15599 builtin and then its argument prototype would still apply. */
15600 #ifdef __cplusplus
15601 extern "C"
15602 #endif
15603 char dlopen ();
15605 main ()
15607 return dlopen ();
15609 return 0;
15611 _ACEOF
15612 if ac_fn_c_try_link "$LINENO"; then :
15613 ac_cv_lib_dl_dlopen=yes
15614 else
15615 ac_cv_lib_dl_dlopen=no
15617 rm -f core conftest.err conftest.$ac_objext \
15618 conftest$ac_exeext conftest.$ac_ext
15619 LIBS=$ac_check_lib_save_LIBS
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15622 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15623 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15624 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15625 DL_LIBS="-ldl"
15630 ac_wine_check_funcs_save_LIBS="$LIBS"
15631 LIBS="$LIBS $DL_LIBS"
15632 for ac_func in dladdr
15633 do :
15634 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15635 if test "x$ac_cv_func_dladdr" = xyes; then :
15636 cat >>confdefs.h <<_ACEOF
15637 #define HAVE_DLADDR 1
15638 _ACEOF
15641 done
15643 LIBS="$ac_wine_check_funcs_save_LIBS"
15645 if test "$ac_cv_func_poll" = no
15646 then
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15648 $as_echo_n "checking for poll in -lpoll... " >&6; }
15649 if ${ac_cv_lib_poll_poll+:} false; then :
15650 $as_echo_n "(cached) " >&6
15651 else
15652 ac_check_lib_save_LIBS=$LIBS
15653 LIBS="-lpoll $LIBS"
15654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15655 /* end confdefs.h. */
15657 /* Override any GCC internal prototype to avoid an error.
15658 Use char because int might match the return type of a GCC
15659 builtin and then its argument prototype would still apply. */
15660 #ifdef __cplusplus
15661 extern "C"
15662 #endif
15663 char poll ();
15665 main ()
15667 return poll ();
15669 return 0;
15671 _ACEOF
15672 if ac_fn_c_try_link "$LINENO"; then :
15673 ac_cv_lib_poll_poll=yes
15674 else
15675 ac_cv_lib_poll_poll=no
15677 rm -f core conftest.err conftest.$ac_objext \
15678 conftest$ac_exeext conftest.$ac_ext
15679 LIBS=$ac_check_lib_save_LIBS
15681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15682 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15683 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15684 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15685 POLL_LIBS="-lpoll"
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15692 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15693 if ${ac_cv_search_gethostbyname+:} false; then :
15694 $as_echo_n "(cached) " >&6
15695 else
15696 ac_func_search_save_LIBS=$LIBS
15697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15698 /* end confdefs.h. */
15700 /* Override any GCC internal prototype to avoid an error.
15701 Use char because int might match the return type of a GCC
15702 builtin and then its argument prototype would still apply. */
15703 #ifdef __cplusplus
15704 extern "C"
15705 #endif
15706 char gethostbyname ();
15708 main ()
15710 return gethostbyname ();
15712 return 0;
15714 _ACEOF
15715 for ac_lib in '' nsl; do
15716 if test -z "$ac_lib"; then
15717 ac_res="none required"
15718 else
15719 ac_res=-l$ac_lib
15720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15722 if ac_fn_c_try_link "$LINENO"; then :
15723 ac_cv_search_gethostbyname=$ac_res
15725 rm -f core conftest.err conftest.$ac_objext \
15726 conftest$ac_exeext
15727 if ${ac_cv_search_gethostbyname+:} false; then :
15728 break
15730 done
15731 if ${ac_cv_search_gethostbyname+:} false; then :
15733 else
15734 ac_cv_search_gethostbyname=no
15736 rm conftest.$ac_ext
15737 LIBS=$ac_func_search_save_LIBS
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15740 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15741 ac_res=$ac_cv_search_gethostbyname
15742 if test "$ac_res" != no; then :
15743 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15749 $as_echo_n "checking for library containing connect... " >&6; }
15750 if ${ac_cv_search_connect+:} false; then :
15751 $as_echo_n "(cached) " >&6
15752 else
15753 ac_func_search_save_LIBS=$LIBS
15754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15755 /* end confdefs.h. */
15757 /* Override any GCC internal prototype to avoid an error.
15758 Use char because int might match the return type of a GCC
15759 builtin and then its argument prototype would still apply. */
15760 #ifdef __cplusplus
15761 extern "C"
15762 #endif
15763 char connect ();
15765 main ()
15767 return connect ();
15769 return 0;
15771 _ACEOF
15772 for ac_lib in '' socket; do
15773 if test -z "$ac_lib"; then
15774 ac_res="none required"
15775 else
15776 ac_res=-l$ac_lib
15777 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15779 if ac_fn_c_try_link "$LINENO"; then :
15780 ac_cv_search_connect=$ac_res
15782 rm -f core conftest.err conftest.$ac_objext \
15783 conftest$ac_exeext
15784 if ${ac_cv_search_connect+:} false; then :
15785 break
15787 done
15788 if ${ac_cv_search_connect+:} false; then :
15790 else
15791 ac_cv_search_connect=no
15793 rm conftest.$ac_ext
15794 LIBS=$ac_func_search_save_LIBS
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15797 $as_echo "$ac_cv_search_connect" >&6; }
15798 ac_res=$ac_cv_search_connect
15799 if test "$ac_res" != no; then :
15800 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15806 $as_echo_n "checking for library containing inet_aton... " >&6; }
15807 if ${ac_cv_search_inet_aton+:} false; then :
15808 $as_echo_n "(cached) " >&6
15809 else
15810 ac_func_search_save_LIBS=$LIBS
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15814 /* Override any GCC internal prototype to avoid an error.
15815 Use char because int might match the return type of a GCC
15816 builtin and then its argument prototype would still apply. */
15817 #ifdef __cplusplus
15818 extern "C"
15819 #endif
15820 char inet_aton ();
15822 main ()
15824 return inet_aton ();
15826 return 0;
15828 _ACEOF
15829 for ac_lib in '' resolv; do
15830 if test -z "$ac_lib"; then
15831 ac_res="none required"
15832 else
15833 ac_res=-l$ac_lib
15834 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15836 if ac_fn_c_try_link "$LINENO"; then :
15837 ac_cv_search_inet_aton=$ac_res
15839 rm -f core conftest.err conftest.$ac_objext \
15840 conftest$ac_exeext
15841 if ${ac_cv_search_inet_aton+:} false; then :
15842 break
15844 done
15845 if ${ac_cv_search_inet_aton+:} false; then :
15847 else
15848 ac_cv_search_inet_aton=no
15850 rm conftest.$ac_ext
15851 LIBS=$ac_func_search_save_LIBS
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15854 $as_echo "$ac_cv_search_inet_aton" >&6; }
15855 ac_res=$ac_cv_search_inet_aton
15856 if test "$ac_res" != no; then :
15857 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15862 for ac_func in \
15863 getaddrinfo \
15864 getnameinfo \
15865 getnetbyname \
15866 getprotobyname \
15867 getprotobynumber \
15868 getservbyport \
15869 inet_addr \
15870 inet_network \
15871 inet_ntop \
15872 inet_pton \
15873 sendmsg \
15874 socketpair \
15876 do :
15877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15879 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15882 _ACEOF
15885 done
15888 ac_save_LIBS=$LIBS
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15890 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15891 if ${ac_cv_search_clock_gettime+:} false; then :
15892 $as_echo_n "(cached) " >&6
15893 else
15894 ac_func_search_save_LIBS=$LIBS
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15898 /* Override any GCC internal prototype to avoid an error.
15899 Use char because int might match the return type of a GCC
15900 builtin and then its argument prototype would still apply. */
15901 #ifdef __cplusplus
15902 extern "C"
15903 #endif
15904 char clock_gettime ();
15906 main ()
15908 return clock_gettime ();
15910 return 0;
15912 _ACEOF
15913 for ac_lib in '' rt; do
15914 if test -z "$ac_lib"; then
15915 ac_res="none required"
15916 else
15917 ac_res=-l$ac_lib
15918 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15920 if ac_fn_c_try_link "$LINENO"; then :
15921 ac_cv_search_clock_gettime=$ac_res
15923 rm -f core conftest.err conftest.$ac_objext \
15924 conftest$ac_exeext
15925 if ${ac_cv_search_clock_gettime+:} false; then :
15926 break
15928 done
15929 if ${ac_cv_search_clock_gettime+:} false; then :
15931 else
15932 ac_cv_search_clock_gettime=no
15934 rm conftest.$ac_ext
15935 LIBS=$ac_func_search_save_LIBS
15937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15938 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15939 ac_res=$ac_cv_search_clock_gettime
15940 if test "$ac_res" != no; then :
15941 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15943 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15945 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15949 LIBS=$ac_save_LIBS
15951 if test "x$with_ldap" != "xno"
15952 then
15953 if ${LDAP_CFLAGS:+false} :; then :
15954 if ${PKG_CONFIG+:} false; then :
15955 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15959 if ${LDAP_LIBS:+false} :; then :
15960 if ${PKG_CONFIG+:} false; then :
15961 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15965 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15966 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15967 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15968 ac_save_CPPFLAGS=$CPPFLAGS
15969 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15970 for ac_header in ldap.h lber.h
15971 do :
15972 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15973 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15974 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15975 cat >>confdefs.h <<_ACEOF
15976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15977 _ACEOF
15981 done
15983 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15984 then
15985 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15987 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15989 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15990 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 ac_check_lib_save_LIBS=$LIBS
15994 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
15995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15996 /* end confdefs.h. */
15998 /* Override any GCC internal prototype to avoid an error.
15999 Use char because int might match the return type of a GCC
16000 builtin and then its argument prototype would still apply. */
16001 #ifdef __cplusplus
16002 extern "C"
16003 #endif
16004 char ldap_initialize ();
16006 main ()
16008 return ldap_initialize ();
16010 return 0;
16012 _ACEOF
16013 if ac_fn_c_try_link "$LINENO"; then :
16014 ac_cv_lib_ldap_r_ldap_initialize=yes
16015 else
16016 ac_cv_lib_ldap_r_ldap_initialize=no
16018 rm -f core conftest.err conftest.$ac_objext \
16019 conftest$ac_exeext conftest.$ac_ext
16020 LIBS=$ac_check_lib_save_LIBS
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16023 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16024 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16026 $as_echo_n "checking for ber_init in -llber... " >&6; }
16027 if ${ac_cv_lib_lber_ber_init+:} false; then :
16028 $as_echo_n "(cached) " >&6
16029 else
16030 ac_check_lib_save_LIBS=$LIBS
16031 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16033 /* end confdefs.h. */
16035 /* Override any GCC internal prototype to avoid an error.
16036 Use char because int might match the return type of a GCC
16037 builtin and then its argument prototype would still apply. */
16038 #ifdef __cplusplus
16039 extern "C"
16040 #endif
16041 char ber_init ();
16043 main ()
16045 return ber_init ();
16047 return 0;
16049 _ACEOF
16050 if ac_fn_c_try_link "$LINENO"; then :
16051 ac_cv_lib_lber_ber_init=yes
16052 else
16053 ac_cv_lib_lber_ber_init=no
16055 rm -f core conftest.err conftest.$ac_objext \
16056 conftest$ac_exeext conftest.$ac_ext
16057 LIBS=$ac_check_lib_save_LIBS
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16060 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16061 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16063 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16065 else
16066 LDAP_LIBS=""
16069 else
16070 LDAP_LIBS=""
16073 else
16074 LDAP_LIBS=""
16077 ac_wine_check_funcs_save_LIBS="$LIBS"
16078 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16079 for ac_func in \
16080 ldap_count_references \
16081 ldap_first_reference \
16082 ldap_next_reference \
16083 ldap_parse_reference \
16084 ldap_parse_sort_control \
16085 ldap_parse_sortresponse_control \
16086 ldap_parse_vlv_control \
16087 ldap_parse_vlvresponse_control
16088 do :
16089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16094 _ACEOF
16097 done
16099 LIBS="$ac_wine_check_funcs_save_LIBS"
16100 else
16101 LDAP_LIBS=""
16103 CPPFLAGS=$ac_save_CPPFLAGS
16104 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16105 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16108 if test "x$LDAP_LIBS" = "x"; then :
16109 case "x$with_ldap" in
16110 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16111 xno) ;;
16112 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16113 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16114 esac
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16119 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16120 if ${wine_cv_one_arg_mkdir+:} false; then :
16121 $as_echo_n "(cached) " >&6
16122 else
16123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16124 /* end confdefs.h. */
16125 #include <sys/stat.h>
16127 main ()
16129 mkdir("foo");
16131 return 0;
16133 _ACEOF
16134 if ac_fn_c_try_compile "$LINENO"; then :
16135 wine_cv_one_arg_mkdir=yes
16136 else
16137 wine_cv_one_arg_mkdir=no
16139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16142 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16143 if test "$wine_cv_one_arg_mkdir" = "yes"
16144 then
16146 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16151 $as_echo_n "checking for sched_setaffinity... " >&6; }
16152 if ${wine_cv_have_sched_setaffinity+:} false; then :
16153 $as_echo_n "(cached) " >&6
16154 else
16155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16156 /* end confdefs.h. */
16157 #define _GNU_SOURCE
16158 #include <sched.h>
16160 main ()
16162 sched_setaffinity(0, 0, 0);
16164 return 0;
16166 _ACEOF
16167 if ac_fn_c_try_link "$LINENO"; then :
16168 wine_cv_have_sched_setaffinity=yes
16169 else
16170 wine_cv_have_sched_setaffinity=no
16172 rm -f core conftest.err conftest.$ac_objext \
16173 conftest$ac_exeext conftest.$ac_ext
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16176 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16177 if test "$wine_cv_have_sched_setaffinity" = "yes"
16178 then
16180 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16185 $as_echo_n "checking for fallocate... " >&6; }
16186 if ${wine_cv_have_fallocate+:} false; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16191 #define _GNU_SOURCE
16192 #include <fcntl.h>
16194 main ()
16196 fallocate(-1, 0, 0, 0);
16198 return 0;
16200 _ACEOF
16201 if ac_fn_c_try_link "$LINENO"; then :
16202 wine_cv_have_fallocate=yes
16203 else
16204 wine_cv_have_fallocate=no
16206 rm -f core conftest.err conftest.$ac_objext \
16207 conftest$ac_exeext conftest.$ac_ext
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16210 $as_echo "$wine_cv_have_fallocate" >&6; }
16211 if test "$wine_cv_have_fallocate" = "yes"
16212 then
16214 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16220 $as_echo_n "checking for inline... " >&6; }
16221 if ${ac_cv_c_inline+:} false; then :
16222 $as_echo_n "(cached) " >&6
16223 else
16224 ac_cv_c_inline=no
16225 for ac_kw in inline __inline__ __inline; do
16226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16227 /* end confdefs.h. */
16228 #ifndef __cplusplus
16229 typedef int foo_t;
16230 static $ac_kw foo_t static_foo () {return 0; }
16231 $ac_kw foo_t foo () {return 0; }
16232 #endif
16234 _ACEOF
16235 if ac_fn_c_try_compile "$LINENO"; then :
16236 ac_cv_c_inline=$ac_kw
16238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16239 test "$ac_cv_c_inline" != no && break
16240 done
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16244 $as_echo "$ac_cv_c_inline" >&6; }
16246 case $ac_cv_c_inline in
16247 inline | yes) ;;
16249 case $ac_cv_c_inline in
16250 no) ac_val=;;
16251 *) ac_val=$ac_cv_c_inline;;
16252 esac
16253 cat >>confdefs.h <<_ACEOF
16254 #ifndef __cplusplus
16255 #define inline $ac_val
16256 #endif
16257 _ACEOF
16259 esac
16261 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16262 if test "x$ac_cv_type_mode_t" = xyes; then :
16264 cat >>confdefs.h <<_ACEOF
16265 #define HAVE_MODE_T 1
16266 _ACEOF
16270 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16271 if test "x$ac_cv_type_off_t" = xyes; then :
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_OFF_T 1
16275 _ACEOF
16279 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16280 if test "x$ac_cv_type_pid_t" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_PID_T 1
16284 _ACEOF
16288 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16289 if test "x$ac_cv_type_size_t" = xyes; then :
16291 cat >>confdefs.h <<_ACEOF
16292 #define HAVE_SIZE_T 1
16293 _ACEOF
16297 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16298 if test "x$ac_cv_type_ssize_t" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_SSIZE_T 1
16302 _ACEOF
16306 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16307 if test "x$ac_cv_type_long_long" = xyes; then :
16309 cat >>confdefs.h <<_ACEOF
16310 #define HAVE_LONG_LONG 1
16311 _ACEOF
16315 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16316 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16318 cat >>confdefs.h <<_ACEOF
16319 #define HAVE_FSBLKCNT_T 1
16320 _ACEOF
16324 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16325 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_FSFILCNT_T 1
16329 _ACEOF
16334 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16335 #include <signal.h>
16337 if test "x$ac_cv_type_sigset_t" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_SIGSET_T 1
16341 _ACEOF
16346 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16348 if test "x$ac_cv_type_request_sense" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_REQUEST_SENSE 1
16352 _ACEOF
16358 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16359 #ifdef HAVE_SYS_SOCKET_H
16360 #include <sys/socket.h>
16361 #endif
16362 #ifdef HAVE_SYS_SOCKETVAR_H
16363 #include <sys/socketvar.h>
16364 #endif
16365 #ifdef HAVE_NET_ROUTE_H
16366 #include <net/route.h>
16367 #endif
16368 #ifdef HAVE_NETINET_IN_H
16369 #include <netinet/in.h>
16370 #endif
16371 #ifdef HAVE_NETINET_IN_SYSTM_H
16372 #include <netinet/in_systm.h>
16373 #endif
16374 #ifdef HAVE_NETINET_IP_H
16375 #include <netinet/ip.h>
16376 #endif
16377 #ifdef HAVE_NETINET_IN_PCB_H
16378 #include <netinet/in_pcb.h>
16379 #endif
16381 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16383 cat >>confdefs.h <<_ACEOF
16384 #define HAVE_STRUCT_XINPGEN 1
16385 _ACEOF
16391 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16392 #include <link.h>
16393 #endif
16394 #ifdef HAVE_SYS_LINK_H
16395 #include <sys/link.h>
16396 #endif
16398 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16400 cat >>confdefs.h <<_ACEOF
16401 #define HAVE_STRUCT_R_DEBUG 1
16402 _ACEOF
16406 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16407 #include <link.h>
16408 #endif
16409 #ifdef HAVE_SYS_LINK_H
16410 #include <sys/link.h>
16411 #endif
16413 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_STRUCT_LINK_MAP 1
16417 _ACEOF
16423 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16424 #include <linux/input.h>
16425 #endif
16427 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16431 _ACEOF
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16438 $as_echo_n "checking for if_nameindex... " >&6; }
16439 if ${wine_cv_have_if_nameindex+:} false; then :
16440 $as_echo_n "(cached) " >&6
16441 else
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #ifdef HAVE_SYS_TYPES_H
16445 #include <sys/types.h>
16446 #endif
16447 #ifdef HAVE_SYS_SOCKET_H
16448 #include <sys/socket.h>
16449 #endif
16450 #ifdef HAVE_NET_IF_H
16451 # include <net/if.h>
16452 #endif
16454 main ()
16456 struct if_nameindex *p = if_nameindex(); return p->if_index;
16458 return 0;
16460 _ACEOF
16461 if ac_fn_c_try_link "$LINENO"; then :
16462 wine_cv_have_if_nameindex=yes
16463 else
16464 wine_cv_have_if_nameindex=no
16466 rm -f core conftest.err conftest.$ac_objext \
16467 conftest$ac_exeext conftest.$ac_ext
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16470 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16471 if test "$wine_cv_have_if_nameindex" = "yes"
16472 then
16474 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16479 $as_echo_n "checking for sigaddset... " >&6; }
16480 if ${wine_cv_have_sigaddset+:} false; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16484 /* end confdefs.h. */
16485 #include <signal.h>
16487 main ()
16489 sigset_t set; sigaddset(&set,SIGTERM);
16491 return 0;
16493 _ACEOF
16494 if ac_fn_c_try_link "$LINENO"; then :
16495 wine_cv_have_sigaddset=yes
16496 else
16497 wine_cv_have_sigaddset=no
16499 rm -f core conftest.err conftest.$ac_objext \
16500 conftest$ac_exeext conftest.$ac_ext
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16503 $as_echo "$wine_cv_have_sigaddset" >&6; }
16504 if test "$wine_cv_have_sigaddset" = "yes"
16505 then
16507 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16513 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16514 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16515 $as_echo_n "(cached) " >&6
16516 else
16517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16519 #include <netdb.h>
16521 main ()
16524 char *name=0;
16525 struct hostent he;
16526 struct hostent *result;
16527 char *buf=0;
16528 int bufsize=0;
16529 int errnr;
16530 char *addr=0;
16531 int addrlen=0;
16532 int addrtype=0;
16533 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16534 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16537 return 0;
16539 _ACEOF
16540 if ac_fn_c_try_link "$LINENO"; then :
16541 wine_cv_linux_gethostbyname_r_6=yes
16542 else
16543 wine_cv_linux_gethostbyname_r_6=no
16546 rm -f core conftest.err conftest.$ac_objext \
16547 conftest$ac_exeext conftest.$ac_ext
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16551 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16552 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16553 then
16555 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16559 if test "$ac_cv_header_linux_joystick_h" = "yes"
16560 then
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16562 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16563 if ${wine_cv_linux_joystick_22_api+:} false; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16567 /* end confdefs.h. */
16569 #include <sys/ioctl.h>
16570 #include <sys/types.h>
16571 #include <linux/joystick.h>
16573 struct js_event blub;
16574 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16575 #error "no 2.2 header"
16576 #endif
16579 main ()
16581 /*empty*/
16583 return 0;
16585 _ACEOF
16586 if ac_fn_c_try_compile "$LINENO"; then :
16587 wine_cv_linux_joystick_22_api=yes
16588 else
16589 wine_cv_linux_joystick_22_api=no
16591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16595 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16596 if test "$wine_cv_linux_joystick_22_api" = "yes"
16597 then
16599 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16605 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16606 #ifdef HAVE_SYS_PARAM_H
16607 # include <sys/param.h>
16608 #endif
16609 #ifdef HAVE_SYS_MOUNT_H
16610 # include <sys/mount.h>
16611 #endif
16612 #ifdef HAVE_SYS_VFS_H
16613 # include <sys/vfs.h>
16614 #endif
16615 #ifdef HAVE_SYS_STATFS_H
16616 # include <sys/statfs.h>
16617 #endif
16619 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16621 cat >>confdefs.h <<_ACEOF
16622 #define HAVE_STRUCT_STATFS_F_BFREE 1
16623 _ACEOF
16627 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16628 #ifdef HAVE_SYS_PARAM_H
16629 # include <sys/param.h>
16630 #endif
16631 #ifdef HAVE_SYS_MOUNT_H
16632 # include <sys/mount.h>
16633 #endif
16634 #ifdef HAVE_SYS_VFS_H
16635 # include <sys/vfs.h>
16636 #endif
16637 #ifdef HAVE_SYS_STATFS_H
16638 # include <sys/statfs.h>
16639 #endif
16641 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16643 cat >>confdefs.h <<_ACEOF
16644 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16645 _ACEOF
16649 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16650 #ifdef HAVE_SYS_PARAM_H
16651 # include <sys/param.h>
16652 #endif
16653 #ifdef HAVE_SYS_MOUNT_H
16654 # include <sys/mount.h>
16655 #endif
16656 #ifdef HAVE_SYS_VFS_H
16657 # include <sys/vfs.h>
16658 #endif
16659 #ifdef HAVE_SYS_STATFS_H
16660 # include <sys/statfs.h>
16661 #endif
16663 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16665 cat >>confdefs.h <<_ACEOF
16666 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16667 _ACEOF
16671 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16672 #ifdef HAVE_SYS_PARAM_H
16673 # include <sys/param.h>
16674 #endif
16675 #ifdef HAVE_SYS_MOUNT_H
16676 # include <sys/mount.h>
16677 #endif
16678 #ifdef HAVE_SYS_VFS_H
16679 # include <sys/vfs.h>
16680 #endif
16681 #ifdef HAVE_SYS_STATFS_H
16682 # include <sys/statfs.h>
16683 #endif
16685 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16687 cat >>confdefs.h <<_ACEOF
16688 #define HAVE_STRUCT_STATFS_F_FFREE 1
16689 _ACEOF
16693 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16694 #ifdef HAVE_SYS_PARAM_H
16695 # include <sys/param.h>
16696 #endif
16697 #ifdef HAVE_SYS_MOUNT_H
16698 # include <sys/mount.h>
16699 #endif
16700 #ifdef HAVE_SYS_VFS_H
16701 # include <sys/vfs.h>
16702 #endif
16703 #ifdef HAVE_SYS_STATFS_H
16704 # include <sys/statfs.h>
16705 #endif
16707 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16709 cat >>confdefs.h <<_ACEOF
16710 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16711 _ACEOF
16715 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16716 #ifdef HAVE_SYS_PARAM_H
16717 # include <sys/param.h>
16718 #endif
16719 #ifdef HAVE_SYS_MOUNT_H
16720 # include <sys/mount.h>
16721 #endif
16722 #ifdef HAVE_SYS_VFS_H
16723 # include <sys/vfs.h>
16724 #endif
16725 #ifdef HAVE_SYS_STATFS_H
16726 # include <sys/statfs.h>
16727 #endif
16729 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16733 _ACEOF
16739 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16740 #include <sys/statvfs.h>
16741 #endif
16743 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16745 cat >>confdefs.h <<_ACEOF
16746 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16747 _ACEOF
16753 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16754 #include <dirent.h>
16755 #endif
16757 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16759 cat >>confdefs.h <<_ACEOF
16760 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16761 _ACEOF
16767 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16768 #ifdef HAVE_SYS_SOCKET_H
16769 # include <sys/socket.h>
16770 #endif
16771 #ifdef HAVE_SYS_UN_H
16772 # include <sys/un.h>
16773 #endif
16775 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16777 cat >>confdefs.h <<_ACEOF
16778 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16779 _ACEOF
16783 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16784 #ifdef HAVE_SYS_SOCKET_H
16785 # include <sys/socket.h>
16786 #endif
16787 #ifdef HAVE_SYS_UN_H
16788 # include <sys/un.h>
16789 #endif
16791 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16793 cat >>confdefs.h <<_ACEOF
16794 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16795 _ACEOF
16799 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16800 #ifdef HAVE_SYS_SOCKET_H
16801 # include <sys/socket.h>
16802 #endif
16803 #ifdef HAVE_SYS_UN_H
16804 # include <sys/un.h>
16805 #endif
16807 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16809 cat >>confdefs.h <<_ACEOF
16810 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16811 _ACEOF
16817 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16818 #ifdef HAVE_SCSI_SG_H
16819 #include <scsi/sg.h>
16820 #endif
16822 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16824 cat >>confdefs.h <<_ACEOF
16825 #define HAVE_SCSIREQ_T_CMD 1
16826 _ACEOF
16830 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>
16831 #ifdef HAVE_SCSI_SG_H
16832 #include <scsi/sg.h>
16833 #endif
16835 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16839 _ACEOF
16845 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16847 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define HAVE_SIGINFO_T_SI_FD 1
16851 _ACEOF
16857 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16858 #ifdef HAVE_SYS_MTIO_H
16859 #include <sys/mtio.h>
16860 #endif
16862 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16864 cat >>confdefs.h <<_ACEOF
16865 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16866 _ACEOF
16870 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16871 #ifdef HAVE_SYS_MTIO_H
16872 #include <sys/mtio.h>
16873 #endif
16875 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16879 _ACEOF
16883 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16884 #ifdef HAVE_SYS_MTIO_H
16885 #include <sys/mtio.h>
16886 #endif
16888 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16890 cat >>confdefs.h <<_ACEOF
16891 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16892 _ACEOF
16898 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16899 #include <getopt.h>
16900 #endif
16902 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16904 cat >>confdefs.h <<_ACEOF
16905 #define HAVE_STRUCT_OPTION_NAME 1
16906 _ACEOF
16912 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16913 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16915 cat >>confdefs.h <<_ACEOF
16916 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16917 _ACEOF
16921 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16922 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16924 cat >>confdefs.h <<_ACEOF
16925 #define HAVE_STRUCT_STAT_ST_MTIM 1
16926 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16931 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16935 _ACEOF
16939 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16940 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16942 cat >>confdefs.h <<_ACEOF
16943 #define HAVE_STRUCT_STAT_ST_CTIM 1
16944 _ACEOF
16948 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16949 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16951 cat >>confdefs.h <<_ACEOF
16952 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16953 _ACEOF
16957 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16958 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STAT_ST_ATIM 1
16962 _ACEOF
16966 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16967 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16969 cat >>confdefs.h <<_ACEOF
16970 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16971 _ACEOF
16975 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16976 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16978 cat >>confdefs.h <<_ACEOF
16979 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16980 _ACEOF
16984 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16985 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16987 cat >>confdefs.h <<_ACEOF
16988 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16989 _ACEOF
16993 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16994 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16998 _ACEOF
17002 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17003 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17005 cat >>confdefs.h <<_ACEOF
17006 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17007 _ACEOF
17011 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17012 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17014 cat >>confdefs.h <<_ACEOF
17015 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17016 _ACEOF
17022 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
17023 #include <sys/types.h>
17024 #endif
17025 #ifdef HAVE_NETINET_IN_H
17026 #include <netinet/in.h>
17027 #endif
17029 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17031 cat >>confdefs.h <<_ACEOF
17032 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17033 _ACEOF
17039 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17040 #include <sys/types.h>
17041 #endif
17042 #ifdef HAVE_NETINET_IN_H
17043 #include <netinet/in.h>
17044 #endif
17045 #ifdef HAVE_RESOLV_H
17046 #include <resolv.h>
17047 #endif
17049 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17051 cat >>confdefs.h <<_ACEOF
17052 #define HAVE_STRUCT___RES_STATE 1
17053 _ACEOF
17059 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
17060 #include <resolv.h>
17061 #endif
17063 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17065 cat >>confdefs.h <<_ACEOF
17066 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17067 _ACEOF
17073 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17074 #include <sys/types.h>
17075 #endif
17076 #ifdef HAVE_NETINET_IN_H
17077 # include <netinet/in.h>
17078 #endif
17079 #ifdef HAVE_ARPA_NAMESER_H
17080 # include <arpa/nameser.h>
17081 #endif
17083 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17085 cat >>confdefs.h <<_ACEOF
17086 #define HAVE_NS_MSG__MSG_PTR 1
17087 _ACEOF
17093 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17094 #include <sys/types.h>
17095 #endif
17096 #ifdef HAVE_NETINET_IN_H
17097 #include <netinet/in.h>
17098 #endif
17099 #ifdef HAVE_NETINET_IP_H
17100 #include <netinet/ip.h>
17101 #endif
17102 #ifdef HAVE_NETINET_IP_ICMP_H
17103 #include <netinet/ip_icmp.h>
17104 #endif
17105 #ifdef HAVE_NETINET_ICMP_VAR_H
17106 #include <netinet/icmp_var.h>
17107 #endif
17109 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17111 cat >>confdefs.h <<_ACEOF
17112 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17113 _ACEOF
17119 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17120 #include <sys/types.h>
17121 #endif
17122 #ifdef HAVE_ALIAS_H
17123 #include <alias.h>
17124 #endif
17125 #ifdef HAVE_SYS_SOCKET_H
17126 #include <sys/socket.h>
17127 #endif
17128 #ifdef HAVE_SYS_SOCKETVAR_H
17129 #include <sys/socketvar.h>
17130 #endif
17131 #ifdef HAVE_SYS_TIMEOUT_H
17132 #include <sys/timeout.h>
17133 #endif
17134 #ifdef HAVE_NETINET_IN_H
17135 #include <netinet/in.h>
17136 #endif
17137 #ifdef HAVE_NETINET_IN_SYSTM_H
17138 #include <netinet/in_systm.h>
17139 #endif
17140 #ifdef HAVE_NETINET_IP_H
17141 #include <netinet/ip.h>
17142 #endif
17143 #ifdef HAVE_NETINET_IP_VAR_H
17144 #include <netinet/ip_var.h>
17145 #endif
17146 #ifdef HAVE_NETINET_IP_ICMP_H
17147 #include <netinet/ip_icmp.h>
17148 #endif
17149 #ifdef HAVE_NETINET_ICMP_VAR_H
17150 #include <netinet/icmp_var.h>
17151 #endif
17153 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17155 cat >>confdefs.h <<_ACEOF
17156 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17157 _ACEOF
17163 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17164 #include <sys/types.h>
17165 #endif
17166 #ifdef HAVE_SYS_SOCKETVAR_H
17167 #include <sys/socketvar.h>
17168 #endif
17169 #ifdef HAVE_NETINET_IN_H
17170 #include <netinet/in.h>
17171 #endif
17172 #ifdef HAVE_NETINET_IP_VAR_H
17173 #include <netinet/ip_var.h>
17174 #endif
17176 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17178 cat >>confdefs.h <<_ACEOF
17179 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17180 _ACEOF
17186 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
17187 #include <netinet/ip_var.h>
17188 #endif
17190 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17192 cat >>confdefs.h <<_ACEOF
17193 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17194 _ACEOF
17200 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17201 #include <sys/types.h>
17202 #endif
17203 #ifdef HAVE_SYS_SOCKETVAR_H
17204 #include <sys/socketvar.h>
17205 #endif
17206 #ifdef HAVE_NETINET_IN_H
17207 #include <netinet/in.h>
17208 #endif
17209 #ifdef HAVE_NETINET_TCP_H
17210 #include <netinet/tcp.h>
17211 #endif
17212 #ifdef HAVE_NETINET_TCP_VAR_H
17213 #include <netinet/tcp_var.h>
17214 #endif
17216 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17218 cat >>confdefs.h <<_ACEOF
17219 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17220 _ACEOF
17226 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
17227 #include <netinet/tcp_var.h>
17228 #endif
17230 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17232 cat >>confdefs.h <<_ACEOF
17233 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17234 _ACEOF
17240 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17241 #include <sys/types.h>
17242 #endif
17243 #ifdef HAVE_NETINET_IN_H
17244 #include <netinet/in.h>
17245 #endif
17246 #ifdef HAVE_NETINET_IP_VAR_H
17247 #include <netinet/ip_var.h>
17248 #endif
17249 #ifdef HAVE_NETINET_UDP_H
17250 #include <netinet/udp.h>
17251 #endif
17252 #ifdef HAVE_NETINET_UDP_VAR_H
17253 #include <netinet/udp_var.h>
17254 #endif
17256 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17258 cat >>confdefs.h <<_ACEOF
17259 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17260 _ACEOF
17266 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17267 #include <sys/types.h>
17268 #endif
17269 #ifdef HAVE_NET_IF_H
17270 # include <net/if.h>
17271 #endif
17273 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17275 cat >>confdefs.h <<_ACEOF
17276 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17277 _ACEOF
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17284 $as_echo_n "checking for timezone variable... " >&6; }
17285 if ${ac_cv_have_timezone+:} false; then :
17286 $as_echo_n "(cached) " >&6
17287 else
17288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17290 #include <time.h>
17292 main ()
17294 timezone = 1
17296 return 0;
17298 _ACEOF
17299 if ac_fn_c_try_link "$LINENO"; then :
17300 ac_cv_have_timezone="yes"
17301 else
17302 ac_cv_have_timezone="no"
17304 rm -f core conftest.err conftest.$ac_objext \
17305 conftest$ac_exeext conftest.$ac_ext
17307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17308 $as_echo "$ac_cv_have_timezone" >&6; }
17309 if test "$ac_cv_have_timezone" = "yes"
17310 then
17312 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17316 $as_echo_n "checking for daylight variable... " >&6; }
17317 if ${ac_cv_have_daylight+:} false; then :
17318 $as_echo_n "(cached) " >&6
17319 else
17320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17322 #include <time.h>
17324 main ()
17326 daylight = 1
17328 return 0;
17330 _ACEOF
17331 if ac_fn_c_try_link "$LINENO"; then :
17332 ac_cv_have_daylight="yes"
17333 else
17334 ac_cv_have_daylight="no"
17336 rm -f core conftest.err conftest.$ac_objext \
17337 conftest$ac_exeext conftest.$ac_ext
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17340 $as_echo "$ac_cv_have_daylight" >&6; }
17341 if test "$ac_cv_have_daylight" = "yes"
17342 then
17344 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17348 ac_save_LIBS="$LIBS"
17349 LIBS="$LIBS -lm"
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17351 $as_echo_n "checking for isfinite... " >&6; }
17352 if ${ac_cv_have_isfinite+:} false; then :
17353 $as_echo_n "(cached) " >&6
17354 else
17355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17357 #define _GNU_SOURCE
17358 #include <math.h>
17360 main ()
17362 float f = 0.0; return isfinite(f)
17364 return 0;
17366 _ACEOF
17367 if ac_fn_c_try_link "$LINENO"; then :
17368 ac_cv_have_isfinite="yes"
17369 else
17370 ac_cv_have_isfinite="no"
17372 rm -f core conftest.err conftest.$ac_objext \
17373 conftest$ac_exeext conftest.$ac_ext
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17376 $as_echo "$ac_cv_have_isfinite" >&6; }
17377 if test "$ac_cv_have_isfinite" = "yes"
17378 then
17380 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17385 $as_echo_n "checking for isinf... " >&6; }
17386 if ${ac_cv_have_isinf+:} false; then :
17387 $as_echo_n "(cached) " >&6
17388 else
17389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17390 /* end confdefs.h. */
17391 #include <math.h>
17393 main ()
17395 float f = 0.0; return isinf(f)
17397 return 0;
17399 _ACEOF
17400 if ac_fn_c_try_link "$LINENO"; then :
17401 ac_cv_have_isinf="yes"
17402 else
17403 ac_cv_have_isinf="no"
17405 rm -f core conftest.err conftest.$ac_objext \
17406 conftest$ac_exeext conftest.$ac_ext
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17409 $as_echo "$ac_cv_have_isinf" >&6; }
17410 if test "$ac_cv_have_isinf" = "yes"
17411 then
17413 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17418 $as_echo_n "checking for isnan... " >&6; }
17419 if ${ac_cv_have_isnan+:} false; then :
17420 $as_echo_n "(cached) " >&6
17421 else
17422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17423 /* end confdefs.h. */
17424 #include <math.h>
17426 main ()
17428 float f = 0.0; return isnan(f)
17430 return 0;
17432 _ACEOF
17433 if ac_fn_c_try_link "$LINENO"; then :
17434 ac_cv_have_isnan="yes"
17435 else
17436 ac_cv_have_isnan="no"
17438 rm -f core conftest.err conftest.$ac_objext \
17439 conftest$ac_exeext conftest.$ac_ext
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17442 $as_echo "$ac_cv_have_isnan" >&6; }
17443 if test "$ac_cv_have_isnan" = "yes"
17444 then
17446 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17450 for ac_func in \
17451 acosh \
17452 acoshf \
17453 asinh \
17454 asinhf \
17455 atanh \
17456 atanhf \
17457 cbrt \
17458 cbrtf \
17459 erf \
17460 erfc \
17461 erfcf \
17462 erff \
17463 exp2 \
17464 exp2f \
17465 expm1 \
17466 expm1f \
17467 lgamma \
17468 lgammaf \
17469 llrint \
17470 llrintf \
17471 llround \
17472 llroundf \
17473 log1p \
17474 log1pf \
17475 log2 \
17476 log2f \
17477 lrint \
17478 lrintf \
17479 lround \
17480 lroundf \
17481 nearbyint \
17482 nearbyintf \
17483 powl \
17484 remainder \
17485 remainderf \
17486 rint \
17487 rintf \
17488 round \
17489 roundf \
17490 trunc \
17491 truncf
17493 do :
17494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17496 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17497 cat >>confdefs.h <<_ACEOF
17498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17499 _ACEOF
17502 done
17504 LIBS="$ac_save_LIBS"
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17507 $as_echo_n "checking for __builtin_clz... " >&6; }
17508 if ${ac_cv_have___builtin_clz+:} false; then :
17509 $as_echo_n "(cached) " >&6
17510 else
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17515 main ()
17517 return __builtin_clz(1)
17519 return 0;
17521 _ACEOF
17522 if ac_fn_c_try_link "$LINENO"; then :
17523 ac_cv_have___builtin_clz="yes"
17524 else
17525 ac_cv_have___builtin_clz="no"
17527 rm -f core conftest.err conftest.$ac_objext \
17528 conftest$ac_exeext conftest.$ac_ext
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17531 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17532 if test "$ac_cv_have___builtin_clz" = "yes"
17533 then
17535 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17540 $as_echo_n "checking for __builtin_popcount... " >&6; }
17541 if ${ac_cv_have___builtin_popcount+:} false; then :
17542 $as_echo_n "(cached) " >&6
17543 else
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17548 main ()
17550 return __builtin_popcount(1)
17552 return 0;
17554 _ACEOF
17555 if ac_fn_c_try_link "$LINENO"; then :
17556 ac_cv_have___builtin_popcount="yes"
17557 else
17558 ac_cv_have___builtin_popcount="no"
17560 rm -f core conftest.err conftest.$ac_objext \
17561 conftest$ac_exeext conftest.$ac_ext
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17564 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17565 if test "$ac_cv_have___builtin_popcount" = "yes"
17566 then
17568 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17573 case $host_cpu in
17574 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17575 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17576 if ${ac_cv_cpp_def___i386__+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17581 #ifndef __i386__
17583 #endif
17584 _ACEOF
17585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17586 $EGREP "yes" >/dev/null 2>&1; then :
17587 ac_cv_cpp_def___i386__=yes
17588 else
17589 ac_cv_cpp_def___i386__=no
17591 rm -f conftest*
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17595 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17596 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17597 CFLAGS="$CFLAGS -D__i386__"
17598 LINTFLAGS="$LINTFLAGS -D__i386__"
17599 fi ;;
17600 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17601 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17602 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 #ifndef __x86_64__
17609 #endif
17610 _ACEOF
17611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17612 $EGREP "yes" >/dev/null 2>&1; then :
17613 ac_cv_cpp_def___x86_64__=yes
17614 else
17615 ac_cv_cpp_def___x86_64__=no
17617 rm -f conftest*
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17621 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17622 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17623 CFLAGS="$CFLAGS -D__x86_64__"
17624 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17625 fi ;;
17626 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17627 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17628 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17629 $as_echo_n "(cached) " >&6
17630 else
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17633 #ifndef __sparc64__
17635 #endif
17636 _ACEOF
17637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17638 $EGREP "yes" >/dev/null 2>&1; then :
17639 ac_cv_cpp_def___sparc64__=yes
17640 else
17641 ac_cv_cpp_def___sparc64__=no
17643 rm -f conftest*
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17647 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17648 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17649 CFLAGS="$CFLAGS -D__sparc64__"
17650 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17651 fi ;;
17652 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17653 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17654 if ${ac_cv_cpp_def___sparc__+:} false; then :
17655 $as_echo_n "(cached) " >&6
17656 else
17657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17658 /* end confdefs.h. */
17659 #ifndef __sparc__
17661 #endif
17662 _ACEOF
17663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17664 $EGREP "yes" >/dev/null 2>&1; then :
17665 ac_cv_cpp_def___sparc__=yes
17666 else
17667 ac_cv_cpp_def___sparc__=no
17669 rm -f conftest*
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17673 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17674 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17675 CFLAGS="$CFLAGS -D__sparc__"
17676 LINTFLAGS="$LINTFLAGS -D__sparc__"
17677 fi ;;
17678 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17679 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17680 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17681 $as_echo_n "(cached) " >&6
17682 else
17683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17685 #ifndef __powerpc64__
17687 #endif
17688 _ACEOF
17689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17690 $EGREP "yes" >/dev/null 2>&1; then :
17691 ac_cv_cpp_def___powerpc64__=yes
17692 else
17693 ac_cv_cpp_def___powerpc64__=no
17695 rm -f conftest*
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17699 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17700 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17701 CFLAGS="$CFLAGS -D__powerpc64__"
17702 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17703 fi ;;
17704 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17705 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17706 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17707 $as_echo_n "(cached) " >&6
17708 else
17709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17710 /* end confdefs.h. */
17711 #ifndef __powerpc__
17713 #endif
17714 _ACEOF
17715 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17716 $EGREP "yes" >/dev/null 2>&1; then :
17717 ac_cv_cpp_def___powerpc__=yes
17718 else
17719 ac_cv_cpp_def___powerpc__=no
17721 rm -f conftest*
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17725 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17726 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17727 CFLAGS="$CFLAGS -D__powerpc__"
17728 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17729 fi ;;
17730 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17731 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17732 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17736 /* end confdefs.h. */
17737 #ifndef __aarch64__
17739 #endif
17740 _ACEOF
17741 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17742 $EGREP "yes" >/dev/null 2>&1; then :
17743 ac_cv_cpp_def___aarch64__=yes
17744 else
17745 ac_cv_cpp_def___aarch64__=no
17747 rm -f conftest*
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17751 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17752 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17753 CFLAGS="$CFLAGS -D__aarch64__"
17754 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17755 fi ;;
17756 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17757 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17758 if ${ac_cv_cpp_def___arm__+:} false; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17763 #ifndef __arm__
17765 #endif
17766 _ACEOF
17767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17768 $EGREP "yes" >/dev/null 2>&1; then :
17769 ac_cv_cpp_def___arm__=yes
17770 else
17771 ac_cv_cpp_def___arm__=no
17773 rm -f conftest*
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17777 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17778 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17779 CFLAGS="$CFLAGS -D__arm__"
17780 LINTFLAGS="$LINTFLAGS -D__arm__"
17781 fi ;;
17782 esac
17784 case $host_vendor in
17785 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17786 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17787 if ${ac_cv_cpp_def___sun__+:} false; then :
17788 $as_echo_n "(cached) " >&6
17789 else
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792 #ifndef __sun__
17794 #endif
17795 _ACEOF
17796 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17797 $EGREP "yes" >/dev/null 2>&1; then :
17798 ac_cv_cpp_def___sun__=yes
17799 else
17800 ac_cv_cpp_def___sun__=no
17802 rm -f conftest*
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17806 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17807 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17808 CFLAGS="$CFLAGS -D__sun__"
17809 LINTFLAGS="$LINTFLAGS -D__sun__"
17810 fi ;;
17811 esac
17817 ac_config_commands="$ac_config_commands include/stamp-h"
17819 $as_echo_n "creating Makefile rules..." >&6
17821 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17822 SOCKET_LIBS = $SOCKET_LIBS
17823 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17824 IOKIT_LIBS = $IOKIT_LIBS
17825 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17826 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17827 CORESERVICES_LIBS = $CORESERVICES_LIBS
17828 APPKIT_LIBS = $APPKIT_LIBS
17829 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17830 SECURITY_LIBS = $SECURITY_LIBS
17831 COREAUDIO_LIBS = $COREAUDIO_LIBS
17832 OPENAL_LIBS = $OPENAL_LIBS
17833 OPENCL_LIBS = $OPENCL_LIBS
17834 QUICKTIME_LIBS = $QUICKTIME_LIBS
17835 CARBON_LIBS = $CARBON_LIBS
17836 PTHREAD_LIBS = $PTHREAD_LIBS
17837 X_CFLAGS = $X_CFLAGS
17838 X_PRE_LIBS = $X_PRE_LIBS
17839 X_LIBS = $X_LIBS
17840 X_EXTRA_LIBS = $X_EXTRA_LIBS
17841 PCAP_LIBS = $PCAP_LIBS
17842 XML2_CFLAGS = $XML2_CFLAGS
17843 XML2_LIBS = $XML2_LIBS
17844 XSLT_CFLAGS = $XSLT_CFLAGS
17845 XSLT_LIBS = $XSLT_LIBS
17846 DBUS_CFLAGS = $DBUS_CFLAGS
17847 DBUS_LIBS = $DBUS_LIBS
17848 HAL_CFLAGS = $HAL_CFLAGS
17849 HAL_LIBS = $HAL_LIBS
17850 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17851 GNUTLS_LIBS = $GNUTLS_LIBS
17852 SANE_CFLAGS = $SANE_CFLAGS
17853 SANE_LIBS = $SANE_LIBS
17854 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17855 GPHOTO2_LIBS = $GPHOTO2_LIBS
17856 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17857 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17858 RESOLV_LIBS = $RESOLV_LIBS
17859 LCMS2_CFLAGS = $LCMS2_CFLAGS
17860 LCMS2_LIBS = $LCMS2_LIBS
17861 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17862 FREETYPE_LIBS = $FREETYPE_LIBS
17863 Z_LIBS = $Z_LIBS
17864 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17865 PULSE_CFLAGS = $PULSE_CFLAGS
17866 PULSE_LIBS = $PULSE_LIBS
17867 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17868 GSTREAMER_LIBS = $GSTREAMER_LIBS
17869 ALSA_LIBS = $ALSA_LIBS
17870 OSS4_CFLAGS = $OSS4_CFLAGS
17871 UDEV_CFLAGS = $UDEV_CFLAGS
17872 UDEV_LIBS = $UDEV_LIBS
17873 CAPI20_CFLAGS = $CAPI20_CFLAGS
17874 CAPI20_LIBS = $CAPI20_LIBS
17875 CUPS_CFLAGS = $CUPS_CFLAGS
17876 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17877 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17878 JPEG_CFLAGS = $JPEG_CFLAGS
17879 JPEG_LIBS = $JPEG_LIBS
17880 PNG_CFLAGS = $PNG_CFLAGS
17881 PNG_LIBS = $PNG_LIBS
17882 TIFF_CFLAGS = $TIFF_CFLAGS
17883 TIFF_LIBS = $TIFF_LIBS
17884 MPG123_CFLAGS = $MPG123_CFLAGS
17885 MPG123_LIBS = $MPG123_LIBS
17886 KSTAT_LIBS = $KSTAT_LIBS
17887 PROCSTAT_LIBS = $PROCSTAT_LIBS
17888 NETAPI_CFLAGS = $NETAPI_CFLAGS
17889 NETAPI_LIBS = $NETAPI_LIBS
17890 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17891 DL_LIBS = $DL_LIBS
17892 POLL_LIBS = $POLL_LIBS
17893 RT_LIBS = $RT_LIBS
17894 LDAP_CFLAGS = $LDAP_CFLAGS
17895 LDAP_LIBS = $LDAP_LIBS
17900 wine_fn_append_rule "
17901 # Rules automatically generated by configure
17903 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17905 .INIT: Makefile
17906 .MAKEFILEDEPS:
17907 all: Makefile
17908 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17909 @./config.status Make.tmp Makefile
17910 depend: \$(MAKEDEP) dummy
17911 \$(MAKEDEP)"
17913 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17914 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17916 if test "x$enable_fonts" != xno; then
17917 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17918 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17919 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17920 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17921 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17922 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17924 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17925 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17926 ac_config_links="$ac_config_links wine:tools/winewrapper"
17927 wine_fn_config_symlink wine
17928 if test "x$enable_win64" != xno; then
17929 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17930 wine_fn_config_symlink wine64
17933 wine_fn_config_dll acledit enable_acledit
17934 wine_fn_config_dll aclui enable_aclui implib
17935 wine_fn_config_dll activeds enable_activeds implib
17936 wine_fn_config_dll actxprxy enable_actxprxy clean
17937 wine_fn_config_lib adsiid
17938 wine_fn_config_dll adsldpc enable_adsldpc
17939 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17940 wine_fn_config_test dlls/advapi32/tests advapi32_test
17941 wine_fn_config_dll advpack enable_advpack implib
17942 wine_fn_config_test dlls/advpack/tests advpack_test
17943 wine_fn_config_dll amstream enable_amstream clean
17944 wine_fn_config_test dlls/amstream/tests amstream_test
17945 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17946 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17947 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17948 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17949 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17950 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17951 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17953 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17954 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17956 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17957 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17958 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17959 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17961 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17963 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17965 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17966 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17967 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17968 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17970 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17972 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17973 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17974 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17975 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17978 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
17979 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17982 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17984 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17986 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17987 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17988 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17989 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17991 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17992 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17993 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17995 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17996 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17997 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17999 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18000 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18001 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18002 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18003 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18004 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18005 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18006 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18007 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18008 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18012 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18013 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18014 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18016 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18017 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18019 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18021 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18022 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18024 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18025 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18026 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18027 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18028 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18029 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18030 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18031 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18033 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18034 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18038 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18039 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18041 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18042 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18044 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18046 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18048 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18050 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18051 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18056 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18057 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18060 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18063 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18064 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18065 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18066 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18067 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18068 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18069 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18070 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18071 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18072 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18073 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18074 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18075 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18076 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18077 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18078 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18079 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18080 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18081 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18082 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18083 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18084 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18085 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18086 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18087 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18088 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18089 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18090 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18091 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18092 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18093 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18094 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18095 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18096 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18097 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18098 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18099 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18100 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18101 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18102 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18103 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18104 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18105 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18106 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18107 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18108 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18109 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18110 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18111 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18112 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18113 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18114 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18115 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18116 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18117 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18118 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18119 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18120 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18121 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18122 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18123 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18124 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18125 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18126 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18127 wine_fn_config_dll apphelp enable_apphelp
18128 wine_fn_config_test dlls/apphelp/tests apphelp_test
18129 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18130 wine_fn_config_dll atl enable_atl clean,implib
18131 wine_fn_config_test dlls/atl/tests atl_test
18132 wine_fn_config_dll atl100 enable_atl100 clean,implib
18133 wine_fn_config_test dlls/atl100/tests atl100_test
18134 wine_fn_config_dll atl110 enable_atl110 clean
18135 wine_fn_config_dll atl80 enable_atl80 clean,implib
18136 wine_fn_config_test dlls/atl80/tests atl80_test
18137 wine_fn_config_dll atl90 enable_atl90 clean
18138 wine_fn_config_dll authz enable_authz
18139 wine_fn_config_dll avicap32 enable_avicap32 implib
18140 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18141 wine_fn_config_test dlls/avifil32/tests avifil32_test
18142 wine_fn_config_dll avifile.dll16 enable_win16
18143 wine_fn_config_dll avrt enable_avrt implib
18144 wine_fn_config_dll bcrypt enable_bcrypt implib
18145 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18146 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18147 wine_fn_config_dll browseui enable_browseui clean
18148 wine_fn_config_test dlls/browseui/tests browseui_test
18149 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18150 wine_fn_config_dll cabinet enable_cabinet implib
18151 wine_fn_config_test dlls/cabinet/tests cabinet_test
18152 wine_fn_config_dll capi2032 enable_capi2032 implib
18153 wine_fn_config_dll cards enable_cards implib
18154 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18155 wine_fn_config_dll clusapi enable_clusapi implib
18156 wine_fn_config_dll combase enable_combase
18157 wine_fn_config_test dlls/combase/tests combase_test
18158 wine_fn_config_dll comcat enable_comcat
18159 wine_fn_config_test dlls/comcat/tests comcat_test
18160 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18161 wine_fn_config_test dlls/comctl32/tests comctl32_test
18162 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18163 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18164 wine_fn_config_dll comm.drv16 enable_win16
18165 wine_fn_config_dll commdlg.dll16 enable_win16
18166 wine_fn_config_dll compobj.dll16 enable_win16
18167 wine_fn_config_dll compstui enable_compstui implib
18168 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18169 wine_fn_config_dll concrt140 enable_concrt140
18170 wine_fn_config_dll connect enable_connect
18171 wine_fn_config_dll credui enable_credui clean,implib
18172 wine_fn_config_test dlls/credui/tests credui_test
18173 wine_fn_config_dll crtdll enable_crtdll
18174 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18175 wine_fn_config_test dlls/crypt32/tests crypt32_test
18176 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18177 wine_fn_config_dll cryptdll enable_cryptdll implib
18178 wine_fn_config_dll cryptext enable_cryptext
18179 wine_fn_config_dll cryptnet enable_cryptnet implib
18180 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18181 wine_fn_config_dll cryptui enable_cryptui clean,implib
18182 wine_fn_config_test dlls/cryptui/tests cryptui_test
18183 wine_fn_config_dll ctapi32 enable_ctapi32
18184 wine_fn_config_dll ctl3d.dll16 enable_win16
18185 wine_fn_config_dll ctl3d32 enable_ctl3d32
18186 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18187 wine_fn_config_dll d2d1 enable_d2d1 implib
18188 wine_fn_config_test dlls/d2d1/tests d2d1_test
18189 wine_fn_config_dll d3d10 enable_d3d10 implib
18190 wine_fn_config_test dlls/d3d10/tests d3d10_test
18191 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18192 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18193 wine_fn_config_dll d3d10core enable_d3d10core implib
18194 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18195 wine_fn_config_dll d3d11 enable_d3d11 implib
18196 wine_fn_config_test dlls/d3d11/tests d3d11_test
18197 wine_fn_config_dll d3d8 enable_d3d8 implib
18198 wine_fn_config_test dlls/d3d8/tests d3d8_test
18199 wine_fn_config_dll d3d9 enable_d3d9 implib
18200 wine_fn_config_test dlls/d3d9/tests d3d9_test
18201 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18202 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18203 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18204 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18205 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18206 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18207 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18208 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18209 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18210 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18211 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18212 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18213 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18214 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18215 wine_fn_config_dll d3dim enable_d3dim
18216 wine_fn_config_dll d3drm enable_d3drm implib
18217 wine_fn_config_test dlls/d3drm/tests d3drm_test
18218 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18219 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18220 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18221 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18222 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18223 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18224 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18225 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18226 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18227 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18228 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18229 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18230 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18231 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18232 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18233 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18234 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18235 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18236 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18237 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18238 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18239 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18240 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18241 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18242 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18243 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18244 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18245 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18246 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18247 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18248 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18249 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18250 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18251 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18252 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18253 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18254 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18255 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18256 wine_fn_config_dll davclnt enable_davclnt
18257 wine_fn_config_dll dbgeng enable_dbgeng implib
18258 wine_fn_config_dll dbghelp enable_dbghelp implib
18259 wine_fn_config_dll dciman32 enable_dciman32 implib
18260 wine_fn_config_dll ddeml.dll16 enable_win16
18261 wine_fn_config_dll ddraw enable_ddraw clean,implib
18262 wine_fn_config_test dlls/ddraw/tests ddraw_test
18263 wine_fn_config_dll ddrawex enable_ddrawex clean
18264 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18265 wine_fn_config_dll devenum enable_devenum clean
18266 wine_fn_config_test dlls/devenum/tests devenum_test
18267 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18268 wine_fn_config_dll difxapi enable_difxapi
18269 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18270 wine_fn_config_test dlls/dinput/tests dinput_test
18271 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18272 wine_fn_config_test dlls/dinput8/tests dinput8_test
18273 wine_fn_config_dll dispdib.dll16 enable_win16
18274 wine_fn_config_dll dispex enable_dispex clean
18275 wine_fn_config_test dlls/dispex/tests dispex_test
18276 wine_fn_config_dll display.drv16 enable_win16
18277 wine_fn_config_dll dmband enable_dmband clean
18278 wine_fn_config_test dlls/dmband/tests dmband_test
18279 wine_fn_config_dll dmcompos enable_dmcompos clean
18280 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18281 wine_fn_config_dll dmime enable_dmime clean
18282 wine_fn_config_test dlls/dmime/tests dmime_test
18283 wine_fn_config_dll dmloader enable_dmloader clean
18284 wine_fn_config_test dlls/dmloader/tests dmloader_test
18285 wine_fn_config_dll dmscript enable_dmscript clean
18286 wine_fn_config_test dlls/dmscript/tests dmscript_test
18287 wine_fn_config_dll dmstyle enable_dmstyle clean
18288 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18289 wine_fn_config_dll dmsynth enable_dmsynth clean
18290 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18291 wine_fn_config_dll dmusic enable_dmusic clean
18292 wine_fn_config_test dlls/dmusic/tests dmusic_test
18293 wine_fn_config_dll dmusic32 enable_dmusic32
18294 wine_fn_config_dll dnsapi enable_dnsapi implib
18295 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18296 wine_fn_config_dll dplay enable_dplay
18297 wine_fn_config_dll dplayx enable_dplayx clean,implib
18298 wine_fn_config_test dlls/dplayx/tests dplayx_test
18299 wine_fn_config_dll dpnaddr enable_dpnaddr
18300 wine_fn_config_dll dpnet enable_dpnet clean,implib
18301 wine_fn_config_test dlls/dpnet/tests dpnet_test
18302 wine_fn_config_dll dpnhpast enable_dpnhpast
18303 wine_fn_config_dll dpnlobby enable_dpnlobby
18304 wine_fn_config_dll dpvoice enable_dpvoice clean
18305 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18306 wine_fn_config_dll dpwsockx enable_dpwsockx
18307 wine_fn_config_dll drmclien enable_drmclien
18308 wine_fn_config_dll dsound enable_dsound clean,implib
18309 wine_fn_config_test dlls/dsound/tests dsound_test
18310 wine_fn_config_dll dsquery enable_dsquery
18311 wine_fn_config_dll dssenh enable_dssenh
18312 wine_fn_config_test dlls/dssenh/tests dssenh_test
18313 wine_fn_config_dll dswave enable_dswave clean
18314 wine_fn_config_test dlls/dswave/tests dswave_test
18315 wine_fn_config_dll dwmapi enable_dwmapi implib
18316 wine_fn_config_dll dwrite enable_dwrite implib
18317 wine_fn_config_test dlls/dwrite/tests dwrite_test
18318 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18319 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18320 wine_fn_config_lib dxerr8
18321 wine_fn_config_lib dxerr9
18322 wine_fn_config_dll dxgi enable_dxgi implib
18323 wine_fn_config_test dlls/dxgi/tests dxgi_test
18324 wine_fn_config_lib dxguid
18325 wine_fn_config_dll dxva2 enable_dxva2
18326 wine_fn_config_dll esent enable_esent
18327 wine_fn_config_dll evr enable_evr
18328 wine_fn_config_dll explorerframe enable_explorerframe clean
18329 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18330 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18331 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18332 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18333 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18334 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18335 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18336 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18337 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18338 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18339 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18340 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18341 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18342 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18343 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18344 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18345 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18346 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18347 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18348 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18349 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18350 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18351 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18352 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18353 wine_fn_config_dll faultrep enable_faultrep implib
18354 wine_fn_config_test dlls/faultrep/tests faultrep_test
18355 wine_fn_config_dll fltlib enable_fltlib
18356 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18357 wine_fn_config_dll fntcache enable_fntcache
18358 wine_fn_config_dll fontsub enable_fontsub
18359 wine_fn_config_dll fusion enable_fusion
18360 wine_fn_config_test dlls/fusion/tests fusion_test
18361 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18362 wine_fn_config_dll gameux enable_gameux clean
18363 wine_fn_config_test dlls/gameux/tests gameux_test
18364 wine_fn_config_dll gdi.exe16 enable_win16
18365 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18366 wine_fn_config_test dlls/gdi32/tests gdi32_test
18367 wine_fn_config_dll gdiplus enable_gdiplus implib
18368 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18369 wine_fn_config_dll glu32 enable_glu32 implib
18370 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18371 wine_fn_config_dll gpkcsp enable_gpkcsp
18372 wine_fn_config_dll hal enable_hal
18373 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18374 wine_fn_config_dll hid enable_hid implib
18375 wine_fn_config_test dlls/hid/tests hid_test
18376 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18377 wine_fn_config_dll hlink enable_hlink clean,implib
18378 wine_fn_config_test dlls/hlink/tests hlink_test
18379 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18380 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18381 wine_fn_config_dll httpapi enable_httpapi
18382 wine_fn_config_dll iccvid enable_iccvid clean
18383 wine_fn_config_dll icmp enable_icmp
18384 wine_fn_config_dll ieframe enable_ieframe clean,implib
18385 wine_fn_config_test dlls/ieframe/tests ieframe_test
18386 wine_fn_config_dll ieproxy enable_ieproxy clean
18387 wine_fn_config_dll ifsmgr.vxd enable_win16
18388 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18389 wine_fn_config_dll imagehlp enable_imagehlp implib
18390 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18391 wine_fn_config_dll imm.dll16 enable_win16
18392 wine_fn_config_dll imm32 enable_imm32 implib
18393 wine_fn_config_test dlls/imm32/tests imm32_test
18394 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18395 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18396 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18397 wine_fn_config_dll inetmib1 enable_inetmib1
18398 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18399 wine_fn_config_dll infosoft enable_infosoft clean
18400 wine_fn_config_test dlls/infosoft/tests infosoft_test
18401 wine_fn_config_dll initpki enable_initpki
18402 wine_fn_config_dll inkobj enable_inkobj
18403 wine_fn_config_dll inseng enable_inseng clean
18404 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18405 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18406 wine_fn_config_dll iprop enable_iprop
18407 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18408 wine_fn_config_dll itircl enable_itircl
18409 wine_fn_config_dll itss enable_itss clean
18410 wine_fn_config_test dlls/itss/tests itss_test
18411 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18412 wine_fn_config_dll jscript enable_jscript clean
18413 wine_fn_config_test dlls/jscript/tests jscript_test
18414 wine_fn_config_dll jsproxy enable_jsproxy implib
18415 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18416 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18417 wine_fn_config_test dlls/kernel32/tests kernel32_test
18418 wine_fn_config_dll kernelbase enable_kernelbase
18419 wine_fn_config_dll keyboard.drv16 enable_win16
18420 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18421 wine_fn_config_dll ksuser enable_ksuser
18422 wine_fn_config_dll ktmw32 enable_ktmw32
18423 wine_fn_config_dll loadperf enable_loadperf implib
18424 wine_fn_config_dll localspl enable_localspl clean
18425 wine_fn_config_test dlls/localspl/tests localspl_test
18426 wine_fn_config_dll localui enable_localui clean
18427 wine_fn_config_test dlls/localui/tests localui_test
18428 wine_fn_config_dll lz32 enable_lz32 implib
18429 wine_fn_config_test dlls/lz32/tests lz32_test
18430 wine_fn_config_dll lzexpand.dll16 enable_win16
18431 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18432 wine_fn_config_test dlls/mapi32/tests mapi32_test
18433 wine_fn_config_dll mapistub enable_mapistub
18434 wine_fn_config_dll mciavi32 enable_mciavi32
18435 wine_fn_config_dll mcicda enable_mcicda
18436 wine_fn_config_dll mciqtz32 enable_mciqtz32
18437 wine_fn_config_dll mciseq enable_mciseq
18438 wine_fn_config_dll mciwave enable_mciwave
18439 wine_fn_config_dll mf enable_mf implib
18440 wine_fn_config_test dlls/mf/tests mf_test
18441 wine_fn_config_dll mf3216 enable_mf3216
18442 wine_fn_config_dll mfplat enable_mfplat implib
18443 wine_fn_config_test dlls/mfplat/tests mfplat_test
18444 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18445 wine_fn_config_dll mgmtapi enable_mgmtapi
18446 wine_fn_config_dll midimap enable_midimap
18447 wine_fn_config_dll mlang enable_mlang clean,implib
18448 wine_fn_config_test dlls/mlang/tests mlang_test
18449 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18450 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18451 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18452 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18453 wine_fn_config_dll mmdevldr.vxd enable_win16
18454 wine_fn_config_dll mmsystem.dll16 enable_win16
18455 wine_fn_config_dll monodebg.vxd enable_win16
18456 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18457 wine_fn_config_dll mouse.drv16 enable_win16
18458 wine_fn_config_dll mpr enable_mpr clean,implib
18459 wine_fn_config_test dlls/mpr/tests mpr_test
18460 wine_fn_config_dll mprapi enable_mprapi implib
18461 wine_fn_config_dll msacm.dll16 enable_win16
18462 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18463 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18464 wine_fn_config_test dlls/msacm32/tests msacm32_test
18465 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18466 wine_fn_config_dll msasn1 enable_msasn1 implib
18467 wine_fn_config_dll mscat32 enable_mscat32
18468 wine_fn_config_dll mscms enable_mscms implib
18469 wine_fn_config_test dlls/mscms/tests mscms_test
18470 wine_fn_config_dll mscoree enable_mscoree clean
18471 wine_fn_config_test dlls/mscoree/tests mscoree_test
18472 wine_fn_config_dll msctf enable_msctf clean
18473 wine_fn_config_test dlls/msctf/tests msctf_test
18474 wine_fn_config_dll msctfp enable_msctfp clean
18475 wine_fn_config_dll msdaps enable_msdaps clean
18476 wine_fn_config_dll msdelta enable_msdelta
18477 wine_fn_config_dll msdmo enable_msdmo implib
18478 wine_fn_config_test dlls/msdmo/tests msdmo_test
18479 wine_fn_config_dll msdrm enable_msdrm
18480 wine_fn_config_dll msftedit enable_msftedit
18481 wine_fn_config_dll msg711.acm enable_msg711_acm
18482 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18483 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18484 wine_fn_config_dll mshtml enable_mshtml clean,implib
18485 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18486 wine_fn_config_dll msi enable_msi clean,implib
18487 wine_fn_config_test dlls/msi/tests msi_test
18488 wine_fn_config_dll msident enable_msident clean
18489 wine_fn_config_dll msimg32 enable_msimg32 implib
18490 wine_fn_config_dll msimsg enable_msimsg
18491 wine_fn_config_dll msimtf enable_msimtf clean
18492 wine_fn_config_dll msisip enable_msisip
18493 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18494 wine_fn_config_dll msls31 enable_msls31
18495 wine_fn_config_dll msnet32 enable_msnet32
18496 wine_fn_config_dll mspatcha enable_mspatcha implib
18497 wine_fn_config_dll msports enable_msports
18498 wine_fn_config_dll msrle32 enable_msrle32 clean
18499 wine_fn_config_test dlls/msrle32/tests msrle32_test
18500 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18501 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18502 wine_fn_config_dll mssign32 enable_mssign32
18503 wine_fn_config_dll mssip32 enable_mssip32
18504 wine_fn_config_dll mstask enable_mstask clean
18505 wine_fn_config_test dlls/mstask/tests mstask_test
18506 wine_fn_config_dll msvcirt enable_msvcirt
18507 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18508 wine_fn_config_dll msvcm80 enable_msvcm80
18509 wine_fn_config_dll msvcm90 enable_msvcm90
18510 wine_fn_config_dll msvcp100 enable_msvcp100
18511 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18512 wine_fn_config_dll msvcp110 enable_msvcp110
18513 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18514 wine_fn_config_dll msvcp120 enable_msvcp120
18515 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18516 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18517 wine_fn_config_dll msvcp140 enable_msvcp140
18518 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18519 wine_fn_config_dll msvcp60 enable_msvcp60
18520 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18521 wine_fn_config_dll msvcp70 enable_msvcp70
18522 wine_fn_config_dll msvcp71 enable_msvcp71
18523 wine_fn_config_dll msvcp80 enable_msvcp80
18524 wine_fn_config_dll msvcp90 enable_msvcp90
18525 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18526 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18527 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18528 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18529 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18530 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18531 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18532 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18533 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18534 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18535 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18536 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18537 wine_fn_config_dll msvcrt enable_msvcrt implib
18538 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18539 wine_fn_config_dll msvcrt20 enable_msvcrt20
18540 wine_fn_config_dll msvcrt40 enable_msvcrt40
18541 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18542 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18543 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18544 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18545 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18546 wine_fn_config_dll msvideo.dll16 enable_win16
18547 wine_fn_config_dll mswsock enable_mswsock implib
18548 wine_fn_config_dll msxml enable_msxml clean
18549 wine_fn_config_dll msxml2 enable_msxml2 clean
18550 wine_fn_config_dll msxml3 enable_msxml3 clean
18551 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18552 wine_fn_config_dll msxml4 enable_msxml4 clean
18553 wine_fn_config_dll msxml6 enable_msxml6 clean
18554 wine_fn_config_dll mtxdm enable_mtxdm
18555 wine_fn_config_dll ncrypt enable_ncrypt
18556 wine_fn_config_dll nddeapi enable_nddeapi implib
18557 wine_fn_config_dll ndis.sys enable_ndis_sys
18558 wine_fn_config_dll netapi32 enable_netapi32 implib
18559 wine_fn_config_test dlls/netapi32/tests netapi32_test
18560 wine_fn_config_dll netcfgx enable_netcfgx clean
18561 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18562 wine_fn_config_dll netprofm enable_netprofm clean
18563 wine_fn_config_test dlls/netprofm/tests netprofm_test
18564 wine_fn_config_dll newdev enable_newdev implib
18565 wine_fn_config_dll normaliz enable_normaliz implib
18566 wine_fn_config_dll npmshtml enable_npmshtml
18567 wine_fn_config_dll npptools enable_npptools
18568 wine_fn_config_dll ntdll enable_ntdll implib
18569 wine_fn_config_test dlls/ntdll/tests ntdll_test
18570 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18571 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18572 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18573 wine_fn_config_dll ntprint enable_ntprint
18574 wine_fn_config_test dlls/ntprint/tests ntprint_test
18575 wine_fn_config_dll objsel enable_objsel clean
18576 wine_fn_config_dll odbc32 enable_odbc32 implib
18577 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18578 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18579 wine_fn_config_dll odbccu32 enable_odbccu32
18580 wine_fn_config_dll ole2.dll16 enable_win16
18581 wine_fn_config_dll ole2conv.dll16 enable_win16
18582 wine_fn_config_dll ole2disp.dll16 enable_win16
18583 wine_fn_config_dll ole2nls.dll16 enable_win16
18584 wine_fn_config_dll ole2prox.dll16 enable_win16
18585 wine_fn_config_dll ole2thk.dll16 enable_win16
18586 wine_fn_config_dll ole32 enable_ole32 clean,implib
18587 wine_fn_config_test dlls/ole32/tests ole32_test
18588 wine_fn_config_dll oleacc enable_oleacc clean,implib
18589 wine_fn_config_test dlls/oleacc/tests oleacc_test
18590 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18591 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18592 wine_fn_config_dll olecli.dll16 enable_win16
18593 wine_fn_config_dll olecli32 enable_olecli32 implib
18594 wine_fn_config_dll oledb32 enable_oledb32 clean
18595 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18596 wine_fn_config_dll oledlg enable_oledlg clean,implib
18597 wine_fn_config_test dlls/oledlg/tests oledlg_test
18598 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18599 wine_fn_config_dll olesvr.dll16 enable_win16
18600 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18601 wine_fn_config_dll olethk32 enable_olethk32
18602 wine_fn_config_dll openal32 enable_openal32
18603 wine_fn_config_dll opencl enable_opencl
18604 wine_fn_config_dll opengl32 enable_opengl32 implib
18605 wine_fn_config_test dlls/opengl32/tests opengl32_test
18606 wine_fn_config_dll packager enable_packager clean
18607 wine_fn_config_test dlls/packager/tests packager_test
18608 wine_fn_config_dll pdh enable_pdh implib
18609 wine_fn_config_test dlls/pdh/tests pdh_test
18610 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18611 wine_fn_config_dll pidgen enable_pidgen
18612 wine_fn_config_dll powrprof enable_powrprof implib
18613 wine_fn_config_dll printui enable_printui
18614 wine_fn_config_dll prntvpt enable_prntvpt
18615 wine_fn_config_dll propsys enable_propsys clean,implib
18616 wine_fn_config_test dlls/propsys/tests propsys_test
18617 wine_fn_config_dll psapi enable_psapi implib
18618 wine_fn_config_test dlls/psapi/tests psapi_test
18619 wine_fn_config_dll pstorec enable_pstorec clean
18620 wine_fn_config_test dlls/pstorec/tests pstorec_test
18621 wine_fn_config_dll qcap enable_qcap
18622 wine_fn_config_test dlls/qcap/tests qcap_test
18623 wine_fn_config_dll qedit enable_qedit clean
18624 wine_fn_config_test dlls/qedit/tests qedit_test
18625 wine_fn_config_dll qmgr enable_qmgr clean
18626 wine_fn_config_test dlls/qmgr/tests qmgr_test
18627 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18628 wine_fn_config_dll quartz enable_quartz clean,implib
18629 wine_fn_config_test dlls/quartz/tests quartz_test clean
18630 wine_fn_config_dll query enable_query
18631 wine_fn_config_dll rasapi16.dll16 enable_win16
18632 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18633 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18634 wine_fn_config_dll rasdlg enable_rasdlg implib
18635 wine_fn_config_dll regapi enable_regapi
18636 wine_fn_config_dll resutils enable_resutils implib
18637 wine_fn_config_dll riched20 enable_riched20 clean,implib
18638 wine_fn_config_test dlls/riched20/tests riched20_test
18639 wine_fn_config_dll riched32 enable_riched32
18640 wine_fn_config_test dlls/riched32/tests riched32_test
18641 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18642 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18643 wine_fn_config_dll rsabase enable_rsabase
18644 wine_fn_config_dll rsaenh enable_rsaenh implib
18645 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18646 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18647 wine_fn_config_dll rtutils enable_rtutils implib
18648 wine_fn_config_dll samlib enable_samlib
18649 wine_fn_config_dll sane.ds enable_sane_ds clean
18650 wine_fn_config_dll scarddlg enable_scarddlg
18651 wine_fn_config_dll sccbase enable_sccbase
18652 wine_fn_config_dll schannel enable_schannel
18653 wine_fn_config_test dlls/schannel/tests schannel_test
18654 wine_fn_config_dll schedsvc enable_schedsvc clean
18655 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18656 wine_fn_config_dll scrobj enable_scrobj clean
18657 wine_fn_config_dll scrrun enable_scrrun clean
18658 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18659 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18660 wine_fn_config_dll secur32 enable_secur32 implib
18661 wine_fn_config_test dlls/secur32/tests secur32_test
18662 wine_fn_config_dll security enable_security
18663 wine_fn_config_dll sensapi enable_sensapi implib
18664 wine_fn_config_dll serialui enable_serialui clean
18665 wine_fn_config_test dlls/serialui/tests serialui_test
18666 wine_fn_config_dll setupapi enable_setupapi clean,implib
18667 wine_fn_config_test dlls/setupapi/tests setupapi_test
18668 wine_fn_config_dll setupx.dll16 enable_win16
18669 wine_fn_config_dll sfc enable_sfc implib
18670 wine_fn_config_dll sfc_os enable_sfc_os implib
18671 wine_fn_config_dll shdoclc enable_shdoclc clean
18672 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18673 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18674 wine_fn_config_dll shell.dll16 enable_win16
18675 wine_fn_config_dll shell32 enable_shell32 clean,implib
18676 wine_fn_config_test dlls/shell32/tests shell32_test
18677 wine_fn_config_dll shfolder enable_shfolder implib
18678 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18679 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18680 wine_fn_config_dll slbcsp enable_slbcsp
18681 wine_fn_config_dll slc enable_slc implib
18682 wine_fn_config_test dlls/slc/tests slc_test
18683 wine_fn_config_dll snmpapi enable_snmpapi implib
18684 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18685 wine_fn_config_dll softpub enable_softpub
18686 wine_fn_config_dll sound.drv16 enable_win16
18687 wine_fn_config_dll spoolss enable_spoolss implib
18688 wine_fn_config_test dlls/spoolss/tests spoolss_test
18689 wine_fn_config_dll sspicli enable_sspicli
18690 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18691 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18692 wine_fn_config_dll sti enable_sti clean,implib
18693 wine_fn_config_test dlls/sti/tests sti_test
18694 wine_fn_config_dll storage.dll16 enable_win16
18695 wine_fn_config_dll stress.dll16 enable_win16
18696 wine_fn_config_lib strmbase
18697 wine_fn_config_lib strmiids
18698 wine_fn_config_dll svrapi enable_svrapi
18699 wine_fn_config_dll sxs enable_sxs implib
18700 wine_fn_config_test dlls/sxs/tests sxs_test
18701 wine_fn_config_dll system.drv16 enable_win16
18702 wine_fn_config_dll t2embed enable_t2embed implib
18703 wine_fn_config_test dlls/t2embed/tests t2embed_test
18704 wine_fn_config_dll tapi32 enable_tapi32 implib
18705 wine_fn_config_dll taskschd enable_taskschd clean
18706 wine_fn_config_test dlls/taskschd/tests taskschd_test
18707 wine_fn_config_dll tdh enable_tdh
18708 wine_fn_config_dll tdi.sys enable_tdi_sys
18709 wine_fn_config_dll toolhelp.dll16 enable_win16
18710 wine_fn_config_dll traffic enable_traffic
18711 wine_fn_config_dll twain.dll16 enable_win16
18712 wine_fn_config_dll twain_32 enable_twain_32
18713 wine_fn_config_test dlls/twain_32/tests twain_32_test
18714 wine_fn_config_dll typelib.dll16 enable_win16
18715 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18716 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18717 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18718 wine_fn_config_dll uiribbon enable_uiribbon clean
18719 wine_fn_config_dll unicows enable_unicows implib
18720 wine_fn_config_dll updspapi enable_updspapi
18721 wine_fn_config_dll url enable_url implib
18722 wine_fn_config_dll urlmon enable_urlmon clean,implib
18723 wine_fn_config_test dlls/urlmon/tests urlmon_test
18724 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18725 wine_fn_config_dll user.exe16 enable_win16
18726 wine_fn_config_dll user32 enable_user32 clean,implib
18727 wine_fn_config_test dlls/user32/tests user32_test
18728 wine_fn_config_dll userenv enable_userenv implib
18729 wine_fn_config_test dlls/userenv/tests userenv_test
18730 wine_fn_config_dll usp10 enable_usp10 implib
18731 wine_fn_config_test dlls/usp10/tests usp10_test
18732 wine_fn_config_lib uuid
18733 wine_fn_config_dll uxtheme enable_uxtheme implib
18734 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18735 wine_fn_config_dll vbscript enable_vbscript clean
18736 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18737 wine_fn_config_dll vcomp enable_vcomp
18738 wine_fn_config_test dlls/vcomp/tests vcomp_test
18739 wine_fn_config_dll vcomp100 enable_vcomp100
18740 wine_fn_config_dll vcomp110 enable_vcomp110
18741 wine_fn_config_dll vcomp120 enable_vcomp120
18742 wine_fn_config_dll vcomp140 enable_vcomp140
18743 wine_fn_config_dll vcomp90 enable_vcomp90
18744 wine_fn_config_dll vcruntime140 enable_vcruntime140
18745 wine_fn_config_dll vdhcp.vxd enable_win16
18746 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18747 wine_fn_config_dll ver.dll16 enable_win16
18748 wine_fn_config_dll version enable_version implib
18749 wine_fn_config_test dlls/version/tests version_test
18750 wine_fn_config_dll virtdisk enable_virtdisk
18751 wine_fn_config_dll vmm.vxd enable_win16
18752 wine_fn_config_dll vnbt.vxd enable_win16
18753 wine_fn_config_dll vnetbios.vxd enable_win16
18754 wine_fn_config_dll vssapi enable_vssapi
18755 wine_fn_config_dll vtdapi.vxd enable_win16
18756 wine_fn_config_dll vwin32.vxd enable_win16
18757 wine_fn_config_dll w32skrnl enable_win16
18758 wine_fn_config_dll w32sys.dll16 enable_win16
18759 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18760 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18761 wine_fn_config_dll wbemprox enable_wbemprox clean
18762 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18763 wine_fn_config_dll webservices enable_webservices implib
18764 wine_fn_config_test dlls/webservices/tests webservices_test
18765 wine_fn_config_dll wer enable_wer implib
18766 wine_fn_config_test dlls/wer/tests wer_test
18767 wine_fn_config_dll wevtapi enable_wevtapi
18768 wine_fn_config_dll wiaservc enable_wiaservc clean
18769 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18770 wine_fn_config_dll wimgapi enable_wimgapi
18771 wine_fn_config_dll win32s16.dll16 enable_win16
18772 wine_fn_config_dll win87em.dll16 enable_win16
18773 wine_fn_config_dll winaspi.dll16 enable_win16
18774 wine_fn_config_dll windebug.dll16 enable_win16
18775 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18776 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18777 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18778 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18779 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18780 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18781 wine_fn_config_dll winebus.sys enable_winebus_sys
18782 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18783 wine_fn_config_lib winecrt0
18784 wine_fn_config_dll wined3d enable_wined3d implib
18785 wine_fn_config_dll winegstreamer enable_winegstreamer
18786 wine_fn_config_dll winehid.sys enable_winehid_sys
18787 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18788 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18789 wine_fn_config_dll winemapi enable_winemapi
18790 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18791 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18792 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18793 wine_fn_config_dll wineps16.drv16 enable_win16
18794 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18795 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18796 wine_fn_config_dll winex11.drv enable_winex11_drv
18797 wine_fn_config_dll wing.dll16 enable_win16
18798 wine_fn_config_dll wing32 enable_wing32
18799 wine_fn_config_dll winhttp enable_winhttp clean,implib
18800 wine_fn_config_test dlls/winhttp/tests winhttp_test
18801 wine_fn_config_dll wininet enable_wininet clean,implib
18802 wine_fn_config_test dlls/wininet/tests wininet_test
18803 wine_fn_config_dll winmm enable_winmm clean,implib
18804 wine_fn_config_test dlls/winmm/tests winmm_test
18805 wine_fn_config_dll winnls.dll16 enable_win16
18806 wine_fn_config_dll winnls32 enable_winnls32 implib
18807 wine_fn_config_dll winscard enable_winscard implib
18808 wine_fn_config_dll winsock.dll16 enable_win16
18809 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18810 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18811 wine_fn_config_dll winsta enable_winsta
18812 wine_fn_config_dll wintab.dll16 enable_win16
18813 wine_fn_config_dll wintab32 enable_wintab32 implib
18814 wine_fn_config_test dlls/wintab32/tests wintab32_test
18815 wine_fn_config_dll wintrust enable_wintrust implib
18816 wine_fn_config_test dlls/wintrust/tests wintrust_test
18817 wine_fn_config_dll winusb enable_winusb
18818 wine_fn_config_dll wlanapi enable_wlanapi implib
18819 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18820 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18821 wine_fn_config_test dlls/wldap32/tests wldap32_test
18822 wine_fn_config_dll wmasf enable_wmasf
18823 wine_fn_config_dll wmi enable_wmi
18824 wine_fn_config_dll wmiutils enable_wmiutils clean
18825 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18826 wine_fn_config_dll wmp enable_wmp clean
18827 wine_fn_config_test dlls/wmp/tests wmp_test
18828 wine_fn_config_dll wmphoto enable_wmphoto clean
18829 wine_fn_config_dll wmvcore enable_wmvcore implib
18830 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18831 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18832 wine_fn_config_dll wow32 enable_win16 implib
18833 wine_fn_config_dll wpc enable_wpc clean
18834 wine_fn_config_test dlls/wpc/tests wpc_test
18835 wine_fn_config_dll wpcap enable_wpcap
18836 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18837 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18838 wine_fn_config_dll wsdapi enable_wsdapi implib
18839 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18840 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18841 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18842 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18843 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18844 wine_fn_config_dll wsock32 enable_wsock32 implib
18845 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18846 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18847 wine_fn_config_dll wuapi enable_wuapi clean
18848 wine_fn_config_dll wuaueng enable_wuaueng
18849 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18850 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18851 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18852 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18853 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18854 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18855 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18856 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18857 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18858 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18859 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18860 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18861 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18862 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18863 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18864 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18865 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18866 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18867 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18868 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18869 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18870 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18871 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18872 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18873 wine_fn_config_dll xinput1_1 enable_xinput1_1
18874 wine_fn_config_dll xinput1_2 enable_xinput1_2
18875 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18876 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18877 wine_fn_config_dll xinput1_4 enable_xinput1_4
18878 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18879 wine_fn_config_dll xmllite enable_xmllite implib
18880 wine_fn_config_test dlls/xmllite/tests xmllite_test
18881 wine_fn_config_dll xolehlp enable_xolehlp
18882 wine_fn_config_dll xpsprint enable_xpsprint
18883 wine_fn_config_dll xpssvcs enable_xpssvcs
18884 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18885 wine_fn_config_makefile include enable_include clean,install-dev
18886 wine_fn_config_makefile libs/port enable_libs_port
18887 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18888 wine_fn_config_makefile libs/wpp enable_libs_wpp
18889 wine_fn_config_makefile loader enable_loader clean,install-lib
18890 wine_fn_config_makefile po enable_po clean
18891 wine_fn_config_program arp enable_arp install
18892 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18893 wine_fn_config_program attrib enable_attrib clean,install
18894 wine_fn_config_program cabarc enable_cabarc install
18895 wine_fn_config_program cacls enable_cacls install
18896 wine_fn_config_program clock enable_clock clean,install
18897 wine_fn_config_program cmd enable_cmd clean,install
18898 wine_fn_config_test programs/cmd/tests cmd.exe_test
18899 wine_fn_config_program conhost enable_conhost install
18900 wine_fn_config_program control enable_control install
18901 wine_fn_config_program cscript enable_cscript clean,install
18902 wine_fn_config_program dpnsvr enable_dpnsvr install
18903 wine_fn_config_program dxdiag enable_dxdiag clean,install
18904 wine_fn_config_program eject enable_eject install
18905 wine_fn_config_program expand enable_expand install
18906 wine_fn_config_program explorer enable_explorer clean,install
18907 wine_fn_config_program extrac32 enable_extrac32 install
18908 wine_fn_config_program findstr enable_findstr install
18909 wine_fn_config_program fsutil enable_fsutil install
18910 wine_fn_config_program hh enable_hh install
18911 wine_fn_config_program hostname enable_hostname clean,install
18912 wine_fn_config_program icacls enable_icacls install
18913 wine_fn_config_program icinfo enable_icinfo install
18914 wine_fn_config_program iexplore enable_iexplore install
18915 wine_fn_config_program ipconfig enable_ipconfig clean,install
18916 wine_fn_config_program lodctr enable_lodctr install
18917 wine_fn_config_program mofcomp enable_mofcomp install
18918 wine_fn_config_program mshta enable_mshta install
18919 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18920 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18921 wine_fn_config_program net enable_net clean,install
18922 wine_fn_config_program netsh enable_netsh install
18923 wine_fn_config_program netstat enable_netstat clean,install
18924 wine_fn_config_program ngen enable_ngen install
18925 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18926 wine_fn_config_program oleview enable_oleview clean,install
18927 wine_fn_config_program ping enable_ping install
18928 wine_fn_config_program plugplay enable_plugplay install
18929 wine_fn_config_program powershell enable_powershell install
18930 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18931 wine_fn_config_program progman enable_progman clean,install
18932 wine_fn_config_program reg enable_reg clean,install
18933 wine_fn_config_test programs/reg/tests reg.exe_test
18934 wine_fn_config_program regasm enable_regasm install
18935 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18936 wine_fn_config_test programs/regedit/tests regedit.exe_test
18937 wine_fn_config_program regsvcs enable_regsvcs install
18938 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18939 wine_fn_config_program rpcss enable_rpcss clean,install
18940 wine_fn_config_program rundll.exe16 enable_win16 install
18941 wine_fn_config_program rundll32 enable_rundll32 install
18942 wine_fn_config_program sc enable_sc install
18943 wine_fn_config_program schtasks enable_schtasks install
18944 wine_fn_config_program sdbinst enable_sdbinst install
18945 wine_fn_config_program secedit enable_secedit install
18946 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18947 wine_fn_config_program services enable_services clean,install
18948 wine_fn_config_test programs/services/tests services.exe_test
18949 wine_fn_config_program shutdown enable_shutdown install
18950 wine_fn_config_program spoolsv enable_spoolsv install
18951 wine_fn_config_program start enable_start clean,install
18952 wine_fn_config_program subst enable_subst install
18953 wine_fn_config_program svchost enable_svchost install
18954 wine_fn_config_program systeminfo enable_systeminfo install
18955 wine_fn_config_program taskkill enable_taskkill clean,install
18956 wine_fn_config_program tasklist enable_tasklist install
18957 wine_fn_config_program taskmgr enable_taskmgr clean,install
18958 wine_fn_config_program termsv enable_termsv install
18959 wine_fn_config_program uninstaller enable_uninstaller clean,install
18960 wine_fn_config_program unlodctr enable_unlodctr install
18961 wine_fn_config_program view enable_view clean,install
18962 wine_fn_config_program wevtutil enable_wevtutil install
18963 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18964 wine_fn_config_program winebrowser enable_winebrowser install
18965 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18966 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18967 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18968 wine_fn_config_program winedevice enable_winedevice install
18969 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18970 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18971 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18972 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18973 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18974 wine_fn_config_program winetest enable_winetest clean
18975 wine_fn_config_program winevdm enable_win16 install
18976 wine_fn_config_program winhelp.exe16 enable_win16 install
18977 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18978 wine_fn_config_program winoldap.mod16 enable_win16 install
18979 wine_fn_config_program winver enable_winver install
18980 wine_fn_config_program wmic enable_wmic clean,install
18981 wine_fn_config_program wmplayer enable_wmplayer install
18982 wine_fn_config_program wordpad enable_wordpad clean,install
18983 wine_fn_config_program write enable_write clean,install
18984 wine_fn_config_program wscript enable_wscript clean,install
18985 wine_fn_config_test programs/wscript/tests wscript.exe_test
18986 wine_fn_config_program wusa enable_wusa install
18987 wine_fn_config_program xcopy enable_xcopy clean,install
18988 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18989 wine_fn_config_makefile server enable_server clean,install-lib
18990 wine_fn_config_tool tools clean
18991 wine_fn_config_tool tools/sfnt2fon clean
18992 wine_fn_config_tool tools/widl clean,install-dev
18993 wine_fn_config_tool tools/winebuild clean,install-dev
18994 wine_fn_config_tool tools/winedump clean,install-dev
18995 wine_fn_config_tool tools/winegcc clean,install-dev
18996 wine_fn_config_tool tools/winemaker clean,install-dev
18997 wine_fn_config_tool tools/wmc clean,install-dev
18998 wine_fn_config_tool tools/wrc clean,install-dev
19001 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19002 wine_fn_append_file CONFIGURE_TARGETS "tags"
19003 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19004 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19005 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19006 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19007 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19008 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19010 if test "x$enable_tools" != xno
19011 then
19012 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19013 ac_config_commands="$ac_config_commands tools/makedep"
19017 ac_config_commands="$ac_config_commands Makefile"
19020 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19024 if test "x$enable_maintainer_mode" = xyes
19025 then
19026 wine_fn_append_rule "configure: configure.ac aclocal.m4
19027 autoconf --warnings=all
19028 include/config.h.in: include/stamp-h.in
19029 include/stamp-h.in: configure.ac aclocal.m4
19030 autoheader --warnings=all
19031 @echo timestamp > \$@"
19034 if test "x$enable_tools" != xno
19035 then
19036 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19037 @./config.status tools/makedep
19038 Makefile: tools/makedep$ac_exeext"
19039 else
19040 wine_fn_append_rule "\$(MAKEDEP):
19041 @echo \"You need to run make in $TOOLSDIR first\" && false"
19044 if test -n "$with_wine64"
19045 then
19046 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19047 fonts server:
19048 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19049 $with_wine64/loader/wine:
19050 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19051 $with_wine64/loader/wine-preloader:
19052 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19053 clean::
19054 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19055 else
19056 WINELOADER_INSTALL="wine.inf"
19058 wine_fn_append_rule "install install-lib::
19059 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19060 uninstall::
19061 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19062 case $host_os in
19063 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19064 *) wine_fn_append_rule "install install-lib::
19065 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19066 uninstall::
19067 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19068 esac
19071 $as_echo " done" >&6
19072 cat >confcache <<\_ACEOF
19073 # This file is a shell script that caches the results of configure
19074 # tests run on this system so they can be shared between configure
19075 # scripts and configure runs, see configure's option --config-cache.
19076 # It is not useful on other systems. If it contains results you don't
19077 # want to keep, you may remove or edit it.
19079 # config.status only pays attention to the cache file if you give it
19080 # the --recheck option to rerun configure.
19082 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19083 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19084 # following values.
19086 _ACEOF
19088 # The following way of writing the cache mishandles newlines in values,
19089 # but we know of no workaround that is simple, portable, and efficient.
19090 # So, we kill variables containing newlines.
19091 # Ultrix sh set writes to stderr and can't be redirected directly,
19092 # and sets the high bit in the cache file unless we assign to the vars.
19094 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19095 eval ac_val=\$$ac_var
19096 case $ac_val in #(
19097 *${as_nl}*)
19098 case $ac_var in #(
19099 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19100 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19101 esac
19102 case $ac_var in #(
19103 _ | IFS | as_nl) ;; #(
19104 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19105 *) { eval $ac_var=; unset $ac_var;} ;;
19106 esac ;;
19107 esac
19108 done
19110 (set) 2>&1 |
19111 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19112 *${as_nl}ac_space=\ *)
19113 # `set' does not quote correctly, so add quotes: double-quote
19114 # substitution turns \\\\ into \\, and sed turns \\ into \.
19115 sed -n \
19116 "s/'/'\\\\''/g;
19117 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19118 ;; #(
19120 # `set' quotes correctly as required by POSIX, so do not add quotes.
19121 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19123 esac |
19124 sort
19126 sed '
19127 /^ac_cv_env_/b end
19128 t clear
19129 :clear
19130 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19131 t end
19132 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19133 :end' >>confcache
19134 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19135 if test -w "$cache_file"; then
19136 if test "x$cache_file" != "x/dev/null"; then
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19138 $as_echo "$as_me: updating cache $cache_file" >&6;}
19139 if test ! -f "$cache_file" || test -h "$cache_file"; then
19140 cat confcache >"$cache_file"
19141 else
19142 case $cache_file in #(
19143 */* | ?:*)
19144 mv -f confcache "$cache_file"$$ &&
19145 mv -f "$cache_file"$$ "$cache_file" ;; #(
19147 mv -f confcache "$cache_file" ;;
19148 esac
19151 else
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19153 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19156 rm -f confcache
19158 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19159 # Let make expand exec_prefix.
19160 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19162 DEFS=-DHAVE_CONFIG_H
19164 ac_libobjs=
19165 ac_ltlibobjs=
19167 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19168 # 1. Remove the extension, and $U if already installed.
19169 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19170 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19171 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19172 # will be set to the directory where LIBOBJS objects are built.
19173 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19174 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19175 done
19176 LIBOBJS=$ac_libobjs
19178 LTLIBOBJS=$ac_ltlibobjs
19182 : "${CONFIG_STATUS=./config.status}"
19183 ac_write_fail=0
19184 ac_clean_files_save=$ac_clean_files
19185 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19187 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19188 as_write_fail=0
19189 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19190 #! $SHELL
19191 # Generated by $as_me.
19192 # Run this file to recreate the current configuration.
19193 # Compiler output produced by configure, useful for debugging
19194 # configure, is in config.log if it exists.
19196 debug=false
19197 ac_cs_recheck=false
19198 ac_cs_silent=false
19200 SHELL=\${CONFIG_SHELL-$SHELL}
19201 export SHELL
19202 _ASEOF
19203 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19204 ## -------------------- ##
19205 ## M4sh Initialization. ##
19206 ## -------------------- ##
19208 # Be more Bourne compatible
19209 DUALCASE=1; export DUALCASE # for MKS sh
19210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19211 emulate sh
19212 NULLCMD=:
19213 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19214 # is contrary to our usage. Disable this feature.
19215 alias -g '${1+"$@"}'='"$@"'
19216 setopt NO_GLOB_SUBST
19217 else
19218 case `(set -o) 2>/dev/null` in #(
19219 *posix*) :
19220 set -o posix ;; #(
19221 *) :
19223 esac
19227 as_nl='
19229 export as_nl
19230 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19231 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19232 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19233 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19234 # Prefer a ksh shell builtin over an external printf program on Solaris,
19235 # but without wasting forks for bash or zsh.
19236 if test -z "$BASH_VERSION$ZSH_VERSION" \
19237 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19238 as_echo='print -r --'
19239 as_echo_n='print -rn --'
19240 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19241 as_echo='printf %s\n'
19242 as_echo_n='printf %s'
19243 else
19244 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19245 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19246 as_echo_n='/usr/ucb/echo -n'
19247 else
19248 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19249 as_echo_n_body='eval
19250 arg=$1;
19251 case $arg in #(
19252 *"$as_nl"*)
19253 expr "X$arg" : "X\\(.*\\)$as_nl";
19254 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19255 esac;
19256 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19258 export as_echo_n_body
19259 as_echo_n='sh -c $as_echo_n_body as_echo'
19261 export as_echo_body
19262 as_echo='sh -c $as_echo_body as_echo'
19265 # The user is always right.
19266 if test "${PATH_SEPARATOR+set}" != set; then
19267 PATH_SEPARATOR=:
19268 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19269 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19270 PATH_SEPARATOR=';'
19275 # IFS
19276 # We need space, tab and new line, in precisely that order. Quoting is
19277 # there to prevent editors from complaining about space-tab.
19278 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19279 # splitting by setting IFS to empty value.)
19280 IFS=" "" $as_nl"
19282 # Find who we are. Look in the path if we contain no directory separator.
19283 as_myself=
19284 case $0 in #((
19285 *[\\/]* ) as_myself=$0 ;;
19286 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19287 for as_dir in $PATH
19289 IFS=$as_save_IFS
19290 test -z "$as_dir" && as_dir=.
19291 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19292 done
19293 IFS=$as_save_IFS
19296 esac
19297 # We did not find ourselves, most probably we were run as `sh COMMAND'
19298 # in which case we are not to be found in the path.
19299 if test "x$as_myself" = x; then
19300 as_myself=$0
19302 if test ! -f "$as_myself"; then
19303 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19304 exit 1
19307 # Unset variables that we do not need and which cause bugs (e.g. in
19308 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19309 # suppresses any "Segmentation fault" message there. '((' could
19310 # trigger a bug in pdksh 5.2.14.
19311 for as_var in BASH_ENV ENV MAIL MAILPATH
19312 do eval test x\${$as_var+set} = xset \
19313 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19314 done
19315 PS1='$ '
19316 PS2='> '
19317 PS4='+ '
19319 # NLS nuisances.
19320 LC_ALL=C
19321 export LC_ALL
19322 LANGUAGE=C
19323 export LANGUAGE
19325 # CDPATH.
19326 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19329 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19330 # ----------------------------------------
19331 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19332 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19333 # script with STATUS, using 1 if that was 0.
19334 as_fn_error ()
19336 as_status=$1; test $as_status -eq 0 && as_status=1
19337 if test "$4"; then
19338 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19339 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19341 $as_echo "$as_me: error: $2" >&2
19342 as_fn_exit $as_status
19343 } # as_fn_error
19346 # as_fn_set_status STATUS
19347 # -----------------------
19348 # Set $? to STATUS, without forking.
19349 as_fn_set_status ()
19351 return $1
19352 } # as_fn_set_status
19354 # as_fn_exit STATUS
19355 # -----------------
19356 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19357 as_fn_exit ()
19359 set +e
19360 as_fn_set_status $1
19361 exit $1
19362 } # as_fn_exit
19364 # as_fn_unset VAR
19365 # ---------------
19366 # Portably unset VAR.
19367 as_fn_unset ()
19369 { eval $1=; unset $1;}
19371 as_unset=as_fn_unset
19372 # as_fn_append VAR VALUE
19373 # ----------------------
19374 # Append the text in VALUE to the end of the definition contained in VAR. Take
19375 # advantage of any shell optimizations that allow amortized linear growth over
19376 # repeated appends, instead of the typical quadratic growth present in naive
19377 # implementations.
19378 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19379 eval 'as_fn_append ()
19381 eval $1+=\$2
19383 else
19384 as_fn_append ()
19386 eval $1=\$$1\$2
19388 fi # as_fn_append
19390 # as_fn_arith ARG...
19391 # ------------------
19392 # Perform arithmetic evaluation on the ARGs, and store the result in the
19393 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19394 # must be portable across $(()) and expr.
19395 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19396 eval 'as_fn_arith ()
19398 as_val=$(( $* ))
19400 else
19401 as_fn_arith ()
19403 as_val=`expr "$@" || test $? -eq 1`
19405 fi # as_fn_arith
19408 if expr a : '\(a\)' >/dev/null 2>&1 &&
19409 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19410 as_expr=expr
19411 else
19412 as_expr=false
19415 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19416 as_basename=basename
19417 else
19418 as_basename=false
19421 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19422 as_dirname=dirname
19423 else
19424 as_dirname=false
19427 as_me=`$as_basename -- "$0" ||
19428 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19429 X"$0" : 'X\(//\)$' \| \
19430 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19431 $as_echo X/"$0" |
19432 sed '/^.*\/\([^/][^/]*\)\/*$/{
19433 s//\1/
19436 /^X\/\(\/\/\)$/{
19437 s//\1/
19440 /^X\/\(\/\).*/{
19441 s//\1/
19444 s/.*/./; q'`
19446 # Avoid depending upon Character Ranges.
19447 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19448 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19449 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19450 as_cr_digits='0123456789'
19451 as_cr_alnum=$as_cr_Letters$as_cr_digits
19453 ECHO_C= ECHO_N= ECHO_T=
19454 case `echo -n x` in #(((((
19455 -n*)
19456 case `echo 'xy\c'` in
19457 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19458 xy) ECHO_C='\c';;
19459 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19460 ECHO_T=' ';;
19461 esac;;
19463 ECHO_N='-n';;
19464 esac
19466 rm -f conf$$ conf$$.exe conf$$.file
19467 if test -d conf$$.dir; then
19468 rm -f conf$$.dir/conf$$.file
19469 else
19470 rm -f conf$$.dir
19471 mkdir conf$$.dir 2>/dev/null
19473 if (echo >conf$$.file) 2>/dev/null; then
19474 if ln -s conf$$.file conf$$ 2>/dev/null; then
19475 as_ln_s='ln -s'
19476 # ... but there are two gotchas:
19477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19479 # In both cases, we have to default to `cp -pR'.
19480 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19481 as_ln_s='cp -pR'
19482 elif ln conf$$.file conf$$ 2>/dev/null; then
19483 as_ln_s=ln
19484 else
19485 as_ln_s='cp -pR'
19487 else
19488 as_ln_s='cp -pR'
19490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19491 rmdir conf$$.dir 2>/dev/null
19494 # as_fn_mkdir_p
19495 # -------------
19496 # Create "$as_dir" as a directory, including parents if necessary.
19497 as_fn_mkdir_p ()
19500 case $as_dir in #(
19501 -*) as_dir=./$as_dir;;
19502 esac
19503 test -d "$as_dir" || eval $as_mkdir_p || {
19504 as_dirs=
19505 while :; do
19506 case $as_dir in #(
19507 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19508 *) as_qdir=$as_dir;;
19509 esac
19510 as_dirs="'$as_qdir' $as_dirs"
19511 as_dir=`$as_dirname -- "$as_dir" ||
19512 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19513 X"$as_dir" : 'X\(//\)[^/]' \| \
19514 X"$as_dir" : 'X\(//\)$' \| \
19515 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19516 $as_echo X"$as_dir" |
19517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19518 s//\1/
19521 /^X\(\/\/\)[^/].*/{
19522 s//\1/
19525 /^X\(\/\/\)$/{
19526 s//\1/
19529 /^X\(\/\).*/{
19530 s//\1/
19533 s/.*/./; q'`
19534 test -d "$as_dir" && break
19535 done
19536 test -z "$as_dirs" || eval "mkdir $as_dirs"
19537 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19540 } # as_fn_mkdir_p
19541 if mkdir -p . 2>/dev/null; then
19542 as_mkdir_p='mkdir -p "$as_dir"'
19543 else
19544 test -d ./-p && rmdir ./-p
19545 as_mkdir_p=false
19549 # as_fn_executable_p FILE
19550 # -----------------------
19551 # Test if FILE is an executable regular file.
19552 as_fn_executable_p ()
19554 test -f "$1" && test -x "$1"
19555 } # as_fn_executable_p
19556 as_test_x='test -x'
19557 as_executable_p=as_fn_executable_p
19559 # Sed expression to map a string onto a valid CPP name.
19560 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19562 # Sed expression to map a string onto a valid variable name.
19563 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19566 exec 6>&1
19567 ## ----------------------------------- ##
19568 ## Main body of $CONFIG_STATUS script. ##
19569 ## ----------------------------------- ##
19570 _ASEOF
19571 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19574 # Save the log message, to keep $0 and so on meaningful, and to
19575 # report actual input values of CONFIG_FILES etc. instead of their
19576 # values after options handling.
19577 ac_log="
19578 This file was extended by Wine $as_me 2.16, which was
19579 generated by GNU Autoconf 2.69. Invocation command line was
19581 CONFIG_FILES = $CONFIG_FILES
19582 CONFIG_HEADERS = $CONFIG_HEADERS
19583 CONFIG_LINKS = $CONFIG_LINKS
19584 CONFIG_COMMANDS = $CONFIG_COMMANDS
19585 $ $0 $@
19587 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19590 _ACEOF
19592 case $ac_config_files in *"
19593 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19594 esac
19596 case $ac_config_headers in *"
19597 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19598 esac
19601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19602 # Files that config.status was made for.
19603 config_files="$ac_config_files"
19604 config_headers="$ac_config_headers"
19605 config_links="$ac_config_links"
19606 config_commands="$ac_config_commands"
19608 _ACEOF
19610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19611 ac_cs_usage="\
19612 \`$as_me' instantiates files and other configuration actions
19613 from templates according to the current configuration. Unless the files
19614 and actions are specified as TAGs, all are instantiated by default.
19616 Usage: $0 [OPTION]... [TAG]...
19618 -h, --help print this help, then exit
19619 -V, --version print version number and configuration settings, then exit
19620 --config print configuration, then exit
19621 -q, --quiet, --silent
19622 do not print progress messages
19623 -d, --debug don't remove temporary files
19624 --recheck update $as_me by reconfiguring in the same conditions
19625 --file=FILE[:TEMPLATE]
19626 instantiate the configuration file FILE
19627 --header=FILE[:TEMPLATE]
19628 instantiate the configuration header FILE
19630 Configuration files:
19631 $config_files
19633 Configuration headers:
19634 $config_headers
19636 Configuration links:
19637 $config_links
19639 Configuration commands:
19640 $config_commands
19642 Report bugs to <wine-devel@winehq.org>.
19643 Wine home page: <http://www.winehq.org>."
19645 _ACEOF
19646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19647 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19648 ac_cs_version="\\
19649 Wine config.status 2.16
19650 configured by $0, generated by GNU Autoconf 2.69,
19651 with options \\"\$ac_cs_config\\"
19653 Copyright (C) 2012 Free Software Foundation, Inc.
19654 This config.status script is free software; the Free Software Foundation
19655 gives unlimited permission to copy, distribute and modify it."
19657 ac_pwd='$ac_pwd'
19658 srcdir='$srcdir'
19659 test -n "\$AWK" || AWK=awk
19660 _ACEOF
19662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19663 # The default lists apply if the user does not specify any file.
19664 ac_need_defaults=:
19665 while test $# != 0
19667 case $1 in
19668 --*=?*)
19669 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19670 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19671 ac_shift=:
19673 --*=)
19674 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19675 ac_optarg=
19676 ac_shift=:
19679 ac_option=$1
19680 ac_optarg=$2
19681 ac_shift=shift
19683 esac
19685 case $ac_option in
19686 # Handling of the options.
19687 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19688 ac_cs_recheck=: ;;
19689 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19690 $as_echo "$ac_cs_version"; exit ;;
19691 --config | --confi | --conf | --con | --co | --c )
19692 $as_echo "$ac_cs_config"; exit ;;
19693 --debug | --debu | --deb | --de | --d | -d )
19694 debug=: ;;
19695 --file | --fil | --fi | --f )
19696 $ac_shift
19697 case $ac_optarg in
19698 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19699 '') as_fn_error $? "missing file argument" ;;
19700 esac
19701 as_fn_append CONFIG_FILES " '$ac_optarg'"
19702 ac_need_defaults=false;;
19703 --header | --heade | --head | --hea )
19704 $ac_shift
19705 case $ac_optarg in
19706 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19707 esac
19708 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19709 ac_need_defaults=false;;
19710 --he | --h)
19711 # Conflict between --help and --header
19712 as_fn_error $? "ambiguous option: \`$1'
19713 Try \`$0 --help' for more information.";;
19714 --help | --hel | -h )
19715 $as_echo "$ac_cs_usage"; exit ;;
19716 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19717 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19718 ac_cs_silent=: ;;
19720 # This is an error.
19721 -*) as_fn_error $? "unrecognized option: \`$1'
19722 Try \`$0 --help' for more information." ;;
19724 *) as_fn_append ac_config_targets " $1"
19725 ac_need_defaults=false ;;
19727 esac
19728 shift
19729 done
19731 ac_configure_extra_args=
19733 if $ac_cs_silent; then
19734 exec 6>/dev/null
19735 ac_configure_extra_args="$ac_configure_extra_args --silent"
19738 _ACEOF
19739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19740 if \$ac_cs_recheck; then
19741 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19742 shift
19743 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19744 CONFIG_SHELL='$SHELL'
19745 export CONFIG_SHELL
19746 exec "\$@"
19749 _ACEOF
19750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19751 exec 5>>config.log
19753 echo
19754 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19755 ## Running $as_me. ##
19756 _ASBOX
19757 $as_echo "$ac_log"
19758 } >&5
19760 _ACEOF
19761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19763 # INIT-COMMANDS
19765 wine_fn_output_makedep ()
19767 as_dir=tools; as_fn_mkdir_p
19768 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19770 wine_fn_output_makefile ()
19772 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19773 `cat $wine_rules_file`
19774 _WINE_EOF
19775 as_fn_error $? "could not create Makefile" "$LINENO" 5
19778 _ACEOF
19780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19782 # Handling of arguments.
19783 for ac_config_target in $ac_config_targets
19785 case $ac_config_target in
19786 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19787 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19788 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19789 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19790 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19791 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19792 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19793 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19794 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19795 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19796 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19797 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19798 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19800 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19801 esac
19802 done
19805 # If the user did not use the arguments to specify the items to instantiate,
19806 # then the envvar interface is used. Set only those that are not.
19807 # We use the long form for the default assignment because of an extremely
19808 # bizarre bug on SunOS 4.1.3.
19809 if $ac_need_defaults; then
19810 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19811 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19812 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19813 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19816 # Have a temporary directory for convenience. Make it in the build tree
19817 # simply because there is no reason against having it here, and in addition,
19818 # creating and moving files from /tmp can sometimes cause problems.
19819 # Hook for its removal unless debugging.
19820 # Note that there is a small window in which the directory will not be cleaned:
19821 # after its creation but before its name has been assigned to `$tmp'.
19822 $debug ||
19824 tmp= ac_tmp=
19825 trap 'exit_status=$?
19826 : "${ac_tmp:=$tmp}"
19827 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19829 trap 'as_fn_exit 1' 1 2 13 15
19831 # Create a (secure) tmp directory for tmp files.
19834 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19835 test -d "$tmp"
19836 } ||
19838 tmp=./conf$$-$RANDOM
19839 (umask 077 && mkdir "$tmp")
19840 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19841 ac_tmp=$tmp
19843 # Set up the scripts for CONFIG_FILES section.
19844 # No need to generate them if there are no CONFIG_FILES.
19845 # This happens for instance with `./config.status config.h'.
19846 if test -n "$CONFIG_FILES"; then
19849 ac_cr=`echo X | tr X '\015'`
19850 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19851 # But we know of no other shell where ac_cr would be empty at this
19852 # point, so we can use a bashism as a fallback.
19853 if test "x$ac_cr" = x; then
19854 eval ac_cr=\$\'\\r\'
19856 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19857 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19858 ac_cs_awk_cr='\\r'
19859 else
19860 ac_cs_awk_cr=$ac_cr
19863 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19864 _ACEOF
19868 echo "cat >conf$$subs.awk <<_ACEOF" &&
19869 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19870 echo "_ACEOF"
19871 } >conf$$subs.sh ||
19872 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19873 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19874 ac_delim='%!_!# '
19875 for ac_last_try in false false false false false :; do
19876 . ./conf$$subs.sh ||
19877 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19879 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19880 if test $ac_delim_n = $ac_delim_num; then
19881 break
19882 elif $ac_last_try; then
19883 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19884 else
19885 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19887 done
19888 rm -f conf$$subs.sh
19890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19891 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19892 _ACEOF
19893 sed -n '
19895 s/^/S["/; s/!.*/"]=/
19898 s/^[^!]*!//
19899 :repl
19900 t repl
19901 s/'"$ac_delim"'$//
19902 t delim
19905 s/\(.\{148\}\)..*/\1/
19906 t more1
19907 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19910 b repl
19911 :more1
19912 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19915 s/.\{148\}//
19916 t nl
19917 :delim
19919 s/\(.\{148\}\)..*/\1/
19920 t more2
19921 s/["\\]/\\&/g; s/^/"/; s/$/"/
19924 :more2
19925 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19928 s/.\{148\}//
19929 t delim
19930 ' <conf$$subs.awk | sed '
19931 /^[^""]/{
19933 s/\n//
19935 ' >>$CONFIG_STATUS || ac_write_fail=1
19936 rm -f conf$$subs.awk
19937 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19938 _ACAWK
19939 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19940 for (key in S) S_is_set[key] = 1
19941 FS = "\a"
19945 line = $ 0
19946 nfields = split(line, field, "@")
19947 substed = 0
19948 len = length(field[1])
19949 for (i = 2; i < nfields; i++) {
19950 key = field[i]
19951 keylen = length(key)
19952 if (S_is_set[key]) {
19953 value = S[key]
19954 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19955 len += length(value) + length(field[++i])
19956 substed = 1
19957 } else
19958 len += 1 + keylen
19961 print line
19964 _ACAWK
19965 _ACEOF
19966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19967 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19968 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19969 else
19971 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19972 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19973 _ACEOF
19975 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19976 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19977 # trailing colons and then remove the whole line if VPATH becomes empty
19978 # (actually we leave an empty line to preserve line numbers).
19979 if test "x$srcdir" = x.; then
19980 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19982 s///
19983 s/^/:/
19984 s/[ ]*$/:/
19985 s/:\$(srcdir):/:/g
19986 s/:\${srcdir}:/:/g
19987 s/:@srcdir@:/:/g
19988 s/^:*//
19989 s/:*$//
19991 s/\(=[ ]*\).*/\1/
19993 s/\n//
19994 s/^[^=]*=[ ]*$//
19998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19999 fi # test -n "$CONFIG_FILES"
20001 # Set up the scripts for CONFIG_HEADERS section.
20002 # No need to generate them if there are no CONFIG_HEADERS.
20003 # This happens for instance with `./config.status Makefile'.
20004 if test -n "$CONFIG_HEADERS"; then
20005 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20006 BEGIN {
20007 _ACEOF
20009 # Transform confdefs.h into an awk script `defines.awk', embedded as
20010 # here-document in config.status, that substitutes the proper values into
20011 # config.h.in to produce config.h.
20013 # Create a delimiter string that does not exist in confdefs.h, to ease
20014 # handling of long lines.
20015 ac_delim='%!_!# '
20016 for ac_last_try in false false :; do
20017 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20018 if test -z "$ac_tt"; then
20019 break
20020 elif $ac_last_try; then
20021 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20022 else
20023 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20025 done
20027 # For the awk script, D is an array of macro values keyed by name,
20028 # likewise P contains macro parameters if any. Preserve backslash
20029 # newline sequences.
20031 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20032 sed -n '
20033 s/.\{148\}/&'"$ac_delim"'/g
20034 t rset
20035 :rset
20036 s/^[ ]*#[ ]*define[ ][ ]*/ /
20037 t def
20039 :def
20040 s/\\$//
20041 t bsnl
20042 s/["\\]/\\&/g
20043 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20044 D["\1"]=" \3"/p
20045 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20047 :bsnl
20048 s/["\\]/\\&/g
20049 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20050 D["\1"]=" \3\\\\\\n"\\/p
20051 t cont
20052 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20053 t cont
20055 :cont
20057 s/.\{148\}/&'"$ac_delim"'/g
20058 t clear
20059 :clear
20060 s/\\$//
20061 t bsnlc
20062 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20064 :bsnlc
20065 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20066 b cont
20067 ' <confdefs.h | sed '
20068 s/'"$ac_delim"'/"\\\
20069 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20072 for (key in D) D_is_set[key] = 1
20073 FS = "\a"
20075 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20076 line = \$ 0
20077 split(line, arg, " ")
20078 if (arg[1] == "#") {
20079 defundef = arg[2]
20080 mac1 = arg[3]
20081 } else {
20082 defundef = substr(arg[1], 2)
20083 mac1 = arg[2]
20085 split(mac1, mac2, "(") #)
20086 macro = mac2[1]
20087 prefix = substr(line, 1, index(line, defundef) - 1)
20088 if (D_is_set[macro]) {
20089 # Preserve the white space surrounding the "#".
20090 print prefix "define", macro P[macro] D[macro]
20091 next
20092 } else {
20093 # Replace #undef with comments. This is necessary, for example,
20094 # in the case of _POSIX_SOURCE, which is predefined and required
20095 # on some systems where configure will not decide to define it.
20096 if (defundef == "undef") {
20097 print "/*", prefix defundef, macro, "*/"
20098 next
20102 { print }
20103 _ACAWK
20104 _ACEOF
20105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20106 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20107 fi # test -n "$CONFIG_HEADERS"
20110 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20111 shift
20112 for ac_tag
20114 case $ac_tag in
20115 :[FHLC]) ac_mode=$ac_tag; continue;;
20116 esac
20117 case $ac_mode$ac_tag in
20118 :[FHL]*:*);;
20119 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20120 :[FH]-) ac_tag=-:-;;
20121 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20122 esac
20123 ac_save_IFS=$IFS
20124 IFS=:
20125 set x $ac_tag
20126 IFS=$ac_save_IFS
20127 shift
20128 ac_file=$1
20129 shift
20131 case $ac_mode in
20132 :L) ac_source=$1;;
20133 :[FH])
20134 ac_file_inputs=
20135 for ac_f
20137 case $ac_f in
20138 -) ac_f="$ac_tmp/stdin";;
20139 *) # Look for the file first in the build tree, then in the source tree
20140 # (if the path is not absolute). The absolute path cannot be DOS-style,
20141 # because $ac_f cannot contain `:'.
20142 test -f "$ac_f" ||
20143 case $ac_f in
20144 [\\/$]*) false;;
20145 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20146 esac ||
20147 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20148 esac
20149 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20150 as_fn_append ac_file_inputs " '$ac_f'"
20151 done
20153 # Let's still pretend it is `configure' which instantiates (i.e., don't
20154 # use $as_me), people would be surprised to read:
20155 # /* config.h. Generated by config.status. */
20156 configure_input='Generated from '`
20157 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20158 `' by configure.'
20159 if test x"$ac_file" != x-; then
20160 configure_input="$ac_file. $configure_input"
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20162 $as_echo "$as_me: creating $ac_file" >&6;}
20164 # Neutralize special characters interpreted by sed in replacement strings.
20165 case $configure_input in #(
20166 *\&* | *\|* | *\\* )
20167 ac_sed_conf_input=`$as_echo "$configure_input" |
20168 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20169 *) ac_sed_conf_input=$configure_input;;
20170 esac
20172 case $ac_tag in
20173 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20174 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20175 esac
20177 esac
20179 ac_dir=`$as_dirname -- "$ac_file" ||
20180 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20181 X"$ac_file" : 'X\(//\)[^/]' \| \
20182 X"$ac_file" : 'X\(//\)$' \| \
20183 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20184 $as_echo X"$ac_file" |
20185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20186 s//\1/
20189 /^X\(\/\/\)[^/].*/{
20190 s//\1/
20193 /^X\(\/\/\)$/{
20194 s//\1/
20197 /^X\(\/\).*/{
20198 s//\1/
20201 s/.*/./; q'`
20202 as_dir="$ac_dir"; as_fn_mkdir_p
20203 ac_builddir=.
20205 case "$ac_dir" in
20206 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20208 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20209 # A ".." for each directory in $ac_dir_suffix.
20210 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20211 case $ac_top_builddir_sub in
20212 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20213 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20214 esac ;;
20215 esac
20216 ac_abs_top_builddir=$ac_pwd
20217 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20218 # for backward compatibility:
20219 ac_top_builddir=$ac_top_build_prefix
20221 case $srcdir in
20222 .) # We are building in place.
20223 ac_srcdir=.
20224 ac_top_srcdir=$ac_top_builddir_sub
20225 ac_abs_top_srcdir=$ac_pwd ;;
20226 [\\/]* | ?:[\\/]* ) # Absolute name.
20227 ac_srcdir=$srcdir$ac_dir_suffix;
20228 ac_top_srcdir=$srcdir
20229 ac_abs_top_srcdir=$srcdir ;;
20230 *) # Relative name.
20231 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20232 ac_top_srcdir=$ac_top_build_prefix$srcdir
20233 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20234 esac
20235 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20238 case $ac_mode in
20241 # CONFIG_FILE
20244 _ACEOF
20246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20247 # If the template does not know about datarootdir, expand it.
20248 # FIXME: This hack should be removed a few years after 2.60.
20249 ac_datarootdir_hack=; ac_datarootdir_seen=
20250 ac_sed_dataroot='
20251 /datarootdir/ {
20255 /@datadir@/p
20256 /@docdir@/p
20257 /@infodir@/p
20258 /@localedir@/p
20259 /@mandir@/p'
20260 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20261 *datarootdir*) ac_datarootdir_seen=yes;;
20262 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20264 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20265 _ACEOF
20266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20267 ac_datarootdir_hack='
20268 s&@datadir@&$datadir&g
20269 s&@docdir@&$docdir&g
20270 s&@infodir@&$infodir&g
20271 s&@localedir@&$localedir&g
20272 s&@mandir@&$mandir&g
20273 s&\\\${datarootdir}&$datarootdir&g' ;;
20274 esac
20275 _ACEOF
20277 # Neutralize VPATH when `$srcdir' = `.'.
20278 # Shell code in configure.ac might set extrasub.
20279 # FIXME: do we really want to maintain this feature?
20280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20281 ac_sed_extra="$ac_vpsub
20282 $extrasub
20283 _ACEOF
20284 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20286 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20287 s|@configure_input@|$ac_sed_conf_input|;t t
20288 s&@top_builddir@&$ac_top_builddir_sub&;t t
20289 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20290 s&@srcdir@&$ac_srcdir&;t t
20291 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20292 s&@top_srcdir@&$ac_top_srcdir&;t t
20293 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20294 s&@builddir@&$ac_builddir&;t t
20295 s&@abs_builddir@&$ac_abs_builddir&;t t
20296 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20297 $ac_datarootdir_hack
20299 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20300 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20302 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20303 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20304 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20305 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20307 which seems to be undefined. Please make sure it is defined" >&5
20308 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20309 which seems to be undefined. Please make sure it is defined" >&2;}
20311 rm -f "$ac_tmp/stdin"
20312 case $ac_file in
20313 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20314 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20315 esac \
20316 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20320 # CONFIG_HEADER
20322 if test x"$ac_file" != x-; then
20324 $as_echo "/* $configure_input */" \
20325 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20326 } >"$ac_tmp/config.h" \
20327 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20328 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20330 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20331 else
20332 rm -f "$ac_file"
20333 mv "$ac_tmp/config.h" "$ac_file" \
20334 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20336 else
20337 $as_echo "/* $configure_input */" \
20338 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20339 || as_fn_error $? "could not create -" "$LINENO" 5
20344 # CONFIG_LINK
20347 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20349 else
20350 # Prefer the file from the source tree if names are identical.
20351 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20352 ac_source=$srcdir/$ac_source
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20356 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20358 if test ! -r "$ac_source"; then
20359 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20361 rm -f "$ac_file"
20363 # Try a relative symlink, then a hard link, then a copy.
20364 case $ac_source in
20365 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20366 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20367 esac
20368 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20369 ln "$ac_source" "$ac_file" 2>/dev/null ||
20370 cp -p "$ac_source" "$ac_file" ||
20371 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20374 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20375 $as_echo "$as_me: executing $ac_file commands" >&6;}
20377 esac
20380 case $ac_file$ac_mode in
20381 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20382 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20383 "Makefile":C) wine_fn_output_makefile Makefile ;;
20385 esac
20386 done # for ac_tag
20389 as_fn_exit 0
20390 _ACEOF
20391 ac_clean_files=$ac_clean_files_save
20393 test $ac_write_fail = 0 ||
20394 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20397 # configure is writing to config.log, and then calls config.status.
20398 # config.status does its own redirection, appending to config.log.
20399 # Unfortunately, on DOS this fails, as config.log is still kept open
20400 # by configure, so config.status won't be able to write to it; its
20401 # output is simply discarded. So we exec the FD to /dev/null,
20402 # effectively closing config.log, so it can be properly (re)opened and
20403 # appended to by config.status. When coming back to configure, we
20404 # need to make the FD available again.
20405 if test "$no_create" != yes; then
20406 ac_cs_success=:
20407 ac_config_status_args=
20408 test "$silent" = yes &&
20409 ac_config_status_args="$ac_config_status_args --quiet"
20410 exec 5>/dev/null
20411 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20412 exec 5>>config.log
20413 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20414 # would make configure fail if this is the last instruction.
20415 $ac_cs_success || as_fn_exit 1
20417 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20419 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20423 if test "$no_create" = "yes"
20424 then
20425 exit 0
20428 ac_save_IFS="$IFS"
20429 if test "x$wine_notices" != x; then
20430 echo >&6
20431 IFS="|"
20432 for msg in $wine_notices; do
20433 IFS="$ac_save_IFS"
20434 if ${msg:+false} :; then :
20436 else
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20438 $as_echo "$as_me: $msg" >&6;}
20440 done
20442 IFS="|"
20443 for msg in $wine_warnings; do
20444 IFS="$ac_save_IFS"
20445 if ${msg:+false} :; then :
20447 else
20448 echo >&2
20449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20450 $as_echo "$as_me: WARNING: $msg" >&2;}
20452 done
20453 IFS="$ac_save_IFS"
20455 $as_echo "
20456 $as_me: Finished. Do '${ac_make}' to compile Wine.
20457 " >&6