mpr: Don't stop enumeration on the first failing network provider.
[wine.git] / configure
blob114f3026be063171f6685a9a0ee30accb6808093
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.10.
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.10'
584 PACKAGE_STRING='Wine 2.10'
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 CROSSCC
694 CROSSTARGET
695 PRELINK
696 WINELOADER_DEPENDS
697 CARBON_LIBS
698 QUICKTIME_LIBS
699 OPENCL_LIBS
700 OPENAL_LIBS
701 COREAUDIO_LIBS
702 SECURITY_LIBS
703 DISKARBITRATION_LIBS
704 APPKIT_LIBS
705 CORESERVICES_LIBS
706 APPLICATIONSERVICES_LIBS
707 FORCEFEEDBACK_LIBS
708 IOKIT_LIBS
709 COREFOUNDATION_LIBS
710 LIBWINE_DEPENDS
711 LIBWINE_LDFLAGS
712 LIBWINE_INSTALL_DEV
713 LIBWINE_INSTALL_LIB
714 LIBWINE_IMPORTLIB
715 LIBWINE_SHAREDLIB
716 SOCKET_LIBS
717 DLLTOOL
718 WINELOADER_PROGRAMS
719 ALL_TEST_RESOURCES
720 CONFIGURE_TARGETS
721 DISABLED_SUBDIRS
722 SUBDIRS
723 READELF
724 OTOOL
726 WINELOADER_LDFLAGS
727 LDEXECFLAGS
728 LDRPATH_LOCAL
729 LDRPATH_INSTALL
730 DLLFLAGS
731 dlldir
733 OPENGL_LIBS
734 ICOTOOL
735 CONVERT
736 RSVG
737 FONTFORGE
738 PKG_CONFIG
739 MSGFMT
740 LDCONFIG
741 EGREP
742 GREP
743 LN_S
744 RANLIB
745 ARFLAGS
746 STRIP
747 ac_ct_AR
749 BISON
750 FLEX
751 TOOLSDIR
752 TARGETFLAGS
754 CPPBIN
755 ac_ct_CXX
756 CXXFLAGS
758 OBJEXT
759 EXEEXT
760 ac_ct_CC
761 CPPFLAGS
762 LDFLAGS
763 CFLAGS
765 SET_MAKE
766 host_os
767 host_vendor
768 host_cpu
769 host
770 build_os
771 build_vendor
772 build_cpu
773 build
774 target_alias
775 host_alias
776 build_alias
777 LIBS
778 ECHO_T
779 ECHO_N
780 ECHO_C
781 DEFS
782 mandir
783 localedir
784 libdir
785 psdir
786 pdfdir
787 dvidir
788 htmldir
789 infodir
790 docdir
791 oldincludedir
792 includedir
793 runstatedir
794 localstatedir
795 sharedstatedir
796 sysconfdir
797 datadir
798 datarootdir
799 libexecdir
800 sbindir
801 bindir
802 program_transform_name
803 prefix
804 exec_prefix
805 PACKAGE_URL
806 PACKAGE_BUGREPORT
807 PACKAGE_STRING
808 PACKAGE_VERSION
809 PACKAGE_TARNAME
810 PACKAGE_NAME
811 PATH_SEPARATOR
812 SHELL'
813 ac_subst_files=''
814 ac_user_opts='
815 enable_option_checking
816 enable_win16
817 enable_win64
818 enable_tests
819 enable_maintainer_mode
820 with_alsa
821 with_capi
822 with_cms
823 with_coreaudio
824 with_cups
825 with_curses
826 with_dbus
827 with_fontconfig
828 with_freetype
829 with_gettext
830 with_gettextpo
831 with_gphoto
832 with_glu
833 with_gnutls
834 with_gsm
835 with_gstreamer
836 with_hal
837 with_jpeg
838 with_ldap
839 with_mpg123
840 with_netapi
841 with_openal
842 with_opencl
843 with_opengl
844 with_osmesa
845 with_oss
846 with_pcap
847 with_png
848 with_pthread
849 with_pulse
850 with_sane
851 with_tiff
852 with_udev
853 with_v4l
854 with_xcomposite
855 with_xcursor
856 with_xfixes
857 with_xinerama
858 with_xinput
859 with_xinput2
860 with_xml
861 with_xrandr
862 with_xrender
863 with_xshape
864 with_xshm
865 with_xslt
866 with_xxf86vm
867 with_zlib
868 with_wine_tools
869 with_wine64
870 enable_largefile
871 with_x
872 enable_acledit
873 enable_aclui
874 enable_activeds
875 enable_actxprxy
876 enable_adsldpc
877 enable_advapi32
878 enable_advpack
879 enable_amstream
880 enable_api_ms_win_appmodel_identity_l1_1_0
881 enable_api_ms_win_appmodel_runtime_l1_1_1
882 enable_api_ms_win_core_apiquery_l1_1_0
883 enable_api_ms_win_core_appcompat_l1_1_1
884 enable_api_ms_win_core_appinit_l1_1_0
885 enable_api_ms_win_core_atoms_l1_1_0
886 enable_api_ms_win_core_bem_l1_1_0
887 enable_api_ms_win_core_com_l1_1_0
888 enable_api_ms_win_core_com_l1_1_1
889 enable_api_ms_win_core_com_private_l1_1_0
890 enable_api_ms_win_core_console_l1_1_0
891 enable_api_ms_win_core_console_l2_1_0
892 enable_api_ms_win_core_crt_l1_1_0
893 enable_api_ms_win_core_crt_l2_1_0
894 enable_api_ms_win_core_datetime_l1_1_0
895 enable_api_ms_win_core_datetime_l1_1_1
896 enable_api_ms_win_core_debug_l1_1_0
897 enable_api_ms_win_core_debug_l1_1_1
898 enable_api_ms_win_core_delayload_l1_1_0
899 enable_api_ms_win_core_delayload_l1_1_1
900 enable_api_ms_win_core_errorhandling_l1_1_0
901 enable_api_ms_win_core_errorhandling_l1_1_1
902 enable_api_ms_win_core_errorhandling_l1_1_2
903 enable_api_ms_win_core_fibers_l1_1_0
904 enable_api_ms_win_core_fibers_l1_1_1
905 enable_api_ms_win_core_file_l1_1_0
906 enable_api_ms_win_core_file_l1_2_0
907 enable_api_ms_win_core_file_l1_2_1
908 enable_api_ms_win_core_file_l2_1_0
909 enable_api_ms_win_core_file_l2_1_1
910 enable_api_ms_win_core_handle_l1_1_0
911 enable_api_ms_win_core_heap_l1_1_0
912 enable_api_ms_win_core_heap_l1_2_0
913 enable_api_ms_win_core_heap_obsolete_l1_1_0
914 enable_api_ms_win_core_interlocked_l1_1_0
915 enable_api_ms_win_core_interlocked_l1_2_0
916 enable_api_ms_win_core_io_l1_1_0
917 enable_api_ms_win_core_io_l1_1_1
918 enable_api_ms_win_core_job_l1_1_0
919 enable_api_ms_win_core_job_l2_1_0
920 enable_api_ms_win_core_kernel32_legacy_l1_1_0
921 enable_api_ms_win_core_kernel32_legacy_l1_1_1
922 enable_api_ms_win_core_kernel32_private_l1_1_1
923 enable_api_ms_win_core_libraryloader_l1_1_0
924 enable_api_ms_win_core_libraryloader_l1_1_1
925 enable_api_ms_win_core_libraryloader_l1_2_0
926 enable_api_ms_win_core_libraryloader_l1_2_2
927 enable_api_ms_win_core_localization_l1_1_0
928 enable_api_ms_win_core_localization_l1_2_0
929 enable_api_ms_win_core_localization_l1_2_1
930 enable_api_ms_win_core_localization_l2_1_0
931 enable_api_ms_win_core_localization_obsolete_l1_1_0
932 enable_api_ms_win_core_localization_obsolete_l1_2_0
933 enable_api_ms_win_core_localization_private_l1_1_0
934 enable_api_ms_win_core_localregistry_l1_1_0
935 enable_api_ms_win_core_memory_l1_1_0
936 enable_api_ms_win_core_memory_l1_1_1
937 enable_api_ms_win_core_memory_l1_1_2
938 enable_api_ms_win_core_misc_l1_1_0
939 enable_api_ms_win_core_namedpipe_l1_1_0
940 enable_api_ms_win_core_namedpipe_l1_2_0
941 enable_api_ms_win_core_namespace_l1_1_0
942 enable_api_ms_win_core_normalization_l1_1_0
943 enable_api_ms_win_core_path_l1_1_0
944 enable_api_ms_win_core_privateprofile_l1_1_1
945 enable_api_ms_win_core_processenvironment_l1_1_0
946 enable_api_ms_win_core_processenvironment_l1_2_0
947 enable_api_ms_win_core_processthreads_l1_1_0
948 enable_api_ms_win_core_processthreads_l1_1_1
949 enable_api_ms_win_core_processthreads_l1_1_2
950 enable_api_ms_win_core_profile_l1_1_0
951 enable_api_ms_win_core_psapi_l1_1_0
952 enable_api_ms_win_core_psapi_obsolete_l1_1_0
953 enable_api_ms_win_core_quirks_l1_1_0
954 enable_api_ms_win_core_realtime_l1_1_0
955 enable_api_ms_win_core_registry_l1_1_0
956 enable_api_ms_win_core_registry_l2_1_0
957 enable_api_ms_win_core_registryuserspecific_l1_1_0
958 enable_api_ms_win_core_rtlsupport_l1_1_0
959 enable_api_ms_win_core_rtlsupport_l1_2_0
960 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
961 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
962 enable_api_ms_win_core_sidebyside_l1_1_0
963 enable_api_ms_win_core_string_l1_1_0
964 enable_api_ms_win_core_string_l2_1_0
965 enable_api_ms_win_core_string_obsolete_l1_1_0
966 enable_api_ms_win_core_stringansi_l1_1_0
967 enable_api_ms_win_core_synch_l1_1_0
968 enable_api_ms_win_core_synch_l1_2_0
969 enable_api_ms_win_core_sysinfo_l1_1_0
970 enable_api_ms_win_core_sysinfo_l1_2_0
971 enable_api_ms_win_core_sysinfo_l1_2_1
972 enable_api_ms_win_core_threadpool_l1_1_0
973 enable_api_ms_win_core_threadpool_l1_2_0
974 enable_api_ms_win_core_threadpool_legacy_l1_1_0
975 enable_api_ms_win_core_threadpool_private_l1_1_0
976 enable_api_ms_win_core_timezone_l1_1_0
977 enable_api_ms_win_core_toolhelp_l1_1_0
978 enable_api_ms_win_core_url_l1_1_0
979 enable_api_ms_win_core_util_l1_1_0
980 enable_api_ms_win_core_version_l1_1_0
981 enable_api_ms_win_core_version_private_l1_1_0
982 enable_api_ms_win_core_versionansi_l1_1_0
983 enable_api_ms_win_core_windowserrorreporting_l1_1_0
984 enable_api_ms_win_core_winrt_error_l1_1_0
985 enable_api_ms_win_core_winrt_error_l1_1_1
986 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
987 enable_api_ms_win_core_winrt_l1_1_0
988 enable_api_ms_win_core_winrt_registration_l1_1_0
989 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
990 enable_api_ms_win_core_winrt_string_l1_1_0
991 enable_api_ms_win_core_wow64_l1_1_0
992 enable_api_ms_win_core_xstate_l1_1_0
993 enable_api_ms_win_core_xstate_l2_1_0
994 enable_api_ms_win_crt_conio_l1_1_0
995 enable_api_ms_win_crt_convert_l1_1_0
996 enable_api_ms_win_crt_environment_l1_1_0
997 enable_api_ms_win_crt_filesystem_l1_1_0
998 enable_api_ms_win_crt_heap_l1_1_0
999 enable_api_ms_win_crt_locale_l1_1_0
1000 enable_api_ms_win_crt_math_l1_1_0
1001 enable_api_ms_win_crt_multibyte_l1_1_0
1002 enable_api_ms_win_crt_private_l1_1_0
1003 enable_api_ms_win_crt_process_l1_1_0
1004 enable_api_ms_win_crt_runtime_l1_1_0
1005 enable_api_ms_win_crt_stdio_l1_1_0
1006 enable_api_ms_win_crt_string_l1_1_0
1007 enable_api_ms_win_crt_time_l1_1_0
1008 enable_api_ms_win_crt_utility_l1_1_0
1009 enable_api_ms_win_devices_config_l1_1_1
1010 enable_api_ms_win_devices_query_l1_1_1
1011 enable_api_ms_win_downlevel_advapi32_l1_1_0
1012 enable_api_ms_win_downlevel_advapi32_l2_1_0
1013 enable_api_ms_win_downlevel_normaliz_l1_1_0
1014 enable_api_ms_win_downlevel_ole32_l1_1_0
1015 enable_api_ms_win_downlevel_shell32_l1_1_0
1016 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1017 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1018 enable_api_ms_win_downlevel_user32_l1_1_0
1019 enable_api_ms_win_downlevel_version_l1_1_0
1020 enable_api_ms_win_dx_d3dkmt_l1_1_0
1021 enable_api_ms_win_eventing_classicprovider_l1_1_0
1022 enable_api_ms_win_eventing_consumer_l1_1_0
1023 enable_api_ms_win_eventing_controller_l1_1_0
1024 enable_api_ms_win_eventing_provider_l1_1_0
1025 enable_api_ms_win_eventlog_legacy_l1_1_0
1026 enable_api_ms_win_mm_misc_l1_1_1
1027 enable_api_ms_win_mm_mme_l1_1_0
1028 enable_api_ms_win_ntuser_dc_access_l1_1_0
1029 enable_api_ms_win_power_base_l1_1_0
1030 enable_api_ms_win_power_setting_l1_1_0
1031 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1032 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1033 enable_api_ms_win_security_audit_l1_1_1
1034 enable_api_ms_win_security_base_l1_1_0
1035 enable_api_ms_win_security_base_l1_2_0
1036 enable_api_ms_win_security_base_private_l1_1_1
1037 enable_api_ms_win_security_credentials_l1_1_0
1038 enable_api_ms_win_security_grouppolicy_l1_1_0
1039 enable_api_ms_win_security_lsalookup_l1_1_0
1040 enable_api_ms_win_security_lsalookup_l1_1_1
1041 enable_api_ms_win_security_lsalookup_l2_1_1
1042 enable_api_ms_win_security_lsapolicy_l1_1_0
1043 enable_api_ms_win_security_sddl_l1_1_0
1044 enable_api_ms_win_security_systemfunctions_l1_1_0
1045 enable_api_ms_win_service_core_l1_1_0
1046 enable_api_ms_win_service_core_l1_1_1
1047 enable_api_ms_win_service_management_l1_1_0
1048 enable_api_ms_win_service_management_l2_1_0
1049 enable_api_ms_win_service_private_l1_1_1
1050 enable_api_ms_win_service_winsvc_l1_1_0
1051 enable_api_ms_win_service_winsvc_l1_2_0
1052 enable_api_ms_win_shell_shellcom_l1_1_0
1053 enable_api_ms_win_shell_shellfolders_l1_1_0
1054 enable_apphelp
1055 enable_appwiz_cpl
1056 enable_atl
1057 enable_atl100
1058 enable_atl110
1059 enable_atl80
1060 enable_atl90
1061 enable_authz
1062 enable_avicap32
1063 enable_avifil32
1064 enable_avrt
1065 enable_bcrypt
1066 enable_bluetoothapis
1067 enable_browseui
1068 enable_bthprops_cpl
1069 enable_cabinet
1070 enable_capi2032
1071 enable_cards
1072 enable_cfgmgr32
1073 enable_clusapi
1074 enable_combase
1075 enable_comcat
1076 enable_comctl32
1077 enable_comdlg32
1078 enable_compstui
1079 enable_comsvcs
1080 enable_concrt140
1081 enable_connect
1082 enable_credui
1083 enable_crtdll
1084 enable_crypt32
1085 enable_cryptdlg
1086 enable_cryptdll
1087 enable_cryptext
1088 enable_cryptnet
1089 enable_cryptui
1090 enable_ctapi32
1091 enable_ctl3d32
1092 enable_d2d1
1093 enable_d3d10
1094 enable_d3d10_1
1095 enable_d3d10core
1096 enable_d3d11
1097 enable_d3d8
1098 enable_d3d9
1099 enable_d3dcompiler_33
1100 enable_d3dcompiler_34
1101 enable_d3dcompiler_35
1102 enable_d3dcompiler_36
1103 enable_d3dcompiler_37
1104 enable_d3dcompiler_38
1105 enable_d3dcompiler_39
1106 enable_d3dcompiler_40
1107 enable_d3dcompiler_41
1108 enable_d3dcompiler_42
1109 enable_d3dcompiler_43
1110 enable_d3dcompiler_46
1111 enable_d3dcompiler_47
1112 enable_d3dim
1113 enable_d3drm
1114 enable_d3dx10_33
1115 enable_d3dx10_34
1116 enable_d3dx10_35
1117 enable_d3dx10_36
1118 enable_d3dx10_37
1119 enable_d3dx10_38
1120 enable_d3dx10_39
1121 enable_d3dx10_40
1122 enable_d3dx10_41
1123 enable_d3dx10_42
1124 enable_d3dx10_43
1125 enable_d3dx11_42
1126 enable_d3dx11_43
1127 enable_d3dx9_24
1128 enable_d3dx9_25
1129 enable_d3dx9_26
1130 enable_d3dx9_27
1131 enable_d3dx9_28
1132 enable_d3dx9_29
1133 enable_d3dx9_30
1134 enable_d3dx9_31
1135 enable_d3dx9_32
1136 enable_d3dx9_33
1137 enable_d3dx9_34
1138 enable_d3dx9_35
1139 enable_d3dx9_36
1140 enable_d3dx9_37
1141 enable_d3dx9_38
1142 enable_d3dx9_39
1143 enable_d3dx9_40
1144 enable_d3dx9_41
1145 enable_d3dx9_42
1146 enable_d3dx9_43
1147 enable_d3dxof
1148 enable_davclnt
1149 enable_dbgeng
1150 enable_dbghelp
1151 enable_dciman32
1152 enable_ddraw
1153 enable_ddrawex
1154 enable_devenum
1155 enable_dhcpcsvc
1156 enable_difxapi
1157 enable_dinput
1158 enable_dinput8
1159 enable_dispex
1160 enable_dmband
1161 enable_dmcompos
1162 enable_dmime
1163 enable_dmloader
1164 enable_dmscript
1165 enable_dmstyle
1166 enable_dmsynth
1167 enable_dmusic
1168 enable_dmusic32
1169 enable_dnsapi
1170 enable_dplay
1171 enable_dplayx
1172 enable_dpnaddr
1173 enable_dpnet
1174 enable_dpnhpast
1175 enable_dpnlobby
1176 enable_dpvoice
1177 enable_dpwsockx
1178 enable_drmclien
1179 enable_dsound
1180 enable_dssenh
1181 enable_dswave
1182 enable_dwmapi
1183 enable_dwrite
1184 enable_dxdiagn
1185 enable_dxgi
1186 enable_dxva2
1187 enable_esent
1188 enable_evr
1189 enable_explorerframe
1190 enable_ext_ms_win_authz_context_l1_1_0
1191 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1192 enable_ext_ms_win_gdi_dc_create_l1_1_1
1193 enable_ext_ms_win_gdi_dc_l1_2_0
1194 enable_ext_ms_win_gdi_devcaps_l1_1_0
1195 enable_ext_ms_win_gdi_draw_l1_1_1
1196 enable_ext_ms_win_gdi_render_l1_1_0
1197 enable_ext_ms_win_kernel32_package_current_l1_1_0
1198 enable_ext_ms_win_ntuser_message_l1_1_1
1199 enable_ext_ms_win_ntuser_private_l1_1_1
1200 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1201 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1202 enable_ext_ms_win_ntuser_window_l1_1_1
1203 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1204 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1205 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1206 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1207 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1208 enable_faultrep
1209 enable_fltlib
1210 enable_fltmgr_sys
1211 enable_fntcache
1212 enable_fontsub
1213 enable_fusion
1214 enable_fwpuclnt
1215 enable_gameux
1216 enable_gdi32
1217 enable_gdiplus
1218 enable_glu32
1219 enable_gphoto2_ds
1220 enable_gpkcsp
1221 enable_hal
1222 enable_hhctrl_ocx
1223 enable_hid
1224 enable_hidclass_sys
1225 enable_hlink
1226 enable_hnetcfg
1227 enable_httpapi
1228 enable_iccvid
1229 enable_icmp
1230 enable_ieframe
1231 enable_imaadp32_acm
1232 enable_imagehlp
1233 enable_imm32
1234 enable_inetcomm
1235 enable_inetcpl_cpl
1236 enable_inetmib1
1237 enable_infosoft
1238 enable_initpki
1239 enable_inkobj
1240 enable_inseng
1241 enable_iphlpapi
1242 enable_iprop
1243 enable_irprops_cpl
1244 enable_itircl
1245 enable_itss
1246 enable_joy_cpl
1247 enable_jscript
1248 enable_jsproxy
1249 enable_kernel32
1250 enable_kernelbase
1251 enable_ksuser
1252 enable_ktmw32
1253 enable_loadperf
1254 enable_localspl
1255 enable_localui
1256 enable_lz32
1257 enable_mapi32
1258 enable_mapistub
1259 enable_mciavi32
1260 enable_mcicda
1261 enable_mciqtz32
1262 enable_mciseq
1263 enable_mciwave
1264 enable_mf
1265 enable_mf3216
1266 enable_mfplat
1267 enable_mfreadwrite
1268 enable_mgmtapi
1269 enable_midimap
1270 enable_mlang
1271 enable_mmcndmgr
1272 enable_mmdevapi
1273 enable_mountmgr_sys
1274 enable_mpr
1275 enable_mprapi
1276 enable_msacm32_drv
1277 enable_msacm32
1278 enable_msadp32_acm
1279 enable_msasn1
1280 enable_mscat32
1281 enable_mscms
1282 enable_mscoree
1283 enable_msctf
1284 enable_msctfp
1285 enable_msdaps
1286 enable_msdelta
1287 enable_msdmo
1288 enable_msdrm
1289 enable_msftedit
1290 enable_msg711_acm
1291 enable_msgsm32_acm
1292 enable_mshtml_tlb
1293 enable_mshtml
1294 enable_msi
1295 enable_msident
1296 enable_msimg32
1297 enable_msimsg
1298 enable_msimtf
1299 enable_msisip
1300 enable_msisys_ocx
1301 enable_msls31
1302 enable_msnet32
1303 enable_mspatcha
1304 enable_msports
1305 enable_msrle32
1306 enable_msscript_ocx
1307 enable_mssign32
1308 enable_mssip32
1309 enable_mstask
1310 enable_msvcirt
1311 enable_msvcm80
1312 enable_msvcm90
1313 enable_msvcp100
1314 enable_msvcp110
1315 enable_msvcp120
1316 enable_msvcp120_app
1317 enable_msvcp140
1318 enable_msvcp60
1319 enable_msvcp70
1320 enable_msvcp71
1321 enable_msvcp80
1322 enable_msvcp90
1323 enable_msvcr100
1324 enable_msvcr110
1325 enable_msvcr120
1326 enable_msvcr120_app
1327 enable_msvcr70
1328 enable_msvcr71
1329 enable_msvcr80
1330 enable_msvcr90
1331 enable_msvcrt
1332 enable_msvcrt20
1333 enable_msvcrt40
1334 enable_msvcrtd
1335 enable_msvfw32
1336 enable_msvidc32
1337 enable_mswsock
1338 enable_msxml
1339 enable_msxml2
1340 enable_msxml3
1341 enable_msxml4
1342 enable_msxml6
1343 enable_mtxdm
1344 enable_ncrypt
1345 enable_nddeapi
1346 enable_ndis_sys
1347 enable_netapi32
1348 enable_netcfgx
1349 enable_netprofm
1350 enable_newdev
1351 enable_normaliz
1352 enable_npmshtml
1353 enable_npptools
1354 enable_ntdll
1355 enable_ntdsapi
1356 enable_ntoskrnl_exe
1357 enable_ntprint
1358 enable_objsel
1359 enable_odbc32
1360 enable_odbccp32
1361 enable_odbccu32
1362 enable_ole32
1363 enable_oleacc
1364 enable_oleaut32
1365 enable_olecli32
1366 enable_oledb32
1367 enable_oledlg
1368 enable_olepro32
1369 enable_olesvr32
1370 enable_olethk32
1371 enable_openal32
1372 enable_opencl
1373 enable_opengl32
1374 enable_packager
1375 enable_pdh
1376 enable_photometadatahandler
1377 enable_pidgen
1378 enable_powrprof
1379 enable_printui
1380 enable_prntvpt
1381 enable_propsys
1382 enable_psapi
1383 enable_pstorec
1384 enable_qcap
1385 enable_qedit
1386 enable_qmgr
1387 enable_qmgrprxy
1388 enable_quartz
1389 enable_query
1390 enable_rasapi32
1391 enable_rasdlg
1392 enable_regapi
1393 enable_resutils
1394 enable_riched20
1395 enable_riched32
1396 enable_rpcrt4
1397 enable_rsabase
1398 enable_rsaenh
1399 enable_rstrtmgr
1400 enable_rtutils
1401 enable_samlib
1402 enable_sane_ds
1403 enable_scarddlg
1404 enable_sccbase
1405 enable_schannel
1406 enable_schedsvc
1407 enable_scrobj
1408 enable_scrrun
1409 enable_scsiport_sys
1410 enable_secur32
1411 enable_security
1412 enable_sensapi
1413 enable_serialui
1414 enable_setupapi
1415 enable_sfc
1416 enable_sfc_os
1417 enable_shdoclc
1418 enable_shdocvw
1419 enable_shell32
1420 enable_shfolder
1421 enable_shlwapi
1422 enable_slbcsp
1423 enable_slc
1424 enable_snmpapi
1425 enable_softpub
1426 enable_spoolss
1427 enable_sspicli
1428 enable_stdole2_tlb
1429 enable_stdole32_tlb
1430 enable_sti
1431 enable_svrapi
1432 enable_sxs
1433 enable_t2embed
1434 enable_tapi32
1435 enable_taskschd
1436 enable_tdh
1437 enable_tdi_sys
1438 enable_traffic
1439 enable_twain_32
1440 enable_ucrtbase
1441 enable_uiautomationcore
1442 enable_unicows
1443 enable_updspapi
1444 enable_url
1445 enable_urlmon
1446 enable_usbd_sys
1447 enable_user32
1448 enable_userenv
1449 enable_usp10
1450 enable_uxtheme
1451 enable_vbscript
1452 enable_vcomp
1453 enable_vcomp100
1454 enable_vcomp110
1455 enable_vcomp120
1456 enable_vcomp140
1457 enable_vcomp90
1458 enable_vcruntime140
1459 enable_vdmdbg
1460 enable_version
1461 enable_virtdisk
1462 enable_vssapi
1463 enable_wbemdisp
1464 enable_wbemprox
1465 enable_webservices
1466 enable_wer
1467 enable_wevtapi
1468 enable_wiaservc
1469 enable_wimgapi
1470 enable_windowscodecs
1471 enable_windowscodecsext
1472 enable_winealsa_drv
1473 enable_wineandroid_drv
1474 enable_winebus_sys
1475 enable_winecoreaudio_drv
1476 enable_wined3d
1477 enable_winegstreamer
1478 enable_winehid_sys
1479 enable_winejoystick_drv
1480 enable_winemac_drv
1481 enable_winemapi
1482 enable_winemp3_acm
1483 enable_wineoss_drv
1484 enable_wineps_drv
1485 enable_winepulse_drv
1486 enable_wineqtdecoder
1487 enable_winex11_drv
1488 enable_wing32
1489 enable_winhttp
1490 enable_wininet
1491 enable_winmm
1492 enable_winnls32
1493 enable_winscard
1494 enable_winspool_drv
1495 enable_winsta
1496 enable_wintab32
1497 enable_wintrust
1498 enable_winusb
1499 enable_wlanapi
1500 enable_wldap32
1501 enable_wmasf
1502 enable_wmi
1503 enable_wmiutils
1504 enable_wmp
1505 enable_wmvcore
1506 enable_wnaspi32
1507 enable_wpc
1508 enable_wpcap
1509 enable_ws2_32
1510 enable_wsdapi
1511 enable_wshom_ocx
1512 enable_wsnmp32
1513 enable_wsock32
1514 enable_wtsapi32
1515 enable_wuapi
1516 enable_wuaueng
1517 enable_x3daudio1_0
1518 enable_x3daudio1_1
1519 enable_x3daudio1_2
1520 enable_x3daudio1_3
1521 enable_x3daudio1_4
1522 enable_x3daudio1_5
1523 enable_x3daudio1_6
1524 enable_x3daudio1_7
1525 enable_xapofx1_1
1526 enable_xapofx1_2
1527 enable_xapofx1_3
1528 enable_xapofx1_4
1529 enable_xapofx1_5
1530 enable_xaudio2_0
1531 enable_xaudio2_1
1532 enable_xaudio2_2
1533 enable_xaudio2_3
1534 enable_xaudio2_4
1535 enable_xaudio2_5
1536 enable_xaudio2_6
1537 enable_xaudio2_7
1538 enable_xaudio2_8
1539 enable_xaudio2_9
1540 enable_xinput1_1
1541 enable_xinput1_2
1542 enable_xinput1_3
1543 enable_xinput1_4
1544 enable_xinput9_1_0
1545 enable_xmllite
1546 enable_xolehlp
1547 enable_xpsprint
1548 enable_xpssvcs
1549 enable_fonts
1550 enable_include
1551 enable_libs_port
1552 enable_libs_wine
1553 enable_libs_wpp
1554 enable_loader
1555 enable_po
1556 enable_arp
1557 enable_aspnet_regiis
1558 enable_attrib
1559 enable_cabarc
1560 enable_cacls
1561 enable_clock
1562 enable_cmd
1563 enable_conhost
1564 enable_control
1565 enable_cscript
1566 enable_dpnsvr
1567 enable_dxdiag
1568 enable_eject
1569 enable_expand
1570 enable_explorer
1571 enable_extrac32
1572 enable_findstr
1573 enable_fsutil
1574 enable_hh
1575 enable_hostname
1576 enable_icacls
1577 enable_icinfo
1578 enable_iexplore
1579 enable_ipconfig
1580 enable_lodctr
1581 enable_mofcomp
1582 enable_mshta
1583 enable_msiexec
1584 enable_msinfo32
1585 enable_net
1586 enable_netsh
1587 enable_netstat
1588 enable_ngen
1589 enable_notepad
1590 enable_oleview
1591 enable_ping
1592 enable_plugplay
1593 enable_presentationfontcache
1594 enable_progman
1595 enable_reg
1596 enable_regasm
1597 enable_regedit
1598 enable_regsvcs
1599 enable_regsvr32
1600 enable_rpcss
1601 enable_rundll32
1602 enable_sc
1603 enable_schtasks
1604 enable_sdbinst
1605 enable_secedit
1606 enable_servicemodelreg
1607 enable_services
1608 enable_shutdown
1609 enable_spoolsv
1610 enable_start
1611 enable_subst
1612 enable_svchost
1613 enable_systeminfo
1614 enable_taskkill
1615 enable_tasklist
1616 enable_taskmgr
1617 enable_termsv
1618 enable_uninstaller
1619 enable_unlodctr
1620 enable_view
1621 enable_wevtutil
1622 enable_wineboot
1623 enable_winebrowser
1624 enable_winecfg
1625 enable_wineconsole
1626 enable_winedbg
1627 enable_winedevice
1628 enable_winefile
1629 enable_winemenubuilder
1630 enable_winemine
1631 enable_winemsibuilder
1632 enable_winepath
1633 enable_winetest
1634 enable_winhlp32
1635 enable_winver
1636 enable_wmic
1637 enable_wmplayer
1638 enable_wordpad
1639 enable_write
1640 enable_wscript
1641 enable_wusa
1642 enable_xcopy
1643 enable_server
1644 enable_tools
1646 ac_precious_vars='build_alias
1647 host_alias
1648 target_alias
1650 CFLAGS
1651 LDFLAGS
1652 LIBS
1653 CPPFLAGS
1655 CXXFLAGS
1658 XMKMF
1659 XML2_CFLAGS
1660 XML2_LIBS
1661 XSLT_CFLAGS
1662 XSLT_LIBS
1663 DBUS_CFLAGS
1664 DBUS_LIBS
1665 HAL_CFLAGS
1666 HAL_LIBS
1667 GNUTLS_CFLAGS
1668 GNUTLS_LIBS
1669 SANE_CFLAGS
1670 SANE_LIBS
1671 GPHOTO2_CFLAGS
1672 GPHOTO2_LIBS
1673 GPHOTO2_PORT_CFLAGS
1674 GPHOTO2_PORT_LIBS
1675 LCMS2_CFLAGS
1676 LCMS2_LIBS
1677 FREETYPE_CFLAGS
1678 FREETYPE_LIBS
1679 PULSE_CFLAGS
1680 PULSE_LIBS
1681 GSTREAMER_CFLAGS
1682 GSTREAMER_LIBS
1683 UDEV_CFLAGS
1684 UDEV_LIBS
1685 CAPI20_CFLAGS
1686 CAPI20_LIBS
1687 FONTCONFIG_CFLAGS
1688 FONTCONFIG_LIBS
1689 JPEG_CFLAGS
1690 JPEG_LIBS
1691 PNG_CFLAGS
1692 PNG_LIBS
1693 TIFF_CFLAGS
1694 TIFF_LIBS
1695 MPG123_CFLAGS
1696 MPG123_LIBS
1697 NETAPI_CFLAGS
1698 NETAPI_LIBS'
1701 # Initialize some variables set by options.
1702 ac_init_help=
1703 ac_init_version=false
1704 ac_unrecognized_opts=
1705 ac_unrecognized_sep=
1706 # The variables have the same names as the options, with
1707 # dashes changed to underlines.
1708 cache_file=/dev/null
1709 exec_prefix=NONE
1710 no_create=
1711 no_recursion=
1712 prefix=NONE
1713 program_prefix=NONE
1714 program_suffix=NONE
1715 program_transform_name=s,x,x,
1716 silent=
1717 site=
1718 srcdir=
1719 verbose=
1720 x_includes=NONE
1721 x_libraries=NONE
1723 # Installation directory options.
1724 # These are left unexpanded so users can "make install exec_prefix=/foo"
1725 # and all the variables that are supposed to be based on exec_prefix
1726 # by default will actually change.
1727 # Use braces instead of parens because sh, perl, etc. also accept them.
1728 # (The list follows the same order as the GNU Coding Standards.)
1729 bindir='${exec_prefix}/bin'
1730 sbindir='${exec_prefix}/sbin'
1731 libexecdir='${exec_prefix}/libexec'
1732 datarootdir='${prefix}/share'
1733 datadir='${datarootdir}'
1734 sysconfdir='${prefix}/etc'
1735 sharedstatedir='${prefix}/com'
1736 localstatedir='${prefix}/var'
1737 runstatedir='${localstatedir}/run'
1738 includedir='${prefix}/include'
1739 oldincludedir='/usr/include'
1740 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1741 infodir='${datarootdir}/info'
1742 htmldir='${docdir}'
1743 dvidir='${docdir}'
1744 pdfdir='${docdir}'
1745 psdir='${docdir}'
1746 libdir='${exec_prefix}/lib'
1747 localedir='${datarootdir}/locale'
1748 mandir='${datarootdir}/man'
1750 ac_prev=
1751 ac_dashdash=
1752 for ac_option
1754 # If the previous option needs an argument, assign it.
1755 if test -n "$ac_prev"; then
1756 eval $ac_prev=\$ac_option
1757 ac_prev=
1758 continue
1761 case $ac_option in
1762 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1763 *=) ac_optarg= ;;
1764 *) ac_optarg=yes ;;
1765 esac
1767 # Accept the important Cygnus configure options, so we can diagnose typos.
1769 case $ac_dashdash$ac_option in
1771 ac_dashdash=yes ;;
1773 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1774 ac_prev=bindir ;;
1775 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1776 bindir=$ac_optarg ;;
1778 -build | --build | --buil | --bui | --bu)
1779 ac_prev=build_alias ;;
1780 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1781 build_alias=$ac_optarg ;;
1783 -cache-file | --cache-file | --cache-fil | --cache-fi \
1784 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1785 ac_prev=cache_file ;;
1786 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1787 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1788 cache_file=$ac_optarg ;;
1790 --config-cache | -C)
1791 cache_file=config.cache ;;
1793 -datadir | --datadir | --datadi | --datad)
1794 ac_prev=datadir ;;
1795 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1796 datadir=$ac_optarg ;;
1798 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1799 | --dataroo | --dataro | --datar)
1800 ac_prev=datarootdir ;;
1801 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1802 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1803 datarootdir=$ac_optarg ;;
1805 -disable-* | --disable-*)
1806 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1807 # Reject names that are not valid shell variable names.
1808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1809 as_fn_error $? "invalid feature name: $ac_useropt"
1810 ac_useropt_orig=$ac_useropt
1811 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1812 case $ac_user_opts in
1814 "enable_$ac_useropt"
1815 "*) ;;
1816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1817 ac_unrecognized_sep=', ';;
1818 esac
1819 eval enable_$ac_useropt=no ;;
1821 -docdir | --docdir | --docdi | --doc | --do)
1822 ac_prev=docdir ;;
1823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1824 docdir=$ac_optarg ;;
1826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1827 ac_prev=dvidir ;;
1828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1829 dvidir=$ac_optarg ;;
1831 -enable-* | --enable-*)
1832 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1833 # Reject names that are not valid shell variable names.
1834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1835 as_fn_error $? "invalid feature name: $ac_useropt"
1836 ac_useropt_orig=$ac_useropt
1837 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1838 case $ac_user_opts in
1840 "enable_$ac_useropt"
1841 "*) ;;
1842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1843 ac_unrecognized_sep=', ';;
1844 esac
1845 eval enable_$ac_useropt=\$ac_optarg ;;
1847 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1848 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1849 | --exec | --exe | --ex)
1850 ac_prev=exec_prefix ;;
1851 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1852 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1853 | --exec=* | --exe=* | --ex=*)
1854 exec_prefix=$ac_optarg ;;
1856 -gas | --gas | --ga | --g)
1857 # Obsolete; use --with-gas.
1858 with_gas=yes ;;
1860 -help | --help | --hel | --he | -h)
1861 ac_init_help=long ;;
1862 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1863 ac_init_help=recursive ;;
1864 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1865 ac_init_help=short ;;
1867 -host | --host | --hos | --ho)
1868 ac_prev=host_alias ;;
1869 -host=* | --host=* | --hos=* | --ho=*)
1870 host_alias=$ac_optarg ;;
1872 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1873 ac_prev=htmldir ;;
1874 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1875 | --ht=*)
1876 htmldir=$ac_optarg ;;
1878 -includedir | --includedir | --includedi | --included | --include \
1879 | --includ | --inclu | --incl | --inc)
1880 ac_prev=includedir ;;
1881 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1882 | --includ=* | --inclu=* | --incl=* | --inc=*)
1883 includedir=$ac_optarg ;;
1885 -infodir | --infodir | --infodi | --infod | --info | --inf)
1886 ac_prev=infodir ;;
1887 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1888 infodir=$ac_optarg ;;
1890 -libdir | --libdir | --libdi | --libd)
1891 ac_prev=libdir ;;
1892 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1893 libdir=$ac_optarg ;;
1895 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1896 | --libexe | --libex | --libe)
1897 ac_prev=libexecdir ;;
1898 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1899 | --libexe=* | --libex=* | --libe=*)
1900 libexecdir=$ac_optarg ;;
1902 -localedir | --localedir | --localedi | --localed | --locale)
1903 ac_prev=localedir ;;
1904 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1905 localedir=$ac_optarg ;;
1907 -localstatedir | --localstatedir | --localstatedi | --localstated \
1908 | --localstate | --localstat | --localsta | --localst | --locals)
1909 ac_prev=localstatedir ;;
1910 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1911 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1912 localstatedir=$ac_optarg ;;
1914 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1915 ac_prev=mandir ;;
1916 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1917 mandir=$ac_optarg ;;
1919 -nfp | --nfp | --nf)
1920 # Obsolete; use --without-fp.
1921 with_fp=no ;;
1923 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1924 | --no-cr | --no-c | -n)
1925 no_create=yes ;;
1927 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1928 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1929 no_recursion=yes ;;
1931 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1932 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1933 | --oldin | --oldi | --old | --ol | --o)
1934 ac_prev=oldincludedir ;;
1935 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1936 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1937 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1938 oldincludedir=$ac_optarg ;;
1940 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1941 ac_prev=prefix ;;
1942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1943 prefix=$ac_optarg ;;
1945 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1946 | --program-pre | --program-pr | --program-p)
1947 ac_prev=program_prefix ;;
1948 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1949 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1950 program_prefix=$ac_optarg ;;
1952 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1953 | --program-suf | --program-su | --program-s)
1954 ac_prev=program_suffix ;;
1955 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1956 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1957 program_suffix=$ac_optarg ;;
1959 -program-transform-name | --program-transform-name \
1960 | --program-transform-nam | --program-transform-na \
1961 | --program-transform-n | --program-transform- \
1962 | --program-transform | --program-transfor \
1963 | --program-transfo | --program-transf \
1964 | --program-trans | --program-tran \
1965 | --progr-tra | --program-tr | --program-t)
1966 ac_prev=program_transform_name ;;
1967 -program-transform-name=* | --program-transform-name=* \
1968 | --program-transform-nam=* | --program-transform-na=* \
1969 | --program-transform-n=* | --program-transform-=* \
1970 | --program-transform=* | --program-transfor=* \
1971 | --program-transfo=* | --program-transf=* \
1972 | --program-trans=* | --program-tran=* \
1973 | --progr-tra=* | --program-tr=* | --program-t=*)
1974 program_transform_name=$ac_optarg ;;
1976 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1977 ac_prev=pdfdir ;;
1978 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1979 pdfdir=$ac_optarg ;;
1981 -psdir | --psdir | --psdi | --psd | --ps)
1982 ac_prev=psdir ;;
1983 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1984 psdir=$ac_optarg ;;
1986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1987 | -silent | --silent | --silen | --sile | --sil)
1988 silent=yes ;;
1990 -runstatedir | --runstatedir | --runstatedi | --runstated \
1991 | --runstate | --runstat | --runsta | --runst | --runs \
1992 | --run | --ru | --r)
1993 ac_prev=runstatedir ;;
1994 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1995 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1996 | --run=* | --ru=* | --r=*)
1997 runstatedir=$ac_optarg ;;
1999 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2000 ac_prev=sbindir ;;
2001 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2002 | --sbi=* | --sb=*)
2003 sbindir=$ac_optarg ;;
2005 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2006 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2007 | --sharedst | --shareds | --shared | --share | --shar \
2008 | --sha | --sh)
2009 ac_prev=sharedstatedir ;;
2010 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2011 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2012 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2013 | --sha=* | --sh=*)
2014 sharedstatedir=$ac_optarg ;;
2016 -site | --site | --sit)
2017 ac_prev=site ;;
2018 -site=* | --site=* | --sit=*)
2019 site=$ac_optarg ;;
2021 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2022 ac_prev=srcdir ;;
2023 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2024 srcdir=$ac_optarg ;;
2026 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2027 | --syscon | --sysco | --sysc | --sys | --sy)
2028 ac_prev=sysconfdir ;;
2029 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2030 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2031 sysconfdir=$ac_optarg ;;
2033 -target | --target | --targe | --targ | --tar | --ta | --t)
2034 ac_prev=target_alias ;;
2035 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2036 target_alias=$ac_optarg ;;
2038 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2039 verbose=yes ;;
2041 -version | --version | --versio | --versi | --vers | -V)
2042 ac_init_version=: ;;
2044 -with-* | --with-*)
2045 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2046 # Reject names that are not valid shell variable names.
2047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2048 as_fn_error $? "invalid package name: $ac_useropt"
2049 ac_useropt_orig=$ac_useropt
2050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2051 case $ac_user_opts in
2053 "with_$ac_useropt"
2054 "*) ;;
2055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2056 ac_unrecognized_sep=', ';;
2057 esac
2058 eval with_$ac_useropt=\$ac_optarg ;;
2060 -without-* | --without-*)
2061 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2062 # Reject names that are not valid shell variable names.
2063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2064 as_fn_error $? "invalid package name: $ac_useropt"
2065 ac_useropt_orig=$ac_useropt
2066 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2067 case $ac_user_opts in
2069 "with_$ac_useropt"
2070 "*) ;;
2071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2072 ac_unrecognized_sep=', ';;
2073 esac
2074 eval with_$ac_useropt=no ;;
2076 --x)
2077 # Obsolete; use --with-x.
2078 with_x=yes ;;
2080 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2081 | --x-incl | --x-inc | --x-in | --x-i)
2082 ac_prev=x_includes ;;
2083 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2084 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2085 x_includes=$ac_optarg ;;
2087 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2088 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2089 ac_prev=x_libraries ;;
2090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2092 x_libraries=$ac_optarg ;;
2094 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2095 Try \`$0 --help' for more information"
2098 *=*)
2099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2100 # Reject names that are not valid shell variable names.
2101 case $ac_envvar in #(
2102 '' | [0-9]* | *[!_$as_cr_alnum]* )
2103 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2104 esac
2105 eval $ac_envvar=\$ac_optarg
2106 export $ac_envvar ;;
2109 # FIXME: should be removed in autoconf 3.0.
2110 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2112 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2113 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2116 esac
2117 done
2119 if test -n "$ac_prev"; then
2120 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2121 as_fn_error $? "missing argument to $ac_option"
2124 if test -n "$ac_unrecognized_opts"; then
2125 case $enable_option_checking in
2126 no) ;;
2127 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2128 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2129 esac
2132 # Check all directory arguments for consistency.
2133 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2134 datadir sysconfdir sharedstatedir localstatedir includedir \
2135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2136 libdir localedir mandir runstatedir
2138 eval ac_val=\$$ac_var
2139 # Remove trailing slashes.
2140 case $ac_val in
2141 */ )
2142 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2143 eval $ac_var=\$ac_val;;
2144 esac
2145 # Be sure to have absolute directory names.
2146 case $ac_val in
2147 [\\/$]* | ?:[\\/]* ) continue;;
2148 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2149 esac
2150 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2151 done
2153 # There might be people who depend on the old broken behavior: `$host'
2154 # used to hold the argument of --host etc.
2155 # FIXME: To remove some day.
2156 build=$build_alias
2157 host=$host_alias
2158 target=$target_alias
2160 # FIXME: To remove some day.
2161 if test "x$host_alias" != x; then
2162 if test "x$build_alias" = x; then
2163 cross_compiling=maybe
2164 elif test "x$build_alias" != "x$host_alias"; then
2165 cross_compiling=yes
2169 ac_tool_prefix=
2170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2172 test "$silent" = yes && exec 6>/dev/null
2175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2176 ac_ls_di=`ls -di .` &&
2177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2178 as_fn_error $? "working directory cannot be determined"
2179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2180 as_fn_error $? "pwd does not report name of working directory"
2183 # Find the source files, if location was not specified.
2184 if test -z "$srcdir"; then
2185 ac_srcdir_defaulted=yes
2186 # Try the directory containing this script, then the parent directory.
2187 ac_confdir=`$as_dirname -- "$as_myself" ||
2188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2189 X"$as_myself" : 'X\(//\)[^/]' \| \
2190 X"$as_myself" : 'X\(//\)$' \| \
2191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2192 $as_echo X"$as_myself" |
2193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2194 s//\1/
2197 /^X\(\/\/\)[^/].*/{
2198 s//\1/
2201 /^X\(\/\/\)$/{
2202 s//\1/
2205 /^X\(\/\).*/{
2206 s//\1/
2209 s/.*/./; q'`
2210 srcdir=$ac_confdir
2211 if test ! -r "$srcdir/$ac_unique_file"; then
2212 srcdir=..
2214 else
2215 ac_srcdir_defaulted=no
2217 if test ! -r "$srcdir/$ac_unique_file"; then
2218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2222 ac_abs_confdir=`(
2223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2224 pwd)`
2225 # When building in place, set srcdir=.
2226 if test "$ac_abs_confdir" = "$ac_pwd"; then
2227 srcdir=.
2229 # Remove unnecessary trailing slashes from srcdir.
2230 # Double slashes in file names in object file debugging info
2231 # mess up M-x gdb in Emacs.
2232 case $srcdir in
2233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2234 esac
2235 for ac_var in $ac_precious_vars; do
2236 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2237 eval ac_env_${ac_var}_value=\$${ac_var}
2238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2239 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2240 done
2243 # Report the --help message.
2245 if test "$ac_init_help" = "long"; then
2246 # Omit some internal or obsolete options to make the list less imposing.
2247 # This message is too long to be a string in the A/UX 3.1 sh.
2248 cat <<_ACEOF
2249 \`configure' configures Wine 2.10 to adapt to many kinds of systems.
2251 Usage: $0 [OPTION]... [VAR=VALUE]...
2253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2254 VAR=VALUE. See below for descriptions of some of the useful variables.
2256 Defaults for the options are specified in brackets.
2258 Configuration:
2259 -h, --help display this help and exit
2260 --help=short display options specific to this package
2261 --help=recursive display the short help of all the included packages
2262 -V, --version display version information and exit
2263 -q, --quiet, --silent do not print \`checking ...' messages
2264 --cache-file=FILE cache test results in FILE [disabled]
2265 -C, --config-cache alias for \`--cache-file=config.cache'
2266 -n, --no-create do not create output files
2267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2269 Installation directories:
2270 --prefix=PREFIX install architecture-independent files in PREFIX
2271 [$ac_default_prefix]
2272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2273 [PREFIX]
2275 By default, \`make install' will install all the files in
2276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2278 for instance \`--prefix=\$HOME'.
2280 For better control, use the options below.
2282 Fine tuning of the installation directories:
2283 --bindir=DIR user executables [EPREFIX/bin]
2284 --sbindir=DIR system admin executables [EPREFIX/sbin]
2285 --libexecdir=DIR program executables [EPREFIX/libexec]
2286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2289 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2290 --libdir=DIR object code libraries [EPREFIX/lib]
2291 --includedir=DIR C header files [PREFIX/include]
2292 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2295 --infodir=DIR info documentation [DATAROOTDIR/info]
2296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2297 --mandir=DIR man documentation [DATAROOTDIR/man]
2298 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2299 --htmldir=DIR html documentation [DOCDIR]
2300 --dvidir=DIR dvi documentation [DOCDIR]
2301 --pdfdir=DIR pdf documentation [DOCDIR]
2302 --psdir=DIR ps documentation [DOCDIR]
2303 _ACEOF
2305 cat <<\_ACEOF
2307 X features:
2308 --x-includes=DIR X include files are in DIR
2309 --x-libraries=DIR X library files are in DIR
2311 System types:
2312 --build=BUILD configure for building on BUILD [guessed]
2313 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2314 _ACEOF
2317 if test -n "$ac_init_help"; then
2318 case $ac_init_help in
2319 short | recursive ) echo "Configuration of Wine 2.10:";;
2320 esac
2321 cat <<\_ACEOF
2323 Optional Features:
2324 --disable-option-checking ignore unrecognized --enable/--with options
2325 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2326 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2327 --disable-win16 do not include Win16 support
2328 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2329 binaries)
2330 --disable-tests do not build the regression tests
2331 --enable-maintainer-mode
2332 enable maintainer-specific build rules
2333 --disable-largefile omit support for large files
2335 Optional Packages:
2336 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2337 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2338 --without-alsa do not use the Alsa sound support
2339 --without-capi do not use CAPI (ISDN support)
2340 --without-cms do not use CMS (color management support)
2341 --without-coreaudio do not use the CoreAudio sound support
2342 --without-cups do not use CUPS
2343 --without-curses do not use (n)curses
2344 --without-dbus do not use DBus (dynamic device support)
2345 --without-fontconfig do not use fontconfig
2346 --without-freetype do not use the FreeType library
2347 --without-gettext do not use gettext
2348 --with-gettextpo use the GetTextPO library to rebuild po files
2349 --without-gphoto do not use gphoto (Digital Camera support)
2350 --without-glu do not use the GLU library
2351 --without-gnutls do not use GnuTLS (schannel support)
2352 --without-gsm do not use libgsm (GSM 06.10 codec support)
2353 --without-gstreamer do not use GStreamer (codecs support)
2354 --without-hal do not use HAL (dynamic device support)
2355 --without-jpeg do not use JPEG
2356 --without-ldap do not use LDAP
2357 --without-mpg123 do not use the mpg123 library
2358 --without-netapi do not use the Samba NetAPI library
2359 --without-openal do not use OpenAL
2360 --without-opencl do not use OpenCL
2361 --without-opengl do not use OpenGL
2362 --without-osmesa do not use the OSMesa library
2363 --without-oss do not use the OSS sound support
2364 --without-pcap do not use the Packet Capture library
2365 --without-png do not use PNG
2366 --without-pthread do not use the pthread library
2367 --without-pulse do not use PulseAudio sound support
2368 --without-sane do not use SANE (scanner support)
2369 --without-tiff do not use TIFF
2370 --without-udev do not use udev (plug and play support)
2371 --without-v4l do not use v4l1 (v4l support)
2372 --without-xcomposite do not use the Xcomposite extension
2373 --without-xcursor do not use the Xcursor extension
2374 --without-xfixes do not use Xfixes for clipboard change notifications
2375 --without-xinerama do not use Xinerama (multi-monitor support)
2376 --without-xinput do not use the Xinput extension
2377 --without-xinput2 do not use the Xinput 2 extension
2378 --without-xml do not use XML
2379 --without-xrandr do not use Xrandr (resolution changes)
2380 --without-xrender do not use the Xrender extension
2381 --without-xshape do not use the Xshape extension
2382 --without-xshm do not use XShm (shared memory extension)
2383 --without-xslt do not use XSLT
2384 --without-xxf86vm do not use XFree video mode extension
2385 --without-zlib do not use Zlib (data compression)
2386 --with-wine-tools=DIR use Wine tools from directory DIR
2387 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2388 --with-x use the X Window System
2390 Some influential environment variables:
2391 CC C compiler command
2392 CFLAGS C compiler flags
2393 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2394 nonstandard directory <lib dir>
2395 LIBS libraries to pass to the linker, e.g. -l<library>
2396 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2397 you have headers in a nonstandard directory <include dir>
2398 CXX C++ compiler command
2399 CXXFLAGS C++ compiler flags
2400 CPP C preprocessor
2401 XMKMF Path to xmkmf, Makefile generator for X Window System
2402 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2403 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2404 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2405 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2406 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2407 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2408 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2409 HAL_LIBS Linker flags for hal, overriding pkg-config
2410 GNUTLS_CFLAGS
2411 C compiler flags for gnutls, overriding pkg-config
2412 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2413 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2414 SANE_LIBS Linker flags for libsane, overriding pkg-config
2415 GPHOTO2_CFLAGS
2416 C compiler flags for libgphoto2, overriding pkg-config
2417 GPHOTO2_LIBS
2418 Linker flags for libgphoto2, overriding pkg-config
2419 GPHOTO2_PORT_CFLAGS
2420 C compiler flags for libgphoto2_port, overriding pkg-config
2421 GPHOTO2_PORT_LIBS
2422 Linker flags for libgphoto2_port, overriding pkg-config
2423 LCMS2_CFLAGS
2424 C compiler flags for lcms2, overriding pkg-config
2425 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2426 FREETYPE_CFLAGS
2427 C compiler flags for freetype2, overriding pkg-config
2428 FREETYPE_LIBS
2429 Linker flags for freetype2, overriding pkg-config
2430 PULSE_CFLAGS
2431 C compiler flags for libpulse, overriding pkg-config
2432 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2433 GSTREAMER_CFLAGS
2434 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2435 gstreamer-audio-1.0, overriding pkg-config
2436 GSTREAMER_LIBS
2437 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2438 gstreamer-audio-1.0, overriding pkg-config
2439 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2440 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2441 CAPI20_CFLAGS
2442 C compiler flags for capi20, overriding pkg-config
2443 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2444 FONTCONFIG_CFLAGS
2445 C compiler flags for fontconfig, overriding pkg-config
2446 FONTCONFIG_LIBS
2447 Linker flags for fontconfig, overriding pkg-config
2448 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2449 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2450 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2451 PNG_LIBS Linker flags for libpng, overriding pkg-config
2452 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2453 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2454 MPG123_CFLAGS
2455 C compiler flags for libmpg123, overriding pkg-config
2456 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2457 NETAPI_CFLAGS
2458 C compiler flags for netapi, overriding pkg-config
2459 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2461 Use these variables to override the choices made by `configure' or to help
2462 it to find libraries and programs with nonstandard names/locations.
2464 Report bugs to <wine-devel@winehq.org>.
2465 Wine home page: <http://www.winehq.org>.
2466 _ACEOF
2467 ac_status=$?
2470 if test "$ac_init_help" = "recursive"; then
2471 # If there are subdirs, report their specific --help.
2472 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2473 test -d "$ac_dir" ||
2474 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2475 continue
2476 ac_builddir=.
2478 case "$ac_dir" in
2479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2481 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2482 # A ".." for each directory in $ac_dir_suffix.
2483 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2484 case $ac_top_builddir_sub in
2485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2487 esac ;;
2488 esac
2489 ac_abs_top_builddir=$ac_pwd
2490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2491 # for backward compatibility:
2492 ac_top_builddir=$ac_top_build_prefix
2494 case $srcdir in
2495 .) # We are building in place.
2496 ac_srcdir=.
2497 ac_top_srcdir=$ac_top_builddir_sub
2498 ac_abs_top_srcdir=$ac_pwd ;;
2499 [\\/]* | ?:[\\/]* ) # Absolute name.
2500 ac_srcdir=$srcdir$ac_dir_suffix;
2501 ac_top_srcdir=$srcdir
2502 ac_abs_top_srcdir=$srcdir ;;
2503 *) # Relative name.
2504 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2505 ac_top_srcdir=$ac_top_build_prefix$srcdir
2506 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2507 esac
2508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2510 cd "$ac_dir" || { ac_status=$?; continue; }
2511 # Check for guested configure.
2512 if test -f "$ac_srcdir/configure.gnu"; then
2513 echo &&
2514 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2515 elif test -f "$ac_srcdir/configure"; then
2516 echo &&
2517 $SHELL "$ac_srcdir/configure" --help=recursive
2518 else
2519 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2520 fi || ac_status=$?
2521 cd "$ac_pwd" || { ac_status=$?; break; }
2522 done
2525 test -n "$ac_init_help" && exit $ac_status
2526 if $ac_init_version; then
2527 cat <<\_ACEOF
2528 Wine configure 2.10
2529 generated by GNU Autoconf 2.69
2531 Copyright (C) 2012 Free Software Foundation, Inc.
2532 This configure script is free software; the Free Software Foundation
2533 gives unlimited permission to copy, distribute and modify it.
2534 _ACEOF
2535 exit
2538 ## ------------------------ ##
2539 ## Autoconf initialization. ##
2540 ## ------------------------ ##
2542 # ac_fn_c_try_compile LINENO
2543 # --------------------------
2544 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2545 ac_fn_c_try_compile ()
2547 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2548 rm -f conftest.$ac_objext
2549 if { { ac_try="$ac_compile"
2550 case "(($ac_try" in
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2553 esac
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_compile") 2>conftest.err
2557 ac_status=$?
2558 if test -s conftest.err; then
2559 grep -v '^ *+' conftest.err >conftest.er1
2560 cat conftest.er1 >&5
2561 mv -f conftest.er1 conftest.err
2563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2564 test $ac_status = 0; } && {
2565 test -z "$ac_c_werror_flag" ||
2566 test ! -s conftest.err
2567 } && test -s conftest.$ac_objext; then :
2568 ac_retval=0
2569 else
2570 $as_echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2573 ac_retval=1
2575 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2576 as_fn_set_status $ac_retval
2578 } # ac_fn_c_try_compile
2580 # ac_fn_cxx_try_compile LINENO
2581 # ----------------------------
2582 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2583 ac_fn_cxx_try_compile ()
2585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2586 rm -f conftest.$ac_objext
2587 if { { ac_try="$ac_compile"
2588 case "(($ac_try" in
2589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2590 *) ac_try_echo=$ac_try;;
2591 esac
2592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2593 $as_echo "$ac_try_echo"; } >&5
2594 (eval "$ac_compile") 2>conftest.err
2595 ac_status=$?
2596 if test -s conftest.err; then
2597 grep -v '^ *+' conftest.err >conftest.er1
2598 cat conftest.er1 >&5
2599 mv -f conftest.er1 conftest.err
2601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2602 test $ac_status = 0; } && {
2603 test -z "$ac_cxx_werror_flag" ||
2604 test ! -s conftest.err
2605 } && test -s conftest.$ac_objext; then :
2606 ac_retval=0
2607 else
2608 $as_echo "$as_me: failed program was:" >&5
2609 sed 's/^/| /' conftest.$ac_ext >&5
2611 ac_retval=1
2613 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2614 as_fn_set_status $ac_retval
2616 } # ac_fn_cxx_try_compile
2618 # ac_fn_c_try_link LINENO
2619 # -----------------------
2620 # Try to link conftest.$ac_ext, and return whether this succeeded.
2621 ac_fn_c_try_link ()
2623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2624 rm -f conftest.$ac_objext conftest$ac_exeext
2625 if { { ac_try="$ac_link"
2626 case "(($ac_try" in
2627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2628 *) ac_try_echo=$ac_try;;
2629 esac
2630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2631 $as_echo "$ac_try_echo"; } >&5
2632 (eval "$ac_link") 2>conftest.err
2633 ac_status=$?
2634 if test -s conftest.err; then
2635 grep -v '^ *+' conftest.err >conftest.er1
2636 cat conftest.er1 >&5
2637 mv -f conftest.er1 conftest.err
2639 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2640 test $ac_status = 0; } && {
2641 test -z "$ac_c_werror_flag" ||
2642 test ! -s conftest.err
2643 } && test -s conftest$ac_exeext && {
2644 test "$cross_compiling" = yes ||
2645 test -x conftest$ac_exeext
2646 }; then :
2647 ac_retval=0
2648 else
2649 $as_echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_retval=1
2654 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2655 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2656 # interfere with the next link command; also delete a directory that is
2657 # left behind by Apple's compiler. We do this before executing the actions.
2658 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2659 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2660 as_fn_set_status $ac_retval
2662 } # ac_fn_c_try_link
2664 # ac_fn_c_try_cpp LINENO
2665 # ----------------------
2666 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2667 ac_fn_c_try_cpp ()
2669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2670 if { { ac_try="$ac_cpp conftest.$ac_ext"
2671 case "(($ac_try" in
2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2674 esac
2675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2676 $as_echo "$ac_try_echo"; } >&5
2677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2678 ac_status=$?
2679 if test -s conftest.err; then
2680 grep -v '^ *+' conftest.err >conftest.er1
2681 cat conftest.er1 >&5
2682 mv -f conftest.er1 conftest.err
2684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685 test $ac_status = 0; } > conftest.i && {
2686 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 }; then :
2689 ac_retval=0
2690 else
2691 $as_echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_retval=1
2696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2697 as_fn_set_status $ac_retval
2699 } # ac_fn_c_try_cpp
2701 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2702 # -------------------------------------------------------
2703 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2704 # the include files in INCLUDES and setting the cache variable VAR
2705 # accordingly.
2706 ac_fn_c_check_header_mongrel ()
2708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2709 if eval \${$3+:} false; then :
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2711 $as_echo_n "checking for $2... " >&6; }
2712 if eval \${$3+:} false; then :
2713 $as_echo_n "(cached) " >&6
2715 eval ac_res=\$$3
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2717 $as_echo "$ac_res" >&6; }
2718 else
2719 # Is the header compilable?
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2721 $as_echo_n "checking $2 usability... " >&6; }
2722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2723 /* end confdefs.h. */
2725 #include <$2>
2726 _ACEOF
2727 if ac_fn_c_try_compile "$LINENO"; then :
2728 ac_header_compiler=yes
2729 else
2730 ac_header_compiler=no
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2734 $as_echo "$ac_header_compiler" >&6; }
2736 # Is the header present?
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2738 $as_echo_n "checking $2 presence... " >&6; }
2739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2741 #include <$2>
2742 _ACEOF
2743 if ac_fn_c_try_cpp "$LINENO"; then :
2744 ac_header_preproc=yes
2745 else
2746 ac_header_preproc=no
2748 rm -f conftest.err conftest.i conftest.$ac_ext
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2750 $as_echo "$ac_header_preproc" >&6; }
2752 # So? What about this header?
2753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2754 yes:no: )
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2756 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2758 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2760 no:yes:* )
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2762 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2764 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2766 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2768 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2770 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2771 ( $as_echo "## ------------------------------------ ##
2772 ## Report this to wine-devel@winehq.org ##
2773 ## ------------------------------------ ##"
2774 ) | sed "s/^/$as_me: WARNING: /" >&2
2776 esac
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2778 $as_echo_n "checking for $2... " >&6; }
2779 if eval \${$3+:} false; then :
2780 $as_echo_n "(cached) " >&6
2781 else
2782 eval "$3=\$ac_header_compiler"
2784 eval ac_res=\$$3
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2786 $as_echo "$ac_res" >&6; }
2788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2790 } # ac_fn_c_check_header_mongrel
2792 # ac_fn_c_try_run LINENO
2793 # ----------------------
2794 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2795 # that executables *can* be run.
2796 ac_fn_c_try_run ()
2798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2799 if { { ac_try="$ac_link"
2800 case "(($ac_try" in
2801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2802 *) ac_try_echo=$ac_try;;
2803 esac
2804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2805 $as_echo "$ac_try_echo"; } >&5
2806 (eval "$ac_link") 2>&5
2807 ac_status=$?
2808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2809 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
2817 ac_status=$?
2818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2819 test $ac_status = 0; }; }; then :
2820 ac_retval=0
2821 else
2822 $as_echo "$as_me: program exited with status $ac_status" >&5
2823 $as_echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2826 ac_retval=$ac_status
2828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2830 as_fn_set_status $ac_retval
2832 } # ac_fn_c_try_run
2834 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2835 # -------------------------------------------------------
2836 # Tests whether HEADER exists and can be compiled using the include files in
2837 # INCLUDES, setting the cache variable VAR accordingly.
2838 ac_fn_c_check_header_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2842 $as_echo_n "checking for $2... " >&6; }
2843 if eval \${$3+:} false; then :
2844 $as_echo_n "(cached) " >&6
2845 else
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2849 #include <$2>
2850 _ACEOF
2851 if ac_fn_c_try_compile "$LINENO"; then :
2852 eval "$3=yes"
2853 else
2854 eval "$3=no"
2856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 eval ac_res=\$$3
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2860 $as_echo "$ac_res" >&6; }
2861 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2863 } # ac_fn_c_check_header_compile
2865 # ac_fn_c_check_func LINENO FUNC VAR
2866 # ----------------------------------
2867 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2868 ac_fn_c_check_func ()
2870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2872 $as_echo_n "checking for $2... " >&6; }
2873 if eval \${$3+:} false; then :
2874 $as_echo_n "(cached) " >&6
2875 else
2876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2877 /* end confdefs.h. */
2878 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2880 #define $2 innocuous_$2
2882 /* System header to define __stub macros and hopefully few prototypes,
2883 which can conflict with char $2 (); below.
2884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2885 <limits.h> exists even on freestanding compilers. */
2887 #ifdef __STDC__
2888 # include <limits.h>
2889 #else
2890 # include <assert.h>
2891 #endif
2893 #undef $2
2895 /* Override any GCC internal prototype to avoid an error.
2896 Use char because int might match the return type of a GCC
2897 builtin and then its argument prototype would still apply. */
2898 #ifdef __cplusplus
2899 extern "C"
2900 #endif
2901 char $2 ();
2902 /* The GNU C library defines this for functions which it implements
2903 to always fail with ENOSYS. Some functions are actually named
2904 something starting with __ and the normal name is an alias. */
2905 #if defined __stub_$2 || defined __stub___$2
2906 choke me
2907 #endif
2910 main ()
2912 return $2 ();
2914 return 0;
2916 _ACEOF
2917 if ac_fn_c_try_link "$LINENO"; then :
2918 eval "$3=yes"
2919 else
2920 eval "$3=no"
2922 rm -f core conftest.err conftest.$ac_objext \
2923 conftest$ac_exeext conftest.$ac_ext
2925 eval ac_res=\$$3
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2927 $as_echo "$ac_res" >&6; }
2928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2930 } # ac_fn_c_check_func
2932 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2933 # ----------------------------------------------------
2934 # Tries to find if the field MEMBER exists in type AGGR, after including
2935 # INCLUDES, setting cache variable VAR accordingly.
2936 ac_fn_c_check_member ()
2938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2940 $as_echo_n "checking for $2.$3... " >&6; }
2941 if eval \${$4+:} false; then :
2942 $as_echo_n "(cached) " >&6
2943 else
2944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2945 /* end confdefs.h. */
2948 main ()
2950 static $2 ac_aggr;
2951 if (ac_aggr.$3)
2952 return 0;
2954 return 0;
2956 _ACEOF
2957 if ac_fn_c_try_compile "$LINENO"; then :
2958 eval "$4=yes"
2959 else
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2964 main ()
2966 static $2 ac_aggr;
2967 if (sizeof ac_aggr.$3)
2968 return 0;
2970 return 0;
2972 _ACEOF
2973 if ac_fn_c_try_compile "$LINENO"; then :
2974 eval "$4=yes"
2975 else
2976 eval "$4=no"
2978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2982 eval ac_res=\$$4
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2984 $as_echo "$ac_res" >&6; }
2985 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2987 } # ac_fn_c_check_member
2989 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2990 # -------------------------------------------
2991 # Tests whether TYPE exists after having included INCLUDES, setting cache
2992 # variable VAR accordingly.
2993 ac_fn_c_check_type ()
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2997 $as_echo_n "checking for $2... " >&6; }
2998 if eval \${$3+:} false; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 eval "$3=no"
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3006 main ()
3008 if (sizeof ($2))
3009 return 0;
3011 return 0;
3013 _ACEOF
3014 if ac_fn_c_try_compile "$LINENO"; then :
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main ()
3021 if (sizeof (($2)))
3022 return 0;
3024 return 0;
3026 _ACEOF
3027 if ac_fn_c_try_compile "$LINENO"; then :
3029 else
3030 eval "$3=yes"
3032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3036 eval ac_res=\$$3
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3038 $as_echo "$ac_res" >&6; }
3039 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3041 } # ac_fn_c_check_type
3042 cat >config.log <<_ACEOF
3043 This file contains any messages produced by compilers while
3044 running configure, to aid debugging if configure makes a mistake.
3046 It was created by Wine $as_me 2.10, which was
3047 generated by GNU Autoconf 2.69. Invocation command line was
3049 $ $0 $@
3051 _ACEOF
3052 exec 5>>config.log
3054 cat <<_ASUNAME
3055 ## --------- ##
3056 ## Platform. ##
3057 ## --------- ##
3059 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3060 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3061 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3062 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3063 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3065 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3066 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3068 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3069 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3070 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3071 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3072 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3073 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3074 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3076 _ASUNAME
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079 for as_dir in $PATH
3081 IFS=$as_save_IFS
3082 test -z "$as_dir" && as_dir=.
3083 $as_echo "PATH: $as_dir"
3084 done
3085 IFS=$as_save_IFS
3087 } >&5
3089 cat >&5 <<_ACEOF
3092 ## ----------- ##
3093 ## Core tests. ##
3094 ## ----------- ##
3096 _ACEOF
3099 # Keep a trace of the command line.
3100 # Strip out --no-create and --no-recursion so they do not pile up.
3101 # Strip out --silent because we don't want to record it for future runs.
3102 # Also quote any args containing shell meta-characters.
3103 # Make two passes to allow for proper duplicate-argument suppression.
3104 ac_configure_args=
3105 ac_configure_args0=
3106 ac_configure_args1=
3107 ac_must_keep_next=false
3108 for ac_pass in 1 2
3110 for ac_arg
3112 case $ac_arg in
3113 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3114 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3115 | -silent | --silent | --silen | --sile | --sil)
3116 continue ;;
3117 *\'*)
3118 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3119 esac
3120 case $ac_pass in
3121 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3123 as_fn_append ac_configure_args1 " '$ac_arg'"
3124 if test $ac_must_keep_next = true; then
3125 ac_must_keep_next=false # Got value, back to normal.
3126 else
3127 case $ac_arg in
3128 *=* | --config-cache | -C | -disable-* | --disable-* \
3129 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3130 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3131 | -with-* | --with-* | -without-* | --without-* | --x)
3132 case "$ac_configure_args0 " in
3133 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3134 esac
3136 -* ) ac_must_keep_next=true ;;
3137 esac
3139 as_fn_append ac_configure_args " '$ac_arg'"
3141 esac
3142 done
3143 done
3144 { ac_configure_args0=; unset ac_configure_args0;}
3145 { ac_configure_args1=; unset ac_configure_args1;}
3147 # When interrupted or exit'd, cleanup temporary files, and complete
3148 # config.log. We remove comments because anyway the quotes in there
3149 # would cause problems or look ugly.
3150 # WARNING: Use '\'' to represent an apostrophe within the trap.
3151 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3152 trap 'exit_status=$?
3153 # Save into config.log some information that might help in debugging.
3155 echo
3157 $as_echo "## ---------------- ##
3158 ## Cache variables. ##
3159 ## ---------------- ##"
3160 echo
3161 # The following way of writing the cache mishandles newlines in values,
3163 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3164 eval ac_val=\$$ac_var
3165 case $ac_val in #(
3166 *${as_nl}*)
3167 case $ac_var in #(
3168 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3169 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3170 esac
3171 case $ac_var in #(
3172 _ | IFS | as_nl) ;; #(
3173 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3174 *) { eval $ac_var=; unset $ac_var;} ;;
3175 esac ;;
3176 esac
3177 done
3178 (set) 2>&1 |
3179 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3180 *${as_nl}ac_space=\ *)
3181 sed -n \
3182 "s/'\''/'\''\\\\'\'''\''/g;
3183 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3184 ;; #(
3186 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3188 esac |
3189 sort
3191 echo
3193 $as_echo "## ----------------- ##
3194 ## Output variables. ##
3195 ## ----------------- ##"
3196 echo
3197 for ac_var in $ac_subst_vars
3199 eval ac_val=\$$ac_var
3200 case $ac_val in
3201 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3202 esac
3203 $as_echo "$ac_var='\''$ac_val'\''"
3204 done | sort
3205 echo
3207 if test -n "$ac_subst_files"; then
3208 $as_echo "## ------------------- ##
3209 ## File substitutions. ##
3210 ## ------------------- ##"
3211 echo
3212 for ac_var in $ac_subst_files
3214 eval ac_val=\$$ac_var
3215 case $ac_val in
3216 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3217 esac
3218 $as_echo "$ac_var='\''$ac_val'\''"
3219 done | sort
3220 echo
3223 if test -s confdefs.h; then
3224 $as_echo "## ----------- ##
3225 ## confdefs.h. ##
3226 ## ----------- ##"
3227 echo
3228 cat confdefs.h
3229 echo
3231 test "$ac_signal" != 0 &&
3232 $as_echo "$as_me: caught signal $ac_signal"
3233 $as_echo "$as_me: exit $exit_status"
3234 } >&5
3235 rm -f core *.core core.conftest.* &&
3236 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3237 exit $exit_status
3239 for ac_signal in 1 2 13 15; do
3240 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3241 done
3242 ac_signal=0
3244 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3245 rm -f -r conftest* confdefs.h
3247 $as_echo "/* confdefs.h */" > confdefs.h
3249 # Predefined preprocessor variables.
3251 cat >>confdefs.h <<_ACEOF
3252 #define PACKAGE_NAME "$PACKAGE_NAME"
3253 _ACEOF
3255 cat >>confdefs.h <<_ACEOF
3256 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3257 _ACEOF
3259 cat >>confdefs.h <<_ACEOF
3260 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3261 _ACEOF
3263 cat >>confdefs.h <<_ACEOF
3264 #define PACKAGE_STRING "$PACKAGE_STRING"
3265 _ACEOF
3267 cat >>confdefs.h <<_ACEOF
3268 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3269 _ACEOF
3271 cat >>confdefs.h <<_ACEOF
3272 #define PACKAGE_URL "$PACKAGE_URL"
3273 _ACEOF
3276 # Let the site file select an alternate cache file if it wants to.
3277 # Prefer an explicitly selected file to automatically selected ones.
3278 ac_site_file1=NONE
3279 ac_site_file2=NONE
3280 if test -n "$CONFIG_SITE"; then
3281 # We do not want a PATH search for config.site.
3282 case $CONFIG_SITE in #((
3283 -*) ac_site_file1=./$CONFIG_SITE;;
3284 */*) ac_site_file1=$CONFIG_SITE;;
3285 *) ac_site_file1=./$CONFIG_SITE;;
3286 esac
3287 elif test "x$prefix" != xNONE; then
3288 ac_site_file1=$prefix/share/config.site
3289 ac_site_file2=$prefix/etc/config.site
3290 else
3291 ac_site_file1=$ac_default_prefix/share/config.site
3292 ac_site_file2=$ac_default_prefix/etc/config.site
3294 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3296 test "x$ac_site_file" = xNONE && continue
3297 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3299 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3300 sed 's/^/| /' "$ac_site_file" >&5
3301 . "$ac_site_file" \
3302 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304 as_fn_error $? "failed to load site script $ac_site_file
3305 See \`config.log' for more details" "$LINENO" 5; }
3307 done
3309 if test -r "$cache_file"; then
3310 # Some versions of bash will fail to source /dev/null (special files
3311 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3312 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3314 $as_echo "$as_me: loading cache $cache_file" >&6;}
3315 case $cache_file in
3316 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3317 *) . "./$cache_file";;
3318 esac
3320 else
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3322 $as_echo "$as_me: creating cache $cache_file" >&6;}
3323 >$cache_file
3326 # Check that the precious variables saved in the cache have kept the same
3327 # value.
3328 ac_cache_corrupted=false
3329 for ac_var in $ac_precious_vars; do
3330 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3331 eval ac_new_set=\$ac_env_${ac_var}_set
3332 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3333 eval ac_new_val=\$ac_env_${ac_var}_value
3334 case $ac_old_set,$ac_new_set in
3335 set,)
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3337 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3338 ac_cache_corrupted=: ;;
3339 ,set)
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3341 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3342 ac_cache_corrupted=: ;;
3343 ,);;
3345 if test "x$ac_old_val" != "x$ac_new_val"; then
3346 # differences in whitespace do not lead to failure.
3347 ac_old_val_w=`echo x $ac_old_val`
3348 ac_new_val_w=`echo x $ac_new_val`
3349 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3351 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3352 ac_cache_corrupted=:
3353 else
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3355 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3356 eval $ac_var=\$ac_old_val
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3359 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3361 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3362 fi;;
3363 esac
3364 # Pass precious variables to config.status.
3365 if test "$ac_new_set" = set; then
3366 case $ac_new_val in
3367 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3368 *) ac_arg=$ac_var=$ac_new_val ;;
3369 esac
3370 case " $ac_configure_args " in
3371 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3372 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3373 esac
3375 done
3376 if $ac_cache_corrupted; then
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3380 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3381 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3383 ## -------------------- ##
3384 ## Main body of script. ##
3385 ## -------------------- ##
3387 ac_ext=c
3388 ac_cpp='$CPP $CPPFLAGS'
3389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3395 ac_config_headers="$ac_config_headers include/config.h"
3397 ac_aux_dir=
3398 for ac_dir in tools "$srcdir"/tools; do
3399 if test -f "$ac_dir/install-sh"; then
3400 ac_aux_dir=$ac_dir
3401 ac_install_sh="$ac_aux_dir/install-sh -c"
3402 break
3403 elif test -f "$ac_dir/install.sh"; then
3404 ac_aux_dir=$ac_dir
3405 ac_install_sh="$ac_aux_dir/install.sh -c"
3406 break
3407 elif test -f "$ac_dir/shtool"; then
3408 ac_aux_dir=$ac_dir
3409 ac_install_sh="$ac_aux_dir/shtool install -c"
3410 break
3412 done
3413 if test -z "$ac_aux_dir"; then
3414 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3417 # These three variables are undocumented and unsupported,
3418 # and are intended to be withdrawn in a future Autoconf release.
3419 # They can cause serious problems if a builder's source tree is in a directory
3420 # whose full name contains unusual characters.
3421 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3422 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3423 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3427 libwine_version="1.0"
3431 # Check whether --enable-win16 was given.
3432 if test "${enable_win16+set}" = set; then :
3433 enableval=$enable_win16;
3436 # Check whether --enable-win64 was given.
3437 if test "${enable_win64+set}" = set; then :
3438 enableval=$enable_win64;
3441 # Check whether --enable-tests was given.
3442 if test "${enable_tests+set}" = set; then :
3443 enableval=$enable_tests;
3446 # Check whether --enable-maintainer-mode was given.
3447 if test "${enable_maintainer_mode+set}" = set; then :
3448 enableval=$enable_maintainer_mode;
3453 # Check whether --with-alsa was given.
3454 if test "${with_alsa+set}" = set; then :
3455 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3459 # Check whether --with-capi was given.
3460 if test "${with_capi+set}" = set; then :
3461 withval=$with_capi;
3465 # Check whether --with-cms was given.
3466 if test "${with_cms+set}" = set; then :
3467 withval=$with_cms;
3471 # Check whether --with-coreaudio was given.
3472 if test "${with_coreaudio+set}" = set; then :
3473 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3477 # Check whether --with-cups was given.
3478 if test "${with_cups+set}" = set; then :
3479 withval=$with_cups;
3483 # Check whether --with-curses was given.
3484 if test "${with_curses+set}" = set; then :
3485 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3489 # Check whether --with-dbus was given.
3490 if test "${with_dbus+set}" = set; then :
3491 withval=$with_dbus;
3495 # Check whether --with-fontconfig was given.
3496 if test "${with_fontconfig+set}" = set; then :
3497 withval=$with_fontconfig;
3501 # Check whether --with-freetype was given.
3502 if test "${with_freetype+set}" = set; then :
3503 withval=$with_freetype;
3507 # Check whether --with-gettext was given.
3508 if test "${with_gettext+set}" = set; then :
3509 withval=$with_gettext;
3513 # Check whether --with-gettextpo was given.
3514 if test "${with_gettextpo+set}" = set; then :
3515 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3519 # Check whether --with-gphoto was given.
3520 if test "${with_gphoto+set}" = set; then :
3521 withval=$with_gphoto;
3525 # Check whether --with-glu was given.
3526 if test "${with_glu+set}" = set; then :
3527 withval=$with_glu;
3531 # Check whether --with-gnutls was given.
3532 if test "${with_gnutls+set}" = set; then :
3533 withval=$with_gnutls;
3537 # Check whether --with-gsm was given.
3538 if test "${with_gsm+set}" = set; then :
3539 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3543 # Check whether --with-gstreamer was given.
3544 if test "${with_gstreamer+set}" = set; then :
3545 withval=$with_gstreamer;
3549 # Check whether --with-hal was given.
3550 if test "${with_hal+set}" = set; then :
3551 withval=$with_hal;
3555 # Check whether --with-jpeg was given.
3556 if test "${with_jpeg+set}" = set; then :
3557 withval=$with_jpeg;
3561 # Check whether --with-ldap was given.
3562 if test "${with_ldap+set}" = set; then :
3563 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3567 # Check whether --with-mpg123 was given.
3568 if test "${with_mpg123+set}" = set; then :
3569 withval=$with_mpg123;
3573 # Check whether --with-netapi was given.
3574 if test "${with_netapi+set}" = set; then :
3575 withval=$with_netapi;
3579 # Check whether --with-openal was given.
3580 if test "${with_openal+set}" = set; then :
3581 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3585 # Check whether --with-opencl was given.
3586 if test "${with_opencl+set}" = set; then :
3587 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3591 # Check whether --with-opengl was given.
3592 if test "${with_opengl+set}" = set; then :
3593 withval=$with_opengl;
3597 # Check whether --with-osmesa was given.
3598 if test "${with_osmesa+set}" = set; then :
3599 withval=$with_osmesa;
3603 # Check whether --with-oss was given.
3604 if test "${with_oss+set}" = set; then :
3605 withval=$with_oss;
3609 # Check whether --with-pcap was given.
3610 if test "${with_pcap+set}" = set; then :
3611 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3615 # Check whether --with-png was given.
3616 if test "${with_png+set}" = set; then :
3617 withval=$with_png;
3621 # Check whether --with-pthread was given.
3622 if test "${with_pthread+set}" = set; then :
3623 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3627 # Check whether --with-pulse was given.
3628 if test "${with_pulse+set}" = set; then :
3629 withval=$with_pulse;
3633 # Check whether --with-sane was given.
3634 if test "${with_sane+set}" = set; then :
3635 withval=$with_sane;
3639 # Check whether --with-tiff was given.
3640 if test "${with_tiff+set}" = set; then :
3641 withval=$with_tiff;
3645 # Check whether --with-udev was given.
3646 if test "${with_udev+set}" = set; then :
3647 withval=$with_udev;
3651 # Check whether --with-v4l was given.
3652 if test "${with_v4l+set}" = set; then :
3653 withval=$with_v4l;
3657 # Check whether --with-xcomposite was given.
3658 if test "${with_xcomposite+set}" = set; then :
3659 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3663 # Check whether --with-xcursor was given.
3664 if test "${with_xcursor+set}" = set; then :
3665 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3669 # Check whether --with-xfixes was given.
3670 if test "${with_xfixes+set}" = set; then :
3671 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3675 # Check whether --with-xinerama was given.
3676 if test "${with_xinerama+set}" = set; then :
3677 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3681 # Check whether --with-xinput was given.
3682 if test "${with_xinput+set}" = set; then :
3683 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3687 # Check whether --with-xinput2 was given.
3688 if test "${with_xinput2+set}" = set; then :
3689 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3693 # Check whether --with-xml was given.
3694 if test "${with_xml+set}" = set; then :
3695 withval=$with_xml;
3699 # Check whether --with-xrandr was given.
3700 if test "${with_xrandr+set}" = set; then :
3701 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3705 # Check whether --with-xrender was given.
3706 if test "${with_xrender+set}" = set; then :
3707 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3711 # Check whether --with-xshape was given.
3712 if test "${with_xshape+set}" = set; then :
3713 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3717 # Check whether --with-xshm was given.
3718 if test "${with_xshm+set}" = set; then :
3719 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3723 # Check whether --with-xslt was given.
3724 if test "${with_xslt+set}" = set; then :
3725 withval=$with_xslt;
3729 # Check whether --with-xxf86vm was given.
3730 if test "${with_xxf86vm+set}" = set; then :
3731 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
3735 # Check whether --with-zlib was given.
3736 if test "${with_zlib+set}" = set; then :
3737 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3742 # Check whether --with-wine-tools was given.
3743 if test "${with_wine_tools+set}" = set; then :
3744 withval=$with_wine_tools;
3748 # Check whether --with-wine64 was given.
3749 if test "${with_wine64+set}" = set; then :
3750 withval=$with_wine64;
3754 # Make sure we can run config.sub.
3755 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3756 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3759 $as_echo_n "checking build system type... " >&6; }
3760 if ${ac_cv_build+:} false; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 ac_build_alias=$build_alias
3764 test "x$ac_build_alias" = x &&
3765 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3766 test "x$ac_build_alias" = x &&
3767 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3768 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3769 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3773 $as_echo "$ac_cv_build" >&6; }
3774 case $ac_cv_build in
3775 *-*-*) ;;
3776 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3777 esac
3778 build=$ac_cv_build
3779 ac_save_IFS=$IFS; IFS='-'
3780 set x $ac_cv_build
3781 shift
3782 build_cpu=$1
3783 build_vendor=$2
3784 shift; shift
3785 # Remember, the first character of IFS is used to create $*,
3786 # except with old shells:
3787 build_os=$*
3788 IFS=$ac_save_IFS
3789 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3793 $as_echo_n "checking host system type... " >&6; }
3794 if ${ac_cv_host+:} false; then :
3795 $as_echo_n "(cached) " >&6
3796 else
3797 if test "x$host_alias" = x; then
3798 ac_cv_host=$ac_cv_build
3799 else
3800 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3801 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3806 $as_echo "$ac_cv_host" >&6; }
3807 case $ac_cv_host in
3808 *-*-*) ;;
3809 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3810 esac
3811 host=$ac_cv_host
3812 ac_save_IFS=$IFS; IFS='-'
3813 set x $ac_cv_host
3814 shift
3815 host_cpu=$1
3816 host_vendor=$2
3817 shift; shift
3818 # Remember, the first character of IFS is used to create $*,
3819 # except with old shells:
3820 host_os=$*
3821 IFS=$ac_save_IFS
3822 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3826 case "$srcdir" in
3827 .) ;;
3828 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3829 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3830 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3831 fi ;;
3832 esac
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3836 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3837 set x ${MAKE-make}
3838 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3839 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3840 $as_echo_n "(cached) " >&6
3841 else
3842 cat >conftest.make <<\_ACEOF
3843 SHELL = /bin/sh
3844 all:
3845 @echo '@@@%%%=$(MAKE)=@@@%%%'
3846 _ACEOF
3847 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3848 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3849 *@@@%%%=?*=@@@%%%*)
3850 eval ac_cv_prog_make_${ac_make}_set=yes;;
3852 eval ac_cv_prog_make_${ac_make}_set=no;;
3853 esac
3854 rm -f conftest.make
3856 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3858 $as_echo "yes" >&6; }
3859 SET_MAKE=
3860 else
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3863 SET_MAKE="MAKE=${MAKE-make}"
3866 ac_ext=c
3867 ac_cpp='$CPP $CPPFLAGS'
3868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3871 if test -n "$ac_tool_prefix"; then
3872 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3873 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875 $as_echo_n "checking for $ac_word... " >&6; }
3876 if ${ac_cv_prog_CC+:} false; then :
3877 $as_echo_n "(cached) " >&6
3878 else
3879 if test -n "$CC"; then
3880 ac_cv_prog_CC="$CC" # Let the user override the test.
3881 else
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 for as_dir in $PATH
3885 IFS=$as_save_IFS
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3889 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3893 done
3894 done
3895 IFS=$as_save_IFS
3899 CC=$ac_cv_prog_CC
3900 if test -n "$CC"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3902 $as_echo "$CC" >&6; }
3903 else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905 $as_echo "no" >&6; }
3910 if test -z "$ac_cv_prog_CC"; then
3911 ac_ct_CC=$CC
3912 # Extract the first word of "gcc", so it can be a program name with args.
3913 set dummy gcc; ac_word=$2
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3915 $as_echo_n "checking for $ac_word... " >&6; }
3916 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3917 $as_echo_n "(cached) " >&6
3918 else
3919 if test -n "$ac_ct_CC"; then
3920 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3921 else
3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923 for as_dir in $PATH
3925 IFS=$as_save_IFS
3926 test -z "$as_dir" && as_dir=.
3927 for ac_exec_ext in '' $ac_executable_extensions; do
3928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3929 ac_cv_prog_ac_ct_CC="gcc"
3930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 break 2
3933 done
3934 done
3935 IFS=$as_save_IFS
3939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3940 if test -n "$ac_ct_CC"; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3942 $as_echo "$ac_ct_CC" >&6; }
3943 else
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3948 if test "x$ac_ct_CC" = x; then
3949 CC=""
3950 else
3951 case $cross_compiling:$ac_tool_warned in
3952 yes:)
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3955 ac_tool_warned=yes ;;
3956 esac
3957 CC=$ac_ct_CC
3959 else
3960 CC="$ac_cv_prog_CC"
3963 if test -z "$CC"; then
3964 if test -n "$ac_tool_prefix"; then
3965 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3966 set dummy ${ac_tool_prefix}cc; ac_word=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_CC+:} false; then :
3970 $as_echo_n "(cached) " >&6
3971 else
3972 if test -n "$CC"; then
3973 ac_cv_prog_CC="$CC" # Let the user override the test.
3974 else
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in $PATH
3978 IFS=$as_save_IFS
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_CC="${ac_tool_prefix}cc"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 break 2
3986 done
3987 done
3988 IFS=$as_save_IFS
3992 CC=$ac_cv_prog_CC
3993 if test -n "$CC"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3995 $as_echo "$CC" >&6; }
3996 else
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4004 if test -z "$CC"; then
4005 # Extract the first word of "cc", so it can be a program name with args.
4006 set dummy cc; ac_word=$2
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008 $as_echo_n "checking for $ac_word... " >&6; }
4009 if ${ac_cv_prog_CC+:} false; then :
4010 $as_echo_n "(cached) " >&6
4011 else
4012 if test -n "$CC"; then
4013 ac_cv_prog_CC="$CC" # Let the user override the test.
4014 else
4015 ac_prog_rejected=no
4016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017 for as_dir in $PATH
4019 IFS=$as_save_IFS
4020 test -z "$as_dir" && as_dir=.
4021 for ac_exec_ext in '' $ac_executable_extensions; do
4022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4023 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4024 ac_prog_rejected=yes
4025 continue
4027 ac_cv_prog_CC="cc"
4028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 break 2
4031 done
4032 done
4033 IFS=$as_save_IFS
4035 if test $ac_prog_rejected = yes; then
4036 # We found a bogon in the path, so make sure we never use it.
4037 set dummy $ac_cv_prog_CC
4038 shift
4039 if test $# != 0; then
4040 # We chose a different compiler from the bogus one.
4041 # However, it has the same basename, so the bogon will be chosen
4042 # first if we set CC to just the basename; use the full file name.
4043 shift
4044 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4049 CC=$ac_cv_prog_CC
4050 if test -n "$CC"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4052 $as_echo "$CC" >&6; }
4053 else
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4060 if test -z "$CC"; then
4061 if test -n "$ac_tool_prefix"; then
4062 for ac_prog in cl.exe
4064 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4065 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067 $as_echo_n "checking for $ac_word... " >&6; }
4068 if ${ac_cv_prog_CC+:} false; then :
4069 $as_echo_n "(cached) " >&6
4070 else
4071 if test -n "$CC"; then
4072 ac_cv_prog_CC="$CC" # Let the user override the test.
4073 else
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 for as_dir in $PATH
4077 IFS=$as_save_IFS
4078 test -z "$as_dir" && as_dir=.
4079 for ac_exec_ext in '' $ac_executable_extensions; do
4080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 break 2
4085 done
4086 done
4087 IFS=$as_save_IFS
4091 CC=$ac_cv_prog_CC
4092 if test -n "$CC"; then
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4094 $as_echo "$CC" >&6; }
4095 else
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097 $as_echo "no" >&6; }
4101 test -n "$CC" && break
4102 done
4104 if test -z "$CC"; then
4105 ac_ct_CC=$CC
4106 for ac_prog in cl.exe
4108 # Extract the first word of "$ac_prog", so it can be a program name with args.
4109 set dummy $ac_prog; ac_word=$2
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4111 $as_echo_n "checking for $ac_word... " >&6; }
4112 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4113 $as_echo_n "(cached) " >&6
4114 else
4115 if test -n "$ac_ct_CC"; then
4116 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4117 else
4118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119 for as_dir in $PATH
4121 IFS=$as_save_IFS
4122 test -z "$as_dir" && as_dir=.
4123 for ac_exec_ext in '' $ac_executable_extensions; do
4124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4125 ac_cv_prog_ac_ct_CC="$ac_prog"
4126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4127 break 2
4129 done
4130 done
4131 IFS=$as_save_IFS
4135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4136 if test -n "$ac_ct_CC"; then
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4138 $as_echo "$ac_ct_CC" >&6; }
4139 else
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4141 $as_echo "no" >&6; }
4145 test -n "$ac_ct_CC" && break
4146 done
4148 if test "x$ac_ct_CC" = x; then
4149 CC=""
4150 else
4151 case $cross_compiling:$ac_tool_warned in
4152 yes:)
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4155 ac_tool_warned=yes ;;
4156 esac
4157 CC=$ac_ct_CC
4164 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166 as_fn_error $? "no acceptable C compiler found in \$PATH
4167 See \`config.log' for more details" "$LINENO" 5; }
4169 # Provide some information about the compiler.
4170 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4171 set X $ac_compile
4172 ac_compiler=$2
4173 for ac_option in --version -v -V -qversion; do
4174 { { ac_try="$ac_compiler $ac_option >&5"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4182 ac_status=$?
4183 if test -s conftest.err; then
4184 sed '10a\
4185 ... rest of stderr output deleted ...
4186 10q' conftest.err >conftest.er1
4187 cat conftest.er1 >&5
4189 rm -f conftest.er1 conftest.err
4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 test $ac_status = 0; }
4192 done
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 ac_clean_files_save=$ac_clean_files
4206 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4207 # Try to create an executable without -o first, disregard a.out.
4208 # It will help us diagnose broken compilers, and finding out an intuition
4209 # of exeext.
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4211 $as_echo_n "checking whether the C compiler works... " >&6; }
4212 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4214 # The possible output files:
4215 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4217 ac_rmfiles=
4218 for ac_file in $ac_files
4220 case $ac_file in
4221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4222 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4223 esac
4224 done
4225 rm -f $ac_rmfiles
4227 if { { ac_try="$ac_link_default"
4228 case "(($ac_try" in
4229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4231 esac
4232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4233 $as_echo "$ac_try_echo"; } >&5
4234 (eval "$ac_link_default") 2>&5
4235 ac_status=$?
4236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4237 test $ac_status = 0; }; then :
4238 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4239 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4240 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4241 # so that the user can short-circuit this test for compilers unknown to
4242 # Autoconf.
4243 for ac_file in $ac_files ''
4245 test -f "$ac_file" || continue
4246 case $ac_file in
4247 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4249 [ab].out )
4250 # We found the default executable, but exeext='' is most
4251 # certainly right.
4252 break;;
4253 *.* )
4254 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4255 then :; else
4256 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4258 # We set ac_cv_exeext here because the later test for it is not
4259 # safe: cross compilers may not add the suffix if given an `-o'
4260 # argument, so we may need to know it at that point already.
4261 # Even if this section looks crufty: it has the advantage of
4262 # actually working.
4263 break;;
4265 break;;
4266 esac
4267 done
4268 test "$ac_cv_exeext" = no && ac_cv_exeext=
4270 else
4271 ac_file=''
4273 if test -z "$ac_file"; then :
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275 $as_echo "no" >&6; }
4276 $as_echo "$as_me: failed program was:" >&5
4277 sed 's/^/| /' conftest.$ac_ext >&5
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error 77 "C compiler cannot create executables
4282 See \`config.log' for more details" "$LINENO" 5; }
4283 else
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4285 $as_echo "yes" >&6; }
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4288 $as_echo_n "checking for C compiler default output file name... " >&6; }
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4290 $as_echo "$ac_file" >&6; }
4291 ac_exeext=$ac_cv_exeext
4293 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4294 ac_clean_files=$ac_clean_files_save
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4296 $as_echo_n "checking for suffix of executables... " >&6; }
4297 if { { ac_try="$ac_link"
4298 case "(($ac_try" in
4299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300 *) ac_try_echo=$ac_try;;
4301 esac
4302 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4303 $as_echo "$ac_try_echo"; } >&5
4304 (eval "$ac_link") 2>&5
4305 ac_status=$?
4306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4307 test $ac_status = 0; }; then :
4308 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4309 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4310 # work properly (i.e., refer to `conftest.exe'), while it won't with
4311 # `rm'.
4312 for ac_file in conftest.exe conftest conftest.*; do
4313 test -f "$ac_file" || continue
4314 case $ac_file in
4315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4316 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4317 break;;
4318 * ) break;;
4319 esac
4320 done
4321 else
4322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4325 See \`config.log' for more details" "$LINENO" 5; }
4327 rm -f conftest conftest$ac_cv_exeext
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4329 $as_echo "$ac_cv_exeext" >&6; }
4331 rm -f conftest.$ac_ext
4332 EXEEXT=$ac_cv_exeext
4333 ac_exeext=$EXEEXT
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4336 #include <stdio.h>
4338 main ()
4340 FILE *f = fopen ("conftest.out", "w");
4341 return ferror (f) || fclose (f) != 0;
4344 return 0;
4346 _ACEOF
4347 ac_clean_files="$ac_clean_files conftest.out"
4348 # Check that the compiler produces executables we can run. If not, either
4349 # the compiler is broken, or we cross compile.
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4351 $as_echo_n "checking whether we are cross compiling... " >&6; }
4352 if test "$cross_compiling" != yes; then
4353 { { ac_try="$ac_link"
4354 case "(($ac_try" in
4355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4356 *) ac_try_echo=$ac_try;;
4357 esac
4358 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4359 $as_echo "$ac_try_echo"; } >&5
4360 (eval "$ac_link") 2>&5
4361 ac_status=$?
4362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4363 test $ac_status = 0; }
4364 if { ac_try='./conftest$ac_cv_exeext'
4365 { { case "(($ac_try" in
4366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4367 *) ac_try_echo=$ac_try;;
4368 esac
4369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4370 $as_echo "$ac_try_echo"; } >&5
4371 (eval "$ac_try") 2>&5
4372 ac_status=$?
4373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4374 test $ac_status = 0; }; }; then
4375 cross_compiling=no
4376 else
4377 if test "$cross_compiling" = maybe; then
4378 cross_compiling=yes
4379 else
4380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4382 as_fn_error $? "cannot run C compiled programs.
4383 If you meant to cross compile, use \`--host'.
4384 See \`config.log' for more details" "$LINENO" 5; }
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4389 $as_echo "$cross_compiling" >&6; }
4391 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4392 ac_clean_files=$ac_clean_files_save
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4394 $as_echo_n "checking for suffix of object files... " >&6; }
4395 if ${ac_cv_objext+:} false; then :
4396 $as_echo_n "(cached) " >&6
4397 else
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4402 main ()
4406 return 0;
4408 _ACEOF
4409 rm -f conftest.o conftest.obj
4410 if { { ac_try="$ac_compile"
4411 case "(($ac_try" in
4412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413 *) ac_try_echo=$ac_try;;
4414 esac
4415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417 (eval "$ac_compile") 2>&5
4418 ac_status=$?
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }; then :
4421 for ac_file in conftest.o conftest.obj conftest.*; do
4422 test -f "$ac_file" || continue;
4423 case $ac_file in
4424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4425 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4426 break;;
4427 esac
4428 done
4429 else
4430 $as_echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.$ac_ext >&5
4433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4435 as_fn_error $? "cannot compute suffix of object files: cannot compile
4436 See \`config.log' for more details" "$LINENO" 5; }
4438 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4441 $as_echo "$ac_cv_objext" >&6; }
4442 OBJEXT=$ac_cv_objext
4443 ac_objext=$OBJEXT
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4445 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4446 if ${ac_cv_c_compiler_gnu+:} false; then :
4447 $as_echo_n "(cached) " >&6
4448 else
4449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4453 main ()
4455 #ifndef __GNUC__
4456 choke me
4457 #endif
4460 return 0;
4462 _ACEOF
4463 if ac_fn_c_try_compile "$LINENO"; then :
4464 ac_compiler_gnu=yes
4465 else
4466 ac_compiler_gnu=no
4468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4469 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4473 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4474 if test $ac_compiler_gnu = yes; then
4475 GCC=yes
4476 else
4477 GCC=
4479 ac_test_CFLAGS=${CFLAGS+set}
4480 ac_save_CFLAGS=$CFLAGS
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4482 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4483 if ${ac_cv_prog_cc_g+:} false; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 ac_save_c_werror_flag=$ac_c_werror_flag
4487 ac_c_werror_flag=yes
4488 ac_cv_prog_cc_g=no
4489 CFLAGS="-g"
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4494 main ()
4498 return 0;
4500 _ACEOF
4501 if ac_fn_c_try_compile "$LINENO"; then :
4502 ac_cv_prog_cc_g=yes
4503 else
4504 CFLAGS=""
4505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506 /* end confdefs.h. */
4509 main ()
4513 return 0;
4515 _ACEOF
4516 if ac_fn_c_try_compile "$LINENO"; then :
4518 else
4519 ac_c_werror_flag=$ac_save_c_werror_flag
4520 CFLAGS="-g"
4521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522 /* end confdefs.h. */
4525 main ()
4529 return 0;
4531 _ACEOF
4532 if ac_fn_c_try_compile "$LINENO"; then :
4533 ac_cv_prog_cc_g=yes
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4540 ac_c_werror_flag=$ac_save_c_werror_flag
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4543 $as_echo "$ac_cv_prog_cc_g" >&6; }
4544 if test "$ac_test_CFLAGS" = set; then
4545 CFLAGS=$ac_save_CFLAGS
4546 elif test $ac_cv_prog_cc_g = yes; then
4547 if test "$GCC" = yes; then
4548 CFLAGS="-g -O2"
4549 else
4550 CFLAGS="-g"
4552 else
4553 if test "$GCC" = yes; then
4554 CFLAGS="-O2"
4555 else
4556 CFLAGS=
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4560 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4561 if ${ac_cv_prog_cc_c89+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 ac_cv_prog_cc_c89=no
4565 ac_save_CC=$CC
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4568 #include <stdarg.h>
4569 #include <stdio.h>
4570 struct stat;
4571 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4572 struct buf { int x; };
4573 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4574 static char *e (p, i)
4575 char **p;
4576 int i;
4578 return p[i];
4580 static char *f (char * (*g) (char **, int), char **p, ...)
4582 char *s;
4583 va_list v;
4584 va_start (v,p);
4585 s = g (p, va_arg (v,int));
4586 va_end (v);
4587 return s;
4590 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4591 function prototypes and stuff, but not '\xHH' hex character constants.
4592 These don't provoke an error unfortunately, instead are silently treated
4593 as 'x'. The following induces an error, until -std is added to get
4594 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4595 array size at least. It's necessary to write '\x00'==0 to get something
4596 that's true only with -std. */
4597 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4599 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4600 inside strings and character constants. */
4601 #define FOO(x) 'x'
4602 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4604 int test (int i, double x);
4605 struct s1 {int (*f) (int a);};
4606 struct s2 {int (*f) (double a);};
4607 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4608 int argc;
4609 char **argv;
4611 main ()
4613 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4615 return 0;
4617 _ACEOF
4618 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4619 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4621 CC="$ac_save_CC $ac_arg"
4622 if ac_fn_c_try_compile "$LINENO"; then :
4623 ac_cv_prog_cc_c89=$ac_arg
4625 rm -f core conftest.err conftest.$ac_objext
4626 test "x$ac_cv_prog_cc_c89" != "xno" && break
4627 done
4628 rm -f conftest.$ac_ext
4629 CC=$ac_save_CC
4632 # AC_CACHE_VAL
4633 case "x$ac_cv_prog_cc_c89" in
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4636 $as_echo "none needed" >&6; } ;;
4637 xno)
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4639 $as_echo "unsupported" >&6; } ;;
4641 CC="$CC $ac_cv_prog_cc_c89"
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4643 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4644 esac
4645 if test "x$ac_cv_prog_cc_c89" != xno; then :
4649 ac_ext=c
4650 ac_cpp='$CPP $CPPFLAGS'
4651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4655 ac_ext=cpp
4656 ac_cpp='$CXXCPP $CPPFLAGS'
4657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4660 if test -z "$CXX"; then
4661 if test -n "$CCC"; then
4662 CXX=$CCC
4663 else
4664 if test -n "$ac_tool_prefix"; then
4665 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4667 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4668 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if ${ac_cv_prog_CXX+:} false; then :
4672 $as_echo_n "(cached) " >&6
4673 else
4674 if test -n "$CXX"; then
4675 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4676 else
4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4678 for as_dir in $PATH
4680 IFS=$as_save_IFS
4681 test -z "$as_dir" && as_dir=.
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4690 IFS=$as_save_IFS
4694 CXX=$ac_cv_prog_CXX
4695 if test -n "$CXX"; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4697 $as_echo "$CXX" >&6; }
4698 else
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 $as_echo "no" >&6; }
4704 test -n "$CXX" && break
4705 done
4707 if test -z "$CXX"; then
4708 ac_ct_CXX=$CXX
4709 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4711 # Extract the first word of "$ac_prog", so it can be a program name with args.
4712 set dummy $ac_prog; ac_word=$2
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 $as_echo_n "checking for $ac_word... " >&6; }
4715 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4716 $as_echo_n "(cached) " >&6
4717 else
4718 if test -n "$ac_ct_CXX"; then
4719 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4720 else
4721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4722 for as_dir in $PATH
4724 IFS=$as_save_IFS
4725 test -z "$as_dir" && as_dir=.
4726 for ac_exec_ext in '' $ac_executable_extensions; do
4727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4728 ac_cv_prog_ac_ct_CXX="$ac_prog"
4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 break 2
4732 done
4733 done
4734 IFS=$as_save_IFS
4738 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4739 if test -n "$ac_ct_CXX"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4741 $as_echo "$ac_ct_CXX" >&6; }
4742 else
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4748 test -n "$ac_ct_CXX" && break
4749 done
4751 if test "x$ac_ct_CXX" = x; then
4752 CXX="g++"
4753 else
4754 case $cross_compiling:$ac_tool_warned in
4755 yes:)
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4758 ac_tool_warned=yes ;;
4759 esac
4760 CXX=$ac_ct_CXX
4766 # Provide some information about the compiler.
4767 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4768 set X $ac_compile
4769 ac_compiler=$2
4770 for ac_option in --version -v -V -qversion; do
4771 { { ac_try="$ac_compiler $ac_option >&5"
4772 case "(($ac_try" in
4773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4774 *) ac_try_echo=$ac_try;;
4775 esac
4776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4777 $as_echo "$ac_try_echo"; } >&5
4778 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4779 ac_status=$?
4780 if test -s conftest.err; then
4781 sed '10a\
4782 ... rest of stderr output deleted ...
4783 10q' conftest.err >conftest.er1
4784 cat conftest.er1 >&5
4786 rm -f conftest.er1 conftest.err
4787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788 test $ac_status = 0; }
4789 done
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4792 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4793 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4800 main ()
4802 #ifndef __GNUC__
4803 choke me
4804 #endif
4807 return 0;
4809 _ACEOF
4810 if ac_fn_cxx_try_compile "$LINENO"; then :
4811 ac_compiler_gnu=yes
4812 else
4813 ac_compiler_gnu=no
4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4816 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4820 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4821 if test $ac_compiler_gnu = yes; then
4822 GXX=yes
4823 else
4824 GXX=
4826 ac_test_CXXFLAGS=${CXXFLAGS+set}
4827 ac_save_CXXFLAGS=$CXXFLAGS
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4829 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4830 if ${ac_cv_prog_cxx_g+:} false; then :
4831 $as_echo_n "(cached) " >&6
4832 else
4833 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4834 ac_cxx_werror_flag=yes
4835 ac_cv_prog_cxx_g=no
4836 CXXFLAGS="-g"
4837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838 /* end confdefs.h. */
4841 main ()
4845 return 0;
4847 _ACEOF
4848 if ac_fn_cxx_try_compile "$LINENO"; then :
4849 ac_cv_prog_cxx_g=yes
4850 else
4851 CXXFLAGS=""
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4856 main ()
4860 return 0;
4862 _ACEOF
4863 if ac_fn_cxx_try_compile "$LINENO"; then :
4865 else
4866 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4867 CXXFLAGS="-g"
4868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4869 /* end confdefs.h. */
4872 main ()
4876 return 0;
4878 _ACEOF
4879 if ac_fn_cxx_try_compile "$LINENO"; then :
4880 ac_cv_prog_cxx_g=yes
4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4887 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4890 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4891 if test "$ac_test_CXXFLAGS" = set; then
4892 CXXFLAGS=$ac_save_CXXFLAGS
4893 elif test $ac_cv_prog_cxx_g = yes; then
4894 if test "$GXX" = yes; then
4895 CXXFLAGS="-g -O2"
4896 else
4897 CXXFLAGS="-g"
4899 else
4900 if test "$GXX" = yes; then
4901 CXXFLAGS="-O2"
4902 else
4903 CXXFLAGS=
4906 ac_ext=c
4907 ac_cpp='$CPP $CPPFLAGS'
4908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4912 if test -n "$ac_tool_prefix"; then
4913 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4914 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_CPPBIN+:} false; then :
4918 $as_echo_n "(cached) " >&6
4919 else
4920 if test -n "$CPPBIN"; then
4921 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4922 else
4923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4924 for as_dir in $PATH
4926 IFS=$as_save_IFS
4927 test -z "$as_dir" && as_dir=.
4928 for ac_exec_ext in '' $ac_executable_extensions; do
4929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4930 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 break 2
4934 done
4935 done
4936 IFS=$as_save_IFS
4940 CPPBIN=$ac_cv_prog_CPPBIN
4941 if test -n "$CPPBIN"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4943 $as_echo "$CPPBIN" >&6; }
4944 else
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4951 if test -z "$ac_cv_prog_CPPBIN"; then
4952 ac_ct_CPPBIN=$CPPBIN
4953 # Extract the first word of "cpp", so it can be a program name with args.
4954 set dummy cpp; ac_word=$2
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956 $as_echo_n "checking for $ac_word... " >&6; }
4957 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4958 $as_echo_n "(cached) " >&6
4959 else
4960 if test -n "$ac_ct_CPPBIN"; then
4961 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4962 else
4963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964 for as_dir in $PATH
4966 IFS=$as_save_IFS
4967 test -z "$as_dir" && as_dir=.
4968 for ac_exec_ext in '' $ac_executable_extensions; do
4969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4970 ac_cv_prog_ac_ct_CPPBIN="cpp"
4971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 break 2
4974 done
4975 done
4976 IFS=$as_save_IFS
4980 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4981 if test -n "$ac_ct_CPPBIN"; then
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4983 $as_echo "$ac_ct_CPPBIN" >&6; }
4984 else
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986 $as_echo "no" >&6; }
4989 if test "x$ac_ct_CPPBIN" = x; then
4990 CPPBIN="cpp"
4991 else
4992 case $cross_compiling:$ac_tool_warned in
4993 yes:)
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4996 ac_tool_warned=yes ;;
4997 esac
4998 CPPBIN=$ac_ct_CPPBIN
5000 else
5001 CPPBIN="$ac_cv_prog_CPPBIN"
5005 cat >>confdefs.h <<_ACEOF
5006 #define EXEEXT "$ac_exeext"
5007 _ACEOF
5009 if test -n "$ac_tool_prefix"; then
5010 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5011 set dummy ${ac_tool_prefix}ld; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_LD+:} false; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 if test -n "$LD"; then
5018 ac_cv_prog_LD="$LD" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5023 IFS=$as_save_IFS
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_LD="${ac_tool_prefix}ld"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 LD=$ac_cv_prog_LD
5038 if test -n "$LD"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5040 $as_echo "$LD" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5048 if test -z "$ac_cv_prog_LD"; then
5049 ac_ct_LD=$LD
5050 # Extract the first word of "ld", so it can be a program name with args.
5051 set dummy ld; ac_word=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5055 $as_echo_n "(cached) " >&6
5056 else
5057 if test -n "$ac_ct_LD"; then
5058 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5063 IFS=$as_save_IFS
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5067 ac_cv_prog_ac_ct_LD="ld"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 break 2
5071 done
5072 done
5073 IFS=$as_save_IFS
5077 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5078 if test -n "$ac_ct_LD"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5080 $as_echo "$ac_ct_LD" >&6; }
5081 else
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5086 if test "x$ac_ct_LD" = x; then
5087 LD=""
5088 else
5089 case $cross_compiling:$ac_tool_warned in
5090 yes:)
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned=yes ;;
5094 esac
5095 LD=$ac_ct_LD
5097 else
5098 LD="$ac_cv_prog_LD"
5102 case $host in
5103 *-darwin*)
5104 with_fontconfig=${with_fontconfig:-no}
5106 *-mingw32*|*-cygwin*)
5107 enable_win16=${enable_win16:-no}
5108 CFLAGS="$CFLAGS -D_WIN32"
5110 esac
5112 case $host in
5113 x86_64*|amd64*)
5114 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5115 then
5116 CC="$CC -m32"
5117 CXX="$CXX -m32"
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5119 $as_echo_n "checking whether $CC works... " >&6; }
5121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5122 /* end confdefs.h. */
5125 main ()
5129 return 0;
5131 _ACEOF
5132 if ac_fn_c_try_link "$LINENO"; then :
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5134 $as_echo "yes" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5138 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5140 rm -f core conftest.err conftest.$ac_objext \
5141 conftest$ac_exeext conftest.$ac_ext
5142 host_cpu="i386"
5143 notice_platform="32-bit "
5144 TARGETFLAGS="-m32"
5146 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5147 export PKG_CONFIG_PATH
5148 enable_win16=${enable_win16:-yes}
5149 else
5150 if test "x${GCC}" = "xyes"
5151 then
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5153 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5155 /* end confdefs.h. */
5156 #include <stdarg.h>
5158 main ()
5160 void func(__builtin_ms_va_list *args);
5162 return 0;
5164 _ACEOF
5165 if ac_fn_c_try_compile "$LINENO"; then :
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5167 $as_echo "yes" >&6; }
5168 else
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5170 $as_echo "no" >&6; }
5171 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5175 CC="$CC -m64"
5176 CXX="$CXX -m64"
5177 host_cpu="x86_64"
5178 notice_platform="64-bit "
5179 TARGETFLAGS="-m64"
5183 arm*)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5185 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5188 int ac_test(int i) { return i; }
5190 main ()
5192 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5194 return 0;
5196 _ACEOF
5197 if ac_fn_c_try_link "$LINENO"; then :
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5199 $as_echo "yes" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5203 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5205 rm -f core conftest.err conftest.$ac_objext \
5206 conftest$ac_exeext conftest.$ac_ext
5207 CFLAGS="$CFLAGS -marm"
5208 TARGETFLAGS="-marm"
5211 i[3456789]86*)
5212 enable_win16=${enable_win16:-yes}
5214 esac
5216 enable_win16=${enable_win16:-no}
5217 enable_win64=${enable_win64:-no}
5219 enable_winetest=${enable_winetest:-$enable_tests}
5221 if test -n "$with_wine64"
5222 then
5223 if test "x$enable_win64" = "xyes"
5224 then
5225 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5226 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5228 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5229 You should create a separate build directory and run configure from there." "$LINENO" 5
5230 enable_fonts=${enable_fonts:-no}
5231 enable_server=${enable_server:-no}
5232 elif test "x$enable_win64" = "xyes"
5233 then
5234 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5238 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5239 if ${wine_cv_toolsdir+:} false; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 wine_cv_toolsdir="$with_wine_tools"
5243 if test -z "$with_wine_tools"; then
5244 if test "$cross_compiling" = "yes"; then
5245 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5246 elif test -n "$with_wine64"; then
5247 wine_cv_toolsdir="$with_wine64"
5250 if test -z "$wine_cv_toolsdir"; then
5251 wine_makedep=tools/makedep
5252 wine_cv_toolsdir="\$(top_builddir)"
5253 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5254 wine_makedep=$wine_cv_toolsdir/tools/makedep
5255 case "$wine_cv_toolsdir" in
5256 /*) ;;
5257 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5258 esac
5259 enable_tools=${enable_tools:-no}
5260 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5261 else
5262 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5266 $as_echo "$wine_cv_toolsdir" >&6; }
5267 TOOLSDIR=$wine_cv_toolsdir
5269 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5270 then
5271 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5275 for ac_prog in flex
5277 # Extract the first word of "$ac_prog", so it can be a program name with args.
5278 set dummy $ac_prog; ac_word=$2
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5280 $as_echo_n "checking for $ac_word... " >&6; }
5281 if ${ac_cv_prog_FLEX+:} false; then :
5282 $as_echo_n "(cached) " >&6
5283 else
5284 if test -n "$FLEX"; then
5285 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5286 else
5287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288 for as_dir in $PATH
5290 IFS=$as_save_IFS
5291 test -z "$as_dir" && as_dir=.
5292 for ac_exec_ext in '' $ac_executable_extensions; do
5293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_FLEX="$ac_prog"
5295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 break 2
5298 done
5299 done
5300 IFS=$as_save_IFS
5304 FLEX=$ac_cv_prog_FLEX
5305 if test -n "$FLEX"; then
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5307 $as_echo "$FLEX" >&6; }
5308 else
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5310 $as_echo "no" >&6; }
5314 test -n "$FLEX" && break
5315 done
5316 test -n "$FLEX" || FLEX="none"
5318 if test "$FLEX" = "none"
5319 then
5320 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5323 $as_echo_n "checking whether flex is recent enough... " >&6; }
5324 cat >conftest.l <<EOF
5325 %top{
5326 #include "prediluvian.h"
5330 if $FLEX -t conftest.l >/dev/null 2>&5
5331 then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5333 $as_echo "yes" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5337 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5340 for ac_prog in bison
5342 # Extract the first word of "$ac_prog", so it can be a program name with args.
5343 set dummy $ac_prog; ac_word=$2
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5345 $as_echo_n "checking for $ac_word... " >&6; }
5346 if ${ac_cv_prog_BISON+:} false; then :
5347 $as_echo_n "(cached) " >&6
5348 else
5349 if test -n "$BISON"; then
5350 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5351 else
5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 for as_dir in $PATH
5355 IFS=$as_save_IFS
5356 test -z "$as_dir" && as_dir=.
5357 for ac_exec_ext in '' $ac_executable_extensions; do
5358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5359 ac_cv_prog_BISON="$ac_prog"
5360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5361 break 2
5363 done
5364 done
5365 IFS=$as_save_IFS
5369 BISON=$ac_cv_prog_BISON
5370 if test -n "$BISON"; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5372 $as_echo "$BISON" >&6; }
5373 else
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5375 $as_echo "no" >&6; }
5379 test -n "$BISON" && break
5380 done
5381 test -n "$BISON" || BISON="none"
5383 if test "$BISON" = "none"
5384 then
5385 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5388 if test -n "$ac_tool_prefix"; then
5389 for ac_prog in ar gar
5391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5392 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if ${ac_cv_prog_AR+:} false; then :
5396 $as_echo_n "(cached) " >&6
5397 else
5398 if test -n "$AR"; then
5399 ac_cv_prog_AR="$AR" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5408 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 AR=$ac_cv_prog_AR
5419 if test -n "$AR"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5421 $as_echo "$AR" >&6; }
5422 else
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5428 test -n "$AR" && break
5429 done
5431 if test -z "$AR"; then
5432 ac_ct_AR=$AR
5433 for ac_prog in ar gar
5435 # Extract the first word of "$ac_prog", so it can be a program name with args.
5436 set dummy $ac_prog; ac_word=$2
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5438 $as_echo_n "checking for $ac_word... " >&6; }
5439 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5440 $as_echo_n "(cached) " >&6
5441 else
5442 if test -n "$ac_ct_AR"; then
5443 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5444 else
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5452 ac_cv_prog_ac_ct_AR="$ac_prog"
5453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 break 2
5456 done
5457 done
5458 IFS=$as_save_IFS
5462 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5463 if test -n "$ac_ct_AR"; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5465 $as_echo "$ac_ct_AR" >&6; }
5466 else
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5468 $as_echo "no" >&6; }
5472 test -n "$ac_ct_AR" && break
5473 done
5475 if test "x$ac_ct_AR" = x; then
5476 AR="ar"
5477 else
5478 case $cross_compiling:$ac_tool_warned in
5479 yes:)
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5482 ac_tool_warned=yes ;;
5483 esac
5484 AR=$ac_ct_AR
5488 if test -n "$ac_tool_prefix"; then
5489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5490 set dummy ${ac_tool_prefix}strip; ac_word=$2
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5492 $as_echo_n "checking for $ac_word... " >&6; }
5493 if ${ac_cv_prog_STRIP+:} false; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if test -n "$STRIP"; then
5497 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5498 else
5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 for as_dir in $PATH
5502 IFS=$as_save_IFS
5503 test -z "$as_dir" && as_dir=.
5504 for ac_exec_ext in '' $ac_executable_extensions; do
5505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5506 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5508 break 2
5510 done
5511 done
5512 IFS=$as_save_IFS
5516 STRIP=$ac_cv_prog_STRIP
5517 if test -n "$STRIP"; then
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5519 $as_echo "$STRIP" >&6; }
5520 else
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5522 $as_echo "no" >&6; }
5527 if test -z "$ac_cv_prog_STRIP"; then
5528 ac_ct_STRIP=$STRIP
5529 # Extract the first word of "strip", so it can be a program name with args.
5530 set dummy strip; ac_word=$2
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5532 $as_echo_n "checking for $ac_word... " >&6; }
5533 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5534 $as_echo_n "(cached) " >&6
5535 else
5536 if test -n "$ac_ct_STRIP"; then
5537 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5538 else
5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 for as_dir in $PATH
5542 IFS=$as_save_IFS
5543 test -z "$as_dir" && as_dir=.
5544 for ac_exec_ext in '' $ac_executable_extensions; do
5545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5546 ac_cv_prog_ac_ct_STRIP="strip"
5547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5548 break 2
5550 done
5551 done
5552 IFS=$as_save_IFS
5556 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5557 if test -n "$ac_ct_STRIP"; then
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5559 $as_echo "$ac_ct_STRIP" >&6; }
5560 else
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5562 $as_echo "no" >&6; }
5565 if test "x$ac_ct_STRIP" = x; then
5566 STRIP="strip"
5567 else
5568 case $cross_compiling:$ac_tool_warned in
5569 yes:)
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5572 ac_tool_warned=yes ;;
5573 esac
5574 STRIP=$ac_ct_STRIP
5576 else
5577 STRIP="$ac_cv_prog_STRIP"
5580 ARFLAGS=rc
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_RANLIB+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 if test -n "$RANLIB"; then
5591 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 RANLIB=$ac_cv_prog_RANLIB
5611 if test -n "$RANLIB"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5613 $as_echo "$RANLIB" >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5621 if test -z "$ac_cv_prog_RANLIB"; then
5622 ac_ct_RANLIB=$RANLIB
5623 # Extract the first word of "ranlib", so it can be a program name with args.
5624 set dummy ranlib; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5628 $as_echo_n "(cached) " >&6
5629 else
5630 if test -n "$ac_ct_RANLIB"; then
5631 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5640 ac_cv_prog_ac_ct_RANLIB="ranlib"
5641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5651 if test -n "$ac_ct_RANLIB"; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5653 $as_echo "$ac_ct_RANLIB" >&6; }
5654 else
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5659 if test "x$ac_ct_RANLIB" = x; then
5660 RANLIB=":"
5661 else
5662 case $cross_compiling:$ac_tool_warned in
5663 yes:)
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5666 ac_tool_warned=yes ;;
5667 esac
5668 RANLIB=$ac_ct_RANLIB
5670 else
5671 RANLIB="$ac_cv_prog_RANLIB"
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5675 $as_echo_n "checking whether ln -s works... " >&6; }
5676 LN_S=$as_ln_s
5677 if test "$LN_S" = "ln -s"; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5679 $as_echo "yes" >&6; }
5680 else
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5682 $as_echo "no, using $LN_S" >&6; }
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5686 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5687 if ${ac_cv_path_GREP+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if test -z "$GREP"; then
5691 ac_path_GREP_found=false
5692 # Loop through the user's path and test for each of PROGNAME-LIST
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_prog in grep ggrep; do
5699 for ac_exec_ext in '' $ac_executable_extensions; do
5700 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5701 as_fn_executable_p "$ac_path_GREP" || continue
5702 # Check for GNU ac_path_GREP and select it if it is found.
5703 # Check for GNU $ac_path_GREP
5704 case `"$ac_path_GREP" --version 2>&1` in
5705 *GNU*)
5706 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5708 ac_count=0
5709 $as_echo_n 0123456789 >"conftest.in"
5710 while :
5712 cat "conftest.in" "conftest.in" >"conftest.tmp"
5713 mv "conftest.tmp" "conftest.in"
5714 cp "conftest.in" "conftest.nl"
5715 $as_echo 'GREP' >> "conftest.nl"
5716 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5717 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5718 as_fn_arith $ac_count + 1 && ac_count=$as_val
5719 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5720 # Best one so far, save it but keep looking for a better one
5721 ac_cv_path_GREP="$ac_path_GREP"
5722 ac_path_GREP_max=$ac_count
5724 # 10*(2^10) chars as input seems more than enough
5725 test $ac_count -gt 10 && break
5726 done
5727 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5728 esac
5730 $ac_path_GREP_found && break 3
5731 done
5732 done
5733 done
5734 IFS=$as_save_IFS
5735 if test -z "$ac_cv_path_GREP"; then
5736 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5738 else
5739 ac_cv_path_GREP=$GREP
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5744 $as_echo "$ac_cv_path_GREP" >&6; }
5745 GREP="$ac_cv_path_GREP"
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5749 $as_echo_n "checking for egrep... " >&6; }
5750 if ${ac_cv_path_EGREP+:} false; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5754 then ac_cv_path_EGREP="$GREP -E"
5755 else
5756 if test -z "$EGREP"; then
5757 ac_path_EGREP_found=false
5758 # Loop through the user's path and test for each of PROGNAME-LIST
5759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5762 IFS=$as_save_IFS
5763 test -z "$as_dir" && as_dir=.
5764 for ac_prog in egrep; do
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5767 as_fn_executable_p "$ac_path_EGREP" || continue
5768 # Check for GNU ac_path_EGREP and select it if it is found.
5769 # Check for GNU $ac_path_EGREP
5770 case `"$ac_path_EGREP" --version 2>&1` in
5771 *GNU*)
5772 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5774 ac_count=0
5775 $as_echo_n 0123456789 >"conftest.in"
5776 while :
5778 cat "conftest.in" "conftest.in" >"conftest.tmp"
5779 mv "conftest.tmp" "conftest.in"
5780 cp "conftest.in" "conftest.nl"
5781 $as_echo 'EGREP' >> "conftest.nl"
5782 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5783 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5784 as_fn_arith $ac_count + 1 && ac_count=$as_val
5785 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5786 # Best one so far, save it but keep looking for a better one
5787 ac_cv_path_EGREP="$ac_path_EGREP"
5788 ac_path_EGREP_max=$ac_count
5790 # 10*(2^10) chars as input seems more than enough
5791 test $ac_count -gt 10 && break
5792 done
5793 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5794 esac
5796 $ac_path_EGREP_found && break 3
5797 done
5798 done
5799 done
5800 IFS=$as_save_IFS
5801 if test -z "$ac_cv_path_EGREP"; then
5802 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5804 else
5805 ac_cv_path_EGREP=$EGREP
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5811 $as_echo "$ac_cv_path_EGREP" >&6; }
5812 EGREP="$ac_cv_path_EGREP"
5815 # Extract the first word of "ldconfig", so it can be a program name with args.
5816 set dummy ldconfig; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_path_LDCONFIG+:} false; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 case $LDCONFIG in
5823 [\\/]* | ?:[\\/]*)
5824 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 for as_dir in /sbin /usr/sbin $PATH
5830 IFS=$as_save_IFS
5831 test -z "$as_dir" && as_dir=.
5832 for ac_exec_ext in '' $ac_executable_extensions; do
5833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5834 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 break 2
5838 done
5839 done
5840 IFS=$as_save_IFS
5842 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5844 esac
5846 LDCONFIG=$ac_cv_path_LDCONFIG
5847 if test -n "$LDCONFIG"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5849 $as_echo "$LDCONFIG" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 for ac_prog in msgfmt
5858 # Extract the first word of "$ac_prog", so it can be a program name with args.
5859 set dummy $ac_prog; ac_word=$2
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5861 $as_echo_n "checking for $ac_word... " >&6; }
5862 if ${ac_cv_prog_MSGFMT+:} false; then :
5863 $as_echo_n "(cached) " >&6
5864 else
5865 if test -n "$MSGFMT"; then
5866 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5867 else
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 for as_dir in $PATH
5871 IFS=$as_save_IFS
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_MSGFMT="$ac_prog"
5876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 break 2
5879 done
5880 done
5881 IFS=$as_save_IFS
5885 MSGFMT=$ac_cv_prog_MSGFMT
5886 if test -n "$MSGFMT"; then
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5888 $as_echo "$MSGFMT" >&6; }
5889 else
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5891 $as_echo "no" >&6; }
5895 test -n "$MSGFMT" && break
5896 done
5897 test -n "$MSGFMT" || MSGFMT="false"
5899 if ${ac_tool_prefix+:} false; then :
5900 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5901 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$PKG_CONFIG"; then
5908 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5928 if test -n "$PKG_CONFIG"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5930 $as_echo "$PKG_CONFIG" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5938 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5939 if test "x$cross_compiling" = xyes; then :
5941 else
5942 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5943 # Extract the first word of "pkg-config", so it can be a program name with args.
5944 set dummy pkg-config; ac_word=$2
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5946 $as_echo_n "checking for $ac_word... " >&6; }
5947 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5948 $as_echo_n "(cached) " >&6
5949 else
5950 if test -n "$PKG_CONFIG"; then
5951 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5952 else
5953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5954 for as_dir in $PATH
5956 IFS=$as_save_IFS
5957 test -z "$as_dir" && as_dir=.
5958 for ac_exec_ext in '' $ac_executable_extensions; do
5959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5960 ac_cv_prog_PKG_CONFIG="pkg-config"
5961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 break 2
5964 done
5965 done
5966 IFS=$as_save_IFS
5970 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5971 if test -n "$PKG_CONFIG"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5973 $as_echo "$PKG_CONFIG" >&6; }
5974 else
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5981 else
5982 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5985 if test "x$enable_maintainer_mode" != "xyes"
5986 then
5987 FONTFORGE=""
5988 RSVG=""
5989 CONVERT=""
5990 ICOTOOL=""
5991 else
5992 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5993 for ac_prog in fontforge
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5998 $as_echo_n "checking for $ac_word... " >&6; }
5999 if ${ac_cv_prog_FONTFORGE+:} false; then :
6000 $as_echo_n "(cached) " >&6
6001 else
6002 if test -n "$FONTFORGE"; then
6003 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_FONTFORGE="$ac_prog"
6013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 FONTFORGE=$ac_cv_prog_FONTFORGE
6023 if test -n "$FONTFORGE"; then
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6025 $as_echo "$FONTFORGE" >&6; }
6026 else
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6028 $as_echo "no" >&6; }
6032 test -n "$FONTFORGE" && break
6033 done
6034 test -n "$FONTFORGE" || FONTFORGE="false"
6036 for ac_prog in rsvg-convert rsvg
6038 # Extract the first word of "$ac_prog", so it can be a program name with args.
6039 set dummy $ac_prog; ac_word=$2
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6041 $as_echo_n "checking for $ac_word... " >&6; }
6042 if ${ac_cv_prog_RSVG+:} false; then :
6043 $as_echo_n "(cached) " >&6
6044 else
6045 if test -n "$RSVG"; then
6046 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6047 else
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 for as_dir in $PATH
6051 IFS=$as_save_IFS
6052 test -z "$as_dir" && as_dir=.
6053 for ac_exec_ext in '' $ac_executable_extensions; do
6054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6055 ac_cv_prog_RSVG="$ac_prog"
6056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6057 break 2
6059 done
6060 done
6061 IFS=$as_save_IFS
6065 RSVG=$ac_cv_prog_RSVG
6066 if test -n "$RSVG"; then
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6068 $as_echo "$RSVG" >&6; }
6069 else
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6071 $as_echo "no" >&6; }
6075 test -n "$RSVG" && break
6076 done
6077 test -n "$RSVG" || RSVG="false"
6079 for ac_prog in convert
6081 # Extract the first word of "$ac_prog", so it can be a program name with args.
6082 set dummy $ac_prog; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084 $as_echo_n "checking for $ac_word... " >&6; }
6085 if ${ac_cv_prog_CONVERT+:} false; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 if test -n "$CONVERT"; then
6089 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6090 else
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $PATH
6094 IFS=$as_save_IFS
6095 test -z "$as_dir" && as_dir=.
6096 for ac_exec_ext in '' $ac_executable_extensions; do
6097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6098 ac_cv_prog_CONVERT="$ac_prog"
6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6100 break 2
6102 done
6103 done
6104 IFS=$as_save_IFS
6108 CONVERT=$ac_cv_prog_CONVERT
6109 if test -n "$CONVERT"; then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6111 $as_echo "$CONVERT" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6118 test -n "$CONVERT" && break
6119 done
6120 test -n "$CONVERT" || CONVERT="false"
6122 for ac_prog in icotool
6124 # Extract the first word of "$ac_prog", so it can be a program name with args.
6125 set dummy $ac_prog; ac_word=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if ${ac_cv_prog_ICOTOOL+:} false; then :
6129 $as_echo_n "(cached) " >&6
6130 else
6131 if test -n "$ICOTOOL"; then
6132 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6133 else
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH
6137 IFS=$as_save_IFS
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6141 ac_cv_prog_ICOTOOL="$ac_prog"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6143 break 2
6145 done
6146 done
6147 IFS=$as_save_IFS
6151 ICOTOOL=$ac_cv_prog_ICOTOOL
6152 if test -n "$ICOTOOL"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6154 $as_echo "$ICOTOOL" >&6; }
6155 else
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6161 test -n "$ICOTOOL" && break
6162 done
6163 test -n "$ICOTOOL" || ICOTOOL="false"
6165 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6166 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6168 if test "$CONVERT" = false
6169 then
6170 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6171 else
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6173 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6174 convert_version=`convert --version | head -n1`
6175 if test "x$convert_version" != "x"
6176 then
6177 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6178 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6179 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6180 then
6181 CONVERT=false
6184 if test "$CONVERT" = false
6185 then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6187 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6188 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6189 else
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6191 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6195 if test "$ICOTOOL" = false
6196 then
6197 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6198 else
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6200 $as_echo_n "checking for recent enough icotool... " >&6; }
6201 icotool_version=`icotool --version | head -n1`
6202 if test "x$icotool_version" != "x"
6203 then
6204 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6205 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6206 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6207 then
6208 ICOTOOL=false
6209 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6212 if test "$ICOTOOL" = false
6213 then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6215 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6216 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6219 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6223 with_gettext=yes
6224 with_gettextpo=yes
6225 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6228 test "x$with_gettext" != xno || MSGFMT=false
6229 if test "$MSGFMT" != "false"
6230 then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6232 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6233 cat >conftest.po <<EOF
6234 # comment
6235 msgctxt "ctxt"
6236 msgid "id"
6237 msgstr "str"
6239 if $MSGFMT -o /dev/null conftest.po 2>&5
6240 then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6242 $as_echo "yes" >&6; }
6243 else
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6245 $as_echo "no" >&6; }
6246 MSGFMT=false
6249 if test "$MSGFMT" = false; then :
6250 case "x$with_gettext" in
6251 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6252 xno) ;;
6253 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6254 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6255 esac
6256 enable_po=${enable_po:-no}
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6261 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6262 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6263 $as_echo_n "(cached) " >&6
6264 else
6265 ac_check_lib_save_LIBS=$LIBS
6266 LIBS="-li386 $LIBS"
6267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6268 /* end confdefs.h. */
6270 /* Override any GCC internal prototype to avoid an error.
6271 Use char because int might match the return type of a GCC
6272 builtin and then its argument prototype would still apply. */
6273 #ifdef __cplusplus
6274 extern "C"
6275 #endif
6276 char i386_set_ldt ();
6278 main ()
6280 return i386_set_ldt ();
6282 return 0;
6284 _ACEOF
6285 if ac_fn_c_try_link "$LINENO"; then :
6286 ac_cv_lib_i386_i386_set_ldt=yes
6287 else
6288 ac_cv_lib_i386_i386_set_ldt=no
6290 rm -f core conftest.err conftest.$ac_objext \
6291 conftest$ac_exeext conftest.$ac_ext
6292 LIBS=$ac_check_lib_save_LIBS
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6295 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6296 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6297 cat >>confdefs.h <<_ACEOF
6298 #define HAVE_LIBI386 1
6299 _ACEOF
6301 LIBS="-li386 $LIBS"
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6306 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6307 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6308 $as_echo_n "(cached) " >&6
6309 else
6310 ac_check_lib_save_LIBS=$LIBS
6311 LIBS="-lossaudio $LIBS"
6312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6313 /* end confdefs.h. */
6315 /* Override any GCC internal prototype to avoid an error.
6316 Use char because int might match the return type of a GCC
6317 builtin and then its argument prototype would still apply. */
6318 #ifdef __cplusplus
6319 extern "C"
6320 #endif
6321 char _oss_ioctl ();
6323 main ()
6325 return _oss_ioctl ();
6327 return 0;
6329 _ACEOF
6330 if ac_fn_c_try_link "$LINENO"; then :
6331 ac_cv_lib_ossaudio__oss_ioctl=yes
6332 else
6333 ac_cv_lib_ossaudio__oss_ioctl=no
6335 rm -f core conftest.err conftest.$ac_objext \
6336 conftest$ac_exeext conftest.$ac_ext
6337 LIBS=$ac_check_lib_save_LIBS
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6340 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6341 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6342 cat >>confdefs.h <<_ACEOF
6343 #define HAVE_LIBOSSAUDIO 1
6344 _ACEOF
6346 LIBS="-lossaudio $LIBS"
6351 OPENGL_LIBS=""
6355 # Check whether --enable-largefile was given.
6356 if test "${enable_largefile+set}" = set; then :
6357 enableval=$enable_largefile;
6360 if test "$enable_largefile" != no; then
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6363 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6364 if ${ac_cv_sys_largefile_CC+:} false; then :
6365 $as_echo_n "(cached) " >&6
6366 else
6367 ac_cv_sys_largefile_CC=no
6368 if test "$GCC" != yes; then
6369 ac_save_CC=$CC
6370 while :; do
6371 # IRIX 6.2 and later do not support large files by default,
6372 # so use the C compiler's -n32 option if that helps.
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6375 #include <sys/types.h>
6376 /* Check that off_t can represent 2**63 - 1 correctly.
6377 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6378 since some C++ compilers masquerading as C compilers
6379 incorrectly reject 9223372036854775807. */
6380 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6381 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6382 && LARGE_OFF_T % 2147483647 == 1)
6383 ? 1 : -1];
6385 main ()
6389 return 0;
6391 _ACEOF
6392 if ac_fn_c_try_compile "$LINENO"; then :
6393 break
6395 rm -f core conftest.err conftest.$ac_objext
6396 CC="$CC -n32"
6397 if ac_fn_c_try_compile "$LINENO"; then :
6398 ac_cv_sys_largefile_CC=' -n32'; break
6400 rm -f core conftest.err conftest.$ac_objext
6401 break
6402 done
6403 CC=$ac_save_CC
6404 rm -f conftest.$ac_ext
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6408 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6409 if test "$ac_cv_sys_largefile_CC" != no; then
6410 CC=$CC$ac_cv_sys_largefile_CC
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6414 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6415 if ${ac_cv_sys_file_offset_bits+:} false; then :
6416 $as_echo_n "(cached) " >&6
6417 else
6418 while :; do
6419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6420 /* end confdefs.h. */
6421 #include <sys/types.h>
6422 /* Check that off_t can represent 2**63 - 1 correctly.
6423 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6424 since some C++ compilers masquerading as C compilers
6425 incorrectly reject 9223372036854775807. */
6426 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6427 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6428 && LARGE_OFF_T % 2147483647 == 1)
6429 ? 1 : -1];
6431 main ()
6435 return 0;
6437 _ACEOF
6438 if ac_fn_c_try_compile "$LINENO"; then :
6439 ac_cv_sys_file_offset_bits=no; break
6441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6443 /* end confdefs.h. */
6444 #define _FILE_OFFSET_BITS 64
6445 #include <sys/types.h>
6446 /* Check that off_t can represent 2**63 - 1 correctly.
6447 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6448 since some C++ compilers masquerading as C compilers
6449 incorrectly reject 9223372036854775807. */
6450 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6451 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6452 && LARGE_OFF_T % 2147483647 == 1)
6453 ? 1 : -1];
6455 main ()
6459 return 0;
6461 _ACEOF
6462 if ac_fn_c_try_compile "$LINENO"; then :
6463 ac_cv_sys_file_offset_bits=64; break
6465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6466 ac_cv_sys_file_offset_bits=unknown
6467 break
6468 done
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6471 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6472 case $ac_cv_sys_file_offset_bits in #(
6473 no | unknown) ;;
6475 cat >>confdefs.h <<_ACEOF
6476 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6477 _ACEOF
6479 esac
6480 rm -rf conftest*
6481 if test $ac_cv_sys_file_offset_bits = unknown; then
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6483 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6484 if ${ac_cv_sys_large_files+:} false; then :
6485 $as_echo_n "(cached) " >&6
6486 else
6487 while :; do
6488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6489 /* end confdefs.h. */
6490 #include <sys/types.h>
6491 /* Check that off_t can represent 2**63 - 1 correctly.
6492 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6493 since some C++ compilers masquerading as C compilers
6494 incorrectly reject 9223372036854775807. */
6495 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6496 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6497 && LARGE_OFF_T % 2147483647 == 1)
6498 ? 1 : -1];
6500 main ()
6504 return 0;
6506 _ACEOF
6507 if ac_fn_c_try_compile "$LINENO"; then :
6508 ac_cv_sys_large_files=no; break
6510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #define _LARGE_FILES 1
6514 #include <sys/types.h>
6515 /* Check that off_t can represent 2**63 - 1 correctly.
6516 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6517 since some C++ compilers masquerading as C compilers
6518 incorrectly reject 9223372036854775807. */
6519 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6520 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6521 && LARGE_OFF_T % 2147483647 == 1)
6522 ? 1 : -1];
6524 main ()
6528 return 0;
6530 _ACEOF
6531 if ac_fn_c_try_compile "$LINENO"; then :
6532 ac_cv_sys_large_files=1; break
6534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6535 ac_cv_sys_large_files=unknown
6536 break
6537 done
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6540 $as_echo "$ac_cv_sys_large_files" >&6; }
6541 case $ac_cv_sys_large_files in #(
6542 no | unknown) ;;
6544 cat >>confdefs.h <<_ACEOF
6545 #define _LARGE_FILES $ac_cv_sys_large_files
6546 _ACEOF
6548 esac
6549 rm -rf conftest*
6556 ac_ext=c
6557 ac_cpp='$CPP $CPPFLAGS'
6558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6562 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6563 # On Suns, sometimes $CPP names a directory.
6564 if test -n "$CPP" && test -d "$CPP"; then
6565 CPP=
6567 if test -z "$CPP"; then
6568 if ${ac_cv_prog_CPP+:} false; then :
6569 $as_echo_n "(cached) " >&6
6570 else
6571 # Double quotes because CPP needs to be expanded
6572 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6574 ac_preproc_ok=false
6575 for ac_c_preproc_warn_flag in '' yes
6577 # Use a header file that comes with gcc, so configuring glibc
6578 # with a fresh cross-compiler works.
6579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6580 # <limits.h> exists even on freestanding compilers.
6581 # On the NeXT, cc -E runs the code through the compiler's parser,
6582 # not just through cpp. "Syntax error" is here to catch this case.
6583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6584 /* end confdefs.h. */
6585 #ifdef __STDC__
6586 # include <limits.h>
6587 #else
6588 # include <assert.h>
6589 #endif
6590 Syntax error
6591 _ACEOF
6592 if ac_fn_c_try_cpp "$LINENO"; then :
6594 else
6595 # Broken: fails on valid input.
6596 continue
6598 rm -f conftest.err conftest.i conftest.$ac_ext
6600 # OK, works on sane cases. Now check whether nonexistent headers
6601 # can be detected and how.
6602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6603 /* end confdefs.h. */
6604 #include <ac_nonexistent.h>
6605 _ACEOF
6606 if ac_fn_c_try_cpp "$LINENO"; then :
6607 # Broken: success on invalid input.
6608 continue
6609 else
6610 # Passes both tests.
6611 ac_preproc_ok=:
6612 break
6614 rm -f conftest.err conftest.i conftest.$ac_ext
6616 done
6617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6618 rm -f conftest.i conftest.err conftest.$ac_ext
6619 if $ac_preproc_ok; then :
6620 break
6623 done
6624 ac_cv_prog_CPP=$CPP
6627 CPP=$ac_cv_prog_CPP
6628 else
6629 ac_cv_prog_CPP=$CPP
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6632 $as_echo "$CPP" >&6; }
6633 ac_preproc_ok=false
6634 for ac_c_preproc_warn_flag in '' yes
6636 # Use a header file that comes with gcc, so configuring glibc
6637 # with a fresh cross-compiler works.
6638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6639 # <limits.h> exists even on freestanding compilers.
6640 # On the NeXT, cc -E runs the code through the compiler's parser,
6641 # not just through cpp. "Syntax error" is here to catch this case.
6642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 #ifdef __STDC__
6645 # include <limits.h>
6646 #else
6647 # include <assert.h>
6648 #endif
6649 Syntax error
6650 _ACEOF
6651 if ac_fn_c_try_cpp "$LINENO"; then :
6653 else
6654 # Broken: fails on valid input.
6655 continue
6657 rm -f conftest.err conftest.i conftest.$ac_ext
6659 # OK, works on sane cases. Now check whether nonexistent headers
6660 # can be detected and how.
6661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6662 /* end confdefs.h. */
6663 #include <ac_nonexistent.h>
6664 _ACEOF
6665 if ac_fn_c_try_cpp "$LINENO"; then :
6666 # Broken: success on invalid input.
6667 continue
6668 else
6669 # Passes both tests.
6670 ac_preproc_ok=:
6671 break
6673 rm -f conftest.err conftest.i conftest.$ac_ext
6675 done
6676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6677 rm -f conftest.i conftest.err conftest.$ac_ext
6678 if $ac_preproc_ok; then :
6680 else
6681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6683 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6684 See \`config.log' for more details" "$LINENO" 5; }
6687 ac_ext=c
6688 ac_cpp='$CPP $CPPFLAGS'
6689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6695 $as_echo_n "checking for ANSI C header files... " >&6; }
6696 if ${ac_cv_header_stdc+:} false; then :
6697 $as_echo_n "(cached) " >&6
6698 else
6699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6700 /* end confdefs.h. */
6701 #include <stdlib.h>
6702 #include <stdarg.h>
6703 #include <string.h>
6704 #include <float.h>
6707 main ()
6711 return 0;
6713 _ACEOF
6714 if ac_fn_c_try_compile "$LINENO"; then :
6715 ac_cv_header_stdc=yes
6716 else
6717 ac_cv_header_stdc=no
6719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6721 if test $ac_cv_header_stdc = yes; then
6722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6725 #include <string.h>
6727 _ACEOF
6728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6729 $EGREP "memchr" >/dev/null 2>&1; then :
6731 else
6732 ac_cv_header_stdc=no
6734 rm -f conftest*
6738 if test $ac_cv_header_stdc = yes; then
6739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6741 /* end confdefs.h. */
6742 #include <stdlib.h>
6744 _ACEOF
6745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6746 $EGREP "free" >/dev/null 2>&1; then :
6748 else
6749 ac_cv_header_stdc=no
6751 rm -f conftest*
6755 if test $ac_cv_header_stdc = yes; then
6756 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6757 if test "$cross_compiling" = yes; then :
6759 else
6760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6762 #include <ctype.h>
6763 #include <stdlib.h>
6764 #if ((' ' & 0x0FF) == 0x020)
6765 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6766 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6767 #else
6768 # define ISLOWER(c) \
6769 (('a' <= (c) && (c) <= 'i') \
6770 || ('j' <= (c) && (c) <= 'r') \
6771 || ('s' <= (c) && (c) <= 'z'))
6772 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6773 #endif
6775 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6777 main ()
6779 int i;
6780 for (i = 0; i < 256; i++)
6781 if (XOR (islower (i), ISLOWER (i))
6782 || toupper (i) != TOUPPER (i))
6783 return 2;
6784 return 0;
6786 _ACEOF
6787 if ac_fn_c_try_run "$LINENO"; then :
6789 else
6790 ac_cv_header_stdc=no
6792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6793 conftest.$ac_objext conftest.beam conftest.$ac_ext
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6799 $as_echo "$ac_cv_header_stdc" >&6; }
6800 if test $ac_cv_header_stdc = yes; then
6802 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6806 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6807 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6808 inttypes.h stdint.h unistd.h
6809 do :
6810 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6811 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6813 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6814 cat >>confdefs.h <<_ACEOF
6815 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6816 _ACEOF
6820 done
6823 for ac_header in \
6824 AL/al.h \
6825 ApplicationServices/ApplicationServices.h \
6826 AudioToolbox/AudioConverter.h \
6827 AudioUnit/AudioUnit.h \
6828 AudioUnit/AudioComponent.h \
6829 CL/cl.h \
6830 Carbon/Carbon.h \
6831 CommonCrypto/CommonDigest.h \
6832 CoreAudio/CoreAudio.h \
6833 CoreServices/CoreServices.h \
6834 DiskArbitration/DiskArbitration.h \
6835 EGL/egl.h \
6836 IOKit/IOKitLib.h \
6837 IOKit/hid/IOHIDLib.h \
6838 OpenAL/al.h \
6839 OpenCL/opencl.h \
6840 QuickTime/ImageCompression.h \
6841 Security/Security.h \
6842 alias.h \
6843 alsa/asoundlib.h \
6844 arpa/inet.h \
6845 arpa/nameser.h \
6846 asm/types.h \
6847 asm/user.h \
6848 curses.h \
6849 direct.h \
6850 dirent.h \
6851 dlfcn.h \
6852 elf.h \
6853 float.h \
6854 fnmatch.h \
6855 getopt.h \
6856 gettext-po.h \
6857 grp.h \
6858 gsm.h \
6859 gsm/gsm.h \
6860 ieeefp.h \
6861 inet/mib2.h \
6862 io.h \
6863 kstat.h \
6864 lber.h \
6865 ldap.h \
6866 libproc.h \
6867 link.h \
6868 linux/cdrom.h \
6869 linux/compiler.h \
6870 linux/filter.h \
6871 linux/hdreg.h \
6872 linux/hidraw.h \
6873 linux/input.h \
6874 linux/ioctl.h \
6875 linux/joystick.h \
6876 linux/major.h \
6877 linux/param.h \
6878 linux/serial.h \
6879 linux/types.h \
6880 linux/ucdrom.h \
6881 lwp.h \
6882 mach-o/nlist.h \
6883 mach-o/loader.h \
6884 mach/mach.h \
6885 mach/machine.h \
6886 machine/cpu.h \
6887 machine/limits.h \
6888 machine/sysarch.h \
6889 mntent.h \
6890 ncurses.h \
6891 netdb.h \
6892 netinet/in.h \
6893 netinet/in_systm.h \
6894 netinet/tcp.h \
6895 netinet/tcp_fsm.h \
6896 pcap/pcap.h \
6897 poll.h \
6898 port.h \
6899 process.h \
6900 pthread.h \
6901 pwd.h \
6902 sched.h \
6903 scsi/scsi.h \
6904 scsi/scsi_ioctl.h \
6905 scsi/sg.h \
6906 stdbool.h \
6907 stdint.h \
6908 stropts.h \
6909 sys/asoundlib.h \
6910 sys/attr.h \
6911 sys/auxv.h \
6912 sys/cdio.h \
6913 sys/elf32.h \
6914 sys/epoll.h \
6915 sys/event.h \
6916 sys/exec_elf.h \
6917 sys/filio.h \
6918 sys/inotify.h \
6919 sys/ioctl.h \
6920 sys/ipc.h \
6921 sys/limits.h \
6922 sys/link.h \
6923 sys/mman.h \
6924 sys/modem.h \
6925 sys/msg.h \
6926 sys/mtio.h \
6927 sys/param.h \
6928 sys/poll.h \
6929 sys/prctl.h \
6930 sys/protosw.h \
6931 sys/ptrace.h \
6932 sys/queue.h \
6933 sys/resource.h \
6934 sys/scsiio.h \
6935 sys/shm.h \
6936 sys/signal.h \
6937 sys/socket.h \
6938 sys/socketvar.h \
6939 sys/sockio.h \
6940 sys/statvfs.h \
6941 sys/strtio.h \
6942 sys/syscall.h \
6943 sys/sysinfo.h \
6944 sys/tihdr.h \
6945 sys/time.h \
6946 sys/timeout.h \
6947 sys/times.h \
6948 sys/uio.h \
6949 sys/user.h \
6950 sys/utsname.h \
6951 sys/vm86.h \
6952 sys/vnode.h \
6953 sys/wait.h \
6954 syscall.h \
6955 termios.h \
6956 unistd.h \
6957 utime.h \
6958 valgrind/memcheck.h \
6959 valgrind/valgrind.h \
6960 zlib.h
6962 do :
6963 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6964 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6965 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6966 cat >>confdefs.h <<_ACEOF
6967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6968 _ACEOF
6972 done
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
6975 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
6976 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
6977 $as_echo_n "(cached) " >&6
6978 else
6979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6981 #include <sys/types.h>
6983 main ()
6985 return makedev(0, 0);
6987 return 0;
6989 _ACEOF
6990 if ac_fn_c_try_link "$LINENO"; then :
6991 ac_cv_header_sys_types_h_makedev=yes
6992 else
6993 ac_cv_header_sys_types_h_makedev=no
6995 rm -f core conftest.err conftest.$ac_objext \
6996 conftest$ac_exeext conftest.$ac_ext
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7000 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7002 if test $ac_cv_header_sys_types_h_makedev = no; then
7003 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7004 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7006 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7012 if test $ac_cv_header_sys_mkdev_h = no; then
7013 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7014 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7016 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7025 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7026 if ${ac_cv_header_stat_broken+:} false; then :
7027 $as_echo_n "(cached) " >&6
7028 else
7029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7031 #include <sys/types.h>
7032 #include <sys/stat.h>
7034 #if defined S_ISBLK && defined S_IFDIR
7035 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7036 #endif
7038 #if defined S_ISBLK && defined S_IFCHR
7039 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7040 #endif
7042 #if defined S_ISLNK && defined S_IFREG
7043 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7044 #endif
7046 #if defined S_ISSOCK && defined S_IFREG
7047 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7048 #endif
7050 _ACEOF
7051 if ac_fn_c_try_compile "$LINENO"; then :
7052 ac_cv_header_stat_broken=no
7053 else
7054 ac_cv_header_stat_broken=yes
7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7059 $as_echo "$ac_cv_header_stat_broken" >&6; }
7060 if test $ac_cv_header_stat_broken = yes; then
7062 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7068 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7069 do :
7070 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7071 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7072 #ifdef HAVE_SYS_PARAM_H
7073 # include <sys/param.h>
7074 #endif
7076 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7077 cat >>confdefs.h <<_ACEOF
7078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7079 _ACEOF
7083 done
7086 for ac_header in \
7087 netinet/ip.h \
7088 net/if.h \
7089 net/if_arp.h \
7090 net/if_dl.h \
7091 net/if_types.h \
7092 net/route.h \
7093 netinet/if_ether.h \
7094 netinet/if_inarp.h \
7095 netinet/in_pcb.h \
7096 netinet/ip_icmp.h \
7097 netinet/ip_var.h \
7098 netinet/udp.h \
7099 netipx/ipx.h \
7100 sys/un.h \
7102 do :
7103 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7104 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7105 #ifdef HAVE_SYS_SOCKET_H
7106 # include <sys/socket.h>
7107 #endif
7108 #ifdef HAVE_SYS_SOCKETVAR_H
7109 # include <sys/socketvar.h>
7110 #endif
7111 #ifdef HAVE_NET_ROUTE_H
7112 # include <net/route.h>
7113 #endif
7114 #ifdef HAVE_NETINET_IN_H
7115 # include <netinet/in.h>
7116 #endif
7117 #ifdef HAVE_NETINET_IN_SYSTM_H
7118 # include <netinet/in_systm.h>
7119 #endif
7120 #ifdef HAVE_NET_IF_H
7121 # include <net/if.h>
7122 #endif
7123 #ifdef HAVE_NETINET_IP_H
7124 # include <netinet/ip.h>
7125 #endif
7127 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7128 cat >>confdefs.h <<_ACEOF
7129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7130 _ACEOF
7134 done
7137 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7138 do :
7139 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7140 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7141 #ifdef HAVE_ALIAS_H
7142 # include <alias.h>
7143 #endif
7144 #ifdef HAVE_SYS_SOCKET_H
7145 # include <sys/socket.h>
7146 #endif
7147 #ifdef HAVE_SYS_SOCKETVAR_H
7148 # include <sys/socketvar.h>
7149 #endif
7150 #ifdef HAVE_SYS_TIMEOUT_H
7151 # include <sys/timeout.h>
7152 #endif
7153 #ifdef HAVE_NETINET_IN_H
7154 # include <netinet/in.h>
7155 #endif
7156 #ifdef HAVE_NETINET_IN_SYSTM_H
7157 # include <netinet/in_systm.h>
7158 #endif
7159 #ifdef HAVE_NETINET_IP_H
7160 # include <netinet/ip.h>
7161 #endif
7162 #ifdef HAVE_NETINET_IP_VAR_H
7163 # include <netinet/ip_var.h>
7164 #endif
7165 #ifdef HAVE_NETINET_IP_ICMP_H
7166 # include <netinet/ip_icmp.h>
7167 #endif
7168 #ifdef HAVE_NETINET_UDP_H
7169 # include <netinet/udp.h>
7170 #endif
7171 #ifdef HAVE_NETINET_TCP_H
7172 # include <netinet/tcp.h>
7173 #endif
7174 #ifdef HAVE_NETINET_TCP_TIMER_H
7175 #include <netinet/tcp_timer.h>
7176 #endif
7178 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7179 cat >>confdefs.h <<_ACEOF
7180 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7181 _ACEOF
7185 done
7188 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7189 do :
7190 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7191 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7192 #ifdef HAVE_ASM_TYPES_H
7193 # include <asm/types.h>
7194 #endif
7195 #ifdef HAVE_SYS_SOCKET_H
7196 # include <sys/socket.h>
7197 #endif
7198 #ifdef HAVE_LINUX_TYPES_H
7199 # include <linux/types.h>
7200 #endif
7202 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7203 cat >>confdefs.h <<_ACEOF
7204 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7205 _ACEOF
7209 done
7212 for ac_header in mach-o/dyld_images.h
7213 do :
7214 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7215 # include <stdbool.h>
7216 #endif
7217 #ifdef HAVE_STDINT_H
7218 # include <stdint.h>
7219 #endif
7221 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7222 cat >>confdefs.h <<_ACEOF
7223 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7224 _ACEOF
7228 done
7231 for ac_header in resolv.h
7232 do :
7233 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7234 #ifdef HAVE_SYS_SOCKET_H
7235 # include <sys/socket.h>
7236 #endif
7237 #ifdef HAVE_NETINET_IN_H
7238 # include <netinet/in.h>
7239 #endif
7240 #ifdef HAVE_ARPA_NAMESER_H
7241 # include <arpa/nameser.h>
7242 #endif
7244 if test "x$ac_cv_header_resolv_h" = xyes; then :
7245 cat >>confdefs.h <<_ACEOF
7246 #define HAVE_RESOLV_H 1
7247 _ACEOF
7251 done
7254 for ac_header in ifaddrs.h
7255 do :
7256 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7258 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7259 cat >>confdefs.h <<_ACEOF
7260 #define HAVE_IFADDRS_H 1
7261 _ACEOF
7265 done
7268 for ac_header in sys/ucontext.h
7269 do :
7270 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7272 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7273 cat >>confdefs.h <<_ACEOF
7274 #define HAVE_SYS_UCONTEXT_H 1
7275 _ACEOF
7279 done
7282 for ac_header in sys/thr.h
7283 do :
7284 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7285 #ifdef HAVE_SYS_UCONTEXT_H
7286 #include <sys/ucontext.h>
7287 #endif
7289 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7290 cat >>confdefs.h <<_ACEOF
7291 #define HAVE_SYS_THR_H 1
7292 _ACEOF
7296 done
7299 for ac_header in pthread_np.h
7300 do :
7301 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7302 #include <pthread.h>
7303 #endif
7305 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7306 cat >>confdefs.h <<_ACEOF
7307 #define HAVE_PTHREAD_NP_H 1
7308 _ACEOF
7312 done
7315 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7316 do :
7317 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7318 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7319 #include <sys/time.h>
7320 #endif
7321 #include <sys/types.h>
7322 #ifdef HAVE_ASM_TYPES_H
7323 #include <asm/types.h>
7324 #endif
7326 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7327 cat >>confdefs.h <<_ACEOF
7328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7329 _ACEOF
7333 done
7336 for ac_header in libprocstat.h
7337 do :
7338 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7339 #include <sys/param.h>
7340 #endif
7341 #ifdef HAVE_SYS_QUEUE_H
7342 #include <sys/queue.h>
7343 #endif
7344 #ifdef HAVE_SYS_SOCKET_H
7345 #include <sys/socket.h>
7346 #endif
7348 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7349 cat >>confdefs.h <<_ACEOF
7350 #define HAVE_LIBPROCSTAT_H 1
7351 _ACEOF
7355 done
7359 dlldir="\${libdir}/wine"
7361 DLLFLAGS="-D_REENTRANT"
7363 LDRPATH_INSTALL=""
7365 LDRPATH_LOCAL=""
7367 LDEXECFLAGS=""
7369 WINELOADER_LDFLAGS=""
7371 LIBEXT="so"
7372 DLLEXT=".so"
7373 IMPLIBEXT="def"
7374 # Extract the first word of "ldd", so it can be a program name with args.
7375 set dummy ldd; ac_word=$2
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7377 $as_echo_n "checking for $ac_word... " >&6; }
7378 if ${ac_cv_path_LDD+:} false; then :
7379 $as_echo_n "(cached) " >&6
7380 else
7381 case $LDD in
7382 [\\/]* | ?:[\\/]*)
7383 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 as_dummy="/sbin:/usr/sbin:$PATH"
7388 for as_dir in $as_dummy
7390 IFS=$as_save_IFS
7391 test -z "$as_dir" && as_dir=.
7392 for ac_exec_ext in '' $ac_executable_extensions; do
7393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7394 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396 break 2
7398 done
7399 done
7400 IFS=$as_save_IFS
7402 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7404 esac
7406 LDD=$ac_cv_path_LDD
7407 if test -n "$LDD"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7409 $as_echo "$LDD" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7416 if test -n "$ac_tool_prefix"; then
7417 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7418 set dummy ${ac_tool_prefix}otool; ac_word=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if ${ac_cv_prog_OTOOL+:} false; then :
7422 $as_echo_n "(cached) " >&6
7423 else
7424 if test -n "$OTOOL"; then
7425 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7426 else
7427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7428 for as_dir in $PATH
7430 IFS=$as_save_IFS
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7444 OTOOL=$ac_cv_prog_OTOOL
7445 if test -n "$OTOOL"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7447 $as_echo "$OTOOL" >&6; }
7448 else
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7455 if test -z "$ac_cv_prog_OTOOL"; then
7456 ac_ct_OTOOL=$OTOOL
7457 # Extract the first word of "otool", so it can be a program name with args.
7458 set dummy otool; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$ac_ct_OTOOL"; then
7465 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_ac_ct_OTOOL="otool"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7478 done
7479 done
7480 IFS=$as_save_IFS
7484 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7485 if test -n "$ac_ct_OTOOL"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7487 $as_echo "$ac_ct_OTOOL" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7493 if test "x$ac_ct_OTOOL" = x; then
7494 OTOOL="otool"
7495 else
7496 case $cross_compiling:$ac_tool_warned in
7497 yes:)
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500 ac_tool_warned=yes ;;
7501 esac
7502 OTOOL=$ac_ct_OTOOL
7504 else
7505 OTOOL="$ac_cv_prog_OTOOL"
7508 if test -n "$ac_tool_prefix"; then
7509 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7510 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512 $as_echo_n "checking for $ac_word... " >&6; }
7513 if ${ac_cv_prog_READELF+:} false; then :
7514 $as_echo_n "(cached) " >&6
7515 else
7516 if test -n "$READELF"; then
7517 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7518 else
7519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 for as_dir in $PATH
7522 IFS=$as_save_IFS
7523 test -z "$as_dir" && as_dir=.
7524 for ac_exec_ext in '' $ac_executable_extensions; do
7525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7528 break 2
7530 done
7531 done
7532 IFS=$as_save_IFS
7536 READELF=$ac_cv_prog_READELF
7537 if test -n "$READELF"; then
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7539 $as_echo "$READELF" >&6; }
7540 else
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7542 $as_echo "no" >&6; }
7547 if test -z "$ac_cv_prog_READELF"; then
7548 ac_ct_READELF=$READELF
7549 # Extract the first word of "readelf", so it can be a program name with args.
7550 set dummy readelf; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 if test -n "$ac_ct_READELF"; then
7557 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7562 IFS=$as_save_IFS
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7566 ac_cv_prog_ac_ct_READELF="readelf"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 break 2
7570 done
7571 done
7572 IFS=$as_save_IFS
7576 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7577 if test -n "$ac_ct_READELF"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7579 $as_echo "$ac_ct_READELF" >&6; }
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7585 if test "x$ac_ct_READELF" = x; then
7586 READELF="true"
7587 else
7588 case $cross_compiling:$ac_tool_warned in
7589 yes:)
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7592 ac_tool_warned=yes ;;
7593 esac
7594 READELF=$ac_ct_READELF
7596 else
7597 READELF="$ac_cv_prog_READELF"
7600 wine_rules_file=conf$$rules.make
7601 rm -f $wine_rules_file
7602 SUBDIRS=""
7604 DISABLED_SUBDIRS=""
7606 CONFIGURE_TARGETS=""
7608 ALL_TEST_RESOURCES=""
7611 wine_fn_append_file ()
7613 as_fn_append $1 " \\$as_nl $2"
7616 wine_fn_append_rule ()
7618 $as_echo "$1" >>$wine_rules_file
7621 wine_fn_has_flag ()
7623 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7626 wine_fn_all_rules ()
7628 wine_fn_append_file SUBDIRS $ac_dir
7629 wine_fn_append_rule \
7630 "all: $ac_dir
7631 .PHONY: $ac_dir
7632 $ac_dir: dummy
7633 @cd $ac_dir && \$(MAKE)"
7636 wine_fn_install_rules ()
7638 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7640 wine_fn_append_rule \
7641 ".PHONY: $ac_dir/install $ac_dir/uninstall
7642 $ac_dir/install:: $ac_dir
7643 @cd $ac_dir && \$(MAKE) install
7644 $ac_dir/uninstall::
7645 @cd $ac_dir && \$(MAKE) uninstall
7646 install:: $ac_dir/install
7647 __uninstall__: $ac_dir/uninstall"
7649 if wine_fn_has_flag install-lib
7650 then
7651 wine_fn_append_rule \
7652 ".PHONY: $ac_dir/install-lib
7653 $ac_dir/install-lib:: $ac_dir
7654 @cd $ac_dir && \$(MAKE) install-lib
7655 install-lib:: $ac_dir/install-lib"
7658 if wine_fn_has_flag install-dev
7659 then
7660 wine_fn_append_rule \
7661 ".PHONY: $ac_dir/install-dev
7662 $ac_dir/install-dev:: $ac_dir
7663 @cd $ac_dir && \$(MAKE) install-dev
7664 install-dev:: $ac_dir/install-dev"
7668 wine_fn_clean_rules ()
7670 ac_clean=$@
7672 if wine_fn_has_flag clean
7673 then
7674 wine_fn_append_rule \
7675 "$ac_dir/clean: dummy
7676 @cd $ac_dir && \$(MAKE) clean"
7677 else
7678 wine_fn_append_rule \
7679 "$ac_dir/clean: dummy
7680 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7682 wine_fn_append_rule \
7683 "__clean__: $ac_dir/clean
7684 .PHONY: $ac_dir/clean"
7687 wine_fn_disabled_rules ()
7689 ac_clean=$@
7691 wine_fn_append_file SUBDIRS $ac_dir
7692 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7693 wine_fn_append_rule \
7694 "__clean__: $ac_dir/clean
7695 .PHONY: $ac_dir/clean
7696 $ac_dir/clean: dummy
7697 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7700 wine_fn_config_makefile ()
7702 ac_dir=$1
7703 ac_enable=$2
7704 ac_flags=$3
7706 case $ac_dir in
7707 fonts|server) test -z "$with_wine64" || return ;;
7708 esac
7709 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7710 wine_fn_disabled_rules; return
7712 wine_fn_all_rules
7713 wine_fn_install_rules
7714 wine_fn_clean_rules
7717 wine_fn_config_lib ()
7719 ac_name=$1
7720 ac_flags=$2
7721 ac_dir=dlls/$ac_name
7722 ac_deps="include"
7724 if test "x$enable_tools" = xno; then :
7726 else
7727 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7729 wine_fn_all_rules
7730 wine_fn_clean_rules
7732 wine_fn_append_rule \
7733 ".PHONY: $ac_dir/install $ac_dir/uninstall
7734 $ac_dir/install:: $ac_dir
7735 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7736 $ac_dir/uninstall::
7737 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7738 install install-dev:: $ac_dir/install
7739 __uninstall__: $ac_dir/uninstall
7740 __builddeps__: $ac_dir
7741 $ac_dir: $ac_deps"
7744 wine_fn_config_dll ()
7746 ac_name=$1
7747 ac_dir=dlls/$ac_name
7748 ac_enable=$2
7749 ac_flags=$3
7750 ac_implib=${4:-$ac_name}
7751 ac_file=$ac_dir/lib$ac_implib
7752 ac_dll=$ac_name
7753 ac_deps="include"
7754 ac_implibflags=""
7756 if test "x$enable_tools" = xno; then :
7758 else
7759 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7761 case $ac_name in
7762 *.*16) ac_implibflags=" -m16" ;;
7763 *.*) ;;
7764 *) ac_dll=$ac_dll.dll ;;
7765 esac
7767 ac_clean=
7768 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7769 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7771 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7772 if test "$ac_enable" != enable_win16
7773 then
7774 wine_fn_clean_rules $ac_clean
7775 wine_fn_append_file SUBDIRS $ac_dir
7776 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7777 else
7778 wine_fn_disabled_rules $ac_clean
7779 return
7781 else
7782 wine_fn_all_rules
7783 wine_fn_clean_rules $ac_clean
7784 wine_fn_append_rule \
7785 "$ac_dir: __builddeps__
7786 manpages htmlpages sgmlpages xmlpages::
7787 @cd $ac_dir && \$(MAKE) \$@
7788 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7789 install install-lib:: $ac_dir/install-lib
7790 __uninstall__: $ac_dir/uninstall"
7791 if test -n "$DLLEXT"
7792 then
7793 wine_fn_append_rule \
7794 "$ac_dir/install-lib:: $ac_dir
7795 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7796 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7797 $ac_dir/uninstall::
7798 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7799 else
7800 wine_fn_append_rule \
7801 "$ac_dir/install-lib:: $ac_dir
7802 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7803 $ac_dir/uninstall::
7804 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7808 if wine_fn_has_flag staticimplib
7809 then
7810 wine_fn_append_rule \
7811 "__builddeps__: $ac_file.a
7812 $ac_file.a $ac_file.cross.a: $ac_deps
7813 $ac_file.a: dummy
7814 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7815 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7816 $ac_dir/install-dev:: $ac_file.a
7817 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7818 $ac_dir/uninstall::
7819 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7820 install install-dev:: $ac_dir/install-dev
7821 __uninstall__: $ac_dir/uninstall"
7823 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7824 then
7825 wine_fn_append_rule \
7826 "__builddeps__: $ac_file.cross.a
7827 $ac_file.cross.a: dummy
7828 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7831 elif wine_fn_has_flag implib
7832 then
7833 wine_fn_append_rule \
7834 "__builddeps__: $ac_file.$IMPLIBEXT
7835 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7836 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7837 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7838 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7839 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7840 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7841 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7842 $ac_dir/uninstall::
7843 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7844 install install-dev:: $ac_dir/install-dev
7845 __uninstall__: $ac_dir/uninstall"
7846 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7847 then
7848 wine_fn_append_rule \
7849 "__builddeps__: $ac_file.cross.a
7850 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7851 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7856 wine_fn_config_program ()
7858 ac_name=$1
7859 ac_dir=programs/$ac_name
7860 ac_enable=$2
7861 ac_flags=$3
7862 ac_program=$ac_name
7864 case $ac_name in
7865 *.*) ;;
7866 *) ac_program=$ac_program.exe ;;
7867 esac
7869 ac_clean=
7870 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7871 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7873 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7874 wine_fn_disabled_rules $ac_clean; return
7877 wine_fn_all_rules
7878 wine_fn_clean_rules $ac_clean
7879 wine_fn_append_rule "$ac_dir: __builddeps__"
7881 wine_fn_has_flag install || return
7882 wine_fn_append_rule \
7883 ".PHONY: $ac_dir/install $ac_dir/uninstall
7884 install install-lib:: $ac_dir/install
7885 __uninstall__: $ac_dir/uninstall"
7887 if test -n "$DLLEXT"
7888 then
7889 wine_fn_append_rule \
7890 "$ac_dir/install:: $ac_dir
7891 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7892 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7893 $ac_dir/uninstall::
7894 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7896 if test -z "$with_wine64" && wine_fn_has_flag installbin
7897 then
7898 wine_fn_append_rule \
7899 "$ac_dir/install:: __tooldeps__
7900 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7901 $ac_dir/uninstall::
7902 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7904 else
7905 wine_fn_append_rule \
7906 "$ac_dir/install:: $ac_dir
7907 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7908 $ac_dir/uninstall::
7909 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7912 if test -z "$with_wine64" && wine_fn_has_flag manpage
7913 then
7914 wine_fn_append_rule \
7915 "$ac_dir/install:: $ac_dir
7916 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7917 $ac_dir/uninstall::
7918 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7922 wine_fn_config_test ()
7924 ac_dir=$1
7925 ac_name=$2
7926 ac_flags=$3
7928 ac_clean=
7929 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7930 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7932 if test "x$enable_tests" = xno; then :
7933 wine_fn_disabled_rules $ac_clean; return
7936 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7937 wine_fn_all_rules
7938 wine_fn_clean_rules $ac_clean
7940 wine_fn_append_rule \
7941 "$ac_dir: __builddeps__
7942 programs/winetest: $ac_dir
7943 check test: $ac_dir/test
7944 .PHONY: $ac_dir/test
7945 $ac_dir/test: dummy
7946 @cd $ac_dir && \$(MAKE) test
7947 testclean::
7948 \$(RM) $ac_dir/*.ok"
7950 if test -n "$CROSSTARGET"
7951 then
7952 wine_fn_append_rule \
7953 "crosstest: $ac_dir/crosstest
7954 .PHONY: $ac_dir/crosstest
7955 $ac_dir/crosstest: __builddeps__ dummy
7956 @cd $ac_dir && \$(MAKE) crosstest"
7960 wine_fn_config_tool ()
7962 ac_dir=$1
7963 ac_flags=$2
7964 if test "x$enable_tools" = xno; then :
7965 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7968 wine_fn_all_rules
7969 wine_fn_install_rules
7970 wine_fn_clean_rules
7972 wine_fn_append_rule "__tooldeps__: $ac_dir"
7973 wine_fn_append_rule "$ac_dir: libs/port"
7974 case $ac_dir in
7975 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7976 esac
7979 wine_fn_config_symlink ()
7981 ac_linkdir=
7982 if test "x$1" = "x-d"
7983 then
7984 ac_linkdir=$2
7985 shift; shift
7987 ac_links=$@
7988 wine_fn_append_rule \
7989 "$ac_links:
7990 @./config.status \$@"
7991 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7992 test -n "$ac_linkdir" || return
7993 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7996 wine_binary="wine"
7997 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7998 WINELOADER_PROGRAMS="$wine_binary"
8000 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8002 case $host_os in
8003 cygwin*|mingw32*)
8004 if test -n "$ac_tool_prefix"; then
8005 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8006 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8008 $as_echo_n "checking for $ac_word... " >&6; }
8009 if ${ac_cv_prog_DLLTOOL+:} false; then :
8010 $as_echo_n "(cached) " >&6
8011 else
8012 if test -n "$DLLTOOL"; then
8013 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8014 else
8015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016 for as_dir in $PATH
8018 IFS=$as_save_IFS
8019 test -z "$as_dir" && as_dir=.
8020 for ac_exec_ext in '' $ac_executable_extensions; do
8021 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8022 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8024 break 2
8026 done
8027 done
8028 IFS=$as_save_IFS
8032 DLLTOOL=$ac_cv_prog_DLLTOOL
8033 if test -n "$DLLTOOL"; then
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8035 $as_echo "$DLLTOOL" >&6; }
8036 else
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8043 if test -z "$ac_cv_prog_DLLTOOL"; then
8044 ac_ct_DLLTOOL=$DLLTOOL
8045 # Extract the first word of "dlltool", so it can be a program name with args.
8046 set dummy dlltool; ac_word=$2
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048 $as_echo_n "checking for $ac_word... " >&6; }
8049 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8050 $as_echo_n "(cached) " >&6
8051 else
8052 if test -n "$ac_ct_DLLTOOL"; then
8053 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8054 else
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056 for as_dir in $PATH
8058 IFS=$as_save_IFS
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8064 break 2
8066 done
8067 done
8068 IFS=$as_save_IFS
8072 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8073 if test -n "$ac_ct_DLLTOOL"; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8075 $as_echo "$ac_ct_DLLTOOL" >&6; }
8076 else
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8081 if test "x$ac_ct_DLLTOOL" = x; then
8082 DLLTOOL="false"
8083 else
8084 case $cross_compiling:$ac_tool_warned in
8085 yes:)
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8087 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8088 ac_tool_warned=yes ;;
8089 esac
8090 DLLTOOL=$ac_ct_DLLTOOL
8092 else
8093 DLLTOOL="$ac_cv_prog_DLLTOOL"
8096 LIBEXT="dll"
8097 DLLEXT=""
8098 IMPLIBEXT="a"
8099 enable_iphlpapi=${enable_iphlpapi:-no}
8100 enable_kernel32=${enable_kernel32:-no}
8101 enable_msvcrt=${enable_msvcrt:-no}
8102 enable_ntdll=${enable_ntdll:-no}
8103 enable_ws2_32=${enable_ws2_32:-no}
8104 enable_loader=${enable_loader:-no}
8105 enable_server=${enable_server:-no}
8106 with_x=${with_x:-no}
8107 with_pthread=${with_pthread:-no}
8109 crtlibs=""
8110 case $host_os in
8111 mingw32*)
8112 crtlibs="-lmsvcrt"
8113 SOCKET_LIBS="-lws2_32"
8115 esac
8117 LIBWINE_SHAREDLIB="libwine.dll"
8119 LIBWINE_IMPORTLIB="libwine.a"
8121 LIBWINE_INSTALL_LIB="libwine.dll"
8123 LIBWINE_INSTALL_DEV="libwine.a"
8125 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8127 LIBWINE_DEPENDS="wine.def"
8131 darwin*|macosx*)
8132 for ac_header in libunwind.h
8133 do :
8134 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8135 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8136 cat >>confdefs.h <<_ACEOF
8137 #define HAVE_LIBUNWIND_H 1
8138 _ACEOF
8142 done
8144 LIBEXT="dylib"
8145 DLLFLAGS="$DLLFLAGS -fPIC"
8146 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8147 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8148 COREFOUNDATION_LIBS="-framework CoreFoundation"
8150 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8152 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8154 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8156 CORESERVICES_LIBS="-framework CoreServices"
8158 APPKIT_LIBS="-framework AppKit"
8160 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8162 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8163 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8164 $as_echo_n "(cached) " >&6
8165 else
8166 ac_wine_try_cflags_saved=$CFLAGS
8167 CFLAGS="$CFLAGS -Wl,-no_pie"
8168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8169 /* end confdefs.h. */
8170 int main(int argc, char **argv) { return 0; }
8171 _ACEOF
8172 if ac_fn_c_try_link "$LINENO"; then :
8173 ac_cv_cflags__Wl__no_pie=yes
8174 else
8175 ac_cv_cflags__Wl__no_pie=no
8177 rm -f core conftest.err conftest.$ac_objext \
8178 conftest$ac_exeext conftest.$ac_ext
8179 CFLAGS=$ac_wine_try_cflags_saved
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8182 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8183 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8184 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8186 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8187 then
8188 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8191 if test "$ac_cv_header_Security_Security_h" = "yes"
8192 then
8193 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8195 ac_save_LIBS="$LIBS"
8196 LIBS="$LIBS $SECURITY_LIBS"
8197 for ac_func in SSLCopyPeerCertificates
8198 do :
8199 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8200 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8201 cat >>confdefs.h <<_ACEOF
8202 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8203 _ACEOF
8206 done
8208 LIBS="$ac_save_LIBS"
8209 with_gnutls=${with_gnutls:-no}
8211 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8212 then
8213 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8214 then
8215 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8217 else
8218 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8221 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8222 ac_save_LIBS="$LIBS"
8223 LIBS="$LIBS $COREAUDIO_LIBS"
8224 for ac_func in AUGraphAddNode
8225 do :
8226 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8227 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8228 cat >>confdefs.h <<_ACEOF
8229 #define HAVE_AUGRAPHADDNODE 1
8230 _ACEOF
8233 done
8235 LIBS="$ac_save_LIBS"
8237 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8238 then
8239 OPENAL_LIBS="-framework OpenAL"
8242 cat >>confdefs.h <<_ACEOF
8243 #define HAVE_OPENAL 1
8244 _ACEOF
8246 ac_cv_lib_openal=yes
8248 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8249 then
8250 OPENCL_LIBS="-framework OpenCL"
8252 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8254 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8255 then
8256 ac_save_LIBS="$LIBS"
8257 LIBS="$LIBS $IOKIT_LIBS"
8258 for ac_func in IOHIDManagerCreate
8259 do :
8260 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8261 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8262 cat >>confdefs.h <<_ACEOF
8263 #define HAVE_IOHIDMANAGERCREATE 1
8264 _ACEOF
8267 done
8269 LIBS="$ac_save_LIBS"
8271 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8272 then
8273 ac_save_LIBS="$LIBS"
8274 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8276 $as_echo_n "checking for the QuickTime framework... " >&6; }
8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8279 #include <QuickTime/ImageCompression.h>
8281 main ()
8283 CodecManagerVersion(NULL);
8285 return 0;
8287 _ACEOF
8288 if ac_fn_c_try_link "$LINENO"; then :
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8290 $as_echo "yes" >&6; }
8291 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8293 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8294 else
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8297 ac_cv_header_QuickTime_ImageCompression_h=no
8299 rm -f core conftest.err conftest.$ac_objext \
8300 conftest$ac_exeext conftest.$ac_ext
8301 LIBS="$ac_save_LIBS"
8303 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8304 then
8305 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8307 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8308 then
8309 CARBON_LIBS="-framework Carbon"
8313 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8314 then
8315 ac_save_LIBS="$LIBS"
8316 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8317 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8318 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8319 enable_winemac_drv=${enable_winemac_drv:-yes}
8322 LIBS="$ac_save_LIBS"
8325 if test "x$enable_win16" = "xyes"
8326 then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8328 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8329 if test "$cross_compiling" = yes; then :
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8331 $as_echo "cross-compiling, assuming yes" >&6; }
8332 else
8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8334 /* end confdefs.h. */
8335 asm(".text\n"
8336 "bad:\tnop;nop\n"
8337 "good:\tnop;nop\n\t"
8338 ".globl _testfunc\n"
8339 "_testfunc:\tcallw good");
8340 extern void testfunc();
8342 main ()
8344 unsigned short *p = (unsigned short *)testfunc;
8345 return p[0] != 0xe866 || p[1] != 0xfffa
8347 return 0;
8349 _ACEOF
8350 if ac_fn_c_try_run "$LINENO"; then :
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8352 $as_echo "yes" >&6; }
8353 else
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8356 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
8358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8359 conftest.$ac_objext conftest.beam conftest.$ac_ext
8364 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8366 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8368 LIBWINE_INSTALL_DEV="libwine.dylib"
8370 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8372 WINELOADER_DEPENDS="wine_info.plist"
8376 linux-android*)
8377 DLLFLAGS="$DLLFLAGS -fPIC"
8378 LDEXECFLAGS="-Wl,-pie"
8379 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8381 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8382 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8383 $as_echo_n "(cached) " >&6
8384 else
8385 ac_wine_try_cflags_saved=$CFLAGS
8386 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8388 /* end confdefs.h. */
8389 int main(int argc, char **argv) { return 0; }
8390 _ACEOF
8391 if ac_fn_c_try_link "$LINENO"; then :
8392 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8393 else
8394 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8396 rm -f core conftest.err conftest.$ac_objext \
8397 conftest$ac_exeext conftest.$ac_ext
8398 CFLAGS=$ac_wine_try_cflags_saved
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8401 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8402 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8403 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8405 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8407 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8408 if eval \${$as_ac_var+:} false; then :
8409 $as_echo_n "(cached) " >&6
8410 else
8411 ac_wine_try_cflags_saved=$CFLAGS
8412 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8415 int main(int argc, char **argv) { return 0; }
8416 _ACEOF
8417 if ac_fn_c_try_link "$LINENO"; then :
8418 eval "$as_ac_var=yes"
8419 else
8420 eval "$as_ac_var=no"
8422 rm -f core conftest.err conftest.$ac_objext \
8423 conftest$ac_exeext conftest.$ac_ext
8424 CFLAGS=$ac_wine_try_cflags_saved
8426 eval ac_res=\$$as_ac_var
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8428 $as_echo "$ac_res" >&6; }
8429 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8430 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8431 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8432 else
8433 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8435 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8436 if eval \${$as_ac_var+:} false; then :
8437 $as_echo_n "(cached) " >&6
8438 else
8439 ac_wine_try_cflags_saved=$CFLAGS
8440 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8443 int main(int argc, char **argv) { return 0; }
8444 _ACEOF
8445 if ac_fn_c_try_link "$LINENO"; then :
8446 eval "$as_ac_var=yes"
8447 else
8448 eval "$as_ac_var=no"
8450 rm -f core conftest.err conftest.$ac_objext \
8451 conftest$ac_exeext conftest.$ac_ext
8452 CFLAGS=$ac_wine_try_cflags_saved
8454 eval ac_res=\$$as_ac_var
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8456 $as_echo "$ac_res" >&6; }
8457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8458 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8459 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8463 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8464 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8465 $as_echo_n "(cached) " >&6
8466 else
8467 ac_wine_try_cflags_saved=$CFLAGS
8468 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8470 /* end confdefs.h. */
8471 int main(int argc, char **argv) { return 0; }
8472 _ACEOF
8473 if ac_fn_c_try_link "$LINENO"; then :
8474 ac_cv_cflags__Wl___enable_new_dtags=yes
8475 else
8476 ac_cv_cflags__Wl___enable_new_dtags=no
8478 rm -f core conftest.err conftest.$ac_objext \
8479 conftest$ac_exeext conftest.$ac_ext
8480 CFLAGS=$ac_wine_try_cflags_saved
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8483 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8484 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8485 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8488 LIBWINE_SHAREDLIB="libwine.so"
8490 LIBWINE_INSTALL_LIB="libwine.so"
8492 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8496 $as_echo_n "checking for -lEGL... " >&6; }
8497 if ${ac_cv_lib_soname_EGL+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_check_soname_save_LIBS=$LIBS
8501 LIBS="-lEGL $LIBS"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8505 /* Override any GCC internal prototype to avoid an error.
8506 Use char because int might match the return type of a GCC
8507 builtin and then its argument prototype would still apply. */
8508 #ifdef __cplusplus
8509 extern "C"
8510 #endif
8511 char eglGetProcAddress ();
8513 main ()
8515 return eglGetProcAddress ();
8517 return 0;
8519 _ACEOF
8520 if ac_fn_c_try_link "$LINENO"; then :
8521 case "$LIBEXT" in
8522 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8523 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'` ;;
8524 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8525 if ${ac_cv_lib_soname_EGL:+false} :; then :
8526 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8527 fi ;;
8528 esac
8530 rm -f core conftest.err conftest.$ac_objext \
8531 conftest$ac_exeext conftest.$ac_ext
8532 LIBS=$ac_check_soname_save_LIBS
8534 if ${ac_cv_lib_soname_EGL:+false} :; then :
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8536 $as_echo "not found" >&6; }
8538 else
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8540 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8542 cat >>confdefs.h <<_ACEOF
8543 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8544 _ACEOF
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8549 $as_echo_n "checking for -lGLESv2... " >&6; }
8550 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_check_soname_save_LIBS=$LIBS
8554 LIBS="-lGLESv2 $LIBS"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8558 /* Override any GCC internal prototype to avoid an error.
8559 Use char because int might match the return type of a GCC
8560 builtin and then its argument prototype would still apply. */
8561 #ifdef __cplusplus
8562 extern "C"
8563 #endif
8564 char glFlush ();
8566 main ()
8568 return glFlush ();
8570 return 0;
8572 _ACEOF
8573 if ac_fn_c_try_link "$LINENO"; then :
8574 case "$LIBEXT" in
8575 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8576 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'` ;;
8577 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8578 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8579 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8580 fi ;;
8581 esac
8583 rm -f core conftest.err conftest.$ac_objext \
8584 conftest$ac_exeext conftest.$ac_ext
8585 LIBS=$ac_check_soname_save_LIBS
8587 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8589 $as_echo "not found" >&6; }
8591 else
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8593 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8595 cat >>confdefs.h <<_ACEOF
8596 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8597 _ACEOF
8602 if test "x$exec_prefix" = xNONE
8603 then
8604 case $host_cpu in
8605 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8606 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8607 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8608 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8609 esac
8614 DLLFLAGS="$DLLFLAGS -fPIC"
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8616 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8617 if ${ac_cv_c_dll_gnuelf+:} false; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 ac_wine_try_cflags_saved=$CFLAGS
8621 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8623 /* end confdefs.h. */
8624 void myfunc() {}
8625 _ACEOF
8626 if ac_fn_c_try_link "$LINENO"; then :
8627 ac_cv_c_dll_gnuelf="yes"
8628 else
8629 ac_cv_c_dll_gnuelf="no"
8631 rm -f core conftest.err conftest.$ac_objext \
8632 conftest$ac_exeext conftest.$ac_ext
8633 CFLAGS=$ac_wine_try_cflags_saved
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8636 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8637 if test "$ac_cv_c_dll_gnuelf" = "yes"
8638 then
8639 LIBWINE_LDFLAGS="-shared"
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8641 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8642 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 ac_wine_try_cflags_saved=$CFLAGS
8646 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 int main(int argc, char **argv) { return 0; }
8650 _ACEOF
8651 if ac_fn_c_try_link "$LINENO"; then :
8652 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8653 else
8654 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8656 rm -f core conftest.err conftest.$ac_objext \
8657 conftest$ac_exeext conftest.$ac_ext
8658 CFLAGS=$ac_wine_try_cflags_saved
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8661 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8662 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8663 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8664 else
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8666 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8667 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8668 $as_echo_n "(cached) " >&6
8669 else
8670 ac_wine_try_cflags_saved=$CFLAGS
8671 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8674 int main(int argc, char **argv) { return 0; }
8675 _ACEOF
8676 if ac_fn_c_try_link "$LINENO"; then :
8677 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8678 else
8679 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8681 rm -f core conftest.err conftest.$ac_objext \
8682 conftest$ac_exeext conftest.$ac_ext
8683 CFLAGS=$ac_wine_try_cflags_saved
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8686 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8687 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8688 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8692 echo '{ global: *; };' >conftest.map
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8694 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8695 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8696 $as_echo_n "(cached) " >&6
8697 else
8698 ac_wine_try_cflags_saved=$CFLAGS
8699 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8701 /* end confdefs.h. */
8702 int main(int argc, char **argv) { return 0; }
8703 _ACEOF
8704 if ac_fn_c_try_link "$LINENO"; then :
8705 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8706 else
8707 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8709 rm -f core conftest.err conftest.$ac_objext \
8710 conftest$ac_exeext conftest.$ac_ext
8711 CFLAGS=$ac_wine_try_cflags_saved
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8714 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8715 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8716 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8718 rm -f conftest.map
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8721 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8722 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_wine_try_cflags_saved=$CFLAGS
8726 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 int main(int argc, char **argv) { return 0; }
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8733 else
8734 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 CFLAGS=$ac_wine_try_cflags_saved
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8741 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8742 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8743 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8746 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8748 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8749 if eval \${$as_ac_var+:} false; then :
8750 $as_echo_n "(cached) " >&6
8751 else
8752 ac_wine_try_cflags_saved=$CFLAGS
8753 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8755 /* end confdefs.h. */
8756 int main(int argc, char **argv) { return 0; }
8757 _ACEOF
8758 if ac_fn_c_try_link "$LINENO"; then :
8759 eval "$as_ac_var=yes"
8760 else
8761 eval "$as_ac_var=no"
8763 rm -f core conftest.err conftest.$ac_objext \
8764 conftest$ac_exeext conftest.$ac_ext
8765 CFLAGS=$ac_wine_try_cflags_saved
8767 eval ac_res=\$$as_ac_var
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8769 $as_echo "$ac_res" >&6; }
8770 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8771 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8772 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8773 else
8774 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8776 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8777 if eval \${$as_ac_var+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 ac_wine_try_cflags_saved=$CFLAGS
8781 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783 /* end confdefs.h. */
8784 int main(int argc, char **argv) { return 0; }
8785 _ACEOF
8786 if ac_fn_c_try_link "$LINENO"; then :
8787 eval "$as_ac_var=yes"
8788 else
8789 eval "$as_ac_var=no"
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 CFLAGS=$ac_wine_try_cflags_saved
8795 eval ac_res=\$$as_ac_var
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8797 $as_echo "$ac_res" >&6; }
8798 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8799 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8800 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8805 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8806 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 ac_wine_try_cflags_saved=$CFLAGS
8810 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8813 int main(int argc, char **argv) { return 0; }
8814 _ACEOF
8815 if ac_fn_c_try_link "$LINENO"; then :
8816 ac_cv_cflags__Wl___enable_new_dtags=yes
8817 else
8818 ac_cv_cflags__Wl___enable_new_dtags=no
8820 rm -f core conftest.err conftest.$ac_objext \
8821 conftest$ac_exeext conftest.$ac_ext
8822 CFLAGS=$ac_wine_try_cflags_saved
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8825 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8826 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8827 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8830 case $host_cpu in
8831 *i[3456789]86* | x86_64)
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8833 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8834 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8835 $as_echo_n "(cached) " >&6
8836 else
8837 ac_wine_try_cflags_saved=$CFLAGS
8838 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8840 /* end confdefs.h. */
8841 int main(int argc, char **argv) { return 0; }
8842 _ACEOF
8843 if ac_fn_c_try_link "$LINENO"; then :
8844 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8845 else
8846 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8848 rm -f core conftest.err conftest.$ac_objext \
8849 conftest$ac_exeext conftest.$ac_ext
8850 CFLAGS=$ac_wine_try_cflags_saved
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8853 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8854 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8855 case $host_os in
8856 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8857 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8858 esac
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8861 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8862 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 ac_wine_try_cflags_saved=$CFLAGS
8866 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8868 /* end confdefs.h. */
8869 int main(int argc, char **argv) { return 0; }
8870 _ACEOF
8871 if ac_fn_c_try_link "$LINENO"; then :
8872 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8873 else
8874 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8876 rm -f core conftest.err conftest.$ac_objext \
8877 conftest$ac_exeext conftest.$ac_ext
8878 CFLAGS=$ac_wine_try_cflags_saved
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8881 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8882 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8883 case $host_os in
8884 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8885 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8886 esac
8888 # Extract the first word of "prelink", so it can be a program name with args.
8889 set dummy prelink; ac_word=$2
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8891 $as_echo_n "checking for $ac_word... " >&6; }
8892 if ${ac_cv_path_PRELINK+:} false; then :
8893 $as_echo_n "(cached) " >&6
8894 else
8895 case $PRELINK in
8896 [\\/]* | ?:[\\/]*)
8897 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8901 for as_dir in /sbin /usr/sbin $PATH
8903 IFS=$as_save_IFS
8904 test -z "$as_dir" && as_dir=.
8905 for ac_exec_ext in '' $ac_executable_extensions; do
8906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8907 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8909 break 2
8911 done
8912 done
8913 IFS=$as_save_IFS
8915 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8917 esac
8919 PRELINK=$ac_cv_path_PRELINK
8920 if test -n "$PRELINK"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8922 $as_echo "$PRELINK" >&6; }
8923 else
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8925 $as_echo "no" >&6; }
8929 if test "x$PRELINK" = xfalse
8930 then
8931 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8935 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8936 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8937 $as_echo_n "(cached) " >&6
8938 else
8939 ac_wine_try_cflags_saved=$CFLAGS
8940 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8942 /* end confdefs.h. */
8943 int main(int argc, char **argv) { return 0; }
8944 _ACEOF
8945 if ac_fn_c_try_link "$LINENO"; then :
8946 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8947 else
8948 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8950 rm -f core conftest.err conftest.$ac_objext \
8951 conftest$ac_exeext conftest.$ac_ext
8952 CFLAGS=$ac_wine_try_cflags_saved
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8955 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8956 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8957 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8960 esac
8962 else
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8964 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8965 if ${ac_cv_c_dll_unixware+:} false; then :
8966 $as_echo_n "(cached) " >&6
8967 else
8968 ac_wine_try_cflags_saved=$CFLAGS
8969 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8971 /* end confdefs.h. */
8972 void myfunc() {}
8973 _ACEOF
8974 if ac_fn_c_try_link "$LINENO"; then :
8975 ac_cv_c_dll_unixware="yes"
8976 else
8977 ac_cv_c_dll_unixware="no"
8979 rm -f core conftest.err conftest.$ac_objext \
8980 conftest$ac_exeext conftest.$ac_ext
8981 CFLAGS=$ac_wine_try_cflags_saved
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8984 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8985 if test "$ac_cv_c_dll_unixware" = "yes"
8986 then
8987 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8990 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8992 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8994 LIBWINE_INSTALL_DEV="libwine.so"
8996 LIBWINE_DEPENDS="wine.map"
8999 esac
9001 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9002 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9003 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9004 enable_winemac_drv=${enable_winemac_drv:-no}
9005 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9007 CROSSTARGET=""
9009 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9010 then
9011 case "$host_cpu" in
9012 arm*)
9013 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9014 i[3456789]86*)
9015 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
9016 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9017 mingw32-gcc" ;;
9018 x86_64)
9019 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
9020 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9022 ac_prefix_list="" ;;
9023 esac
9024 for ac_prog in $ac_prefix_list
9026 # Extract the first word of "$ac_prog", so it can be a program name with args.
9027 set dummy $ac_prog; ac_word=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if ${ac_cv_prog_CROSSCC+:} false; then :
9031 $as_echo_n "(cached) " >&6
9032 else
9033 if test -n "$CROSSCC"; then
9034 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9035 else
9036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9037 for as_dir in $PATH
9039 IFS=$as_save_IFS
9040 test -z "$as_dir" && as_dir=.
9041 for ac_exec_ext in '' $ac_executable_extensions; do
9042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9043 ac_cv_prog_CROSSCC="$ac_prog"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9045 break 2
9047 done
9048 done
9049 IFS=$as_save_IFS
9053 CROSSCC=$ac_cv_prog_CROSSCC
9054 if test -n "$CROSSCC"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9056 $as_echo "$CROSSCC" >&6; }
9057 else
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9063 test -n "$CROSSCC" && break
9064 done
9065 test -n "$CROSSCC" || CROSSCC="false"
9067 if test "$CROSSCC" != "false"
9068 then
9069 ac_save_CC="$CC"
9070 CC="$CROSSCC"
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9072 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9074 /* end confdefs.h. */
9077 main ()
9081 return 0;
9083 _ACEOF
9084 if ac_fn_c_try_compile "$LINENO"; then :
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9086 $as_echo "yes" >&6; }
9087 set x $CROSSCC
9088 shift
9089 while test $# -ge 1
9091 case "$1" in
9092 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9093 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9094 esac
9095 shift
9096 done
9097 else
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9099 $as_echo "no" >&6; }
9101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9102 CC="$ac_save_CC"
9107 if test "$ac_cv_header_pthread_h" = "yes"
9108 then
9109 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9110 if test "x$ac_cv_func_pthread_create" = xyes; then :
9112 else
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9114 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9115 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9116 $as_echo_n "(cached) " >&6
9117 else
9118 ac_check_lib_save_LIBS=$LIBS
9119 LIBS="-lpthread $LIBS"
9120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9123 /* Override any GCC internal prototype to avoid an error.
9124 Use char because int might match the return type of a GCC
9125 builtin and then its argument prototype would still apply. */
9126 #ifdef __cplusplus
9127 extern "C"
9128 #endif
9129 char pthread_create ();
9131 main ()
9133 return pthread_create ();
9135 return 0;
9137 _ACEOF
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 ac_cv_lib_pthread_pthread_create=yes
9140 else
9141 ac_cv_lib_pthread_pthread_create=no
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 LIBS=$ac_check_lib_save_LIBS
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9148 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9149 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9150 PTHREAD_LIBS="-lpthread"
9157 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9158 case "x$with_pthread" in
9159 xno) ;;
9160 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9161 Wine cannot support threads without libpthread.
9162 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9163 esac
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9169 $as_echo_n "checking for X... " >&6; }
9172 # Check whether --with-x was given.
9173 if test "${with_x+set}" = set; then :
9174 withval=$with_x;
9177 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9178 if test "x$with_x" = xno; then
9179 # The user explicitly disabled X.
9180 have_x=disabled
9181 else
9182 case $x_includes,$x_libraries in #(
9183 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9184 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9185 $as_echo_n "(cached) " >&6
9186 else
9187 # One or both of the vars are not set, and there is no cached value.
9188 ac_x_includes=no ac_x_libraries=no
9189 rm -f -r conftest.dir
9190 if mkdir conftest.dir; then
9191 cd conftest.dir
9192 cat >Imakefile <<'_ACEOF'
9193 incroot:
9194 @echo incroot='${INCROOT}'
9195 usrlibdir:
9196 @echo usrlibdir='${USRLIBDIR}'
9197 libdir:
9198 @echo libdir='${LIBDIR}'
9199 _ACEOF
9200 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9201 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9202 for ac_var in incroot usrlibdir libdir; do
9203 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9204 done
9205 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9206 for ac_extension in a so sl dylib la dll; do
9207 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9208 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9209 ac_im_usrlibdir=$ac_im_libdir; break
9211 done
9212 # Screen out bogus values from the imake configuration. They are
9213 # bogus both because they are the default anyway, and because
9214 # using them would break gcc on systems where it needs fixed includes.
9215 case $ac_im_incroot in
9216 /usr/include) ac_x_includes= ;;
9217 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9218 esac
9219 case $ac_im_usrlibdir in
9220 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9221 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9222 esac
9224 cd ..
9225 rm -f -r conftest.dir
9228 # Standard set of common directories for X headers.
9229 # Check X11 before X11Rn because it is often a symlink to the current release.
9230 ac_x_header_dirs='
9231 /usr/X11/include
9232 /usr/X11R7/include
9233 /usr/X11R6/include
9234 /usr/X11R5/include
9235 /usr/X11R4/include
9237 /usr/include/X11
9238 /usr/include/X11R7
9239 /usr/include/X11R6
9240 /usr/include/X11R5
9241 /usr/include/X11R4
9243 /usr/local/X11/include
9244 /usr/local/X11R7/include
9245 /usr/local/X11R6/include
9246 /usr/local/X11R5/include
9247 /usr/local/X11R4/include
9249 /usr/local/include/X11
9250 /usr/local/include/X11R7
9251 /usr/local/include/X11R6
9252 /usr/local/include/X11R5
9253 /usr/local/include/X11R4
9255 /usr/X386/include
9256 /usr/x386/include
9257 /usr/XFree86/include/X11
9259 /usr/include
9260 /usr/local/include
9261 /usr/unsupported/include
9262 /usr/athena/include
9263 /usr/local/x11r5/include
9264 /usr/lpp/Xamples/include
9266 /usr/openwin/include
9267 /usr/openwin/share/include'
9269 if test "$ac_x_includes" = no; then
9270 # Guess where to find include files, by looking for Xlib.h.
9271 # First, try using that file with no special directory specified.
9272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9273 /* end confdefs.h. */
9274 #include <X11/Xlib.h>
9275 _ACEOF
9276 if ac_fn_c_try_cpp "$LINENO"; then :
9277 # We can compile using X headers with no special include directory.
9278 ac_x_includes=
9279 else
9280 for ac_dir in $ac_x_header_dirs; do
9281 if test -r "$ac_dir/X11/Xlib.h"; then
9282 ac_x_includes=$ac_dir
9283 break
9285 done
9287 rm -f conftest.err conftest.i conftest.$ac_ext
9288 fi # $ac_x_includes = no
9290 if test "$ac_x_libraries" = no; then
9291 # Check for the libraries.
9292 # See if we find them without any special options.
9293 # Don't add to $LIBS permanently.
9294 ac_save_LIBS=$LIBS
9295 LIBS="-lX11 $LIBS"
9296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9297 /* end confdefs.h. */
9298 #include <X11/Xlib.h>
9300 main ()
9302 XrmInitialize ()
9304 return 0;
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 LIBS=$ac_save_LIBS
9309 # We can link X programs with no special library path.
9310 ac_x_libraries=
9311 else
9312 LIBS=$ac_save_LIBS
9313 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9315 # Don't even attempt the hair of trying to link an X program!
9316 for ac_extension in a so sl dylib la dll; do
9317 if test -r "$ac_dir/libX11.$ac_extension"; then
9318 ac_x_libraries=$ac_dir
9319 break 2
9321 done
9322 done
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 fi # $ac_x_libraries = no
9328 case $ac_x_includes,$ac_x_libraries in #(
9329 no,* | *,no | *\'*)
9330 # Didn't find X, or a directory has "'" in its name.
9331 ac_cv_have_x="have_x=no";; #(
9333 # Record where we found X for the cache.
9334 ac_cv_have_x="have_x=yes\
9335 ac_x_includes='$ac_x_includes'\
9336 ac_x_libraries='$ac_x_libraries'"
9337 esac
9339 ;; #(
9340 *) have_x=yes;;
9341 esac
9342 eval "$ac_cv_have_x"
9343 fi # $with_x != no
9345 if test "$have_x" != yes; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9347 $as_echo "$have_x" >&6; }
9348 no_x=yes
9349 else
9350 # If each of the values was on the command line, it overrides each guess.
9351 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9352 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9353 # Update the cache value to reflect the command line values.
9354 ac_cv_have_x="have_x=yes\
9355 ac_x_includes='$x_includes'\
9356 ac_x_libraries='$x_libraries'"
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9358 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9361 if test "$no_x" = yes; then
9362 # Not all programs may use this symbol, but it does not hurt to define it.
9364 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9366 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9367 else
9368 if test -n "$x_includes"; then
9369 X_CFLAGS="$X_CFLAGS -I$x_includes"
9372 # It would also be nice to do this for all -L options, not just this one.
9373 if test -n "$x_libraries"; then
9374 X_LIBS="$X_LIBS -L$x_libraries"
9375 # For Solaris; some versions of Sun CC require a space after -R and
9376 # others require no space. Words are not sufficient . . . .
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9378 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9379 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9380 ac_xsave_c_werror_flag=$ac_c_werror_flag
9381 ac_c_werror_flag=yes
9382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9383 /* end confdefs.h. */
9386 main ()
9390 return 0;
9392 _ACEOF
9393 if ac_fn_c_try_link "$LINENO"; then :
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9395 $as_echo "no" >&6; }
9396 X_LIBS="$X_LIBS -R$x_libraries"
9397 else
9398 LIBS="$ac_xsave_LIBS -R $x_libraries"
9399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9400 /* end confdefs.h. */
9403 main ()
9407 return 0;
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9412 $as_echo "yes" >&6; }
9413 X_LIBS="$X_LIBS -R $x_libraries"
9414 else
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9416 $as_echo "neither works" >&6; }
9418 rm -f core conftest.err conftest.$ac_objext \
9419 conftest$ac_exeext conftest.$ac_ext
9421 rm -f core conftest.err conftest.$ac_objext \
9422 conftest$ac_exeext conftest.$ac_ext
9423 ac_c_werror_flag=$ac_xsave_c_werror_flag
9424 LIBS=$ac_xsave_LIBS
9427 # Check for system-dependent libraries X programs must link with.
9428 # Do this before checking for the system-independent R6 libraries
9429 # (-lICE), since we may need -lsocket or whatever for X linking.
9431 if test "$ISC" = yes; then
9432 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9433 else
9434 # Martyn Johnson says this is needed for Ultrix, if the X
9435 # libraries were built with DECnet support. And Karl Berry says
9436 # the Alpha needs dnet_stub (dnet does not exist).
9437 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9441 /* Override any GCC internal prototype to avoid an error.
9442 Use char because int might match the return type of a GCC
9443 builtin and then its argument prototype would still apply. */
9444 #ifdef __cplusplus
9445 extern "C"
9446 #endif
9447 char XOpenDisplay ();
9449 main ()
9451 return XOpenDisplay ();
9453 return 0;
9455 _ACEOF
9456 if ac_fn_c_try_link "$LINENO"; then :
9458 else
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9460 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9461 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9462 $as_echo_n "(cached) " >&6
9463 else
9464 ac_check_lib_save_LIBS=$LIBS
9465 LIBS="-ldnet $LIBS"
9466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9467 /* end confdefs.h. */
9469 /* Override any GCC internal prototype to avoid an error.
9470 Use char because int might match the return type of a GCC
9471 builtin and then its argument prototype would still apply. */
9472 #ifdef __cplusplus
9473 extern "C"
9474 #endif
9475 char dnet_ntoa ();
9477 main ()
9479 return dnet_ntoa ();
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 ac_cv_lib_dnet_dnet_ntoa=yes
9486 else
9487 ac_cv_lib_dnet_dnet_ntoa=no
9489 rm -f core conftest.err conftest.$ac_objext \
9490 conftest$ac_exeext conftest.$ac_ext
9491 LIBS=$ac_check_lib_save_LIBS
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9494 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9495 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9496 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9499 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9501 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9502 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_check_lib_save_LIBS=$LIBS
9506 LIBS="-ldnet_stub $LIBS"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9513 #ifdef __cplusplus
9514 extern "C"
9515 #endif
9516 char dnet_ntoa ();
9518 main ()
9520 return dnet_ntoa ();
9522 return 0;
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"; then :
9526 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9527 else
9528 ac_cv_lib_dnet_stub_dnet_ntoa=no
9530 rm -f core conftest.err conftest.$ac_objext \
9531 conftest$ac_exeext conftest.$ac_ext
9532 LIBS=$ac_check_lib_save_LIBS
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9535 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9536 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9537 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9542 rm -f core conftest.err conftest.$ac_objext \
9543 conftest$ac_exeext conftest.$ac_ext
9544 LIBS="$ac_xsave_LIBS"
9546 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9547 # to get the SysV transport functions.
9548 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9549 # needs -lnsl.
9550 # The nsl library prevents programs from opening the X display
9551 # on Irix 5.2, according to T.E. Dickey.
9552 # The functions gethostbyname, getservbyname, and inet_addr are
9553 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9554 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9555 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9559 if test $ac_cv_func_gethostbyname = no; then
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9561 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9562 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9563 $as_echo_n "(cached) " >&6
9564 else
9565 ac_check_lib_save_LIBS=$LIBS
9566 LIBS="-lnsl $LIBS"
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9570 /* Override any GCC internal prototype to avoid an error.
9571 Use char because int might match the return type of a GCC
9572 builtin and then its argument prototype would still apply. */
9573 #ifdef __cplusplus
9574 extern "C"
9575 #endif
9576 char gethostbyname ();
9578 main ()
9580 return gethostbyname ();
9582 return 0;
9584 _ACEOF
9585 if ac_fn_c_try_link "$LINENO"; then :
9586 ac_cv_lib_nsl_gethostbyname=yes
9587 else
9588 ac_cv_lib_nsl_gethostbyname=no
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 LIBS=$ac_check_lib_save_LIBS
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9595 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9596 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9597 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9600 if test $ac_cv_lib_nsl_gethostbyname = no; then
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9602 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9603 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9604 $as_echo_n "(cached) " >&6
9605 else
9606 ac_check_lib_save_LIBS=$LIBS
9607 LIBS="-lbsd $LIBS"
9608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9614 #ifdef __cplusplus
9615 extern "C"
9616 #endif
9617 char gethostbyname ();
9619 main ()
9621 return gethostbyname ();
9623 return 0;
9625 _ACEOF
9626 if ac_fn_c_try_link "$LINENO"; then :
9627 ac_cv_lib_bsd_gethostbyname=yes
9628 else
9629 ac_cv_lib_bsd_gethostbyname=no
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 LIBS=$ac_check_lib_save_LIBS
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9636 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9637 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9638 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9644 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9645 # socket/setsockopt and other routines are undefined under SCO ODT
9646 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9647 # on later versions), says Simon Leinen: it contains gethostby*
9648 # variants that don't use the name server (or something). -lsocket
9649 # must be given before -lnsl if both are needed. We assume that
9650 # if connect needs -lnsl, so does gethostbyname.
9651 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9652 if test "x$ac_cv_func_connect" = xyes; then :
9656 if test $ac_cv_func_connect = no; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9658 $as_echo_n "checking for connect in -lsocket... " >&6; }
9659 if ${ac_cv_lib_socket_connect+:} false; then :
9660 $as_echo_n "(cached) " >&6
9661 else
9662 ac_check_lib_save_LIBS=$LIBS
9663 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9665 /* end confdefs.h. */
9667 /* Override any GCC internal prototype to avoid an error.
9668 Use char because int might match the return type of a GCC
9669 builtin and then its argument prototype would still apply. */
9670 #ifdef __cplusplus
9671 extern "C"
9672 #endif
9673 char connect ();
9675 main ()
9677 return connect ();
9679 return 0;
9681 _ACEOF
9682 if ac_fn_c_try_link "$LINENO"; then :
9683 ac_cv_lib_socket_connect=yes
9684 else
9685 ac_cv_lib_socket_connect=no
9687 rm -f core conftest.err conftest.$ac_objext \
9688 conftest$ac_exeext conftest.$ac_ext
9689 LIBS=$ac_check_lib_save_LIBS
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9692 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9693 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9694 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9699 # Guillermo Gomez says -lposix is necessary on A/UX.
9700 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9701 if test "x$ac_cv_func_remove" = xyes; then :
9705 if test $ac_cv_func_remove = no; then
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9707 $as_echo_n "checking for remove in -lposix... " >&6; }
9708 if ${ac_cv_lib_posix_remove+:} false; then :
9709 $as_echo_n "(cached) " >&6
9710 else
9711 ac_check_lib_save_LIBS=$LIBS
9712 LIBS="-lposix $LIBS"
9713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9716 /* Override any GCC internal prototype to avoid an error.
9717 Use char because int might match the return type of a GCC
9718 builtin and then its argument prototype would still apply. */
9719 #ifdef __cplusplus
9720 extern "C"
9721 #endif
9722 char remove ();
9724 main ()
9726 return remove ();
9728 return 0;
9730 _ACEOF
9731 if ac_fn_c_try_link "$LINENO"; then :
9732 ac_cv_lib_posix_remove=yes
9733 else
9734 ac_cv_lib_posix_remove=no
9736 rm -f core conftest.err conftest.$ac_objext \
9737 conftest$ac_exeext conftest.$ac_ext
9738 LIBS=$ac_check_lib_save_LIBS
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9741 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9742 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9743 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9748 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9749 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9750 if test "x$ac_cv_func_shmat" = xyes; then :
9754 if test $ac_cv_func_shmat = no; then
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9756 $as_echo_n "checking for shmat in -lipc... " >&6; }
9757 if ${ac_cv_lib_ipc_shmat+:} false; then :
9758 $as_echo_n "(cached) " >&6
9759 else
9760 ac_check_lib_save_LIBS=$LIBS
9761 LIBS="-lipc $LIBS"
9762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9765 /* Override any GCC internal prototype to avoid an error.
9766 Use char because int might match the return type of a GCC
9767 builtin and then its argument prototype would still apply. */
9768 #ifdef __cplusplus
9769 extern "C"
9770 #endif
9771 char shmat ();
9773 main ()
9775 return shmat ();
9777 return 0;
9779 _ACEOF
9780 if ac_fn_c_try_link "$LINENO"; then :
9781 ac_cv_lib_ipc_shmat=yes
9782 else
9783 ac_cv_lib_ipc_shmat=no
9785 rm -f core conftest.err conftest.$ac_objext \
9786 conftest$ac_exeext conftest.$ac_ext
9787 LIBS=$ac_check_lib_save_LIBS
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9790 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9791 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9792 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9798 # Check for libraries that X11R6 Xt/Xaw programs need.
9799 ac_save_LDFLAGS=$LDFLAGS
9800 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9801 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9802 # check for ICE first), but we must link in the order -lSM -lICE or
9803 # we get undefined symbols. So assume we have SM if we have ICE.
9804 # These have to be linked with before -lX11, unlike the other
9805 # libraries we check for below, so use a different variable.
9806 # John Interrante, Karl Berry
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9808 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9809 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9810 $as_echo_n "(cached) " >&6
9811 else
9812 ac_check_lib_save_LIBS=$LIBS
9813 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9815 /* end confdefs.h. */
9817 /* Override any GCC internal prototype to avoid an error.
9818 Use char because int might match the return type of a GCC
9819 builtin and then its argument prototype would still apply. */
9820 #ifdef __cplusplus
9821 extern "C"
9822 #endif
9823 char IceConnectionNumber ();
9825 main ()
9827 return IceConnectionNumber ();
9829 return 0;
9831 _ACEOF
9832 if ac_fn_c_try_link "$LINENO"; then :
9833 ac_cv_lib_ICE_IceConnectionNumber=yes
9834 else
9835 ac_cv_lib_ICE_IceConnectionNumber=no
9837 rm -f core conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9839 LIBS=$ac_check_lib_save_LIBS
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9842 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9843 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9844 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9847 LDFLAGS=$ac_save_LDFLAGS
9852 if test "$have_x" = "yes"
9853 then
9854 ac_save_CPPFLAGS="$CPPFLAGS"
9855 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9858 $as_echo_n "checking for -lX11... " >&6; }
9859 if ${ac_cv_lib_soname_X11+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_check_soname_save_LIBS=$LIBS
9863 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9865 /* end confdefs.h. */
9867 /* Override any GCC internal prototype to avoid an error.
9868 Use char because int might match the return type of a GCC
9869 builtin and then its argument prototype would still apply. */
9870 #ifdef __cplusplus
9871 extern "C"
9872 #endif
9873 char XCreateWindow ();
9875 main ()
9877 return XCreateWindow ();
9879 return 0;
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 case "$LIBEXT" in
9884 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9885 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'` ;;
9886 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9887 if ${ac_cv_lib_soname_X11:+false} :; then :
9888 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9889 fi ;;
9890 esac
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_soname_save_LIBS
9896 if ${ac_cv_lib_soname_X11:+false} :; then :
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9898 $as_echo "not found" >&6; }
9900 else
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9902 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9904 cat >>confdefs.h <<_ACEOF
9905 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9906 _ACEOF
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9911 $as_echo_n "checking for -lXext... " >&6; }
9912 if ${ac_cv_lib_soname_Xext+:} false; then :
9913 $as_echo_n "(cached) " >&6
9914 else
9915 ac_check_soname_save_LIBS=$LIBS
9916 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9920 /* Override any GCC internal prototype to avoid an error.
9921 Use char because int might match the return type of a GCC
9922 builtin and then its argument prototype would still apply. */
9923 #ifdef __cplusplus
9924 extern "C"
9925 #endif
9926 char XextCreateExtension ();
9928 main ()
9930 return XextCreateExtension ();
9932 return 0;
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"; then :
9936 case "$LIBEXT" in
9937 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9938 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'` ;;
9939 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9940 if ${ac_cv_lib_soname_Xext:+false} :; then :
9941 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9942 fi ;;
9943 esac
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 LIBS=$ac_check_soname_save_LIBS
9949 if ${ac_cv_lib_soname_Xext:+false} :; then :
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9951 $as_echo "not found" >&6; }
9953 else
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9955 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9957 cat >>confdefs.h <<_ACEOF
9958 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9959 _ACEOF
9961 X_LIBS="$X_LIBS -lXext"
9963 X_LIBS="$X_LIBS -lX11"
9965 for ac_header in X11/Xlib.h \
9966 X11/XKBlib.h \
9967 X11/Xutil.h \
9968 X11/Xcursor/Xcursor.h \
9969 X11/extensions/shape.h \
9970 X11/extensions/XInput.h \
9971 X11/extensions/XInput2.h \
9972 X11/extensions/XShm.h \
9973 X11/extensions/Xcomposite.h \
9974 X11/extensions/Xfixes.h \
9975 X11/extensions/Xinerama.h \
9976 X11/extensions/Xrandr.h \
9977 X11/extensions/Xrender.h \
9978 X11/extensions/xf86vmode.h \
9979 X11/extensions/xf86vmproto.h
9980 do :
9981 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9982 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9983 # include <X11/Xlib.h>
9984 #endif
9985 #ifdef HAVE_X11_XUTIL_H
9986 # include <X11/Xutil.h>
9987 #endif
9989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9990 cat >>confdefs.h <<_ACEOF
9991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9992 _ACEOF
9996 done
9999 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10000 then
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10002 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10003 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10004 $as_echo_n "(cached) " >&6
10005 else
10006 ac_check_lib_save_LIBS=$LIBS
10007 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10009 /* end confdefs.h. */
10011 /* Override any GCC internal prototype to avoid an error.
10012 Use char because int might match the return type of a GCC
10013 builtin and then its argument prototype would still apply. */
10014 #ifdef __cplusplus
10015 extern "C"
10016 #endif
10017 char XkbQueryExtension ();
10019 main ()
10021 return XkbQueryExtension ();
10023 return 0;
10025 _ACEOF
10026 if ac_fn_c_try_link "$LINENO"; then :
10027 ac_cv_lib_X11_XkbQueryExtension=yes
10028 else
10029 ac_cv_lib_X11_XkbQueryExtension=no
10031 rm -f core conftest.err conftest.$ac_objext \
10032 conftest$ac_exeext conftest.$ac_ext
10033 LIBS=$ac_check_lib_save_LIBS
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10036 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10037 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10039 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10045 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10046 then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10048 $as_echo_n "checking for -lXcursor... " >&6; }
10049 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10050 $as_echo_n "(cached) " >&6
10051 else
10052 ac_check_soname_save_LIBS=$LIBS
10053 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10057 /* Override any GCC internal prototype to avoid an error.
10058 Use char because int might match the return type of a GCC
10059 builtin and then its argument prototype would still apply. */
10060 #ifdef __cplusplus
10061 extern "C"
10062 #endif
10063 char XcursorImageLoadCursor ();
10065 main ()
10067 return XcursorImageLoadCursor ();
10069 return 0;
10071 _ACEOF
10072 if ac_fn_c_try_link "$LINENO"; then :
10073 case "$LIBEXT" in
10074 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10075 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'` ;;
10076 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10077 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10078 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10079 fi ;;
10080 esac
10082 rm -f core conftest.err conftest.$ac_objext \
10083 conftest$ac_exeext conftest.$ac_ext
10084 LIBS=$ac_check_soname_save_LIBS
10086 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10088 $as_echo "not found" >&6; }
10090 else
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10092 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10094 cat >>confdefs.h <<_ACEOF
10095 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10096 _ACEOF
10101 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10102 case "x$with_xcursor" in
10103 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10104 xno) ;;
10105 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10106 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10107 esac
10111 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10112 then
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10114 $as_echo_n "checking for -lXi... " >&6; }
10115 if ${ac_cv_lib_soname_Xi+:} false; then :
10116 $as_echo_n "(cached) " >&6
10117 else
10118 ac_check_soname_save_LIBS=$LIBS
10119 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10121 /* end confdefs.h. */
10123 /* Override any GCC internal prototype to avoid an error.
10124 Use char because int might match the return type of a GCC
10125 builtin and then its argument prototype would still apply. */
10126 #ifdef __cplusplus
10127 extern "C"
10128 #endif
10129 char XOpenDevice ();
10131 main ()
10133 return XOpenDevice ();
10135 return 0;
10137 _ACEOF
10138 if ac_fn_c_try_link "$LINENO"; then :
10139 case "$LIBEXT" in
10140 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10141 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'` ;;
10142 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10143 if ${ac_cv_lib_soname_Xi:+false} :; then :
10144 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10145 fi ;;
10146 esac
10148 rm -f core conftest.err conftest.$ac_objext \
10149 conftest$ac_exeext conftest.$ac_ext
10150 LIBS=$ac_check_soname_save_LIBS
10152 if ${ac_cv_lib_soname_Xi:+false} :; then :
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10154 $as_echo "not found" >&6; }
10156 else
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10158 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10160 cat >>confdefs.h <<_ACEOF
10161 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10162 _ACEOF
10167 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10168 case "x$with_xinput" in
10169 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10170 xno) ;;
10171 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10172 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10173 esac
10177 if test "x$ac_cv_lib_soname_Xi" != x
10178 then
10179 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10180 case "x$with_xinput2" in
10181 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10182 xno) ;;
10183 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10184 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10185 esac
10190 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10191 then
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10193 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10194 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10195 $as_echo_n "(cached) " >&6
10196 else
10197 ac_check_lib_save_LIBS=$LIBS
10198 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10200 /* end confdefs.h. */
10202 /* Override any GCC internal prototype to avoid an error.
10203 Use char because int might match the return type of a GCC
10204 builtin and then its argument prototype would still apply. */
10205 #ifdef __cplusplus
10206 extern "C"
10207 #endif
10208 char XShmQueryExtension ();
10210 main ()
10212 return XShmQueryExtension ();
10214 return 0;
10216 _ACEOF
10217 if ac_fn_c_try_link "$LINENO"; then :
10218 ac_cv_lib_Xext_XShmQueryExtension=yes
10219 else
10220 ac_cv_lib_Xext_XShmQueryExtension=no
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_lib_save_LIBS
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10227 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10228 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10230 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10235 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10236 case "x$with_xshm" in
10237 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10238 xno) ;;
10239 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10240 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10241 esac
10245 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10246 then
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10248 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10249 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10250 $as_echo_n "(cached) " >&6
10251 else
10252 ac_check_lib_save_LIBS=$LIBS
10253 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10255 /* end confdefs.h. */
10257 /* Override any GCC internal prototype to avoid an error.
10258 Use char because int might match the return type of a GCC
10259 builtin and then its argument prototype would still apply. */
10260 #ifdef __cplusplus
10261 extern "C"
10262 #endif
10263 char XShapeQueryExtension ();
10265 main ()
10267 return XShapeQueryExtension ();
10269 return 0;
10271 _ACEOF
10272 if ac_fn_c_try_link "$LINENO"; then :
10273 ac_cv_lib_Xext_XShapeQueryExtension=yes
10274 else
10275 ac_cv_lib_Xext_XShapeQueryExtension=no
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 LIBS=$ac_check_lib_save_LIBS
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10282 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10283 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10285 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10290 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10291 case "x$with_xshape" in
10292 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10293 xno) ;;
10294 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10295 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10296 esac
10300 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10301 then
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10303 $as_echo_n "checking for -lXxf86vm... " >&6; }
10304 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10305 $as_echo_n "(cached) " >&6
10306 else
10307 ac_check_soname_save_LIBS=$LIBS
10308 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10312 /* Override any GCC internal prototype to avoid an error.
10313 Use char because int might match the return type of a GCC
10314 builtin and then its argument prototype would still apply. */
10315 #ifdef __cplusplus
10316 extern "C"
10317 #endif
10318 char XF86VidModeQueryExtension ();
10320 main ()
10322 return XF86VidModeQueryExtension ();
10324 return 0;
10326 _ACEOF
10327 if ac_fn_c_try_link "$LINENO"; then :
10328 case "$LIBEXT" in
10329 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10330 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'` ;;
10331 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10332 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10333 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10334 fi ;;
10335 esac
10337 rm -f core conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_soname_save_LIBS
10341 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10343 $as_echo "not found" >&6; }
10345 else
10346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10347 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10349 cat >>confdefs.h <<_ACEOF
10350 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10351 _ACEOF
10356 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10357 case "x$with_xxf86vm" in
10358 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10359 xno) ;;
10360 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10361 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10362 esac
10366 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10367 then
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10369 $as_echo_n "checking for -lXrender... " >&6; }
10370 if ${ac_cv_lib_soname_Xrender+:} false; then :
10371 $as_echo_n "(cached) " >&6
10372 else
10373 ac_check_soname_save_LIBS=$LIBS
10374 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10378 /* Override any GCC internal prototype to avoid an error.
10379 Use char because int might match the return type of a GCC
10380 builtin and then its argument prototype would still apply. */
10381 #ifdef __cplusplus
10382 extern "C"
10383 #endif
10384 char XRenderQueryExtension ();
10386 main ()
10388 return XRenderQueryExtension ();
10390 return 0;
10392 _ACEOF
10393 if ac_fn_c_try_link "$LINENO"; then :
10394 case "$LIBEXT" in
10395 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10396 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'` ;;
10397 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10398 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10399 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10400 fi ;;
10401 esac
10403 rm -f core conftest.err conftest.$ac_objext \
10404 conftest$ac_exeext conftest.$ac_ext
10405 LIBS=$ac_check_soname_save_LIBS
10407 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10409 $as_echo "not found" >&6; }
10411 else
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10413 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10415 cat >>confdefs.h <<_ACEOF
10416 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10417 _ACEOF
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10420 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10421 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10422 $as_echo_n "(cached) " >&6
10423 else
10424 ac_check_lib_save_LIBS=$LIBS
10425 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10427 /* end confdefs.h. */
10429 /* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10432 #ifdef __cplusplus
10433 extern "C"
10434 #endif
10435 char XRenderSetPictureTransform ();
10437 main ()
10439 return XRenderSetPictureTransform ();
10441 return 0;
10443 _ACEOF
10444 if ac_fn_c_try_link "$LINENO"; then :
10445 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10446 else
10447 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10449 rm -f core conftest.err conftest.$ac_objext \
10450 conftest$ac_exeext conftest.$ac_ext
10451 LIBS=$ac_check_lib_save_LIBS
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10454 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10455 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10457 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10462 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10463 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_check_lib_save_LIBS=$LIBS
10467 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 #ifdef __cplusplus
10475 extern "C"
10476 #endif
10477 char XRenderCreateLinearGradient ();
10479 main ()
10481 return XRenderCreateLinearGradient ();
10483 return 0;
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10488 else
10489 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 LIBS=$ac_check_lib_save_LIBS
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10496 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10497 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10499 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10506 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10507 case "x$with_xrender" in
10508 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10509 xno) ;;
10510 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10511 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10512 esac
10516 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10517 then
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10520 #include <X11/Xlib.h>
10521 #include <X11/extensions/Xrandr.h>
10523 main ()
10525 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10527 return 0;
10529 _ACEOF
10530 if ac_fn_c_try_compile "$LINENO"; then :
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10532 $as_echo_n "checking for -lXrandr... " >&6; }
10533 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10534 $as_echo_n "(cached) " >&6
10535 else
10536 ac_check_soname_save_LIBS=$LIBS
10537 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10541 /* Override any GCC internal prototype to avoid an error.
10542 Use char because int might match the return type of a GCC
10543 builtin and then its argument prototype would still apply. */
10544 #ifdef __cplusplus
10545 extern "C"
10546 #endif
10547 char XRRQueryExtension ();
10549 main ()
10551 return XRRQueryExtension ();
10553 return 0;
10555 _ACEOF
10556 if ac_fn_c_try_link "$LINENO"; then :
10557 case "$LIBEXT" in
10558 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10559 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'` ;;
10560 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10561 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10562 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10563 fi ;;
10564 esac
10566 rm -f core conftest.err conftest.$ac_objext \
10567 conftest$ac_exeext conftest.$ac_ext
10568 LIBS=$ac_check_soname_save_LIBS
10570 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10572 $as_echo "not found" >&6; }
10574 else
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10576 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10578 cat >>confdefs.h <<_ACEOF
10579 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10580 _ACEOF
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10584 #include <X11/Xlib.h>
10585 #include <X11/extensions/Xrandr.h>
10587 main ()
10589 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10591 return 0;
10593 _ACEOF
10594 if ac_fn_c_try_compile "$LINENO"; then :
10596 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10604 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10605 case "x$with_xrandr" in
10606 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10607 xno) ;;
10608 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10609 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10610 esac
10614 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10615 then
10616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10617 /* end confdefs.h. */
10618 #include <X11/Xlib.h>
10619 #include <X11/extensions/Xfixes.h>
10621 main ()
10623 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10625 return 0;
10627 _ACEOF
10628 if ac_fn_c_try_compile "$LINENO"; then :
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10630 $as_echo_n "checking for -lXfixes... " >&6; }
10631 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10632 $as_echo_n "(cached) " >&6
10633 else
10634 ac_check_soname_save_LIBS=$LIBS
10635 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10637 /* end confdefs.h. */
10639 /* Override any GCC internal prototype to avoid an error.
10640 Use char because int might match the return type of a GCC
10641 builtin and then its argument prototype would still apply. */
10642 #ifdef __cplusplus
10643 extern "C"
10644 #endif
10645 char XFixesQueryVersion ();
10647 main ()
10649 return XFixesQueryVersion ();
10651 return 0;
10653 _ACEOF
10654 if ac_fn_c_try_link "$LINENO"; then :
10655 case "$LIBEXT" in
10656 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10657 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'` ;;
10658 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10659 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10660 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10661 fi ;;
10662 esac
10664 rm -f core conftest.err conftest.$ac_objext \
10665 conftest$ac_exeext conftest.$ac_ext
10666 LIBS=$ac_check_soname_save_LIBS
10668 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10670 $as_echo "not found" >&6; }
10672 else
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10674 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10676 cat >>confdefs.h <<_ACEOF
10677 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10678 _ACEOF
10683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10685 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10686 case "x$with_xfixes" in
10687 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10688 xno) ;;
10689 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10690 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10691 esac
10695 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10696 then
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10699 #include <X11/Xlib.h>
10700 #include <X11/extensions/Xinerama.h>
10702 main ()
10704 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10706 return 0;
10708 _ACEOF
10709 if ac_fn_c_try_compile "$LINENO"; then :
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10711 $as_echo_n "checking for -lXinerama... " >&6; }
10712 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_check_soname_save_LIBS=$LIBS
10716 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10723 #ifdef __cplusplus
10724 extern "C"
10725 #endif
10726 char XineramaQueryScreens ();
10728 main ()
10730 return XineramaQueryScreens ();
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 case "$LIBEXT" in
10737 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10738 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'` ;;
10739 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10740 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10741 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10742 fi ;;
10743 esac
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_soname_save_LIBS
10749 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10751 $as_echo "not found" >&6; }
10753 else
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10755 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10757 cat >>confdefs.h <<_ACEOF
10758 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10759 _ACEOF
10764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10766 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10767 case "x$with_xinerama" in
10768 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10769 xno) ;;
10770 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10771 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10772 esac
10776 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10777 then
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10779 $as_echo_n "checking for -lXcomposite... " >&6; }
10780 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10781 $as_echo_n "(cached) " >&6
10782 else
10783 ac_check_soname_save_LIBS=$LIBS
10784 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10786 /* end confdefs.h. */
10788 /* Override any GCC internal prototype to avoid an error.
10789 Use char because int might match the return type of a GCC
10790 builtin and then its argument prototype would still apply. */
10791 #ifdef __cplusplus
10792 extern "C"
10793 #endif
10794 char XCompositeRedirectWindow ();
10796 main ()
10798 return XCompositeRedirectWindow ();
10800 return 0;
10802 _ACEOF
10803 if ac_fn_c_try_link "$LINENO"; then :
10804 case "$LIBEXT" in
10805 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10806 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'` ;;
10807 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10808 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10809 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10810 fi ;;
10811 esac
10813 rm -f core conftest.err conftest.$ac_objext \
10814 conftest$ac_exeext conftest.$ac_ext
10815 LIBS=$ac_check_soname_save_LIBS
10817 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10819 $as_echo "not found" >&6; }
10821 else
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10823 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10825 cat >>confdefs.h <<_ACEOF
10826 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10827 _ACEOF
10832 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10833 case "x$with_xcomposite" in
10834 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10835 xno) ;;
10836 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10837 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10838 esac
10842 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10843 #include <X11/Xlib.h>
10844 #endif
10846 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10848 cat >>confdefs.h <<_ACEOF
10849 #define HAVE_XICCALLBACK_CALLBACK 1
10850 _ACEOF
10854 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10855 #include <X11/Xlib.h>
10856 #endif
10858 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10860 cat >>confdefs.h <<_ACEOF
10861 #define HAVE_XEVENT_XCOOKIE 1
10862 _ACEOF
10869 opengl_msg=""
10870 if test "x$with_opengl" != "xno"
10871 then
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10873 $as_echo_n "checking for -lGL... " >&6; }
10874 if ${ac_cv_lib_soname_GL+:} false; then :
10875 $as_echo_n "(cached) " >&6
10876 else
10877 ac_check_soname_save_LIBS=$LIBS
10878 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10880 /* end confdefs.h. */
10882 /* Override any GCC internal prototype to avoid an error.
10883 Use char because int might match the return type of a GCC
10884 builtin and then its argument prototype would still apply. */
10885 #ifdef __cplusplus
10886 extern "C"
10887 #endif
10888 char glXCreateContext ();
10890 main ()
10892 return glXCreateContext ();
10894 return 0;
10896 _ACEOF
10897 if ac_fn_c_try_link "$LINENO"; then :
10898 case "$LIBEXT" in
10899 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10900 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'` ;;
10901 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10902 if ${ac_cv_lib_soname_GL:+false} :; then :
10903 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10904 fi ;;
10905 esac
10907 rm -f core conftest.err conftest.$ac_objext \
10908 conftest$ac_exeext conftest.$ac_ext
10909 LIBS=$ac_check_soname_save_LIBS
10911 if ${ac_cv_lib_soname_GL:+false} :; then :
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10913 $as_echo "not found" >&6; }
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10915 $as_echo_n "checking for -lGL... " >&6; }
10916 if ${ac_cv_lib_soname_GL+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_soname_save_LIBS=$LIBS
10920 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"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char glXCreateContext ();
10932 main ()
10934 return glXCreateContext ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 case "$LIBEXT" in
10941 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10942 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'` ;;
10943 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10944 if ${ac_cv_lib_soname_GL:+false} :; then :
10945 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10946 fi ;;
10947 esac
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LIBS=$ac_check_soname_save_LIBS
10953 if ${ac_cv_lib_soname_GL:+false} :; then :
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10955 $as_echo "not found" >&6; }
10956 if test -f /usr/X11R6/lib/libGL.a
10957 then
10958 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10959 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10960 else
10961 opengl_msg="No OpenGL library found on this system."
10963 else
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10965 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10967 cat >>confdefs.h <<_ACEOF
10968 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10969 _ACEOF
10971 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"
10973 else
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10975 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10977 cat >>confdefs.h <<_ACEOF
10978 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10979 _ACEOF
10981 OPENGL_LIBS="-lGL"
10983 if test "x$with_glu" != "xno"
10984 then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10986 $as_echo_n "checking for -lGLU... " >&6; }
10987 if ${ac_cv_lib_soname_GLU+:} false; then :
10988 $as_echo_n "(cached) " >&6
10989 else
10990 ac_check_soname_save_LIBS=$LIBS
10991 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
10998 #ifdef __cplusplus
10999 extern "C"
11000 #endif
11001 char gluLookAt ();
11003 main ()
11005 return gluLookAt ();
11007 return 0;
11009 _ACEOF
11010 if ac_fn_c_try_link "$LINENO"; then :
11011 case "$LIBEXT" in
11012 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11013 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'` ;;
11014 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11015 if ${ac_cv_lib_soname_GLU:+false} :; then :
11016 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11017 fi ;;
11018 esac
11020 rm -f core conftest.err conftest.$ac_objext \
11021 conftest$ac_exeext conftest.$ac_ext
11022 LIBS=$ac_check_soname_save_LIBS
11024 if ${ac_cv_lib_soname_GLU:+false} :; then :
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11026 $as_echo "not found" >&6; }
11028 else
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11030 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11032 cat >>confdefs.h <<_ACEOF
11033 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11034 _ACEOF
11038 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11039 case "x$with_glu" in
11040 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11041 xno) ;;
11042 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11043 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11044 esac
11049 if test "x$with_osmesa" != "xno"
11050 then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11052 $as_echo_n "checking for -lOSMesa... " >&6; }
11053 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_soname_save_LIBS=$LIBS
11057 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char OSMesaGetProcAddress ();
11069 main ()
11071 return OSMesaGetProcAddress ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 case "$LIBEXT" in
11078 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11079 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'` ;;
11080 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11081 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11082 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11083 fi ;;
11084 esac
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_soname_save_LIBS
11090 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11092 $as_echo "not found" >&6; }
11094 else
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11096 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11098 cat >>confdefs.h <<_ACEOF
11099 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11100 _ACEOF
11104 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11105 case "x$with_osmesa" in
11106 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11107 xno) ;;
11108 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11109 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11110 esac
11115 if test -n "$opengl_msg"; then :
11116 case "x$with_opengl" in
11117 x) as_fn_append wine_warnings "|$opengl_msg
11118 OpenGL and Direct3D won't be supported." ;;
11119 xno) ;;
11120 *) as_fn_error $? "$opengl_msg
11121 OpenGL and Direct3D won't be supported.
11122 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11123 esac
11127 CPPFLAGS="$ac_save_CPPFLAGS"
11128 else
11129 X_CFLAGS=""
11130 X_LIBS=""
11133 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11134 then
11135 if test "x$X_LIBS" = "x"; then :
11136 case "x$with_x" in
11137 xno) ;;
11138 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11139 without X support, which probably isn't what you want. You will need
11140 to install ${notice_platform}development packages of Xlib at the very least.
11141 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11142 esac
11143 enable_winex11_drv=${enable_winex11_drv:-no}
11145 else
11146 if test "x$X_LIBS" = "x"; then :
11147 case "x$with_x" in
11148 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11149 xno) ;;
11150 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11151 This is an error since --with-x was requested." "$LINENO" 5 ;;
11152 esac
11153 enable_winex11_drv=${enable_winex11_drv:-no}
11157 if test "$ac_cv_header_CL_cl_h" = "yes"
11158 then
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11160 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11161 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11162 $as_echo_n "(cached) " >&6
11163 else
11164 ac_check_lib_save_LIBS=$LIBS
11165 LIBS="-lOpenCL $LIBS"
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 char clGetPlatformInfo ();
11177 main ()
11179 return clGetPlatformInfo ();
11181 return 0;
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11186 else
11187 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11189 rm -f core conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11194 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11195 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11196 OPENCL_LIBS="-lOpenCL"
11201 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11202 case "x$with_opencl" in
11203 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11204 xno) ;;
11205 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11206 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11207 esac
11208 enable_opencl=${enable_opencl:-no}
11211 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11212 then
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11214 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11215 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11216 $as_echo_n "(cached) " >&6
11217 else
11218 ac_check_lib_save_LIBS=$LIBS
11219 LIBS="-lpcap $LIBS"
11220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221 /* end confdefs.h. */
11223 /* Override any GCC internal prototype to avoid an error.
11224 Use char because int might match the return type of a GCC
11225 builtin and then its argument prototype would still apply. */
11226 #ifdef __cplusplus
11227 extern "C"
11228 #endif
11229 char pcap_create ();
11231 main ()
11233 return pcap_create ();
11235 return 0;
11237 _ACEOF
11238 if ac_fn_c_try_link "$LINENO"; then :
11239 ac_cv_lib_pcap_pcap_create=yes
11240 else
11241 ac_cv_lib_pcap_pcap_create=no
11243 rm -f core conftest.err conftest.$ac_objext \
11244 conftest$ac_exeext conftest.$ac_ext
11245 LIBS=$ac_check_lib_save_LIBS
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11248 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11249 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11250 PCAP_LIBS="-lpcap"
11255 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11256 case "x$with_pcap" in
11257 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11258 xno) ;;
11259 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11260 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11261 esac
11262 enable_wpcap=${enable_wpcap:-no}
11266 if test "x$with_xml" != "xno"
11267 then
11268 if ${XML2_CFLAGS:+false} :; then :
11269 if ${PKG_CONFIG+:} false; then :
11270 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11273 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11274 if ${XML2_LIBS:+false} :; then :
11275 if ${PKG_CONFIG+:} false; then :
11276 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11279 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11280 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11281 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11282 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11283 ac_save_CPPFLAGS=$CPPFLAGS
11284 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11285 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11286 do :
11287 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11288 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11289 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11290 cat >>confdefs.h <<_ACEOF
11291 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11292 _ACEOF
11296 done
11298 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"
11299 then
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11301 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11302 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11303 $as_echo_n "(cached) " >&6
11304 else
11305 ac_check_lib_save_LIBS=$LIBS
11306 LIBS="-lxml2 $XML2_LIBS $LIBS"
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char xmlParseMemory ();
11318 main ()
11320 return xmlParseMemory ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_xml2_xmlParseMemory=yes
11327 else
11328 ac_cv_lib_xml2_xmlParseMemory=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11335 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11336 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11338 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11340 else
11341 XML2_LIBS=""
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11345 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11346 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_lib_save_LIBS=$LIBS
11350 LIBS="-lxml2 $XML2_LIBS $LIBS"
11351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352 /* end confdefs.h. */
11354 /* Override any GCC internal prototype to avoid an error.
11355 Use char because int might match the return type of a GCC
11356 builtin and then its argument prototype would still apply. */
11357 #ifdef __cplusplus
11358 extern "C"
11359 #endif
11360 char xmlReadMemory ();
11362 main ()
11364 return xmlReadMemory ();
11366 return 0;
11368 _ACEOF
11369 if ac_fn_c_try_link "$LINENO"; then :
11370 ac_cv_lib_xml2_xmlReadMemory=yes
11371 else
11372 ac_cv_lib_xml2_xmlReadMemory=no
11374 rm -f core conftest.err conftest.$ac_objext \
11375 conftest$ac_exeext conftest.$ac_ext
11376 LIBS=$ac_check_lib_save_LIBS
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11379 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11380 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11382 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11387 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11388 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11389 $as_echo_n "(cached) " >&6
11390 else
11391 ac_check_lib_save_LIBS=$LIBS
11392 LIBS="-lxml2 $XML2_LIBS $LIBS"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char xmlNewDocPI ();
11404 main ()
11406 return xmlNewDocPI ();
11408 return 0;
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_xml2_xmlNewDocPI=yes
11413 else
11414 ac_cv_lib_xml2_xmlNewDocPI=no
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11421 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11422 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11424 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11429 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11430 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11431 $as_echo_n "(cached) " >&6
11432 else
11433 ac_check_lib_save_LIBS=$LIBS
11434 LIBS="-lxml2 $XML2_LIBS $LIBS"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 /* Override any GCC internal prototype to avoid an error.
11439 Use char because int might match the return type of a GCC
11440 builtin and then its argument prototype would still apply. */
11441 #ifdef __cplusplus
11442 extern "C"
11443 #endif
11444 char xmlSchemaSetParserStructuredErrors ();
11446 main ()
11448 return xmlSchemaSetParserStructuredErrors ();
11450 return 0;
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11455 else
11456 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11458 rm -f core conftest.err conftest.$ac_objext \
11459 conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_lib_save_LIBS
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11463 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11464 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11466 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11471 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11472 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11473 $as_echo_n "(cached) " >&6
11474 else
11475 ac_check_lib_save_LIBS=$LIBS
11476 LIBS="-lxml2 $XML2_LIBS $LIBS"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11483 #ifdef __cplusplus
11484 extern "C"
11485 #endif
11486 char xmlSchemaSetValidStructuredErrors ();
11488 main ()
11490 return xmlSchemaSetValidStructuredErrors ();
11492 return 0;
11494 _ACEOF
11495 if ac_fn_c_try_link "$LINENO"; then :
11496 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11497 else
11498 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11500 rm -f core conftest.err conftest.$ac_objext \
11501 conftest$ac_exeext conftest.$ac_ext
11502 LIBS=$ac_check_lib_save_LIBS
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11505 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11506 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11508 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11513 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11514 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11515 $as_echo_n "(cached) " >&6
11516 else
11517 ac_check_lib_save_LIBS=$LIBS
11518 LIBS="-lxml2 $XML2_LIBS $LIBS"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11525 #ifdef __cplusplus
11526 extern "C"
11527 #endif
11528 char xmlFirstElementChild ();
11530 main ()
11532 return xmlFirstElementChild ();
11534 return 0;
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"; then :
11538 ac_cv_lib_xml2_xmlFirstElementChild=yes
11539 else
11540 ac_cv_lib_xml2_xmlFirstElementChild=no
11542 rm -f core conftest.err conftest.$ac_objext \
11543 conftest$ac_exeext conftest.$ac_ext
11544 LIBS=$ac_check_lib_save_LIBS
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11547 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11548 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11550 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11554 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11556 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11558 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11562 else
11563 XML2_CFLAGS=""
11564 XML2_LIBS=""
11566 CPPFLAGS=$ac_save_CPPFLAGS
11567 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11568 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11571 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11572 case "x$with_xml" in
11573 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11574 xno) ;;
11575 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11576 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11577 esac
11581 if test "x$with_xslt" != "xno"
11582 then
11583 if ${XSLT_CFLAGS:+false} :; then :
11584 if ${PKG_CONFIG+:} false; then :
11585 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11588 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11589 if ${XSLT_LIBS:+false} :; then :
11590 if ${PKG_CONFIG+:} false; then :
11591 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11594 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11595 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11596 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11597 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11598 ac_save_CPPFLAGS=$CPPFLAGS
11599 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11600 for ac_header in libxslt/pattern.h libxslt/transform.h
11601 do :
11602 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11603 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11604 # include <libxslt/pattern.h>
11605 #endif
11607 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11608 cat >>confdefs.h <<_ACEOF
11609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11610 _ACEOF
11614 done
11616 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11617 then
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11619 $as_echo_n "checking for -lxslt... " >&6; }
11620 if ${ac_cv_lib_soname_xslt+:} false; then :
11621 $as_echo_n "(cached) " >&6
11622 else
11623 ac_check_soname_save_LIBS=$LIBS
11624 LIBS="-lxslt $XSLT_LIBS $LIBS"
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11631 #ifdef __cplusplus
11632 extern "C"
11633 #endif
11634 char xsltCompilePattern ();
11636 main ()
11638 return xsltCompilePattern ();
11640 return 0;
11642 _ACEOF
11643 if ac_fn_c_try_link "$LINENO"; then :
11644 case "$LIBEXT" in
11645 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11646 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'` ;;
11647 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11648 if ${ac_cv_lib_soname_xslt:+false} :; then :
11649 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11650 fi ;;
11651 esac
11653 rm -f core conftest.err conftest.$ac_objext \
11654 conftest$ac_exeext conftest.$ac_ext
11655 LIBS=$ac_check_soname_save_LIBS
11657 if ${ac_cv_lib_soname_xslt:+false} :; then :
11658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11659 $as_echo "not found" >&6; }
11661 else
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11663 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11665 cat >>confdefs.h <<_ACEOF
11666 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11667 _ACEOF
11671 else
11672 XSLT_CFLAGS=""
11674 CPPFLAGS=$ac_save_CPPFLAGS
11675 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11676 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11679 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11680 case "x$with_xslt" in
11681 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11682 xno) ;;
11683 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11684 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11685 esac
11689 if test "x$with_dbus" != "xno"
11690 then
11691 if ${DBUS_CFLAGS:+false} :; then :
11692 if ${PKG_CONFIG+:} false; then :
11693 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11697 if ${DBUS_LIBS:+false} :; then :
11698 if ${PKG_CONFIG+:} false; then :
11699 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11704 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11705 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11706 ac_save_CPPFLAGS=$CPPFLAGS
11707 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11708 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11709 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11711 $as_echo_n "checking for -ldbus-1... " >&6; }
11712 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11713 $as_echo_n "(cached) " >&6
11714 else
11715 ac_check_soname_save_LIBS=$LIBS
11716 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11723 #ifdef __cplusplus
11724 extern "C"
11725 #endif
11726 char dbus_connection_close ();
11728 main ()
11730 return dbus_connection_close ();
11732 return 0;
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"; then :
11736 case "$LIBEXT" in
11737 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11738 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'` ;;
11739 *) 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'`
11740 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11741 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11742 fi ;;
11743 esac
11745 rm -f core conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11747 LIBS=$ac_check_soname_save_LIBS
11749 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11751 $as_echo "not found" >&6; }
11752 DBUS_CFLAGS=""
11753 else
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11755 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11757 cat >>confdefs.h <<_ACEOF
11758 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11759 _ACEOF
11763 else
11764 DBUS_CFLAGS=""
11768 CPPFLAGS=$ac_save_CPPFLAGS
11769 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11770 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11773 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11774 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11775 case "x$with_dbus" in
11776 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11777 xno) ;;
11778 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11779 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11780 esac
11784 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11785 then
11786 if ${HAL_CFLAGS:+false} :; then :
11787 if ${PKG_CONFIG+:} false; then :
11788 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11792 if ${HAL_LIBS:+false} :; then :
11793 if ${PKG_CONFIG+:} false; then :
11794 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11798 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11799 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11800 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11801 ac_save_CPPFLAGS=$CPPFLAGS
11802 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11803 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11804 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11806 $as_echo_n "checking for -lhal... " >&6; }
11807 if ${ac_cv_lib_soname_hal+:} false; then :
11808 $as_echo_n "(cached) " >&6
11809 else
11810 ac_check_soname_save_LIBS=$LIBS
11811 LIBS="-lhal $HAL_LIBS $LIBS"
11812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11813 /* end confdefs.h. */
11815 /* Override any GCC internal prototype to avoid an error.
11816 Use char because int might match the return type of a GCC
11817 builtin and then its argument prototype would still apply. */
11818 #ifdef __cplusplus
11819 extern "C"
11820 #endif
11821 char libhal_ctx_new ();
11823 main ()
11825 return libhal_ctx_new ();
11827 return 0;
11829 _ACEOF
11830 if ac_fn_c_try_link "$LINENO"; then :
11831 case "$LIBEXT" in
11832 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11833 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'` ;;
11834 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11835 if ${ac_cv_lib_soname_hal:+false} :; then :
11836 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11837 fi ;;
11838 esac
11840 rm -f core conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_soname_save_LIBS
11844 if ${ac_cv_lib_soname_hal:+false} :; then :
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11846 $as_echo "not found" >&6; }
11847 HAL_CFLAGS=""
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11850 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11852 cat >>confdefs.h <<_ACEOF
11853 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11854 _ACEOF
11858 else
11859 HAL_CFLAGS=""
11863 CPPFLAGS=$ac_save_CPPFLAGS
11864 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11865 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11867 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11868 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11869 case "x$with_hal" in
11870 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11871 xno) ;;
11872 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11873 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11874 esac
11879 if test "x$with_gnutls" != "xno"
11880 then
11881 if ${GNUTLS_CFLAGS:+false} :; then :
11882 if ${PKG_CONFIG+:} false; then :
11883 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11887 if ${GNUTLS_LIBS:+false} :; then :
11888 if ${PKG_CONFIG+:} false; then :
11889 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11894 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11895 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11896 ac_save_CPPFLAGS=$CPPFLAGS
11897 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11898 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11899 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11902 #include <gnutls/gnutls.h>
11903 #include <gnutls/crypto.h>
11905 main ()
11907 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11909 return 0;
11911 _ACEOF
11912 if ac_fn_c_try_compile "$LINENO"; then :
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11914 $as_echo_n "checking for -lgnutls... " >&6; }
11915 if ${ac_cv_lib_soname_gnutls+:} false; then :
11916 $as_echo_n "(cached) " >&6
11917 else
11918 ac_check_soname_save_LIBS=$LIBS
11919 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11923 /* Override any GCC internal prototype to avoid an error.
11924 Use char because int might match the return type of a GCC
11925 builtin and then its argument prototype would still apply. */
11926 #ifdef __cplusplus
11927 extern "C"
11928 #endif
11929 char gnutls_global_init ();
11931 main ()
11933 return gnutls_global_init ();
11935 return 0;
11937 _ACEOF
11938 if ac_fn_c_try_link "$LINENO"; then :
11939 case "$LIBEXT" in
11940 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11941 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'` ;;
11942 *) 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'`
11943 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11944 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'`
11945 fi ;;
11946 esac
11948 rm -f core conftest.err conftest.$ac_objext \
11949 conftest$ac_exeext conftest.$ac_ext
11950 LIBS=$ac_check_soname_save_LIBS
11952 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11954 $as_echo "not found" >&6; }
11955 GNUTLS_CFLAGS=""
11956 else
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11958 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11960 cat >>confdefs.h <<_ACEOF
11961 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11962 _ACEOF
11966 ac_wine_check_funcs_save_LIBS="$LIBS"
11967 LIBS="$LIBS $GNUTLS_LIBS"
11968 for ac_func in gnutls_hash
11969 do :
11970 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11971 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11972 cat >>confdefs.h <<_ACEOF
11973 #define HAVE_GNUTLS_HASH 1
11974 _ACEOF
11976 else
11977 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt hashes won't be supported."
11979 done
11981 LIBS="$ac_wine_check_funcs_save_LIBS"
11983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11984 else
11985 GNUTLS_CFLAGS=""
11989 CPPFLAGS=$ac_save_CPPFLAGS
11990 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11991 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11994 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11995 case "x$with_gnutls" in
11996 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11997 xno) ;;
11998 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11999 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12000 esac
12004 CURSES_LIBS=""
12005 if test "$ac_cv_header_ncurses_h" = "yes"
12006 then
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12008 $as_echo_n "checking for -lncurses... " >&6; }
12009 if ${ac_cv_lib_soname_ncurses+:} false; then :
12010 $as_echo_n "(cached) " >&6
12011 else
12012 ac_check_soname_save_LIBS=$LIBS
12013 LIBS="-lncurses $LIBS"
12014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12015 /* end confdefs.h. */
12017 /* Override any GCC internal prototype to avoid an error.
12018 Use char because int might match the return type of a GCC
12019 builtin and then its argument prototype would still apply. */
12020 #ifdef __cplusplus
12021 extern "C"
12022 #endif
12023 char waddch ();
12025 main ()
12027 return waddch ();
12029 return 0;
12031 _ACEOF
12032 if ac_fn_c_try_link "$LINENO"; then :
12033 case "$LIBEXT" in
12034 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12035 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'` ;;
12036 *) 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'`
12037 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12038 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12039 fi ;;
12040 esac
12042 rm -f core conftest.err conftest.$ac_objext \
12043 conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_soname_save_LIBS
12046 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12048 $as_echo "not found" >&6; }
12050 else
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12052 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12054 cat >>confdefs.h <<_ACEOF
12055 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12056 _ACEOF
12058 CURSES_LIBS="-lncurses"
12060 elif test "$ac_cv_header_curses_h" = "yes"
12061 then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12063 $as_echo_n "checking for -lcurses... " >&6; }
12064 if ${ac_cv_lib_soname_curses+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_soname_save_LIBS=$LIBS
12068 LIBS="-lcurses $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char waddch ();
12080 main ()
12082 return waddch ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 case "$LIBEXT" in
12089 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12090 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'` ;;
12091 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12092 if ${ac_cv_lib_soname_curses:+false} :; then :
12093 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12094 fi ;;
12095 esac
12097 rm -f core conftest.err conftest.$ac_objext \
12098 conftest$ac_exeext conftest.$ac_ext
12099 LIBS=$ac_check_soname_save_LIBS
12101 if ${ac_cv_lib_soname_curses:+false} :; then :
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12103 $as_echo "not found" >&6; }
12105 else
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12107 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12109 cat >>confdefs.h <<_ACEOF
12110 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12111 _ACEOF
12113 CURSES_LIBS="-lcurses"
12116 ac_save_LIBS="$LIBS"
12117 LIBS="$LIBS $CURSES_LIBS"
12118 for ac_func in mousemask
12119 do :
12120 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12121 if test "x$ac_cv_func_mousemask" = xyes; then :
12122 cat >>confdefs.h <<_ACEOF
12123 #define HAVE_MOUSEMASK 1
12124 _ACEOF
12127 done
12129 LIBS="$ac_save_LIBS"
12130 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12131 case "x$with_curses" in
12132 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12133 xno) ;;
12134 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12135 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12136 esac
12140 if test "x$with_sane" != "xno"
12141 then
12142 if ${SANE_CFLAGS:+false} :; then :
12143 if ${PKG_CONFIG+:} false; then :
12144 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12147 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12148 if ${SANE_LIBS:+false} :; then :
12149 if ${PKG_CONFIG+:} false; then :
12150 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12153 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12155 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12156 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12157 ac_save_CPPFLAGS=$CPPFLAGS
12158 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12159 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12160 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12162 $as_echo_n "checking for -lsane... " >&6; }
12163 if ${ac_cv_lib_soname_sane+:} false; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 ac_check_soname_save_LIBS=$LIBS
12167 LIBS="-lsane $SANE_LIBS $LIBS"
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12174 #ifdef __cplusplus
12175 extern "C"
12176 #endif
12177 char sane_init ();
12179 main ()
12181 return sane_init ();
12183 return 0;
12185 _ACEOF
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 case "$LIBEXT" in
12188 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12189 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'` ;;
12190 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12191 if ${ac_cv_lib_soname_sane:+false} :; then :
12192 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12193 fi ;;
12194 esac
12196 rm -f core conftest.err conftest.$ac_objext \
12197 conftest$ac_exeext conftest.$ac_ext
12198 LIBS=$ac_check_soname_save_LIBS
12200 if ${ac_cv_lib_soname_sane:+false} :; then :
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12202 $as_echo "not found" >&6; }
12203 SANE_CFLAGS=""
12204 else
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12206 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12208 cat >>confdefs.h <<_ACEOF
12209 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12210 _ACEOF
12214 else
12215 SANE_CFLAGS=""
12219 CPPFLAGS=$ac_save_CPPFLAGS
12220 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12221 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12224 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12225 case "x$with_sane" in
12226 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12227 xno) ;;
12228 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12229 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12230 esac
12234 if test "x$with_v4l" != "xno"
12235 then
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12237 $as_echo_n "checking for -lv4l1... " >&6; }
12238 if ${ac_cv_lib_soname_v4l1+:} false; then :
12239 $as_echo_n "(cached) " >&6
12240 else
12241 ac_check_soname_save_LIBS=$LIBS
12242 LIBS="-lv4l1 $LIBS"
12243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12244 /* end confdefs.h. */
12246 /* Override any GCC internal prototype to avoid an error.
12247 Use char because int might match the return type of a GCC
12248 builtin and then its argument prototype would still apply. */
12249 #ifdef __cplusplus
12250 extern "C"
12251 #endif
12252 char v4l1_open ();
12254 main ()
12256 return v4l1_open ();
12258 return 0;
12260 _ACEOF
12261 if ac_fn_c_try_link "$LINENO"; then :
12262 case "$LIBEXT" in
12263 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12264 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'` ;;
12265 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12266 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12267 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12268 fi ;;
12269 esac
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_soname_save_LIBS
12275 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12277 $as_echo "not found" >&6; }
12279 else
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12281 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12283 cat >>confdefs.h <<_ACEOF
12284 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12285 _ACEOF
12290 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12291 case "x$with_v4l" in
12292 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12293 xno) ;;
12294 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12295 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12296 esac
12300 if test "x$with_gphoto" != "xno"
12301 then
12302 if ${GPHOTO2_CFLAGS:+false} :; then :
12303 if ${PKG_CONFIG+:} false; then :
12304 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12307 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12308 if ${GPHOTO2_LIBS:+false} :; then :
12309 if ${PKG_CONFIG+:} false; then :
12310 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12313 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12314 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12315 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12316 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12317 ac_save_CPPFLAGS=$CPPFLAGS
12318 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12319 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12320 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12322 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12323 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_lib_save_LIBS=$LIBS
12327 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char gp_camera_new ();
12339 main ()
12341 return gp_camera_new ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 ac_cv_lib_gphoto2_gp_camera_new=yes
12348 else
12349 ac_cv_lib_gphoto2_gp_camera_new=no
12351 rm -f core conftest.err conftest.$ac_objext \
12352 conftest$ac_exeext conftest.$ac_ext
12353 LIBS=$ac_check_lib_save_LIBS
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12356 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12357 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12359 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12361 else
12362 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12365 else
12366 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12370 CPPFLAGS=$ac_save_CPPFLAGS
12371 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12372 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12374 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12375 if ${PKG_CONFIG+:} false; then :
12376 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12379 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12380 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12381 if ${PKG_CONFIG+:} false; then :
12382 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12385 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12386 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12387 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12388 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12389 ac_save_CPPFLAGS=$CPPFLAGS
12390 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12391 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12392 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12394 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12395 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12396 $as_echo_n "(cached) " >&6
12397 else
12398 ac_check_lib_save_LIBS=$LIBS
12399 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12401 /* end confdefs.h. */
12403 /* Override any GCC internal prototype to avoid an error.
12404 Use char because int might match the return type of a GCC
12405 builtin and then its argument prototype would still apply. */
12406 #ifdef __cplusplus
12407 extern "C"
12408 #endif
12409 char gp_port_info_list_new ();
12411 main ()
12413 return gp_port_info_list_new ();
12415 return 0;
12417 _ACEOF
12418 if ac_fn_c_try_link "$LINENO"; then :
12419 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12420 else
12421 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12423 rm -f core conftest.err conftest.$ac_objext \
12424 conftest$ac_exeext conftest.$ac_ext
12425 LIBS=$ac_check_lib_save_LIBS
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12428 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12429 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12431 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12433 else
12434 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12437 else
12438 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12442 CPPFLAGS=$ac_save_CPPFLAGS
12443 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12444 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12447 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12448 case "x$with_gphoto" in
12449 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12450 xno) ;;
12451 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12452 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12453 esac
12456 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12457 case "x$with_gphoto" in
12458 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12459 xno) ;;
12460 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12461 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12462 esac
12467 if test "$ac_cv_header_resolv_h" = "yes"
12468 then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12470 $as_echo_n "checking for resolver library... " >&6; }
12471 if ${ac_cv_have_resolv+:} false; then :
12472 $as_echo_n "(cached) " >&6
12473 else
12474 ac_save_LIBS="$LIBS"
12475 for lib in '' -lresolv
12477 LIBS="$lib $ac_save_LIBS"
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12480 #ifdef HAVE_NETINET_IN_H
12481 #include <netinet/in.h>
12482 #endif
12483 #include <resolv.h>
12485 main ()
12487 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12489 return 0;
12491 _ACEOF
12492 if ac_fn_c_try_link "$LINENO"; then :
12493 ac_cv_have_resolv=${lib:-"none required"}
12494 else
12495 ac_cv_have_resolv="not found"
12497 rm -f core conftest.err conftest.$ac_objext \
12498 conftest$ac_exeext conftest.$ac_ext
12499 test "x$ac_cv_have_resolv" = "xnot found" || break
12500 done
12501 LIBS="$ac_save_LIBS"
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12504 $as_echo "$ac_cv_have_resolv" >&6; }
12506 case "$ac_cv_have_resolv" in
12507 "not found") ;;
12508 "none required")
12510 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12513 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12515 RESOLV_LIBS=$ac_cv_have_resolv
12517 esac
12520 if test "x$with_cms" != "xno"
12521 then
12522 if ${LCMS2_CFLAGS:+false} :; then :
12523 if ${PKG_CONFIG+:} false; then :
12524 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12528 if ${LCMS2_LIBS:+false} :; then :
12529 if ${PKG_CONFIG+:} false; then :
12530 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12534 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12535 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12536 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12537 ac_save_CPPFLAGS=$CPPFLAGS
12538 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12539 for ac_header in lcms2.h
12540 do :
12541 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12542 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12543 cat >>confdefs.h <<_ACEOF
12544 #define HAVE_LCMS2_H 1
12545 _ACEOF
12549 done
12551 if test "$ac_cv_header_lcms2_h" = "yes"
12552 then
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12554 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12555 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12556 $as_echo_n "(cached) " >&6
12557 else
12558 ac_check_lib_save_LIBS=$LIBS
12559 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12563 /* Override any GCC internal prototype to avoid an error.
12564 Use char because int might match the return type of a GCC
12565 builtin and then its argument prototype would still apply. */
12566 #ifdef __cplusplus
12567 extern "C"
12568 #endif
12569 char cmsOpenProfileFromFile ();
12571 main ()
12573 return cmsOpenProfileFromFile ();
12575 return 0;
12577 _ACEOF
12578 if ac_fn_c_try_link "$LINENO"; then :
12579 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12580 else
12581 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12583 rm -f core conftest.err conftest.$ac_objext \
12584 conftest$ac_exeext conftest.$ac_ext
12585 LIBS=$ac_check_lib_save_LIBS
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12588 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12589 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12591 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12593 else
12594 LCMS2_LIBS=""
12597 else
12598 LCMS2_CFLAGS=""
12599 LCMS2_LIBS=""
12601 CPPFLAGS=$ac_save_CPPFLAGS
12602 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12603 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12606 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12607 case "x$with_cms" in
12608 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12609 xno) ;;
12610 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12611 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12612 esac
12616 if test "x$with_freetype" != "xno"
12617 then
12618 if ${FREETYPE_CFLAGS:+false} :; then :
12619 if ${PKG_CONFIG+:} false; then :
12620 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12623 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12624 if ${FREETYPE_LIBS:+false} :; then :
12625 if ${PKG_CONFIG+:} false; then :
12626 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12629 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12630 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12631 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12632 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12633 ac_save_CPPFLAGS=$CPPFLAGS
12634 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12635 for ac_header in ft2build.h
12636 do :
12637 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12638 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12639 cat >>confdefs.h <<_ACEOF
12640 #define HAVE_FT2BUILD_H 1
12641 _ACEOF
12645 done
12647 if test "$ac_cv_header_ft2build_h" = "yes"
12648 then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12650 $as_echo_n "checking for -lfreetype... " >&6; }
12651 if ${ac_cv_lib_soname_freetype+:} false; then :
12652 $as_echo_n "(cached) " >&6
12653 else
12654 ac_check_soname_save_LIBS=$LIBS
12655 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12657 /* end confdefs.h. */
12659 /* Override any GCC internal prototype to avoid an error.
12660 Use char because int might match the return type of a GCC
12661 builtin and then its argument prototype would still apply. */
12662 #ifdef __cplusplus
12663 extern "C"
12664 #endif
12665 char FT_Init_FreeType ();
12667 main ()
12669 return FT_Init_FreeType ();
12671 return 0;
12673 _ACEOF
12674 if ac_fn_c_try_link "$LINENO"; then :
12675 case "$LIBEXT" in
12676 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12677 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'` ;;
12678 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12679 if ${ac_cv_lib_soname_freetype:+false} :; then :
12680 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12681 fi ;;
12682 esac
12684 rm -f core conftest.err conftest.$ac_objext \
12685 conftest$ac_exeext conftest.$ac_ext
12686 LIBS=$ac_check_soname_save_LIBS
12688 if ${ac_cv_lib_soname_freetype:+false} :; then :
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12690 $as_echo "not found" >&6; }
12691 FREETYPE_LIBS=""
12692 else
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12694 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12696 cat >>confdefs.h <<_ACEOF
12697 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12698 _ACEOF
12701 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12703 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12704 #include FT_MODULE_H
12706 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12708 cat >>confdefs.h <<_ACEOF
12709 #define HAVE_FT_TRUETYPEENGINETYPE 1
12710 _ACEOF
12716 else
12717 FREETYPE_CFLAGS=""
12718 FREETYPE_LIBS=""
12720 CPPFLAGS=$ac_save_CPPFLAGS
12721 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12722 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12725 if test "x$ac_cv_lib_soname_freetype" = x; then :
12726 case "x$with_freetype" in
12727 xno) ;;
12728 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12729 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12730 esac
12731 enable_fonts=${enable_fonts:-no}
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12735 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12736 if ${ac_cv_c_ppdev+:} false; then :
12737 $as_echo_n "(cached) " >&6
12738 else
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12741 #ifdef HAVE_SYS_IOCTL_H
12742 # include <sys/ioctl.h>
12743 #endif
12744 #include <linux/ppdev.h>
12746 main ()
12748 ioctl (1,PPCLAIM,0)
12750 return 0;
12752 _ACEOF
12753 if ac_fn_c_try_compile "$LINENO"; then :
12754 ac_cv_c_ppdev="yes"
12755 else
12756 ac_cv_c_ppdev="no"
12758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12761 $as_echo "$ac_cv_c_ppdev" >&6; }
12762 if test "$ac_cv_c_ppdev" = "yes"
12763 then
12765 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12769 ac_wine_check_funcs_save_LIBS="$LIBS"
12770 LIBS="$LIBS $PTHREAD_LIBS"
12771 for ac_func in \
12772 pthread_attr_get_np \
12773 pthread_getattr_np \
12774 pthread_getthreadid_np \
12775 pthread_get_stackaddr_np \
12776 pthread_get_stacksize_np
12777 do :
12778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12780 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12781 cat >>confdefs.h <<_ACEOF
12782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12783 _ACEOF
12786 done
12788 LIBS="$ac_wine_check_funcs_save_LIBS"
12790 if test "$ac_cv_header_zlib_h" = "yes"
12791 then
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12793 $as_echo_n "checking for inflate in -lz... " >&6; }
12794 if ${ac_cv_lib_z_inflate+:} false; then :
12795 $as_echo_n "(cached) " >&6
12796 else
12797 ac_check_lib_save_LIBS=$LIBS
12798 LIBS="-lz $LIBS"
12799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12800 /* end confdefs.h. */
12802 /* Override any GCC internal prototype to avoid an error.
12803 Use char because int might match the return type of a GCC
12804 builtin and then its argument prototype would still apply. */
12805 #ifdef __cplusplus
12806 extern "C"
12807 #endif
12808 char inflate ();
12810 main ()
12812 return inflate ();
12814 return 0;
12816 _ACEOF
12817 if ac_fn_c_try_link "$LINENO"; then :
12818 ac_cv_lib_z_inflate=yes
12819 else
12820 ac_cv_lib_z_inflate=no
12822 rm -f core conftest.err conftest.$ac_objext \
12823 conftest$ac_exeext conftest.$ac_ext
12824 LIBS=$ac_check_lib_save_LIBS
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12827 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12828 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12830 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12832 Z_LIBS="-lz"
12837 if test "x$Z_LIBS" = "x"; then :
12838 case "x$with_zlib" in
12839 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12840 xno) ;;
12841 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12842 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12843 esac
12847 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12848 then
12849 if test "$ac_cv_header_gettext_po_h" = "yes"
12850 then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12852 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12853 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12854 $as_echo_n "(cached) " >&6
12855 else
12856 ac_check_lib_save_LIBS=$LIBS
12857 LIBS="-lgettextpo $LIBS"
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12864 #ifdef __cplusplus
12865 extern "C"
12866 #endif
12867 char po_message_msgctxt ();
12869 main ()
12871 return po_message_msgctxt ();
12873 return 0;
12875 _ACEOF
12876 if ac_fn_c_try_link "$LINENO"; then :
12877 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12878 else
12879 ac_cv_lib_gettextpo_po_message_msgctxt=no
12881 rm -f core conftest.err conftest.$ac_objext \
12882 conftest$ac_exeext conftest.$ac_ext
12883 LIBS=$ac_check_lib_save_LIBS
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12886 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12887 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12889 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12891 GETTEXTPO_LIBS="-lgettextpo"
12896 if test "x$GETTEXTPO_LIBS" = "x"; then :
12897 case "x$with_gettextpo" in
12898 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12899 xno) ;;
12900 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12901 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12902 esac
12905 if test "$srcdir" != .; then :
12906 case "x$with_gettextpo" in
12907 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12908 xno) ;;
12909 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12910 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12911 esac
12916 if test "x$with_pulse" != "xno";
12917 then
12918 if ${PULSE_CFLAGS:+false} :; then :
12919 if ${PKG_CONFIG+:} false; then :
12920 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12924 if ${PULSE_LIBS:+false} :; then :
12925 if ${PKG_CONFIG+:} false; then :
12926 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12931 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12932 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12933 ac_save_CPPFLAGS=$CPPFLAGS
12934 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12935 for ac_header in pulse/pulseaudio.h
12936 do :
12937 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12938 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12939 cat >>confdefs.h <<_ACEOF
12940 #define HAVE_PULSE_PULSEAUDIO_H 1
12941 _ACEOF
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12943 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12944 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12945 $as_echo_n "(cached) " >&6
12946 else
12947 ac_check_lib_save_LIBS=$LIBS
12948 LIBS="-lpulse $PULSE_LIBS $LIBS"
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12955 #ifdef __cplusplus
12956 extern "C"
12957 #endif
12958 char pa_stream_is_corked ();
12960 main ()
12962 return pa_stream_is_corked ();
12964 return 0;
12966 _ACEOF
12967 if ac_fn_c_try_link "$LINENO"; then :
12968 ac_cv_lib_pulse_pa_stream_is_corked=yes
12969 else
12970 ac_cv_lib_pulse_pa_stream_is_corked=no
12972 rm -f core conftest.err conftest.$ac_objext \
12973 conftest$ac_exeext conftest.$ac_ext
12974 LIBS=$ac_check_lib_save_LIBS
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12977 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12978 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12980 else
12981 PULSE_LIBS=""
12984 else
12985 PULSE_LIBS=""
12988 done
12990 CPPFLAGS=$ac_save_CPPFLAGS
12991 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12992 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12995 if test -z "$PULSE_LIBS"; then :
12996 case "x$with_pulse" in
12997 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12998 xno) ;;
12999 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13000 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13001 esac
13002 enable_winepulse_drv=${enable_winepulse_drv:-no}
13005 if test "x$with_gstreamer" != "xno"
13006 then
13007 if ${GSTREAMER_CFLAGS:+false} :; then :
13008 if ${PKG_CONFIG+:} false; then :
13009 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13013 if ${GSTREAMER_LIBS:+false} :; then :
13014 if ${PKG_CONFIG+:} false; then :
13015 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13020 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13021 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13022 ac_save_CPPFLAGS=$CPPFLAGS
13023 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13024 ac_gst_incl=""
13025 for i in $GSTREAMER_CFLAGS
13027 case "$i" in
13028 -I*) ac_gst_incl="$ac_gst_incl $i";;
13029 esac
13030 done
13031 GSTREAMER_CFLAGS=$ac_gst_incl
13032 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13033 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13034 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13036 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13039 #include <gst/gst.h>
13041 main ()
13043 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13045 return 0;
13047 _ACEOF
13048 if ac_fn_c_try_compile "$LINENO"; then :
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13050 $as_echo "yes" >&6; }
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13052 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13053 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13054 $as_echo_n "(cached) " >&6
13055 else
13056 ac_check_lib_save_LIBS=$LIBS
13057 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13059 /* end confdefs.h. */
13061 /* Override any GCC internal prototype to avoid an error.
13062 Use char because int might match the return type of a GCC
13063 builtin and then its argument prototype would still apply. */
13064 #ifdef __cplusplus
13065 extern "C"
13066 #endif
13067 char gst_pad_new ();
13069 main ()
13071 return gst_pad_new ();
13073 return 0;
13075 _ACEOF
13076 if ac_fn_c_try_link "$LINENO"; then :
13077 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13078 else
13079 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13081 rm -f core conftest.err conftest.$ac_objext \
13082 conftest$ac_exeext conftest.$ac_ext
13083 LIBS=$ac_check_lib_save_LIBS
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13086 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13087 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13091 else
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13093 $as_echo "no" >&6; }
13094 ac_glib2_broken=yes
13095 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13101 CPPFLAGS=$ac_save_CPPFLAGS
13102 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13103 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13106 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 :
13107 case "x$with_gstreamer" in
13108 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13109 xno) ;;
13110 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13111 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13112 esac
13115 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13117 ALSA_LIBS=""
13119 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13120 then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13122 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13123 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13124 $as_echo_n "(cached) " >&6
13125 else
13126 ac_check_lib_save_LIBS=$LIBS
13127 LIBS="-lasound $LIBS"
13128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13131 /* Override any GCC internal prototype to avoid an error.
13132 Use char because int might match the return type of a GCC
13133 builtin and then its argument prototype would still apply. */
13134 #ifdef __cplusplus
13135 extern "C"
13136 #endif
13137 char snd_pcm_hw_params_get_access_mask ();
13139 main ()
13141 return snd_pcm_hw_params_get_access_mask ();
13143 return 0;
13145 _ACEOF
13146 if ac_fn_c_try_link "$LINENO"; then :
13147 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13148 else
13149 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13151 rm -f core conftest.err conftest.$ac_objext \
13152 conftest$ac_exeext conftest.$ac_ext
13153 LIBS=$ac_check_lib_save_LIBS
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13156 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13157 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13160 #ifdef HAVE_ALSA_ASOUNDLIB_H
13161 #include <alsa/asoundlib.h>
13162 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13163 #include <sys/asoundlib.h>
13164 #endif
13166 main ()
13168 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13170 return 0;
13172 _ACEOF
13173 if ac_fn_c_try_compile "$LINENO"; then :
13174 ALSA_LIBS="-lasound"
13176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13180 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13182 if test "x$with_oss" != xno
13183 then
13184 ac_save_CPPFLAGS="$CPPFLAGS"
13185 if test -f /etc/oss.conf
13186 then
13187 . /etc/oss.conf
13189 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13190 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13191 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13192 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13193 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13195 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13197 cat >>confdefs.h <<_ACEOF
13198 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13199 _ACEOF
13201 OSS4_CFLAGS="$ac_oss_incl"
13208 CPPFLAGS="$ac_save_CPPFLAGS"
13210 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13211 case "x$with_oss" in
13212 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13213 xno) ;;
13214 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13215 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13216 esac
13217 enable_wineoss_drv=${enable_wineoss_drv:-no}
13220 if test "x$with_udev" != "xno"
13221 then
13222 if ${UDEV_CFLAGS:+false} :; then :
13223 if ${PKG_CONFIG+:} false; then :
13224 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13228 if ${UDEV_LIBS:+false} :; then :
13229 if ${PKG_CONFIG+:} false; then :
13230 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13234 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13235 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13236 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13237 ac_save_CPPFLAGS=$CPPFLAGS
13238 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13239 for ac_header in libudev.h
13240 do :
13241 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13242 if test "x$ac_cv_header_libudev_h" = xyes; then :
13243 cat >>confdefs.h <<_ACEOF
13244 #define HAVE_LIBUDEV_H 1
13245 _ACEOF
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13247 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13248 if ${ac_cv_lib_udev_udev_new+:} false; then :
13249 $as_echo_n "(cached) " >&6
13250 else
13251 ac_check_lib_save_LIBS=$LIBS
13252 LIBS="-ludev $UDEV_LIBS $LIBS"
13253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h. */
13256 /* Override any GCC internal prototype to avoid an error.
13257 Use char because int might match the return type of a GCC
13258 builtin and then its argument prototype would still apply. */
13259 #ifdef __cplusplus
13260 extern "C"
13261 #endif
13262 char udev_new ();
13264 main ()
13266 return udev_new ();
13268 return 0;
13270 _ACEOF
13271 if ac_fn_c_try_link "$LINENO"; then :
13272 ac_cv_lib_udev_udev_new=yes
13273 else
13274 ac_cv_lib_udev_udev_new=no
13276 rm -f core conftest.err conftest.$ac_objext \
13277 conftest$ac_exeext conftest.$ac_ext
13278 LIBS=$ac_check_lib_save_LIBS
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13281 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13282 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13284 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13286 else
13287 UDEV_LIBS=""
13290 else
13291 UDEV_LIBS=""
13294 done
13296 CPPFLAGS=$ac_save_CPPFLAGS
13297 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13298 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13301 if test "x$UDEV_LIBS" = "x"; then :
13302 case "x$with_udev" in
13303 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13304 xno) ;;
13305 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13306 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13307 esac
13311 if test "x$with_capi" != "xno"
13312 then
13313 if ${CAPI20_CFLAGS:+false} :; then :
13314 if ${PKG_CONFIG+:} false; then :
13315 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13319 if ${CAPI20_LIBS:+false} :; then :
13320 if ${PKG_CONFIG+:} false; then :
13321 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13326 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13327 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13328 ac_save_CPPFLAGS=$CPPFLAGS
13329 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13330 for ac_header in capi20.h linux/capi.h
13331 do :
13332 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13333 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13336 cat >>confdefs.h <<_ACEOF
13337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13338 _ACEOF
13342 done
13344 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13345 then
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13347 $as_echo_n "checking for -lcapi20... " >&6; }
13348 if ${ac_cv_lib_soname_capi20+:} false; then :
13349 $as_echo_n "(cached) " >&6
13350 else
13351 ac_check_soname_save_LIBS=$LIBS
13352 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13354 /* end confdefs.h. */
13356 /* Override any GCC internal prototype to avoid an error.
13357 Use char because int might match the return type of a GCC
13358 builtin and then its argument prototype would still apply. */
13359 #ifdef __cplusplus
13360 extern "C"
13361 #endif
13362 char capi20_register ();
13364 main ()
13366 return capi20_register ();
13368 return 0;
13370 _ACEOF
13371 if ac_fn_c_try_link "$LINENO"; then :
13372 case "$LIBEXT" in
13373 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13374 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'` ;;
13375 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13376 if ${ac_cv_lib_soname_capi20:+false} :; then :
13377 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13378 fi ;;
13379 esac
13381 rm -f core conftest.err conftest.$ac_objext \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_soname_save_LIBS
13385 if ${ac_cv_lib_soname_capi20:+false} :; then :
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13387 $as_echo "not found" >&6; }
13389 else
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13391 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13393 cat >>confdefs.h <<_ACEOF
13394 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13395 _ACEOF
13400 CPPFLAGS=$ac_save_CPPFLAGS
13401 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13402 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13405 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13406 case "x$with_capi" in
13407 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13408 xno) ;;
13409 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13410 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13411 esac
13415 CUPS_CFLAGS=""
13417 if test "x$with_cups" != "xno"
13418 then
13419 ac_save_CPPFLAGS="$CPPFLAGS"
13420 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
13421 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
13422 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
13423 for ac_header in cups/cups.h
13424 do :
13425 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
13426 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
13427 cat >>confdefs.h <<_ACEOF
13428 #define HAVE_CUPS_CUPS_H 1
13429 _ACEOF
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13431 $as_echo_n "checking for -lcups... " >&6; }
13432 if ${ac_cv_lib_soname_cups+:} false; then :
13433 $as_echo_n "(cached) " >&6
13434 else
13435 ac_check_soname_save_LIBS=$LIBS
13436 LIBS="-lcups $ac_cups_libs $LIBS"
13437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13438 /* end confdefs.h. */
13440 /* Override any GCC internal prototype to avoid an error.
13441 Use char because int might match the return type of a GCC
13442 builtin and then its argument prototype would still apply. */
13443 #ifdef __cplusplus
13444 extern "C"
13445 #endif
13446 char cupsGetDefault ();
13448 main ()
13450 return cupsGetDefault ();
13452 return 0;
13454 _ACEOF
13455 if ac_fn_c_try_link "$LINENO"; then :
13456 case "$LIBEXT" in
13457 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13458 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'` ;;
13459 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13460 if ${ac_cv_lib_soname_cups:+false} :; then :
13461 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13462 fi ;;
13463 esac
13465 rm -f core conftest.err conftest.$ac_objext \
13466 conftest$ac_exeext conftest.$ac_ext
13467 LIBS=$ac_check_soname_save_LIBS
13469 if ${ac_cv_lib_soname_cups:+false} :; then :
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13471 $as_echo "not found" >&6; }
13473 else
13474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13475 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13477 cat >>confdefs.h <<_ACEOF
13478 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13479 _ACEOF
13481 CUPS_CFLAGS="$ac_cups_cflags"
13483 for ac_header in cups/ppd.h
13484 do :
13485 ac_fn_c_check_header_mongrel "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
13486 if test "x$ac_cv_header_cups_ppd_h" = xyes; then :
13487 cat >>confdefs.h <<_ACEOF
13488 #define HAVE_CUPS_PPD_H 1
13489 _ACEOF
13493 done
13497 done
13499 CPPFLAGS="$ac_save_CPPFLAGS"
13501 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13502 case "x$with_cups" in
13503 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13504 xno) ;;
13505 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13506 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13507 esac
13511 if test "x$with_fontconfig" != "xno"
13512 then
13513 if ${FONTCONFIG_CFLAGS:+false} :; then :
13514 if ${PKG_CONFIG+:} false; then :
13515 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13518 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13519 if ${FONTCONFIG_LIBS:+false} :; then :
13520 if ${PKG_CONFIG+:} false; then :
13521 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13524 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13526 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13527 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13528 ac_save_CPPFLAGS=$CPPFLAGS
13529 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13530 for ac_header in fontconfig/fontconfig.h
13531 do :
13532 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13533 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13534 cat >>confdefs.h <<_ACEOF
13535 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13536 _ACEOF
13540 done
13542 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13543 then
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13545 $as_echo_n "checking for -lfontconfig... " >&6; }
13546 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13547 $as_echo_n "(cached) " >&6
13548 else
13549 ac_check_soname_save_LIBS=$LIBS
13550 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13554 /* Override any GCC internal prototype to avoid an error.
13555 Use char because int might match the return type of a GCC
13556 builtin and then its argument prototype would still apply. */
13557 #ifdef __cplusplus
13558 extern "C"
13559 #endif
13560 char FcInit ();
13562 main ()
13564 return FcInit ();
13566 return 0;
13568 _ACEOF
13569 if ac_fn_c_try_link "$LINENO"; then :
13570 case "$LIBEXT" in
13571 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13572 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'` ;;
13573 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13574 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13575 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13576 fi ;;
13577 esac
13579 rm -f core conftest.err conftest.$ac_objext \
13580 conftest$ac_exeext conftest.$ac_ext
13581 LIBS=$ac_check_soname_save_LIBS
13583 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13585 $as_echo "not found" >&6; }
13586 FONTCONFIG_CFLAGS=""
13587 else
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13589 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13591 cat >>confdefs.h <<_ACEOF
13592 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13593 _ACEOF
13597 else
13598 FONTCONFIG_CFLAGS=""
13600 CPPFLAGS=$ac_save_CPPFLAGS
13601 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13602 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13605 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13606 case "x$with_fontconfig" in
13607 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13608 xno) ;;
13609 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13610 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13611 esac
13615 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13616 then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13618 $as_echo_n "checking for -lgsm... " >&6; }
13619 if ${ac_cv_lib_soname_gsm+:} false; then :
13620 $as_echo_n "(cached) " >&6
13621 else
13622 ac_check_soname_save_LIBS=$LIBS
13623 LIBS="-lgsm $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 /* Override any GCC internal prototype to avoid an error.
13628 Use char because int might match the return type of a GCC
13629 builtin and then its argument prototype would still apply. */
13630 #ifdef __cplusplus
13631 extern "C"
13632 #endif
13633 char gsm_create ();
13635 main ()
13637 return gsm_create ();
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_link "$LINENO"; then :
13643 case "$LIBEXT" in
13644 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13645 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'` ;;
13646 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13647 if ${ac_cv_lib_soname_gsm:+false} :; then :
13648 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13649 fi ;;
13650 esac
13652 rm -f core conftest.err conftest.$ac_objext \
13653 conftest$ac_exeext conftest.$ac_ext
13654 LIBS=$ac_check_soname_save_LIBS
13656 if ${ac_cv_lib_soname_gsm:+false} :; then :
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13658 $as_echo "not found" >&6; }
13660 else
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13662 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13664 cat >>confdefs.h <<_ACEOF
13665 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13666 _ACEOF
13671 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13672 case "x$with_gsm" in
13673 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13674 xno) ;;
13675 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13676 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13677 esac
13681 if test "x$with_jpeg" != "xno"
13682 then
13683 if ${JPEG_CFLAGS:+false} :; then :
13684 if ${PKG_CONFIG+:} false; then :
13685 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13689 if ${JPEG_LIBS:+false} :; then :
13690 if ${PKG_CONFIG+:} false; then :
13691 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13696 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13697 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13698 ac_save_CPPFLAGS=$CPPFLAGS
13699 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13700 for ac_header in jpeglib.h
13701 do :
13702 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13703 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13704 cat >>confdefs.h <<_ACEOF
13705 #define HAVE_JPEGLIB_H 1
13706 _ACEOF
13710 done
13712 if test "$ac_cv_header_jpeglib_h" = "yes"
13713 then
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13715 $as_echo_n "checking for -ljpeg... " >&6; }
13716 if ${ac_cv_lib_soname_jpeg+:} false; then :
13717 $as_echo_n "(cached) " >&6
13718 else
13719 ac_check_soname_save_LIBS=$LIBS
13720 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13724 /* Override any GCC internal prototype to avoid an error.
13725 Use char because int might match the return type of a GCC
13726 builtin and then its argument prototype would still apply. */
13727 #ifdef __cplusplus
13728 extern "C"
13729 #endif
13730 char jpeg_start_decompress ();
13732 main ()
13734 return jpeg_start_decompress ();
13736 return 0;
13738 _ACEOF
13739 if ac_fn_c_try_link "$LINENO"; then :
13740 case "$LIBEXT" in
13741 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13742 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'` ;;
13743 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13744 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13745 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13746 fi ;;
13747 esac
13749 rm -f core conftest.err conftest.$ac_objext \
13750 conftest$ac_exeext conftest.$ac_ext
13751 LIBS=$ac_check_soname_save_LIBS
13753 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13755 $as_echo "not found" >&6; }
13756 JPEG_CFLAGS=""
13757 else
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13759 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13761 cat >>confdefs.h <<_ACEOF
13762 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13763 _ACEOF
13767 else
13768 JPEG_CFLAGS=""
13770 CPPFLAGS=$ac_save_CPPFLAGS
13771 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13772 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13775 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13776 case "x$with_jpeg" in
13777 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13778 xno) ;;
13779 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13780 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13781 esac
13785 if test "x$with_png" != "xno"
13786 then
13787 if ${PNG_CFLAGS:+false} :; then :
13788 if ${PKG_CONFIG+:} false; then :
13789 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13792 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13793 if ${PNG_LIBS:+false} :; then :
13794 if ${PKG_CONFIG+:} false; then :
13795 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13798 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13800 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13801 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13802 ac_save_CPPFLAGS=$CPPFLAGS
13803 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13804 for ac_header in png.h
13805 do :
13806 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13807 if test "x$ac_cv_header_png_h" = xyes; then :
13808 cat >>confdefs.h <<_ACEOF
13809 #define HAVE_PNG_H 1
13810 _ACEOF
13814 done
13816 if test "$ac_cv_header_png_h" = "yes"
13817 then
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13819 $as_echo_n "checking for -lpng... " >&6; }
13820 if ${ac_cv_lib_soname_png+:} false; then :
13821 $as_echo_n "(cached) " >&6
13822 else
13823 ac_check_soname_save_LIBS=$LIBS
13824 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13826 /* end confdefs.h. */
13828 /* Override any GCC internal prototype to avoid an error.
13829 Use char because int might match the return type of a GCC
13830 builtin and then its argument prototype would still apply. */
13831 #ifdef __cplusplus
13832 extern "C"
13833 #endif
13834 char png_create_read_struct ();
13836 main ()
13838 return png_create_read_struct ();
13840 return 0;
13842 _ACEOF
13843 if ac_fn_c_try_link "$LINENO"; then :
13844 case "$LIBEXT" in
13845 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13846 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'` ;;
13847 *) 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'`
13848 if ${ac_cv_lib_soname_png:+false} :; then :
13849 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13850 fi ;;
13851 esac
13853 rm -f core conftest.err conftest.$ac_objext \
13854 conftest$ac_exeext conftest.$ac_ext
13855 LIBS=$ac_check_soname_save_LIBS
13857 if ${ac_cv_lib_soname_png:+false} :; then :
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13859 $as_echo "not found" >&6; }
13860 PNG_CFLAGS=""
13861 else
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13863 $as_echo "$ac_cv_lib_soname_png" >&6; }
13865 cat >>confdefs.h <<_ACEOF
13866 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13867 _ACEOF
13869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13870 /* end confdefs.h. */
13871 #include <png.h>
13873 main ()
13875 typeof(png_set_expand_gray_1_2_4_to_8) *p
13877 return 0;
13879 _ACEOF
13880 if ac_fn_c_try_compile "$LINENO"; then :
13882 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13887 else
13888 PNG_CFLAGS=""
13890 CPPFLAGS=$ac_save_CPPFLAGS
13891 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13892 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13895 if test "x$ac_cv_lib_soname_png" = "x"; then :
13896 case "x$with_png" in
13897 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13898 xno) ;;
13899 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13900 This is an error since --with-png was requested." "$LINENO" 5 ;;
13901 esac
13905 if test "x$with_tiff" != "xno"
13906 then
13907 if ${TIFF_CFLAGS:+false} :; then :
13908 if ${PKG_CONFIG+:} false; then :
13909 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13913 if ${TIFF_LIBS:+false} :; then :
13914 if ${PKG_CONFIG+:} false; then :
13915 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13920 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13921 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13922 ac_save_CPPFLAGS=$CPPFLAGS
13923 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13924 for ac_header in tiffio.h
13925 do :
13926 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13927 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13928 cat >>confdefs.h <<_ACEOF
13929 #define HAVE_TIFFIO_H 1
13930 _ACEOF
13934 done
13936 if test "$ac_cv_header_tiffio_h" = "yes"
13937 then
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13939 $as_echo_n "checking for -ltiff... " >&6; }
13940 if ${ac_cv_lib_soname_tiff+:} false; then :
13941 $as_echo_n "(cached) " >&6
13942 else
13943 ac_check_soname_save_LIBS=$LIBS
13944 LIBS="-ltiff $TIFF_LIBS $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 #ifdef __cplusplus
13952 extern "C"
13953 #endif
13954 char TIFFClientOpen ();
13956 main ()
13958 return TIFFClientOpen ();
13960 return 0;
13962 _ACEOF
13963 if ac_fn_c_try_link "$LINENO"; then :
13964 case "$LIBEXT" in
13965 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13966 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'` ;;
13967 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13968 if ${ac_cv_lib_soname_tiff:+false} :; then :
13969 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13970 fi ;;
13971 esac
13973 rm -f core conftest.err conftest.$ac_objext \
13974 conftest$ac_exeext conftest.$ac_ext
13975 LIBS=$ac_check_soname_save_LIBS
13977 if ${ac_cv_lib_soname_tiff:+false} :; then :
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13979 $as_echo "not found" >&6; }
13981 else
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13983 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13985 cat >>confdefs.h <<_ACEOF
13986 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13987 _ACEOF
13992 CPPFLAGS=$ac_save_CPPFLAGS
13993 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13994 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13997 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13998 case "x$with_tiff" in
13999 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14000 xno) ;;
14001 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14002 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14003 esac
14007 if test "x$with_mpg123" != "xno"
14008 then
14009 if ${MPG123_CFLAGS:+false} :; then :
14010 if ${PKG_CONFIG+:} false; then :
14011 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14015 if ${MPG123_LIBS:+false} :; then :
14016 if ${PKG_CONFIG+:} false; then :
14017 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14021 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14022 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14023 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14024 ac_save_CPPFLAGS=$CPPFLAGS
14025 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14026 for ac_header in mpg123.h
14027 do :
14028 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14029 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14030 cat >>confdefs.h <<_ACEOF
14031 #define HAVE_MPG123_H 1
14032 _ACEOF
14036 done
14038 if test "$ac_cv_header_mpg123_h" = "yes"
14039 then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14041 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14042 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14043 $as_echo_n "(cached) " >&6
14044 else
14045 ac_check_lib_save_LIBS=$LIBS
14046 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 #ifdef __cplusplus
14054 extern "C"
14055 #endif
14056 char mpg123_feed ();
14058 main ()
14060 return mpg123_feed ();
14062 return 0;
14064 _ACEOF
14065 if ac_fn_c_try_link "$LINENO"; then :
14066 ac_cv_lib_mpg123_mpg123_feed=yes
14067 else
14068 ac_cv_lib_mpg123_mpg123_feed=no
14070 rm -f core conftest.err conftest.$ac_objext \
14071 conftest$ac_exeext conftest.$ac_ext
14072 LIBS=$ac_check_lib_save_LIBS
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14075 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14076 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14078 else
14079 MPG123_LIBS=""
14082 else
14083 MPG123_CFLAGS=""
14084 MPG123_LIBS=""
14086 CPPFLAGS=$ac_save_CPPFLAGS
14087 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14088 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14091 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14092 case "x$with_mpg123" in
14093 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14094 xno) ;;
14095 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14096 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14097 esac
14098 enable_winemp3_acm=${enable_winemp3_acm:-no}
14101 if test "$ac_cv_header_AL_al_h" = "yes"
14102 then
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14104 $as_echo_n "checking for -lopenal... " >&6; }
14105 if ${ac_cv_lib_soname_openal+:} false; then :
14106 $as_echo_n "(cached) " >&6
14107 else
14108 ac_check_soname_save_LIBS=$LIBS
14109 LIBS="-lopenal $LIBS"
14110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14111 /* end confdefs.h. */
14113 /* Override any GCC internal prototype to avoid an error.
14114 Use char because int might match the return type of a GCC
14115 builtin and then its argument prototype would still apply. */
14116 #ifdef __cplusplus
14117 extern "C"
14118 #endif
14119 char alGetSource3i ();
14121 main ()
14123 return alGetSource3i ();
14125 return 0;
14127 _ACEOF
14128 if ac_fn_c_try_link "$LINENO"; then :
14129 case "$LIBEXT" in
14130 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14131 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'` ;;
14132 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14133 if ${ac_cv_lib_soname_openal:+false} :; then :
14134 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14135 fi ;;
14136 esac
14138 rm -f core conftest.err conftest.$ac_objext \
14139 conftest$ac_exeext conftest.$ac_ext
14140 LIBS=$ac_check_soname_save_LIBS
14142 if ${ac_cv_lib_soname_openal:+false} :; then :
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14144 $as_echo "not found" >&6; }
14146 else
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14148 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14150 cat >>confdefs.h <<_ACEOF
14151 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14152 _ACEOF
14154 OPENAL_LIBS="-lopenal"
14156 ac_cv_lib_openal=yes
14158 cat >>confdefs.h <<_ACEOF
14159 #define HAVE_OPENAL 1
14160 _ACEOF
14164 if test "x$ac_cv_lib_openal" != xyes; then :
14165 case "x$with_openal" in
14166 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14167 xno) ;;
14168 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14169 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14170 esac
14171 enable_openal32=${enable_openal32:-no}
14174 if test "x$ac_cv_lib_openal" = xyes
14175 then
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14177 $as_echo_n "checking for openal-soft... " >&6; }
14178 if ${ac_cv_have_openalsoft+:} false; then :
14179 $as_echo_n "(cached) " >&6
14180 else
14181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14183 #include <AL/al.h>
14184 #include <AL/alc.h>
14185 #include <AL/alext.h>
14186 LPALCRENDERSAMPLESSOFT x;
14188 main ()
14192 return 0;
14194 _ACEOF
14195 if ac_fn_c_try_compile "$LINENO"; then :
14196 ac_cv_have_openalsoft=yes
14197 else
14198 ac_cv_have_openalsoft=no
14200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14203 $as_echo "$ac_cv_have_openalsoft" >&6; }
14205 if test "x$ac_cv_have_openalsoft" != xyes
14206 then
14207 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14208 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14209 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14210 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14211 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14212 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14213 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14214 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14215 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14216 enable_xapofx1_1=${enable_xapofx1_1:-no}
14217 enable_xapofx1_2=${enable_xapofx1_2:-no}
14218 enable_xapofx1_3=${enable_xapofx1_3:-no}
14219 enable_xapofx1_4=${enable_xapofx1_4:-no}
14220 enable_xapofx1_5=${enable_xapofx1_5:-no}
14221 enable_xaudio2_0=${enable_xaudio2_0:-no}
14222 enable_xaudio2_1=${enable_xaudio2_1:-no}
14223 enable_xaudio2_2=${enable_xaudio2_2:-no}
14224 enable_xaudio2_3=${enable_xaudio2_3:-no}
14225 enable_xaudio2_4=${enable_xaudio2_4:-no}
14226 enable_xaudio2_5=${enable_xaudio2_5:-no}
14227 enable_xaudio2_6=${enable_xaudio2_6:-no}
14228 enable_xaudio2_7=${enable_xaudio2_7:-no}
14229 enable_xaudio2_8=${enable_xaudio2_8:-no}
14230 enable_xaudio2_9=${enable_xaudio2_9:-no}
14233 if test "$ac_cv_header_kstat_h" = "yes"
14234 then
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14236 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14237 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14238 $as_echo_n "(cached) " >&6
14239 else
14240 ac_check_lib_save_LIBS=$LIBS
14241 LIBS="-lkstat $LIBS"
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14245 /* Override any GCC internal prototype to avoid an error.
14246 Use char because int might match the return type of a GCC
14247 builtin and then its argument prototype would still apply. */
14248 #ifdef __cplusplus
14249 extern "C"
14250 #endif
14251 char kstat_open ();
14253 main ()
14255 return kstat_open ();
14257 return 0;
14259 _ACEOF
14260 if ac_fn_c_try_link "$LINENO"; then :
14261 ac_cv_lib_kstat_kstat_open=yes
14262 else
14263 ac_cv_lib_kstat_kstat_open=no
14265 rm -f core conftest.err conftest.$ac_objext \
14266 conftest$ac_exeext conftest.$ac_ext
14267 LIBS=$ac_check_lib_save_LIBS
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14270 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14271 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14273 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14275 KSTAT_LIBS="-lkstat"
14281 if test "$ac_cv_header_libprocstat_h" = "yes"
14282 then
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14284 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14285 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 ac_check_lib_save_LIBS=$LIBS
14289 LIBS="-lprocstat $LIBS"
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14293 /* Override any GCC internal prototype to avoid an error.
14294 Use char because int might match the return type of a GCC
14295 builtin and then its argument prototype would still apply. */
14296 #ifdef __cplusplus
14297 extern "C"
14298 #endif
14299 char procstat_open_sysctl ();
14301 main ()
14303 return procstat_open_sysctl ();
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"; then :
14309 ac_cv_lib_procstat_procstat_open_sysctl=yes
14310 else
14311 ac_cv_lib_procstat_procstat_open_sysctl=no
14313 rm -f core conftest.err conftest.$ac_objext \
14314 conftest$ac_exeext conftest.$ac_ext
14315 LIBS=$ac_check_lib_save_LIBS
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14318 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14319 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14321 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14323 PROCSTAT_LIBS="-lprocstat"
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14330 $as_echo_n "checking for -lodbc... " >&6; }
14331 if ${ac_cv_lib_soname_odbc+:} false; then :
14332 $as_echo_n "(cached) " >&6
14333 else
14334 ac_check_soname_save_LIBS=$LIBS
14335 LIBS="-lodbc $LIBS"
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14339 /* Override any GCC internal prototype to avoid an error.
14340 Use char because int might match the return type of a GCC
14341 builtin and then its argument prototype would still apply. */
14342 #ifdef __cplusplus
14343 extern "C"
14344 #endif
14345 char SQLConnect ();
14347 main ()
14349 return SQLConnect ();
14351 return 0;
14353 _ACEOF
14354 if ac_fn_c_try_link "$LINENO"; then :
14355 case "$LIBEXT" in
14356 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14357 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'` ;;
14358 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14359 if ${ac_cv_lib_soname_odbc:+false} :; then :
14360 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14361 fi ;;
14362 esac
14364 rm -f core conftest.err conftest.$ac_objext \
14365 conftest$ac_exeext conftest.$ac_ext
14366 LIBS=$ac_check_soname_save_LIBS
14368 if ${ac_cv_lib_soname_odbc:+false} :; then :
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14370 $as_echo "not found" >&6; }
14371 cat >>confdefs.h <<_ACEOF
14372 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14373 _ACEOF
14375 else
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14377 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14379 cat >>confdefs.h <<_ACEOF
14380 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14381 _ACEOF
14386 if test "x$with_netapi" != "xno"
14387 then
14388 if ${NETAPI_CFLAGS:+false} :; then :
14389 if ${PKG_CONFIG+:} false; then :
14390 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14394 if ${NETAPI_LIBS:+false} :; then :
14395 if ${PKG_CONFIG+:} false; then :
14396 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14401 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14402 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14403 ac_save_CPPFLAGS=$CPPFLAGS
14404 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14406 $as_echo_n "checking for -lnetapi... " >&6; }
14407 if ${ac_cv_lib_soname_netapi+:} false; then :
14408 $as_echo_n "(cached) " >&6
14409 else
14410 ac_check_soname_save_LIBS=$LIBS
14411 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14415 /* Override any GCC internal prototype to avoid an error.
14416 Use char because int might match the return type of a GCC
14417 builtin and then its argument prototype would still apply. */
14418 #ifdef __cplusplus
14419 extern "C"
14420 #endif
14421 char libnetapi_init ();
14423 main ()
14425 return libnetapi_init ();
14427 return 0;
14429 _ACEOF
14430 if ac_fn_c_try_link "$LINENO"; then :
14431 case "$LIBEXT" in
14432 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14433 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'` ;;
14434 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14435 if ${ac_cv_lib_soname_netapi:+false} :; then :
14436 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14437 fi ;;
14438 esac
14440 rm -f core conftest.err conftest.$ac_objext \
14441 conftest$ac_exeext conftest.$ac_ext
14442 LIBS=$ac_check_soname_save_LIBS
14444 if ${ac_cv_lib_soname_netapi:+false} :; then :
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14446 $as_echo "not found" >&6; }
14447 cat >>confdefs.h <<_ACEOF
14448 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14449 _ACEOF
14451 else
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14453 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14455 cat >>confdefs.h <<_ACEOF
14456 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14457 _ACEOF
14461 CPPFLAGS=$ac_save_CPPFLAGS
14462 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14463 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14467 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
14468 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14469 then
14470 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14474 EXTRACFLAGS=""
14476 if test "x${GCC}" = "xyes"
14477 then
14478 EXTRACFLAGS="-Wall -pipe"
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14481 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14482 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14483 $as_echo_n "(cached) " >&6
14484 else
14485 if test "$cross_compiling" = yes; then :
14486 ac_cv_c_gcc_strength_bug="no"
14487 else
14488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14489 /* end confdefs.h. */
14490 int L[4] = {0,1,2,3};
14492 main ()
14494 static int Array[3];
14495 unsigned int B = 3;
14496 int i;
14497 for(i=0; i<B; i++) Array[i] = i - 3;
14498 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14499 L[i] = 4;
14500 return (Array[1] != -2 || L[2] != 3)
14502 return 0;
14504 _ACEOF
14505 if ac_fn_c_try_run "$LINENO"; then :
14506 ac_cv_c_gcc_strength_bug="no"
14507 else
14508 ac_cv_c_gcc_strength_bug="yes"
14510 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14511 conftest.$ac_objext conftest.beam conftest.$ac_ext
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14516 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14517 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14518 then
14519 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14523 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14524 if ${ac_cv_cflags__fno_builtin+:} false; then :
14525 $as_echo_n "(cached) " >&6
14526 else
14527 ac_wine_try_cflags_saved=$CFLAGS
14528 CFLAGS="$CFLAGS -fno-builtin"
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14531 int main(int argc, char **argv) { return 0; }
14532 _ACEOF
14533 if ac_fn_c_try_link "$LINENO"; then :
14534 ac_cv_cflags__fno_builtin=yes
14535 else
14536 ac_cv_cflags__fno_builtin=no
14538 rm -f core conftest.err conftest.$ac_objext \
14539 conftest$ac_exeext conftest.$ac_ext
14540 CFLAGS=$ac_wine_try_cflags_saved
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14543 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14544 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14545 BUILTINFLAG="-fno-builtin"
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14549 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14550 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14551 $as_echo_n "(cached) " >&6
14552 else
14553 ac_wine_try_cflags_saved=$CFLAGS
14554 CFLAGS="$CFLAGS -fno-strict-aliasing"
14555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14556 /* end confdefs.h. */
14557 int main(int argc, char **argv) { return 0; }
14558 _ACEOF
14559 if ac_fn_c_try_link "$LINENO"; then :
14560 ac_cv_cflags__fno_strict_aliasing=yes
14561 else
14562 ac_cv_cflags__fno_strict_aliasing=no
14564 rm -f core conftest.err conftest.$ac_objext \
14565 conftest$ac_exeext conftest.$ac_ext
14566 CFLAGS=$ac_wine_try_cflags_saved
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14569 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14570 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14571 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14574 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14575 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14576 $as_echo_n "(cached) " >&6
14577 else
14578 ac_wine_try_cflags_saved=$CFLAGS
14579 CFLAGS="$CFLAGS -fexcess-precision=standard"
14580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14581 /* end confdefs.h. */
14582 int main(int argc, char **argv) { return 0; }
14583 _ACEOF
14584 if ac_fn_c_try_link "$LINENO"; then :
14585 ac_cv_cflags__fexcess_precision_standard=yes
14586 else
14587 ac_cv_cflags__fexcess_precision_standard=no
14589 rm -f core conftest.err conftest.$ac_objext \
14590 conftest$ac_exeext conftest.$ac_ext
14591 CFLAGS=$ac_wine_try_cflags_saved
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14594 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14595 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14596 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14599 saved_CFLAGS=$CFLAGS
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14601 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14602 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14603 $as_echo_n "(cached) " >&6
14604 else
14605 ac_wine_try_cflags_saved=$CFLAGS
14606 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14608 /* end confdefs.h. */
14609 int main(int argc, char **argv) { return 0; }
14610 _ACEOF
14611 if ac_fn_c_try_link "$LINENO"; then :
14612 ac_cv_cflags__Werror_unknown_warning_option=yes
14613 else
14614 ac_cv_cflags__Werror_unknown_warning_option=no
14616 rm -f core conftest.err conftest.$ac_objext \
14617 conftest$ac_exeext conftest.$ac_ext
14618 CFLAGS=$ac_wine_try_cflags_saved
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14621 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14622 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14623 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14626 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14627 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14628 $as_echo_n "(cached) " >&6
14629 else
14630 ac_wine_try_cflags_saved=$CFLAGS
14631 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 int main(int argc, char **argv) { return 0; }
14635 _ACEOF
14636 if ac_fn_c_try_link "$LINENO"; then :
14637 ac_cv_cflags__Wdeclaration_after_statement=yes
14638 else
14639 ac_cv_cflags__Wdeclaration_after_statement=no
14641 rm -f core conftest.err conftest.$ac_objext \
14642 conftest$ac_exeext conftest.$ac_ext
14643 CFLAGS=$ac_wine_try_cflags_saved
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14646 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14647 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14648 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14651 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14652 if ${ac_cv_cflags__Wempty_body+:} false; then :
14653 $as_echo_n "(cached) " >&6
14654 else
14655 ac_wine_try_cflags_saved=$CFLAGS
14656 CFLAGS="$CFLAGS -Wempty-body"
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14659 int main(int argc, char **argv) { return 0; }
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662 ac_cv_cflags__Wempty_body=yes
14663 else
14664 ac_cv_cflags__Wempty_body=no
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14668 CFLAGS=$ac_wine_try_cflags_saved
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14671 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14672 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14673 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14676 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14677 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14678 $as_echo_n "(cached) " >&6
14679 else
14680 ac_wine_try_cflags_saved=$CFLAGS
14681 CFLAGS="$CFLAGS -Wignored-qualifiers"
14682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14683 /* end confdefs.h. */
14684 int main(int argc, char **argv) { return 0; }
14685 _ACEOF
14686 if ac_fn_c_try_link "$LINENO"; then :
14687 ac_cv_cflags__Wignored_qualifiers=yes
14688 else
14689 ac_cv_cflags__Wignored_qualifiers=no
14691 rm -f core conftest.err conftest.$ac_objext \
14692 conftest$ac_exeext conftest.$ac_ext
14693 CFLAGS=$ac_wine_try_cflags_saved
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14696 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14697 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14698 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14701 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14702 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14703 $as_echo_n "(cached) " >&6
14704 else
14705 ac_wine_try_cflags_saved=$CFLAGS
14706 CFLAGS="$CFLAGS -Wshift-overflow=2"
14707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14708 /* end confdefs.h. */
14709 int main(int argc, char **argv) { return 0; }
14710 _ACEOF
14711 if ac_fn_c_try_link "$LINENO"; then :
14712 ac_cv_cflags__Wshift_overflow_2=yes
14713 else
14714 ac_cv_cflags__Wshift_overflow_2=no
14716 rm -f core conftest.err conftest.$ac_objext \
14717 conftest$ac_exeext conftest.$ac_ext
14718 CFLAGS=$ac_wine_try_cflags_saved
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14721 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14722 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14723 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14726 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14727 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14728 $as_echo_n "(cached) " >&6
14729 else
14730 ac_wine_try_cflags_saved=$CFLAGS
14731 CFLAGS="$CFLAGS -Wstrict-prototypes"
14732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14733 /* end confdefs.h. */
14734 int main(int argc, char **argv) { return 0; }
14735 _ACEOF
14736 if ac_fn_c_try_link "$LINENO"; then :
14737 ac_cv_cflags__Wstrict_prototypes=yes
14738 else
14739 ac_cv_cflags__Wstrict_prototypes=no
14741 rm -f core conftest.err conftest.$ac_objext \
14742 conftest$ac_exeext conftest.$ac_ext
14743 CFLAGS=$ac_wine_try_cflags_saved
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14746 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14747 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14748 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14751 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14752 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14753 $as_echo_n "(cached) " >&6
14754 else
14755 ac_wine_try_cflags_saved=$CFLAGS
14756 CFLAGS="$CFLAGS -Wtype-limits"
14757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14758 /* end confdefs.h. */
14759 int main(int argc, char **argv) { return 0; }
14760 _ACEOF
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_cflags__Wtype_limits=yes
14763 else
14764 ac_cv_cflags__Wtype_limits=no
14766 rm -f core conftest.err conftest.$ac_objext \
14767 conftest$ac_exeext conftest.$ac_ext
14768 CFLAGS=$ac_wine_try_cflags_saved
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14771 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14772 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14773 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14776 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14777 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14778 $as_echo_n "(cached) " >&6
14779 else
14780 ac_wine_try_cflags_saved=$CFLAGS
14781 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14783 /* end confdefs.h. */
14784 int main(int argc, char **argv) { return 0; }
14785 _ACEOF
14786 if ac_fn_c_try_link "$LINENO"; then :
14787 ac_cv_cflags__Wunused_but_set_parameter=yes
14788 else
14789 ac_cv_cflags__Wunused_but_set_parameter=no
14791 rm -f core conftest.err conftest.$ac_objext \
14792 conftest$ac_exeext conftest.$ac_ext
14793 CFLAGS=$ac_wine_try_cflags_saved
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14796 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14797 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14798 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14801 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14802 if ${ac_cv_cflags__Wvla+:} false; then :
14803 $as_echo_n "(cached) " >&6
14804 else
14805 ac_wine_try_cflags_saved=$CFLAGS
14806 CFLAGS="$CFLAGS -Wvla"
14807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14808 /* end confdefs.h. */
14809 int main(int argc, char **argv) { return 0; }
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"; then :
14812 ac_cv_cflags__Wvla=yes
14813 else
14814 ac_cv_cflags__Wvla=no
14816 rm -f core conftest.err conftest.$ac_objext \
14817 conftest$ac_exeext conftest.$ac_ext
14818 CFLAGS=$ac_wine_try_cflags_saved
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14821 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14822 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14823 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14826 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14827 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14828 $as_echo_n "(cached) " >&6
14829 else
14830 ac_wine_try_cflags_saved=$CFLAGS
14831 CFLAGS="$CFLAGS -Wwrite-strings"
14832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14833 /* end confdefs.h. */
14834 int main(int argc, char **argv) { return 0; }
14835 _ACEOF
14836 if ac_fn_c_try_link "$LINENO"; then :
14837 ac_cv_cflags__Wwrite_strings=yes
14838 else
14839 ac_cv_cflags__Wwrite_strings=no
14841 rm -f core conftest.err conftest.$ac_objext \
14842 conftest$ac_exeext conftest.$ac_ext
14843 CFLAGS=$ac_wine_try_cflags_saved
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14846 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14847 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14848 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14852 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14853 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14854 $as_echo_n "(cached) " >&6
14855 else
14856 ac_wine_try_cflags_saved=$CFLAGS
14857 CFLAGS="$CFLAGS -Wpointer-arith"
14858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14859 /* end confdefs.h. */
14860 int main(int argc, char **argv) { return 0; }
14861 _ACEOF
14862 if ac_fn_c_try_link "$LINENO"; then :
14863 ac_cv_cflags__Wpointer_arith=yes
14864 else
14865 ac_cv_cflags__Wpointer_arith=no
14867 rm -f core conftest.err conftest.$ac_objext \
14868 conftest$ac_exeext conftest.$ac_ext
14869 CFLAGS=$ac_wine_try_cflags_saved
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14872 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14873 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14874 saved_string_h_CFLAGS=$CFLAGS
14875 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14877 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14878 if ${ac_cv_c_string_h_warnings+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14883 #include <string.h>
14885 main ()
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_compile "$LINENO"; then :
14893 ac_cv_c_string_h_warnings=no
14894 else
14895 ac_cv_c_string_h_warnings=yes
14897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14900 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14901 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14902 CFLAGS=$saved_string_h_CFLAGS
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14906 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14907 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14908 $as_echo_n "(cached) " >&6
14909 else
14910 ac_wine_try_cflags_saved=$CFLAGS
14911 CFLAGS="$CFLAGS -Wlogical-op"
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 int main(int argc, char **argv) { return 0; }
14915 _ACEOF
14916 if ac_fn_c_try_link "$LINENO"; then :
14917 ac_cv_cflags__Wlogical_op=yes
14918 else
14919 ac_cv_cflags__Wlogical_op=no
14921 rm -f core conftest.err conftest.$ac_objext \
14922 conftest$ac_exeext conftest.$ac_ext
14923 CFLAGS=$ac_wine_try_cflags_saved
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14926 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14927 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14928 saved_string_h_CFLAGS=$CFLAGS
14929 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14931 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14932 if ${ac_cv_c_logicalop_noisy+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14936 /* end confdefs.h. */
14937 #include <string.h>
14938 char*f(const char *h,char n) {return strchr(h,n);}
14940 main ()
14944 return 0;
14946 _ACEOF
14947 if ac_fn_c_try_compile "$LINENO"; then :
14948 ac_cv_c_logicalop_noisy=no
14949 else
14950 ac_cv_c_logicalop_noisy=yes
14952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14955 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14956 CFLAGS=$saved_string_h_CFLAGS
14957 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14960 CFLAGS=$saved_CFLAGS
14962 for ac_flag in $CFLAGS; do
14963 case $ac_flag in
14964 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14965 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14966 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14967 $as_echo_n "(cached) " >&6
14968 else
14969 ac_wine_try_cflags_saved=$CFLAGS
14970 CFLAGS="$CFLAGS -gdwarf-2"
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 int main(int argc, char **argv) { return 0; }
14974 _ACEOF
14975 if ac_fn_c_try_link "$LINENO"; then :
14976 ac_cv_cflags__gdwarf_2=yes
14977 else
14978 ac_cv_cflags__gdwarf_2=no
14980 rm -f core conftest.err conftest.$ac_objext \
14981 conftest$ac_exeext conftest.$ac_ext
14982 CFLAGS=$ac_wine_try_cflags_saved
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14985 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14986 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14987 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14990 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14991 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14992 $as_echo_n "(cached) " >&6
14993 else
14994 ac_wine_try_cflags_saved=$CFLAGS
14995 CFLAGS="$CFLAGS -gstrict-dwarf"
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14998 int main(int argc, char **argv) { return 0; }
14999 _ACEOF
15000 if ac_fn_c_try_link "$LINENO"; then :
15001 ac_cv_cflags__gstrict_dwarf=yes
15002 else
15003 ac_cv_cflags__gstrict_dwarf=no
15005 rm -f core conftest.err conftest.$ac_objext \
15006 conftest$ac_exeext conftest.$ac_ext
15007 CFLAGS=$ac_wine_try_cflags_saved
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15010 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15011 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15012 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15013 fi ;;
15014 esac
15015 done
15017 case $host_cpu in
15018 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15019 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15020 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15021 $as_echo_n "(cached) " >&6
15022 else
15023 ac_wine_try_cflags_saved=$CFLAGS
15024 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15026 /* end confdefs.h. */
15027 int main(int argc, char **argv) { return 0; }
15028 _ACEOF
15029 if ac_fn_c_try_link "$LINENO"; then :
15030 ac_cv_cflags__fno_omit_frame_pointer=yes
15031 else
15032 ac_cv_cflags__fno_omit_frame_pointer=no
15034 rm -f core conftest.err conftest.$ac_objext \
15035 conftest$ac_exeext conftest.$ac_ext
15036 CFLAGS=$ac_wine_try_cflags_saved
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15039 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15040 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15041 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15042 fi ;;
15043 esac
15045 case $host in
15046 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15047 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15048 if ${ac_cv_cflags__Wno_format+:} false; then :
15049 $as_echo_n "(cached) " >&6
15050 else
15051 ac_wine_try_cflags_saved=$CFLAGS
15052 CFLAGS="$CFLAGS -Wno-format"
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054 /* end confdefs.h. */
15055 int main(int argc, char **argv) { return 0; }
15056 _ACEOF
15057 if ac_fn_c_try_link "$LINENO"; then :
15058 ac_cv_cflags__Wno_format=yes
15059 else
15060 ac_cv_cflags__Wno_format=no
15062 rm -f core conftest.err conftest.$ac_objext \
15063 conftest$ac_exeext conftest.$ac_ext
15064 CFLAGS=$ac_wine_try_cflags_saved
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15067 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15068 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15069 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15070 fi ;;
15071 esac
15073 if test "x$enable_maintainer_mode" = "xyes"
15074 then
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15076 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15077 if ${ac_cv_cflags__Werror+:} false; then :
15078 $as_echo_n "(cached) " >&6
15079 else
15080 ac_wine_try_cflags_saved=$CFLAGS
15081 CFLAGS="$CFLAGS -Werror"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15084 int main(int argc, char **argv) { return 0; }
15085 _ACEOF
15086 if ac_fn_c_try_link "$LINENO"; then :
15087 ac_cv_cflags__Werror=yes
15088 else
15089 ac_cv_cflags__Werror=no
15091 rm -f core conftest.err conftest.$ac_objext \
15092 conftest$ac_exeext conftest.$ac_ext
15093 CFLAGS=$ac_wine_try_cflags_saved
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15096 $as_echo "$ac_cv_cflags__Werror" >&6; }
15097 if test "x$ac_cv_cflags__Werror" = xyes; then :
15098 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15102 saved_CFLAGS="$CFLAGS"
15103 CFLAGS="$CFLAGS -Werror"
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15105 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15106 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15113 main ()
15117 return 0;
15119 _ACEOF
15120 if ac_fn_c_try_compile "$LINENO"; then :
15121 ac_cv_have_ms_hook_prologue="yes"
15122 else
15123 ac_cv_have_ms_hook_prologue="no"
15125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15128 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15129 CFLAGS="$saved_CFLAGS"
15130 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15131 then
15133 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15135 else
15136 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15143 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15144 if ${ac_cv_c_fortify_enabled+:} false; then :
15145 $as_echo_n "(cached) " >&6
15146 else
15147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15148 /* end confdefs.h. */
15149 #include <string.h>
15151 main ()
15153 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15154 #error Fortify enabled
15155 #endif
15157 return 0;
15159 _ACEOF
15160 if ac_fn_c_try_compile "$LINENO"; then :
15161 ac_cv_c_fortify_enabled=no
15162 else
15163 ac_cv_c_fortify_enabled=yes
15165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15168 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15169 if test "$ac_cv_c_fortify_enabled" = yes
15170 then
15171 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15176 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15177 if ${ac_cv_c_extern_prefix+:} false; then :
15178 $as_echo_n "(cached) " >&6
15179 else
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15182 extern int ac_test;
15184 main ()
15186 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15188 return 0;
15190 _ACEOF
15191 if ac_fn_c_try_link "$LINENO"; then :
15192 ac_cv_c_extern_prefix="yes"
15193 else
15194 ac_cv_c_extern_prefix="no"
15196 rm -f core conftest.err conftest.$ac_objext \
15197 conftest$ac_exeext conftest.$ac_ext
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15200 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15202 case $host_cpu in
15203 *i[3456789]86*)
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15205 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15206 if ${ac_cv_c_stdcall_suffix+:} false; then :
15207 $as_echo_n "(cached) " >&6
15208 else
15209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210 /* end confdefs.h. */
15211 #ifndef _MSC_VER
15212 #define __stdcall __attribute__((__stdcall__))
15213 #endif
15214 int __stdcall ac_test(int i) { return i; }
15216 main ()
15218 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15220 return 0;
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"; then :
15224 ac_cv_c_stdcall_suffix="yes"
15225 else
15226 ac_cv_c_stdcall_suffix="no"
15228 rm -f core conftest.err conftest.$ac_objext \
15229 conftest$ac_exeext conftest.$ac_ext
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15232 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15233 *) ac_cv_c_stdcall_suffix="no" ;;
15234 esac
15237 if test "$ac_cv_c_extern_prefix" = "yes"
15238 then
15239 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15241 asm_name_prefix="_"
15242 else
15243 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15245 asm_name_prefix=""
15249 if test "$ac_cv_c_stdcall_suffix" = "yes"
15250 then
15251 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15253 else
15254 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15260 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15261 if ${ac_cv_asm_func_def+:} false; then :
15262 $as_echo_n "(cached) " >&6
15263 else
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15268 main ()
15270 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15272 return 0;
15274 _ACEOF
15275 if ac_fn_c_try_link "$LINENO"; then :
15276 ac_cv_asm_func_def=".def"
15277 else
15278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15279 /* end confdefs.h. */
15282 main ()
15284 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15286 return 0;
15288 _ACEOF
15289 if ac_fn_c_try_link "$LINENO"; then :
15290 ac_cv_asm_func_def=".type @function"
15291 else
15292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15293 /* end confdefs.h. */
15296 main ()
15298 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15300 return 0;
15302 _ACEOF
15303 if ac_fn_c_try_link "$LINENO"; then :
15304 ac_cv_asm_func_def=".type 2"
15305 else
15306 ac_cv_asm_func_def="unknown"
15308 rm -f core conftest.err conftest.$ac_objext \
15309 conftest$ac_exeext conftest.$ac_ext
15311 rm -f core conftest.err conftest.$ac_objext \
15312 conftest$ac_exeext conftest.$ac_ext
15314 rm -f core conftest.err conftest.$ac_objext \
15315 conftest$ac_exeext conftest.$ac_ext
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15318 $as_echo "$ac_cv_asm_func_def" >&6; }
15321 case "$ac_cv_asm_func_def" in
15322 ".def")
15323 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15325 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15326 ".type @function")
15327 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15329 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15330 ".type 2")
15331 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15333 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15335 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15337 asm_func_header="" ;;
15338 esac
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15341 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15342 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15343 $as_echo_n "(cached) " >&6
15344 else
15345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h. */
15347 asm(".text\n\t.long 0");
15349 main ()
15353 return 0;
15355 _ACEOF
15356 if ac_fn_c_try_compile "$LINENO"; then :
15357 ac_cv_c_asm_outside_funcs="yes"
15358 else
15359 ac_cv_c_asm_outside_funcs="no"
15361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15364 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15367 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15368 if ${ac_cv_c_dot_previous+:} false; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15372 /* end confdefs.h. */
15375 main ()
15377 asm(".text\nac_test:\t.long 0\n\t.previous");
15379 return 0;
15381 _ACEOF
15382 if ac_fn_c_try_link "$LINENO"; then :
15383 ac_cv_c_dot_previous="yes"
15384 else
15385 ac_cv_c_dot_previous="no"
15387 rm -f core conftest.err conftest.$ac_objext \
15388 conftest$ac_exeext conftest.$ac_ext
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15391 $as_echo "$ac_cv_c_dot_previous" >&6; }
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15394 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15395 if ${ac_cv_c_cfi_support+:} false; then :
15396 $as_echo_n "(cached) " >&6
15397 else
15398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15399 /* end confdefs.h. */
15400 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15402 main ()
15406 return 0;
15408 _ACEOF
15409 if ac_fn_c_try_compile "$LINENO"; then :
15410 ac_cv_c_cfi_support="yes"
15411 else
15412 ac_cv_c_cfi_support="no"
15414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15417 $as_echo "$ac_cv_c_cfi_support" >&6; }
15419 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15420 asm_func_trailer=""
15421 if test "$ac_cv_c_dot_previous" = "yes"
15422 then
15423 asm_func_trailer="\\n\\t.previous"
15425 if test "$ac_cv_c_cfi_support" = "yes"
15426 then
15427 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15428 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15430 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15432 UNWINDFLAGS=-fasynchronous-unwind-tables
15434 else
15435 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15437 if test "x$enable_win64" = "xyes"
15438 then
15439 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15443 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15446 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15447 then
15448 cat >>confdefs.h <<_ACEOF
15449 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15450 _ACEOF
15452 else
15453 cat >>confdefs.h <<_ACEOF
15454 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15455 _ACEOF
15459 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15462 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15466 case $build_os in
15467 cygwin*|mingw32*) TOOLSEXT=".exe"
15469 esac
15471 case $host_os in
15472 linux*)
15473 case $host_cpu in
15474 *i[3456789]86*|x86_64*)
15475 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15476 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15478 esac
15480 esac
15483 ac_save_CFLAGS="$CFLAGS"
15484 CFLAGS="$CFLAGS $BUILTINFLAG"
15485 for ac_func in \
15486 __res_get_state \
15487 __res_getservers \
15488 _finite \
15489 _isnan \
15490 _pclose \
15491 _popen \
15492 _snprintf \
15493 _spawnvp \
15494 _strdup \
15495 _stricmp \
15496 _strnicmp \
15497 _strtoi64 \
15498 _strtoui64 \
15499 _vsnprintf \
15500 asctime_r \
15501 chsize \
15502 dlopen \
15503 epoll_create \
15504 ffs \
15505 finitef \
15506 fnmatch \
15507 fork \
15508 fpclass \
15509 fstatfs \
15510 fstatvfs \
15511 ftruncate \
15512 futimens \
15513 futimes \
15514 futimesat \
15515 getattrlist \
15516 getauxval \
15517 getifaddrs \
15518 getopt_long_only \
15519 getpwuid \
15520 gettimeofday \
15521 getuid \
15522 isnanf \
15523 kqueue \
15524 lstat \
15525 memmove \
15526 mmap \
15527 pclose \
15528 pipe2 \
15529 poll \
15530 popen \
15531 port_create \
15532 prctl \
15533 pread \
15534 proc_pidinfo \
15535 pwrite \
15536 readdir \
15537 readlink \
15538 sched_yield \
15539 select \
15540 setproctitle \
15541 setprogname \
15542 setrlimit \
15543 settimeofday \
15544 sigaltstack \
15545 sigprocmask \
15546 snprintf \
15547 statfs \
15548 statvfs \
15549 strcasecmp \
15550 strdup \
15551 strerror \
15552 strncasecmp \
15553 strtold \
15554 strtoll \
15555 strtoull \
15556 symlink \
15557 sysinfo \
15558 tcdrain \
15559 thr_kill2 \
15560 timegm \
15561 usleep \
15562 vsnprintf
15564 do :
15565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15566 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15567 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15568 cat >>confdefs.h <<_ACEOF
15569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15570 _ACEOF
15573 done
15575 CFLAGS="$ac_save_CFLAGS"
15577 if test "$ac_cv_func_dlopen" = no
15578 then
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15580 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15581 if ${ac_cv_lib_dl_dlopen+:} false; then :
15582 $as_echo_n "(cached) " >&6
15583 else
15584 ac_check_lib_save_LIBS=$LIBS
15585 LIBS="-ldl $LIBS"
15586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15587 /* end confdefs.h. */
15589 /* Override any GCC internal prototype to avoid an error.
15590 Use char because int might match the return type of a GCC
15591 builtin and then its argument prototype would still apply. */
15592 #ifdef __cplusplus
15593 extern "C"
15594 #endif
15595 char dlopen ();
15597 main ()
15599 return dlopen ();
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 ac_cv_lib_dl_dlopen=yes
15606 else
15607 ac_cv_lib_dl_dlopen=no
15609 rm -f core conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15611 LIBS=$ac_check_lib_save_LIBS
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15614 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15615 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15616 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15617 DL_LIBS="-ldl"
15622 ac_wine_check_funcs_save_LIBS="$LIBS"
15623 LIBS="$LIBS $DL_LIBS"
15624 for ac_func in dladdr
15625 do :
15626 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15627 if test "x$ac_cv_func_dladdr" = xyes; then :
15628 cat >>confdefs.h <<_ACEOF
15629 #define HAVE_DLADDR 1
15630 _ACEOF
15633 done
15635 LIBS="$ac_wine_check_funcs_save_LIBS"
15637 if test "$ac_cv_func_poll" = no
15638 then
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15640 $as_echo_n "checking for poll in -lpoll... " >&6; }
15641 if ${ac_cv_lib_poll_poll+:} false; then :
15642 $as_echo_n "(cached) " >&6
15643 else
15644 ac_check_lib_save_LIBS=$LIBS
15645 LIBS="-lpoll $LIBS"
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15649 /* Override any GCC internal prototype to avoid an error.
15650 Use char because int might match the return type of a GCC
15651 builtin and then its argument prototype would still apply. */
15652 #ifdef __cplusplus
15653 extern "C"
15654 #endif
15655 char poll ();
15657 main ()
15659 return poll ();
15661 return 0;
15663 _ACEOF
15664 if ac_fn_c_try_link "$LINENO"; then :
15665 ac_cv_lib_poll_poll=yes
15666 else
15667 ac_cv_lib_poll_poll=no
15669 rm -f core conftest.err conftest.$ac_objext \
15670 conftest$ac_exeext conftest.$ac_ext
15671 LIBS=$ac_check_lib_save_LIBS
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15674 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15675 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15676 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15677 POLL_LIBS="-lpoll"
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15684 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15685 if ${ac_cv_search_gethostbyname+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 ac_func_search_save_LIBS=$LIBS
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15695 #ifdef __cplusplus
15696 extern "C"
15697 #endif
15698 char gethostbyname ();
15700 main ()
15702 return gethostbyname ();
15704 return 0;
15706 _ACEOF
15707 for ac_lib in '' nsl; do
15708 if test -z "$ac_lib"; then
15709 ac_res="none required"
15710 else
15711 ac_res=-l$ac_lib
15712 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15714 if ac_fn_c_try_link "$LINENO"; then :
15715 ac_cv_search_gethostbyname=$ac_res
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext
15719 if ${ac_cv_search_gethostbyname+:} false; then :
15720 break
15722 done
15723 if ${ac_cv_search_gethostbyname+:} false; then :
15725 else
15726 ac_cv_search_gethostbyname=no
15728 rm conftest.$ac_ext
15729 LIBS=$ac_func_search_save_LIBS
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15732 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15733 ac_res=$ac_cv_search_gethostbyname
15734 if test "$ac_res" != no; then :
15735 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15741 $as_echo_n "checking for library containing connect... " >&6; }
15742 if ${ac_cv_search_connect+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 ac_func_search_save_LIBS=$LIBS
15746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h. */
15749 /* Override any GCC internal prototype to avoid an error.
15750 Use char because int might match the return type of a GCC
15751 builtin and then its argument prototype would still apply. */
15752 #ifdef __cplusplus
15753 extern "C"
15754 #endif
15755 char connect ();
15757 main ()
15759 return connect ();
15761 return 0;
15763 _ACEOF
15764 for ac_lib in '' socket; do
15765 if test -z "$ac_lib"; then
15766 ac_res="none required"
15767 else
15768 ac_res=-l$ac_lib
15769 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15771 if ac_fn_c_try_link "$LINENO"; then :
15772 ac_cv_search_connect=$ac_res
15774 rm -f core conftest.err conftest.$ac_objext \
15775 conftest$ac_exeext
15776 if ${ac_cv_search_connect+:} false; then :
15777 break
15779 done
15780 if ${ac_cv_search_connect+:} false; then :
15782 else
15783 ac_cv_search_connect=no
15785 rm conftest.$ac_ext
15786 LIBS=$ac_func_search_save_LIBS
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15789 $as_echo "$ac_cv_search_connect" >&6; }
15790 ac_res=$ac_cv_search_connect
15791 if test "$ac_res" != no; then :
15792 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15798 $as_echo_n "checking for library containing inet_aton... " >&6; }
15799 if ${ac_cv_search_inet_aton+:} false; then :
15800 $as_echo_n "(cached) " >&6
15801 else
15802 ac_func_search_save_LIBS=$LIBS
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15806 /* Override any GCC internal prototype to avoid an error.
15807 Use char because int might match the return type of a GCC
15808 builtin and then its argument prototype would still apply. */
15809 #ifdef __cplusplus
15810 extern "C"
15811 #endif
15812 char inet_aton ();
15814 main ()
15816 return inet_aton ();
15818 return 0;
15820 _ACEOF
15821 for ac_lib in '' resolv; do
15822 if test -z "$ac_lib"; then
15823 ac_res="none required"
15824 else
15825 ac_res=-l$ac_lib
15826 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 ac_cv_search_inet_aton=$ac_res
15831 rm -f core conftest.err conftest.$ac_objext \
15832 conftest$ac_exeext
15833 if ${ac_cv_search_inet_aton+:} false; then :
15834 break
15836 done
15837 if ${ac_cv_search_inet_aton+:} false; then :
15839 else
15840 ac_cv_search_inet_aton=no
15842 rm conftest.$ac_ext
15843 LIBS=$ac_func_search_save_LIBS
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15846 $as_echo "$ac_cv_search_inet_aton" >&6; }
15847 ac_res=$ac_cv_search_inet_aton
15848 if test "$ac_res" != no; then :
15849 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15854 for ac_func in \
15855 getaddrinfo \
15856 getnameinfo \
15857 getnetbyname \
15858 getprotobyname \
15859 getprotobynumber \
15860 getservbyport \
15861 inet_addr \
15862 inet_network \
15863 inet_ntop \
15864 inet_pton \
15865 sendmsg \
15866 socketpair \
15868 do :
15869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15871 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15872 cat >>confdefs.h <<_ACEOF
15873 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15874 _ACEOF
15877 done
15880 ac_save_LIBS=$LIBS
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15882 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15883 if ${ac_cv_search_clock_gettime+:} false; then :
15884 $as_echo_n "(cached) " >&6
15885 else
15886 ac_func_search_save_LIBS=$LIBS
15887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15888 /* end confdefs.h. */
15890 /* Override any GCC internal prototype to avoid an error.
15891 Use char because int might match the return type of a GCC
15892 builtin and then its argument prototype would still apply. */
15893 #ifdef __cplusplus
15894 extern "C"
15895 #endif
15896 char clock_gettime ();
15898 main ()
15900 return clock_gettime ();
15902 return 0;
15904 _ACEOF
15905 for ac_lib in '' rt; do
15906 if test -z "$ac_lib"; then
15907 ac_res="none required"
15908 else
15909 ac_res=-l$ac_lib
15910 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15912 if ac_fn_c_try_link "$LINENO"; then :
15913 ac_cv_search_clock_gettime=$ac_res
15915 rm -f core conftest.err conftest.$ac_objext \
15916 conftest$ac_exeext
15917 if ${ac_cv_search_clock_gettime+:} false; then :
15918 break
15920 done
15921 if ${ac_cv_search_clock_gettime+:} false; then :
15923 else
15924 ac_cv_search_clock_gettime=no
15926 rm conftest.$ac_ext
15927 LIBS=$ac_func_search_save_LIBS
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15930 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15931 ac_res=$ac_cv_search_clock_gettime
15932 if test "$ac_res" != no; then :
15933 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15935 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15937 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15941 LIBS=$ac_save_LIBS
15943 LDAP_LIBS=""
15945 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15946 then
15947 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15949 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15951 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15952 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15953 $as_echo_n "(cached) " >&6
15954 else
15955 ac_check_lib_save_LIBS=$LIBS
15956 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15958 /* end confdefs.h. */
15960 /* Override any GCC internal prototype to avoid an error.
15961 Use char because int might match the return type of a GCC
15962 builtin and then its argument prototype would still apply. */
15963 #ifdef __cplusplus
15964 extern "C"
15965 #endif
15966 char ldap_initialize ();
15968 main ()
15970 return ldap_initialize ();
15972 return 0;
15974 _ACEOF
15975 if ac_fn_c_try_link "$LINENO"; then :
15976 ac_cv_lib_ldap_r_ldap_initialize=yes
15977 else
15978 ac_cv_lib_ldap_r_ldap_initialize=no
15980 rm -f core conftest.err conftest.$ac_objext \
15981 conftest$ac_exeext conftest.$ac_ext
15982 LIBS=$ac_check_lib_save_LIBS
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15985 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15986 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15988 $as_echo_n "checking for ber_init in -llber... " >&6; }
15989 if ${ac_cv_lib_lber_ber_init+:} false; then :
15990 $as_echo_n "(cached) " >&6
15991 else
15992 ac_check_lib_save_LIBS=$LIBS
15993 LIBS="-llber $PTHREAD_LIBS $LIBS"
15994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15995 /* end confdefs.h. */
15997 /* Override any GCC internal prototype to avoid an error.
15998 Use char because int might match the return type of a GCC
15999 builtin and then its argument prototype would still apply. */
16000 #ifdef __cplusplus
16001 extern "C"
16002 #endif
16003 char ber_init ();
16005 main ()
16007 return ber_init ();
16009 return 0;
16011 _ACEOF
16012 if ac_fn_c_try_link "$LINENO"; then :
16013 ac_cv_lib_lber_ber_init=yes
16014 else
16015 ac_cv_lib_lber_ber_init=no
16017 rm -f core conftest.err conftest.$ac_objext \
16018 conftest$ac_exeext conftest.$ac_ext
16019 LIBS=$ac_check_lib_save_LIBS
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16022 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16023 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16025 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16027 LDAP_LIBS="-lldap_r -llber"
16034 ac_wine_check_funcs_save_LIBS="$LIBS"
16035 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16036 for ac_func in \
16037 ldap_count_references \
16038 ldap_first_reference \
16039 ldap_next_reference \
16040 ldap_parse_reference \
16041 ldap_parse_sort_control \
16042 ldap_parse_sortresponse_control \
16043 ldap_parse_vlv_control \
16044 ldap_parse_vlvresponse_control
16045 do :
16046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16048 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16049 cat >>confdefs.h <<_ACEOF
16050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16051 _ACEOF
16054 done
16056 LIBS="$ac_wine_check_funcs_save_LIBS"
16058 if test "x$LDAP_LIBS" = "x"; then :
16059 case "x$with_ldap" in
16060 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16061 xno) ;;
16062 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16063 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16064 esac
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16069 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16070 if ${wine_cv_one_arg_mkdir+:} false; then :
16071 $as_echo_n "(cached) " >&6
16072 else
16073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16074 /* end confdefs.h. */
16075 #include <sys/stat.h>
16077 main ()
16079 mkdir("foo");
16081 return 0;
16083 _ACEOF
16084 if ac_fn_c_try_compile "$LINENO"; then :
16085 wine_cv_one_arg_mkdir=yes
16086 else
16087 wine_cv_one_arg_mkdir=no
16089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16092 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16093 if test "$wine_cv_one_arg_mkdir" = "yes"
16094 then
16096 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16101 $as_echo_n "checking for sched_setaffinity... " >&6; }
16102 if ${wine_cv_have_sched_setaffinity+:} false; then :
16103 $as_echo_n "(cached) " >&6
16104 else
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16107 #define _GNU_SOURCE
16108 #include <sched.h>
16110 main ()
16112 sched_setaffinity(0, 0, 0);
16114 return 0;
16116 _ACEOF
16117 if ac_fn_c_try_link "$LINENO"; then :
16118 wine_cv_have_sched_setaffinity=yes
16119 else
16120 wine_cv_have_sched_setaffinity=no
16122 rm -f core conftest.err conftest.$ac_objext \
16123 conftest$ac_exeext conftest.$ac_ext
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16126 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16127 if test "$wine_cv_have_sched_setaffinity" = "yes"
16128 then
16130 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16135 $as_echo_n "checking for fallocate... " >&6; }
16136 if ${wine_cv_have_fallocate+:} false; then :
16137 $as_echo_n "(cached) " >&6
16138 else
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16141 #define _GNU_SOURCE
16142 #include <fcntl.h>
16144 main ()
16146 fallocate(-1, 0, 0, 0);
16148 return 0;
16150 _ACEOF
16151 if ac_fn_c_try_link "$LINENO"; then :
16152 wine_cv_have_fallocate=yes
16153 else
16154 wine_cv_have_fallocate=no
16156 rm -f core conftest.err conftest.$ac_objext \
16157 conftest$ac_exeext conftest.$ac_ext
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16160 $as_echo "$wine_cv_have_fallocate" >&6; }
16161 if test "$wine_cv_have_fallocate" = "yes"
16162 then
16164 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16170 $as_echo_n "checking for inline... " >&6; }
16171 if ${ac_cv_c_inline+:} false; then :
16172 $as_echo_n "(cached) " >&6
16173 else
16174 ac_cv_c_inline=no
16175 for ac_kw in inline __inline__ __inline; do
16176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16177 /* end confdefs.h. */
16178 #ifndef __cplusplus
16179 typedef int foo_t;
16180 static $ac_kw foo_t static_foo () {return 0; }
16181 $ac_kw foo_t foo () {return 0; }
16182 #endif
16184 _ACEOF
16185 if ac_fn_c_try_compile "$LINENO"; then :
16186 ac_cv_c_inline=$ac_kw
16188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16189 test "$ac_cv_c_inline" != no && break
16190 done
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16194 $as_echo "$ac_cv_c_inline" >&6; }
16196 case $ac_cv_c_inline in
16197 inline | yes) ;;
16199 case $ac_cv_c_inline in
16200 no) ac_val=;;
16201 *) ac_val=$ac_cv_c_inline;;
16202 esac
16203 cat >>confdefs.h <<_ACEOF
16204 #ifndef __cplusplus
16205 #define inline $ac_val
16206 #endif
16207 _ACEOF
16209 esac
16211 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16212 if test "x$ac_cv_type_mode_t" = xyes; then :
16214 cat >>confdefs.h <<_ACEOF
16215 #define HAVE_MODE_T 1
16216 _ACEOF
16220 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16221 if test "x$ac_cv_type_off_t" = xyes; then :
16223 cat >>confdefs.h <<_ACEOF
16224 #define HAVE_OFF_T 1
16225 _ACEOF
16229 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16230 if test "x$ac_cv_type_pid_t" = xyes; then :
16232 cat >>confdefs.h <<_ACEOF
16233 #define HAVE_PID_T 1
16234 _ACEOF
16238 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16239 if test "x$ac_cv_type_size_t" = xyes; then :
16241 cat >>confdefs.h <<_ACEOF
16242 #define HAVE_SIZE_T 1
16243 _ACEOF
16247 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16248 if test "x$ac_cv_type_ssize_t" = xyes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_SSIZE_T 1
16252 _ACEOF
16256 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16257 if test "x$ac_cv_type_long_long" = xyes; then :
16259 cat >>confdefs.h <<_ACEOF
16260 #define HAVE_LONG_LONG 1
16261 _ACEOF
16265 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16266 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16268 cat >>confdefs.h <<_ACEOF
16269 #define HAVE_FSBLKCNT_T 1
16270 _ACEOF
16274 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16275 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_FSFILCNT_T 1
16279 _ACEOF
16284 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16285 #include <signal.h>
16287 if test "x$ac_cv_type_sigset_t" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_SIGSET_T 1
16291 _ACEOF
16296 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16298 if test "x$ac_cv_type_request_sense" = xyes; then :
16300 cat >>confdefs.h <<_ACEOF
16301 #define HAVE_REQUEST_SENSE 1
16302 _ACEOF
16308 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16309 #ifdef HAVE_SYS_SOCKET_H
16310 #include <sys/socket.h>
16311 #endif
16312 #ifdef HAVE_SYS_SOCKETVAR_H
16313 #include <sys/socketvar.h>
16314 #endif
16315 #ifdef HAVE_NET_ROUTE_H
16316 #include <net/route.h>
16317 #endif
16318 #ifdef HAVE_NETINET_IN_H
16319 #include <netinet/in.h>
16320 #endif
16321 #ifdef HAVE_NETINET_IN_SYSTM_H
16322 #include <netinet/in_systm.h>
16323 #endif
16324 #ifdef HAVE_NETINET_IP_H
16325 #include <netinet/ip.h>
16326 #endif
16327 #ifdef HAVE_NETINET_IN_PCB_H
16328 #include <netinet/in_pcb.h>
16329 #endif
16331 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_STRUCT_XINPGEN 1
16335 _ACEOF
16341 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16342 #include <link.h>
16343 #endif
16344 #ifdef HAVE_SYS_LINK_H
16345 #include <sys/link.h>
16346 #endif
16348 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16350 cat >>confdefs.h <<_ACEOF
16351 #define HAVE_STRUCT_R_DEBUG 1
16352 _ACEOF
16356 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16357 #include <link.h>
16358 #endif
16359 #ifdef HAVE_SYS_LINK_H
16360 #include <sys/link.h>
16361 #endif
16363 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_STRUCT_LINK_MAP 1
16367 _ACEOF
16373 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16374 #include <linux/input.h>
16375 #endif
16377 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16379 cat >>confdefs.h <<_ACEOF
16380 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16381 _ACEOF
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16388 $as_echo_n "checking for if_nameindex... " >&6; }
16389 if ${wine_cv_have_if_nameindex+:} false; then :
16390 $as_echo_n "(cached) " >&6
16391 else
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16394 #ifdef HAVE_SYS_TYPES_H
16395 #include <sys/types.h>
16396 #endif
16397 #ifdef HAVE_NET_IF_H
16398 # include <net/if.h>
16399 #endif
16401 main ()
16403 struct if_nameindex *p = if_nameindex(); return p->if_index;
16405 return 0;
16407 _ACEOF
16408 if ac_fn_c_try_link "$LINENO"; then :
16409 wine_cv_have_if_nameindex=yes
16410 else
16411 wine_cv_have_if_nameindex=no
16413 rm -f core conftest.err conftest.$ac_objext \
16414 conftest$ac_exeext conftest.$ac_ext
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16417 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16418 if test "$wine_cv_have_if_nameindex" = "yes"
16419 then
16421 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16426 $as_echo_n "checking for sigaddset... " >&6; }
16427 if ${wine_cv_have_sigaddset+:} false; then :
16428 $as_echo_n "(cached) " >&6
16429 else
16430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16431 /* end confdefs.h. */
16432 #include <signal.h>
16434 main ()
16436 sigset_t set; sigaddset(&set,SIGTERM);
16438 return 0;
16440 _ACEOF
16441 if ac_fn_c_try_link "$LINENO"; then :
16442 wine_cv_have_sigaddset=yes
16443 else
16444 wine_cv_have_sigaddset=no
16446 rm -f core conftest.err conftest.$ac_objext \
16447 conftest$ac_exeext conftest.$ac_ext
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16450 $as_echo "$wine_cv_have_sigaddset" >&6; }
16451 if test "$wine_cv_have_sigaddset" = "yes"
16452 then
16454 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16460 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16461 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16462 $as_echo_n "(cached) " >&6
16463 else
16464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16465 /* end confdefs.h. */
16466 #include <netdb.h>
16468 main ()
16471 char *name=0;
16472 struct hostent he;
16473 struct hostent *result;
16474 char *buf=0;
16475 int bufsize=0;
16476 int errnr;
16477 char *addr=0;
16478 int addrlen=0;
16479 int addrtype=0;
16480 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16481 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16484 return 0;
16486 _ACEOF
16487 if ac_fn_c_try_link "$LINENO"; then :
16488 wine_cv_linux_gethostbyname_r_6=yes
16489 else
16490 wine_cv_linux_gethostbyname_r_6=no
16493 rm -f core conftest.err conftest.$ac_objext \
16494 conftest$ac_exeext conftest.$ac_ext
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16498 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16499 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16500 then
16502 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16506 if test "$ac_cv_header_linux_joystick_h" = "yes"
16507 then
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16509 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16510 if ${wine_cv_linux_joystick_22_api+:} false; then :
16511 $as_echo_n "(cached) " >&6
16512 else
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h. */
16516 #include <sys/ioctl.h>
16517 #include <sys/types.h>
16518 #include <linux/joystick.h>
16520 struct js_event blub;
16521 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16522 #error "no 2.2 header"
16523 #endif
16526 main ()
16528 /*empty*/
16530 return 0;
16532 _ACEOF
16533 if ac_fn_c_try_compile "$LINENO"; then :
16534 wine_cv_linux_joystick_22_api=yes
16535 else
16536 wine_cv_linux_joystick_22_api=no
16538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16542 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16543 if test "$wine_cv_linux_joystick_22_api" = "yes"
16544 then
16546 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16552 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16553 #ifdef HAVE_SYS_PARAM_H
16554 # include <sys/param.h>
16555 #endif
16556 #ifdef HAVE_SYS_MOUNT_H
16557 # include <sys/mount.h>
16558 #endif
16559 #ifdef HAVE_SYS_VFS_H
16560 # include <sys/vfs.h>
16561 #endif
16562 #ifdef HAVE_SYS_STATFS_H
16563 # include <sys/statfs.h>
16564 #endif
16566 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16568 cat >>confdefs.h <<_ACEOF
16569 #define HAVE_STRUCT_STATFS_F_BFREE 1
16570 _ACEOF
16574 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16575 #ifdef HAVE_SYS_PARAM_H
16576 # include <sys/param.h>
16577 #endif
16578 #ifdef HAVE_SYS_MOUNT_H
16579 # include <sys/mount.h>
16580 #endif
16581 #ifdef HAVE_SYS_VFS_H
16582 # include <sys/vfs.h>
16583 #endif
16584 #ifdef HAVE_SYS_STATFS_H
16585 # include <sys/statfs.h>
16586 #endif
16588 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16592 _ACEOF
16596 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16597 #ifdef HAVE_SYS_PARAM_H
16598 # include <sys/param.h>
16599 #endif
16600 #ifdef HAVE_SYS_MOUNT_H
16601 # include <sys/mount.h>
16602 #endif
16603 #ifdef HAVE_SYS_VFS_H
16604 # include <sys/vfs.h>
16605 #endif
16606 #ifdef HAVE_SYS_STATFS_H
16607 # include <sys/statfs.h>
16608 #endif
16610 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16612 cat >>confdefs.h <<_ACEOF
16613 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16614 _ACEOF
16618 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16619 #ifdef HAVE_SYS_PARAM_H
16620 # include <sys/param.h>
16621 #endif
16622 #ifdef HAVE_SYS_MOUNT_H
16623 # include <sys/mount.h>
16624 #endif
16625 #ifdef HAVE_SYS_VFS_H
16626 # include <sys/vfs.h>
16627 #endif
16628 #ifdef HAVE_SYS_STATFS_H
16629 # include <sys/statfs.h>
16630 #endif
16632 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_STRUCT_STATFS_F_FFREE 1
16636 _ACEOF
16640 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16641 #ifdef HAVE_SYS_PARAM_H
16642 # include <sys/param.h>
16643 #endif
16644 #ifdef HAVE_SYS_MOUNT_H
16645 # include <sys/mount.h>
16646 #endif
16647 #ifdef HAVE_SYS_VFS_H
16648 # include <sys/vfs.h>
16649 #endif
16650 #ifdef HAVE_SYS_STATFS_H
16651 # include <sys/statfs.h>
16652 #endif
16654 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16656 cat >>confdefs.h <<_ACEOF
16657 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16658 _ACEOF
16662 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16663 #ifdef HAVE_SYS_PARAM_H
16664 # include <sys/param.h>
16665 #endif
16666 #ifdef HAVE_SYS_MOUNT_H
16667 # include <sys/mount.h>
16668 #endif
16669 #ifdef HAVE_SYS_VFS_H
16670 # include <sys/vfs.h>
16671 #endif
16672 #ifdef HAVE_SYS_STATFS_H
16673 # include <sys/statfs.h>
16674 #endif
16676 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16678 cat >>confdefs.h <<_ACEOF
16679 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16680 _ACEOF
16686 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16687 #include <sys/statvfs.h>
16688 #endif
16690 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16692 cat >>confdefs.h <<_ACEOF
16693 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16694 _ACEOF
16700 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16701 #include <dirent.h>
16702 #endif
16704 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16706 cat >>confdefs.h <<_ACEOF
16707 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16708 _ACEOF
16714 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16715 #ifdef HAVE_SYS_SOCKET_H
16716 # include <sys/socket.h>
16717 #endif
16718 #ifdef HAVE_SYS_UN_H
16719 # include <sys/un.h>
16720 #endif
16722 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16726 _ACEOF
16730 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16731 #ifdef HAVE_SYS_SOCKET_H
16732 # include <sys/socket.h>
16733 #endif
16734 #ifdef HAVE_SYS_UN_H
16735 # include <sys/un.h>
16736 #endif
16738 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16742 _ACEOF
16746 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16747 #ifdef HAVE_SYS_SOCKET_H
16748 # include <sys/socket.h>
16749 #endif
16750 #ifdef HAVE_SYS_UN_H
16751 # include <sys/un.h>
16752 #endif
16754 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16756 cat >>confdefs.h <<_ACEOF
16757 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16758 _ACEOF
16764 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16765 #ifdef HAVE_SCSI_SG_H
16766 #include <scsi/sg.h>
16767 #endif
16769 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16771 cat >>confdefs.h <<_ACEOF
16772 #define HAVE_SCSIREQ_T_CMD 1
16773 _ACEOF
16777 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>
16778 #ifdef HAVE_SCSI_SG_H
16779 #include <scsi/sg.h>
16780 #endif
16782 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16784 cat >>confdefs.h <<_ACEOF
16785 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16786 _ACEOF
16792 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16794 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16796 cat >>confdefs.h <<_ACEOF
16797 #define HAVE_SIGINFO_T_SI_FD 1
16798 _ACEOF
16804 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16805 #ifdef HAVE_SYS_MTIO_H
16806 #include <sys/mtio.h>
16807 #endif
16809 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16811 cat >>confdefs.h <<_ACEOF
16812 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16813 _ACEOF
16817 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16818 #ifdef HAVE_SYS_MTIO_H
16819 #include <sys/mtio.h>
16820 #endif
16822 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16824 cat >>confdefs.h <<_ACEOF
16825 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16826 _ACEOF
16830 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16831 #ifdef HAVE_SYS_MTIO_H
16832 #include <sys/mtio.h>
16833 #endif
16835 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16839 _ACEOF
16845 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16846 #include <getopt.h>
16847 #endif
16849 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16851 cat >>confdefs.h <<_ACEOF
16852 #define HAVE_STRUCT_OPTION_NAME 1
16853 _ACEOF
16859 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16860 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16862 cat >>confdefs.h <<_ACEOF
16863 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16864 _ACEOF
16868 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16869 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16871 cat >>confdefs.h <<_ACEOF
16872 #define HAVE_STRUCT_STAT_ST_MTIM 1
16873 _ACEOF
16877 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16878 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16880 cat >>confdefs.h <<_ACEOF
16881 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16882 _ACEOF
16886 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16887 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16889 cat >>confdefs.h <<_ACEOF
16890 #define HAVE_STRUCT_STAT_ST_CTIM 1
16891 _ACEOF
16895 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16896 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16898 cat >>confdefs.h <<_ACEOF
16899 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16900 _ACEOF
16904 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16905 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16907 cat >>confdefs.h <<_ACEOF
16908 #define HAVE_STRUCT_STAT_ST_ATIM 1
16909 _ACEOF
16913 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16914 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16918 _ACEOF
16922 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16923 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16927 _ACEOF
16931 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16932 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16934 cat >>confdefs.h <<_ACEOF
16935 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16936 _ACEOF
16940 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16941 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16943 cat >>confdefs.h <<_ACEOF
16944 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16945 _ACEOF
16949 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16950 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16952 cat >>confdefs.h <<_ACEOF
16953 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16954 _ACEOF
16958 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16959 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16961 cat >>confdefs.h <<_ACEOF
16962 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16963 _ACEOF
16969 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
16970 #include <sys/types.h>
16971 #endif
16972 #ifdef HAVE_NETINET_IN_H
16973 #include <netinet/in.h>
16974 #endif
16976 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16978 cat >>confdefs.h <<_ACEOF
16979 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16980 _ACEOF
16986 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
16987 #include <sys/types.h>
16988 #endif
16989 #ifdef HAVE_NETINET_IN_H
16990 #include <netinet/in.h>
16991 #endif
16992 #ifdef HAVE_RESOLV_H
16993 #include <resolv.h>
16994 #endif
16996 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16998 cat >>confdefs.h <<_ACEOF
16999 #define HAVE_STRUCT___RES_STATE 1
17000 _ACEOF
17006 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
17007 #include <resolv.h>
17008 #endif
17010 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17012 cat >>confdefs.h <<_ACEOF
17013 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17014 _ACEOF
17020 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17021 #include <sys/types.h>
17022 #endif
17023 #ifdef HAVE_NETINET_IN_H
17024 # include <netinet/in.h>
17025 #endif
17026 #ifdef HAVE_ARPA_NAMESER_H
17027 # include <arpa/nameser.h>
17028 #endif
17030 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17032 cat >>confdefs.h <<_ACEOF
17033 #define HAVE_NS_MSG__MSG_PTR 1
17034 _ACEOF
17040 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17041 #include <sys/types.h>
17042 #endif
17043 #ifdef HAVE_NETINET_IN_H
17044 #include <netinet/in.h>
17045 #endif
17046 #ifdef HAVE_NETINET_IP_H
17047 #include <netinet/ip.h>
17048 #endif
17049 #ifdef HAVE_NETINET_IP_ICMP_H
17050 #include <netinet/ip_icmp.h>
17051 #endif
17052 #ifdef HAVE_NETINET_ICMP_VAR_H
17053 #include <netinet/icmp_var.h>
17054 #endif
17056 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17058 cat >>confdefs.h <<_ACEOF
17059 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17060 _ACEOF
17066 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17067 #include <sys/types.h>
17068 #endif
17069 #ifdef HAVE_ALIAS_H
17070 #include <alias.h>
17071 #endif
17072 #ifdef HAVE_SYS_SOCKET_H
17073 #include <sys/socket.h>
17074 #endif
17075 #ifdef HAVE_SYS_SOCKETVAR_H
17076 #include <sys/socketvar.h>
17077 #endif
17078 #ifdef HAVE_SYS_TIMEOUT_H
17079 #include <sys/timeout.h>
17080 #endif
17081 #ifdef HAVE_NETINET_IN_H
17082 #include <netinet/in.h>
17083 #endif
17084 #ifdef HAVE_NETINET_IN_SYSTM_H
17085 #include <netinet/in_systm.h>
17086 #endif
17087 #ifdef HAVE_NETINET_IP_H
17088 #include <netinet/ip.h>
17089 #endif
17090 #ifdef HAVE_NETINET_IP_VAR_H
17091 #include <netinet/ip_var.h>
17092 #endif
17093 #ifdef HAVE_NETINET_IP_ICMP_H
17094 #include <netinet/ip_icmp.h>
17095 #endif
17096 #ifdef HAVE_NETINET_ICMP_VAR_H
17097 #include <netinet/icmp_var.h>
17098 #endif
17100 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17102 cat >>confdefs.h <<_ACEOF
17103 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17104 _ACEOF
17110 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17111 #include <sys/types.h>
17112 #endif
17113 #ifdef HAVE_SYS_SOCKETVAR_H
17114 #include <sys/socketvar.h>
17115 #endif
17116 #ifdef HAVE_NETINET_IN_H
17117 #include <netinet/in.h>
17118 #endif
17119 #ifdef HAVE_NETINET_IP_VAR_H
17120 #include <netinet/ip_var.h>
17121 #endif
17123 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17125 cat >>confdefs.h <<_ACEOF
17126 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17127 _ACEOF
17133 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
17134 #include <netinet/ip_var.h>
17135 #endif
17137 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17139 cat >>confdefs.h <<_ACEOF
17140 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17141 _ACEOF
17147 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17148 #include <sys/types.h>
17149 #endif
17150 #ifdef HAVE_SYS_SOCKETVAR_H
17151 #include <sys/socketvar.h>
17152 #endif
17153 #ifdef HAVE_NETINET_IN_H
17154 #include <netinet/in.h>
17155 #endif
17156 #ifdef HAVE_NETINET_TCP_H
17157 #include <netinet/tcp.h>
17158 #endif
17159 #ifdef HAVE_NETINET_TCP_VAR_H
17160 #include <netinet/tcp_var.h>
17161 #endif
17163 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17167 _ACEOF
17173 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
17174 #include <netinet/tcp_var.h>
17175 #endif
17177 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17179 cat >>confdefs.h <<_ACEOF
17180 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17181 _ACEOF
17187 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17188 #include <sys/types.h>
17189 #endif
17190 #ifdef HAVE_NETINET_IN_H
17191 #include <netinet/in.h>
17192 #endif
17193 #ifdef HAVE_NETINET_IP_VAR_H
17194 #include <netinet/ip_var.h>
17195 #endif
17196 #ifdef HAVE_NETINET_UDP_H
17197 #include <netinet/udp.h>
17198 #endif
17199 #ifdef HAVE_NETINET_UDP_VAR_H
17200 #include <netinet/udp_var.h>
17201 #endif
17203 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17205 cat >>confdefs.h <<_ACEOF
17206 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17207 _ACEOF
17213 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17214 #include <sys/types.h>
17215 #endif
17216 #ifdef HAVE_NET_IF_H
17217 # include <net/if.h>
17218 #endif
17220 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17222 cat >>confdefs.h <<_ACEOF
17223 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17224 _ACEOF
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17231 $as_echo_n "checking for timezone variable... " >&6; }
17232 if ${ac_cv_have_timezone+:} false; then :
17233 $as_echo_n "(cached) " >&6
17234 else
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237 #include <time.h>
17239 main ()
17241 timezone = 1
17243 return 0;
17245 _ACEOF
17246 if ac_fn_c_try_link "$LINENO"; then :
17247 ac_cv_have_timezone="yes"
17248 else
17249 ac_cv_have_timezone="no"
17251 rm -f core conftest.err conftest.$ac_objext \
17252 conftest$ac_exeext conftest.$ac_ext
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17255 $as_echo "$ac_cv_have_timezone" >&6; }
17256 if test "$ac_cv_have_timezone" = "yes"
17257 then
17259 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17263 $as_echo_n "checking for daylight variable... " >&6; }
17264 if ${ac_cv_have_daylight+:} false; then :
17265 $as_echo_n "(cached) " >&6
17266 else
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17269 #include <time.h>
17271 main ()
17273 daylight = 1
17275 return 0;
17277 _ACEOF
17278 if ac_fn_c_try_link "$LINENO"; then :
17279 ac_cv_have_daylight="yes"
17280 else
17281 ac_cv_have_daylight="no"
17283 rm -f core conftest.err conftest.$ac_objext \
17284 conftest$ac_exeext conftest.$ac_ext
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17287 $as_echo "$ac_cv_have_daylight" >&6; }
17288 if test "$ac_cv_have_daylight" = "yes"
17289 then
17291 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17295 ac_save_LIBS="$LIBS"
17296 LIBS="$LIBS -lm"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17298 $as_echo_n "checking for isfinite... " >&6; }
17299 if ${ac_cv_have_isfinite+:} false; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 #define _GNU_SOURCE
17305 #include <math.h>
17307 main ()
17309 float f = 0.0; return isfinite(f)
17311 return 0;
17313 _ACEOF
17314 if ac_fn_c_try_link "$LINENO"; then :
17315 ac_cv_have_isfinite="yes"
17316 else
17317 ac_cv_have_isfinite="no"
17319 rm -f core conftest.err conftest.$ac_objext \
17320 conftest$ac_exeext conftest.$ac_ext
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17323 $as_echo "$ac_cv_have_isfinite" >&6; }
17324 if test "$ac_cv_have_isfinite" = "yes"
17325 then
17327 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17332 $as_echo_n "checking for isinf... " >&6; }
17333 if ${ac_cv_have_isinf+:} false; then :
17334 $as_echo_n "(cached) " >&6
17335 else
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 #include <math.h>
17340 main ()
17342 float f = 0.0; return isinf(f)
17344 return 0;
17346 _ACEOF
17347 if ac_fn_c_try_link "$LINENO"; then :
17348 ac_cv_have_isinf="yes"
17349 else
17350 ac_cv_have_isinf="no"
17352 rm -f core conftest.err conftest.$ac_objext \
17353 conftest$ac_exeext conftest.$ac_ext
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17356 $as_echo "$ac_cv_have_isinf" >&6; }
17357 if test "$ac_cv_have_isinf" = "yes"
17358 then
17360 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17365 $as_echo_n "checking for isnan... " >&6; }
17366 if ${ac_cv_have_isnan+:} false; then :
17367 $as_echo_n "(cached) " >&6
17368 else
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 #include <math.h>
17373 main ()
17375 float f = 0.0; return isnan(f)
17377 return 0;
17379 _ACEOF
17380 if ac_fn_c_try_link "$LINENO"; then :
17381 ac_cv_have_isnan="yes"
17382 else
17383 ac_cv_have_isnan="no"
17385 rm -f core conftest.err conftest.$ac_objext \
17386 conftest$ac_exeext conftest.$ac_ext
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17389 $as_echo "$ac_cv_have_isnan" >&6; }
17390 if test "$ac_cv_have_isnan" = "yes"
17391 then
17393 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17397 for ac_func in \
17398 asinh \
17399 asinhf \
17400 cbrt \
17401 cbrtf \
17402 erf \
17403 erff \
17404 exp2 \
17405 exp2f \
17406 lgamma \
17407 lgammaf \
17408 llrint \
17409 llrintf \
17410 llround \
17411 llroundf \
17412 log2 \
17413 log2f \
17414 lrint \
17415 lrintf \
17416 lround \
17417 lroundf \
17418 nearbyint \
17419 nearbyintf \
17420 powl \
17421 remainder \
17422 remainderf \
17423 rint \
17424 rintf \
17425 round \
17426 roundf \
17427 trunc \
17428 truncf
17430 do :
17431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17433 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17434 cat >>confdefs.h <<_ACEOF
17435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17436 _ACEOF
17439 done
17441 LIBS="$ac_save_LIBS"
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17444 $as_echo_n "checking for __builtin_clz... " >&6; }
17445 if ${ac_cv_have___builtin_clz+:} false; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17452 main ()
17454 return __builtin_clz(1)
17456 return 0;
17458 _ACEOF
17459 if ac_fn_c_try_link "$LINENO"; then :
17460 ac_cv_have___builtin_clz="yes"
17461 else
17462 ac_cv_have___builtin_clz="no"
17464 rm -f core conftest.err conftest.$ac_objext \
17465 conftest$ac_exeext conftest.$ac_ext
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17468 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17469 if test "$ac_cv_have___builtin_clz" = "yes"
17470 then
17472 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17477 $as_echo_n "checking for __builtin_popcount... " >&6; }
17478 if ${ac_cv_have___builtin_popcount+:} false; then :
17479 $as_echo_n "(cached) " >&6
17480 else
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17485 main ()
17487 return __builtin_popcount(1)
17489 return 0;
17491 _ACEOF
17492 if ac_fn_c_try_link "$LINENO"; then :
17493 ac_cv_have___builtin_popcount="yes"
17494 else
17495 ac_cv_have___builtin_popcount="no"
17497 rm -f core conftest.err conftest.$ac_objext \
17498 conftest$ac_exeext conftest.$ac_ext
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17501 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17502 if test "$ac_cv_have___builtin_popcount" = "yes"
17503 then
17505 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17510 case $host_cpu in
17511 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17512 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17513 if ${ac_cv_cpp_def___i386__+:} false; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517 /* end confdefs.h. */
17518 #ifndef __i386__
17520 #endif
17521 _ACEOF
17522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17523 $EGREP "yes" >/dev/null 2>&1; then :
17524 ac_cv_cpp_def___i386__=yes
17525 else
17526 ac_cv_cpp_def___i386__=no
17528 rm -f conftest*
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17532 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17533 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17534 CFLAGS="$CFLAGS -D__i386__"
17535 LINTFLAGS="$LINTFLAGS -D__i386__"
17536 fi ;;
17537 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17538 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17539 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17540 $as_echo_n "(cached) " >&6
17541 else
17542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17543 /* end confdefs.h. */
17544 #ifndef __x86_64__
17546 #endif
17547 _ACEOF
17548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17549 $EGREP "yes" >/dev/null 2>&1; then :
17550 ac_cv_cpp_def___x86_64__=yes
17551 else
17552 ac_cv_cpp_def___x86_64__=no
17554 rm -f conftest*
17557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17558 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17559 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17560 CFLAGS="$CFLAGS -D__x86_64__"
17561 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17562 fi ;;
17563 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17564 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17565 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17566 $as_echo_n "(cached) " >&6
17567 else
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #ifndef __sparc64__
17572 #endif
17573 _ACEOF
17574 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17575 $EGREP "yes" >/dev/null 2>&1; then :
17576 ac_cv_cpp_def___sparc64__=yes
17577 else
17578 ac_cv_cpp_def___sparc64__=no
17580 rm -f conftest*
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17584 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17585 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17586 CFLAGS="$CFLAGS -D__sparc64__"
17587 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17588 fi ;;
17589 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17590 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17591 if ${ac_cv_cpp_def___sparc__+:} false; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #ifndef __sparc__
17598 #endif
17599 _ACEOF
17600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17601 $EGREP "yes" >/dev/null 2>&1; then :
17602 ac_cv_cpp_def___sparc__=yes
17603 else
17604 ac_cv_cpp_def___sparc__=no
17606 rm -f conftest*
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17610 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17611 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17612 CFLAGS="$CFLAGS -D__sparc__"
17613 LINTFLAGS="$LINTFLAGS -D__sparc__"
17614 fi ;;
17615 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17616 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17617 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17618 $as_echo_n "(cached) " >&6
17619 else
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #ifndef __powerpc64__
17624 #endif
17625 _ACEOF
17626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17627 $EGREP "yes" >/dev/null 2>&1; then :
17628 ac_cv_cpp_def___powerpc64__=yes
17629 else
17630 ac_cv_cpp_def___powerpc64__=no
17632 rm -f conftest*
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17636 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17637 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17638 CFLAGS="$CFLAGS -D__powerpc64__"
17639 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17640 fi ;;
17641 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17642 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17643 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17644 $as_echo_n "(cached) " >&6
17645 else
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 #ifndef __powerpc__
17650 #endif
17651 _ACEOF
17652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17653 $EGREP "yes" >/dev/null 2>&1; then :
17654 ac_cv_cpp_def___powerpc__=yes
17655 else
17656 ac_cv_cpp_def___powerpc__=no
17658 rm -f conftest*
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17662 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17663 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17664 CFLAGS="$CFLAGS -D__powerpc__"
17665 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17666 fi ;;
17667 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17668 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17669 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17670 $as_echo_n "(cached) " >&6
17671 else
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #ifndef __aarch64__
17676 #endif
17677 _ACEOF
17678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17679 $EGREP "yes" >/dev/null 2>&1; then :
17680 ac_cv_cpp_def___aarch64__=yes
17681 else
17682 ac_cv_cpp_def___aarch64__=no
17684 rm -f conftest*
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17688 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17689 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17690 CFLAGS="$CFLAGS -D__aarch64__"
17691 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17692 fi ;;
17693 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17694 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17695 if ${ac_cv_cpp_def___arm__+:} false; then :
17696 $as_echo_n "(cached) " >&6
17697 else
17698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17700 #ifndef __arm__
17702 #endif
17703 _ACEOF
17704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17705 $EGREP "yes" >/dev/null 2>&1; then :
17706 ac_cv_cpp_def___arm__=yes
17707 else
17708 ac_cv_cpp_def___arm__=no
17710 rm -f conftest*
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17714 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17715 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17716 CFLAGS="$CFLAGS -D__arm__"
17717 LINTFLAGS="$LINTFLAGS -D__arm__"
17718 fi ;;
17719 esac
17721 case $host_vendor in
17722 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17723 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17724 if ${ac_cv_cpp_def___sun__+:} false; then :
17725 $as_echo_n "(cached) " >&6
17726 else
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #ifndef __sun__
17731 #endif
17732 _ACEOF
17733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17734 $EGREP "yes" >/dev/null 2>&1; then :
17735 ac_cv_cpp_def___sun__=yes
17736 else
17737 ac_cv_cpp_def___sun__=no
17739 rm -f conftest*
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17743 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17744 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17745 CFLAGS="$CFLAGS -D__sun__"
17746 LINTFLAGS="$LINTFLAGS -D__sun__"
17747 fi ;;
17748 esac
17754 ac_config_commands="$ac_config_commands include/stamp-h"
17756 $as_echo_n "creating Makefile rules..." >&6
17758 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17759 SOCKET_LIBS = $SOCKET_LIBS
17760 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17761 IOKIT_LIBS = $IOKIT_LIBS
17762 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17763 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17764 CORESERVICES_LIBS = $CORESERVICES_LIBS
17765 APPKIT_LIBS = $APPKIT_LIBS
17766 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17767 SECURITY_LIBS = $SECURITY_LIBS
17768 COREAUDIO_LIBS = $COREAUDIO_LIBS
17769 OPENAL_LIBS = $OPENAL_LIBS
17770 OPENCL_LIBS = $OPENCL_LIBS
17771 QUICKTIME_LIBS = $QUICKTIME_LIBS
17772 CARBON_LIBS = $CARBON_LIBS
17773 PTHREAD_LIBS = $PTHREAD_LIBS
17774 X_CFLAGS = $X_CFLAGS
17775 X_PRE_LIBS = $X_PRE_LIBS
17776 X_LIBS = $X_LIBS
17777 X_EXTRA_LIBS = $X_EXTRA_LIBS
17778 PCAP_LIBS = $PCAP_LIBS
17779 XML2_CFLAGS = $XML2_CFLAGS
17780 XML2_LIBS = $XML2_LIBS
17781 XSLT_CFLAGS = $XSLT_CFLAGS
17782 XSLT_LIBS = $XSLT_LIBS
17783 DBUS_CFLAGS = $DBUS_CFLAGS
17784 DBUS_LIBS = $DBUS_LIBS
17785 HAL_CFLAGS = $HAL_CFLAGS
17786 HAL_LIBS = $HAL_LIBS
17787 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17788 GNUTLS_LIBS = $GNUTLS_LIBS
17789 SANE_CFLAGS = $SANE_CFLAGS
17790 SANE_LIBS = $SANE_LIBS
17791 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17792 GPHOTO2_LIBS = $GPHOTO2_LIBS
17793 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17794 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17795 RESOLV_LIBS = $RESOLV_LIBS
17796 LCMS2_CFLAGS = $LCMS2_CFLAGS
17797 LCMS2_LIBS = $LCMS2_LIBS
17798 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17799 FREETYPE_LIBS = $FREETYPE_LIBS
17800 Z_LIBS = $Z_LIBS
17801 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17802 PULSE_CFLAGS = $PULSE_CFLAGS
17803 PULSE_LIBS = $PULSE_LIBS
17804 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17805 GSTREAMER_LIBS = $GSTREAMER_LIBS
17806 ALSA_LIBS = $ALSA_LIBS
17807 OSS4_CFLAGS = $OSS4_CFLAGS
17808 UDEV_CFLAGS = $UDEV_CFLAGS
17809 UDEV_LIBS = $UDEV_LIBS
17810 CAPI20_CFLAGS = $CAPI20_CFLAGS
17811 CAPI20_LIBS = $CAPI20_LIBS
17812 CUPS_CFLAGS = $CUPS_CFLAGS
17813 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17814 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17815 JPEG_CFLAGS = $JPEG_CFLAGS
17816 JPEG_LIBS = $JPEG_LIBS
17817 PNG_CFLAGS = $PNG_CFLAGS
17818 PNG_LIBS = $PNG_LIBS
17819 TIFF_CFLAGS = $TIFF_CFLAGS
17820 TIFF_LIBS = $TIFF_LIBS
17821 MPG123_CFLAGS = $MPG123_CFLAGS
17822 MPG123_LIBS = $MPG123_LIBS
17823 KSTAT_LIBS = $KSTAT_LIBS
17824 PROCSTAT_LIBS = $PROCSTAT_LIBS
17825 NETAPI_CFLAGS = $NETAPI_CFLAGS
17826 NETAPI_LIBS = $NETAPI_LIBS
17827 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17828 DL_LIBS = $DL_LIBS
17829 POLL_LIBS = $POLL_LIBS
17830 RT_LIBS = $RT_LIBS
17831 LDAP_LIBS = $LDAP_LIBS
17836 wine_fn_append_rule "
17837 # Rules automatically generated by configure
17839 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17841 .INIT: Makefile
17842 .MAKEFILEDEPS:
17843 all: Makefile
17844 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17845 @./config.status Make.tmp Makefile
17846 depend: \$(MAKEDEP) dummy
17847 \$(MAKEDEP)"
17849 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17850 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17852 if test "x$enable_fonts" != xno; then
17853 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17854 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17855 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17856 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17857 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17858 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17860 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17861 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17862 ac_config_links="$ac_config_links wine:tools/winewrapper"
17863 wine_fn_config_symlink wine
17864 if test "x$enable_win64" != xno; then
17865 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17866 wine_fn_config_symlink wine64
17869 wine_fn_config_dll acledit enable_acledit
17870 wine_fn_config_dll aclui enable_aclui implib
17871 wine_fn_config_dll activeds enable_activeds implib
17872 wine_fn_config_dll actxprxy enable_actxprxy clean
17873 wine_fn_config_lib adsiid
17874 wine_fn_config_dll adsldpc enable_adsldpc
17875 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17876 wine_fn_config_test dlls/advapi32/tests advapi32_test
17877 wine_fn_config_dll advpack enable_advpack implib
17878 wine_fn_config_test dlls/advpack/tests advpack_test
17879 wine_fn_config_dll amstream enable_amstream clean
17880 wine_fn_config_test dlls/amstream/tests amstream_test
17881 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17882 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17883 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17884 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17885 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17886 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17887 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17888 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17889 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17890 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17891 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17892 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17893 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17894 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17895 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17896 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17897 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17898 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17899 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17900 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17901 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17902 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17903 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17904 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17905 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17906 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17907 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17908 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17909 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17910 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17911 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17912 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17913 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17914 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17915 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17916 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17917 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
17918 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17919 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
17920 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
17921 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17922 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17923 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
17924 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17925 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17926 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17927 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
17928 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17929 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17930 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17931 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
17932 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17933 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
17934 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
17935 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17936 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17937 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17938 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17939 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17940 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17941 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17942 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
17943 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
17944 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17945 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
17946 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17947 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17948 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17949 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17950 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17951 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17952 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17953 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
17954 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
17955 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
17956 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17957 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
17958 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
17959 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17960 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17961 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17962 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
17963 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
17964 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17965 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17966 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
17967 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
17968 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17969 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17970 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17971 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17972 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17973 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
17974 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17975 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17976 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
17977 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
17979 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
17984 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17987 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
17988 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17989 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
17991 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17993 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17995 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17996 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17997 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17998 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17999 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18000 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18001 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18002 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18003 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18004 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18005 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18006 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18007 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18008 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18009 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18010 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18011 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18012 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18013 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18014 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18015 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18016 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18017 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18018 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18019 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18020 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18021 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18022 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18023 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18024 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18025 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18026 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18027 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18028 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18029 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18030 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18031 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18032 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18033 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18034 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18035 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18036 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18037 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18038 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18039 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18040 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18041 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18042 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18043 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18044 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18045 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18046 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18047 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18048 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18049 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18050 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18051 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18052 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18053 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18054 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18055 wine_fn_config_dll apphelp enable_apphelp
18056 wine_fn_config_test dlls/apphelp/tests apphelp_test
18057 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18058 wine_fn_config_dll atl enable_atl clean,implib
18059 wine_fn_config_test dlls/atl/tests atl_test
18060 wine_fn_config_dll atl100 enable_atl100 clean,implib
18061 wine_fn_config_test dlls/atl100/tests atl100_test
18062 wine_fn_config_dll atl110 enable_atl110 clean
18063 wine_fn_config_dll atl80 enable_atl80 clean,implib
18064 wine_fn_config_test dlls/atl80/tests atl80_test
18065 wine_fn_config_dll atl90 enable_atl90 clean
18066 wine_fn_config_dll authz enable_authz
18067 wine_fn_config_dll avicap32 enable_avicap32 implib
18068 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18069 wine_fn_config_test dlls/avifil32/tests avifil32_test
18070 wine_fn_config_dll avifile.dll16 enable_win16
18071 wine_fn_config_dll avrt enable_avrt implib
18072 wine_fn_config_dll bcrypt enable_bcrypt implib
18073 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18074 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18075 wine_fn_config_dll browseui enable_browseui clean
18076 wine_fn_config_test dlls/browseui/tests browseui_test
18077 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18078 wine_fn_config_dll cabinet enable_cabinet implib
18079 wine_fn_config_test dlls/cabinet/tests cabinet_test
18080 wine_fn_config_dll capi2032 enable_capi2032 implib
18081 wine_fn_config_dll cards enable_cards implib
18082 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18083 wine_fn_config_dll clusapi enable_clusapi implib
18084 wine_fn_config_dll combase enable_combase
18085 wine_fn_config_test dlls/combase/tests combase_test
18086 wine_fn_config_dll comcat enable_comcat
18087 wine_fn_config_test dlls/comcat/tests comcat_test
18088 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18089 wine_fn_config_test dlls/comctl32/tests comctl32_test
18090 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18091 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18092 wine_fn_config_dll comm.drv16 enable_win16
18093 wine_fn_config_dll commdlg.dll16 enable_win16
18094 wine_fn_config_dll compobj.dll16 enable_win16
18095 wine_fn_config_dll compstui enable_compstui implib
18096 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18097 wine_fn_config_dll concrt140 enable_concrt140
18098 wine_fn_config_dll connect enable_connect
18099 wine_fn_config_dll credui enable_credui clean,implib
18100 wine_fn_config_test dlls/credui/tests credui_test
18101 wine_fn_config_dll crtdll enable_crtdll
18102 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18103 wine_fn_config_test dlls/crypt32/tests crypt32_test
18104 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18105 wine_fn_config_dll cryptdll enable_cryptdll implib
18106 wine_fn_config_dll cryptext enable_cryptext
18107 wine_fn_config_dll cryptnet enable_cryptnet implib
18108 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18109 wine_fn_config_dll cryptui enable_cryptui clean,implib
18110 wine_fn_config_test dlls/cryptui/tests cryptui_test
18111 wine_fn_config_dll ctapi32 enable_ctapi32
18112 wine_fn_config_dll ctl3d.dll16 enable_win16
18113 wine_fn_config_dll ctl3d32 enable_ctl3d32
18114 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18115 wine_fn_config_dll d2d1 enable_d2d1 implib
18116 wine_fn_config_test dlls/d2d1/tests d2d1_test
18117 wine_fn_config_dll d3d10 enable_d3d10 implib
18118 wine_fn_config_test dlls/d3d10/tests d3d10_test
18119 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18120 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18121 wine_fn_config_dll d3d10core enable_d3d10core implib
18122 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18123 wine_fn_config_dll d3d11 enable_d3d11 implib
18124 wine_fn_config_test dlls/d3d11/tests d3d11_test
18125 wine_fn_config_dll d3d8 enable_d3d8 implib
18126 wine_fn_config_test dlls/d3d8/tests d3d8_test
18127 wine_fn_config_dll d3d9 enable_d3d9 implib
18128 wine_fn_config_test dlls/d3d9/tests d3d9_test
18129 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18130 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18131 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18132 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18133 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18134 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18135 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18136 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18137 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18138 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18139 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18140 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18141 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18142 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18143 wine_fn_config_dll d3dim enable_d3dim
18144 wine_fn_config_dll d3drm enable_d3drm implib
18145 wine_fn_config_test dlls/d3drm/tests d3drm_test
18146 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18147 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18148 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18149 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18150 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18151 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18152 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18153 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18154 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18155 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18156 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18157 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18158 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18159 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18160 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18161 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18162 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18163 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18164 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18165 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18166 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18167 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18168 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18169 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18170 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18171 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18172 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18173 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18174 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18175 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18176 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18177 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18178 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18179 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18180 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18181 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18182 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18183 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18184 wine_fn_config_dll davclnt enable_davclnt
18185 wine_fn_config_dll dbgeng enable_dbgeng implib
18186 wine_fn_config_dll dbghelp enable_dbghelp implib
18187 wine_fn_config_dll dciman32 enable_dciman32 implib
18188 wine_fn_config_dll ddeml.dll16 enable_win16
18189 wine_fn_config_dll ddraw enable_ddraw clean,implib
18190 wine_fn_config_test dlls/ddraw/tests ddraw_test
18191 wine_fn_config_dll ddrawex enable_ddrawex clean
18192 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18193 wine_fn_config_dll devenum enable_devenum clean
18194 wine_fn_config_test dlls/devenum/tests devenum_test
18195 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18196 wine_fn_config_dll difxapi enable_difxapi
18197 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18198 wine_fn_config_test dlls/dinput/tests dinput_test
18199 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18200 wine_fn_config_test dlls/dinput8/tests dinput8_test
18201 wine_fn_config_dll dispdib.dll16 enable_win16
18202 wine_fn_config_dll dispex enable_dispex clean
18203 wine_fn_config_test dlls/dispex/tests dispex_test
18204 wine_fn_config_dll display.drv16 enable_win16
18205 wine_fn_config_dll dmband enable_dmband clean
18206 wine_fn_config_test dlls/dmband/tests dmband_test
18207 wine_fn_config_dll dmcompos enable_dmcompos clean
18208 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18209 wine_fn_config_dll dmime enable_dmime clean
18210 wine_fn_config_test dlls/dmime/tests dmime_test
18211 wine_fn_config_dll dmloader enable_dmloader clean
18212 wine_fn_config_test dlls/dmloader/tests dmloader_test
18213 wine_fn_config_dll dmscript enable_dmscript clean
18214 wine_fn_config_test dlls/dmscript/tests dmscript_test
18215 wine_fn_config_dll dmstyle enable_dmstyle clean
18216 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18217 wine_fn_config_dll dmsynth enable_dmsynth clean
18218 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18219 wine_fn_config_dll dmusic enable_dmusic clean
18220 wine_fn_config_test dlls/dmusic/tests dmusic_test
18221 wine_fn_config_dll dmusic32 enable_dmusic32
18222 wine_fn_config_dll dnsapi enable_dnsapi implib
18223 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18224 wine_fn_config_dll dplay enable_dplay
18225 wine_fn_config_dll dplayx enable_dplayx clean,implib
18226 wine_fn_config_test dlls/dplayx/tests dplayx_test
18227 wine_fn_config_dll dpnaddr enable_dpnaddr
18228 wine_fn_config_dll dpnet enable_dpnet clean,implib
18229 wine_fn_config_test dlls/dpnet/tests dpnet_test
18230 wine_fn_config_dll dpnhpast enable_dpnhpast
18231 wine_fn_config_dll dpnlobby enable_dpnlobby
18232 wine_fn_config_dll dpvoice enable_dpvoice clean
18233 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18234 wine_fn_config_dll dpwsockx enable_dpwsockx
18235 wine_fn_config_dll drmclien enable_drmclien
18236 wine_fn_config_dll dsound enable_dsound clean,implib
18237 wine_fn_config_test dlls/dsound/tests dsound_test
18238 wine_fn_config_dll dssenh enable_dssenh
18239 wine_fn_config_test dlls/dssenh/tests dssenh_test
18240 wine_fn_config_dll dswave enable_dswave clean
18241 wine_fn_config_test dlls/dswave/tests dswave_test
18242 wine_fn_config_dll dwmapi enable_dwmapi implib
18243 wine_fn_config_dll dwrite enable_dwrite implib
18244 wine_fn_config_test dlls/dwrite/tests dwrite_test
18245 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18246 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18247 wine_fn_config_lib dxerr8
18248 wine_fn_config_lib dxerr9
18249 wine_fn_config_dll dxgi enable_dxgi implib
18250 wine_fn_config_test dlls/dxgi/tests dxgi_test
18251 wine_fn_config_lib dxguid
18252 wine_fn_config_dll dxva2 enable_dxva2
18253 wine_fn_config_dll esent enable_esent
18254 wine_fn_config_dll evr enable_evr
18255 wine_fn_config_dll explorerframe enable_explorerframe clean
18256 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18257 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18258 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18259 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18260 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18261 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18262 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18263 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18264 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18265 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18266 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18267 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18268 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18269 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18270 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18271 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18272 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
18273 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18274 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18275 wine_fn_config_dll faultrep enable_faultrep implib
18276 wine_fn_config_test dlls/faultrep/tests faultrep_test
18277 wine_fn_config_dll fltlib enable_fltlib
18278 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18279 wine_fn_config_dll fntcache enable_fntcache
18280 wine_fn_config_dll fontsub enable_fontsub
18281 wine_fn_config_dll fusion enable_fusion
18282 wine_fn_config_test dlls/fusion/tests fusion_test
18283 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18284 wine_fn_config_dll gameux enable_gameux clean
18285 wine_fn_config_test dlls/gameux/tests gameux_test
18286 wine_fn_config_dll gdi.exe16 enable_win16
18287 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18288 wine_fn_config_test dlls/gdi32/tests gdi32_test
18289 wine_fn_config_dll gdiplus enable_gdiplus implib
18290 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18291 wine_fn_config_dll glu32 enable_glu32 implib
18292 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18293 wine_fn_config_dll gpkcsp enable_gpkcsp
18294 wine_fn_config_dll hal enable_hal
18295 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18296 wine_fn_config_dll hid enable_hid implib
18297 wine_fn_config_test dlls/hid/tests hid_test
18298 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18299 wine_fn_config_dll hlink enable_hlink clean,implib
18300 wine_fn_config_test dlls/hlink/tests hlink_test
18301 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18302 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18303 wine_fn_config_dll httpapi enable_httpapi
18304 wine_fn_config_dll iccvid enable_iccvid clean
18305 wine_fn_config_dll icmp enable_icmp
18306 wine_fn_config_dll ieframe enable_ieframe clean,implib
18307 wine_fn_config_test dlls/ieframe/tests ieframe_test
18308 wine_fn_config_dll ifsmgr.vxd enable_win16
18309 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18310 wine_fn_config_dll imagehlp enable_imagehlp implib
18311 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18312 wine_fn_config_dll imm.dll16 enable_win16
18313 wine_fn_config_dll imm32 enable_imm32 implib
18314 wine_fn_config_test dlls/imm32/tests imm32_test
18315 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18316 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18317 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18318 wine_fn_config_dll inetmib1 enable_inetmib1
18319 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18320 wine_fn_config_dll infosoft enable_infosoft clean
18321 wine_fn_config_test dlls/infosoft/tests infosoft_test
18322 wine_fn_config_dll initpki enable_initpki
18323 wine_fn_config_dll inkobj enable_inkobj
18324 wine_fn_config_dll inseng enable_inseng clean
18325 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18326 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18327 wine_fn_config_dll iprop enable_iprop
18328 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18329 wine_fn_config_dll itircl enable_itircl
18330 wine_fn_config_dll itss enable_itss clean
18331 wine_fn_config_test dlls/itss/tests itss_test
18332 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18333 wine_fn_config_dll jscript enable_jscript clean
18334 wine_fn_config_test dlls/jscript/tests jscript_test
18335 wine_fn_config_dll jsproxy enable_jsproxy implib
18336 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18337 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18338 wine_fn_config_test dlls/kernel32/tests kernel32_test
18339 wine_fn_config_dll kernelbase enable_kernelbase
18340 wine_fn_config_dll keyboard.drv16 enable_win16
18341 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18342 wine_fn_config_dll ksuser enable_ksuser
18343 wine_fn_config_dll ktmw32 enable_ktmw32
18344 wine_fn_config_dll loadperf enable_loadperf implib
18345 wine_fn_config_dll localspl enable_localspl clean
18346 wine_fn_config_test dlls/localspl/tests localspl_test
18347 wine_fn_config_dll localui enable_localui clean
18348 wine_fn_config_test dlls/localui/tests localui_test
18349 wine_fn_config_dll lz32 enable_lz32 implib
18350 wine_fn_config_test dlls/lz32/tests lz32_test
18351 wine_fn_config_dll lzexpand.dll16 enable_win16
18352 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18353 wine_fn_config_test dlls/mapi32/tests mapi32_test
18354 wine_fn_config_dll mapistub enable_mapistub
18355 wine_fn_config_dll mciavi32 enable_mciavi32
18356 wine_fn_config_dll mcicda enable_mcicda
18357 wine_fn_config_dll mciqtz32 enable_mciqtz32
18358 wine_fn_config_dll mciseq enable_mciseq
18359 wine_fn_config_dll mciwave enable_mciwave
18360 wine_fn_config_dll mf enable_mf implib
18361 wine_fn_config_test dlls/mf/tests mf_test
18362 wine_fn_config_dll mf3216 enable_mf3216
18363 wine_fn_config_dll mfplat enable_mfplat implib
18364 wine_fn_config_test dlls/mfplat/tests mfplat_test
18365 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18366 wine_fn_config_dll mgmtapi enable_mgmtapi
18367 wine_fn_config_dll midimap enable_midimap
18368 wine_fn_config_dll mlang enable_mlang clean,implib
18369 wine_fn_config_test dlls/mlang/tests mlang_test
18370 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18371 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18372 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18373 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18374 wine_fn_config_dll mmdevldr.vxd enable_win16
18375 wine_fn_config_dll mmsystem.dll16 enable_win16
18376 wine_fn_config_dll monodebg.vxd enable_win16
18377 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18378 wine_fn_config_dll mouse.drv16 enable_win16
18379 wine_fn_config_dll mpr enable_mpr clean,implib
18380 wine_fn_config_test dlls/mpr/tests mpr_test
18381 wine_fn_config_dll mprapi enable_mprapi implib
18382 wine_fn_config_dll msacm.dll16 enable_win16
18383 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18384 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18385 wine_fn_config_test dlls/msacm32/tests msacm32_test
18386 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18387 wine_fn_config_dll msasn1 enable_msasn1 implib
18388 wine_fn_config_dll mscat32 enable_mscat32
18389 wine_fn_config_dll mscms enable_mscms implib
18390 wine_fn_config_test dlls/mscms/tests mscms_test
18391 wine_fn_config_dll mscoree enable_mscoree clean
18392 wine_fn_config_test dlls/mscoree/tests mscoree_test
18393 wine_fn_config_dll msctf enable_msctf clean
18394 wine_fn_config_test dlls/msctf/tests msctf_test
18395 wine_fn_config_dll msctfp enable_msctfp clean
18396 wine_fn_config_dll msdaps enable_msdaps clean
18397 wine_fn_config_dll msdelta enable_msdelta
18398 wine_fn_config_dll msdmo enable_msdmo implib
18399 wine_fn_config_test dlls/msdmo/tests msdmo_test
18400 wine_fn_config_dll msdrm enable_msdrm
18401 wine_fn_config_dll msftedit enable_msftedit
18402 wine_fn_config_dll msg711.acm enable_msg711_acm
18403 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18404 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18405 wine_fn_config_dll mshtml enable_mshtml clean,implib
18406 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18407 wine_fn_config_dll msi enable_msi clean,implib
18408 wine_fn_config_test dlls/msi/tests msi_test
18409 wine_fn_config_dll msident enable_msident clean
18410 wine_fn_config_dll msimg32 enable_msimg32 implib
18411 wine_fn_config_dll msimsg enable_msimsg
18412 wine_fn_config_dll msimtf enable_msimtf clean
18413 wine_fn_config_dll msisip enable_msisip
18414 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18415 wine_fn_config_dll msls31 enable_msls31
18416 wine_fn_config_dll msnet32 enable_msnet32
18417 wine_fn_config_dll mspatcha enable_mspatcha implib
18418 wine_fn_config_dll msports enable_msports
18419 wine_fn_config_dll msrle32 enable_msrle32 clean
18420 wine_fn_config_test dlls/msrle32/tests msrle32_test
18421 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18422 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18423 wine_fn_config_dll mssign32 enable_mssign32
18424 wine_fn_config_dll mssip32 enable_mssip32
18425 wine_fn_config_dll mstask enable_mstask clean
18426 wine_fn_config_test dlls/mstask/tests mstask_test
18427 wine_fn_config_dll msvcirt enable_msvcirt
18428 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18429 wine_fn_config_dll msvcm80 enable_msvcm80
18430 wine_fn_config_dll msvcm90 enable_msvcm90
18431 wine_fn_config_dll msvcp100 enable_msvcp100
18432 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18433 wine_fn_config_dll msvcp110 enable_msvcp110
18434 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18435 wine_fn_config_dll msvcp120 enable_msvcp120
18436 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18437 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18438 wine_fn_config_dll msvcp140 enable_msvcp140
18439 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18440 wine_fn_config_dll msvcp60 enable_msvcp60
18441 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18442 wine_fn_config_dll msvcp70 enable_msvcp70
18443 wine_fn_config_dll msvcp71 enable_msvcp71
18444 wine_fn_config_dll msvcp80 enable_msvcp80
18445 wine_fn_config_dll msvcp90 enable_msvcp90
18446 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18447 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18448 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18449 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18450 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18451 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18452 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18453 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18454 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18455 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18456 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18457 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18458 wine_fn_config_dll msvcrt enable_msvcrt implib
18459 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18460 wine_fn_config_dll msvcrt20 enable_msvcrt20
18461 wine_fn_config_dll msvcrt40 enable_msvcrt40
18462 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18463 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18464 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18465 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18466 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18467 wine_fn_config_dll msvideo.dll16 enable_win16
18468 wine_fn_config_dll mswsock enable_mswsock implib
18469 wine_fn_config_dll msxml enable_msxml clean
18470 wine_fn_config_dll msxml2 enable_msxml2 clean
18471 wine_fn_config_dll msxml3 enable_msxml3 clean
18472 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18473 wine_fn_config_dll msxml4 enable_msxml4 clean
18474 wine_fn_config_dll msxml6 enable_msxml6 clean
18475 wine_fn_config_dll mtxdm enable_mtxdm
18476 wine_fn_config_dll ncrypt enable_ncrypt
18477 wine_fn_config_dll nddeapi enable_nddeapi implib
18478 wine_fn_config_dll ndis.sys enable_ndis_sys
18479 wine_fn_config_dll netapi32 enable_netapi32 implib
18480 wine_fn_config_test dlls/netapi32/tests netapi32_test
18481 wine_fn_config_dll netcfgx enable_netcfgx clean
18482 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18483 wine_fn_config_dll netprofm enable_netprofm clean
18484 wine_fn_config_test dlls/netprofm/tests netprofm_test
18485 wine_fn_config_dll newdev enable_newdev implib
18486 wine_fn_config_dll normaliz enable_normaliz implib
18487 wine_fn_config_dll npmshtml enable_npmshtml
18488 wine_fn_config_dll npptools enable_npptools
18489 wine_fn_config_dll ntdll enable_ntdll implib
18490 wine_fn_config_test dlls/ntdll/tests ntdll_test
18491 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18492 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18493 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18494 wine_fn_config_dll ntprint enable_ntprint
18495 wine_fn_config_test dlls/ntprint/tests ntprint_test
18496 wine_fn_config_dll objsel enable_objsel clean
18497 wine_fn_config_dll odbc32 enable_odbc32 implib
18498 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18499 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18500 wine_fn_config_dll odbccu32 enable_odbccu32
18501 wine_fn_config_dll ole2.dll16 enable_win16
18502 wine_fn_config_dll ole2conv.dll16 enable_win16
18503 wine_fn_config_dll ole2disp.dll16 enable_win16
18504 wine_fn_config_dll ole2nls.dll16 enable_win16
18505 wine_fn_config_dll ole2prox.dll16 enable_win16
18506 wine_fn_config_dll ole2thk.dll16 enable_win16
18507 wine_fn_config_dll ole32 enable_ole32 clean,implib
18508 wine_fn_config_test dlls/ole32/tests ole32_test
18509 wine_fn_config_dll oleacc enable_oleacc clean,implib
18510 wine_fn_config_test dlls/oleacc/tests oleacc_test
18511 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18512 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18513 wine_fn_config_dll olecli.dll16 enable_win16
18514 wine_fn_config_dll olecli32 enable_olecli32 implib
18515 wine_fn_config_dll oledb32 enable_oledb32 clean
18516 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18517 wine_fn_config_dll oledlg enable_oledlg clean,implib
18518 wine_fn_config_test dlls/oledlg/tests oledlg_test
18519 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18520 wine_fn_config_dll olesvr.dll16 enable_win16
18521 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18522 wine_fn_config_dll olethk32 enable_olethk32
18523 wine_fn_config_dll openal32 enable_openal32
18524 wine_fn_config_dll opencl enable_opencl
18525 wine_fn_config_dll opengl32 enable_opengl32 implib
18526 wine_fn_config_test dlls/opengl32/tests opengl32_test
18527 wine_fn_config_dll packager enable_packager clean
18528 wine_fn_config_test dlls/packager/tests packager_test
18529 wine_fn_config_dll pdh enable_pdh implib
18530 wine_fn_config_test dlls/pdh/tests pdh_test
18531 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18532 wine_fn_config_dll pidgen enable_pidgen
18533 wine_fn_config_dll powrprof enable_powrprof implib
18534 wine_fn_config_dll printui enable_printui
18535 wine_fn_config_dll prntvpt enable_prntvpt
18536 wine_fn_config_dll propsys enable_propsys clean,implib
18537 wine_fn_config_test dlls/propsys/tests propsys_test
18538 wine_fn_config_dll psapi enable_psapi implib
18539 wine_fn_config_test dlls/psapi/tests psapi_test
18540 wine_fn_config_dll pstorec enable_pstorec clean
18541 wine_fn_config_test dlls/pstorec/tests pstorec_test
18542 wine_fn_config_dll qcap enable_qcap
18543 wine_fn_config_test dlls/qcap/tests qcap_test
18544 wine_fn_config_dll qedit enable_qedit clean
18545 wine_fn_config_test dlls/qedit/tests qedit_test
18546 wine_fn_config_dll qmgr enable_qmgr clean
18547 wine_fn_config_test dlls/qmgr/tests qmgr_test
18548 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18549 wine_fn_config_dll quartz enable_quartz clean,implib
18550 wine_fn_config_test dlls/quartz/tests quartz_test clean
18551 wine_fn_config_dll query enable_query
18552 wine_fn_config_dll rasapi16.dll16 enable_win16
18553 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18554 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18555 wine_fn_config_dll rasdlg enable_rasdlg implib
18556 wine_fn_config_dll regapi enable_regapi
18557 wine_fn_config_dll resutils enable_resutils implib
18558 wine_fn_config_dll riched20 enable_riched20 clean,implib
18559 wine_fn_config_test dlls/riched20/tests riched20_test
18560 wine_fn_config_dll riched32 enable_riched32
18561 wine_fn_config_test dlls/riched32/tests riched32_test
18562 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18563 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18564 wine_fn_config_dll rsabase enable_rsabase
18565 wine_fn_config_dll rsaenh enable_rsaenh implib
18566 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18567 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18568 wine_fn_config_dll rtutils enable_rtutils implib
18569 wine_fn_config_dll samlib enable_samlib
18570 wine_fn_config_dll sane.ds enable_sane_ds clean
18571 wine_fn_config_dll scarddlg enable_scarddlg
18572 wine_fn_config_dll sccbase enable_sccbase
18573 wine_fn_config_dll schannel enable_schannel
18574 wine_fn_config_test dlls/schannel/tests schannel_test
18575 wine_fn_config_dll schedsvc enable_schedsvc clean
18576 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18577 wine_fn_config_dll scrobj enable_scrobj clean
18578 wine_fn_config_dll scrrun enable_scrrun clean
18579 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18580 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18581 wine_fn_config_dll secur32 enable_secur32 implib
18582 wine_fn_config_test dlls/secur32/tests secur32_test
18583 wine_fn_config_dll security enable_security
18584 wine_fn_config_dll sensapi enable_sensapi implib
18585 wine_fn_config_dll serialui enable_serialui clean
18586 wine_fn_config_test dlls/serialui/tests serialui_test
18587 wine_fn_config_dll setupapi enable_setupapi clean,implib
18588 wine_fn_config_test dlls/setupapi/tests setupapi_test
18589 wine_fn_config_dll setupx.dll16 enable_win16
18590 wine_fn_config_dll sfc enable_sfc implib
18591 wine_fn_config_dll sfc_os enable_sfc_os implib
18592 wine_fn_config_dll shdoclc enable_shdoclc clean
18593 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18594 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18595 wine_fn_config_dll shell.dll16 enable_win16
18596 wine_fn_config_dll shell32 enable_shell32 clean,implib
18597 wine_fn_config_test dlls/shell32/tests shell32_test
18598 wine_fn_config_dll shfolder enable_shfolder implib
18599 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18600 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18601 wine_fn_config_dll slbcsp enable_slbcsp
18602 wine_fn_config_dll slc enable_slc implib
18603 wine_fn_config_test dlls/slc/tests slc_test
18604 wine_fn_config_dll snmpapi enable_snmpapi implib
18605 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18606 wine_fn_config_dll softpub enable_softpub
18607 wine_fn_config_dll sound.drv16 enable_win16
18608 wine_fn_config_dll spoolss enable_spoolss implib
18609 wine_fn_config_test dlls/spoolss/tests spoolss_test
18610 wine_fn_config_dll sspicli enable_sspicli
18611 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18612 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18613 wine_fn_config_dll sti enable_sti clean,implib
18614 wine_fn_config_test dlls/sti/tests sti_test
18615 wine_fn_config_dll storage.dll16 enable_win16
18616 wine_fn_config_dll stress.dll16 enable_win16
18617 wine_fn_config_lib strmbase
18618 wine_fn_config_lib strmiids
18619 wine_fn_config_dll svrapi enable_svrapi
18620 wine_fn_config_dll sxs enable_sxs implib
18621 wine_fn_config_test dlls/sxs/tests sxs_test
18622 wine_fn_config_dll system.drv16 enable_win16
18623 wine_fn_config_dll t2embed enable_t2embed implib
18624 wine_fn_config_test dlls/t2embed/tests t2embed_test
18625 wine_fn_config_dll tapi32 enable_tapi32 implib
18626 wine_fn_config_dll taskschd enable_taskschd clean
18627 wine_fn_config_test dlls/taskschd/tests taskschd_test
18628 wine_fn_config_dll tdh enable_tdh
18629 wine_fn_config_dll tdi.sys enable_tdi_sys
18630 wine_fn_config_dll toolhelp.dll16 enable_win16
18631 wine_fn_config_dll traffic enable_traffic
18632 wine_fn_config_dll twain.dll16 enable_win16
18633 wine_fn_config_dll twain_32 enable_twain_32
18634 wine_fn_config_test dlls/twain_32/tests twain_32_test
18635 wine_fn_config_dll typelib.dll16 enable_win16
18636 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18637 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18638 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18639 wine_fn_config_dll unicows enable_unicows implib
18640 wine_fn_config_dll updspapi enable_updspapi
18641 wine_fn_config_dll url enable_url implib
18642 wine_fn_config_dll urlmon enable_urlmon clean,implib
18643 wine_fn_config_test dlls/urlmon/tests urlmon_test
18644 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18645 wine_fn_config_dll user.exe16 enable_win16
18646 wine_fn_config_dll user32 enable_user32 clean,implib
18647 wine_fn_config_test dlls/user32/tests user32_test
18648 wine_fn_config_dll userenv enable_userenv implib
18649 wine_fn_config_test dlls/userenv/tests userenv_test
18650 wine_fn_config_dll usp10 enable_usp10 implib
18651 wine_fn_config_test dlls/usp10/tests usp10_test
18652 wine_fn_config_lib uuid
18653 wine_fn_config_dll uxtheme enable_uxtheme implib
18654 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18655 wine_fn_config_dll vbscript enable_vbscript clean
18656 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18657 wine_fn_config_dll vcomp enable_vcomp
18658 wine_fn_config_test dlls/vcomp/tests vcomp_test
18659 wine_fn_config_dll vcomp100 enable_vcomp100
18660 wine_fn_config_dll vcomp110 enable_vcomp110
18661 wine_fn_config_dll vcomp120 enable_vcomp120
18662 wine_fn_config_dll vcomp140 enable_vcomp140
18663 wine_fn_config_dll vcomp90 enable_vcomp90
18664 wine_fn_config_dll vcruntime140 enable_vcruntime140
18665 wine_fn_config_dll vdhcp.vxd enable_win16
18666 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18667 wine_fn_config_dll ver.dll16 enable_win16
18668 wine_fn_config_dll version enable_version implib
18669 wine_fn_config_test dlls/version/tests version_test
18670 wine_fn_config_dll virtdisk enable_virtdisk
18671 wine_fn_config_dll vmm.vxd enable_win16
18672 wine_fn_config_dll vnbt.vxd enable_win16
18673 wine_fn_config_dll vnetbios.vxd enable_win16
18674 wine_fn_config_dll vssapi enable_vssapi
18675 wine_fn_config_dll vtdapi.vxd enable_win16
18676 wine_fn_config_dll vwin32.vxd enable_win16
18677 wine_fn_config_dll w32skrnl enable_win16
18678 wine_fn_config_dll w32sys.dll16 enable_win16
18679 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18680 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18681 wine_fn_config_dll wbemprox enable_wbemprox clean
18682 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18683 wine_fn_config_dll webservices enable_webservices implib
18684 wine_fn_config_test dlls/webservices/tests webservices_test
18685 wine_fn_config_dll wer enable_wer implib
18686 wine_fn_config_test dlls/wer/tests wer_test
18687 wine_fn_config_dll wevtapi enable_wevtapi
18688 wine_fn_config_dll wiaservc enable_wiaservc clean
18689 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18690 wine_fn_config_dll wimgapi enable_wimgapi
18691 wine_fn_config_dll win32s16.dll16 enable_win16
18692 wine_fn_config_dll win87em.dll16 enable_win16
18693 wine_fn_config_dll winaspi.dll16 enable_win16
18694 wine_fn_config_dll windebug.dll16 enable_win16
18695 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18696 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18697 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18698 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18699 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18700 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18701 wine_fn_config_dll winebus.sys enable_winebus_sys
18702 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18703 wine_fn_config_lib winecrt0
18704 wine_fn_config_dll wined3d enable_wined3d implib
18705 wine_fn_config_dll winegstreamer enable_winegstreamer
18706 wine_fn_config_dll winehid.sys enable_winehid_sys
18707 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18708 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18709 wine_fn_config_dll winemapi enable_winemapi
18710 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18711 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18712 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18713 wine_fn_config_dll wineps16.drv16 enable_win16
18714 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18715 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18716 wine_fn_config_dll winex11.drv enable_winex11_drv
18717 wine_fn_config_dll wing.dll16 enable_win16
18718 wine_fn_config_dll wing32 enable_wing32
18719 wine_fn_config_dll winhttp enable_winhttp clean,implib
18720 wine_fn_config_test dlls/winhttp/tests winhttp_test
18721 wine_fn_config_dll wininet enable_wininet clean,implib
18722 wine_fn_config_test dlls/wininet/tests wininet_test
18723 wine_fn_config_dll winmm enable_winmm clean,implib
18724 wine_fn_config_test dlls/winmm/tests winmm_test
18725 wine_fn_config_dll winnls.dll16 enable_win16
18726 wine_fn_config_dll winnls32 enable_winnls32 implib
18727 wine_fn_config_dll winscard enable_winscard implib
18728 wine_fn_config_dll winsock.dll16 enable_win16
18729 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18730 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18731 wine_fn_config_dll winsta enable_winsta
18732 wine_fn_config_dll wintab.dll16 enable_win16
18733 wine_fn_config_dll wintab32 enable_wintab32 implib
18734 wine_fn_config_test dlls/wintab32/tests wintab32_test
18735 wine_fn_config_dll wintrust enable_wintrust implib
18736 wine_fn_config_test dlls/wintrust/tests wintrust_test
18737 wine_fn_config_dll winusb enable_winusb
18738 wine_fn_config_dll wlanapi enable_wlanapi implib
18739 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18740 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18741 wine_fn_config_test dlls/wldap32/tests wldap32_test
18742 wine_fn_config_dll wmasf enable_wmasf
18743 wine_fn_config_dll wmi enable_wmi
18744 wine_fn_config_dll wmiutils enable_wmiutils clean
18745 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18746 wine_fn_config_dll wmp enable_wmp clean
18747 wine_fn_config_test dlls/wmp/tests wmp_test
18748 wine_fn_config_dll wmvcore enable_wmvcore implib
18749 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18750 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18751 wine_fn_config_dll wow32 enable_win16 implib
18752 wine_fn_config_dll wpc enable_wpc clean
18753 wine_fn_config_test dlls/wpc/tests wpc_test
18754 wine_fn_config_dll wpcap enable_wpcap
18755 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18756 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18757 wine_fn_config_dll wsdapi enable_wsdapi implib
18758 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18759 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18760 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18761 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18762 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18763 wine_fn_config_dll wsock32 enable_wsock32 implib
18764 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18765 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18766 wine_fn_config_dll wuapi enable_wuapi clean
18767 wine_fn_config_dll wuaueng enable_wuaueng
18768 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18769 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18770 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18771 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18772 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18773 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18774 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18775 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18776 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18777 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18778 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18779 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18780 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18781 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18782 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18783 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18784 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18785 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18786 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18787 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18788 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18789 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18790 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18791 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18792 wine_fn_config_dll xinput1_1 enable_xinput1_1
18793 wine_fn_config_dll xinput1_2 enable_xinput1_2
18794 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18795 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18796 wine_fn_config_dll xinput1_4 enable_xinput1_4
18797 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18798 wine_fn_config_dll xmllite enable_xmllite implib
18799 wine_fn_config_test dlls/xmllite/tests xmllite_test
18800 wine_fn_config_dll xolehlp enable_xolehlp
18801 wine_fn_config_dll xpsprint enable_xpsprint
18802 wine_fn_config_dll xpssvcs enable_xpssvcs
18803 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18804 wine_fn_config_makefile include enable_include clean,install-dev
18805 wine_fn_config_makefile libs/port enable_libs_port
18806 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18807 wine_fn_config_makefile libs/wpp enable_libs_wpp
18808 wine_fn_config_makefile loader enable_loader clean,install-lib
18809 wine_fn_config_makefile po enable_po clean
18810 wine_fn_config_program arp enable_arp install
18811 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18812 wine_fn_config_program attrib enable_attrib clean,install
18813 wine_fn_config_program cabarc enable_cabarc install
18814 wine_fn_config_program cacls enable_cacls install
18815 wine_fn_config_program clock enable_clock clean,install
18816 wine_fn_config_program cmd enable_cmd clean,install
18817 wine_fn_config_test programs/cmd/tests cmd.exe_test
18818 wine_fn_config_program conhost enable_conhost install
18819 wine_fn_config_program control enable_control install
18820 wine_fn_config_program cscript enable_cscript clean,install
18821 wine_fn_config_program dpnsvr enable_dpnsvr install
18822 wine_fn_config_program dxdiag enable_dxdiag clean,install
18823 wine_fn_config_program eject enable_eject install
18824 wine_fn_config_program expand enable_expand install
18825 wine_fn_config_program explorer enable_explorer clean,install
18826 wine_fn_config_program extrac32 enable_extrac32 install
18827 wine_fn_config_program findstr enable_findstr install
18828 wine_fn_config_program fsutil enable_fsutil install
18829 wine_fn_config_program hh enable_hh install
18830 wine_fn_config_program hostname enable_hostname clean,install
18831 wine_fn_config_program icacls enable_icacls install
18832 wine_fn_config_program icinfo enable_icinfo install
18833 wine_fn_config_program iexplore enable_iexplore install
18834 wine_fn_config_program ipconfig enable_ipconfig clean,install
18835 wine_fn_config_program lodctr enable_lodctr install
18836 wine_fn_config_program mofcomp enable_mofcomp install
18837 wine_fn_config_program mshta enable_mshta install
18838 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18839 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18840 wine_fn_config_program net enable_net clean,install
18841 wine_fn_config_program netsh enable_netsh install
18842 wine_fn_config_program netstat enable_netstat clean,install
18843 wine_fn_config_program ngen enable_ngen install
18844 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18845 wine_fn_config_program oleview enable_oleview clean,install
18846 wine_fn_config_program ping enable_ping install
18847 wine_fn_config_program plugplay enable_plugplay install
18848 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18849 wine_fn_config_program progman enable_progman clean,install
18850 wine_fn_config_program reg enable_reg clean,install
18851 wine_fn_config_test programs/reg/tests reg.exe_test
18852 wine_fn_config_program regasm enable_regasm install
18853 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18854 wine_fn_config_test programs/regedit/tests regedit.exe_test
18855 wine_fn_config_program regsvcs enable_regsvcs install
18856 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18857 wine_fn_config_program rpcss enable_rpcss clean,install
18858 wine_fn_config_program rundll.exe16 enable_win16 install
18859 wine_fn_config_program rundll32 enable_rundll32 install
18860 wine_fn_config_program sc enable_sc install
18861 wine_fn_config_program schtasks enable_schtasks install
18862 wine_fn_config_program sdbinst enable_sdbinst install
18863 wine_fn_config_program secedit enable_secedit install
18864 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18865 wine_fn_config_program services enable_services clean,install
18866 wine_fn_config_test programs/services/tests services.exe_test
18867 wine_fn_config_program shutdown enable_shutdown install
18868 wine_fn_config_program spoolsv enable_spoolsv install
18869 wine_fn_config_program start enable_start clean,install
18870 wine_fn_config_program subst enable_subst install
18871 wine_fn_config_program svchost enable_svchost install
18872 wine_fn_config_program systeminfo enable_systeminfo install
18873 wine_fn_config_program taskkill enable_taskkill clean,install
18874 wine_fn_config_program tasklist enable_tasklist install
18875 wine_fn_config_program taskmgr enable_taskmgr clean,install
18876 wine_fn_config_program termsv enable_termsv install
18877 wine_fn_config_program uninstaller enable_uninstaller clean,install
18878 wine_fn_config_program unlodctr enable_unlodctr install
18879 wine_fn_config_program view enable_view clean,install
18880 wine_fn_config_program wevtutil enable_wevtutil install
18881 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18882 wine_fn_config_program winebrowser enable_winebrowser install
18883 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18884 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18885 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18886 wine_fn_config_program winedevice enable_winedevice install
18887 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18888 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18889 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18890 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18891 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18892 wine_fn_config_program winetest enable_winetest clean
18893 wine_fn_config_program winevdm enable_win16 install
18894 wine_fn_config_program winhelp.exe16 enable_win16 install
18895 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18896 wine_fn_config_program winoldap.mod16 enable_win16 install
18897 wine_fn_config_program winver enable_winver install
18898 wine_fn_config_program wmic enable_wmic clean,install
18899 wine_fn_config_program wmplayer enable_wmplayer install
18900 wine_fn_config_program wordpad enable_wordpad clean,install
18901 wine_fn_config_program write enable_write clean,install
18902 wine_fn_config_program wscript enable_wscript clean,install
18903 wine_fn_config_test programs/wscript/tests wscript.exe_test
18904 wine_fn_config_program wusa enable_wusa install
18905 wine_fn_config_program xcopy enable_xcopy clean,install
18906 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18907 wine_fn_config_makefile server enable_server clean,install-lib
18908 wine_fn_config_tool tools clean
18909 wine_fn_config_tool tools/sfnt2fon clean
18910 wine_fn_config_tool tools/widl clean,install-dev
18911 wine_fn_config_tool tools/winebuild clean,install-dev
18912 wine_fn_config_tool tools/winedump clean,install-dev
18913 wine_fn_config_tool tools/winegcc clean,install-dev
18914 wine_fn_config_tool tools/winemaker clean,install-dev
18915 wine_fn_config_tool tools/wmc clean,install-dev
18916 wine_fn_config_tool tools/wrc clean,install-dev
18919 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18920 wine_fn_append_file CONFIGURE_TARGETS "tags"
18921 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18922 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18923 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18924 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18925 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18926 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18928 if test "x$enable_tools" != xno
18929 then
18930 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18931 ac_config_commands="$ac_config_commands tools/makedep"
18935 ac_config_commands="$ac_config_commands Makefile"
18938 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18942 if test "x$enable_maintainer_mode" = xyes
18943 then
18944 wine_fn_append_rule "configure: configure.ac aclocal.m4
18945 autoconf --warnings=all
18946 include/config.h.in: include/stamp-h.in
18947 include/stamp-h.in: configure.ac aclocal.m4
18948 autoheader --warnings=all
18949 @echo timestamp > \$@"
18952 if test "x$enable_tools" != xno
18953 then
18954 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18955 @./config.status tools/makedep
18956 Makefile: tools/makedep$ac_exeext"
18957 else
18958 wine_fn_append_rule "\$(MAKEDEP):
18959 @echo \"You need to run make in $TOOLSDIR first\" && false"
18962 if test -n "$with_wine64"
18963 then
18964 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18965 fonts server:
18966 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18967 $with_wine64/loader/wine:
18968 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18969 $with_wine64/loader/wine-preloader:
18970 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18971 clean::
18972 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18973 else
18974 WINELOADER_INSTALL="wine.inf"
18976 wine_fn_append_rule "install install-lib::
18977 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18978 uninstall::
18979 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18980 case $host_os in
18981 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18982 *) wine_fn_append_rule "install install-lib::
18983 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18984 uninstall::
18985 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18986 esac
18989 $as_echo " done" >&6
18990 cat >confcache <<\_ACEOF
18991 # This file is a shell script that caches the results of configure
18992 # tests run on this system so they can be shared between configure
18993 # scripts and configure runs, see configure's option --config-cache.
18994 # It is not useful on other systems. If it contains results you don't
18995 # want to keep, you may remove or edit it.
18997 # config.status only pays attention to the cache file if you give it
18998 # the --recheck option to rerun configure.
19000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19002 # following values.
19004 _ACEOF
19006 # The following way of writing the cache mishandles newlines in values,
19007 # but we know of no workaround that is simple, portable, and efficient.
19008 # So, we kill variables containing newlines.
19009 # Ultrix sh set writes to stderr and can't be redirected directly,
19010 # and sets the high bit in the cache file unless we assign to the vars.
19012 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19013 eval ac_val=\$$ac_var
19014 case $ac_val in #(
19015 *${as_nl}*)
19016 case $ac_var in #(
19017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19019 esac
19020 case $ac_var in #(
19021 _ | IFS | as_nl) ;; #(
19022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19023 *) { eval $ac_var=; unset $ac_var;} ;;
19024 esac ;;
19025 esac
19026 done
19028 (set) 2>&1 |
19029 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19030 *${as_nl}ac_space=\ *)
19031 # `set' does not quote correctly, so add quotes: double-quote
19032 # substitution turns \\\\ into \\, and sed turns \\ into \.
19033 sed -n \
19034 "s/'/'\\\\''/g;
19035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19036 ;; #(
19038 # `set' quotes correctly as required by POSIX, so do not add quotes.
19039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19041 esac |
19042 sort
19044 sed '
19045 /^ac_cv_env_/b end
19046 t clear
19047 :clear
19048 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19049 t end
19050 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19051 :end' >>confcache
19052 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19053 if test -w "$cache_file"; then
19054 if test "x$cache_file" != "x/dev/null"; then
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19056 $as_echo "$as_me: updating cache $cache_file" >&6;}
19057 if test ! -f "$cache_file" || test -h "$cache_file"; then
19058 cat confcache >"$cache_file"
19059 else
19060 case $cache_file in #(
19061 */* | ?:*)
19062 mv -f confcache "$cache_file"$$ &&
19063 mv -f "$cache_file"$$ "$cache_file" ;; #(
19065 mv -f confcache "$cache_file" ;;
19066 esac
19069 else
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19071 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19074 rm -f confcache
19076 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19077 # Let make expand exec_prefix.
19078 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19080 DEFS=-DHAVE_CONFIG_H
19082 ac_libobjs=
19083 ac_ltlibobjs=
19085 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19086 # 1. Remove the extension, and $U if already installed.
19087 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19088 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19090 # will be set to the directory where LIBOBJS objects are built.
19091 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19092 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19093 done
19094 LIBOBJS=$ac_libobjs
19096 LTLIBOBJS=$ac_ltlibobjs
19100 : "${CONFIG_STATUS=./config.status}"
19101 ac_write_fail=0
19102 ac_clean_files_save=$ac_clean_files
19103 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19105 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19106 as_write_fail=0
19107 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19108 #! $SHELL
19109 # Generated by $as_me.
19110 # Run this file to recreate the current configuration.
19111 # Compiler output produced by configure, useful for debugging
19112 # configure, is in config.log if it exists.
19114 debug=false
19115 ac_cs_recheck=false
19116 ac_cs_silent=false
19118 SHELL=\${CONFIG_SHELL-$SHELL}
19119 export SHELL
19120 _ASEOF
19121 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19122 ## -------------------- ##
19123 ## M4sh Initialization. ##
19124 ## -------------------- ##
19126 # Be more Bourne compatible
19127 DUALCASE=1; export DUALCASE # for MKS sh
19128 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19129 emulate sh
19130 NULLCMD=:
19131 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19132 # is contrary to our usage. Disable this feature.
19133 alias -g '${1+"$@"}'='"$@"'
19134 setopt NO_GLOB_SUBST
19135 else
19136 case `(set -o) 2>/dev/null` in #(
19137 *posix*) :
19138 set -o posix ;; #(
19139 *) :
19141 esac
19145 as_nl='
19147 export as_nl
19148 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19149 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19150 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19151 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19152 # Prefer a ksh shell builtin over an external printf program on Solaris,
19153 # but without wasting forks for bash or zsh.
19154 if test -z "$BASH_VERSION$ZSH_VERSION" \
19155 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19156 as_echo='print -r --'
19157 as_echo_n='print -rn --'
19158 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19159 as_echo='printf %s\n'
19160 as_echo_n='printf %s'
19161 else
19162 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19163 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19164 as_echo_n='/usr/ucb/echo -n'
19165 else
19166 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19167 as_echo_n_body='eval
19168 arg=$1;
19169 case $arg in #(
19170 *"$as_nl"*)
19171 expr "X$arg" : "X\\(.*\\)$as_nl";
19172 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19173 esac;
19174 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19176 export as_echo_n_body
19177 as_echo_n='sh -c $as_echo_n_body as_echo'
19179 export as_echo_body
19180 as_echo='sh -c $as_echo_body as_echo'
19183 # The user is always right.
19184 if test "${PATH_SEPARATOR+set}" != set; then
19185 PATH_SEPARATOR=:
19186 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19187 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19188 PATH_SEPARATOR=';'
19193 # IFS
19194 # We need space, tab and new line, in precisely that order. Quoting is
19195 # there to prevent editors from complaining about space-tab.
19196 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19197 # splitting by setting IFS to empty value.)
19198 IFS=" "" $as_nl"
19200 # Find who we are. Look in the path if we contain no directory separator.
19201 as_myself=
19202 case $0 in #((
19203 *[\\/]* ) as_myself=$0 ;;
19204 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19205 for as_dir in $PATH
19207 IFS=$as_save_IFS
19208 test -z "$as_dir" && as_dir=.
19209 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19210 done
19211 IFS=$as_save_IFS
19214 esac
19215 # We did not find ourselves, most probably we were run as `sh COMMAND'
19216 # in which case we are not to be found in the path.
19217 if test "x$as_myself" = x; then
19218 as_myself=$0
19220 if test ! -f "$as_myself"; then
19221 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19222 exit 1
19225 # Unset variables that we do not need and which cause bugs (e.g. in
19226 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19227 # suppresses any "Segmentation fault" message there. '((' could
19228 # trigger a bug in pdksh 5.2.14.
19229 for as_var in BASH_ENV ENV MAIL MAILPATH
19230 do eval test x\${$as_var+set} = xset \
19231 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19232 done
19233 PS1='$ '
19234 PS2='> '
19235 PS4='+ '
19237 # NLS nuisances.
19238 LC_ALL=C
19239 export LC_ALL
19240 LANGUAGE=C
19241 export LANGUAGE
19243 # CDPATH.
19244 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19247 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19248 # ----------------------------------------
19249 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19250 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19251 # script with STATUS, using 1 if that was 0.
19252 as_fn_error ()
19254 as_status=$1; test $as_status -eq 0 && as_status=1
19255 if test "$4"; then
19256 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19257 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19259 $as_echo "$as_me: error: $2" >&2
19260 as_fn_exit $as_status
19261 } # as_fn_error
19264 # as_fn_set_status STATUS
19265 # -----------------------
19266 # Set $? to STATUS, without forking.
19267 as_fn_set_status ()
19269 return $1
19270 } # as_fn_set_status
19272 # as_fn_exit STATUS
19273 # -----------------
19274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19275 as_fn_exit ()
19277 set +e
19278 as_fn_set_status $1
19279 exit $1
19280 } # as_fn_exit
19282 # as_fn_unset VAR
19283 # ---------------
19284 # Portably unset VAR.
19285 as_fn_unset ()
19287 { eval $1=; unset $1;}
19289 as_unset=as_fn_unset
19290 # as_fn_append VAR VALUE
19291 # ----------------------
19292 # Append the text in VALUE to the end of the definition contained in VAR. Take
19293 # advantage of any shell optimizations that allow amortized linear growth over
19294 # repeated appends, instead of the typical quadratic growth present in naive
19295 # implementations.
19296 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19297 eval 'as_fn_append ()
19299 eval $1+=\$2
19301 else
19302 as_fn_append ()
19304 eval $1=\$$1\$2
19306 fi # as_fn_append
19308 # as_fn_arith ARG...
19309 # ------------------
19310 # Perform arithmetic evaluation on the ARGs, and store the result in the
19311 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19312 # must be portable across $(()) and expr.
19313 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19314 eval 'as_fn_arith ()
19316 as_val=$(( $* ))
19318 else
19319 as_fn_arith ()
19321 as_val=`expr "$@" || test $? -eq 1`
19323 fi # as_fn_arith
19326 if expr a : '\(a\)' >/dev/null 2>&1 &&
19327 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19328 as_expr=expr
19329 else
19330 as_expr=false
19333 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19334 as_basename=basename
19335 else
19336 as_basename=false
19339 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19340 as_dirname=dirname
19341 else
19342 as_dirname=false
19345 as_me=`$as_basename -- "$0" ||
19346 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19347 X"$0" : 'X\(//\)$' \| \
19348 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19349 $as_echo X/"$0" |
19350 sed '/^.*\/\([^/][^/]*\)\/*$/{
19351 s//\1/
19354 /^X\/\(\/\/\)$/{
19355 s//\1/
19358 /^X\/\(\/\).*/{
19359 s//\1/
19362 s/.*/./; q'`
19364 # Avoid depending upon Character Ranges.
19365 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19366 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19367 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19368 as_cr_digits='0123456789'
19369 as_cr_alnum=$as_cr_Letters$as_cr_digits
19371 ECHO_C= ECHO_N= ECHO_T=
19372 case `echo -n x` in #(((((
19373 -n*)
19374 case `echo 'xy\c'` in
19375 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19376 xy) ECHO_C='\c';;
19377 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19378 ECHO_T=' ';;
19379 esac;;
19381 ECHO_N='-n';;
19382 esac
19384 rm -f conf$$ conf$$.exe conf$$.file
19385 if test -d conf$$.dir; then
19386 rm -f conf$$.dir/conf$$.file
19387 else
19388 rm -f conf$$.dir
19389 mkdir conf$$.dir 2>/dev/null
19391 if (echo >conf$$.file) 2>/dev/null; then
19392 if ln -s conf$$.file conf$$ 2>/dev/null; then
19393 as_ln_s='ln -s'
19394 # ... but there are two gotchas:
19395 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19396 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19397 # In both cases, we have to default to `cp -pR'.
19398 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19399 as_ln_s='cp -pR'
19400 elif ln conf$$.file conf$$ 2>/dev/null; then
19401 as_ln_s=ln
19402 else
19403 as_ln_s='cp -pR'
19405 else
19406 as_ln_s='cp -pR'
19408 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19409 rmdir conf$$.dir 2>/dev/null
19412 # as_fn_mkdir_p
19413 # -------------
19414 # Create "$as_dir" as a directory, including parents if necessary.
19415 as_fn_mkdir_p ()
19418 case $as_dir in #(
19419 -*) as_dir=./$as_dir;;
19420 esac
19421 test -d "$as_dir" || eval $as_mkdir_p || {
19422 as_dirs=
19423 while :; do
19424 case $as_dir in #(
19425 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19426 *) as_qdir=$as_dir;;
19427 esac
19428 as_dirs="'$as_qdir' $as_dirs"
19429 as_dir=`$as_dirname -- "$as_dir" ||
19430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19431 X"$as_dir" : 'X\(//\)[^/]' \| \
19432 X"$as_dir" : 'X\(//\)$' \| \
19433 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19434 $as_echo X"$as_dir" |
19435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19436 s//\1/
19439 /^X\(\/\/\)[^/].*/{
19440 s//\1/
19443 /^X\(\/\/\)$/{
19444 s//\1/
19447 /^X\(\/\).*/{
19448 s//\1/
19451 s/.*/./; q'`
19452 test -d "$as_dir" && break
19453 done
19454 test -z "$as_dirs" || eval "mkdir $as_dirs"
19455 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19458 } # as_fn_mkdir_p
19459 if mkdir -p . 2>/dev/null; then
19460 as_mkdir_p='mkdir -p "$as_dir"'
19461 else
19462 test -d ./-p && rmdir ./-p
19463 as_mkdir_p=false
19467 # as_fn_executable_p FILE
19468 # -----------------------
19469 # Test if FILE is an executable regular file.
19470 as_fn_executable_p ()
19472 test -f "$1" && test -x "$1"
19473 } # as_fn_executable_p
19474 as_test_x='test -x'
19475 as_executable_p=as_fn_executable_p
19477 # Sed expression to map a string onto a valid CPP name.
19478 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19480 # Sed expression to map a string onto a valid variable name.
19481 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19484 exec 6>&1
19485 ## ----------------------------------- ##
19486 ## Main body of $CONFIG_STATUS script. ##
19487 ## ----------------------------------- ##
19488 _ASEOF
19489 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19492 # Save the log message, to keep $0 and so on meaningful, and to
19493 # report actual input values of CONFIG_FILES etc. instead of their
19494 # values after options handling.
19495 ac_log="
19496 This file was extended by Wine $as_me 2.10, which was
19497 generated by GNU Autoconf 2.69. Invocation command line was
19499 CONFIG_FILES = $CONFIG_FILES
19500 CONFIG_HEADERS = $CONFIG_HEADERS
19501 CONFIG_LINKS = $CONFIG_LINKS
19502 CONFIG_COMMANDS = $CONFIG_COMMANDS
19503 $ $0 $@
19505 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19508 _ACEOF
19510 case $ac_config_files in *"
19511 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19512 esac
19514 case $ac_config_headers in *"
19515 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19516 esac
19519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19520 # Files that config.status was made for.
19521 config_files="$ac_config_files"
19522 config_headers="$ac_config_headers"
19523 config_links="$ac_config_links"
19524 config_commands="$ac_config_commands"
19526 _ACEOF
19528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19529 ac_cs_usage="\
19530 \`$as_me' instantiates files and other configuration actions
19531 from templates according to the current configuration. Unless the files
19532 and actions are specified as TAGs, all are instantiated by default.
19534 Usage: $0 [OPTION]... [TAG]...
19536 -h, --help print this help, then exit
19537 -V, --version print version number and configuration settings, then exit
19538 --config print configuration, then exit
19539 -q, --quiet, --silent
19540 do not print progress messages
19541 -d, --debug don't remove temporary files
19542 --recheck update $as_me by reconfiguring in the same conditions
19543 --file=FILE[:TEMPLATE]
19544 instantiate the configuration file FILE
19545 --header=FILE[:TEMPLATE]
19546 instantiate the configuration header FILE
19548 Configuration files:
19549 $config_files
19551 Configuration headers:
19552 $config_headers
19554 Configuration links:
19555 $config_links
19557 Configuration commands:
19558 $config_commands
19560 Report bugs to <wine-devel@winehq.org>.
19561 Wine home page: <http://www.winehq.org>."
19563 _ACEOF
19564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19565 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19566 ac_cs_version="\\
19567 Wine config.status 2.10
19568 configured by $0, generated by GNU Autoconf 2.69,
19569 with options \\"\$ac_cs_config\\"
19571 Copyright (C) 2012 Free Software Foundation, Inc.
19572 This config.status script is free software; the Free Software Foundation
19573 gives unlimited permission to copy, distribute and modify it."
19575 ac_pwd='$ac_pwd'
19576 srcdir='$srcdir'
19577 test -n "\$AWK" || AWK=awk
19578 _ACEOF
19580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19581 # The default lists apply if the user does not specify any file.
19582 ac_need_defaults=:
19583 while test $# != 0
19585 case $1 in
19586 --*=?*)
19587 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19588 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19589 ac_shift=:
19591 --*=)
19592 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19593 ac_optarg=
19594 ac_shift=:
19597 ac_option=$1
19598 ac_optarg=$2
19599 ac_shift=shift
19601 esac
19603 case $ac_option in
19604 # Handling of the options.
19605 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19606 ac_cs_recheck=: ;;
19607 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19608 $as_echo "$ac_cs_version"; exit ;;
19609 --config | --confi | --conf | --con | --co | --c )
19610 $as_echo "$ac_cs_config"; exit ;;
19611 --debug | --debu | --deb | --de | --d | -d )
19612 debug=: ;;
19613 --file | --fil | --fi | --f )
19614 $ac_shift
19615 case $ac_optarg in
19616 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19617 '') as_fn_error $? "missing file argument" ;;
19618 esac
19619 as_fn_append CONFIG_FILES " '$ac_optarg'"
19620 ac_need_defaults=false;;
19621 --header | --heade | --head | --hea )
19622 $ac_shift
19623 case $ac_optarg in
19624 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19625 esac
19626 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19627 ac_need_defaults=false;;
19628 --he | --h)
19629 # Conflict between --help and --header
19630 as_fn_error $? "ambiguous option: \`$1'
19631 Try \`$0 --help' for more information.";;
19632 --help | --hel | -h )
19633 $as_echo "$ac_cs_usage"; exit ;;
19634 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19635 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19636 ac_cs_silent=: ;;
19638 # This is an error.
19639 -*) as_fn_error $? "unrecognized option: \`$1'
19640 Try \`$0 --help' for more information." ;;
19642 *) as_fn_append ac_config_targets " $1"
19643 ac_need_defaults=false ;;
19645 esac
19646 shift
19647 done
19649 ac_configure_extra_args=
19651 if $ac_cs_silent; then
19652 exec 6>/dev/null
19653 ac_configure_extra_args="$ac_configure_extra_args --silent"
19656 _ACEOF
19657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19658 if \$ac_cs_recheck; then
19659 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19660 shift
19661 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19662 CONFIG_SHELL='$SHELL'
19663 export CONFIG_SHELL
19664 exec "\$@"
19667 _ACEOF
19668 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19669 exec 5>>config.log
19671 echo
19672 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19673 ## Running $as_me. ##
19674 _ASBOX
19675 $as_echo "$ac_log"
19676 } >&5
19678 _ACEOF
19679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19681 # INIT-COMMANDS
19683 wine_fn_output_makedep ()
19685 as_dir=tools; as_fn_mkdir_p
19686 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19688 wine_fn_output_makefile ()
19690 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19691 `cat $wine_rules_file`
19692 _WINE_EOF
19693 as_fn_error $? "could not create Makefile" "$LINENO" 5
19696 _ACEOF
19698 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19700 # Handling of arguments.
19701 for ac_config_target in $ac_config_targets
19703 case $ac_config_target in
19704 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19705 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19706 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19707 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19708 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19709 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19710 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19711 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19712 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19713 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19714 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19715 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19716 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19718 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19719 esac
19720 done
19723 # If the user did not use the arguments to specify the items to instantiate,
19724 # then the envvar interface is used. Set only those that are not.
19725 # We use the long form for the default assignment because of an extremely
19726 # bizarre bug on SunOS 4.1.3.
19727 if $ac_need_defaults; then
19728 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19729 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19730 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19731 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19734 # Have a temporary directory for convenience. Make it in the build tree
19735 # simply because there is no reason against having it here, and in addition,
19736 # creating and moving files from /tmp can sometimes cause problems.
19737 # Hook for its removal unless debugging.
19738 # Note that there is a small window in which the directory will not be cleaned:
19739 # after its creation but before its name has been assigned to `$tmp'.
19740 $debug ||
19742 tmp= ac_tmp=
19743 trap 'exit_status=$?
19744 : "${ac_tmp:=$tmp}"
19745 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19747 trap 'as_fn_exit 1' 1 2 13 15
19749 # Create a (secure) tmp directory for tmp files.
19752 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19753 test -d "$tmp"
19754 } ||
19756 tmp=./conf$$-$RANDOM
19757 (umask 077 && mkdir "$tmp")
19758 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19759 ac_tmp=$tmp
19761 # Set up the scripts for CONFIG_FILES section.
19762 # No need to generate them if there are no CONFIG_FILES.
19763 # This happens for instance with `./config.status config.h'.
19764 if test -n "$CONFIG_FILES"; then
19767 ac_cr=`echo X | tr X '\015'`
19768 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19769 # But we know of no other shell where ac_cr would be empty at this
19770 # point, so we can use a bashism as a fallback.
19771 if test "x$ac_cr" = x; then
19772 eval ac_cr=\$\'\\r\'
19774 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19775 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19776 ac_cs_awk_cr='\\r'
19777 else
19778 ac_cs_awk_cr=$ac_cr
19781 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19782 _ACEOF
19786 echo "cat >conf$$subs.awk <<_ACEOF" &&
19787 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19788 echo "_ACEOF"
19789 } >conf$$subs.sh ||
19790 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19791 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19792 ac_delim='%!_!# '
19793 for ac_last_try in false false false false false :; do
19794 . ./conf$$subs.sh ||
19795 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19797 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19798 if test $ac_delim_n = $ac_delim_num; then
19799 break
19800 elif $ac_last_try; then
19801 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19802 else
19803 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19805 done
19806 rm -f conf$$subs.sh
19808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19809 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19810 _ACEOF
19811 sed -n '
19813 s/^/S["/; s/!.*/"]=/
19816 s/^[^!]*!//
19817 :repl
19818 t repl
19819 s/'"$ac_delim"'$//
19820 t delim
19823 s/\(.\{148\}\)..*/\1/
19824 t more1
19825 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19828 b repl
19829 :more1
19830 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19833 s/.\{148\}//
19834 t nl
19835 :delim
19837 s/\(.\{148\}\)..*/\1/
19838 t more2
19839 s/["\\]/\\&/g; s/^/"/; s/$/"/
19842 :more2
19843 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19846 s/.\{148\}//
19847 t delim
19848 ' <conf$$subs.awk | sed '
19849 /^[^""]/{
19851 s/\n//
19853 ' >>$CONFIG_STATUS || ac_write_fail=1
19854 rm -f conf$$subs.awk
19855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19856 _ACAWK
19857 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19858 for (key in S) S_is_set[key] = 1
19859 FS = "\a"
19863 line = $ 0
19864 nfields = split(line, field, "@")
19865 substed = 0
19866 len = length(field[1])
19867 for (i = 2; i < nfields; i++) {
19868 key = field[i]
19869 keylen = length(key)
19870 if (S_is_set[key]) {
19871 value = S[key]
19872 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19873 len += length(value) + length(field[++i])
19874 substed = 1
19875 } else
19876 len += 1 + keylen
19879 print line
19882 _ACAWK
19883 _ACEOF
19884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19885 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19886 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19887 else
19889 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19890 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19891 _ACEOF
19893 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19894 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19895 # trailing colons and then remove the whole line if VPATH becomes empty
19896 # (actually we leave an empty line to preserve line numbers).
19897 if test "x$srcdir" = x.; then
19898 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19900 s///
19901 s/^/:/
19902 s/[ ]*$/:/
19903 s/:\$(srcdir):/:/g
19904 s/:\${srcdir}:/:/g
19905 s/:@srcdir@:/:/g
19906 s/^:*//
19907 s/:*$//
19909 s/\(=[ ]*\).*/\1/
19911 s/\n//
19912 s/^[^=]*=[ ]*$//
19916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19917 fi # test -n "$CONFIG_FILES"
19919 # Set up the scripts for CONFIG_HEADERS section.
19920 # No need to generate them if there are no CONFIG_HEADERS.
19921 # This happens for instance with `./config.status Makefile'.
19922 if test -n "$CONFIG_HEADERS"; then
19923 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19924 BEGIN {
19925 _ACEOF
19927 # Transform confdefs.h into an awk script `defines.awk', embedded as
19928 # here-document in config.status, that substitutes the proper values into
19929 # config.h.in to produce config.h.
19931 # Create a delimiter string that does not exist in confdefs.h, to ease
19932 # handling of long lines.
19933 ac_delim='%!_!# '
19934 for ac_last_try in false false :; do
19935 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19936 if test -z "$ac_tt"; then
19937 break
19938 elif $ac_last_try; then
19939 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19940 else
19941 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19943 done
19945 # For the awk script, D is an array of macro values keyed by name,
19946 # likewise P contains macro parameters if any. Preserve backslash
19947 # newline sequences.
19949 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19950 sed -n '
19951 s/.\{148\}/&'"$ac_delim"'/g
19952 t rset
19953 :rset
19954 s/^[ ]*#[ ]*define[ ][ ]*/ /
19955 t def
19957 :def
19958 s/\\$//
19959 t bsnl
19960 s/["\\]/\\&/g
19961 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19962 D["\1"]=" \3"/p
19963 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19965 :bsnl
19966 s/["\\]/\\&/g
19967 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19968 D["\1"]=" \3\\\\\\n"\\/p
19969 t cont
19970 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19971 t cont
19973 :cont
19975 s/.\{148\}/&'"$ac_delim"'/g
19976 t clear
19977 :clear
19978 s/\\$//
19979 t bsnlc
19980 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19982 :bsnlc
19983 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19984 b cont
19985 ' <confdefs.h | sed '
19986 s/'"$ac_delim"'/"\\\
19987 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19990 for (key in D) D_is_set[key] = 1
19991 FS = "\a"
19993 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19994 line = \$ 0
19995 split(line, arg, " ")
19996 if (arg[1] == "#") {
19997 defundef = arg[2]
19998 mac1 = arg[3]
19999 } else {
20000 defundef = substr(arg[1], 2)
20001 mac1 = arg[2]
20003 split(mac1, mac2, "(") #)
20004 macro = mac2[1]
20005 prefix = substr(line, 1, index(line, defundef) - 1)
20006 if (D_is_set[macro]) {
20007 # Preserve the white space surrounding the "#".
20008 print prefix "define", macro P[macro] D[macro]
20009 next
20010 } else {
20011 # Replace #undef with comments. This is necessary, for example,
20012 # in the case of _POSIX_SOURCE, which is predefined and required
20013 # on some systems where configure will not decide to define it.
20014 if (defundef == "undef") {
20015 print "/*", prefix defundef, macro, "*/"
20016 next
20020 { print }
20021 _ACAWK
20022 _ACEOF
20023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20024 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20025 fi # test -n "$CONFIG_HEADERS"
20028 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20029 shift
20030 for ac_tag
20032 case $ac_tag in
20033 :[FHLC]) ac_mode=$ac_tag; continue;;
20034 esac
20035 case $ac_mode$ac_tag in
20036 :[FHL]*:*);;
20037 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20038 :[FH]-) ac_tag=-:-;;
20039 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20040 esac
20041 ac_save_IFS=$IFS
20042 IFS=:
20043 set x $ac_tag
20044 IFS=$ac_save_IFS
20045 shift
20046 ac_file=$1
20047 shift
20049 case $ac_mode in
20050 :L) ac_source=$1;;
20051 :[FH])
20052 ac_file_inputs=
20053 for ac_f
20055 case $ac_f in
20056 -) ac_f="$ac_tmp/stdin";;
20057 *) # Look for the file first in the build tree, then in the source tree
20058 # (if the path is not absolute). The absolute path cannot be DOS-style,
20059 # because $ac_f cannot contain `:'.
20060 test -f "$ac_f" ||
20061 case $ac_f in
20062 [\\/$]*) false;;
20063 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20064 esac ||
20065 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20066 esac
20067 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20068 as_fn_append ac_file_inputs " '$ac_f'"
20069 done
20071 # Let's still pretend it is `configure' which instantiates (i.e., don't
20072 # use $as_me), people would be surprised to read:
20073 # /* config.h. Generated by config.status. */
20074 configure_input='Generated from '`
20075 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20076 `' by configure.'
20077 if test x"$ac_file" != x-; then
20078 configure_input="$ac_file. $configure_input"
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20080 $as_echo "$as_me: creating $ac_file" >&6;}
20082 # Neutralize special characters interpreted by sed in replacement strings.
20083 case $configure_input in #(
20084 *\&* | *\|* | *\\* )
20085 ac_sed_conf_input=`$as_echo "$configure_input" |
20086 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20087 *) ac_sed_conf_input=$configure_input;;
20088 esac
20090 case $ac_tag in
20091 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20092 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20093 esac
20095 esac
20097 ac_dir=`$as_dirname -- "$ac_file" ||
20098 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20099 X"$ac_file" : 'X\(//\)[^/]' \| \
20100 X"$ac_file" : 'X\(//\)$' \| \
20101 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20102 $as_echo X"$ac_file" |
20103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20104 s//\1/
20107 /^X\(\/\/\)[^/].*/{
20108 s//\1/
20111 /^X\(\/\/\)$/{
20112 s//\1/
20115 /^X\(\/\).*/{
20116 s//\1/
20119 s/.*/./; q'`
20120 as_dir="$ac_dir"; as_fn_mkdir_p
20121 ac_builddir=.
20123 case "$ac_dir" in
20124 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20126 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20127 # A ".." for each directory in $ac_dir_suffix.
20128 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20129 case $ac_top_builddir_sub in
20130 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20131 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20132 esac ;;
20133 esac
20134 ac_abs_top_builddir=$ac_pwd
20135 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20136 # for backward compatibility:
20137 ac_top_builddir=$ac_top_build_prefix
20139 case $srcdir in
20140 .) # We are building in place.
20141 ac_srcdir=.
20142 ac_top_srcdir=$ac_top_builddir_sub
20143 ac_abs_top_srcdir=$ac_pwd ;;
20144 [\\/]* | ?:[\\/]* ) # Absolute name.
20145 ac_srcdir=$srcdir$ac_dir_suffix;
20146 ac_top_srcdir=$srcdir
20147 ac_abs_top_srcdir=$srcdir ;;
20148 *) # Relative name.
20149 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20150 ac_top_srcdir=$ac_top_build_prefix$srcdir
20151 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20152 esac
20153 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20156 case $ac_mode in
20159 # CONFIG_FILE
20162 _ACEOF
20164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20165 # If the template does not know about datarootdir, expand it.
20166 # FIXME: This hack should be removed a few years after 2.60.
20167 ac_datarootdir_hack=; ac_datarootdir_seen=
20168 ac_sed_dataroot='
20169 /datarootdir/ {
20173 /@datadir@/p
20174 /@docdir@/p
20175 /@infodir@/p
20176 /@localedir@/p
20177 /@mandir@/p'
20178 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20179 *datarootdir*) ac_datarootdir_seen=yes;;
20180 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20182 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20183 _ACEOF
20184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20185 ac_datarootdir_hack='
20186 s&@datadir@&$datadir&g
20187 s&@docdir@&$docdir&g
20188 s&@infodir@&$infodir&g
20189 s&@localedir@&$localedir&g
20190 s&@mandir@&$mandir&g
20191 s&\\\${datarootdir}&$datarootdir&g' ;;
20192 esac
20193 _ACEOF
20195 # Neutralize VPATH when `$srcdir' = `.'.
20196 # Shell code in configure.ac might set extrasub.
20197 # FIXME: do we really want to maintain this feature?
20198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20199 ac_sed_extra="$ac_vpsub
20200 $extrasub
20201 _ACEOF
20202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20204 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20205 s|@configure_input@|$ac_sed_conf_input|;t t
20206 s&@top_builddir@&$ac_top_builddir_sub&;t t
20207 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20208 s&@srcdir@&$ac_srcdir&;t t
20209 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20210 s&@top_srcdir@&$ac_top_srcdir&;t t
20211 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20212 s&@builddir@&$ac_builddir&;t t
20213 s&@abs_builddir@&$ac_abs_builddir&;t t
20214 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20215 $ac_datarootdir_hack
20217 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20218 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20220 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20221 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20222 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20223 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20225 which seems to be undefined. Please make sure it is defined" >&5
20226 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20227 which seems to be undefined. Please make sure it is defined" >&2;}
20229 rm -f "$ac_tmp/stdin"
20230 case $ac_file in
20231 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20232 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20233 esac \
20234 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20238 # CONFIG_HEADER
20240 if test x"$ac_file" != x-; then
20242 $as_echo "/* $configure_input */" \
20243 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20244 } >"$ac_tmp/config.h" \
20245 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20246 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20248 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20249 else
20250 rm -f "$ac_file"
20251 mv "$ac_tmp/config.h" "$ac_file" \
20252 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20254 else
20255 $as_echo "/* $configure_input */" \
20256 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20257 || as_fn_error $? "could not create -" "$LINENO" 5
20262 # CONFIG_LINK
20265 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20267 else
20268 # Prefer the file from the source tree if names are identical.
20269 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20270 ac_source=$srcdir/$ac_source
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20274 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20276 if test ! -r "$ac_source"; then
20277 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20279 rm -f "$ac_file"
20281 # Try a relative symlink, then a hard link, then a copy.
20282 case $ac_source in
20283 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20284 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20285 esac
20286 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20287 ln "$ac_source" "$ac_file" 2>/dev/null ||
20288 cp -p "$ac_source" "$ac_file" ||
20289 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20292 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20293 $as_echo "$as_me: executing $ac_file commands" >&6;}
20295 esac
20298 case $ac_file$ac_mode in
20299 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20300 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20301 "Makefile":C) wine_fn_output_makefile Makefile ;;
20303 esac
20304 done # for ac_tag
20307 as_fn_exit 0
20308 _ACEOF
20309 ac_clean_files=$ac_clean_files_save
20311 test $ac_write_fail = 0 ||
20312 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20315 # configure is writing to config.log, and then calls config.status.
20316 # config.status does its own redirection, appending to config.log.
20317 # Unfortunately, on DOS this fails, as config.log is still kept open
20318 # by configure, so config.status won't be able to write to it; its
20319 # output is simply discarded. So we exec the FD to /dev/null,
20320 # effectively closing config.log, so it can be properly (re)opened and
20321 # appended to by config.status. When coming back to configure, we
20322 # need to make the FD available again.
20323 if test "$no_create" != yes; then
20324 ac_cs_success=:
20325 ac_config_status_args=
20326 test "$silent" = yes &&
20327 ac_config_status_args="$ac_config_status_args --quiet"
20328 exec 5>/dev/null
20329 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20330 exec 5>>config.log
20331 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20332 # would make configure fail if this is the last instruction.
20333 $ac_cs_success || as_fn_exit 1
20335 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20337 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20341 if test "$no_create" = "yes"
20342 then
20343 exit 0
20346 ac_save_IFS="$IFS"
20347 if test "x$wine_notices" != x; then
20348 echo >&6
20349 IFS="|"
20350 for msg in $wine_notices; do
20351 IFS="$ac_save_IFS"
20352 if ${msg:+false} :; then :
20354 else
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20356 $as_echo "$as_me: $msg" >&6;}
20358 done
20360 IFS="|"
20361 for msg in $wine_warnings; do
20362 IFS="$ac_save_IFS"
20363 if ${msg:+false} :; then :
20365 else
20366 echo >&2
20367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20368 $as_echo "$as_me: WARNING: $msg" >&2;}
20370 done
20371 IFS="$ac_save_IFS"
20373 $as_echo "
20374 $as_me: Finished. Do '${ac_make}' to compile Wine.
20375 " >&6