msvcp140: Implement _Stat and _Lstat.
[wine.git] / configure
blobf1b9549f0df2b75f8b70fced02943cd42563fbd8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.12.
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.12'
584 PACKAGE_STRING='Wine 2.12'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 UDEV_LIBS
656 UDEV_CFLAGS
657 OSS4_CFLAGS
658 ALSA_LIBS
659 GSTREAMER_LIBS
660 GSTREAMER_CFLAGS
661 PULSE_LIBS
662 PULSE_CFLAGS
663 GETTEXTPO_LIBS
664 Z_LIBS
665 FREETYPE_LIBS
666 FREETYPE_CFLAGS
667 LCMS2_LIBS
668 LCMS2_CFLAGS
669 RESOLV_LIBS
670 GPHOTO2_PORT_LIBS
671 GPHOTO2_PORT_CFLAGS
672 GPHOTO2_LIBS
673 GPHOTO2_CFLAGS
674 SANE_LIBS
675 SANE_CFLAGS
676 GNUTLS_LIBS
677 GNUTLS_CFLAGS
678 HAL_LIBS
679 HAL_CFLAGS
680 DBUS_LIBS
681 DBUS_CFLAGS
682 XSLT_LIBS
683 XSLT_CFLAGS
684 XML2_LIBS
685 XML2_CFLAGS
686 PCAP_LIBS
687 X_EXTRA_LIBS
688 X_LIBS
689 X_PRE_LIBS
690 X_CFLAGS
691 XMKMF
692 PTHREAD_LIBS
693 CROSSCFLAGS
694 CROSSCC
695 CROSSTARGET
696 PRELINK
697 WINELOADER_DEPENDS
698 CARBON_LIBS
699 QUICKTIME_LIBS
700 OPENCL_LIBS
701 OPENAL_LIBS
702 COREAUDIO_LIBS
703 SECURITY_LIBS
704 DISKARBITRATION_LIBS
705 APPKIT_LIBS
706 CORESERVICES_LIBS
707 APPLICATIONSERVICES_LIBS
708 FORCEFEEDBACK_LIBS
709 IOKIT_LIBS
710 COREFOUNDATION_LIBS
711 LIBWINE_DEPENDS
712 LIBWINE_LDFLAGS
713 LIBWINE_INSTALL_DEV
714 LIBWINE_INSTALL_LIB
715 LIBWINE_IMPORTLIB
716 LIBWINE_SHAREDLIB
717 SOCKET_LIBS
718 DLLTOOL
719 WINELOADER_PROGRAMS
720 ALL_TEST_RESOURCES
721 CONFIGURE_TARGETS
722 DISABLED_SUBDIRS
723 SUBDIRS
724 READELF
725 OTOOL
727 WINELOADER_LDFLAGS
728 LDEXECFLAGS
729 LDRPATH_LOCAL
730 LDRPATH_INSTALL
731 DLLFLAGS
732 dlldir
734 OPENGL_LIBS
735 ICOTOOL
736 CONVERT
737 RSVG
738 FONTFORGE
739 PKG_CONFIG
740 MSGFMT
741 LDCONFIG
742 EGREP
743 GREP
744 LN_S
745 RANLIB
746 ARFLAGS
747 STRIP
748 ac_ct_AR
750 BISON
751 FLEX
752 TOOLSDIR
753 TARGETFLAGS
755 CPPBIN
756 ac_ct_CXX
757 CXXFLAGS
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 SET_MAKE
767 host_os
768 host_vendor
769 host_cpu
770 host
771 build_os
772 build_vendor
773 build_cpu
774 build
775 target_alias
776 host_alias
777 build_alias
778 LIBS
779 ECHO_T
780 ECHO_N
781 ECHO_C
782 DEFS
783 mandir
784 localedir
785 libdir
786 psdir
787 pdfdir
788 dvidir
789 htmldir
790 infodir
791 docdir
792 oldincludedir
793 includedir
794 runstatedir
795 localstatedir
796 sharedstatedir
797 sysconfdir
798 datadir
799 datarootdir
800 libexecdir
801 sbindir
802 bindir
803 program_transform_name
804 prefix
805 exec_prefix
806 PACKAGE_URL
807 PACKAGE_BUGREPORT
808 PACKAGE_STRING
809 PACKAGE_VERSION
810 PACKAGE_TARNAME
811 PACKAGE_NAME
812 PATH_SEPARATOR
813 SHELL'
814 ac_subst_files=''
815 ac_user_opts='
816 enable_option_checking
817 enable_win16
818 enable_win64
819 enable_tests
820 enable_maintainer_mode
821 with_alsa
822 with_capi
823 with_cms
824 with_coreaudio
825 with_cups
826 with_curses
827 with_dbus
828 with_fontconfig
829 with_freetype
830 with_gettext
831 with_gettextpo
832 with_gphoto
833 with_glu
834 with_gnutls
835 with_gsm
836 with_gstreamer
837 with_hal
838 with_jpeg
839 with_ldap
840 with_mpg123
841 with_netapi
842 with_openal
843 with_opencl
844 with_opengl
845 with_osmesa
846 with_oss
847 with_pcap
848 with_png
849 with_pthread
850 with_pulse
851 with_sane
852 with_tiff
853 with_udev
854 with_v4l
855 with_xcomposite
856 with_xcursor
857 with_xfixes
858 with_xinerama
859 with_xinput
860 with_xinput2
861 with_xml
862 with_xrandr
863 with_xrender
864 with_xshape
865 with_xshm
866 with_xslt
867 with_xxf86vm
868 with_zlib
869 with_wine_tools
870 with_wine64
871 enable_largefile
872 with_x
873 enable_acledit
874 enable_aclui
875 enable_activeds
876 enable_actxprxy
877 enable_adsldpc
878 enable_advapi32
879 enable_advpack
880 enable_amstream
881 enable_api_ms_win_appmodel_identity_l1_1_0
882 enable_api_ms_win_appmodel_runtime_l1_1_1
883 enable_api_ms_win_core_apiquery_l1_1_0
884 enable_api_ms_win_core_appcompat_l1_1_1
885 enable_api_ms_win_core_appinit_l1_1_0
886 enable_api_ms_win_core_atoms_l1_1_0
887 enable_api_ms_win_core_bem_l1_1_0
888 enable_api_ms_win_core_com_l1_1_0
889 enable_api_ms_win_core_com_l1_1_1
890 enable_api_ms_win_core_com_private_l1_1_0
891 enable_api_ms_win_core_console_l1_1_0
892 enable_api_ms_win_core_console_l2_1_0
893 enable_api_ms_win_core_crt_l1_1_0
894 enable_api_ms_win_core_crt_l2_1_0
895 enable_api_ms_win_core_datetime_l1_1_0
896 enable_api_ms_win_core_datetime_l1_1_1
897 enable_api_ms_win_core_debug_l1_1_0
898 enable_api_ms_win_core_debug_l1_1_1
899 enable_api_ms_win_core_delayload_l1_1_0
900 enable_api_ms_win_core_delayload_l1_1_1
901 enable_api_ms_win_core_errorhandling_l1_1_0
902 enable_api_ms_win_core_errorhandling_l1_1_1
903 enable_api_ms_win_core_errorhandling_l1_1_2
904 enable_api_ms_win_core_fibers_l1_1_0
905 enable_api_ms_win_core_fibers_l1_1_1
906 enable_api_ms_win_core_file_l1_1_0
907 enable_api_ms_win_core_file_l1_2_0
908 enable_api_ms_win_core_file_l1_2_1
909 enable_api_ms_win_core_file_l2_1_0
910 enable_api_ms_win_core_file_l2_1_1
911 enable_api_ms_win_core_handle_l1_1_0
912 enable_api_ms_win_core_heap_l1_1_0
913 enable_api_ms_win_core_heap_l1_2_0
914 enable_api_ms_win_core_heap_obsolete_l1_1_0
915 enable_api_ms_win_core_interlocked_l1_1_0
916 enable_api_ms_win_core_interlocked_l1_2_0
917 enable_api_ms_win_core_io_l1_1_0
918 enable_api_ms_win_core_io_l1_1_1
919 enable_api_ms_win_core_job_l1_1_0
920 enable_api_ms_win_core_job_l2_1_0
921 enable_api_ms_win_core_kernel32_legacy_l1_1_0
922 enable_api_ms_win_core_kernel32_legacy_l1_1_1
923 enable_api_ms_win_core_kernel32_private_l1_1_1
924 enable_api_ms_win_core_libraryloader_l1_1_0
925 enable_api_ms_win_core_libraryloader_l1_1_1
926 enable_api_ms_win_core_libraryloader_l1_2_0
927 enable_api_ms_win_core_libraryloader_l1_2_2
928 enable_api_ms_win_core_localization_l1_1_0
929 enable_api_ms_win_core_localization_l1_2_0
930 enable_api_ms_win_core_localization_l1_2_1
931 enable_api_ms_win_core_localization_l2_1_0
932 enable_api_ms_win_core_localization_obsolete_l1_1_0
933 enable_api_ms_win_core_localization_obsolete_l1_2_0
934 enable_api_ms_win_core_localization_private_l1_1_0
935 enable_api_ms_win_core_localregistry_l1_1_0
936 enable_api_ms_win_core_memory_l1_1_0
937 enable_api_ms_win_core_memory_l1_1_1
938 enable_api_ms_win_core_memory_l1_1_2
939 enable_api_ms_win_core_misc_l1_1_0
940 enable_api_ms_win_core_namedpipe_l1_1_0
941 enable_api_ms_win_core_namedpipe_l1_2_0
942 enable_api_ms_win_core_namespace_l1_1_0
943 enable_api_ms_win_core_normalization_l1_1_0
944 enable_api_ms_win_core_path_l1_1_0
945 enable_api_ms_win_core_privateprofile_l1_1_1
946 enable_api_ms_win_core_processenvironment_l1_1_0
947 enable_api_ms_win_core_processenvironment_l1_2_0
948 enable_api_ms_win_core_processthreads_l1_1_0
949 enable_api_ms_win_core_processthreads_l1_1_1
950 enable_api_ms_win_core_processthreads_l1_1_2
951 enable_api_ms_win_core_profile_l1_1_0
952 enable_api_ms_win_core_psapi_ansi_l1_1_0
953 enable_api_ms_win_core_psapi_l1_1_0
954 enable_api_ms_win_core_psapi_obsolete_l1_1_0
955 enable_api_ms_win_core_quirks_l1_1_0
956 enable_api_ms_win_core_realtime_l1_1_0
957 enable_api_ms_win_core_registry_l1_1_0
958 enable_api_ms_win_core_registry_l2_1_0
959 enable_api_ms_win_core_registryuserspecific_l1_1_0
960 enable_api_ms_win_core_rtlsupport_l1_1_0
961 enable_api_ms_win_core_rtlsupport_l1_2_0
962 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
963 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
964 enable_api_ms_win_core_sidebyside_l1_1_0
965 enable_api_ms_win_core_string_l1_1_0
966 enable_api_ms_win_core_string_l2_1_0
967 enable_api_ms_win_core_string_obsolete_l1_1_0
968 enable_api_ms_win_core_stringansi_l1_1_0
969 enable_api_ms_win_core_synch_l1_1_0
970 enable_api_ms_win_core_synch_l1_2_0
971 enable_api_ms_win_core_sysinfo_l1_1_0
972 enable_api_ms_win_core_sysinfo_l1_2_0
973 enable_api_ms_win_core_sysinfo_l1_2_1
974 enable_api_ms_win_core_threadpool_l1_1_0
975 enable_api_ms_win_core_threadpool_l1_2_0
976 enable_api_ms_win_core_threadpool_legacy_l1_1_0
977 enable_api_ms_win_core_threadpool_private_l1_1_0
978 enable_api_ms_win_core_timezone_l1_1_0
979 enable_api_ms_win_core_toolhelp_l1_1_0
980 enable_api_ms_win_core_url_l1_1_0
981 enable_api_ms_win_core_util_l1_1_0
982 enable_api_ms_win_core_version_l1_1_0
983 enable_api_ms_win_core_version_private_l1_1_0
984 enable_api_ms_win_core_versionansi_l1_1_0
985 enable_api_ms_win_core_windowserrorreporting_l1_1_0
986 enable_api_ms_win_core_winrt_error_l1_1_0
987 enable_api_ms_win_core_winrt_error_l1_1_1
988 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
989 enable_api_ms_win_core_winrt_l1_1_0
990 enable_api_ms_win_core_winrt_registration_l1_1_0
991 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
992 enable_api_ms_win_core_winrt_string_l1_1_0
993 enable_api_ms_win_core_wow64_l1_1_0
994 enable_api_ms_win_core_xstate_l1_1_0
995 enable_api_ms_win_core_xstate_l2_1_0
996 enable_api_ms_win_crt_conio_l1_1_0
997 enable_api_ms_win_crt_convert_l1_1_0
998 enable_api_ms_win_crt_environment_l1_1_0
999 enable_api_ms_win_crt_filesystem_l1_1_0
1000 enable_api_ms_win_crt_heap_l1_1_0
1001 enable_api_ms_win_crt_locale_l1_1_0
1002 enable_api_ms_win_crt_math_l1_1_0
1003 enable_api_ms_win_crt_multibyte_l1_1_0
1004 enable_api_ms_win_crt_private_l1_1_0
1005 enable_api_ms_win_crt_process_l1_1_0
1006 enable_api_ms_win_crt_runtime_l1_1_0
1007 enable_api_ms_win_crt_stdio_l1_1_0
1008 enable_api_ms_win_crt_string_l1_1_0
1009 enable_api_ms_win_crt_time_l1_1_0
1010 enable_api_ms_win_crt_utility_l1_1_0
1011 enable_api_ms_win_devices_config_l1_1_1
1012 enable_api_ms_win_devices_query_l1_1_1
1013 enable_api_ms_win_downlevel_advapi32_l1_1_0
1014 enable_api_ms_win_downlevel_advapi32_l2_1_0
1015 enable_api_ms_win_downlevel_normaliz_l1_1_0
1016 enable_api_ms_win_downlevel_ole32_l1_1_0
1017 enable_api_ms_win_downlevel_shell32_l1_1_0
1018 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1019 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1020 enable_api_ms_win_downlevel_user32_l1_1_0
1021 enable_api_ms_win_downlevel_version_l1_1_0
1022 enable_api_ms_win_dx_d3dkmt_l1_1_0
1023 enable_api_ms_win_eventing_classicprovider_l1_1_0
1024 enable_api_ms_win_eventing_consumer_l1_1_0
1025 enable_api_ms_win_eventing_controller_l1_1_0
1026 enable_api_ms_win_eventing_provider_l1_1_0
1027 enable_api_ms_win_eventlog_legacy_l1_1_0
1028 enable_api_ms_win_mm_misc_l1_1_1
1029 enable_api_ms_win_mm_mme_l1_1_0
1030 enable_api_ms_win_mm_time_l1_1_0
1031 enable_api_ms_win_ntuser_dc_access_l1_1_0
1032 enable_api_ms_win_power_base_l1_1_0
1033 enable_api_ms_win_power_setting_l1_1_0
1034 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1035 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1036 enable_api_ms_win_security_audit_l1_1_1
1037 enable_api_ms_win_security_base_l1_1_0
1038 enable_api_ms_win_security_base_l1_2_0
1039 enable_api_ms_win_security_base_private_l1_1_1
1040 enable_api_ms_win_security_credentials_l1_1_0
1041 enable_api_ms_win_security_grouppolicy_l1_1_0
1042 enable_api_ms_win_security_lsalookup_l1_1_0
1043 enable_api_ms_win_security_lsalookup_l1_1_1
1044 enable_api_ms_win_security_lsalookup_l2_1_1
1045 enable_api_ms_win_security_lsapolicy_l1_1_0
1046 enable_api_ms_win_security_provider_l1_1_0
1047 enable_api_ms_win_security_sddl_l1_1_0
1048 enable_api_ms_win_security_systemfunctions_l1_1_0
1049 enable_api_ms_win_service_core_l1_1_0
1050 enable_api_ms_win_service_core_l1_1_1
1051 enable_api_ms_win_service_management_l1_1_0
1052 enable_api_ms_win_service_management_l2_1_0
1053 enable_api_ms_win_service_private_l1_1_1
1054 enable_api_ms_win_service_winsvc_l1_1_0
1055 enable_api_ms_win_service_winsvc_l1_2_0
1056 enable_api_ms_win_shell_shellcom_l1_1_0
1057 enable_api_ms_win_shell_shellfolders_l1_1_0
1058 enable_apphelp
1059 enable_appwiz_cpl
1060 enable_atl
1061 enable_atl100
1062 enable_atl110
1063 enable_atl80
1064 enable_atl90
1065 enable_authz
1066 enable_avicap32
1067 enable_avifil32
1068 enable_avrt
1069 enable_bcrypt
1070 enable_bluetoothapis
1071 enable_browseui
1072 enable_bthprops_cpl
1073 enable_cabinet
1074 enable_capi2032
1075 enable_cards
1076 enable_cfgmgr32
1077 enable_clusapi
1078 enable_combase
1079 enable_comcat
1080 enable_comctl32
1081 enable_comdlg32
1082 enable_compstui
1083 enable_comsvcs
1084 enable_concrt140
1085 enable_connect
1086 enable_credui
1087 enable_crtdll
1088 enable_crypt32
1089 enable_cryptdlg
1090 enable_cryptdll
1091 enable_cryptext
1092 enable_cryptnet
1093 enable_cryptui
1094 enable_ctapi32
1095 enable_ctl3d32
1096 enable_d2d1
1097 enable_d3d10
1098 enable_d3d10_1
1099 enable_d3d10core
1100 enable_d3d11
1101 enable_d3d8
1102 enable_d3d9
1103 enable_d3dcompiler_33
1104 enable_d3dcompiler_34
1105 enable_d3dcompiler_35
1106 enable_d3dcompiler_36
1107 enable_d3dcompiler_37
1108 enable_d3dcompiler_38
1109 enable_d3dcompiler_39
1110 enable_d3dcompiler_40
1111 enable_d3dcompiler_41
1112 enable_d3dcompiler_42
1113 enable_d3dcompiler_43
1114 enable_d3dcompiler_46
1115 enable_d3dcompiler_47
1116 enable_d3dim
1117 enable_d3drm
1118 enable_d3dx10_33
1119 enable_d3dx10_34
1120 enable_d3dx10_35
1121 enable_d3dx10_36
1122 enable_d3dx10_37
1123 enable_d3dx10_38
1124 enable_d3dx10_39
1125 enable_d3dx10_40
1126 enable_d3dx10_41
1127 enable_d3dx10_42
1128 enable_d3dx10_43
1129 enable_d3dx11_42
1130 enable_d3dx11_43
1131 enable_d3dx9_24
1132 enable_d3dx9_25
1133 enable_d3dx9_26
1134 enable_d3dx9_27
1135 enable_d3dx9_28
1136 enable_d3dx9_29
1137 enable_d3dx9_30
1138 enable_d3dx9_31
1139 enable_d3dx9_32
1140 enable_d3dx9_33
1141 enable_d3dx9_34
1142 enable_d3dx9_35
1143 enable_d3dx9_36
1144 enable_d3dx9_37
1145 enable_d3dx9_38
1146 enable_d3dx9_39
1147 enable_d3dx9_40
1148 enable_d3dx9_41
1149 enable_d3dx9_42
1150 enable_d3dx9_43
1151 enable_d3dxof
1152 enable_davclnt
1153 enable_dbgeng
1154 enable_dbghelp
1155 enable_dciman32
1156 enable_ddraw
1157 enable_ddrawex
1158 enable_devenum
1159 enable_dhcpcsvc
1160 enable_difxapi
1161 enable_dinput
1162 enable_dinput8
1163 enable_dispex
1164 enable_dmband
1165 enable_dmcompos
1166 enable_dmime
1167 enable_dmloader
1168 enable_dmscript
1169 enable_dmstyle
1170 enable_dmsynth
1171 enable_dmusic
1172 enable_dmusic32
1173 enable_dnsapi
1174 enable_dplay
1175 enable_dplayx
1176 enable_dpnaddr
1177 enable_dpnet
1178 enable_dpnhpast
1179 enable_dpnlobby
1180 enable_dpvoice
1181 enable_dpwsockx
1182 enable_drmclien
1183 enable_dsound
1184 enable_dssenh
1185 enable_dswave
1186 enable_dwmapi
1187 enable_dwrite
1188 enable_dxdiagn
1189 enable_dxgi
1190 enable_dxva2
1191 enable_esent
1192 enable_evr
1193 enable_explorerframe
1194 enable_ext_ms_win_authz_context_l1_1_0
1195 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1196 enable_ext_ms_win_gdi_dc_create_l1_1_1
1197 enable_ext_ms_win_gdi_dc_l1_2_0
1198 enable_ext_ms_win_gdi_devcaps_l1_1_0
1199 enable_ext_ms_win_gdi_draw_l1_1_1
1200 enable_ext_ms_win_gdi_render_l1_1_0
1201 enable_ext_ms_win_kernel32_package_current_l1_1_0
1202 enable_ext_ms_win_kernel32_package_l1_1_1
1203 enable_ext_ms_win_ntuser_message_l1_1_1
1204 enable_ext_ms_win_ntuser_private_l1_1_1
1205 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1206 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1207 enable_ext_ms_win_ntuser_window_l1_1_1
1208 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1209 enable_ext_ms_win_ras_rasapi32_l1_1_0
1210 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1211 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1212 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1213 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1214 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1215 enable_ext_ms_win_security_credui_l1_1_0
1216 enable_ext_ms_win_security_cryptui_l1_1_0
1217 enable_faultrep
1218 enable_fltlib
1219 enable_fltmgr_sys
1220 enable_fntcache
1221 enable_fontsub
1222 enable_fusion
1223 enable_fwpuclnt
1224 enable_gameux
1225 enable_gdi32
1226 enable_gdiplus
1227 enable_glu32
1228 enable_gphoto2_ds
1229 enable_gpkcsp
1230 enable_hal
1231 enable_hhctrl_ocx
1232 enable_hid
1233 enable_hidclass_sys
1234 enable_hlink
1235 enable_hnetcfg
1236 enable_httpapi
1237 enable_iccvid
1238 enable_icmp
1239 enable_ieframe
1240 enable_imaadp32_acm
1241 enable_imagehlp
1242 enable_imm32
1243 enable_inetcomm
1244 enable_inetcpl_cpl
1245 enable_inetmib1
1246 enable_infosoft
1247 enable_initpki
1248 enable_inkobj
1249 enable_inseng
1250 enable_iphlpapi
1251 enable_iprop
1252 enable_irprops_cpl
1253 enable_itircl
1254 enable_itss
1255 enable_joy_cpl
1256 enable_jscript
1257 enable_jsproxy
1258 enable_kernel32
1259 enable_kernelbase
1260 enable_ksuser
1261 enable_ktmw32
1262 enable_loadperf
1263 enable_localspl
1264 enable_localui
1265 enable_lz32
1266 enable_mapi32
1267 enable_mapistub
1268 enable_mciavi32
1269 enable_mcicda
1270 enable_mciqtz32
1271 enable_mciseq
1272 enable_mciwave
1273 enable_mf
1274 enable_mf3216
1275 enable_mfplat
1276 enable_mfreadwrite
1277 enable_mgmtapi
1278 enable_midimap
1279 enable_mlang
1280 enable_mmcndmgr
1281 enable_mmdevapi
1282 enable_mountmgr_sys
1283 enable_mpr
1284 enable_mprapi
1285 enable_msacm32_drv
1286 enable_msacm32
1287 enable_msadp32_acm
1288 enable_msasn1
1289 enable_mscat32
1290 enable_mscms
1291 enable_mscoree
1292 enable_msctf
1293 enable_msctfp
1294 enable_msdaps
1295 enable_msdelta
1296 enable_msdmo
1297 enable_msdrm
1298 enable_msftedit
1299 enable_msg711_acm
1300 enable_msgsm32_acm
1301 enable_mshtml_tlb
1302 enable_mshtml
1303 enable_msi
1304 enable_msident
1305 enable_msimg32
1306 enable_msimsg
1307 enable_msimtf
1308 enable_msisip
1309 enable_msisys_ocx
1310 enable_msls31
1311 enable_msnet32
1312 enable_mspatcha
1313 enable_msports
1314 enable_msrle32
1315 enable_msscript_ocx
1316 enable_mssign32
1317 enable_mssip32
1318 enable_mstask
1319 enable_msvcirt
1320 enable_msvcm80
1321 enable_msvcm90
1322 enable_msvcp100
1323 enable_msvcp110
1324 enable_msvcp120
1325 enable_msvcp120_app
1326 enable_msvcp140
1327 enable_msvcp60
1328 enable_msvcp70
1329 enable_msvcp71
1330 enable_msvcp80
1331 enable_msvcp90
1332 enable_msvcr100
1333 enable_msvcr110
1334 enable_msvcr120
1335 enable_msvcr120_app
1336 enable_msvcr70
1337 enable_msvcr71
1338 enable_msvcr80
1339 enable_msvcr90
1340 enable_msvcrt
1341 enable_msvcrt20
1342 enable_msvcrt40
1343 enable_msvcrtd
1344 enable_msvfw32
1345 enable_msvidc32
1346 enable_mswsock
1347 enable_msxml
1348 enable_msxml2
1349 enable_msxml3
1350 enable_msxml4
1351 enable_msxml6
1352 enable_mtxdm
1353 enable_ncrypt
1354 enable_nddeapi
1355 enable_ndis_sys
1356 enable_netapi32
1357 enable_netcfgx
1358 enable_netprofm
1359 enable_newdev
1360 enable_normaliz
1361 enable_npmshtml
1362 enable_npptools
1363 enable_ntdll
1364 enable_ntdsapi
1365 enable_ntoskrnl_exe
1366 enable_ntprint
1367 enable_objsel
1368 enable_odbc32
1369 enable_odbccp32
1370 enable_odbccu32
1371 enable_ole32
1372 enable_oleacc
1373 enable_oleaut32
1374 enable_olecli32
1375 enable_oledb32
1376 enable_oledlg
1377 enable_olepro32
1378 enable_olesvr32
1379 enable_olethk32
1380 enable_openal32
1381 enable_opencl
1382 enable_opengl32
1383 enable_packager
1384 enable_pdh
1385 enable_photometadatahandler
1386 enable_pidgen
1387 enable_powrprof
1388 enable_printui
1389 enable_prntvpt
1390 enable_propsys
1391 enable_psapi
1392 enable_pstorec
1393 enable_qcap
1394 enable_qedit
1395 enable_qmgr
1396 enable_qmgrprxy
1397 enable_quartz
1398 enable_query
1399 enable_rasapi32
1400 enable_rasdlg
1401 enable_regapi
1402 enable_resutils
1403 enable_riched20
1404 enable_riched32
1405 enable_rpcrt4
1406 enable_rsabase
1407 enable_rsaenh
1408 enable_rstrtmgr
1409 enable_rtutils
1410 enable_samlib
1411 enable_sane_ds
1412 enable_scarddlg
1413 enable_sccbase
1414 enable_schannel
1415 enable_schedsvc
1416 enable_scrobj
1417 enable_scrrun
1418 enable_scsiport_sys
1419 enable_secur32
1420 enable_security
1421 enable_sensapi
1422 enable_serialui
1423 enable_setupapi
1424 enable_sfc
1425 enable_sfc_os
1426 enable_shdoclc
1427 enable_shdocvw
1428 enable_shell32
1429 enable_shfolder
1430 enable_shlwapi
1431 enable_slbcsp
1432 enable_slc
1433 enable_snmpapi
1434 enable_softpub
1435 enable_spoolss
1436 enable_sspicli
1437 enable_stdole2_tlb
1438 enable_stdole32_tlb
1439 enable_sti
1440 enable_svrapi
1441 enable_sxs
1442 enable_t2embed
1443 enable_tapi32
1444 enable_taskschd
1445 enable_tdh
1446 enable_tdi_sys
1447 enable_traffic
1448 enable_twain_32
1449 enable_ucrtbase
1450 enable_uiautomationcore
1451 enable_unicows
1452 enable_updspapi
1453 enable_url
1454 enable_urlmon
1455 enable_usbd_sys
1456 enable_user32
1457 enable_userenv
1458 enable_usp10
1459 enable_uxtheme
1460 enable_vbscript
1461 enable_vcomp
1462 enable_vcomp100
1463 enable_vcomp110
1464 enable_vcomp120
1465 enable_vcomp140
1466 enable_vcomp90
1467 enable_vcruntime140
1468 enable_vdmdbg
1469 enable_version
1470 enable_virtdisk
1471 enable_vssapi
1472 enable_wbemdisp
1473 enable_wbemprox
1474 enable_webservices
1475 enable_wer
1476 enable_wevtapi
1477 enable_wiaservc
1478 enable_wimgapi
1479 enable_windowscodecs
1480 enable_windowscodecsext
1481 enable_winealsa_drv
1482 enable_wineandroid_drv
1483 enable_winebus_sys
1484 enable_winecoreaudio_drv
1485 enable_wined3d
1486 enable_winegstreamer
1487 enable_winehid_sys
1488 enable_winejoystick_drv
1489 enable_winemac_drv
1490 enable_winemapi
1491 enable_winemp3_acm
1492 enable_wineoss_drv
1493 enable_wineps_drv
1494 enable_winepulse_drv
1495 enable_wineqtdecoder
1496 enable_winex11_drv
1497 enable_wing32
1498 enable_winhttp
1499 enable_wininet
1500 enable_winmm
1501 enable_winnls32
1502 enable_winscard
1503 enable_winspool_drv
1504 enable_winsta
1505 enable_wintab32
1506 enable_wintrust
1507 enable_winusb
1508 enable_wlanapi
1509 enable_wldap32
1510 enable_wmasf
1511 enable_wmi
1512 enable_wmiutils
1513 enable_wmp
1514 enable_wmvcore
1515 enable_wnaspi32
1516 enable_wpc
1517 enable_wpcap
1518 enable_ws2_32
1519 enable_wsdapi
1520 enable_wshom_ocx
1521 enable_wsnmp32
1522 enable_wsock32
1523 enable_wtsapi32
1524 enable_wuapi
1525 enable_wuaueng
1526 enable_x3daudio1_0
1527 enable_x3daudio1_1
1528 enable_x3daudio1_2
1529 enable_x3daudio1_3
1530 enable_x3daudio1_4
1531 enable_x3daudio1_5
1532 enable_x3daudio1_6
1533 enable_x3daudio1_7
1534 enable_xapofx1_1
1535 enable_xapofx1_2
1536 enable_xapofx1_3
1537 enable_xapofx1_4
1538 enable_xapofx1_5
1539 enable_xaudio2_0
1540 enable_xaudio2_1
1541 enable_xaudio2_2
1542 enable_xaudio2_3
1543 enable_xaudio2_4
1544 enable_xaudio2_5
1545 enable_xaudio2_6
1546 enable_xaudio2_7
1547 enable_xaudio2_8
1548 enable_xaudio2_9
1549 enable_xinput1_1
1550 enable_xinput1_2
1551 enable_xinput1_3
1552 enable_xinput1_4
1553 enable_xinput9_1_0
1554 enable_xmllite
1555 enable_xolehlp
1556 enable_xpsprint
1557 enable_xpssvcs
1558 enable_fonts
1559 enable_include
1560 enable_libs_port
1561 enable_libs_wine
1562 enable_libs_wpp
1563 enable_loader
1564 enable_po
1565 enable_arp
1566 enable_aspnet_regiis
1567 enable_attrib
1568 enable_cabarc
1569 enable_cacls
1570 enable_clock
1571 enable_cmd
1572 enable_conhost
1573 enable_control
1574 enable_cscript
1575 enable_dpnsvr
1576 enable_dxdiag
1577 enable_eject
1578 enable_expand
1579 enable_explorer
1580 enable_extrac32
1581 enable_findstr
1582 enable_fsutil
1583 enable_hh
1584 enable_hostname
1585 enable_icacls
1586 enable_icinfo
1587 enable_iexplore
1588 enable_ipconfig
1589 enable_lodctr
1590 enable_mofcomp
1591 enable_mshta
1592 enable_msiexec
1593 enable_msinfo32
1594 enable_net
1595 enable_netsh
1596 enable_netstat
1597 enable_ngen
1598 enable_notepad
1599 enable_oleview
1600 enable_ping
1601 enable_plugplay
1602 enable_powershell
1603 enable_presentationfontcache
1604 enable_progman
1605 enable_reg
1606 enable_regasm
1607 enable_regedit
1608 enable_regsvcs
1609 enable_regsvr32
1610 enable_rpcss
1611 enable_rundll32
1612 enable_sc
1613 enable_schtasks
1614 enable_sdbinst
1615 enable_secedit
1616 enable_servicemodelreg
1617 enable_services
1618 enable_shutdown
1619 enable_spoolsv
1620 enable_start
1621 enable_subst
1622 enable_svchost
1623 enable_systeminfo
1624 enable_taskkill
1625 enable_tasklist
1626 enable_taskmgr
1627 enable_termsv
1628 enable_uninstaller
1629 enable_unlodctr
1630 enable_view
1631 enable_wevtutil
1632 enable_wineboot
1633 enable_winebrowser
1634 enable_winecfg
1635 enable_wineconsole
1636 enable_winedbg
1637 enable_winedevice
1638 enable_winefile
1639 enable_winemenubuilder
1640 enable_winemine
1641 enable_winemsibuilder
1642 enable_winepath
1643 enable_winetest
1644 enable_winhlp32
1645 enable_winver
1646 enable_wmic
1647 enable_wmplayer
1648 enable_wordpad
1649 enable_write
1650 enable_wscript
1651 enable_wusa
1652 enable_xcopy
1653 enable_server
1654 enable_tools
1656 ac_precious_vars='build_alias
1657 host_alias
1658 target_alias
1660 CFLAGS
1661 LDFLAGS
1662 LIBS
1663 CPPFLAGS
1665 CXXFLAGS
1668 XMKMF
1669 XML2_CFLAGS
1670 XML2_LIBS
1671 XSLT_CFLAGS
1672 XSLT_LIBS
1673 DBUS_CFLAGS
1674 DBUS_LIBS
1675 HAL_CFLAGS
1676 HAL_LIBS
1677 GNUTLS_CFLAGS
1678 GNUTLS_LIBS
1679 SANE_CFLAGS
1680 SANE_LIBS
1681 GPHOTO2_CFLAGS
1682 GPHOTO2_LIBS
1683 GPHOTO2_PORT_CFLAGS
1684 GPHOTO2_PORT_LIBS
1685 LCMS2_CFLAGS
1686 LCMS2_LIBS
1687 FREETYPE_CFLAGS
1688 FREETYPE_LIBS
1689 PULSE_CFLAGS
1690 PULSE_LIBS
1691 GSTREAMER_CFLAGS
1692 GSTREAMER_LIBS
1693 UDEV_CFLAGS
1694 UDEV_LIBS
1695 CAPI20_CFLAGS
1696 CAPI20_LIBS
1697 FONTCONFIG_CFLAGS
1698 FONTCONFIG_LIBS
1699 JPEG_CFLAGS
1700 JPEG_LIBS
1701 PNG_CFLAGS
1702 PNG_LIBS
1703 TIFF_CFLAGS
1704 TIFF_LIBS
1705 MPG123_CFLAGS
1706 MPG123_LIBS
1707 NETAPI_CFLAGS
1708 NETAPI_LIBS'
1711 # Initialize some variables set by options.
1712 ac_init_help=
1713 ac_init_version=false
1714 ac_unrecognized_opts=
1715 ac_unrecognized_sep=
1716 # The variables have the same names as the options, with
1717 # dashes changed to underlines.
1718 cache_file=/dev/null
1719 exec_prefix=NONE
1720 no_create=
1721 no_recursion=
1722 prefix=NONE
1723 program_prefix=NONE
1724 program_suffix=NONE
1725 program_transform_name=s,x,x,
1726 silent=
1727 site=
1728 srcdir=
1729 verbose=
1730 x_includes=NONE
1731 x_libraries=NONE
1733 # Installation directory options.
1734 # These are left unexpanded so users can "make install exec_prefix=/foo"
1735 # and all the variables that are supposed to be based on exec_prefix
1736 # by default will actually change.
1737 # Use braces instead of parens because sh, perl, etc. also accept them.
1738 # (The list follows the same order as the GNU Coding Standards.)
1739 bindir='${exec_prefix}/bin'
1740 sbindir='${exec_prefix}/sbin'
1741 libexecdir='${exec_prefix}/libexec'
1742 datarootdir='${prefix}/share'
1743 datadir='${datarootdir}'
1744 sysconfdir='${prefix}/etc'
1745 sharedstatedir='${prefix}/com'
1746 localstatedir='${prefix}/var'
1747 runstatedir='${localstatedir}/run'
1748 includedir='${prefix}/include'
1749 oldincludedir='/usr/include'
1750 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1751 infodir='${datarootdir}/info'
1752 htmldir='${docdir}'
1753 dvidir='${docdir}'
1754 pdfdir='${docdir}'
1755 psdir='${docdir}'
1756 libdir='${exec_prefix}/lib'
1757 localedir='${datarootdir}/locale'
1758 mandir='${datarootdir}/man'
1760 ac_prev=
1761 ac_dashdash=
1762 for ac_option
1764 # If the previous option needs an argument, assign it.
1765 if test -n "$ac_prev"; then
1766 eval $ac_prev=\$ac_option
1767 ac_prev=
1768 continue
1771 case $ac_option in
1772 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1773 *=) ac_optarg= ;;
1774 *) ac_optarg=yes ;;
1775 esac
1777 # Accept the important Cygnus configure options, so we can diagnose typos.
1779 case $ac_dashdash$ac_option in
1781 ac_dashdash=yes ;;
1783 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1784 ac_prev=bindir ;;
1785 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1786 bindir=$ac_optarg ;;
1788 -build | --build | --buil | --bui | --bu)
1789 ac_prev=build_alias ;;
1790 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1791 build_alias=$ac_optarg ;;
1793 -cache-file | --cache-file | --cache-fil | --cache-fi \
1794 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1795 ac_prev=cache_file ;;
1796 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1797 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1798 cache_file=$ac_optarg ;;
1800 --config-cache | -C)
1801 cache_file=config.cache ;;
1803 -datadir | --datadir | --datadi | --datad)
1804 ac_prev=datadir ;;
1805 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1806 datadir=$ac_optarg ;;
1808 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1809 | --dataroo | --dataro | --datar)
1810 ac_prev=datarootdir ;;
1811 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1812 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1813 datarootdir=$ac_optarg ;;
1815 -disable-* | --disable-*)
1816 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1817 # Reject names that are not valid shell variable names.
1818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1819 as_fn_error $? "invalid feature name: $ac_useropt"
1820 ac_useropt_orig=$ac_useropt
1821 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1822 case $ac_user_opts in
1824 "enable_$ac_useropt"
1825 "*) ;;
1826 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1827 ac_unrecognized_sep=', ';;
1828 esac
1829 eval enable_$ac_useropt=no ;;
1831 -docdir | --docdir | --docdi | --doc | --do)
1832 ac_prev=docdir ;;
1833 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1834 docdir=$ac_optarg ;;
1836 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1837 ac_prev=dvidir ;;
1838 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1839 dvidir=$ac_optarg ;;
1841 -enable-* | --enable-*)
1842 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1843 # Reject names that are not valid shell variable names.
1844 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1845 as_fn_error $? "invalid feature name: $ac_useropt"
1846 ac_useropt_orig=$ac_useropt
1847 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1848 case $ac_user_opts in
1850 "enable_$ac_useropt"
1851 "*) ;;
1852 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1853 ac_unrecognized_sep=', ';;
1854 esac
1855 eval enable_$ac_useropt=\$ac_optarg ;;
1857 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1858 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1859 | --exec | --exe | --ex)
1860 ac_prev=exec_prefix ;;
1861 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1862 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1863 | --exec=* | --exe=* | --ex=*)
1864 exec_prefix=$ac_optarg ;;
1866 -gas | --gas | --ga | --g)
1867 # Obsolete; use --with-gas.
1868 with_gas=yes ;;
1870 -help | --help | --hel | --he | -h)
1871 ac_init_help=long ;;
1872 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1873 ac_init_help=recursive ;;
1874 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1875 ac_init_help=short ;;
1877 -host | --host | --hos | --ho)
1878 ac_prev=host_alias ;;
1879 -host=* | --host=* | --hos=* | --ho=*)
1880 host_alias=$ac_optarg ;;
1882 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1883 ac_prev=htmldir ;;
1884 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1885 | --ht=*)
1886 htmldir=$ac_optarg ;;
1888 -includedir | --includedir | --includedi | --included | --include \
1889 | --includ | --inclu | --incl | --inc)
1890 ac_prev=includedir ;;
1891 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1892 | --includ=* | --inclu=* | --incl=* | --inc=*)
1893 includedir=$ac_optarg ;;
1895 -infodir | --infodir | --infodi | --infod | --info | --inf)
1896 ac_prev=infodir ;;
1897 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1898 infodir=$ac_optarg ;;
1900 -libdir | --libdir | --libdi | --libd)
1901 ac_prev=libdir ;;
1902 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1903 libdir=$ac_optarg ;;
1905 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1906 | --libexe | --libex | --libe)
1907 ac_prev=libexecdir ;;
1908 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1909 | --libexe=* | --libex=* | --libe=*)
1910 libexecdir=$ac_optarg ;;
1912 -localedir | --localedir | --localedi | --localed | --locale)
1913 ac_prev=localedir ;;
1914 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1915 localedir=$ac_optarg ;;
1917 -localstatedir | --localstatedir | --localstatedi | --localstated \
1918 | --localstate | --localstat | --localsta | --localst | --locals)
1919 ac_prev=localstatedir ;;
1920 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1921 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1922 localstatedir=$ac_optarg ;;
1924 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1925 ac_prev=mandir ;;
1926 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1927 mandir=$ac_optarg ;;
1929 -nfp | --nfp | --nf)
1930 # Obsolete; use --without-fp.
1931 with_fp=no ;;
1933 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1934 | --no-cr | --no-c | -n)
1935 no_create=yes ;;
1937 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1938 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1939 no_recursion=yes ;;
1941 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1942 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1943 | --oldin | --oldi | --old | --ol | --o)
1944 ac_prev=oldincludedir ;;
1945 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1946 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1947 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1948 oldincludedir=$ac_optarg ;;
1950 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1951 ac_prev=prefix ;;
1952 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1953 prefix=$ac_optarg ;;
1955 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1956 | --program-pre | --program-pr | --program-p)
1957 ac_prev=program_prefix ;;
1958 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1959 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1960 program_prefix=$ac_optarg ;;
1962 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1963 | --program-suf | --program-su | --program-s)
1964 ac_prev=program_suffix ;;
1965 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1966 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1967 program_suffix=$ac_optarg ;;
1969 -program-transform-name | --program-transform-name \
1970 | --program-transform-nam | --program-transform-na \
1971 | --program-transform-n | --program-transform- \
1972 | --program-transform | --program-transfor \
1973 | --program-transfo | --program-transf \
1974 | --program-trans | --program-tran \
1975 | --progr-tra | --program-tr | --program-t)
1976 ac_prev=program_transform_name ;;
1977 -program-transform-name=* | --program-transform-name=* \
1978 | --program-transform-nam=* | --program-transform-na=* \
1979 | --program-transform-n=* | --program-transform-=* \
1980 | --program-transform=* | --program-transfor=* \
1981 | --program-transfo=* | --program-transf=* \
1982 | --program-trans=* | --program-tran=* \
1983 | --progr-tra=* | --program-tr=* | --program-t=*)
1984 program_transform_name=$ac_optarg ;;
1986 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1987 ac_prev=pdfdir ;;
1988 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1989 pdfdir=$ac_optarg ;;
1991 -psdir | --psdir | --psdi | --psd | --ps)
1992 ac_prev=psdir ;;
1993 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1994 psdir=$ac_optarg ;;
1996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1997 | -silent | --silent | --silen | --sile | --sil)
1998 silent=yes ;;
2000 -runstatedir | --runstatedir | --runstatedi | --runstated \
2001 | --runstate | --runstat | --runsta | --runst | --runs \
2002 | --run | --ru | --r)
2003 ac_prev=runstatedir ;;
2004 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2005 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2006 | --run=* | --ru=* | --r=*)
2007 runstatedir=$ac_optarg ;;
2009 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2010 ac_prev=sbindir ;;
2011 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2012 | --sbi=* | --sb=*)
2013 sbindir=$ac_optarg ;;
2015 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2016 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2017 | --sharedst | --shareds | --shared | --share | --shar \
2018 | --sha | --sh)
2019 ac_prev=sharedstatedir ;;
2020 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2021 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2022 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2023 | --sha=* | --sh=*)
2024 sharedstatedir=$ac_optarg ;;
2026 -site | --site | --sit)
2027 ac_prev=site ;;
2028 -site=* | --site=* | --sit=*)
2029 site=$ac_optarg ;;
2031 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2032 ac_prev=srcdir ;;
2033 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2034 srcdir=$ac_optarg ;;
2036 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2037 | --syscon | --sysco | --sysc | --sys | --sy)
2038 ac_prev=sysconfdir ;;
2039 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2040 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2041 sysconfdir=$ac_optarg ;;
2043 -target | --target | --targe | --targ | --tar | --ta | --t)
2044 ac_prev=target_alias ;;
2045 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2046 target_alias=$ac_optarg ;;
2048 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2049 verbose=yes ;;
2051 -version | --version | --versio | --versi | --vers | -V)
2052 ac_init_version=: ;;
2054 -with-* | --with-*)
2055 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2056 # Reject names that are not valid shell variable names.
2057 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2058 as_fn_error $? "invalid package name: $ac_useropt"
2059 ac_useropt_orig=$ac_useropt
2060 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2061 case $ac_user_opts in
2063 "with_$ac_useropt"
2064 "*) ;;
2065 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2066 ac_unrecognized_sep=', ';;
2067 esac
2068 eval with_$ac_useropt=\$ac_optarg ;;
2070 -without-* | --without-*)
2071 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2072 # Reject names that are not valid shell variable names.
2073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2074 as_fn_error $? "invalid package name: $ac_useropt"
2075 ac_useropt_orig=$ac_useropt
2076 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2077 case $ac_user_opts in
2079 "with_$ac_useropt"
2080 "*) ;;
2081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2082 ac_unrecognized_sep=', ';;
2083 esac
2084 eval with_$ac_useropt=no ;;
2086 --x)
2087 # Obsolete; use --with-x.
2088 with_x=yes ;;
2090 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2091 | --x-incl | --x-inc | --x-in | --x-i)
2092 ac_prev=x_includes ;;
2093 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2094 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2095 x_includes=$ac_optarg ;;
2097 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2098 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2099 ac_prev=x_libraries ;;
2100 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2101 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2102 x_libraries=$ac_optarg ;;
2104 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2105 Try \`$0 --help' for more information"
2108 *=*)
2109 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2110 # Reject names that are not valid shell variable names.
2111 case $ac_envvar in #(
2112 '' | [0-9]* | *[!_$as_cr_alnum]* )
2113 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2114 esac
2115 eval $ac_envvar=\$ac_optarg
2116 export $ac_envvar ;;
2119 # FIXME: should be removed in autoconf 3.0.
2120 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2121 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2122 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2123 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2126 esac
2127 done
2129 if test -n "$ac_prev"; then
2130 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2131 as_fn_error $? "missing argument to $ac_option"
2134 if test -n "$ac_unrecognized_opts"; then
2135 case $enable_option_checking in
2136 no) ;;
2137 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2138 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2139 esac
2142 # Check all directory arguments for consistency.
2143 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2144 datadir sysconfdir sharedstatedir localstatedir includedir \
2145 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2146 libdir localedir mandir runstatedir
2148 eval ac_val=\$$ac_var
2149 # Remove trailing slashes.
2150 case $ac_val in
2151 */ )
2152 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2153 eval $ac_var=\$ac_val;;
2154 esac
2155 # Be sure to have absolute directory names.
2156 case $ac_val in
2157 [\\/$]* | ?:[\\/]* ) continue;;
2158 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2159 esac
2160 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2161 done
2163 # There might be people who depend on the old broken behavior: `$host'
2164 # used to hold the argument of --host etc.
2165 # FIXME: To remove some day.
2166 build=$build_alias
2167 host=$host_alias
2168 target=$target_alias
2170 # FIXME: To remove some day.
2171 if test "x$host_alias" != x; then
2172 if test "x$build_alias" = x; then
2173 cross_compiling=maybe
2174 elif test "x$build_alias" != "x$host_alias"; then
2175 cross_compiling=yes
2179 ac_tool_prefix=
2180 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2182 test "$silent" = yes && exec 6>/dev/null
2185 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2186 ac_ls_di=`ls -di .` &&
2187 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2188 as_fn_error $? "working directory cannot be determined"
2189 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2190 as_fn_error $? "pwd does not report name of working directory"
2193 # Find the source files, if location was not specified.
2194 if test -z "$srcdir"; then
2195 ac_srcdir_defaulted=yes
2196 # Try the directory containing this script, then the parent directory.
2197 ac_confdir=`$as_dirname -- "$as_myself" ||
2198 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2199 X"$as_myself" : 'X\(//\)[^/]' \| \
2200 X"$as_myself" : 'X\(//\)$' \| \
2201 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2202 $as_echo X"$as_myself" |
2203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2204 s//\1/
2207 /^X\(\/\/\)[^/].*/{
2208 s//\1/
2211 /^X\(\/\/\)$/{
2212 s//\1/
2215 /^X\(\/\).*/{
2216 s//\1/
2219 s/.*/./; q'`
2220 srcdir=$ac_confdir
2221 if test ! -r "$srcdir/$ac_unique_file"; then
2222 srcdir=..
2224 else
2225 ac_srcdir_defaulted=no
2227 if test ! -r "$srcdir/$ac_unique_file"; then
2228 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2229 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2231 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2232 ac_abs_confdir=`(
2233 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2234 pwd)`
2235 # When building in place, set srcdir=.
2236 if test "$ac_abs_confdir" = "$ac_pwd"; then
2237 srcdir=.
2239 # Remove unnecessary trailing slashes from srcdir.
2240 # Double slashes in file names in object file debugging info
2241 # mess up M-x gdb in Emacs.
2242 case $srcdir in
2243 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2244 esac
2245 for ac_var in $ac_precious_vars; do
2246 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2247 eval ac_env_${ac_var}_value=\$${ac_var}
2248 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2249 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2250 done
2253 # Report the --help message.
2255 if test "$ac_init_help" = "long"; then
2256 # Omit some internal or obsolete options to make the list less imposing.
2257 # This message is too long to be a string in the A/UX 3.1 sh.
2258 cat <<_ACEOF
2259 \`configure' configures Wine 2.12 to adapt to many kinds of systems.
2261 Usage: $0 [OPTION]... [VAR=VALUE]...
2263 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2264 VAR=VALUE. See below for descriptions of some of the useful variables.
2266 Defaults for the options are specified in brackets.
2268 Configuration:
2269 -h, --help display this help and exit
2270 --help=short display options specific to this package
2271 --help=recursive display the short help of all the included packages
2272 -V, --version display version information and exit
2273 -q, --quiet, --silent do not print \`checking ...' messages
2274 --cache-file=FILE cache test results in FILE [disabled]
2275 -C, --config-cache alias for \`--cache-file=config.cache'
2276 -n, --no-create do not create output files
2277 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2279 Installation directories:
2280 --prefix=PREFIX install architecture-independent files in PREFIX
2281 [$ac_default_prefix]
2282 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2283 [PREFIX]
2285 By default, \`make install' will install all the files in
2286 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2287 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2288 for instance \`--prefix=\$HOME'.
2290 For better control, use the options below.
2292 Fine tuning of the installation directories:
2293 --bindir=DIR user executables [EPREFIX/bin]
2294 --sbindir=DIR system admin executables [EPREFIX/sbin]
2295 --libexecdir=DIR program executables [EPREFIX/libexec]
2296 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2297 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2298 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2299 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2300 --libdir=DIR object code libraries [EPREFIX/lib]
2301 --includedir=DIR C header files [PREFIX/include]
2302 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2303 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2304 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2305 --infodir=DIR info documentation [DATAROOTDIR/info]
2306 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2307 --mandir=DIR man documentation [DATAROOTDIR/man]
2308 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2309 --htmldir=DIR html documentation [DOCDIR]
2310 --dvidir=DIR dvi documentation [DOCDIR]
2311 --pdfdir=DIR pdf documentation [DOCDIR]
2312 --psdir=DIR ps documentation [DOCDIR]
2313 _ACEOF
2315 cat <<\_ACEOF
2317 X features:
2318 --x-includes=DIR X include files are in DIR
2319 --x-libraries=DIR X library files are in DIR
2321 System types:
2322 --build=BUILD configure for building on BUILD [guessed]
2323 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2324 _ACEOF
2327 if test -n "$ac_init_help"; then
2328 case $ac_init_help in
2329 short | recursive ) echo "Configuration of Wine 2.12:";;
2330 esac
2331 cat <<\_ACEOF
2333 Optional Features:
2334 --disable-option-checking ignore unrecognized --enable/--with options
2335 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2336 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2337 --disable-win16 do not include Win16 support
2338 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2339 binaries)
2340 --disable-tests do not build the regression tests
2341 --enable-maintainer-mode
2342 enable maintainer-specific build rules
2343 --disable-largefile omit support for large files
2345 Optional Packages:
2346 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2347 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2348 --without-alsa do not use the Alsa sound support
2349 --without-capi do not use CAPI (ISDN support)
2350 --without-cms do not use CMS (color management support)
2351 --without-coreaudio do not use the CoreAudio sound support
2352 --without-cups do not use CUPS
2353 --without-curses do not use (n)curses
2354 --without-dbus do not use DBus (dynamic device support)
2355 --without-fontconfig do not use fontconfig
2356 --without-freetype do not use the FreeType library
2357 --without-gettext do not use gettext
2358 --with-gettextpo use the GetTextPO library to rebuild po files
2359 --without-gphoto do not use gphoto (Digital Camera support)
2360 --without-glu do not use the GLU library
2361 --without-gnutls do not use GnuTLS (schannel support)
2362 --without-gsm do not use libgsm (GSM 06.10 codec support)
2363 --without-gstreamer do not use GStreamer (codecs support)
2364 --without-hal do not use HAL (dynamic device support)
2365 --without-jpeg do not use JPEG
2366 --without-ldap do not use LDAP
2367 --without-mpg123 do not use the mpg123 library
2368 --without-netapi do not use the Samba NetAPI library
2369 --without-openal do not use OpenAL
2370 --without-opencl do not use OpenCL
2371 --without-opengl do not use OpenGL
2372 --without-osmesa do not use the OSMesa library
2373 --without-oss do not use the OSS sound support
2374 --without-pcap do not use the Packet Capture library
2375 --without-png do not use PNG
2376 --without-pthread do not use the pthread library
2377 --without-pulse do not use PulseAudio sound support
2378 --without-sane do not use SANE (scanner support)
2379 --without-tiff do not use TIFF
2380 --without-udev do not use udev (plug and play support)
2381 --without-v4l do not use v4l1 (v4l support)
2382 --without-xcomposite do not use the Xcomposite extension
2383 --without-xcursor do not use the Xcursor extension
2384 --without-xfixes do not use Xfixes for clipboard change notifications
2385 --without-xinerama do not use Xinerama (multi-monitor support)
2386 --without-xinput do not use the Xinput extension
2387 --without-xinput2 do not use the Xinput 2 extension
2388 --without-xml do not use XML
2389 --without-xrandr do not use Xrandr (resolution changes)
2390 --without-xrender do not use the Xrender extension
2391 --without-xshape do not use the Xshape extension
2392 --without-xshm do not use XShm (shared memory extension)
2393 --without-xslt do not use XSLT
2394 --without-xxf86vm do not use XFree video mode extension
2395 --without-zlib do not use Zlib (data compression)
2396 --with-wine-tools=DIR use Wine tools from directory DIR
2397 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2398 --with-x use the X Window System
2400 Some influential environment variables:
2401 CC C compiler command
2402 CFLAGS C compiler flags
2403 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2404 nonstandard directory <lib dir>
2405 LIBS libraries to pass to the linker, e.g. -l<library>
2406 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2407 you have headers in a nonstandard directory <include dir>
2408 CXX C++ compiler command
2409 CXXFLAGS C++ compiler flags
2410 CPP C preprocessor
2411 XMKMF Path to xmkmf, Makefile generator for X Window System
2412 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2413 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2414 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2415 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2416 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2417 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2418 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2419 HAL_LIBS Linker flags for hal, overriding pkg-config
2420 GNUTLS_CFLAGS
2421 C compiler flags for gnutls, overriding pkg-config
2422 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2423 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2424 SANE_LIBS Linker flags for libsane, overriding pkg-config
2425 GPHOTO2_CFLAGS
2426 C compiler flags for libgphoto2, overriding pkg-config
2427 GPHOTO2_LIBS
2428 Linker flags for libgphoto2, overriding pkg-config
2429 GPHOTO2_PORT_CFLAGS
2430 C compiler flags for libgphoto2_port, overriding pkg-config
2431 GPHOTO2_PORT_LIBS
2432 Linker flags for libgphoto2_port, overriding pkg-config
2433 LCMS2_CFLAGS
2434 C compiler flags for lcms2, overriding pkg-config
2435 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2436 FREETYPE_CFLAGS
2437 C compiler flags for freetype2, overriding pkg-config
2438 FREETYPE_LIBS
2439 Linker flags for freetype2, overriding pkg-config
2440 PULSE_CFLAGS
2441 C compiler flags for libpulse, overriding pkg-config
2442 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2443 GSTREAMER_CFLAGS
2444 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2445 gstreamer-audio-1.0, overriding pkg-config
2446 GSTREAMER_LIBS
2447 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2448 gstreamer-audio-1.0, overriding pkg-config
2449 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2450 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2451 CAPI20_CFLAGS
2452 C compiler flags for capi20, overriding pkg-config
2453 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2454 FONTCONFIG_CFLAGS
2455 C compiler flags for fontconfig, overriding pkg-config
2456 FONTCONFIG_LIBS
2457 Linker flags for fontconfig, overriding pkg-config
2458 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2459 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2460 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2461 PNG_LIBS Linker flags for libpng, overriding pkg-config
2462 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2463 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2464 MPG123_CFLAGS
2465 C compiler flags for libmpg123, overriding pkg-config
2466 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2467 NETAPI_CFLAGS
2468 C compiler flags for netapi, overriding pkg-config
2469 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2471 Use these variables to override the choices made by `configure' or to help
2472 it to find libraries and programs with nonstandard names/locations.
2474 Report bugs to <wine-devel@winehq.org>.
2475 Wine home page: <http://www.winehq.org>.
2476 _ACEOF
2477 ac_status=$?
2480 if test "$ac_init_help" = "recursive"; then
2481 # If there are subdirs, report their specific --help.
2482 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2483 test -d "$ac_dir" ||
2484 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2485 continue
2486 ac_builddir=.
2488 case "$ac_dir" in
2489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2491 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2492 # A ".." for each directory in $ac_dir_suffix.
2493 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2494 case $ac_top_builddir_sub in
2495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2497 esac ;;
2498 esac
2499 ac_abs_top_builddir=$ac_pwd
2500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2501 # for backward compatibility:
2502 ac_top_builddir=$ac_top_build_prefix
2504 case $srcdir in
2505 .) # We are building in place.
2506 ac_srcdir=.
2507 ac_top_srcdir=$ac_top_builddir_sub
2508 ac_abs_top_srcdir=$ac_pwd ;;
2509 [\\/]* | ?:[\\/]* ) # Absolute name.
2510 ac_srcdir=$srcdir$ac_dir_suffix;
2511 ac_top_srcdir=$srcdir
2512 ac_abs_top_srcdir=$srcdir ;;
2513 *) # Relative name.
2514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2515 ac_top_srcdir=$ac_top_build_prefix$srcdir
2516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2517 esac
2518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2520 cd "$ac_dir" || { ac_status=$?; continue; }
2521 # Check for guested configure.
2522 if test -f "$ac_srcdir/configure.gnu"; then
2523 echo &&
2524 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2525 elif test -f "$ac_srcdir/configure"; then
2526 echo &&
2527 $SHELL "$ac_srcdir/configure" --help=recursive
2528 else
2529 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2530 fi || ac_status=$?
2531 cd "$ac_pwd" || { ac_status=$?; break; }
2532 done
2535 test -n "$ac_init_help" && exit $ac_status
2536 if $ac_init_version; then
2537 cat <<\_ACEOF
2538 Wine configure 2.12
2539 generated by GNU Autoconf 2.69
2541 Copyright (C) 2012 Free Software Foundation, Inc.
2542 This configure script is free software; the Free Software Foundation
2543 gives unlimited permission to copy, distribute and modify it.
2544 _ACEOF
2545 exit
2548 ## ------------------------ ##
2549 ## Autoconf initialization. ##
2550 ## ------------------------ ##
2552 # ac_fn_c_try_compile LINENO
2553 # --------------------------
2554 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2555 ac_fn_c_try_compile ()
2557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2558 rm -f conftest.$ac_objext
2559 if { { ac_try="$ac_compile"
2560 case "(($ac_try" in
2561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2562 *) ac_try_echo=$ac_try;;
2563 esac
2564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2565 $as_echo "$ac_try_echo"; } >&5
2566 (eval "$ac_compile") 2>conftest.err
2567 ac_status=$?
2568 if test -s conftest.err; then
2569 grep -v '^ *+' conftest.err >conftest.er1
2570 cat conftest.er1 >&5
2571 mv -f conftest.er1 conftest.err
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; } && {
2575 test -z "$ac_c_werror_flag" ||
2576 test ! -s conftest.err
2577 } && test -s conftest.$ac_objext; then :
2578 ac_retval=0
2579 else
2580 $as_echo "$as_me: failed program was:" >&5
2581 sed 's/^/| /' conftest.$ac_ext >&5
2583 ac_retval=1
2585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2586 as_fn_set_status $ac_retval
2588 } # ac_fn_c_try_compile
2590 # ac_fn_cxx_try_compile LINENO
2591 # ----------------------------
2592 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2593 ac_fn_cxx_try_compile ()
2595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2596 rm -f conftest.$ac_objext
2597 if { { ac_try="$ac_compile"
2598 case "(($ac_try" in
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2601 esac
2602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2603 $as_echo "$ac_try_echo"; } >&5
2604 (eval "$ac_compile") 2>conftest.err
2605 ac_status=$?
2606 if test -s conftest.err; then
2607 grep -v '^ *+' conftest.err >conftest.er1
2608 cat conftest.er1 >&5
2609 mv -f conftest.er1 conftest.err
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612 test $ac_status = 0; } && {
2613 test -z "$ac_cxx_werror_flag" ||
2614 test ! -s conftest.err
2615 } && test -s conftest.$ac_objext; then :
2616 ac_retval=0
2617 else
2618 $as_echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2621 ac_retval=1
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2624 as_fn_set_status $ac_retval
2626 } # ac_fn_cxx_try_compile
2628 # ac_fn_c_try_link LINENO
2629 # -----------------------
2630 # Try to link conftest.$ac_ext, and return whether this succeeded.
2631 ac_fn_c_try_link ()
2633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634 rm -f conftest.$ac_objext conftest$ac_exeext
2635 if { { ac_try="$ac_link"
2636 case "(($ac_try" in
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2639 esac
2640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642 (eval "$ac_link") 2>conftest.err
2643 ac_status=$?
2644 if test -s conftest.err; then
2645 grep -v '^ *+' conftest.err >conftest.er1
2646 cat conftest.er1 >&5
2647 mv -f conftest.er1 conftest.err
2649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2650 test $ac_status = 0; } && {
2651 test -z "$ac_c_werror_flag" ||
2652 test ! -s conftest.err
2653 } && test -s conftest$ac_exeext && {
2654 test "$cross_compiling" = yes ||
2655 test -x conftest$ac_exeext
2656 }; then :
2657 ac_retval=0
2658 else
2659 $as_echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2662 ac_retval=1
2664 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2665 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2666 # interfere with the next link command; also delete a directory that is
2667 # left behind by Apple's compiler. We do this before executing the actions.
2668 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2669 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2670 as_fn_set_status $ac_retval
2672 } # ac_fn_c_try_link
2674 # ac_fn_c_try_cpp LINENO
2675 # ----------------------
2676 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2677 ac_fn_c_try_cpp ()
2679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2680 if { { ac_try="$ac_cpp conftest.$ac_ext"
2681 case "(($ac_try" in
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2684 esac
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686 $as_echo "$ac_try_echo"; } >&5
2687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2688 ac_status=$?
2689 if test -s conftest.err; then
2690 grep -v '^ *+' conftest.err >conftest.er1
2691 cat conftest.er1 >&5
2692 mv -f conftest.er1 conftest.err
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; } > conftest.i && {
2696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2697 test ! -s conftest.err
2698 }; then :
2699 ac_retval=0
2700 else
2701 $as_echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2704 ac_retval=1
2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2707 as_fn_set_status $ac_retval
2709 } # ac_fn_c_try_cpp
2711 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2712 # -------------------------------------------------------
2713 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2714 # the include files in INCLUDES and setting the cache variable VAR
2715 # accordingly.
2716 ac_fn_c_check_header_mongrel ()
2718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2719 if eval \${$3+:} false; then :
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2721 $as_echo_n "checking for $2... " >&6; }
2722 if eval \${$3+:} false; then :
2723 $as_echo_n "(cached) " >&6
2725 eval ac_res=\$$3
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2727 $as_echo "$ac_res" >&6; }
2728 else
2729 # Is the header compilable?
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2731 $as_echo_n "checking $2 usability... " >&6; }
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2735 #include <$2>
2736 _ACEOF
2737 if ac_fn_c_try_compile "$LINENO"; then :
2738 ac_header_compiler=yes
2739 else
2740 ac_header_compiler=no
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2744 $as_echo "$ac_header_compiler" >&6; }
2746 # Is the header present?
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2748 $as_echo_n "checking $2 presence... " >&6; }
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2751 #include <$2>
2752 _ACEOF
2753 if ac_fn_c_try_cpp "$LINENO"; then :
2754 ac_header_preproc=yes
2755 else
2756 ac_header_preproc=no
2758 rm -f conftest.err conftest.i conftest.$ac_ext
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2760 $as_echo "$ac_header_preproc" >&6; }
2762 # So? What about this header?
2763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2764 yes:no: )
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2766 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2770 no:yes:* )
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2772 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2774 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2776 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2778 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2780 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2781 ( $as_echo "## ------------------------------------ ##
2782 ## Report this to wine-devel@winehq.org ##
2783 ## ------------------------------------ ##"
2784 ) | sed "s/^/$as_me: WARNING: /" >&2
2786 esac
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2788 $as_echo_n "checking for $2... " >&6; }
2789 if eval \${$3+:} false; then :
2790 $as_echo_n "(cached) " >&6
2791 else
2792 eval "$3=\$ac_header_compiler"
2794 eval ac_res=\$$3
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2796 $as_echo "$ac_res" >&6; }
2798 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2800 } # ac_fn_c_check_header_mongrel
2802 # ac_fn_c_try_run LINENO
2803 # ----------------------
2804 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2805 # that executables *can* be run.
2806 ac_fn_c_try_run ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 if { { ac_try="$ac_link"
2810 case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2813 esac
2814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2815 $as_echo "$ac_try_echo"; } >&5
2816 (eval "$ac_link") 2>&5
2817 ac_status=$?
2818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2820 { { case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823 esac
2824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825 $as_echo "$ac_try_echo"; } >&5
2826 (eval "$ac_try") 2>&5
2827 ac_status=$?
2828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2829 test $ac_status = 0; }; }; then :
2830 ac_retval=0
2831 else
2832 $as_echo "$as_me: program exited with status $ac_status" >&5
2833 $as_echo "$as_me: failed program was:" >&5
2834 sed 's/^/| /' conftest.$ac_ext >&5
2836 ac_retval=$ac_status
2838 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2840 as_fn_set_status $ac_retval
2842 } # ac_fn_c_try_run
2844 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2845 # -------------------------------------------------------
2846 # Tests whether HEADER exists and can be compiled using the include files in
2847 # INCLUDES, setting the cache variable VAR accordingly.
2848 ac_fn_c_check_header_compile ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2852 $as_echo_n "checking for $2... " >&6; }
2853 if eval \${$3+:} false; then :
2854 $as_echo_n "(cached) " >&6
2855 else
2856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2857 /* end confdefs.h. */
2859 #include <$2>
2860 _ACEOF
2861 if ac_fn_c_try_compile "$LINENO"; then :
2862 eval "$3=yes"
2863 else
2864 eval "$3=no"
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 eval ac_res=\$$3
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2870 $as_echo "$ac_res" >&6; }
2871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2873 } # ac_fn_c_check_header_compile
2875 # ac_fn_c_check_func LINENO FUNC VAR
2876 # ----------------------------------
2877 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2878 ac_fn_c_check_func ()
2880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2882 $as_echo_n "checking for $2... " >&6; }
2883 if eval \${$3+:} false; then :
2884 $as_echo_n "(cached) " >&6
2885 else
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2890 #define $2 innocuous_$2
2892 /* System header to define __stub macros and hopefully few prototypes,
2893 which can conflict with char $2 (); below.
2894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2895 <limits.h> exists even on freestanding compilers. */
2897 #ifdef __STDC__
2898 # include <limits.h>
2899 #else
2900 # include <assert.h>
2901 #endif
2903 #undef $2
2905 /* Override any GCC internal prototype to avoid an error.
2906 Use char because int might match the return type of a GCC
2907 builtin and then its argument prototype would still apply. */
2908 #ifdef __cplusplus
2909 extern "C"
2910 #endif
2911 char $2 ();
2912 /* The GNU C library defines this for functions which it implements
2913 to always fail with ENOSYS. Some functions are actually named
2914 something starting with __ and the normal name is an alias. */
2915 #if defined __stub_$2 || defined __stub___$2
2916 choke me
2917 #endif
2920 main ()
2922 return $2 ();
2924 return 0;
2926 _ACEOF
2927 if ac_fn_c_try_link "$LINENO"; then :
2928 eval "$3=yes"
2929 else
2930 eval "$3=no"
2932 rm -f core conftest.err conftest.$ac_objext \
2933 conftest$ac_exeext conftest.$ac_ext
2935 eval ac_res=\$$3
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2937 $as_echo "$ac_res" >&6; }
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2940 } # ac_fn_c_check_func
2942 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2943 # ----------------------------------------------------
2944 # Tries to find if the field MEMBER exists in type AGGR, after including
2945 # INCLUDES, setting cache variable VAR accordingly.
2946 ac_fn_c_check_member ()
2948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2950 $as_echo_n "checking for $2.$3... " >&6; }
2951 if eval \${$4+:} false; then :
2952 $as_echo_n "(cached) " >&6
2953 else
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2958 main ()
2960 static $2 ac_aggr;
2961 if (ac_aggr.$3)
2962 return 0;
2964 return 0;
2966 _ACEOF
2967 if ac_fn_c_try_compile "$LINENO"; then :
2968 eval "$4=yes"
2969 else
2970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2974 main ()
2976 static $2 ac_aggr;
2977 if (sizeof ac_aggr.$3)
2978 return 0;
2980 return 0;
2982 _ACEOF
2983 if ac_fn_c_try_compile "$LINENO"; then :
2984 eval "$4=yes"
2985 else
2986 eval "$4=no"
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992 eval ac_res=\$$4
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2994 $as_echo "$ac_res" >&6; }
2995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2997 } # ac_fn_c_check_member
2999 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3000 # -------------------------------------------
3001 # Tests whether TYPE exists after having included INCLUDES, setting cache
3002 # variable VAR accordingly.
3003 ac_fn_c_check_type ()
3005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3007 $as_echo_n "checking for $2... " >&6; }
3008 if eval \${$3+:} false; then :
3009 $as_echo_n "(cached) " >&6
3010 else
3011 eval "$3=no"
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3016 main ()
3018 if (sizeof ($2))
3019 return 0;
3021 return 0;
3023 _ACEOF
3024 if ac_fn_c_try_compile "$LINENO"; then :
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026 /* end confdefs.h. */
3029 main ()
3031 if (sizeof (($2)))
3032 return 0;
3034 return 0;
3036 _ACEOF
3037 if ac_fn_c_try_compile "$LINENO"; then :
3039 else
3040 eval "$3=yes"
3042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3046 eval ac_res=\$$3
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3048 $as_echo "$ac_res" >&6; }
3049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3051 } # ac_fn_c_check_type
3052 cat >config.log <<_ACEOF
3053 This file contains any messages produced by compilers while
3054 running configure, to aid debugging if configure makes a mistake.
3056 It was created by Wine $as_me 2.12, which was
3057 generated by GNU Autoconf 2.69. Invocation command line was
3059 $ $0 $@
3061 _ACEOF
3062 exec 5>>config.log
3064 cat <<_ASUNAME
3065 ## --------- ##
3066 ## Platform. ##
3067 ## --------- ##
3069 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3070 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3071 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3072 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3073 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3075 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3076 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3078 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3079 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3080 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3081 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3082 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3083 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3084 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3086 _ASUNAME
3088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089 for as_dir in $PATH
3091 IFS=$as_save_IFS
3092 test -z "$as_dir" && as_dir=.
3093 $as_echo "PATH: $as_dir"
3094 done
3095 IFS=$as_save_IFS
3097 } >&5
3099 cat >&5 <<_ACEOF
3102 ## ----------- ##
3103 ## Core tests. ##
3104 ## ----------- ##
3106 _ACEOF
3109 # Keep a trace of the command line.
3110 # Strip out --no-create and --no-recursion so they do not pile up.
3111 # Strip out --silent because we don't want to record it for future runs.
3112 # Also quote any args containing shell meta-characters.
3113 # Make two passes to allow for proper duplicate-argument suppression.
3114 ac_configure_args=
3115 ac_configure_args0=
3116 ac_configure_args1=
3117 ac_must_keep_next=false
3118 for ac_pass in 1 2
3120 for ac_arg
3122 case $ac_arg in
3123 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3124 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3125 | -silent | --silent | --silen | --sile | --sil)
3126 continue ;;
3127 *\'*)
3128 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3129 esac
3130 case $ac_pass in
3131 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3133 as_fn_append ac_configure_args1 " '$ac_arg'"
3134 if test $ac_must_keep_next = true; then
3135 ac_must_keep_next=false # Got value, back to normal.
3136 else
3137 case $ac_arg in
3138 *=* | --config-cache | -C | -disable-* | --disable-* \
3139 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3140 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3141 | -with-* | --with-* | -without-* | --without-* | --x)
3142 case "$ac_configure_args0 " in
3143 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3144 esac
3146 -* ) ac_must_keep_next=true ;;
3147 esac
3149 as_fn_append ac_configure_args " '$ac_arg'"
3151 esac
3152 done
3153 done
3154 { ac_configure_args0=; unset ac_configure_args0;}
3155 { ac_configure_args1=; unset ac_configure_args1;}
3157 # When interrupted or exit'd, cleanup temporary files, and complete
3158 # config.log. We remove comments because anyway the quotes in there
3159 # would cause problems or look ugly.
3160 # WARNING: Use '\'' to represent an apostrophe within the trap.
3161 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3162 trap 'exit_status=$?
3163 # Save into config.log some information that might help in debugging.
3165 echo
3167 $as_echo "## ---------------- ##
3168 ## Cache variables. ##
3169 ## ---------------- ##"
3170 echo
3171 # The following way of writing the cache mishandles newlines in values,
3173 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3174 eval ac_val=\$$ac_var
3175 case $ac_val in #(
3176 *${as_nl}*)
3177 case $ac_var in #(
3178 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3179 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3180 esac
3181 case $ac_var in #(
3182 _ | IFS | as_nl) ;; #(
3183 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3184 *) { eval $ac_var=; unset $ac_var;} ;;
3185 esac ;;
3186 esac
3187 done
3188 (set) 2>&1 |
3189 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3190 *${as_nl}ac_space=\ *)
3191 sed -n \
3192 "s/'\''/'\''\\\\'\'''\''/g;
3193 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3194 ;; #(
3196 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3198 esac |
3199 sort
3201 echo
3203 $as_echo "## ----------------- ##
3204 ## Output variables. ##
3205 ## ----------------- ##"
3206 echo
3207 for ac_var in $ac_subst_vars
3209 eval ac_val=\$$ac_var
3210 case $ac_val in
3211 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3212 esac
3213 $as_echo "$ac_var='\''$ac_val'\''"
3214 done | sort
3215 echo
3217 if test -n "$ac_subst_files"; then
3218 $as_echo "## ------------------- ##
3219 ## File substitutions. ##
3220 ## ------------------- ##"
3221 echo
3222 for ac_var in $ac_subst_files
3224 eval ac_val=\$$ac_var
3225 case $ac_val in
3226 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3227 esac
3228 $as_echo "$ac_var='\''$ac_val'\''"
3229 done | sort
3230 echo
3233 if test -s confdefs.h; then
3234 $as_echo "## ----------- ##
3235 ## confdefs.h. ##
3236 ## ----------- ##"
3237 echo
3238 cat confdefs.h
3239 echo
3241 test "$ac_signal" != 0 &&
3242 $as_echo "$as_me: caught signal $ac_signal"
3243 $as_echo "$as_me: exit $exit_status"
3244 } >&5
3245 rm -f core *.core core.conftest.* &&
3246 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3247 exit $exit_status
3249 for ac_signal in 1 2 13 15; do
3250 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3251 done
3252 ac_signal=0
3254 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3255 rm -f -r conftest* confdefs.h
3257 $as_echo "/* confdefs.h */" > confdefs.h
3259 # Predefined preprocessor variables.
3261 cat >>confdefs.h <<_ACEOF
3262 #define PACKAGE_NAME "$PACKAGE_NAME"
3263 _ACEOF
3265 cat >>confdefs.h <<_ACEOF
3266 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3267 _ACEOF
3269 cat >>confdefs.h <<_ACEOF
3270 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3271 _ACEOF
3273 cat >>confdefs.h <<_ACEOF
3274 #define PACKAGE_STRING "$PACKAGE_STRING"
3275 _ACEOF
3277 cat >>confdefs.h <<_ACEOF
3278 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3279 _ACEOF
3281 cat >>confdefs.h <<_ACEOF
3282 #define PACKAGE_URL "$PACKAGE_URL"
3283 _ACEOF
3286 # Let the site file select an alternate cache file if it wants to.
3287 # Prefer an explicitly selected file to automatically selected ones.
3288 ac_site_file1=NONE
3289 ac_site_file2=NONE
3290 if test -n "$CONFIG_SITE"; then
3291 # We do not want a PATH search for config.site.
3292 case $CONFIG_SITE in #((
3293 -*) ac_site_file1=./$CONFIG_SITE;;
3294 */*) ac_site_file1=$CONFIG_SITE;;
3295 *) ac_site_file1=./$CONFIG_SITE;;
3296 esac
3297 elif test "x$prefix" != xNONE; then
3298 ac_site_file1=$prefix/share/config.site
3299 ac_site_file2=$prefix/etc/config.site
3300 else
3301 ac_site_file1=$ac_default_prefix/share/config.site
3302 ac_site_file2=$ac_default_prefix/etc/config.site
3304 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3306 test "x$ac_site_file" = xNONE && continue
3307 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3309 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3310 sed 's/^/| /' "$ac_site_file" >&5
3311 . "$ac_site_file" \
3312 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3313 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3314 as_fn_error $? "failed to load site script $ac_site_file
3315 See \`config.log' for more details" "$LINENO" 5; }
3317 done
3319 if test -r "$cache_file"; then
3320 # Some versions of bash will fail to source /dev/null (special files
3321 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3322 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3324 $as_echo "$as_me: loading cache $cache_file" >&6;}
3325 case $cache_file in
3326 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3327 *) . "./$cache_file";;
3328 esac
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3332 $as_echo "$as_me: creating cache $cache_file" >&6;}
3333 >$cache_file
3336 # Check that the precious variables saved in the cache have kept the same
3337 # value.
3338 ac_cache_corrupted=false
3339 for ac_var in $ac_precious_vars; do
3340 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3341 eval ac_new_set=\$ac_env_${ac_var}_set
3342 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3343 eval ac_new_val=\$ac_env_${ac_var}_value
3344 case $ac_old_set,$ac_new_set in
3345 set,)
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3347 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3348 ac_cache_corrupted=: ;;
3349 ,set)
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3351 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3352 ac_cache_corrupted=: ;;
3353 ,);;
3355 if test "x$ac_old_val" != "x$ac_new_val"; then
3356 # differences in whitespace do not lead to failure.
3357 ac_old_val_w=`echo x $ac_old_val`
3358 ac_new_val_w=`echo x $ac_new_val`
3359 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3361 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3362 ac_cache_corrupted=:
3363 else
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3365 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3366 eval $ac_var=\$ac_old_val
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3369 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3371 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3372 fi;;
3373 esac
3374 # Pass precious variables to config.status.
3375 if test "$ac_new_set" = set; then
3376 case $ac_new_val in
3377 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3378 *) ac_arg=$ac_var=$ac_new_val ;;
3379 esac
3380 case " $ac_configure_args " in
3381 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3382 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3383 esac
3385 done
3386 if $ac_cache_corrupted; then
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3390 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3391 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3393 ## -------------------- ##
3394 ## Main body of script. ##
3395 ## -------------------- ##
3397 ac_ext=c
3398 ac_cpp='$CPP $CPPFLAGS'
3399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3405 ac_config_headers="$ac_config_headers include/config.h"
3407 ac_aux_dir=
3408 for ac_dir in tools "$srcdir"/tools; do
3409 if test -f "$ac_dir/install-sh"; then
3410 ac_aux_dir=$ac_dir
3411 ac_install_sh="$ac_aux_dir/install-sh -c"
3412 break
3413 elif test -f "$ac_dir/install.sh"; then
3414 ac_aux_dir=$ac_dir
3415 ac_install_sh="$ac_aux_dir/install.sh -c"
3416 break
3417 elif test -f "$ac_dir/shtool"; then
3418 ac_aux_dir=$ac_dir
3419 ac_install_sh="$ac_aux_dir/shtool install -c"
3420 break
3422 done
3423 if test -z "$ac_aux_dir"; then
3424 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3427 # These three variables are undocumented and unsupported,
3428 # and are intended to be withdrawn in a future Autoconf release.
3429 # They can cause serious problems if a builder's source tree is in a directory
3430 # whose full name contains unusual characters.
3431 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3432 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3433 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3437 libwine_version="1.0"
3441 # Check whether --enable-win16 was given.
3442 if test "${enable_win16+set}" = set; then :
3443 enableval=$enable_win16;
3446 # Check whether --enable-win64 was given.
3447 if test "${enable_win64+set}" = set; then :
3448 enableval=$enable_win64;
3451 # Check whether --enable-tests was given.
3452 if test "${enable_tests+set}" = set; then :
3453 enableval=$enable_tests;
3456 # Check whether --enable-maintainer-mode was given.
3457 if test "${enable_maintainer_mode+set}" = set; then :
3458 enableval=$enable_maintainer_mode;
3463 # Check whether --with-alsa was given.
3464 if test "${with_alsa+set}" = set; then :
3465 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3469 # Check whether --with-capi was given.
3470 if test "${with_capi+set}" = set; then :
3471 withval=$with_capi;
3475 # Check whether --with-cms was given.
3476 if test "${with_cms+set}" = set; then :
3477 withval=$with_cms;
3481 # Check whether --with-coreaudio was given.
3482 if test "${with_coreaudio+set}" = set; then :
3483 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3487 # Check whether --with-cups was given.
3488 if test "${with_cups+set}" = set; then :
3489 withval=$with_cups;
3493 # Check whether --with-curses was given.
3494 if test "${with_curses+set}" = set; then :
3495 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3499 # Check whether --with-dbus was given.
3500 if test "${with_dbus+set}" = set; then :
3501 withval=$with_dbus;
3505 # Check whether --with-fontconfig was given.
3506 if test "${with_fontconfig+set}" = set; then :
3507 withval=$with_fontconfig;
3511 # Check whether --with-freetype was given.
3512 if test "${with_freetype+set}" = set; then :
3513 withval=$with_freetype;
3517 # Check whether --with-gettext was given.
3518 if test "${with_gettext+set}" = set; then :
3519 withval=$with_gettext;
3523 # Check whether --with-gettextpo was given.
3524 if test "${with_gettextpo+set}" = set; then :
3525 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3529 # Check whether --with-gphoto was given.
3530 if test "${with_gphoto+set}" = set; then :
3531 withval=$with_gphoto;
3535 # Check whether --with-glu was given.
3536 if test "${with_glu+set}" = set; then :
3537 withval=$with_glu;
3541 # Check whether --with-gnutls was given.
3542 if test "${with_gnutls+set}" = set; then :
3543 withval=$with_gnutls;
3547 # Check whether --with-gsm was given.
3548 if test "${with_gsm+set}" = set; then :
3549 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3553 # Check whether --with-gstreamer was given.
3554 if test "${with_gstreamer+set}" = set; then :
3555 withval=$with_gstreamer;
3559 # Check whether --with-hal was given.
3560 if test "${with_hal+set}" = set; then :
3561 withval=$with_hal;
3565 # Check whether --with-jpeg was given.
3566 if test "${with_jpeg+set}" = set; then :
3567 withval=$with_jpeg;
3571 # Check whether --with-ldap was given.
3572 if test "${with_ldap+set}" = set; then :
3573 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3577 # Check whether --with-mpg123 was given.
3578 if test "${with_mpg123+set}" = set; then :
3579 withval=$with_mpg123;
3583 # Check whether --with-netapi was given.
3584 if test "${with_netapi+set}" = set; then :
3585 withval=$with_netapi;
3589 # Check whether --with-openal was given.
3590 if test "${with_openal+set}" = set; then :
3591 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3595 # Check whether --with-opencl was given.
3596 if test "${with_opencl+set}" = set; then :
3597 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3601 # Check whether --with-opengl was given.
3602 if test "${with_opengl+set}" = set; then :
3603 withval=$with_opengl;
3607 # Check whether --with-osmesa was given.
3608 if test "${with_osmesa+set}" = set; then :
3609 withval=$with_osmesa;
3613 # Check whether --with-oss was given.
3614 if test "${with_oss+set}" = set; then :
3615 withval=$with_oss;
3619 # Check whether --with-pcap was given.
3620 if test "${with_pcap+set}" = set; then :
3621 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3625 # Check whether --with-png was given.
3626 if test "${with_png+set}" = set; then :
3627 withval=$with_png;
3631 # Check whether --with-pthread was given.
3632 if test "${with_pthread+set}" = set; then :
3633 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3637 # Check whether --with-pulse was given.
3638 if test "${with_pulse+set}" = set; then :
3639 withval=$with_pulse;
3643 # Check whether --with-sane was given.
3644 if test "${with_sane+set}" = set; then :
3645 withval=$with_sane;
3649 # Check whether --with-tiff was given.
3650 if test "${with_tiff+set}" = set; then :
3651 withval=$with_tiff;
3655 # Check whether --with-udev was given.
3656 if test "${with_udev+set}" = set; then :
3657 withval=$with_udev;
3661 # Check whether --with-v4l was given.
3662 if test "${with_v4l+set}" = set; then :
3663 withval=$with_v4l;
3667 # Check whether --with-xcomposite was given.
3668 if test "${with_xcomposite+set}" = set; then :
3669 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3673 # Check whether --with-xcursor was given.
3674 if test "${with_xcursor+set}" = set; then :
3675 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3679 # Check whether --with-xfixes was given.
3680 if test "${with_xfixes+set}" = set; then :
3681 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3685 # Check whether --with-xinerama was given.
3686 if test "${with_xinerama+set}" = set; then :
3687 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3691 # Check whether --with-xinput was given.
3692 if test "${with_xinput+set}" = set; then :
3693 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3697 # Check whether --with-xinput2 was given.
3698 if test "${with_xinput2+set}" = set; then :
3699 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3703 # Check whether --with-xml was given.
3704 if test "${with_xml+set}" = set; then :
3705 withval=$with_xml;
3709 # Check whether --with-xrandr was given.
3710 if test "${with_xrandr+set}" = set; then :
3711 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3715 # Check whether --with-xrender was given.
3716 if test "${with_xrender+set}" = set; then :
3717 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3721 # Check whether --with-xshape was given.
3722 if test "${with_xshape+set}" = set; then :
3723 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3727 # Check whether --with-xshm was given.
3728 if test "${with_xshm+set}" = set; then :
3729 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3733 # Check whether --with-xslt was given.
3734 if test "${with_xslt+set}" = set; then :
3735 withval=$with_xslt;
3739 # Check whether --with-xxf86vm was given.
3740 if test "${with_xxf86vm+set}" = set; then :
3741 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
3745 # Check whether --with-zlib was given.
3746 if test "${with_zlib+set}" = set; then :
3747 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3752 # Check whether --with-wine-tools was given.
3753 if test "${with_wine_tools+set}" = set; then :
3754 withval=$with_wine_tools;
3758 # Check whether --with-wine64 was given.
3759 if test "${with_wine64+set}" = set; then :
3760 withval=$with_wine64;
3764 # Make sure we can run config.sub.
3765 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3766 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3769 $as_echo_n "checking build system type... " >&6; }
3770 if ${ac_cv_build+:} false; then :
3771 $as_echo_n "(cached) " >&6
3772 else
3773 ac_build_alias=$build_alias
3774 test "x$ac_build_alias" = x &&
3775 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3776 test "x$ac_build_alias" = x &&
3777 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3778 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3779 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3783 $as_echo "$ac_cv_build" >&6; }
3784 case $ac_cv_build in
3785 *-*-*) ;;
3786 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3787 esac
3788 build=$ac_cv_build
3789 ac_save_IFS=$IFS; IFS='-'
3790 set x $ac_cv_build
3791 shift
3792 build_cpu=$1
3793 build_vendor=$2
3794 shift; shift
3795 # Remember, the first character of IFS is used to create $*,
3796 # except with old shells:
3797 build_os=$*
3798 IFS=$ac_save_IFS
3799 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3803 $as_echo_n "checking host system type... " >&6; }
3804 if ${ac_cv_host+:} false; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test "x$host_alias" = x; then
3808 ac_cv_host=$ac_cv_build
3809 else
3810 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3811 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3816 $as_echo "$ac_cv_host" >&6; }
3817 case $ac_cv_host in
3818 *-*-*) ;;
3819 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3820 esac
3821 host=$ac_cv_host
3822 ac_save_IFS=$IFS; IFS='-'
3823 set x $ac_cv_host
3824 shift
3825 host_cpu=$1
3826 host_vendor=$2
3827 shift; shift
3828 # Remember, the first character of IFS is used to create $*,
3829 # except with old shells:
3830 host_os=$*
3831 IFS=$ac_save_IFS
3832 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3836 case "$srcdir" in
3837 .) ;;
3838 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3839 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3840 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3841 fi ;;
3842 esac
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3847 set x ${MAKE-make}
3848 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3849 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3850 $as_echo_n "(cached) " >&6
3851 else
3852 cat >conftest.make <<\_ACEOF
3853 SHELL = /bin/sh
3854 all:
3855 @echo '@@@%%%=$(MAKE)=@@@%%%'
3856 _ACEOF
3857 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3859 *@@@%%%=?*=@@@%%%*)
3860 eval ac_cv_prog_make_${ac_make}_set=yes;;
3862 eval ac_cv_prog_make_${ac_make}_set=no;;
3863 esac
3864 rm -f conftest.make
3866 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3868 $as_echo "yes" >&6; }
3869 SET_MAKE=
3870 else
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3873 SET_MAKE="MAKE=${MAKE-make}"
3876 ac_ext=c
3877 ac_cpp='$CPP $CPPFLAGS'
3878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3881 if test -n "$ac_tool_prefix"; then
3882 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3883 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if ${ac_cv_prog_CC+:} false; then :
3887 $as_echo_n "(cached) " >&6
3888 else
3889 if test -n "$CC"; then
3890 ac_cv_prog_CC="$CC" # Let the user override the test.
3891 else
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 for as_dir in $PATH
3895 IFS=$as_save_IFS
3896 test -z "$as_dir" && as_dir=.
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3899 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 break 2
3903 done
3904 done
3905 IFS=$as_save_IFS
3909 CC=$ac_cv_prog_CC
3910 if test -n "$CC"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3912 $as_echo "$CC" >&6; }
3913 else
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3920 if test -z "$ac_cv_prog_CC"; then
3921 ac_ct_CC=$CC
3922 # Extract the first word of "gcc", so it can be a program name with args.
3923 set dummy gcc; ac_word=$2
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3925 $as_echo_n "checking for $ac_word... " >&6; }
3926 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3927 $as_echo_n "(cached) " >&6
3928 else
3929 if test -n "$ac_ct_CC"; then
3930 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3931 else
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 for as_dir in $PATH
3935 IFS=$as_save_IFS
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3939 ac_cv_prog_ac_ct_CC="gcc"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 break 2
3943 done
3944 done
3945 IFS=$as_save_IFS
3949 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3950 if test -n "$ac_ct_CC"; then
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3952 $as_echo "$ac_ct_CC" >&6; }
3953 else
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3955 $as_echo "no" >&6; }
3958 if test "x$ac_ct_CC" = x; then
3959 CC=""
3960 else
3961 case $cross_compiling:$ac_tool_warned in
3962 yes:)
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3965 ac_tool_warned=yes ;;
3966 esac
3967 CC=$ac_ct_CC
3969 else
3970 CC="$ac_cv_prog_CC"
3973 if test -z "$CC"; then
3974 if test -n "$ac_tool_prefix"; then
3975 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3976 set dummy ${ac_tool_prefix}cc; ac_word=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if ${ac_cv_prog_CC+:} false; then :
3980 $as_echo_n "(cached) " >&6
3981 else
3982 if test -n "$CC"; then
3983 ac_cv_prog_CC="$CC" # Let the user override the test.
3984 else
3985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3986 for as_dir in $PATH
3988 IFS=$as_save_IFS
3989 test -z "$as_dir" && as_dir=.
3990 for ac_exec_ext in '' $ac_executable_extensions; do
3991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3992 ac_cv_prog_CC="${ac_tool_prefix}cc"
3993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3994 break 2
3996 done
3997 done
3998 IFS=$as_save_IFS
4002 CC=$ac_cv_prog_CC
4003 if test -n "$CC"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4005 $as_echo "$CC" >&6; }
4006 else
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4014 if test -z "$CC"; then
4015 # Extract the first word of "cc", so it can be a program name with args.
4016 set dummy cc; ac_word=$2
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4018 $as_echo_n "checking for $ac_word... " >&6; }
4019 if ${ac_cv_prog_CC+:} false; then :
4020 $as_echo_n "(cached) " >&6
4021 else
4022 if test -n "$CC"; then
4023 ac_cv_prog_CC="$CC" # Let the user override the test.
4024 else
4025 ac_prog_rejected=no
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4027 for as_dir in $PATH
4029 IFS=$as_save_IFS
4030 test -z "$as_dir" && as_dir=.
4031 for ac_exec_ext in '' $ac_executable_extensions; do
4032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4033 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4034 ac_prog_rejected=yes
4035 continue
4037 ac_cv_prog_CC="cc"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 break 2
4041 done
4042 done
4043 IFS=$as_save_IFS
4045 if test $ac_prog_rejected = yes; then
4046 # We found a bogon in the path, so make sure we never use it.
4047 set dummy $ac_cv_prog_CC
4048 shift
4049 if test $# != 0; then
4050 # We chose a different compiler from the bogus one.
4051 # However, it has the same basename, so the bogon will be chosen
4052 # first if we set CC to just the basename; use the full file name.
4053 shift
4054 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4059 CC=$ac_cv_prog_CC
4060 if test -n "$CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4062 $as_echo "$CC" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4070 if test -z "$CC"; then
4071 if test -n "$ac_tool_prefix"; then
4072 for ac_prog in cl.exe
4074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4075 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4077 $as_echo_n "checking for $ac_word... " >&6; }
4078 if ${ac_cv_prog_CC+:} false; then :
4079 $as_echo_n "(cached) " >&6
4080 else
4081 if test -n "$CC"; then
4082 ac_cv_prog_CC="$CC" # Let the user override the test.
4083 else
4084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085 for as_dir in $PATH
4087 IFS=$as_save_IFS
4088 test -z "$as_dir" && as_dir=.
4089 for ac_exec_ext in '' $ac_executable_extensions; do
4090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4091 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 break 2
4095 done
4096 done
4097 IFS=$as_save_IFS
4101 CC=$ac_cv_prog_CC
4102 if test -n "$CC"; then
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4104 $as_echo "$CC" >&6; }
4105 else
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107 $as_echo "no" >&6; }
4111 test -n "$CC" && break
4112 done
4114 if test -z "$CC"; then
4115 ac_ct_CC=$CC
4116 for ac_prog in cl.exe
4118 # Extract the first word of "$ac_prog", so it can be a program name with args.
4119 set dummy $ac_prog; ac_word=$2
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4121 $as_echo_n "checking for $ac_word... " >&6; }
4122 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4123 $as_echo_n "(cached) " >&6
4124 else
4125 if test -n "$ac_ct_CC"; then
4126 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4127 else
4128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 for as_dir in $PATH
4131 IFS=$as_save_IFS
4132 test -z "$as_dir" && as_dir=.
4133 for ac_exec_ext in '' $ac_executable_extensions; do
4134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4135 ac_cv_prog_ac_ct_CC="$ac_prog"
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 break 2
4139 done
4140 done
4141 IFS=$as_save_IFS
4145 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4146 if test -n "$ac_ct_CC"; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4148 $as_echo "$ac_ct_CC" >&6; }
4149 else
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4155 test -n "$ac_ct_CC" && break
4156 done
4158 if test "x$ac_ct_CC" = x; then
4159 CC=""
4160 else
4161 case $cross_compiling:$ac_tool_warned in
4162 yes:)
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4165 ac_tool_warned=yes ;;
4166 esac
4167 CC=$ac_ct_CC
4174 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4176 as_fn_error $? "no acceptable C compiler found in \$PATH
4177 See \`config.log' for more details" "$LINENO" 5; }
4179 # Provide some information about the compiler.
4180 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4181 set X $ac_compile
4182 ac_compiler=$2
4183 for ac_option in --version -v -V -qversion; do
4184 { { ac_try="$ac_compiler $ac_option >&5"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4190 $as_echo "$ac_try_echo"; } >&5
4191 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4192 ac_status=$?
4193 if test -s conftest.err; then
4194 sed '10a\
4195 ... rest of stderr output deleted ...
4196 10q' conftest.err >conftest.er1
4197 cat conftest.er1 >&5
4199 rm -f conftest.er1 conftest.err
4200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4201 test $ac_status = 0; }
4202 done
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4208 main ()
4212 return 0;
4214 _ACEOF
4215 ac_clean_files_save=$ac_clean_files
4216 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4217 # Try to create an executable without -o first, disregard a.out.
4218 # It will help us diagnose broken compilers, and finding out an intuition
4219 # of exeext.
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4221 $as_echo_n "checking whether the C compiler works... " >&6; }
4222 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4224 # The possible output files:
4225 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4227 ac_rmfiles=
4228 for ac_file in $ac_files
4230 case $ac_file in
4231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4232 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4233 esac
4234 done
4235 rm -f $ac_rmfiles
4237 if { { ac_try="$ac_link_default"
4238 case "(($ac_try" in
4239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4240 *) ac_try_echo=$ac_try;;
4241 esac
4242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4243 $as_echo "$ac_try_echo"; } >&5
4244 (eval "$ac_link_default") 2>&5
4245 ac_status=$?
4246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4247 test $ac_status = 0; }; then :
4248 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4249 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4250 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4251 # so that the user can short-circuit this test for compilers unknown to
4252 # Autoconf.
4253 for ac_file in $ac_files ''
4255 test -f "$ac_file" || continue
4256 case $ac_file in
4257 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4259 [ab].out )
4260 # We found the default executable, but exeext='' is most
4261 # certainly right.
4262 break;;
4263 *.* )
4264 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4265 then :; else
4266 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4268 # We set ac_cv_exeext here because the later test for it is not
4269 # safe: cross compilers may not add the suffix if given an `-o'
4270 # argument, so we may need to know it at that point already.
4271 # Even if this section looks crufty: it has the advantage of
4272 # actually working.
4273 break;;
4275 break;;
4276 esac
4277 done
4278 test "$ac_cv_exeext" = no && ac_cv_exeext=
4280 else
4281 ac_file=''
4283 if test -z "$ac_file"; then :
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4285 $as_echo "no" >&6; }
4286 $as_echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.$ac_ext >&5
4289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4291 as_fn_error 77 "C compiler cannot create executables
4292 See \`config.log' for more details" "$LINENO" 5; }
4293 else
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4295 $as_echo "yes" >&6; }
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4298 $as_echo_n "checking for C compiler default output file name... " >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4300 $as_echo "$ac_file" >&6; }
4301 ac_exeext=$ac_cv_exeext
4303 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4304 ac_clean_files=$ac_clean_files_save
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4306 $as_echo_n "checking for suffix of executables... " >&6; }
4307 if { { ac_try="$ac_link"
4308 case "(($ac_try" in
4309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4310 *) ac_try_echo=$ac_try;;
4311 esac
4312 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4313 $as_echo "$ac_try_echo"; } >&5
4314 (eval "$ac_link") 2>&5
4315 ac_status=$?
4316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4317 test $ac_status = 0; }; then :
4318 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4319 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4320 # work properly (i.e., refer to `conftest.exe'), while it won't with
4321 # `rm'.
4322 for ac_file in conftest.exe conftest conftest.*; do
4323 test -f "$ac_file" || continue
4324 case $ac_file in
4325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4326 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4327 break;;
4328 * ) break;;
4329 esac
4330 done
4331 else
4332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4334 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4335 See \`config.log' for more details" "$LINENO" 5; }
4337 rm -f conftest conftest$ac_cv_exeext
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4339 $as_echo "$ac_cv_exeext" >&6; }
4341 rm -f conftest.$ac_ext
4342 EXEEXT=$ac_cv_exeext
4343 ac_exeext=$EXEEXT
4344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4345 /* end confdefs.h. */
4346 #include <stdio.h>
4348 main ()
4350 FILE *f = fopen ("conftest.out", "w");
4351 return ferror (f) || fclose (f) != 0;
4354 return 0;
4356 _ACEOF
4357 ac_clean_files="$ac_clean_files conftest.out"
4358 # Check that the compiler produces executables we can run. If not, either
4359 # the compiler is broken, or we cross compile.
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4361 $as_echo_n "checking whether we are cross compiling... " >&6; }
4362 if test "$cross_compiling" != yes; then
4363 { { ac_try="$ac_link"
4364 case "(($ac_try" in
4365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4367 esac
4368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4369 $as_echo "$ac_try_echo"; } >&5
4370 (eval "$ac_link") 2>&5
4371 ac_status=$?
4372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4373 test $ac_status = 0; }
4374 if { ac_try='./conftest$ac_cv_exeext'
4375 { { case "(($ac_try" in
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4378 esac
4379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4380 $as_echo "$ac_try_echo"; } >&5
4381 (eval "$ac_try") 2>&5
4382 ac_status=$?
4383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4384 test $ac_status = 0; }; }; then
4385 cross_compiling=no
4386 else
4387 if test "$cross_compiling" = maybe; then
4388 cross_compiling=yes
4389 else
4390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4392 as_fn_error $? "cannot run C compiled programs.
4393 If you meant to cross compile, use \`--host'.
4394 See \`config.log' for more details" "$LINENO" 5; }
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4399 $as_echo "$cross_compiling" >&6; }
4401 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4402 ac_clean_files=$ac_clean_files_save
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4404 $as_echo_n "checking for suffix of object files... " >&6; }
4405 if ${ac_cv_objext+:} false; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409 /* end confdefs.h. */
4412 main ()
4416 return 0;
4418 _ACEOF
4419 rm -f conftest.o conftest.obj
4420 if { { ac_try="$ac_compile"
4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_compile") 2>&5
4428 ac_status=$?
4429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4430 test $ac_status = 0; }; then :
4431 for ac_file in conftest.o conftest.obj conftest.*; do
4432 test -f "$ac_file" || continue;
4433 case $ac_file in
4434 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4435 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4436 break;;
4437 esac
4438 done
4439 else
4440 $as_echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.$ac_ext >&5
4443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4445 as_fn_error $? "cannot compute suffix of object files: cannot compile
4446 See \`config.log' for more details" "$LINENO" 5; }
4448 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4451 $as_echo "$ac_cv_objext" >&6; }
4452 OBJEXT=$ac_cv_objext
4453 ac_objext=$OBJEXT
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4455 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4456 if ${ac_cv_c_compiler_gnu+:} false; then :
4457 $as_echo_n "(cached) " >&6
4458 else
4459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4460 /* end confdefs.h. */
4463 main ()
4465 #ifndef __GNUC__
4466 choke me
4467 #endif
4470 return 0;
4472 _ACEOF
4473 if ac_fn_c_try_compile "$LINENO"; then :
4474 ac_compiler_gnu=yes
4475 else
4476 ac_compiler_gnu=no
4478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4483 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4484 if test $ac_compiler_gnu = yes; then
4485 GCC=yes
4486 else
4487 GCC=
4489 ac_test_CFLAGS=${CFLAGS+set}
4490 ac_save_CFLAGS=$CFLAGS
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4492 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4493 if ${ac_cv_prog_cc_g+:} false; then :
4494 $as_echo_n "(cached) " >&6
4495 else
4496 ac_save_c_werror_flag=$ac_c_werror_flag
4497 ac_c_werror_flag=yes
4498 ac_cv_prog_cc_g=no
4499 CFLAGS="-g"
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4504 main ()
4508 return 0;
4510 _ACEOF
4511 if ac_fn_c_try_compile "$LINENO"; then :
4512 ac_cv_prog_cc_g=yes
4513 else
4514 CFLAGS=""
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4519 main ()
4523 return 0;
4525 _ACEOF
4526 if ac_fn_c_try_compile "$LINENO"; then :
4528 else
4529 ac_c_werror_flag=$ac_save_c_werror_flag
4530 CFLAGS="-g"
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4535 main ()
4539 return 0;
4541 _ACEOF
4542 if ac_fn_c_try_compile "$LINENO"; then :
4543 ac_cv_prog_cc_g=yes
4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550 ac_c_werror_flag=$ac_save_c_werror_flag
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4553 $as_echo "$ac_cv_prog_cc_g" >&6; }
4554 if test "$ac_test_CFLAGS" = set; then
4555 CFLAGS=$ac_save_CFLAGS
4556 elif test $ac_cv_prog_cc_g = yes; then
4557 if test "$GCC" = yes; then
4558 CFLAGS="-g -O2"
4559 else
4560 CFLAGS="-g"
4562 else
4563 if test "$GCC" = yes; then
4564 CFLAGS="-O2"
4565 else
4566 CFLAGS=
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4570 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4571 if ${ac_cv_prog_cc_c89+:} false; then :
4572 $as_echo_n "(cached) " >&6
4573 else
4574 ac_cv_prog_cc_c89=no
4575 ac_save_CC=$CC
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4578 #include <stdarg.h>
4579 #include <stdio.h>
4580 struct stat;
4581 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4582 struct buf { int x; };
4583 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4584 static char *e (p, i)
4585 char **p;
4586 int i;
4588 return p[i];
4590 static char *f (char * (*g) (char **, int), char **p, ...)
4592 char *s;
4593 va_list v;
4594 va_start (v,p);
4595 s = g (p, va_arg (v,int));
4596 va_end (v);
4597 return s;
4600 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4601 function prototypes and stuff, but not '\xHH' hex character constants.
4602 These don't provoke an error unfortunately, instead are silently treated
4603 as 'x'. The following induces an error, until -std is added to get
4604 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4605 array size at least. It's necessary to write '\x00'==0 to get something
4606 that's true only with -std. */
4607 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4609 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4610 inside strings and character constants. */
4611 #define FOO(x) 'x'
4612 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4614 int test (int i, double x);
4615 struct s1 {int (*f) (int a);};
4616 struct s2 {int (*f) (double a);};
4617 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4618 int argc;
4619 char **argv;
4621 main ()
4623 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4625 return 0;
4627 _ACEOF
4628 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4629 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4631 CC="$ac_save_CC $ac_arg"
4632 if ac_fn_c_try_compile "$LINENO"; then :
4633 ac_cv_prog_cc_c89=$ac_arg
4635 rm -f core conftest.err conftest.$ac_objext
4636 test "x$ac_cv_prog_cc_c89" != "xno" && break
4637 done
4638 rm -f conftest.$ac_ext
4639 CC=$ac_save_CC
4642 # AC_CACHE_VAL
4643 case "x$ac_cv_prog_cc_c89" in
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4646 $as_echo "none needed" >&6; } ;;
4647 xno)
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4649 $as_echo "unsupported" >&6; } ;;
4651 CC="$CC $ac_cv_prog_cc_c89"
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4653 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4654 esac
4655 if test "x$ac_cv_prog_cc_c89" != xno; then :
4659 ac_ext=c
4660 ac_cpp='$CPP $CPPFLAGS'
4661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4665 ac_ext=cpp
4666 ac_cpp='$CXXCPP $CPPFLAGS'
4667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4670 if test -z "$CXX"; then
4671 if test -n "$CCC"; then
4672 CXX=$CCC
4673 else
4674 if test -n "$ac_tool_prefix"; then
4675 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4677 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4678 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4680 $as_echo_n "checking for $ac_word... " >&6; }
4681 if ${ac_cv_prog_CXX+:} false; then :
4682 $as_echo_n "(cached) " >&6
4683 else
4684 if test -n "$CXX"; then
4685 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4686 else
4687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688 for as_dir in $PATH
4690 IFS=$as_save_IFS
4691 test -z "$as_dir" && as_dir=.
4692 for ac_exec_ext in '' $ac_executable_extensions; do
4693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4694 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4696 break 2
4698 done
4699 done
4700 IFS=$as_save_IFS
4704 CXX=$ac_cv_prog_CXX
4705 if test -n "$CXX"; then
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4707 $as_echo "$CXX" >&6; }
4708 else
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4710 $as_echo "no" >&6; }
4714 test -n "$CXX" && break
4715 done
4717 if test -z "$CXX"; then
4718 ac_ct_CXX=$CXX
4719 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4721 # Extract the first word of "$ac_prog", so it can be a program name with args.
4722 set dummy $ac_prog; ac_word=$2
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4724 $as_echo_n "checking for $ac_word... " >&6; }
4725 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4726 $as_echo_n "(cached) " >&6
4727 else
4728 if test -n "$ac_ct_CXX"; then
4729 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4730 else
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732 for as_dir in $PATH
4734 IFS=$as_save_IFS
4735 test -z "$as_dir" && as_dir=.
4736 for ac_exec_ext in '' $ac_executable_extensions; do
4737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4738 ac_cv_prog_ac_ct_CXX="$ac_prog"
4739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4740 break 2
4742 done
4743 done
4744 IFS=$as_save_IFS
4748 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4749 if test -n "$ac_ct_CXX"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4751 $as_echo "$ac_ct_CXX" >&6; }
4752 else
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4758 test -n "$ac_ct_CXX" && break
4759 done
4761 if test "x$ac_ct_CXX" = x; then
4762 CXX="g++"
4763 else
4764 case $cross_compiling:$ac_tool_warned in
4765 yes:)
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4768 ac_tool_warned=yes ;;
4769 esac
4770 CXX=$ac_ct_CXX
4776 # Provide some information about the compiler.
4777 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4778 set X $ac_compile
4779 ac_compiler=$2
4780 for ac_option in --version -v -V -qversion; do
4781 { { ac_try="$ac_compiler $ac_option >&5"
4782 case "(($ac_try" in
4783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784 *) ac_try_echo=$ac_try;;
4785 esac
4786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4787 $as_echo "$ac_try_echo"; } >&5
4788 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4789 ac_status=$?
4790 if test -s conftest.err; then
4791 sed '10a\
4792 ... rest of stderr output deleted ...
4793 10q' conftest.err >conftest.er1
4794 cat conftest.er1 >&5
4796 rm -f conftest.er1 conftest.err
4797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4798 test $ac_status = 0; }
4799 done
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4802 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4803 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4810 main ()
4812 #ifndef __GNUC__
4813 choke me
4814 #endif
4817 return 0;
4819 _ACEOF
4820 if ac_fn_cxx_try_compile "$LINENO"; then :
4821 ac_compiler_gnu=yes
4822 else
4823 ac_compiler_gnu=no
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4830 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4831 if test $ac_compiler_gnu = yes; then
4832 GXX=yes
4833 else
4834 GXX=
4836 ac_test_CXXFLAGS=${CXXFLAGS+set}
4837 ac_save_CXXFLAGS=$CXXFLAGS
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4839 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4840 if ${ac_cv_prog_cxx_g+:} false; then :
4841 $as_echo_n "(cached) " >&6
4842 else
4843 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4844 ac_cxx_werror_flag=yes
4845 ac_cv_prog_cxx_g=no
4846 CXXFLAGS="-g"
4847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4848 /* end confdefs.h. */
4851 main ()
4855 return 0;
4857 _ACEOF
4858 if ac_fn_cxx_try_compile "$LINENO"; then :
4859 ac_cv_prog_cxx_g=yes
4860 else
4861 CXXFLAGS=""
4862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4863 /* end confdefs.h. */
4866 main ()
4870 return 0;
4872 _ACEOF
4873 if ac_fn_cxx_try_compile "$LINENO"; then :
4875 else
4876 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4877 CXXFLAGS="-g"
4878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4879 /* end confdefs.h. */
4882 main ()
4886 return 0;
4888 _ACEOF
4889 if ac_fn_cxx_try_compile "$LINENO"; then :
4890 ac_cv_prog_cxx_g=yes
4892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4900 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4901 if test "$ac_test_CXXFLAGS" = set; then
4902 CXXFLAGS=$ac_save_CXXFLAGS
4903 elif test $ac_cv_prog_cxx_g = yes; then
4904 if test "$GXX" = yes; then
4905 CXXFLAGS="-g -O2"
4906 else
4907 CXXFLAGS="-g"
4909 else
4910 if test "$GXX" = yes; then
4911 CXXFLAGS="-O2"
4912 else
4913 CXXFLAGS=
4916 ac_ext=c
4917 ac_cpp='$CPP $CPPFLAGS'
4918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4922 if test -n "$ac_tool_prefix"; then
4923 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4924 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4926 $as_echo_n "checking for $ac_word... " >&6; }
4927 if ${ac_cv_prog_CPPBIN+:} false; then :
4928 $as_echo_n "(cached) " >&6
4929 else
4930 if test -n "$CPPBIN"; then
4931 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 test -z "$as_dir" && as_dir=.
4938 for ac_exec_ext in '' $ac_executable_extensions; do
4939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4940 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 break 2
4944 done
4945 done
4946 IFS=$as_save_IFS
4950 CPPBIN=$ac_cv_prog_CPPBIN
4951 if test -n "$CPPBIN"; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4953 $as_echo "$CPPBIN" >&6; }
4954 else
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4961 if test -z "$ac_cv_prog_CPPBIN"; then
4962 ac_ct_CPPBIN=$CPPBIN
4963 # Extract the first word of "cpp", so it can be a program name with args.
4964 set dummy cpp; ac_word=$2
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4966 $as_echo_n "checking for $ac_word... " >&6; }
4967 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4968 $as_echo_n "(cached) " >&6
4969 else
4970 if test -n "$ac_ct_CPPBIN"; then
4971 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4972 else
4973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4974 for as_dir in $PATH
4976 IFS=$as_save_IFS
4977 test -z "$as_dir" && as_dir=.
4978 for ac_exec_ext in '' $ac_executable_extensions; do
4979 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4980 ac_cv_prog_ac_ct_CPPBIN="cpp"
4981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 break 2
4984 done
4985 done
4986 IFS=$as_save_IFS
4990 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4991 if test -n "$ac_ct_CPPBIN"; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4993 $as_echo "$ac_ct_CPPBIN" >&6; }
4994 else
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4996 $as_echo "no" >&6; }
4999 if test "x$ac_ct_CPPBIN" = x; then
5000 CPPBIN="cpp"
5001 else
5002 case $cross_compiling:$ac_tool_warned in
5003 yes:)
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5006 ac_tool_warned=yes ;;
5007 esac
5008 CPPBIN=$ac_ct_CPPBIN
5010 else
5011 CPPBIN="$ac_cv_prog_CPPBIN"
5015 cat >>confdefs.h <<_ACEOF
5016 #define EXEEXT "$ac_exeext"
5017 _ACEOF
5019 if test -n "$ac_tool_prefix"; then
5020 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5021 set dummy ${ac_tool_prefix}ld; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_LD+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 if test -n "$LD"; then
5028 ac_cv_prog_LD="$LD" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5033 IFS=$as_save_IFS
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_LD="${ac_tool_prefix}ld"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 break 2
5041 done
5042 done
5043 IFS=$as_save_IFS
5047 LD=$ac_cv_prog_LD
5048 if test -n "$LD"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5050 $as_echo "$LD" >&6; }
5051 else
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5058 if test -z "$ac_cv_prog_LD"; then
5059 ac_ct_LD=$LD
5060 # Extract the first word of "ld", so it can be a program name with args.
5061 set dummy ld; ac_word=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5065 $as_echo_n "(cached) " >&6
5066 else
5067 if test -n "$ac_ct_LD"; then
5068 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5069 else
5070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5071 for as_dir in $PATH
5073 IFS=$as_save_IFS
5074 test -z "$as_dir" && as_dir=.
5075 for ac_exec_ext in '' $ac_executable_extensions; do
5076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5077 ac_cv_prog_ac_ct_LD="ld"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5079 break 2
5081 done
5082 done
5083 IFS=$as_save_IFS
5087 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5088 if test -n "$ac_ct_LD"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5090 $as_echo "$ac_ct_LD" >&6; }
5091 else
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5096 if test "x$ac_ct_LD" = x; then
5097 LD=""
5098 else
5099 case $cross_compiling:$ac_tool_warned in
5100 yes:)
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5103 ac_tool_warned=yes ;;
5104 esac
5105 LD=$ac_ct_LD
5107 else
5108 LD="$ac_cv_prog_LD"
5112 case $host in
5113 *-darwin*)
5114 with_fontconfig=${with_fontconfig:-no}
5116 *-mingw32*|*-cygwin*)
5117 enable_win16=${enable_win16:-no}
5118 CFLAGS="$CFLAGS -D_WIN32"
5120 esac
5122 case $host in
5123 x86_64*|amd64*)
5124 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5125 then
5126 CC="$CC -m32"
5127 CXX="$CXX -m32"
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5129 $as_echo_n "checking whether $CC works... " >&6; }
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5135 main ()
5139 return 0;
5141 _ACEOF
5142 if ac_fn_c_try_link "$LINENO"; then :
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5144 $as_echo "yes" >&6; }
5145 else
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5148 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5150 rm -f core conftest.err conftest.$ac_objext \
5151 conftest$ac_exeext conftest.$ac_ext
5152 host_cpu="i386"
5153 notice_platform="32-bit "
5154 TARGETFLAGS="-m32"
5156 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5157 export PKG_CONFIG_PATH
5158 enable_win16=${enable_win16:-yes}
5159 else
5160 if test "x${GCC}" = "xyes"
5161 then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5163 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5165 /* end confdefs.h. */
5166 #include <stdarg.h>
5168 main ()
5170 void func(__builtin_ms_va_list *args);
5172 return 0;
5174 _ACEOF
5175 if ac_fn_c_try_compile "$LINENO"; then :
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5177 $as_echo "yes" >&6; }
5178 else
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5180 $as_echo "no" >&6; }
5181 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5185 CC="$CC -m64"
5186 CXX="$CXX -m64"
5187 host_cpu="x86_64"
5188 notice_platform="64-bit "
5189 TARGETFLAGS="-m64"
5193 arm*)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5195 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5197 /* end confdefs.h. */
5198 int ac_test(int i) { return i; }
5200 main ()
5202 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5204 return 0;
5206 _ACEOF
5207 if ac_fn_c_try_link "$LINENO"; then :
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5209 $as_echo "yes" >&6; }
5210 else
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5213 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5215 rm -f core conftest.err conftest.$ac_objext \
5216 conftest$ac_exeext conftest.$ac_ext
5217 CFLAGS="$CFLAGS -marm"
5218 TARGETFLAGS="-marm"
5221 i[3456789]86*)
5222 enable_win16=${enable_win16:-yes}
5224 esac
5226 enable_win16=${enable_win16:-no}
5227 enable_win64=${enable_win64:-no}
5229 enable_winetest=${enable_winetest:-$enable_tests}
5231 if test -n "$with_wine64"
5232 then
5233 if test "x$enable_win64" = "xyes"
5234 then
5235 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5236 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5238 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5239 You should create a separate build directory and run configure from there." "$LINENO" 5
5240 enable_fonts=${enable_fonts:-no}
5241 enable_server=${enable_server:-no}
5242 elif test "x$enable_win64" = "xyes"
5243 then
5244 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5248 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5249 if ${wine_cv_toolsdir+:} false; then :
5250 $as_echo_n "(cached) " >&6
5251 else
5252 wine_cv_toolsdir="$with_wine_tools"
5253 if test -z "$with_wine_tools"; then
5254 if test "$cross_compiling" = "yes"; then
5255 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5256 elif test -n "$with_wine64"; then
5257 wine_cv_toolsdir="$with_wine64"
5260 if test -z "$wine_cv_toolsdir"; then
5261 wine_makedep=tools/makedep
5262 wine_cv_toolsdir="\$(top_builddir)"
5263 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5264 wine_makedep=$wine_cv_toolsdir/tools/makedep
5265 case "$wine_cv_toolsdir" in
5266 /*) ;;
5267 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5268 esac
5269 enable_tools=${enable_tools:-no}
5270 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5271 else
5272 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5276 $as_echo "$wine_cv_toolsdir" >&6; }
5277 TOOLSDIR=$wine_cv_toolsdir
5279 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5280 then
5281 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5285 for ac_prog in flex
5287 # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy $ac_prog; ac_word=$2
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5290 $as_echo_n "checking for $ac_word... " >&6; }
5291 if ${ac_cv_prog_FLEX+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 if test -n "$FLEX"; then
5295 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_FLEX="$ac_prog"
5305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5310 IFS=$as_save_IFS
5314 FLEX=$ac_cv_prog_FLEX
5315 if test -n "$FLEX"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5317 $as_echo "$FLEX" >&6; }
5318 else
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5324 test -n "$FLEX" && break
5325 done
5326 test -n "$FLEX" || FLEX="none"
5328 if test "$FLEX" = "none"
5329 then
5330 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5333 $as_echo_n "checking whether flex is recent enough... " >&6; }
5334 cat >conftest.l <<EOF
5335 %top{
5336 #include "prediluvian.h"
5340 if $FLEX -t conftest.l >/dev/null 2>&5
5341 then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5343 $as_echo "yes" >&6; }
5344 else
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5346 $as_echo "no" >&6; }
5347 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5350 for ac_prog in bison
5352 # Extract the first word of "$ac_prog", so it can be a program name with args.
5353 set dummy $ac_prog; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_BISON+:} false; then :
5357 $as_echo_n "(cached) " >&6
5358 else
5359 if test -n "$BISON"; then
5360 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5369 ac_cv_prog_BISON="$ac_prog"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5373 done
5374 done
5375 IFS=$as_save_IFS
5379 BISON=$ac_cv_prog_BISON
5380 if test -n "$BISON"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5382 $as_echo "$BISON" >&6; }
5383 else
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5389 test -n "$BISON" && break
5390 done
5391 test -n "$BISON" || BISON="none"
5393 if test "$BISON" = "none"
5394 then
5395 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5398 if test -n "$ac_tool_prefix"; then
5399 for ac_prog in ar gar
5401 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5402 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5404 $as_echo_n "checking for $ac_word... " >&6; }
5405 if ${ac_cv_prog_AR+:} false; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 if test -n "$AR"; then
5409 ac_cv_prog_AR="$AR" # Let the user override the test.
5410 else
5411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5412 for as_dir in $PATH
5414 IFS=$as_save_IFS
5415 test -z "$as_dir" && as_dir=.
5416 for ac_exec_ext in '' $ac_executable_extensions; do
5417 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5418 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 break 2
5422 done
5423 done
5424 IFS=$as_save_IFS
5428 AR=$ac_cv_prog_AR
5429 if test -n "$AR"; then
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5431 $as_echo "$AR" >&6; }
5432 else
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5434 $as_echo "no" >&6; }
5438 test -n "$AR" && break
5439 done
5441 if test -z "$AR"; then
5442 ac_ct_AR=$AR
5443 for ac_prog in ar gar
5445 # Extract the first word of "$ac_prog", so it can be a program name with args.
5446 set dummy $ac_prog; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5450 $as_echo_n "(cached) " >&6
5451 else
5452 if test -n "$ac_ct_AR"; then
5453 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5454 else
5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5456 for as_dir in $PATH
5458 IFS=$as_save_IFS
5459 test -z "$as_dir" && as_dir=.
5460 for ac_exec_ext in '' $ac_executable_extensions; do
5461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5462 ac_cv_prog_ac_ct_AR="$ac_prog"
5463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464 break 2
5466 done
5467 done
5468 IFS=$as_save_IFS
5472 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5473 if test -n "$ac_ct_AR"; then
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5475 $as_echo "$ac_ct_AR" >&6; }
5476 else
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478 $as_echo "no" >&6; }
5482 test -n "$ac_ct_AR" && break
5483 done
5485 if test "x$ac_ct_AR" = x; then
5486 AR="ar"
5487 else
5488 case $cross_compiling:$ac_tool_warned in
5489 yes:)
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5491 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5492 ac_tool_warned=yes ;;
5493 esac
5494 AR=$ac_ct_AR
5498 if test -n "$ac_tool_prefix"; then
5499 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5500 set dummy ${ac_tool_prefix}strip; ac_word=$2
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5502 $as_echo_n "checking for $ac_word... " >&6; }
5503 if ${ac_cv_prog_STRIP+:} false; then :
5504 $as_echo_n "(cached) " >&6
5505 else
5506 if test -n "$STRIP"; then
5507 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5508 else
5509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5510 for as_dir in $PATH
5512 IFS=$as_save_IFS
5513 test -z "$as_dir" && as_dir=.
5514 for ac_exec_ext in '' $ac_executable_extensions; do
5515 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5516 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5518 break 2
5520 done
5521 done
5522 IFS=$as_save_IFS
5526 STRIP=$ac_cv_prog_STRIP
5527 if test -n "$STRIP"; then
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5529 $as_echo "$STRIP" >&6; }
5530 else
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5532 $as_echo "no" >&6; }
5537 if test -z "$ac_cv_prog_STRIP"; then
5538 ac_ct_STRIP=$STRIP
5539 # Extract the first word of "strip", so it can be a program name with args.
5540 set dummy strip; ac_word=$2
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542 $as_echo_n "checking for $ac_word... " >&6; }
5543 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5544 $as_echo_n "(cached) " >&6
5545 else
5546 if test -n "$ac_ct_STRIP"; then
5547 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5548 else
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH
5552 IFS=$as_save_IFS
5553 test -z "$as_dir" && as_dir=.
5554 for ac_exec_ext in '' $ac_executable_extensions; do
5555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5556 ac_cv_prog_ac_ct_STRIP="strip"
5557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 break 2
5560 done
5561 done
5562 IFS=$as_save_IFS
5566 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5567 if test -n "$ac_ct_STRIP"; then
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5569 $as_echo "$ac_ct_STRIP" >&6; }
5570 else
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572 $as_echo "no" >&6; }
5575 if test "x$ac_ct_STRIP" = x; then
5576 STRIP="strip"
5577 else
5578 case $cross_compiling:$ac_tool_warned in
5579 yes:)
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5582 ac_tool_warned=yes ;;
5583 esac
5584 STRIP=$ac_ct_STRIP
5586 else
5587 STRIP="$ac_cv_prog_STRIP"
5590 ARFLAGS=rc
5592 if test -n "$ac_tool_prefix"; then
5593 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5594 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5596 $as_echo_n "checking for $ac_word... " >&6; }
5597 if ${ac_cv_prog_RANLIB+:} false; then :
5598 $as_echo_n "(cached) " >&6
5599 else
5600 if test -n "$RANLIB"; then
5601 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5602 else
5603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604 for as_dir in $PATH
5606 IFS=$as_save_IFS
5607 test -z "$as_dir" && as_dir=.
5608 for ac_exec_ext in '' $ac_executable_extensions; do
5609 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5610 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 break 2
5614 done
5615 done
5616 IFS=$as_save_IFS
5620 RANLIB=$ac_cv_prog_RANLIB
5621 if test -n "$RANLIB"; then
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5623 $as_echo "$RANLIB" >&6; }
5624 else
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5626 $as_echo "no" >&6; }
5631 if test -z "$ac_cv_prog_RANLIB"; then
5632 ac_ct_RANLIB=$RANLIB
5633 # Extract the first word of "ranlib", so it can be a program name with args.
5634 set dummy ranlib; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 if test -n "$ac_ct_RANLIB"; then
5641 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5642 else
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 for as_dir in $PATH
5646 IFS=$as_save_IFS
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_ac_ct_RANLIB="ranlib"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 break 2
5654 done
5655 done
5656 IFS=$as_save_IFS
5660 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5661 if test -n "$ac_ct_RANLIB"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5663 $as_echo "$ac_ct_RANLIB" >&6; }
5664 else
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5669 if test "x$ac_ct_RANLIB" = x; then
5670 RANLIB=":"
5671 else
5672 case $cross_compiling:$ac_tool_warned in
5673 yes:)
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5676 ac_tool_warned=yes ;;
5677 esac
5678 RANLIB=$ac_ct_RANLIB
5680 else
5681 RANLIB="$ac_cv_prog_RANLIB"
5684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5685 $as_echo_n "checking whether ln -s works... " >&6; }
5686 LN_S=$as_ln_s
5687 if test "$LN_S" = "ln -s"; then
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5689 $as_echo "yes" >&6; }
5690 else
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5692 $as_echo "no, using $LN_S" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5696 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5697 if ${ac_cv_path_GREP+:} false; then :
5698 $as_echo_n "(cached) " >&6
5699 else
5700 if test -z "$GREP"; then
5701 ac_path_GREP_found=false
5702 # Loop through the user's path and test for each of PROGNAME-LIST
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5706 IFS=$as_save_IFS
5707 test -z "$as_dir" && as_dir=.
5708 for ac_prog in grep ggrep; do
5709 for ac_exec_ext in '' $ac_executable_extensions; do
5710 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5711 as_fn_executable_p "$ac_path_GREP" || continue
5712 # Check for GNU ac_path_GREP and select it if it is found.
5713 # Check for GNU $ac_path_GREP
5714 case `"$ac_path_GREP" --version 2>&1` in
5715 *GNU*)
5716 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5718 ac_count=0
5719 $as_echo_n 0123456789 >"conftest.in"
5720 while :
5722 cat "conftest.in" "conftest.in" >"conftest.tmp"
5723 mv "conftest.tmp" "conftest.in"
5724 cp "conftest.in" "conftest.nl"
5725 $as_echo 'GREP' >> "conftest.nl"
5726 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5727 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5728 as_fn_arith $ac_count + 1 && ac_count=$as_val
5729 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5730 # Best one so far, save it but keep looking for a better one
5731 ac_cv_path_GREP="$ac_path_GREP"
5732 ac_path_GREP_max=$ac_count
5734 # 10*(2^10) chars as input seems more than enough
5735 test $ac_count -gt 10 && break
5736 done
5737 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5738 esac
5740 $ac_path_GREP_found && break 3
5741 done
5742 done
5743 done
5744 IFS=$as_save_IFS
5745 if test -z "$ac_cv_path_GREP"; then
5746 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5748 else
5749 ac_cv_path_GREP=$GREP
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5754 $as_echo "$ac_cv_path_GREP" >&6; }
5755 GREP="$ac_cv_path_GREP"
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5759 $as_echo_n "checking for egrep... " >&6; }
5760 if ${ac_cv_path_EGREP+:} false; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5764 then ac_cv_path_EGREP="$GREP -E"
5765 else
5766 if test -z "$EGREP"; then
5767 ac_path_EGREP_found=false
5768 # Loop through the user's path and test for each of PROGNAME-LIST
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5772 IFS=$as_save_IFS
5773 test -z "$as_dir" && as_dir=.
5774 for ac_prog in egrep; do
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5777 as_fn_executable_p "$ac_path_EGREP" || continue
5778 # Check for GNU ac_path_EGREP and select it if it is found.
5779 # Check for GNU $ac_path_EGREP
5780 case `"$ac_path_EGREP" --version 2>&1` in
5781 *GNU*)
5782 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5784 ac_count=0
5785 $as_echo_n 0123456789 >"conftest.in"
5786 while :
5788 cat "conftest.in" "conftest.in" >"conftest.tmp"
5789 mv "conftest.tmp" "conftest.in"
5790 cp "conftest.in" "conftest.nl"
5791 $as_echo 'EGREP' >> "conftest.nl"
5792 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5793 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5794 as_fn_arith $ac_count + 1 && ac_count=$as_val
5795 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5796 # Best one so far, save it but keep looking for a better one
5797 ac_cv_path_EGREP="$ac_path_EGREP"
5798 ac_path_EGREP_max=$ac_count
5800 # 10*(2^10) chars as input seems more than enough
5801 test $ac_count -gt 10 && break
5802 done
5803 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5804 esac
5806 $ac_path_EGREP_found && break 3
5807 done
5808 done
5809 done
5810 IFS=$as_save_IFS
5811 if test -z "$ac_cv_path_EGREP"; then
5812 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5814 else
5815 ac_cv_path_EGREP=$EGREP
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5821 $as_echo "$ac_cv_path_EGREP" >&6; }
5822 EGREP="$ac_cv_path_EGREP"
5825 # Extract the first word of "ldconfig", so it can be a program name with args.
5826 set dummy ldconfig; ac_word=$2
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828 $as_echo_n "checking for $ac_word... " >&6; }
5829 if ${ac_cv_path_LDCONFIG+:} false; then :
5830 $as_echo_n "(cached) " >&6
5831 else
5832 case $LDCONFIG in
5833 [\\/]* | ?:[\\/]*)
5834 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 for as_dir in /sbin /usr/sbin $PATH
5840 IFS=$as_save_IFS
5841 test -z "$as_dir" && as_dir=.
5842 for ac_exec_ext in '' $ac_executable_extensions; do
5843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846 break 2
5848 done
5849 done
5850 IFS=$as_save_IFS
5852 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5854 esac
5856 LDCONFIG=$ac_cv_path_LDCONFIG
5857 if test -n "$LDCONFIG"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5859 $as_echo "$LDCONFIG" >&6; }
5860 else
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5866 for ac_prog in msgfmt
5868 # Extract the first word of "$ac_prog", so it can be a program name with args.
5869 set dummy $ac_prog; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if ${ac_cv_prog_MSGFMT+:} false; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 if test -n "$MSGFMT"; then
5876 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5881 IFS=$as_save_IFS
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5885 ac_cv_prog_MSGFMT="$ac_prog"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 break 2
5889 done
5890 done
5891 IFS=$as_save_IFS
5895 MSGFMT=$ac_cv_prog_MSGFMT
5896 if test -n "$MSGFMT"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5898 $as_echo "$MSGFMT" >&6; }
5899 else
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5905 test -n "$MSGFMT" && break
5906 done
5907 test -n "$MSGFMT" || MSGFMT="false"
5909 if ${ac_tool_prefix+:} false; then :
5910 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5911 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5913 $as_echo_n "checking for $ac_word... " >&6; }
5914 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5915 $as_echo_n "(cached) " >&6
5916 else
5917 if test -n "$PKG_CONFIG"; then
5918 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5919 else
5920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 for as_dir in $PATH
5923 IFS=$as_save_IFS
5924 test -z "$as_dir" && as_dir=.
5925 for ac_exec_ext in '' $ac_executable_extensions; do
5926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5927 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5929 break 2
5931 done
5932 done
5933 IFS=$as_save_IFS
5937 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5938 if test -n "$PKG_CONFIG"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5940 $as_echo "$PKG_CONFIG" >&6; }
5941 else
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5943 $as_echo "no" >&6; }
5948 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5949 if test "x$cross_compiling" = xyes; then :
5951 else
5952 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5953 # Extract the first word of "pkg-config", so it can be a program name with args.
5954 set dummy pkg-config; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5958 $as_echo_n "(cached) " >&6
5959 else
5960 if test -n "$PKG_CONFIG"; then
5961 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5962 else
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5964 for as_dir in $PATH
5966 IFS=$as_save_IFS
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5970 ac_cv_prog_PKG_CONFIG="pkg-config"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5972 break 2
5974 done
5975 done
5976 IFS=$as_save_IFS
5980 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5981 if test -n "$PKG_CONFIG"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5983 $as_echo "$PKG_CONFIG" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 else
5992 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5995 if test "x$enable_maintainer_mode" != "xyes"
5996 then
5997 FONTFORGE=""
5998 RSVG=""
5999 CONVERT=""
6000 ICOTOOL=""
6001 else
6002 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6003 for ac_prog in fontforge
6005 # Extract the first word of "$ac_prog", so it can be a program name with args.
6006 set dummy $ac_prog; ac_word=$2
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008 $as_echo_n "checking for $ac_word... " >&6; }
6009 if ${ac_cv_prog_FONTFORGE+:} false; then :
6010 $as_echo_n "(cached) " >&6
6011 else
6012 if test -n "$FONTFORGE"; then
6013 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6014 else
6015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016 for as_dir in $PATH
6018 IFS=$as_save_IFS
6019 test -z "$as_dir" && as_dir=.
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_FONTFORGE="$ac_prog"
6023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 FONTFORGE=$ac_cv_prog_FONTFORGE
6033 if test -n "$FONTFORGE"; then
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6035 $as_echo "$FONTFORGE" >&6; }
6036 else
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 $as_echo "no" >&6; }
6042 test -n "$FONTFORGE" && break
6043 done
6044 test -n "$FONTFORGE" || FONTFORGE="false"
6046 for ac_prog in rsvg-convert rsvg
6048 # Extract the first word of "$ac_prog", so it can be a program name with args.
6049 set dummy $ac_prog; ac_word=$2
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6051 $as_echo_n "checking for $ac_word... " >&6; }
6052 if ${ac_cv_prog_RSVG+:} false; then :
6053 $as_echo_n "(cached) " >&6
6054 else
6055 if test -n "$RSVG"; then
6056 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6057 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH
6061 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065 ac_cv_prog_RSVG="$ac_prog"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 break 2
6069 done
6070 done
6071 IFS=$as_save_IFS
6075 RSVG=$ac_cv_prog_RSVG
6076 if test -n "$RSVG"; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6078 $as_echo "$RSVG" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6085 test -n "$RSVG" && break
6086 done
6087 test -n "$RSVG" || RSVG="false"
6089 for ac_prog in convert
6091 # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 set dummy $ac_prog; ac_word=$2
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6094 $as_echo_n "checking for $ac_word... " >&6; }
6095 if ${ac_cv_prog_CONVERT+:} false; then :
6096 $as_echo_n "(cached) " >&6
6097 else
6098 if test -n "$CONVERT"; then
6099 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6104 IFS=$as_save_IFS
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6108 ac_cv_prog_CONVERT="$ac_prog"
6109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 break 2
6112 done
6113 done
6114 IFS=$as_save_IFS
6118 CONVERT=$ac_cv_prog_CONVERT
6119 if test -n "$CONVERT"; then
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6121 $as_echo "$CONVERT" >&6; }
6122 else
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6124 $as_echo "no" >&6; }
6128 test -n "$CONVERT" && break
6129 done
6130 test -n "$CONVERT" || CONVERT="false"
6132 for ac_prog in icotool
6134 # Extract the first word of "$ac_prog", so it can be a program name with args.
6135 set dummy $ac_prog; ac_word=$2
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6137 $as_echo_n "checking for $ac_word... " >&6; }
6138 if ${ac_cv_prog_ICOTOOL+:} false; then :
6139 $as_echo_n "(cached) " >&6
6140 else
6141 if test -n "$ICOTOOL"; then
6142 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6143 else
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6151 ac_cv_prog_ICOTOOL="$ac_prog"
6152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6161 ICOTOOL=$ac_cv_prog_ICOTOOL
6162 if test -n "$ICOTOOL"; then
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6164 $as_echo "$ICOTOOL" >&6; }
6165 else
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6167 $as_echo "no" >&6; }
6171 test -n "$ICOTOOL" && break
6172 done
6173 test -n "$ICOTOOL" || ICOTOOL="false"
6175 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6176 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6178 if test "$CONVERT" = false
6179 then
6180 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6181 else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6183 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6184 convert_version=`convert --version | head -n1`
6185 if test "x$convert_version" != "x"
6186 then
6187 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6188 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6189 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6190 then
6191 CONVERT=false
6194 if test "$CONVERT" = false
6195 then
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6197 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6198 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6199 else
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6201 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6205 if test "$ICOTOOL" = false
6206 then
6207 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6208 else
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6210 $as_echo_n "checking for recent enough icotool... " >&6; }
6211 icotool_version=`icotool --version | head -n1`
6212 if test "x$icotool_version" != "x"
6213 then
6214 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6215 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6216 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6217 then
6218 ICOTOOL=false
6219 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6222 if test "$ICOTOOL" = false
6223 then
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6225 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6226 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6227 else
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6229 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6233 with_gettext=yes
6234 with_gettextpo=yes
6235 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6238 test "x$with_gettext" != xno || MSGFMT=false
6239 if test "$MSGFMT" != "false"
6240 then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6242 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6243 cat >conftest.po <<EOF
6244 # comment
6245 msgctxt "ctxt"
6246 msgid "id"
6247 msgstr "str"
6249 if $MSGFMT -o /dev/null conftest.po 2>&5
6250 then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6252 $as_echo "yes" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6256 MSGFMT=false
6259 if test "$MSGFMT" = false; then :
6260 case "x$with_gettext" in
6261 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6262 xno) ;;
6263 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6264 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6265 esac
6266 enable_po=${enable_po:-no}
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6271 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6272 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6273 $as_echo_n "(cached) " >&6
6274 else
6275 ac_check_lib_save_LIBS=$LIBS
6276 LIBS="-li386 $LIBS"
6277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6278 /* end confdefs.h. */
6280 /* Override any GCC internal prototype to avoid an error.
6281 Use char because int might match the return type of a GCC
6282 builtin and then its argument prototype would still apply. */
6283 #ifdef __cplusplus
6284 extern "C"
6285 #endif
6286 char i386_set_ldt ();
6288 main ()
6290 return i386_set_ldt ();
6292 return 0;
6294 _ACEOF
6295 if ac_fn_c_try_link "$LINENO"; then :
6296 ac_cv_lib_i386_i386_set_ldt=yes
6297 else
6298 ac_cv_lib_i386_i386_set_ldt=no
6300 rm -f core conftest.err conftest.$ac_objext \
6301 conftest$ac_exeext conftest.$ac_ext
6302 LIBS=$ac_check_lib_save_LIBS
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6305 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6306 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6307 cat >>confdefs.h <<_ACEOF
6308 #define HAVE_LIBI386 1
6309 _ACEOF
6311 LIBS="-li386 $LIBS"
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6316 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6317 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6318 $as_echo_n "(cached) " >&6
6319 else
6320 ac_check_lib_save_LIBS=$LIBS
6321 LIBS="-lossaudio $LIBS"
6322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6323 /* end confdefs.h. */
6325 /* Override any GCC internal prototype to avoid an error.
6326 Use char because int might match the return type of a GCC
6327 builtin and then its argument prototype would still apply. */
6328 #ifdef __cplusplus
6329 extern "C"
6330 #endif
6331 char _oss_ioctl ();
6333 main ()
6335 return _oss_ioctl ();
6337 return 0;
6339 _ACEOF
6340 if ac_fn_c_try_link "$LINENO"; then :
6341 ac_cv_lib_ossaudio__oss_ioctl=yes
6342 else
6343 ac_cv_lib_ossaudio__oss_ioctl=no
6345 rm -f core conftest.err conftest.$ac_objext \
6346 conftest$ac_exeext conftest.$ac_ext
6347 LIBS=$ac_check_lib_save_LIBS
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6350 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6351 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6352 cat >>confdefs.h <<_ACEOF
6353 #define HAVE_LIBOSSAUDIO 1
6354 _ACEOF
6356 LIBS="-lossaudio $LIBS"
6361 OPENGL_LIBS=""
6365 # Check whether --enable-largefile was given.
6366 if test "${enable_largefile+set}" = set; then :
6367 enableval=$enable_largefile;
6370 if test "$enable_largefile" != no; then
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6373 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6374 if ${ac_cv_sys_largefile_CC+:} false; then :
6375 $as_echo_n "(cached) " >&6
6376 else
6377 ac_cv_sys_largefile_CC=no
6378 if test "$GCC" != yes; then
6379 ac_save_CC=$CC
6380 while :; do
6381 # IRIX 6.2 and later do not support large files by default,
6382 # so use the C compiler's -n32 option if that helps.
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6385 #include <sys/types.h>
6386 /* Check that off_t can represent 2**63 - 1 correctly.
6387 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6388 since some C++ compilers masquerading as C compilers
6389 incorrectly reject 9223372036854775807. */
6390 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6391 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6392 && LARGE_OFF_T % 2147483647 == 1)
6393 ? 1 : -1];
6395 main ()
6399 return 0;
6401 _ACEOF
6402 if ac_fn_c_try_compile "$LINENO"; then :
6403 break
6405 rm -f core conftest.err conftest.$ac_objext
6406 CC="$CC -n32"
6407 if ac_fn_c_try_compile "$LINENO"; then :
6408 ac_cv_sys_largefile_CC=' -n32'; break
6410 rm -f core conftest.err conftest.$ac_objext
6411 break
6412 done
6413 CC=$ac_save_CC
6414 rm -f conftest.$ac_ext
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6418 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6419 if test "$ac_cv_sys_largefile_CC" != no; then
6420 CC=$CC$ac_cv_sys_largefile_CC
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6424 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6425 if ${ac_cv_sys_file_offset_bits+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 while :; do
6429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6430 /* end confdefs.h. */
6431 #include <sys/types.h>
6432 /* Check that off_t can represent 2**63 - 1 correctly.
6433 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6434 since some C++ compilers masquerading as C compilers
6435 incorrectly reject 9223372036854775807. */
6436 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6437 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6438 && LARGE_OFF_T % 2147483647 == 1)
6439 ? 1 : -1];
6441 main ()
6445 return 0;
6447 _ACEOF
6448 if ac_fn_c_try_compile "$LINENO"; then :
6449 ac_cv_sys_file_offset_bits=no; break
6451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #define _FILE_OFFSET_BITS 64
6455 #include <sys/types.h>
6456 /* Check that off_t can represent 2**63 - 1 correctly.
6457 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6458 since some C++ compilers masquerading as C compilers
6459 incorrectly reject 9223372036854775807. */
6460 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6461 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6462 && LARGE_OFF_T % 2147483647 == 1)
6463 ? 1 : -1];
6465 main ()
6469 return 0;
6471 _ACEOF
6472 if ac_fn_c_try_compile "$LINENO"; then :
6473 ac_cv_sys_file_offset_bits=64; break
6475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6476 ac_cv_sys_file_offset_bits=unknown
6477 break
6478 done
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6481 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6482 case $ac_cv_sys_file_offset_bits in #(
6483 no | unknown) ;;
6485 cat >>confdefs.h <<_ACEOF
6486 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6487 _ACEOF
6489 esac
6490 rm -rf conftest*
6491 if test $ac_cv_sys_file_offset_bits = unknown; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6493 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6494 if ${ac_cv_sys_large_files+:} false; then :
6495 $as_echo_n "(cached) " >&6
6496 else
6497 while :; do
6498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6500 #include <sys/types.h>
6501 /* Check that off_t can represent 2**63 - 1 correctly.
6502 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6503 since some C++ compilers masquerading as C compilers
6504 incorrectly reject 9223372036854775807. */
6505 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6506 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6507 && LARGE_OFF_T % 2147483647 == 1)
6508 ? 1 : -1];
6510 main ()
6514 return 0;
6516 _ACEOF
6517 if ac_fn_c_try_compile "$LINENO"; then :
6518 ac_cv_sys_large_files=no; break
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523 #define _LARGE_FILES 1
6524 #include <sys/types.h>
6525 /* Check that off_t can represent 2**63 - 1 correctly.
6526 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6527 since some C++ compilers masquerading as C compilers
6528 incorrectly reject 9223372036854775807. */
6529 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6530 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6531 && LARGE_OFF_T % 2147483647 == 1)
6532 ? 1 : -1];
6534 main ()
6538 return 0;
6540 _ACEOF
6541 if ac_fn_c_try_compile "$LINENO"; then :
6542 ac_cv_sys_large_files=1; break
6544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6545 ac_cv_sys_large_files=unknown
6546 break
6547 done
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6550 $as_echo "$ac_cv_sys_large_files" >&6; }
6551 case $ac_cv_sys_large_files in #(
6552 no | unknown) ;;
6554 cat >>confdefs.h <<_ACEOF
6555 #define _LARGE_FILES $ac_cv_sys_large_files
6556 _ACEOF
6558 esac
6559 rm -rf conftest*
6566 ac_ext=c
6567 ac_cpp='$CPP $CPPFLAGS'
6568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6572 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6573 # On Suns, sometimes $CPP names a directory.
6574 if test -n "$CPP" && test -d "$CPP"; then
6575 CPP=
6577 if test -z "$CPP"; then
6578 if ${ac_cv_prog_CPP+:} false; then :
6579 $as_echo_n "(cached) " >&6
6580 else
6581 # Double quotes because CPP needs to be expanded
6582 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6584 ac_preproc_ok=false
6585 for ac_c_preproc_warn_flag in '' yes
6587 # Use a header file that comes with gcc, so configuring glibc
6588 # with a fresh cross-compiler works.
6589 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6590 # <limits.h> exists even on freestanding compilers.
6591 # On the NeXT, cc -E runs the code through the compiler's parser,
6592 # not just through cpp. "Syntax error" is here to catch this case.
6593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6594 /* end confdefs.h. */
6595 #ifdef __STDC__
6596 # include <limits.h>
6597 #else
6598 # include <assert.h>
6599 #endif
6600 Syntax error
6601 _ACEOF
6602 if ac_fn_c_try_cpp "$LINENO"; then :
6604 else
6605 # Broken: fails on valid input.
6606 continue
6608 rm -f conftest.err conftest.i conftest.$ac_ext
6610 # OK, works on sane cases. Now check whether nonexistent headers
6611 # can be detected and how.
6612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6613 /* end confdefs.h. */
6614 #include <ac_nonexistent.h>
6615 _ACEOF
6616 if ac_fn_c_try_cpp "$LINENO"; then :
6617 # Broken: success on invalid input.
6618 continue
6619 else
6620 # Passes both tests.
6621 ac_preproc_ok=:
6622 break
6624 rm -f conftest.err conftest.i conftest.$ac_ext
6626 done
6627 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6628 rm -f conftest.i conftest.err conftest.$ac_ext
6629 if $ac_preproc_ok; then :
6630 break
6633 done
6634 ac_cv_prog_CPP=$CPP
6637 CPP=$ac_cv_prog_CPP
6638 else
6639 ac_cv_prog_CPP=$CPP
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6642 $as_echo "$CPP" >&6; }
6643 ac_preproc_ok=false
6644 for ac_c_preproc_warn_flag in '' yes
6646 # Use a header file that comes with gcc, so configuring glibc
6647 # with a fresh cross-compiler works.
6648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6649 # <limits.h> exists even on freestanding compilers.
6650 # On the NeXT, cc -E runs the code through the compiler's parser,
6651 # not just through cpp. "Syntax error" is here to catch this case.
6652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6653 /* end confdefs.h. */
6654 #ifdef __STDC__
6655 # include <limits.h>
6656 #else
6657 # include <assert.h>
6658 #endif
6659 Syntax error
6660 _ACEOF
6661 if ac_fn_c_try_cpp "$LINENO"; then :
6663 else
6664 # Broken: fails on valid input.
6665 continue
6667 rm -f conftest.err conftest.i conftest.$ac_ext
6669 # OK, works on sane cases. Now check whether nonexistent headers
6670 # can be detected and how.
6671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */
6673 #include <ac_nonexistent.h>
6674 _ACEOF
6675 if ac_fn_c_try_cpp "$LINENO"; then :
6676 # Broken: success on invalid input.
6677 continue
6678 else
6679 # Passes both tests.
6680 ac_preproc_ok=:
6681 break
6683 rm -f conftest.err conftest.i conftest.$ac_ext
6685 done
6686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6687 rm -f conftest.i conftest.err conftest.$ac_ext
6688 if $ac_preproc_ok; then :
6690 else
6691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6693 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6694 See \`config.log' for more details" "$LINENO" 5; }
6697 ac_ext=c
6698 ac_cpp='$CPP $CPPFLAGS'
6699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6705 $as_echo_n "checking for ANSI C header files... " >&6; }
6706 if ${ac_cv_header_stdc+:} false; then :
6707 $as_echo_n "(cached) " >&6
6708 else
6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 #include <stdlib.h>
6712 #include <stdarg.h>
6713 #include <string.h>
6714 #include <float.h>
6717 main ()
6721 return 0;
6723 _ACEOF
6724 if ac_fn_c_try_compile "$LINENO"; then :
6725 ac_cv_header_stdc=yes
6726 else
6727 ac_cv_header_stdc=no
6729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6731 if test $ac_cv_header_stdc = yes; then
6732 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6734 /* end confdefs.h. */
6735 #include <string.h>
6737 _ACEOF
6738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6739 $EGREP "memchr" >/dev/null 2>&1; then :
6741 else
6742 ac_cv_header_stdc=no
6744 rm -f conftest*
6748 if test $ac_cv_header_stdc = yes; then
6749 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6751 /* end confdefs.h. */
6752 #include <stdlib.h>
6754 _ACEOF
6755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6756 $EGREP "free" >/dev/null 2>&1; then :
6758 else
6759 ac_cv_header_stdc=no
6761 rm -f conftest*
6765 if test $ac_cv_header_stdc = yes; then
6766 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6767 if test "$cross_compiling" = yes; then :
6769 else
6770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h. */
6772 #include <ctype.h>
6773 #include <stdlib.h>
6774 #if ((' ' & 0x0FF) == 0x020)
6775 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6776 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6777 #else
6778 # define ISLOWER(c) \
6779 (('a' <= (c) && (c) <= 'i') \
6780 || ('j' <= (c) && (c) <= 'r') \
6781 || ('s' <= (c) && (c) <= 'z'))
6782 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6783 #endif
6785 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6787 main ()
6789 int i;
6790 for (i = 0; i < 256; i++)
6791 if (XOR (islower (i), ISLOWER (i))
6792 || toupper (i) != TOUPPER (i))
6793 return 2;
6794 return 0;
6796 _ACEOF
6797 if ac_fn_c_try_run "$LINENO"; then :
6799 else
6800 ac_cv_header_stdc=no
6802 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6803 conftest.$ac_objext conftest.beam conftest.$ac_ext
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6809 $as_echo "$ac_cv_header_stdc" >&6; }
6810 if test $ac_cv_header_stdc = yes; then
6812 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6816 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6817 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6818 inttypes.h stdint.h unistd.h
6819 do :
6820 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6821 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6823 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6824 cat >>confdefs.h <<_ACEOF
6825 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6826 _ACEOF
6830 done
6833 for ac_header in \
6834 AL/al.h \
6835 ApplicationServices/ApplicationServices.h \
6836 AudioToolbox/AudioConverter.h \
6837 AudioUnit/AudioUnit.h \
6838 AudioUnit/AudioComponent.h \
6839 CL/cl.h \
6840 Carbon/Carbon.h \
6841 CommonCrypto/CommonDigest.h \
6842 CoreAudio/CoreAudio.h \
6843 CoreServices/CoreServices.h \
6844 DiskArbitration/DiskArbitration.h \
6845 EGL/egl.h \
6846 IOKit/IOKitLib.h \
6847 IOKit/hid/IOHIDLib.h \
6848 OpenAL/al.h \
6849 OpenCL/opencl.h \
6850 QuickTime/ImageCompression.h \
6851 Security/Security.h \
6852 alias.h \
6853 alsa/asoundlib.h \
6854 arpa/inet.h \
6855 arpa/nameser.h \
6856 asm/types.h \
6857 asm/user.h \
6858 curses.h \
6859 direct.h \
6860 dirent.h \
6861 dlfcn.h \
6862 elf.h \
6863 float.h \
6864 fnmatch.h \
6865 getopt.h \
6866 gettext-po.h \
6867 grp.h \
6868 gsm.h \
6869 gsm/gsm.h \
6870 ieeefp.h \
6871 inet/mib2.h \
6872 io.h \
6873 kstat.h \
6874 lber.h \
6875 ldap.h \
6876 libproc.h \
6877 link.h \
6878 linux/cdrom.h \
6879 linux/compiler.h \
6880 linux/filter.h \
6881 linux/hdreg.h \
6882 linux/hidraw.h \
6883 linux/input.h \
6884 linux/ioctl.h \
6885 linux/joystick.h \
6886 linux/major.h \
6887 linux/param.h \
6888 linux/serial.h \
6889 linux/types.h \
6890 linux/ucdrom.h \
6891 lwp.h \
6892 mach-o/nlist.h \
6893 mach-o/loader.h \
6894 mach/mach.h \
6895 mach/machine.h \
6896 machine/cpu.h \
6897 machine/limits.h \
6898 machine/sysarch.h \
6899 mntent.h \
6900 ncurses.h \
6901 netdb.h \
6902 netinet/in.h \
6903 netinet/in_systm.h \
6904 netinet/tcp.h \
6905 netinet/tcp_fsm.h \
6906 pcap/pcap.h \
6907 poll.h \
6908 port.h \
6909 process.h \
6910 pthread.h \
6911 pwd.h \
6912 sched.h \
6913 scsi/scsi.h \
6914 scsi/scsi_ioctl.h \
6915 scsi/sg.h \
6916 stdbool.h \
6917 stdint.h \
6918 stropts.h \
6919 sys/asoundlib.h \
6920 sys/attr.h \
6921 sys/auxv.h \
6922 sys/cdio.h \
6923 sys/elf32.h \
6924 sys/epoll.h \
6925 sys/event.h \
6926 sys/exec_elf.h \
6927 sys/filio.h \
6928 sys/inotify.h \
6929 sys/ioctl.h \
6930 sys/ipc.h \
6931 sys/limits.h \
6932 sys/link.h \
6933 sys/mman.h \
6934 sys/modem.h \
6935 sys/msg.h \
6936 sys/mtio.h \
6937 sys/param.h \
6938 sys/poll.h \
6939 sys/prctl.h \
6940 sys/protosw.h \
6941 sys/ptrace.h \
6942 sys/queue.h \
6943 sys/resource.h \
6944 sys/scsiio.h \
6945 sys/shm.h \
6946 sys/signal.h \
6947 sys/socket.h \
6948 sys/socketvar.h \
6949 sys/sockio.h \
6950 sys/statvfs.h \
6951 sys/strtio.h \
6952 sys/syscall.h \
6953 sys/sysinfo.h \
6954 sys/tihdr.h \
6955 sys/time.h \
6956 sys/timeout.h \
6957 sys/times.h \
6958 sys/uio.h \
6959 sys/user.h \
6960 sys/utsname.h \
6961 sys/vm86.h \
6962 sys/vnode.h \
6963 sys/wait.h \
6964 syscall.h \
6965 termios.h \
6966 unistd.h \
6967 utime.h \
6968 valgrind/memcheck.h \
6969 valgrind/valgrind.h \
6970 zlib.h
6972 do :
6973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6974 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6975 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6976 cat >>confdefs.h <<_ACEOF
6977 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6978 _ACEOF
6982 done
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6985 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6986 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6987 $as_echo_n "(cached) " >&6
6988 else
6989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6990 /* end confdefs.h. */
6991 #include <sys/types.h>
6993 main ()
6995 return makedev(0, 0);
6997 return 0;
6999 _ACEOF
7000 if ac_fn_c_try_link "$LINENO"; then :
7001 ac_cv_header_sys_types_h_makedev=yes
7002 else
7003 ac_cv_header_sys_types_h_makedev=no
7005 rm -f core conftest.err conftest.$ac_objext \
7006 conftest$ac_exeext conftest.$ac_ext
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7010 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7012 if test $ac_cv_header_sys_types_h_makedev = no; then
7013 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7014 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7016 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7022 if test $ac_cv_header_sys_mkdev_h = no; then
7023 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7024 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7026 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7035 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7036 if ${ac_cv_header_stat_broken+:} false; then :
7037 $as_echo_n "(cached) " >&6
7038 else
7039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7040 /* end confdefs.h. */
7041 #include <sys/types.h>
7042 #include <sys/stat.h>
7044 #if defined S_ISBLK && defined S_IFDIR
7045 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7046 #endif
7048 #if defined S_ISBLK && defined S_IFCHR
7049 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7050 #endif
7052 #if defined S_ISLNK && defined S_IFREG
7053 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7054 #endif
7056 #if defined S_ISSOCK && defined S_IFREG
7057 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7058 #endif
7060 _ACEOF
7061 if ac_fn_c_try_compile "$LINENO"; then :
7062 ac_cv_header_stat_broken=no
7063 else
7064 ac_cv_header_stat_broken=yes
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7069 $as_echo "$ac_cv_header_stat_broken" >&6; }
7070 if test $ac_cv_header_stat_broken = yes; then
7072 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7078 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7079 do :
7080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7081 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7082 #ifdef HAVE_SYS_PARAM_H
7083 # include <sys/param.h>
7084 #endif
7086 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7087 cat >>confdefs.h <<_ACEOF
7088 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7089 _ACEOF
7093 done
7096 for ac_header in \
7097 netinet/ip.h \
7098 net/if.h \
7099 net/if_arp.h \
7100 net/if_dl.h \
7101 net/if_types.h \
7102 net/route.h \
7103 netinet/if_ether.h \
7104 netinet/if_inarp.h \
7105 netinet/in_pcb.h \
7106 netinet/ip_icmp.h \
7107 netinet/ip_var.h \
7108 netinet/udp.h \
7109 netipx/ipx.h \
7110 sys/un.h \
7112 do :
7113 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7114 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7115 #ifdef HAVE_SYS_SOCKET_H
7116 # include <sys/socket.h>
7117 #endif
7118 #ifdef HAVE_SYS_SOCKETVAR_H
7119 # include <sys/socketvar.h>
7120 #endif
7121 #ifdef HAVE_NET_ROUTE_H
7122 # include <net/route.h>
7123 #endif
7124 #ifdef HAVE_NETINET_IN_H
7125 # include <netinet/in.h>
7126 #endif
7127 #ifdef HAVE_NETINET_IN_SYSTM_H
7128 # include <netinet/in_systm.h>
7129 #endif
7130 #ifdef HAVE_NET_IF_H
7131 # include <net/if.h>
7132 #endif
7133 #ifdef HAVE_NETINET_IP_H
7134 # include <netinet/ip.h>
7135 #endif
7137 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7138 cat >>confdefs.h <<_ACEOF
7139 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7140 _ACEOF
7144 done
7147 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7148 do :
7149 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7150 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7151 #ifdef HAVE_ALIAS_H
7152 # include <alias.h>
7153 #endif
7154 #ifdef HAVE_SYS_SOCKET_H
7155 # include <sys/socket.h>
7156 #endif
7157 #ifdef HAVE_SYS_SOCKETVAR_H
7158 # include <sys/socketvar.h>
7159 #endif
7160 #ifdef HAVE_SYS_TIMEOUT_H
7161 # include <sys/timeout.h>
7162 #endif
7163 #ifdef HAVE_NETINET_IN_H
7164 # include <netinet/in.h>
7165 #endif
7166 #ifdef HAVE_NETINET_IN_SYSTM_H
7167 # include <netinet/in_systm.h>
7168 #endif
7169 #ifdef HAVE_NETINET_IP_H
7170 # include <netinet/ip.h>
7171 #endif
7172 #ifdef HAVE_NETINET_IP_VAR_H
7173 # include <netinet/ip_var.h>
7174 #endif
7175 #ifdef HAVE_NETINET_IP_ICMP_H
7176 # include <netinet/ip_icmp.h>
7177 #endif
7178 #ifdef HAVE_NETINET_UDP_H
7179 # include <netinet/udp.h>
7180 #endif
7181 #ifdef HAVE_NETINET_TCP_H
7182 # include <netinet/tcp.h>
7183 #endif
7184 #ifdef HAVE_NETINET_TCP_TIMER_H
7185 #include <netinet/tcp_timer.h>
7186 #endif
7188 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7189 cat >>confdefs.h <<_ACEOF
7190 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7191 _ACEOF
7195 done
7198 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7199 do :
7200 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7201 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7202 #ifdef HAVE_ASM_TYPES_H
7203 # include <asm/types.h>
7204 #endif
7205 #ifdef HAVE_SYS_SOCKET_H
7206 # include <sys/socket.h>
7207 #endif
7208 #ifdef HAVE_LINUX_TYPES_H
7209 # include <linux/types.h>
7210 #endif
7212 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7213 cat >>confdefs.h <<_ACEOF
7214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7215 _ACEOF
7219 done
7222 for ac_header in mach-o/dyld_images.h
7223 do :
7224 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7225 # include <stdbool.h>
7226 #endif
7227 #ifdef HAVE_STDINT_H
7228 # include <stdint.h>
7229 #endif
7231 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7232 cat >>confdefs.h <<_ACEOF
7233 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7234 _ACEOF
7238 done
7241 for ac_header in resolv.h
7242 do :
7243 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7244 #ifdef HAVE_SYS_SOCKET_H
7245 # include <sys/socket.h>
7246 #endif
7247 #ifdef HAVE_NETINET_IN_H
7248 # include <netinet/in.h>
7249 #endif
7250 #ifdef HAVE_ARPA_NAMESER_H
7251 # include <arpa/nameser.h>
7252 #endif
7254 if test "x$ac_cv_header_resolv_h" = xyes; then :
7255 cat >>confdefs.h <<_ACEOF
7256 #define HAVE_RESOLV_H 1
7257 _ACEOF
7261 done
7264 for ac_header in ifaddrs.h
7265 do :
7266 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7268 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7269 cat >>confdefs.h <<_ACEOF
7270 #define HAVE_IFADDRS_H 1
7271 _ACEOF
7275 done
7278 for ac_header in sys/ucontext.h
7279 do :
7280 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7282 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7283 cat >>confdefs.h <<_ACEOF
7284 #define HAVE_SYS_UCONTEXT_H 1
7285 _ACEOF
7289 done
7292 for ac_header in sys/thr.h
7293 do :
7294 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7295 #ifdef HAVE_SYS_UCONTEXT_H
7296 #include <sys/ucontext.h>
7297 #endif
7299 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7300 cat >>confdefs.h <<_ACEOF
7301 #define HAVE_SYS_THR_H 1
7302 _ACEOF
7306 done
7309 for ac_header in pthread_np.h
7310 do :
7311 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7312 #include <pthread.h>
7313 #endif
7315 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7316 cat >>confdefs.h <<_ACEOF
7317 #define HAVE_PTHREAD_NP_H 1
7318 _ACEOF
7322 done
7325 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7326 do :
7327 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7328 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7329 #include <sys/time.h>
7330 #endif
7331 #include <sys/types.h>
7332 #ifdef HAVE_ASM_TYPES_H
7333 #include <asm/types.h>
7334 #endif
7336 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7337 cat >>confdefs.h <<_ACEOF
7338 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 _ACEOF
7343 done
7346 for ac_header in libprocstat.h
7347 do :
7348 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7349 #include <sys/param.h>
7350 #endif
7351 #ifdef HAVE_SYS_QUEUE_H
7352 #include <sys/queue.h>
7353 #endif
7354 #ifdef HAVE_SYS_SOCKET_H
7355 #include <sys/socket.h>
7356 #endif
7358 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7359 cat >>confdefs.h <<_ACEOF
7360 #define HAVE_LIBPROCSTAT_H 1
7361 _ACEOF
7365 done
7369 dlldir="\${libdir}/wine"
7371 DLLFLAGS="-D_REENTRANT"
7373 LDRPATH_INSTALL=""
7375 LDRPATH_LOCAL=""
7377 LDEXECFLAGS=""
7379 WINELOADER_LDFLAGS=""
7381 LIBEXT="so"
7382 DLLEXT=".so"
7383 IMPLIBEXT="def"
7384 # Extract the first word of "ldd", so it can be a program name with args.
7385 set dummy ldd; ac_word=$2
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 $as_echo_n "checking for $ac_word... " >&6; }
7388 if ${ac_cv_path_LDD+:} false; then :
7389 $as_echo_n "(cached) " >&6
7390 else
7391 case $LDD in
7392 [\\/]* | ?:[\\/]*)
7393 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7397 as_dummy="/sbin:/usr/sbin:$PATH"
7398 for as_dir in $as_dummy
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7404 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7412 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7414 esac
7416 LDD=$ac_cv_path_LDD
7417 if test -n "$LDD"; then
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7419 $as_echo "$LDD" >&6; }
7420 else
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7422 $as_echo "no" >&6; }
7426 if test -n "$ac_tool_prefix"; then
7427 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7428 set dummy ${ac_tool_prefix}otool; ac_word=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if ${ac_cv_prog_OTOOL+:} false; then :
7432 $as_echo_n "(cached) " >&6
7433 else
7434 if test -n "$OTOOL"; then
7435 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7436 else
7437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438 for as_dir in $PATH
7440 IFS=$as_save_IFS
7441 test -z "$as_dir" && as_dir=.
7442 for ac_exec_ext in '' $ac_executable_extensions; do
7443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7444 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446 break 2
7448 done
7449 done
7450 IFS=$as_save_IFS
7454 OTOOL=$ac_cv_prog_OTOOL
7455 if test -n "$OTOOL"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7457 $as_echo "$OTOOL" >&6; }
7458 else
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7465 if test -z "$ac_cv_prog_OTOOL"; then
7466 ac_ct_OTOOL=$OTOOL
7467 # Extract the first word of "otool", so it can be a program name with args.
7468 set dummy otool; ac_word=$2
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7470 $as_echo_n "checking for $ac_word... " >&6; }
7471 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7472 $as_echo_n "(cached) " >&6
7473 else
7474 if test -n "$ac_ct_OTOOL"; then
7475 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7476 else
7477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7478 for as_dir in $PATH
7480 IFS=$as_save_IFS
7481 test -z "$as_dir" && as_dir=.
7482 for ac_exec_ext in '' $ac_executable_extensions; do
7483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7484 ac_cv_prog_ac_ct_OTOOL="otool"
7485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 break 2
7488 done
7489 done
7490 IFS=$as_save_IFS
7494 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7495 if test -n "$ac_ct_OTOOL"; then
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7497 $as_echo "$ac_ct_OTOOL" >&6; }
7498 else
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7500 $as_echo "no" >&6; }
7503 if test "x$ac_ct_OTOOL" = x; then
7504 OTOOL="otool"
7505 else
7506 case $cross_compiling:$ac_tool_warned in
7507 yes:)
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7509 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7510 ac_tool_warned=yes ;;
7511 esac
7512 OTOOL=$ac_ct_OTOOL
7514 else
7515 OTOOL="$ac_cv_prog_OTOOL"
7518 if test -n "$ac_tool_prefix"; then
7519 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7520 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if ${ac_cv_prog_READELF+:} false; then :
7524 $as_echo_n "(cached) " >&6
7525 else
7526 if test -n "$READELF"; then
7527 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7528 else
7529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7530 for as_dir in $PATH
7532 IFS=$as_save_IFS
7533 test -z "$as_dir" && as_dir=.
7534 for ac_exec_ext in '' $ac_executable_extensions; do
7535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7536 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 break 2
7540 done
7541 done
7542 IFS=$as_save_IFS
7546 READELF=$ac_cv_prog_READELF
7547 if test -n "$READELF"; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7549 $as_echo "$READELF" >&6; }
7550 else
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7552 $as_echo "no" >&6; }
7557 if test -z "$ac_cv_prog_READELF"; then
7558 ac_ct_READELF=$READELF
7559 # Extract the first word of "readelf", so it can be a program name with args.
7560 set dummy readelf; ac_word=$2
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7562 $as_echo_n "checking for $ac_word... " >&6; }
7563 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7564 $as_echo_n "(cached) " >&6
7565 else
7566 if test -n "$ac_ct_READELF"; then
7567 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7568 else
7569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7570 for as_dir in $PATH
7572 IFS=$as_save_IFS
7573 test -z "$as_dir" && as_dir=.
7574 for ac_exec_ext in '' $ac_executable_extensions; do
7575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7576 ac_cv_prog_ac_ct_READELF="readelf"
7577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 break 2
7580 done
7581 done
7582 IFS=$as_save_IFS
7586 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7587 if test -n "$ac_ct_READELF"; then
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7589 $as_echo "$ac_ct_READELF" >&6; }
7590 else
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7592 $as_echo "no" >&6; }
7595 if test "x$ac_ct_READELF" = x; then
7596 READELF="true"
7597 else
7598 case $cross_compiling:$ac_tool_warned in
7599 yes:)
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7602 ac_tool_warned=yes ;;
7603 esac
7604 READELF=$ac_ct_READELF
7606 else
7607 READELF="$ac_cv_prog_READELF"
7610 wine_rules_file=conf$$rules.make
7611 rm -f $wine_rules_file
7612 SUBDIRS=""
7614 DISABLED_SUBDIRS=""
7616 CONFIGURE_TARGETS=""
7618 ALL_TEST_RESOURCES=""
7621 wine_fn_append_file ()
7623 as_fn_append $1 " \\$as_nl $2"
7626 wine_fn_append_rule ()
7628 $as_echo "$1" >>$wine_rules_file
7631 wine_fn_has_flag ()
7633 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7636 wine_fn_all_rules ()
7638 wine_fn_append_file SUBDIRS $ac_dir
7639 wine_fn_append_rule \
7640 "all: $ac_dir
7641 .PHONY: $ac_dir
7642 $ac_dir: dummy
7643 @cd $ac_dir && \$(MAKE)"
7646 wine_fn_install_rules ()
7648 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7650 wine_fn_append_rule \
7651 ".PHONY: $ac_dir/install $ac_dir/uninstall
7652 $ac_dir/install:: $ac_dir
7653 @cd $ac_dir && \$(MAKE) install
7654 $ac_dir/uninstall::
7655 @cd $ac_dir && \$(MAKE) uninstall
7656 install:: $ac_dir/install
7657 __uninstall__: $ac_dir/uninstall"
7659 if wine_fn_has_flag install-lib
7660 then
7661 wine_fn_append_rule \
7662 ".PHONY: $ac_dir/install-lib
7663 $ac_dir/install-lib:: $ac_dir
7664 @cd $ac_dir && \$(MAKE) install-lib
7665 install-lib:: $ac_dir/install-lib"
7668 if wine_fn_has_flag install-dev
7669 then
7670 wine_fn_append_rule \
7671 ".PHONY: $ac_dir/install-dev
7672 $ac_dir/install-dev:: $ac_dir
7673 @cd $ac_dir && \$(MAKE) install-dev
7674 install-dev:: $ac_dir/install-dev"
7678 wine_fn_clean_rules ()
7680 ac_clean=$@
7682 if wine_fn_has_flag clean
7683 then
7684 wine_fn_append_rule \
7685 "$ac_dir/clean: dummy
7686 @cd $ac_dir && \$(MAKE) clean"
7687 else
7688 wine_fn_append_rule \
7689 "$ac_dir/clean: dummy
7690 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7692 wine_fn_append_rule \
7693 "__clean__: $ac_dir/clean
7694 .PHONY: $ac_dir/clean"
7697 wine_fn_disabled_rules ()
7699 ac_clean=$@
7701 wine_fn_append_file SUBDIRS $ac_dir
7702 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7703 wine_fn_append_rule \
7704 "__clean__: $ac_dir/clean
7705 .PHONY: $ac_dir/clean
7706 $ac_dir/clean: dummy
7707 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7710 wine_fn_config_makefile ()
7712 ac_dir=$1
7713 ac_enable=$2
7714 ac_flags=$3
7716 case $ac_dir in
7717 fonts|server) test -z "$with_wine64" || return ;;
7718 esac
7719 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7720 wine_fn_disabled_rules; return
7722 wine_fn_all_rules
7723 wine_fn_install_rules
7724 wine_fn_clean_rules
7727 wine_fn_config_lib ()
7729 ac_name=$1
7730 ac_flags=$2
7731 ac_dir=dlls/$ac_name
7732 ac_deps="include"
7734 if test "x$enable_tools" = xno; then :
7736 else
7737 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7739 wine_fn_all_rules
7740 wine_fn_clean_rules
7742 wine_fn_append_rule \
7743 ".PHONY: $ac_dir/install $ac_dir/uninstall
7744 $ac_dir/install:: $ac_dir
7745 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7746 $ac_dir/uninstall::
7747 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7748 install install-dev:: $ac_dir/install
7749 __uninstall__: $ac_dir/uninstall
7750 __builddeps__: $ac_dir
7751 $ac_dir: $ac_deps"
7754 wine_fn_config_dll ()
7756 ac_name=$1
7757 ac_dir=dlls/$ac_name
7758 ac_enable=$2
7759 ac_flags=$3
7760 ac_implib=${4:-$ac_name}
7761 ac_file=$ac_dir/lib$ac_implib
7762 ac_dll=$ac_name
7763 ac_deps="include"
7764 ac_implibflags=""
7766 if test "x$enable_tools" = xno; then :
7768 else
7769 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7771 case $ac_name in
7772 *.*16) ac_implibflags=" -m16" ;;
7773 *.*) ;;
7774 *) ac_dll=$ac_dll.dll ;;
7775 esac
7777 ac_clean=
7778 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7779 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7781 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7782 if test "$ac_enable" != enable_win16
7783 then
7784 wine_fn_clean_rules $ac_clean
7785 wine_fn_append_file SUBDIRS $ac_dir
7786 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7787 else
7788 wine_fn_disabled_rules $ac_clean
7789 return
7791 else
7792 wine_fn_all_rules
7793 wine_fn_clean_rules $ac_clean
7794 wine_fn_append_rule \
7795 "$ac_dir: __builddeps__
7796 manpages htmlpages sgmlpages xmlpages::
7797 @cd $ac_dir && \$(MAKE) \$@
7798 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7799 install install-lib:: $ac_dir/install-lib
7800 __uninstall__: $ac_dir/uninstall"
7801 if test -n "$DLLEXT"
7802 then
7803 wine_fn_append_rule \
7804 "$ac_dir/install-lib:: $ac_dir
7805 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7806 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7807 $ac_dir/uninstall::
7808 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7809 else
7810 wine_fn_append_rule \
7811 "$ac_dir/install-lib:: $ac_dir
7812 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7813 $ac_dir/uninstall::
7814 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7818 if wine_fn_has_flag staticimplib
7819 then
7820 wine_fn_append_rule \
7821 "__builddeps__: $ac_file.a
7822 $ac_file.a $ac_file.cross.a: $ac_deps
7823 $ac_file.a: dummy
7824 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7825 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7826 $ac_dir/install-dev:: $ac_file.a
7827 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7828 $ac_dir/uninstall::
7829 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7830 install install-dev:: $ac_dir/install-dev
7831 __uninstall__: $ac_dir/uninstall"
7833 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7834 then
7835 wine_fn_append_rule \
7836 "__builddeps__: $ac_file.cross.a
7837 $ac_file.cross.a: dummy
7838 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7841 elif wine_fn_has_flag implib
7842 then
7843 wine_fn_append_rule \
7844 "__builddeps__: $ac_file.$IMPLIBEXT
7845 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7846 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7847 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7848 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7849 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7850 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7851 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7852 $ac_dir/uninstall::
7853 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7854 install install-dev:: $ac_dir/install-dev
7855 __uninstall__: $ac_dir/uninstall"
7856 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7857 then
7858 wine_fn_append_rule \
7859 "__builddeps__: $ac_file.cross.a
7860 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7861 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7866 wine_fn_config_program ()
7868 ac_name=$1
7869 ac_dir=programs/$ac_name
7870 ac_enable=$2
7871 ac_flags=$3
7872 ac_program=$ac_name
7874 case $ac_name in
7875 *.*) ;;
7876 *) ac_program=$ac_program.exe ;;
7877 esac
7879 ac_clean=
7880 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7881 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7883 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7884 wine_fn_disabled_rules $ac_clean; return
7887 wine_fn_all_rules
7888 wine_fn_clean_rules $ac_clean
7889 wine_fn_append_rule "$ac_dir: __builddeps__"
7891 wine_fn_has_flag install || return
7892 wine_fn_append_rule \
7893 ".PHONY: $ac_dir/install $ac_dir/uninstall
7894 install install-lib:: $ac_dir/install
7895 __uninstall__: $ac_dir/uninstall"
7897 if test -n "$DLLEXT"
7898 then
7899 wine_fn_append_rule \
7900 "$ac_dir/install:: $ac_dir
7901 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7902 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7903 $ac_dir/uninstall::
7904 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7906 if test -z "$with_wine64" && wine_fn_has_flag installbin
7907 then
7908 wine_fn_append_rule \
7909 "$ac_dir/install:: __tooldeps__
7910 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7911 $ac_dir/uninstall::
7912 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7914 else
7915 wine_fn_append_rule \
7916 "$ac_dir/install:: $ac_dir
7917 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7918 $ac_dir/uninstall::
7919 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7922 if test -z "$with_wine64" && wine_fn_has_flag manpage
7923 then
7924 wine_fn_append_rule \
7925 "$ac_dir/install:: $ac_dir
7926 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7927 $ac_dir/uninstall::
7928 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7932 wine_fn_config_test ()
7934 ac_dir=$1
7935 ac_name=$2
7936 ac_flags=$3
7938 ac_clean=
7939 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7940 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7942 if test "x$enable_tests" = xno; then :
7943 wine_fn_disabled_rules $ac_clean; return
7946 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7947 wine_fn_all_rules
7948 wine_fn_clean_rules $ac_clean
7950 wine_fn_append_rule \
7951 "$ac_dir: __builddeps__
7952 programs/winetest: $ac_dir
7953 check test: $ac_dir/test
7954 .PHONY: $ac_dir/test
7955 $ac_dir/test: dummy
7956 @cd $ac_dir && \$(MAKE) test
7957 testclean::
7958 \$(RM) $ac_dir/*.ok"
7960 if test -n "$CROSSTARGET"
7961 then
7962 wine_fn_append_rule \
7963 "crosstest: $ac_dir/crosstest
7964 .PHONY: $ac_dir/crosstest
7965 $ac_dir/crosstest: __builddeps__ dummy
7966 @cd $ac_dir && \$(MAKE) crosstest"
7970 wine_fn_config_tool ()
7972 ac_dir=$1
7973 ac_flags=$2
7974 if test "x$enable_tools" = xno; then :
7975 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7978 wine_fn_all_rules
7979 wine_fn_install_rules
7980 wine_fn_clean_rules
7982 wine_fn_append_rule "__tooldeps__: $ac_dir"
7983 wine_fn_append_rule "$ac_dir: libs/port"
7984 case $ac_dir in
7985 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7986 esac
7989 wine_fn_config_symlink ()
7991 ac_linkdir=
7992 if test "x$1" = "x-d"
7993 then
7994 ac_linkdir=$2
7995 shift; shift
7997 ac_links=$@
7998 wine_fn_append_rule \
7999 "$ac_links:
8000 @./config.status \$@"
8001 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8002 test -n "$ac_linkdir" || return
8003 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8006 wine_binary="wine"
8007 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8008 WINELOADER_PROGRAMS="$wine_binary"
8010 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8012 case $host_os in
8013 cygwin*|mingw32*)
8014 if test -n "$ac_tool_prefix"; then
8015 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8016 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018 $as_echo_n "checking for $ac_word... " >&6; }
8019 if ${ac_cv_prog_DLLTOOL+:} false; then :
8020 $as_echo_n "(cached) " >&6
8021 else
8022 if test -n "$DLLTOOL"; then
8023 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8024 else
8025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026 for as_dir in $PATH
8028 IFS=$as_save_IFS
8029 test -z "$as_dir" && as_dir=.
8030 for ac_exec_ext in '' $ac_executable_extensions; do
8031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034 break 2
8036 done
8037 done
8038 IFS=$as_save_IFS
8042 DLLTOOL=$ac_cv_prog_DLLTOOL
8043 if test -n "$DLLTOOL"; then
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8045 $as_echo "$DLLTOOL" >&6; }
8046 else
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048 $as_echo "no" >&6; }
8053 if test -z "$ac_cv_prog_DLLTOOL"; then
8054 ac_ct_DLLTOOL=$DLLTOOL
8055 # Extract the first word of "dlltool", so it can be a program name with args.
8056 set dummy dlltool; ac_word=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8060 $as_echo_n "(cached) " >&6
8061 else
8062 if test -n "$ac_ct_DLLTOOL"; then
8063 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8064 else
8065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066 for as_dir in $PATH
8068 IFS=$as_save_IFS
8069 test -z "$as_dir" && as_dir=.
8070 for ac_exec_ext in '' $ac_executable_extensions; do
8071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074 break 2
8076 done
8077 done
8078 IFS=$as_save_IFS
8082 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8083 if test -n "$ac_ct_DLLTOOL"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8085 $as_echo "$ac_ct_DLLTOOL" >&6; }
8086 else
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8091 if test "x$ac_ct_DLLTOOL" = x; then
8092 DLLTOOL="false"
8093 else
8094 case $cross_compiling:$ac_tool_warned in
8095 yes:)
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8097 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8098 ac_tool_warned=yes ;;
8099 esac
8100 DLLTOOL=$ac_ct_DLLTOOL
8102 else
8103 DLLTOOL="$ac_cv_prog_DLLTOOL"
8106 LIBEXT="dll"
8107 DLLEXT=""
8108 IMPLIBEXT="a"
8109 enable_iphlpapi=${enable_iphlpapi:-no}
8110 enable_kernel32=${enable_kernel32:-no}
8111 enable_msvcrt=${enable_msvcrt:-no}
8112 enable_ntdll=${enable_ntdll:-no}
8113 enable_ws2_32=${enable_ws2_32:-no}
8114 enable_loader=${enable_loader:-no}
8115 enable_server=${enable_server:-no}
8116 with_x=${with_x:-no}
8117 with_pthread=${with_pthread:-no}
8119 crtlibs=""
8120 case $host_os in
8121 mingw32*)
8122 crtlibs="-lmsvcrt"
8123 SOCKET_LIBS="-lws2_32"
8125 esac
8127 LIBWINE_SHAREDLIB="libwine.dll"
8129 LIBWINE_IMPORTLIB="libwine.a"
8131 LIBWINE_INSTALL_LIB="libwine.dll"
8133 LIBWINE_INSTALL_DEV="libwine.a"
8135 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8137 LIBWINE_DEPENDS="wine.def"
8141 darwin*|macosx*)
8142 for ac_header in libunwind.h
8143 do :
8144 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8146 cat >>confdefs.h <<_ACEOF
8147 #define HAVE_LIBUNWIND_H 1
8148 _ACEOF
8152 done
8154 LIBEXT="dylib"
8155 DLLFLAGS="$DLLFLAGS -fPIC"
8156 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8157 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8158 COREFOUNDATION_LIBS="-framework CoreFoundation"
8160 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8162 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8164 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8166 CORESERVICES_LIBS="-framework CoreServices"
8168 APPKIT_LIBS="-framework AppKit"
8170 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8172 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8173 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8174 $as_echo_n "(cached) " >&6
8175 else
8176 ac_wine_try_cflags_saved=$CFLAGS
8177 CFLAGS="$CFLAGS -Wl,-no_pie"
8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8180 int main(int argc, char **argv) { return 0; }
8181 _ACEOF
8182 if ac_fn_c_try_link "$LINENO"; then :
8183 ac_cv_cflags__Wl__no_pie=yes
8184 else
8185 ac_cv_cflags__Wl__no_pie=no
8187 rm -f core conftest.err conftest.$ac_objext \
8188 conftest$ac_exeext conftest.$ac_ext
8189 CFLAGS=$ac_wine_try_cflags_saved
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8192 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8193 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8194 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8196 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8197 then
8198 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8201 if test "$ac_cv_header_Security_Security_h" = "yes"
8202 then
8203 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8205 ac_save_LIBS="$LIBS"
8206 LIBS="$LIBS $SECURITY_LIBS"
8207 for ac_func in SSLCopyPeerCertificates
8208 do :
8209 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8210 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8211 cat >>confdefs.h <<_ACEOF
8212 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8213 _ACEOF
8216 done
8218 LIBS="$ac_save_LIBS"
8219 with_gnutls=${with_gnutls:-no}
8221 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8222 then
8223 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8224 then
8225 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8227 else
8228 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8231 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8232 ac_save_LIBS="$LIBS"
8233 LIBS="$LIBS $COREAUDIO_LIBS"
8234 for ac_func in AUGraphAddNode
8235 do :
8236 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8237 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8238 cat >>confdefs.h <<_ACEOF
8239 #define HAVE_AUGRAPHADDNODE 1
8240 _ACEOF
8243 done
8245 LIBS="$ac_save_LIBS"
8247 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8248 then
8249 OPENAL_LIBS="-framework OpenAL"
8252 cat >>confdefs.h <<_ACEOF
8253 #define HAVE_OPENAL 1
8254 _ACEOF
8256 ac_cv_lib_openal=yes
8258 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8259 then
8260 OPENCL_LIBS="-framework OpenCL"
8262 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8264 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8265 then
8266 ac_save_LIBS="$LIBS"
8267 LIBS="$LIBS $IOKIT_LIBS"
8268 for ac_func in IOHIDManagerCreate
8269 do :
8270 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8271 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8272 cat >>confdefs.h <<_ACEOF
8273 #define HAVE_IOHIDMANAGERCREATE 1
8274 _ACEOF
8277 done
8279 LIBS="$ac_save_LIBS"
8281 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8282 then
8283 ac_save_LIBS="$LIBS"
8284 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8286 $as_echo_n "checking for the QuickTime framework... " >&6; }
8287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8288 /* end confdefs.h. */
8289 #include <QuickTime/ImageCompression.h>
8291 main ()
8293 CodecManagerVersion(NULL);
8295 return 0;
8297 _ACEOF
8298 if ac_fn_c_try_link "$LINENO"; then :
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8300 $as_echo "yes" >&6; }
8301 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8303 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8304 else
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8307 ac_cv_header_QuickTime_ImageCompression_h=no
8309 rm -f core conftest.err conftest.$ac_objext \
8310 conftest$ac_exeext conftest.$ac_ext
8311 LIBS="$ac_save_LIBS"
8313 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8314 then
8315 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8317 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8318 then
8319 CARBON_LIBS="-framework Carbon"
8323 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8324 then
8325 ac_save_LIBS="$LIBS"
8326 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8327 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8328 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8329 enable_winemac_drv=${enable_winemac_drv:-yes}
8332 LIBS="$ac_save_LIBS"
8335 if test "x$enable_win16" = "xyes"
8336 then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8338 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8339 if test "$cross_compiling" = yes; then :
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8341 $as_echo "cross-compiling, assuming yes" >&6; }
8342 else
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 asm(".text\n"
8346 "bad:\tnop;nop\n"
8347 "good:\tnop;nop\n\t"
8348 ".globl _testfunc\n"
8349 "_testfunc:\tcallw good");
8350 extern void testfunc();
8352 main ()
8354 unsigned short *p = (unsigned short *)testfunc;
8355 return p[0] != 0xe866 || p[1] != 0xfffa
8357 return 0;
8359 _ACEOF
8360 if ac_fn_c_try_run "$LINENO"; then :
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8362 $as_echo "yes" >&6; }
8363 else
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8365 $as_echo "no" >&6; }
8366 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
8368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8369 conftest.$ac_objext conftest.beam conftest.$ac_ext
8374 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8376 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8378 LIBWINE_INSTALL_DEV="libwine.dylib"
8380 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8382 WINELOADER_DEPENDS="wine_info.plist"
8386 linux-android*)
8387 DLLFLAGS="$DLLFLAGS -fPIC"
8388 LDEXECFLAGS="-Wl,-pie"
8389 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8391 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8392 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 ac_wine_try_cflags_saved=$CFLAGS
8396 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 int main(int argc, char **argv) { return 0; }
8400 _ACEOF
8401 if ac_fn_c_try_link "$LINENO"; then :
8402 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8403 else
8404 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8406 rm -f core conftest.err conftest.$ac_objext \
8407 conftest$ac_exeext conftest.$ac_ext
8408 CFLAGS=$ac_wine_try_cflags_saved
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8411 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8412 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8413 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8415 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8417 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8418 if eval \${$as_ac_var+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 int main(int argc, char **argv) { return 0; }
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 eval "$as_ac_var=yes"
8429 else
8430 eval "$as_ac_var=no"
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 eval ac_res=\$$as_ac_var
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8438 $as_echo "$ac_res" >&6; }
8439 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8440 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8441 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8442 else
8443 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8445 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8446 if eval \${$as_ac_var+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 eval "$as_ac_var=yes"
8457 else
8458 eval "$as_ac_var=no"
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 eval ac_res=\$$as_ac_var
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8466 $as_echo "$ac_res" >&6; }
8467 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8468 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8469 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8473 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8474 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8482 _ACEOF
8483 if ac_fn_c_try_link "$LINENO"; then :
8484 ac_cv_cflags__Wl___enable_new_dtags=yes
8485 else
8486 ac_cv_cflags__Wl___enable_new_dtags=no
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 CFLAGS=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8493 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8494 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8495 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8498 LIBWINE_SHAREDLIB="libwine.so"
8500 LIBWINE_INSTALL_LIB="libwine.so"
8502 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8506 $as_echo_n "checking for -lEGL... " >&6; }
8507 if ${ac_cv_lib_soname_EGL+:} false; then :
8508 $as_echo_n "(cached) " >&6
8509 else
8510 ac_check_soname_save_LIBS=$LIBS
8511 LIBS="-lEGL $LIBS"
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8515 /* Override any GCC internal prototype to avoid an error.
8516 Use char because int might match the return type of a GCC
8517 builtin and then its argument prototype would still apply. */
8518 #ifdef __cplusplus
8519 extern "C"
8520 #endif
8521 char eglGetProcAddress ();
8523 main ()
8525 return eglGetProcAddress ();
8527 return 0;
8529 _ACEOF
8530 if ac_fn_c_try_link "$LINENO"; then :
8531 case "$LIBEXT" in
8532 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8533 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'` ;;
8534 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8535 if ${ac_cv_lib_soname_EGL:+false} :; then :
8536 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8537 fi ;;
8538 esac
8540 rm -f core conftest.err conftest.$ac_objext \
8541 conftest$ac_exeext conftest.$ac_ext
8542 LIBS=$ac_check_soname_save_LIBS
8544 if ${ac_cv_lib_soname_EGL:+false} :; then :
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8546 $as_echo "not found" >&6; }
8548 else
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8550 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8552 cat >>confdefs.h <<_ACEOF
8553 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8554 _ACEOF
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8559 $as_echo_n "checking for -lGLESv2... " >&6; }
8560 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8561 $as_echo_n "(cached) " >&6
8562 else
8563 ac_check_soname_save_LIBS=$LIBS
8564 LIBS="-lGLESv2 $LIBS"
8565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8566 /* end confdefs.h. */
8568 /* Override any GCC internal prototype to avoid an error.
8569 Use char because int might match the return type of a GCC
8570 builtin and then its argument prototype would still apply. */
8571 #ifdef __cplusplus
8572 extern "C"
8573 #endif
8574 char glFlush ();
8576 main ()
8578 return glFlush ();
8580 return 0;
8582 _ACEOF
8583 if ac_fn_c_try_link "$LINENO"; then :
8584 case "$LIBEXT" in
8585 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8586 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'` ;;
8587 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8588 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8589 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8590 fi ;;
8591 esac
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 LIBS=$ac_check_soname_save_LIBS
8597 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8599 $as_echo "not found" >&6; }
8601 else
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8603 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8605 cat >>confdefs.h <<_ACEOF
8606 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8607 _ACEOF
8612 if test "x$exec_prefix" = xNONE
8613 then
8614 case $host_cpu in
8615 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8616 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8617 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8618 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8619 esac
8624 DLLFLAGS="$DLLFLAGS -fPIC"
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8626 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8627 if ${ac_cv_c_dll_gnuelf+:} false; then :
8628 $as_echo_n "(cached) " >&6
8629 else
8630 ac_wine_try_cflags_saved=$CFLAGS
8631 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8633 /* end confdefs.h. */
8634 void myfunc() {}
8635 _ACEOF
8636 if ac_fn_c_try_link "$LINENO"; then :
8637 ac_cv_c_dll_gnuelf="yes"
8638 else
8639 ac_cv_c_dll_gnuelf="no"
8641 rm -f core conftest.err conftest.$ac_objext \
8642 conftest$ac_exeext conftest.$ac_ext
8643 CFLAGS=$ac_wine_try_cflags_saved
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8646 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8647 if test "$ac_cv_c_dll_gnuelf" = "yes"
8648 then
8649 LIBWINE_LDFLAGS="-shared"
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8651 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8652 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8653 $as_echo_n "(cached) " >&6
8654 else
8655 ac_wine_try_cflags_saved=$CFLAGS
8656 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8658 /* end confdefs.h. */
8659 int main(int argc, char **argv) { return 0; }
8660 _ACEOF
8661 if ac_fn_c_try_link "$LINENO"; then :
8662 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8663 else
8664 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8666 rm -f core conftest.err conftest.$ac_objext \
8667 conftest$ac_exeext conftest.$ac_ext
8668 CFLAGS=$ac_wine_try_cflags_saved
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8671 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8672 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8673 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8674 else
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8676 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8677 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8678 $as_echo_n "(cached) " >&6
8679 else
8680 ac_wine_try_cflags_saved=$CFLAGS
8681 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8683 /* end confdefs.h. */
8684 int main(int argc, char **argv) { return 0; }
8685 _ACEOF
8686 if ac_fn_c_try_link "$LINENO"; then :
8687 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8688 else
8689 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8691 rm -f core conftest.err conftest.$ac_objext \
8692 conftest$ac_exeext conftest.$ac_ext
8693 CFLAGS=$ac_wine_try_cflags_saved
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8696 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8697 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8698 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8702 echo '{ global: *; };' >conftest.map
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8704 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8705 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8706 $as_echo_n "(cached) " >&6
8707 else
8708 ac_wine_try_cflags_saved=$CFLAGS
8709 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8711 /* end confdefs.h. */
8712 int main(int argc, char **argv) { return 0; }
8713 _ACEOF
8714 if ac_fn_c_try_link "$LINENO"; then :
8715 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8716 else
8717 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8719 rm -f core conftest.err conftest.$ac_objext \
8720 conftest$ac_exeext conftest.$ac_ext
8721 CFLAGS=$ac_wine_try_cflags_saved
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8724 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8725 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8726 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8728 rm -f conftest.map
8730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8731 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8732 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8733 $as_echo_n "(cached) " >&6
8734 else
8735 ac_wine_try_cflags_saved=$CFLAGS
8736 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8738 /* end confdefs.h. */
8739 int main(int argc, char **argv) { return 0; }
8740 _ACEOF
8741 if ac_fn_c_try_link "$LINENO"; then :
8742 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8743 else
8744 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8746 rm -f core conftest.err conftest.$ac_objext \
8747 conftest$ac_exeext conftest.$ac_ext
8748 CFLAGS=$ac_wine_try_cflags_saved
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8751 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8752 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8753 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8756 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8758 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8759 if eval \${$as_ac_var+:} false; then :
8760 $as_echo_n "(cached) " >&6
8761 else
8762 ac_wine_try_cflags_saved=$CFLAGS
8763 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h. */
8766 int main(int argc, char **argv) { return 0; }
8767 _ACEOF
8768 if ac_fn_c_try_link "$LINENO"; then :
8769 eval "$as_ac_var=yes"
8770 else
8771 eval "$as_ac_var=no"
8773 rm -f core conftest.err conftest.$ac_objext \
8774 conftest$ac_exeext conftest.$ac_ext
8775 CFLAGS=$ac_wine_try_cflags_saved
8777 eval ac_res=\$$as_ac_var
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8779 $as_echo "$ac_res" >&6; }
8780 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8781 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8782 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8783 else
8784 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8786 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8787 if eval \${$as_ac_var+:} false; then :
8788 $as_echo_n "(cached) " >&6
8789 else
8790 ac_wine_try_cflags_saved=$CFLAGS
8791 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8793 /* end confdefs.h. */
8794 int main(int argc, char **argv) { return 0; }
8795 _ACEOF
8796 if ac_fn_c_try_link "$LINENO"; then :
8797 eval "$as_ac_var=yes"
8798 else
8799 eval "$as_ac_var=no"
8801 rm -f core conftest.err conftest.$ac_objext \
8802 conftest$ac_exeext conftest.$ac_ext
8803 CFLAGS=$ac_wine_try_cflags_saved
8805 eval ac_res=\$$as_ac_var
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8807 $as_echo "$ac_res" >&6; }
8808 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8809 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8810 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8815 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8816 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8817 $as_echo_n "(cached) " >&6
8818 else
8819 ac_wine_try_cflags_saved=$CFLAGS
8820 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h. */
8823 int main(int argc, char **argv) { return 0; }
8824 _ACEOF
8825 if ac_fn_c_try_link "$LINENO"; then :
8826 ac_cv_cflags__Wl___enable_new_dtags=yes
8827 else
8828 ac_cv_cflags__Wl___enable_new_dtags=no
8830 rm -f core conftest.err conftest.$ac_objext \
8831 conftest$ac_exeext conftest.$ac_ext
8832 CFLAGS=$ac_wine_try_cflags_saved
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8835 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8836 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8837 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8840 case $host_cpu in
8841 *i[3456789]86* | x86_64)
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8843 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8844 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8845 $as_echo_n "(cached) " >&6
8846 else
8847 ac_wine_try_cflags_saved=$CFLAGS
8848 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8851 int main(int argc, char **argv) { return 0; }
8852 _ACEOF
8853 if ac_fn_c_try_link "$LINENO"; then :
8854 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8855 else
8856 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8858 rm -f core conftest.err conftest.$ac_objext \
8859 conftest$ac_exeext conftest.$ac_ext
8860 CFLAGS=$ac_wine_try_cflags_saved
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8863 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8864 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8865 case $host_os in
8866 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8867 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8868 esac
8869 else
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8871 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8872 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8873 $as_echo_n "(cached) " >&6
8874 else
8875 ac_wine_try_cflags_saved=$CFLAGS
8876 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8878 /* end confdefs.h. */
8879 int main(int argc, char **argv) { return 0; }
8880 _ACEOF
8881 if ac_fn_c_try_link "$LINENO"; then :
8882 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8883 else
8884 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8886 rm -f core conftest.err conftest.$ac_objext \
8887 conftest$ac_exeext conftest.$ac_ext
8888 CFLAGS=$ac_wine_try_cflags_saved
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8891 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8892 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8893 case $host_os in
8894 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8895 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8896 esac
8898 # Extract the first word of "prelink", so it can be a program name with args.
8899 set dummy prelink; ac_word=$2
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8901 $as_echo_n "checking for $ac_word... " >&6; }
8902 if ${ac_cv_path_PRELINK+:} false; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 case $PRELINK in
8906 [\\/]* | ?:[\\/]*)
8907 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8911 for as_dir in /sbin /usr/sbin $PATH
8913 IFS=$as_save_IFS
8914 test -z "$as_dir" && as_dir=.
8915 for ac_exec_ext in '' $ac_executable_extensions; do
8916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8917 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8919 break 2
8921 done
8922 done
8923 IFS=$as_save_IFS
8925 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8927 esac
8929 PRELINK=$ac_cv_path_PRELINK
8930 if test -n "$PRELINK"; then
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8932 $as_echo "$PRELINK" >&6; }
8933 else
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8935 $as_echo "no" >&6; }
8939 if test "x$PRELINK" = xfalse
8940 then
8941 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8945 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8946 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8947 $as_echo_n "(cached) " >&6
8948 else
8949 ac_wine_try_cflags_saved=$CFLAGS
8950 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8952 /* end confdefs.h. */
8953 int main(int argc, char **argv) { return 0; }
8954 _ACEOF
8955 if ac_fn_c_try_link "$LINENO"; then :
8956 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8957 else
8958 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8960 rm -f core conftest.err conftest.$ac_objext \
8961 conftest$ac_exeext conftest.$ac_ext
8962 CFLAGS=$ac_wine_try_cflags_saved
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8965 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8966 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8967 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8970 esac
8972 else
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8974 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8975 if ${ac_cv_c_dll_unixware+:} false; then :
8976 $as_echo_n "(cached) " >&6
8977 else
8978 ac_wine_try_cflags_saved=$CFLAGS
8979 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8981 /* end confdefs.h. */
8982 void myfunc() {}
8983 _ACEOF
8984 if ac_fn_c_try_link "$LINENO"; then :
8985 ac_cv_c_dll_unixware="yes"
8986 else
8987 ac_cv_c_dll_unixware="no"
8989 rm -f core conftest.err conftest.$ac_objext \
8990 conftest$ac_exeext conftest.$ac_ext
8991 CFLAGS=$ac_wine_try_cflags_saved
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8994 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8995 if test "$ac_cv_c_dll_unixware" = "yes"
8996 then
8997 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9000 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9002 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9004 LIBWINE_INSTALL_DEV="libwine.so"
9006 LIBWINE_DEPENDS="wine.map"
9009 esac
9011 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9012 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9013 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9014 enable_winemac_drv=${enable_winemac_drv:-no}
9015 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9017 CROSSTARGET=""
9019 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9020 then
9021 case "$host_cpu" in
9022 arm*)
9023 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9024 i[3456789]86*)
9025 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
9026 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9027 mingw32-gcc" ;;
9028 x86_64)
9029 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
9030 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9032 ac_prefix_list="" ;;
9033 esac
9034 for ac_prog in $ac_prefix_list
9036 # Extract the first word of "$ac_prog", so it can be a program name with args.
9037 set dummy $ac_prog; ac_word=$2
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9039 $as_echo_n "checking for $ac_word... " >&6; }
9040 if ${ac_cv_prog_CROSSCC+:} false; then :
9041 $as_echo_n "(cached) " >&6
9042 else
9043 if test -n "$CROSSCC"; then
9044 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9045 else
9046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9047 for as_dir in $PATH
9049 IFS=$as_save_IFS
9050 test -z "$as_dir" && as_dir=.
9051 for ac_exec_ext in '' $ac_executable_extensions; do
9052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9053 ac_cv_prog_CROSSCC="$ac_prog"
9054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9055 break 2
9057 done
9058 done
9059 IFS=$as_save_IFS
9063 CROSSCC=$ac_cv_prog_CROSSCC
9064 if test -n "$CROSSCC"; then
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9066 $as_echo "$CROSSCC" >&6; }
9067 else
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9069 $as_echo "no" >&6; }
9073 test -n "$CROSSCC" && break
9074 done
9075 test -n "$CROSSCC" || CROSSCC="false"
9077 if test "$CROSSCC" != "false"
9078 then
9079 ac_save_CC="$CC"
9080 CC="$CROSSCC"
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9082 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9084 /* end confdefs.h. */
9087 main ()
9091 return 0;
9093 _ACEOF
9094 if ac_fn_c_try_compile "$LINENO"; then :
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9096 $as_echo "yes" >&6; }
9097 set x $CROSSCC
9098 shift
9099 while test $# -ge 1
9101 case "$1" in
9102 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9103 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9104 esac
9105 shift
9106 done
9107 else
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9109 $as_echo "no" >&6; }
9111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9112 CC="$ac_save_CC"
9113 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9119 if test "$ac_cv_header_pthread_h" = "yes"
9120 then
9121 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9122 if test "x$ac_cv_func_pthread_create" = xyes; then :
9124 else
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9126 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9127 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_check_lib_save_LIBS=$LIBS
9131 LIBS="-lpthread $LIBS"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9138 #ifdef __cplusplus
9139 extern "C"
9140 #endif
9141 char pthread_create ();
9143 main ()
9145 return pthread_create ();
9147 return 0;
9149 _ACEOF
9150 if ac_fn_c_try_link "$LINENO"; then :
9151 ac_cv_lib_pthread_pthread_create=yes
9152 else
9153 ac_cv_lib_pthread_pthread_create=no
9155 rm -f core conftest.err conftest.$ac_objext \
9156 conftest$ac_exeext conftest.$ac_ext
9157 LIBS=$ac_check_lib_save_LIBS
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9160 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9161 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9162 PTHREAD_LIBS="-lpthread"
9169 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9170 case "x$with_pthread" in
9171 xno) ;;
9172 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9173 Wine cannot support threads without libpthread.
9174 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9175 esac
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9181 $as_echo_n "checking for X... " >&6; }
9184 # Check whether --with-x was given.
9185 if test "${with_x+set}" = set; then :
9186 withval=$with_x;
9189 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9190 if test "x$with_x" = xno; then
9191 # The user explicitly disabled X.
9192 have_x=disabled
9193 else
9194 case $x_includes,$x_libraries in #(
9195 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9196 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9197 $as_echo_n "(cached) " >&6
9198 else
9199 # One or both of the vars are not set, and there is no cached value.
9200 ac_x_includes=no ac_x_libraries=no
9201 rm -f -r conftest.dir
9202 if mkdir conftest.dir; then
9203 cd conftest.dir
9204 cat >Imakefile <<'_ACEOF'
9205 incroot:
9206 @echo incroot='${INCROOT}'
9207 usrlibdir:
9208 @echo usrlibdir='${USRLIBDIR}'
9209 libdir:
9210 @echo libdir='${LIBDIR}'
9211 _ACEOF
9212 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9213 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9214 for ac_var in incroot usrlibdir libdir; do
9215 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9216 done
9217 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9218 for ac_extension in a so sl dylib la dll; do
9219 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9220 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9221 ac_im_usrlibdir=$ac_im_libdir; break
9223 done
9224 # Screen out bogus values from the imake configuration. They are
9225 # bogus both because they are the default anyway, and because
9226 # using them would break gcc on systems where it needs fixed includes.
9227 case $ac_im_incroot in
9228 /usr/include) ac_x_includes= ;;
9229 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9230 esac
9231 case $ac_im_usrlibdir in
9232 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9233 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9234 esac
9236 cd ..
9237 rm -f -r conftest.dir
9240 # Standard set of common directories for X headers.
9241 # Check X11 before X11Rn because it is often a symlink to the current release.
9242 ac_x_header_dirs='
9243 /usr/X11/include
9244 /usr/X11R7/include
9245 /usr/X11R6/include
9246 /usr/X11R5/include
9247 /usr/X11R4/include
9249 /usr/include/X11
9250 /usr/include/X11R7
9251 /usr/include/X11R6
9252 /usr/include/X11R5
9253 /usr/include/X11R4
9255 /usr/local/X11/include
9256 /usr/local/X11R7/include
9257 /usr/local/X11R6/include
9258 /usr/local/X11R5/include
9259 /usr/local/X11R4/include
9261 /usr/local/include/X11
9262 /usr/local/include/X11R7
9263 /usr/local/include/X11R6
9264 /usr/local/include/X11R5
9265 /usr/local/include/X11R4
9267 /usr/X386/include
9268 /usr/x386/include
9269 /usr/XFree86/include/X11
9271 /usr/include
9272 /usr/local/include
9273 /usr/unsupported/include
9274 /usr/athena/include
9275 /usr/local/x11r5/include
9276 /usr/lpp/Xamples/include
9278 /usr/openwin/include
9279 /usr/openwin/share/include'
9281 if test "$ac_x_includes" = no; then
9282 # Guess where to find include files, by looking for Xlib.h.
9283 # First, try using that file with no special directory specified.
9284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9285 /* end confdefs.h. */
9286 #include <X11/Xlib.h>
9287 _ACEOF
9288 if ac_fn_c_try_cpp "$LINENO"; then :
9289 # We can compile using X headers with no special include directory.
9290 ac_x_includes=
9291 else
9292 for ac_dir in $ac_x_header_dirs; do
9293 if test -r "$ac_dir/X11/Xlib.h"; then
9294 ac_x_includes=$ac_dir
9295 break
9297 done
9299 rm -f conftest.err conftest.i conftest.$ac_ext
9300 fi # $ac_x_includes = no
9302 if test "$ac_x_libraries" = no; then
9303 # Check for the libraries.
9304 # See if we find them without any special options.
9305 # Don't add to $LIBS permanently.
9306 ac_save_LIBS=$LIBS
9307 LIBS="-lX11 $LIBS"
9308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9309 /* end confdefs.h. */
9310 #include <X11/Xlib.h>
9312 main ()
9314 XrmInitialize ()
9316 return 0;
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 LIBS=$ac_save_LIBS
9321 # We can link X programs with no special library path.
9322 ac_x_libraries=
9323 else
9324 LIBS=$ac_save_LIBS
9325 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9327 # Don't even attempt the hair of trying to link an X program!
9328 for ac_extension in a so sl dylib la dll; do
9329 if test -r "$ac_dir/libX11.$ac_extension"; then
9330 ac_x_libraries=$ac_dir
9331 break 2
9333 done
9334 done
9336 rm -f core conftest.err conftest.$ac_objext \
9337 conftest$ac_exeext conftest.$ac_ext
9338 fi # $ac_x_libraries = no
9340 case $ac_x_includes,$ac_x_libraries in #(
9341 no,* | *,no | *\'*)
9342 # Didn't find X, or a directory has "'" in its name.
9343 ac_cv_have_x="have_x=no";; #(
9345 # Record where we found X for the cache.
9346 ac_cv_have_x="have_x=yes\
9347 ac_x_includes='$ac_x_includes'\
9348 ac_x_libraries='$ac_x_libraries'"
9349 esac
9351 ;; #(
9352 *) have_x=yes;;
9353 esac
9354 eval "$ac_cv_have_x"
9355 fi # $with_x != no
9357 if test "$have_x" != yes; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9359 $as_echo "$have_x" >&6; }
9360 no_x=yes
9361 else
9362 # If each of the values was on the command line, it overrides each guess.
9363 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9364 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9365 # Update the cache value to reflect the command line values.
9366 ac_cv_have_x="have_x=yes\
9367 ac_x_includes='$x_includes'\
9368 ac_x_libraries='$x_libraries'"
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9370 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9373 if test "$no_x" = yes; then
9374 # Not all programs may use this symbol, but it does not hurt to define it.
9376 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9378 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9379 else
9380 if test -n "$x_includes"; then
9381 X_CFLAGS="$X_CFLAGS -I$x_includes"
9384 # It would also be nice to do this for all -L options, not just this one.
9385 if test -n "$x_libraries"; then
9386 X_LIBS="$X_LIBS -L$x_libraries"
9387 # For Solaris; some versions of Sun CC require a space after -R and
9388 # others require no space. Words are not sufficient . . . .
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9390 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9391 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9392 ac_xsave_c_werror_flag=$ac_c_werror_flag
9393 ac_c_werror_flag=yes
9394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9395 /* end confdefs.h. */
9398 main ()
9402 return 0;
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9407 $as_echo "no" >&6; }
9408 X_LIBS="$X_LIBS -R$x_libraries"
9409 else
9410 LIBS="$ac_xsave_LIBS -R $x_libraries"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9415 main ()
9419 return 0;
9421 _ACEOF
9422 if ac_fn_c_try_link "$LINENO"; then :
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9424 $as_echo "yes" >&6; }
9425 X_LIBS="$X_LIBS -R $x_libraries"
9426 else
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9428 $as_echo "neither works" >&6; }
9430 rm -f core conftest.err conftest.$ac_objext \
9431 conftest$ac_exeext conftest.$ac_ext
9433 rm -f core conftest.err conftest.$ac_objext \
9434 conftest$ac_exeext conftest.$ac_ext
9435 ac_c_werror_flag=$ac_xsave_c_werror_flag
9436 LIBS=$ac_xsave_LIBS
9439 # Check for system-dependent libraries X programs must link with.
9440 # Do this before checking for the system-independent R6 libraries
9441 # (-lICE), since we may need -lsocket or whatever for X linking.
9443 if test "$ISC" = yes; then
9444 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9445 else
9446 # Martyn Johnson says this is needed for Ultrix, if the X
9447 # libraries were built with DECnet support. And Karl Berry says
9448 # the Alpha needs dnet_stub (dnet does not exist).
9449 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9451 /* end confdefs.h. */
9453 /* Override any GCC internal prototype to avoid an error.
9454 Use char because int might match the return type of a GCC
9455 builtin and then its argument prototype would still apply. */
9456 #ifdef __cplusplus
9457 extern "C"
9458 #endif
9459 char XOpenDisplay ();
9461 main ()
9463 return XOpenDisplay ();
9465 return 0;
9467 _ACEOF
9468 if ac_fn_c_try_link "$LINENO"; then :
9470 else
9471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9472 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9473 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9474 $as_echo_n "(cached) " >&6
9475 else
9476 ac_check_lib_save_LIBS=$LIBS
9477 LIBS="-ldnet $LIBS"
9478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9481 /* Override any GCC internal prototype to avoid an error.
9482 Use char because int might match the return type of a GCC
9483 builtin and then its argument prototype would still apply. */
9484 #ifdef __cplusplus
9485 extern "C"
9486 #endif
9487 char dnet_ntoa ();
9489 main ()
9491 return dnet_ntoa ();
9493 return 0;
9495 _ACEOF
9496 if ac_fn_c_try_link "$LINENO"; then :
9497 ac_cv_lib_dnet_dnet_ntoa=yes
9498 else
9499 ac_cv_lib_dnet_dnet_ntoa=no
9501 rm -f core conftest.err conftest.$ac_objext \
9502 conftest$ac_exeext conftest.$ac_ext
9503 LIBS=$ac_check_lib_save_LIBS
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9506 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9507 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9508 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9511 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9513 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9514 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9515 $as_echo_n "(cached) " >&6
9516 else
9517 ac_check_lib_save_LIBS=$LIBS
9518 LIBS="-ldnet_stub $LIBS"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9525 #ifdef __cplusplus
9526 extern "C"
9527 #endif
9528 char dnet_ntoa ();
9530 main ()
9532 return dnet_ntoa ();
9534 return 0;
9536 _ACEOF
9537 if ac_fn_c_try_link "$LINENO"; then :
9538 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9539 else
9540 ac_cv_lib_dnet_stub_dnet_ntoa=no
9542 rm -f core conftest.err conftest.$ac_objext \
9543 conftest$ac_exeext conftest.$ac_ext
9544 LIBS=$ac_check_lib_save_LIBS
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9547 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9548 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9549 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9554 rm -f core conftest.err conftest.$ac_objext \
9555 conftest$ac_exeext conftest.$ac_ext
9556 LIBS="$ac_xsave_LIBS"
9558 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9559 # to get the SysV transport functions.
9560 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9561 # needs -lnsl.
9562 # The nsl library prevents programs from opening the X display
9563 # on Irix 5.2, according to T.E. Dickey.
9564 # The functions gethostbyname, getservbyname, and inet_addr are
9565 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9566 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9567 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9571 if test $ac_cv_func_gethostbyname = no; then
9572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9573 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9574 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9575 $as_echo_n "(cached) " >&6
9576 else
9577 ac_check_lib_save_LIBS=$LIBS
9578 LIBS="-lnsl $LIBS"
9579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9580 /* end confdefs.h. */
9582 /* Override any GCC internal prototype to avoid an error.
9583 Use char because int might match the return type of a GCC
9584 builtin and then its argument prototype would still apply. */
9585 #ifdef __cplusplus
9586 extern "C"
9587 #endif
9588 char gethostbyname ();
9590 main ()
9592 return gethostbyname ();
9594 return 0;
9596 _ACEOF
9597 if ac_fn_c_try_link "$LINENO"; then :
9598 ac_cv_lib_nsl_gethostbyname=yes
9599 else
9600 ac_cv_lib_nsl_gethostbyname=no
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 LIBS=$ac_check_lib_save_LIBS
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9607 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9608 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9609 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9612 if test $ac_cv_lib_nsl_gethostbyname = no; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9614 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9615 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9616 $as_echo_n "(cached) " >&6
9617 else
9618 ac_check_lib_save_LIBS=$LIBS
9619 LIBS="-lbsd $LIBS"
9620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9621 /* end confdefs.h. */
9623 /* Override any GCC internal prototype to avoid an error.
9624 Use char because int might match the return type of a GCC
9625 builtin and then its argument prototype would still apply. */
9626 #ifdef __cplusplus
9627 extern "C"
9628 #endif
9629 char gethostbyname ();
9631 main ()
9633 return gethostbyname ();
9635 return 0;
9637 _ACEOF
9638 if ac_fn_c_try_link "$LINENO"; then :
9639 ac_cv_lib_bsd_gethostbyname=yes
9640 else
9641 ac_cv_lib_bsd_gethostbyname=no
9643 rm -f core conftest.err conftest.$ac_objext \
9644 conftest$ac_exeext conftest.$ac_ext
9645 LIBS=$ac_check_lib_save_LIBS
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9648 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9649 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9650 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9656 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9657 # socket/setsockopt and other routines are undefined under SCO ODT
9658 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9659 # on later versions), says Simon Leinen: it contains gethostby*
9660 # variants that don't use the name server (or something). -lsocket
9661 # must be given before -lnsl if both are needed. We assume that
9662 # if connect needs -lnsl, so does gethostbyname.
9663 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9664 if test "x$ac_cv_func_connect" = xyes; then :
9668 if test $ac_cv_func_connect = no; then
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9670 $as_echo_n "checking for connect in -lsocket... " >&6; }
9671 if ${ac_cv_lib_socket_connect+:} false; then :
9672 $as_echo_n "(cached) " >&6
9673 else
9674 ac_check_lib_save_LIBS=$LIBS
9675 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9679 /* Override any GCC internal prototype to avoid an error.
9680 Use char because int might match the return type of a GCC
9681 builtin and then its argument prototype would still apply. */
9682 #ifdef __cplusplus
9683 extern "C"
9684 #endif
9685 char connect ();
9687 main ()
9689 return connect ();
9691 return 0;
9693 _ACEOF
9694 if ac_fn_c_try_link "$LINENO"; then :
9695 ac_cv_lib_socket_connect=yes
9696 else
9697 ac_cv_lib_socket_connect=no
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 LIBS=$ac_check_lib_save_LIBS
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9704 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9705 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9706 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9711 # Guillermo Gomez says -lposix is necessary on A/UX.
9712 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9713 if test "x$ac_cv_func_remove" = xyes; then :
9717 if test $ac_cv_func_remove = no; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9719 $as_echo_n "checking for remove in -lposix... " >&6; }
9720 if ${ac_cv_lib_posix_remove+:} false; then :
9721 $as_echo_n "(cached) " >&6
9722 else
9723 ac_check_lib_save_LIBS=$LIBS
9724 LIBS="-lposix $LIBS"
9725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9726 /* end confdefs.h. */
9728 /* Override any GCC internal prototype to avoid an error.
9729 Use char because int might match the return type of a GCC
9730 builtin and then its argument prototype would still apply. */
9731 #ifdef __cplusplus
9732 extern "C"
9733 #endif
9734 char remove ();
9736 main ()
9738 return remove ();
9740 return 0;
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744 ac_cv_lib_posix_remove=yes
9745 else
9746 ac_cv_lib_posix_remove=no
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9750 LIBS=$ac_check_lib_save_LIBS
9752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9753 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9754 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9755 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9760 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9761 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9762 if test "x$ac_cv_func_shmat" = xyes; then :
9766 if test $ac_cv_func_shmat = no; then
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9768 $as_echo_n "checking for shmat in -lipc... " >&6; }
9769 if ${ac_cv_lib_ipc_shmat+:} false; then :
9770 $as_echo_n "(cached) " >&6
9771 else
9772 ac_check_lib_save_LIBS=$LIBS
9773 LIBS="-lipc $LIBS"
9774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9780 #ifdef __cplusplus
9781 extern "C"
9782 #endif
9783 char shmat ();
9785 main ()
9787 return shmat ();
9789 return 0;
9791 _ACEOF
9792 if ac_fn_c_try_link "$LINENO"; then :
9793 ac_cv_lib_ipc_shmat=yes
9794 else
9795 ac_cv_lib_ipc_shmat=no
9797 rm -f core conftest.err conftest.$ac_objext \
9798 conftest$ac_exeext conftest.$ac_ext
9799 LIBS=$ac_check_lib_save_LIBS
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9802 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9803 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9804 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9810 # Check for libraries that X11R6 Xt/Xaw programs need.
9811 ac_save_LDFLAGS=$LDFLAGS
9812 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9813 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9814 # check for ICE first), but we must link in the order -lSM -lICE or
9815 # we get undefined symbols. So assume we have SM if we have ICE.
9816 # These have to be linked with before -lX11, unlike the other
9817 # libraries we check for below, so use a different variable.
9818 # John Interrante, Karl Berry
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9820 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9821 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9822 $as_echo_n "(cached) " >&6
9823 else
9824 ac_check_lib_save_LIBS=$LIBS
9825 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827 /* end confdefs.h. */
9829 /* Override any GCC internal prototype to avoid an error.
9830 Use char because int might match the return type of a GCC
9831 builtin and then its argument prototype would still apply. */
9832 #ifdef __cplusplus
9833 extern "C"
9834 #endif
9835 char IceConnectionNumber ();
9837 main ()
9839 return IceConnectionNumber ();
9841 return 0;
9843 _ACEOF
9844 if ac_fn_c_try_link "$LINENO"; then :
9845 ac_cv_lib_ICE_IceConnectionNumber=yes
9846 else
9847 ac_cv_lib_ICE_IceConnectionNumber=no
9849 rm -f core conftest.err conftest.$ac_objext \
9850 conftest$ac_exeext conftest.$ac_ext
9851 LIBS=$ac_check_lib_save_LIBS
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9854 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9855 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9856 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9859 LDFLAGS=$ac_save_LDFLAGS
9864 if test "$have_x" = "yes"
9865 then
9866 ac_save_CPPFLAGS="$CPPFLAGS"
9867 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9870 $as_echo_n "checking for -lX11... " >&6; }
9871 if ${ac_cv_lib_soname_X11+:} false; then :
9872 $as_echo_n "(cached) " >&6
9873 else
9874 ac_check_soname_save_LIBS=$LIBS
9875 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9877 /* end confdefs.h. */
9879 /* Override any GCC internal prototype to avoid an error.
9880 Use char because int might match the return type of a GCC
9881 builtin and then its argument prototype would still apply. */
9882 #ifdef __cplusplus
9883 extern "C"
9884 #endif
9885 char XCreateWindow ();
9887 main ()
9889 return XCreateWindow ();
9891 return 0;
9893 _ACEOF
9894 if ac_fn_c_try_link "$LINENO"; then :
9895 case "$LIBEXT" in
9896 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9897 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'` ;;
9898 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9899 if ${ac_cv_lib_soname_X11:+false} :; then :
9900 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9901 fi ;;
9902 esac
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 LIBS=$ac_check_soname_save_LIBS
9908 if ${ac_cv_lib_soname_X11:+false} :; then :
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9910 $as_echo "not found" >&6; }
9912 else
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9914 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9916 cat >>confdefs.h <<_ACEOF
9917 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9918 _ACEOF
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9923 $as_echo_n "checking for -lXext... " >&6; }
9924 if ${ac_cv_lib_soname_Xext+:} false; then :
9925 $as_echo_n "(cached) " >&6
9926 else
9927 ac_check_soname_save_LIBS=$LIBS
9928 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9935 #ifdef __cplusplus
9936 extern "C"
9937 #endif
9938 char XextCreateExtension ();
9940 main ()
9942 return XextCreateExtension ();
9944 return 0;
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"; then :
9948 case "$LIBEXT" in
9949 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9950 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'` ;;
9951 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9952 if ${ac_cv_lib_soname_Xext:+false} :; then :
9953 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9954 fi ;;
9955 esac
9957 rm -f core conftest.err conftest.$ac_objext \
9958 conftest$ac_exeext conftest.$ac_ext
9959 LIBS=$ac_check_soname_save_LIBS
9961 if ${ac_cv_lib_soname_Xext:+false} :; then :
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9963 $as_echo "not found" >&6; }
9965 else
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9967 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9969 cat >>confdefs.h <<_ACEOF
9970 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9971 _ACEOF
9973 X_LIBS="$X_LIBS -lXext"
9975 X_LIBS="$X_LIBS -lX11"
9977 for ac_header in X11/Xlib.h \
9978 X11/XKBlib.h \
9979 X11/Xutil.h \
9980 X11/Xcursor/Xcursor.h \
9981 X11/extensions/shape.h \
9982 X11/extensions/XInput.h \
9983 X11/extensions/XInput2.h \
9984 X11/extensions/XShm.h \
9985 X11/extensions/Xcomposite.h \
9986 X11/extensions/Xfixes.h \
9987 X11/extensions/Xinerama.h \
9988 X11/extensions/Xrandr.h \
9989 X11/extensions/Xrender.h \
9990 X11/extensions/xf86vmode.h \
9991 X11/extensions/xf86vmproto.h
9992 do :
9993 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9994 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9995 # include <X11/Xlib.h>
9996 #endif
9997 #ifdef HAVE_X11_XUTIL_H
9998 # include <X11/Xutil.h>
9999 #endif
10001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10002 cat >>confdefs.h <<_ACEOF
10003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10004 _ACEOF
10008 done
10011 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10012 then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10014 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10015 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10016 $as_echo_n "(cached) " >&6
10017 else
10018 ac_check_lib_save_LIBS=$LIBS
10019 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10023 /* Override any GCC internal prototype to avoid an error.
10024 Use char because int might match the return type of a GCC
10025 builtin and then its argument prototype would still apply. */
10026 #ifdef __cplusplus
10027 extern "C"
10028 #endif
10029 char XkbQueryExtension ();
10031 main ()
10033 return XkbQueryExtension ();
10035 return 0;
10037 _ACEOF
10038 if ac_fn_c_try_link "$LINENO"; then :
10039 ac_cv_lib_X11_XkbQueryExtension=yes
10040 else
10041 ac_cv_lib_X11_XkbQueryExtension=no
10043 rm -f core conftest.err conftest.$ac_objext \
10044 conftest$ac_exeext conftest.$ac_ext
10045 LIBS=$ac_check_lib_save_LIBS
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10048 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10049 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10051 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10057 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10058 then
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10060 $as_echo_n "checking for -lXcursor... " >&6; }
10061 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10062 $as_echo_n "(cached) " >&6
10063 else
10064 ac_check_soname_save_LIBS=$LIBS
10065 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10067 /* end confdefs.h. */
10069 /* Override any GCC internal prototype to avoid an error.
10070 Use char because int might match the return type of a GCC
10071 builtin and then its argument prototype would still apply. */
10072 #ifdef __cplusplus
10073 extern "C"
10074 #endif
10075 char XcursorImageLoadCursor ();
10077 main ()
10079 return XcursorImageLoadCursor ();
10081 return 0;
10083 _ACEOF
10084 if ac_fn_c_try_link "$LINENO"; then :
10085 case "$LIBEXT" in
10086 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10087 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'` ;;
10088 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10089 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10090 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10091 fi ;;
10092 esac
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 LIBS=$ac_check_soname_save_LIBS
10098 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10100 $as_echo "not found" >&6; }
10102 else
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10104 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10106 cat >>confdefs.h <<_ACEOF
10107 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10108 _ACEOF
10113 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10114 case "x$with_xcursor" in
10115 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10116 xno) ;;
10117 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10118 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10119 esac
10123 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10124 then
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10126 $as_echo_n "checking for -lXi... " >&6; }
10127 if ${ac_cv_lib_soname_Xi+:} false; then :
10128 $as_echo_n "(cached) " >&6
10129 else
10130 ac_check_soname_save_LIBS=$LIBS
10131 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10135 /* Override any GCC internal prototype to avoid an error.
10136 Use char because int might match the return type of a GCC
10137 builtin and then its argument prototype would still apply. */
10138 #ifdef __cplusplus
10139 extern "C"
10140 #endif
10141 char XOpenDevice ();
10143 main ()
10145 return XOpenDevice ();
10147 return 0;
10149 _ACEOF
10150 if ac_fn_c_try_link "$LINENO"; then :
10151 case "$LIBEXT" in
10152 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10153 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'` ;;
10154 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10155 if ${ac_cv_lib_soname_Xi:+false} :; then :
10156 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10157 fi ;;
10158 esac
10160 rm -f core conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10162 LIBS=$ac_check_soname_save_LIBS
10164 if ${ac_cv_lib_soname_Xi:+false} :; then :
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10166 $as_echo "not found" >&6; }
10168 else
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10170 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10172 cat >>confdefs.h <<_ACEOF
10173 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10174 _ACEOF
10179 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10180 case "x$with_xinput" in
10181 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10182 xno) ;;
10183 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10184 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10185 esac
10189 if test "x$ac_cv_lib_soname_Xi" != x
10190 then
10191 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10192 case "x$with_xinput2" in
10193 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10194 xno) ;;
10195 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10196 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10197 esac
10202 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10203 then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10205 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10206 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_check_lib_save_LIBS=$LIBS
10210 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10217 #ifdef __cplusplus
10218 extern "C"
10219 #endif
10220 char XShmQueryExtension ();
10222 main ()
10224 return XShmQueryExtension ();
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 ac_cv_lib_Xext_XShmQueryExtension=yes
10231 else
10232 ac_cv_lib_Xext_XShmQueryExtension=no
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 LIBS=$ac_check_lib_save_LIBS
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10239 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10240 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10242 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10247 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10248 case "x$with_xshm" in
10249 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10250 xno) ;;
10251 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10252 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10253 esac
10257 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10258 then
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10260 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10261 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10262 $as_echo_n "(cached) " >&6
10263 else
10264 ac_check_lib_save_LIBS=$LIBS
10265 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10267 /* end confdefs.h. */
10269 /* Override any GCC internal prototype to avoid an error.
10270 Use char because int might match the return type of a GCC
10271 builtin and then its argument prototype would still apply. */
10272 #ifdef __cplusplus
10273 extern "C"
10274 #endif
10275 char XShapeQueryExtension ();
10277 main ()
10279 return XShapeQueryExtension ();
10281 return 0;
10283 _ACEOF
10284 if ac_fn_c_try_link "$LINENO"; then :
10285 ac_cv_lib_Xext_XShapeQueryExtension=yes
10286 else
10287 ac_cv_lib_Xext_XShapeQueryExtension=no
10289 rm -f core conftest.err conftest.$ac_objext \
10290 conftest$ac_exeext conftest.$ac_ext
10291 LIBS=$ac_check_lib_save_LIBS
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10294 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10295 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10297 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10302 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10303 case "x$with_xshape" in
10304 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10305 xno) ;;
10306 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10307 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10308 esac
10312 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10313 then
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10315 $as_echo_n "checking for -lXxf86vm... " >&6; }
10316 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10317 $as_echo_n "(cached) " >&6
10318 else
10319 ac_check_soname_save_LIBS=$LIBS
10320 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10324 /* Override any GCC internal prototype to avoid an error.
10325 Use char because int might match the return type of a GCC
10326 builtin and then its argument prototype would still apply. */
10327 #ifdef __cplusplus
10328 extern "C"
10329 #endif
10330 char XF86VidModeQueryExtension ();
10332 main ()
10334 return XF86VidModeQueryExtension ();
10336 return 0;
10338 _ACEOF
10339 if ac_fn_c_try_link "$LINENO"; then :
10340 case "$LIBEXT" in
10341 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10342 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'` ;;
10343 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10344 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10345 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10346 fi ;;
10347 esac
10349 rm -f core conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10351 LIBS=$ac_check_soname_save_LIBS
10353 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10355 $as_echo "not found" >&6; }
10357 else
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10359 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10361 cat >>confdefs.h <<_ACEOF
10362 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10363 _ACEOF
10368 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10369 case "x$with_xxf86vm" in
10370 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10371 xno) ;;
10372 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10373 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10374 esac
10378 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10379 then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10381 $as_echo_n "checking for -lXrender... " >&6; }
10382 if ${ac_cv_lib_soname_Xrender+:} false; then :
10383 $as_echo_n "(cached) " >&6
10384 else
10385 ac_check_soname_save_LIBS=$LIBS
10386 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10390 /* Override any GCC internal prototype to avoid an error.
10391 Use char because int might match the return type of a GCC
10392 builtin and then its argument prototype would still apply. */
10393 #ifdef __cplusplus
10394 extern "C"
10395 #endif
10396 char XRenderQueryExtension ();
10398 main ()
10400 return XRenderQueryExtension ();
10402 return 0;
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"; then :
10406 case "$LIBEXT" in
10407 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10408 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'` ;;
10409 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10410 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10411 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10412 fi ;;
10413 esac
10415 rm -f core conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 LIBS=$ac_check_soname_save_LIBS
10419 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10421 $as_echo "not found" >&6; }
10423 else
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10425 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10427 cat >>confdefs.h <<_ACEOF
10428 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10429 _ACEOF
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10432 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10433 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10434 $as_echo_n "(cached) " >&6
10435 else
10436 ac_check_lib_save_LIBS=$LIBS
10437 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10441 /* Override any GCC internal prototype to avoid an error.
10442 Use char because int might match the return type of a GCC
10443 builtin and then its argument prototype would still apply. */
10444 #ifdef __cplusplus
10445 extern "C"
10446 #endif
10447 char XRenderSetPictureTransform ();
10449 main ()
10451 return XRenderSetPictureTransform ();
10453 return 0;
10455 _ACEOF
10456 if ac_fn_c_try_link "$LINENO"; then :
10457 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10458 else
10459 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10461 rm -f core conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 LIBS=$ac_check_lib_save_LIBS
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10466 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10467 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10469 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10474 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10475 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10476 $as_echo_n "(cached) " >&6
10477 else
10478 ac_check_lib_save_LIBS=$LIBS
10479 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10481 /* end confdefs.h. */
10483 /* Override any GCC internal prototype to avoid an error.
10484 Use char because int might match the return type of a GCC
10485 builtin and then its argument prototype would still apply. */
10486 #ifdef __cplusplus
10487 extern "C"
10488 #endif
10489 char XRenderCreateLinearGradient ();
10491 main ()
10493 return XRenderCreateLinearGradient ();
10495 return 0;
10497 _ACEOF
10498 if ac_fn_c_try_link "$LINENO"; then :
10499 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10500 else
10501 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10503 rm -f core conftest.err conftest.$ac_objext \
10504 conftest$ac_exeext conftest.$ac_ext
10505 LIBS=$ac_check_lib_save_LIBS
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10508 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10509 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10511 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10518 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10519 case "x$with_xrender" in
10520 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10521 xno) ;;
10522 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10523 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10524 esac
10528 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10529 then
10530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10532 #include <X11/Xlib.h>
10533 #include <X11/extensions/Xrandr.h>
10535 main ()
10537 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10539 return 0;
10541 _ACEOF
10542 if ac_fn_c_try_compile "$LINENO"; then :
10543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10544 $as_echo_n "checking for -lXrandr... " >&6; }
10545 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10546 $as_echo_n "(cached) " >&6
10547 else
10548 ac_check_soname_save_LIBS=$LIBS
10549 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10551 /* end confdefs.h. */
10553 /* Override any GCC internal prototype to avoid an error.
10554 Use char because int might match the return type of a GCC
10555 builtin and then its argument prototype would still apply. */
10556 #ifdef __cplusplus
10557 extern "C"
10558 #endif
10559 char XRRQueryExtension ();
10561 main ()
10563 return XRRQueryExtension ();
10565 return 0;
10567 _ACEOF
10568 if ac_fn_c_try_link "$LINENO"; then :
10569 case "$LIBEXT" in
10570 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10571 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'` ;;
10572 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10573 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10574 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10575 fi ;;
10576 esac
10578 rm -f core conftest.err conftest.$ac_objext \
10579 conftest$ac_exeext conftest.$ac_ext
10580 LIBS=$ac_check_soname_save_LIBS
10582 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10584 $as_echo "not found" >&6; }
10586 else
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10588 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10590 cat >>confdefs.h <<_ACEOF
10591 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10592 _ACEOF
10594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10595 /* end confdefs.h. */
10596 #include <X11/Xlib.h>
10597 #include <X11/extensions/Xrandr.h>
10599 main ()
10601 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10603 return 0;
10605 _ACEOF
10606 if ac_fn_c_try_compile "$LINENO"; then :
10608 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10616 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10617 case "x$with_xrandr" in
10618 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10619 xno) ;;
10620 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10621 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10622 esac
10626 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10627 then
10628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h. */
10630 #include <X11/Xlib.h>
10631 #include <X11/extensions/Xfixes.h>
10633 main ()
10635 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10637 return 0;
10639 _ACEOF
10640 if ac_fn_c_try_compile "$LINENO"; then :
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10642 $as_echo_n "checking for -lXfixes... " >&6; }
10643 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10644 $as_echo_n "(cached) " >&6
10645 else
10646 ac_check_soname_save_LIBS=$LIBS
10647 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10649 /* end confdefs.h. */
10651 /* Override any GCC internal prototype to avoid an error.
10652 Use char because int might match the return type of a GCC
10653 builtin and then its argument prototype would still apply. */
10654 #ifdef __cplusplus
10655 extern "C"
10656 #endif
10657 char XFixesQueryVersion ();
10659 main ()
10661 return XFixesQueryVersion ();
10663 return 0;
10665 _ACEOF
10666 if ac_fn_c_try_link "$LINENO"; then :
10667 case "$LIBEXT" in
10668 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10669 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'` ;;
10670 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10671 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10672 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10673 fi ;;
10674 esac
10676 rm -f core conftest.err conftest.$ac_objext \
10677 conftest$ac_exeext conftest.$ac_ext
10678 LIBS=$ac_check_soname_save_LIBS
10680 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10682 $as_echo "not found" >&6; }
10684 else
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10686 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10688 cat >>confdefs.h <<_ACEOF
10689 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10690 _ACEOF
10695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10697 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10698 case "x$with_xfixes" in
10699 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10700 xno) ;;
10701 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10702 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10703 esac
10707 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10708 then
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10711 #include <X11/Xlib.h>
10712 #include <X11/extensions/Xinerama.h>
10714 main ()
10716 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10718 return 0;
10720 _ACEOF
10721 if ac_fn_c_try_compile "$LINENO"; then :
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10723 $as_echo_n "checking for -lXinerama... " >&6; }
10724 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10725 $as_echo_n "(cached) " >&6
10726 else
10727 ac_check_soname_save_LIBS=$LIBS
10728 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10732 /* Override any GCC internal prototype to avoid an error.
10733 Use char because int might match the return type of a GCC
10734 builtin and then its argument prototype would still apply. */
10735 #ifdef __cplusplus
10736 extern "C"
10737 #endif
10738 char XineramaQueryScreens ();
10740 main ()
10742 return XineramaQueryScreens ();
10744 return 0;
10746 _ACEOF
10747 if ac_fn_c_try_link "$LINENO"; then :
10748 case "$LIBEXT" in
10749 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10750 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'` ;;
10751 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10752 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10753 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10754 fi ;;
10755 esac
10757 rm -f core conftest.err conftest.$ac_objext \
10758 conftest$ac_exeext conftest.$ac_ext
10759 LIBS=$ac_check_soname_save_LIBS
10761 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10763 $as_echo "not found" >&6; }
10765 else
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10767 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10769 cat >>confdefs.h <<_ACEOF
10770 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10771 _ACEOF
10776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10778 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10779 case "x$with_xinerama" in
10780 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10781 xno) ;;
10782 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10783 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10784 esac
10788 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10789 then
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10791 $as_echo_n "checking for -lXcomposite... " >&6; }
10792 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 ac_check_soname_save_LIBS=$LIBS
10796 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10798 /* end confdefs.h. */
10800 /* Override any GCC internal prototype to avoid an error.
10801 Use char because int might match the return type of a GCC
10802 builtin and then its argument prototype would still apply. */
10803 #ifdef __cplusplus
10804 extern "C"
10805 #endif
10806 char XCompositeRedirectWindow ();
10808 main ()
10810 return XCompositeRedirectWindow ();
10812 return 0;
10814 _ACEOF
10815 if ac_fn_c_try_link "$LINENO"; then :
10816 case "$LIBEXT" in
10817 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10818 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'` ;;
10819 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10820 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10821 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10822 fi ;;
10823 esac
10825 rm -f core conftest.err conftest.$ac_objext \
10826 conftest$ac_exeext conftest.$ac_ext
10827 LIBS=$ac_check_soname_save_LIBS
10829 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10831 $as_echo "not found" >&6; }
10833 else
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10835 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10837 cat >>confdefs.h <<_ACEOF
10838 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10839 _ACEOF
10844 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10845 case "x$with_xcomposite" in
10846 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10847 xno) ;;
10848 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10849 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10850 esac
10854 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10855 #include <X11/Xlib.h>
10856 #endif
10858 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10860 cat >>confdefs.h <<_ACEOF
10861 #define HAVE_XICCALLBACK_CALLBACK 1
10862 _ACEOF
10866 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10867 #include <X11/Xlib.h>
10868 #endif
10870 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10872 cat >>confdefs.h <<_ACEOF
10873 #define HAVE_XEVENT_XCOOKIE 1
10874 _ACEOF
10881 opengl_msg=""
10882 if test "x$with_opengl" != "xno"
10883 then
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10885 $as_echo_n "checking for -lGL... " >&6; }
10886 if ${ac_cv_lib_soname_GL+:} false; then :
10887 $as_echo_n "(cached) " >&6
10888 else
10889 ac_check_soname_save_LIBS=$LIBS
10890 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10897 #ifdef __cplusplus
10898 extern "C"
10899 #endif
10900 char glXCreateContext ();
10902 main ()
10904 return glXCreateContext ();
10906 return 0;
10908 _ACEOF
10909 if ac_fn_c_try_link "$LINENO"; then :
10910 case "$LIBEXT" in
10911 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10912 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'` ;;
10913 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10914 if ${ac_cv_lib_soname_GL:+false} :; then :
10915 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10916 fi ;;
10917 esac
10919 rm -f core conftest.err conftest.$ac_objext \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LIBS=$ac_check_soname_save_LIBS
10923 if ${ac_cv_lib_soname_GL:+false} :; then :
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10925 $as_echo "not found" >&6; }
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10927 $as_echo_n "checking for -lGL... " >&6; }
10928 if ${ac_cv_lib_soname_GL+:} false; then :
10929 $as_echo_n "(cached) " >&6
10930 else
10931 ac_check_soname_save_LIBS=$LIBS
10932 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"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10939 #ifdef __cplusplus
10940 extern "C"
10941 #endif
10942 char glXCreateContext ();
10944 main ()
10946 return glXCreateContext ();
10948 return 0;
10950 _ACEOF
10951 if ac_fn_c_try_link "$LINENO"; then :
10952 case "$LIBEXT" in
10953 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10954 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'` ;;
10955 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10956 if ${ac_cv_lib_soname_GL:+false} :; then :
10957 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10958 fi ;;
10959 esac
10961 rm -f core conftest.err conftest.$ac_objext \
10962 conftest$ac_exeext conftest.$ac_ext
10963 LIBS=$ac_check_soname_save_LIBS
10965 if ${ac_cv_lib_soname_GL:+false} :; then :
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10967 $as_echo "not found" >&6; }
10968 if test -f /usr/X11R6/lib/libGL.a
10969 then
10970 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10971 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10972 else
10973 opengl_msg="No OpenGL library found on this system."
10975 else
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10977 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10979 cat >>confdefs.h <<_ACEOF
10980 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10981 _ACEOF
10983 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"
10985 else
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10987 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10989 cat >>confdefs.h <<_ACEOF
10990 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10991 _ACEOF
10993 OPENGL_LIBS="-lGL"
10995 if test "x$with_glu" != "xno"
10996 then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10998 $as_echo_n "checking for -lGLU... " >&6; }
10999 if ${ac_cv_lib_soname_GLU+:} false; then :
11000 $as_echo_n "(cached) " >&6
11001 else
11002 ac_check_soname_save_LIBS=$LIBS
11003 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char gluLookAt ();
11015 main ()
11017 return gluLookAt ();
11019 return 0;
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 case "$LIBEXT" in
11024 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11025 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'` ;;
11026 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11027 if ${ac_cv_lib_soname_GLU:+false} :; then :
11028 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11029 fi ;;
11030 esac
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_soname_save_LIBS
11036 if ${ac_cv_lib_soname_GLU:+false} :; then :
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11038 $as_echo "not found" >&6; }
11040 else
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11042 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11044 cat >>confdefs.h <<_ACEOF
11045 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11046 _ACEOF
11050 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11051 case "x$with_glu" in
11052 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11053 xno) ;;
11054 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11055 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11056 esac
11061 if test "x$with_osmesa" != "xno"
11062 then
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11064 $as_echo_n "checking for -lOSMesa... " >&6; }
11065 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11066 $as_echo_n "(cached) " >&6
11067 else
11068 ac_check_soname_save_LIBS=$LIBS
11069 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071 /* end confdefs.h. */
11073 /* Override any GCC internal prototype to avoid an error.
11074 Use char because int might match the return type of a GCC
11075 builtin and then its argument prototype would still apply. */
11076 #ifdef __cplusplus
11077 extern "C"
11078 #endif
11079 char OSMesaGetProcAddress ();
11081 main ()
11083 return OSMesaGetProcAddress ();
11085 return 0;
11087 _ACEOF
11088 if ac_fn_c_try_link "$LINENO"; then :
11089 case "$LIBEXT" in
11090 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11091 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'` ;;
11092 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11093 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11094 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11095 fi ;;
11096 esac
11098 rm -f core conftest.err conftest.$ac_objext \
11099 conftest$ac_exeext conftest.$ac_ext
11100 LIBS=$ac_check_soname_save_LIBS
11102 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11104 $as_echo "not found" >&6; }
11106 else
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11108 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11110 cat >>confdefs.h <<_ACEOF
11111 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11112 _ACEOF
11116 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11117 case "x$with_osmesa" in
11118 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11119 xno) ;;
11120 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11121 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11122 esac
11127 if test -n "$opengl_msg"; then :
11128 case "x$with_opengl" in
11129 x) as_fn_append wine_warnings "|$opengl_msg
11130 OpenGL and Direct3D won't be supported." ;;
11131 xno) ;;
11132 *) as_fn_error $? "$opengl_msg
11133 OpenGL and Direct3D won't be supported.
11134 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11135 esac
11139 CPPFLAGS="$ac_save_CPPFLAGS"
11140 else
11141 X_CFLAGS=""
11142 X_LIBS=""
11145 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11146 then
11147 if test "x$X_LIBS" = "x"; then :
11148 case "x$with_x" in
11149 xno) ;;
11150 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11151 without X support, which probably isn't what you want. You will need
11152 to install ${notice_platform}development packages of Xlib at the very least.
11153 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11154 esac
11155 enable_winex11_drv=${enable_winex11_drv:-no}
11157 else
11158 if test "x$X_LIBS" = "x"; then :
11159 case "x$with_x" in
11160 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11161 xno) ;;
11162 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11163 This is an error since --with-x was requested." "$LINENO" 5 ;;
11164 esac
11165 enable_winex11_drv=${enable_winex11_drv:-no}
11169 if test "$ac_cv_header_CL_cl_h" = "yes"
11170 then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11172 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11173 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11174 $as_echo_n "(cached) " >&6
11175 else
11176 ac_check_lib_save_LIBS=$LIBS
11177 LIBS="-lOpenCL $LIBS"
11178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11179 /* end confdefs.h. */
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11184 #ifdef __cplusplus
11185 extern "C"
11186 #endif
11187 char clGetPlatformInfo ();
11189 main ()
11191 return clGetPlatformInfo ();
11193 return 0;
11195 _ACEOF
11196 if ac_fn_c_try_link "$LINENO"; then :
11197 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11198 else
11199 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11201 rm -f core conftest.err conftest.$ac_objext \
11202 conftest$ac_exeext conftest.$ac_ext
11203 LIBS=$ac_check_lib_save_LIBS
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11206 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11207 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11208 OPENCL_LIBS="-lOpenCL"
11213 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11214 case "x$with_opencl" in
11215 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11216 xno) ;;
11217 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11218 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11219 esac
11220 enable_opencl=${enable_opencl:-no}
11223 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11224 then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11226 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11227 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-lpcap $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char pcap_create ();
11243 main ()
11245 return pcap_create ();
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 ac_cv_lib_pcap_pcap_create=yes
11252 else
11253 ac_cv_lib_pcap_pcap_create=no
11255 rm -f core conftest.err conftest.$ac_objext \
11256 conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11260 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11261 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11262 PCAP_LIBS="-lpcap"
11267 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11268 case "x$with_pcap" in
11269 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11270 xno) ;;
11271 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11272 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11273 esac
11274 enable_wpcap=${enable_wpcap:-no}
11278 if test "x$with_xml" != "xno"
11279 then
11280 if ${XML2_CFLAGS:+false} :; then :
11281 if ${PKG_CONFIG+:} false; then :
11282 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11285 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11286 if ${XML2_LIBS:+false} :; then :
11287 if ${PKG_CONFIG+:} false; then :
11288 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11291 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11292 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11293 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11294 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11295 ac_save_CPPFLAGS=$CPPFLAGS
11296 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11297 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11298 do :
11299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11300 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11301 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11302 cat >>confdefs.h <<_ACEOF
11303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11304 _ACEOF
11308 done
11310 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"
11311 then
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11313 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11314 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11315 $as_echo_n "(cached) " >&6
11316 else
11317 ac_check_lib_save_LIBS=$LIBS
11318 LIBS="-lxml2 $XML2_LIBS $LIBS"
11319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11320 /* end confdefs.h. */
11322 /* Override any GCC internal prototype to avoid an error.
11323 Use char because int might match the return type of a GCC
11324 builtin and then its argument prototype would still apply. */
11325 #ifdef __cplusplus
11326 extern "C"
11327 #endif
11328 char xmlParseMemory ();
11330 main ()
11332 return xmlParseMemory ();
11334 return 0;
11336 _ACEOF
11337 if ac_fn_c_try_link "$LINENO"; then :
11338 ac_cv_lib_xml2_xmlParseMemory=yes
11339 else
11340 ac_cv_lib_xml2_xmlParseMemory=no
11342 rm -f core conftest.err conftest.$ac_objext \
11343 conftest$ac_exeext conftest.$ac_ext
11344 LIBS=$ac_check_lib_save_LIBS
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11347 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11348 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11350 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11352 else
11353 XML2_LIBS=""
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11357 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11358 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-lxml2 $XML2_LIBS $LIBS"
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11366 /* Override any GCC internal prototype to avoid an error.
11367 Use char because int might match the return type of a GCC
11368 builtin and then its argument prototype would still apply. */
11369 #ifdef __cplusplus
11370 extern "C"
11371 #endif
11372 char xmlReadMemory ();
11374 main ()
11376 return xmlReadMemory ();
11378 return 0;
11380 _ACEOF
11381 if ac_fn_c_try_link "$LINENO"; then :
11382 ac_cv_lib_xml2_xmlReadMemory=yes
11383 else
11384 ac_cv_lib_xml2_xmlReadMemory=no
11386 rm -f core conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11388 LIBS=$ac_check_lib_save_LIBS
11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11391 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11392 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11394 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11399 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11400 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lxml2 $XML2_LIBS $LIBS"
11405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11411 #ifdef __cplusplus
11412 extern "C"
11413 #endif
11414 char xmlNewDocPI ();
11416 main ()
11418 return xmlNewDocPI ();
11420 return 0;
11422 _ACEOF
11423 if ac_fn_c_try_link "$LINENO"; then :
11424 ac_cv_lib_xml2_xmlNewDocPI=yes
11425 else
11426 ac_cv_lib_xml2_xmlNewDocPI=no
11428 rm -f core conftest.err conftest.$ac_objext \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_lib_save_LIBS
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11433 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11434 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11436 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11441 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11442 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-lxml2 $XML2_LIBS $LIBS"
11447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11453 #ifdef __cplusplus
11454 extern "C"
11455 #endif
11456 char xmlSchemaSetParserStructuredErrors ();
11458 main ()
11460 return xmlSchemaSetParserStructuredErrors ();
11462 return 0;
11464 _ACEOF
11465 if ac_fn_c_try_link "$LINENO"; then :
11466 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11467 else
11468 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11470 rm -f core conftest.err conftest.$ac_objext \
11471 conftest$ac_exeext conftest.$ac_ext
11472 LIBS=$ac_check_lib_save_LIBS
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11475 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11476 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11478 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11483 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11484 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11485 $as_echo_n "(cached) " >&6
11486 else
11487 ac_check_lib_save_LIBS=$LIBS
11488 LIBS="-lxml2 $XML2_LIBS $LIBS"
11489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11490 /* end confdefs.h. */
11492 /* Override any GCC internal prototype to avoid an error.
11493 Use char because int might match the return type of a GCC
11494 builtin and then its argument prototype would still apply. */
11495 #ifdef __cplusplus
11496 extern "C"
11497 #endif
11498 char xmlSchemaSetValidStructuredErrors ();
11500 main ()
11502 return xmlSchemaSetValidStructuredErrors ();
11504 return 0;
11506 _ACEOF
11507 if ac_fn_c_try_link "$LINENO"; then :
11508 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11509 else
11510 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11512 rm -f core conftest.err conftest.$ac_objext \
11513 conftest$ac_exeext conftest.$ac_ext
11514 LIBS=$ac_check_lib_save_LIBS
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11517 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11518 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11520 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11525 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11526 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11527 $as_echo_n "(cached) " >&6
11528 else
11529 ac_check_lib_save_LIBS=$LIBS
11530 LIBS="-lxml2 $XML2_LIBS $LIBS"
11531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11537 #ifdef __cplusplus
11538 extern "C"
11539 #endif
11540 char xmlFirstElementChild ();
11542 main ()
11544 return xmlFirstElementChild ();
11546 return 0;
11548 _ACEOF
11549 if ac_fn_c_try_link "$LINENO"; then :
11550 ac_cv_lib_xml2_xmlFirstElementChild=yes
11551 else
11552 ac_cv_lib_xml2_xmlFirstElementChild=no
11554 rm -f core conftest.err conftest.$ac_objext \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11559 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11560 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11562 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11566 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11568 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11570 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11574 else
11575 XML2_CFLAGS=""
11576 XML2_LIBS=""
11578 CPPFLAGS=$ac_save_CPPFLAGS
11579 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11580 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11583 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11584 case "x$with_xml" in
11585 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11586 xno) ;;
11587 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11588 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11589 esac
11593 if test "x$with_xslt" != "xno"
11594 then
11595 if ${XSLT_CFLAGS:+false} :; then :
11596 if ${PKG_CONFIG+:} false; then :
11597 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11600 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11601 if ${XSLT_LIBS:+false} :; then :
11602 if ${PKG_CONFIG+:} false; then :
11603 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11606 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11607 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11608 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11609 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11610 ac_save_CPPFLAGS=$CPPFLAGS
11611 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11612 for ac_header in libxslt/pattern.h libxslt/transform.h
11613 do :
11614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11615 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11616 # include <libxslt/pattern.h>
11617 #endif
11619 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11620 cat >>confdefs.h <<_ACEOF
11621 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11622 _ACEOF
11626 done
11628 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11629 then
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11631 $as_echo_n "checking for -lxslt... " >&6; }
11632 if ${ac_cv_lib_soname_xslt+:} false; then :
11633 $as_echo_n "(cached) " >&6
11634 else
11635 ac_check_soname_save_LIBS=$LIBS
11636 LIBS="-lxslt $XSLT_LIBS $LIBS"
11637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11640 /* Override any GCC internal prototype to avoid an error.
11641 Use char because int might match the return type of a GCC
11642 builtin and then its argument prototype would still apply. */
11643 #ifdef __cplusplus
11644 extern "C"
11645 #endif
11646 char xsltCompilePattern ();
11648 main ()
11650 return xsltCompilePattern ();
11652 return 0;
11654 _ACEOF
11655 if ac_fn_c_try_link "$LINENO"; then :
11656 case "$LIBEXT" in
11657 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11658 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'` ;;
11659 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11660 if ${ac_cv_lib_soname_xslt:+false} :; then :
11661 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11662 fi ;;
11663 esac
11665 rm -f core conftest.err conftest.$ac_objext \
11666 conftest$ac_exeext conftest.$ac_ext
11667 LIBS=$ac_check_soname_save_LIBS
11669 if ${ac_cv_lib_soname_xslt:+false} :; then :
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11671 $as_echo "not found" >&6; }
11673 else
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11675 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11677 cat >>confdefs.h <<_ACEOF
11678 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11679 _ACEOF
11683 else
11684 XSLT_CFLAGS=""
11686 CPPFLAGS=$ac_save_CPPFLAGS
11687 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11688 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11691 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11692 case "x$with_xslt" in
11693 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11694 xno) ;;
11695 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11696 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11697 esac
11701 if test "x$with_dbus" != "xno"
11702 then
11703 if ${DBUS_CFLAGS:+false} :; then :
11704 if ${PKG_CONFIG+:} false; then :
11705 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11709 if ${DBUS_LIBS:+false} :; then :
11710 if ${PKG_CONFIG+:} false; then :
11711 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11716 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11717 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11718 ac_save_CPPFLAGS=$CPPFLAGS
11719 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11720 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11721 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11723 $as_echo_n "checking for -ldbus-1... " >&6; }
11724 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11725 $as_echo_n "(cached) " >&6
11726 else
11727 ac_check_soname_save_LIBS=$LIBS
11728 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11730 /* end confdefs.h. */
11732 /* Override any GCC internal prototype to avoid an error.
11733 Use char because int might match the return type of a GCC
11734 builtin and then its argument prototype would still apply. */
11735 #ifdef __cplusplus
11736 extern "C"
11737 #endif
11738 char dbus_connection_close ();
11740 main ()
11742 return dbus_connection_close ();
11744 return 0;
11746 _ACEOF
11747 if ac_fn_c_try_link "$LINENO"; then :
11748 case "$LIBEXT" in
11749 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11750 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'` ;;
11751 *) 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'`
11752 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11753 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11754 fi ;;
11755 esac
11757 rm -f core conftest.err conftest.$ac_objext \
11758 conftest$ac_exeext conftest.$ac_ext
11759 LIBS=$ac_check_soname_save_LIBS
11761 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11763 $as_echo "not found" >&6; }
11764 DBUS_CFLAGS=""
11765 else
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11767 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11769 cat >>confdefs.h <<_ACEOF
11770 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11771 _ACEOF
11775 else
11776 DBUS_CFLAGS=""
11780 CPPFLAGS=$ac_save_CPPFLAGS
11781 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11782 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11785 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11786 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11787 case "x$with_dbus" in
11788 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11789 xno) ;;
11790 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11791 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11792 esac
11796 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11797 then
11798 if ${HAL_CFLAGS:+false} :; then :
11799 if ${PKG_CONFIG+:} false; then :
11800 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11804 if ${HAL_LIBS:+false} :; then :
11805 if ${PKG_CONFIG+:} false; then :
11806 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11810 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11811 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11812 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11813 ac_save_CPPFLAGS=$CPPFLAGS
11814 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11815 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11816 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11818 $as_echo_n "checking for -lhal... " >&6; }
11819 if ${ac_cv_lib_soname_hal+:} false; then :
11820 $as_echo_n "(cached) " >&6
11821 else
11822 ac_check_soname_save_LIBS=$LIBS
11823 LIBS="-lhal $HAL_LIBS $LIBS"
11824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825 /* end confdefs.h. */
11827 /* Override any GCC internal prototype to avoid an error.
11828 Use char because int might match the return type of a GCC
11829 builtin and then its argument prototype would still apply. */
11830 #ifdef __cplusplus
11831 extern "C"
11832 #endif
11833 char libhal_ctx_new ();
11835 main ()
11837 return libhal_ctx_new ();
11839 return 0;
11841 _ACEOF
11842 if ac_fn_c_try_link "$LINENO"; then :
11843 case "$LIBEXT" in
11844 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11845 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'` ;;
11846 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11847 if ${ac_cv_lib_soname_hal:+false} :; then :
11848 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11849 fi ;;
11850 esac
11852 rm -f core conftest.err conftest.$ac_objext \
11853 conftest$ac_exeext conftest.$ac_ext
11854 LIBS=$ac_check_soname_save_LIBS
11856 if ${ac_cv_lib_soname_hal:+false} :; then :
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11858 $as_echo "not found" >&6; }
11859 HAL_CFLAGS=""
11860 else
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11862 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11864 cat >>confdefs.h <<_ACEOF
11865 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11866 _ACEOF
11870 else
11871 HAL_CFLAGS=""
11875 CPPFLAGS=$ac_save_CPPFLAGS
11876 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11877 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11879 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11880 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11881 case "x$with_hal" in
11882 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11883 xno) ;;
11884 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11885 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11886 esac
11891 if test "x$with_gnutls" != "xno"
11892 then
11893 if ${GNUTLS_CFLAGS:+false} :; then :
11894 if ${PKG_CONFIG+:} false; then :
11895 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11899 if ${GNUTLS_LIBS:+false} :; then :
11900 if ${PKG_CONFIG+:} false; then :
11901 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11906 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11907 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11908 ac_save_CPPFLAGS=$CPPFLAGS
11909 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11910 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11911 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11913 /* end confdefs.h. */
11914 #include <gnutls/gnutls.h>
11915 #include <gnutls/crypto.h>
11917 main ()
11919 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11921 return 0;
11923 _ACEOF
11924 if ac_fn_c_try_compile "$LINENO"; then :
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11926 $as_echo_n "checking for -lgnutls... " >&6; }
11927 if ${ac_cv_lib_soname_gnutls+:} false; then :
11928 $as_echo_n "(cached) " >&6
11929 else
11930 ac_check_soname_save_LIBS=$LIBS
11931 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11938 #ifdef __cplusplus
11939 extern "C"
11940 #endif
11941 char gnutls_global_init ();
11943 main ()
11945 return gnutls_global_init ();
11947 return 0;
11949 _ACEOF
11950 if ac_fn_c_try_link "$LINENO"; then :
11951 case "$LIBEXT" in
11952 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11953 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'` ;;
11954 *) 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'`
11955 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11956 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'`
11957 fi ;;
11958 esac
11960 rm -f core conftest.err conftest.$ac_objext \
11961 conftest$ac_exeext conftest.$ac_ext
11962 LIBS=$ac_check_soname_save_LIBS
11964 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11966 $as_echo "not found" >&6; }
11967 GNUTLS_CFLAGS=""
11968 else
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11970 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11972 cat >>confdefs.h <<_ACEOF
11973 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11974 _ACEOF
11978 ac_wine_check_funcs_save_LIBS="$LIBS"
11979 LIBS="$LIBS $GNUTLS_LIBS"
11980 for ac_func in gnutls_hash
11981 do :
11982 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11983 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11984 cat >>confdefs.h <<_ACEOF
11985 #define HAVE_GNUTLS_HASH 1
11986 _ACEOF
11988 else
11989 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11991 done
11993 LIBS="$ac_wine_check_funcs_save_LIBS"
11995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11996 else
11997 GNUTLS_CFLAGS=""
12001 CPPFLAGS=$ac_save_CPPFLAGS
12002 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12003 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12006 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12007 case "x$with_gnutls" in
12008 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12009 xno) ;;
12010 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12011 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12012 esac
12016 CURSES_LIBS=""
12017 if test "$ac_cv_header_ncurses_h" = "yes"
12018 then
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12020 $as_echo_n "checking for -lncurses... " >&6; }
12021 if ${ac_cv_lib_soname_ncurses+:} false; then :
12022 $as_echo_n "(cached) " >&6
12023 else
12024 ac_check_soname_save_LIBS=$LIBS
12025 LIBS="-lncurses $LIBS"
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12029 /* Override any GCC internal prototype to avoid an error.
12030 Use char because int might match the return type of a GCC
12031 builtin and then its argument prototype would still apply. */
12032 #ifdef __cplusplus
12033 extern "C"
12034 #endif
12035 char waddch ();
12037 main ()
12039 return waddch ();
12041 return 0;
12043 _ACEOF
12044 if ac_fn_c_try_link "$LINENO"; then :
12045 case "$LIBEXT" in
12046 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12047 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'` ;;
12048 *) 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'`
12049 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12050 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12051 fi ;;
12052 esac
12054 rm -f core conftest.err conftest.$ac_objext \
12055 conftest$ac_exeext conftest.$ac_ext
12056 LIBS=$ac_check_soname_save_LIBS
12058 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12060 $as_echo "not found" >&6; }
12062 else
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12064 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12066 cat >>confdefs.h <<_ACEOF
12067 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12068 _ACEOF
12070 CURSES_LIBS="-lncurses"
12072 elif test "$ac_cv_header_curses_h" = "yes"
12073 then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12075 $as_echo_n "checking for -lcurses... " >&6; }
12076 if ${ac_cv_lib_soname_curses+:} false; then :
12077 $as_echo_n "(cached) " >&6
12078 else
12079 ac_check_soname_save_LIBS=$LIBS
12080 LIBS="-lcurses $LIBS"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 #ifdef __cplusplus
12088 extern "C"
12089 #endif
12090 char waddch ();
12092 main ()
12094 return waddch ();
12096 return 0;
12098 _ACEOF
12099 if ac_fn_c_try_link "$LINENO"; then :
12100 case "$LIBEXT" in
12101 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12102 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'` ;;
12103 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12104 if ${ac_cv_lib_soname_curses:+false} :; then :
12105 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12106 fi ;;
12107 esac
12109 rm -f core conftest.err conftest.$ac_objext \
12110 conftest$ac_exeext conftest.$ac_ext
12111 LIBS=$ac_check_soname_save_LIBS
12113 if ${ac_cv_lib_soname_curses:+false} :; then :
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12115 $as_echo "not found" >&6; }
12117 else
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12119 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12121 cat >>confdefs.h <<_ACEOF
12122 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12123 _ACEOF
12125 CURSES_LIBS="-lcurses"
12128 ac_save_LIBS="$LIBS"
12129 LIBS="$LIBS $CURSES_LIBS"
12130 for ac_func in mousemask
12131 do :
12132 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12133 if test "x$ac_cv_func_mousemask" = xyes; then :
12134 cat >>confdefs.h <<_ACEOF
12135 #define HAVE_MOUSEMASK 1
12136 _ACEOF
12139 done
12141 LIBS="$ac_save_LIBS"
12142 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12143 case "x$with_curses" in
12144 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12145 xno) ;;
12146 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12147 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12148 esac
12152 if test "x$with_sane" != "xno"
12153 then
12154 if ${SANE_CFLAGS:+false} :; then :
12155 if ${PKG_CONFIG+:} false; then :
12156 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12159 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12160 if ${SANE_LIBS:+false} :; then :
12161 if ${PKG_CONFIG+:} false; then :
12162 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12165 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12167 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12168 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12169 ac_save_CPPFLAGS=$CPPFLAGS
12170 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12171 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12172 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12174 $as_echo_n "checking for -lsane... " >&6; }
12175 if ${ac_cv_lib_soname_sane+:} false; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 ac_check_soname_save_LIBS=$LIBS
12179 LIBS="-lsane $SANE_LIBS $LIBS"
12180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12186 #ifdef __cplusplus
12187 extern "C"
12188 #endif
12189 char sane_init ();
12191 main ()
12193 return sane_init ();
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_link "$LINENO"; then :
12199 case "$LIBEXT" in
12200 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12201 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'` ;;
12202 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12203 if ${ac_cv_lib_soname_sane:+false} :; then :
12204 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12205 fi ;;
12206 esac
12208 rm -f core conftest.err conftest.$ac_objext \
12209 conftest$ac_exeext conftest.$ac_ext
12210 LIBS=$ac_check_soname_save_LIBS
12212 if ${ac_cv_lib_soname_sane:+false} :; then :
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12214 $as_echo "not found" >&6; }
12215 SANE_CFLAGS=""
12216 else
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12218 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12220 cat >>confdefs.h <<_ACEOF
12221 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12222 _ACEOF
12226 else
12227 SANE_CFLAGS=""
12231 CPPFLAGS=$ac_save_CPPFLAGS
12232 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12233 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12236 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12237 case "x$with_sane" in
12238 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12239 xno) ;;
12240 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12241 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12242 esac
12246 if test "x$with_v4l" != "xno"
12247 then
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12249 $as_echo_n "checking for -lv4l1... " >&6; }
12250 if ${ac_cv_lib_soname_v4l1+:} false; then :
12251 $as_echo_n "(cached) " >&6
12252 else
12253 ac_check_soname_save_LIBS=$LIBS
12254 LIBS="-lv4l1 $LIBS"
12255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12258 /* Override any GCC internal prototype to avoid an error.
12259 Use char because int might match the return type of a GCC
12260 builtin and then its argument prototype would still apply. */
12261 #ifdef __cplusplus
12262 extern "C"
12263 #endif
12264 char v4l1_open ();
12266 main ()
12268 return v4l1_open ();
12270 return 0;
12272 _ACEOF
12273 if ac_fn_c_try_link "$LINENO"; then :
12274 case "$LIBEXT" in
12275 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12276 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'` ;;
12277 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12278 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12279 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12280 fi ;;
12281 esac
12283 rm -f core conftest.err conftest.$ac_objext \
12284 conftest$ac_exeext conftest.$ac_ext
12285 LIBS=$ac_check_soname_save_LIBS
12287 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12289 $as_echo "not found" >&6; }
12291 else
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12293 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12295 cat >>confdefs.h <<_ACEOF
12296 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12297 _ACEOF
12302 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12303 case "x$with_v4l" in
12304 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12305 xno) ;;
12306 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12307 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12308 esac
12312 if test "x$with_gphoto" != "xno"
12313 then
12314 if ${GPHOTO2_CFLAGS:+false} :; then :
12315 if ${PKG_CONFIG+:} false; then :
12316 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12319 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12320 if ${GPHOTO2_LIBS:+false} :; then :
12321 if ${PKG_CONFIG+:} false; then :
12322 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12325 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12326 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12327 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12328 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12329 ac_save_CPPFLAGS=$CPPFLAGS
12330 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12331 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12332 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12334 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12335 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12336 $as_echo_n "(cached) " >&6
12337 else
12338 ac_check_lib_save_LIBS=$LIBS
12339 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12341 /* end confdefs.h. */
12343 /* Override any GCC internal prototype to avoid an error.
12344 Use char because int might match the return type of a GCC
12345 builtin and then its argument prototype would still apply. */
12346 #ifdef __cplusplus
12347 extern "C"
12348 #endif
12349 char gp_camera_new ();
12351 main ()
12353 return gp_camera_new ();
12355 return 0;
12357 _ACEOF
12358 if ac_fn_c_try_link "$LINENO"; then :
12359 ac_cv_lib_gphoto2_gp_camera_new=yes
12360 else
12361 ac_cv_lib_gphoto2_gp_camera_new=no
12363 rm -f core conftest.err conftest.$ac_objext \
12364 conftest$ac_exeext conftest.$ac_ext
12365 LIBS=$ac_check_lib_save_LIBS
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12368 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12369 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12371 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12373 else
12374 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12377 else
12378 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12382 CPPFLAGS=$ac_save_CPPFLAGS
12383 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12384 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12386 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12387 if ${PKG_CONFIG+:} false; then :
12388 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12391 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12392 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12393 if ${PKG_CONFIG+:} false; then :
12394 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12397 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12398 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12399 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12400 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12401 ac_save_CPPFLAGS=$CPPFLAGS
12402 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12403 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12404 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12406 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12407 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12408 $as_echo_n "(cached) " >&6
12409 else
12410 ac_check_lib_save_LIBS=$LIBS
12411 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12413 /* end confdefs.h. */
12415 /* Override any GCC internal prototype to avoid an error.
12416 Use char because int might match the return type of a GCC
12417 builtin and then its argument prototype would still apply. */
12418 #ifdef __cplusplus
12419 extern "C"
12420 #endif
12421 char gp_port_info_list_new ();
12423 main ()
12425 return gp_port_info_list_new ();
12427 return 0;
12429 _ACEOF
12430 if ac_fn_c_try_link "$LINENO"; then :
12431 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12432 else
12433 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12435 rm -f core conftest.err conftest.$ac_objext \
12436 conftest$ac_exeext conftest.$ac_ext
12437 LIBS=$ac_check_lib_save_LIBS
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12440 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12441 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12443 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12445 else
12446 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12449 else
12450 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12454 CPPFLAGS=$ac_save_CPPFLAGS
12455 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12456 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12459 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12460 case "x$with_gphoto" in
12461 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12462 xno) ;;
12463 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12464 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12465 esac
12468 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12469 case "x$with_gphoto" in
12470 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12471 xno) ;;
12472 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12473 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12474 esac
12479 if test "$ac_cv_header_resolv_h" = "yes"
12480 then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12482 $as_echo_n "checking for resolver library... " >&6; }
12483 if ${ac_cv_have_resolv+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 ac_save_LIBS="$LIBS"
12487 for lib in '' -lresolv
12489 LIBS="$lib $ac_save_LIBS"
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12492 #ifdef HAVE_NETINET_IN_H
12493 #include <netinet/in.h>
12494 #endif
12495 #include <resolv.h>
12497 main ()
12499 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12501 return 0;
12503 _ACEOF
12504 if ac_fn_c_try_link "$LINENO"; then :
12505 ac_cv_have_resolv=${lib:-"none required"}
12506 else
12507 ac_cv_have_resolv="not found"
12509 rm -f core conftest.err conftest.$ac_objext \
12510 conftest$ac_exeext conftest.$ac_ext
12511 test "x$ac_cv_have_resolv" = "xnot found" || break
12512 done
12513 LIBS="$ac_save_LIBS"
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12516 $as_echo "$ac_cv_have_resolv" >&6; }
12518 case "$ac_cv_have_resolv" in
12519 "not found") ;;
12520 "none required")
12522 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12525 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12527 RESOLV_LIBS=$ac_cv_have_resolv
12529 esac
12532 if test "x$with_cms" != "xno"
12533 then
12534 if ${LCMS2_CFLAGS:+false} :; then :
12535 if ${PKG_CONFIG+:} false; then :
12536 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12540 if ${LCMS2_LIBS:+false} :; then :
12541 if ${PKG_CONFIG+:} false; then :
12542 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12546 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12547 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12548 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12549 ac_save_CPPFLAGS=$CPPFLAGS
12550 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12551 for ac_header in lcms2.h
12552 do :
12553 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12554 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12555 cat >>confdefs.h <<_ACEOF
12556 #define HAVE_LCMS2_H 1
12557 _ACEOF
12561 done
12563 if test "$ac_cv_header_lcms2_h" = "yes"
12564 then
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12566 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12567 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12568 $as_echo_n "(cached) " >&6
12569 else
12570 ac_check_lib_save_LIBS=$LIBS
12571 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12578 #ifdef __cplusplus
12579 extern "C"
12580 #endif
12581 char cmsOpenProfileFromFile ();
12583 main ()
12585 return cmsOpenProfileFromFile ();
12587 return 0;
12589 _ACEOF
12590 if ac_fn_c_try_link "$LINENO"; then :
12591 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12592 else
12593 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12595 rm -f core conftest.err conftest.$ac_objext \
12596 conftest$ac_exeext conftest.$ac_ext
12597 LIBS=$ac_check_lib_save_LIBS
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12600 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12601 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12603 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12605 else
12606 LCMS2_LIBS=""
12609 else
12610 LCMS2_CFLAGS=""
12611 LCMS2_LIBS=""
12613 CPPFLAGS=$ac_save_CPPFLAGS
12614 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12615 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12618 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12619 case "x$with_cms" in
12620 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12621 xno) ;;
12622 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12623 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12624 esac
12628 if test "x$with_freetype" != "xno"
12629 then
12630 if ${FREETYPE_CFLAGS:+false} :; then :
12631 if ${PKG_CONFIG+:} false; then :
12632 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12635 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12636 if ${FREETYPE_LIBS:+false} :; then :
12637 if ${PKG_CONFIG+:} false; then :
12638 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12641 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12642 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12643 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12644 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12645 ac_save_CPPFLAGS=$CPPFLAGS
12646 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12647 for ac_header in ft2build.h
12648 do :
12649 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12650 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12651 cat >>confdefs.h <<_ACEOF
12652 #define HAVE_FT2BUILD_H 1
12653 _ACEOF
12657 done
12659 if test "$ac_cv_header_ft2build_h" = "yes"
12660 then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12662 $as_echo_n "checking for -lfreetype... " >&6; }
12663 if ${ac_cv_lib_soname_freetype+:} false; then :
12664 $as_echo_n "(cached) " >&6
12665 else
12666 ac_check_soname_save_LIBS=$LIBS
12667 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12671 /* Override any GCC internal prototype to avoid an error.
12672 Use char because int might match the return type of a GCC
12673 builtin and then its argument prototype would still apply. */
12674 #ifdef __cplusplus
12675 extern "C"
12676 #endif
12677 char FT_Init_FreeType ();
12679 main ()
12681 return FT_Init_FreeType ();
12683 return 0;
12685 _ACEOF
12686 if ac_fn_c_try_link "$LINENO"; then :
12687 case "$LIBEXT" in
12688 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12689 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'` ;;
12690 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12691 if ${ac_cv_lib_soname_freetype:+false} :; then :
12692 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12693 fi ;;
12694 esac
12696 rm -f core conftest.err conftest.$ac_objext \
12697 conftest$ac_exeext conftest.$ac_ext
12698 LIBS=$ac_check_soname_save_LIBS
12700 if ${ac_cv_lib_soname_freetype:+false} :; then :
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12702 $as_echo "not found" >&6; }
12703 FREETYPE_LIBS=""
12704 else
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12706 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12708 cat >>confdefs.h <<_ACEOF
12709 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12710 _ACEOF
12713 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12715 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12716 #include FT_MODULE_H
12718 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12720 cat >>confdefs.h <<_ACEOF
12721 #define HAVE_FT_TRUETYPEENGINETYPE 1
12722 _ACEOF
12728 else
12729 FREETYPE_CFLAGS=""
12730 FREETYPE_LIBS=""
12732 CPPFLAGS=$ac_save_CPPFLAGS
12733 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12734 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12737 if test "x$ac_cv_lib_soname_freetype" = x; then :
12738 case "x$with_freetype" in
12739 xno) ;;
12740 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12741 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12742 esac
12743 enable_fonts=${enable_fonts:-no}
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12747 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12748 if ${ac_cv_c_ppdev+:} false; then :
12749 $as_echo_n "(cached) " >&6
12750 else
12751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12752 /* end confdefs.h. */
12753 #ifdef HAVE_SYS_IOCTL_H
12754 # include <sys/ioctl.h>
12755 #endif
12756 #include <linux/ppdev.h>
12758 main ()
12760 ioctl (1,PPCLAIM,0)
12762 return 0;
12764 _ACEOF
12765 if ac_fn_c_try_compile "$LINENO"; then :
12766 ac_cv_c_ppdev="yes"
12767 else
12768 ac_cv_c_ppdev="no"
12770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12773 $as_echo "$ac_cv_c_ppdev" >&6; }
12774 if test "$ac_cv_c_ppdev" = "yes"
12775 then
12777 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12781 ac_wine_check_funcs_save_LIBS="$LIBS"
12782 LIBS="$LIBS $PTHREAD_LIBS"
12783 for ac_func in \
12784 pthread_attr_get_np \
12785 pthread_getattr_np \
12786 pthread_getthreadid_np \
12787 pthread_get_stackaddr_np \
12788 pthread_get_stacksize_np
12789 do :
12790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12793 cat >>confdefs.h <<_ACEOF
12794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12795 _ACEOF
12798 done
12800 LIBS="$ac_wine_check_funcs_save_LIBS"
12802 if test "$ac_cv_header_zlib_h" = "yes"
12803 then
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12805 $as_echo_n "checking for inflate in -lz... " >&6; }
12806 if ${ac_cv_lib_z_inflate+:} false; then :
12807 $as_echo_n "(cached) " >&6
12808 else
12809 ac_check_lib_save_LIBS=$LIBS
12810 LIBS="-lz $LIBS"
12811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12817 #ifdef __cplusplus
12818 extern "C"
12819 #endif
12820 char inflate ();
12822 main ()
12824 return inflate ();
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_link "$LINENO"; then :
12830 ac_cv_lib_z_inflate=yes
12831 else
12832 ac_cv_lib_z_inflate=no
12834 rm -f core conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12836 LIBS=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12839 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12840 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12842 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12844 Z_LIBS="-lz"
12849 if test "x$Z_LIBS" = "x"; then :
12850 case "x$with_zlib" in
12851 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12852 xno) ;;
12853 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12854 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12855 esac
12859 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12860 then
12861 if test "$ac_cv_header_gettext_po_h" = "yes"
12862 then
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12864 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12865 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 ac_check_lib_save_LIBS=$LIBS
12869 LIBS="-lgettextpo $LIBS"
12870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12871 /* end confdefs.h. */
12873 /* Override any GCC internal prototype to avoid an error.
12874 Use char because int might match the return type of a GCC
12875 builtin and then its argument prototype would still apply. */
12876 #ifdef __cplusplus
12877 extern "C"
12878 #endif
12879 char po_message_msgctxt ();
12881 main ()
12883 return po_message_msgctxt ();
12885 return 0;
12887 _ACEOF
12888 if ac_fn_c_try_link "$LINENO"; then :
12889 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12890 else
12891 ac_cv_lib_gettextpo_po_message_msgctxt=no
12893 rm -f core conftest.err conftest.$ac_objext \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_lib_save_LIBS
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12898 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12899 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12901 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12903 GETTEXTPO_LIBS="-lgettextpo"
12908 if test "x$GETTEXTPO_LIBS" = "x"; then :
12909 case "x$with_gettextpo" in
12910 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12911 xno) ;;
12912 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12913 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12914 esac
12917 if test "$srcdir" != .; then :
12918 case "x$with_gettextpo" in
12919 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12920 xno) ;;
12921 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12922 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12923 esac
12928 if test "x$with_pulse" != "xno";
12929 then
12930 if ${PULSE_CFLAGS:+false} :; then :
12931 if ${PKG_CONFIG+:} false; then :
12932 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12936 if ${PULSE_LIBS:+false} :; then :
12937 if ${PKG_CONFIG+:} false; then :
12938 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12943 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12944 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12945 ac_save_CPPFLAGS=$CPPFLAGS
12946 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12947 for ac_header in pulse/pulseaudio.h
12948 do :
12949 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12950 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12951 cat >>confdefs.h <<_ACEOF
12952 #define HAVE_PULSE_PULSEAUDIO_H 1
12953 _ACEOF
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12955 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12956 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12957 $as_echo_n "(cached) " >&6
12958 else
12959 ac_check_lib_save_LIBS=$LIBS
12960 LIBS="-lpulse $PULSE_LIBS $LIBS"
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12964 /* Override any GCC internal prototype to avoid an error.
12965 Use char because int might match the return type of a GCC
12966 builtin and then its argument prototype would still apply. */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 char pa_stream_is_corked ();
12972 main ()
12974 return pa_stream_is_corked ();
12976 return 0;
12978 _ACEOF
12979 if ac_fn_c_try_link "$LINENO"; then :
12980 ac_cv_lib_pulse_pa_stream_is_corked=yes
12981 else
12982 ac_cv_lib_pulse_pa_stream_is_corked=no
12984 rm -f core conftest.err conftest.$ac_objext \
12985 conftest$ac_exeext conftest.$ac_ext
12986 LIBS=$ac_check_lib_save_LIBS
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12989 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12990 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12992 else
12993 PULSE_LIBS=""
12996 else
12997 PULSE_LIBS=""
13000 done
13002 CPPFLAGS=$ac_save_CPPFLAGS
13003 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13004 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13007 if test -z "$PULSE_LIBS"; then :
13008 case "x$with_pulse" in
13009 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13010 xno) ;;
13011 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13012 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13013 esac
13014 enable_winepulse_drv=${enable_winepulse_drv:-no}
13017 if test "x$with_gstreamer" != "xno"
13018 then
13019 if ${GSTREAMER_CFLAGS:+false} :; then :
13020 if ${PKG_CONFIG+:} false; then :
13021 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13025 if ${GSTREAMER_LIBS:+false} :; then :
13026 if ${PKG_CONFIG+:} false; then :
13027 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13032 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13033 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13034 ac_save_CPPFLAGS=$CPPFLAGS
13035 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13036 ac_gst_incl=""
13037 for i in $GSTREAMER_CFLAGS
13039 case "$i" in
13040 -I*) ac_gst_incl="$ac_gst_incl $i";;
13041 esac
13042 done
13043 GSTREAMER_CFLAGS=$ac_gst_incl
13044 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13045 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13046 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13048 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13051 #include <gst/gst.h>
13053 main ()
13055 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13057 return 0;
13059 _ACEOF
13060 if ac_fn_c_try_compile "$LINENO"; then :
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13062 $as_echo "yes" >&6; }
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13064 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13065 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13066 $as_echo_n "(cached) " >&6
13067 else
13068 ac_check_lib_save_LIBS=$LIBS
13069 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13071 /* end confdefs.h. */
13073 /* Override any GCC internal prototype to avoid an error.
13074 Use char because int might match the return type of a GCC
13075 builtin and then its argument prototype would still apply. */
13076 #ifdef __cplusplus
13077 extern "C"
13078 #endif
13079 char gst_pad_new ();
13081 main ()
13083 return gst_pad_new ();
13085 return 0;
13087 _ACEOF
13088 if ac_fn_c_try_link "$LINENO"; then :
13089 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13090 else
13091 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13093 rm -f core conftest.err conftest.$ac_objext \
13094 conftest$ac_exeext conftest.$ac_ext
13095 LIBS=$ac_check_lib_save_LIBS
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13098 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13099 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13103 else
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13105 $as_echo "no" >&6; }
13106 ac_glib2_broken=yes
13107 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13113 CPPFLAGS=$ac_save_CPPFLAGS
13114 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13115 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13118 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 :
13119 case "x$with_gstreamer" in
13120 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13121 xno) ;;
13122 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13123 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13124 esac
13127 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13129 ALSA_LIBS=""
13131 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13132 then
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13134 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13135 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13136 $as_echo_n "(cached) " >&6
13137 else
13138 ac_check_lib_save_LIBS=$LIBS
13139 LIBS="-lasound $LIBS"
13140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h. */
13143 /* Override any GCC internal prototype to avoid an error.
13144 Use char because int might match the return type of a GCC
13145 builtin and then its argument prototype would still apply. */
13146 #ifdef __cplusplus
13147 extern "C"
13148 #endif
13149 char snd_pcm_hw_params_get_access_mask ();
13151 main ()
13153 return snd_pcm_hw_params_get_access_mask ();
13155 return 0;
13157 _ACEOF
13158 if ac_fn_c_try_link "$LINENO"; then :
13159 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13160 else
13161 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13163 rm -f core conftest.err conftest.$ac_objext \
13164 conftest$ac_exeext conftest.$ac_ext
13165 LIBS=$ac_check_lib_save_LIBS
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13168 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13169 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13172 #ifdef HAVE_ALSA_ASOUNDLIB_H
13173 #include <alsa/asoundlib.h>
13174 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13175 #include <sys/asoundlib.h>
13176 #endif
13178 main ()
13180 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13182 return 0;
13184 _ACEOF
13185 if ac_fn_c_try_compile "$LINENO"; then :
13186 ALSA_LIBS="-lasound"
13188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13192 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13194 if test "x$with_oss" != xno
13195 then
13196 ac_save_CPPFLAGS="$CPPFLAGS"
13197 if test -f /etc/oss.conf
13198 then
13199 . /etc/oss.conf
13201 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13202 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13203 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13204 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13205 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13207 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13209 cat >>confdefs.h <<_ACEOF
13210 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13211 _ACEOF
13213 OSS4_CFLAGS="$ac_oss_incl"
13220 CPPFLAGS="$ac_save_CPPFLAGS"
13222 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13223 case "x$with_oss" in
13224 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13225 xno) ;;
13226 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13227 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13228 esac
13229 enable_wineoss_drv=${enable_wineoss_drv:-no}
13232 if test "x$with_udev" != "xno"
13233 then
13234 if ${UDEV_CFLAGS:+false} :; then :
13235 if ${PKG_CONFIG+:} false; then :
13236 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13240 if ${UDEV_LIBS:+false} :; then :
13241 if ${PKG_CONFIG+:} false; then :
13242 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13246 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13247 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13248 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13249 ac_save_CPPFLAGS=$CPPFLAGS
13250 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13251 for ac_header in libudev.h
13252 do :
13253 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13254 if test "x$ac_cv_header_libudev_h" = xyes; then :
13255 cat >>confdefs.h <<_ACEOF
13256 #define HAVE_LIBUDEV_H 1
13257 _ACEOF
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13259 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13260 if ${ac_cv_lib_udev_udev_new+:} false; then :
13261 $as_echo_n "(cached) " >&6
13262 else
13263 ac_check_lib_save_LIBS=$LIBS
13264 LIBS="-ludev $UDEV_LIBS $LIBS"
13265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13268 /* Override any GCC internal prototype to avoid an error.
13269 Use char because int might match the return type of a GCC
13270 builtin and then its argument prototype would still apply. */
13271 #ifdef __cplusplus
13272 extern "C"
13273 #endif
13274 char udev_new ();
13276 main ()
13278 return udev_new ();
13280 return 0;
13282 _ACEOF
13283 if ac_fn_c_try_link "$LINENO"; then :
13284 ac_cv_lib_udev_udev_new=yes
13285 else
13286 ac_cv_lib_udev_udev_new=no
13288 rm -f core conftest.err conftest.$ac_objext \
13289 conftest$ac_exeext conftest.$ac_ext
13290 LIBS=$ac_check_lib_save_LIBS
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13293 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13294 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13296 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13298 else
13299 UDEV_LIBS=""
13302 else
13303 UDEV_LIBS=""
13306 done
13308 CPPFLAGS=$ac_save_CPPFLAGS
13309 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13310 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13313 if test "x$UDEV_LIBS" = "x"; then :
13314 case "x$with_udev" in
13315 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13316 xno) ;;
13317 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13318 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13319 esac
13323 if test "x$with_capi" != "xno"
13324 then
13325 if ${CAPI20_CFLAGS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13331 if ${CAPI20_LIBS:+false} :; then :
13332 if ${PKG_CONFIG+:} false; then :
13333 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13338 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13339 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13340 ac_save_CPPFLAGS=$CPPFLAGS
13341 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13342 for ac_header in capi20.h linux/capi.h
13343 do :
13344 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13345 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13347 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13348 cat >>confdefs.h <<_ACEOF
13349 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13350 _ACEOF
13354 done
13356 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13357 then
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13359 $as_echo_n "checking for -lcapi20... " >&6; }
13360 if ${ac_cv_lib_soname_capi20+:} false; then :
13361 $as_echo_n "(cached) " >&6
13362 else
13363 ac_check_soname_save_LIBS=$LIBS
13364 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13366 /* end confdefs.h. */
13368 /* Override any GCC internal prototype to avoid an error.
13369 Use char because int might match the return type of a GCC
13370 builtin and then its argument prototype would still apply. */
13371 #ifdef __cplusplus
13372 extern "C"
13373 #endif
13374 char capi20_register ();
13376 main ()
13378 return capi20_register ();
13380 return 0;
13382 _ACEOF
13383 if ac_fn_c_try_link "$LINENO"; then :
13384 case "$LIBEXT" in
13385 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13386 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'` ;;
13387 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13388 if ${ac_cv_lib_soname_capi20:+false} :; then :
13389 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13390 fi ;;
13391 esac
13393 rm -f core conftest.err conftest.$ac_objext \
13394 conftest$ac_exeext conftest.$ac_ext
13395 LIBS=$ac_check_soname_save_LIBS
13397 if ${ac_cv_lib_soname_capi20:+false} :; then :
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13399 $as_echo "not found" >&6; }
13401 else
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13403 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13405 cat >>confdefs.h <<_ACEOF
13406 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13407 _ACEOF
13412 CPPFLAGS=$ac_save_CPPFLAGS
13413 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13414 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13417 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13418 case "x$with_capi" in
13419 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13420 xno) ;;
13421 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13422 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13423 esac
13427 CUPS_CFLAGS=""
13429 if test "x$with_cups" != "xno"
13430 then
13431 ac_save_CPPFLAGS="$CPPFLAGS"
13432 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13433 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13434 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13435 for ac_header in cups/cups.h
13436 do :
13437 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13438 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13439 cat >>confdefs.h <<_ACEOF
13440 #define HAVE_CUPS_CUPS_H 1
13441 _ACEOF
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13443 $as_echo_n "checking for -lcups... " >&6; }
13444 if ${ac_cv_lib_soname_cups+:} false; then :
13445 $as_echo_n "(cached) " >&6
13446 else
13447 ac_check_soname_save_LIBS=$LIBS
13448 LIBS="-lcups $ac_cups_libs $LIBS"
13449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13450 /* end confdefs.h. */
13452 /* Override any GCC internal prototype to avoid an error.
13453 Use char because int might match the return type of a GCC
13454 builtin and then its argument prototype would still apply. */
13455 #ifdef __cplusplus
13456 extern "C"
13457 #endif
13458 char cupsGetDefault ();
13460 main ()
13462 return cupsGetDefault ();
13464 return 0;
13466 _ACEOF
13467 if ac_fn_c_try_link "$LINENO"; then :
13468 case "$LIBEXT" in
13469 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13470 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'` ;;
13471 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13472 if ${ac_cv_lib_soname_cups:+false} :; then :
13473 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13474 fi ;;
13475 esac
13477 rm -f core conftest.err conftest.$ac_objext \
13478 conftest$ac_exeext conftest.$ac_ext
13479 LIBS=$ac_check_soname_save_LIBS
13481 if ${ac_cv_lib_soname_cups:+false} :; then :
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13483 $as_echo "not found" >&6; }
13485 else
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13487 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13489 cat >>confdefs.h <<_ACEOF
13490 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13491 _ACEOF
13493 CUPS_CFLAGS="$ac_cups_cflags"
13495 for ac_header in cups/ppd.h
13496 do :
13497 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13498 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13499 cat >>confdefs.h <<_ACEOF
13500 #define HAVE_CUPS_PPD_H 1
13501 _ACEOF
13505 done
13509 done
13511 CPPFLAGS="$ac_save_CPPFLAGS"
13513 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13514 case "x$with_cups" in
13515 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13516 xno) ;;
13517 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13518 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13519 esac
13523 if test "x$with_fontconfig" != "xno"
13524 then
13525 if ${FONTCONFIG_CFLAGS:+false} :; then :
13526 if ${PKG_CONFIG+:} false; then :
13527 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13530 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13531 if ${FONTCONFIG_LIBS:+false} :; then :
13532 if ${PKG_CONFIG+:} false; then :
13533 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13536 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13538 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13539 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13540 ac_save_CPPFLAGS=$CPPFLAGS
13541 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13542 for ac_header in fontconfig/fontconfig.h
13543 do :
13544 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13545 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13546 cat >>confdefs.h <<_ACEOF
13547 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13548 _ACEOF
13552 done
13554 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13555 then
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13557 $as_echo_n "checking for -lfontconfig... " >&6; }
13558 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13559 $as_echo_n "(cached) " >&6
13560 else
13561 ac_check_soname_save_LIBS=$LIBS
13562 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13564 /* end confdefs.h. */
13566 /* Override any GCC internal prototype to avoid an error.
13567 Use char because int might match the return type of a GCC
13568 builtin and then its argument prototype would still apply. */
13569 #ifdef __cplusplus
13570 extern "C"
13571 #endif
13572 char FcInit ();
13574 main ()
13576 return FcInit ();
13578 return 0;
13580 _ACEOF
13581 if ac_fn_c_try_link "$LINENO"; then :
13582 case "$LIBEXT" in
13583 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13584 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'` ;;
13585 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13586 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13587 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13588 fi ;;
13589 esac
13591 rm -f core conftest.err conftest.$ac_objext \
13592 conftest$ac_exeext conftest.$ac_ext
13593 LIBS=$ac_check_soname_save_LIBS
13595 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13597 $as_echo "not found" >&6; }
13598 FONTCONFIG_CFLAGS=""
13599 else
13600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13601 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13603 cat >>confdefs.h <<_ACEOF
13604 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13605 _ACEOF
13609 else
13610 FONTCONFIG_CFLAGS=""
13612 CPPFLAGS=$ac_save_CPPFLAGS
13613 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13614 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13617 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13618 case "x$with_fontconfig" in
13619 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13620 xno) ;;
13621 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13622 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13623 esac
13627 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13628 then
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13630 $as_echo_n "checking for -lgsm... " >&6; }
13631 if ${ac_cv_lib_soname_gsm+:} false; then :
13632 $as_echo_n "(cached) " >&6
13633 else
13634 ac_check_soname_save_LIBS=$LIBS
13635 LIBS="-lgsm $LIBS"
13636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13637 /* end confdefs.h. */
13639 /* Override any GCC internal prototype to avoid an error.
13640 Use char because int might match the return type of a GCC
13641 builtin and then its argument prototype would still apply. */
13642 #ifdef __cplusplus
13643 extern "C"
13644 #endif
13645 char gsm_create ();
13647 main ()
13649 return gsm_create ();
13651 return 0;
13653 _ACEOF
13654 if ac_fn_c_try_link "$LINENO"; then :
13655 case "$LIBEXT" in
13656 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13657 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'` ;;
13658 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13659 if ${ac_cv_lib_soname_gsm:+false} :; then :
13660 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13661 fi ;;
13662 esac
13664 rm -f core conftest.err conftest.$ac_objext \
13665 conftest$ac_exeext conftest.$ac_ext
13666 LIBS=$ac_check_soname_save_LIBS
13668 if ${ac_cv_lib_soname_gsm:+false} :; then :
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13670 $as_echo "not found" >&6; }
13672 else
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13674 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13676 cat >>confdefs.h <<_ACEOF
13677 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13678 _ACEOF
13683 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13684 case "x$with_gsm" in
13685 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13686 xno) ;;
13687 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13688 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13689 esac
13693 if test "x$with_jpeg" != "xno"
13694 then
13695 if ${JPEG_CFLAGS:+false} :; then :
13696 if ${PKG_CONFIG+:} false; then :
13697 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13701 if ${JPEG_LIBS:+false} :; then :
13702 if ${PKG_CONFIG+:} false; then :
13703 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13708 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13709 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13710 ac_save_CPPFLAGS=$CPPFLAGS
13711 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13712 for ac_header in jpeglib.h
13713 do :
13714 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13715 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13716 cat >>confdefs.h <<_ACEOF
13717 #define HAVE_JPEGLIB_H 1
13718 _ACEOF
13722 done
13724 if test "$ac_cv_header_jpeglib_h" = "yes"
13725 then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13727 $as_echo_n "checking for -ljpeg... " >&6; }
13728 if ${ac_cv_lib_soname_jpeg+:} false; then :
13729 $as_echo_n "(cached) " >&6
13730 else
13731 ac_check_soname_save_LIBS=$LIBS
13732 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13736 /* Override any GCC internal prototype to avoid an error.
13737 Use char because int might match the return type of a GCC
13738 builtin and then its argument prototype would still apply. */
13739 #ifdef __cplusplus
13740 extern "C"
13741 #endif
13742 char jpeg_start_decompress ();
13744 main ()
13746 return jpeg_start_decompress ();
13748 return 0;
13750 _ACEOF
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 case "$LIBEXT" in
13753 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13754 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'` ;;
13755 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13756 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13757 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13758 fi ;;
13759 esac
13761 rm -f core conftest.err conftest.$ac_objext \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS=$ac_check_soname_save_LIBS
13765 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13767 $as_echo "not found" >&6; }
13768 JPEG_CFLAGS=""
13769 else
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13771 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13773 cat >>confdefs.h <<_ACEOF
13774 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13775 _ACEOF
13779 else
13780 JPEG_CFLAGS=""
13782 CPPFLAGS=$ac_save_CPPFLAGS
13783 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13784 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13787 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13788 case "x$with_jpeg" in
13789 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13790 xno) ;;
13791 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13792 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13793 esac
13797 if test "x$with_png" != "xno"
13798 then
13799 if ${PNG_CFLAGS:+false} :; then :
13800 if ${PKG_CONFIG+:} false; then :
13801 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13804 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13805 if ${PNG_LIBS:+false} :; then :
13806 if ${PKG_CONFIG+:} false; then :
13807 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13810 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13812 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13813 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13814 ac_save_CPPFLAGS=$CPPFLAGS
13815 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13816 for ac_header in png.h
13817 do :
13818 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13819 if test "x$ac_cv_header_png_h" = xyes; then :
13820 cat >>confdefs.h <<_ACEOF
13821 #define HAVE_PNG_H 1
13822 _ACEOF
13826 done
13828 if test "$ac_cv_header_png_h" = "yes"
13829 then
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13831 $as_echo_n "checking for -lpng... " >&6; }
13832 if ${ac_cv_lib_soname_png+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 ac_check_soname_save_LIBS=$LIBS
13836 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13843 #ifdef __cplusplus
13844 extern "C"
13845 #endif
13846 char png_create_read_struct ();
13848 main ()
13850 return png_create_read_struct ();
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"; then :
13856 case "$LIBEXT" in
13857 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13858 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'` ;;
13859 *) 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'`
13860 if ${ac_cv_lib_soname_png:+false} :; then :
13861 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13862 fi ;;
13863 esac
13865 rm -f core conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_soname_save_LIBS
13869 if ${ac_cv_lib_soname_png:+false} :; then :
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13871 $as_echo "not found" >&6; }
13872 PNG_CFLAGS=""
13873 else
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13875 $as_echo "$ac_cv_lib_soname_png" >&6; }
13877 cat >>confdefs.h <<_ACEOF
13878 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13879 _ACEOF
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13883 #include <png.h>
13885 main ()
13887 typeof(png_set_expand_gray_1_2_4_to_8) *p
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_compile "$LINENO"; then :
13894 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13899 else
13900 PNG_CFLAGS=""
13902 CPPFLAGS=$ac_save_CPPFLAGS
13903 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13904 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13907 if test "x$ac_cv_lib_soname_png" = "x"; then :
13908 case "x$with_png" in
13909 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13910 xno) ;;
13911 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13912 This is an error since --with-png was requested." "$LINENO" 5 ;;
13913 esac
13917 if test "x$with_tiff" != "xno"
13918 then
13919 if ${TIFF_CFLAGS:+false} :; then :
13920 if ${PKG_CONFIG+:} false; then :
13921 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13925 if ${TIFF_LIBS:+false} :; then :
13926 if ${PKG_CONFIG+:} false; then :
13927 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13932 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13933 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13934 ac_save_CPPFLAGS=$CPPFLAGS
13935 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13936 for ac_header in tiffio.h
13937 do :
13938 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13939 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13940 cat >>confdefs.h <<_ACEOF
13941 #define HAVE_TIFFIO_H 1
13942 _ACEOF
13946 done
13948 if test "$ac_cv_header_tiffio_h" = "yes"
13949 then
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13951 $as_echo_n "checking for -ltiff... " >&6; }
13952 if ${ac_cv_lib_soname_tiff+:} false; then :
13953 $as_echo_n "(cached) " >&6
13954 else
13955 ac_check_soname_save_LIBS=$LIBS
13956 LIBS="-ltiff $TIFF_LIBS $LIBS"
13957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13958 /* end confdefs.h. */
13960 /* Override any GCC internal prototype to avoid an error.
13961 Use char because int might match the return type of a GCC
13962 builtin and then its argument prototype would still apply. */
13963 #ifdef __cplusplus
13964 extern "C"
13965 #endif
13966 char TIFFClientOpen ();
13968 main ()
13970 return TIFFClientOpen ();
13972 return 0;
13974 _ACEOF
13975 if ac_fn_c_try_link "$LINENO"; then :
13976 case "$LIBEXT" in
13977 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13978 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'` ;;
13979 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13980 if ${ac_cv_lib_soname_tiff:+false} :; then :
13981 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13982 fi ;;
13983 esac
13985 rm -f core conftest.err conftest.$ac_objext \
13986 conftest$ac_exeext conftest.$ac_ext
13987 LIBS=$ac_check_soname_save_LIBS
13989 if ${ac_cv_lib_soname_tiff:+false} :; then :
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13991 $as_echo "not found" >&6; }
13993 else
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13995 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13997 cat >>confdefs.h <<_ACEOF
13998 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13999 _ACEOF
14004 CPPFLAGS=$ac_save_CPPFLAGS
14005 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14006 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14009 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14010 case "x$with_tiff" in
14011 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14012 xno) ;;
14013 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14014 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14015 esac
14019 if test "x$with_mpg123" != "xno"
14020 then
14021 if ${MPG123_CFLAGS:+false} :; then :
14022 if ${PKG_CONFIG+:} false; then :
14023 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14027 if ${MPG123_LIBS:+false} :; then :
14028 if ${PKG_CONFIG+:} false; then :
14029 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14033 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14034 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14035 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14036 ac_save_CPPFLAGS=$CPPFLAGS
14037 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14038 for ac_header in mpg123.h
14039 do :
14040 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14041 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14042 cat >>confdefs.h <<_ACEOF
14043 #define HAVE_MPG123_H 1
14044 _ACEOF
14048 done
14050 if test "$ac_cv_header_mpg123_h" = "yes"
14051 then
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14053 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14054 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14055 $as_echo_n "(cached) " >&6
14056 else
14057 ac_check_lib_save_LIBS=$LIBS
14058 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14060 /* end confdefs.h. */
14062 /* Override any GCC internal prototype to avoid an error.
14063 Use char because int might match the return type of a GCC
14064 builtin and then its argument prototype would still apply. */
14065 #ifdef __cplusplus
14066 extern "C"
14067 #endif
14068 char mpg123_feed ();
14070 main ()
14072 return mpg123_feed ();
14074 return 0;
14076 _ACEOF
14077 if ac_fn_c_try_link "$LINENO"; then :
14078 ac_cv_lib_mpg123_mpg123_feed=yes
14079 else
14080 ac_cv_lib_mpg123_mpg123_feed=no
14082 rm -f core conftest.err conftest.$ac_objext \
14083 conftest$ac_exeext conftest.$ac_ext
14084 LIBS=$ac_check_lib_save_LIBS
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14087 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14088 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14090 else
14091 MPG123_LIBS=""
14094 else
14095 MPG123_CFLAGS=""
14096 MPG123_LIBS=""
14098 CPPFLAGS=$ac_save_CPPFLAGS
14099 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14100 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14103 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14104 case "x$with_mpg123" in
14105 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14106 xno) ;;
14107 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14108 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14109 esac
14110 enable_winemp3_acm=${enable_winemp3_acm:-no}
14113 if test "$ac_cv_header_AL_al_h" = "yes"
14114 then
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14116 $as_echo_n "checking for -lopenal... " >&6; }
14117 if ${ac_cv_lib_soname_openal+:} false; then :
14118 $as_echo_n "(cached) " >&6
14119 else
14120 ac_check_soname_save_LIBS=$LIBS
14121 LIBS="-lopenal $LIBS"
14122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14125 /* Override any GCC internal prototype to avoid an error.
14126 Use char because int might match the return type of a GCC
14127 builtin and then its argument prototype would still apply. */
14128 #ifdef __cplusplus
14129 extern "C"
14130 #endif
14131 char alGetSource3i ();
14133 main ()
14135 return alGetSource3i ();
14137 return 0;
14139 _ACEOF
14140 if ac_fn_c_try_link "$LINENO"; then :
14141 case "$LIBEXT" in
14142 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14143 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'` ;;
14144 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14145 if ${ac_cv_lib_soname_openal:+false} :; then :
14146 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14147 fi ;;
14148 esac
14150 rm -f core conftest.err conftest.$ac_objext \
14151 conftest$ac_exeext conftest.$ac_ext
14152 LIBS=$ac_check_soname_save_LIBS
14154 if ${ac_cv_lib_soname_openal:+false} :; then :
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14156 $as_echo "not found" >&6; }
14158 else
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14160 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14162 cat >>confdefs.h <<_ACEOF
14163 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14164 _ACEOF
14166 OPENAL_LIBS="-lopenal"
14168 ac_cv_lib_openal=yes
14170 cat >>confdefs.h <<_ACEOF
14171 #define HAVE_OPENAL 1
14172 _ACEOF
14176 if test "x$ac_cv_lib_openal" != xyes; then :
14177 case "x$with_openal" in
14178 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14179 xno) ;;
14180 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14181 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14182 esac
14183 enable_openal32=${enable_openal32:-no}
14186 if test "x$ac_cv_lib_openal" = xyes
14187 then
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14189 $as_echo_n "checking for openal-soft... " >&6; }
14190 if ${ac_cv_have_openalsoft+:} false; then :
14191 $as_echo_n "(cached) " >&6
14192 else
14193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14194 /* end confdefs.h. */
14195 #include <AL/al.h>
14196 #include <AL/alc.h>
14197 #include <AL/alext.h>
14198 LPALCRENDERSAMPLESSOFT x;
14200 main ()
14204 return 0;
14206 _ACEOF
14207 if ac_fn_c_try_compile "$LINENO"; then :
14208 ac_cv_have_openalsoft=yes
14209 else
14210 ac_cv_have_openalsoft=no
14212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14215 $as_echo "$ac_cv_have_openalsoft" >&6; }
14217 if test "x$ac_cv_have_openalsoft" != xyes
14218 then
14219 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14220 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14221 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14222 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14223 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14224 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14225 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14226 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14227 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14228 enable_xapofx1_1=${enable_xapofx1_1:-no}
14229 enable_xapofx1_2=${enable_xapofx1_2:-no}
14230 enable_xapofx1_3=${enable_xapofx1_3:-no}
14231 enable_xapofx1_4=${enable_xapofx1_4:-no}
14232 enable_xapofx1_5=${enable_xapofx1_5:-no}
14233 enable_xaudio2_0=${enable_xaudio2_0:-no}
14234 enable_xaudio2_1=${enable_xaudio2_1:-no}
14235 enable_xaudio2_2=${enable_xaudio2_2:-no}
14236 enable_xaudio2_3=${enable_xaudio2_3:-no}
14237 enable_xaudio2_4=${enable_xaudio2_4:-no}
14238 enable_xaudio2_5=${enable_xaudio2_5:-no}
14239 enable_xaudio2_6=${enable_xaudio2_6:-no}
14240 enable_xaudio2_7=${enable_xaudio2_7:-no}
14241 enable_xaudio2_8=${enable_xaudio2_8:-no}
14242 enable_xaudio2_9=${enable_xaudio2_9:-no}
14245 if test "$ac_cv_header_kstat_h" = "yes"
14246 then
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14248 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14249 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 ac_check_lib_save_LIBS=$LIBS
14253 LIBS="-lkstat $LIBS"
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14257 /* Override any GCC internal prototype to avoid an error.
14258 Use char because int might match the return type of a GCC
14259 builtin and then its argument prototype would still apply. */
14260 #ifdef __cplusplus
14261 extern "C"
14262 #endif
14263 char kstat_open ();
14265 main ()
14267 return kstat_open ();
14269 return 0;
14271 _ACEOF
14272 if ac_fn_c_try_link "$LINENO"; then :
14273 ac_cv_lib_kstat_kstat_open=yes
14274 else
14275 ac_cv_lib_kstat_kstat_open=no
14277 rm -f core conftest.err conftest.$ac_objext \
14278 conftest$ac_exeext conftest.$ac_ext
14279 LIBS=$ac_check_lib_save_LIBS
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14282 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14283 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14285 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14287 KSTAT_LIBS="-lkstat"
14293 if test "$ac_cv_header_libprocstat_h" = "yes"
14294 then
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14296 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14297 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14298 $as_echo_n "(cached) " >&6
14299 else
14300 ac_check_lib_save_LIBS=$LIBS
14301 LIBS="-lprocstat $LIBS"
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14305 /* Override any GCC internal prototype to avoid an error.
14306 Use char because int might match the return type of a GCC
14307 builtin and then its argument prototype would still apply. */
14308 #ifdef __cplusplus
14309 extern "C"
14310 #endif
14311 char procstat_open_sysctl ();
14313 main ()
14315 return procstat_open_sysctl ();
14317 return 0;
14319 _ACEOF
14320 if ac_fn_c_try_link "$LINENO"; then :
14321 ac_cv_lib_procstat_procstat_open_sysctl=yes
14322 else
14323 ac_cv_lib_procstat_procstat_open_sysctl=no
14325 rm -f core conftest.err conftest.$ac_objext \
14326 conftest$ac_exeext conftest.$ac_ext
14327 LIBS=$ac_check_lib_save_LIBS
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14330 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14331 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14333 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14335 PROCSTAT_LIBS="-lprocstat"
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14342 $as_echo_n "checking for -lodbc... " >&6; }
14343 if ${ac_cv_lib_soname_odbc+:} false; then :
14344 $as_echo_n "(cached) " >&6
14345 else
14346 ac_check_soname_save_LIBS=$LIBS
14347 LIBS="-lodbc $LIBS"
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
14354 #ifdef __cplusplus
14355 extern "C"
14356 #endif
14357 char SQLConnect ();
14359 main ()
14361 return SQLConnect ();
14363 return 0;
14365 _ACEOF
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 case "$LIBEXT" in
14368 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14369 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'` ;;
14370 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14371 if ${ac_cv_lib_soname_odbc:+false} :; then :
14372 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14373 fi ;;
14374 esac
14376 rm -f core conftest.err conftest.$ac_objext \
14377 conftest$ac_exeext conftest.$ac_ext
14378 LIBS=$ac_check_soname_save_LIBS
14380 if ${ac_cv_lib_soname_odbc:+false} :; then :
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14382 $as_echo "not found" >&6; }
14383 cat >>confdefs.h <<_ACEOF
14384 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14385 _ACEOF
14387 else
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14389 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14391 cat >>confdefs.h <<_ACEOF
14392 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14393 _ACEOF
14398 if test "x$with_netapi" != "xno"
14399 then
14400 if ${NETAPI_CFLAGS:+false} :; then :
14401 if ${PKG_CONFIG+:} false; then :
14402 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14406 if ${NETAPI_LIBS:+false} :; then :
14407 if ${PKG_CONFIG+:} false; then :
14408 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14413 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14414 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14415 ac_save_CPPFLAGS=$CPPFLAGS
14416 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14418 $as_echo_n "checking for -lnetapi... " >&6; }
14419 if ${ac_cv_lib_soname_netapi+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 ac_check_soname_save_LIBS=$LIBS
14423 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14425 /* end confdefs.h. */
14427 /* Override any GCC internal prototype to avoid an error.
14428 Use char because int might match the return type of a GCC
14429 builtin and then its argument prototype would still apply. */
14430 #ifdef __cplusplus
14431 extern "C"
14432 #endif
14433 char libnetapi_init ();
14435 main ()
14437 return libnetapi_init ();
14439 return 0;
14441 _ACEOF
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 case "$LIBEXT" in
14444 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14445 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'` ;;
14446 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14447 if ${ac_cv_lib_soname_netapi:+false} :; then :
14448 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14449 fi ;;
14450 esac
14452 rm -f core conftest.err conftest.$ac_objext \
14453 conftest$ac_exeext conftest.$ac_ext
14454 LIBS=$ac_check_soname_save_LIBS
14456 if ${ac_cv_lib_soname_netapi:+false} :; then :
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14458 $as_echo "not found" >&6; }
14459 cat >>confdefs.h <<_ACEOF
14460 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14461 _ACEOF
14463 else
14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14465 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14467 cat >>confdefs.h <<_ACEOF
14468 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14469 _ACEOF
14473 CPPFLAGS=$ac_save_CPPFLAGS
14474 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14475 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14479 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14480 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14481 then
14482 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14486 EXTRACFLAGS=""
14488 if test "x${GCC}" = "xyes"
14489 then
14490 EXTRACFLAGS="-Wall -pipe"
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14493 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14494 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 if test "$cross_compiling" = yes; then :
14498 ac_cv_c_gcc_strength_bug="no"
14499 else
14500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14501 /* end confdefs.h. */
14502 int L[4] = {0,1,2,3};
14504 main ()
14506 static int Array[3];
14507 unsigned int B = 3;
14508 int i;
14509 for(i=0; i<B; i++) Array[i] = i - 3;
14510 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14511 L[i] = 4;
14512 return (Array[1] != -2 || L[2] != 3)
14514 return 0;
14516 _ACEOF
14517 if ac_fn_c_try_run "$LINENO"; then :
14518 ac_cv_c_gcc_strength_bug="no"
14519 else
14520 ac_cv_c_gcc_strength_bug="yes"
14522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14523 conftest.$ac_objext conftest.beam conftest.$ac_ext
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14528 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14529 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14530 then
14531 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14535 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14536 if ${ac_cv_cflags__fno_builtin+:} false; then :
14537 $as_echo_n "(cached) " >&6
14538 else
14539 ac_wine_try_cflags_saved=$CFLAGS
14540 CFLAGS="$CFLAGS -fno-builtin"
14541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14542 /* end confdefs.h. */
14543 int main(int argc, char **argv) { return 0; }
14544 _ACEOF
14545 if ac_fn_c_try_link "$LINENO"; then :
14546 ac_cv_cflags__fno_builtin=yes
14547 else
14548 ac_cv_cflags__fno_builtin=no
14550 rm -f core conftest.err conftest.$ac_objext \
14551 conftest$ac_exeext conftest.$ac_ext
14552 CFLAGS=$ac_wine_try_cflags_saved
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14555 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14556 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14557 BUILTINFLAG="-fno-builtin"
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14561 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14562 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14563 $as_echo_n "(cached) " >&6
14564 else
14565 ac_wine_try_cflags_saved=$CFLAGS
14566 CFLAGS="$CFLAGS -fno-strict-aliasing"
14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14569 int main(int argc, char **argv) { return 0; }
14570 _ACEOF
14571 if ac_fn_c_try_link "$LINENO"; then :
14572 ac_cv_cflags__fno_strict_aliasing=yes
14573 else
14574 ac_cv_cflags__fno_strict_aliasing=no
14576 rm -f core conftest.err conftest.$ac_objext \
14577 conftest$ac_exeext conftest.$ac_ext
14578 CFLAGS=$ac_wine_try_cflags_saved
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14581 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14582 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14583 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14586 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14587 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 ac_wine_try_cflags_saved=$CFLAGS
14591 CFLAGS="$CFLAGS -fexcess-precision=standard"
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 int main(int argc, char **argv) { return 0; }
14595 _ACEOF
14596 if ac_fn_c_try_link "$LINENO"; then :
14597 ac_cv_cflags__fexcess_precision_standard=yes
14598 else
14599 ac_cv_cflags__fexcess_precision_standard=no
14601 rm -f core conftest.err conftest.$ac_objext \
14602 conftest$ac_exeext conftest.$ac_ext
14603 CFLAGS=$ac_wine_try_cflags_saved
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14606 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14607 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14608 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14611 saved_CFLAGS=$CFLAGS
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14613 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14614 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14615 $as_echo_n "(cached) " >&6
14616 else
14617 ac_wine_try_cflags_saved=$CFLAGS
14618 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14621 int main(int argc, char **argv) { return 0; }
14622 _ACEOF
14623 if ac_fn_c_try_link "$LINENO"; then :
14624 ac_cv_cflags__Werror_unknown_warning_option=yes
14625 else
14626 ac_cv_cflags__Werror_unknown_warning_option=no
14628 rm -f core conftest.err conftest.$ac_objext \
14629 conftest$ac_exeext conftest.$ac_ext
14630 CFLAGS=$ac_wine_try_cflags_saved
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14633 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14634 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14635 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14638 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14639 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14640 $as_echo_n "(cached) " >&6
14641 else
14642 ac_wine_try_cflags_saved=$CFLAGS
14643 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14645 /* end confdefs.h. */
14646 int main(int argc, char **argv) { return 0; }
14647 _ACEOF
14648 if ac_fn_c_try_link "$LINENO"; then :
14649 ac_cv_cflags__Wdeclaration_after_statement=yes
14650 else
14651 ac_cv_cflags__Wdeclaration_after_statement=no
14653 rm -f core conftest.err conftest.$ac_objext \
14654 conftest$ac_exeext conftest.$ac_ext
14655 CFLAGS=$ac_wine_try_cflags_saved
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14658 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14659 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14660 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14663 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14664 if ${ac_cv_cflags__Wempty_body+:} false; then :
14665 $as_echo_n "(cached) " >&6
14666 else
14667 ac_wine_try_cflags_saved=$CFLAGS
14668 CFLAGS="$CFLAGS -Wempty-body"
14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14670 /* end confdefs.h. */
14671 int main(int argc, char **argv) { return 0; }
14672 _ACEOF
14673 if ac_fn_c_try_link "$LINENO"; then :
14674 ac_cv_cflags__Wempty_body=yes
14675 else
14676 ac_cv_cflags__Wempty_body=no
14678 rm -f core conftest.err conftest.$ac_objext \
14679 conftest$ac_exeext conftest.$ac_ext
14680 CFLAGS=$ac_wine_try_cflags_saved
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14683 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14684 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14685 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14688 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14689 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14690 $as_echo_n "(cached) " >&6
14691 else
14692 ac_wine_try_cflags_saved=$CFLAGS
14693 CFLAGS="$CFLAGS -Wignored-qualifiers"
14694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14695 /* end confdefs.h. */
14696 int main(int argc, char **argv) { return 0; }
14697 _ACEOF
14698 if ac_fn_c_try_link "$LINENO"; then :
14699 ac_cv_cflags__Wignored_qualifiers=yes
14700 else
14701 ac_cv_cflags__Wignored_qualifiers=no
14703 rm -f core conftest.err conftest.$ac_objext \
14704 conftest$ac_exeext conftest.$ac_ext
14705 CFLAGS=$ac_wine_try_cflags_saved
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14708 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14709 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14710 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14713 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14714 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14715 $as_echo_n "(cached) " >&6
14716 else
14717 ac_wine_try_cflags_saved=$CFLAGS
14718 CFLAGS="$CFLAGS -Wshift-overflow=2"
14719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14720 /* end confdefs.h. */
14721 int main(int argc, char **argv) { return 0; }
14722 _ACEOF
14723 if ac_fn_c_try_link "$LINENO"; then :
14724 ac_cv_cflags__Wshift_overflow_2=yes
14725 else
14726 ac_cv_cflags__Wshift_overflow_2=no
14728 rm -f core conftest.err conftest.$ac_objext \
14729 conftest$ac_exeext conftest.$ac_ext
14730 CFLAGS=$ac_wine_try_cflags_saved
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14733 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14734 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14735 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14738 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14739 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14740 $as_echo_n "(cached) " >&6
14741 else
14742 ac_wine_try_cflags_saved=$CFLAGS
14743 CFLAGS="$CFLAGS -Wstrict-prototypes"
14744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14745 /* end confdefs.h. */
14746 int main(int argc, char **argv) { return 0; }
14747 _ACEOF
14748 if ac_fn_c_try_link "$LINENO"; then :
14749 ac_cv_cflags__Wstrict_prototypes=yes
14750 else
14751 ac_cv_cflags__Wstrict_prototypes=no
14753 rm -f core conftest.err conftest.$ac_objext \
14754 conftest$ac_exeext conftest.$ac_ext
14755 CFLAGS=$ac_wine_try_cflags_saved
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14758 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14759 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14760 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14763 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14764 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14765 $as_echo_n "(cached) " >&6
14766 else
14767 ac_wine_try_cflags_saved=$CFLAGS
14768 CFLAGS="$CFLAGS -Wtype-limits"
14769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14770 /* end confdefs.h. */
14771 int main(int argc, char **argv) { return 0; }
14772 _ACEOF
14773 if ac_fn_c_try_link "$LINENO"; then :
14774 ac_cv_cflags__Wtype_limits=yes
14775 else
14776 ac_cv_cflags__Wtype_limits=no
14778 rm -f core conftest.err conftest.$ac_objext \
14779 conftest$ac_exeext conftest.$ac_ext
14780 CFLAGS=$ac_wine_try_cflags_saved
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14783 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14784 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14785 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14788 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14789 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14790 $as_echo_n "(cached) " >&6
14791 else
14792 ac_wine_try_cflags_saved=$CFLAGS
14793 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14795 /* end confdefs.h. */
14796 int main(int argc, char **argv) { return 0; }
14797 _ACEOF
14798 if ac_fn_c_try_link "$LINENO"; then :
14799 ac_cv_cflags__Wunused_but_set_parameter=yes
14800 else
14801 ac_cv_cflags__Wunused_but_set_parameter=no
14803 rm -f core conftest.err conftest.$ac_objext \
14804 conftest$ac_exeext conftest.$ac_ext
14805 CFLAGS=$ac_wine_try_cflags_saved
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14808 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14809 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14810 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14813 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14814 if ${ac_cv_cflags__Wvla+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 ac_wine_try_cflags_saved=$CFLAGS
14818 CFLAGS="$CFLAGS -Wvla"
14819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14820 /* end confdefs.h. */
14821 int main(int argc, char **argv) { return 0; }
14822 _ACEOF
14823 if ac_fn_c_try_link "$LINENO"; then :
14824 ac_cv_cflags__Wvla=yes
14825 else
14826 ac_cv_cflags__Wvla=no
14828 rm -f core conftest.err conftest.$ac_objext \
14829 conftest$ac_exeext conftest.$ac_ext
14830 CFLAGS=$ac_wine_try_cflags_saved
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14833 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14834 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14835 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14838 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14839 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14840 $as_echo_n "(cached) " >&6
14841 else
14842 ac_wine_try_cflags_saved=$CFLAGS
14843 CFLAGS="$CFLAGS -Wwrite-strings"
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14846 int main(int argc, char **argv) { return 0; }
14847 _ACEOF
14848 if ac_fn_c_try_link "$LINENO"; then :
14849 ac_cv_cflags__Wwrite_strings=yes
14850 else
14851 ac_cv_cflags__Wwrite_strings=no
14853 rm -f core conftest.err conftest.$ac_objext \
14854 conftest$ac_exeext conftest.$ac_ext
14855 CFLAGS=$ac_wine_try_cflags_saved
14857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14858 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14859 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14860 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14864 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14865 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14866 $as_echo_n "(cached) " >&6
14867 else
14868 ac_wine_try_cflags_saved=$CFLAGS
14869 CFLAGS="$CFLAGS -Wpointer-arith"
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14872 int main(int argc, char **argv) { return 0; }
14873 _ACEOF
14874 if ac_fn_c_try_link "$LINENO"; then :
14875 ac_cv_cflags__Wpointer_arith=yes
14876 else
14877 ac_cv_cflags__Wpointer_arith=no
14879 rm -f core conftest.err conftest.$ac_objext \
14880 conftest$ac_exeext conftest.$ac_ext
14881 CFLAGS=$ac_wine_try_cflags_saved
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14884 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14885 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14886 saved_string_h_CFLAGS=$CFLAGS
14887 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14889 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14890 if ${ac_cv_c_string_h_warnings+:} false; then :
14891 $as_echo_n "(cached) " >&6
14892 else
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14895 #include <string.h>
14897 main ()
14901 return 0;
14903 _ACEOF
14904 if ac_fn_c_try_compile "$LINENO"; then :
14905 ac_cv_c_string_h_warnings=no
14906 else
14907 ac_cv_c_string_h_warnings=yes
14909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14912 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14913 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14914 CFLAGS=$saved_string_h_CFLAGS
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14918 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14919 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14920 $as_echo_n "(cached) " >&6
14921 else
14922 ac_wine_try_cflags_saved=$CFLAGS
14923 CFLAGS="$CFLAGS -Wlogical-op"
14924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h. */
14926 int main(int argc, char **argv) { return 0; }
14927 _ACEOF
14928 if ac_fn_c_try_link "$LINENO"; then :
14929 ac_cv_cflags__Wlogical_op=yes
14930 else
14931 ac_cv_cflags__Wlogical_op=no
14933 rm -f core conftest.err conftest.$ac_objext \
14934 conftest$ac_exeext conftest.$ac_ext
14935 CFLAGS=$ac_wine_try_cflags_saved
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14938 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14939 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14940 saved_string_h_CFLAGS=$CFLAGS
14941 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14943 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14944 if ${ac_cv_c_logicalop_noisy+:} false; then :
14945 $as_echo_n "(cached) " >&6
14946 else
14947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h. */
14949 #include <string.h>
14950 char*f(const char *h,char n) {return strchr(h,n);}
14952 main ()
14956 return 0;
14958 _ACEOF
14959 if ac_fn_c_try_compile "$LINENO"; then :
14960 ac_cv_c_logicalop_noisy=no
14961 else
14962 ac_cv_c_logicalop_noisy=yes
14964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14967 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14968 CFLAGS=$saved_string_h_CFLAGS
14969 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14972 CFLAGS=$saved_CFLAGS
14974 for ac_flag in $CFLAGS; do
14975 case $ac_flag in
14976 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14977 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14978 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14979 $as_echo_n "(cached) " >&6
14980 else
14981 ac_wine_try_cflags_saved=$CFLAGS
14982 CFLAGS="$CFLAGS -gdwarf-2"
14983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14984 /* end confdefs.h. */
14985 int main(int argc, char **argv) { return 0; }
14986 _ACEOF
14987 if ac_fn_c_try_link "$LINENO"; then :
14988 ac_cv_cflags__gdwarf_2=yes
14989 else
14990 ac_cv_cflags__gdwarf_2=no
14992 rm -f core conftest.err conftest.$ac_objext \
14993 conftest$ac_exeext conftest.$ac_ext
14994 CFLAGS=$ac_wine_try_cflags_saved
14996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14997 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14998 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14999 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15002 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15003 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15004 $as_echo_n "(cached) " >&6
15005 else
15006 ac_wine_try_cflags_saved=$CFLAGS
15007 CFLAGS="$CFLAGS -gstrict-dwarf"
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15010 int main(int argc, char **argv) { return 0; }
15011 _ACEOF
15012 if ac_fn_c_try_link "$LINENO"; then :
15013 ac_cv_cflags__gstrict_dwarf=yes
15014 else
15015 ac_cv_cflags__gstrict_dwarf=no
15017 rm -f core conftest.err conftest.$ac_objext \
15018 conftest$ac_exeext conftest.$ac_ext
15019 CFLAGS=$ac_wine_try_cflags_saved
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15022 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15023 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15024 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15025 fi ;;
15026 esac
15027 done
15029 case $host_cpu in
15030 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15031 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15032 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15033 $as_echo_n "(cached) " >&6
15034 else
15035 ac_wine_try_cflags_saved=$CFLAGS
15036 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15038 /* end confdefs.h. */
15039 int main(int argc, char **argv) { return 0; }
15040 _ACEOF
15041 if ac_fn_c_try_link "$LINENO"; then :
15042 ac_cv_cflags__fno_omit_frame_pointer=yes
15043 else
15044 ac_cv_cflags__fno_omit_frame_pointer=no
15046 rm -f core conftest.err conftest.$ac_objext \
15047 conftest$ac_exeext conftest.$ac_ext
15048 CFLAGS=$ac_wine_try_cflags_saved
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15051 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15052 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15053 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15054 fi ;;
15055 esac
15057 case $host in
15058 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15059 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15060 if ${ac_cv_cflags__Wno_format+:} false; then :
15061 $as_echo_n "(cached) " >&6
15062 else
15063 ac_wine_try_cflags_saved=$CFLAGS
15064 CFLAGS="$CFLAGS -Wno-format"
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 int main(int argc, char **argv) { return 0; }
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 ac_cv_cflags__Wno_format=yes
15071 else
15072 ac_cv_cflags__Wno_format=no
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15076 CFLAGS=$ac_wine_try_cflags_saved
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15079 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15080 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15081 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15082 fi ;;
15083 esac
15085 if test "x$enable_maintainer_mode" = "xyes"
15086 then
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15088 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15089 if ${ac_cv_cflags__Werror+:} false; then :
15090 $as_echo_n "(cached) " >&6
15091 else
15092 ac_wine_try_cflags_saved=$CFLAGS
15093 CFLAGS="$CFLAGS -Werror"
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15096 int main(int argc, char **argv) { return 0; }
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"; then :
15099 ac_cv_cflags__Werror=yes
15100 else
15101 ac_cv_cflags__Werror=no
15103 rm -f core conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15105 CFLAGS=$ac_wine_try_cflags_saved
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15108 $as_echo "$ac_cv_cflags__Werror" >&6; }
15109 if test "x$ac_cv_cflags__Werror" = xyes; then :
15110 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15114 saved_CFLAGS="$CFLAGS"
15115 CFLAGS="$CFLAGS -Werror"
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15117 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15118 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15119 $as_echo_n "(cached) " >&6
15120 else
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15125 main ()
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_compile "$LINENO"; then :
15133 ac_cv_have_ms_hook_prologue="yes"
15134 else
15135 ac_cv_have_ms_hook_prologue="no"
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15140 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15141 CFLAGS="$saved_CFLAGS"
15142 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15143 then
15145 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15147 else
15148 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15155 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15156 if ${ac_cv_c_fortify_enabled+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #include <string.h>
15163 main ()
15165 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15166 #error Fortify enabled
15167 #endif
15169 return 0;
15171 _ACEOF
15172 if ac_fn_c_try_compile "$LINENO"; then :
15173 ac_cv_c_fortify_enabled=no
15174 else
15175 ac_cv_c_fortify_enabled=yes
15177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15180 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15181 if test "$ac_cv_c_fortify_enabled" = yes
15182 then
15183 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15188 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15189 if ${ac_cv_c_extern_prefix+:} false; then :
15190 $as_echo_n "(cached) " >&6
15191 else
15192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15193 /* end confdefs.h. */
15194 extern int ac_test;
15196 main ()
15198 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15200 return 0;
15202 _ACEOF
15203 if ac_fn_c_try_link "$LINENO"; then :
15204 ac_cv_c_extern_prefix="yes"
15205 else
15206 ac_cv_c_extern_prefix="no"
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15212 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15214 case $host_cpu in
15215 *i[3456789]86*)
15216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15217 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15218 if ${ac_cv_c_stdcall_suffix+:} false; then :
15219 $as_echo_n "(cached) " >&6
15220 else
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #ifndef _MSC_VER
15224 #define __stdcall __attribute__((__stdcall__))
15225 #endif
15226 int __stdcall ac_test(int i) { return i; }
15228 main ()
15230 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15232 return 0;
15234 _ACEOF
15235 if ac_fn_c_try_link "$LINENO"; then :
15236 ac_cv_c_stdcall_suffix="yes"
15237 else
15238 ac_cv_c_stdcall_suffix="no"
15240 rm -f core conftest.err conftest.$ac_objext \
15241 conftest$ac_exeext conftest.$ac_ext
15243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15244 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15245 *) ac_cv_c_stdcall_suffix="no" ;;
15246 esac
15249 if test "$ac_cv_c_extern_prefix" = "yes"
15250 then
15251 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15253 asm_name_prefix="_"
15254 else
15255 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15257 asm_name_prefix=""
15261 if test "$ac_cv_c_stdcall_suffix" = "yes"
15262 then
15263 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15265 else
15266 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15272 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15273 if ${ac_cv_asm_func_def+:} false; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15280 main ()
15282 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15284 return 0;
15286 _ACEOF
15287 if ac_fn_c_try_link "$LINENO"; then :
15288 ac_cv_asm_func_def=".def"
15289 else
15290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15291 /* end confdefs.h. */
15294 main ()
15296 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15298 return 0;
15300 _ACEOF
15301 if ac_fn_c_try_link "$LINENO"; then :
15302 ac_cv_asm_func_def=".type @function"
15303 else
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15308 main ()
15310 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"; then :
15316 ac_cv_asm_func_def=".type 2"
15317 else
15318 ac_cv_asm_func_def="unknown"
15320 rm -f core conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15323 rm -f core conftest.err conftest.$ac_objext \
15324 conftest$ac_exeext conftest.$ac_ext
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15330 $as_echo "$ac_cv_asm_func_def" >&6; }
15333 case "$ac_cv_asm_func_def" in
15334 ".def")
15335 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15337 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15338 ".type @function")
15339 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15341 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15342 ".type 2")
15343 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15345 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15347 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15349 asm_func_header="" ;;
15350 esac
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15353 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15354 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15355 $as_echo_n "(cached) " >&6
15356 else
15357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15358 /* end confdefs.h. */
15359 asm(".text\n\t.long 0");
15361 main ()
15365 return 0;
15367 _ACEOF
15368 if ac_fn_c_try_compile "$LINENO"; then :
15369 ac_cv_c_asm_outside_funcs="yes"
15370 else
15371 ac_cv_c_asm_outside_funcs="no"
15373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15376 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15379 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15380 if ${ac_cv_c_dot_previous+:} false; then :
15381 $as_echo_n "(cached) " >&6
15382 else
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384 /* end confdefs.h. */
15387 main ()
15389 asm(".text\nac_test:\t.long 0\n\t.previous");
15391 return 0;
15393 _ACEOF
15394 if ac_fn_c_try_link "$LINENO"; then :
15395 ac_cv_c_dot_previous="yes"
15396 else
15397 ac_cv_c_dot_previous="no"
15399 rm -f core conftest.err conftest.$ac_objext \
15400 conftest$ac_exeext conftest.$ac_ext
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15403 $as_echo "$ac_cv_c_dot_previous" >&6; }
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15406 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15407 if ${ac_cv_c_cfi_support+:} false; then :
15408 $as_echo_n "(cached) " >&6
15409 else
15410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15411 /* end confdefs.h. */
15412 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15414 main ()
15418 return 0;
15420 _ACEOF
15421 if ac_fn_c_try_compile "$LINENO"; then :
15422 ac_cv_c_cfi_support="yes"
15423 else
15424 ac_cv_c_cfi_support="no"
15426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15429 $as_echo "$ac_cv_c_cfi_support" >&6; }
15431 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15432 asm_func_trailer=""
15433 if test "$ac_cv_c_dot_previous" = "yes"
15434 then
15435 asm_func_trailer="\\n\\t.previous"
15437 if test "$ac_cv_c_cfi_support" = "yes"
15438 then
15439 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15440 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15442 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15444 UNWINDFLAGS=-fasynchronous-unwind-tables
15446 else
15447 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15449 if test "x$enable_win64" = "xyes"
15450 then
15451 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15455 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15458 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15459 then
15460 cat >>confdefs.h <<_ACEOF
15461 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15462 _ACEOF
15464 else
15465 cat >>confdefs.h <<_ACEOF
15466 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15467 _ACEOF
15471 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15474 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15478 case $build_os in
15479 cygwin*|mingw32*) TOOLSEXT=".exe"
15481 esac
15483 case $host_os in
15484 linux*)
15485 case $host_cpu in
15486 *i[3456789]86*|x86_64*)
15487 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15488 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15490 esac
15492 esac
15495 ac_save_CFLAGS="$CFLAGS"
15496 CFLAGS="$CFLAGS $BUILTINFLAG"
15497 for ac_func in \
15498 __res_get_state \
15499 __res_getservers \
15500 _finite \
15501 _isnan \
15502 _pclose \
15503 _popen \
15504 _snprintf \
15505 _spawnvp \
15506 _strdup \
15507 _stricmp \
15508 _strnicmp \
15509 _strtoi64 \
15510 _strtoui64 \
15511 _vsnprintf \
15512 asctime_r \
15513 chsize \
15514 dlopen \
15515 epoll_create \
15516 ffs \
15517 finitef \
15518 fnmatch \
15519 fork \
15520 fpclass \
15521 fstatfs \
15522 fstatvfs \
15523 ftruncate \
15524 futimens \
15525 futimes \
15526 futimesat \
15527 getattrlist \
15528 getauxval \
15529 getifaddrs \
15530 getopt_long_only \
15531 getpwuid \
15532 gettimeofday \
15533 getuid \
15534 isnanf \
15535 kqueue \
15536 lstat \
15537 memmove \
15538 mmap \
15539 pclose \
15540 pipe2 \
15541 poll \
15542 popen \
15543 port_create \
15544 prctl \
15545 pread \
15546 proc_pidinfo \
15547 pwrite \
15548 readdir \
15549 readlink \
15550 sched_yield \
15551 select \
15552 setproctitle \
15553 setprogname \
15554 setrlimit \
15555 settimeofday \
15556 sigaltstack \
15557 sigprocmask \
15558 snprintf \
15559 statfs \
15560 statvfs \
15561 strcasecmp \
15562 strdup \
15563 strerror \
15564 strncasecmp \
15565 strtold \
15566 strtoll \
15567 strtoull \
15568 symlink \
15569 sysinfo \
15570 tcdrain \
15571 thr_kill2 \
15572 timegm \
15573 usleep \
15574 vsnprintf
15576 do :
15577 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15578 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15579 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15580 cat >>confdefs.h <<_ACEOF
15581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15582 _ACEOF
15585 done
15587 CFLAGS="$ac_save_CFLAGS"
15589 if test "$ac_cv_func_dlopen" = no
15590 then
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15592 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15593 if ${ac_cv_lib_dl_dlopen+:} false; then :
15594 $as_echo_n "(cached) " >&6
15595 else
15596 ac_check_lib_save_LIBS=$LIBS
15597 LIBS="-ldl $LIBS"
15598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15601 /* Override any GCC internal prototype to avoid an error.
15602 Use char because int might match the return type of a GCC
15603 builtin and then its argument prototype would still apply. */
15604 #ifdef __cplusplus
15605 extern "C"
15606 #endif
15607 char dlopen ();
15609 main ()
15611 return dlopen ();
15613 return 0;
15615 _ACEOF
15616 if ac_fn_c_try_link "$LINENO"; then :
15617 ac_cv_lib_dl_dlopen=yes
15618 else
15619 ac_cv_lib_dl_dlopen=no
15621 rm -f core conftest.err conftest.$ac_objext \
15622 conftest$ac_exeext conftest.$ac_ext
15623 LIBS=$ac_check_lib_save_LIBS
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15626 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15627 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15628 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15629 DL_LIBS="-ldl"
15634 ac_wine_check_funcs_save_LIBS="$LIBS"
15635 LIBS="$LIBS $DL_LIBS"
15636 for ac_func in dladdr
15637 do :
15638 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15639 if test "x$ac_cv_func_dladdr" = xyes; then :
15640 cat >>confdefs.h <<_ACEOF
15641 #define HAVE_DLADDR 1
15642 _ACEOF
15645 done
15647 LIBS="$ac_wine_check_funcs_save_LIBS"
15649 if test "$ac_cv_func_poll" = no
15650 then
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15652 $as_echo_n "checking for poll in -lpoll... " >&6; }
15653 if ${ac_cv_lib_poll_poll+:} false; then :
15654 $as_echo_n "(cached) " >&6
15655 else
15656 ac_check_lib_save_LIBS=$LIBS
15657 LIBS="-lpoll $LIBS"
15658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15659 /* end confdefs.h. */
15661 /* Override any GCC internal prototype to avoid an error.
15662 Use char because int might match the return type of a GCC
15663 builtin and then its argument prototype would still apply. */
15664 #ifdef __cplusplus
15665 extern "C"
15666 #endif
15667 char poll ();
15669 main ()
15671 return poll ();
15673 return 0;
15675 _ACEOF
15676 if ac_fn_c_try_link "$LINENO"; then :
15677 ac_cv_lib_poll_poll=yes
15678 else
15679 ac_cv_lib_poll_poll=no
15681 rm -f core conftest.err conftest.$ac_objext \
15682 conftest$ac_exeext conftest.$ac_ext
15683 LIBS=$ac_check_lib_save_LIBS
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15686 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15687 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15688 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15689 POLL_LIBS="-lpoll"
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15696 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15697 if ${ac_cv_search_gethostbyname+:} false; then :
15698 $as_echo_n "(cached) " >&6
15699 else
15700 ac_func_search_save_LIBS=$LIBS
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h. */
15704 /* Override any GCC internal prototype to avoid an error.
15705 Use char because int might match the return type of a GCC
15706 builtin and then its argument prototype would still apply. */
15707 #ifdef __cplusplus
15708 extern "C"
15709 #endif
15710 char gethostbyname ();
15712 main ()
15714 return gethostbyname ();
15716 return 0;
15718 _ACEOF
15719 for ac_lib in '' nsl; do
15720 if test -z "$ac_lib"; then
15721 ac_res="none required"
15722 else
15723 ac_res=-l$ac_lib
15724 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15726 if ac_fn_c_try_link "$LINENO"; then :
15727 ac_cv_search_gethostbyname=$ac_res
15729 rm -f core conftest.err conftest.$ac_objext \
15730 conftest$ac_exeext
15731 if ${ac_cv_search_gethostbyname+:} false; then :
15732 break
15734 done
15735 if ${ac_cv_search_gethostbyname+:} false; then :
15737 else
15738 ac_cv_search_gethostbyname=no
15740 rm conftest.$ac_ext
15741 LIBS=$ac_func_search_save_LIBS
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15744 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15745 ac_res=$ac_cv_search_gethostbyname
15746 if test "$ac_res" != no; then :
15747 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15753 $as_echo_n "checking for library containing connect... " >&6; }
15754 if ${ac_cv_search_connect+:} false; then :
15755 $as_echo_n "(cached) " >&6
15756 else
15757 ac_func_search_save_LIBS=$LIBS
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15761 /* Override any GCC internal prototype to avoid an error.
15762 Use char because int might match the return type of a GCC
15763 builtin and then its argument prototype would still apply. */
15764 #ifdef __cplusplus
15765 extern "C"
15766 #endif
15767 char connect ();
15769 main ()
15771 return connect ();
15773 return 0;
15775 _ACEOF
15776 for ac_lib in '' socket; do
15777 if test -z "$ac_lib"; then
15778 ac_res="none required"
15779 else
15780 ac_res=-l$ac_lib
15781 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15783 if ac_fn_c_try_link "$LINENO"; then :
15784 ac_cv_search_connect=$ac_res
15786 rm -f core conftest.err conftest.$ac_objext \
15787 conftest$ac_exeext
15788 if ${ac_cv_search_connect+:} false; then :
15789 break
15791 done
15792 if ${ac_cv_search_connect+:} false; then :
15794 else
15795 ac_cv_search_connect=no
15797 rm conftest.$ac_ext
15798 LIBS=$ac_func_search_save_LIBS
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15801 $as_echo "$ac_cv_search_connect" >&6; }
15802 ac_res=$ac_cv_search_connect
15803 if test "$ac_res" != no; then :
15804 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15810 $as_echo_n "checking for library containing inet_aton... " >&6; }
15811 if ${ac_cv_search_inet_aton+:} false; then :
15812 $as_echo_n "(cached) " >&6
15813 else
15814 ac_func_search_save_LIBS=$LIBS
15815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15816 /* end confdefs.h. */
15818 /* Override any GCC internal prototype to avoid an error.
15819 Use char because int might match the return type of a GCC
15820 builtin and then its argument prototype would still apply. */
15821 #ifdef __cplusplus
15822 extern "C"
15823 #endif
15824 char inet_aton ();
15826 main ()
15828 return inet_aton ();
15830 return 0;
15832 _ACEOF
15833 for ac_lib in '' resolv; do
15834 if test -z "$ac_lib"; then
15835 ac_res="none required"
15836 else
15837 ac_res=-l$ac_lib
15838 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15840 if ac_fn_c_try_link "$LINENO"; then :
15841 ac_cv_search_inet_aton=$ac_res
15843 rm -f core conftest.err conftest.$ac_objext \
15844 conftest$ac_exeext
15845 if ${ac_cv_search_inet_aton+:} false; then :
15846 break
15848 done
15849 if ${ac_cv_search_inet_aton+:} false; then :
15851 else
15852 ac_cv_search_inet_aton=no
15854 rm conftest.$ac_ext
15855 LIBS=$ac_func_search_save_LIBS
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15858 $as_echo "$ac_cv_search_inet_aton" >&6; }
15859 ac_res=$ac_cv_search_inet_aton
15860 if test "$ac_res" != no; then :
15861 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15866 for ac_func in \
15867 getaddrinfo \
15868 getnameinfo \
15869 getnetbyname \
15870 getprotobyname \
15871 getprotobynumber \
15872 getservbyport \
15873 inet_addr \
15874 inet_network \
15875 inet_ntop \
15876 inet_pton \
15877 sendmsg \
15878 socketpair \
15880 do :
15881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15883 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15884 cat >>confdefs.h <<_ACEOF
15885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15886 _ACEOF
15889 done
15892 ac_save_LIBS=$LIBS
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15894 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15895 if ${ac_cv_search_clock_gettime+:} false; then :
15896 $as_echo_n "(cached) " >&6
15897 else
15898 ac_func_search_save_LIBS=$LIBS
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15902 /* Override any GCC internal prototype to avoid an error.
15903 Use char because int might match the return type of a GCC
15904 builtin and then its argument prototype would still apply. */
15905 #ifdef __cplusplus
15906 extern "C"
15907 #endif
15908 char clock_gettime ();
15910 main ()
15912 return clock_gettime ();
15914 return 0;
15916 _ACEOF
15917 for ac_lib in '' rt; do
15918 if test -z "$ac_lib"; then
15919 ac_res="none required"
15920 else
15921 ac_res=-l$ac_lib
15922 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15924 if ac_fn_c_try_link "$LINENO"; then :
15925 ac_cv_search_clock_gettime=$ac_res
15927 rm -f core conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext
15929 if ${ac_cv_search_clock_gettime+:} false; then :
15930 break
15932 done
15933 if ${ac_cv_search_clock_gettime+:} false; then :
15935 else
15936 ac_cv_search_clock_gettime=no
15938 rm conftest.$ac_ext
15939 LIBS=$ac_func_search_save_LIBS
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15942 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15943 ac_res=$ac_cv_search_clock_gettime
15944 if test "$ac_res" != no; then :
15945 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15947 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15949 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15953 LIBS=$ac_save_LIBS
15955 LDAP_LIBS=""
15957 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15958 then
15959 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15961 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15963 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15964 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15965 $as_echo_n "(cached) " >&6
15966 else
15967 ac_check_lib_save_LIBS=$LIBS
15968 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15970 /* end confdefs.h. */
15972 /* Override any GCC internal prototype to avoid an error.
15973 Use char because int might match the return type of a GCC
15974 builtin and then its argument prototype would still apply. */
15975 #ifdef __cplusplus
15976 extern "C"
15977 #endif
15978 char ldap_initialize ();
15980 main ()
15982 return ldap_initialize ();
15984 return 0;
15986 _ACEOF
15987 if ac_fn_c_try_link "$LINENO"; then :
15988 ac_cv_lib_ldap_r_ldap_initialize=yes
15989 else
15990 ac_cv_lib_ldap_r_ldap_initialize=no
15992 rm -f core conftest.err conftest.$ac_objext \
15993 conftest$ac_exeext conftest.$ac_ext
15994 LIBS=$ac_check_lib_save_LIBS
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15997 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15998 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16000 $as_echo_n "checking for ber_init in -llber... " >&6; }
16001 if ${ac_cv_lib_lber_ber_init+:} false; then :
16002 $as_echo_n "(cached) " >&6
16003 else
16004 ac_check_lib_save_LIBS=$LIBS
16005 LIBS="-llber $PTHREAD_LIBS $LIBS"
16006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16007 /* end confdefs.h. */
16009 /* Override any GCC internal prototype to avoid an error.
16010 Use char because int might match the return type of a GCC
16011 builtin and then its argument prototype would still apply. */
16012 #ifdef __cplusplus
16013 extern "C"
16014 #endif
16015 char ber_init ();
16017 main ()
16019 return ber_init ();
16021 return 0;
16023 _ACEOF
16024 if ac_fn_c_try_link "$LINENO"; then :
16025 ac_cv_lib_lber_ber_init=yes
16026 else
16027 ac_cv_lib_lber_ber_init=no
16029 rm -f core conftest.err conftest.$ac_objext \
16030 conftest$ac_exeext conftest.$ac_ext
16031 LIBS=$ac_check_lib_save_LIBS
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16034 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16035 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16037 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16039 LDAP_LIBS="-lldap_r -llber"
16046 ac_wine_check_funcs_save_LIBS="$LIBS"
16047 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16048 for ac_func in \
16049 ldap_count_references \
16050 ldap_first_reference \
16051 ldap_next_reference \
16052 ldap_parse_reference \
16053 ldap_parse_sort_control \
16054 ldap_parse_sortresponse_control \
16055 ldap_parse_vlv_control \
16056 ldap_parse_vlvresponse_control
16057 do :
16058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16060 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16061 cat >>confdefs.h <<_ACEOF
16062 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16063 _ACEOF
16066 done
16068 LIBS="$ac_wine_check_funcs_save_LIBS"
16070 if test "x$LDAP_LIBS" = "x"; then :
16071 case "x$with_ldap" in
16072 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16073 xno) ;;
16074 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16075 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16076 esac
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16081 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16082 if ${wine_cv_one_arg_mkdir+:} false; then :
16083 $as_echo_n "(cached) " >&6
16084 else
16085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16086 /* end confdefs.h. */
16087 #include <sys/stat.h>
16089 main ()
16091 mkdir("foo");
16093 return 0;
16095 _ACEOF
16096 if ac_fn_c_try_compile "$LINENO"; then :
16097 wine_cv_one_arg_mkdir=yes
16098 else
16099 wine_cv_one_arg_mkdir=no
16101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16104 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16105 if test "$wine_cv_one_arg_mkdir" = "yes"
16106 then
16108 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16113 $as_echo_n "checking for sched_setaffinity... " >&6; }
16114 if ${wine_cv_have_sched_setaffinity+:} false; then :
16115 $as_echo_n "(cached) " >&6
16116 else
16117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16118 /* end confdefs.h. */
16119 #define _GNU_SOURCE
16120 #include <sched.h>
16122 main ()
16124 sched_setaffinity(0, 0, 0);
16126 return 0;
16128 _ACEOF
16129 if ac_fn_c_try_link "$LINENO"; then :
16130 wine_cv_have_sched_setaffinity=yes
16131 else
16132 wine_cv_have_sched_setaffinity=no
16134 rm -f core conftest.err conftest.$ac_objext \
16135 conftest$ac_exeext conftest.$ac_ext
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16138 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16139 if test "$wine_cv_have_sched_setaffinity" = "yes"
16140 then
16142 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16147 $as_echo_n "checking for fallocate... " >&6; }
16148 if ${wine_cv_have_fallocate+:} false; then :
16149 $as_echo_n "(cached) " >&6
16150 else
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16153 #define _GNU_SOURCE
16154 #include <fcntl.h>
16156 main ()
16158 fallocate(-1, 0, 0, 0);
16160 return 0;
16162 _ACEOF
16163 if ac_fn_c_try_link "$LINENO"; then :
16164 wine_cv_have_fallocate=yes
16165 else
16166 wine_cv_have_fallocate=no
16168 rm -f core conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext conftest.$ac_ext
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16172 $as_echo "$wine_cv_have_fallocate" >&6; }
16173 if test "$wine_cv_have_fallocate" = "yes"
16174 then
16176 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16182 $as_echo_n "checking for inline... " >&6; }
16183 if ${ac_cv_c_inline+:} false; then :
16184 $as_echo_n "(cached) " >&6
16185 else
16186 ac_cv_c_inline=no
16187 for ac_kw in inline __inline__ __inline; do
16188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16189 /* end confdefs.h. */
16190 #ifndef __cplusplus
16191 typedef int foo_t;
16192 static $ac_kw foo_t static_foo () {return 0; }
16193 $ac_kw foo_t foo () {return 0; }
16194 #endif
16196 _ACEOF
16197 if ac_fn_c_try_compile "$LINENO"; then :
16198 ac_cv_c_inline=$ac_kw
16200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16201 test "$ac_cv_c_inline" != no && break
16202 done
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16206 $as_echo "$ac_cv_c_inline" >&6; }
16208 case $ac_cv_c_inline in
16209 inline | yes) ;;
16211 case $ac_cv_c_inline in
16212 no) ac_val=;;
16213 *) ac_val=$ac_cv_c_inline;;
16214 esac
16215 cat >>confdefs.h <<_ACEOF
16216 #ifndef __cplusplus
16217 #define inline $ac_val
16218 #endif
16219 _ACEOF
16221 esac
16223 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16224 if test "x$ac_cv_type_mode_t" = xyes; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define HAVE_MODE_T 1
16228 _ACEOF
16232 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16233 if test "x$ac_cv_type_off_t" = xyes; then :
16235 cat >>confdefs.h <<_ACEOF
16236 #define HAVE_OFF_T 1
16237 _ACEOF
16241 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16242 if test "x$ac_cv_type_pid_t" = xyes; then :
16244 cat >>confdefs.h <<_ACEOF
16245 #define HAVE_PID_T 1
16246 _ACEOF
16250 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16251 if test "x$ac_cv_type_size_t" = xyes; then :
16253 cat >>confdefs.h <<_ACEOF
16254 #define HAVE_SIZE_T 1
16255 _ACEOF
16259 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16260 if test "x$ac_cv_type_ssize_t" = xyes; then :
16262 cat >>confdefs.h <<_ACEOF
16263 #define HAVE_SSIZE_T 1
16264 _ACEOF
16268 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16269 if test "x$ac_cv_type_long_long" = xyes; then :
16271 cat >>confdefs.h <<_ACEOF
16272 #define HAVE_LONG_LONG 1
16273 _ACEOF
16277 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16278 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16280 cat >>confdefs.h <<_ACEOF
16281 #define HAVE_FSBLKCNT_T 1
16282 _ACEOF
16286 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16287 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_FSFILCNT_T 1
16291 _ACEOF
16296 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16297 #include <signal.h>
16299 if test "x$ac_cv_type_sigset_t" = xyes; then :
16301 cat >>confdefs.h <<_ACEOF
16302 #define HAVE_SIGSET_T 1
16303 _ACEOF
16308 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16310 if test "x$ac_cv_type_request_sense" = xyes; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define HAVE_REQUEST_SENSE 1
16314 _ACEOF
16320 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16321 #ifdef HAVE_SYS_SOCKET_H
16322 #include <sys/socket.h>
16323 #endif
16324 #ifdef HAVE_SYS_SOCKETVAR_H
16325 #include <sys/socketvar.h>
16326 #endif
16327 #ifdef HAVE_NET_ROUTE_H
16328 #include <net/route.h>
16329 #endif
16330 #ifdef HAVE_NETINET_IN_H
16331 #include <netinet/in.h>
16332 #endif
16333 #ifdef HAVE_NETINET_IN_SYSTM_H
16334 #include <netinet/in_systm.h>
16335 #endif
16336 #ifdef HAVE_NETINET_IP_H
16337 #include <netinet/ip.h>
16338 #endif
16339 #ifdef HAVE_NETINET_IN_PCB_H
16340 #include <netinet/in_pcb.h>
16341 #endif
16343 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16345 cat >>confdefs.h <<_ACEOF
16346 #define HAVE_STRUCT_XINPGEN 1
16347 _ACEOF
16353 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16354 #include <link.h>
16355 #endif
16356 #ifdef HAVE_SYS_LINK_H
16357 #include <sys/link.h>
16358 #endif
16360 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16362 cat >>confdefs.h <<_ACEOF
16363 #define HAVE_STRUCT_R_DEBUG 1
16364 _ACEOF
16368 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16369 #include <link.h>
16370 #endif
16371 #ifdef HAVE_SYS_LINK_H
16372 #include <sys/link.h>
16373 #endif
16375 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16377 cat >>confdefs.h <<_ACEOF
16378 #define HAVE_STRUCT_LINK_MAP 1
16379 _ACEOF
16385 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16386 #include <linux/input.h>
16387 #endif
16389 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16391 cat >>confdefs.h <<_ACEOF
16392 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16393 _ACEOF
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16400 $as_echo_n "checking for if_nameindex... " >&6; }
16401 if ${wine_cv_have_if_nameindex+:} false; then :
16402 $as_echo_n "(cached) " >&6
16403 else
16404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16406 #ifdef HAVE_SYS_TYPES_H
16407 #include <sys/types.h>
16408 #endif
16409 #ifdef HAVE_NET_IF_H
16410 # include <net/if.h>
16411 #endif
16413 main ()
16415 struct if_nameindex *p = if_nameindex(); return p->if_index;
16417 return 0;
16419 _ACEOF
16420 if ac_fn_c_try_link "$LINENO"; then :
16421 wine_cv_have_if_nameindex=yes
16422 else
16423 wine_cv_have_if_nameindex=no
16425 rm -f core conftest.err conftest.$ac_objext \
16426 conftest$ac_exeext conftest.$ac_ext
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16429 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16430 if test "$wine_cv_have_if_nameindex" = "yes"
16431 then
16433 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16438 $as_echo_n "checking for sigaddset... " >&6; }
16439 if ${wine_cv_have_sigaddset+:} false; then :
16440 $as_echo_n "(cached) " >&6
16441 else
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #include <signal.h>
16446 main ()
16448 sigset_t set; sigaddset(&set,SIGTERM);
16450 return 0;
16452 _ACEOF
16453 if ac_fn_c_try_link "$LINENO"; then :
16454 wine_cv_have_sigaddset=yes
16455 else
16456 wine_cv_have_sigaddset=no
16458 rm -f core conftest.err conftest.$ac_objext \
16459 conftest$ac_exeext conftest.$ac_ext
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16462 $as_echo "$wine_cv_have_sigaddset" >&6; }
16463 if test "$wine_cv_have_sigaddset" = "yes"
16464 then
16466 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16472 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16473 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16474 $as_echo_n "(cached) " >&6
16475 else
16476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16477 /* end confdefs.h. */
16478 #include <netdb.h>
16480 main ()
16483 char *name=0;
16484 struct hostent he;
16485 struct hostent *result;
16486 char *buf=0;
16487 int bufsize=0;
16488 int errnr;
16489 char *addr=0;
16490 int addrlen=0;
16491 int addrtype=0;
16492 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16493 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16496 return 0;
16498 _ACEOF
16499 if ac_fn_c_try_link "$LINENO"; then :
16500 wine_cv_linux_gethostbyname_r_6=yes
16501 else
16502 wine_cv_linux_gethostbyname_r_6=no
16505 rm -f core conftest.err conftest.$ac_objext \
16506 conftest$ac_exeext conftest.$ac_ext
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16510 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16511 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16512 then
16514 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16518 if test "$ac_cv_header_linux_joystick_h" = "yes"
16519 then
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16521 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16522 if ${wine_cv_linux_joystick_22_api+:} false; then :
16523 $as_echo_n "(cached) " >&6
16524 else
16525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16526 /* end confdefs.h. */
16528 #include <sys/ioctl.h>
16529 #include <sys/types.h>
16530 #include <linux/joystick.h>
16532 struct js_event blub;
16533 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16534 #error "no 2.2 header"
16535 #endif
16538 main ()
16540 /*empty*/
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_compile "$LINENO"; then :
16546 wine_cv_linux_joystick_22_api=yes
16547 else
16548 wine_cv_linux_joystick_22_api=no
16550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16554 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16555 if test "$wine_cv_linux_joystick_22_api" = "yes"
16556 then
16558 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16564 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16565 #ifdef HAVE_SYS_PARAM_H
16566 # include <sys/param.h>
16567 #endif
16568 #ifdef HAVE_SYS_MOUNT_H
16569 # include <sys/mount.h>
16570 #endif
16571 #ifdef HAVE_SYS_VFS_H
16572 # include <sys/vfs.h>
16573 #endif
16574 #ifdef HAVE_SYS_STATFS_H
16575 # include <sys/statfs.h>
16576 #endif
16578 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_STRUCT_STATFS_F_BFREE 1
16582 _ACEOF
16586 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16587 #ifdef HAVE_SYS_PARAM_H
16588 # include <sys/param.h>
16589 #endif
16590 #ifdef HAVE_SYS_MOUNT_H
16591 # include <sys/mount.h>
16592 #endif
16593 #ifdef HAVE_SYS_VFS_H
16594 # include <sys/vfs.h>
16595 #endif
16596 #ifdef HAVE_SYS_STATFS_H
16597 # include <sys/statfs.h>
16598 #endif
16600 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16604 _ACEOF
16608 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16609 #ifdef HAVE_SYS_PARAM_H
16610 # include <sys/param.h>
16611 #endif
16612 #ifdef HAVE_SYS_MOUNT_H
16613 # include <sys/mount.h>
16614 #endif
16615 #ifdef HAVE_SYS_VFS_H
16616 # include <sys/vfs.h>
16617 #endif
16618 #ifdef HAVE_SYS_STATFS_H
16619 # include <sys/statfs.h>
16620 #endif
16622 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16626 _ACEOF
16630 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16631 #ifdef HAVE_SYS_PARAM_H
16632 # include <sys/param.h>
16633 #endif
16634 #ifdef HAVE_SYS_MOUNT_H
16635 # include <sys/mount.h>
16636 #endif
16637 #ifdef HAVE_SYS_VFS_H
16638 # include <sys/vfs.h>
16639 #endif
16640 #ifdef HAVE_SYS_STATFS_H
16641 # include <sys/statfs.h>
16642 #endif
16644 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16646 cat >>confdefs.h <<_ACEOF
16647 #define HAVE_STRUCT_STATFS_F_FFREE 1
16648 _ACEOF
16652 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16653 #ifdef HAVE_SYS_PARAM_H
16654 # include <sys/param.h>
16655 #endif
16656 #ifdef HAVE_SYS_MOUNT_H
16657 # include <sys/mount.h>
16658 #endif
16659 #ifdef HAVE_SYS_VFS_H
16660 # include <sys/vfs.h>
16661 #endif
16662 #ifdef HAVE_SYS_STATFS_H
16663 # include <sys/statfs.h>
16664 #endif
16666 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16668 cat >>confdefs.h <<_ACEOF
16669 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16670 _ACEOF
16674 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16675 #ifdef HAVE_SYS_PARAM_H
16676 # include <sys/param.h>
16677 #endif
16678 #ifdef HAVE_SYS_MOUNT_H
16679 # include <sys/mount.h>
16680 #endif
16681 #ifdef HAVE_SYS_VFS_H
16682 # include <sys/vfs.h>
16683 #endif
16684 #ifdef HAVE_SYS_STATFS_H
16685 # include <sys/statfs.h>
16686 #endif
16688 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16690 cat >>confdefs.h <<_ACEOF
16691 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16692 _ACEOF
16698 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16699 #include <sys/statvfs.h>
16700 #endif
16702 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16706 _ACEOF
16712 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16713 #include <dirent.h>
16714 #endif
16716 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16718 cat >>confdefs.h <<_ACEOF
16719 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16720 _ACEOF
16726 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16727 #ifdef HAVE_SYS_SOCKET_H
16728 # include <sys/socket.h>
16729 #endif
16730 #ifdef HAVE_SYS_UN_H
16731 # include <sys/un.h>
16732 #endif
16734 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16738 _ACEOF
16742 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16743 #ifdef HAVE_SYS_SOCKET_H
16744 # include <sys/socket.h>
16745 #endif
16746 #ifdef HAVE_SYS_UN_H
16747 # include <sys/un.h>
16748 #endif
16750 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16752 cat >>confdefs.h <<_ACEOF
16753 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16754 _ACEOF
16758 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16759 #ifdef HAVE_SYS_SOCKET_H
16760 # include <sys/socket.h>
16761 #endif
16762 #ifdef HAVE_SYS_UN_H
16763 # include <sys/un.h>
16764 #endif
16766 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16770 _ACEOF
16776 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16777 #ifdef HAVE_SCSI_SG_H
16778 #include <scsi/sg.h>
16779 #endif
16781 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16783 cat >>confdefs.h <<_ACEOF
16784 #define HAVE_SCSIREQ_T_CMD 1
16785 _ACEOF
16789 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>
16790 #ifdef HAVE_SCSI_SG_H
16791 #include <scsi/sg.h>
16792 #endif
16794 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16796 cat >>confdefs.h <<_ACEOF
16797 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16798 _ACEOF
16804 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16806 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16808 cat >>confdefs.h <<_ACEOF
16809 #define HAVE_SIGINFO_T_SI_FD 1
16810 _ACEOF
16816 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16817 #ifdef HAVE_SYS_MTIO_H
16818 #include <sys/mtio.h>
16819 #endif
16821 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16823 cat >>confdefs.h <<_ACEOF
16824 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16825 _ACEOF
16829 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16830 #ifdef HAVE_SYS_MTIO_H
16831 #include <sys/mtio.h>
16832 #endif
16834 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16838 _ACEOF
16842 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16843 #ifdef HAVE_SYS_MTIO_H
16844 #include <sys/mtio.h>
16845 #endif
16847 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16849 cat >>confdefs.h <<_ACEOF
16850 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16851 _ACEOF
16857 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16858 #include <getopt.h>
16859 #endif
16861 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16863 cat >>confdefs.h <<_ACEOF
16864 #define HAVE_STRUCT_OPTION_NAME 1
16865 _ACEOF
16871 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16872 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16876 _ACEOF
16880 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16881 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16883 cat >>confdefs.h <<_ACEOF
16884 #define HAVE_STRUCT_STAT_ST_MTIM 1
16885 _ACEOF
16889 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16890 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16892 cat >>confdefs.h <<_ACEOF
16893 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16894 _ACEOF
16898 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16899 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16901 cat >>confdefs.h <<_ACEOF
16902 #define HAVE_STRUCT_STAT_ST_CTIM 1
16903 _ACEOF
16907 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16908 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16910 cat >>confdefs.h <<_ACEOF
16911 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16912 _ACEOF
16916 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16917 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16919 cat >>confdefs.h <<_ACEOF
16920 #define HAVE_STRUCT_STAT_ST_ATIM 1
16921 _ACEOF
16925 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16926 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16928 cat >>confdefs.h <<_ACEOF
16929 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16930 _ACEOF
16934 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16935 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16937 cat >>confdefs.h <<_ACEOF
16938 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16939 _ACEOF
16943 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16944 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16946 cat >>confdefs.h <<_ACEOF
16947 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16948 _ACEOF
16952 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16953 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16955 cat >>confdefs.h <<_ACEOF
16956 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16957 _ACEOF
16961 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16962 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16964 cat >>confdefs.h <<_ACEOF
16965 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16966 _ACEOF
16970 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16971 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16973 cat >>confdefs.h <<_ACEOF
16974 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16975 _ACEOF
16981 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
16982 #include <sys/types.h>
16983 #endif
16984 #ifdef HAVE_NETINET_IN_H
16985 #include <netinet/in.h>
16986 #endif
16988 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16990 cat >>confdefs.h <<_ACEOF
16991 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16992 _ACEOF
16998 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16999 #include <sys/types.h>
17000 #endif
17001 #ifdef HAVE_NETINET_IN_H
17002 #include <netinet/in.h>
17003 #endif
17004 #ifdef HAVE_RESOLV_H
17005 #include <resolv.h>
17006 #endif
17008 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17010 cat >>confdefs.h <<_ACEOF
17011 #define HAVE_STRUCT___RES_STATE 1
17012 _ACEOF
17018 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
17019 #include <resolv.h>
17020 #endif
17022 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17026 _ACEOF
17032 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17033 #include <sys/types.h>
17034 #endif
17035 #ifdef HAVE_NETINET_IN_H
17036 # include <netinet/in.h>
17037 #endif
17038 #ifdef HAVE_ARPA_NAMESER_H
17039 # include <arpa/nameser.h>
17040 #endif
17042 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17044 cat >>confdefs.h <<_ACEOF
17045 #define HAVE_NS_MSG__MSG_PTR 1
17046 _ACEOF
17052 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17053 #include <sys/types.h>
17054 #endif
17055 #ifdef HAVE_NETINET_IN_H
17056 #include <netinet/in.h>
17057 #endif
17058 #ifdef HAVE_NETINET_IP_H
17059 #include <netinet/ip.h>
17060 #endif
17061 #ifdef HAVE_NETINET_IP_ICMP_H
17062 #include <netinet/ip_icmp.h>
17063 #endif
17064 #ifdef HAVE_NETINET_ICMP_VAR_H
17065 #include <netinet/icmp_var.h>
17066 #endif
17068 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17070 cat >>confdefs.h <<_ACEOF
17071 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17072 _ACEOF
17078 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17079 #include <sys/types.h>
17080 #endif
17081 #ifdef HAVE_ALIAS_H
17082 #include <alias.h>
17083 #endif
17084 #ifdef HAVE_SYS_SOCKET_H
17085 #include <sys/socket.h>
17086 #endif
17087 #ifdef HAVE_SYS_SOCKETVAR_H
17088 #include <sys/socketvar.h>
17089 #endif
17090 #ifdef HAVE_SYS_TIMEOUT_H
17091 #include <sys/timeout.h>
17092 #endif
17093 #ifdef HAVE_NETINET_IN_H
17094 #include <netinet/in.h>
17095 #endif
17096 #ifdef HAVE_NETINET_IN_SYSTM_H
17097 #include <netinet/in_systm.h>
17098 #endif
17099 #ifdef HAVE_NETINET_IP_H
17100 #include <netinet/ip.h>
17101 #endif
17102 #ifdef HAVE_NETINET_IP_VAR_H
17103 #include <netinet/ip_var.h>
17104 #endif
17105 #ifdef HAVE_NETINET_IP_ICMP_H
17106 #include <netinet/ip_icmp.h>
17107 #endif
17108 #ifdef HAVE_NETINET_ICMP_VAR_H
17109 #include <netinet/icmp_var.h>
17110 #endif
17112 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17114 cat >>confdefs.h <<_ACEOF
17115 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17116 _ACEOF
17122 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17123 #include <sys/types.h>
17124 #endif
17125 #ifdef HAVE_SYS_SOCKETVAR_H
17126 #include <sys/socketvar.h>
17127 #endif
17128 #ifdef HAVE_NETINET_IN_H
17129 #include <netinet/in.h>
17130 #endif
17131 #ifdef HAVE_NETINET_IP_VAR_H
17132 #include <netinet/ip_var.h>
17133 #endif
17135 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17137 cat >>confdefs.h <<_ACEOF
17138 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17139 _ACEOF
17145 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
17146 #include <netinet/ip_var.h>
17147 #endif
17149 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17151 cat >>confdefs.h <<_ACEOF
17152 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17153 _ACEOF
17159 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17160 #include <sys/types.h>
17161 #endif
17162 #ifdef HAVE_SYS_SOCKETVAR_H
17163 #include <sys/socketvar.h>
17164 #endif
17165 #ifdef HAVE_NETINET_IN_H
17166 #include <netinet/in.h>
17167 #endif
17168 #ifdef HAVE_NETINET_TCP_H
17169 #include <netinet/tcp.h>
17170 #endif
17171 #ifdef HAVE_NETINET_TCP_VAR_H
17172 #include <netinet/tcp_var.h>
17173 #endif
17175 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17177 cat >>confdefs.h <<_ACEOF
17178 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17179 _ACEOF
17185 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
17186 #include <netinet/tcp_var.h>
17187 #endif
17189 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17191 cat >>confdefs.h <<_ACEOF
17192 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17193 _ACEOF
17199 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17200 #include <sys/types.h>
17201 #endif
17202 #ifdef HAVE_NETINET_IN_H
17203 #include <netinet/in.h>
17204 #endif
17205 #ifdef HAVE_NETINET_IP_VAR_H
17206 #include <netinet/ip_var.h>
17207 #endif
17208 #ifdef HAVE_NETINET_UDP_H
17209 #include <netinet/udp.h>
17210 #endif
17211 #ifdef HAVE_NETINET_UDP_VAR_H
17212 #include <netinet/udp_var.h>
17213 #endif
17215 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17217 cat >>confdefs.h <<_ACEOF
17218 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17219 _ACEOF
17225 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17226 #include <sys/types.h>
17227 #endif
17228 #ifdef HAVE_NET_IF_H
17229 # include <net/if.h>
17230 #endif
17232 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17234 cat >>confdefs.h <<_ACEOF
17235 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17236 _ACEOF
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17243 $as_echo_n "checking for timezone variable... " >&6; }
17244 if ${ac_cv_have_timezone+:} false; then :
17245 $as_echo_n "(cached) " >&6
17246 else
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17249 #include <time.h>
17251 main ()
17253 timezone = 1
17255 return 0;
17257 _ACEOF
17258 if ac_fn_c_try_link "$LINENO"; then :
17259 ac_cv_have_timezone="yes"
17260 else
17261 ac_cv_have_timezone="no"
17263 rm -f core conftest.err conftest.$ac_objext \
17264 conftest$ac_exeext conftest.$ac_ext
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17267 $as_echo "$ac_cv_have_timezone" >&6; }
17268 if test "$ac_cv_have_timezone" = "yes"
17269 then
17271 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17275 $as_echo_n "checking for daylight variable... " >&6; }
17276 if ${ac_cv_have_daylight+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 #include <time.h>
17283 main ()
17285 daylight = 1
17287 return 0;
17289 _ACEOF
17290 if ac_fn_c_try_link "$LINENO"; then :
17291 ac_cv_have_daylight="yes"
17292 else
17293 ac_cv_have_daylight="no"
17295 rm -f core conftest.err conftest.$ac_objext \
17296 conftest$ac_exeext conftest.$ac_ext
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17299 $as_echo "$ac_cv_have_daylight" >&6; }
17300 if test "$ac_cv_have_daylight" = "yes"
17301 then
17303 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17307 ac_save_LIBS="$LIBS"
17308 LIBS="$LIBS -lm"
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17310 $as_echo_n "checking for isfinite... " >&6; }
17311 if ${ac_cv_have_isfinite+:} false; then :
17312 $as_echo_n "(cached) " >&6
17313 else
17314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17316 #define _GNU_SOURCE
17317 #include <math.h>
17319 main ()
17321 float f = 0.0; return isfinite(f)
17323 return 0;
17325 _ACEOF
17326 if ac_fn_c_try_link "$LINENO"; then :
17327 ac_cv_have_isfinite="yes"
17328 else
17329 ac_cv_have_isfinite="no"
17331 rm -f core conftest.err conftest.$ac_objext \
17332 conftest$ac_exeext conftest.$ac_ext
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17335 $as_echo "$ac_cv_have_isfinite" >&6; }
17336 if test "$ac_cv_have_isfinite" = "yes"
17337 then
17339 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17344 $as_echo_n "checking for isinf... " >&6; }
17345 if ${ac_cv_have_isinf+:} false; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #include <math.h>
17352 main ()
17354 float f = 0.0; return isinf(f)
17356 return 0;
17358 _ACEOF
17359 if ac_fn_c_try_link "$LINENO"; then :
17360 ac_cv_have_isinf="yes"
17361 else
17362 ac_cv_have_isinf="no"
17364 rm -f core conftest.err conftest.$ac_objext \
17365 conftest$ac_exeext conftest.$ac_ext
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17368 $as_echo "$ac_cv_have_isinf" >&6; }
17369 if test "$ac_cv_have_isinf" = "yes"
17370 then
17372 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17377 $as_echo_n "checking for isnan... " >&6; }
17378 if ${ac_cv_have_isnan+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h. */
17383 #include <math.h>
17385 main ()
17387 float f = 0.0; return isnan(f)
17389 return 0;
17391 _ACEOF
17392 if ac_fn_c_try_link "$LINENO"; then :
17393 ac_cv_have_isnan="yes"
17394 else
17395 ac_cv_have_isnan="no"
17397 rm -f core conftest.err conftest.$ac_objext \
17398 conftest$ac_exeext conftest.$ac_ext
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17401 $as_echo "$ac_cv_have_isnan" >&6; }
17402 if test "$ac_cv_have_isnan" = "yes"
17403 then
17405 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17409 for ac_func in \
17410 acosh \
17411 acoshf \
17412 asinh \
17413 asinhf \
17414 atanh \
17415 atanhf \
17416 cbrt \
17417 cbrtf \
17418 erf \
17419 erfc \
17420 erfcf \
17421 erff \
17422 exp2 \
17423 exp2f \
17424 expm1 \
17425 expm1f \
17426 lgamma \
17427 lgammaf \
17428 llrint \
17429 llrintf \
17430 llround \
17431 llroundf \
17432 log2 \
17433 log2f \
17434 lrint \
17435 lrintf \
17436 lround \
17437 lroundf \
17438 nearbyint \
17439 nearbyintf \
17440 powl \
17441 remainder \
17442 remainderf \
17443 rint \
17444 rintf \
17445 round \
17446 roundf \
17447 trunc \
17448 truncf
17450 do :
17451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17454 cat >>confdefs.h <<_ACEOF
17455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17456 _ACEOF
17459 done
17461 LIBS="$ac_save_LIBS"
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17464 $as_echo_n "checking for __builtin_clz... " >&6; }
17465 if ${ac_cv_have___builtin_clz+:} false; then :
17466 $as_echo_n "(cached) " >&6
17467 else
17468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17469 /* end confdefs.h. */
17472 main ()
17474 return __builtin_clz(1)
17476 return 0;
17478 _ACEOF
17479 if ac_fn_c_try_link "$LINENO"; then :
17480 ac_cv_have___builtin_clz="yes"
17481 else
17482 ac_cv_have___builtin_clz="no"
17484 rm -f core conftest.err conftest.$ac_objext \
17485 conftest$ac_exeext conftest.$ac_ext
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17488 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17489 if test "$ac_cv_have___builtin_clz" = "yes"
17490 then
17492 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17497 $as_echo_n "checking for __builtin_popcount... " >&6; }
17498 if ${ac_cv_have___builtin_popcount+:} false; then :
17499 $as_echo_n "(cached) " >&6
17500 else
17501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17505 main ()
17507 return __builtin_popcount(1)
17509 return 0;
17511 _ACEOF
17512 if ac_fn_c_try_link "$LINENO"; then :
17513 ac_cv_have___builtin_popcount="yes"
17514 else
17515 ac_cv_have___builtin_popcount="no"
17517 rm -f core conftest.err conftest.$ac_objext \
17518 conftest$ac_exeext conftest.$ac_ext
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17521 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17522 if test "$ac_cv_have___builtin_popcount" = "yes"
17523 then
17525 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17530 case $host_cpu in
17531 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17532 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17533 if ${ac_cv_cpp_def___i386__+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 #ifndef __i386__
17540 #endif
17541 _ACEOF
17542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17543 $EGREP "yes" >/dev/null 2>&1; then :
17544 ac_cv_cpp_def___i386__=yes
17545 else
17546 ac_cv_cpp_def___i386__=no
17548 rm -f conftest*
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17552 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17553 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17554 CFLAGS="$CFLAGS -D__i386__"
17555 LINTFLAGS="$LINTFLAGS -D__i386__"
17556 fi ;;
17557 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17558 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17559 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17560 $as_echo_n "(cached) " >&6
17561 else
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #ifndef __x86_64__
17566 #endif
17567 _ACEOF
17568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17569 $EGREP "yes" >/dev/null 2>&1; then :
17570 ac_cv_cpp_def___x86_64__=yes
17571 else
17572 ac_cv_cpp_def___x86_64__=no
17574 rm -f conftest*
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17578 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17579 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17580 CFLAGS="$CFLAGS -D__x86_64__"
17581 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17582 fi ;;
17583 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17584 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17585 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590 #ifndef __sparc64__
17592 #endif
17593 _ACEOF
17594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17595 $EGREP "yes" >/dev/null 2>&1; then :
17596 ac_cv_cpp_def___sparc64__=yes
17597 else
17598 ac_cv_cpp_def___sparc64__=no
17600 rm -f conftest*
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17604 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17605 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17606 CFLAGS="$CFLAGS -D__sparc64__"
17607 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17608 fi ;;
17609 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17610 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17611 if ${ac_cv_cpp_def___sparc__+:} false; then :
17612 $as_echo_n "(cached) " >&6
17613 else
17614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17615 /* end confdefs.h. */
17616 #ifndef __sparc__
17618 #endif
17619 _ACEOF
17620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17621 $EGREP "yes" >/dev/null 2>&1; then :
17622 ac_cv_cpp_def___sparc__=yes
17623 else
17624 ac_cv_cpp_def___sparc__=no
17626 rm -f conftest*
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17630 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17631 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17632 CFLAGS="$CFLAGS -D__sparc__"
17633 LINTFLAGS="$LINTFLAGS -D__sparc__"
17634 fi ;;
17635 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17636 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17637 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #ifndef __powerpc64__
17644 #endif
17645 _ACEOF
17646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17647 $EGREP "yes" >/dev/null 2>&1; then :
17648 ac_cv_cpp_def___powerpc64__=yes
17649 else
17650 ac_cv_cpp_def___powerpc64__=no
17652 rm -f conftest*
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17656 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17657 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17658 CFLAGS="$CFLAGS -D__powerpc64__"
17659 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17660 fi ;;
17661 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17662 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17663 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17667 /* end confdefs.h. */
17668 #ifndef __powerpc__
17670 #endif
17671 _ACEOF
17672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17673 $EGREP "yes" >/dev/null 2>&1; then :
17674 ac_cv_cpp_def___powerpc__=yes
17675 else
17676 ac_cv_cpp_def___powerpc__=no
17678 rm -f conftest*
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17682 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17683 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17684 CFLAGS="$CFLAGS -D__powerpc__"
17685 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17686 fi ;;
17687 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17688 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17689 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17690 $as_echo_n "(cached) " >&6
17691 else
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h. */
17694 #ifndef __aarch64__
17696 #endif
17697 _ACEOF
17698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17699 $EGREP "yes" >/dev/null 2>&1; then :
17700 ac_cv_cpp_def___aarch64__=yes
17701 else
17702 ac_cv_cpp_def___aarch64__=no
17704 rm -f conftest*
17707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17708 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17709 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17710 CFLAGS="$CFLAGS -D__aarch64__"
17711 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17712 fi ;;
17713 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17714 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17715 if ${ac_cv_cpp_def___arm__+:} false; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17720 #ifndef __arm__
17722 #endif
17723 _ACEOF
17724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17725 $EGREP "yes" >/dev/null 2>&1; then :
17726 ac_cv_cpp_def___arm__=yes
17727 else
17728 ac_cv_cpp_def___arm__=no
17730 rm -f conftest*
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17734 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17735 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17736 CFLAGS="$CFLAGS -D__arm__"
17737 LINTFLAGS="$LINTFLAGS -D__arm__"
17738 fi ;;
17739 esac
17741 case $host_vendor in
17742 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17743 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17744 if ${ac_cv_cpp_def___sun__+:} false; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17749 #ifndef __sun__
17751 #endif
17752 _ACEOF
17753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17754 $EGREP "yes" >/dev/null 2>&1; then :
17755 ac_cv_cpp_def___sun__=yes
17756 else
17757 ac_cv_cpp_def___sun__=no
17759 rm -f conftest*
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17763 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17764 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17765 CFLAGS="$CFLAGS -D__sun__"
17766 LINTFLAGS="$LINTFLAGS -D__sun__"
17767 fi ;;
17768 esac
17774 ac_config_commands="$ac_config_commands include/stamp-h"
17776 $as_echo_n "creating Makefile rules..." >&6
17778 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17779 SOCKET_LIBS = $SOCKET_LIBS
17780 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17781 IOKIT_LIBS = $IOKIT_LIBS
17782 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17783 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17784 CORESERVICES_LIBS = $CORESERVICES_LIBS
17785 APPKIT_LIBS = $APPKIT_LIBS
17786 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17787 SECURITY_LIBS = $SECURITY_LIBS
17788 COREAUDIO_LIBS = $COREAUDIO_LIBS
17789 OPENAL_LIBS = $OPENAL_LIBS
17790 OPENCL_LIBS = $OPENCL_LIBS
17791 QUICKTIME_LIBS = $QUICKTIME_LIBS
17792 CARBON_LIBS = $CARBON_LIBS
17793 PTHREAD_LIBS = $PTHREAD_LIBS
17794 X_CFLAGS = $X_CFLAGS
17795 X_PRE_LIBS = $X_PRE_LIBS
17796 X_LIBS = $X_LIBS
17797 X_EXTRA_LIBS = $X_EXTRA_LIBS
17798 PCAP_LIBS = $PCAP_LIBS
17799 XML2_CFLAGS = $XML2_CFLAGS
17800 XML2_LIBS = $XML2_LIBS
17801 XSLT_CFLAGS = $XSLT_CFLAGS
17802 XSLT_LIBS = $XSLT_LIBS
17803 DBUS_CFLAGS = $DBUS_CFLAGS
17804 DBUS_LIBS = $DBUS_LIBS
17805 HAL_CFLAGS = $HAL_CFLAGS
17806 HAL_LIBS = $HAL_LIBS
17807 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17808 GNUTLS_LIBS = $GNUTLS_LIBS
17809 SANE_CFLAGS = $SANE_CFLAGS
17810 SANE_LIBS = $SANE_LIBS
17811 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17812 GPHOTO2_LIBS = $GPHOTO2_LIBS
17813 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17814 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17815 RESOLV_LIBS = $RESOLV_LIBS
17816 LCMS2_CFLAGS = $LCMS2_CFLAGS
17817 LCMS2_LIBS = $LCMS2_LIBS
17818 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17819 FREETYPE_LIBS = $FREETYPE_LIBS
17820 Z_LIBS = $Z_LIBS
17821 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17822 PULSE_CFLAGS = $PULSE_CFLAGS
17823 PULSE_LIBS = $PULSE_LIBS
17824 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17825 GSTREAMER_LIBS = $GSTREAMER_LIBS
17826 ALSA_LIBS = $ALSA_LIBS
17827 OSS4_CFLAGS = $OSS4_CFLAGS
17828 UDEV_CFLAGS = $UDEV_CFLAGS
17829 UDEV_LIBS = $UDEV_LIBS
17830 CAPI20_CFLAGS = $CAPI20_CFLAGS
17831 CAPI20_LIBS = $CAPI20_LIBS
17832 CUPS_CFLAGS = $CUPS_CFLAGS
17833 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17834 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17835 JPEG_CFLAGS = $JPEG_CFLAGS
17836 JPEG_LIBS = $JPEG_LIBS
17837 PNG_CFLAGS = $PNG_CFLAGS
17838 PNG_LIBS = $PNG_LIBS
17839 TIFF_CFLAGS = $TIFF_CFLAGS
17840 TIFF_LIBS = $TIFF_LIBS
17841 MPG123_CFLAGS = $MPG123_CFLAGS
17842 MPG123_LIBS = $MPG123_LIBS
17843 KSTAT_LIBS = $KSTAT_LIBS
17844 PROCSTAT_LIBS = $PROCSTAT_LIBS
17845 NETAPI_CFLAGS = $NETAPI_CFLAGS
17846 NETAPI_LIBS = $NETAPI_LIBS
17847 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17848 DL_LIBS = $DL_LIBS
17849 POLL_LIBS = $POLL_LIBS
17850 RT_LIBS = $RT_LIBS
17851 LDAP_LIBS = $LDAP_LIBS
17856 wine_fn_append_rule "
17857 # Rules automatically generated by configure
17859 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17861 .INIT: Makefile
17862 .MAKEFILEDEPS:
17863 all: Makefile
17864 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17865 @./config.status Make.tmp Makefile
17866 depend: \$(MAKEDEP) dummy
17867 \$(MAKEDEP)"
17869 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17870 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17872 if test "x$enable_fonts" != xno; then
17873 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17874 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17875 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17876 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17877 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17878 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17880 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17881 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17882 ac_config_links="$ac_config_links wine:tools/winewrapper"
17883 wine_fn_config_symlink wine
17884 if test "x$enable_win64" != xno; then
17885 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17886 wine_fn_config_symlink wine64
17889 wine_fn_config_dll acledit enable_acledit
17890 wine_fn_config_dll aclui enable_aclui implib
17891 wine_fn_config_dll activeds enable_activeds implib
17892 wine_fn_config_dll actxprxy enable_actxprxy clean
17893 wine_fn_config_lib adsiid
17894 wine_fn_config_dll adsldpc enable_adsldpc
17895 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17896 wine_fn_config_test dlls/advapi32/tests advapi32_test
17897 wine_fn_config_dll advpack enable_advpack implib
17898 wine_fn_config_test dlls/advpack/tests advpack_test
17899 wine_fn_config_dll amstream enable_amstream clean
17900 wine_fn_config_test dlls/amstream/tests amstream_test
17901 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17902 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17903 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17904 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17905 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17906 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17907 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17908 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17909 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17910 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17911 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17912 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17913 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17914 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17915 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17916 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17917 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17918 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17919 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17920 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17921 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17922 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17923 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17924 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17925 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17926 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17927 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17928 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17929 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17930 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17931 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17932 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17933 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17934 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17935 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17936 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17937 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17938 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17939 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17940 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17941 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17942 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17943 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17944 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17945 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17946 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17947 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17948 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17949 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17950 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17951 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17952 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17953 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17954 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17956 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17958 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17959 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17961 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17962 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17966 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17968 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17970 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17971 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17972 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
17973 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17975 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17979 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17982 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17984 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17987 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17991 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17993 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17994 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17995 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17996 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17997 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17998 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17999 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18000 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18001 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18002 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18003 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18004 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18005 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18006 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18007 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18008 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18009 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18011 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18012 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18013 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18015 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18016 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18017 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18018 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18019 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18020 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18021 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18022 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18023 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18024 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18025 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18026 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18027 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18028 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18029 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18030 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18031 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18032 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18033 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18034 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18035 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18036 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18037 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18038 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18039 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18040 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18041 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18042 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18043 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18044 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18045 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18046 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18047 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18048 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18049 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18050 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18051 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18052 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18053 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18054 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18055 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18056 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18057 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18058 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18059 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18060 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18061 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18062 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18063 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18064 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18065 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18066 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18067 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18068 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18069 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18070 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18071 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18072 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18073 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18074 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18075 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18076 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18077 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18078 wine_fn_config_dll apphelp enable_apphelp
18079 wine_fn_config_test dlls/apphelp/tests apphelp_test
18080 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18081 wine_fn_config_dll atl enable_atl clean,implib
18082 wine_fn_config_test dlls/atl/tests atl_test
18083 wine_fn_config_dll atl100 enable_atl100 clean,implib
18084 wine_fn_config_test dlls/atl100/tests atl100_test
18085 wine_fn_config_dll atl110 enable_atl110 clean
18086 wine_fn_config_dll atl80 enable_atl80 clean,implib
18087 wine_fn_config_test dlls/atl80/tests atl80_test
18088 wine_fn_config_dll atl90 enable_atl90 clean
18089 wine_fn_config_dll authz enable_authz
18090 wine_fn_config_dll avicap32 enable_avicap32 implib
18091 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18092 wine_fn_config_test dlls/avifil32/tests avifil32_test
18093 wine_fn_config_dll avifile.dll16 enable_win16
18094 wine_fn_config_dll avrt enable_avrt implib
18095 wine_fn_config_dll bcrypt enable_bcrypt implib
18096 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18097 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18098 wine_fn_config_dll browseui enable_browseui clean
18099 wine_fn_config_test dlls/browseui/tests browseui_test
18100 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18101 wine_fn_config_dll cabinet enable_cabinet implib
18102 wine_fn_config_test dlls/cabinet/tests cabinet_test
18103 wine_fn_config_dll capi2032 enable_capi2032 implib
18104 wine_fn_config_dll cards enable_cards implib
18105 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18106 wine_fn_config_dll clusapi enable_clusapi implib
18107 wine_fn_config_dll combase enable_combase
18108 wine_fn_config_test dlls/combase/tests combase_test
18109 wine_fn_config_dll comcat enable_comcat
18110 wine_fn_config_test dlls/comcat/tests comcat_test
18111 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18112 wine_fn_config_test dlls/comctl32/tests comctl32_test
18113 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18114 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18115 wine_fn_config_dll comm.drv16 enable_win16
18116 wine_fn_config_dll commdlg.dll16 enable_win16
18117 wine_fn_config_dll compobj.dll16 enable_win16
18118 wine_fn_config_dll compstui enable_compstui implib
18119 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18120 wine_fn_config_dll concrt140 enable_concrt140
18121 wine_fn_config_dll connect enable_connect
18122 wine_fn_config_dll credui enable_credui clean,implib
18123 wine_fn_config_test dlls/credui/tests credui_test
18124 wine_fn_config_dll crtdll enable_crtdll
18125 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18126 wine_fn_config_test dlls/crypt32/tests crypt32_test
18127 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18128 wine_fn_config_dll cryptdll enable_cryptdll implib
18129 wine_fn_config_dll cryptext enable_cryptext
18130 wine_fn_config_dll cryptnet enable_cryptnet implib
18131 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18132 wine_fn_config_dll cryptui enable_cryptui clean,implib
18133 wine_fn_config_test dlls/cryptui/tests cryptui_test
18134 wine_fn_config_dll ctapi32 enable_ctapi32
18135 wine_fn_config_dll ctl3d.dll16 enable_win16
18136 wine_fn_config_dll ctl3d32 enable_ctl3d32
18137 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18138 wine_fn_config_dll d2d1 enable_d2d1 implib
18139 wine_fn_config_test dlls/d2d1/tests d2d1_test
18140 wine_fn_config_dll d3d10 enable_d3d10 implib
18141 wine_fn_config_test dlls/d3d10/tests d3d10_test
18142 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18143 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18144 wine_fn_config_dll d3d10core enable_d3d10core implib
18145 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18146 wine_fn_config_dll d3d11 enable_d3d11 implib
18147 wine_fn_config_test dlls/d3d11/tests d3d11_test
18148 wine_fn_config_dll d3d8 enable_d3d8 implib
18149 wine_fn_config_test dlls/d3d8/tests d3d8_test
18150 wine_fn_config_dll d3d9 enable_d3d9 implib
18151 wine_fn_config_test dlls/d3d9/tests d3d9_test
18152 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18153 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18154 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18155 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18156 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18157 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18158 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18159 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18160 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18161 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18162 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18163 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18164 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18165 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18166 wine_fn_config_dll d3dim enable_d3dim
18167 wine_fn_config_dll d3drm enable_d3drm implib
18168 wine_fn_config_test dlls/d3drm/tests d3drm_test
18169 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18170 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18171 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18172 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18173 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18174 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18175 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18176 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18177 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18178 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18179 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18180 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18181 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18182 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18183 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18184 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18185 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18186 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18187 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18188 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18189 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18190 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18191 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18192 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18193 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18194 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18195 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18196 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18197 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18198 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18199 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18200 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18201 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18202 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18203 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18204 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18205 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18206 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18207 wine_fn_config_dll davclnt enable_davclnt
18208 wine_fn_config_dll dbgeng enable_dbgeng implib
18209 wine_fn_config_dll dbghelp enable_dbghelp implib
18210 wine_fn_config_dll dciman32 enable_dciman32 implib
18211 wine_fn_config_dll ddeml.dll16 enable_win16
18212 wine_fn_config_dll ddraw enable_ddraw clean,implib
18213 wine_fn_config_test dlls/ddraw/tests ddraw_test
18214 wine_fn_config_dll ddrawex enable_ddrawex clean
18215 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18216 wine_fn_config_dll devenum enable_devenum clean
18217 wine_fn_config_test dlls/devenum/tests devenum_test
18218 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18219 wine_fn_config_dll difxapi enable_difxapi
18220 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18221 wine_fn_config_test dlls/dinput/tests dinput_test
18222 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18223 wine_fn_config_test dlls/dinput8/tests dinput8_test
18224 wine_fn_config_dll dispdib.dll16 enable_win16
18225 wine_fn_config_dll dispex enable_dispex clean
18226 wine_fn_config_test dlls/dispex/tests dispex_test
18227 wine_fn_config_dll display.drv16 enable_win16
18228 wine_fn_config_dll dmband enable_dmband clean
18229 wine_fn_config_test dlls/dmband/tests dmband_test
18230 wine_fn_config_dll dmcompos enable_dmcompos clean
18231 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18232 wine_fn_config_dll dmime enable_dmime clean
18233 wine_fn_config_test dlls/dmime/tests dmime_test
18234 wine_fn_config_dll dmloader enable_dmloader clean
18235 wine_fn_config_test dlls/dmloader/tests dmloader_test
18236 wine_fn_config_dll dmscript enable_dmscript clean
18237 wine_fn_config_test dlls/dmscript/tests dmscript_test
18238 wine_fn_config_dll dmstyle enable_dmstyle clean
18239 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18240 wine_fn_config_dll dmsynth enable_dmsynth clean
18241 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18242 wine_fn_config_dll dmusic enable_dmusic clean
18243 wine_fn_config_test dlls/dmusic/tests dmusic_test
18244 wine_fn_config_dll dmusic32 enable_dmusic32
18245 wine_fn_config_dll dnsapi enable_dnsapi implib
18246 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18247 wine_fn_config_dll dplay enable_dplay
18248 wine_fn_config_dll dplayx enable_dplayx clean,implib
18249 wine_fn_config_test dlls/dplayx/tests dplayx_test
18250 wine_fn_config_dll dpnaddr enable_dpnaddr
18251 wine_fn_config_dll dpnet enable_dpnet clean,implib
18252 wine_fn_config_test dlls/dpnet/tests dpnet_test
18253 wine_fn_config_dll dpnhpast enable_dpnhpast
18254 wine_fn_config_dll dpnlobby enable_dpnlobby
18255 wine_fn_config_dll dpvoice enable_dpvoice clean
18256 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18257 wine_fn_config_dll dpwsockx enable_dpwsockx
18258 wine_fn_config_dll drmclien enable_drmclien
18259 wine_fn_config_dll dsound enable_dsound clean,implib
18260 wine_fn_config_test dlls/dsound/tests dsound_test
18261 wine_fn_config_dll dssenh enable_dssenh
18262 wine_fn_config_test dlls/dssenh/tests dssenh_test
18263 wine_fn_config_dll dswave enable_dswave clean
18264 wine_fn_config_test dlls/dswave/tests dswave_test
18265 wine_fn_config_dll dwmapi enable_dwmapi implib
18266 wine_fn_config_dll dwrite enable_dwrite implib
18267 wine_fn_config_test dlls/dwrite/tests dwrite_test
18268 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18269 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18270 wine_fn_config_lib dxerr8
18271 wine_fn_config_lib dxerr9
18272 wine_fn_config_dll dxgi enable_dxgi implib
18273 wine_fn_config_test dlls/dxgi/tests dxgi_test
18274 wine_fn_config_lib dxguid
18275 wine_fn_config_dll dxva2 enable_dxva2
18276 wine_fn_config_dll esent enable_esent
18277 wine_fn_config_dll evr enable_evr
18278 wine_fn_config_dll explorerframe enable_explorerframe clean
18279 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18280 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18281 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18282 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18283 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18284 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18285 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18286 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18287 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18288 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18289 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18290 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18291 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18292 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18293 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18294 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18295 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18296 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18297 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18298 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
18299 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18300 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18301 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18302 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18303 wine_fn_config_dll faultrep enable_faultrep implib
18304 wine_fn_config_test dlls/faultrep/tests faultrep_test
18305 wine_fn_config_dll fltlib enable_fltlib
18306 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18307 wine_fn_config_dll fntcache enable_fntcache
18308 wine_fn_config_dll fontsub enable_fontsub
18309 wine_fn_config_dll fusion enable_fusion
18310 wine_fn_config_test dlls/fusion/tests fusion_test
18311 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18312 wine_fn_config_dll gameux enable_gameux clean
18313 wine_fn_config_test dlls/gameux/tests gameux_test
18314 wine_fn_config_dll gdi.exe16 enable_win16
18315 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18316 wine_fn_config_test dlls/gdi32/tests gdi32_test
18317 wine_fn_config_dll gdiplus enable_gdiplus implib
18318 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18319 wine_fn_config_dll glu32 enable_glu32 implib
18320 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18321 wine_fn_config_dll gpkcsp enable_gpkcsp
18322 wine_fn_config_dll hal enable_hal
18323 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18324 wine_fn_config_dll hid enable_hid implib
18325 wine_fn_config_test dlls/hid/tests hid_test
18326 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18327 wine_fn_config_dll hlink enable_hlink clean,implib
18328 wine_fn_config_test dlls/hlink/tests hlink_test
18329 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18330 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18331 wine_fn_config_dll httpapi enable_httpapi
18332 wine_fn_config_dll iccvid enable_iccvid clean
18333 wine_fn_config_dll icmp enable_icmp
18334 wine_fn_config_dll ieframe enable_ieframe clean,implib
18335 wine_fn_config_test dlls/ieframe/tests ieframe_test
18336 wine_fn_config_dll ifsmgr.vxd enable_win16
18337 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18338 wine_fn_config_dll imagehlp enable_imagehlp implib
18339 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18340 wine_fn_config_dll imm.dll16 enable_win16
18341 wine_fn_config_dll imm32 enable_imm32 implib
18342 wine_fn_config_test dlls/imm32/tests imm32_test
18343 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18344 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18345 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18346 wine_fn_config_dll inetmib1 enable_inetmib1
18347 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18348 wine_fn_config_dll infosoft enable_infosoft clean
18349 wine_fn_config_test dlls/infosoft/tests infosoft_test
18350 wine_fn_config_dll initpki enable_initpki
18351 wine_fn_config_dll inkobj enable_inkobj
18352 wine_fn_config_dll inseng enable_inseng clean
18353 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18354 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18355 wine_fn_config_dll iprop enable_iprop
18356 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18357 wine_fn_config_dll itircl enable_itircl
18358 wine_fn_config_dll itss enable_itss clean
18359 wine_fn_config_test dlls/itss/tests itss_test
18360 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18361 wine_fn_config_dll jscript enable_jscript clean
18362 wine_fn_config_test dlls/jscript/tests jscript_test
18363 wine_fn_config_dll jsproxy enable_jsproxy implib
18364 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18365 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18366 wine_fn_config_test dlls/kernel32/tests kernel32_test
18367 wine_fn_config_dll kernelbase enable_kernelbase
18368 wine_fn_config_dll keyboard.drv16 enable_win16
18369 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18370 wine_fn_config_dll ksuser enable_ksuser
18371 wine_fn_config_dll ktmw32 enable_ktmw32
18372 wine_fn_config_dll loadperf enable_loadperf implib
18373 wine_fn_config_dll localspl enable_localspl clean
18374 wine_fn_config_test dlls/localspl/tests localspl_test
18375 wine_fn_config_dll localui enable_localui clean
18376 wine_fn_config_test dlls/localui/tests localui_test
18377 wine_fn_config_dll lz32 enable_lz32 implib
18378 wine_fn_config_test dlls/lz32/tests lz32_test
18379 wine_fn_config_dll lzexpand.dll16 enable_win16
18380 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18381 wine_fn_config_test dlls/mapi32/tests mapi32_test
18382 wine_fn_config_dll mapistub enable_mapistub
18383 wine_fn_config_dll mciavi32 enable_mciavi32
18384 wine_fn_config_dll mcicda enable_mcicda
18385 wine_fn_config_dll mciqtz32 enable_mciqtz32
18386 wine_fn_config_dll mciseq enable_mciseq
18387 wine_fn_config_dll mciwave enable_mciwave
18388 wine_fn_config_dll mf enable_mf implib
18389 wine_fn_config_test dlls/mf/tests mf_test
18390 wine_fn_config_dll mf3216 enable_mf3216
18391 wine_fn_config_dll mfplat enable_mfplat implib
18392 wine_fn_config_test dlls/mfplat/tests mfplat_test
18393 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18394 wine_fn_config_dll mgmtapi enable_mgmtapi
18395 wine_fn_config_dll midimap enable_midimap
18396 wine_fn_config_dll mlang enable_mlang clean,implib
18397 wine_fn_config_test dlls/mlang/tests mlang_test
18398 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18399 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18400 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18401 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18402 wine_fn_config_dll mmdevldr.vxd enable_win16
18403 wine_fn_config_dll mmsystem.dll16 enable_win16
18404 wine_fn_config_dll monodebg.vxd enable_win16
18405 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18406 wine_fn_config_dll mouse.drv16 enable_win16
18407 wine_fn_config_dll mpr enable_mpr clean,implib
18408 wine_fn_config_test dlls/mpr/tests mpr_test
18409 wine_fn_config_dll mprapi enable_mprapi implib
18410 wine_fn_config_dll msacm.dll16 enable_win16
18411 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18412 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18413 wine_fn_config_test dlls/msacm32/tests msacm32_test
18414 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18415 wine_fn_config_dll msasn1 enable_msasn1 implib
18416 wine_fn_config_dll mscat32 enable_mscat32
18417 wine_fn_config_dll mscms enable_mscms implib
18418 wine_fn_config_test dlls/mscms/tests mscms_test
18419 wine_fn_config_dll mscoree enable_mscoree clean
18420 wine_fn_config_test dlls/mscoree/tests mscoree_test
18421 wine_fn_config_dll msctf enable_msctf clean
18422 wine_fn_config_test dlls/msctf/tests msctf_test
18423 wine_fn_config_dll msctfp enable_msctfp clean
18424 wine_fn_config_dll msdaps enable_msdaps clean
18425 wine_fn_config_dll msdelta enable_msdelta
18426 wine_fn_config_dll msdmo enable_msdmo implib
18427 wine_fn_config_test dlls/msdmo/tests msdmo_test
18428 wine_fn_config_dll msdrm enable_msdrm
18429 wine_fn_config_dll msftedit enable_msftedit
18430 wine_fn_config_dll msg711.acm enable_msg711_acm
18431 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18432 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18433 wine_fn_config_dll mshtml enable_mshtml clean,implib
18434 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18435 wine_fn_config_dll msi enable_msi clean,implib
18436 wine_fn_config_test dlls/msi/tests msi_test
18437 wine_fn_config_dll msident enable_msident clean
18438 wine_fn_config_dll msimg32 enable_msimg32 implib
18439 wine_fn_config_dll msimsg enable_msimsg
18440 wine_fn_config_dll msimtf enable_msimtf clean
18441 wine_fn_config_dll msisip enable_msisip
18442 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18443 wine_fn_config_dll msls31 enable_msls31
18444 wine_fn_config_dll msnet32 enable_msnet32
18445 wine_fn_config_dll mspatcha enable_mspatcha implib
18446 wine_fn_config_dll msports enable_msports
18447 wine_fn_config_dll msrle32 enable_msrle32 clean
18448 wine_fn_config_test dlls/msrle32/tests msrle32_test
18449 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18450 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18451 wine_fn_config_dll mssign32 enable_mssign32
18452 wine_fn_config_dll mssip32 enable_mssip32
18453 wine_fn_config_dll mstask enable_mstask clean
18454 wine_fn_config_test dlls/mstask/tests mstask_test
18455 wine_fn_config_dll msvcirt enable_msvcirt
18456 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18457 wine_fn_config_dll msvcm80 enable_msvcm80
18458 wine_fn_config_dll msvcm90 enable_msvcm90
18459 wine_fn_config_dll msvcp100 enable_msvcp100
18460 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18461 wine_fn_config_dll msvcp110 enable_msvcp110
18462 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18463 wine_fn_config_dll msvcp120 enable_msvcp120
18464 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18465 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18466 wine_fn_config_dll msvcp140 enable_msvcp140
18467 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18468 wine_fn_config_dll msvcp60 enable_msvcp60
18469 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18470 wine_fn_config_dll msvcp70 enable_msvcp70
18471 wine_fn_config_dll msvcp71 enable_msvcp71
18472 wine_fn_config_dll msvcp80 enable_msvcp80
18473 wine_fn_config_dll msvcp90 enable_msvcp90
18474 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18475 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18476 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18477 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18478 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18479 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18480 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18481 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18482 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18483 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18484 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18485 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18486 wine_fn_config_dll msvcrt enable_msvcrt implib
18487 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18488 wine_fn_config_dll msvcrt20 enable_msvcrt20
18489 wine_fn_config_dll msvcrt40 enable_msvcrt40
18490 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18491 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18492 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18493 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18494 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18495 wine_fn_config_dll msvideo.dll16 enable_win16
18496 wine_fn_config_dll mswsock enable_mswsock implib
18497 wine_fn_config_dll msxml enable_msxml clean
18498 wine_fn_config_dll msxml2 enable_msxml2 clean
18499 wine_fn_config_dll msxml3 enable_msxml3 clean
18500 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18501 wine_fn_config_dll msxml4 enable_msxml4 clean
18502 wine_fn_config_dll msxml6 enable_msxml6 clean
18503 wine_fn_config_dll mtxdm enable_mtxdm
18504 wine_fn_config_dll ncrypt enable_ncrypt
18505 wine_fn_config_dll nddeapi enable_nddeapi implib
18506 wine_fn_config_dll ndis.sys enable_ndis_sys
18507 wine_fn_config_dll netapi32 enable_netapi32 implib
18508 wine_fn_config_test dlls/netapi32/tests netapi32_test
18509 wine_fn_config_dll netcfgx enable_netcfgx clean
18510 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18511 wine_fn_config_dll netprofm enable_netprofm clean
18512 wine_fn_config_test dlls/netprofm/tests netprofm_test
18513 wine_fn_config_dll newdev enable_newdev implib
18514 wine_fn_config_dll normaliz enable_normaliz implib
18515 wine_fn_config_dll npmshtml enable_npmshtml
18516 wine_fn_config_dll npptools enable_npptools
18517 wine_fn_config_dll ntdll enable_ntdll implib
18518 wine_fn_config_test dlls/ntdll/tests ntdll_test
18519 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18520 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18521 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18522 wine_fn_config_dll ntprint enable_ntprint
18523 wine_fn_config_test dlls/ntprint/tests ntprint_test
18524 wine_fn_config_dll objsel enable_objsel clean
18525 wine_fn_config_dll odbc32 enable_odbc32 implib
18526 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18527 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18528 wine_fn_config_dll odbccu32 enable_odbccu32
18529 wine_fn_config_dll ole2.dll16 enable_win16
18530 wine_fn_config_dll ole2conv.dll16 enable_win16
18531 wine_fn_config_dll ole2disp.dll16 enable_win16
18532 wine_fn_config_dll ole2nls.dll16 enable_win16
18533 wine_fn_config_dll ole2prox.dll16 enable_win16
18534 wine_fn_config_dll ole2thk.dll16 enable_win16
18535 wine_fn_config_dll ole32 enable_ole32 clean,implib
18536 wine_fn_config_test dlls/ole32/tests ole32_test
18537 wine_fn_config_dll oleacc enable_oleacc clean,implib
18538 wine_fn_config_test dlls/oleacc/tests oleacc_test
18539 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18540 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18541 wine_fn_config_dll olecli.dll16 enable_win16
18542 wine_fn_config_dll olecli32 enable_olecli32 implib
18543 wine_fn_config_dll oledb32 enable_oledb32 clean
18544 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18545 wine_fn_config_dll oledlg enable_oledlg clean,implib
18546 wine_fn_config_test dlls/oledlg/tests oledlg_test
18547 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18548 wine_fn_config_dll olesvr.dll16 enable_win16
18549 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18550 wine_fn_config_dll olethk32 enable_olethk32
18551 wine_fn_config_dll openal32 enable_openal32
18552 wine_fn_config_dll opencl enable_opencl
18553 wine_fn_config_dll opengl32 enable_opengl32 implib
18554 wine_fn_config_test dlls/opengl32/tests opengl32_test
18555 wine_fn_config_dll packager enable_packager clean
18556 wine_fn_config_test dlls/packager/tests packager_test
18557 wine_fn_config_dll pdh enable_pdh implib
18558 wine_fn_config_test dlls/pdh/tests pdh_test
18559 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18560 wine_fn_config_dll pidgen enable_pidgen
18561 wine_fn_config_dll powrprof enable_powrprof implib
18562 wine_fn_config_dll printui enable_printui
18563 wine_fn_config_dll prntvpt enable_prntvpt
18564 wine_fn_config_dll propsys enable_propsys clean,implib
18565 wine_fn_config_test dlls/propsys/tests propsys_test
18566 wine_fn_config_dll psapi enable_psapi implib
18567 wine_fn_config_test dlls/psapi/tests psapi_test
18568 wine_fn_config_dll pstorec enable_pstorec clean
18569 wine_fn_config_test dlls/pstorec/tests pstorec_test
18570 wine_fn_config_dll qcap enable_qcap
18571 wine_fn_config_test dlls/qcap/tests qcap_test
18572 wine_fn_config_dll qedit enable_qedit clean
18573 wine_fn_config_test dlls/qedit/tests qedit_test
18574 wine_fn_config_dll qmgr enable_qmgr clean
18575 wine_fn_config_test dlls/qmgr/tests qmgr_test
18576 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18577 wine_fn_config_dll quartz enable_quartz clean,implib
18578 wine_fn_config_test dlls/quartz/tests quartz_test clean
18579 wine_fn_config_dll query enable_query
18580 wine_fn_config_dll rasapi16.dll16 enable_win16
18581 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18582 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18583 wine_fn_config_dll rasdlg enable_rasdlg implib
18584 wine_fn_config_dll regapi enable_regapi
18585 wine_fn_config_dll resutils enable_resutils implib
18586 wine_fn_config_dll riched20 enable_riched20 clean,implib
18587 wine_fn_config_test dlls/riched20/tests riched20_test
18588 wine_fn_config_dll riched32 enable_riched32
18589 wine_fn_config_test dlls/riched32/tests riched32_test
18590 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18591 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18592 wine_fn_config_dll rsabase enable_rsabase
18593 wine_fn_config_dll rsaenh enable_rsaenh implib
18594 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18595 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18596 wine_fn_config_dll rtutils enable_rtutils implib
18597 wine_fn_config_dll samlib enable_samlib
18598 wine_fn_config_dll sane.ds enable_sane_ds clean
18599 wine_fn_config_dll scarddlg enable_scarddlg
18600 wine_fn_config_dll sccbase enable_sccbase
18601 wine_fn_config_dll schannel enable_schannel
18602 wine_fn_config_test dlls/schannel/tests schannel_test
18603 wine_fn_config_dll schedsvc enable_schedsvc clean
18604 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18605 wine_fn_config_dll scrobj enable_scrobj clean
18606 wine_fn_config_dll scrrun enable_scrrun clean
18607 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18608 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18609 wine_fn_config_dll secur32 enable_secur32 implib
18610 wine_fn_config_test dlls/secur32/tests secur32_test
18611 wine_fn_config_dll security enable_security
18612 wine_fn_config_dll sensapi enable_sensapi implib
18613 wine_fn_config_dll serialui enable_serialui clean
18614 wine_fn_config_test dlls/serialui/tests serialui_test
18615 wine_fn_config_dll setupapi enable_setupapi clean,implib
18616 wine_fn_config_test dlls/setupapi/tests setupapi_test
18617 wine_fn_config_dll setupx.dll16 enable_win16
18618 wine_fn_config_dll sfc enable_sfc implib
18619 wine_fn_config_dll sfc_os enable_sfc_os implib
18620 wine_fn_config_dll shdoclc enable_shdoclc clean
18621 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18622 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18623 wine_fn_config_dll shell.dll16 enable_win16
18624 wine_fn_config_dll shell32 enable_shell32 clean,implib
18625 wine_fn_config_test dlls/shell32/tests shell32_test
18626 wine_fn_config_dll shfolder enable_shfolder implib
18627 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18628 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18629 wine_fn_config_dll slbcsp enable_slbcsp
18630 wine_fn_config_dll slc enable_slc implib
18631 wine_fn_config_test dlls/slc/tests slc_test
18632 wine_fn_config_dll snmpapi enable_snmpapi implib
18633 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18634 wine_fn_config_dll softpub enable_softpub
18635 wine_fn_config_dll sound.drv16 enable_win16
18636 wine_fn_config_dll spoolss enable_spoolss implib
18637 wine_fn_config_test dlls/spoolss/tests spoolss_test
18638 wine_fn_config_dll sspicli enable_sspicli
18639 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18640 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18641 wine_fn_config_dll sti enable_sti clean,implib
18642 wine_fn_config_test dlls/sti/tests sti_test
18643 wine_fn_config_dll storage.dll16 enable_win16
18644 wine_fn_config_dll stress.dll16 enable_win16
18645 wine_fn_config_lib strmbase
18646 wine_fn_config_lib strmiids
18647 wine_fn_config_dll svrapi enable_svrapi
18648 wine_fn_config_dll sxs enable_sxs implib
18649 wine_fn_config_test dlls/sxs/tests sxs_test
18650 wine_fn_config_dll system.drv16 enable_win16
18651 wine_fn_config_dll t2embed enable_t2embed implib
18652 wine_fn_config_test dlls/t2embed/tests t2embed_test
18653 wine_fn_config_dll tapi32 enable_tapi32 implib
18654 wine_fn_config_dll taskschd enable_taskschd clean
18655 wine_fn_config_test dlls/taskschd/tests taskschd_test
18656 wine_fn_config_dll tdh enable_tdh
18657 wine_fn_config_dll tdi.sys enable_tdi_sys
18658 wine_fn_config_dll toolhelp.dll16 enable_win16
18659 wine_fn_config_dll traffic enable_traffic
18660 wine_fn_config_dll twain.dll16 enable_win16
18661 wine_fn_config_dll twain_32 enable_twain_32
18662 wine_fn_config_test dlls/twain_32/tests twain_32_test
18663 wine_fn_config_dll typelib.dll16 enable_win16
18664 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18665 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18666 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18667 wine_fn_config_dll unicows enable_unicows implib
18668 wine_fn_config_dll updspapi enable_updspapi
18669 wine_fn_config_dll url enable_url implib
18670 wine_fn_config_dll urlmon enable_urlmon clean,implib
18671 wine_fn_config_test dlls/urlmon/tests urlmon_test
18672 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18673 wine_fn_config_dll user.exe16 enable_win16
18674 wine_fn_config_dll user32 enable_user32 clean,implib
18675 wine_fn_config_test dlls/user32/tests user32_test
18676 wine_fn_config_dll userenv enable_userenv implib
18677 wine_fn_config_test dlls/userenv/tests userenv_test
18678 wine_fn_config_dll usp10 enable_usp10 implib
18679 wine_fn_config_test dlls/usp10/tests usp10_test
18680 wine_fn_config_lib uuid
18681 wine_fn_config_dll uxtheme enable_uxtheme implib
18682 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18683 wine_fn_config_dll vbscript enable_vbscript clean
18684 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18685 wine_fn_config_dll vcomp enable_vcomp
18686 wine_fn_config_test dlls/vcomp/tests vcomp_test
18687 wine_fn_config_dll vcomp100 enable_vcomp100
18688 wine_fn_config_dll vcomp110 enable_vcomp110
18689 wine_fn_config_dll vcomp120 enable_vcomp120
18690 wine_fn_config_dll vcomp140 enable_vcomp140
18691 wine_fn_config_dll vcomp90 enable_vcomp90
18692 wine_fn_config_dll vcruntime140 enable_vcruntime140
18693 wine_fn_config_dll vdhcp.vxd enable_win16
18694 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18695 wine_fn_config_dll ver.dll16 enable_win16
18696 wine_fn_config_dll version enable_version implib
18697 wine_fn_config_test dlls/version/tests version_test
18698 wine_fn_config_dll virtdisk enable_virtdisk
18699 wine_fn_config_dll vmm.vxd enable_win16
18700 wine_fn_config_dll vnbt.vxd enable_win16
18701 wine_fn_config_dll vnetbios.vxd enable_win16
18702 wine_fn_config_dll vssapi enable_vssapi
18703 wine_fn_config_dll vtdapi.vxd enable_win16
18704 wine_fn_config_dll vwin32.vxd enable_win16
18705 wine_fn_config_dll w32skrnl enable_win16
18706 wine_fn_config_dll w32sys.dll16 enable_win16
18707 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18708 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18709 wine_fn_config_dll wbemprox enable_wbemprox clean
18710 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18711 wine_fn_config_dll webservices enable_webservices implib
18712 wine_fn_config_test dlls/webservices/tests webservices_test
18713 wine_fn_config_dll wer enable_wer implib
18714 wine_fn_config_test dlls/wer/tests wer_test
18715 wine_fn_config_dll wevtapi enable_wevtapi
18716 wine_fn_config_dll wiaservc enable_wiaservc clean
18717 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18718 wine_fn_config_dll wimgapi enable_wimgapi
18719 wine_fn_config_dll win32s16.dll16 enable_win16
18720 wine_fn_config_dll win87em.dll16 enable_win16
18721 wine_fn_config_dll winaspi.dll16 enable_win16
18722 wine_fn_config_dll windebug.dll16 enable_win16
18723 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18724 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18725 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18726 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18727 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18728 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18729 wine_fn_config_dll winebus.sys enable_winebus_sys
18730 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18731 wine_fn_config_lib winecrt0
18732 wine_fn_config_dll wined3d enable_wined3d implib
18733 wine_fn_config_dll winegstreamer enable_winegstreamer
18734 wine_fn_config_dll winehid.sys enable_winehid_sys
18735 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18736 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18737 wine_fn_config_dll winemapi enable_winemapi
18738 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18739 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18740 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18741 wine_fn_config_dll wineps16.drv16 enable_win16
18742 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18743 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18744 wine_fn_config_dll winex11.drv enable_winex11_drv
18745 wine_fn_config_dll wing.dll16 enable_win16
18746 wine_fn_config_dll wing32 enable_wing32
18747 wine_fn_config_dll winhttp enable_winhttp clean,implib
18748 wine_fn_config_test dlls/winhttp/tests winhttp_test
18749 wine_fn_config_dll wininet enable_wininet clean,implib
18750 wine_fn_config_test dlls/wininet/tests wininet_test
18751 wine_fn_config_dll winmm enable_winmm clean,implib
18752 wine_fn_config_test dlls/winmm/tests winmm_test
18753 wine_fn_config_dll winnls.dll16 enable_win16
18754 wine_fn_config_dll winnls32 enable_winnls32 implib
18755 wine_fn_config_dll winscard enable_winscard implib
18756 wine_fn_config_dll winsock.dll16 enable_win16
18757 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18758 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18759 wine_fn_config_dll winsta enable_winsta
18760 wine_fn_config_dll wintab.dll16 enable_win16
18761 wine_fn_config_dll wintab32 enable_wintab32 implib
18762 wine_fn_config_test dlls/wintab32/tests wintab32_test
18763 wine_fn_config_dll wintrust enable_wintrust implib
18764 wine_fn_config_test dlls/wintrust/tests wintrust_test
18765 wine_fn_config_dll winusb enable_winusb
18766 wine_fn_config_dll wlanapi enable_wlanapi implib
18767 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18768 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18769 wine_fn_config_test dlls/wldap32/tests wldap32_test
18770 wine_fn_config_dll wmasf enable_wmasf
18771 wine_fn_config_dll wmi enable_wmi
18772 wine_fn_config_dll wmiutils enable_wmiutils clean
18773 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18774 wine_fn_config_dll wmp enable_wmp clean
18775 wine_fn_config_test dlls/wmp/tests wmp_test
18776 wine_fn_config_dll wmvcore enable_wmvcore implib
18777 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18778 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18779 wine_fn_config_dll wow32 enable_win16 implib
18780 wine_fn_config_dll wpc enable_wpc clean
18781 wine_fn_config_test dlls/wpc/tests wpc_test
18782 wine_fn_config_dll wpcap enable_wpcap
18783 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18784 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18785 wine_fn_config_dll wsdapi enable_wsdapi implib
18786 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18787 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18788 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18789 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18790 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18791 wine_fn_config_dll wsock32 enable_wsock32 implib
18792 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18793 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18794 wine_fn_config_dll wuapi enable_wuapi clean
18795 wine_fn_config_dll wuaueng enable_wuaueng
18796 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18797 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18798 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18799 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18800 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18801 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18802 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18803 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18804 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18805 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18806 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18807 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18808 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18809 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18810 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18811 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18812 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18813 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18814 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18815 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18816 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18817 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18818 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18819 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18820 wine_fn_config_dll xinput1_1 enable_xinput1_1
18821 wine_fn_config_dll xinput1_2 enable_xinput1_2
18822 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18823 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18824 wine_fn_config_dll xinput1_4 enable_xinput1_4
18825 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18826 wine_fn_config_dll xmllite enable_xmllite implib
18827 wine_fn_config_test dlls/xmllite/tests xmllite_test
18828 wine_fn_config_dll xolehlp enable_xolehlp
18829 wine_fn_config_dll xpsprint enable_xpsprint
18830 wine_fn_config_dll xpssvcs enable_xpssvcs
18831 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18832 wine_fn_config_makefile include enable_include clean,install-dev
18833 wine_fn_config_makefile libs/port enable_libs_port
18834 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18835 wine_fn_config_makefile libs/wpp enable_libs_wpp
18836 wine_fn_config_makefile loader enable_loader clean,install-lib
18837 wine_fn_config_makefile po enable_po clean
18838 wine_fn_config_program arp enable_arp install
18839 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18840 wine_fn_config_program attrib enable_attrib clean,install
18841 wine_fn_config_program cabarc enable_cabarc install
18842 wine_fn_config_program cacls enable_cacls install
18843 wine_fn_config_program clock enable_clock clean,install
18844 wine_fn_config_program cmd enable_cmd clean,install
18845 wine_fn_config_test programs/cmd/tests cmd.exe_test
18846 wine_fn_config_program conhost enable_conhost install
18847 wine_fn_config_program control enable_control install
18848 wine_fn_config_program cscript enable_cscript clean,install
18849 wine_fn_config_program dpnsvr enable_dpnsvr install
18850 wine_fn_config_program dxdiag enable_dxdiag clean,install
18851 wine_fn_config_program eject enable_eject install
18852 wine_fn_config_program expand enable_expand install
18853 wine_fn_config_program explorer enable_explorer clean,install
18854 wine_fn_config_program extrac32 enable_extrac32 install
18855 wine_fn_config_program findstr enable_findstr install
18856 wine_fn_config_program fsutil enable_fsutil install
18857 wine_fn_config_program hh enable_hh install
18858 wine_fn_config_program hostname enable_hostname clean,install
18859 wine_fn_config_program icacls enable_icacls install
18860 wine_fn_config_program icinfo enable_icinfo install
18861 wine_fn_config_program iexplore enable_iexplore install
18862 wine_fn_config_program ipconfig enable_ipconfig clean,install
18863 wine_fn_config_program lodctr enable_lodctr install
18864 wine_fn_config_program mofcomp enable_mofcomp install
18865 wine_fn_config_program mshta enable_mshta install
18866 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18867 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18868 wine_fn_config_program net enable_net clean,install
18869 wine_fn_config_program netsh enable_netsh install
18870 wine_fn_config_program netstat enable_netstat clean,install
18871 wine_fn_config_program ngen enable_ngen install
18872 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18873 wine_fn_config_program oleview enable_oleview clean,install
18874 wine_fn_config_program ping enable_ping install
18875 wine_fn_config_program plugplay enable_plugplay install
18876 wine_fn_config_program powershell enable_powershell install
18877 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18878 wine_fn_config_program progman enable_progman clean,install
18879 wine_fn_config_program reg enable_reg clean,install
18880 wine_fn_config_test programs/reg/tests reg.exe_test
18881 wine_fn_config_program regasm enable_regasm install
18882 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18883 wine_fn_config_test programs/regedit/tests regedit.exe_test
18884 wine_fn_config_program regsvcs enable_regsvcs install
18885 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18886 wine_fn_config_program rpcss enable_rpcss clean,install
18887 wine_fn_config_program rundll.exe16 enable_win16 install
18888 wine_fn_config_program rundll32 enable_rundll32 install
18889 wine_fn_config_program sc enable_sc install
18890 wine_fn_config_program schtasks enable_schtasks install
18891 wine_fn_config_program sdbinst enable_sdbinst install
18892 wine_fn_config_program secedit enable_secedit install
18893 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18894 wine_fn_config_program services enable_services clean,install
18895 wine_fn_config_test programs/services/tests services.exe_test
18896 wine_fn_config_program shutdown enable_shutdown install
18897 wine_fn_config_program spoolsv enable_spoolsv install
18898 wine_fn_config_program start enable_start clean,install
18899 wine_fn_config_program subst enable_subst install
18900 wine_fn_config_program svchost enable_svchost install
18901 wine_fn_config_program systeminfo enable_systeminfo install
18902 wine_fn_config_program taskkill enable_taskkill clean,install
18903 wine_fn_config_program tasklist enable_tasklist install
18904 wine_fn_config_program taskmgr enable_taskmgr clean,install
18905 wine_fn_config_program termsv enable_termsv install
18906 wine_fn_config_program uninstaller enable_uninstaller clean,install
18907 wine_fn_config_program unlodctr enable_unlodctr install
18908 wine_fn_config_program view enable_view clean,install
18909 wine_fn_config_program wevtutil enable_wevtutil install
18910 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18911 wine_fn_config_program winebrowser enable_winebrowser install
18912 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18913 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18914 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18915 wine_fn_config_program winedevice enable_winedevice install
18916 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18917 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18918 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18919 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18920 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18921 wine_fn_config_program winetest enable_winetest clean
18922 wine_fn_config_program winevdm enable_win16 install
18923 wine_fn_config_program winhelp.exe16 enable_win16 install
18924 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18925 wine_fn_config_program winoldap.mod16 enable_win16 install
18926 wine_fn_config_program winver enable_winver install
18927 wine_fn_config_program wmic enable_wmic clean,install
18928 wine_fn_config_program wmplayer enable_wmplayer install
18929 wine_fn_config_program wordpad enable_wordpad clean,install
18930 wine_fn_config_program write enable_write clean,install
18931 wine_fn_config_program wscript enable_wscript clean,install
18932 wine_fn_config_test programs/wscript/tests wscript.exe_test
18933 wine_fn_config_program wusa enable_wusa install
18934 wine_fn_config_program xcopy enable_xcopy clean,install
18935 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18936 wine_fn_config_makefile server enable_server clean,install-lib
18937 wine_fn_config_tool tools clean
18938 wine_fn_config_tool tools/sfnt2fon clean
18939 wine_fn_config_tool tools/widl clean,install-dev
18940 wine_fn_config_tool tools/winebuild clean,install-dev
18941 wine_fn_config_tool tools/winedump clean,install-dev
18942 wine_fn_config_tool tools/winegcc clean,install-dev
18943 wine_fn_config_tool tools/winemaker clean,install-dev
18944 wine_fn_config_tool tools/wmc clean,install-dev
18945 wine_fn_config_tool tools/wrc clean,install-dev
18948 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18949 wine_fn_append_file CONFIGURE_TARGETS "tags"
18950 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18951 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18952 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18953 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18954 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18955 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18957 if test "x$enable_tools" != xno
18958 then
18959 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18960 ac_config_commands="$ac_config_commands tools/makedep"
18964 ac_config_commands="$ac_config_commands Makefile"
18967 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18971 if test "x$enable_maintainer_mode" = xyes
18972 then
18973 wine_fn_append_rule "configure: configure.ac aclocal.m4
18974 autoconf --warnings=all
18975 include/config.h.in: include/stamp-h.in
18976 include/stamp-h.in: configure.ac aclocal.m4
18977 autoheader --warnings=all
18978 @echo timestamp > \$@"
18981 if test "x$enable_tools" != xno
18982 then
18983 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18984 @./config.status tools/makedep
18985 Makefile: tools/makedep$ac_exeext"
18986 else
18987 wine_fn_append_rule "\$(MAKEDEP):
18988 @echo \"You need to run make in $TOOLSDIR first\" && false"
18991 if test -n "$with_wine64"
18992 then
18993 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18994 fonts server:
18995 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18996 $with_wine64/loader/wine:
18997 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18998 $with_wine64/loader/wine-preloader:
18999 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19000 clean::
19001 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19002 else
19003 WINELOADER_INSTALL="wine.inf"
19005 wine_fn_append_rule "install install-lib::
19006 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19007 uninstall::
19008 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19009 case $host_os in
19010 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19011 *) wine_fn_append_rule "install install-lib::
19012 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19013 uninstall::
19014 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19015 esac
19018 $as_echo " done" >&6
19019 cat >confcache <<\_ACEOF
19020 # This file is a shell script that caches the results of configure
19021 # tests run on this system so they can be shared between configure
19022 # scripts and configure runs, see configure's option --config-cache.
19023 # It is not useful on other systems. If it contains results you don't
19024 # want to keep, you may remove or edit it.
19026 # config.status only pays attention to the cache file if you give it
19027 # the --recheck option to rerun configure.
19029 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19030 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19031 # following values.
19033 _ACEOF
19035 # The following way of writing the cache mishandles newlines in values,
19036 # but we know of no workaround that is simple, portable, and efficient.
19037 # So, we kill variables containing newlines.
19038 # Ultrix sh set writes to stderr and can't be redirected directly,
19039 # and sets the high bit in the cache file unless we assign to the vars.
19041 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19042 eval ac_val=\$$ac_var
19043 case $ac_val in #(
19044 *${as_nl}*)
19045 case $ac_var in #(
19046 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19048 esac
19049 case $ac_var in #(
19050 _ | IFS | as_nl) ;; #(
19051 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19052 *) { eval $ac_var=; unset $ac_var;} ;;
19053 esac ;;
19054 esac
19055 done
19057 (set) 2>&1 |
19058 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19059 *${as_nl}ac_space=\ *)
19060 # `set' does not quote correctly, so add quotes: double-quote
19061 # substitution turns \\\\ into \\, and sed turns \\ into \.
19062 sed -n \
19063 "s/'/'\\\\''/g;
19064 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19065 ;; #(
19067 # `set' quotes correctly as required by POSIX, so do not add quotes.
19068 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19070 esac |
19071 sort
19073 sed '
19074 /^ac_cv_env_/b end
19075 t clear
19076 :clear
19077 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19078 t end
19079 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19080 :end' >>confcache
19081 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19082 if test -w "$cache_file"; then
19083 if test "x$cache_file" != "x/dev/null"; then
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19085 $as_echo "$as_me: updating cache $cache_file" >&6;}
19086 if test ! -f "$cache_file" || test -h "$cache_file"; then
19087 cat confcache >"$cache_file"
19088 else
19089 case $cache_file in #(
19090 */* | ?:*)
19091 mv -f confcache "$cache_file"$$ &&
19092 mv -f "$cache_file"$$ "$cache_file" ;; #(
19094 mv -f confcache "$cache_file" ;;
19095 esac
19098 else
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19100 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19103 rm -f confcache
19105 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19106 # Let make expand exec_prefix.
19107 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19109 DEFS=-DHAVE_CONFIG_H
19111 ac_libobjs=
19112 ac_ltlibobjs=
19114 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19115 # 1. Remove the extension, and $U if already installed.
19116 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19117 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19118 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19119 # will be set to the directory where LIBOBJS objects are built.
19120 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19121 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19122 done
19123 LIBOBJS=$ac_libobjs
19125 LTLIBOBJS=$ac_ltlibobjs
19129 : "${CONFIG_STATUS=./config.status}"
19130 ac_write_fail=0
19131 ac_clean_files_save=$ac_clean_files
19132 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19133 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19134 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19135 as_write_fail=0
19136 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19137 #! $SHELL
19138 # Generated by $as_me.
19139 # Run this file to recreate the current configuration.
19140 # Compiler output produced by configure, useful for debugging
19141 # configure, is in config.log if it exists.
19143 debug=false
19144 ac_cs_recheck=false
19145 ac_cs_silent=false
19147 SHELL=\${CONFIG_SHELL-$SHELL}
19148 export SHELL
19149 _ASEOF
19150 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19151 ## -------------------- ##
19152 ## M4sh Initialization. ##
19153 ## -------------------- ##
19155 # Be more Bourne compatible
19156 DUALCASE=1; export DUALCASE # for MKS sh
19157 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19158 emulate sh
19159 NULLCMD=:
19160 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19161 # is contrary to our usage. Disable this feature.
19162 alias -g '${1+"$@"}'='"$@"'
19163 setopt NO_GLOB_SUBST
19164 else
19165 case `(set -o) 2>/dev/null` in #(
19166 *posix*) :
19167 set -o posix ;; #(
19168 *) :
19170 esac
19174 as_nl='
19176 export as_nl
19177 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19178 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19179 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19180 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19181 # Prefer a ksh shell builtin over an external printf program on Solaris,
19182 # but without wasting forks for bash or zsh.
19183 if test -z "$BASH_VERSION$ZSH_VERSION" \
19184 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19185 as_echo='print -r --'
19186 as_echo_n='print -rn --'
19187 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19188 as_echo='printf %s\n'
19189 as_echo_n='printf %s'
19190 else
19191 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19192 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19193 as_echo_n='/usr/ucb/echo -n'
19194 else
19195 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19196 as_echo_n_body='eval
19197 arg=$1;
19198 case $arg in #(
19199 *"$as_nl"*)
19200 expr "X$arg" : "X\\(.*\\)$as_nl";
19201 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19202 esac;
19203 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19205 export as_echo_n_body
19206 as_echo_n='sh -c $as_echo_n_body as_echo'
19208 export as_echo_body
19209 as_echo='sh -c $as_echo_body as_echo'
19212 # The user is always right.
19213 if test "${PATH_SEPARATOR+set}" != set; then
19214 PATH_SEPARATOR=:
19215 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19216 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19217 PATH_SEPARATOR=';'
19222 # IFS
19223 # We need space, tab and new line, in precisely that order. Quoting is
19224 # there to prevent editors from complaining about space-tab.
19225 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19226 # splitting by setting IFS to empty value.)
19227 IFS=" "" $as_nl"
19229 # Find who we are. Look in the path if we contain no directory separator.
19230 as_myself=
19231 case $0 in #((
19232 *[\\/]* ) as_myself=$0 ;;
19233 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19234 for as_dir in $PATH
19236 IFS=$as_save_IFS
19237 test -z "$as_dir" && as_dir=.
19238 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19239 done
19240 IFS=$as_save_IFS
19243 esac
19244 # We did not find ourselves, most probably we were run as `sh COMMAND'
19245 # in which case we are not to be found in the path.
19246 if test "x$as_myself" = x; then
19247 as_myself=$0
19249 if test ! -f "$as_myself"; then
19250 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19251 exit 1
19254 # Unset variables that we do not need and which cause bugs (e.g. in
19255 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19256 # suppresses any "Segmentation fault" message there. '((' could
19257 # trigger a bug in pdksh 5.2.14.
19258 for as_var in BASH_ENV ENV MAIL MAILPATH
19259 do eval test x\${$as_var+set} = xset \
19260 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19261 done
19262 PS1='$ '
19263 PS2='> '
19264 PS4='+ '
19266 # NLS nuisances.
19267 LC_ALL=C
19268 export LC_ALL
19269 LANGUAGE=C
19270 export LANGUAGE
19272 # CDPATH.
19273 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19276 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19277 # ----------------------------------------
19278 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19279 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19280 # script with STATUS, using 1 if that was 0.
19281 as_fn_error ()
19283 as_status=$1; test $as_status -eq 0 && as_status=1
19284 if test "$4"; then
19285 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19286 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19288 $as_echo "$as_me: error: $2" >&2
19289 as_fn_exit $as_status
19290 } # as_fn_error
19293 # as_fn_set_status STATUS
19294 # -----------------------
19295 # Set $? to STATUS, without forking.
19296 as_fn_set_status ()
19298 return $1
19299 } # as_fn_set_status
19301 # as_fn_exit STATUS
19302 # -----------------
19303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19304 as_fn_exit ()
19306 set +e
19307 as_fn_set_status $1
19308 exit $1
19309 } # as_fn_exit
19311 # as_fn_unset VAR
19312 # ---------------
19313 # Portably unset VAR.
19314 as_fn_unset ()
19316 { eval $1=; unset $1;}
19318 as_unset=as_fn_unset
19319 # as_fn_append VAR VALUE
19320 # ----------------------
19321 # Append the text in VALUE to the end of the definition contained in VAR. Take
19322 # advantage of any shell optimizations that allow amortized linear growth over
19323 # repeated appends, instead of the typical quadratic growth present in naive
19324 # implementations.
19325 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19326 eval 'as_fn_append ()
19328 eval $1+=\$2
19330 else
19331 as_fn_append ()
19333 eval $1=\$$1\$2
19335 fi # as_fn_append
19337 # as_fn_arith ARG...
19338 # ------------------
19339 # Perform arithmetic evaluation on the ARGs, and store the result in the
19340 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19341 # must be portable across $(()) and expr.
19342 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19343 eval 'as_fn_arith ()
19345 as_val=$(( $* ))
19347 else
19348 as_fn_arith ()
19350 as_val=`expr "$@" || test $? -eq 1`
19352 fi # as_fn_arith
19355 if expr a : '\(a\)' >/dev/null 2>&1 &&
19356 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19357 as_expr=expr
19358 else
19359 as_expr=false
19362 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19363 as_basename=basename
19364 else
19365 as_basename=false
19368 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19369 as_dirname=dirname
19370 else
19371 as_dirname=false
19374 as_me=`$as_basename -- "$0" ||
19375 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19376 X"$0" : 'X\(//\)$' \| \
19377 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19378 $as_echo X/"$0" |
19379 sed '/^.*\/\([^/][^/]*\)\/*$/{
19380 s//\1/
19383 /^X\/\(\/\/\)$/{
19384 s//\1/
19387 /^X\/\(\/\).*/{
19388 s//\1/
19391 s/.*/./; q'`
19393 # Avoid depending upon Character Ranges.
19394 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19395 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19396 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19397 as_cr_digits='0123456789'
19398 as_cr_alnum=$as_cr_Letters$as_cr_digits
19400 ECHO_C= ECHO_N= ECHO_T=
19401 case `echo -n x` in #(((((
19402 -n*)
19403 case `echo 'xy\c'` in
19404 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19405 xy) ECHO_C='\c';;
19406 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19407 ECHO_T=' ';;
19408 esac;;
19410 ECHO_N='-n';;
19411 esac
19413 rm -f conf$$ conf$$.exe conf$$.file
19414 if test -d conf$$.dir; then
19415 rm -f conf$$.dir/conf$$.file
19416 else
19417 rm -f conf$$.dir
19418 mkdir conf$$.dir 2>/dev/null
19420 if (echo >conf$$.file) 2>/dev/null; then
19421 if ln -s conf$$.file conf$$ 2>/dev/null; then
19422 as_ln_s='ln -s'
19423 # ... but there are two gotchas:
19424 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19425 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19426 # In both cases, we have to default to `cp -pR'.
19427 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19428 as_ln_s='cp -pR'
19429 elif ln conf$$.file conf$$ 2>/dev/null; then
19430 as_ln_s=ln
19431 else
19432 as_ln_s='cp -pR'
19434 else
19435 as_ln_s='cp -pR'
19437 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19438 rmdir conf$$.dir 2>/dev/null
19441 # as_fn_mkdir_p
19442 # -------------
19443 # Create "$as_dir" as a directory, including parents if necessary.
19444 as_fn_mkdir_p ()
19447 case $as_dir in #(
19448 -*) as_dir=./$as_dir;;
19449 esac
19450 test -d "$as_dir" || eval $as_mkdir_p || {
19451 as_dirs=
19452 while :; do
19453 case $as_dir in #(
19454 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19455 *) as_qdir=$as_dir;;
19456 esac
19457 as_dirs="'$as_qdir' $as_dirs"
19458 as_dir=`$as_dirname -- "$as_dir" ||
19459 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19460 X"$as_dir" : 'X\(//\)[^/]' \| \
19461 X"$as_dir" : 'X\(//\)$' \| \
19462 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19463 $as_echo X"$as_dir" |
19464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19465 s//\1/
19468 /^X\(\/\/\)[^/].*/{
19469 s//\1/
19472 /^X\(\/\/\)$/{
19473 s//\1/
19476 /^X\(\/\).*/{
19477 s//\1/
19480 s/.*/./; q'`
19481 test -d "$as_dir" && break
19482 done
19483 test -z "$as_dirs" || eval "mkdir $as_dirs"
19484 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19487 } # as_fn_mkdir_p
19488 if mkdir -p . 2>/dev/null; then
19489 as_mkdir_p='mkdir -p "$as_dir"'
19490 else
19491 test -d ./-p && rmdir ./-p
19492 as_mkdir_p=false
19496 # as_fn_executable_p FILE
19497 # -----------------------
19498 # Test if FILE is an executable regular file.
19499 as_fn_executable_p ()
19501 test -f "$1" && test -x "$1"
19502 } # as_fn_executable_p
19503 as_test_x='test -x'
19504 as_executable_p=as_fn_executable_p
19506 # Sed expression to map a string onto a valid CPP name.
19507 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19509 # Sed expression to map a string onto a valid variable name.
19510 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19513 exec 6>&1
19514 ## ----------------------------------- ##
19515 ## Main body of $CONFIG_STATUS script. ##
19516 ## ----------------------------------- ##
19517 _ASEOF
19518 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19521 # Save the log message, to keep $0 and so on meaningful, and to
19522 # report actual input values of CONFIG_FILES etc. instead of their
19523 # values after options handling.
19524 ac_log="
19525 This file was extended by Wine $as_me 2.12, which was
19526 generated by GNU Autoconf 2.69. Invocation command line was
19528 CONFIG_FILES = $CONFIG_FILES
19529 CONFIG_HEADERS = $CONFIG_HEADERS
19530 CONFIG_LINKS = $CONFIG_LINKS
19531 CONFIG_COMMANDS = $CONFIG_COMMANDS
19532 $ $0 $@
19534 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19537 _ACEOF
19539 case $ac_config_files in *"
19540 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19541 esac
19543 case $ac_config_headers in *"
19544 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19545 esac
19548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19549 # Files that config.status was made for.
19550 config_files="$ac_config_files"
19551 config_headers="$ac_config_headers"
19552 config_links="$ac_config_links"
19553 config_commands="$ac_config_commands"
19555 _ACEOF
19557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19558 ac_cs_usage="\
19559 \`$as_me' instantiates files and other configuration actions
19560 from templates according to the current configuration. Unless the files
19561 and actions are specified as TAGs, all are instantiated by default.
19563 Usage: $0 [OPTION]... [TAG]...
19565 -h, --help print this help, then exit
19566 -V, --version print version number and configuration settings, then exit
19567 --config print configuration, then exit
19568 -q, --quiet, --silent
19569 do not print progress messages
19570 -d, --debug don't remove temporary files
19571 --recheck update $as_me by reconfiguring in the same conditions
19572 --file=FILE[:TEMPLATE]
19573 instantiate the configuration file FILE
19574 --header=FILE[:TEMPLATE]
19575 instantiate the configuration header FILE
19577 Configuration files:
19578 $config_files
19580 Configuration headers:
19581 $config_headers
19583 Configuration links:
19584 $config_links
19586 Configuration commands:
19587 $config_commands
19589 Report bugs to <wine-devel@winehq.org>.
19590 Wine home page: <http://www.winehq.org>."
19592 _ACEOF
19593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19594 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19595 ac_cs_version="\\
19596 Wine config.status 2.12
19597 configured by $0, generated by GNU Autoconf 2.69,
19598 with options \\"\$ac_cs_config\\"
19600 Copyright (C) 2012 Free Software Foundation, Inc.
19601 This config.status script is free software; the Free Software Foundation
19602 gives unlimited permission to copy, distribute and modify it."
19604 ac_pwd='$ac_pwd'
19605 srcdir='$srcdir'
19606 test -n "\$AWK" || AWK=awk
19607 _ACEOF
19609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19610 # The default lists apply if the user does not specify any file.
19611 ac_need_defaults=:
19612 while test $# != 0
19614 case $1 in
19615 --*=?*)
19616 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19617 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19618 ac_shift=:
19620 --*=)
19621 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19622 ac_optarg=
19623 ac_shift=:
19626 ac_option=$1
19627 ac_optarg=$2
19628 ac_shift=shift
19630 esac
19632 case $ac_option in
19633 # Handling of the options.
19634 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19635 ac_cs_recheck=: ;;
19636 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19637 $as_echo "$ac_cs_version"; exit ;;
19638 --config | --confi | --conf | --con | --co | --c )
19639 $as_echo "$ac_cs_config"; exit ;;
19640 --debug | --debu | --deb | --de | --d | -d )
19641 debug=: ;;
19642 --file | --fil | --fi | --f )
19643 $ac_shift
19644 case $ac_optarg in
19645 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19646 '') as_fn_error $? "missing file argument" ;;
19647 esac
19648 as_fn_append CONFIG_FILES " '$ac_optarg'"
19649 ac_need_defaults=false;;
19650 --header | --heade | --head | --hea )
19651 $ac_shift
19652 case $ac_optarg in
19653 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19654 esac
19655 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19656 ac_need_defaults=false;;
19657 --he | --h)
19658 # Conflict between --help and --header
19659 as_fn_error $? "ambiguous option: \`$1'
19660 Try \`$0 --help' for more information.";;
19661 --help | --hel | -h )
19662 $as_echo "$ac_cs_usage"; exit ;;
19663 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19664 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19665 ac_cs_silent=: ;;
19667 # This is an error.
19668 -*) as_fn_error $? "unrecognized option: \`$1'
19669 Try \`$0 --help' for more information." ;;
19671 *) as_fn_append ac_config_targets " $1"
19672 ac_need_defaults=false ;;
19674 esac
19675 shift
19676 done
19678 ac_configure_extra_args=
19680 if $ac_cs_silent; then
19681 exec 6>/dev/null
19682 ac_configure_extra_args="$ac_configure_extra_args --silent"
19685 _ACEOF
19686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19687 if \$ac_cs_recheck; then
19688 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19689 shift
19690 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19691 CONFIG_SHELL='$SHELL'
19692 export CONFIG_SHELL
19693 exec "\$@"
19696 _ACEOF
19697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19698 exec 5>>config.log
19700 echo
19701 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19702 ## Running $as_me. ##
19703 _ASBOX
19704 $as_echo "$ac_log"
19705 } >&5
19707 _ACEOF
19708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19710 # INIT-COMMANDS
19712 wine_fn_output_makedep ()
19714 as_dir=tools; as_fn_mkdir_p
19715 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19717 wine_fn_output_makefile ()
19719 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19720 `cat $wine_rules_file`
19721 _WINE_EOF
19722 as_fn_error $? "could not create Makefile" "$LINENO" 5
19725 _ACEOF
19727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19729 # Handling of arguments.
19730 for ac_config_target in $ac_config_targets
19732 case $ac_config_target in
19733 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19734 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19735 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19736 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19737 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19738 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19739 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19740 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19741 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19742 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19743 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19744 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19745 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19747 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19748 esac
19749 done
19752 # If the user did not use the arguments to specify the items to instantiate,
19753 # then the envvar interface is used. Set only those that are not.
19754 # We use the long form for the default assignment because of an extremely
19755 # bizarre bug on SunOS 4.1.3.
19756 if $ac_need_defaults; then
19757 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19758 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19759 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19760 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19763 # Have a temporary directory for convenience. Make it in the build tree
19764 # simply because there is no reason against having it here, and in addition,
19765 # creating and moving files from /tmp can sometimes cause problems.
19766 # Hook for its removal unless debugging.
19767 # Note that there is a small window in which the directory will not be cleaned:
19768 # after its creation but before its name has been assigned to `$tmp'.
19769 $debug ||
19771 tmp= ac_tmp=
19772 trap 'exit_status=$?
19773 : "${ac_tmp:=$tmp}"
19774 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19776 trap 'as_fn_exit 1' 1 2 13 15
19778 # Create a (secure) tmp directory for tmp files.
19781 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19782 test -d "$tmp"
19783 } ||
19785 tmp=./conf$$-$RANDOM
19786 (umask 077 && mkdir "$tmp")
19787 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19788 ac_tmp=$tmp
19790 # Set up the scripts for CONFIG_FILES section.
19791 # No need to generate them if there are no CONFIG_FILES.
19792 # This happens for instance with `./config.status config.h'.
19793 if test -n "$CONFIG_FILES"; then
19796 ac_cr=`echo X | tr X '\015'`
19797 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19798 # But we know of no other shell where ac_cr would be empty at this
19799 # point, so we can use a bashism as a fallback.
19800 if test "x$ac_cr" = x; then
19801 eval ac_cr=\$\'\\r\'
19803 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19804 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19805 ac_cs_awk_cr='\\r'
19806 else
19807 ac_cs_awk_cr=$ac_cr
19810 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19811 _ACEOF
19815 echo "cat >conf$$subs.awk <<_ACEOF" &&
19816 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19817 echo "_ACEOF"
19818 } >conf$$subs.sh ||
19819 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19820 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19821 ac_delim='%!_!# '
19822 for ac_last_try in false false false false false :; do
19823 . ./conf$$subs.sh ||
19824 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19826 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19827 if test $ac_delim_n = $ac_delim_num; then
19828 break
19829 elif $ac_last_try; then
19830 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19831 else
19832 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19834 done
19835 rm -f conf$$subs.sh
19837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19838 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19839 _ACEOF
19840 sed -n '
19842 s/^/S["/; s/!.*/"]=/
19845 s/^[^!]*!//
19846 :repl
19847 t repl
19848 s/'"$ac_delim"'$//
19849 t delim
19852 s/\(.\{148\}\)..*/\1/
19853 t more1
19854 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19857 b repl
19858 :more1
19859 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19862 s/.\{148\}//
19863 t nl
19864 :delim
19866 s/\(.\{148\}\)..*/\1/
19867 t more2
19868 s/["\\]/\\&/g; s/^/"/; s/$/"/
19871 :more2
19872 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19875 s/.\{148\}//
19876 t delim
19877 ' <conf$$subs.awk | sed '
19878 /^[^""]/{
19880 s/\n//
19882 ' >>$CONFIG_STATUS || ac_write_fail=1
19883 rm -f conf$$subs.awk
19884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19885 _ACAWK
19886 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19887 for (key in S) S_is_set[key] = 1
19888 FS = "\a"
19892 line = $ 0
19893 nfields = split(line, field, "@")
19894 substed = 0
19895 len = length(field[1])
19896 for (i = 2; i < nfields; i++) {
19897 key = field[i]
19898 keylen = length(key)
19899 if (S_is_set[key]) {
19900 value = S[key]
19901 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19902 len += length(value) + length(field[++i])
19903 substed = 1
19904 } else
19905 len += 1 + keylen
19908 print line
19911 _ACAWK
19912 _ACEOF
19913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19914 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19915 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19916 else
19918 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19919 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19920 _ACEOF
19922 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19923 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19924 # trailing colons and then remove the whole line if VPATH becomes empty
19925 # (actually we leave an empty line to preserve line numbers).
19926 if test "x$srcdir" = x.; then
19927 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19929 s///
19930 s/^/:/
19931 s/[ ]*$/:/
19932 s/:\$(srcdir):/:/g
19933 s/:\${srcdir}:/:/g
19934 s/:@srcdir@:/:/g
19935 s/^:*//
19936 s/:*$//
19938 s/\(=[ ]*\).*/\1/
19940 s/\n//
19941 s/^[^=]*=[ ]*$//
19945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19946 fi # test -n "$CONFIG_FILES"
19948 # Set up the scripts for CONFIG_HEADERS section.
19949 # No need to generate them if there are no CONFIG_HEADERS.
19950 # This happens for instance with `./config.status Makefile'.
19951 if test -n "$CONFIG_HEADERS"; then
19952 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19953 BEGIN {
19954 _ACEOF
19956 # Transform confdefs.h into an awk script `defines.awk', embedded as
19957 # here-document in config.status, that substitutes the proper values into
19958 # config.h.in to produce config.h.
19960 # Create a delimiter string that does not exist in confdefs.h, to ease
19961 # handling of long lines.
19962 ac_delim='%!_!# '
19963 for ac_last_try in false false :; do
19964 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19965 if test -z "$ac_tt"; then
19966 break
19967 elif $ac_last_try; then
19968 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19969 else
19970 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19972 done
19974 # For the awk script, D is an array of macro values keyed by name,
19975 # likewise P contains macro parameters if any. Preserve backslash
19976 # newline sequences.
19978 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19979 sed -n '
19980 s/.\{148\}/&'"$ac_delim"'/g
19981 t rset
19982 :rset
19983 s/^[ ]*#[ ]*define[ ][ ]*/ /
19984 t def
19986 :def
19987 s/\\$//
19988 t bsnl
19989 s/["\\]/\\&/g
19990 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19991 D["\1"]=" \3"/p
19992 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19994 :bsnl
19995 s/["\\]/\\&/g
19996 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19997 D["\1"]=" \3\\\\\\n"\\/p
19998 t cont
19999 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20000 t cont
20002 :cont
20004 s/.\{148\}/&'"$ac_delim"'/g
20005 t clear
20006 :clear
20007 s/\\$//
20008 t bsnlc
20009 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20011 :bsnlc
20012 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20013 b cont
20014 ' <confdefs.h | sed '
20015 s/'"$ac_delim"'/"\\\
20016 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20019 for (key in D) D_is_set[key] = 1
20020 FS = "\a"
20022 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20023 line = \$ 0
20024 split(line, arg, " ")
20025 if (arg[1] == "#") {
20026 defundef = arg[2]
20027 mac1 = arg[3]
20028 } else {
20029 defundef = substr(arg[1], 2)
20030 mac1 = arg[2]
20032 split(mac1, mac2, "(") #)
20033 macro = mac2[1]
20034 prefix = substr(line, 1, index(line, defundef) - 1)
20035 if (D_is_set[macro]) {
20036 # Preserve the white space surrounding the "#".
20037 print prefix "define", macro P[macro] D[macro]
20038 next
20039 } else {
20040 # Replace #undef with comments. This is necessary, for example,
20041 # in the case of _POSIX_SOURCE, which is predefined and required
20042 # on some systems where configure will not decide to define it.
20043 if (defundef == "undef") {
20044 print "/*", prefix defundef, macro, "*/"
20045 next
20049 { print }
20050 _ACAWK
20051 _ACEOF
20052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20053 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20054 fi # test -n "$CONFIG_HEADERS"
20057 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20058 shift
20059 for ac_tag
20061 case $ac_tag in
20062 :[FHLC]) ac_mode=$ac_tag; continue;;
20063 esac
20064 case $ac_mode$ac_tag in
20065 :[FHL]*:*);;
20066 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20067 :[FH]-) ac_tag=-:-;;
20068 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20069 esac
20070 ac_save_IFS=$IFS
20071 IFS=:
20072 set x $ac_tag
20073 IFS=$ac_save_IFS
20074 shift
20075 ac_file=$1
20076 shift
20078 case $ac_mode in
20079 :L) ac_source=$1;;
20080 :[FH])
20081 ac_file_inputs=
20082 for ac_f
20084 case $ac_f in
20085 -) ac_f="$ac_tmp/stdin";;
20086 *) # Look for the file first in the build tree, then in the source tree
20087 # (if the path is not absolute). The absolute path cannot be DOS-style,
20088 # because $ac_f cannot contain `:'.
20089 test -f "$ac_f" ||
20090 case $ac_f in
20091 [\\/$]*) false;;
20092 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20093 esac ||
20094 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20095 esac
20096 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20097 as_fn_append ac_file_inputs " '$ac_f'"
20098 done
20100 # Let's still pretend it is `configure' which instantiates (i.e., don't
20101 # use $as_me), people would be surprised to read:
20102 # /* config.h. Generated by config.status. */
20103 configure_input='Generated from '`
20104 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20105 `' by configure.'
20106 if test x"$ac_file" != x-; then
20107 configure_input="$ac_file. $configure_input"
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20109 $as_echo "$as_me: creating $ac_file" >&6;}
20111 # Neutralize special characters interpreted by sed in replacement strings.
20112 case $configure_input in #(
20113 *\&* | *\|* | *\\* )
20114 ac_sed_conf_input=`$as_echo "$configure_input" |
20115 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20116 *) ac_sed_conf_input=$configure_input;;
20117 esac
20119 case $ac_tag in
20120 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20121 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20122 esac
20124 esac
20126 ac_dir=`$as_dirname -- "$ac_file" ||
20127 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20128 X"$ac_file" : 'X\(//\)[^/]' \| \
20129 X"$ac_file" : 'X\(//\)$' \| \
20130 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20131 $as_echo X"$ac_file" |
20132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20133 s//\1/
20136 /^X\(\/\/\)[^/].*/{
20137 s//\1/
20140 /^X\(\/\/\)$/{
20141 s//\1/
20144 /^X\(\/\).*/{
20145 s//\1/
20148 s/.*/./; q'`
20149 as_dir="$ac_dir"; as_fn_mkdir_p
20150 ac_builddir=.
20152 case "$ac_dir" in
20153 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20155 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20156 # A ".." for each directory in $ac_dir_suffix.
20157 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20158 case $ac_top_builddir_sub in
20159 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20160 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20161 esac ;;
20162 esac
20163 ac_abs_top_builddir=$ac_pwd
20164 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20165 # for backward compatibility:
20166 ac_top_builddir=$ac_top_build_prefix
20168 case $srcdir in
20169 .) # We are building in place.
20170 ac_srcdir=.
20171 ac_top_srcdir=$ac_top_builddir_sub
20172 ac_abs_top_srcdir=$ac_pwd ;;
20173 [\\/]* | ?:[\\/]* ) # Absolute name.
20174 ac_srcdir=$srcdir$ac_dir_suffix;
20175 ac_top_srcdir=$srcdir
20176 ac_abs_top_srcdir=$srcdir ;;
20177 *) # Relative name.
20178 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20179 ac_top_srcdir=$ac_top_build_prefix$srcdir
20180 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20181 esac
20182 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20185 case $ac_mode in
20188 # CONFIG_FILE
20191 _ACEOF
20193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20194 # If the template does not know about datarootdir, expand it.
20195 # FIXME: This hack should be removed a few years after 2.60.
20196 ac_datarootdir_hack=; ac_datarootdir_seen=
20197 ac_sed_dataroot='
20198 /datarootdir/ {
20202 /@datadir@/p
20203 /@docdir@/p
20204 /@infodir@/p
20205 /@localedir@/p
20206 /@mandir@/p'
20207 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20208 *datarootdir*) ac_datarootdir_seen=yes;;
20209 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20211 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20212 _ACEOF
20213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20214 ac_datarootdir_hack='
20215 s&@datadir@&$datadir&g
20216 s&@docdir@&$docdir&g
20217 s&@infodir@&$infodir&g
20218 s&@localedir@&$localedir&g
20219 s&@mandir@&$mandir&g
20220 s&\\\${datarootdir}&$datarootdir&g' ;;
20221 esac
20222 _ACEOF
20224 # Neutralize VPATH when `$srcdir' = `.'.
20225 # Shell code in configure.ac might set extrasub.
20226 # FIXME: do we really want to maintain this feature?
20227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20228 ac_sed_extra="$ac_vpsub
20229 $extrasub
20230 _ACEOF
20231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20233 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20234 s|@configure_input@|$ac_sed_conf_input|;t t
20235 s&@top_builddir@&$ac_top_builddir_sub&;t t
20236 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20237 s&@srcdir@&$ac_srcdir&;t t
20238 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20239 s&@top_srcdir@&$ac_top_srcdir&;t t
20240 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20241 s&@builddir@&$ac_builddir&;t t
20242 s&@abs_builddir@&$ac_abs_builddir&;t t
20243 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20244 $ac_datarootdir_hack
20246 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20247 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20250 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20252 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20254 which seems to be undefined. Please make sure it is defined" >&5
20255 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20256 which seems to be undefined. Please make sure it is defined" >&2;}
20258 rm -f "$ac_tmp/stdin"
20259 case $ac_file in
20260 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20261 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20262 esac \
20263 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20267 # CONFIG_HEADER
20269 if test x"$ac_file" != x-; then
20271 $as_echo "/* $configure_input */" \
20272 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20273 } >"$ac_tmp/config.h" \
20274 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20275 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20276 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20277 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20278 else
20279 rm -f "$ac_file"
20280 mv "$ac_tmp/config.h" "$ac_file" \
20281 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20283 else
20284 $as_echo "/* $configure_input */" \
20285 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20286 || as_fn_error $? "could not create -" "$LINENO" 5
20291 # CONFIG_LINK
20294 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20296 else
20297 # Prefer the file from the source tree if names are identical.
20298 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20299 ac_source=$srcdir/$ac_source
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20303 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20305 if test ! -r "$ac_source"; then
20306 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20308 rm -f "$ac_file"
20310 # Try a relative symlink, then a hard link, then a copy.
20311 case $ac_source in
20312 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20313 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20314 esac
20315 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20316 ln "$ac_source" "$ac_file" 2>/dev/null ||
20317 cp -p "$ac_source" "$ac_file" ||
20318 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20321 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20322 $as_echo "$as_me: executing $ac_file commands" >&6;}
20324 esac
20327 case $ac_file$ac_mode in
20328 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20329 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20330 "Makefile":C) wine_fn_output_makefile Makefile ;;
20332 esac
20333 done # for ac_tag
20336 as_fn_exit 0
20337 _ACEOF
20338 ac_clean_files=$ac_clean_files_save
20340 test $ac_write_fail = 0 ||
20341 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20344 # configure is writing to config.log, and then calls config.status.
20345 # config.status does its own redirection, appending to config.log.
20346 # Unfortunately, on DOS this fails, as config.log is still kept open
20347 # by configure, so config.status won't be able to write to it; its
20348 # output is simply discarded. So we exec the FD to /dev/null,
20349 # effectively closing config.log, so it can be properly (re)opened and
20350 # appended to by config.status. When coming back to configure, we
20351 # need to make the FD available again.
20352 if test "$no_create" != yes; then
20353 ac_cs_success=:
20354 ac_config_status_args=
20355 test "$silent" = yes &&
20356 ac_config_status_args="$ac_config_status_args --quiet"
20357 exec 5>/dev/null
20358 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20359 exec 5>>config.log
20360 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20361 # would make configure fail if this is the last instruction.
20362 $ac_cs_success || as_fn_exit 1
20364 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20366 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20370 if test "$no_create" = "yes"
20371 then
20372 exit 0
20375 ac_save_IFS="$IFS"
20376 if test "x$wine_notices" != x; then
20377 echo >&6
20378 IFS="|"
20379 for msg in $wine_notices; do
20380 IFS="$ac_save_IFS"
20381 if ${msg:+false} :; then :
20383 else
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20385 $as_echo "$as_me: $msg" >&6;}
20387 done
20389 IFS="|"
20390 for msg in $wine_warnings; do
20391 IFS="$ac_save_IFS"
20392 if ${msg:+false} :; then :
20394 else
20395 echo >&2
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20397 $as_echo "$as_me: WARNING: $msg" >&2;}
20399 done
20400 IFS="$ac_save_IFS"
20402 $as_echo "
20403 $as_me: Finished. Do '${ac_make}' to compile Wine.
20404 " >&6