msvcr100/tests: Fix resource leak.
[wine.git] / configure
blobf723166278dcc787276fa2a8673724acc14d37b0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.0-rc4.
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='3.0-rc4'
584 PACKAGE_STRING='Wine 3.0-rc4'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 KRB5_LIBS
652 KRB5_CFLAGS
653 FONTCONFIG_LIBS
654 FONTCONFIG_CFLAGS
655 CUPS_LIBS
656 CUPS_CFLAGS
657 CAPI20_LIBS
658 CAPI20_CFLAGS
659 UDEV_LIBS
660 UDEV_CFLAGS
661 OSS4_CFLAGS
662 ALSA_LIBS
663 GSTREAMER_LIBS
664 GSTREAMER_CFLAGS
665 PULSE_LIBS
666 PULSE_CFLAGS
667 GETTEXTPO_LIBS
668 Z_LIBS
669 FREETYPE_LIBS
670 FREETYPE_CFLAGS
671 LCMS2_LIBS
672 LCMS2_CFLAGS
673 RESOLV_LIBS
674 GPHOTO2_PORT_LIBS
675 GPHOTO2_PORT_CFLAGS
676 GPHOTO2_LIBS
677 GPHOTO2_CFLAGS
678 SANE_LIBS
679 SANE_CFLAGS
680 GNUTLS_LIBS
681 GNUTLS_CFLAGS
682 HAL_LIBS
683 HAL_CFLAGS
684 DBUS_LIBS
685 DBUS_CFLAGS
686 XSLT_LIBS
687 XSLT_CFLAGS
688 XML2_LIBS
689 XML2_CFLAGS
690 PCAP_LIBS
691 X_EXTRA_LIBS
692 X_LIBS
693 X_PRE_LIBS
694 X_CFLAGS
695 XMKMF
696 PTHREAD_LIBS
697 CROSSCFLAGS
698 CROSSCC
699 CROSSTARGET
700 PRELINK
701 WINELOADER_DEPENDS
702 CARBON_LIBS
703 QUICKTIME_LIBS
704 OPENCL_LIBS
705 OPENAL_LIBS
706 COREAUDIO_LIBS
707 SECURITY_LIBS
708 DISKARBITRATION_LIBS
709 APPKIT_LIBS
710 CORESERVICES_LIBS
711 APPLICATIONSERVICES_LIBS
712 FORCEFEEDBACK_LIBS
713 IOKIT_LIBS
714 COREFOUNDATION_LIBS
715 LIBWINE_DEPENDS
716 LIBWINE_LDFLAGS
717 LIBWINE_INSTALL_DEV
718 LIBWINE_INSTALL_LIB
719 LIBWINE_IMPORTLIB
720 LIBWINE_SHAREDLIB
721 SOCKET_LIBS
722 DLLTOOL
723 WINELOADER_PROGRAMS
724 ALL_TEST_RESOURCES
725 CONFIGURE_TARGETS
726 DISABLED_SUBDIRS
727 SUBDIRS
728 READELF
729 OTOOL
731 WINELOADER_LDFLAGS
732 LDEXECFLAGS
733 LDRPATH_LOCAL
734 LDRPATH_INSTALL
735 DLLFLAGS
736 dlldir
738 OPENGL_LIBS
739 ICOTOOL
740 CONVERT
741 RSVG
742 FONTFORGE
743 PKG_CONFIG
744 MSGFMT
745 LDCONFIG
746 EGREP
747 GREP
748 LN_S
749 RANLIB
750 ARFLAGS
751 STRIP
752 ac_ct_AR
754 BISON
755 FLEX
756 TOOLSDIR
757 TARGETFLAGS
759 CPPBIN
760 ac_ct_CXX
761 CXXFLAGS
763 OBJEXT
764 EXEEXT
765 ac_ct_CC
766 CPPFLAGS
767 LDFLAGS
768 CFLAGS
770 SET_MAKE
771 host_os
772 host_vendor
773 host_cpu
774 host
775 build_os
776 build_vendor
777 build_cpu
778 build
779 target_alias
780 host_alias
781 build_alias
782 LIBS
783 ECHO_T
784 ECHO_N
785 ECHO_C
786 DEFS
787 mandir
788 localedir
789 libdir
790 psdir
791 pdfdir
792 dvidir
793 htmldir
794 infodir
795 docdir
796 oldincludedir
797 includedir
798 runstatedir
799 localstatedir
800 sharedstatedir
801 sysconfdir
802 datadir
803 datarootdir
804 libexecdir
805 sbindir
806 bindir
807 program_transform_name
808 prefix
809 exec_prefix
810 PACKAGE_URL
811 PACKAGE_BUGREPORT
812 PACKAGE_STRING
813 PACKAGE_VERSION
814 PACKAGE_TARNAME
815 PACKAGE_NAME
816 PATH_SEPARATOR
817 SHELL'
818 ac_subst_files=''
819 ac_user_opts='
820 enable_option_checking
821 enable_win16
822 enable_win64
823 enable_tests
824 enable_maintainer_mode
825 with_alsa
826 with_capi
827 with_cms
828 with_coreaudio
829 with_cups
830 with_curses
831 with_dbus
832 with_float_abi
833 with_fontconfig
834 with_freetype
835 with_gettext
836 with_gettextpo
837 with_gphoto
838 with_glu
839 with_gnutls
840 with_gsm
841 with_gstreamer
842 with_hal
843 with_jpeg
844 with_krb5
845 with_ldap
846 with_mpg123
847 with_netapi
848 with_openal
849 with_opencl
850 with_opengl
851 with_osmesa
852 with_oss
853 with_pcap
854 with_png
855 with_pthread
856 with_pulse
857 with_sane
858 with_tiff
859 with_udev
860 with_v4l
861 with_xcomposite
862 with_xcursor
863 with_xfixes
864 with_xinerama
865 with_xinput
866 with_xinput2
867 with_xml
868 with_xrandr
869 with_xrender
870 with_xshape
871 with_xshm
872 with_xslt
873 with_xxf86vm
874 with_zlib
875 with_wine_tools
876 with_wine64
877 enable_largefile
878 with_x
879 enable_acledit
880 enable_aclui
881 enable_activeds
882 enable_actxprxy
883 enable_adsldpc
884 enable_advapi32
885 enable_advpack
886 enable_amstream
887 enable_api_ms_win_appmodel_identity_l1_1_0
888 enable_api_ms_win_appmodel_runtime_l1_1_1
889 enable_api_ms_win_appmodel_runtime_l1_1_2
890 enable_api_ms_win_core_apiquery_l1_1_0
891 enable_api_ms_win_core_appcompat_l1_1_1
892 enable_api_ms_win_core_appinit_l1_1_0
893 enable_api_ms_win_core_atoms_l1_1_0
894 enable_api_ms_win_core_bem_l1_1_0
895 enable_api_ms_win_core_com_l1_1_0
896 enable_api_ms_win_core_com_l1_1_1
897 enable_api_ms_win_core_com_private_l1_1_0
898 enable_api_ms_win_core_console_l1_1_0
899 enable_api_ms_win_core_console_l2_1_0
900 enable_api_ms_win_core_crt_l1_1_0
901 enable_api_ms_win_core_crt_l2_1_0
902 enable_api_ms_win_core_datetime_l1_1_0
903 enable_api_ms_win_core_datetime_l1_1_1
904 enable_api_ms_win_core_debug_l1_1_0
905 enable_api_ms_win_core_debug_l1_1_1
906 enable_api_ms_win_core_delayload_l1_1_0
907 enable_api_ms_win_core_delayload_l1_1_1
908 enable_api_ms_win_core_errorhandling_l1_1_0
909 enable_api_ms_win_core_errorhandling_l1_1_1
910 enable_api_ms_win_core_errorhandling_l1_1_2
911 enable_api_ms_win_core_errorhandling_l1_1_3
912 enable_api_ms_win_core_fibers_l1_1_0
913 enable_api_ms_win_core_fibers_l1_1_1
914 enable_api_ms_win_core_file_l1_1_0
915 enable_api_ms_win_core_file_l1_2_0
916 enable_api_ms_win_core_file_l1_2_1
917 enable_api_ms_win_core_file_l1_2_2
918 enable_api_ms_win_core_file_l2_1_0
919 enable_api_ms_win_core_file_l2_1_1
920 enable_api_ms_win_core_file_l2_1_2
921 enable_api_ms_win_core_handle_l1_1_0
922 enable_api_ms_win_core_heap_l1_1_0
923 enable_api_ms_win_core_heap_l1_2_0
924 enable_api_ms_win_core_heap_l2_1_0
925 enable_api_ms_win_core_heap_obsolete_l1_1_0
926 enable_api_ms_win_core_interlocked_l1_1_0
927 enable_api_ms_win_core_interlocked_l1_2_0
928 enable_api_ms_win_core_io_l1_1_0
929 enable_api_ms_win_core_io_l1_1_1
930 enable_api_ms_win_core_job_l1_1_0
931 enable_api_ms_win_core_job_l2_1_0
932 enable_api_ms_win_core_kernel32_legacy_l1_1_0
933 enable_api_ms_win_core_kernel32_legacy_l1_1_1
934 enable_api_ms_win_core_kernel32_private_l1_1_1
935 enable_api_ms_win_core_libraryloader_l1_1_0
936 enable_api_ms_win_core_libraryloader_l1_1_1
937 enable_api_ms_win_core_libraryloader_l1_2_0
938 enable_api_ms_win_core_libraryloader_l1_2_1
939 enable_api_ms_win_core_libraryloader_l1_2_2
940 enable_api_ms_win_core_localization_l1_1_0
941 enable_api_ms_win_core_localization_l1_2_0
942 enable_api_ms_win_core_localization_l1_2_1
943 enable_api_ms_win_core_localization_l2_1_0
944 enable_api_ms_win_core_localization_obsolete_l1_1_0
945 enable_api_ms_win_core_localization_obsolete_l1_2_0
946 enable_api_ms_win_core_localization_obsolete_l1_3_0
947 enable_api_ms_win_core_localization_private_l1_1_0
948 enable_api_ms_win_core_localregistry_l1_1_0
949 enable_api_ms_win_core_memory_l1_1_0
950 enable_api_ms_win_core_memory_l1_1_1
951 enable_api_ms_win_core_memory_l1_1_2
952 enable_api_ms_win_core_misc_l1_1_0
953 enable_api_ms_win_core_namedpipe_l1_1_0
954 enable_api_ms_win_core_namedpipe_l1_2_0
955 enable_api_ms_win_core_namespace_l1_1_0
956 enable_api_ms_win_core_normalization_l1_1_0
957 enable_api_ms_win_core_path_l1_1_0
958 enable_api_ms_win_core_privateprofile_l1_1_1
959 enable_api_ms_win_core_processenvironment_l1_1_0
960 enable_api_ms_win_core_processenvironment_l1_2_0
961 enable_api_ms_win_core_processthreads_l1_1_0
962 enable_api_ms_win_core_processthreads_l1_1_1
963 enable_api_ms_win_core_processthreads_l1_1_2
964 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
965 enable_api_ms_win_core_profile_l1_1_0
966 enable_api_ms_win_core_psapi_ansi_l1_1_0
967 enable_api_ms_win_core_psapi_l1_1_0
968 enable_api_ms_win_core_psapi_obsolete_l1_1_0
969 enable_api_ms_win_core_quirks_l1_1_0
970 enable_api_ms_win_core_realtime_l1_1_0
971 enable_api_ms_win_core_registry_l1_1_0
972 enable_api_ms_win_core_registry_l2_1_0
973 enable_api_ms_win_core_registryuserspecific_l1_1_0
974 enable_api_ms_win_core_rtlsupport_l1_1_0
975 enable_api_ms_win_core_rtlsupport_l1_2_0
976 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
977 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
978 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
979 enable_api_ms_win_core_sidebyside_l1_1_0
980 enable_api_ms_win_core_string_l1_1_0
981 enable_api_ms_win_core_string_l2_1_0
982 enable_api_ms_win_core_string_obsolete_l1_1_0
983 enable_api_ms_win_core_stringansi_l1_1_0
984 enable_api_ms_win_core_synch_ansi_l1_1_0
985 enable_api_ms_win_core_synch_l1_1_0
986 enable_api_ms_win_core_synch_l1_2_0
987 enable_api_ms_win_core_synch_l1_2_1
988 enable_api_ms_win_core_sysinfo_l1_1_0
989 enable_api_ms_win_core_sysinfo_l1_2_0
990 enable_api_ms_win_core_sysinfo_l1_2_1
991 enable_api_ms_win_core_threadpool_l1_1_0
992 enable_api_ms_win_core_threadpool_l1_2_0
993 enable_api_ms_win_core_threadpool_legacy_l1_1_0
994 enable_api_ms_win_core_threadpool_private_l1_1_0
995 enable_api_ms_win_core_timezone_l1_1_0
996 enable_api_ms_win_core_toolhelp_l1_1_0
997 enable_api_ms_win_core_url_l1_1_0
998 enable_api_ms_win_core_util_l1_1_0
999 enable_api_ms_win_core_version_l1_1_0
1000 enable_api_ms_win_core_version_l1_1_1
1001 enable_api_ms_win_core_version_private_l1_1_0
1002 enable_api_ms_win_core_versionansi_l1_1_0
1003 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1004 enable_api_ms_win_core_winrt_error_l1_1_0
1005 enable_api_ms_win_core_winrt_error_l1_1_1
1006 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1007 enable_api_ms_win_core_winrt_l1_1_0
1008 enable_api_ms_win_core_winrt_registration_l1_1_0
1009 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1010 enable_api_ms_win_core_winrt_string_l1_1_0
1011 enable_api_ms_win_core_wow64_l1_1_0
1012 enable_api_ms_win_core_wow64_l1_1_1
1013 enable_api_ms_win_core_xstate_l1_1_0
1014 enable_api_ms_win_core_xstate_l2_1_0
1015 enable_api_ms_win_crt_conio_l1_1_0
1016 enable_api_ms_win_crt_convert_l1_1_0
1017 enable_api_ms_win_crt_environment_l1_1_0
1018 enable_api_ms_win_crt_filesystem_l1_1_0
1019 enable_api_ms_win_crt_heap_l1_1_0
1020 enable_api_ms_win_crt_locale_l1_1_0
1021 enable_api_ms_win_crt_math_l1_1_0
1022 enable_api_ms_win_crt_multibyte_l1_1_0
1023 enable_api_ms_win_crt_private_l1_1_0
1024 enable_api_ms_win_crt_process_l1_1_0
1025 enable_api_ms_win_crt_runtime_l1_1_0
1026 enable_api_ms_win_crt_stdio_l1_1_0
1027 enable_api_ms_win_crt_string_l1_1_0
1028 enable_api_ms_win_crt_time_l1_1_0
1029 enable_api_ms_win_crt_utility_l1_1_0
1030 enable_api_ms_win_devices_config_l1_1_1
1031 enable_api_ms_win_devices_query_l1_1_1
1032 enable_api_ms_win_downlevel_advapi32_l1_1_0
1033 enable_api_ms_win_downlevel_advapi32_l2_1_0
1034 enable_api_ms_win_downlevel_normaliz_l1_1_0
1035 enable_api_ms_win_downlevel_ole32_l1_1_0
1036 enable_api_ms_win_downlevel_shell32_l1_1_0
1037 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1038 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1039 enable_api_ms_win_downlevel_user32_l1_1_0
1040 enable_api_ms_win_downlevel_version_l1_1_0
1041 enable_api_ms_win_dx_d3dkmt_l1_1_0
1042 enable_api_ms_win_eventing_classicprovider_l1_1_0
1043 enable_api_ms_win_eventing_consumer_l1_1_0
1044 enable_api_ms_win_eventing_controller_l1_1_0
1045 enable_api_ms_win_eventing_legacy_l1_1_0
1046 enable_api_ms_win_eventing_provider_l1_1_0
1047 enable_api_ms_win_eventlog_legacy_l1_1_0
1048 enable_api_ms_win_mm_joystick_l1_1_0
1049 enable_api_ms_win_mm_misc_l1_1_1
1050 enable_api_ms_win_mm_mme_l1_1_0
1051 enable_api_ms_win_mm_time_l1_1_0
1052 enable_api_ms_win_ntuser_dc_access_l1_1_0
1053 enable_api_ms_win_ntuser_rectangle_l1_1_0
1054 enable_api_ms_win_power_base_l1_1_0
1055 enable_api_ms_win_power_setting_l1_1_0
1056 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1057 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1058 enable_api_ms_win_security_audit_l1_1_1
1059 enable_api_ms_win_security_base_l1_1_0
1060 enable_api_ms_win_security_base_l1_2_0
1061 enable_api_ms_win_security_base_private_l1_1_1
1062 enable_api_ms_win_security_credentials_l1_1_0
1063 enable_api_ms_win_security_grouppolicy_l1_1_0
1064 enable_api_ms_win_security_lsalookup_l1_1_0
1065 enable_api_ms_win_security_lsalookup_l1_1_1
1066 enable_api_ms_win_security_lsalookup_l2_1_1
1067 enable_api_ms_win_security_lsapolicy_l1_1_0
1068 enable_api_ms_win_security_provider_l1_1_0
1069 enable_api_ms_win_security_sddl_l1_1_0
1070 enable_api_ms_win_security_systemfunctions_l1_1_0
1071 enable_api_ms_win_service_core_l1_1_0
1072 enable_api_ms_win_service_core_l1_1_1
1073 enable_api_ms_win_service_management_l1_1_0
1074 enable_api_ms_win_service_management_l2_1_0
1075 enable_api_ms_win_service_private_l1_1_1
1076 enable_api_ms_win_service_winsvc_l1_1_0
1077 enable_api_ms_win_service_winsvc_l1_2_0
1078 enable_api_ms_win_shcore_scaling_l1_1_1
1079 enable_api_ms_win_shell_shellcom_l1_1_0
1080 enable_api_ms_win_shell_shellfolders_l1_1_0
1081 enable_apphelp
1082 enable_appwiz_cpl
1083 enable_atl
1084 enable_atl100
1085 enable_atl110
1086 enable_atl80
1087 enable_atl90
1088 enable_authz
1089 enable_avicap32
1090 enable_avifil32
1091 enable_avrt
1092 enable_bcrypt
1093 enable_bluetoothapis
1094 enable_browseui
1095 enable_bthprops_cpl
1096 enable_cabinet
1097 enable_capi2032
1098 enable_cards
1099 enable_cfgmgr32
1100 enable_clusapi
1101 enable_combase
1102 enable_comcat
1103 enable_comctl32
1104 enable_comdlg32
1105 enable_compstui
1106 enable_comsvcs
1107 enable_concrt140
1108 enable_connect
1109 enable_credui
1110 enable_crtdll
1111 enable_crypt32
1112 enable_cryptdlg
1113 enable_cryptdll
1114 enable_cryptext
1115 enable_cryptnet
1116 enable_cryptui
1117 enable_ctapi32
1118 enable_ctl3d32
1119 enable_d2d1
1120 enable_d3d10
1121 enable_d3d10_1
1122 enable_d3d10core
1123 enable_d3d11
1124 enable_d3d8
1125 enable_d3d9
1126 enable_d3dcompiler_33
1127 enable_d3dcompiler_34
1128 enable_d3dcompiler_35
1129 enable_d3dcompiler_36
1130 enable_d3dcompiler_37
1131 enable_d3dcompiler_38
1132 enable_d3dcompiler_39
1133 enable_d3dcompiler_40
1134 enable_d3dcompiler_41
1135 enable_d3dcompiler_42
1136 enable_d3dcompiler_43
1137 enable_d3dcompiler_46
1138 enable_d3dcompiler_47
1139 enable_d3dim
1140 enable_d3drm
1141 enable_d3dx10_33
1142 enable_d3dx10_34
1143 enable_d3dx10_35
1144 enable_d3dx10_36
1145 enable_d3dx10_37
1146 enable_d3dx10_38
1147 enable_d3dx10_39
1148 enable_d3dx10_40
1149 enable_d3dx10_41
1150 enable_d3dx10_42
1151 enable_d3dx10_43
1152 enable_d3dx11_42
1153 enable_d3dx11_43
1154 enable_d3dx9_24
1155 enable_d3dx9_25
1156 enable_d3dx9_26
1157 enable_d3dx9_27
1158 enable_d3dx9_28
1159 enable_d3dx9_29
1160 enable_d3dx9_30
1161 enable_d3dx9_31
1162 enable_d3dx9_32
1163 enable_d3dx9_33
1164 enable_d3dx9_34
1165 enable_d3dx9_35
1166 enable_d3dx9_36
1167 enable_d3dx9_37
1168 enable_d3dx9_38
1169 enable_d3dx9_39
1170 enable_d3dx9_40
1171 enable_d3dx9_41
1172 enable_d3dx9_42
1173 enable_d3dx9_43
1174 enable_d3dxof
1175 enable_davclnt
1176 enable_dbgeng
1177 enable_dbghelp
1178 enable_dciman32
1179 enable_ddraw
1180 enable_ddrawex
1181 enable_devenum
1182 enable_dhcpcsvc
1183 enable_difxapi
1184 enable_dinput
1185 enable_dinput8
1186 enable_dispex
1187 enable_dmband
1188 enable_dmcompos
1189 enable_dmime
1190 enable_dmloader
1191 enable_dmscript
1192 enable_dmstyle
1193 enable_dmsynth
1194 enable_dmusic
1195 enable_dmusic32
1196 enable_dnsapi
1197 enable_dplay
1198 enable_dplayx
1199 enable_dpnaddr
1200 enable_dpnet
1201 enable_dpnhpast
1202 enable_dpnlobby
1203 enable_dpvoice
1204 enable_dpwsockx
1205 enable_drmclien
1206 enable_dsound
1207 enable_dsquery
1208 enable_dssenh
1209 enable_dswave
1210 enable_dwmapi
1211 enable_dwrite
1212 enable_dx8vb
1213 enable_dxdiagn
1214 enable_dxgi
1215 enable_dxva2
1216 enable_esent
1217 enable_evr
1218 enable_explorerframe
1219 enable_ext_ms_win_authz_context_l1_1_0
1220 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1221 enable_ext_ms_win_gdi_dc_create_l1_1_1
1222 enable_ext_ms_win_gdi_dc_l1_2_0
1223 enable_ext_ms_win_gdi_devcaps_l1_1_0
1224 enable_ext_ms_win_gdi_draw_l1_1_1
1225 enable_ext_ms_win_gdi_render_l1_1_0
1226 enable_ext_ms_win_kernel32_package_current_l1_1_0
1227 enable_ext_ms_win_kernel32_package_l1_1_1
1228 enable_ext_ms_win_ntuser_message_l1_1_1
1229 enable_ext_ms_win_ntuser_private_l1_1_1
1230 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1231 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1232 enable_ext_ms_win_ntuser_window_l1_1_1
1233 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1234 enable_ext_ms_win_ras_rasapi32_l1_1_0
1235 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1236 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1237 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1238 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1239 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1240 enable_ext_ms_win_security_credui_l1_1_0
1241 enable_ext_ms_win_security_cryptui_l1_1_0
1242 enable_faultrep
1243 enable_fltlib
1244 enable_fltmgr_sys
1245 enable_fntcache
1246 enable_fontsub
1247 enable_fusion
1248 enable_fwpuclnt
1249 enable_gameux
1250 enable_gdi32
1251 enable_gdiplus
1252 enable_glu32
1253 enable_gphoto2_ds
1254 enable_gpkcsp
1255 enable_hal
1256 enable_hhctrl_ocx
1257 enable_hid
1258 enable_hidclass_sys
1259 enable_hlink
1260 enable_hnetcfg
1261 enable_httpapi
1262 enable_iccvid
1263 enable_icmp
1264 enable_ieframe
1265 enable_ieproxy
1266 enable_imaadp32_acm
1267 enable_imagehlp
1268 enable_imm32
1269 enable_inetcomm
1270 enable_inetcpl_cpl
1271 enable_inetmib1
1272 enable_infosoft
1273 enable_initpki
1274 enable_inkobj
1275 enable_inseng
1276 enable_iphlpapi
1277 enable_iprop
1278 enable_irprops_cpl
1279 enable_itircl
1280 enable_itss
1281 enable_joy_cpl
1282 enable_jscript
1283 enable_jsproxy
1284 enable_kerberos
1285 enable_kernel32
1286 enable_kernelbase
1287 enable_ksuser
1288 enable_ktmw32
1289 enable_l3codeca_acm
1290 enable_loadperf
1291 enable_localspl
1292 enable_localui
1293 enable_lz32
1294 enable_mapi32
1295 enable_mapistub
1296 enable_mciavi32
1297 enable_mcicda
1298 enable_mciqtz32
1299 enable_mciseq
1300 enable_mciwave
1301 enable_mf
1302 enable_mf3216
1303 enable_mfplat
1304 enable_mfreadwrite
1305 enable_mgmtapi
1306 enable_midimap
1307 enable_mlang
1308 enable_mmcndmgr
1309 enable_mmdevapi
1310 enable_mountmgr_sys
1311 enable_mpr
1312 enable_mprapi
1313 enable_msacm32_drv
1314 enable_msacm32
1315 enable_msadp32_acm
1316 enable_msasn1
1317 enable_mscat32
1318 enable_mscms
1319 enable_mscoree
1320 enable_msctf
1321 enable_msctfp
1322 enable_msdaps
1323 enable_msdelta
1324 enable_msdmo
1325 enable_msdrm
1326 enable_msftedit
1327 enable_msg711_acm
1328 enable_msgsm32_acm
1329 enable_mshtml_tlb
1330 enable_mshtml
1331 enable_msi
1332 enable_msident
1333 enable_msimg32
1334 enable_msimsg
1335 enable_msimtf
1336 enable_msisip
1337 enable_msisys_ocx
1338 enable_msls31
1339 enable_msnet32
1340 enable_mspatcha
1341 enable_msports
1342 enable_msrle32
1343 enable_msscript_ocx
1344 enable_mssign32
1345 enable_mssip32
1346 enable_mstask
1347 enable_msvcirt
1348 enable_msvcm80
1349 enable_msvcm90
1350 enable_msvcp100
1351 enable_msvcp110
1352 enable_msvcp120
1353 enable_msvcp120_app
1354 enable_msvcp140
1355 enable_msvcp60
1356 enable_msvcp70
1357 enable_msvcp71
1358 enable_msvcp80
1359 enable_msvcp90
1360 enable_msvcr100
1361 enable_msvcr110
1362 enable_msvcr120
1363 enable_msvcr120_app
1364 enable_msvcr70
1365 enable_msvcr71
1366 enable_msvcr80
1367 enable_msvcr90
1368 enable_msvcrt
1369 enable_msvcrt20
1370 enable_msvcrt40
1371 enable_msvcrtd
1372 enable_msvfw32
1373 enable_msvidc32
1374 enable_mswsock
1375 enable_msxml
1376 enable_msxml2
1377 enable_msxml3
1378 enable_msxml4
1379 enable_msxml6
1380 enable_mtxdm
1381 enable_ncrypt
1382 enable_nddeapi
1383 enable_ndis_sys
1384 enable_netapi32
1385 enable_netcfgx
1386 enable_netprofm
1387 enable_newdev
1388 enable_normaliz
1389 enable_npmshtml
1390 enable_npptools
1391 enable_ntdll
1392 enable_ntdsapi
1393 enable_ntoskrnl_exe
1394 enable_ntprint
1395 enable_objsel
1396 enable_odbc32
1397 enable_odbccp32
1398 enable_odbccu32
1399 enable_ole32
1400 enable_oleacc
1401 enable_oleaut32
1402 enable_olecli32
1403 enable_oledb32
1404 enable_oledlg
1405 enable_olepro32
1406 enable_olesvr32
1407 enable_olethk32
1408 enable_openal32
1409 enable_opencl
1410 enable_opengl32
1411 enable_packager
1412 enable_pdh
1413 enable_photometadatahandler
1414 enable_pidgen
1415 enable_powrprof
1416 enable_printui
1417 enable_prntvpt
1418 enable_propsys
1419 enable_psapi
1420 enable_pstorec
1421 enable_qcap
1422 enable_qedit
1423 enable_qmgr
1424 enable_qmgrprxy
1425 enable_quartz
1426 enable_query
1427 enable_rasapi32
1428 enable_rasdlg
1429 enable_regapi
1430 enable_resutils
1431 enable_riched20
1432 enable_riched32
1433 enable_rpcrt4
1434 enable_rsabase
1435 enable_rsaenh
1436 enable_rstrtmgr
1437 enable_rtutils
1438 enable_samlib
1439 enable_sane_ds
1440 enable_sapi
1441 enable_scarddlg
1442 enable_sccbase
1443 enable_schannel
1444 enable_schedsvc
1445 enable_scrobj
1446 enable_scrrun
1447 enable_scsiport_sys
1448 enable_secur32
1449 enable_security
1450 enable_sensapi
1451 enable_serialui
1452 enable_setupapi
1453 enable_sfc
1454 enable_sfc_os
1455 enable_shdoclc
1456 enable_shdocvw
1457 enable_shell32
1458 enable_shfolder
1459 enable_shlwapi
1460 enable_slbcsp
1461 enable_slc
1462 enable_snmpapi
1463 enable_softpub
1464 enable_spoolss
1465 enable_sspicli
1466 enable_stdole2_tlb
1467 enable_stdole32_tlb
1468 enable_sti
1469 enable_svrapi
1470 enable_sxs
1471 enable_t2embed
1472 enable_tapi32
1473 enable_taskschd
1474 enable_tdh
1475 enable_tdi_sys
1476 enable_traffic
1477 enable_twain_32
1478 enable_ucrtbase
1479 enable_uiautomationcore
1480 enable_uiribbon
1481 enable_unicows
1482 enable_updspapi
1483 enable_url
1484 enable_urlmon
1485 enable_usbd_sys
1486 enable_user32
1487 enable_userenv
1488 enable_usp10
1489 enable_uxtheme
1490 enable_vbscript
1491 enable_vcomp
1492 enable_vcomp100
1493 enable_vcomp110
1494 enable_vcomp120
1495 enable_vcomp140
1496 enable_vcomp90
1497 enable_vcruntime140
1498 enable_vdmdbg
1499 enable_version
1500 enable_virtdisk
1501 enable_vssapi
1502 enable_wbemdisp
1503 enable_wbemprox
1504 enable_wdscore
1505 enable_webservices
1506 enable_wer
1507 enable_wevtapi
1508 enable_wiaservc
1509 enable_wimgapi
1510 enable_windowscodecs
1511 enable_windowscodecsext
1512 enable_winealsa_drv
1513 enable_wineandroid_drv
1514 enable_winebus_sys
1515 enable_winecoreaudio_drv
1516 enable_wined3d
1517 enable_winegstreamer
1518 enable_winehid_sys
1519 enable_winejoystick_drv
1520 enable_winemac_drv
1521 enable_winemapi
1522 enable_wineoss_drv
1523 enable_wineps_drv
1524 enable_winepulse_drv
1525 enable_wineqtdecoder
1526 enable_winex11_drv
1527 enable_wing32
1528 enable_winhttp
1529 enable_wininet
1530 enable_winmm
1531 enable_winnls32
1532 enable_winscard
1533 enable_winspool_drv
1534 enable_winsta
1535 enable_wintab32
1536 enable_wintrust
1537 enable_winusb
1538 enable_wlanapi
1539 enable_wldap32
1540 enable_wmasf
1541 enable_wmi
1542 enable_wmiutils
1543 enable_wmp
1544 enable_wmphoto
1545 enable_wmvcore
1546 enable_wnaspi32
1547 enable_wpc
1548 enable_wpcap
1549 enable_ws2_32
1550 enable_wsdapi
1551 enable_wshom_ocx
1552 enable_wsnmp32
1553 enable_wsock32
1554 enable_wtsapi32
1555 enable_wuapi
1556 enable_wuaueng
1557 enable_x3daudio1_0
1558 enable_x3daudio1_1
1559 enable_x3daudio1_2
1560 enable_x3daudio1_3
1561 enable_x3daudio1_4
1562 enable_x3daudio1_5
1563 enable_x3daudio1_6
1564 enable_x3daudio1_7
1565 enable_xapofx1_1
1566 enable_xapofx1_2
1567 enable_xapofx1_3
1568 enable_xapofx1_4
1569 enable_xapofx1_5
1570 enable_xaudio2_0
1571 enable_xaudio2_1
1572 enable_xaudio2_2
1573 enable_xaudio2_3
1574 enable_xaudio2_4
1575 enable_xaudio2_5
1576 enable_xaudio2_6
1577 enable_xaudio2_7
1578 enable_xaudio2_8
1579 enable_xaudio2_9
1580 enable_xinput1_1
1581 enable_xinput1_2
1582 enable_xinput1_3
1583 enable_xinput1_4
1584 enable_xinput9_1_0
1585 enable_xmllite
1586 enable_xolehlp
1587 enable_xpsprint
1588 enable_xpssvcs
1589 enable_fonts
1590 enable_include
1591 enable_libs_port
1592 enable_libs_wine
1593 enable_libs_wpp
1594 enable_loader
1595 enable_po
1596 enable_arp
1597 enable_aspnet_regiis
1598 enable_attrib
1599 enable_cabarc
1600 enable_cacls
1601 enable_clock
1602 enable_cmd
1603 enable_conhost
1604 enable_control
1605 enable_cscript
1606 enable_dpnsvr
1607 enable_dxdiag
1608 enable_eject
1609 enable_expand
1610 enable_explorer
1611 enable_extrac32
1612 enable_findstr
1613 enable_fsutil
1614 enable_hh
1615 enable_hostname
1616 enable_icacls
1617 enable_icinfo
1618 enable_iexplore
1619 enable_ipconfig
1620 enable_lodctr
1621 enable_mofcomp
1622 enable_mshta
1623 enable_msiexec
1624 enable_msinfo32
1625 enable_net
1626 enable_netsh
1627 enable_netstat
1628 enable_ngen
1629 enable_notepad
1630 enable_oleview
1631 enable_ping
1632 enable_plugplay
1633 enable_powershell
1634 enable_presentationfontcache
1635 enable_progman
1636 enable_reg
1637 enable_regasm
1638 enable_regedit
1639 enable_regsvcs
1640 enable_regsvr32
1641 enable_rpcss
1642 enable_rundll32
1643 enable_sc
1644 enable_schtasks
1645 enable_sdbinst
1646 enable_secedit
1647 enable_servicemodelreg
1648 enable_services
1649 enable_shutdown
1650 enable_spoolsv
1651 enable_start
1652 enable_subst
1653 enable_svchost
1654 enable_systeminfo
1655 enable_taskkill
1656 enable_tasklist
1657 enable_taskmgr
1658 enable_termsv
1659 enable_uninstaller
1660 enable_unlodctr
1661 enable_view
1662 enable_wevtutil
1663 enable_wineboot
1664 enable_winebrowser
1665 enable_winecfg
1666 enable_wineconsole
1667 enable_winedbg
1668 enable_winedevice
1669 enable_winefile
1670 enable_winemenubuilder
1671 enable_winemine
1672 enable_winemsibuilder
1673 enable_winepath
1674 enable_winetest
1675 enable_winhlp32
1676 enable_winver
1677 enable_wmic
1678 enable_wmplayer
1679 enable_wordpad
1680 enable_write
1681 enable_wscript
1682 enable_wusa
1683 enable_xcopy
1684 enable_server
1685 enable_tools
1687 ac_precious_vars='build_alias
1688 host_alias
1689 target_alias
1691 CFLAGS
1692 LDFLAGS
1693 LIBS
1694 CPPFLAGS
1696 CXXFLAGS
1699 XMKMF
1700 XML2_CFLAGS
1701 XML2_LIBS
1702 XSLT_CFLAGS
1703 XSLT_LIBS
1704 DBUS_CFLAGS
1705 DBUS_LIBS
1706 HAL_CFLAGS
1707 HAL_LIBS
1708 GNUTLS_CFLAGS
1709 GNUTLS_LIBS
1710 SANE_CFLAGS
1711 SANE_LIBS
1712 GPHOTO2_CFLAGS
1713 GPHOTO2_LIBS
1714 GPHOTO2_PORT_CFLAGS
1715 GPHOTO2_PORT_LIBS
1716 LCMS2_CFLAGS
1717 LCMS2_LIBS
1718 FREETYPE_CFLAGS
1719 FREETYPE_LIBS
1720 PULSE_CFLAGS
1721 PULSE_LIBS
1722 GSTREAMER_CFLAGS
1723 GSTREAMER_LIBS
1724 UDEV_CFLAGS
1725 UDEV_LIBS
1726 CAPI20_CFLAGS
1727 CAPI20_LIBS
1728 CUPS_CFLAGS
1729 CUPS_LIBS
1730 FONTCONFIG_CFLAGS
1731 FONTCONFIG_LIBS
1732 KRB5_CFLAGS
1733 KRB5_LIBS
1734 JPEG_CFLAGS
1735 JPEG_LIBS
1736 PNG_CFLAGS
1737 PNG_LIBS
1738 TIFF_CFLAGS
1739 TIFF_LIBS
1740 MPG123_CFLAGS
1741 MPG123_LIBS
1742 NETAPI_CFLAGS
1743 NETAPI_LIBS
1744 LDAP_CFLAGS
1745 LDAP_LIBS'
1748 # Initialize some variables set by options.
1749 ac_init_help=
1750 ac_init_version=false
1751 ac_unrecognized_opts=
1752 ac_unrecognized_sep=
1753 # The variables have the same names as the options, with
1754 # dashes changed to underlines.
1755 cache_file=/dev/null
1756 exec_prefix=NONE
1757 no_create=
1758 no_recursion=
1759 prefix=NONE
1760 program_prefix=NONE
1761 program_suffix=NONE
1762 program_transform_name=s,x,x,
1763 silent=
1764 site=
1765 srcdir=
1766 verbose=
1767 x_includes=NONE
1768 x_libraries=NONE
1770 # Installation directory options.
1771 # These are left unexpanded so users can "make install exec_prefix=/foo"
1772 # and all the variables that are supposed to be based on exec_prefix
1773 # by default will actually change.
1774 # Use braces instead of parens because sh, perl, etc. also accept them.
1775 # (The list follows the same order as the GNU Coding Standards.)
1776 bindir='${exec_prefix}/bin'
1777 sbindir='${exec_prefix}/sbin'
1778 libexecdir='${exec_prefix}/libexec'
1779 datarootdir='${prefix}/share'
1780 datadir='${datarootdir}'
1781 sysconfdir='${prefix}/etc'
1782 sharedstatedir='${prefix}/com'
1783 localstatedir='${prefix}/var'
1784 runstatedir='${localstatedir}/run'
1785 includedir='${prefix}/include'
1786 oldincludedir='/usr/include'
1787 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1788 infodir='${datarootdir}/info'
1789 htmldir='${docdir}'
1790 dvidir='${docdir}'
1791 pdfdir='${docdir}'
1792 psdir='${docdir}'
1793 libdir='${exec_prefix}/lib'
1794 localedir='${datarootdir}/locale'
1795 mandir='${datarootdir}/man'
1797 ac_prev=
1798 ac_dashdash=
1799 for ac_option
1801 # If the previous option needs an argument, assign it.
1802 if test -n "$ac_prev"; then
1803 eval $ac_prev=\$ac_option
1804 ac_prev=
1805 continue
1808 case $ac_option in
1809 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1810 *=) ac_optarg= ;;
1811 *) ac_optarg=yes ;;
1812 esac
1814 # Accept the important Cygnus configure options, so we can diagnose typos.
1816 case $ac_dashdash$ac_option in
1818 ac_dashdash=yes ;;
1820 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1821 ac_prev=bindir ;;
1822 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1823 bindir=$ac_optarg ;;
1825 -build | --build | --buil | --bui | --bu)
1826 ac_prev=build_alias ;;
1827 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1828 build_alias=$ac_optarg ;;
1830 -cache-file | --cache-file | --cache-fil | --cache-fi \
1831 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1832 ac_prev=cache_file ;;
1833 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1834 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1835 cache_file=$ac_optarg ;;
1837 --config-cache | -C)
1838 cache_file=config.cache ;;
1840 -datadir | --datadir | --datadi | --datad)
1841 ac_prev=datadir ;;
1842 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1843 datadir=$ac_optarg ;;
1845 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1846 | --dataroo | --dataro | --datar)
1847 ac_prev=datarootdir ;;
1848 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1849 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1850 datarootdir=$ac_optarg ;;
1852 -disable-* | --disable-*)
1853 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1854 # Reject names that are not valid shell variable names.
1855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1856 as_fn_error $? "invalid feature name: $ac_useropt"
1857 ac_useropt_orig=$ac_useropt
1858 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1859 case $ac_user_opts in
1861 "enable_$ac_useropt"
1862 "*) ;;
1863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1864 ac_unrecognized_sep=', ';;
1865 esac
1866 eval enable_$ac_useropt=no ;;
1868 -docdir | --docdir | --docdi | --doc | --do)
1869 ac_prev=docdir ;;
1870 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1871 docdir=$ac_optarg ;;
1873 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1874 ac_prev=dvidir ;;
1875 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1876 dvidir=$ac_optarg ;;
1878 -enable-* | --enable-*)
1879 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1880 # Reject names that are not valid shell variable names.
1881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1882 as_fn_error $? "invalid feature name: $ac_useropt"
1883 ac_useropt_orig=$ac_useropt
1884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1885 case $ac_user_opts in
1887 "enable_$ac_useropt"
1888 "*) ;;
1889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1890 ac_unrecognized_sep=', ';;
1891 esac
1892 eval enable_$ac_useropt=\$ac_optarg ;;
1894 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1895 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1896 | --exec | --exe | --ex)
1897 ac_prev=exec_prefix ;;
1898 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1899 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1900 | --exec=* | --exe=* | --ex=*)
1901 exec_prefix=$ac_optarg ;;
1903 -gas | --gas | --ga | --g)
1904 # Obsolete; use --with-gas.
1905 with_gas=yes ;;
1907 -help | --help | --hel | --he | -h)
1908 ac_init_help=long ;;
1909 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1910 ac_init_help=recursive ;;
1911 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1912 ac_init_help=short ;;
1914 -host | --host | --hos | --ho)
1915 ac_prev=host_alias ;;
1916 -host=* | --host=* | --hos=* | --ho=*)
1917 host_alias=$ac_optarg ;;
1919 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1920 ac_prev=htmldir ;;
1921 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1922 | --ht=*)
1923 htmldir=$ac_optarg ;;
1925 -includedir | --includedir | --includedi | --included | --include \
1926 | --includ | --inclu | --incl | --inc)
1927 ac_prev=includedir ;;
1928 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1929 | --includ=* | --inclu=* | --incl=* | --inc=*)
1930 includedir=$ac_optarg ;;
1932 -infodir | --infodir | --infodi | --infod | --info | --inf)
1933 ac_prev=infodir ;;
1934 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1935 infodir=$ac_optarg ;;
1937 -libdir | --libdir | --libdi | --libd)
1938 ac_prev=libdir ;;
1939 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1940 libdir=$ac_optarg ;;
1942 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1943 | --libexe | --libex | --libe)
1944 ac_prev=libexecdir ;;
1945 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1946 | --libexe=* | --libex=* | --libe=*)
1947 libexecdir=$ac_optarg ;;
1949 -localedir | --localedir | --localedi | --localed | --locale)
1950 ac_prev=localedir ;;
1951 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1952 localedir=$ac_optarg ;;
1954 -localstatedir | --localstatedir | --localstatedi | --localstated \
1955 | --localstate | --localstat | --localsta | --localst | --locals)
1956 ac_prev=localstatedir ;;
1957 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1958 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1959 localstatedir=$ac_optarg ;;
1961 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1962 ac_prev=mandir ;;
1963 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1964 mandir=$ac_optarg ;;
1966 -nfp | --nfp | --nf)
1967 # Obsolete; use --without-fp.
1968 with_fp=no ;;
1970 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1971 | --no-cr | --no-c | -n)
1972 no_create=yes ;;
1974 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1975 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1976 no_recursion=yes ;;
1978 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1979 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1980 | --oldin | --oldi | --old | --ol | --o)
1981 ac_prev=oldincludedir ;;
1982 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1983 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1984 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1985 oldincludedir=$ac_optarg ;;
1987 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1988 ac_prev=prefix ;;
1989 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1990 prefix=$ac_optarg ;;
1992 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1993 | --program-pre | --program-pr | --program-p)
1994 ac_prev=program_prefix ;;
1995 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1996 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1997 program_prefix=$ac_optarg ;;
1999 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2000 | --program-suf | --program-su | --program-s)
2001 ac_prev=program_suffix ;;
2002 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2003 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2004 program_suffix=$ac_optarg ;;
2006 -program-transform-name | --program-transform-name \
2007 | --program-transform-nam | --program-transform-na \
2008 | --program-transform-n | --program-transform- \
2009 | --program-transform | --program-transfor \
2010 | --program-transfo | --program-transf \
2011 | --program-trans | --program-tran \
2012 | --progr-tra | --program-tr | --program-t)
2013 ac_prev=program_transform_name ;;
2014 -program-transform-name=* | --program-transform-name=* \
2015 | --program-transform-nam=* | --program-transform-na=* \
2016 | --program-transform-n=* | --program-transform-=* \
2017 | --program-transform=* | --program-transfor=* \
2018 | --program-transfo=* | --program-transf=* \
2019 | --program-trans=* | --program-tran=* \
2020 | --progr-tra=* | --program-tr=* | --program-t=*)
2021 program_transform_name=$ac_optarg ;;
2023 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2024 ac_prev=pdfdir ;;
2025 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2026 pdfdir=$ac_optarg ;;
2028 -psdir | --psdir | --psdi | --psd | --ps)
2029 ac_prev=psdir ;;
2030 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2031 psdir=$ac_optarg ;;
2033 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2034 | -silent | --silent | --silen | --sile | --sil)
2035 silent=yes ;;
2037 -runstatedir | --runstatedir | --runstatedi | --runstated \
2038 | --runstate | --runstat | --runsta | --runst | --runs \
2039 | --run | --ru | --r)
2040 ac_prev=runstatedir ;;
2041 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2042 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2043 | --run=* | --ru=* | --r=*)
2044 runstatedir=$ac_optarg ;;
2046 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2047 ac_prev=sbindir ;;
2048 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2049 | --sbi=* | --sb=*)
2050 sbindir=$ac_optarg ;;
2052 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2053 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2054 | --sharedst | --shareds | --shared | --share | --shar \
2055 | --sha | --sh)
2056 ac_prev=sharedstatedir ;;
2057 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2058 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2059 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2060 | --sha=* | --sh=*)
2061 sharedstatedir=$ac_optarg ;;
2063 -site | --site | --sit)
2064 ac_prev=site ;;
2065 -site=* | --site=* | --sit=*)
2066 site=$ac_optarg ;;
2068 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2069 ac_prev=srcdir ;;
2070 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2071 srcdir=$ac_optarg ;;
2073 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2074 | --syscon | --sysco | --sysc | --sys | --sy)
2075 ac_prev=sysconfdir ;;
2076 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2077 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2078 sysconfdir=$ac_optarg ;;
2080 -target | --target | --targe | --targ | --tar | --ta | --t)
2081 ac_prev=target_alias ;;
2082 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2083 target_alias=$ac_optarg ;;
2085 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2086 verbose=yes ;;
2088 -version | --version | --versio | --versi | --vers | -V)
2089 ac_init_version=: ;;
2091 -with-* | --with-*)
2092 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2093 # Reject names that are not valid shell variable names.
2094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2095 as_fn_error $? "invalid package name: $ac_useropt"
2096 ac_useropt_orig=$ac_useropt
2097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2098 case $ac_user_opts in
2100 "with_$ac_useropt"
2101 "*) ;;
2102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2103 ac_unrecognized_sep=', ';;
2104 esac
2105 eval with_$ac_useropt=\$ac_optarg ;;
2107 -without-* | --without-*)
2108 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2109 # Reject names that are not valid shell variable names.
2110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2111 as_fn_error $? "invalid package name: $ac_useropt"
2112 ac_useropt_orig=$ac_useropt
2113 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2114 case $ac_user_opts in
2116 "with_$ac_useropt"
2117 "*) ;;
2118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2119 ac_unrecognized_sep=', ';;
2120 esac
2121 eval with_$ac_useropt=no ;;
2123 --x)
2124 # Obsolete; use --with-x.
2125 with_x=yes ;;
2127 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2128 | --x-incl | --x-inc | --x-in | --x-i)
2129 ac_prev=x_includes ;;
2130 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2131 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2132 x_includes=$ac_optarg ;;
2134 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2135 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2136 ac_prev=x_libraries ;;
2137 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2138 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2139 x_libraries=$ac_optarg ;;
2141 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2142 Try \`$0 --help' for more information"
2145 *=*)
2146 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2147 # Reject names that are not valid shell variable names.
2148 case $ac_envvar in #(
2149 '' | [0-9]* | *[!_$as_cr_alnum]* )
2150 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2151 esac
2152 eval $ac_envvar=\$ac_optarg
2153 export $ac_envvar ;;
2156 # FIXME: should be removed in autoconf 3.0.
2157 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2158 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2159 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2160 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2163 esac
2164 done
2166 if test -n "$ac_prev"; then
2167 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2168 as_fn_error $? "missing argument to $ac_option"
2171 if test -n "$ac_unrecognized_opts"; then
2172 case $enable_option_checking in
2173 no) ;;
2174 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2175 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2176 esac
2179 # Check all directory arguments for consistency.
2180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2181 datadir sysconfdir sharedstatedir localstatedir includedir \
2182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2183 libdir localedir mandir runstatedir
2185 eval ac_val=\$$ac_var
2186 # Remove trailing slashes.
2187 case $ac_val in
2188 */ )
2189 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2190 eval $ac_var=\$ac_val;;
2191 esac
2192 # Be sure to have absolute directory names.
2193 case $ac_val in
2194 [\\/$]* | ?:[\\/]* ) continue;;
2195 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2196 esac
2197 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2198 done
2200 # There might be people who depend on the old broken behavior: `$host'
2201 # used to hold the argument of --host etc.
2202 # FIXME: To remove some day.
2203 build=$build_alias
2204 host=$host_alias
2205 target=$target_alias
2207 # FIXME: To remove some day.
2208 if test "x$host_alias" != x; then
2209 if test "x$build_alias" = x; then
2210 cross_compiling=maybe
2211 elif test "x$build_alias" != "x$host_alias"; then
2212 cross_compiling=yes
2216 ac_tool_prefix=
2217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2219 test "$silent" = yes && exec 6>/dev/null
2222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2223 ac_ls_di=`ls -di .` &&
2224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2225 as_fn_error $? "working directory cannot be determined"
2226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2227 as_fn_error $? "pwd does not report name of working directory"
2230 # Find the source files, if location was not specified.
2231 if test -z "$srcdir"; then
2232 ac_srcdir_defaulted=yes
2233 # Try the directory containing this script, then the parent directory.
2234 ac_confdir=`$as_dirname -- "$as_myself" ||
2235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2236 X"$as_myself" : 'X\(//\)[^/]' \| \
2237 X"$as_myself" : 'X\(//\)$' \| \
2238 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2239 $as_echo X"$as_myself" |
2240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2241 s//\1/
2244 /^X\(\/\/\)[^/].*/{
2245 s//\1/
2248 /^X\(\/\/\)$/{
2249 s//\1/
2252 /^X\(\/\).*/{
2253 s//\1/
2256 s/.*/./; q'`
2257 srcdir=$ac_confdir
2258 if test ! -r "$srcdir/$ac_unique_file"; then
2259 srcdir=..
2261 else
2262 ac_srcdir_defaulted=no
2264 if test ! -r "$srcdir/$ac_unique_file"; then
2265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2266 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2269 ac_abs_confdir=`(
2270 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2271 pwd)`
2272 # When building in place, set srcdir=.
2273 if test "$ac_abs_confdir" = "$ac_pwd"; then
2274 srcdir=.
2276 # Remove unnecessary trailing slashes from srcdir.
2277 # Double slashes in file names in object file debugging info
2278 # mess up M-x gdb in Emacs.
2279 case $srcdir in
2280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2281 esac
2282 for ac_var in $ac_precious_vars; do
2283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2284 eval ac_env_${ac_var}_value=\$${ac_var}
2285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2287 done
2290 # Report the --help message.
2292 if test "$ac_init_help" = "long"; then
2293 # Omit some internal or obsolete options to make the list less imposing.
2294 # This message is too long to be a string in the A/UX 3.1 sh.
2295 cat <<_ACEOF
2296 \`configure' configures Wine 3.0-rc4 to adapt to many kinds of systems.
2298 Usage: $0 [OPTION]... [VAR=VALUE]...
2300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2301 VAR=VALUE. See below for descriptions of some of the useful variables.
2303 Defaults for the options are specified in brackets.
2305 Configuration:
2306 -h, --help display this help and exit
2307 --help=short display options specific to this package
2308 --help=recursive display the short help of all the included packages
2309 -V, --version display version information and exit
2310 -q, --quiet, --silent do not print \`checking ...' messages
2311 --cache-file=FILE cache test results in FILE [disabled]
2312 -C, --config-cache alias for \`--cache-file=config.cache'
2313 -n, --no-create do not create output files
2314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2316 Installation directories:
2317 --prefix=PREFIX install architecture-independent files in PREFIX
2318 [$ac_default_prefix]
2319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2320 [PREFIX]
2322 By default, \`make install' will install all the files in
2323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2325 for instance \`--prefix=\$HOME'.
2327 For better control, use the options below.
2329 Fine tuning of the installation directories:
2330 --bindir=DIR user executables [EPREFIX/bin]
2331 --sbindir=DIR system admin executables [EPREFIX/sbin]
2332 --libexecdir=DIR program executables [EPREFIX/libexec]
2333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2336 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2337 --libdir=DIR object code libraries [EPREFIX/lib]
2338 --includedir=DIR C header files [PREFIX/include]
2339 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2342 --infodir=DIR info documentation [DATAROOTDIR/info]
2343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2344 --mandir=DIR man documentation [DATAROOTDIR/man]
2345 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2346 --htmldir=DIR html documentation [DOCDIR]
2347 --dvidir=DIR dvi documentation [DOCDIR]
2348 --pdfdir=DIR pdf documentation [DOCDIR]
2349 --psdir=DIR ps documentation [DOCDIR]
2350 _ACEOF
2352 cat <<\_ACEOF
2354 X features:
2355 --x-includes=DIR X include files are in DIR
2356 --x-libraries=DIR X library files are in DIR
2358 System types:
2359 --build=BUILD configure for building on BUILD [guessed]
2360 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2361 _ACEOF
2364 if test -n "$ac_init_help"; then
2365 case $ac_init_help in
2366 short | recursive ) echo "Configuration of Wine 3.0-rc4:";;
2367 esac
2368 cat <<\_ACEOF
2370 Optional Features:
2371 --disable-option-checking ignore unrecognized --enable/--with options
2372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2374 --disable-win16 do not include Win16 support
2375 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2376 binaries)
2377 --disable-tests do not build the regression tests
2378 --enable-maintainer-mode
2379 enable maintainer-specific build rules
2380 --disable-largefile omit support for large files
2382 Optional Packages:
2383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2385 --without-alsa do not use the Alsa sound support
2386 --without-capi do not use CAPI (ISDN support)
2387 --without-cms do not use CMS (color management support)
2388 --without-coreaudio do not use the CoreAudio sound support
2389 --without-cups do not use CUPS
2390 --without-curses do not use (n)curses
2391 --without-dbus do not use DBus (dynamic device support)
2392 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2393 --without-fontconfig do not use fontconfig
2394 --without-freetype do not use the FreeType library
2395 --without-gettext do not use gettext
2396 --with-gettextpo use the GetTextPO library to rebuild po files
2397 --without-gphoto do not use gphoto (Digital Camera support)
2398 --without-glu do not use the GLU library
2399 --without-gnutls do not use GnuTLS (schannel support)
2400 --without-gsm do not use libgsm (GSM 06.10 codec support)
2401 --without-gstreamer do not use GStreamer (codecs support)
2402 --without-hal do not use HAL (dynamic device support)
2403 --without-jpeg do not use JPEG
2404 --without-krb5 do not use krb5 (Kerberos)
2405 --without-ldap do not use LDAP
2406 --without-mpg123 do not use the mpg123 library
2407 --without-netapi do not use the Samba NetAPI library
2408 --without-openal do not use OpenAL
2409 --without-opencl do not use OpenCL
2410 --without-opengl do not use OpenGL
2411 --without-osmesa do not use the OSMesa library
2412 --without-oss do not use the OSS sound support
2413 --without-pcap do not use the Packet Capture library
2414 --without-png do not use PNG
2415 --without-pthread do not use the pthread library
2416 --without-pulse do not use PulseAudio sound support
2417 --without-sane do not use SANE (scanner support)
2418 --without-tiff do not use TIFF
2419 --without-udev do not use udev (plug and play support)
2420 --without-v4l do not use v4l1 (v4l support)
2421 --without-xcomposite do not use the Xcomposite extension
2422 --without-xcursor do not use the Xcursor extension
2423 --without-xfixes do not use Xfixes for clipboard change notifications
2424 --without-xinerama do not use Xinerama (multi-monitor support)
2425 --without-xinput do not use the Xinput extension
2426 --without-xinput2 do not use the Xinput 2 extension
2427 --without-xml do not use XML
2428 --without-xrandr do not use Xrandr (resolution changes)
2429 --without-xrender do not use the Xrender extension
2430 --without-xshape do not use the Xshape extension
2431 --without-xshm do not use XShm (shared memory extension)
2432 --without-xslt do not use XSLT
2433 --without-xxf86vm do not use XFree video mode extension
2434 --without-zlib do not use Zlib (data compression)
2435 --with-wine-tools=DIR use Wine tools from directory DIR
2436 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2437 --with-x use the X Window System
2439 Some influential environment variables:
2440 CC C compiler command
2441 CFLAGS C compiler flags
2442 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2443 nonstandard directory <lib dir>
2444 LIBS libraries to pass to the linker, e.g. -l<library>
2445 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2446 you have headers in a nonstandard directory <include dir>
2447 CXX C++ compiler command
2448 CXXFLAGS C++ compiler flags
2449 CPP C preprocessor
2450 XMKMF Path to xmkmf, Makefile generator for X Window System
2451 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2452 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2453 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2454 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2455 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2456 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2457 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2458 HAL_LIBS Linker flags for hal, overriding pkg-config
2459 GNUTLS_CFLAGS
2460 C compiler flags for gnutls, overriding pkg-config
2461 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2462 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2463 SANE_LIBS Linker flags for libsane, overriding pkg-config
2464 GPHOTO2_CFLAGS
2465 C compiler flags for libgphoto2, overriding pkg-config
2466 GPHOTO2_LIBS
2467 Linker flags for libgphoto2, overriding pkg-config
2468 GPHOTO2_PORT_CFLAGS
2469 C compiler flags for libgphoto2_port, overriding pkg-config
2470 GPHOTO2_PORT_LIBS
2471 Linker flags for libgphoto2_port, overriding pkg-config
2472 LCMS2_CFLAGS
2473 C compiler flags for lcms2, overriding pkg-config
2474 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2475 FREETYPE_CFLAGS
2476 C compiler flags for freetype2, overriding pkg-config
2477 FREETYPE_LIBS
2478 Linker flags for freetype2, overriding pkg-config
2479 PULSE_CFLAGS
2480 C compiler flags for libpulse, overriding pkg-config
2481 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2482 GSTREAMER_CFLAGS
2483 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2484 gstreamer-audio-1.0, overriding pkg-config
2485 GSTREAMER_LIBS
2486 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2487 gstreamer-audio-1.0, overriding pkg-config
2488 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2489 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2490 CAPI20_CFLAGS
2491 C compiler flags for capi20, overriding pkg-config
2492 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2493 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2494 CUPS_LIBS Linker flags for cups, overriding pkg-config
2495 FONTCONFIG_CFLAGS
2496 C compiler flags for fontconfig, overriding pkg-config
2497 FONTCONFIG_LIBS
2498 Linker flags for fontconfig, overriding pkg-config
2499 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2500 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2501 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2502 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2503 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2504 PNG_LIBS Linker flags for libpng, overriding pkg-config
2505 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2506 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2507 MPG123_CFLAGS
2508 C compiler flags for libmpg123, overriding pkg-config
2509 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2510 NETAPI_CFLAGS
2511 C compiler flags for netapi, overriding pkg-config
2512 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2513 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2514 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2516 Use these variables to override the choices made by `configure' or to help
2517 it to find libraries and programs with nonstandard names/locations.
2519 Report bugs to <wine-devel@winehq.org>.
2520 Wine home page: <https://www.winehq.org>.
2521 _ACEOF
2522 ac_status=$?
2525 if test "$ac_init_help" = "recursive"; then
2526 # If there are subdirs, report their specific --help.
2527 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2528 test -d "$ac_dir" ||
2529 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2530 continue
2531 ac_builddir=.
2533 case "$ac_dir" in
2534 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2536 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2537 # A ".." for each directory in $ac_dir_suffix.
2538 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2539 case $ac_top_builddir_sub in
2540 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2541 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2542 esac ;;
2543 esac
2544 ac_abs_top_builddir=$ac_pwd
2545 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2546 # for backward compatibility:
2547 ac_top_builddir=$ac_top_build_prefix
2549 case $srcdir in
2550 .) # We are building in place.
2551 ac_srcdir=.
2552 ac_top_srcdir=$ac_top_builddir_sub
2553 ac_abs_top_srcdir=$ac_pwd ;;
2554 [\\/]* | ?:[\\/]* ) # Absolute name.
2555 ac_srcdir=$srcdir$ac_dir_suffix;
2556 ac_top_srcdir=$srcdir
2557 ac_abs_top_srcdir=$srcdir ;;
2558 *) # Relative name.
2559 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2560 ac_top_srcdir=$ac_top_build_prefix$srcdir
2561 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2562 esac
2563 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2565 cd "$ac_dir" || { ac_status=$?; continue; }
2566 # Check for guested configure.
2567 if test -f "$ac_srcdir/configure.gnu"; then
2568 echo &&
2569 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2570 elif test -f "$ac_srcdir/configure"; then
2571 echo &&
2572 $SHELL "$ac_srcdir/configure" --help=recursive
2573 else
2574 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2575 fi || ac_status=$?
2576 cd "$ac_pwd" || { ac_status=$?; break; }
2577 done
2580 test -n "$ac_init_help" && exit $ac_status
2581 if $ac_init_version; then
2582 cat <<\_ACEOF
2583 Wine configure 3.0-rc4
2584 generated by GNU Autoconf 2.69
2586 Copyright (C) 2012 Free Software Foundation, Inc.
2587 This configure script is free software; the Free Software Foundation
2588 gives unlimited permission to copy, distribute and modify it.
2589 _ACEOF
2590 exit
2593 ## ------------------------ ##
2594 ## Autoconf initialization. ##
2595 ## ------------------------ ##
2597 # ac_fn_c_try_compile LINENO
2598 # --------------------------
2599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2600 ac_fn_c_try_compile ()
2602 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2603 rm -f conftest.$ac_objext
2604 if { { ac_try="$ac_compile"
2605 case "(($ac_try" in
2606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607 *) ac_try_echo=$ac_try;;
2608 esac
2609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2610 $as_echo "$ac_try_echo"; } >&5
2611 (eval "$ac_compile") 2>conftest.err
2612 ac_status=$?
2613 if test -s conftest.err; then
2614 grep -v '^ *+' conftest.err >conftest.er1
2615 cat conftest.er1 >&5
2616 mv -f conftest.er1 conftest.err
2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619 test $ac_status = 0; } && {
2620 test -z "$ac_c_werror_flag" ||
2621 test ! -s conftest.err
2622 } && test -s conftest.$ac_objext; then :
2623 ac_retval=0
2624 else
2625 $as_echo "$as_me: failed program was:" >&5
2626 sed 's/^/| /' conftest.$ac_ext >&5
2628 ac_retval=1
2630 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2631 as_fn_set_status $ac_retval
2633 } # ac_fn_c_try_compile
2635 # ac_fn_cxx_try_compile LINENO
2636 # ----------------------------
2637 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2638 ac_fn_cxx_try_compile ()
2640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2641 rm -f conftest.$ac_objext
2642 if { { ac_try="$ac_compile"
2643 case "(($ac_try" in
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2646 esac
2647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2648 $as_echo "$ac_try_echo"; } >&5
2649 (eval "$ac_compile") 2>conftest.err
2650 ac_status=$?
2651 if test -s conftest.err; then
2652 grep -v '^ *+' conftest.err >conftest.er1
2653 cat conftest.er1 >&5
2654 mv -f conftest.er1 conftest.err
2656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2657 test $ac_status = 0; } && {
2658 test -z "$ac_cxx_werror_flag" ||
2659 test ! -s conftest.err
2660 } && test -s conftest.$ac_objext; then :
2661 ac_retval=0
2662 else
2663 $as_echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2666 ac_retval=1
2668 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2669 as_fn_set_status $ac_retval
2671 } # ac_fn_cxx_try_compile
2673 # ac_fn_c_try_link LINENO
2674 # -----------------------
2675 # Try to link conftest.$ac_ext, and return whether this succeeded.
2676 ac_fn_c_try_link ()
2678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2679 rm -f conftest.$ac_objext conftest$ac_exeext
2680 if { { ac_try="$ac_link"
2681 case "(($ac_try" in
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2684 esac
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686 $as_echo "$ac_try_echo"; } >&5
2687 (eval "$ac_link") 2>conftest.err
2688 ac_status=$?
2689 if test -s conftest.err; then
2690 grep -v '^ *+' conftest.err >conftest.er1
2691 cat conftest.er1 >&5
2692 mv -f conftest.er1 conftest.err
2694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; } && {
2696 test -z "$ac_c_werror_flag" ||
2697 test ! -s conftest.err
2698 } && test -s conftest$ac_exeext && {
2699 test "$cross_compiling" = yes ||
2700 test -x conftest$ac_exeext
2701 }; then :
2702 ac_retval=0
2703 else
2704 $as_echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2707 ac_retval=1
2709 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2710 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2711 # interfere with the next link command; also delete a directory that is
2712 # left behind by Apple's compiler. We do this before executing the actions.
2713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2715 as_fn_set_status $ac_retval
2717 } # ac_fn_c_try_link
2719 # ac_fn_c_try_cpp LINENO
2720 # ----------------------
2721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2722 ac_fn_c_try_cpp ()
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 if { { ac_try="$ac_cpp conftest.$ac_ext"
2726 case "(($ac_try" in
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2729 esac
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 $as_echo "$ac_try_echo"; } >&5
2732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2733 ac_status=$?
2734 if test -s conftest.err; then
2735 grep -v '^ *+' conftest.err >conftest.er1
2736 cat conftest.er1 >&5
2737 mv -f conftest.er1 conftest.err
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } > conftest.i && {
2741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2742 test ! -s conftest.err
2743 }; then :
2744 ac_retval=0
2745 else
2746 $as_echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2749 ac_retval=1
2751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2752 as_fn_set_status $ac_retval
2754 } # ac_fn_c_try_cpp
2756 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2757 # -------------------------------------------------------
2758 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2759 # the include files in INCLUDES and setting the cache variable VAR
2760 # accordingly.
2761 ac_fn_c_check_header_mongrel ()
2763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2764 if eval \${$3+:} false; then :
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2766 $as_echo_n "checking for $2... " >&6; }
2767 if eval \${$3+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 eval ac_res=\$$3
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2772 $as_echo "$ac_res" >&6; }
2773 else
2774 # Is the header compilable?
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2776 $as_echo_n "checking $2 usability... " >&6; }
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2780 #include <$2>
2781 _ACEOF
2782 if ac_fn_c_try_compile "$LINENO"; then :
2783 ac_header_compiler=yes
2784 else
2785 ac_header_compiler=no
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2789 $as_echo "$ac_header_compiler" >&6; }
2791 # Is the header present?
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2793 $as_echo_n "checking $2 presence... " >&6; }
2794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2795 /* end confdefs.h. */
2796 #include <$2>
2797 _ACEOF
2798 if ac_fn_c_try_cpp "$LINENO"; then :
2799 ac_header_preproc=yes
2800 else
2801 ac_header_preproc=no
2803 rm -f conftest.err conftest.i conftest.$ac_ext
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2805 $as_echo "$ac_header_preproc" >&6; }
2807 # So? What about this header?
2808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2809 yes:no: )
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2811 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2813 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2815 no:yes:* )
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2817 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2819 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2821 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2823 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2826 ( $as_echo "## ------------------------------------ ##
2827 ## Report this to wine-devel@winehq.org ##
2828 ## ------------------------------------ ##"
2829 ) | sed "s/^/$as_me: WARNING: /" >&2
2831 esac
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2833 $as_echo_n "checking for $2... " >&6; }
2834 if eval \${$3+:} false; then :
2835 $as_echo_n "(cached) " >&6
2836 else
2837 eval "$3=\$ac_header_compiler"
2839 eval ac_res=\$$3
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2841 $as_echo "$ac_res" >&6; }
2843 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2845 } # ac_fn_c_check_header_mongrel
2847 # ac_fn_c_try_run LINENO
2848 # ----------------------
2849 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2850 # that executables *can* be run.
2851 ac_fn_c_try_run ()
2853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2854 if { { ac_try="$ac_link"
2855 case "(($ac_try" in
2856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2857 *) ac_try_echo=$ac_try;;
2858 esac
2859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2860 $as_echo "$ac_try_echo"; } >&5
2861 (eval "$ac_link") 2>&5
2862 ac_status=$?
2863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2865 { { case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868 esac
2869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2870 $as_echo "$ac_try_echo"; } >&5
2871 (eval "$ac_try") 2>&5
2872 ac_status=$?
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2874 test $ac_status = 0; }; }; then :
2875 ac_retval=0
2876 else
2877 $as_echo "$as_me: program exited with status $ac_status" >&5
2878 $as_echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 ac_retval=$ac_status
2883 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885 as_fn_set_status $ac_retval
2887 } # ac_fn_c_try_run
2889 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2890 # -------------------------------------------------------
2891 # Tests whether HEADER exists and can be compiled using the include files in
2892 # INCLUDES, setting the cache variable VAR accordingly.
2893 ac_fn_c_check_header_compile ()
2895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2897 $as_echo_n "checking for $2... " >&6; }
2898 if eval \${$3+:} false; then :
2899 $as_echo_n "(cached) " >&6
2900 else
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2904 #include <$2>
2905 _ACEOF
2906 if ac_fn_c_try_compile "$LINENO"; then :
2907 eval "$3=yes"
2908 else
2909 eval "$3=no"
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2913 eval ac_res=\$$3
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2915 $as_echo "$ac_res" >&6; }
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 } # ac_fn_c_check_header_compile
2920 # ac_fn_c_check_func LINENO FUNC VAR
2921 # ----------------------------------
2922 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2923 ac_fn_c_check_func ()
2925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2927 $as_echo_n "checking for $2... " >&6; }
2928 if eval \${$3+:} false; then :
2929 $as_echo_n "(cached) " >&6
2930 else
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2933 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2935 #define $2 innocuous_$2
2937 /* System header to define __stub macros and hopefully few prototypes,
2938 which can conflict with char $2 (); below.
2939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2940 <limits.h> exists even on freestanding compilers. */
2942 #ifdef __STDC__
2943 # include <limits.h>
2944 #else
2945 # include <assert.h>
2946 #endif
2948 #undef $2
2950 /* Override any GCC internal prototype to avoid an error.
2951 Use char because int might match the return type of a GCC
2952 builtin and then its argument prototype would still apply. */
2953 #ifdef __cplusplus
2954 extern "C"
2955 #endif
2956 char $2 ();
2957 /* The GNU C library defines this for functions which it implements
2958 to always fail with ENOSYS. Some functions are actually named
2959 something starting with __ and the normal name is an alias. */
2960 #if defined __stub_$2 || defined __stub___$2
2961 choke me
2962 #endif
2965 main ()
2967 return $2 ();
2969 return 0;
2971 _ACEOF
2972 if ac_fn_c_try_link "$LINENO"; then :
2973 eval "$3=yes"
2974 else
2975 eval "$3=no"
2977 rm -f core conftest.err conftest.$ac_objext \
2978 conftest$ac_exeext conftest.$ac_ext
2980 eval ac_res=\$$3
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2982 $as_echo "$ac_res" >&6; }
2983 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 } # ac_fn_c_check_func
2987 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2988 # ----------------------------------------------------
2989 # Tries to find if the field MEMBER exists in type AGGR, after including
2990 # INCLUDES, setting cache variable VAR accordingly.
2991 ac_fn_c_check_member ()
2993 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2995 $as_echo_n "checking for $2.$3... " >&6; }
2996 if eval \${$4+:} false; then :
2997 $as_echo_n "(cached) " >&6
2998 else
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3003 main ()
3005 static $2 ac_aggr;
3006 if (ac_aggr.$3)
3007 return 0;
3009 return 0;
3011 _ACEOF
3012 if ac_fn_c_try_compile "$LINENO"; then :
3013 eval "$4=yes"
3014 else
3015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3016 /* end confdefs.h. */
3019 main ()
3021 static $2 ac_aggr;
3022 if (sizeof ac_aggr.$3)
3023 return 0;
3025 return 0;
3027 _ACEOF
3028 if ac_fn_c_try_compile "$LINENO"; then :
3029 eval "$4=yes"
3030 else
3031 eval "$4=no"
3033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3037 eval ac_res=\$$4
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3039 $as_echo "$ac_res" >&6; }
3040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3042 } # ac_fn_c_check_member
3044 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3045 # -------------------------------------------
3046 # Tests whether TYPE exists after having included INCLUDES, setting cache
3047 # variable VAR accordingly.
3048 ac_fn_c_check_type ()
3050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3052 $as_echo_n "checking for $2... " >&6; }
3053 if eval \${$3+:} false; then :
3054 $as_echo_n "(cached) " >&6
3055 else
3056 eval "$3=no"
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3061 main ()
3063 if (sizeof ($2))
3064 return 0;
3066 return 0;
3068 _ACEOF
3069 if ac_fn_c_try_compile "$LINENO"; then :
3070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3071 /* end confdefs.h. */
3074 main ()
3076 if (sizeof (($2)))
3077 return 0;
3079 return 0;
3081 _ACEOF
3082 if ac_fn_c_try_compile "$LINENO"; then :
3084 else
3085 eval "$3=yes"
3087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3091 eval ac_res=\$$3
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3093 $as_echo "$ac_res" >&6; }
3094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3096 } # ac_fn_c_check_type
3097 cat >config.log <<_ACEOF
3098 This file contains any messages produced by compilers while
3099 running configure, to aid debugging if configure makes a mistake.
3101 It was created by Wine $as_me 3.0-rc4, which was
3102 generated by GNU Autoconf 2.69. Invocation command line was
3104 $ $0 $@
3106 _ACEOF
3107 exec 5>>config.log
3109 cat <<_ASUNAME
3110 ## --------- ##
3111 ## Platform. ##
3112 ## --------- ##
3114 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3115 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3116 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3117 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3118 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3120 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3121 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3123 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3124 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3125 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3126 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3127 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3128 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3129 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3131 _ASUNAME
3133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 for as_dir in $PATH
3136 IFS=$as_save_IFS
3137 test -z "$as_dir" && as_dir=.
3138 $as_echo "PATH: $as_dir"
3139 done
3140 IFS=$as_save_IFS
3142 } >&5
3144 cat >&5 <<_ACEOF
3147 ## ----------- ##
3148 ## Core tests. ##
3149 ## ----------- ##
3151 _ACEOF
3154 # Keep a trace of the command line.
3155 # Strip out --no-create and --no-recursion so they do not pile up.
3156 # Strip out --silent because we don't want to record it for future runs.
3157 # Also quote any args containing shell meta-characters.
3158 # Make two passes to allow for proper duplicate-argument suppression.
3159 ac_configure_args=
3160 ac_configure_args0=
3161 ac_configure_args1=
3162 ac_must_keep_next=false
3163 for ac_pass in 1 2
3165 for ac_arg
3167 case $ac_arg in
3168 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3169 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3170 | -silent | --silent | --silen | --sile | --sil)
3171 continue ;;
3172 *\'*)
3173 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3174 esac
3175 case $ac_pass in
3176 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3178 as_fn_append ac_configure_args1 " '$ac_arg'"
3179 if test $ac_must_keep_next = true; then
3180 ac_must_keep_next=false # Got value, back to normal.
3181 else
3182 case $ac_arg in
3183 *=* | --config-cache | -C | -disable-* | --disable-* \
3184 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3185 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3186 | -with-* | --with-* | -without-* | --without-* | --x)
3187 case "$ac_configure_args0 " in
3188 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3189 esac
3191 -* ) ac_must_keep_next=true ;;
3192 esac
3194 as_fn_append ac_configure_args " '$ac_arg'"
3196 esac
3197 done
3198 done
3199 { ac_configure_args0=; unset ac_configure_args0;}
3200 { ac_configure_args1=; unset ac_configure_args1;}
3202 # When interrupted or exit'd, cleanup temporary files, and complete
3203 # config.log. We remove comments because anyway the quotes in there
3204 # would cause problems or look ugly.
3205 # WARNING: Use '\'' to represent an apostrophe within the trap.
3206 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3207 trap 'exit_status=$?
3208 # Save into config.log some information that might help in debugging.
3210 echo
3212 $as_echo "## ---------------- ##
3213 ## Cache variables. ##
3214 ## ---------------- ##"
3215 echo
3216 # The following way of writing the cache mishandles newlines in values,
3218 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3219 eval ac_val=\$$ac_var
3220 case $ac_val in #(
3221 *${as_nl}*)
3222 case $ac_var in #(
3223 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3224 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3225 esac
3226 case $ac_var in #(
3227 _ | IFS | as_nl) ;; #(
3228 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3229 *) { eval $ac_var=; unset $ac_var;} ;;
3230 esac ;;
3231 esac
3232 done
3233 (set) 2>&1 |
3234 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3235 *${as_nl}ac_space=\ *)
3236 sed -n \
3237 "s/'\''/'\''\\\\'\'''\''/g;
3238 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3239 ;; #(
3241 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3243 esac |
3244 sort
3246 echo
3248 $as_echo "## ----------------- ##
3249 ## Output variables. ##
3250 ## ----------------- ##"
3251 echo
3252 for ac_var in $ac_subst_vars
3254 eval ac_val=\$$ac_var
3255 case $ac_val in
3256 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3257 esac
3258 $as_echo "$ac_var='\''$ac_val'\''"
3259 done | sort
3260 echo
3262 if test -n "$ac_subst_files"; then
3263 $as_echo "## ------------------- ##
3264 ## File substitutions. ##
3265 ## ------------------- ##"
3266 echo
3267 for ac_var in $ac_subst_files
3269 eval ac_val=\$$ac_var
3270 case $ac_val in
3271 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3272 esac
3273 $as_echo "$ac_var='\''$ac_val'\''"
3274 done | sort
3275 echo
3278 if test -s confdefs.h; then
3279 $as_echo "## ----------- ##
3280 ## confdefs.h. ##
3281 ## ----------- ##"
3282 echo
3283 cat confdefs.h
3284 echo
3286 test "$ac_signal" != 0 &&
3287 $as_echo "$as_me: caught signal $ac_signal"
3288 $as_echo "$as_me: exit $exit_status"
3289 } >&5
3290 rm -f core *.core core.conftest.* &&
3291 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3292 exit $exit_status
3294 for ac_signal in 1 2 13 15; do
3295 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3296 done
3297 ac_signal=0
3299 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3300 rm -f -r conftest* confdefs.h
3302 $as_echo "/* confdefs.h */" > confdefs.h
3304 # Predefined preprocessor variables.
3306 cat >>confdefs.h <<_ACEOF
3307 #define PACKAGE_NAME "$PACKAGE_NAME"
3308 _ACEOF
3310 cat >>confdefs.h <<_ACEOF
3311 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3312 _ACEOF
3314 cat >>confdefs.h <<_ACEOF
3315 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3316 _ACEOF
3318 cat >>confdefs.h <<_ACEOF
3319 #define PACKAGE_STRING "$PACKAGE_STRING"
3320 _ACEOF
3322 cat >>confdefs.h <<_ACEOF
3323 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3324 _ACEOF
3326 cat >>confdefs.h <<_ACEOF
3327 #define PACKAGE_URL "$PACKAGE_URL"
3328 _ACEOF
3331 # Let the site file select an alternate cache file if it wants to.
3332 # Prefer an explicitly selected file to automatically selected ones.
3333 ac_site_file1=NONE
3334 ac_site_file2=NONE
3335 if test -n "$CONFIG_SITE"; then
3336 # We do not want a PATH search for config.site.
3337 case $CONFIG_SITE in #((
3338 -*) ac_site_file1=./$CONFIG_SITE;;
3339 */*) ac_site_file1=$CONFIG_SITE;;
3340 *) ac_site_file1=./$CONFIG_SITE;;
3341 esac
3342 elif test "x$prefix" != xNONE; then
3343 ac_site_file1=$prefix/share/config.site
3344 ac_site_file2=$prefix/etc/config.site
3345 else
3346 ac_site_file1=$ac_default_prefix/share/config.site
3347 ac_site_file2=$ac_default_prefix/etc/config.site
3349 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3351 test "x$ac_site_file" = xNONE && continue
3352 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3354 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3355 sed 's/^/| /' "$ac_site_file" >&5
3356 . "$ac_site_file" \
3357 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359 as_fn_error $? "failed to load site script $ac_site_file
3360 See \`config.log' for more details" "$LINENO" 5; }
3362 done
3364 if test -r "$cache_file"; then
3365 # Some versions of bash will fail to source /dev/null (special files
3366 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3367 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3369 $as_echo "$as_me: loading cache $cache_file" >&6;}
3370 case $cache_file in
3371 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3372 *) . "./$cache_file";;
3373 esac
3375 else
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3377 $as_echo "$as_me: creating cache $cache_file" >&6;}
3378 >$cache_file
3381 # Check that the precious variables saved in the cache have kept the same
3382 # value.
3383 ac_cache_corrupted=false
3384 for ac_var in $ac_precious_vars; do
3385 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3386 eval ac_new_set=\$ac_env_${ac_var}_set
3387 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3388 eval ac_new_val=\$ac_env_${ac_var}_value
3389 case $ac_old_set,$ac_new_set in
3390 set,)
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3392 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3393 ac_cache_corrupted=: ;;
3394 ,set)
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3396 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3397 ac_cache_corrupted=: ;;
3398 ,);;
3400 if test "x$ac_old_val" != "x$ac_new_val"; then
3401 # differences in whitespace do not lead to failure.
3402 ac_old_val_w=`echo x $ac_old_val`
3403 ac_new_val_w=`echo x $ac_new_val`
3404 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3406 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3407 ac_cache_corrupted=:
3408 else
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3410 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3411 eval $ac_var=\$ac_old_val
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3414 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3416 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3417 fi;;
3418 esac
3419 # Pass precious variables to config.status.
3420 if test "$ac_new_set" = set; then
3421 case $ac_new_val in
3422 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3423 *) ac_arg=$ac_var=$ac_new_val ;;
3424 esac
3425 case " $ac_configure_args " in
3426 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3427 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3428 esac
3430 done
3431 if $ac_cache_corrupted; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3435 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3436 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3438 ## -------------------- ##
3439 ## Main body of script. ##
3440 ## -------------------- ##
3442 ac_ext=c
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3450 ac_config_headers="$ac_config_headers include/config.h"
3452 ac_aux_dir=
3453 for ac_dir in tools "$srcdir"/tools; do
3454 if test -f "$ac_dir/install-sh"; then
3455 ac_aux_dir=$ac_dir
3456 ac_install_sh="$ac_aux_dir/install-sh -c"
3457 break
3458 elif test -f "$ac_dir/install.sh"; then
3459 ac_aux_dir=$ac_dir
3460 ac_install_sh="$ac_aux_dir/install.sh -c"
3461 break
3462 elif test -f "$ac_dir/shtool"; then
3463 ac_aux_dir=$ac_dir
3464 ac_install_sh="$ac_aux_dir/shtool install -c"
3465 break
3467 done
3468 if test -z "$ac_aux_dir"; then
3469 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3472 # These three variables are undocumented and unsupported,
3473 # and are intended to be withdrawn in a future Autoconf release.
3474 # They can cause serious problems if a builder's source tree is in a directory
3475 # whose full name contains unusual characters.
3476 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3477 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3478 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3482 libwine_version="1.0"
3486 # Check whether --enable-win16 was given.
3487 if test "${enable_win16+set}" = set; then :
3488 enableval=$enable_win16;
3491 # Check whether --enable-win64 was given.
3492 if test "${enable_win64+set}" = set; then :
3493 enableval=$enable_win64;
3496 # Check whether --enable-tests was given.
3497 if test "${enable_tests+set}" = set; then :
3498 enableval=$enable_tests;
3501 # Check whether --enable-maintainer-mode was given.
3502 if test "${enable_maintainer_mode+set}" = set; then :
3503 enableval=$enable_maintainer_mode;
3508 # Check whether --with-alsa was given.
3509 if test "${with_alsa+set}" = set; then :
3510 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3514 # Check whether --with-capi was given.
3515 if test "${with_capi+set}" = set; then :
3516 withval=$with_capi;
3520 # Check whether --with-cms was given.
3521 if test "${with_cms+set}" = set; then :
3522 withval=$with_cms;
3526 # Check whether --with-coreaudio was given.
3527 if test "${with_coreaudio+set}" = set; then :
3528 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3532 # Check whether --with-cups was given.
3533 if test "${with_cups+set}" = set; then :
3534 withval=$with_cups;
3538 # Check whether --with-curses was given.
3539 if test "${with_curses+set}" = set; then :
3540 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3544 # Check whether --with-dbus was given.
3545 if test "${with_dbus+set}" = set; then :
3546 withval=$with_dbus;
3550 # Check whether --with-float-abi was given.
3551 if test "${with_float_abi+set}" = set; then :
3552 withval=$with_float_abi;
3556 # Check whether --with-fontconfig was given.
3557 if test "${with_fontconfig+set}" = set; then :
3558 withval=$with_fontconfig;
3562 # Check whether --with-freetype was given.
3563 if test "${with_freetype+set}" = set; then :
3564 withval=$with_freetype;
3568 # Check whether --with-gettext was given.
3569 if test "${with_gettext+set}" = set; then :
3570 withval=$with_gettext;
3574 # Check whether --with-gettextpo was given.
3575 if test "${with_gettextpo+set}" = set; then :
3576 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3580 # Check whether --with-gphoto was given.
3581 if test "${with_gphoto+set}" = set; then :
3582 withval=$with_gphoto;
3586 # Check whether --with-glu was given.
3587 if test "${with_glu+set}" = set; then :
3588 withval=$with_glu;
3592 # Check whether --with-gnutls was given.
3593 if test "${with_gnutls+set}" = set; then :
3594 withval=$with_gnutls;
3598 # Check whether --with-gsm was given.
3599 if test "${with_gsm+set}" = set; then :
3600 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3604 # Check whether --with-gstreamer was given.
3605 if test "${with_gstreamer+set}" = set; then :
3606 withval=$with_gstreamer;
3610 # Check whether --with-hal was given.
3611 if test "${with_hal+set}" = set; then :
3612 withval=$with_hal;
3616 # Check whether --with-jpeg was given.
3617 if test "${with_jpeg+set}" = set; then :
3618 withval=$with_jpeg;
3622 # Check whether --with-krb5 was given.
3623 if test "${with_krb5+set}" = set; then :
3624 withval=$with_krb5;
3628 # Check whether --with-ldap was given.
3629 if test "${with_ldap+set}" = set; then :
3630 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3634 # Check whether --with-mpg123 was given.
3635 if test "${with_mpg123+set}" = set; then :
3636 withval=$with_mpg123;
3640 # Check whether --with-netapi was given.
3641 if test "${with_netapi+set}" = set; then :
3642 withval=$with_netapi;
3646 # Check whether --with-openal was given.
3647 if test "${with_openal+set}" = set; then :
3648 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3652 # Check whether --with-opencl was given.
3653 if test "${with_opencl+set}" = set; then :
3654 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3658 # Check whether --with-opengl was given.
3659 if test "${with_opengl+set}" = set; then :
3660 withval=$with_opengl;
3664 # Check whether --with-osmesa was given.
3665 if test "${with_osmesa+set}" = set; then :
3666 withval=$with_osmesa;
3670 # Check whether --with-oss was given.
3671 if test "${with_oss+set}" = set; then :
3672 withval=$with_oss;
3676 # Check whether --with-pcap was given.
3677 if test "${with_pcap+set}" = set; then :
3678 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3682 # Check whether --with-png was given.
3683 if test "${with_png+set}" = set; then :
3684 withval=$with_png;
3688 # Check whether --with-pthread was given.
3689 if test "${with_pthread+set}" = set; then :
3690 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3694 # Check whether --with-pulse was given.
3695 if test "${with_pulse+set}" = set; then :
3696 withval=$with_pulse;
3700 # Check whether --with-sane was given.
3701 if test "${with_sane+set}" = set; then :
3702 withval=$with_sane;
3706 # Check whether --with-tiff was given.
3707 if test "${with_tiff+set}" = set; then :
3708 withval=$with_tiff;
3712 # Check whether --with-udev was given.
3713 if test "${with_udev+set}" = set; then :
3714 withval=$with_udev;
3718 # Check whether --with-v4l was given.
3719 if test "${with_v4l+set}" = set; then :
3720 withval=$with_v4l;
3724 # Check whether --with-xcomposite was given.
3725 if test "${with_xcomposite+set}" = set; then :
3726 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3730 # Check whether --with-xcursor was given.
3731 if test "${with_xcursor+set}" = set; then :
3732 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3736 # Check whether --with-xfixes was given.
3737 if test "${with_xfixes+set}" = set; then :
3738 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3742 # Check whether --with-xinerama was given.
3743 if test "${with_xinerama+set}" = set; then :
3744 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3748 # Check whether --with-xinput was given.
3749 if test "${with_xinput+set}" = set; then :
3750 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3754 # Check whether --with-xinput2 was given.
3755 if test "${with_xinput2+set}" = set; then :
3756 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3760 # Check whether --with-xml was given.
3761 if test "${with_xml+set}" = set; then :
3762 withval=$with_xml;
3766 # Check whether --with-xrandr was given.
3767 if test "${with_xrandr+set}" = set; then :
3768 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3772 # Check whether --with-xrender was given.
3773 if test "${with_xrender+set}" = set; then :
3774 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3778 # Check whether --with-xshape was given.
3779 if test "${with_xshape+set}" = set; then :
3780 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3784 # Check whether --with-xshm was given.
3785 if test "${with_xshm+set}" = set; then :
3786 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3790 # Check whether --with-xslt was given.
3791 if test "${with_xslt+set}" = set; then :
3792 withval=$with_xslt;
3796 # Check whether --with-xxf86vm was given.
3797 if test "${with_xxf86vm+set}" = set; then :
3798 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
3802 # Check whether --with-zlib was given.
3803 if test "${with_zlib+set}" = set; then :
3804 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3809 # Check whether --with-wine-tools was given.
3810 if test "${with_wine_tools+set}" = set; then :
3811 withval=$with_wine_tools;
3815 # Check whether --with-wine64 was given.
3816 if test "${with_wine64+set}" = set; then :
3817 withval=$with_wine64;
3821 # Make sure we can run config.sub.
3822 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3823 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3826 $as_echo_n "checking build system type... " >&6; }
3827 if ${ac_cv_build+:} false; then :
3828 $as_echo_n "(cached) " >&6
3829 else
3830 ac_build_alias=$build_alias
3831 test "x$ac_build_alias" = x &&
3832 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3833 test "x$ac_build_alias" = x &&
3834 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3835 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3836 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3840 $as_echo "$ac_cv_build" >&6; }
3841 case $ac_cv_build in
3842 *-*-*) ;;
3843 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3844 esac
3845 build=$ac_cv_build
3846 ac_save_IFS=$IFS; IFS='-'
3847 set x $ac_cv_build
3848 shift
3849 build_cpu=$1
3850 build_vendor=$2
3851 shift; shift
3852 # Remember, the first character of IFS is used to create $*,
3853 # except with old shells:
3854 build_os=$*
3855 IFS=$ac_save_IFS
3856 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3860 $as_echo_n "checking host system type... " >&6; }
3861 if ${ac_cv_host+:} false; then :
3862 $as_echo_n "(cached) " >&6
3863 else
3864 if test "x$host_alias" = x; then
3865 ac_cv_host=$ac_cv_build
3866 else
3867 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3868 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3873 $as_echo "$ac_cv_host" >&6; }
3874 case $ac_cv_host in
3875 *-*-*) ;;
3876 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3877 esac
3878 host=$ac_cv_host
3879 ac_save_IFS=$IFS; IFS='-'
3880 set x $ac_cv_host
3881 shift
3882 host_cpu=$1
3883 host_vendor=$2
3884 shift; shift
3885 # Remember, the first character of IFS is used to create $*,
3886 # except with old shells:
3887 host_os=$*
3888 IFS=$ac_save_IFS
3889 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3893 case "$srcdir" in
3894 .) ;;
3895 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3896 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3897 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3898 fi ;;
3899 esac
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3903 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3904 set x ${MAKE-make}
3905 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3906 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3907 $as_echo_n "(cached) " >&6
3908 else
3909 cat >conftest.make <<\_ACEOF
3910 SHELL = /bin/sh
3911 all:
3912 @echo '@@@%%%=$(MAKE)=@@@%%%'
3913 _ACEOF
3914 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3915 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3916 *@@@%%%=?*=@@@%%%*)
3917 eval ac_cv_prog_make_${ac_make}_set=yes;;
3919 eval ac_cv_prog_make_${ac_make}_set=no;;
3920 esac
3921 rm -f conftest.make
3923 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3925 $as_echo "yes" >&6; }
3926 SET_MAKE=
3927 else
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3929 $as_echo "no" >&6; }
3930 SET_MAKE="MAKE=${MAKE-make}"
3933 ac_ext=c
3934 ac_cpp='$CPP $CPPFLAGS'
3935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3938 if test -n "$ac_tool_prefix"; then
3939 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3940 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3942 $as_echo_n "checking for $ac_word... " >&6; }
3943 if ${ac_cv_prog_CC+:} false; then :
3944 $as_echo_n "(cached) " >&6
3945 else
3946 if test -n "$CC"; then
3947 ac_cv_prog_CC="$CC" # Let the user override the test.
3948 else
3949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 for as_dir in $PATH
3952 IFS=$as_save_IFS
3953 test -z "$as_dir" && as_dir=.
3954 for ac_exec_ext in '' $ac_executable_extensions; do
3955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3956 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3960 done
3961 done
3962 IFS=$as_save_IFS
3966 CC=$ac_cv_prog_CC
3967 if test -n "$CC"; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3969 $as_echo "$CC" >&6; }
3970 else
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3977 if test -z "$ac_cv_prog_CC"; then
3978 ac_ct_CC=$CC
3979 # Extract the first word of "gcc", so it can be a program name with args.
3980 set dummy gcc; ac_word=$2
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982 $as_echo_n "checking for $ac_word... " >&6; }
3983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3984 $as_echo_n "(cached) " >&6
3985 else
3986 if test -n "$ac_ct_CC"; then
3987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3988 else
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_ac_ct_CC="gcc"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2
4000 done
4001 done
4002 IFS=$as_save_IFS
4006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4007 if test -n "$ac_ct_CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4009 $as_echo "$ac_ct_CC" >&6; }
4010 else
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4015 if test "x$ac_ct_CC" = x; then
4016 CC=""
4017 else
4018 case $cross_compiling:$ac_tool_warned in
4019 yes:)
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4022 ac_tool_warned=yes ;;
4023 esac
4024 CC=$ac_ct_CC
4026 else
4027 CC="$ac_cv_prog_CC"
4030 if test -z "$CC"; then
4031 if test -n "$ac_tool_prefix"; then
4032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4033 set dummy ${ac_tool_prefix}cc; ac_word=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if ${ac_cv_prog_CC+:} false; then :
4037 $as_echo_n "(cached) " >&6
4038 else
4039 if test -n "$CC"; then
4040 ac_cv_prog_CC="$CC" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_CC="${ac_tool_prefix}cc"
4050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4053 done
4054 done
4055 IFS=$as_save_IFS
4059 CC=$ac_cv_prog_CC
4060 if test -n "$CC"; then
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4062 $as_echo "$CC" >&6; }
4063 else
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4065 $as_echo "no" >&6; }
4071 if test -z "$CC"; then
4072 # Extract the first word of "cc", so it can be a program name with args.
4073 set dummy cc; ac_word=$2
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4075 $as_echo_n "checking for $ac_word... " >&6; }
4076 if ${ac_cv_prog_CC+:} false; then :
4077 $as_echo_n "(cached) " >&6
4078 else
4079 if test -n "$CC"; then
4080 ac_cv_prog_CC="$CC" # Let the user override the test.
4081 else
4082 ac_prog_rejected=no
4083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4084 for as_dir in $PATH
4086 IFS=$as_save_IFS
4087 test -z "$as_dir" && as_dir=.
4088 for ac_exec_ext in '' $ac_executable_extensions; do
4089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4091 ac_prog_rejected=yes
4092 continue
4094 ac_cv_prog_CC="cc"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 break 2
4098 done
4099 done
4100 IFS=$as_save_IFS
4102 if test $ac_prog_rejected = yes; then
4103 # We found a bogon in the path, so make sure we never use it.
4104 set dummy $ac_cv_prog_CC
4105 shift
4106 if test $# != 0; then
4107 # We chose a different compiler from the bogus one.
4108 # However, it has the same basename, so the bogon will be chosen
4109 # first if we set CC to just the basename; use the full file name.
4110 shift
4111 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4116 CC=$ac_cv_prog_CC
4117 if test -n "$CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4119 $as_echo "$CC" >&6; }
4120 else
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4127 if test -z "$CC"; then
4128 if test -n "$ac_tool_prefix"; then
4129 for ac_prog in cl.exe
4131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4134 $as_echo_n "checking for $ac_word... " >&6; }
4135 if ${ac_cv_prog_CC+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 if test -n "$CC"; then
4139 ac_cv_prog_CC="$CC" # Let the user override the test.
4140 else
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 for as_dir in $PATH
4144 IFS=$as_save_IFS
4145 test -z "$as_dir" && as_dir=.
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4148 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 break 2
4152 done
4153 done
4154 IFS=$as_save_IFS
4158 CC=$ac_cv_prog_CC
4159 if test -n "$CC"; then
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4161 $as_echo "$CC" >&6; }
4162 else
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164 $as_echo "no" >&6; }
4168 test -n "$CC" && break
4169 done
4171 if test -z "$CC"; then
4172 ac_ct_CC=$CC
4173 for ac_prog in cl.exe
4175 # Extract the first word of "$ac_prog", so it can be a program name with args.
4176 set dummy $ac_prog; ac_word=$2
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4178 $as_echo_n "checking for $ac_word... " >&6; }
4179 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 if test -n "$ac_ct_CC"; then
4183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4184 else
4185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4186 for as_dir in $PATH
4188 IFS=$as_save_IFS
4189 test -z "$as_dir" && as_dir=.
4190 for ac_exec_ext in '' $ac_executable_extensions; do
4191 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4192 ac_cv_prog_ac_ct_CC="$ac_prog"
4193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4194 break 2
4196 done
4197 done
4198 IFS=$as_save_IFS
4202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4203 if test -n "$ac_ct_CC"; then
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4205 $as_echo "$ac_ct_CC" >&6; }
4206 else
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4208 $as_echo "no" >&6; }
4212 test -n "$ac_ct_CC" && break
4213 done
4215 if test "x$ac_ct_CC" = x; then
4216 CC=""
4217 else
4218 case $cross_compiling:$ac_tool_warned in
4219 yes:)
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4222 ac_tool_warned=yes ;;
4223 esac
4224 CC=$ac_ct_CC
4231 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4233 as_fn_error $? "no acceptable C compiler found in \$PATH
4234 See \`config.log' for more details" "$LINENO" 5; }
4236 # Provide some information about the compiler.
4237 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4238 set X $ac_compile
4239 ac_compiler=$2
4240 for ac_option in --version -v -V -qversion; do
4241 { { ac_try="$ac_compiler $ac_option >&5"
4242 case "(($ac_try" in
4243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4245 esac
4246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4247 $as_echo "$ac_try_echo"; } >&5
4248 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4249 ac_status=$?
4250 if test -s conftest.err; then
4251 sed '10a\
4252 ... rest of stderr output deleted ...
4253 10q' conftest.err >conftest.er1
4254 cat conftest.er1 >&5
4256 rm -f conftest.er1 conftest.err
4257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4258 test $ac_status = 0; }
4259 done
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4265 main ()
4269 return 0;
4271 _ACEOF
4272 ac_clean_files_save=$ac_clean_files
4273 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4274 # Try to create an executable without -o first, disregard a.out.
4275 # It will help us diagnose broken compilers, and finding out an intuition
4276 # of exeext.
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4278 $as_echo_n "checking whether the C compiler works... " >&6; }
4279 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4281 # The possible output files:
4282 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4284 ac_rmfiles=
4285 for ac_file in $ac_files
4287 case $ac_file in
4288 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4289 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4290 esac
4291 done
4292 rm -f $ac_rmfiles
4294 if { { ac_try="$ac_link_default"
4295 case "(($ac_try" in
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4298 esac
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_link_default") 2>&5
4302 ac_status=$?
4303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4304 test $ac_status = 0; }; then :
4305 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4306 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4307 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4308 # so that the user can short-circuit this test for compilers unknown to
4309 # Autoconf.
4310 for ac_file in $ac_files ''
4312 test -f "$ac_file" || continue
4313 case $ac_file in
4314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4316 [ab].out )
4317 # We found the default executable, but exeext='' is most
4318 # certainly right.
4319 break;;
4320 *.* )
4321 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4322 then :; else
4323 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4325 # We set ac_cv_exeext here because the later test for it is not
4326 # safe: cross compilers may not add the suffix if given an `-o'
4327 # argument, so we may need to know it at that point already.
4328 # Even if this section looks crufty: it has the advantage of
4329 # actually working.
4330 break;;
4332 break;;
4333 esac
4334 done
4335 test "$ac_cv_exeext" = no && ac_cv_exeext=
4337 else
4338 ac_file=''
4340 if test -z "$ac_file"; then :
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4342 $as_echo "no" >&6; }
4343 $as_echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.$ac_ext >&5
4346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4348 as_fn_error 77 "C compiler cannot create executables
4349 See \`config.log' for more details" "$LINENO" 5; }
4350 else
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4352 $as_echo "yes" >&6; }
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4355 $as_echo_n "checking for C compiler default output file name... " >&6; }
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4357 $as_echo "$ac_file" >&6; }
4358 ac_exeext=$ac_cv_exeext
4360 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4361 ac_clean_files=$ac_clean_files_save
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4363 $as_echo_n "checking for suffix of executables... " >&6; }
4364 if { { ac_try="$ac_link"
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_link") 2>&5
4372 ac_status=$?
4373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4374 test $ac_status = 0; }; then :
4375 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4376 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4377 # work properly (i.e., refer to `conftest.exe'), while it won't with
4378 # `rm'.
4379 for ac_file in conftest.exe conftest conftest.*; do
4380 test -f "$ac_file" || continue
4381 case $ac_file in
4382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4383 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4384 break;;
4385 * ) break;;
4386 esac
4387 done
4388 else
4389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4391 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4392 See \`config.log' for more details" "$LINENO" 5; }
4394 rm -f conftest conftest$ac_cv_exeext
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4396 $as_echo "$ac_cv_exeext" >&6; }
4398 rm -f conftest.$ac_ext
4399 EXEEXT=$ac_cv_exeext
4400 ac_exeext=$EXEEXT
4401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4403 #include <stdio.h>
4405 main ()
4407 FILE *f = fopen ("conftest.out", "w");
4408 return ferror (f) || fclose (f) != 0;
4411 return 0;
4413 _ACEOF
4414 ac_clean_files="$ac_clean_files conftest.out"
4415 # Check that the compiler produces executables we can run. If not, either
4416 # the compiler is broken, or we cross compile.
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4418 $as_echo_n "checking whether we are cross compiling... " >&6; }
4419 if test "$cross_compiling" != yes; then
4420 { { ac_try="$ac_link"
4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_link") 2>&5
4428 ac_status=$?
4429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4430 test $ac_status = 0; }
4431 if { ac_try='./conftest$ac_cv_exeext'
4432 { { case "(($ac_try" in
4433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4434 *) ac_try_echo=$ac_try;;
4435 esac
4436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4437 $as_echo "$ac_try_echo"; } >&5
4438 (eval "$ac_try") 2>&5
4439 ac_status=$?
4440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4441 test $ac_status = 0; }; }; then
4442 cross_compiling=no
4443 else
4444 if test "$cross_compiling" = maybe; then
4445 cross_compiling=yes
4446 else
4447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4448 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4449 as_fn_error $? "cannot run C compiled programs.
4450 If you meant to cross compile, use \`--host'.
4451 See \`config.log' for more details" "$LINENO" 5; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4456 $as_echo "$cross_compiling" >&6; }
4458 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4459 ac_clean_files=$ac_clean_files_save
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4461 $as_echo_n "checking for suffix of object files... " >&6; }
4462 if ${ac_cv_objext+:} false; then :
4463 $as_echo_n "(cached) " >&6
4464 else
4465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4466 /* end confdefs.h. */
4469 main ()
4473 return 0;
4475 _ACEOF
4476 rm -f conftest.o conftest.obj
4477 if { { ac_try="$ac_compile"
4478 case "(($ac_try" in
4479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4480 *) ac_try_echo=$ac_try;;
4481 esac
4482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4483 $as_echo "$ac_try_echo"; } >&5
4484 (eval "$ac_compile") 2>&5
4485 ac_status=$?
4486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4487 test $ac_status = 0; }; then :
4488 for ac_file in conftest.o conftest.obj conftest.*; do
4489 test -f "$ac_file" || continue;
4490 case $ac_file in
4491 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4492 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4493 break;;
4494 esac
4495 done
4496 else
4497 $as_echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.$ac_ext >&5
4500 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4502 as_fn_error $? "cannot compute suffix of object files: cannot compile
4503 See \`config.log' for more details" "$LINENO" 5; }
4505 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4508 $as_echo "$ac_cv_objext" >&6; }
4509 OBJEXT=$ac_cv_objext
4510 ac_objext=$OBJEXT
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4512 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4513 if ${ac_cv_c_compiler_gnu+:} false; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4520 main ()
4522 #ifndef __GNUC__
4523 choke me
4524 #endif
4527 return 0;
4529 _ACEOF
4530 if ac_fn_c_try_compile "$LINENO"; then :
4531 ac_compiler_gnu=yes
4532 else
4533 ac_compiler_gnu=no
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4540 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4541 if test $ac_compiler_gnu = yes; then
4542 GCC=yes
4543 else
4544 GCC=
4546 ac_test_CFLAGS=${CFLAGS+set}
4547 ac_save_CFLAGS=$CFLAGS
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4549 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4550 if ${ac_cv_prog_cc_g+:} false; then :
4551 $as_echo_n "(cached) " >&6
4552 else
4553 ac_save_c_werror_flag=$ac_c_werror_flag
4554 ac_c_werror_flag=yes
4555 ac_cv_prog_cc_g=no
4556 CFLAGS="-g"
4557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h. */
4561 main ()
4565 return 0;
4567 _ACEOF
4568 if ac_fn_c_try_compile "$LINENO"; then :
4569 ac_cv_prog_cc_g=yes
4570 else
4571 CFLAGS=""
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4576 main ()
4580 return 0;
4582 _ACEOF
4583 if ac_fn_c_try_compile "$LINENO"; then :
4585 else
4586 ac_c_werror_flag=$ac_save_c_werror_flag
4587 CFLAGS="-g"
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4592 main ()
4596 return 0;
4598 _ACEOF
4599 if ac_fn_c_try_compile "$LINENO"; then :
4600 ac_cv_prog_cc_g=yes
4602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 ac_c_werror_flag=$ac_save_c_werror_flag
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4610 $as_echo "$ac_cv_prog_cc_g" >&6; }
4611 if test "$ac_test_CFLAGS" = set; then
4612 CFLAGS=$ac_save_CFLAGS
4613 elif test $ac_cv_prog_cc_g = yes; then
4614 if test "$GCC" = yes; then
4615 CFLAGS="-g -O2"
4616 else
4617 CFLAGS="-g"
4619 else
4620 if test "$GCC" = yes; then
4621 CFLAGS="-O2"
4622 else
4623 CFLAGS=
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4627 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4628 if ${ac_cv_prog_cc_c89+:} false; then :
4629 $as_echo_n "(cached) " >&6
4630 else
4631 ac_cv_prog_cc_c89=no
4632 ac_save_CC=$CC
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635 #include <stdarg.h>
4636 #include <stdio.h>
4637 struct stat;
4638 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4639 struct buf { int x; };
4640 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4641 static char *e (p, i)
4642 char **p;
4643 int i;
4645 return p[i];
4647 static char *f (char * (*g) (char **, int), char **p, ...)
4649 char *s;
4650 va_list v;
4651 va_start (v,p);
4652 s = g (p, va_arg (v,int));
4653 va_end (v);
4654 return s;
4657 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4658 function prototypes and stuff, but not '\xHH' hex character constants.
4659 These don't provoke an error unfortunately, instead are silently treated
4660 as 'x'. The following induces an error, until -std is added to get
4661 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4662 array size at least. It's necessary to write '\x00'==0 to get something
4663 that's true only with -std. */
4664 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4666 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4667 inside strings and character constants. */
4668 #define FOO(x) 'x'
4669 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4671 int test (int i, double x);
4672 struct s1 {int (*f) (int a);};
4673 struct s2 {int (*f) (double a);};
4674 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4675 int argc;
4676 char **argv;
4678 main ()
4680 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4682 return 0;
4684 _ACEOF
4685 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4686 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4688 CC="$ac_save_CC $ac_arg"
4689 if ac_fn_c_try_compile "$LINENO"; then :
4690 ac_cv_prog_cc_c89=$ac_arg
4692 rm -f core conftest.err conftest.$ac_objext
4693 test "x$ac_cv_prog_cc_c89" != "xno" && break
4694 done
4695 rm -f conftest.$ac_ext
4696 CC=$ac_save_CC
4699 # AC_CACHE_VAL
4700 case "x$ac_cv_prog_cc_c89" in
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4703 $as_echo "none needed" >&6; } ;;
4704 xno)
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4706 $as_echo "unsupported" >&6; } ;;
4708 CC="$CC $ac_cv_prog_cc_c89"
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4710 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4711 esac
4712 if test "x$ac_cv_prog_cc_c89" != xno; then :
4716 ac_ext=c
4717 ac_cpp='$CPP $CPPFLAGS'
4718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4722 ac_ext=cpp
4723 ac_cpp='$CXXCPP $CPPFLAGS'
4724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4727 if test -z "$CXX"; then
4728 if test -n "$CCC"; then
4729 CXX=$CCC
4730 else
4731 if test -n "$ac_tool_prefix"; then
4732 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4734 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4735 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4737 $as_echo_n "checking for $ac_word... " >&6; }
4738 if ${ac_cv_prog_CXX+:} false; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 if test -n "$CXX"; then
4742 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4743 else
4744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4745 for as_dir in $PATH
4747 IFS=$as_save_IFS
4748 test -z "$as_dir" && as_dir=.
4749 for ac_exec_ext in '' $ac_executable_extensions; do
4750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4751 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4753 break 2
4755 done
4756 done
4757 IFS=$as_save_IFS
4761 CXX=$ac_cv_prog_CXX
4762 if test -n "$CXX"; then
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4764 $as_echo "$CXX" >&6; }
4765 else
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4767 $as_echo "no" >&6; }
4771 test -n "$CXX" && break
4772 done
4774 if test -z "$CXX"; then
4775 ac_ct_CXX=$CXX
4776 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4778 # Extract the first word of "$ac_prog", so it can be a program name with args.
4779 set dummy $ac_prog; ac_word=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4783 $as_echo_n "(cached) " >&6
4784 else
4785 if test -n "$ac_ct_CXX"; then
4786 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4787 else
4788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789 for as_dir in $PATH
4791 IFS=$as_save_IFS
4792 test -z "$as_dir" && as_dir=.
4793 for ac_exec_ext in '' $ac_executable_extensions; do
4794 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4795 ac_cv_prog_ac_ct_CXX="$ac_prog"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4797 break 2
4799 done
4800 done
4801 IFS=$as_save_IFS
4805 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4806 if test -n "$ac_ct_CXX"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4808 $as_echo "$ac_ct_CXX" >&6; }
4809 else
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4815 test -n "$ac_ct_CXX" && break
4816 done
4818 if test "x$ac_ct_CXX" = x; then
4819 CXX="g++"
4820 else
4821 case $cross_compiling:$ac_tool_warned in
4822 yes:)
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4824 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4825 ac_tool_warned=yes ;;
4826 esac
4827 CXX=$ac_ct_CXX
4833 # Provide some information about the compiler.
4834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4835 set X $ac_compile
4836 ac_compiler=$2
4837 for ac_option in --version -v -V -qversion; do
4838 { { ac_try="$ac_compiler $ac_option >&5"
4839 case "(($ac_try" in
4840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4841 *) ac_try_echo=$ac_try;;
4842 esac
4843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4844 $as_echo "$ac_try_echo"; } >&5
4845 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4846 ac_status=$?
4847 if test -s conftest.err; then
4848 sed '10a\
4849 ... rest of stderr output deleted ...
4850 10q' conftest.err >conftest.er1
4851 cat conftest.er1 >&5
4853 rm -f conftest.er1 conftest.err
4854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4855 test $ac_status = 0; }
4856 done
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4859 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4860 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4861 $as_echo_n "(cached) " >&6
4862 else
4863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864 /* end confdefs.h. */
4867 main ()
4869 #ifndef __GNUC__
4870 choke me
4871 #endif
4874 return 0;
4876 _ACEOF
4877 if ac_fn_cxx_try_compile "$LINENO"; then :
4878 ac_compiler_gnu=yes
4879 else
4880 ac_compiler_gnu=no
4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4887 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4888 if test $ac_compiler_gnu = yes; then
4889 GXX=yes
4890 else
4891 GXX=
4893 ac_test_CXXFLAGS=${CXXFLAGS+set}
4894 ac_save_CXXFLAGS=$CXXFLAGS
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4896 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4897 if ${ac_cv_prog_cxx_g+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4901 ac_cxx_werror_flag=yes
4902 ac_cv_prog_cxx_g=no
4903 CXXFLAGS="-g"
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4908 main ()
4912 return 0;
4914 _ACEOF
4915 if ac_fn_cxx_try_compile "$LINENO"; then :
4916 ac_cv_prog_cxx_g=yes
4917 else
4918 CXXFLAGS=""
4919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4920 /* end confdefs.h. */
4923 main ()
4927 return 0;
4929 _ACEOF
4930 if ac_fn_cxx_try_compile "$LINENO"; then :
4932 else
4933 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4934 CXXFLAGS="-g"
4935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4939 main ()
4943 return 0;
4945 _ACEOF
4946 if ac_fn_cxx_try_compile "$LINENO"; then :
4947 ac_cv_prog_cxx_g=yes
4949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4954 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4957 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4958 if test "$ac_test_CXXFLAGS" = set; then
4959 CXXFLAGS=$ac_save_CXXFLAGS
4960 elif test $ac_cv_prog_cxx_g = yes; then
4961 if test "$GXX" = yes; then
4962 CXXFLAGS="-g -O2"
4963 else
4964 CXXFLAGS="-g"
4966 else
4967 if test "$GXX" = yes; then
4968 CXXFLAGS="-O2"
4969 else
4970 CXXFLAGS=
4973 ac_ext=c
4974 ac_cpp='$CPP $CPPFLAGS'
4975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4979 if test -n "$ac_tool_prefix"; then
4980 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4981 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4983 $as_echo_n "checking for $ac_word... " >&6; }
4984 if ${ac_cv_prog_CPPBIN+:} false; then :
4985 $as_echo_n "(cached) " >&6
4986 else
4987 if test -n "$CPPBIN"; then
4988 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4989 else
4990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991 for as_dir in $PATH
4993 IFS=$as_save_IFS
4994 test -z "$as_dir" && as_dir=.
4995 for ac_exec_ext in '' $ac_executable_extensions; do
4996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4997 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 break 2
5001 done
5002 done
5003 IFS=$as_save_IFS
5007 CPPBIN=$ac_cv_prog_CPPBIN
5008 if test -n "$CPPBIN"; then
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5010 $as_echo "$CPPBIN" >&6; }
5011 else
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5013 $as_echo "no" >&6; }
5018 if test -z "$ac_cv_prog_CPPBIN"; then
5019 ac_ct_CPPBIN=$CPPBIN
5020 # Extract the first word of "cpp", so it can be a program name with args.
5021 set dummy cpp; ac_word=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 if test -n "$ac_ct_CPPBIN"; then
5028 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5029 else
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH
5033 IFS=$as_save_IFS
5034 test -z "$as_dir" && as_dir=.
5035 for ac_exec_ext in '' $ac_executable_extensions; do
5036 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5037 ac_cv_prog_ac_ct_CPPBIN="cpp"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 break 2
5041 done
5042 done
5043 IFS=$as_save_IFS
5047 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5048 if test -n "$ac_ct_CPPBIN"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5050 $as_echo "$ac_ct_CPPBIN" >&6; }
5051 else
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5056 if test "x$ac_ct_CPPBIN" = x; then
5057 CPPBIN="cpp"
5058 else
5059 case $cross_compiling:$ac_tool_warned in
5060 yes:)
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5063 ac_tool_warned=yes ;;
5064 esac
5065 CPPBIN=$ac_ct_CPPBIN
5067 else
5068 CPPBIN="$ac_cv_prog_CPPBIN"
5072 cat >>confdefs.h <<_ACEOF
5073 #define EXEEXT "$ac_exeext"
5074 _ACEOF
5076 if test -n "$ac_tool_prefix"; then
5077 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5078 set dummy ${ac_tool_prefix}ld; ac_word=$2
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5080 $as_echo_n "checking for $ac_word... " >&6; }
5081 if ${ac_cv_prog_LD+:} false; then :
5082 $as_echo_n "(cached) " >&6
5083 else
5084 if test -n "$LD"; then
5085 ac_cv_prog_LD="$LD" # Let the user override the test.
5086 else
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5090 IFS=$as_save_IFS
5091 test -z "$as_dir" && as_dir=.
5092 for ac_exec_ext in '' $ac_executable_extensions; do
5093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_LD="${ac_tool_prefix}ld"
5095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5096 break 2
5098 done
5099 done
5100 IFS=$as_save_IFS
5104 LD=$ac_cv_prog_LD
5105 if test -n "$LD"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5107 $as_echo "$LD" >&6; }
5108 else
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5110 $as_echo "no" >&6; }
5115 if test -z "$ac_cv_prog_LD"; then
5116 ac_ct_LD=$LD
5117 # Extract the first word of "ld", so it can be a program name with args.
5118 set dummy ld; ac_word=$2
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5120 $as_echo_n "checking for $ac_word... " >&6; }
5121 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5122 $as_echo_n "(cached) " >&6
5123 else
5124 if test -n "$ac_ct_LD"; then
5125 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5126 else
5127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 for as_dir in $PATH
5130 IFS=$as_save_IFS
5131 test -z "$as_dir" && as_dir=.
5132 for ac_exec_ext in '' $ac_executable_extensions; do
5133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5134 ac_cv_prog_ac_ct_LD="ld"
5135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 break 2
5138 done
5139 done
5140 IFS=$as_save_IFS
5144 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5145 if test -n "$ac_ct_LD"; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5147 $as_echo "$ac_ct_LD" >&6; }
5148 else
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5150 $as_echo "no" >&6; }
5153 if test "x$ac_ct_LD" = x; then
5154 LD=""
5155 else
5156 case $cross_compiling:$ac_tool_warned in
5157 yes:)
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5160 ac_tool_warned=yes ;;
5161 esac
5162 LD=$ac_ct_LD
5164 else
5165 LD="$ac_cv_prog_LD"
5169 case $host in
5170 *-darwin*)
5171 with_fontconfig=${with_fontconfig:-no}
5173 *-mingw32*|*-cygwin*)
5174 enable_win16=${enable_win16:-no}
5175 CFLAGS="$CFLAGS -D_WIN32"
5177 esac
5179 case $host in
5180 x86_64*|amd64*)
5181 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5182 then
5183 CC="$CC -m32"
5184 CXX="$CXX -m32"
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5186 $as_echo_n "checking whether $CC works... " >&6; }
5188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5192 main ()
5196 return 0;
5198 _ACEOF
5199 if ac_fn_c_try_link "$LINENO"; then :
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5201 $as_echo "yes" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5205 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5207 rm -f core conftest.err conftest.$ac_objext \
5208 conftest$ac_exeext conftest.$ac_ext
5209 host_cpu="i386"
5210 notice_platform="32-bit "
5211 TARGETFLAGS="-m32"
5213 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5214 export PKG_CONFIG_PATH
5215 enable_win16=${enable_win16:-yes}
5216 else
5217 if test "x${GCC}" = "xyes"
5218 then
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5220 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5223 #include <stdarg.h>
5225 main ()
5227 void func(__builtin_ms_va_list *args);
5229 return 0;
5231 _ACEOF
5232 if ac_fn_c_try_compile "$LINENO"; then :
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5234 $as_echo "yes" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5238 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5242 CC="$CC -m64"
5243 CXX="$CXX -m64"
5244 host_cpu="x86_64"
5245 notice_platform="64-bit "
5246 TARGETFLAGS="-m64"
5250 arm*)
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5252 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5254 /* end confdefs.h. */
5255 int ac_test(int i) { return i; }
5257 main ()
5259 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5261 return 0;
5263 _ACEOF
5264 if ac_fn_c_try_link "$LINENO"; then :
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5266 $as_echo "yes" >&6; }
5267 else
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269 $as_echo "no" >&6; }
5270 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5272 rm -f core conftest.err conftest.$ac_objext \
5273 conftest$ac_exeext conftest.$ac_ext
5274 case $with_float_abi in
5275 soft|softfp|hard)
5276 float_abi=$with_float_abi ;;
5278 case $host_os in
5279 *eabihf)
5280 float_abi=hard ;;
5282 float_abi=softfp
5283 saved_CFLAGS=$CFLAGS
5284 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5286 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5291 main ()
5293 asm("vmrs r2,fpscr");
5295 return 0;
5297 _ACEOF
5298 if ac_fn_c_try_link "$LINENO"; then :
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5300 $as_echo "yes" >&6; }
5301 else
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5304 float_abi=soft
5305 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5307 rm -f core conftest.err conftest.$ac_objext \
5308 conftest$ac_exeext conftest.$ac_ext
5309 CFLAGS=$saved_CFLAGS
5310 esac
5312 esac
5313 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5314 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5317 i[3456789]86*)
5318 enable_win16=${enable_win16:-yes}
5320 esac
5322 enable_win16=${enable_win16:-no}
5323 enable_win64=${enable_win64:-no}
5325 enable_winetest=${enable_winetest:-$enable_tests}
5327 if test -n "$with_wine64"
5328 then
5329 if test "x$enable_win64" = "xyes"
5330 then
5331 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5332 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5334 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5335 You should create a separate build directory and run configure from there." "$LINENO" 5
5336 enable_fonts=${enable_fonts:-no}
5337 enable_server=${enable_server:-no}
5338 elif test "x$enable_win64" = "xyes"
5339 then
5340 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5344 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5345 if ${wine_cv_toolsdir+:} false; then :
5346 $as_echo_n "(cached) " >&6
5347 else
5348 wine_cv_toolsdir="$with_wine_tools"
5349 if test -z "$with_wine_tools"; then
5350 if test "$cross_compiling" = "yes"; then
5351 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5352 elif test -n "$with_wine64"; then
5353 wine_cv_toolsdir="$with_wine64"
5356 if test -z "$wine_cv_toolsdir"; then
5357 wine_makedep=tools/makedep
5358 wine_cv_toolsdir="\$(top_builddir)"
5359 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5360 wine_makedep=$wine_cv_toolsdir/tools/makedep
5361 case "$wine_cv_toolsdir" in
5362 /*) ;;
5363 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5364 esac
5365 enable_tools=${enable_tools:-no}
5366 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5367 else
5368 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5372 $as_echo "$wine_cv_toolsdir" >&6; }
5373 TOOLSDIR=$wine_cv_toolsdir
5375 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5376 then
5377 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5381 for ac_prog in flex
5383 # Extract the first word of "$ac_prog", so it can be a program name with args.
5384 set dummy $ac_prog; ac_word=$2
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5386 $as_echo_n "checking for $ac_word... " >&6; }
5387 if ${ac_cv_prog_FLEX+:} false; then :
5388 $as_echo_n "(cached) " >&6
5389 else
5390 if test -n "$FLEX"; then
5391 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5392 else
5393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5394 for as_dir in $PATH
5396 IFS=$as_save_IFS
5397 test -z "$as_dir" && as_dir=.
5398 for ac_exec_ext in '' $ac_executable_extensions; do
5399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5400 ac_cv_prog_FLEX="$ac_prog"
5401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5402 break 2
5404 done
5405 done
5406 IFS=$as_save_IFS
5410 FLEX=$ac_cv_prog_FLEX
5411 if test -n "$FLEX"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5413 $as_echo "$FLEX" >&6; }
5414 else
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5420 test -n "$FLEX" && break
5421 done
5422 test -n "$FLEX" || FLEX="none"
5424 if test "$FLEX" = "none"
5425 then
5426 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5429 $as_echo_n "checking whether flex is recent enough... " >&6; }
5430 cat >conftest.l <<EOF
5431 %top{
5432 #include "prediluvian.h"
5436 if $FLEX -t conftest.l >/dev/null 2>&5
5437 then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5439 $as_echo "yes" >&6; }
5440 else
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5443 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5446 for ac_prog in bison
5448 # Extract the first word of "$ac_prog", so it can be a program name with args.
5449 set dummy $ac_prog; ac_word=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_prog_BISON+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if test -n "$BISON"; then
5456 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5457 else
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH
5461 IFS=$as_save_IFS
5462 test -z "$as_dir" && as_dir=.
5463 for ac_exec_ext in '' $ac_executable_extensions; do
5464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_BISON="$ac_prog"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 break 2
5469 done
5470 done
5471 IFS=$as_save_IFS
5475 BISON=$ac_cv_prog_BISON
5476 if test -n "$BISON"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5478 $as_echo "$BISON" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5485 test -n "$BISON" && break
5486 done
5487 test -n "$BISON" || BISON="none"
5489 if test "$BISON" = "none"
5490 then
5491 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5494 if test -n "$ac_tool_prefix"; then
5495 for ac_prog in ar gar
5497 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5498 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5500 $as_echo_n "checking for $ac_word... " >&6; }
5501 if ${ac_cv_prog_AR+:} false; then :
5502 $as_echo_n "(cached) " >&6
5503 else
5504 if test -n "$AR"; then
5505 ac_cv_prog_AR="$AR" # Let the user override the test.
5506 else
5507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508 for as_dir in $PATH
5510 IFS=$as_save_IFS
5511 test -z "$as_dir" && as_dir=.
5512 for ac_exec_ext in '' $ac_executable_extensions; do
5513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5514 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5516 break 2
5518 done
5519 done
5520 IFS=$as_save_IFS
5524 AR=$ac_cv_prog_AR
5525 if test -n "$AR"; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5527 $as_echo "$AR" >&6; }
5528 else
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5530 $as_echo "no" >&6; }
5534 test -n "$AR" && break
5535 done
5537 if test -z "$AR"; then
5538 ac_ct_AR=$AR
5539 for ac_prog in ar gar
5541 # Extract the first word of "$ac_prog", so it can be a program name with args.
5542 set dummy $ac_prog; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5546 $as_echo_n "(cached) " >&6
5547 else
5548 if test -n "$ac_ct_AR"; then
5549 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5550 else
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in $PATH
5554 IFS=$as_save_IFS
5555 test -z "$as_dir" && as_dir=.
5556 for ac_exec_ext in '' $ac_executable_extensions; do
5557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_prog_ac_ct_AR="$ac_prog"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 break 2
5562 done
5563 done
5564 IFS=$as_save_IFS
5568 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5569 if test -n "$ac_ct_AR"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5571 $as_echo "$ac_ct_AR" >&6; }
5572 else
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5578 test -n "$ac_ct_AR" && break
5579 done
5581 if test "x$ac_ct_AR" = x; then
5582 AR="ar"
5583 else
5584 case $cross_compiling:$ac_tool_warned in
5585 yes:)
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5588 ac_tool_warned=yes ;;
5589 esac
5590 AR=$ac_ct_AR
5594 if test -n "$ac_tool_prefix"; then
5595 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5596 set dummy ${ac_tool_prefix}strip; ac_word=$2
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5598 $as_echo_n "checking for $ac_word... " >&6; }
5599 if ${ac_cv_prog_STRIP+:} false; then :
5600 $as_echo_n "(cached) " >&6
5601 else
5602 if test -n "$STRIP"; then
5603 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5604 else
5605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5606 for as_dir in $PATH
5608 IFS=$as_save_IFS
5609 test -z "$as_dir" && as_dir=.
5610 for ac_exec_ext in '' $ac_executable_extensions; do
5611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5612 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5614 break 2
5616 done
5617 done
5618 IFS=$as_save_IFS
5622 STRIP=$ac_cv_prog_STRIP
5623 if test -n "$STRIP"; then
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5625 $as_echo "$STRIP" >&6; }
5626 else
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5628 $as_echo "no" >&6; }
5633 if test -z "$ac_cv_prog_STRIP"; then
5634 ac_ct_STRIP=$STRIP
5635 # Extract the first word of "strip", so it can be a program name with args.
5636 set dummy strip; ac_word=$2
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5638 $as_echo_n "checking for $ac_word... " >&6; }
5639 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5640 $as_echo_n "(cached) " >&6
5641 else
5642 if test -n "$ac_ct_STRIP"; then
5643 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5644 else
5645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5646 for as_dir in $PATH
5648 IFS=$as_save_IFS
5649 test -z "$as_dir" && as_dir=.
5650 for ac_exec_ext in '' $ac_executable_extensions; do
5651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5652 ac_cv_prog_ac_ct_STRIP="strip"
5653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5654 break 2
5656 done
5657 done
5658 IFS=$as_save_IFS
5662 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5663 if test -n "$ac_ct_STRIP"; then
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5665 $as_echo "$ac_ct_STRIP" >&6; }
5666 else
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }
5671 if test "x$ac_ct_STRIP" = x; then
5672 STRIP="strip"
5673 else
5674 case $cross_compiling:$ac_tool_warned in
5675 yes:)
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5678 ac_tool_warned=yes ;;
5679 esac
5680 STRIP=$ac_ct_STRIP
5682 else
5683 STRIP="$ac_cv_prog_STRIP"
5686 ARFLAGS=rc
5688 if test -n "$ac_tool_prefix"; then
5689 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5690 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5692 $as_echo_n "checking for $ac_word... " >&6; }
5693 if ${ac_cv_prog_RANLIB+:} false; then :
5694 $as_echo_n "(cached) " >&6
5695 else
5696 if test -n "$RANLIB"; then
5697 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5698 else
5699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 for as_dir in $PATH
5702 IFS=$as_save_IFS
5703 test -z "$as_dir" && as_dir=.
5704 for ac_exec_ext in '' $ac_executable_extensions; do
5705 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5706 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 break 2
5710 done
5711 done
5712 IFS=$as_save_IFS
5716 RANLIB=$ac_cv_prog_RANLIB
5717 if test -n "$RANLIB"; then
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5719 $as_echo "$RANLIB" >&6; }
5720 else
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5727 if test -z "$ac_cv_prog_RANLIB"; then
5728 ac_ct_RANLIB=$RANLIB
5729 # Extract the first word of "ranlib", so it can be a program name with args.
5730 set dummy ranlib; ac_word=$2
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5732 $as_echo_n "checking for $ac_word... " >&6; }
5733 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5734 $as_echo_n "(cached) " >&6
5735 else
5736 if test -n "$ac_ct_RANLIB"; then
5737 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5738 else
5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 for as_dir in $PATH
5742 IFS=$as_save_IFS
5743 test -z "$as_dir" && as_dir=.
5744 for ac_exec_ext in '' $ac_executable_extensions; do
5745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5746 ac_cv_prog_ac_ct_RANLIB="ranlib"
5747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 break 2
5750 done
5751 done
5752 IFS=$as_save_IFS
5756 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5757 if test -n "$ac_ct_RANLIB"; then
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5759 $as_echo "$ac_ct_RANLIB" >&6; }
5760 else
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5762 $as_echo "no" >&6; }
5765 if test "x$ac_ct_RANLIB" = x; then
5766 RANLIB=":"
5767 else
5768 case $cross_compiling:$ac_tool_warned in
5769 yes:)
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5772 ac_tool_warned=yes ;;
5773 esac
5774 RANLIB=$ac_ct_RANLIB
5776 else
5777 RANLIB="$ac_cv_prog_RANLIB"
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5781 $as_echo_n "checking whether ln -s works... " >&6; }
5782 LN_S=$as_ln_s
5783 if test "$LN_S" = "ln -s"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5785 $as_echo "yes" >&6; }
5786 else
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5788 $as_echo "no, using $LN_S" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5792 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5793 if ${ac_cv_path_GREP+:} false; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 if test -z "$GREP"; then
5797 ac_path_GREP_found=false
5798 # Loop through the user's path and test for each of PROGNAME-LIST
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5802 IFS=$as_save_IFS
5803 test -z "$as_dir" && as_dir=.
5804 for ac_prog in grep ggrep; do
5805 for ac_exec_ext in '' $ac_executable_extensions; do
5806 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5807 as_fn_executable_p "$ac_path_GREP" || continue
5808 # Check for GNU ac_path_GREP and select it if it is found.
5809 # Check for GNU $ac_path_GREP
5810 case `"$ac_path_GREP" --version 2>&1` in
5811 *GNU*)
5812 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5814 ac_count=0
5815 $as_echo_n 0123456789 >"conftest.in"
5816 while :
5818 cat "conftest.in" "conftest.in" >"conftest.tmp"
5819 mv "conftest.tmp" "conftest.in"
5820 cp "conftest.in" "conftest.nl"
5821 $as_echo 'GREP' >> "conftest.nl"
5822 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5823 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5824 as_fn_arith $ac_count + 1 && ac_count=$as_val
5825 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5826 # Best one so far, save it but keep looking for a better one
5827 ac_cv_path_GREP="$ac_path_GREP"
5828 ac_path_GREP_max=$ac_count
5830 # 10*(2^10) chars as input seems more than enough
5831 test $ac_count -gt 10 && break
5832 done
5833 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5834 esac
5836 $ac_path_GREP_found && break 3
5837 done
5838 done
5839 done
5840 IFS=$as_save_IFS
5841 if test -z "$ac_cv_path_GREP"; then
5842 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5844 else
5845 ac_cv_path_GREP=$GREP
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5850 $as_echo "$ac_cv_path_GREP" >&6; }
5851 GREP="$ac_cv_path_GREP"
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5855 $as_echo_n "checking for egrep... " >&6; }
5856 if ${ac_cv_path_EGREP+:} false; then :
5857 $as_echo_n "(cached) " >&6
5858 else
5859 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5860 then ac_cv_path_EGREP="$GREP -E"
5861 else
5862 if test -z "$EGREP"; then
5863 ac_path_EGREP_found=false
5864 # Loop through the user's path and test for each of PROGNAME-LIST
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5868 IFS=$as_save_IFS
5869 test -z "$as_dir" && as_dir=.
5870 for ac_prog in egrep; do
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5873 as_fn_executable_p "$ac_path_EGREP" || continue
5874 # Check for GNU ac_path_EGREP and select it if it is found.
5875 # Check for GNU $ac_path_EGREP
5876 case `"$ac_path_EGREP" --version 2>&1` in
5877 *GNU*)
5878 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5880 ac_count=0
5881 $as_echo_n 0123456789 >"conftest.in"
5882 while :
5884 cat "conftest.in" "conftest.in" >"conftest.tmp"
5885 mv "conftest.tmp" "conftest.in"
5886 cp "conftest.in" "conftest.nl"
5887 $as_echo 'EGREP' >> "conftest.nl"
5888 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5889 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5890 as_fn_arith $ac_count + 1 && ac_count=$as_val
5891 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5892 # Best one so far, save it but keep looking for a better one
5893 ac_cv_path_EGREP="$ac_path_EGREP"
5894 ac_path_EGREP_max=$ac_count
5896 # 10*(2^10) chars as input seems more than enough
5897 test $ac_count -gt 10 && break
5898 done
5899 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5900 esac
5902 $ac_path_EGREP_found && break 3
5903 done
5904 done
5905 done
5906 IFS=$as_save_IFS
5907 if test -z "$ac_cv_path_EGREP"; then
5908 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5910 else
5911 ac_cv_path_EGREP=$EGREP
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5917 $as_echo "$ac_cv_path_EGREP" >&6; }
5918 EGREP="$ac_cv_path_EGREP"
5921 # Extract the first word of "ldconfig", so it can be a program name with args.
5922 set dummy ldconfig; ac_word=$2
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5924 $as_echo_n "checking for $ac_word... " >&6; }
5925 if ${ac_cv_path_LDCONFIG+:} false; then :
5926 $as_echo_n "(cached) " >&6
5927 else
5928 case $LDCONFIG in
5929 [\\/]* | ?:[\\/]*)
5930 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 for as_dir in /sbin /usr/sbin $PATH
5936 IFS=$as_save_IFS
5937 test -z "$as_dir" && as_dir=.
5938 for ac_exec_ext in '' $ac_executable_extensions; do
5939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 break 2
5944 done
5945 done
5946 IFS=$as_save_IFS
5948 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5950 esac
5952 LDCONFIG=$ac_cv_path_LDCONFIG
5953 if test -n "$LDCONFIG"; then
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5955 $as_echo "$LDCONFIG" >&6; }
5956 else
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958 $as_echo "no" >&6; }
5962 for ac_prog in msgfmt
5964 # Extract the first word of "$ac_prog", so it can be a program name with args.
5965 set dummy $ac_prog; ac_word=$2
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967 $as_echo_n "checking for $ac_word... " >&6; }
5968 if ${ac_cv_prog_MSGFMT+:} false; then :
5969 $as_echo_n "(cached) " >&6
5970 else
5971 if test -n "$MSGFMT"; then
5972 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5973 else
5974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5975 for as_dir in $PATH
5977 IFS=$as_save_IFS
5978 test -z "$as_dir" && as_dir=.
5979 for ac_exec_ext in '' $ac_executable_extensions; do
5980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5981 ac_cv_prog_MSGFMT="$ac_prog"
5982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 break 2
5985 done
5986 done
5987 IFS=$as_save_IFS
5991 MSGFMT=$ac_cv_prog_MSGFMT
5992 if test -n "$MSGFMT"; then
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5994 $as_echo "$MSGFMT" >&6; }
5995 else
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997 $as_echo "no" >&6; }
6001 test -n "$MSGFMT" && break
6002 done
6003 test -n "$MSGFMT" || MSGFMT="false"
6005 if ${ac_tool_prefix+:} false; then :
6006 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6007 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6009 $as_echo_n "checking for $ac_word... " >&6; }
6010 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6011 $as_echo_n "(cached) " >&6
6012 else
6013 if test -n "$PKG_CONFIG"; then
6014 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6015 else
6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6017 for as_dir in $PATH
6019 IFS=$as_save_IFS
6020 test -z "$as_dir" && as_dir=.
6021 for ac_exec_ext in '' $ac_executable_extensions; do
6022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6023 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6025 break 2
6027 done
6028 done
6029 IFS=$as_save_IFS
6033 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6034 if test -n "$PKG_CONFIG"; then
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6036 $as_echo "$PKG_CONFIG" >&6; }
6037 else
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 $as_echo "no" >&6; }
6044 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6045 if test "x$cross_compiling" = xyes; then :
6047 else
6048 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6049 # Extract the first word of "pkg-config", so it can be a program name with args.
6050 set dummy pkg-config; ac_word=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 if test -n "$PKG_CONFIG"; then
6057 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6058 else
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6060 for as_dir in $PATH
6062 IFS=$as_save_IFS
6063 test -z "$as_dir" && as_dir=.
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6066 ac_cv_prog_PKG_CONFIG="pkg-config"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6068 break 2
6070 done
6071 done
6072 IFS=$as_save_IFS
6076 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6077 if test -n "$PKG_CONFIG"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6079 $as_echo "$PKG_CONFIG" >&6; }
6080 else
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6087 else
6088 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6091 if test "x$enable_maintainer_mode" != "xyes"
6092 then
6093 FONTFORGE=""
6094 RSVG=""
6095 CONVERT=""
6096 ICOTOOL=""
6097 else
6098 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6099 for ac_prog in fontforge
6101 # Extract the first word of "$ac_prog", so it can be a program name with args.
6102 set dummy $ac_prog; ac_word=$2
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6104 $as_echo_n "checking for $ac_word... " >&6; }
6105 if ${ac_cv_prog_FONTFORGE+:} false; then :
6106 $as_echo_n "(cached) " >&6
6107 else
6108 if test -n "$FONTFORGE"; then
6109 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6110 else
6111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6112 for as_dir in $PATH
6114 IFS=$as_save_IFS
6115 test -z "$as_dir" && as_dir=.
6116 for ac_exec_ext in '' $ac_executable_extensions; do
6117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6118 ac_cv_prog_FONTFORGE="$ac_prog"
6119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6120 break 2
6122 done
6123 done
6124 IFS=$as_save_IFS
6128 FONTFORGE=$ac_cv_prog_FONTFORGE
6129 if test -n "$FONTFORGE"; then
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6131 $as_echo "$FONTFORGE" >&6; }
6132 else
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6134 $as_echo "no" >&6; }
6138 test -n "$FONTFORGE" && break
6139 done
6140 test -n "$FONTFORGE" || FONTFORGE="false"
6142 for ac_prog in rsvg-convert rsvg
6144 # Extract the first word of "$ac_prog", so it can be a program name with args.
6145 set dummy $ac_prog; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_RSVG+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$RSVG"; then
6152 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_RSVG="$ac_prog"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 RSVG=$ac_cv_prog_RSVG
6172 if test -n "$RSVG"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6174 $as_echo "$RSVG" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6181 test -n "$RSVG" && break
6182 done
6183 test -n "$RSVG" || RSVG="false"
6185 for ac_prog in convert
6187 # Extract the first word of "$ac_prog", so it can be a program name with args.
6188 set dummy $ac_prog; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if ${ac_cv_prog_CONVERT+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if test -n "$CONVERT"; then
6195 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6200 IFS=$as_save_IFS
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6204 ac_cv_prog_CONVERT="$ac_prog"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6208 done
6209 done
6210 IFS=$as_save_IFS
6214 CONVERT=$ac_cv_prog_CONVERT
6215 if test -n "$CONVERT"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6217 $as_echo "$CONVERT" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6224 test -n "$CONVERT" && break
6225 done
6226 test -n "$CONVERT" || CONVERT="false"
6228 for ac_prog in icotool
6230 # Extract the first word of "$ac_prog", so it can be a program name with args.
6231 set dummy $ac_prog; ac_word=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if ${ac_cv_prog_ICOTOOL+:} false; then :
6235 $as_echo_n "(cached) " >&6
6236 else
6237 if test -n "$ICOTOOL"; then
6238 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6239 else
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241 for as_dir in $PATH
6243 IFS=$as_save_IFS
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6247 ac_cv_prog_ICOTOOL="$ac_prog"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6249 break 2
6251 done
6252 done
6253 IFS=$as_save_IFS
6257 ICOTOOL=$ac_cv_prog_ICOTOOL
6258 if test -n "$ICOTOOL"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6260 $as_echo "$ICOTOOL" >&6; }
6261 else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6267 test -n "$ICOTOOL" && break
6268 done
6269 test -n "$ICOTOOL" || ICOTOOL="false"
6271 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6272 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6274 if test "$CONVERT" = false
6275 then
6276 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6277 else
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6279 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6280 convert_version=`convert --version | head -n1`
6281 if test "x$convert_version" != "x"
6282 then
6283 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6284 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6285 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6286 then
6287 CONVERT=false
6290 if test "$CONVERT" = false
6291 then
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6293 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6294 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6295 else
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6297 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6301 if test "$ICOTOOL" = false
6302 then
6303 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6304 else
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6306 $as_echo_n "checking for recent enough icotool... " >&6; }
6307 icotool_version=`icotool --version | head -n1`
6308 if test "x$icotool_version" != "x"
6309 then
6310 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6311 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6312 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6313 then
6314 ICOTOOL=false
6315 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6318 if test "$ICOTOOL" = false
6319 then
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6321 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6322 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6323 else
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6325 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6329 with_gettext=yes
6330 with_gettextpo=yes
6331 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6334 test "x$with_gettext" != xno || MSGFMT=false
6335 if test "$MSGFMT" != "false"
6336 then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6338 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6339 cat >conftest.po <<EOF
6340 # comment
6341 msgctxt "ctxt"
6342 msgid "id"
6343 msgstr "str"
6345 if $MSGFMT -o /dev/null conftest.po 2>&5
6346 then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6348 $as_echo "yes" >&6; }
6349 else
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351 $as_echo "no" >&6; }
6352 MSGFMT=false
6355 if test "$MSGFMT" = false; then :
6356 case "x$with_gettext" in
6357 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6358 xno) ;;
6359 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6360 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6361 esac
6362 enable_po=${enable_po:-no}
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6367 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6368 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6369 $as_echo_n "(cached) " >&6
6370 else
6371 ac_check_lib_save_LIBS=$LIBS
6372 LIBS="-li386 $LIBS"
6373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6374 /* end confdefs.h. */
6376 /* Override any GCC internal prototype to avoid an error.
6377 Use char because int might match the return type of a GCC
6378 builtin and then its argument prototype would still apply. */
6379 #ifdef __cplusplus
6380 extern "C"
6381 #endif
6382 char i386_set_ldt ();
6384 main ()
6386 return i386_set_ldt ();
6388 return 0;
6390 _ACEOF
6391 if ac_fn_c_try_link "$LINENO"; then :
6392 ac_cv_lib_i386_i386_set_ldt=yes
6393 else
6394 ac_cv_lib_i386_i386_set_ldt=no
6396 rm -f core conftest.err conftest.$ac_objext \
6397 conftest$ac_exeext conftest.$ac_ext
6398 LIBS=$ac_check_lib_save_LIBS
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6401 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6402 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6403 cat >>confdefs.h <<_ACEOF
6404 #define HAVE_LIBI386 1
6405 _ACEOF
6407 LIBS="-li386 $LIBS"
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6412 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6413 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6414 $as_echo_n "(cached) " >&6
6415 else
6416 ac_check_lib_save_LIBS=$LIBS
6417 LIBS="-lossaudio $LIBS"
6418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6419 /* end confdefs.h. */
6421 /* Override any GCC internal prototype to avoid an error.
6422 Use char because int might match the return type of a GCC
6423 builtin and then its argument prototype would still apply. */
6424 #ifdef __cplusplus
6425 extern "C"
6426 #endif
6427 char _oss_ioctl ();
6429 main ()
6431 return _oss_ioctl ();
6433 return 0;
6435 _ACEOF
6436 if ac_fn_c_try_link "$LINENO"; then :
6437 ac_cv_lib_ossaudio__oss_ioctl=yes
6438 else
6439 ac_cv_lib_ossaudio__oss_ioctl=no
6441 rm -f core conftest.err conftest.$ac_objext \
6442 conftest$ac_exeext conftest.$ac_ext
6443 LIBS=$ac_check_lib_save_LIBS
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6446 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6447 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6448 cat >>confdefs.h <<_ACEOF
6449 #define HAVE_LIBOSSAUDIO 1
6450 _ACEOF
6452 LIBS="-lossaudio $LIBS"
6457 OPENGL_LIBS=""
6461 # Check whether --enable-largefile was given.
6462 if test "${enable_largefile+set}" = set; then :
6463 enableval=$enable_largefile;
6466 if test "$enable_largefile" != no; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6469 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6470 if ${ac_cv_sys_largefile_CC+:} false; then :
6471 $as_echo_n "(cached) " >&6
6472 else
6473 ac_cv_sys_largefile_CC=no
6474 if test "$GCC" != yes; then
6475 ac_save_CC=$CC
6476 while :; do
6477 # IRIX 6.2 and later do not support large files by default,
6478 # so use the C compiler's -n32 option if that helps.
6479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6480 /* end confdefs.h. */
6481 #include <sys/types.h>
6482 /* Check that off_t can represent 2**63 - 1 correctly.
6483 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6484 since some C++ compilers masquerading as C compilers
6485 incorrectly reject 9223372036854775807. */
6486 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6487 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6488 && LARGE_OFF_T % 2147483647 == 1)
6489 ? 1 : -1];
6491 main ()
6495 return 0;
6497 _ACEOF
6498 if ac_fn_c_try_compile "$LINENO"; then :
6499 break
6501 rm -f core conftest.err conftest.$ac_objext
6502 CC="$CC -n32"
6503 if ac_fn_c_try_compile "$LINENO"; then :
6504 ac_cv_sys_largefile_CC=' -n32'; break
6506 rm -f core conftest.err conftest.$ac_objext
6507 break
6508 done
6509 CC=$ac_save_CC
6510 rm -f conftest.$ac_ext
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6514 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6515 if test "$ac_cv_sys_largefile_CC" != no; then
6516 CC=$CC$ac_cv_sys_largefile_CC
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6520 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6521 if ${ac_cv_sys_file_offset_bits+:} false; then :
6522 $as_echo_n "(cached) " >&6
6523 else
6524 while :; do
6525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6526 /* end confdefs.h. */
6527 #include <sys/types.h>
6528 /* Check that off_t can represent 2**63 - 1 correctly.
6529 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6530 since some C++ compilers masquerading as C compilers
6531 incorrectly reject 9223372036854775807. */
6532 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6533 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6534 && LARGE_OFF_T % 2147483647 == 1)
6535 ? 1 : -1];
6537 main ()
6541 return 0;
6543 _ACEOF
6544 if ac_fn_c_try_compile "$LINENO"; then :
6545 ac_cv_sys_file_offset_bits=no; break
6547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6550 #define _FILE_OFFSET_BITS 64
6551 #include <sys/types.h>
6552 /* Check that off_t can represent 2**63 - 1 correctly.
6553 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6554 since some C++ compilers masquerading as C compilers
6555 incorrectly reject 9223372036854775807. */
6556 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6557 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6558 && LARGE_OFF_T % 2147483647 == 1)
6559 ? 1 : -1];
6561 main ()
6565 return 0;
6567 _ACEOF
6568 if ac_fn_c_try_compile "$LINENO"; then :
6569 ac_cv_sys_file_offset_bits=64; break
6571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6572 ac_cv_sys_file_offset_bits=unknown
6573 break
6574 done
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6577 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6578 case $ac_cv_sys_file_offset_bits in #(
6579 no | unknown) ;;
6581 cat >>confdefs.h <<_ACEOF
6582 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6583 _ACEOF
6585 esac
6586 rm -rf conftest*
6587 if test $ac_cv_sys_file_offset_bits = unknown; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6589 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6590 if ${ac_cv_sys_large_files+:} false; then :
6591 $as_echo_n "(cached) " >&6
6592 else
6593 while :; do
6594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595 /* end confdefs.h. */
6596 #include <sys/types.h>
6597 /* Check that off_t can represent 2**63 - 1 correctly.
6598 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6599 since some C++ compilers masquerading as C compilers
6600 incorrectly reject 9223372036854775807. */
6601 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6602 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6603 && LARGE_OFF_T % 2147483647 == 1)
6604 ? 1 : -1];
6606 main ()
6610 return 0;
6612 _ACEOF
6613 if ac_fn_c_try_compile "$LINENO"; then :
6614 ac_cv_sys_large_files=no; break
6616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #define _LARGE_FILES 1
6620 #include <sys/types.h>
6621 /* Check that off_t can represent 2**63 - 1 correctly.
6622 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6623 since some C++ compilers masquerading as C compilers
6624 incorrectly reject 9223372036854775807. */
6625 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6626 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6627 && LARGE_OFF_T % 2147483647 == 1)
6628 ? 1 : -1];
6630 main ()
6634 return 0;
6636 _ACEOF
6637 if ac_fn_c_try_compile "$LINENO"; then :
6638 ac_cv_sys_large_files=1; break
6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6641 ac_cv_sys_large_files=unknown
6642 break
6643 done
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6646 $as_echo "$ac_cv_sys_large_files" >&6; }
6647 case $ac_cv_sys_large_files in #(
6648 no | unknown) ;;
6650 cat >>confdefs.h <<_ACEOF
6651 #define _LARGE_FILES $ac_cv_sys_large_files
6652 _ACEOF
6654 esac
6655 rm -rf conftest*
6662 ac_ext=c
6663 ac_cpp='$CPP $CPPFLAGS'
6664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6668 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6669 # On Suns, sometimes $CPP names a directory.
6670 if test -n "$CPP" && test -d "$CPP"; then
6671 CPP=
6673 if test -z "$CPP"; then
6674 if ${ac_cv_prog_CPP+:} false; then :
6675 $as_echo_n "(cached) " >&6
6676 else
6677 # Double quotes because CPP needs to be expanded
6678 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6680 ac_preproc_ok=false
6681 for ac_c_preproc_warn_flag in '' yes
6683 # Use a header file that comes with gcc, so configuring glibc
6684 # with a fresh cross-compiler works.
6685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6686 # <limits.h> exists even on freestanding compilers.
6687 # On the NeXT, cc -E runs the code through the compiler's parser,
6688 # not just through cpp. "Syntax error" is here to catch this case.
6689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6691 #ifdef __STDC__
6692 # include <limits.h>
6693 #else
6694 # include <assert.h>
6695 #endif
6696 Syntax error
6697 _ACEOF
6698 if ac_fn_c_try_cpp "$LINENO"; then :
6700 else
6701 # Broken: fails on valid input.
6702 continue
6704 rm -f conftest.err conftest.i conftest.$ac_ext
6706 # OK, works on sane cases. Now check whether nonexistent headers
6707 # can be detected and how.
6708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6710 #include <ac_nonexistent.h>
6711 _ACEOF
6712 if ac_fn_c_try_cpp "$LINENO"; then :
6713 # Broken: success on invalid input.
6714 continue
6715 else
6716 # Passes both tests.
6717 ac_preproc_ok=:
6718 break
6720 rm -f conftest.err conftest.i conftest.$ac_ext
6722 done
6723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6724 rm -f conftest.i conftest.err conftest.$ac_ext
6725 if $ac_preproc_ok; then :
6726 break
6729 done
6730 ac_cv_prog_CPP=$CPP
6733 CPP=$ac_cv_prog_CPP
6734 else
6735 ac_cv_prog_CPP=$CPP
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6738 $as_echo "$CPP" >&6; }
6739 ac_preproc_ok=false
6740 for ac_c_preproc_warn_flag in '' yes
6742 # Use a header file that comes with gcc, so configuring glibc
6743 # with a fresh cross-compiler works.
6744 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6745 # <limits.h> exists even on freestanding compilers.
6746 # On the NeXT, cc -E runs the code through the compiler's parser,
6747 # not just through cpp. "Syntax error" is here to catch this case.
6748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6749 /* end confdefs.h. */
6750 #ifdef __STDC__
6751 # include <limits.h>
6752 #else
6753 # include <assert.h>
6754 #endif
6755 Syntax error
6756 _ACEOF
6757 if ac_fn_c_try_cpp "$LINENO"; then :
6759 else
6760 # Broken: fails on valid input.
6761 continue
6763 rm -f conftest.err conftest.i conftest.$ac_ext
6765 # OK, works on sane cases. Now check whether nonexistent headers
6766 # can be detected and how.
6767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6768 /* end confdefs.h. */
6769 #include <ac_nonexistent.h>
6770 _ACEOF
6771 if ac_fn_c_try_cpp "$LINENO"; then :
6772 # Broken: success on invalid input.
6773 continue
6774 else
6775 # Passes both tests.
6776 ac_preproc_ok=:
6777 break
6779 rm -f conftest.err conftest.i conftest.$ac_ext
6781 done
6782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6783 rm -f conftest.i conftest.err conftest.$ac_ext
6784 if $ac_preproc_ok; then :
6786 else
6787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6789 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6790 See \`config.log' for more details" "$LINENO" 5; }
6793 ac_ext=c
6794 ac_cpp='$CPP $CPPFLAGS'
6795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6801 $as_echo_n "checking for ANSI C header files... " >&6; }
6802 if ${ac_cv_header_stdc+:} false; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6806 /* end confdefs.h. */
6807 #include <stdlib.h>
6808 #include <stdarg.h>
6809 #include <string.h>
6810 #include <float.h>
6813 main ()
6817 return 0;
6819 _ACEOF
6820 if ac_fn_c_try_compile "$LINENO"; then :
6821 ac_cv_header_stdc=yes
6822 else
6823 ac_cv_header_stdc=no
6825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6827 if test $ac_cv_header_stdc = yes; then
6828 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6830 /* end confdefs.h. */
6831 #include <string.h>
6833 _ACEOF
6834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6835 $EGREP "memchr" >/dev/null 2>&1; then :
6837 else
6838 ac_cv_header_stdc=no
6840 rm -f conftest*
6844 if test $ac_cv_header_stdc = yes; then
6845 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6848 #include <stdlib.h>
6850 _ACEOF
6851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6852 $EGREP "free" >/dev/null 2>&1; then :
6854 else
6855 ac_cv_header_stdc=no
6857 rm -f conftest*
6861 if test $ac_cv_header_stdc = yes; then
6862 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6863 if test "$cross_compiling" = yes; then :
6865 else
6866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6867 /* end confdefs.h. */
6868 #include <ctype.h>
6869 #include <stdlib.h>
6870 #if ((' ' & 0x0FF) == 0x020)
6871 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6872 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6873 #else
6874 # define ISLOWER(c) \
6875 (('a' <= (c) && (c) <= 'i') \
6876 || ('j' <= (c) && (c) <= 'r') \
6877 || ('s' <= (c) && (c) <= 'z'))
6878 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6879 #endif
6881 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6883 main ()
6885 int i;
6886 for (i = 0; i < 256; i++)
6887 if (XOR (islower (i), ISLOWER (i))
6888 || toupper (i) != TOUPPER (i))
6889 return 2;
6890 return 0;
6892 _ACEOF
6893 if ac_fn_c_try_run "$LINENO"; then :
6895 else
6896 ac_cv_header_stdc=no
6898 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6899 conftest.$ac_objext conftest.beam conftest.$ac_ext
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6905 $as_echo "$ac_cv_header_stdc" >&6; }
6906 if test $ac_cv_header_stdc = yes; then
6908 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6912 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6913 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6914 inttypes.h stdint.h unistd.h
6915 do :
6916 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6917 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6920 cat >>confdefs.h <<_ACEOF
6921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6922 _ACEOF
6926 done
6929 for ac_header in \
6930 AL/al.h \
6931 ApplicationServices/ApplicationServices.h \
6932 AudioToolbox/AudioConverter.h \
6933 AudioUnit/AudioUnit.h \
6934 AudioUnit/AudioComponent.h \
6935 CL/cl.h \
6936 Carbon/Carbon.h \
6937 CommonCrypto/CommonCryptor.h \
6938 CoreAudio/CoreAudio.h \
6939 CoreServices/CoreServices.h \
6940 DiskArbitration/DiskArbitration.h \
6941 EGL/egl.h \
6942 IOKit/IOKitLib.h \
6943 IOKit/hid/IOHIDLib.h \
6944 OpenAL/al.h \
6945 OpenCL/opencl.h \
6946 QuickTime/ImageCompression.h \
6947 Security/Security.h \
6948 alias.h \
6949 alsa/asoundlib.h \
6950 arpa/inet.h \
6951 arpa/nameser.h \
6952 asm/types.h \
6953 asm/user.h \
6954 curses.h \
6955 direct.h \
6956 dirent.h \
6957 dlfcn.h \
6958 elf.h \
6959 float.h \
6960 fnmatch.h \
6961 getopt.h \
6962 gettext-po.h \
6963 grp.h \
6964 gsm.h \
6965 gsm/gsm.h \
6966 ieeefp.h \
6967 inet/mib2.h \
6968 io.h \
6969 kstat.h \
6970 libproc.h \
6971 link.h \
6972 linux/cdrom.h \
6973 linux/compiler.h \
6974 linux/filter.h \
6975 linux/hdreg.h \
6976 linux/hidraw.h \
6977 linux/input.h \
6978 linux/ioctl.h \
6979 linux/joystick.h \
6980 linux/major.h \
6981 linux/param.h \
6982 linux/serial.h \
6983 linux/types.h \
6984 linux/ucdrom.h \
6985 lwp.h \
6986 mach-o/nlist.h \
6987 mach-o/loader.h \
6988 mach/mach.h \
6989 mach/machine.h \
6990 machine/cpu.h \
6991 machine/limits.h \
6992 machine/sysarch.h \
6993 mntent.h \
6994 ncurses.h \
6995 netdb.h \
6996 netinet/in.h \
6997 netinet/in_systm.h \
6998 netinet/tcp.h \
6999 netinet/tcp_fsm.h \
7000 pcap/pcap.h \
7001 poll.h \
7002 port.h \
7003 process.h \
7004 pthread.h \
7005 pwd.h \
7006 sched.h \
7007 scsi/scsi.h \
7008 scsi/scsi_ioctl.h \
7009 scsi/sg.h \
7010 stdbool.h \
7011 stdint.h \
7012 stropts.h \
7013 sys/asoundlib.h \
7014 sys/attr.h \
7015 sys/auxv.h \
7016 sys/cdio.h \
7017 sys/elf32.h \
7018 sys/epoll.h \
7019 sys/event.h \
7020 sys/exec_elf.h \
7021 sys/filio.h \
7022 sys/inotify.h \
7023 sys/ioctl.h \
7024 sys/ipc.h \
7025 sys/limits.h \
7026 sys/link.h \
7027 sys/mman.h \
7028 sys/modem.h \
7029 sys/msg.h \
7030 sys/mtio.h \
7031 sys/param.h \
7032 sys/poll.h \
7033 sys/prctl.h \
7034 sys/protosw.h \
7035 sys/ptrace.h \
7036 sys/queue.h \
7037 sys/resource.h \
7038 sys/scsiio.h \
7039 sys/shm.h \
7040 sys/signal.h \
7041 sys/socket.h \
7042 sys/socketvar.h \
7043 sys/sockio.h \
7044 sys/statvfs.h \
7045 sys/strtio.h \
7046 sys/syscall.h \
7047 sys/sysinfo.h \
7048 sys/tihdr.h \
7049 sys/time.h \
7050 sys/timeout.h \
7051 sys/times.h \
7052 sys/uio.h \
7053 sys/user.h \
7054 sys/utsname.h \
7055 sys/vm86.h \
7056 sys/vnode.h \
7057 sys/wait.h \
7058 syscall.h \
7059 termios.h \
7060 unistd.h \
7061 utime.h \
7062 valgrind/memcheck.h \
7063 valgrind/valgrind.h \
7064 zlib.h
7066 do :
7067 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7068 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7069 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7070 cat >>confdefs.h <<_ACEOF
7071 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7072 _ACEOF
7076 done
7078 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7079 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7081 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7086 if test $ac_cv_header_sys_mkdev_h = no; then
7087 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7088 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7090 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7097 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7098 if ${ac_cv_header_stat_broken+:} false; then :
7099 $as_echo_n "(cached) " >&6
7100 else
7101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7103 #include <sys/types.h>
7104 #include <sys/stat.h>
7106 #if defined S_ISBLK && defined S_IFDIR
7107 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7108 #endif
7110 #if defined S_ISBLK && defined S_IFCHR
7111 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7112 #endif
7114 #if defined S_ISLNK && defined S_IFREG
7115 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7116 #endif
7118 #if defined S_ISSOCK && defined S_IFREG
7119 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7120 #endif
7122 _ACEOF
7123 if ac_fn_c_try_compile "$LINENO"; then :
7124 ac_cv_header_stat_broken=no
7125 else
7126 ac_cv_header_stat_broken=yes
7128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7131 $as_echo "$ac_cv_header_stat_broken" >&6; }
7132 if test $ac_cv_header_stat_broken = yes; then
7134 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7140 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7141 do :
7142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7143 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7144 #ifdef HAVE_SYS_PARAM_H
7145 # include <sys/param.h>
7146 #endif
7148 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7149 cat >>confdefs.h <<_ACEOF
7150 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7151 _ACEOF
7155 done
7158 for ac_header in \
7159 netinet/ip.h \
7160 net/if.h \
7161 net/if_arp.h \
7162 net/if_dl.h \
7163 net/if_types.h \
7164 net/route.h \
7165 netinet/if_ether.h \
7166 netinet/if_inarp.h \
7167 netinet/in_pcb.h \
7168 netinet/ip_icmp.h \
7169 netinet/ip_var.h \
7170 netinet/udp.h \
7171 netipx/ipx.h \
7172 sys/un.h \
7174 do :
7175 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7176 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7177 #ifdef HAVE_SYS_SOCKET_H
7178 # include <sys/socket.h>
7179 #endif
7180 #ifdef HAVE_SYS_SOCKETVAR_H
7181 # include <sys/socketvar.h>
7182 #endif
7183 #ifdef HAVE_NET_ROUTE_H
7184 # include <net/route.h>
7185 #endif
7186 #ifdef HAVE_NETINET_IN_H
7187 # include <netinet/in.h>
7188 #endif
7189 #ifdef HAVE_NETINET_IN_SYSTM_H
7190 # include <netinet/in_systm.h>
7191 #endif
7192 #ifdef HAVE_NET_IF_H
7193 # include <net/if.h>
7194 #endif
7195 #ifdef HAVE_NETINET_IP_H
7196 # include <netinet/ip.h>
7197 #endif
7199 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7200 cat >>confdefs.h <<_ACEOF
7201 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7202 _ACEOF
7206 done
7209 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7210 do :
7211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7212 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7213 #ifdef HAVE_ALIAS_H
7214 # include <alias.h>
7215 #endif
7216 #ifdef HAVE_SYS_SOCKET_H
7217 # include <sys/socket.h>
7218 #endif
7219 #ifdef HAVE_SYS_SOCKETVAR_H
7220 # include <sys/socketvar.h>
7221 #endif
7222 #ifdef HAVE_SYS_TIMEOUT_H
7223 # include <sys/timeout.h>
7224 #endif
7225 #ifdef HAVE_NETINET_IN_H
7226 # include <netinet/in.h>
7227 #endif
7228 #ifdef HAVE_NETINET_IN_SYSTM_H
7229 # include <netinet/in_systm.h>
7230 #endif
7231 #ifdef HAVE_NETINET_IP_H
7232 # include <netinet/ip.h>
7233 #endif
7234 #ifdef HAVE_NETINET_IP_VAR_H
7235 # include <netinet/ip_var.h>
7236 #endif
7237 #ifdef HAVE_NETINET_IP_ICMP_H
7238 # include <netinet/ip_icmp.h>
7239 #endif
7240 #ifdef HAVE_NETINET_UDP_H
7241 # include <netinet/udp.h>
7242 #endif
7243 #ifdef HAVE_NETINET_TCP_H
7244 # include <netinet/tcp.h>
7245 #endif
7246 #ifdef HAVE_NETINET_TCP_TIMER_H
7247 #include <netinet/tcp_timer.h>
7248 #endif
7250 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7251 cat >>confdefs.h <<_ACEOF
7252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7253 _ACEOF
7257 done
7260 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7261 do :
7262 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7263 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7264 #ifdef HAVE_ASM_TYPES_H
7265 # include <asm/types.h>
7266 #endif
7267 #ifdef HAVE_SYS_SOCKET_H
7268 # include <sys/socket.h>
7269 #endif
7270 #ifdef HAVE_LINUX_TYPES_H
7271 # include <linux/types.h>
7272 #endif
7274 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7275 cat >>confdefs.h <<_ACEOF
7276 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7277 _ACEOF
7281 done
7284 for ac_header in mach-o/dyld_images.h
7285 do :
7286 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7287 # include <stdbool.h>
7288 #endif
7289 #ifdef HAVE_STDINT_H
7290 # include <stdint.h>
7291 #endif
7293 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7294 cat >>confdefs.h <<_ACEOF
7295 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7296 _ACEOF
7300 done
7303 for ac_header in resolv.h
7304 do :
7305 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7306 #ifdef HAVE_SYS_SOCKET_H
7307 # include <sys/socket.h>
7308 #endif
7309 #ifdef HAVE_NETINET_IN_H
7310 # include <netinet/in.h>
7311 #endif
7312 #ifdef HAVE_ARPA_NAMESER_H
7313 # include <arpa/nameser.h>
7314 #endif
7316 if test "x$ac_cv_header_resolv_h" = xyes; then :
7317 cat >>confdefs.h <<_ACEOF
7318 #define HAVE_RESOLV_H 1
7319 _ACEOF
7323 done
7326 for ac_header in ifaddrs.h
7327 do :
7328 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7330 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7331 cat >>confdefs.h <<_ACEOF
7332 #define HAVE_IFADDRS_H 1
7333 _ACEOF
7337 done
7340 for ac_header in sys/ucontext.h
7341 do :
7342 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7344 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7345 cat >>confdefs.h <<_ACEOF
7346 #define HAVE_SYS_UCONTEXT_H 1
7347 _ACEOF
7351 done
7354 for ac_header in sys/thr.h
7355 do :
7356 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7357 #ifdef HAVE_SYS_UCONTEXT_H
7358 #include <sys/ucontext.h>
7359 #endif
7361 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7362 cat >>confdefs.h <<_ACEOF
7363 #define HAVE_SYS_THR_H 1
7364 _ACEOF
7368 done
7371 for ac_header in pthread_np.h
7372 do :
7373 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7374 #include <pthread.h>
7375 #endif
7377 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7378 cat >>confdefs.h <<_ACEOF
7379 #define HAVE_PTHREAD_NP_H 1
7380 _ACEOF
7384 done
7387 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7388 do :
7389 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7390 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7391 #include <sys/time.h>
7392 #endif
7393 #include <sys/types.h>
7394 #ifdef HAVE_ASM_TYPES_H
7395 #include <asm/types.h>
7396 #endif
7398 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7399 cat >>confdefs.h <<_ACEOF
7400 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7401 _ACEOF
7405 done
7408 for ac_header in libprocstat.h
7409 do :
7410 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7411 #include <sys/param.h>
7412 #endif
7413 #ifdef HAVE_SYS_QUEUE_H
7414 #include <sys/queue.h>
7415 #endif
7416 #ifdef HAVE_SYS_SOCKET_H
7417 #include <sys/socket.h>
7418 #endif
7420 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7421 cat >>confdefs.h <<_ACEOF
7422 #define HAVE_LIBPROCSTAT_H 1
7423 _ACEOF
7427 done
7431 dlldir="\${libdir}/wine"
7433 DLLFLAGS="-D_REENTRANT"
7435 LDRPATH_INSTALL=""
7437 LDRPATH_LOCAL=""
7439 LDEXECFLAGS=""
7441 WINELOADER_LDFLAGS=""
7443 LIBEXT="so"
7444 DLLEXT=".so"
7445 IMPLIBEXT="def"
7446 # Extract the first word of "ldd", so it can be a program name with args.
7447 set dummy ldd; ac_word=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if ${ac_cv_path_LDD+:} false; then :
7451 $as_echo_n "(cached) " >&6
7452 else
7453 case $LDD in
7454 [\\/]* | ?:[\\/]*)
7455 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7459 as_dummy="/sbin:/usr/sbin:$PATH"
7460 for as_dir in $as_dummy
7462 IFS=$as_save_IFS
7463 test -z "$as_dir" && as_dir=.
7464 for ac_exec_ext in '' $ac_executable_extensions; do
7465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7466 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7468 break 2
7470 done
7471 done
7472 IFS=$as_save_IFS
7474 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7476 esac
7478 LDD=$ac_cv_path_LDD
7479 if test -n "$LDD"; then
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7481 $as_echo "$LDD" >&6; }
7482 else
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7484 $as_echo "no" >&6; }
7488 if test -n "$ac_tool_prefix"; then
7489 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7490 set dummy ${ac_tool_prefix}otool; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if ${ac_cv_prog_OTOOL+:} false; then :
7494 $as_echo_n "(cached) " >&6
7495 else
7496 if test -n "$OTOOL"; then
7497 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7498 else
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 for as_dir in $PATH
7502 IFS=$as_save_IFS
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7506 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 break 2
7510 done
7511 done
7512 IFS=$as_save_IFS
7516 OTOOL=$ac_cv_prog_OTOOL
7517 if test -n "$OTOOL"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7519 $as_echo "$OTOOL" >&6; }
7520 else
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7527 if test -z "$ac_cv_prog_OTOOL"; then
7528 ac_ct_OTOOL=$OTOOL
7529 # Extract the first word of "otool", so it can be a program name with args.
7530 set dummy otool; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7534 $as_echo_n "(cached) " >&6
7535 else
7536 if test -n "$ac_ct_OTOOL"; then
7537 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7538 else
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 for as_dir in $PATH
7542 IFS=$as_save_IFS
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7546 ac_cv_prog_ac_ct_OTOOL="otool"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 break 2
7550 done
7551 done
7552 IFS=$as_save_IFS
7556 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7557 if test -n "$ac_ct_OTOOL"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7559 $as_echo "$ac_ct_OTOOL" >&6; }
7560 else
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7565 if test "x$ac_ct_OTOOL" = x; then
7566 OTOOL="otool"
7567 else
7568 case $cross_compiling:$ac_tool_warned in
7569 yes:)
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned=yes ;;
7573 esac
7574 OTOOL=$ac_ct_OTOOL
7576 else
7577 OTOOL="$ac_cv_prog_OTOOL"
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7582 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if ${ac_cv_prog_READELF+:} false; then :
7586 $as_echo_n "(cached) " >&6
7587 else
7588 if test -n "$READELF"; then
7589 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7590 else
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 for as_dir in $PATH
7594 IFS=$as_save_IFS
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7598 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 break 2
7602 done
7603 done
7604 IFS=$as_save_IFS
7608 READELF=$ac_cv_prog_READELF
7609 if test -n "$READELF"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7611 $as_echo "$READELF" >&6; }
7612 else
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7619 if test -z "$ac_cv_prog_READELF"; then
7620 ac_ct_READELF=$READELF
7621 # Extract the first word of "readelf", so it can be a program name with args.
7622 set dummy readelf; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7626 $as_echo_n "(cached) " >&6
7627 else
7628 if test -n "$ac_ct_READELF"; then
7629 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7630 else
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 for as_dir in $PATH
7634 IFS=$as_save_IFS
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7638 ac_cv_prog_ac_ct_READELF="readelf"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 break 2
7642 done
7643 done
7644 IFS=$as_save_IFS
7648 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7649 if test -n "$ac_ct_READELF"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7651 $as_echo "$ac_ct_READELF" >&6; }
7652 else
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7657 if test "x$ac_ct_READELF" = x; then
7658 READELF="true"
7659 else
7660 case $cross_compiling:$ac_tool_warned in
7661 yes:)
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7664 ac_tool_warned=yes ;;
7665 esac
7666 READELF=$ac_ct_READELF
7668 else
7669 READELF="$ac_cv_prog_READELF"
7672 wine_rules_file=conf$$rules.make
7673 rm -f $wine_rules_file
7674 SUBDIRS=""
7676 DISABLED_SUBDIRS=""
7678 CONFIGURE_TARGETS=""
7680 ALL_TEST_RESOURCES=""
7683 wine_fn_append_file ()
7685 as_fn_append $1 " \\$as_nl $2"
7688 wine_fn_append_rule ()
7690 $as_echo "$1" >>$wine_rules_file
7693 wine_fn_has_flag ()
7695 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7698 wine_fn_all_rules ()
7700 wine_fn_append_file SUBDIRS $ac_dir
7701 wine_fn_append_rule \
7702 "all: $ac_dir
7703 .PHONY: $ac_dir
7704 $ac_dir: dummy
7705 @cd $ac_dir && \$(MAKE)"
7708 wine_fn_install_rules ()
7710 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7712 wine_fn_append_rule \
7713 ".PHONY: $ac_dir/install $ac_dir/uninstall
7714 $ac_dir/install:: $ac_dir
7715 @cd $ac_dir && \$(MAKE) install
7716 $ac_dir/uninstall::
7717 @cd $ac_dir && \$(MAKE) uninstall
7718 install:: $ac_dir/install
7719 __uninstall__: $ac_dir/uninstall"
7721 if wine_fn_has_flag install-lib
7722 then
7723 wine_fn_append_rule \
7724 ".PHONY: $ac_dir/install-lib
7725 $ac_dir/install-lib:: $ac_dir
7726 @cd $ac_dir && \$(MAKE) install-lib
7727 install-lib:: $ac_dir/install-lib"
7730 if wine_fn_has_flag install-dev
7731 then
7732 wine_fn_append_rule \
7733 ".PHONY: $ac_dir/install-dev
7734 $ac_dir/install-dev:: $ac_dir
7735 @cd $ac_dir && \$(MAKE) install-dev
7736 install-dev:: $ac_dir/install-dev"
7740 wine_fn_clean_rules ()
7742 ac_clean=$@
7744 if wine_fn_has_flag clean
7745 then
7746 wine_fn_append_rule \
7747 "$ac_dir/clean: dummy
7748 @cd $ac_dir && \$(MAKE) clean"
7749 else
7750 wine_fn_append_rule \
7751 "$ac_dir/clean: dummy
7752 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7754 wine_fn_append_rule \
7755 "__clean__: $ac_dir/clean
7756 .PHONY: $ac_dir/clean"
7759 wine_fn_disabled_rules ()
7761 ac_clean=$@
7763 wine_fn_append_file SUBDIRS $ac_dir
7764 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7765 wine_fn_append_rule \
7766 "__clean__: $ac_dir/clean
7767 .PHONY: $ac_dir/clean
7768 $ac_dir/clean: dummy
7769 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7772 wine_fn_config_makefile ()
7774 ac_dir=$1
7775 ac_enable=$2
7776 ac_flags=$3
7778 case $ac_dir in
7779 fonts|server) test -z "$with_wine64" || return ;;
7780 esac
7781 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7782 wine_fn_disabled_rules; return
7784 wine_fn_all_rules
7785 wine_fn_install_rules
7786 wine_fn_clean_rules
7789 wine_fn_config_lib ()
7791 ac_name=$1
7792 ac_flags=$2
7793 ac_dir=dlls/$ac_name
7794 ac_deps="include"
7796 if test "x$enable_tools" = xno; then :
7798 else
7799 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7801 wine_fn_all_rules
7802 wine_fn_clean_rules
7804 wine_fn_append_rule \
7805 ".PHONY: $ac_dir/install $ac_dir/uninstall
7806 $ac_dir/install:: $ac_dir
7807 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7808 $ac_dir/uninstall::
7809 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7810 install install-dev:: $ac_dir/install
7811 __uninstall__: $ac_dir/uninstall
7812 __builddeps__: $ac_dir
7813 $ac_dir: $ac_deps"
7816 wine_fn_config_dll ()
7818 ac_name=$1
7819 ac_dir=dlls/$ac_name
7820 ac_enable=$2
7821 ac_flags=$3
7822 ac_implib=${4:-$ac_name}
7823 ac_file=$ac_dir/lib$ac_implib
7824 ac_dll=$ac_name
7825 ac_deps="include"
7826 ac_implibflags=""
7828 if test "x$enable_tools" = xno; then :
7830 else
7831 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7833 case $ac_name in
7834 *.*16) ac_implibflags=" -m16" ;;
7835 *.*) ;;
7836 *) ac_dll=$ac_dll.dll ;;
7837 esac
7839 ac_clean=
7840 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7841 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7843 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7844 if test "$ac_enable" != enable_win16
7845 then
7846 wine_fn_clean_rules $ac_clean
7847 wine_fn_append_file SUBDIRS $ac_dir
7848 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7849 else
7850 wine_fn_disabled_rules $ac_clean
7851 return
7853 else
7854 wine_fn_all_rules
7855 wine_fn_clean_rules $ac_clean
7856 wine_fn_append_rule \
7857 "$ac_dir: __builddeps__
7858 manpages htmlpages sgmlpages xmlpages::
7859 @cd $ac_dir && \$(MAKE) \$@
7860 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7861 install install-lib:: $ac_dir/install-lib
7862 __uninstall__: $ac_dir/uninstall"
7863 if test -n "$DLLEXT"
7864 then
7865 wine_fn_append_rule \
7866 "$ac_dir/install-lib:: $ac_dir
7867 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7868 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7869 $ac_dir/uninstall::
7870 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7871 else
7872 wine_fn_append_rule \
7873 "$ac_dir/install-lib:: $ac_dir
7874 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7875 $ac_dir/uninstall::
7876 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7880 if wine_fn_has_flag staticimplib
7881 then
7882 wine_fn_append_rule \
7883 "__builddeps__: $ac_file.a
7884 $ac_file.a $ac_file.cross.a: $ac_deps
7885 $ac_file.a: dummy
7886 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7887 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7888 $ac_dir/install-dev:: $ac_file.a
7889 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7890 $ac_dir/uninstall::
7891 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7892 install install-dev:: $ac_dir/install-dev
7893 __uninstall__: $ac_dir/uninstall"
7895 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7896 then
7897 wine_fn_append_rule \
7898 "__builddeps__: $ac_file.cross.a
7899 $ac_file.cross.a: dummy
7900 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7903 elif wine_fn_has_flag implib
7904 then
7905 wine_fn_append_rule \
7906 "__builddeps__: $ac_file.$IMPLIBEXT
7907 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7908 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7909 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7910 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7911 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7912 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7913 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7914 $ac_dir/uninstall::
7915 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7916 install install-dev:: $ac_dir/install-dev
7917 __uninstall__: $ac_dir/uninstall"
7918 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7919 then
7920 wine_fn_append_rule \
7921 "__builddeps__: $ac_file.cross.a
7922 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7923 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7928 wine_fn_config_program ()
7930 ac_name=$1
7931 ac_dir=programs/$ac_name
7932 ac_enable=$2
7933 ac_flags=$3
7934 ac_program=$ac_name
7936 case $ac_name in
7937 *.*) ;;
7938 *) ac_program=$ac_program.exe ;;
7939 esac
7941 ac_clean=
7942 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7943 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7945 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7946 wine_fn_disabled_rules $ac_clean; return
7949 wine_fn_all_rules
7950 wine_fn_clean_rules $ac_clean
7951 wine_fn_append_rule "$ac_dir: __builddeps__"
7953 wine_fn_has_flag install || return
7954 wine_fn_append_rule \
7955 ".PHONY: $ac_dir/install $ac_dir/uninstall
7956 install install-lib:: $ac_dir/install
7957 __uninstall__: $ac_dir/uninstall"
7959 if test -n "$DLLEXT"
7960 then
7961 wine_fn_append_rule \
7962 "$ac_dir/install:: $ac_dir
7963 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7964 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7965 $ac_dir/uninstall::
7966 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7968 if test -z "$with_wine64" && wine_fn_has_flag installbin
7969 then
7970 wine_fn_append_rule \
7971 "$ac_dir/install:: __tooldeps__
7972 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7973 $ac_dir/uninstall::
7974 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7976 else
7977 wine_fn_append_rule \
7978 "$ac_dir/install:: $ac_dir
7979 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7980 $ac_dir/uninstall::
7981 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7984 if test -z "$with_wine64" && wine_fn_has_flag manpage
7985 then
7986 wine_fn_append_rule \
7987 "$ac_dir/install:: $ac_dir
7988 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7989 $ac_dir/uninstall::
7990 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7994 wine_fn_config_test ()
7996 ac_dir=$1
7997 ac_name=$2
7998 ac_flags=$3
8000 ac_clean=
8001 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8002 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8004 if test "x$enable_tests" = xno; then :
8005 wine_fn_disabled_rules $ac_clean; return
8008 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8009 wine_fn_all_rules
8010 wine_fn_clean_rules $ac_clean
8012 wine_fn_append_rule \
8013 "$ac_dir: __builddeps__
8014 programs/winetest: $ac_dir
8015 check test: $ac_dir/test
8016 .PHONY: $ac_dir/test
8017 $ac_dir/test: dummy
8018 @cd $ac_dir && \$(MAKE) test
8019 testclean::
8020 \$(RM) $ac_dir/*.ok"
8022 if test -n "$CROSSTARGET"
8023 then
8024 wine_fn_append_rule \
8025 "crosstest: $ac_dir/crosstest
8026 .PHONY: $ac_dir/crosstest
8027 $ac_dir/crosstest: __builddeps__ dummy
8028 @cd $ac_dir && \$(MAKE) crosstest"
8032 wine_fn_config_tool ()
8034 ac_dir=$1
8035 ac_flags=$2
8036 if test "x$enable_tools" = xno; then :
8037 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8040 wine_fn_all_rules
8041 wine_fn_install_rules
8042 wine_fn_clean_rules
8044 wine_fn_append_rule "__tooldeps__: $ac_dir"
8045 wine_fn_append_rule "$ac_dir: libs/port"
8046 case $ac_dir in
8047 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8048 esac
8051 wine_fn_config_symlink ()
8053 ac_linkdir=
8054 if test "x$1" = "x-d"
8055 then
8056 ac_linkdir=$2
8057 shift; shift
8059 ac_links=$@
8060 wine_fn_append_rule \
8061 "$ac_links:
8062 @./config.status \$@"
8063 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8064 test -n "$ac_linkdir" || return
8065 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8068 wine_binary="wine"
8069 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8070 WINELOADER_PROGRAMS="$wine_binary"
8072 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8074 case $host_os in
8075 cygwin*|mingw32*)
8076 if test -n "$ac_tool_prefix"; then
8077 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8078 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_DLLTOOL+:} false; then :
8082 $as_echo_n "(cached) " >&6
8083 else
8084 if test -n "$DLLTOOL"; then
8085 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8086 else
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 for as_dir in $PATH
8090 IFS=$as_save_IFS
8091 test -z "$as_dir" && as_dir=.
8092 for ac_exec_ext in '' $ac_executable_extensions; do
8093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096 break 2
8098 done
8099 done
8100 IFS=$as_save_IFS
8104 DLLTOOL=$ac_cv_prog_DLLTOOL
8105 if test -n "$DLLTOOL"; then
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8107 $as_echo "$DLLTOOL" >&6; }
8108 else
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8115 if test -z "$ac_cv_prog_DLLTOOL"; then
8116 ac_ct_DLLTOOL=$DLLTOOL
8117 # Extract the first word of "dlltool", so it can be a program name with args.
8118 set dummy dlltool; ac_word=$2
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8120 $as_echo_n "checking for $ac_word... " >&6; }
8121 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8122 $as_echo_n "(cached) " >&6
8123 else
8124 if test -n "$ac_ct_DLLTOOL"; then
8125 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8126 else
8127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8128 for as_dir in $PATH
8130 IFS=$as_save_IFS
8131 test -z "$as_dir" && as_dir=.
8132 for ac_exec_ext in '' $ac_executable_extensions; do
8133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8134 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8136 break 2
8138 done
8139 done
8140 IFS=$as_save_IFS
8144 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8145 if test -n "$ac_ct_DLLTOOL"; then
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8147 $as_echo "$ac_ct_DLLTOOL" >&6; }
8148 else
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8150 $as_echo "no" >&6; }
8153 if test "x$ac_ct_DLLTOOL" = x; then
8154 DLLTOOL="false"
8155 else
8156 case $cross_compiling:$ac_tool_warned in
8157 yes:)
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8160 ac_tool_warned=yes ;;
8161 esac
8162 DLLTOOL=$ac_ct_DLLTOOL
8164 else
8165 DLLTOOL="$ac_cv_prog_DLLTOOL"
8168 LIBEXT="dll"
8169 DLLEXT=""
8170 IMPLIBEXT="a"
8171 enable_iphlpapi=${enable_iphlpapi:-no}
8172 enable_kernel32=${enable_kernel32:-no}
8173 enable_msvcrt=${enable_msvcrt:-no}
8174 enable_ntdll=${enable_ntdll:-no}
8175 enable_ws2_32=${enable_ws2_32:-no}
8176 enable_loader=${enable_loader:-no}
8177 enable_server=${enable_server:-no}
8178 with_x=${with_x:-no}
8179 with_pthread=${with_pthread:-no}
8181 crtlibs=""
8182 case $host_os in
8183 mingw32*)
8184 crtlibs="-lmsvcrt"
8185 SOCKET_LIBS="-lws2_32"
8187 esac
8189 LIBWINE_SHAREDLIB="libwine.dll"
8191 LIBWINE_IMPORTLIB="libwine.a"
8193 LIBWINE_INSTALL_LIB="libwine.dll"
8195 LIBWINE_INSTALL_DEV="libwine.a"
8197 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8199 LIBWINE_DEPENDS="wine.def"
8203 darwin*|macosx*)
8204 for ac_header in libunwind.h
8205 do :
8206 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8207 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8208 cat >>confdefs.h <<_ACEOF
8209 #define HAVE_LIBUNWIND_H 1
8210 _ACEOF
8214 done
8216 LIBEXT="dylib"
8217 DLLFLAGS="$DLLFLAGS -fPIC"
8218 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8219 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8220 COREFOUNDATION_LIBS="-framework CoreFoundation"
8222 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8224 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8226 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8228 CORESERVICES_LIBS="-framework CoreServices"
8230 APPKIT_LIBS="-framework AppKit"
8232 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8234 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8235 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8236 $as_echo_n "(cached) " >&6
8237 else
8238 ac_wine_try_cflags_saved=$CFLAGS
8239 CFLAGS="$CFLAGS -Wl,-no_pie"
8240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h. */
8242 int main(int argc, char **argv) { return 0; }
8243 _ACEOF
8244 if ac_fn_c_try_link "$LINENO"; then :
8245 ac_cv_cflags__Wl__no_pie=yes
8246 else
8247 ac_cv_cflags__Wl__no_pie=no
8249 rm -f core conftest.err conftest.$ac_objext \
8250 conftest$ac_exeext conftest.$ac_ext
8251 CFLAGS=$ac_wine_try_cflags_saved
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8254 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8255 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8256 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8258 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8259 then
8260 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8263 if test "$ac_cv_header_Security_Security_h" = "yes"
8264 then
8265 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8267 ac_save_LIBS="$LIBS"
8268 LIBS="$LIBS $SECURITY_LIBS"
8269 for ac_func in SSLCopyPeerCertificates
8270 do :
8271 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8272 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8273 cat >>confdefs.h <<_ACEOF
8274 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8275 _ACEOF
8278 done
8280 LIBS="$ac_save_LIBS"
8281 with_gnutls=${with_gnutls:-no}
8283 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8284 then
8285 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8286 then
8287 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8289 else
8290 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8293 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8294 ac_save_LIBS="$LIBS"
8295 LIBS="$LIBS $COREAUDIO_LIBS"
8296 for ac_func in AUGraphAddNode
8297 do :
8298 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8299 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8300 cat >>confdefs.h <<_ACEOF
8301 #define HAVE_AUGRAPHADDNODE 1
8302 _ACEOF
8305 done
8307 LIBS="$ac_save_LIBS"
8309 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8310 then
8311 OPENAL_LIBS="-framework OpenAL"
8314 cat >>confdefs.h <<_ACEOF
8315 #define HAVE_OPENAL 1
8316 _ACEOF
8318 ac_cv_lib_openal=yes
8320 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8321 then
8322 OPENCL_LIBS="-framework OpenCL"
8324 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8326 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8327 then
8328 ac_save_LIBS="$LIBS"
8329 LIBS="$LIBS $IOKIT_LIBS"
8330 for ac_func in IOHIDManagerCreate
8331 do :
8332 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8333 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8334 cat >>confdefs.h <<_ACEOF
8335 #define HAVE_IOHIDMANAGERCREATE 1
8336 _ACEOF
8339 done
8341 LIBS="$ac_save_LIBS"
8343 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8344 then
8345 ac_save_LIBS="$LIBS"
8346 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8348 $as_echo_n "checking for the QuickTime framework... " >&6; }
8349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8351 #include <QuickTime/ImageCompression.h>
8353 main ()
8355 CodecManagerVersion(NULL);
8357 return 0;
8359 _ACEOF
8360 if ac_fn_c_try_link "$LINENO"; then :
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8362 $as_echo "yes" >&6; }
8363 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8365 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8366 else
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8368 $as_echo "no" >&6; }
8369 ac_cv_header_QuickTime_ImageCompression_h=no
8371 rm -f core conftest.err conftest.$ac_objext \
8372 conftest$ac_exeext conftest.$ac_ext
8373 LIBS="$ac_save_LIBS"
8375 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8376 then
8377 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8379 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8380 then
8381 CARBON_LIBS="-framework Carbon"
8385 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8386 then
8387 ac_save_LIBS="$LIBS"
8388 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8389 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8390 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8391 enable_winemac_drv=${enable_winemac_drv:-yes}
8394 LIBS="$ac_save_LIBS"
8397 if test "x$enable_win16" = "xyes"
8398 then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8400 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8401 if test "$cross_compiling" = yes; then :
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8403 $as_echo "cross-compiling, assuming yes" >&6; }
8404 else
8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8406 /* end confdefs.h. */
8407 asm(".text\n"
8408 "bad:\tnop;nop\n"
8409 "good:\tnop;nop\n\t"
8410 ".globl _testfunc\n"
8411 "_testfunc:\tcallw good");
8412 extern void testfunc();
8414 main ()
8416 unsigned short *p = (unsigned short *)testfunc;
8417 return p[0] != 0xe866 || p[1] != 0xfffa
8419 return 0;
8421 _ACEOF
8422 if ac_fn_c_try_run "$LINENO"; then :
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8424 $as_echo "yes" >&6; }
8425 else
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8427 $as_echo "no" >&6; }
8428 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
8430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8431 conftest.$ac_objext conftest.beam conftest.$ac_ext
8436 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8438 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8440 LIBWINE_INSTALL_DEV="libwine.dylib"
8442 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8444 WINELOADER_DEPENDS="wine_info.plist"
8448 linux-android*)
8449 DLLFLAGS="$DLLFLAGS -fPIC"
8450 LDEXECFLAGS="-Wl,-pie"
8451 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8453 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8454 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8455 $as_echo_n "(cached) " >&6
8456 else
8457 ac_wine_try_cflags_saved=$CFLAGS
8458 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8460 /* end confdefs.h. */
8461 int main(int argc, char **argv) { return 0; }
8462 _ACEOF
8463 if ac_fn_c_try_link "$LINENO"; then :
8464 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8465 else
8466 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8468 rm -f core conftest.err conftest.$ac_objext \
8469 conftest$ac_exeext conftest.$ac_ext
8470 CFLAGS=$ac_wine_try_cflags_saved
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8473 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8474 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8475 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8477 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8479 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8480 if eval \${$as_ac_var+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 ac_wine_try_cflags_saved=$CFLAGS
8484 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8487 int main(int argc, char **argv) { return 0; }
8488 _ACEOF
8489 if ac_fn_c_try_link "$LINENO"; then :
8490 eval "$as_ac_var=yes"
8491 else
8492 eval "$as_ac_var=no"
8494 rm -f core conftest.err conftest.$ac_objext \
8495 conftest$ac_exeext conftest.$ac_ext
8496 CFLAGS=$ac_wine_try_cflags_saved
8498 eval ac_res=\$$as_ac_var
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8500 $as_echo "$ac_res" >&6; }
8501 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8502 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8503 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8504 else
8505 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8507 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8508 if eval \${$as_ac_var+:} false; then :
8509 $as_echo_n "(cached) " >&6
8510 else
8511 ac_wine_try_cflags_saved=$CFLAGS
8512 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8515 int main(int argc, char **argv) { return 0; }
8516 _ACEOF
8517 if ac_fn_c_try_link "$LINENO"; then :
8518 eval "$as_ac_var=yes"
8519 else
8520 eval "$as_ac_var=no"
8522 rm -f core conftest.err conftest.$ac_objext \
8523 conftest$ac_exeext conftest.$ac_ext
8524 CFLAGS=$ac_wine_try_cflags_saved
8526 eval ac_res=\$$as_ac_var
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8528 $as_echo "$ac_res" >&6; }
8529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8530 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8531 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8535 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8536 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8537 $as_echo_n "(cached) " >&6
8538 else
8539 ac_wine_try_cflags_saved=$CFLAGS
8540 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8543 int main(int argc, char **argv) { return 0; }
8544 _ACEOF
8545 if ac_fn_c_try_link "$LINENO"; then :
8546 ac_cv_cflags__Wl___enable_new_dtags=yes
8547 else
8548 ac_cv_cflags__Wl___enable_new_dtags=no
8550 rm -f core conftest.err conftest.$ac_objext \
8551 conftest$ac_exeext conftest.$ac_ext
8552 CFLAGS=$ac_wine_try_cflags_saved
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8555 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8556 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8557 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8560 LIBWINE_SHAREDLIB="libwine.so"
8562 LIBWINE_INSTALL_LIB="libwine.so"
8564 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8568 $as_echo_n "checking for -lEGL... " >&6; }
8569 if ${ac_cv_lib_soname_EGL+:} false; then :
8570 $as_echo_n "(cached) " >&6
8571 else
8572 ac_check_soname_save_LIBS=$LIBS
8573 LIBS="-lEGL $LIBS"
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8577 /* Override any GCC internal prototype to avoid an error.
8578 Use char because int might match the return type of a GCC
8579 builtin and then its argument prototype would still apply. */
8580 #ifdef __cplusplus
8581 extern "C"
8582 #endif
8583 char eglGetProcAddress ();
8585 main ()
8587 return eglGetProcAddress ();
8589 return 0;
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 case "$LIBEXT" in
8594 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8595 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'` ;;
8596 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8597 if ${ac_cv_lib_soname_EGL:+false} :; then :
8598 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8599 fi ;;
8600 esac
8602 rm -f core conftest.err conftest.$ac_objext \
8603 conftest$ac_exeext conftest.$ac_ext
8604 LIBS=$ac_check_soname_save_LIBS
8606 if ${ac_cv_lib_soname_EGL:+false} :; then :
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8608 $as_echo "not found" >&6; }
8610 else
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8612 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8614 cat >>confdefs.h <<_ACEOF
8615 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8616 _ACEOF
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8621 $as_echo_n "checking for -lGLESv2... " >&6; }
8622 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8623 $as_echo_n "(cached) " >&6
8624 else
8625 ac_check_soname_save_LIBS=$LIBS
8626 LIBS="-lGLESv2 $LIBS"
8627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8628 /* end confdefs.h. */
8630 /* Override any GCC internal prototype to avoid an error.
8631 Use char because int might match the return type of a GCC
8632 builtin and then its argument prototype would still apply. */
8633 #ifdef __cplusplus
8634 extern "C"
8635 #endif
8636 char glFlush ();
8638 main ()
8640 return glFlush ();
8642 return 0;
8644 _ACEOF
8645 if ac_fn_c_try_link "$LINENO"; then :
8646 case "$LIBEXT" in
8647 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8648 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'` ;;
8649 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8650 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8651 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8652 fi ;;
8653 esac
8655 rm -f core conftest.err conftest.$ac_objext \
8656 conftest$ac_exeext conftest.$ac_ext
8657 LIBS=$ac_check_soname_save_LIBS
8659 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8661 $as_echo "not found" >&6; }
8663 else
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8665 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8667 cat >>confdefs.h <<_ACEOF
8668 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8669 _ACEOF
8674 if test "x$exec_prefix" = xNONE
8675 then
8676 case $host_cpu in
8677 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8678 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8679 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8680 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8681 esac
8686 DLLFLAGS="$DLLFLAGS -fPIC"
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8688 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8689 if ${ac_cv_c_dll_gnuelf+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 void myfunc() {}
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_c_dll_gnuelf="yes"
8700 else
8701 ac_cv_c_dll_gnuelf="no"
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8708 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8709 if test "$ac_cv_c_dll_gnuelf" = "yes"
8710 then
8711 LIBWINE_LDFLAGS="-shared"
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8713 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8714 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 ac_wine_try_cflags_saved=$CFLAGS
8718 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8725 else
8726 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 CFLAGS=$ac_wine_try_cflags_saved
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8733 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8734 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8735 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8736 else
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8738 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8739 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8740 $as_echo_n "(cached) " >&6
8741 else
8742 ac_wine_try_cflags_saved=$CFLAGS
8743 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8745 /* end confdefs.h. */
8746 int main(int argc, char **argv) { return 0; }
8747 _ACEOF
8748 if ac_fn_c_try_link "$LINENO"; then :
8749 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8750 else
8751 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8753 rm -f core conftest.err conftest.$ac_objext \
8754 conftest$ac_exeext conftest.$ac_ext
8755 CFLAGS=$ac_wine_try_cflags_saved
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8758 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8759 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8760 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8764 echo '{ global: *; };' >conftest.map
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8766 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8767 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 int main(int argc, char **argv) { return 0; }
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8778 else
8779 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8786 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8787 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8788 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8790 rm -f conftest.map
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8793 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8794 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8795 $as_echo_n "(cached) " >&6
8796 else
8797 ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8801 int main(int argc, char **argv) { return 0; }
8802 _ACEOF
8803 if ac_fn_c_try_link "$LINENO"; then :
8804 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8805 else
8806 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8808 rm -f core conftest.err conftest.$ac_objext \
8809 conftest$ac_exeext conftest.$ac_ext
8810 CFLAGS=$ac_wine_try_cflags_saved
8812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8813 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8814 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8815 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8818 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8820 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8821 if eval \${$as_ac_var+:} false; then :
8822 $as_echo_n "(cached) " >&6
8823 else
8824 ac_wine_try_cflags_saved=$CFLAGS
8825 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8827 /* end confdefs.h. */
8828 int main(int argc, char **argv) { return 0; }
8829 _ACEOF
8830 if ac_fn_c_try_link "$LINENO"; then :
8831 eval "$as_ac_var=yes"
8832 else
8833 eval "$as_ac_var=no"
8835 rm -f core conftest.err conftest.$ac_objext \
8836 conftest$ac_exeext conftest.$ac_ext
8837 CFLAGS=$ac_wine_try_cflags_saved
8839 eval ac_res=\$$as_ac_var
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8841 $as_echo "$ac_res" >&6; }
8842 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8843 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8844 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8845 else
8846 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8848 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8849 if eval \${$as_ac_var+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 ac_wine_try_cflags_saved=$CFLAGS
8853 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8855 /* end confdefs.h. */
8856 int main(int argc, char **argv) { return 0; }
8857 _ACEOF
8858 if ac_fn_c_try_link "$LINENO"; then :
8859 eval "$as_ac_var=yes"
8860 else
8861 eval "$as_ac_var=no"
8863 rm -f core conftest.err conftest.$ac_objext \
8864 conftest$ac_exeext conftest.$ac_ext
8865 CFLAGS=$ac_wine_try_cflags_saved
8867 eval ac_res=\$$as_ac_var
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8869 $as_echo "$ac_res" >&6; }
8870 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8871 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8872 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8877 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8878 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8879 $as_echo_n "(cached) " >&6
8880 else
8881 ac_wine_try_cflags_saved=$CFLAGS
8882 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8884 /* end confdefs.h. */
8885 int main(int argc, char **argv) { return 0; }
8886 _ACEOF
8887 if ac_fn_c_try_link "$LINENO"; then :
8888 ac_cv_cflags__Wl___enable_new_dtags=yes
8889 else
8890 ac_cv_cflags__Wl___enable_new_dtags=no
8892 rm -f core conftest.err conftest.$ac_objext \
8893 conftest$ac_exeext conftest.$ac_ext
8894 CFLAGS=$ac_wine_try_cflags_saved
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8897 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8898 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8899 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8902 case $host_cpu in
8903 *i[3456789]86* | x86_64 | *aarch64*)
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8905 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8906 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8907 $as_echo_n "(cached) " >&6
8908 else
8909 ac_wine_try_cflags_saved=$CFLAGS
8910 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8912 /* end confdefs.h. */
8913 int main(int argc, char **argv) { return 0; }
8914 _ACEOF
8915 if ac_fn_c_try_link "$LINENO"; then :
8916 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8917 else
8918 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8920 rm -f core conftest.err conftest.$ac_objext \
8921 conftest$ac_exeext conftest.$ac_ext
8922 CFLAGS=$ac_wine_try_cflags_saved
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8925 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8926 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8927 case $host_os in
8928 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8929 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8930 esac
8931 else
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8933 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8934 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8935 $as_echo_n "(cached) " >&6
8936 else
8937 ac_wine_try_cflags_saved=$CFLAGS
8938 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8940 /* end confdefs.h. */
8941 int main(int argc, char **argv) { return 0; }
8942 _ACEOF
8943 if ac_fn_c_try_link "$LINENO"; then :
8944 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8945 else
8946 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8948 rm -f core conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 CFLAGS=$ac_wine_try_cflags_saved
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8953 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8954 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8955 case $host_os in
8956 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8957 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8958 esac
8960 # Extract the first word of "prelink", so it can be a program name with args.
8961 set dummy prelink; ac_word=$2
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8963 $as_echo_n "checking for $ac_word... " >&6; }
8964 if ${ac_cv_path_PRELINK+:} false; then :
8965 $as_echo_n "(cached) " >&6
8966 else
8967 case $PRELINK in
8968 [\\/]* | ?:[\\/]*)
8969 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8973 for as_dir in /sbin /usr/sbin $PATH
8975 IFS=$as_save_IFS
8976 test -z "$as_dir" && as_dir=.
8977 for ac_exec_ext in '' $ac_executable_extensions; do
8978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8979 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8981 break 2
8983 done
8984 done
8985 IFS=$as_save_IFS
8987 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8989 esac
8991 PRELINK=$ac_cv_path_PRELINK
8992 if test -n "$PRELINK"; then
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8994 $as_echo "$PRELINK" >&6; }
8995 else
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8997 $as_echo "no" >&6; }
9001 if test "x$PRELINK" = xfalse
9002 then
9003 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9007 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9008 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9009 $as_echo_n "(cached) " >&6
9010 else
9011 ac_wine_try_cflags_saved=$CFLAGS
9012 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9014 /* end confdefs.h. */
9015 int main(int argc, char **argv) { return 0; }
9016 _ACEOF
9017 if ac_fn_c_try_link "$LINENO"; then :
9018 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9019 else
9020 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9022 rm -f core conftest.err conftest.$ac_objext \
9023 conftest$ac_exeext conftest.$ac_ext
9024 CFLAGS=$ac_wine_try_cflags_saved
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9027 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9028 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9029 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9032 esac
9034 else
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9036 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9037 if ${ac_cv_c_dll_unixware+:} false; then :
9038 $as_echo_n "(cached) " >&6
9039 else
9040 ac_wine_try_cflags_saved=$CFLAGS
9041 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9043 /* end confdefs.h. */
9044 void myfunc() {}
9045 _ACEOF
9046 if ac_fn_c_try_link "$LINENO"; then :
9047 ac_cv_c_dll_unixware="yes"
9048 else
9049 ac_cv_c_dll_unixware="no"
9051 rm -f core conftest.err conftest.$ac_objext \
9052 conftest$ac_exeext conftest.$ac_ext
9053 CFLAGS=$ac_wine_try_cflags_saved
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9056 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9057 if test "$ac_cv_c_dll_unixware" = "yes"
9058 then
9059 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9062 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9064 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9066 LIBWINE_INSTALL_DEV="libwine.so"
9068 LIBWINE_DEPENDS="wine.map"
9071 esac
9073 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9074 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9075 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9076 enable_winemac_drv=${enable_winemac_drv:-no}
9077 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9079 CROSSTARGET=""
9081 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9082 then
9083 case "$host_cpu" in
9084 arm*)
9085 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9086 i[3456789]86*)
9087 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
9088 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9089 mingw32-gcc" ;;
9090 x86_64)
9091 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
9092 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9094 ac_prefix_list="" ;;
9095 esac
9096 for ac_prog in $ac_prefix_list
9098 # Extract the first word of "$ac_prog", so it can be a program name with args.
9099 set dummy $ac_prog; ac_word=$2
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9101 $as_echo_n "checking for $ac_word... " >&6; }
9102 if ${ac_cv_prog_CROSSCC+:} false; then :
9103 $as_echo_n "(cached) " >&6
9104 else
9105 if test -n "$CROSSCC"; then
9106 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9107 else
9108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9109 for as_dir in $PATH
9111 IFS=$as_save_IFS
9112 test -z "$as_dir" && as_dir=.
9113 for ac_exec_ext in '' $ac_executable_extensions; do
9114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9115 ac_cv_prog_CROSSCC="$ac_prog"
9116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9117 break 2
9119 done
9120 done
9121 IFS=$as_save_IFS
9125 CROSSCC=$ac_cv_prog_CROSSCC
9126 if test -n "$CROSSCC"; then
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9128 $as_echo "$CROSSCC" >&6; }
9129 else
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9131 $as_echo "no" >&6; }
9135 test -n "$CROSSCC" && break
9136 done
9137 test -n "$CROSSCC" || CROSSCC="false"
9139 if test "$CROSSCC" != "false"
9140 then
9141 ac_save_CC="$CC"
9142 CC="$CROSSCC"
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9144 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9146 /* end confdefs.h. */
9149 main ()
9153 return 0;
9155 _ACEOF
9156 if ac_fn_c_try_compile "$LINENO"; then :
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9158 $as_echo "yes" >&6; }
9159 set x $CROSSCC
9160 shift
9161 while test $# -ge 1
9163 case "$1" in
9164 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9165 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9166 esac
9167 shift
9168 done
9169 else
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9171 $as_echo "no" >&6; }
9173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9174 CC="$ac_save_CC"
9175 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9181 if test "$ac_cv_header_pthread_h" = "yes"
9182 then
9183 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9184 if test "x$ac_cv_func_pthread_create" = xyes; then :
9186 else
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9188 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9189 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9190 $as_echo_n "(cached) " >&6
9191 else
9192 ac_check_lib_save_LIBS=$LIBS
9193 LIBS="-lpthread $LIBS"
9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9200 #ifdef __cplusplus
9201 extern "C"
9202 #endif
9203 char pthread_create ();
9205 main ()
9207 return pthread_create ();
9209 return 0;
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9213 ac_cv_lib_pthread_pthread_create=yes
9214 else
9215 ac_cv_lib_pthread_pthread_create=no
9217 rm -f core conftest.err conftest.$ac_objext \
9218 conftest$ac_exeext conftest.$ac_ext
9219 LIBS=$ac_check_lib_save_LIBS
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9222 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9223 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9224 PTHREAD_LIBS="-lpthread"
9231 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9232 case "x$with_pthread" in
9233 xno) ;;
9234 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9235 Wine cannot support threads without libpthread.
9236 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9237 esac
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9243 $as_echo_n "checking for X... " >&6; }
9246 # Check whether --with-x was given.
9247 if test "${with_x+set}" = set; then :
9248 withval=$with_x;
9251 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9252 if test "x$with_x" = xno; then
9253 # The user explicitly disabled X.
9254 have_x=disabled
9255 else
9256 case $x_includes,$x_libraries in #(
9257 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9258 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9259 $as_echo_n "(cached) " >&6
9260 else
9261 # One or both of the vars are not set, and there is no cached value.
9262 ac_x_includes=no ac_x_libraries=no
9263 rm -f -r conftest.dir
9264 if mkdir conftest.dir; then
9265 cd conftest.dir
9266 cat >Imakefile <<'_ACEOF'
9267 incroot:
9268 @echo incroot='${INCROOT}'
9269 usrlibdir:
9270 @echo usrlibdir='${USRLIBDIR}'
9271 libdir:
9272 @echo libdir='${LIBDIR}'
9273 _ACEOF
9274 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9275 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9276 for ac_var in incroot usrlibdir libdir; do
9277 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9278 done
9279 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9280 for ac_extension in a so sl dylib la dll; do
9281 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9282 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9283 ac_im_usrlibdir=$ac_im_libdir; break
9285 done
9286 # Screen out bogus values from the imake configuration. They are
9287 # bogus both because they are the default anyway, and because
9288 # using them would break gcc on systems where it needs fixed includes.
9289 case $ac_im_incroot in
9290 /usr/include) ac_x_includes= ;;
9291 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9292 esac
9293 case $ac_im_usrlibdir in
9294 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9295 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9296 esac
9298 cd ..
9299 rm -f -r conftest.dir
9302 # Standard set of common directories for X headers.
9303 # Check X11 before X11Rn because it is often a symlink to the current release.
9304 ac_x_header_dirs='
9305 /usr/X11/include
9306 /usr/X11R7/include
9307 /usr/X11R6/include
9308 /usr/X11R5/include
9309 /usr/X11R4/include
9311 /usr/include/X11
9312 /usr/include/X11R7
9313 /usr/include/X11R6
9314 /usr/include/X11R5
9315 /usr/include/X11R4
9317 /usr/local/X11/include
9318 /usr/local/X11R7/include
9319 /usr/local/X11R6/include
9320 /usr/local/X11R5/include
9321 /usr/local/X11R4/include
9323 /usr/local/include/X11
9324 /usr/local/include/X11R7
9325 /usr/local/include/X11R6
9326 /usr/local/include/X11R5
9327 /usr/local/include/X11R4
9329 /usr/X386/include
9330 /usr/x386/include
9331 /usr/XFree86/include/X11
9333 /usr/include
9334 /usr/local/include
9335 /usr/unsupported/include
9336 /usr/athena/include
9337 /usr/local/x11r5/include
9338 /usr/lpp/Xamples/include
9340 /usr/openwin/include
9341 /usr/openwin/share/include'
9343 if test "$ac_x_includes" = no; then
9344 # Guess where to find include files, by looking for Xlib.h.
9345 # First, try using that file with no special directory specified.
9346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h. */
9348 #include <X11/Xlib.h>
9349 _ACEOF
9350 if ac_fn_c_try_cpp "$LINENO"; then :
9351 # We can compile using X headers with no special include directory.
9352 ac_x_includes=
9353 else
9354 for ac_dir in $ac_x_header_dirs; do
9355 if test -r "$ac_dir/X11/Xlib.h"; then
9356 ac_x_includes=$ac_dir
9357 break
9359 done
9361 rm -f conftest.err conftest.i conftest.$ac_ext
9362 fi # $ac_x_includes = no
9364 if test "$ac_x_libraries" = no; then
9365 # Check for the libraries.
9366 # See if we find them without any special options.
9367 # Don't add to $LIBS permanently.
9368 ac_save_LIBS=$LIBS
9369 LIBS="-lX11 $LIBS"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9372 #include <X11/Xlib.h>
9374 main ()
9376 XrmInitialize ()
9378 return 0;
9380 _ACEOF
9381 if ac_fn_c_try_link "$LINENO"; then :
9382 LIBS=$ac_save_LIBS
9383 # We can link X programs with no special library path.
9384 ac_x_libraries=
9385 else
9386 LIBS=$ac_save_LIBS
9387 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9389 # Don't even attempt the hair of trying to link an X program!
9390 for ac_extension in a so sl dylib la dll; do
9391 if test -r "$ac_dir/libX11.$ac_extension"; then
9392 ac_x_libraries=$ac_dir
9393 break 2
9395 done
9396 done
9398 rm -f core conftest.err conftest.$ac_objext \
9399 conftest$ac_exeext conftest.$ac_ext
9400 fi # $ac_x_libraries = no
9402 case $ac_x_includes,$ac_x_libraries in #(
9403 no,* | *,no | *\'*)
9404 # Didn't find X, or a directory has "'" in its name.
9405 ac_cv_have_x="have_x=no";; #(
9407 # Record where we found X for the cache.
9408 ac_cv_have_x="have_x=yes\
9409 ac_x_includes='$ac_x_includes'\
9410 ac_x_libraries='$ac_x_libraries'"
9411 esac
9413 ;; #(
9414 *) have_x=yes;;
9415 esac
9416 eval "$ac_cv_have_x"
9417 fi # $with_x != no
9419 if test "$have_x" != yes; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9421 $as_echo "$have_x" >&6; }
9422 no_x=yes
9423 else
9424 # If each of the values was on the command line, it overrides each guess.
9425 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9426 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9427 # Update the cache value to reflect the command line values.
9428 ac_cv_have_x="have_x=yes\
9429 ac_x_includes='$x_includes'\
9430 ac_x_libraries='$x_libraries'"
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9432 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9435 if test "$no_x" = yes; then
9436 # Not all programs may use this symbol, but it does not hurt to define it.
9438 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9440 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9441 else
9442 if test -n "$x_includes"; then
9443 X_CFLAGS="$X_CFLAGS -I$x_includes"
9446 # It would also be nice to do this for all -L options, not just this one.
9447 if test -n "$x_libraries"; then
9448 X_LIBS="$X_LIBS -L$x_libraries"
9449 # For Solaris; some versions of Sun CC require a space after -R and
9450 # others require no space. Words are not sufficient . . . .
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9452 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9453 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9454 ac_xsave_c_werror_flag=$ac_c_werror_flag
9455 ac_c_werror_flag=yes
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9460 main ()
9464 return 0;
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"; then :
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9469 $as_echo "no" >&6; }
9470 X_LIBS="$X_LIBS -R$x_libraries"
9471 else
9472 LIBS="$ac_xsave_LIBS -R $x_libraries"
9473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9474 /* end confdefs.h. */
9477 main ()
9481 return 0;
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"; then :
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9486 $as_echo "yes" >&6; }
9487 X_LIBS="$X_LIBS -R $x_libraries"
9488 else
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9490 $as_echo "neither works" >&6; }
9492 rm -f core conftest.err conftest.$ac_objext \
9493 conftest$ac_exeext conftest.$ac_ext
9495 rm -f core conftest.err conftest.$ac_objext \
9496 conftest$ac_exeext conftest.$ac_ext
9497 ac_c_werror_flag=$ac_xsave_c_werror_flag
9498 LIBS=$ac_xsave_LIBS
9501 # Check for system-dependent libraries X programs must link with.
9502 # Do this before checking for the system-independent R6 libraries
9503 # (-lICE), since we may need -lsocket or whatever for X linking.
9505 if test "$ISC" = yes; then
9506 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9507 else
9508 # Martyn Johnson says this is needed for Ultrix, if the X
9509 # libraries were built with DECnet support. And Karl Berry says
9510 # the Alpha needs dnet_stub (dnet does not exist).
9511 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9518 #ifdef __cplusplus
9519 extern "C"
9520 #endif
9521 char XOpenDisplay ();
9523 main ()
9525 return XOpenDisplay ();
9527 return 0;
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"; then :
9532 else
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9534 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9535 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9536 $as_echo_n "(cached) " >&6
9537 else
9538 ac_check_lib_save_LIBS=$LIBS
9539 LIBS="-ldnet $LIBS"
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9546 #ifdef __cplusplus
9547 extern "C"
9548 #endif
9549 char dnet_ntoa ();
9551 main ()
9553 return dnet_ntoa ();
9555 return 0;
9557 _ACEOF
9558 if ac_fn_c_try_link "$LINENO"; then :
9559 ac_cv_lib_dnet_dnet_ntoa=yes
9560 else
9561 ac_cv_lib_dnet_dnet_ntoa=no
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 LIBS=$ac_check_lib_save_LIBS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9568 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9569 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9570 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9573 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9575 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9576 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9577 $as_echo_n "(cached) " >&6
9578 else
9579 ac_check_lib_save_LIBS=$LIBS
9580 LIBS="-ldnet_stub $LIBS"
9581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9582 /* end confdefs.h. */
9584 /* Override any GCC internal prototype to avoid an error.
9585 Use char because int might match the return type of a GCC
9586 builtin and then its argument prototype would still apply. */
9587 #ifdef __cplusplus
9588 extern "C"
9589 #endif
9590 char dnet_ntoa ();
9592 main ()
9594 return dnet_ntoa ();
9596 return 0;
9598 _ACEOF
9599 if ac_fn_c_try_link "$LINENO"; then :
9600 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9601 else
9602 ac_cv_lib_dnet_stub_dnet_ntoa=no
9604 rm -f core conftest.err conftest.$ac_objext \
9605 conftest$ac_exeext conftest.$ac_ext
9606 LIBS=$ac_check_lib_save_LIBS
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9609 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9610 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9611 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9616 rm -f core conftest.err conftest.$ac_objext \
9617 conftest$ac_exeext conftest.$ac_ext
9618 LIBS="$ac_xsave_LIBS"
9620 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9621 # to get the SysV transport functions.
9622 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9623 # needs -lnsl.
9624 # The nsl library prevents programs from opening the X display
9625 # on Irix 5.2, according to T.E. Dickey.
9626 # The functions gethostbyname, getservbyname, and inet_addr are
9627 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9628 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9629 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9633 if test $ac_cv_func_gethostbyname = no; then
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9635 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9636 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9637 $as_echo_n "(cached) " >&6
9638 else
9639 ac_check_lib_save_LIBS=$LIBS
9640 LIBS="-lnsl $LIBS"
9641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9642 /* end confdefs.h. */
9644 /* Override any GCC internal prototype to avoid an error.
9645 Use char because int might match the return type of a GCC
9646 builtin and then its argument prototype would still apply. */
9647 #ifdef __cplusplus
9648 extern "C"
9649 #endif
9650 char gethostbyname ();
9652 main ()
9654 return gethostbyname ();
9656 return 0;
9658 _ACEOF
9659 if ac_fn_c_try_link "$LINENO"; then :
9660 ac_cv_lib_nsl_gethostbyname=yes
9661 else
9662 ac_cv_lib_nsl_gethostbyname=no
9664 rm -f core conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 LIBS=$ac_check_lib_save_LIBS
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9669 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9670 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9671 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9674 if test $ac_cv_lib_nsl_gethostbyname = no; then
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9676 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9677 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9678 $as_echo_n "(cached) " >&6
9679 else
9680 ac_check_lib_save_LIBS=$LIBS
9681 LIBS="-lbsd $LIBS"
9682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9683 /* end confdefs.h. */
9685 /* Override any GCC internal prototype to avoid an error.
9686 Use char because int might match the return type of a GCC
9687 builtin and then its argument prototype would still apply. */
9688 #ifdef __cplusplus
9689 extern "C"
9690 #endif
9691 char gethostbyname ();
9693 main ()
9695 return gethostbyname ();
9697 return 0;
9699 _ACEOF
9700 if ac_fn_c_try_link "$LINENO"; then :
9701 ac_cv_lib_bsd_gethostbyname=yes
9702 else
9703 ac_cv_lib_bsd_gethostbyname=no
9705 rm -f core conftest.err conftest.$ac_objext \
9706 conftest$ac_exeext conftest.$ac_ext
9707 LIBS=$ac_check_lib_save_LIBS
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9710 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9711 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9712 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9718 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9719 # socket/setsockopt and other routines are undefined under SCO ODT
9720 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9721 # on later versions), says Simon Leinen: it contains gethostby*
9722 # variants that don't use the name server (or something). -lsocket
9723 # must be given before -lnsl if both are needed. We assume that
9724 # if connect needs -lnsl, so does gethostbyname.
9725 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9726 if test "x$ac_cv_func_connect" = xyes; then :
9730 if test $ac_cv_func_connect = no; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9732 $as_echo_n "checking for connect in -lsocket... " >&6; }
9733 if ${ac_cv_lib_socket_connect+:} false; then :
9734 $as_echo_n "(cached) " >&6
9735 else
9736 ac_check_lib_save_LIBS=$LIBS
9737 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9739 /* end confdefs.h. */
9741 /* Override any GCC internal prototype to avoid an error.
9742 Use char because int might match the return type of a GCC
9743 builtin and then its argument prototype would still apply. */
9744 #ifdef __cplusplus
9745 extern "C"
9746 #endif
9747 char connect ();
9749 main ()
9751 return connect ();
9753 return 0;
9755 _ACEOF
9756 if ac_fn_c_try_link "$LINENO"; then :
9757 ac_cv_lib_socket_connect=yes
9758 else
9759 ac_cv_lib_socket_connect=no
9761 rm -f core conftest.err conftest.$ac_objext \
9762 conftest$ac_exeext conftest.$ac_ext
9763 LIBS=$ac_check_lib_save_LIBS
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9766 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9767 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9768 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9773 # Guillermo Gomez says -lposix is necessary on A/UX.
9774 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9775 if test "x$ac_cv_func_remove" = xyes; then :
9779 if test $ac_cv_func_remove = no; then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9781 $as_echo_n "checking for remove in -lposix... " >&6; }
9782 if ${ac_cv_lib_posix_remove+:} false; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 ac_check_lib_save_LIBS=$LIBS
9786 LIBS="-lposix $LIBS"
9787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9788 /* end confdefs.h. */
9790 /* Override any GCC internal prototype to avoid an error.
9791 Use char because int might match the return type of a GCC
9792 builtin and then its argument prototype would still apply. */
9793 #ifdef __cplusplus
9794 extern "C"
9795 #endif
9796 char remove ();
9798 main ()
9800 return remove ();
9802 return 0;
9804 _ACEOF
9805 if ac_fn_c_try_link "$LINENO"; then :
9806 ac_cv_lib_posix_remove=yes
9807 else
9808 ac_cv_lib_posix_remove=no
9810 rm -f core conftest.err conftest.$ac_objext \
9811 conftest$ac_exeext conftest.$ac_ext
9812 LIBS=$ac_check_lib_save_LIBS
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9815 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9816 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9817 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9822 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9823 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9824 if test "x$ac_cv_func_shmat" = xyes; then :
9828 if test $ac_cv_func_shmat = no; then
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9830 $as_echo_n "checking for shmat in -lipc... " >&6; }
9831 if ${ac_cv_lib_ipc_shmat+:} false; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 ac_check_lib_save_LIBS=$LIBS
9835 LIBS="-lipc $LIBS"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9842 #ifdef __cplusplus
9843 extern "C"
9844 #endif
9845 char shmat ();
9847 main ()
9849 return shmat ();
9851 return 0;
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 ac_cv_lib_ipc_shmat=yes
9856 else
9857 ac_cv_lib_ipc_shmat=no
9859 rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
9861 LIBS=$ac_check_lib_save_LIBS
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9864 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9865 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9866 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9872 # Check for libraries that X11R6 Xt/Xaw programs need.
9873 ac_save_LDFLAGS=$LDFLAGS
9874 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9875 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9876 # check for ICE first), but we must link in the order -lSM -lICE or
9877 # we get undefined symbols. So assume we have SM if we have ICE.
9878 # These have to be linked with before -lX11, unlike the other
9879 # libraries we check for below, so use a different variable.
9880 # John Interrante, Karl Berry
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9882 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9883 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9884 $as_echo_n "(cached) " >&6
9885 else
9886 ac_check_lib_save_LIBS=$LIBS
9887 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9889 /* end confdefs.h. */
9891 /* Override any GCC internal prototype to avoid an error.
9892 Use char because int might match the return type of a GCC
9893 builtin and then its argument prototype would still apply. */
9894 #ifdef __cplusplus
9895 extern "C"
9896 #endif
9897 char IceConnectionNumber ();
9899 main ()
9901 return IceConnectionNumber ();
9903 return 0;
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 ac_cv_lib_ICE_IceConnectionNumber=yes
9908 else
9909 ac_cv_lib_ICE_IceConnectionNumber=no
9911 rm -f core conftest.err conftest.$ac_objext \
9912 conftest$ac_exeext conftest.$ac_ext
9913 LIBS=$ac_check_lib_save_LIBS
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9916 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9917 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9918 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9921 LDFLAGS=$ac_save_LDFLAGS
9926 if test "$have_x" = "yes"
9927 then
9928 ac_save_CPPFLAGS="$CPPFLAGS"
9929 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9932 $as_echo_n "checking for -lX11... " >&6; }
9933 if ${ac_cv_lib_soname_X11+:} false; then :
9934 $as_echo_n "(cached) " >&6
9935 else
9936 ac_check_soname_save_LIBS=$LIBS
9937 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9939 /* end confdefs.h. */
9941 /* Override any GCC internal prototype to avoid an error.
9942 Use char because int might match the return type of a GCC
9943 builtin and then its argument prototype would still apply. */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 char XCreateWindow ();
9949 main ()
9951 return XCreateWindow ();
9953 return 0;
9955 _ACEOF
9956 if ac_fn_c_try_link "$LINENO"; then :
9957 case "$LIBEXT" in
9958 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9959 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'` ;;
9960 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9961 if ${ac_cv_lib_soname_X11:+false} :; then :
9962 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9963 fi ;;
9964 esac
9966 rm -f core conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_soname_save_LIBS
9970 if ${ac_cv_lib_soname_X11:+false} :; then :
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9972 $as_echo "not found" >&6; }
9974 else
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9976 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9978 cat >>confdefs.h <<_ACEOF
9979 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9980 _ACEOF
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9985 $as_echo_n "checking for -lXext... " >&6; }
9986 if ${ac_cv_lib_soname_Xext+:} false; then :
9987 $as_echo_n "(cached) " >&6
9988 else
9989 ac_check_soname_save_LIBS=$LIBS
9990 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9992 /* end confdefs.h. */
9994 /* Override any GCC internal prototype to avoid an error.
9995 Use char because int might match the return type of a GCC
9996 builtin and then its argument prototype would still apply. */
9997 #ifdef __cplusplus
9998 extern "C"
9999 #endif
10000 char XextCreateExtension ();
10002 main ()
10004 return XextCreateExtension ();
10006 return 0;
10008 _ACEOF
10009 if ac_fn_c_try_link "$LINENO"; then :
10010 case "$LIBEXT" in
10011 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10012 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'` ;;
10013 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10014 if ${ac_cv_lib_soname_Xext:+false} :; then :
10015 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10016 fi ;;
10017 esac
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_soname_save_LIBS
10023 if ${ac_cv_lib_soname_Xext:+false} :; then :
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10025 $as_echo "not found" >&6; }
10027 else
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10029 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10031 cat >>confdefs.h <<_ACEOF
10032 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10033 _ACEOF
10035 X_LIBS="$X_LIBS -lXext"
10037 X_LIBS="$X_LIBS -lX11"
10039 for ac_header in X11/Xlib.h \
10040 X11/XKBlib.h \
10041 X11/Xutil.h \
10042 X11/Xcursor/Xcursor.h \
10043 X11/extensions/shape.h \
10044 X11/extensions/XInput.h \
10045 X11/extensions/XInput2.h \
10046 X11/extensions/XShm.h \
10047 X11/extensions/Xcomposite.h \
10048 X11/extensions/Xfixes.h \
10049 X11/extensions/Xinerama.h \
10050 X11/extensions/Xrandr.h \
10051 X11/extensions/Xrender.h \
10052 X11/extensions/xf86vmode.h \
10053 X11/extensions/xf86vmproto.h
10054 do :
10055 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10056 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10057 # include <X11/Xlib.h>
10058 #endif
10059 #ifdef HAVE_X11_XUTIL_H
10060 # include <X11/Xutil.h>
10061 #endif
10063 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10064 cat >>confdefs.h <<_ACEOF
10065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10066 _ACEOF
10070 done
10073 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10074 then
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10076 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10077 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10078 $as_echo_n "(cached) " >&6
10079 else
10080 ac_check_lib_save_LIBS=$LIBS
10081 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083 /* end confdefs.h. */
10085 /* Override any GCC internal prototype to avoid an error.
10086 Use char because int might match the return type of a GCC
10087 builtin and then its argument prototype would still apply. */
10088 #ifdef __cplusplus
10089 extern "C"
10090 #endif
10091 char XkbQueryExtension ();
10093 main ()
10095 return XkbQueryExtension ();
10097 return 0;
10099 _ACEOF
10100 if ac_fn_c_try_link "$LINENO"; then :
10101 ac_cv_lib_X11_XkbQueryExtension=yes
10102 else
10103 ac_cv_lib_X11_XkbQueryExtension=no
10105 rm -f core conftest.err conftest.$ac_objext \
10106 conftest$ac_exeext conftest.$ac_ext
10107 LIBS=$ac_check_lib_save_LIBS
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10110 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10111 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10113 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10119 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10120 then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10122 $as_echo_n "checking for -lXcursor... " >&6; }
10123 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10124 $as_echo_n "(cached) " >&6
10125 else
10126 ac_check_soname_save_LIBS=$LIBS
10127 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10131 /* Override any GCC internal prototype to avoid an error.
10132 Use char because int might match the return type of a GCC
10133 builtin and then its argument prototype would still apply. */
10134 #ifdef __cplusplus
10135 extern "C"
10136 #endif
10137 char XcursorImageLoadCursor ();
10139 main ()
10141 return XcursorImageLoadCursor ();
10143 return 0;
10145 _ACEOF
10146 if ac_fn_c_try_link "$LINENO"; then :
10147 case "$LIBEXT" in
10148 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10149 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'` ;;
10150 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10151 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10152 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10153 fi ;;
10154 esac
10156 rm -f core conftest.err conftest.$ac_objext \
10157 conftest$ac_exeext conftest.$ac_ext
10158 LIBS=$ac_check_soname_save_LIBS
10160 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10162 $as_echo "not found" >&6; }
10164 else
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10166 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10168 cat >>confdefs.h <<_ACEOF
10169 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10170 _ACEOF
10175 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10176 case "x$with_xcursor" in
10177 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10178 xno) ;;
10179 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10180 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10181 esac
10185 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10186 then
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10188 $as_echo_n "checking for -lXi... " >&6; }
10189 if ${ac_cv_lib_soname_Xi+:} false; then :
10190 $as_echo_n "(cached) " >&6
10191 else
10192 ac_check_soname_save_LIBS=$LIBS
10193 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10195 /* end confdefs.h. */
10197 /* Override any GCC internal prototype to avoid an error.
10198 Use char because int might match the return type of a GCC
10199 builtin and then its argument prototype would still apply. */
10200 #ifdef __cplusplus
10201 extern "C"
10202 #endif
10203 char XOpenDevice ();
10205 main ()
10207 return XOpenDevice ();
10209 return 0;
10211 _ACEOF
10212 if ac_fn_c_try_link "$LINENO"; then :
10213 case "$LIBEXT" in
10214 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10215 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'` ;;
10216 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10217 if ${ac_cv_lib_soname_Xi:+false} :; then :
10218 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10219 fi ;;
10220 esac
10222 rm -f core conftest.err conftest.$ac_objext \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_soname_save_LIBS
10226 if ${ac_cv_lib_soname_Xi:+false} :; then :
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10228 $as_echo "not found" >&6; }
10230 else
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10232 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10234 cat >>confdefs.h <<_ACEOF
10235 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10236 _ACEOF
10241 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10242 case "x$with_xinput" in
10243 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10244 xno) ;;
10245 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10246 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10247 esac
10251 if test "x$ac_cv_lib_soname_Xi" != x
10252 then
10253 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10254 case "x$with_xinput2" in
10255 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10256 xno) ;;
10257 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10258 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10259 esac
10264 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10265 then
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10267 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10268 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10269 $as_echo_n "(cached) " >&6
10270 else
10271 ac_check_lib_save_LIBS=$LIBS
10272 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10279 #ifdef __cplusplus
10280 extern "C"
10281 #endif
10282 char XShmQueryExtension ();
10284 main ()
10286 return XShmQueryExtension ();
10288 return 0;
10290 _ACEOF
10291 if ac_fn_c_try_link "$LINENO"; then :
10292 ac_cv_lib_Xext_XShmQueryExtension=yes
10293 else
10294 ac_cv_lib_Xext_XShmQueryExtension=no
10296 rm -f core conftest.err conftest.$ac_objext \
10297 conftest$ac_exeext conftest.$ac_ext
10298 LIBS=$ac_check_lib_save_LIBS
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10301 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10302 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10304 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10309 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10310 case "x$with_xshm" in
10311 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10312 xno) ;;
10313 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10314 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10315 esac
10319 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10320 then
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10322 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10323 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 ac_check_lib_save_LIBS=$LIBS
10327 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10334 #ifdef __cplusplus
10335 extern "C"
10336 #endif
10337 char XShapeQueryExtension ();
10339 main ()
10341 return XShapeQueryExtension ();
10343 return 0;
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 ac_cv_lib_Xext_XShapeQueryExtension=yes
10348 else
10349 ac_cv_lib_Xext_XShapeQueryExtension=no
10351 rm -f core conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10353 LIBS=$ac_check_lib_save_LIBS
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10356 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10357 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10359 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10364 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10365 case "x$with_xshape" in
10366 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10367 xno) ;;
10368 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10369 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10370 esac
10374 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10375 then
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10377 $as_echo_n "checking for -lXxf86vm... " >&6; }
10378 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10379 $as_echo_n "(cached) " >&6
10380 else
10381 ac_check_soname_save_LIBS=$LIBS
10382 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10384 /* end confdefs.h. */
10386 /* Override any GCC internal prototype to avoid an error.
10387 Use char because int might match the return type of a GCC
10388 builtin and then its argument prototype would still apply. */
10389 #ifdef __cplusplus
10390 extern "C"
10391 #endif
10392 char XF86VidModeQueryExtension ();
10394 main ()
10396 return XF86VidModeQueryExtension ();
10398 return 0;
10400 _ACEOF
10401 if ac_fn_c_try_link "$LINENO"; then :
10402 case "$LIBEXT" in
10403 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10404 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'` ;;
10405 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10406 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10407 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10408 fi ;;
10409 esac
10411 rm -f core conftest.err conftest.$ac_objext \
10412 conftest$ac_exeext conftest.$ac_ext
10413 LIBS=$ac_check_soname_save_LIBS
10415 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10417 $as_echo "not found" >&6; }
10419 else
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10421 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10423 cat >>confdefs.h <<_ACEOF
10424 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10425 _ACEOF
10430 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10431 case "x$with_xxf86vm" in
10432 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10433 xno) ;;
10434 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10435 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10436 esac
10440 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10441 then
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10443 $as_echo_n "checking for -lXrender... " >&6; }
10444 if ${ac_cv_lib_soname_Xrender+:} false; then :
10445 $as_echo_n "(cached) " >&6
10446 else
10447 ac_check_soname_save_LIBS=$LIBS
10448 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10450 /* end confdefs.h. */
10452 /* Override any GCC internal prototype to avoid an error.
10453 Use char because int might match the return type of a GCC
10454 builtin and then its argument prototype would still apply. */
10455 #ifdef __cplusplus
10456 extern "C"
10457 #endif
10458 char XRenderQueryExtension ();
10460 main ()
10462 return XRenderQueryExtension ();
10464 return 0;
10466 _ACEOF
10467 if ac_fn_c_try_link "$LINENO"; then :
10468 case "$LIBEXT" in
10469 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10470 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'` ;;
10471 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10472 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10473 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10474 fi ;;
10475 esac
10477 rm -f core conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10479 LIBS=$ac_check_soname_save_LIBS
10481 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10483 $as_echo "not found" >&6; }
10485 else
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10487 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10489 cat >>confdefs.h <<_ACEOF
10490 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10491 _ACEOF
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10494 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10495 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10496 $as_echo_n "(cached) " >&6
10497 else
10498 ac_check_lib_save_LIBS=$LIBS
10499 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10503 /* Override any GCC internal prototype to avoid an error.
10504 Use char because int might match the return type of a GCC
10505 builtin and then its argument prototype would still apply. */
10506 #ifdef __cplusplus
10507 extern "C"
10508 #endif
10509 char XRenderSetPictureTransform ();
10511 main ()
10513 return XRenderSetPictureTransform ();
10515 return 0;
10517 _ACEOF
10518 if ac_fn_c_try_link "$LINENO"; then :
10519 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10520 else
10521 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10523 rm -f core conftest.err conftest.$ac_objext \
10524 conftest$ac_exeext conftest.$ac_ext
10525 LIBS=$ac_check_lib_save_LIBS
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10528 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10529 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10531 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10536 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10537 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10538 $as_echo_n "(cached) " >&6
10539 else
10540 ac_check_lib_save_LIBS=$LIBS
10541 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10543 /* end confdefs.h. */
10545 /* Override any GCC internal prototype to avoid an error.
10546 Use char because int might match the return type of a GCC
10547 builtin and then its argument prototype would still apply. */
10548 #ifdef __cplusplus
10549 extern "C"
10550 #endif
10551 char XRenderCreateLinearGradient ();
10553 main ()
10555 return XRenderCreateLinearGradient ();
10557 return 0;
10559 _ACEOF
10560 if ac_fn_c_try_link "$LINENO"; then :
10561 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10562 else
10563 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10565 rm -f core conftest.err conftest.$ac_objext \
10566 conftest$ac_exeext conftest.$ac_ext
10567 LIBS=$ac_check_lib_save_LIBS
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10570 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10571 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10573 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10580 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10581 case "x$with_xrender" in
10582 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10583 xno) ;;
10584 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10585 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10586 esac
10590 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10591 then
10592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10593 /* end confdefs.h. */
10594 #include <X11/Xlib.h>
10595 #include <X11/extensions/Xrandr.h>
10597 main ()
10599 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10601 return 0;
10603 _ACEOF
10604 if ac_fn_c_try_compile "$LINENO"; then :
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10606 $as_echo_n "checking for -lXrandr... " >&6; }
10607 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10608 $as_echo_n "(cached) " >&6
10609 else
10610 ac_check_soname_save_LIBS=$LIBS
10611 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10613 /* end confdefs.h. */
10615 /* Override any GCC internal prototype to avoid an error.
10616 Use char because int might match the return type of a GCC
10617 builtin and then its argument prototype would still apply. */
10618 #ifdef __cplusplus
10619 extern "C"
10620 #endif
10621 char XRRQueryExtension ();
10623 main ()
10625 return XRRQueryExtension ();
10627 return 0;
10629 _ACEOF
10630 if ac_fn_c_try_link "$LINENO"; then :
10631 case "$LIBEXT" in
10632 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10633 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'` ;;
10634 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10635 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10636 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10637 fi ;;
10638 esac
10640 rm -f core conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10642 LIBS=$ac_check_soname_save_LIBS
10644 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10646 $as_echo "not found" >&6; }
10648 else
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10650 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10652 cat >>confdefs.h <<_ACEOF
10653 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10654 _ACEOF
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10658 #include <X11/Xlib.h>
10659 #include <X11/extensions/Xrandr.h>
10661 main ()
10663 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10665 return 0;
10667 _ACEOF
10668 if ac_fn_c_try_compile "$LINENO"; then :
10670 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10678 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10679 case "x$with_xrandr" in
10680 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10681 xno) ;;
10682 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10683 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10684 esac
10688 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10689 then
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692 #include <X11/Xlib.h>
10693 #include <X11/extensions/Xfixes.h>
10695 main ()
10697 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10699 return 0;
10701 _ACEOF
10702 if ac_fn_c_try_compile "$LINENO"; then :
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10704 $as_echo_n "checking for -lXfixes... " >&6; }
10705 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10706 $as_echo_n "(cached) " >&6
10707 else
10708 ac_check_soname_save_LIBS=$LIBS
10709 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10711 /* end confdefs.h. */
10713 /* Override any GCC internal prototype to avoid an error.
10714 Use char because int might match the return type of a GCC
10715 builtin and then its argument prototype would still apply. */
10716 #ifdef __cplusplus
10717 extern "C"
10718 #endif
10719 char XFixesQueryVersion ();
10721 main ()
10723 return XFixesQueryVersion ();
10725 return 0;
10727 _ACEOF
10728 if ac_fn_c_try_link "$LINENO"; then :
10729 case "$LIBEXT" in
10730 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10731 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'` ;;
10732 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10733 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10734 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10735 fi ;;
10736 esac
10738 rm -f core conftest.err conftest.$ac_objext \
10739 conftest$ac_exeext conftest.$ac_ext
10740 LIBS=$ac_check_soname_save_LIBS
10742 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10744 $as_echo "not found" >&6; }
10746 else
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10748 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10750 cat >>confdefs.h <<_ACEOF
10751 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10752 _ACEOF
10757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10759 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10760 case "x$with_xfixes" in
10761 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10762 xno) ;;
10763 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10764 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10765 esac
10769 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10770 then
10771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10772 /* end confdefs.h. */
10773 #include <X11/Xlib.h>
10774 #include <X11/extensions/Xinerama.h>
10776 main ()
10778 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10780 return 0;
10782 _ACEOF
10783 if ac_fn_c_try_compile "$LINENO"; then :
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10785 $as_echo_n "checking for -lXinerama... " >&6; }
10786 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10787 $as_echo_n "(cached) " >&6
10788 else
10789 ac_check_soname_save_LIBS=$LIBS
10790 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10797 #ifdef __cplusplus
10798 extern "C"
10799 #endif
10800 char XineramaQueryScreens ();
10802 main ()
10804 return XineramaQueryScreens ();
10806 return 0;
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 case "$LIBEXT" in
10811 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10812 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'` ;;
10813 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10814 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10815 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10816 fi ;;
10817 esac
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10821 LIBS=$ac_check_soname_save_LIBS
10823 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10825 $as_echo "not found" >&6; }
10827 else
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10829 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10831 cat >>confdefs.h <<_ACEOF
10832 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10833 _ACEOF
10838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10840 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10841 case "x$with_xinerama" in
10842 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10843 xno) ;;
10844 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10845 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10846 esac
10850 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10851 then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10853 $as_echo_n "checking for -lXcomposite... " >&6; }
10854 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10855 $as_echo_n "(cached) " >&6
10856 else
10857 ac_check_soname_save_LIBS=$LIBS
10858 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10860 /* end confdefs.h. */
10862 /* Override any GCC internal prototype to avoid an error.
10863 Use char because int might match the return type of a GCC
10864 builtin and then its argument prototype would still apply. */
10865 #ifdef __cplusplus
10866 extern "C"
10867 #endif
10868 char XCompositeRedirectWindow ();
10870 main ()
10872 return XCompositeRedirectWindow ();
10874 return 0;
10876 _ACEOF
10877 if ac_fn_c_try_link "$LINENO"; then :
10878 case "$LIBEXT" in
10879 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10880 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'` ;;
10881 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10882 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10883 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10884 fi ;;
10885 esac
10887 rm -f core conftest.err conftest.$ac_objext \
10888 conftest$ac_exeext conftest.$ac_ext
10889 LIBS=$ac_check_soname_save_LIBS
10891 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10893 $as_echo "not found" >&6; }
10895 else
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10897 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10899 cat >>confdefs.h <<_ACEOF
10900 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10901 _ACEOF
10906 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10907 case "x$with_xcomposite" in
10908 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10909 xno) ;;
10910 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10911 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10912 esac
10916 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10917 #include <X11/Xlib.h>
10918 #endif
10920 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10922 cat >>confdefs.h <<_ACEOF
10923 #define HAVE_XICCALLBACK_CALLBACK 1
10924 _ACEOF
10928 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10929 #include <X11/Xlib.h>
10930 #endif
10932 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10934 cat >>confdefs.h <<_ACEOF
10935 #define HAVE_XEVENT_XCOOKIE 1
10936 _ACEOF
10943 opengl_msg=""
10944 if test "x$with_opengl" != "xno"
10945 then
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10947 $as_echo_n "checking for -lGL... " >&6; }
10948 if ${ac_cv_lib_soname_GL+:} false; then :
10949 $as_echo_n "(cached) " >&6
10950 else
10951 ac_check_soname_save_LIBS=$LIBS
10952 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10954 /* end confdefs.h. */
10956 /* Override any GCC internal prototype to avoid an error.
10957 Use char because int might match the return type of a GCC
10958 builtin and then its argument prototype would still apply. */
10959 #ifdef __cplusplus
10960 extern "C"
10961 #endif
10962 char glXCreateContext ();
10964 main ()
10966 return glXCreateContext ();
10968 return 0;
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"; then :
10972 case "$LIBEXT" in
10973 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10974 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'` ;;
10975 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10976 if ${ac_cv_lib_soname_GL:+false} :; then :
10977 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10978 fi ;;
10979 esac
10981 rm -f core conftest.err conftest.$ac_objext \
10982 conftest$ac_exeext conftest.$ac_ext
10983 LIBS=$ac_check_soname_save_LIBS
10985 if ${ac_cv_lib_soname_GL:+false} :; then :
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10987 $as_echo "not found" >&6; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10989 $as_echo_n "checking for -lGL... " >&6; }
10990 if ${ac_cv_lib_soname_GL+:} false; then :
10991 $as_echo_n "(cached) " >&6
10992 else
10993 ac_check_soname_save_LIBS=$LIBS
10994 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"
10995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10996 /* end confdefs.h. */
10998 /* Override any GCC internal prototype to avoid an error.
10999 Use char because int might match the return type of a GCC
11000 builtin and then its argument prototype would still apply. */
11001 #ifdef __cplusplus
11002 extern "C"
11003 #endif
11004 char glXCreateContext ();
11006 main ()
11008 return glXCreateContext ();
11010 return 0;
11012 _ACEOF
11013 if ac_fn_c_try_link "$LINENO"; then :
11014 case "$LIBEXT" in
11015 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11016 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'` ;;
11017 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11018 if ${ac_cv_lib_soname_GL:+false} :; then :
11019 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11020 fi ;;
11021 esac
11023 rm -f core conftest.err conftest.$ac_objext \
11024 conftest$ac_exeext conftest.$ac_ext
11025 LIBS=$ac_check_soname_save_LIBS
11027 if ${ac_cv_lib_soname_GL:+false} :; then :
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11029 $as_echo "not found" >&6; }
11030 if test -f /usr/X11R6/lib/libGL.a
11031 then
11032 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11033 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11034 else
11035 opengl_msg="No OpenGL library found on this system."
11037 else
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11039 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11041 cat >>confdefs.h <<_ACEOF
11042 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11043 _ACEOF
11045 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"
11047 else
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11049 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11051 cat >>confdefs.h <<_ACEOF
11052 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11053 _ACEOF
11055 OPENGL_LIBS="-lGL"
11057 if test "x$with_glu" != "xno"
11058 then
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11060 $as_echo_n "checking for -lGLU... " >&6; }
11061 if ${ac_cv_lib_soname_GLU+:} false; then :
11062 $as_echo_n "(cached) " >&6
11063 else
11064 ac_check_soname_save_LIBS=$LIBS
11065 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11069 /* Override any GCC internal prototype to avoid an error.
11070 Use char because int might match the return type of a GCC
11071 builtin and then its argument prototype would still apply. */
11072 #ifdef __cplusplus
11073 extern "C"
11074 #endif
11075 char gluLookAt ();
11077 main ()
11079 return gluLookAt ();
11081 return 0;
11083 _ACEOF
11084 if ac_fn_c_try_link "$LINENO"; then :
11085 case "$LIBEXT" in
11086 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11087 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'` ;;
11088 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11089 if ${ac_cv_lib_soname_GLU:+false} :; then :
11090 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11091 fi ;;
11092 esac
11094 rm -f core conftest.err conftest.$ac_objext \
11095 conftest$ac_exeext conftest.$ac_ext
11096 LIBS=$ac_check_soname_save_LIBS
11098 if ${ac_cv_lib_soname_GLU:+false} :; then :
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11100 $as_echo "not found" >&6; }
11102 else
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11104 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11106 cat >>confdefs.h <<_ACEOF
11107 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11108 _ACEOF
11112 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11113 case "x$with_glu" in
11114 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11115 xno) ;;
11116 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11117 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11118 esac
11123 if test "x$with_osmesa" != "xno"
11124 then
11125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11126 $as_echo_n "checking for -lOSMesa... " >&6; }
11127 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11128 $as_echo_n "(cached) " >&6
11129 else
11130 ac_check_soname_save_LIBS=$LIBS
11131 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char OSMesaGetProcAddress ();
11143 main ()
11145 return OSMesaGetProcAddress ();
11147 return 0;
11149 _ACEOF
11150 if ac_fn_c_try_link "$LINENO"; then :
11151 case "$LIBEXT" in
11152 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11153 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'` ;;
11154 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11155 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11156 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11157 fi ;;
11158 esac
11160 rm -f core conftest.err conftest.$ac_objext \
11161 conftest$ac_exeext conftest.$ac_ext
11162 LIBS=$ac_check_soname_save_LIBS
11164 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11166 $as_echo "not found" >&6; }
11168 else
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11170 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11172 cat >>confdefs.h <<_ACEOF
11173 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11174 _ACEOF
11178 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11179 case "x$with_osmesa" in
11180 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11181 xno) ;;
11182 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11183 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11184 esac
11189 if test -n "$opengl_msg"; then :
11190 case "x$with_opengl" in
11191 x) as_fn_append wine_warnings "|$opengl_msg
11192 OpenGL and Direct3D won't be supported." ;;
11193 xno) ;;
11194 *) as_fn_error $? "$opengl_msg
11195 OpenGL and Direct3D won't be supported.
11196 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11197 esac
11201 CPPFLAGS="$ac_save_CPPFLAGS"
11202 else
11203 X_CFLAGS=""
11204 X_LIBS=""
11207 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11208 then
11209 if test "x$X_LIBS" = "x"; then :
11210 case "x$with_x" in
11211 xno) ;;
11212 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11213 without X support, which probably isn't what you want. You will need
11214 to install ${notice_platform}development packages of Xlib at the very least.
11215 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11216 esac
11217 enable_winex11_drv=${enable_winex11_drv:-no}
11219 else
11220 if test "x$X_LIBS" = "x"; then :
11221 case "x$with_x" in
11222 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11223 xno) ;;
11224 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11225 This is an error since --with-x was requested." "$LINENO" 5 ;;
11226 esac
11227 enable_winex11_drv=${enable_winex11_drv:-no}
11231 if test "$ac_cv_header_CL_cl_h" = "yes"
11232 then
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11234 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11235 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11236 $as_echo_n "(cached) " >&6
11237 else
11238 ac_check_lib_save_LIBS=$LIBS
11239 LIBS="-lOpenCL $LIBS"
11240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11243 /* Override any GCC internal prototype to avoid an error.
11244 Use char because int might match the return type of a GCC
11245 builtin and then its argument prototype would still apply. */
11246 #ifdef __cplusplus
11247 extern "C"
11248 #endif
11249 char clGetPlatformInfo ();
11251 main ()
11253 return clGetPlatformInfo ();
11255 return 0;
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"; then :
11259 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11260 else
11261 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11263 rm -f core conftest.err conftest.$ac_objext \
11264 conftest$ac_exeext conftest.$ac_ext
11265 LIBS=$ac_check_lib_save_LIBS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11268 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11269 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11270 OPENCL_LIBS="-lOpenCL"
11275 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11276 case "x$with_opencl" in
11277 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11278 xno) ;;
11279 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11280 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11281 esac
11282 enable_opencl=${enable_opencl:-no}
11285 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11286 then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11288 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11289 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11290 $as_echo_n "(cached) " >&6
11291 else
11292 ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-lpcap $LIBS"
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char pcap_create ();
11305 main ()
11307 return pcap_create ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_pcap_pcap_create=yes
11314 else
11315 ac_cv_lib_pcap_pcap_create=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11322 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11323 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11324 PCAP_LIBS="-lpcap"
11329 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11330 case "x$with_pcap" in
11331 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11332 xno) ;;
11333 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11334 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11335 esac
11336 enable_wpcap=${enable_wpcap:-no}
11340 if test "x$with_xml" != "xno"
11341 then
11342 if ${XML2_CFLAGS:+false} :; then :
11343 if ${PKG_CONFIG+:} false; then :
11344 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11347 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11348 if ${XML2_LIBS:+false} :; then :
11349 if ${PKG_CONFIG+:} false; then :
11350 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11353 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11354 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11355 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11356 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11357 ac_save_CPPFLAGS=$CPPFLAGS
11358 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11359 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11360 do :
11361 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11362 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11363 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11364 cat >>confdefs.h <<_ACEOF
11365 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11366 _ACEOF
11370 done
11372 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"
11373 then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11375 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11376 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11377 $as_echo_n "(cached) " >&6
11378 else
11379 ac_check_lib_save_LIBS=$LIBS
11380 LIBS="-lxml2 $XML2_LIBS $LIBS"
11381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382 /* end confdefs.h. */
11384 /* Override any GCC internal prototype to avoid an error.
11385 Use char because int might match the return type of a GCC
11386 builtin and then its argument prototype would still apply. */
11387 #ifdef __cplusplus
11388 extern "C"
11389 #endif
11390 char xmlParseMemory ();
11392 main ()
11394 return xmlParseMemory ();
11396 return 0;
11398 _ACEOF
11399 if ac_fn_c_try_link "$LINENO"; then :
11400 ac_cv_lib_xml2_xmlParseMemory=yes
11401 else
11402 ac_cv_lib_xml2_xmlParseMemory=no
11404 rm -f core conftest.err conftest.$ac_objext \
11405 conftest$ac_exeext conftest.$ac_ext
11406 LIBS=$ac_check_lib_save_LIBS
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11409 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11410 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11412 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11414 else
11415 XML2_LIBS=""
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11419 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11420 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11421 $as_echo_n "(cached) " >&6
11422 else
11423 ac_check_lib_save_LIBS=$LIBS
11424 LIBS="-lxml2 $XML2_LIBS $LIBS"
11425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11431 #ifdef __cplusplus
11432 extern "C"
11433 #endif
11434 char xmlReadMemory ();
11436 main ()
11438 return xmlReadMemory ();
11440 return 0;
11442 _ACEOF
11443 if ac_fn_c_try_link "$LINENO"; then :
11444 ac_cv_lib_xml2_xmlReadMemory=yes
11445 else
11446 ac_cv_lib_xml2_xmlReadMemory=no
11448 rm -f core conftest.err conftest.$ac_objext \
11449 conftest$ac_exeext conftest.$ac_ext
11450 LIBS=$ac_check_lib_save_LIBS
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11453 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11454 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11456 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11461 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11462 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11463 $as_echo_n "(cached) " >&6
11464 else
11465 ac_check_lib_save_LIBS=$LIBS
11466 LIBS="-lxml2 $XML2_LIBS $LIBS"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11473 #ifdef __cplusplus
11474 extern "C"
11475 #endif
11476 char xmlNewDocPI ();
11478 main ()
11480 return xmlNewDocPI ();
11482 return 0;
11484 _ACEOF
11485 if ac_fn_c_try_link "$LINENO"; then :
11486 ac_cv_lib_xml2_xmlNewDocPI=yes
11487 else
11488 ac_cv_lib_xml2_xmlNewDocPI=no
11490 rm -f core conftest.err conftest.$ac_objext \
11491 conftest$ac_exeext conftest.$ac_ext
11492 LIBS=$ac_check_lib_save_LIBS
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11495 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11496 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11498 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11503 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11504 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11505 $as_echo_n "(cached) " >&6
11506 else
11507 ac_check_lib_save_LIBS=$LIBS
11508 LIBS="-lxml2 $XML2_LIBS $LIBS"
11509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11512 /* Override any GCC internal prototype to avoid an error.
11513 Use char because int might match the return type of a GCC
11514 builtin and then its argument prototype would still apply. */
11515 #ifdef __cplusplus
11516 extern "C"
11517 #endif
11518 char xmlSchemaSetParserStructuredErrors ();
11520 main ()
11522 return xmlSchemaSetParserStructuredErrors ();
11524 return 0;
11526 _ACEOF
11527 if ac_fn_c_try_link "$LINENO"; then :
11528 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11529 else
11530 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11532 rm -f core conftest.err conftest.$ac_objext \
11533 conftest$ac_exeext conftest.$ac_ext
11534 LIBS=$ac_check_lib_save_LIBS
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11537 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11538 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11540 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11545 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11546 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11547 $as_echo_n "(cached) " >&6
11548 else
11549 ac_check_lib_save_LIBS=$LIBS
11550 LIBS="-lxml2 $XML2_LIBS $LIBS"
11551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11552 /* end confdefs.h. */
11554 /* Override any GCC internal prototype to avoid an error.
11555 Use char because int might match the return type of a GCC
11556 builtin and then its argument prototype would still apply. */
11557 #ifdef __cplusplus
11558 extern "C"
11559 #endif
11560 char xmlSchemaSetValidStructuredErrors ();
11562 main ()
11564 return xmlSchemaSetValidStructuredErrors ();
11566 return 0;
11568 _ACEOF
11569 if ac_fn_c_try_link "$LINENO"; then :
11570 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11571 else
11572 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11579 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11580 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11582 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11587 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11588 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 ac_check_lib_save_LIBS=$LIBS
11592 LIBS="-lxml2 $XML2_LIBS $LIBS"
11593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11594 /* end confdefs.h. */
11596 /* Override any GCC internal prototype to avoid an error.
11597 Use char because int might match the return type of a GCC
11598 builtin and then its argument prototype would still apply. */
11599 #ifdef __cplusplus
11600 extern "C"
11601 #endif
11602 char xmlFirstElementChild ();
11604 main ()
11606 return xmlFirstElementChild ();
11608 return 0;
11610 _ACEOF
11611 if ac_fn_c_try_link "$LINENO"; then :
11612 ac_cv_lib_xml2_xmlFirstElementChild=yes
11613 else
11614 ac_cv_lib_xml2_xmlFirstElementChild=no
11616 rm -f core conftest.err conftest.$ac_objext \
11617 conftest$ac_exeext conftest.$ac_ext
11618 LIBS=$ac_check_lib_save_LIBS
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11621 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11622 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11624 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11628 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11630 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11632 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11636 else
11637 XML2_CFLAGS=""
11638 XML2_LIBS=""
11640 CPPFLAGS=$ac_save_CPPFLAGS
11641 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11642 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11645 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11646 case "x$with_xml" in
11647 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11648 xno) ;;
11649 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11650 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11651 esac
11655 if test "x$with_xslt" != "xno"
11656 then
11657 if ${XSLT_CFLAGS:+false} :; then :
11658 if ${PKG_CONFIG+:} false; then :
11659 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11662 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11663 if ${XSLT_LIBS:+false} :; then :
11664 if ${PKG_CONFIG+:} false; then :
11665 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11668 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11669 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11670 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11671 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11672 ac_save_CPPFLAGS=$CPPFLAGS
11673 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11674 for ac_header in libxslt/pattern.h libxslt/transform.h
11675 do :
11676 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11677 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11678 # include <libxslt/pattern.h>
11679 #endif
11681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11682 cat >>confdefs.h <<_ACEOF
11683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11684 _ACEOF
11688 done
11690 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11691 then
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11693 $as_echo_n "checking for -lxslt... " >&6; }
11694 if ${ac_cv_lib_soname_xslt+:} false; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 ac_check_soname_save_LIBS=$LIBS
11698 LIBS="-lxslt $XSLT_LIBS $LIBS"
11699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11702 /* Override any GCC internal prototype to avoid an error.
11703 Use char because int might match the return type of a GCC
11704 builtin and then its argument prototype would still apply. */
11705 #ifdef __cplusplus
11706 extern "C"
11707 #endif
11708 char xsltCompilePattern ();
11710 main ()
11712 return xsltCompilePattern ();
11714 return 0;
11716 _ACEOF
11717 if ac_fn_c_try_link "$LINENO"; then :
11718 case "$LIBEXT" in
11719 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11720 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'` ;;
11721 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11722 if ${ac_cv_lib_soname_xslt:+false} :; then :
11723 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11724 fi ;;
11725 esac
11727 rm -f core conftest.err conftest.$ac_objext \
11728 conftest$ac_exeext conftest.$ac_ext
11729 LIBS=$ac_check_soname_save_LIBS
11731 if ${ac_cv_lib_soname_xslt:+false} :; then :
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11733 $as_echo "not found" >&6; }
11735 else
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11737 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11739 cat >>confdefs.h <<_ACEOF
11740 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11741 _ACEOF
11745 else
11746 XSLT_CFLAGS=""
11748 CPPFLAGS=$ac_save_CPPFLAGS
11749 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11750 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11753 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11754 case "x$with_xslt" in
11755 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11756 xno) ;;
11757 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11758 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11759 esac
11763 if test "x$with_dbus" != "xno"
11764 then
11765 if ${DBUS_CFLAGS:+false} :; then :
11766 if ${PKG_CONFIG+:} false; then :
11767 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11771 if ${DBUS_LIBS:+false} :; then :
11772 if ${PKG_CONFIG+:} false; then :
11773 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11778 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11779 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11780 ac_save_CPPFLAGS=$CPPFLAGS
11781 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11782 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11783 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11785 $as_echo_n "checking for -ldbus-1... " >&6; }
11786 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11787 $as_echo_n "(cached) " >&6
11788 else
11789 ac_check_soname_save_LIBS=$LIBS
11790 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11794 /* Override any GCC internal prototype to avoid an error.
11795 Use char because int might match the return type of a GCC
11796 builtin and then its argument prototype would still apply. */
11797 #ifdef __cplusplus
11798 extern "C"
11799 #endif
11800 char dbus_connection_close ();
11802 main ()
11804 return dbus_connection_close ();
11806 return 0;
11808 _ACEOF
11809 if ac_fn_c_try_link "$LINENO"; then :
11810 case "$LIBEXT" in
11811 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11812 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'` ;;
11813 *) 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'`
11814 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11815 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11816 fi ;;
11817 esac
11819 rm -f core conftest.err conftest.$ac_objext \
11820 conftest$ac_exeext conftest.$ac_ext
11821 LIBS=$ac_check_soname_save_LIBS
11823 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11825 $as_echo "not found" >&6; }
11826 DBUS_CFLAGS=""
11827 else
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11829 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11831 cat >>confdefs.h <<_ACEOF
11832 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11833 _ACEOF
11837 else
11838 DBUS_CFLAGS=""
11842 CPPFLAGS=$ac_save_CPPFLAGS
11843 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11844 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11847 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11848 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11849 case "x$with_dbus" in
11850 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11851 xno) ;;
11852 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11853 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11854 esac
11858 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11859 then
11860 if ${HAL_CFLAGS:+false} :; then :
11861 if ${PKG_CONFIG+:} false; then :
11862 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11866 if ${HAL_LIBS:+false} :; then :
11867 if ${PKG_CONFIG+:} false; then :
11868 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11872 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11873 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11874 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11875 ac_save_CPPFLAGS=$CPPFLAGS
11876 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11877 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11878 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11880 $as_echo_n "checking for -lhal... " >&6; }
11881 if ${ac_cv_lib_soname_hal+:} false; then :
11882 $as_echo_n "(cached) " >&6
11883 else
11884 ac_check_soname_save_LIBS=$LIBS
11885 LIBS="-lhal $HAL_LIBS $LIBS"
11886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11889 /* Override any GCC internal prototype to avoid an error.
11890 Use char because int might match the return type of a GCC
11891 builtin and then its argument prototype would still apply. */
11892 #ifdef __cplusplus
11893 extern "C"
11894 #endif
11895 char libhal_ctx_new ();
11897 main ()
11899 return libhal_ctx_new ();
11901 return 0;
11903 _ACEOF
11904 if ac_fn_c_try_link "$LINENO"; then :
11905 case "$LIBEXT" in
11906 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11907 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'` ;;
11908 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11909 if ${ac_cv_lib_soname_hal:+false} :; then :
11910 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11911 fi ;;
11912 esac
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_soname_save_LIBS
11918 if ${ac_cv_lib_soname_hal:+false} :; then :
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11920 $as_echo "not found" >&6; }
11921 HAL_CFLAGS=""
11922 else
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11924 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11926 cat >>confdefs.h <<_ACEOF
11927 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11928 _ACEOF
11932 else
11933 HAL_CFLAGS=""
11937 CPPFLAGS=$ac_save_CPPFLAGS
11938 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11939 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11941 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11942 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11943 case "x$with_hal" in
11944 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11945 xno) ;;
11946 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11947 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11948 esac
11953 if test "x$with_gnutls" != "xno"
11954 then
11955 if ${GNUTLS_CFLAGS:+false} :; then :
11956 if ${PKG_CONFIG+:} false; then :
11957 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11961 if ${GNUTLS_LIBS:+false} :; then :
11962 if ${PKG_CONFIG+:} false; then :
11963 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11968 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11969 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11970 ac_save_CPPFLAGS=$CPPFLAGS
11971 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11972 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11973 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975 /* end confdefs.h. */
11976 #include <gnutls/gnutls.h>
11977 #include <gnutls/crypto.h>
11979 main ()
11981 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11983 return 0;
11985 _ACEOF
11986 if ac_fn_c_try_compile "$LINENO"; then :
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11988 $as_echo_n "checking for -lgnutls... " >&6; }
11989 if ${ac_cv_lib_soname_gnutls+:} false; then :
11990 $as_echo_n "(cached) " >&6
11991 else
11992 ac_check_soname_save_LIBS=$LIBS
11993 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
11997 /* Override any GCC internal prototype to avoid an error.
11998 Use char because int might match the return type of a GCC
11999 builtin and then its argument prototype would still apply. */
12000 #ifdef __cplusplus
12001 extern "C"
12002 #endif
12003 char gnutls_global_init ();
12005 main ()
12007 return gnutls_global_init ();
12009 return 0;
12011 _ACEOF
12012 if ac_fn_c_try_link "$LINENO"; then :
12013 case "$LIBEXT" in
12014 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12015 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'` ;;
12016 *) 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'`
12017 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12018 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'`
12019 fi ;;
12020 esac
12022 rm -f core conftest.err conftest.$ac_objext \
12023 conftest$ac_exeext conftest.$ac_ext
12024 LIBS=$ac_check_soname_save_LIBS
12026 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12028 $as_echo "not found" >&6; }
12029 GNUTLS_CFLAGS=""
12030 else
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12032 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12034 cat >>confdefs.h <<_ACEOF
12035 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12036 _ACEOF
12040 ac_wine_check_funcs_save_LIBS="$LIBS"
12041 LIBS="$LIBS $GNUTLS_LIBS"
12042 for ac_func in gnutls_cipher_init
12043 do :
12044 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12045 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12046 cat >>confdefs.h <<_ACEOF
12047 #define HAVE_GNUTLS_CIPHER_INIT 1
12048 _ACEOF
12050 else
12051 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12053 done
12055 LIBS="$ac_wine_check_funcs_save_LIBS"
12057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12058 else
12059 GNUTLS_CFLAGS=""
12063 CPPFLAGS=$ac_save_CPPFLAGS
12064 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12065 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12068 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12069 case "x$with_gnutls" in
12070 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12071 xno) ;;
12072 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12073 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12074 esac
12078 CURSES_LIBS=""
12079 if test "$ac_cv_header_ncurses_h" = "yes"
12080 then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12082 $as_echo_n "checking for -lncurses... " >&6; }
12083 if ${ac_cv_lib_soname_ncurses+:} false; then :
12084 $as_echo_n "(cached) " >&6
12085 else
12086 ac_check_soname_save_LIBS=$LIBS
12087 LIBS="-lncurses $LIBS"
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char waddch ();
12099 main ()
12101 return waddch ();
12103 return 0;
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107 case "$LIBEXT" in
12108 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12109 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'` ;;
12110 *) 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'`
12111 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12112 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12113 fi ;;
12114 esac
12116 rm -f core conftest.err conftest.$ac_objext \
12117 conftest$ac_exeext conftest.$ac_ext
12118 LIBS=$ac_check_soname_save_LIBS
12120 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12122 $as_echo "not found" >&6; }
12124 else
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12126 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12128 cat >>confdefs.h <<_ACEOF
12129 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12130 _ACEOF
12132 CURSES_LIBS="-lncurses"
12134 elif test "$ac_cv_header_curses_h" = "yes"
12135 then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12137 $as_echo_n "checking for -lcurses... " >&6; }
12138 if ${ac_cv_lib_soname_curses+:} false; then :
12139 $as_echo_n "(cached) " >&6
12140 else
12141 ac_check_soname_save_LIBS=$LIBS
12142 LIBS="-lcurses $LIBS"
12143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12149 #ifdef __cplusplus
12150 extern "C"
12151 #endif
12152 char waddch ();
12154 main ()
12156 return waddch ();
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_link "$LINENO"; then :
12162 case "$LIBEXT" in
12163 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12164 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'` ;;
12165 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12166 if ${ac_cv_lib_soname_curses:+false} :; then :
12167 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12168 fi ;;
12169 esac
12171 rm -f core conftest.err conftest.$ac_objext \
12172 conftest$ac_exeext conftest.$ac_ext
12173 LIBS=$ac_check_soname_save_LIBS
12175 if ${ac_cv_lib_soname_curses:+false} :; then :
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12177 $as_echo "not found" >&6; }
12179 else
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12181 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12183 cat >>confdefs.h <<_ACEOF
12184 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12185 _ACEOF
12187 CURSES_LIBS="-lcurses"
12190 ac_save_LIBS="$LIBS"
12191 LIBS="$LIBS $CURSES_LIBS"
12192 for ac_func in mousemask
12193 do :
12194 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12195 if test "x$ac_cv_func_mousemask" = xyes; then :
12196 cat >>confdefs.h <<_ACEOF
12197 #define HAVE_MOUSEMASK 1
12198 _ACEOF
12201 done
12203 LIBS="$ac_save_LIBS"
12204 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12205 case "x$with_curses" in
12206 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12207 xno) ;;
12208 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12209 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12210 esac
12214 if test "x$with_sane" != "xno"
12215 then
12216 if ${SANE_CFLAGS:+false} :; then :
12217 if ${PKG_CONFIG+:} false; then :
12218 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12221 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12222 if ${SANE_LIBS:+false} :; then :
12223 if ${PKG_CONFIG+:} false; then :
12224 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12227 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12229 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12230 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12231 ac_save_CPPFLAGS=$CPPFLAGS
12232 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12233 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12234 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12236 $as_echo_n "checking for -lsane... " >&6; }
12237 if ${ac_cv_lib_soname_sane+:} false; then :
12238 $as_echo_n "(cached) " >&6
12239 else
12240 ac_check_soname_save_LIBS=$LIBS
12241 LIBS="-lsane $SANE_LIBS $LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12248 #ifdef __cplusplus
12249 extern "C"
12250 #endif
12251 char sane_init ();
12253 main ()
12255 return sane_init ();
12257 return 0;
12259 _ACEOF
12260 if ac_fn_c_try_link "$LINENO"; then :
12261 case "$LIBEXT" in
12262 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12263 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'` ;;
12264 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12265 if ${ac_cv_lib_soname_sane:+false} :; then :
12266 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12267 fi ;;
12268 esac
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 LIBS=$ac_check_soname_save_LIBS
12274 if ${ac_cv_lib_soname_sane:+false} :; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12276 $as_echo "not found" >&6; }
12277 SANE_CFLAGS=""
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12280 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12282 cat >>confdefs.h <<_ACEOF
12283 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12284 _ACEOF
12288 else
12289 SANE_CFLAGS=""
12293 CPPFLAGS=$ac_save_CPPFLAGS
12294 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12295 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12298 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12299 case "x$with_sane" in
12300 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12301 xno) ;;
12302 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12303 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12304 esac
12308 if test "x$with_v4l" != "xno"
12309 then
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12311 $as_echo_n "checking for -lv4l1... " >&6; }
12312 if ${ac_cv_lib_soname_v4l1+:} false; then :
12313 $as_echo_n "(cached) " >&6
12314 else
12315 ac_check_soname_save_LIBS=$LIBS
12316 LIBS="-lv4l1 $LIBS"
12317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12318 /* end confdefs.h. */
12320 /* Override any GCC internal prototype to avoid an error.
12321 Use char because int might match the return type of a GCC
12322 builtin and then its argument prototype would still apply. */
12323 #ifdef __cplusplus
12324 extern "C"
12325 #endif
12326 char v4l1_open ();
12328 main ()
12330 return v4l1_open ();
12332 return 0;
12334 _ACEOF
12335 if ac_fn_c_try_link "$LINENO"; then :
12336 case "$LIBEXT" in
12337 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12338 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'` ;;
12339 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12340 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12341 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12342 fi ;;
12343 esac
12345 rm -f core conftest.err conftest.$ac_objext \
12346 conftest$ac_exeext conftest.$ac_ext
12347 LIBS=$ac_check_soname_save_LIBS
12349 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12351 $as_echo "not found" >&6; }
12353 else
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12355 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12357 cat >>confdefs.h <<_ACEOF
12358 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12359 _ACEOF
12364 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12365 case "x$with_v4l" in
12366 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12367 xno) ;;
12368 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12369 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12370 esac
12374 if test "x$with_gphoto" != "xno"
12375 then
12376 if ${GPHOTO2_CFLAGS:+false} :; then :
12377 if ${PKG_CONFIG+:} false; then :
12378 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12381 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12382 if ${GPHOTO2_LIBS:+false} :; then :
12383 if ${PKG_CONFIG+:} false; then :
12384 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12387 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12388 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12389 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12390 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12391 ac_save_CPPFLAGS=$CPPFLAGS
12392 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12393 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12394 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12396 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12397 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12398 $as_echo_n "(cached) " >&6
12399 else
12400 ac_check_lib_save_LIBS=$LIBS
12401 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12403 /* end confdefs.h. */
12405 /* Override any GCC internal prototype to avoid an error.
12406 Use char because int might match the return type of a GCC
12407 builtin and then its argument prototype would still apply. */
12408 #ifdef __cplusplus
12409 extern "C"
12410 #endif
12411 char gp_camera_new ();
12413 main ()
12415 return gp_camera_new ();
12417 return 0;
12419 _ACEOF
12420 if ac_fn_c_try_link "$LINENO"; then :
12421 ac_cv_lib_gphoto2_gp_camera_new=yes
12422 else
12423 ac_cv_lib_gphoto2_gp_camera_new=no
12425 rm -f core conftest.err conftest.$ac_objext \
12426 conftest$ac_exeext conftest.$ac_ext
12427 LIBS=$ac_check_lib_save_LIBS
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12430 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12431 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12433 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12435 else
12436 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12439 else
12440 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12444 CPPFLAGS=$ac_save_CPPFLAGS
12445 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12446 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12448 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12449 if ${PKG_CONFIG+:} false; then :
12450 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12453 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12454 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12455 if ${PKG_CONFIG+:} false; then :
12456 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12459 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12460 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12461 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12462 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12463 ac_save_CPPFLAGS=$CPPFLAGS
12464 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12465 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12466 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12468 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12469 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12470 $as_echo_n "(cached) " >&6
12471 else
12472 ac_check_lib_save_LIBS=$LIBS
12473 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12477 /* Override any GCC internal prototype to avoid an error.
12478 Use char because int might match the return type of a GCC
12479 builtin and then its argument prototype would still apply. */
12480 #ifdef __cplusplus
12481 extern "C"
12482 #endif
12483 char gp_port_info_list_new ();
12485 main ()
12487 return gp_port_info_list_new ();
12489 return 0;
12491 _ACEOF
12492 if ac_fn_c_try_link "$LINENO"; then :
12493 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12494 else
12495 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12497 rm -f core conftest.err conftest.$ac_objext \
12498 conftest$ac_exeext conftest.$ac_ext
12499 LIBS=$ac_check_lib_save_LIBS
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12502 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12503 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12505 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12507 else
12508 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12511 else
12512 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12516 CPPFLAGS=$ac_save_CPPFLAGS
12517 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12518 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12521 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12522 case "x$with_gphoto" in
12523 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12524 xno) ;;
12525 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12526 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12527 esac
12530 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12531 case "x$with_gphoto" in
12532 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12533 xno) ;;
12534 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12535 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12536 esac
12541 if test "$ac_cv_header_resolv_h" = "yes"
12542 then
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12544 $as_echo_n "checking for resolver library... " >&6; }
12545 if ${ac_cv_have_resolv+:} false; then :
12546 $as_echo_n "(cached) " >&6
12547 else
12548 ac_save_LIBS="$LIBS"
12549 for lib in '' -lresolv
12551 LIBS="$lib $ac_save_LIBS"
12552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12553 /* end confdefs.h. */
12554 #ifdef HAVE_NETINET_IN_H
12555 #include <netinet/in.h>
12556 #endif
12557 #include <resolv.h>
12559 main ()
12561 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12563 return 0;
12565 _ACEOF
12566 if ac_fn_c_try_link "$LINENO"; then :
12567 ac_cv_have_resolv=${lib:-"none required"}
12568 else
12569 ac_cv_have_resolv="not found"
12571 rm -f core conftest.err conftest.$ac_objext \
12572 conftest$ac_exeext conftest.$ac_ext
12573 test "x$ac_cv_have_resolv" = "xnot found" || break
12574 done
12575 LIBS="$ac_save_LIBS"
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12578 $as_echo "$ac_cv_have_resolv" >&6; }
12580 case "$ac_cv_have_resolv" in
12581 "not found") ;;
12582 "none required")
12584 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12587 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12589 RESOLV_LIBS=$ac_cv_have_resolv
12591 esac
12594 if test "x$with_cms" != "xno"
12595 then
12596 if ${LCMS2_CFLAGS:+false} :; then :
12597 if ${PKG_CONFIG+:} false; then :
12598 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12602 if ${LCMS2_LIBS:+false} :; then :
12603 if ${PKG_CONFIG+:} false; then :
12604 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12608 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12609 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12610 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12611 ac_save_CPPFLAGS=$CPPFLAGS
12612 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12613 for ac_header in lcms2.h
12614 do :
12615 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12616 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12617 cat >>confdefs.h <<_ACEOF
12618 #define HAVE_LCMS2_H 1
12619 _ACEOF
12623 done
12625 if test "$ac_cv_header_lcms2_h" = "yes"
12626 then
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12628 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12629 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12630 $as_echo_n "(cached) " >&6
12631 else
12632 ac_check_lib_save_LIBS=$LIBS
12633 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12635 /* end confdefs.h. */
12637 /* Override any GCC internal prototype to avoid an error.
12638 Use char because int might match the return type of a GCC
12639 builtin and then its argument prototype would still apply. */
12640 #ifdef __cplusplus
12641 extern "C"
12642 #endif
12643 char cmsOpenProfileFromFile ();
12645 main ()
12647 return cmsOpenProfileFromFile ();
12649 return 0;
12651 _ACEOF
12652 if ac_fn_c_try_link "$LINENO"; then :
12653 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12654 else
12655 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12657 rm -f core conftest.err conftest.$ac_objext \
12658 conftest$ac_exeext conftest.$ac_ext
12659 LIBS=$ac_check_lib_save_LIBS
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12662 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12663 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12665 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12667 else
12668 LCMS2_LIBS=""
12671 else
12672 LCMS2_CFLAGS=""
12673 LCMS2_LIBS=""
12675 CPPFLAGS=$ac_save_CPPFLAGS
12676 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12677 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12680 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12681 case "x$with_cms" in
12682 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12683 xno) ;;
12684 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12685 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12686 esac
12690 if test "x$with_freetype" != "xno"
12691 then
12692 if ${FREETYPE_CFLAGS:+false} :; then :
12693 if ${PKG_CONFIG+:} false; then :
12694 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12697 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12698 if ${FREETYPE_LIBS:+false} :; then :
12699 if ${PKG_CONFIG+:} false; then :
12700 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12703 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12704 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12705 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12706 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12707 ac_save_CPPFLAGS=$CPPFLAGS
12708 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12709 for ac_header in ft2build.h
12710 do :
12711 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12712 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12713 cat >>confdefs.h <<_ACEOF
12714 #define HAVE_FT2BUILD_H 1
12715 _ACEOF
12719 done
12721 if test "$ac_cv_header_ft2build_h" = "yes"
12722 then
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12724 $as_echo_n "checking for -lfreetype... " >&6; }
12725 if ${ac_cv_lib_soname_freetype+:} false; then :
12726 $as_echo_n "(cached) " >&6
12727 else
12728 ac_check_soname_save_LIBS=$LIBS
12729 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12733 /* Override any GCC internal prototype to avoid an error.
12734 Use char because int might match the return type of a GCC
12735 builtin and then its argument prototype would still apply. */
12736 #ifdef __cplusplus
12737 extern "C"
12738 #endif
12739 char FT_Init_FreeType ();
12741 main ()
12743 return FT_Init_FreeType ();
12745 return 0;
12747 _ACEOF
12748 if ac_fn_c_try_link "$LINENO"; then :
12749 case "$LIBEXT" in
12750 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12751 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'` ;;
12752 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12753 if ${ac_cv_lib_soname_freetype:+false} :; then :
12754 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12755 fi ;;
12756 esac
12758 rm -f core conftest.err conftest.$ac_objext \
12759 conftest$ac_exeext conftest.$ac_ext
12760 LIBS=$ac_check_soname_save_LIBS
12762 if ${ac_cv_lib_soname_freetype:+false} :; then :
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12764 $as_echo "not found" >&6; }
12765 FREETYPE_LIBS=""
12766 else
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12768 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12770 cat >>confdefs.h <<_ACEOF
12771 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12772 _ACEOF
12775 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12777 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12778 #include FT_MODULE_H
12780 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12782 cat >>confdefs.h <<_ACEOF
12783 #define HAVE_FT_TRUETYPEENGINETYPE 1
12784 _ACEOF
12790 else
12791 FREETYPE_CFLAGS=""
12792 FREETYPE_LIBS=""
12794 CPPFLAGS=$ac_save_CPPFLAGS
12795 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12796 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12799 if test "x$ac_cv_lib_soname_freetype" = x; then :
12800 case "x$with_freetype" in
12801 xno) ;;
12802 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12803 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12804 esac
12805 enable_fonts=${enable_fonts:-no}
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12809 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12810 if ${ac_cv_c_ppdev+:} false; then :
12811 $as_echo_n "(cached) " >&6
12812 else
12813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12815 #ifdef HAVE_SYS_IOCTL_H
12816 # include <sys/ioctl.h>
12817 #endif
12818 #include <linux/ppdev.h>
12820 main ()
12822 ioctl (1,PPCLAIM,0)
12824 return 0;
12826 _ACEOF
12827 if ac_fn_c_try_compile "$LINENO"; then :
12828 ac_cv_c_ppdev="yes"
12829 else
12830 ac_cv_c_ppdev="no"
12832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12835 $as_echo "$ac_cv_c_ppdev" >&6; }
12836 if test "$ac_cv_c_ppdev" = "yes"
12837 then
12839 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12843 ac_wine_check_funcs_save_LIBS="$LIBS"
12844 LIBS="$LIBS $PTHREAD_LIBS"
12845 for ac_func in \
12846 pthread_attr_get_np \
12847 pthread_getattr_np \
12848 pthread_getthreadid_np \
12849 pthread_get_stackaddr_np \
12850 pthread_get_stacksize_np
12851 do :
12852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12854 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12855 cat >>confdefs.h <<_ACEOF
12856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12857 _ACEOF
12860 done
12862 LIBS="$ac_wine_check_funcs_save_LIBS"
12864 if test "$ac_cv_header_zlib_h" = "yes"
12865 then
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12867 $as_echo_n "checking for inflate in -lz... " >&6; }
12868 if ${ac_cv_lib_z_inflate+:} false; then :
12869 $as_echo_n "(cached) " >&6
12870 else
12871 ac_check_lib_save_LIBS=$LIBS
12872 LIBS="-lz $LIBS"
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12876 /* Override any GCC internal prototype to avoid an error.
12877 Use char because int might match the return type of a GCC
12878 builtin and then its argument prototype would still apply. */
12879 #ifdef __cplusplus
12880 extern "C"
12881 #endif
12882 char inflate ();
12884 main ()
12886 return inflate ();
12888 return 0;
12890 _ACEOF
12891 if ac_fn_c_try_link "$LINENO"; then :
12892 ac_cv_lib_z_inflate=yes
12893 else
12894 ac_cv_lib_z_inflate=no
12896 rm -f core conftest.err conftest.$ac_objext \
12897 conftest$ac_exeext conftest.$ac_ext
12898 LIBS=$ac_check_lib_save_LIBS
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12901 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12902 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12904 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12906 Z_LIBS="-lz"
12911 if test "x$Z_LIBS" = "x"; then :
12912 case "x$with_zlib" in
12913 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12914 xno) ;;
12915 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12916 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12917 esac
12921 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12922 then
12923 if test "$ac_cv_header_gettext_po_h" = "yes"
12924 then
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12926 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12927 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_lib_save_LIBS=$LIBS
12931 LIBS="-lgettextpo $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char po_message_msgctxt ();
12943 main ()
12945 return po_message_msgctxt ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12952 else
12953 ac_cv_lib_gettextpo_po_message_msgctxt=no
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_lib_save_LIBS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12960 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12961 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12963 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12965 GETTEXTPO_LIBS="-lgettextpo"
12970 if test "x$GETTEXTPO_LIBS" = "x"; then :
12971 case "x$with_gettextpo" in
12972 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12973 xno) ;;
12974 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12975 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12976 esac
12979 if test "$srcdir" != .; then :
12980 case "x$with_gettextpo" in
12981 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12982 xno) ;;
12983 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12984 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12985 esac
12990 if test "x$with_pulse" != "xno";
12991 then
12992 if ${PULSE_CFLAGS:+false} :; then :
12993 if ${PKG_CONFIG+:} false; then :
12994 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12998 if ${PULSE_LIBS:+false} :; then :
12999 if ${PKG_CONFIG+:} false; then :
13000 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13005 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13006 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13007 ac_save_CPPFLAGS=$CPPFLAGS
13008 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13009 for ac_header in pulse/pulseaudio.h
13010 do :
13011 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13012 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13013 cat >>confdefs.h <<_ACEOF
13014 #define HAVE_PULSE_PULSEAUDIO_H 1
13015 _ACEOF
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13017 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13018 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13019 $as_echo_n "(cached) " >&6
13020 else
13021 ac_check_lib_save_LIBS=$LIBS
13022 LIBS="-lpulse $PULSE_LIBS $LIBS"
13023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13024 /* end confdefs.h. */
13026 /* Override any GCC internal prototype to avoid an error.
13027 Use char because int might match the return type of a GCC
13028 builtin and then its argument prototype would still apply. */
13029 #ifdef __cplusplus
13030 extern "C"
13031 #endif
13032 char pa_stream_is_corked ();
13034 main ()
13036 return pa_stream_is_corked ();
13038 return 0;
13040 _ACEOF
13041 if ac_fn_c_try_link "$LINENO"; then :
13042 ac_cv_lib_pulse_pa_stream_is_corked=yes
13043 else
13044 ac_cv_lib_pulse_pa_stream_is_corked=no
13046 rm -f core conftest.err conftest.$ac_objext \
13047 conftest$ac_exeext conftest.$ac_ext
13048 LIBS=$ac_check_lib_save_LIBS
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13051 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13052 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13054 else
13055 PULSE_LIBS=""
13058 else
13059 PULSE_LIBS=""
13062 done
13064 CPPFLAGS=$ac_save_CPPFLAGS
13065 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13066 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13069 if test -z "$PULSE_LIBS"; then :
13070 case "x$with_pulse" in
13071 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13072 xno) ;;
13073 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13074 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13075 esac
13076 enable_winepulse_drv=${enable_winepulse_drv:-no}
13079 if test "x$with_gstreamer" != "xno"
13080 then
13081 if ${GSTREAMER_CFLAGS:+false} :; then :
13082 if ${PKG_CONFIG+:} false; then :
13083 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13087 if ${GSTREAMER_LIBS:+false} :; then :
13088 if ${PKG_CONFIG+:} false; then :
13089 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13094 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13095 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13096 ac_save_CPPFLAGS=$CPPFLAGS
13097 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13098 ac_gst_incl=""
13099 for i in $GSTREAMER_CFLAGS
13101 case "$i" in
13102 -I*) ac_gst_incl="$ac_gst_incl $i";;
13103 esac
13104 done
13105 GSTREAMER_CFLAGS=$ac_gst_incl
13106 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13107 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13110 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13112 /* end confdefs.h. */
13113 #include <gst/gst.h>
13115 main ()
13117 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13119 return 0;
13121 _ACEOF
13122 if ac_fn_c_try_compile "$LINENO"; then :
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13124 $as_echo "yes" >&6; }
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13126 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13127 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13128 $as_echo_n "(cached) " >&6
13129 else
13130 ac_check_lib_save_LIBS=$LIBS
13131 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13138 #ifdef __cplusplus
13139 extern "C"
13140 #endif
13141 char gst_pad_new ();
13143 main ()
13145 return gst_pad_new ();
13147 return 0;
13149 _ACEOF
13150 if ac_fn_c_try_link "$LINENO"; then :
13151 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13152 else
13153 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13155 rm -f core conftest.err conftest.$ac_objext \
13156 conftest$ac_exeext conftest.$ac_ext
13157 LIBS=$ac_check_lib_save_LIBS
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13160 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13161 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13165 else
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167 $as_echo "no" >&6; }
13168 ac_glib2_broken=yes
13169 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13175 CPPFLAGS=$ac_save_CPPFLAGS
13176 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13177 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13180 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 :
13181 case "x$with_gstreamer" in
13182 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13183 xno) ;;
13184 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13185 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13186 esac
13189 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13191 ALSA_LIBS=""
13193 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13194 then
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13196 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13197 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13198 $as_echo_n "(cached) " >&6
13199 else
13200 ac_check_lib_save_LIBS=$LIBS
13201 LIBS="-lasound $LIBS"
13202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13203 /* end confdefs.h. */
13205 /* Override any GCC internal prototype to avoid an error.
13206 Use char because int might match the return type of a GCC
13207 builtin and then its argument prototype would still apply. */
13208 #ifdef __cplusplus
13209 extern "C"
13210 #endif
13211 char snd_pcm_hw_params_get_access_mask ();
13213 main ()
13215 return snd_pcm_hw_params_get_access_mask ();
13217 return 0;
13219 _ACEOF
13220 if ac_fn_c_try_link "$LINENO"; then :
13221 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13222 else
13223 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13225 rm -f core conftest.err conftest.$ac_objext \
13226 conftest$ac_exeext conftest.$ac_ext
13227 LIBS=$ac_check_lib_save_LIBS
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13230 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13231 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13234 #ifdef HAVE_ALSA_ASOUNDLIB_H
13235 #include <alsa/asoundlib.h>
13236 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13237 #include <sys/asoundlib.h>
13238 #endif
13240 main ()
13242 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13244 return 0;
13246 _ACEOF
13247 if ac_fn_c_try_compile "$LINENO"; then :
13248 ALSA_LIBS="-lasound"
13250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13254 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13256 if test "x$with_oss" != xno
13257 then
13258 ac_save_CPPFLAGS="$CPPFLAGS"
13259 if test -f /etc/oss.conf
13260 then
13261 . /etc/oss.conf
13263 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13264 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13265 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13266 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13267 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13269 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13271 cat >>confdefs.h <<_ACEOF
13272 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13273 _ACEOF
13275 OSS4_CFLAGS="$ac_oss_incl"
13282 CPPFLAGS="$ac_save_CPPFLAGS"
13284 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13285 case "x$with_oss" in
13286 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13287 xno) ;;
13288 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13289 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13290 esac
13291 enable_wineoss_drv=${enable_wineoss_drv:-no}
13294 if test "x$with_udev" != "xno"
13295 then
13296 if ${UDEV_CFLAGS:+false} :; then :
13297 if ${PKG_CONFIG+:} false; then :
13298 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13302 if ${UDEV_LIBS:+false} :; then :
13303 if ${PKG_CONFIG+:} false; then :
13304 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13308 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13309 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13310 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13311 ac_save_CPPFLAGS=$CPPFLAGS
13312 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13313 for ac_header in libudev.h
13314 do :
13315 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13316 if test "x$ac_cv_header_libudev_h" = xyes; then :
13317 cat >>confdefs.h <<_ACEOF
13318 #define HAVE_LIBUDEV_H 1
13319 _ACEOF
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13321 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13322 if ${ac_cv_lib_udev_udev_new+:} false; then :
13323 $as_echo_n "(cached) " >&6
13324 else
13325 ac_check_lib_save_LIBS=$LIBS
13326 LIBS="-ludev $UDEV_LIBS $LIBS"
13327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13328 /* end confdefs.h. */
13330 /* Override any GCC internal prototype to avoid an error.
13331 Use char because int might match the return type of a GCC
13332 builtin and then its argument prototype would still apply. */
13333 #ifdef __cplusplus
13334 extern "C"
13335 #endif
13336 char udev_new ();
13338 main ()
13340 return udev_new ();
13342 return 0;
13344 _ACEOF
13345 if ac_fn_c_try_link "$LINENO"; then :
13346 ac_cv_lib_udev_udev_new=yes
13347 else
13348 ac_cv_lib_udev_udev_new=no
13350 rm -f core conftest.err conftest.$ac_objext \
13351 conftest$ac_exeext conftest.$ac_ext
13352 LIBS=$ac_check_lib_save_LIBS
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13355 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13356 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13358 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13360 else
13361 UDEV_LIBS=""
13364 else
13365 UDEV_LIBS=""
13368 done
13370 CPPFLAGS=$ac_save_CPPFLAGS
13371 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13372 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13375 if test "x$UDEV_LIBS" = "x"; then :
13376 case "x$with_udev" in
13377 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13378 xno) ;;
13379 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13380 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13381 esac
13385 if test "x$with_capi" != "xno"
13386 then
13387 if ${CAPI20_CFLAGS:+false} :; then :
13388 if ${PKG_CONFIG+:} false; then :
13389 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13393 if ${CAPI20_LIBS:+false} :; then :
13394 if ${PKG_CONFIG+:} false; then :
13395 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13400 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13401 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13402 ac_save_CPPFLAGS=$CPPFLAGS
13403 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13404 for ac_header in capi20.h linux/capi.h
13405 do :
13406 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13407 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13409 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13410 cat >>confdefs.h <<_ACEOF
13411 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13412 _ACEOF
13416 done
13418 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13419 then
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13421 $as_echo_n "checking for -lcapi20... " >&6; }
13422 if ${ac_cv_lib_soname_capi20+:} false; then :
13423 $as_echo_n "(cached) " >&6
13424 else
13425 ac_check_soname_save_LIBS=$LIBS
13426 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428 /* end confdefs.h. */
13430 /* Override any GCC internal prototype to avoid an error.
13431 Use char because int might match the return type of a GCC
13432 builtin and then its argument prototype would still apply. */
13433 #ifdef __cplusplus
13434 extern "C"
13435 #endif
13436 char capi20_register ();
13438 main ()
13440 return capi20_register ();
13442 return 0;
13444 _ACEOF
13445 if ac_fn_c_try_link "$LINENO"; then :
13446 case "$LIBEXT" in
13447 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13448 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'` ;;
13449 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13450 if ${ac_cv_lib_soname_capi20:+false} :; then :
13451 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13452 fi ;;
13453 esac
13455 rm -f core conftest.err conftest.$ac_objext \
13456 conftest$ac_exeext conftest.$ac_ext
13457 LIBS=$ac_check_soname_save_LIBS
13459 if ${ac_cv_lib_soname_capi20:+false} :; then :
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13461 $as_echo "not found" >&6; }
13463 else
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13465 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13467 cat >>confdefs.h <<_ACEOF
13468 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13469 _ACEOF
13474 CPPFLAGS=$ac_save_CPPFLAGS
13475 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13476 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13479 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13480 case "x$with_capi" in
13481 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13482 xno) ;;
13483 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13484 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13485 esac
13489 if test "x$with_cups" != "xno"
13490 then
13491 if ${CUPS_CFLAGS:+false} :; then :
13492 if ${PKG_CONFIG+:} false; then :
13493 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13496 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13497 if ${CUPS_LIBS:+false} :; then :
13498 if ${PKG_CONFIG+:} false; then :
13499 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13502 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13503 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13504 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13505 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13506 ac_save_CPPFLAGS=$CPPFLAGS
13507 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13508 for ac_header in cups/cups.h cups/ppd.h
13509 do :
13510 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13511 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13512 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13513 cat >>confdefs.h <<_ACEOF
13514 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13515 _ACEOF
13519 done
13521 if test "$ac_cv_header_cups_cups_h" = "yes"
13522 then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13524 $as_echo_n "checking for -lcups... " >&6; }
13525 if ${ac_cv_lib_soname_cups+:} false; then :
13526 $as_echo_n "(cached) " >&6
13527 else
13528 ac_check_soname_save_LIBS=$LIBS
13529 LIBS="-lcups $CUPS_LIBS $LIBS"
13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13533 /* Override any GCC internal prototype to avoid an error.
13534 Use char because int might match the return type of a GCC
13535 builtin and then its argument prototype would still apply. */
13536 #ifdef __cplusplus
13537 extern "C"
13538 #endif
13539 char cupsGetDefault ();
13541 main ()
13543 return cupsGetDefault ();
13545 return 0;
13547 _ACEOF
13548 if ac_fn_c_try_link "$LINENO"; then :
13549 case "$LIBEXT" in
13550 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13551 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'` ;;
13552 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13553 if ${ac_cv_lib_soname_cups:+false} :; then :
13554 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13555 fi ;;
13556 esac
13558 rm -f core conftest.err conftest.$ac_objext \
13559 conftest$ac_exeext conftest.$ac_ext
13560 LIBS=$ac_check_soname_save_LIBS
13562 if ${ac_cv_lib_soname_cups:+false} :; then :
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13564 $as_echo "not found" >&6; }
13565 CUPS_LIBS=""
13566 else
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13568 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13570 cat >>confdefs.h <<_ACEOF
13571 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13572 _ACEOF
13576 else
13577 CUPS_CFLAGS=""
13578 CUPS_LIBS=""
13580 CPPFLAGS=$ac_save_CPPFLAGS
13581 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13582 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13585 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13586 case "x$with_cups" in
13587 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13588 xno) ;;
13589 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13590 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13591 esac
13595 if test "x$with_fontconfig" != "xno"
13596 then
13597 if ${FONTCONFIG_CFLAGS:+false} :; then :
13598 if ${PKG_CONFIG+:} false; then :
13599 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13602 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13603 if ${FONTCONFIG_LIBS:+false} :; then :
13604 if ${PKG_CONFIG+:} false; then :
13605 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13608 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13610 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13611 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13612 ac_save_CPPFLAGS=$CPPFLAGS
13613 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13614 for ac_header in fontconfig/fontconfig.h
13615 do :
13616 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13617 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13618 cat >>confdefs.h <<_ACEOF
13619 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13620 _ACEOF
13624 done
13626 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13627 then
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13629 $as_echo_n "checking for -lfontconfig... " >&6; }
13630 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13631 $as_echo_n "(cached) " >&6
13632 else
13633 ac_check_soname_save_LIBS=$LIBS
13634 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13636 /* end confdefs.h. */
13638 /* Override any GCC internal prototype to avoid an error.
13639 Use char because int might match the return type of a GCC
13640 builtin and then its argument prototype would still apply. */
13641 #ifdef __cplusplus
13642 extern "C"
13643 #endif
13644 char FcInit ();
13646 main ()
13648 return FcInit ();
13650 return 0;
13652 _ACEOF
13653 if ac_fn_c_try_link "$LINENO"; then :
13654 case "$LIBEXT" in
13655 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13656 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'` ;;
13657 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13658 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13659 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13660 fi ;;
13661 esac
13663 rm -f core conftest.err conftest.$ac_objext \
13664 conftest$ac_exeext conftest.$ac_ext
13665 LIBS=$ac_check_soname_save_LIBS
13667 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13669 $as_echo "not found" >&6; }
13670 FONTCONFIG_CFLAGS=""
13671 else
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13673 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13675 cat >>confdefs.h <<_ACEOF
13676 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13677 _ACEOF
13681 else
13682 FONTCONFIG_CFLAGS=""
13684 CPPFLAGS=$ac_save_CPPFLAGS
13685 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13686 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13689 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13690 case "x$with_fontconfig" in
13691 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13692 xno) ;;
13693 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13694 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13695 esac
13699 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13700 then
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13702 $as_echo_n "checking for -lgsm... " >&6; }
13703 if ${ac_cv_lib_soname_gsm+:} false; then :
13704 $as_echo_n "(cached) " >&6
13705 else
13706 ac_check_soname_save_LIBS=$LIBS
13707 LIBS="-lgsm $LIBS"
13708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13709 /* end confdefs.h. */
13711 /* Override any GCC internal prototype to avoid an error.
13712 Use char because int might match the return type of a GCC
13713 builtin and then its argument prototype would still apply. */
13714 #ifdef __cplusplus
13715 extern "C"
13716 #endif
13717 char gsm_create ();
13719 main ()
13721 return gsm_create ();
13723 return 0;
13725 _ACEOF
13726 if ac_fn_c_try_link "$LINENO"; then :
13727 case "$LIBEXT" in
13728 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13729 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'` ;;
13730 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13731 if ${ac_cv_lib_soname_gsm:+false} :; then :
13732 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13733 fi ;;
13734 esac
13736 rm -f core conftest.err conftest.$ac_objext \
13737 conftest$ac_exeext conftest.$ac_ext
13738 LIBS=$ac_check_soname_save_LIBS
13740 if ${ac_cv_lib_soname_gsm:+false} :; then :
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13742 $as_echo "not found" >&6; }
13744 else
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13746 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13748 cat >>confdefs.h <<_ACEOF
13749 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13750 _ACEOF
13755 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13756 case "x$with_gsm" in
13757 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13758 xno) ;;
13759 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13760 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13761 esac
13765 if test "x$with_krb5" != "xno"
13766 then
13767 if ${KRB5_CFLAGS:+false} :; then :
13768 if ${PKG_CONFIG+:} false; then :
13769 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13772 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13773 if ${KRB5_LIBS:+false} :; then :
13774 if ${PKG_CONFIG+:} false; then :
13775 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13778 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13780 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13781 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13782 ac_save_CPPFLAGS=$CPPFLAGS
13783 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13784 for ac_header in krb5/krb5.h
13785 do :
13786 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13787 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13788 cat >>confdefs.h <<_ACEOF
13789 #define HAVE_KRB5_KRB5_H 1
13790 _ACEOF
13794 done
13796 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13797 then
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13799 $as_echo_n "checking for -lkrb5... " >&6; }
13800 if ${ac_cv_lib_soname_krb5+:} false; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 ac_check_soname_save_LIBS=$LIBS
13804 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13806 /* end confdefs.h. */
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13811 #ifdef __cplusplus
13812 extern "C"
13813 #endif
13814 char krb5_init_context ();
13816 main ()
13818 return krb5_init_context ();
13820 return 0;
13822 _ACEOF
13823 if ac_fn_c_try_link "$LINENO"; then :
13824 case "$LIBEXT" in
13825 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13826 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13827 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13828 if ${ac_cv_lib_soname_krb5:+false} :; then :
13829 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13830 fi ;;
13831 esac
13833 rm -f core conftest.err conftest.$ac_objext \
13834 conftest$ac_exeext conftest.$ac_ext
13835 LIBS=$ac_check_soname_save_LIBS
13837 if ${ac_cv_lib_soname_krb5:+false} :; then :
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13839 $as_echo "not found" >&6; }
13840 KRB5_CFLAGS=""
13841 else
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13843 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13845 cat >>confdefs.h <<_ACEOF
13846 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13847 _ACEOF
13851 else
13852 KRB5_CFLAGS=""
13854 CPPFLAGS=$ac_save_CPPFLAGS
13855 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13856 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13859 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13860 case "x$with_krb5" in
13861 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13862 xno) ;;
13863 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13864 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13865 esac
13869 if test "x$with_jpeg" != "xno"
13870 then
13871 if ${JPEG_CFLAGS:+false} :; then :
13872 if ${PKG_CONFIG+:} false; then :
13873 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13877 if ${JPEG_LIBS:+false} :; then :
13878 if ${PKG_CONFIG+:} false; then :
13879 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13884 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13885 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13886 ac_save_CPPFLAGS=$CPPFLAGS
13887 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13888 for ac_header in jpeglib.h
13889 do :
13890 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13891 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13892 cat >>confdefs.h <<_ACEOF
13893 #define HAVE_JPEGLIB_H 1
13894 _ACEOF
13898 done
13900 if test "$ac_cv_header_jpeglib_h" = "yes"
13901 then
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13903 $as_echo_n "checking for -ljpeg... " >&6; }
13904 if ${ac_cv_lib_soname_jpeg+:} false; then :
13905 $as_echo_n "(cached) " >&6
13906 else
13907 ac_check_soname_save_LIBS=$LIBS
13908 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13910 /* end confdefs.h. */
13912 /* Override any GCC internal prototype to avoid an error.
13913 Use char because int might match the return type of a GCC
13914 builtin and then its argument prototype would still apply. */
13915 #ifdef __cplusplus
13916 extern "C"
13917 #endif
13918 char jpeg_start_decompress ();
13920 main ()
13922 return jpeg_start_decompress ();
13924 return 0;
13926 _ACEOF
13927 if ac_fn_c_try_link "$LINENO"; then :
13928 case "$LIBEXT" in
13929 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13930 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'` ;;
13931 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13932 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13933 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13934 fi ;;
13935 esac
13937 rm -f core conftest.err conftest.$ac_objext \
13938 conftest$ac_exeext conftest.$ac_ext
13939 LIBS=$ac_check_soname_save_LIBS
13941 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13943 $as_echo "not found" >&6; }
13944 JPEG_CFLAGS=""
13945 else
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13947 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13949 cat >>confdefs.h <<_ACEOF
13950 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13951 _ACEOF
13955 else
13956 JPEG_CFLAGS=""
13958 CPPFLAGS=$ac_save_CPPFLAGS
13959 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13960 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13963 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13964 case "x$with_jpeg" in
13965 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13966 xno) ;;
13967 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13968 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13969 esac
13973 if test "x$with_png" != "xno"
13974 then
13975 if ${PNG_CFLAGS:+false} :; then :
13976 if ${PKG_CONFIG+:} false; then :
13977 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13980 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13981 if ${PNG_LIBS:+false} :; then :
13982 if ${PKG_CONFIG+:} false; then :
13983 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13986 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13988 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13989 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13990 ac_save_CPPFLAGS=$CPPFLAGS
13991 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13992 for ac_header in png.h
13993 do :
13994 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13995 if test "x$ac_cv_header_png_h" = xyes; then :
13996 cat >>confdefs.h <<_ACEOF
13997 #define HAVE_PNG_H 1
13998 _ACEOF
14002 done
14004 if test "$ac_cv_header_png_h" = "yes"
14005 then
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14007 $as_echo_n "checking for -lpng... " >&6; }
14008 if ${ac_cv_lib_soname_png+:} false; then :
14009 $as_echo_n "(cached) " >&6
14010 else
14011 ac_check_soname_save_LIBS=$LIBS
14012 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14014 /* end confdefs.h. */
14016 /* Override any GCC internal prototype to avoid an error.
14017 Use char because int might match the return type of a GCC
14018 builtin and then its argument prototype would still apply. */
14019 #ifdef __cplusplus
14020 extern "C"
14021 #endif
14022 char png_create_read_struct ();
14024 main ()
14026 return png_create_read_struct ();
14028 return 0;
14030 _ACEOF
14031 if ac_fn_c_try_link "$LINENO"; then :
14032 case "$LIBEXT" in
14033 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14034 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'` ;;
14035 *) 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'`
14036 if ${ac_cv_lib_soname_png:+false} :; then :
14037 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14038 fi ;;
14039 esac
14041 rm -f core conftest.err conftest.$ac_objext \
14042 conftest$ac_exeext conftest.$ac_ext
14043 LIBS=$ac_check_soname_save_LIBS
14045 if ${ac_cv_lib_soname_png:+false} :; then :
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14047 $as_echo "not found" >&6; }
14048 PNG_CFLAGS=""
14049 else
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14051 $as_echo "$ac_cv_lib_soname_png" >&6; }
14053 cat >>confdefs.h <<_ACEOF
14054 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14055 _ACEOF
14059 else
14060 PNG_CFLAGS=""
14062 CPPFLAGS=$ac_save_CPPFLAGS
14063 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14064 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14067 if test "x$ac_cv_lib_soname_png" = "x"; then :
14068 case "x$with_png" in
14069 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14070 xno) ;;
14071 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14072 This is an error since --with-png was requested." "$LINENO" 5 ;;
14073 esac
14077 if test "x$with_tiff" != "xno"
14078 then
14079 if ${TIFF_CFLAGS:+false} :; then :
14080 if ${PKG_CONFIG+:} false; then :
14081 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14085 if ${TIFF_LIBS:+false} :; then :
14086 if ${PKG_CONFIG+:} false; then :
14087 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14092 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14093 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14094 ac_save_CPPFLAGS=$CPPFLAGS
14095 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14096 for ac_header in tiffio.h
14097 do :
14098 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14099 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14100 cat >>confdefs.h <<_ACEOF
14101 #define HAVE_TIFFIO_H 1
14102 _ACEOF
14106 done
14108 if test "$ac_cv_header_tiffio_h" = "yes"
14109 then
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14111 $as_echo_n "checking for -ltiff... " >&6; }
14112 if ${ac_cv_lib_soname_tiff+:} false; then :
14113 $as_echo_n "(cached) " >&6
14114 else
14115 ac_check_soname_save_LIBS=$LIBS
14116 LIBS="-ltiff $TIFF_LIBS $LIBS"
14117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14118 /* end confdefs.h. */
14120 /* Override any GCC internal prototype to avoid an error.
14121 Use char because int might match the return type of a GCC
14122 builtin and then its argument prototype would still apply. */
14123 #ifdef __cplusplus
14124 extern "C"
14125 #endif
14126 char TIFFClientOpen ();
14128 main ()
14130 return TIFFClientOpen ();
14132 return 0;
14134 _ACEOF
14135 if ac_fn_c_try_link "$LINENO"; then :
14136 case "$LIBEXT" in
14137 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14138 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'` ;;
14139 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14140 if ${ac_cv_lib_soname_tiff:+false} :; then :
14141 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14142 fi ;;
14143 esac
14145 rm -f core conftest.err conftest.$ac_objext \
14146 conftest$ac_exeext conftest.$ac_ext
14147 LIBS=$ac_check_soname_save_LIBS
14149 if ${ac_cv_lib_soname_tiff:+false} :; then :
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14151 $as_echo "not found" >&6; }
14153 else
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14155 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14157 cat >>confdefs.h <<_ACEOF
14158 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14159 _ACEOF
14164 CPPFLAGS=$ac_save_CPPFLAGS
14165 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14166 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14169 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14170 case "x$with_tiff" in
14171 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14172 xno) ;;
14173 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14174 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14175 esac
14179 if test "x$with_mpg123" != "xno"
14180 then
14181 if ${MPG123_CFLAGS:+false} :; then :
14182 if ${PKG_CONFIG+:} false; then :
14183 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14187 if ${MPG123_LIBS:+false} :; then :
14188 if ${PKG_CONFIG+:} false; then :
14189 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14193 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14194 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14195 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14196 ac_save_CPPFLAGS=$CPPFLAGS
14197 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14198 for ac_header in mpg123.h
14199 do :
14200 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14201 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14202 cat >>confdefs.h <<_ACEOF
14203 #define HAVE_MPG123_H 1
14204 _ACEOF
14208 done
14210 if test "$ac_cv_header_mpg123_h" = "yes"
14211 then
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14213 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14214 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 ac_check_lib_save_LIBS=$LIBS
14218 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14222 /* Override any GCC internal prototype to avoid an error.
14223 Use char because int might match the return type of a GCC
14224 builtin and then its argument prototype would still apply. */
14225 #ifdef __cplusplus
14226 extern "C"
14227 #endif
14228 char mpg123_feed ();
14230 main ()
14232 return mpg123_feed ();
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 ac_cv_lib_mpg123_mpg123_feed=yes
14239 else
14240 ac_cv_lib_mpg123_mpg123_feed=no
14242 rm -f core conftest.err conftest.$ac_objext \
14243 conftest$ac_exeext conftest.$ac_ext
14244 LIBS=$ac_check_lib_save_LIBS
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14247 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14248 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14250 else
14251 MPG123_LIBS=""
14254 else
14255 MPG123_CFLAGS=""
14256 MPG123_LIBS=""
14258 CPPFLAGS=$ac_save_CPPFLAGS
14259 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14260 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14263 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14264 case "x$with_mpg123" in
14265 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14266 xno) ;;
14267 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14268 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14269 esac
14270 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14273 if test "$ac_cv_header_AL_al_h" = "yes"
14274 then
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14276 $as_echo_n "checking for -lopenal... " >&6; }
14277 if ${ac_cv_lib_soname_openal+:} false; then :
14278 $as_echo_n "(cached) " >&6
14279 else
14280 ac_check_soname_save_LIBS=$LIBS
14281 LIBS="-lopenal $LIBS"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14288 #ifdef __cplusplus
14289 extern "C"
14290 #endif
14291 char alGetSource3i ();
14293 main ()
14295 return alGetSource3i ();
14297 return 0;
14299 _ACEOF
14300 if ac_fn_c_try_link "$LINENO"; then :
14301 case "$LIBEXT" in
14302 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14303 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'` ;;
14304 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14305 if ${ac_cv_lib_soname_openal:+false} :; then :
14306 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14307 fi ;;
14308 esac
14310 rm -f core conftest.err conftest.$ac_objext \
14311 conftest$ac_exeext conftest.$ac_ext
14312 LIBS=$ac_check_soname_save_LIBS
14314 if ${ac_cv_lib_soname_openal:+false} :; then :
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14316 $as_echo "not found" >&6; }
14318 else
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14320 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14322 cat >>confdefs.h <<_ACEOF
14323 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14324 _ACEOF
14326 OPENAL_LIBS="-lopenal"
14328 ac_cv_lib_openal=yes
14330 cat >>confdefs.h <<_ACEOF
14331 #define HAVE_OPENAL 1
14332 _ACEOF
14336 if test "x$ac_cv_lib_openal" != xyes; then :
14337 case "x$with_openal" in
14338 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14339 xno) ;;
14340 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14341 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14342 esac
14343 enable_openal32=${enable_openal32:-no}
14346 if test "x$ac_cv_lib_openal" = xyes
14347 then
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14349 $as_echo_n "checking for openal-soft... " >&6; }
14350 if ${ac_cv_have_openalsoft+:} false; then :
14351 $as_echo_n "(cached) " >&6
14352 else
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14355 #include <AL/al.h>
14356 #include <AL/alc.h>
14357 #include <AL/alext.h>
14358 LPALCRENDERSAMPLESSOFT x;
14360 main ()
14364 return 0;
14366 _ACEOF
14367 if ac_fn_c_try_compile "$LINENO"; then :
14368 ac_cv_have_openalsoft=yes
14369 else
14370 ac_cv_have_openalsoft=no
14372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14375 $as_echo "$ac_cv_have_openalsoft" >&6; }
14377 if test "x$ac_cv_have_openalsoft" != xyes
14378 then
14379 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14380 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14381 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14382 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14383 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14384 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14385 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14386 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14387 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14388 enable_xapofx1_1=${enable_xapofx1_1:-no}
14389 enable_xapofx1_2=${enable_xapofx1_2:-no}
14390 enable_xapofx1_3=${enable_xapofx1_3:-no}
14391 enable_xapofx1_4=${enable_xapofx1_4:-no}
14392 enable_xapofx1_5=${enable_xapofx1_5:-no}
14393 enable_xaudio2_0=${enable_xaudio2_0:-no}
14394 enable_xaudio2_1=${enable_xaudio2_1:-no}
14395 enable_xaudio2_2=${enable_xaudio2_2:-no}
14396 enable_xaudio2_3=${enable_xaudio2_3:-no}
14397 enable_xaudio2_4=${enable_xaudio2_4:-no}
14398 enable_xaudio2_5=${enable_xaudio2_5:-no}
14399 enable_xaudio2_6=${enable_xaudio2_6:-no}
14400 enable_xaudio2_7=${enable_xaudio2_7:-no}
14401 enable_xaudio2_8=${enable_xaudio2_8:-no}
14402 enable_xaudio2_9=${enable_xaudio2_9:-no}
14405 if test "$ac_cv_header_kstat_h" = "yes"
14406 then
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14408 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14409 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14410 $as_echo_n "(cached) " >&6
14411 else
14412 ac_check_lib_save_LIBS=$LIBS
14413 LIBS="-lkstat $LIBS"
14414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14415 /* end confdefs.h. */
14417 /* Override any GCC internal prototype to avoid an error.
14418 Use char because int might match the return type of a GCC
14419 builtin and then its argument prototype would still apply. */
14420 #ifdef __cplusplus
14421 extern "C"
14422 #endif
14423 char kstat_open ();
14425 main ()
14427 return kstat_open ();
14429 return 0;
14431 _ACEOF
14432 if ac_fn_c_try_link "$LINENO"; then :
14433 ac_cv_lib_kstat_kstat_open=yes
14434 else
14435 ac_cv_lib_kstat_kstat_open=no
14437 rm -f core conftest.err conftest.$ac_objext \
14438 conftest$ac_exeext conftest.$ac_ext
14439 LIBS=$ac_check_lib_save_LIBS
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14442 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14443 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14445 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14447 KSTAT_LIBS="-lkstat"
14453 if test "$ac_cv_header_libprocstat_h" = "yes"
14454 then
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14456 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14457 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 ac_check_lib_save_LIBS=$LIBS
14461 LIBS="-lprocstat $LIBS"
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14465 /* Override any GCC internal prototype to avoid an error.
14466 Use char because int might match the return type of a GCC
14467 builtin and then its argument prototype would still apply. */
14468 #ifdef __cplusplus
14469 extern "C"
14470 #endif
14471 char procstat_open_sysctl ();
14473 main ()
14475 return procstat_open_sysctl ();
14477 return 0;
14479 _ACEOF
14480 if ac_fn_c_try_link "$LINENO"; then :
14481 ac_cv_lib_procstat_procstat_open_sysctl=yes
14482 else
14483 ac_cv_lib_procstat_procstat_open_sysctl=no
14485 rm -f core conftest.err conftest.$ac_objext \
14486 conftest$ac_exeext conftest.$ac_ext
14487 LIBS=$ac_check_lib_save_LIBS
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14490 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14491 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14493 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14495 PROCSTAT_LIBS="-lprocstat"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14502 $as_echo_n "checking for -lodbc... " >&6; }
14503 if ${ac_cv_lib_soname_odbc+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 ac_check_soname_save_LIBS=$LIBS
14507 LIBS="-lodbc $LIBS"
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14511 /* Override any GCC internal prototype to avoid an error.
14512 Use char because int might match the return type of a GCC
14513 builtin and then its argument prototype would still apply. */
14514 #ifdef __cplusplus
14515 extern "C"
14516 #endif
14517 char SQLConnect ();
14519 main ()
14521 return SQLConnect ();
14523 return 0;
14525 _ACEOF
14526 if ac_fn_c_try_link "$LINENO"; then :
14527 case "$LIBEXT" in
14528 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14529 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'` ;;
14530 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14531 if ${ac_cv_lib_soname_odbc:+false} :; then :
14532 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14533 fi ;;
14534 esac
14536 rm -f core conftest.err conftest.$ac_objext \
14537 conftest$ac_exeext conftest.$ac_ext
14538 LIBS=$ac_check_soname_save_LIBS
14540 if ${ac_cv_lib_soname_odbc:+false} :; then :
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14542 $as_echo "not found" >&6; }
14543 cat >>confdefs.h <<_ACEOF
14544 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14545 _ACEOF
14547 else
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14549 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14551 cat >>confdefs.h <<_ACEOF
14552 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14553 _ACEOF
14558 if test "x$with_netapi" != "xno"
14559 then
14560 if ${NETAPI_CFLAGS:+false} :; then :
14561 if ${PKG_CONFIG+:} false; then :
14562 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14566 if ${NETAPI_LIBS:+false} :; then :
14567 if ${PKG_CONFIG+:} false; then :
14568 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14573 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14574 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14575 ac_save_CPPFLAGS=$CPPFLAGS
14576 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14578 $as_echo_n "checking for -lnetapi... " >&6; }
14579 if ${ac_cv_lib_soname_netapi+:} false; then :
14580 $as_echo_n "(cached) " >&6
14581 else
14582 ac_check_soname_save_LIBS=$LIBS
14583 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14585 /* end confdefs.h. */
14587 /* Override any GCC internal prototype to avoid an error.
14588 Use char because int might match the return type of a GCC
14589 builtin and then its argument prototype would still apply. */
14590 #ifdef __cplusplus
14591 extern "C"
14592 #endif
14593 char libnetapi_init ();
14595 main ()
14597 return libnetapi_init ();
14599 return 0;
14601 _ACEOF
14602 if ac_fn_c_try_link "$LINENO"; then :
14603 case "$LIBEXT" in
14604 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14605 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'` ;;
14606 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14607 if ${ac_cv_lib_soname_netapi:+false} :; then :
14608 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14609 fi ;;
14610 esac
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LIBS=$ac_check_soname_save_LIBS
14616 if ${ac_cv_lib_soname_netapi:+false} :; then :
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14618 $as_echo "not found" >&6; }
14619 cat >>confdefs.h <<_ACEOF
14620 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14621 _ACEOF
14623 else
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14625 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14627 cat >>confdefs.h <<_ACEOF
14628 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14629 _ACEOF
14633 CPPFLAGS=$ac_save_CPPFLAGS
14634 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14635 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14639 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14640 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14641 then
14642 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14646 EXTRACFLAGS=""
14648 if test "x${GCC}" = "xyes"
14649 then
14650 EXTRACFLAGS="-Wall -pipe"
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14653 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14654 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14655 $as_echo_n "(cached) " >&6
14656 else
14657 if test "$cross_compiling" = yes; then :
14658 ac_cv_c_gcc_strength_bug="no"
14659 else
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14662 int L[4] = {0,1,2,3};
14664 main ()
14666 static int Array[3];
14667 unsigned int B = 3;
14668 int i;
14669 for(i=0; i<B; i++) Array[i] = i - 3;
14670 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14671 L[i] = 4;
14672 return (Array[1] != -2 || L[2] != 3)
14674 return 0;
14676 _ACEOF
14677 if ac_fn_c_try_run "$LINENO"; then :
14678 ac_cv_c_gcc_strength_bug="no"
14679 else
14680 ac_cv_c_gcc_strength_bug="yes"
14682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14683 conftest.$ac_objext conftest.beam conftest.$ac_ext
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14688 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14689 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14690 then
14691 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14695 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14696 if ${ac_cv_cflags__fno_builtin+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_wine_try_cflags_saved=$CFLAGS
14700 CFLAGS="$CFLAGS -fno-builtin"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_cflags__fno_builtin=yes
14707 else
14708 ac_cv_cflags__fno_builtin=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 CFLAGS=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14715 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14716 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14717 BUILTINFLAG="-fno-builtin"
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14721 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14722 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14723 $as_echo_n "(cached) " >&6
14724 else
14725 ac_wine_try_cflags_saved=$CFLAGS
14726 CFLAGS="$CFLAGS -fno-strict-aliasing"
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 int main(int argc, char **argv) { return 0; }
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_cflags__fno_strict_aliasing=yes
14733 else
14734 ac_cv_cflags__fno_strict_aliasing=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 CFLAGS=$ac_wine_try_cflags_saved
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14741 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14742 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14743 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14746 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14747 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_wine_try_cflags_saved=$CFLAGS
14751 CFLAGS="$CFLAGS -fexcess-precision=standard"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_cflags__fexcess_precision_standard=yes
14758 else
14759 ac_cv_cflags__fexcess_precision_standard=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 CFLAGS=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14766 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14767 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14768 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14771 saved_CFLAGS=$CFLAGS
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14773 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14774 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14775 $as_echo_n "(cached) " >&6
14776 else
14777 ac_wine_try_cflags_saved=$CFLAGS
14778 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 /* end confdefs.h. */
14781 int main(int argc, char **argv) { return 0; }
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_cflags__Werror_unknown_warning_option=yes
14785 else
14786 ac_cv_cflags__Werror_unknown_warning_option=no
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14790 CFLAGS=$ac_wine_try_cflags_saved
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14793 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14794 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14795 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14798 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14799 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14800 $as_echo_n "(cached) " >&6
14801 else
14802 ac_wine_try_cflags_saved=$CFLAGS
14803 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14806 int main(int argc, char **argv) { return 0; }
14807 _ACEOF
14808 if ac_fn_c_try_link "$LINENO"; then :
14809 ac_cv_cflags__Wdeclaration_after_statement=yes
14810 else
14811 ac_cv_cflags__Wdeclaration_after_statement=no
14813 rm -f core conftest.err conftest.$ac_objext \
14814 conftest$ac_exeext conftest.$ac_ext
14815 CFLAGS=$ac_wine_try_cflags_saved
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14818 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14819 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14820 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14823 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14824 if ${ac_cv_cflags__Wempty_body+:} false; then :
14825 $as_echo_n "(cached) " >&6
14826 else
14827 ac_wine_try_cflags_saved=$CFLAGS
14828 CFLAGS="$CFLAGS -Wempty-body"
14829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14830 /* end confdefs.h. */
14831 int main(int argc, char **argv) { return 0; }
14832 _ACEOF
14833 if ac_fn_c_try_link "$LINENO"; then :
14834 ac_cv_cflags__Wempty_body=yes
14835 else
14836 ac_cv_cflags__Wempty_body=no
14838 rm -f core conftest.err conftest.$ac_objext \
14839 conftest$ac_exeext conftest.$ac_ext
14840 CFLAGS=$ac_wine_try_cflags_saved
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14843 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14844 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14845 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14848 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14849 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14850 $as_echo_n "(cached) " >&6
14851 else
14852 ac_wine_try_cflags_saved=$CFLAGS
14853 CFLAGS="$CFLAGS -Wignored-qualifiers"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14856 int main(int argc, char **argv) { return 0; }
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"; then :
14859 ac_cv_cflags__Wignored_qualifiers=yes
14860 else
14861 ac_cv_cflags__Wignored_qualifiers=no
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 CFLAGS=$ac_wine_try_cflags_saved
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14868 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14869 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14870 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-packed-not-aligned" >&5
14873 $as_echo_n "checking whether the compiler supports -Wno-packed-not-aligned... " >&6; }
14874 if ${ac_cv_cflags__Wno_packed_not_aligned+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 ac_wine_try_cflags_saved=$CFLAGS
14878 CFLAGS="$CFLAGS -Wno-packed-not-aligned"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 int main(int argc, char **argv) { return 0; }
14882 _ACEOF
14883 if ac_fn_c_try_link "$LINENO"; then :
14884 ac_cv_cflags__Wno_packed_not_aligned=yes
14885 else
14886 ac_cv_cflags__Wno_packed_not_aligned=no
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14890 CFLAGS=$ac_wine_try_cflags_saved
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_packed_not_aligned" >&5
14893 $as_echo "$ac_cv_cflags__Wno_packed_not_aligned" >&6; }
14894 if test "x$ac_cv_cflags__Wno_packed_not_aligned" = xyes; then :
14895 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14898 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14899 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14900 $as_echo_n "(cached) " >&6
14901 else
14902 ac_wine_try_cflags_saved=$CFLAGS
14903 CFLAGS="$CFLAGS -Wshift-overflow=2"
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14906 int main(int argc, char **argv) { return 0; }
14907 _ACEOF
14908 if ac_fn_c_try_link "$LINENO"; then :
14909 ac_cv_cflags__Wshift_overflow_2=yes
14910 else
14911 ac_cv_cflags__Wshift_overflow_2=no
14913 rm -f core conftest.err conftest.$ac_objext \
14914 conftest$ac_exeext conftest.$ac_ext
14915 CFLAGS=$ac_wine_try_cflags_saved
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14918 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14919 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14920 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14923 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14924 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14925 $as_echo_n "(cached) " >&6
14926 else
14927 ac_wine_try_cflags_saved=$CFLAGS
14928 CFLAGS="$CFLAGS -Wstrict-prototypes"
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 int main(int argc, char **argv) { return 0; }
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 ac_cv_cflags__Wstrict_prototypes=yes
14935 else
14936 ac_cv_cflags__Wstrict_prototypes=no
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14940 CFLAGS=$ac_wine_try_cflags_saved
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14943 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14944 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14945 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14948 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14949 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 ac_wine_try_cflags_saved=$CFLAGS
14953 CFLAGS="$CFLAGS -Wtype-limits"
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 int main(int argc, char **argv) { return 0; }
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_cflags__Wtype_limits=yes
14960 else
14961 ac_cv_cflags__Wtype_limits=no
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14965 CFLAGS=$ac_wine_try_cflags_saved
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14968 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14969 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14970 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14973 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14974 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14975 $as_echo_n "(cached) " >&6
14976 else
14977 ac_wine_try_cflags_saved=$CFLAGS
14978 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 int main(int argc, char **argv) { return 0; }
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 ac_cv_cflags__Wunused_but_set_parameter=yes
14985 else
14986 ac_cv_cflags__Wunused_but_set_parameter=no
14988 rm -f core conftest.err conftest.$ac_objext \
14989 conftest$ac_exeext conftest.$ac_ext
14990 CFLAGS=$ac_wine_try_cflags_saved
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14993 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14994 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14995 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14998 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14999 if ${ac_cv_cflags__Wvla+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_wine_try_cflags_saved=$CFLAGS
15003 CFLAGS="$CFLAGS -Wvla"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 int main(int argc, char **argv) { return 0; }
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 ac_cv_cflags__Wvla=yes
15010 else
15011 ac_cv_cflags__Wvla=no
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 CFLAGS=$ac_wine_try_cflags_saved
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15018 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15019 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15020 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15023 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15024 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15025 $as_echo_n "(cached) " >&6
15026 else
15027 ac_wine_try_cflags_saved=$CFLAGS
15028 CFLAGS="$CFLAGS -Wwrite-strings"
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 int main(int argc, char **argv) { return 0; }
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_cflags__Wwrite_strings=yes
15035 else
15036 ac_cv_cflags__Wwrite_strings=no
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 CFLAGS=$ac_wine_try_cflags_saved
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15043 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15044 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15045 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15049 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15050 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 ac_wine_try_cflags_saved=$CFLAGS
15054 CFLAGS="$CFLAGS -Wpointer-arith"
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15057 int main(int argc, char **argv) { return 0; }
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 ac_cv_cflags__Wpointer_arith=yes
15061 else
15062 ac_cv_cflags__Wpointer_arith=no
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 CFLAGS=$ac_wine_try_cflags_saved
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15069 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15070 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15071 saved_string_h_CFLAGS=$CFLAGS
15072 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15074 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15075 if ${ac_cv_c_string_h_warnings+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15080 #include <string.h>
15082 main ()
15086 return 0;
15088 _ACEOF
15089 if ac_fn_c_try_compile "$LINENO"; then :
15090 ac_cv_c_string_h_warnings=no
15091 else
15092 ac_cv_c_string_h_warnings=yes
15094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15097 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15098 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15099 CFLAGS=$saved_string_h_CFLAGS
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15103 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15104 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15105 $as_echo_n "(cached) " >&6
15106 else
15107 ac_wine_try_cflags_saved=$CFLAGS
15108 CFLAGS="$CFLAGS -Wlogical-op"
15109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15110 /* end confdefs.h. */
15111 int main(int argc, char **argv) { return 0; }
15112 _ACEOF
15113 if ac_fn_c_try_link "$LINENO"; then :
15114 ac_cv_cflags__Wlogical_op=yes
15115 else
15116 ac_cv_cflags__Wlogical_op=no
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext conftest.$ac_ext
15120 CFLAGS=$ac_wine_try_cflags_saved
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15123 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15124 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15125 saved_string_h_CFLAGS=$CFLAGS
15126 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15128 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15129 if ${ac_cv_c_logicalop_noisy+:} false; then :
15130 $as_echo_n "(cached) " >&6
15131 else
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15134 #include <string.h>
15135 char*f(const char *h,char n) {return strchr(h,n);}
15137 main ()
15141 return 0;
15143 _ACEOF
15144 if ac_fn_c_try_compile "$LINENO"; then :
15145 ac_cv_c_logicalop_noisy=no
15146 else
15147 ac_cv_c_logicalop_noisy=yes
15149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15152 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15153 CFLAGS=$saved_string_h_CFLAGS
15154 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15157 CFLAGS=$saved_CFLAGS
15159 for ac_flag in $CFLAGS; do
15160 case $ac_flag in
15161 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15162 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15163 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 ac_wine_try_cflags_saved=$CFLAGS
15167 CFLAGS="$CFLAGS -gdwarf-2"
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15170 int main(int argc, char **argv) { return 0; }
15171 _ACEOF
15172 if ac_fn_c_try_link "$LINENO"; then :
15173 ac_cv_cflags__gdwarf_2=yes
15174 else
15175 ac_cv_cflags__gdwarf_2=no
15177 rm -f core conftest.err conftest.$ac_objext \
15178 conftest$ac_exeext conftest.$ac_ext
15179 CFLAGS=$ac_wine_try_cflags_saved
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15182 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15183 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15184 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15187 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15188 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15189 $as_echo_n "(cached) " >&6
15190 else
15191 ac_wine_try_cflags_saved=$CFLAGS
15192 CFLAGS="$CFLAGS -gstrict-dwarf"
15193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15195 int main(int argc, char **argv) { return 0; }
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 ac_cv_cflags__gstrict_dwarf=yes
15199 else
15200 ac_cv_cflags__gstrict_dwarf=no
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 CFLAGS=$ac_wine_try_cflags_saved
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15207 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15208 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15209 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15210 fi ;;
15211 esac
15212 done
15214 case $host_cpu in
15215 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15216 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15217 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15218 $as_echo_n "(cached) " >&6
15219 else
15220 ac_wine_try_cflags_saved=$CFLAGS
15221 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15224 int main(int argc, char **argv) { return 0; }
15225 _ACEOF
15226 if ac_fn_c_try_link "$LINENO"; then :
15227 ac_cv_cflags__fno_omit_frame_pointer=yes
15228 else
15229 ac_cv_cflags__fno_omit_frame_pointer=no
15231 rm -f core conftest.err conftest.$ac_objext \
15232 conftest$ac_exeext conftest.$ac_ext
15233 CFLAGS=$ac_wine_try_cflags_saved
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15236 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15237 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15238 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15239 fi ;;
15240 esac
15242 case $host in
15243 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15244 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15245 if ${ac_cv_cflags__Wno_format+:} false; then :
15246 $as_echo_n "(cached) " >&6
15247 else
15248 ac_wine_try_cflags_saved=$CFLAGS
15249 CFLAGS="$CFLAGS -Wno-format"
15250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15251 /* end confdefs.h. */
15252 int main(int argc, char **argv) { return 0; }
15253 _ACEOF
15254 if ac_fn_c_try_link "$LINENO"; then :
15255 ac_cv_cflags__Wno_format=yes
15256 else
15257 ac_cv_cflags__Wno_format=no
15259 rm -f core conftest.err conftest.$ac_objext \
15260 conftest$ac_exeext conftest.$ac_ext
15261 CFLAGS=$ac_wine_try_cflags_saved
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15264 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15265 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15266 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15267 fi ;;
15268 esac
15270 if test "x$enable_maintainer_mode" = "xyes"
15271 then
15272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15273 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15274 if ${ac_cv_cflags__Werror+:} false; then :
15275 $as_echo_n "(cached) " >&6
15276 else
15277 ac_wine_try_cflags_saved=$CFLAGS
15278 CFLAGS="$CFLAGS -Werror"
15279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15280 /* end confdefs.h. */
15281 int main(int argc, char **argv) { return 0; }
15282 _ACEOF
15283 if ac_fn_c_try_link "$LINENO"; then :
15284 ac_cv_cflags__Werror=yes
15285 else
15286 ac_cv_cflags__Werror=no
15288 rm -f core conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15290 CFLAGS=$ac_wine_try_cflags_saved
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15293 $as_echo "$ac_cv_cflags__Werror" >&6; }
15294 if test "x$ac_cv_cflags__Werror" = xyes; then :
15295 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15299 saved_CFLAGS="$CFLAGS"
15300 CFLAGS="$CFLAGS -Werror"
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15302 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15303 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15304 $as_echo_n "(cached) " >&6
15305 else
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15308 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15310 main ()
15314 return 0;
15316 _ACEOF
15317 if ac_fn_c_try_compile "$LINENO"; then :
15318 ac_cv_have_ms_hook_prologue="yes"
15319 else
15320 ac_cv_have_ms_hook_prologue="no"
15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15325 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15326 CFLAGS="$saved_CFLAGS"
15327 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15328 then
15330 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15332 else
15333 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15340 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15341 if ${ac_cv_c_fortify_enabled+:} false; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15345 /* end confdefs.h. */
15346 #include <string.h>
15348 main ()
15350 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15351 #error Fortify enabled
15352 #endif
15354 return 0;
15356 _ACEOF
15357 if ac_fn_c_try_compile "$LINENO"; then :
15358 ac_cv_c_fortify_enabled=no
15359 else
15360 ac_cv_c_fortify_enabled=yes
15362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15365 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15366 if test "$ac_cv_c_fortify_enabled" = yes
15367 then
15368 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15373 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15374 if ${ac_cv_c_extern_prefix+:} false; then :
15375 $as_echo_n "(cached) " >&6
15376 else
15377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15378 /* end confdefs.h. */
15379 extern int ac_test;
15381 main ()
15383 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15385 return 0;
15387 _ACEOF
15388 if ac_fn_c_try_link "$LINENO"; then :
15389 ac_cv_c_extern_prefix="yes"
15390 else
15391 ac_cv_c_extern_prefix="no"
15393 rm -f core conftest.err conftest.$ac_objext \
15394 conftest$ac_exeext conftest.$ac_ext
15396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15397 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15399 case $host_cpu in
15400 *i[3456789]86*)
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15402 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15403 if ${ac_cv_c_stdcall_suffix+:} false; then :
15404 $as_echo_n "(cached) " >&6
15405 else
15406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15407 /* end confdefs.h. */
15408 #ifndef _MSC_VER
15409 #define __stdcall __attribute__((__stdcall__))
15410 #endif
15411 int __stdcall ac_test(int i) { return i; }
15413 main ()
15415 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15417 return 0;
15419 _ACEOF
15420 if ac_fn_c_try_link "$LINENO"; then :
15421 ac_cv_c_stdcall_suffix="yes"
15422 else
15423 ac_cv_c_stdcall_suffix="no"
15425 rm -f core conftest.err conftest.$ac_objext \
15426 conftest$ac_exeext conftest.$ac_ext
15428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15429 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15430 *) ac_cv_c_stdcall_suffix="no" ;;
15431 esac
15434 if test "$ac_cv_c_extern_prefix" = "yes"
15435 then
15436 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15438 asm_name_prefix="_"
15439 else
15440 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15442 asm_name_prefix=""
15446 if test "$ac_cv_c_stdcall_suffix" = "yes"
15447 then
15448 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15450 else
15451 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15457 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15458 if ${ac_cv_asm_func_def+:} false; then :
15459 $as_echo_n "(cached) " >&6
15460 else
15461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15462 /* end confdefs.h. */
15465 main ()
15467 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15469 return 0;
15471 _ACEOF
15472 if ac_fn_c_try_link "$LINENO"; then :
15473 ac_cv_asm_func_def=".def"
15474 else
15475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476 /* end confdefs.h. */
15479 main ()
15481 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15483 return 0;
15485 _ACEOF
15486 if ac_fn_c_try_link "$LINENO"; then :
15487 ac_cv_asm_func_def=".type @function"
15488 else
15489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15490 /* end confdefs.h. */
15493 main ()
15495 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15497 return 0;
15499 _ACEOF
15500 if ac_fn_c_try_link "$LINENO"; then :
15501 ac_cv_asm_func_def=".type 2"
15502 else
15503 ac_cv_asm_func_def="unknown"
15505 rm -f core conftest.err conftest.$ac_objext \
15506 conftest$ac_exeext conftest.$ac_ext
15508 rm -f core conftest.err conftest.$ac_objext \
15509 conftest$ac_exeext conftest.$ac_ext
15511 rm -f core conftest.err conftest.$ac_objext \
15512 conftest$ac_exeext conftest.$ac_ext
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15515 $as_echo "$ac_cv_asm_func_def" >&6; }
15518 case "$ac_cv_asm_func_def" in
15519 ".def")
15520 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15522 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15523 ".type @function")
15524 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15526 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15527 ".type 2")
15528 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15530 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15532 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15534 asm_func_header="" ;;
15535 esac
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15538 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15539 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15540 $as_echo_n "(cached) " >&6
15541 else
15542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15544 asm(".text\n\t.long 0");
15546 main ()
15550 return 0;
15552 _ACEOF
15553 if ac_fn_c_try_compile "$LINENO"; then :
15554 ac_cv_c_asm_outside_funcs="yes"
15555 else
15556 ac_cv_c_asm_outside_funcs="no"
15558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15561 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15564 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15565 if ${ac_cv_c_dot_previous+:} false; then :
15566 $as_echo_n "(cached) " >&6
15567 else
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15572 main ()
15574 asm(".text\nac_test:\t.long 0\n\t.previous");
15576 return 0;
15578 _ACEOF
15579 if ac_fn_c_try_link "$LINENO"; then :
15580 ac_cv_c_dot_previous="yes"
15581 else
15582 ac_cv_c_dot_previous="no"
15584 rm -f core conftest.err conftest.$ac_objext \
15585 conftest$ac_exeext conftest.$ac_ext
15587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15588 $as_echo "$ac_cv_c_dot_previous" >&6; }
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15591 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15592 if ${ac_cv_c_cfi_support+:} false; then :
15593 $as_echo_n "(cached) " >&6
15594 else
15595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596 /* end confdefs.h. */
15597 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15599 main ()
15603 return 0;
15605 _ACEOF
15606 if ac_fn_c_try_compile "$LINENO"; then :
15607 ac_cv_c_cfi_support="yes"
15608 else
15609 ac_cv_c_cfi_support="no"
15611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15614 $as_echo "$ac_cv_c_cfi_support" >&6; }
15616 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15617 asm_func_trailer=""
15618 if test "$ac_cv_c_dot_previous" = "yes"
15619 then
15620 asm_func_trailer="\\n\\t.previous"
15622 if test "$ac_cv_c_cfi_support" = "yes"
15623 then
15624 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15625 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15627 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15629 UNWINDFLAGS=-fasynchronous-unwind-tables
15631 else
15632 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15634 if test "x$enable_win64" = "xyes"
15635 then
15636 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15640 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15643 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15644 then
15645 cat >>confdefs.h <<_ACEOF
15646 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15647 _ACEOF
15649 else
15650 cat >>confdefs.h <<_ACEOF
15651 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15652 _ACEOF
15656 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15659 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15663 case $build_os in
15664 cygwin*|mingw32*) TOOLSEXT=".exe"
15666 esac
15668 case $host_os in
15669 linux*)
15670 case $host_cpu in
15671 *i[3456789]86*|x86_64*|*aarch64*)
15672 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15673 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15675 esac
15677 esac
15680 ac_save_CFLAGS="$CFLAGS"
15681 CFLAGS="$CFLAGS $BUILTINFLAG"
15682 for ac_func in \
15683 __res_get_state \
15684 __res_getservers \
15685 _finite \
15686 _isnan \
15687 _pclose \
15688 _popen \
15689 _snprintf \
15690 _spawnvp \
15691 _strdup \
15692 _stricmp \
15693 _strnicmp \
15694 _strtoi64 \
15695 _strtoui64 \
15696 _vsnprintf \
15697 asctime_r \
15698 chsize \
15699 dlopen \
15700 epoll_create \
15701 ffs \
15702 finitef \
15703 fnmatch \
15704 fork \
15705 fpclass \
15706 fstatfs \
15707 fstatvfs \
15708 ftruncate \
15709 futimens \
15710 futimes \
15711 futimesat \
15712 getattrlist \
15713 getauxval \
15714 getifaddrs \
15715 getopt_long_only \
15716 getpwuid \
15717 gettimeofday \
15718 getuid \
15719 isnanf \
15720 kqueue \
15721 lstat \
15722 memmove \
15723 mmap \
15724 pclose \
15725 pipe2 \
15726 poll \
15727 popen \
15728 port_create \
15729 prctl \
15730 pread \
15731 proc_pidinfo \
15732 pwrite \
15733 readdir \
15734 readlink \
15735 sched_yield \
15736 select \
15737 setproctitle \
15738 setprogname \
15739 setrlimit \
15740 settimeofday \
15741 sigaltstack \
15742 sigprocmask \
15743 snprintf \
15744 statfs \
15745 statvfs \
15746 strcasecmp \
15747 strdup \
15748 strerror \
15749 strncasecmp \
15750 strnlen \
15751 strtold \
15752 strtoll \
15753 strtoull \
15754 symlink \
15755 sysinfo \
15756 tcdrain \
15757 thr_kill2 \
15758 timegm \
15759 usleep \
15760 vsnprintf
15762 do :
15763 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15764 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15765 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15766 cat >>confdefs.h <<_ACEOF
15767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15768 _ACEOF
15771 done
15773 CFLAGS="$ac_save_CFLAGS"
15775 if test "$ac_cv_func_dlopen" = no
15776 then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15778 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15779 if ${ac_cv_lib_dl_dlopen+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 ac_check_lib_save_LIBS=$LIBS
15783 LIBS="-ldl $LIBS"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 #ifdef __cplusplus
15791 extern "C"
15792 #endif
15793 char dlopen ();
15795 main ()
15797 return dlopen ();
15799 return 0;
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 ac_cv_lib_dl_dlopen=yes
15804 else
15805 ac_cv_lib_dl_dlopen=no
15807 rm -f core conftest.err conftest.$ac_objext \
15808 conftest$ac_exeext conftest.$ac_ext
15809 LIBS=$ac_check_lib_save_LIBS
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15812 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15813 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15814 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15815 DL_LIBS="-ldl"
15820 ac_wine_check_funcs_save_LIBS="$LIBS"
15821 LIBS="$LIBS $DL_LIBS"
15822 for ac_func in dladdr
15823 do :
15824 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15825 if test "x$ac_cv_func_dladdr" = xyes; then :
15826 cat >>confdefs.h <<_ACEOF
15827 #define HAVE_DLADDR 1
15828 _ACEOF
15831 done
15833 LIBS="$ac_wine_check_funcs_save_LIBS"
15835 if test "$ac_cv_func_poll" = no
15836 then
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15838 $as_echo_n "checking for poll in -lpoll... " >&6; }
15839 if ${ac_cv_lib_poll_poll+:} false; then :
15840 $as_echo_n "(cached) " >&6
15841 else
15842 ac_check_lib_save_LIBS=$LIBS
15843 LIBS="-lpoll $LIBS"
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15847 /* Override any GCC internal prototype to avoid an error.
15848 Use char because int might match the return type of a GCC
15849 builtin and then its argument prototype would still apply. */
15850 #ifdef __cplusplus
15851 extern "C"
15852 #endif
15853 char poll ();
15855 main ()
15857 return poll ();
15859 return 0;
15861 _ACEOF
15862 if ac_fn_c_try_link "$LINENO"; then :
15863 ac_cv_lib_poll_poll=yes
15864 else
15865 ac_cv_lib_poll_poll=no
15867 rm -f core conftest.err conftest.$ac_objext \
15868 conftest$ac_exeext conftest.$ac_ext
15869 LIBS=$ac_check_lib_save_LIBS
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15872 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15873 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15874 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15875 POLL_LIBS="-lpoll"
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15882 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15883 if ${ac_cv_search_gethostbyname+:} 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 gethostbyname ();
15898 main ()
15900 return gethostbyname ();
15902 return 0;
15904 _ACEOF
15905 for ac_lib in '' nsl; 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_gethostbyname=$ac_res
15915 rm -f core conftest.err conftest.$ac_objext \
15916 conftest$ac_exeext
15917 if ${ac_cv_search_gethostbyname+:} false; then :
15918 break
15920 done
15921 if ${ac_cv_search_gethostbyname+:} false; then :
15923 else
15924 ac_cv_search_gethostbyname=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_gethostbyname" >&5
15930 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15931 ac_res=$ac_cv_search_gethostbyname
15932 if test "$ac_res" != no; then :
15933 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15939 $as_echo_n "checking for library containing connect... " >&6; }
15940 if ${ac_cv_search_connect+:} false; then :
15941 $as_echo_n "(cached) " >&6
15942 else
15943 ac_func_search_save_LIBS=$LIBS
15944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15945 /* end confdefs.h. */
15947 /* Override any GCC internal prototype to avoid an error.
15948 Use char because int might match the return type of a GCC
15949 builtin and then its argument prototype would still apply. */
15950 #ifdef __cplusplus
15951 extern "C"
15952 #endif
15953 char connect ();
15955 main ()
15957 return connect ();
15959 return 0;
15961 _ACEOF
15962 for ac_lib in '' socket; do
15963 if test -z "$ac_lib"; then
15964 ac_res="none required"
15965 else
15966 ac_res=-l$ac_lib
15967 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15969 if ac_fn_c_try_link "$LINENO"; then :
15970 ac_cv_search_connect=$ac_res
15972 rm -f core conftest.err conftest.$ac_objext \
15973 conftest$ac_exeext
15974 if ${ac_cv_search_connect+:} false; then :
15975 break
15977 done
15978 if ${ac_cv_search_connect+:} false; then :
15980 else
15981 ac_cv_search_connect=no
15983 rm conftest.$ac_ext
15984 LIBS=$ac_func_search_save_LIBS
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15987 $as_echo "$ac_cv_search_connect" >&6; }
15988 ac_res=$ac_cv_search_connect
15989 if test "$ac_res" != no; then :
15990 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15996 $as_echo_n "checking for library containing inet_aton... " >&6; }
15997 if ${ac_cv_search_inet_aton+:} false; then :
15998 $as_echo_n "(cached) " >&6
15999 else
16000 ac_func_search_save_LIBS=$LIBS
16001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16002 /* end confdefs.h. */
16004 /* Override any GCC internal prototype to avoid an error.
16005 Use char because int might match the return type of a GCC
16006 builtin and then its argument prototype would still apply. */
16007 #ifdef __cplusplus
16008 extern "C"
16009 #endif
16010 char inet_aton ();
16012 main ()
16014 return inet_aton ();
16016 return 0;
16018 _ACEOF
16019 for ac_lib in '' resolv; do
16020 if test -z "$ac_lib"; then
16021 ac_res="none required"
16022 else
16023 ac_res=-l$ac_lib
16024 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16026 if ac_fn_c_try_link "$LINENO"; then :
16027 ac_cv_search_inet_aton=$ac_res
16029 rm -f core conftest.err conftest.$ac_objext \
16030 conftest$ac_exeext
16031 if ${ac_cv_search_inet_aton+:} false; then :
16032 break
16034 done
16035 if ${ac_cv_search_inet_aton+:} false; then :
16037 else
16038 ac_cv_search_inet_aton=no
16040 rm conftest.$ac_ext
16041 LIBS=$ac_func_search_save_LIBS
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16044 $as_echo "$ac_cv_search_inet_aton" >&6; }
16045 ac_res=$ac_cv_search_inet_aton
16046 if test "$ac_res" != no; then :
16047 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16052 for ac_func in \
16053 getaddrinfo \
16054 getnameinfo \
16055 getnetbyname \
16056 getprotobyname \
16057 getprotobynumber \
16058 getservbyport \
16059 inet_addr \
16060 inet_network \
16061 inet_ntop \
16062 inet_pton \
16063 sendmsg \
16064 socketpair \
16066 do :
16067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16068 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16069 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16072 _ACEOF
16075 done
16078 ac_save_LIBS=$LIBS
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16080 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16081 if ${ac_cv_search_clock_gettime+:} false; then :
16082 $as_echo_n "(cached) " >&6
16083 else
16084 ac_func_search_save_LIBS=$LIBS
16085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16086 /* end confdefs.h. */
16088 /* Override any GCC internal prototype to avoid an error.
16089 Use char because int might match the return type of a GCC
16090 builtin and then its argument prototype would still apply. */
16091 #ifdef __cplusplus
16092 extern "C"
16093 #endif
16094 char clock_gettime ();
16096 main ()
16098 return clock_gettime ();
16100 return 0;
16102 _ACEOF
16103 for ac_lib in '' rt; do
16104 if test -z "$ac_lib"; then
16105 ac_res="none required"
16106 else
16107 ac_res=-l$ac_lib
16108 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16110 if ac_fn_c_try_link "$LINENO"; then :
16111 ac_cv_search_clock_gettime=$ac_res
16113 rm -f core conftest.err conftest.$ac_objext \
16114 conftest$ac_exeext
16115 if ${ac_cv_search_clock_gettime+:} false; then :
16116 break
16118 done
16119 if ${ac_cv_search_clock_gettime+:} false; then :
16121 else
16122 ac_cv_search_clock_gettime=no
16124 rm conftest.$ac_ext
16125 LIBS=$ac_func_search_save_LIBS
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16128 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16129 ac_res=$ac_cv_search_clock_gettime
16130 if test "$ac_res" != no; then :
16131 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16133 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16135 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16139 LIBS=$ac_save_LIBS
16141 if test "x$with_ldap" != "xno"
16142 then
16143 if ${LDAP_CFLAGS:+false} :; then :
16144 if ${PKG_CONFIG+:} false; then :
16145 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16149 if ${LDAP_LIBS:+false} :; then :
16150 if ${PKG_CONFIG+:} false; then :
16151 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16155 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16156 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16157 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16158 ac_save_CPPFLAGS=$CPPFLAGS
16159 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16160 for ac_header in ldap.h lber.h
16161 do :
16162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16163 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16164 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16165 cat >>confdefs.h <<_ACEOF
16166 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16167 _ACEOF
16171 done
16173 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16174 then
16175 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16177 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16179 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16180 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16181 $as_echo_n "(cached) " >&6
16182 else
16183 ac_check_lib_save_LIBS=$LIBS
16184 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16186 /* end confdefs.h. */
16188 /* Override any GCC internal prototype to avoid an error.
16189 Use char because int might match the return type of a GCC
16190 builtin and then its argument prototype would still apply. */
16191 #ifdef __cplusplus
16192 extern "C"
16193 #endif
16194 char ldap_initialize ();
16196 main ()
16198 return ldap_initialize ();
16200 return 0;
16202 _ACEOF
16203 if ac_fn_c_try_link "$LINENO"; then :
16204 ac_cv_lib_ldap_r_ldap_initialize=yes
16205 else
16206 ac_cv_lib_ldap_r_ldap_initialize=no
16208 rm -f core conftest.err conftest.$ac_objext \
16209 conftest$ac_exeext conftest.$ac_ext
16210 LIBS=$ac_check_lib_save_LIBS
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16213 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16214 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16216 $as_echo_n "checking for ber_init in -llber... " >&6; }
16217 if ${ac_cv_lib_lber_ber_init+:} false; then :
16218 $as_echo_n "(cached) " >&6
16219 else
16220 ac_check_lib_save_LIBS=$LIBS
16221 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16223 /* end confdefs.h. */
16225 /* Override any GCC internal prototype to avoid an error.
16226 Use char because int might match the return type of a GCC
16227 builtin and then its argument prototype would still apply. */
16228 #ifdef __cplusplus
16229 extern "C"
16230 #endif
16231 char ber_init ();
16233 main ()
16235 return ber_init ();
16237 return 0;
16239 _ACEOF
16240 if ac_fn_c_try_link "$LINENO"; then :
16241 ac_cv_lib_lber_ber_init=yes
16242 else
16243 ac_cv_lib_lber_ber_init=no
16245 rm -f core conftest.err conftest.$ac_objext \
16246 conftest$ac_exeext conftest.$ac_ext
16247 LIBS=$ac_check_lib_save_LIBS
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16250 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16251 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16253 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16255 else
16256 LDAP_LIBS=""
16259 else
16260 LDAP_LIBS=""
16263 else
16264 LDAP_LIBS=""
16267 ac_wine_check_funcs_save_LIBS="$LIBS"
16268 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16269 for ac_func in \
16270 ldap_count_references \
16271 ldap_first_reference \
16272 ldap_next_reference \
16273 ldap_parse_reference \
16274 ldap_parse_sort_control \
16275 ldap_parse_sortresponse_control \
16276 ldap_parse_vlv_control \
16277 ldap_parse_vlvresponse_control
16278 do :
16279 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16280 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16281 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16284 _ACEOF
16287 done
16289 LIBS="$ac_wine_check_funcs_save_LIBS"
16290 else
16291 LDAP_LIBS=""
16293 CPPFLAGS=$ac_save_CPPFLAGS
16294 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16295 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16298 if test "x$LDAP_LIBS" = "x"; then :
16299 case "x$with_ldap" in
16300 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16301 xno) ;;
16302 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16303 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16304 esac
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16309 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16310 if ${wine_cv_one_arg_mkdir+:} false; then :
16311 $as_echo_n "(cached) " >&6
16312 else
16313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16314 /* end confdefs.h. */
16315 #include <sys/stat.h>
16317 main ()
16319 mkdir("foo");
16321 return 0;
16323 _ACEOF
16324 if ac_fn_c_try_compile "$LINENO"; then :
16325 wine_cv_one_arg_mkdir=yes
16326 else
16327 wine_cv_one_arg_mkdir=no
16329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16332 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16333 if test "$wine_cv_one_arg_mkdir" = "yes"
16334 then
16336 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16341 $as_echo_n "checking for sched_setaffinity... " >&6; }
16342 if ${wine_cv_have_sched_setaffinity+:} false; then :
16343 $as_echo_n "(cached) " >&6
16344 else
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #define _GNU_SOURCE
16348 #include <sched.h>
16350 main ()
16352 sched_setaffinity(0, 0, 0);
16354 return 0;
16356 _ACEOF
16357 if ac_fn_c_try_link "$LINENO"; then :
16358 wine_cv_have_sched_setaffinity=yes
16359 else
16360 wine_cv_have_sched_setaffinity=no
16362 rm -f core conftest.err conftest.$ac_objext \
16363 conftest$ac_exeext conftest.$ac_ext
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16366 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16367 if test "$wine_cv_have_sched_setaffinity" = "yes"
16368 then
16370 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16375 $as_echo_n "checking for fallocate... " >&6; }
16376 if ${wine_cv_have_fallocate+:} false; then :
16377 $as_echo_n "(cached) " >&6
16378 else
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16381 #define _GNU_SOURCE
16382 #include <fcntl.h>
16384 main ()
16386 fallocate(-1, 0, 0, 0);
16388 return 0;
16390 _ACEOF
16391 if ac_fn_c_try_link "$LINENO"; then :
16392 wine_cv_have_fallocate=yes
16393 else
16394 wine_cv_have_fallocate=no
16396 rm -f core conftest.err conftest.$ac_objext \
16397 conftest$ac_exeext conftest.$ac_ext
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16400 $as_echo "$wine_cv_have_fallocate" >&6; }
16401 if test "$wine_cv_have_fallocate" = "yes"
16402 then
16404 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16410 $as_echo_n "checking for inline... " >&6; }
16411 if ${ac_cv_c_inline+:} false; then :
16412 $as_echo_n "(cached) " >&6
16413 else
16414 ac_cv_c_inline=no
16415 for ac_kw in inline __inline__ __inline; do
16416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16418 #ifndef __cplusplus
16419 typedef int foo_t;
16420 static $ac_kw foo_t static_foo () {return 0; }
16421 $ac_kw foo_t foo () {return 0; }
16422 #endif
16424 _ACEOF
16425 if ac_fn_c_try_compile "$LINENO"; then :
16426 ac_cv_c_inline=$ac_kw
16428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16429 test "$ac_cv_c_inline" != no && break
16430 done
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16434 $as_echo "$ac_cv_c_inline" >&6; }
16436 case $ac_cv_c_inline in
16437 inline | yes) ;;
16439 case $ac_cv_c_inline in
16440 no) ac_val=;;
16441 *) ac_val=$ac_cv_c_inline;;
16442 esac
16443 cat >>confdefs.h <<_ACEOF
16444 #ifndef __cplusplus
16445 #define inline $ac_val
16446 #endif
16447 _ACEOF
16449 esac
16451 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16452 if test "x$ac_cv_type_mode_t" = xyes; then :
16454 cat >>confdefs.h <<_ACEOF
16455 #define HAVE_MODE_T 1
16456 _ACEOF
16460 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16461 if test "x$ac_cv_type_off_t" = xyes; then :
16463 cat >>confdefs.h <<_ACEOF
16464 #define HAVE_OFF_T 1
16465 _ACEOF
16469 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16470 if test "x$ac_cv_type_pid_t" = xyes; then :
16472 cat >>confdefs.h <<_ACEOF
16473 #define HAVE_PID_T 1
16474 _ACEOF
16478 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16479 if test "x$ac_cv_type_size_t" = xyes; then :
16481 cat >>confdefs.h <<_ACEOF
16482 #define HAVE_SIZE_T 1
16483 _ACEOF
16487 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16488 if test "x$ac_cv_type_ssize_t" = xyes; then :
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_SSIZE_T 1
16492 _ACEOF
16496 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16497 if test "x$ac_cv_type_long_long" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE_LONG_LONG 1
16501 _ACEOF
16505 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16506 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16508 cat >>confdefs.h <<_ACEOF
16509 #define HAVE_FSBLKCNT_T 1
16510 _ACEOF
16514 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16515 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16517 cat >>confdefs.h <<_ACEOF
16518 #define HAVE_FSFILCNT_T 1
16519 _ACEOF
16524 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16525 #include <signal.h>
16527 if test "x$ac_cv_type_sigset_t" = xyes; then :
16529 cat >>confdefs.h <<_ACEOF
16530 #define HAVE_SIGSET_T 1
16531 _ACEOF
16536 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16538 if test "x$ac_cv_type_request_sense" = xyes; then :
16540 cat >>confdefs.h <<_ACEOF
16541 #define HAVE_REQUEST_SENSE 1
16542 _ACEOF
16548 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16549 #ifdef HAVE_SYS_SOCKET_H
16550 #include <sys/socket.h>
16551 #endif
16552 #ifdef HAVE_SYS_SOCKETVAR_H
16553 #include <sys/socketvar.h>
16554 #endif
16555 #ifdef HAVE_NET_ROUTE_H
16556 #include <net/route.h>
16557 #endif
16558 #ifdef HAVE_NETINET_IN_H
16559 #include <netinet/in.h>
16560 #endif
16561 #ifdef HAVE_NETINET_IN_SYSTM_H
16562 #include <netinet/in_systm.h>
16563 #endif
16564 #ifdef HAVE_NETINET_IP_H
16565 #include <netinet/ip.h>
16566 #endif
16567 #ifdef HAVE_NETINET_IN_PCB_H
16568 #include <netinet/in_pcb.h>
16569 #endif
16571 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16573 cat >>confdefs.h <<_ACEOF
16574 #define HAVE_STRUCT_XINPGEN 1
16575 _ACEOF
16581 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16582 #include <link.h>
16583 #endif
16584 #ifdef HAVE_SYS_LINK_H
16585 #include <sys/link.h>
16586 #endif
16588 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_STRUCT_R_DEBUG 1
16592 _ACEOF
16596 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16597 #include <link.h>
16598 #endif
16599 #ifdef HAVE_SYS_LINK_H
16600 #include <sys/link.h>
16601 #endif
16603 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16605 cat >>confdefs.h <<_ACEOF
16606 #define HAVE_STRUCT_LINK_MAP 1
16607 _ACEOF
16613 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16614 #include <linux/input.h>
16615 #endif
16617 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16619 cat >>confdefs.h <<_ACEOF
16620 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16621 _ACEOF
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16628 $as_echo_n "checking for if_nameindex... " >&6; }
16629 if ${wine_cv_have_if_nameindex+:} false; then :
16630 $as_echo_n "(cached) " >&6
16631 else
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16634 #ifdef HAVE_SYS_TYPES_H
16635 #include <sys/types.h>
16636 #endif
16637 #ifdef HAVE_SYS_SOCKET_H
16638 #include <sys/socket.h>
16639 #endif
16640 #ifdef HAVE_NET_IF_H
16641 # include <net/if.h>
16642 #endif
16644 main ()
16646 struct if_nameindex *p = if_nameindex(); return p->if_index;
16648 return 0;
16650 _ACEOF
16651 if ac_fn_c_try_link "$LINENO"; then :
16652 wine_cv_have_if_nameindex=yes
16653 else
16654 wine_cv_have_if_nameindex=no
16656 rm -f core conftest.err conftest.$ac_objext \
16657 conftest$ac_exeext conftest.$ac_ext
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16660 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16661 if test "$wine_cv_have_if_nameindex" = "yes"
16662 then
16664 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16669 $as_echo_n "checking for sigaddset... " >&6; }
16670 if ${wine_cv_have_sigaddset+:} false; then :
16671 $as_echo_n "(cached) " >&6
16672 else
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16675 #include <signal.h>
16677 main ()
16679 sigset_t set; sigaddset(&set,SIGTERM);
16681 return 0;
16683 _ACEOF
16684 if ac_fn_c_try_link "$LINENO"; then :
16685 wine_cv_have_sigaddset=yes
16686 else
16687 wine_cv_have_sigaddset=no
16689 rm -f core conftest.err conftest.$ac_objext \
16690 conftest$ac_exeext conftest.$ac_ext
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16693 $as_echo "$wine_cv_have_sigaddset" >&6; }
16694 if test "$wine_cv_have_sigaddset" = "yes"
16695 then
16697 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16703 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16704 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16705 $as_echo_n "(cached) " >&6
16706 else
16707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16708 /* end confdefs.h. */
16709 #include <netdb.h>
16711 main ()
16714 char *name=0;
16715 struct hostent he;
16716 struct hostent *result;
16717 char *buf=0;
16718 int bufsize=0;
16719 int errnr;
16720 char *addr=0;
16721 int addrlen=0;
16722 int addrtype=0;
16723 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16724 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16727 return 0;
16729 _ACEOF
16730 if ac_fn_c_try_link "$LINENO"; then :
16731 wine_cv_linux_gethostbyname_r_6=yes
16732 else
16733 wine_cv_linux_gethostbyname_r_6=no
16736 rm -f core conftest.err conftest.$ac_objext \
16737 conftest$ac_exeext conftest.$ac_ext
16740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16741 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16742 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16743 then
16745 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16749 if test "$ac_cv_header_linux_joystick_h" = "yes"
16750 then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16752 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16753 if ${wine_cv_linux_joystick_22_api+:} false; then :
16754 $as_echo_n "(cached) " >&6
16755 else
16756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16757 /* end confdefs.h. */
16759 #include <sys/ioctl.h>
16760 #include <sys/types.h>
16761 #include <linux/joystick.h>
16763 struct js_event blub;
16764 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16765 #error "no 2.2 header"
16766 #endif
16769 main ()
16771 /*empty*/
16773 return 0;
16775 _ACEOF
16776 if ac_fn_c_try_compile "$LINENO"; then :
16777 wine_cv_linux_joystick_22_api=yes
16778 else
16779 wine_cv_linux_joystick_22_api=no
16781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16785 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16786 if test "$wine_cv_linux_joystick_22_api" = "yes"
16787 then
16789 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16795 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16796 #ifdef HAVE_SYS_PARAM_H
16797 # include <sys/param.h>
16798 #endif
16799 #ifdef HAVE_SYS_MOUNT_H
16800 # include <sys/mount.h>
16801 #endif
16802 #ifdef HAVE_SYS_VFS_H
16803 # include <sys/vfs.h>
16804 #endif
16805 #ifdef HAVE_SYS_STATFS_H
16806 # include <sys/statfs.h>
16807 #endif
16809 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16811 cat >>confdefs.h <<_ACEOF
16812 #define HAVE_STRUCT_STATFS_F_BFREE 1
16813 _ACEOF
16817 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16818 #ifdef HAVE_SYS_PARAM_H
16819 # include <sys/param.h>
16820 #endif
16821 #ifdef HAVE_SYS_MOUNT_H
16822 # include <sys/mount.h>
16823 #endif
16824 #ifdef HAVE_SYS_VFS_H
16825 # include <sys/vfs.h>
16826 #endif
16827 #ifdef HAVE_SYS_STATFS_H
16828 # include <sys/statfs.h>
16829 #endif
16831 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16833 cat >>confdefs.h <<_ACEOF
16834 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16835 _ACEOF
16839 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16840 #ifdef HAVE_SYS_PARAM_H
16841 # include <sys/param.h>
16842 #endif
16843 #ifdef HAVE_SYS_MOUNT_H
16844 # include <sys/mount.h>
16845 #endif
16846 #ifdef HAVE_SYS_VFS_H
16847 # include <sys/vfs.h>
16848 #endif
16849 #ifdef HAVE_SYS_STATFS_H
16850 # include <sys/statfs.h>
16851 #endif
16853 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16855 cat >>confdefs.h <<_ACEOF
16856 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16857 _ACEOF
16861 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16862 #ifdef HAVE_SYS_PARAM_H
16863 # include <sys/param.h>
16864 #endif
16865 #ifdef HAVE_SYS_MOUNT_H
16866 # include <sys/mount.h>
16867 #endif
16868 #ifdef HAVE_SYS_VFS_H
16869 # include <sys/vfs.h>
16870 #endif
16871 #ifdef HAVE_SYS_STATFS_H
16872 # include <sys/statfs.h>
16873 #endif
16875 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_STRUCT_STATFS_F_FFREE 1
16879 _ACEOF
16883 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16884 #ifdef HAVE_SYS_PARAM_H
16885 # include <sys/param.h>
16886 #endif
16887 #ifdef HAVE_SYS_MOUNT_H
16888 # include <sys/mount.h>
16889 #endif
16890 #ifdef HAVE_SYS_VFS_H
16891 # include <sys/vfs.h>
16892 #endif
16893 #ifdef HAVE_SYS_STATFS_H
16894 # include <sys/statfs.h>
16895 #endif
16897 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16899 cat >>confdefs.h <<_ACEOF
16900 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16901 _ACEOF
16905 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16906 #ifdef HAVE_SYS_PARAM_H
16907 # include <sys/param.h>
16908 #endif
16909 #ifdef HAVE_SYS_MOUNT_H
16910 # include <sys/mount.h>
16911 #endif
16912 #ifdef HAVE_SYS_VFS_H
16913 # include <sys/vfs.h>
16914 #endif
16915 #ifdef HAVE_SYS_STATFS_H
16916 # include <sys/statfs.h>
16917 #endif
16919 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16921 cat >>confdefs.h <<_ACEOF
16922 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16923 _ACEOF
16929 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16930 #include <sys/statvfs.h>
16931 #endif
16933 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16935 cat >>confdefs.h <<_ACEOF
16936 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16937 _ACEOF
16943 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16944 #include <dirent.h>
16945 #endif
16947 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16949 cat >>confdefs.h <<_ACEOF
16950 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16951 _ACEOF
16957 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16958 #ifdef HAVE_SYS_SOCKET_H
16959 # include <sys/socket.h>
16960 #endif
16961 #ifdef HAVE_SYS_UN_H
16962 # include <sys/un.h>
16963 #endif
16965 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16967 cat >>confdefs.h <<_ACEOF
16968 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16969 _ACEOF
16973 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16974 #ifdef HAVE_SYS_SOCKET_H
16975 # include <sys/socket.h>
16976 #endif
16977 #ifdef HAVE_SYS_UN_H
16978 # include <sys/un.h>
16979 #endif
16981 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16983 cat >>confdefs.h <<_ACEOF
16984 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16985 _ACEOF
16989 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16990 #ifdef HAVE_SYS_SOCKET_H
16991 # include <sys/socket.h>
16992 #endif
16993 #ifdef HAVE_SYS_UN_H
16994 # include <sys/un.h>
16995 #endif
16997 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16999 cat >>confdefs.h <<_ACEOF
17000 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17001 _ACEOF
17007 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17008 #ifdef HAVE_SCSI_SG_H
17009 #include <scsi/sg.h>
17010 #endif
17012 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17014 cat >>confdefs.h <<_ACEOF
17015 #define HAVE_SCSIREQ_T_CMD 1
17016 _ACEOF
17020 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>
17021 #ifdef HAVE_SCSI_SG_H
17022 #include <scsi/sg.h>
17023 #endif
17025 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17027 cat >>confdefs.h <<_ACEOF
17028 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17029 _ACEOF
17035 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17037 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17039 cat >>confdefs.h <<_ACEOF
17040 #define HAVE_SIGINFO_T_SI_FD 1
17041 _ACEOF
17047 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17048 #ifdef HAVE_SYS_MTIO_H
17049 #include <sys/mtio.h>
17050 #endif
17052 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17054 cat >>confdefs.h <<_ACEOF
17055 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17056 _ACEOF
17060 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17061 #ifdef HAVE_SYS_MTIO_H
17062 #include <sys/mtio.h>
17063 #endif
17065 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17067 cat >>confdefs.h <<_ACEOF
17068 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17069 _ACEOF
17073 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17074 #ifdef HAVE_SYS_MTIO_H
17075 #include <sys/mtio.h>
17076 #endif
17078 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17080 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17082 _ACEOF
17088 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17089 #include <getopt.h>
17090 #endif
17092 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17094 cat >>confdefs.h <<_ACEOF
17095 #define HAVE_STRUCT_OPTION_NAME 1
17096 _ACEOF
17102 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17103 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17105 cat >>confdefs.h <<_ACEOF
17106 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17107 _ACEOF
17111 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17112 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17114 cat >>confdefs.h <<_ACEOF
17115 #define HAVE_STRUCT_STAT_ST_MTIM 1
17116 _ACEOF
17120 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17121 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17123 cat >>confdefs.h <<_ACEOF
17124 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17125 _ACEOF
17129 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17130 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17132 cat >>confdefs.h <<_ACEOF
17133 #define HAVE_STRUCT_STAT_ST_CTIM 1
17134 _ACEOF
17138 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17139 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17141 cat >>confdefs.h <<_ACEOF
17142 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17143 _ACEOF
17147 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17148 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17150 cat >>confdefs.h <<_ACEOF
17151 #define HAVE_STRUCT_STAT_ST_ATIM 1
17152 _ACEOF
17156 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17157 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17159 cat >>confdefs.h <<_ACEOF
17160 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17161 _ACEOF
17165 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17166 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17168 cat >>confdefs.h <<_ACEOF
17169 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17170 _ACEOF
17174 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17175 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17177 cat >>confdefs.h <<_ACEOF
17178 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17179 _ACEOF
17183 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17184 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17186 cat >>confdefs.h <<_ACEOF
17187 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17188 _ACEOF
17192 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17193 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17195 cat >>confdefs.h <<_ACEOF
17196 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17197 _ACEOF
17201 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17202 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17204 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17206 _ACEOF
17212 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
17213 #include <sys/types.h>
17214 #endif
17215 #ifdef HAVE_NETINET_IN_H
17216 #include <netinet/in.h>
17217 #endif
17219 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17221 cat >>confdefs.h <<_ACEOF
17222 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17223 _ACEOF
17229 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17230 #include <sys/types.h>
17231 #endif
17232 #ifdef HAVE_NETINET_IN_H
17233 #include <netinet/in.h>
17234 #endif
17235 #ifdef HAVE_RESOLV_H
17236 #include <resolv.h>
17237 #endif
17239 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17241 cat >>confdefs.h <<_ACEOF
17242 #define HAVE_STRUCT___RES_STATE 1
17243 _ACEOF
17249 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
17250 #include <resolv.h>
17251 #endif
17253 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17255 cat >>confdefs.h <<_ACEOF
17256 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17257 _ACEOF
17263 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17264 #include <sys/types.h>
17265 #endif
17266 #ifdef HAVE_NETINET_IN_H
17267 # include <netinet/in.h>
17268 #endif
17269 #ifdef HAVE_ARPA_NAMESER_H
17270 # include <arpa/nameser.h>
17271 #endif
17273 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17275 cat >>confdefs.h <<_ACEOF
17276 #define HAVE_NS_MSG__MSG_PTR 1
17277 _ACEOF
17283 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17284 #include <sys/types.h>
17285 #endif
17286 #ifdef HAVE_NETINET_IN_H
17287 #include <netinet/in.h>
17288 #endif
17289 #ifdef HAVE_NETINET_IP_H
17290 #include <netinet/ip.h>
17291 #endif
17292 #ifdef HAVE_NETINET_IP_ICMP_H
17293 #include <netinet/ip_icmp.h>
17294 #endif
17295 #ifdef HAVE_NETINET_ICMP_VAR_H
17296 #include <netinet/icmp_var.h>
17297 #endif
17299 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17301 cat >>confdefs.h <<_ACEOF
17302 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17303 _ACEOF
17309 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17310 #include <sys/types.h>
17311 #endif
17312 #ifdef HAVE_ALIAS_H
17313 #include <alias.h>
17314 #endif
17315 #ifdef HAVE_SYS_SOCKET_H
17316 #include <sys/socket.h>
17317 #endif
17318 #ifdef HAVE_SYS_SOCKETVAR_H
17319 #include <sys/socketvar.h>
17320 #endif
17321 #ifdef HAVE_SYS_TIMEOUT_H
17322 #include <sys/timeout.h>
17323 #endif
17324 #ifdef HAVE_NETINET_IN_H
17325 #include <netinet/in.h>
17326 #endif
17327 #ifdef HAVE_NETINET_IN_SYSTM_H
17328 #include <netinet/in_systm.h>
17329 #endif
17330 #ifdef HAVE_NETINET_IP_H
17331 #include <netinet/ip.h>
17332 #endif
17333 #ifdef HAVE_NETINET_IP_VAR_H
17334 #include <netinet/ip_var.h>
17335 #endif
17336 #ifdef HAVE_NETINET_IP_ICMP_H
17337 #include <netinet/ip_icmp.h>
17338 #endif
17339 #ifdef HAVE_NETINET_ICMP_VAR_H
17340 #include <netinet/icmp_var.h>
17341 #endif
17343 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17345 cat >>confdefs.h <<_ACEOF
17346 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17347 _ACEOF
17353 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17354 #include <sys/types.h>
17355 #endif
17356 #ifdef HAVE_SYS_SOCKETVAR_H
17357 #include <sys/socketvar.h>
17358 #endif
17359 #ifdef HAVE_NETINET_IN_H
17360 #include <netinet/in.h>
17361 #endif
17362 #ifdef HAVE_NETINET_IP_VAR_H
17363 #include <netinet/ip_var.h>
17364 #endif
17366 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17368 cat >>confdefs.h <<_ACEOF
17369 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17370 _ACEOF
17376 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
17377 #include <netinet/ip_var.h>
17378 #endif
17380 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17382 cat >>confdefs.h <<_ACEOF
17383 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17384 _ACEOF
17390 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17391 #include <sys/types.h>
17392 #endif
17393 #ifdef HAVE_SYS_SOCKETVAR_H
17394 #include <sys/socketvar.h>
17395 #endif
17396 #ifdef HAVE_NETINET_IN_H
17397 #include <netinet/in.h>
17398 #endif
17399 #ifdef HAVE_NETINET_TCP_H
17400 #include <netinet/tcp.h>
17401 #endif
17402 #ifdef HAVE_NETINET_TCP_VAR_H
17403 #include <netinet/tcp_var.h>
17404 #endif
17406 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17410 _ACEOF
17416 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
17417 #include <netinet/tcp_var.h>
17418 #endif
17420 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17424 _ACEOF
17430 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17431 #include <sys/types.h>
17432 #endif
17433 #ifdef HAVE_NETINET_IN_H
17434 #include <netinet/in.h>
17435 #endif
17436 #ifdef HAVE_NETINET_IP_VAR_H
17437 #include <netinet/ip_var.h>
17438 #endif
17439 #ifdef HAVE_NETINET_UDP_H
17440 #include <netinet/udp.h>
17441 #endif
17442 #ifdef HAVE_NETINET_UDP_VAR_H
17443 #include <netinet/udp_var.h>
17444 #endif
17446 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17448 cat >>confdefs.h <<_ACEOF
17449 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17450 _ACEOF
17456 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17457 #include <sys/types.h>
17458 #endif
17459 #ifdef HAVE_NET_IF_H
17460 # include <net/if.h>
17461 #endif
17463 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17465 cat >>confdefs.h <<_ACEOF
17466 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17467 _ACEOF
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17474 $as_echo_n "checking for timezone variable... " >&6; }
17475 if ${ac_cv_have_timezone+:} false; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17480 #include <time.h>
17482 main ()
17484 timezone = 1
17486 return 0;
17488 _ACEOF
17489 if ac_fn_c_try_link "$LINENO"; then :
17490 ac_cv_have_timezone="yes"
17491 else
17492 ac_cv_have_timezone="no"
17494 rm -f core conftest.err conftest.$ac_objext \
17495 conftest$ac_exeext conftest.$ac_ext
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17498 $as_echo "$ac_cv_have_timezone" >&6; }
17499 if test "$ac_cv_have_timezone" = "yes"
17500 then
17502 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17506 $as_echo_n "checking for daylight variable... " >&6; }
17507 if ${ac_cv_have_daylight+:} false; then :
17508 $as_echo_n "(cached) " >&6
17509 else
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17512 #include <time.h>
17514 main ()
17516 daylight = 1
17518 return 0;
17520 _ACEOF
17521 if ac_fn_c_try_link "$LINENO"; then :
17522 ac_cv_have_daylight="yes"
17523 else
17524 ac_cv_have_daylight="no"
17526 rm -f core conftest.err conftest.$ac_objext \
17527 conftest$ac_exeext conftest.$ac_ext
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17530 $as_echo "$ac_cv_have_daylight" >&6; }
17531 if test "$ac_cv_have_daylight" = "yes"
17532 then
17534 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17538 ac_save_LIBS="$LIBS"
17539 LIBS="$LIBS -lm"
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17541 $as_echo_n "checking for isfinite... " >&6; }
17542 if ${ac_cv_have_isfinite+:} false; then :
17543 $as_echo_n "(cached) " >&6
17544 else
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 #define _GNU_SOURCE
17548 #include <math.h>
17550 main ()
17552 float f = 0.0; return isfinite(f)
17554 return 0;
17556 _ACEOF
17557 if ac_fn_c_try_link "$LINENO"; then :
17558 ac_cv_have_isfinite="yes"
17559 else
17560 ac_cv_have_isfinite="no"
17562 rm -f core conftest.err conftest.$ac_objext \
17563 conftest$ac_exeext conftest.$ac_ext
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17566 $as_echo "$ac_cv_have_isfinite" >&6; }
17567 if test "$ac_cv_have_isfinite" = "yes"
17568 then
17570 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17575 $as_echo_n "checking for isinf... " >&6; }
17576 if ${ac_cv_have_isinf+:} false; then :
17577 $as_echo_n "(cached) " >&6
17578 else
17579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17581 #include <math.h>
17583 main ()
17585 float f = 0.0; return isinf(f)
17587 return 0;
17589 _ACEOF
17590 if ac_fn_c_try_link "$LINENO"; then :
17591 ac_cv_have_isinf="yes"
17592 else
17593 ac_cv_have_isinf="no"
17595 rm -f core conftest.err conftest.$ac_objext \
17596 conftest$ac_exeext conftest.$ac_ext
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17599 $as_echo "$ac_cv_have_isinf" >&6; }
17600 if test "$ac_cv_have_isinf" = "yes"
17601 then
17603 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17608 $as_echo_n "checking for isnan... " >&6; }
17609 if ${ac_cv_have_isnan+:} false; then :
17610 $as_echo_n "(cached) " >&6
17611 else
17612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17613 /* end confdefs.h. */
17614 #include <math.h>
17616 main ()
17618 float f = 0.0; return isnan(f)
17620 return 0;
17622 _ACEOF
17623 if ac_fn_c_try_link "$LINENO"; then :
17624 ac_cv_have_isnan="yes"
17625 else
17626 ac_cv_have_isnan="no"
17628 rm -f core conftest.err conftest.$ac_objext \
17629 conftest$ac_exeext conftest.$ac_ext
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17632 $as_echo "$ac_cv_have_isnan" >&6; }
17633 if test "$ac_cv_have_isnan" = "yes"
17634 then
17636 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17640 for ac_func in \
17641 acosh \
17642 acoshf \
17643 asinh \
17644 asinhf \
17645 atanh \
17646 atanhf \
17647 cbrt \
17648 cbrtf \
17649 erf \
17650 erfc \
17651 erfcf \
17652 erff \
17653 exp2 \
17654 exp2f \
17655 expm1 \
17656 expm1f \
17657 lgamma \
17658 lgammaf \
17659 llrint \
17660 llrintf \
17661 llround \
17662 llroundf \
17663 log1p \
17664 log1pf \
17665 log2 \
17666 log2f \
17667 lrint \
17668 lrintf \
17669 lround \
17670 lroundf \
17671 nearbyint \
17672 nearbyintf \
17673 powl \
17674 remainder \
17675 remainderf \
17676 rint \
17677 rintf \
17678 round \
17679 roundf \
17680 trunc \
17681 truncf
17683 do :
17684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17686 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17687 cat >>confdefs.h <<_ACEOF
17688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17689 _ACEOF
17692 done
17694 LIBS="$ac_save_LIBS"
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17697 $as_echo_n "checking for __builtin_clz... " >&6; }
17698 if ${ac_cv_have___builtin_clz+:} false; then :
17699 $as_echo_n "(cached) " >&6
17700 else
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17705 main ()
17707 return __builtin_clz(1)
17709 return 0;
17711 _ACEOF
17712 if ac_fn_c_try_link "$LINENO"; then :
17713 ac_cv_have___builtin_clz="yes"
17714 else
17715 ac_cv_have___builtin_clz="no"
17717 rm -f core conftest.err conftest.$ac_objext \
17718 conftest$ac_exeext conftest.$ac_ext
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17721 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17722 if test "$ac_cv_have___builtin_clz" = "yes"
17723 then
17725 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17730 $as_echo_n "checking for __builtin_popcount... " >&6; }
17731 if ${ac_cv_have___builtin_popcount+:} false; then :
17732 $as_echo_n "(cached) " >&6
17733 else
17734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17735 /* end confdefs.h. */
17738 main ()
17740 return __builtin_popcount(1)
17742 return 0;
17744 _ACEOF
17745 if ac_fn_c_try_link "$LINENO"; then :
17746 ac_cv_have___builtin_popcount="yes"
17747 else
17748 ac_cv_have___builtin_popcount="no"
17750 rm -f core conftest.err conftest.$ac_objext \
17751 conftest$ac_exeext conftest.$ac_ext
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17754 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17755 if test "$ac_cv_have___builtin_popcount" = "yes"
17756 then
17758 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17763 case $host_cpu in
17764 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17765 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17766 if ${ac_cv_cpp_def___i386__+:} false; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17771 #ifndef __i386__
17773 #endif
17774 _ACEOF
17775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17776 $EGREP "yes" >/dev/null 2>&1; then :
17777 ac_cv_cpp_def___i386__=yes
17778 else
17779 ac_cv_cpp_def___i386__=no
17781 rm -f conftest*
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17785 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17786 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17787 CFLAGS="$CFLAGS -D__i386__"
17788 LINTFLAGS="$LINTFLAGS -D__i386__"
17789 fi ;;
17790 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17791 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17792 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17793 $as_echo_n "(cached) " >&6
17794 else
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #ifndef __x86_64__
17799 #endif
17800 _ACEOF
17801 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17802 $EGREP "yes" >/dev/null 2>&1; then :
17803 ac_cv_cpp_def___x86_64__=yes
17804 else
17805 ac_cv_cpp_def___x86_64__=no
17807 rm -f conftest*
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17811 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17812 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17813 CFLAGS="$CFLAGS -D__x86_64__"
17814 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17815 fi ;;
17816 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17817 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17818 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17819 $as_echo_n "(cached) " >&6
17820 else
17821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h. */
17823 #ifndef __sparc64__
17825 #endif
17826 _ACEOF
17827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17828 $EGREP "yes" >/dev/null 2>&1; then :
17829 ac_cv_cpp_def___sparc64__=yes
17830 else
17831 ac_cv_cpp_def___sparc64__=no
17833 rm -f conftest*
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17837 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17838 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17839 CFLAGS="$CFLAGS -D__sparc64__"
17840 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17841 fi ;;
17842 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17843 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17844 if ${ac_cv_cpp_def___sparc__+:} false; then :
17845 $as_echo_n "(cached) " >&6
17846 else
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17849 #ifndef __sparc__
17851 #endif
17852 _ACEOF
17853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17854 $EGREP "yes" >/dev/null 2>&1; then :
17855 ac_cv_cpp_def___sparc__=yes
17856 else
17857 ac_cv_cpp_def___sparc__=no
17859 rm -f conftest*
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17863 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17864 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17865 CFLAGS="$CFLAGS -D__sparc__"
17866 LINTFLAGS="$LINTFLAGS -D__sparc__"
17867 fi ;;
17868 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17869 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17870 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17871 $as_echo_n "(cached) " >&6
17872 else
17873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17874 /* end confdefs.h. */
17875 #ifndef __powerpc64__
17877 #endif
17878 _ACEOF
17879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17880 $EGREP "yes" >/dev/null 2>&1; then :
17881 ac_cv_cpp_def___powerpc64__=yes
17882 else
17883 ac_cv_cpp_def___powerpc64__=no
17885 rm -f conftest*
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17889 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17890 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17891 CFLAGS="$CFLAGS -D__powerpc64__"
17892 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17893 fi ;;
17894 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17895 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17896 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17897 $as_echo_n "(cached) " >&6
17898 else
17899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17900 /* end confdefs.h. */
17901 #ifndef __powerpc__
17903 #endif
17904 _ACEOF
17905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17906 $EGREP "yes" >/dev/null 2>&1; then :
17907 ac_cv_cpp_def___powerpc__=yes
17908 else
17909 ac_cv_cpp_def___powerpc__=no
17911 rm -f conftest*
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17915 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17916 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17917 CFLAGS="$CFLAGS -D__powerpc__"
17918 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17919 fi ;;
17920 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17921 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17922 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17923 $as_echo_n "(cached) " >&6
17924 else
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17927 #ifndef __aarch64__
17929 #endif
17930 _ACEOF
17931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17932 $EGREP "yes" >/dev/null 2>&1; then :
17933 ac_cv_cpp_def___aarch64__=yes
17934 else
17935 ac_cv_cpp_def___aarch64__=no
17937 rm -f conftest*
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17941 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17942 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17943 CFLAGS="$CFLAGS -D__aarch64__"
17944 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17945 fi ;;
17946 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17947 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17948 if ${ac_cv_cpp_def___arm__+:} false; then :
17949 $as_echo_n "(cached) " >&6
17950 else
17951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17952 /* end confdefs.h. */
17953 #ifndef __arm__
17955 #endif
17956 _ACEOF
17957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17958 $EGREP "yes" >/dev/null 2>&1; then :
17959 ac_cv_cpp_def___arm__=yes
17960 else
17961 ac_cv_cpp_def___arm__=no
17963 rm -f conftest*
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17967 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17968 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17969 CFLAGS="$CFLAGS -D__arm__"
17970 LINTFLAGS="$LINTFLAGS -D__arm__"
17971 fi ;;
17972 esac
17974 case $host_vendor in
17975 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17976 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17977 if ${ac_cv_cpp_def___sun__+:} false; then :
17978 $as_echo_n "(cached) " >&6
17979 else
17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17982 #ifndef __sun__
17984 #endif
17985 _ACEOF
17986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17987 $EGREP "yes" >/dev/null 2>&1; then :
17988 ac_cv_cpp_def___sun__=yes
17989 else
17990 ac_cv_cpp_def___sun__=no
17992 rm -f conftest*
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17996 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17997 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17998 CFLAGS="$CFLAGS -D__sun__"
17999 LINTFLAGS="$LINTFLAGS -D__sun__"
18000 fi ;;
18001 esac
18007 ac_config_commands="$ac_config_commands include/stamp-h"
18009 $as_echo_n "creating Makefile rules..." >&6
18011 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18012 SOCKET_LIBS = $SOCKET_LIBS
18013 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18014 IOKIT_LIBS = $IOKIT_LIBS
18015 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18016 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18017 CORESERVICES_LIBS = $CORESERVICES_LIBS
18018 APPKIT_LIBS = $APPKIT_LIBS
18019 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18020 SECURITY_LIBS = $SECURITY_LIBS
18021 COREAUDIO_LIBS = $COREAUDIO_LIBS
18022 OPENAL_LIBS = $OPENAL_LIBS
18023 OPENCL_LIBS = $OPENCL_LIBS
18024 QUICKTIME_LIBS = $QUICKTIME_LIBS
18025 CARBON_LIBS = $CARBON_LIBS
18026 PTHREAD_LIBS = $PTHREAD_LIBS
18027 X_CFLAGS = $X_CFLAGS
18028 X_PRE_LIBS = $X_PRE_LIBS
18029 X_LIBS = $X_LIBS
18030 X_EXTRA_LIBS = $X_EXTRA_LIBS
18031 PCAP_LIBS = $PCAP_LIBS
18032 XML2_CFLAGS = $XML2_CFLAGS
18033 XML2_LIBS = $XML2_LIBS
18034 XSLT_CFLAGS = $XSLT_CFLAGS
18035 XSLT_LIBS = $XSLT_LIBS
18036 DBUS_CFLAGS = $DBUS_CFLAGS
18037 DBUS_LIBS = $DBUS_LIBS
18038 HAL_CFLAGS = $HAL_CFLAGS
18039 HAL_LIBS = $HAL_LIBS
18040 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18041 GNUTLS_LIBS = $GNUTLS_LIBS
18042 SANE_CFLAGS = $SANE_CFLAGS
18043 SANE_LIBS = $SANE_LIBS
18044 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18045 GPHOTO2_LIBS = $GPHOTO2_LIBS
18046 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18047 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18048 RESOLV_LIBS = $RESOLV_LIBS
18049 LCMS2_CFLAGS = $LCMS2_CFLAGS
18050 LCMS2_LIBS = $LCMS2_LIBS
18051 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18052 FREETYPE_LIBS = $FREETYPE_LIBS
18053 Z_LIBS = $Z_LIBS
18054 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18055 PULSE_CFLAGS = $PULSE_CFLAGS
18056 PULSE_LIBS = $PULSE_LIBS
18057 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18058 GSTREAMER_LIBS = $GSTREAMER_LIBS
18059 ALSA_LIBS = $ALSA_LIBS
18060 OSS4_CFLAGS = $OSS4_CFLAGS
18061 UDEV_CFLAGS = $UDEV_CFLAGS
18062 UDEV_LIBS = $UDEV_LIBS
18063 CAPI20_CFLAGS = $CAPI20_CFLAGS
18064 CAPI20_LIBS = $CAPI20_LIBS
18065 CUPS_CFLAGS = $CUPS_CFLAGS
18066 CUPS_LIBS = $CUPS_LIBS
18067 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18068 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18069 KRB5_CFLAGS = $KRB5_CFLAGS
18070 KRB5_LIBS = $KRB5_LIBS
18071 JPEG_CFLAGS = $JPEG_CFLAGS
18072 JPEG_LIBS = $JPEG_LIBS
18073 PNG_CFLAGS = $PNG_CFLAGS
18074 PNG_LIBS = $PNG_LIBS
18075 TIFF_CFLAGS = $TIFF_CFLAGS
18076 TIFF_LIBS = $TIFF_LIBS
18077 MPG123_CFLAGS = $MPG123_CFLAGS
18078 MPG123_LIBS = $MPG123_LIBS
18079 KSTAT_LIBS = $KSTAT_LIBS
18080 PROCSTAT_LIBS = $PROCSTAT_LIBS
18081 NETAPI_CFLAGS = $NETAPI_CFLAGS
18082 NETAPI_LIBS = $NETAPI_LIBS
18083 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18084 DL_LIBS = $DL_LIBS
18085 POLL_LIBS = $POLL_LIBS
18086 RT_LIBS = $RT_LIBS
18087 LDAP_CFLAGS = $LDAP_CFLAGS
18088 LDAP_LIBS = $LDAP_LIBS
18093 wine_fn_append_rule "
18094 # Rules automatically generated by configure
18096 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18098 .INIT: Makefile
18099 .MAKEFILEDEPS:
18100 all: Makefile
18101 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18102 @./config.status Make.tmp Makefile
18103 depend: \$(MAKEDEP) dummy
18104 \$(MAKEDEP)"
18106 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18107 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18109 if test "x$enable_fonts" != xno; then
18110 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18111 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18112 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18113 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18114 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18115 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18117 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18118 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18119 ac_config_links="$ac_config_links wine:tools/winewrapper"
18120 wine_fn_config_symlink wine
18121 if test "x$enable_win64" != xno; then
18122 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18123 wine_fn_config_symlink wine64
18126 wine_fn_config_dll acledit enable_acledit
18127 wine_fn_config_dll aclui enable_aclui implib
18128 wine_fn_config_dll activeds enable_activeds implib
18129 wine_fn_config_dll actxprxy enable_actxprxy clean
18130 wine_fn_config_lib adsiid
18131 wine_fn_config_dll adsldpc enable_adsldpc
18132 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18133 wine_fn_config_test dlls/advapi32/tests advapi32_test
18134 wine_fn_config_dll advpack enable_advpack implib
18135 wine_fn_config_test dlls/advpack/tests advpack_test
18136 wine_fn_config_dll amstream enable_amstream clean
18137 wine_fn_config_test dlls/amstream/tests amstream_test
18138 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18139 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18140 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18141 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18142 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18143 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18144 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18145 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18146 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18147 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18148 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18149 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18150 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18151 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18152 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18153 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18154 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18155 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18156 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18157 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18158 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18159 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18160 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18161 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18162 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18163 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18164 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18165 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18166 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18167 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18168 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18169 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18170 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18171 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18172 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18173 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18174 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18175 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18176 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18177 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18178 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18179 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18180 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18181 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18182 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18183 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18184 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18185 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18186 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18187 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18188 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18189 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18190 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18191 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18192 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18193 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18194 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18195 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18196 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18197 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18198 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18199 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18200 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18201 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18202 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18203 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18204 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18205 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18206 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18207 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18208 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18209 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18210 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18211 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18212 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18213 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18214 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18215 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18216 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18217 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18218 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18219 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18220 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18221 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18222 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18223 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18224 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18225 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18226 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18227 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18228 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18229 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18230 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18231 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18232 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18233 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18234 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18235 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18236 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18237 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18238 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18239 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18240 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18241 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18242 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18243 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18244 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18245 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18246 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18247 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18248 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18249 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18250 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18251 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18252 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18253 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18254 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18256 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18257 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18258 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18259 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18260 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18261 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18262 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18263 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18264 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18265 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18266 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18267 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18268 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18269 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18270 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18271 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18272 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18273 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18274 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18275 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18276 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18277 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18278 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18279 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18280 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18281 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18282 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18283 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18284 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18285 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18286 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18287 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18288 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18289 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18290 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18291 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18292 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18293 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18294 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18295 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18296 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18297 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18298 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18299 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18300 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18301 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18302 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18303 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18304 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18305 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18306 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18307 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18308 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18309 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18310 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18311 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18312 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18313 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18314 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18315 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18316 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18317 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18318 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18319 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18320 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18321 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18322 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18323 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18324 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18325 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18326 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18327 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18328 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18329 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18330 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18331 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18332 wine_fn_config_dll apphelp enable_apphelp
18333 wine_fn_config_test dlls/apphelp/tests apphelp_test
18334 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18335 wine_fn_config_dll atl enable_atl clean,implib
18336 wine_fn_config_test dlls/atl/tests atl_test
18337 wine_fn_config_dll atl100 enable_atl100 clean,implib
18338 wine_fn_config_test dlls/atl100/tests atl100_test
18339 wine_fn_config_dll atl110 enable_atl110 clean
18340 wine_fn_config_dll atl80 enable_atl80 clean,implib
18341 wine_fn_config_test dlls/atl80/tests atl80_test
18342 wine_fn_config_dll atl90 enable_atl90 clean
18343 wine_fn_config_dll authz enable_authz
18344 wine_fn_config_dll avicap32 enable_avicap32 implib
18345 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18346 wine_fn_config_test dlls/avifil32/tests avifil32_test
18347 wine_fn_config_dll avifile.dll16 enable_win16
18348 wine_fn_config_dll avrt enable_avrt implib
18349 wine_fn_config_dll bcrypt enable_bcrypt implib
18350 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18351 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18352 wine_fn_config_dll browseui enable_browseui clean
18353 wine_fn_config_test dlls/browseui/tests browseui_test
18354 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18355 wine_fn_config_dll cabinet enable_cabinet implib
18356 wine_fn_config_test dlls/cabinet/tests cabinet_test
18357 wine_fn_config_dll capi2032 enable_capi2032 implib
18358 wine_fn_config_dll cards enable_cards implib
18359 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18360 wine_fn_config_dll clusapi enable_clusapi implib
18361 wine_fn_config_dll combase enable_combase
18362 wine_fn_config_test dlls/combase/tests combase_test
18363 wine_fn_config_dll comcat enable_comcat
18364 wine_fn_config_test dlls/comcat/tests comcat_test
18365 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18366 wine_fn_config_test dlls/comctl32/tests comctl32_test
18367 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18368 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18369 wine_fn_config_dll comm.drv16 enable_win16
18370 wine_fn_config_dll commdlg.dll16 enable_win16
18371 wine_fn_config_dll compobj.dll16 enable_win16
18372 wine_fn_config_dll compstui enable_compstui implib
18373 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18374 wine_fn_config_dll concrt140 enable_concrt140
18375 wine_fn_config_dll connect enable_connect
18376 wine_fn_config_dll credui enable_credui clean,implib
18377 wine_fn_config_test dlls/credui/tests credui_test
18378 wine_fn_config_dll crtdll enable_crtdll
18379 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18380 wine_fn_config_test dlls/crypt32/tests crypt32_test
18381 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18382 wine_fn_config_dll cryptdll enable_cryptdll implib
18383 wine_fn_config_dll cryptext enable_cryptext
18384 wine_fn_config_dll cryptnet enable_cryptnet implib
18385 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18386 wine_fn_config_dll cryptui enable_cryptui clean,implib
18387 wine_fn_config_test dlls/cryptui/tests cryptui_test
18388 wine_fn_config_dll ctapi32 enable_ctapi32
18389 wine_fn_config_dll ctl3d.dll16 enable_win16
18390 wine_fn_config_dll ctl3d32 enable_ctl3d32
18391 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18392 wine_fn_config_dll d2d1 enable_d2d1 implib
18393 wine_fn_config_test dlls/d2d1/tests d2d1_test
18394 wine_fn_config_dll d3d10 enable_d3d10 implib
18395 wine_fn_config_test dlls/d3d10/tests d3d10_test
18396 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18397 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18398 wine_fn_config_dll d3d10core enable_d3d10core implib
18399 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18400 wine_fn_config_dll d3d11 enable_d3d11 implib
18401 wine_fn_config_test dlls/d3d11/tests d3d11_test
18402 wine_fn_config_dll d3d8 enable_d3d8 implib
18403 wine_fn_config_test dlls/d3d8/tests d3d8_test
18404 wine_fn_config_dll d3d9 enable_d3d9 implib
18405 wine_fn_config_test dlls/d3d9/tests d3d9_test
18406 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18407 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18408 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18409 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18410 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18411 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18412 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18413 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18414 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18415 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18416 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18417 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18418 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18419 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18420 wine_fn_config_dll d3dim enable_d3dim
18421 wine_fn_config_dll d3drm enable_d3drm implib
18422 wine_fn_config_test dlls/d3drm/tests d3drm_test
18423 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18424 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18425 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18426 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18427 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18428 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18429 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18430 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18431 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18432 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18433 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18434 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18435 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18436 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18437 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18438 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18439 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18440 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18441 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18442 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18443 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18444 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18445 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18446 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18447 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18448 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18449 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18450 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18451 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18452 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18453 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18454 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18455 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18456 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18457 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18458 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18459 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18460 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18461 wine_fn_config_dll davclnt enable_davclnt
18462 wine_fn_config_dll dbgeng enable_dbgeng implib
18463 wine_fn_config_dll dbghelp enable_dbghelp implib
18464 wine_fn_config_dll dciman32 enable_dciman32 implib
18465 wine_fn_config_dll ddeml.dll16 enable_win16
18466 wine_fn_config_dll ddraw enable_ddraw clean,implib
18467 wine_fn_config_test dlls/ddraw/tests ddraw_test
18468 wine_fn_config_dll ddrawex enable_ddrawex clean
18469 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18470 wine_fn_config_dll devenum enable_devenum clean
18471 wine_fn_config_test dlls/devenum/tests devenum_test
18472 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18473 wine_fn_config_dll difxapi enable_difxapi
18474 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18475 wine_fn_config_test dlls/dinput/tests dinput_test
18476 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18477 wine_fn_config_test dlls/dinput8/tests dinput8_test
18478 wine_fn_config_dll dispdib.dll16 enable_win16
18479 wine_fn_config_dll dispex enable_dispex clean
18480 wine_fn_config_test dlls/dispex/tests dispex_test
18481 wine_fn_config_dll display.drv16 enable_win16
18482 wine_fn_config_dll dmband enable_dmband clean
18483 wine_fn_config_test dlls/dmband/tests dmband_test
18484 wine_fn_config_dll dmcompos enable_dmcompos clean
18485 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18486 wine_fn_config_dll dmime enable_dmime clean
18487 wine_fn_config_test dlls/dmime/tests dmime_test
18488 wine_fn_config_dll dmloader enable_dmloader clean
18489 wine_fn_config_test dlls/dmloader/tests dmloader_test
18490 wine_fn_config_dll dmscript enable_dmscript clean
18491 wine_fn_config_test dlls/dmscript/tests dmscript_test
18492 wine_fn_config_dll dmstyle enable_dmstyle clean
18493 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18494 wine_fn_config_dll dmsynth enable_dmsynth clean
18495 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18496 wine_fn_config_dll dmusic enable_dmusic clean
18497 wine_fn_config_test dlls/dmusic/tests dmusic_test
18498 wine_fn_config_dll dmusic32 enable_dmusic32
18499 wine_fn_config_dll dnsapi enable_dnsapi implib
18500 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18501 wine_fn_config_dll dplay enable_dplay
18502 wine_fn_config_dll dplayx enable_dplayx clean,implib
18503 wine_fn_config_test dlls/dplayx/tests dplayx_test
18504 wine_fn_config_dll dpnaddr enable_dpnaddr
18505 wine_fn_config_dll dpnet enable_dpnet clean,implib
18506 wine_fn_config_test dlls/dpnet/tests dpnet_test
18507 wine_fn_config_dll dpnhpast enable_dpnhpast
18508 wine_fn_config_dll dpnlobby enable_dpnlobby
18509 wine_fn_config_dll dpvoice enable_dpvoice clean
18510 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18511 wine_fn_config_dll dpwsockx enable_dpwsockx
18512 wine_fn_config_dll drmclien enable_drmclien
18513 wine_fn_config_dll dsound enable_dsound clean,implib
18514 wine_fn_config_test dlls/dsound/tests dsound_test
18515 wine_fn_config_dll dsquery enable_dsquery clean
18516 wine_fn_config_dll dssenh enable_dssenh
18517 wine_fn_config_test dlls/dssenh/tests dssenh_test
18518 wine_fn_config_dll dswave enable_dswave clean
18519 wine_fn_config_test dlls/dswave/tests dswave_test
18520 wine_fn_config_dll dwmapi enable_dwmapi implib
18521 wine_fn_config_dll dwrite enable_dwrite implib
18522 wine_fn_config_test dlls/dwrite/tests dwrite_test
18523 wine_fn_config_dll dx8vb enable_dx8vb clean
18524 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18525 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18526 wine_fn_config_lib dxerr8
18527 wine_fn_config_lib dxerr9
18528 wine_fn_config_dll dxgi enable_dxgi implib
18529 wine_fn_config_test dlls/dxgi/tests dxgi_test
18530 wine_fn_config_lib dxguid
18531 wine_fn_config_dll dxva2 enable_dxva2
18532 wine_fn_config_dll esent enable_esent
18533 wine_fn_config_dll evr enable_evr clean
18534 wine_fn_config_test dlls/evr/tests evr_test
18535 wine_fn_config_dll explorerframe enable_explorerframe clean
18536 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18537 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18538 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18539 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18540 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18541 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18542 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18543 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18544 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18545 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18546 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18547 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18548 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18549 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18550 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18551 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18552 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18553 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18554 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18555 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
18556 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18557 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18558 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18559 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18560 wine_fn_config_dll faultrep enable_faultrep implib
18561 wine_fn_config_test dlls/faultrep/tests faultrep_test
18562 wine_fn_config_dll fltlib enable_fltlib
18563 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18564 wine_fn_config_dll fntcache enable_fntcache
18565 wine_fn_config_dll fontsub enable_fontsub
18566 wine_fn_config_dll fusion enable_fusion
18567 wine_fn_config_test dlls/fusion/tests fusion_test
18568 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18569 wine_fn_config_dll gameux enable_gameux clean
18570 wine_fn_config_test dlls/gameux/tests gameux_test
18571 wine_fn_config_dll gdi.exe16 enable_win16
18572 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18573 wine_fn_config_test dlls/gdi32/tests gdi32_test
18574 wine_fn_config_dll gdiplus enable_gdiplus implib
18575 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18576 wine_fn_config_dll glu32 enable_glu32 implib
18577 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18578 wine_fn_config_dll gpkcsp enable_gpkcsp
18579 wine_fn_config_dll hal enable_hal
18580 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18581 wine_fn_config_dll hid enable_hid implib
18582 wine_fn_config_test dlls/hid/tests hid_test
18583 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18584 wine_fn_config_dll hlink enable_hlink clean,implib
18585 wine_fn_config_test dlls/hlink/tests hlink_test
18586 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18587 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18588 wine_fn_config_dll httpapi enable_httpapi implib
18589 wine_fn_config_test dlls/httpapi/tests httpapi_test
18590 wine_fn_config_dll iccvid enable_iccvid clean
18591 wine_fn_config_dll icmp enable_icmp
18592 wine_fn_config_dll ieframe enable_ieframe clean,implib
18593 wine_fn_config_test dlls/ieframe/tests ieframe_test
18594 wine_fn_config_dll ieproxy enable_ieproxy clean
18595 wine_fn_config_dll ifsmgr.vxd enable_win16
18596 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18597 wine_fn_config_dll imagehlp enable_imagehlp implib
18598 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18599 wine_fn_config_dll imm.dll16 enable_win16
18600 wine_fn_config_dll imm32 enable_imm32 implib
18601 wine_fn_config_test dlls/imm32/tests imm32_test
18602 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18603 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18604 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18605 wine_fn_config_dll inetmib1 enable_inetmib1
18606 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18607 wine_fn_config_dll infosoft enable_infosoft clean
18608 wine_fn_config_test dlls/infosoft/tests infosoft_test
18609 wine_fn_config_dll initpki enable_initpki
18610 wine_fn_config_dll inkobj enable_inkobj
18611 wine_fn_config_dll inseng enable_inseng clean
18612 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18613 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18614 wine_fn_config_dll iprop enable_iprop
18615 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18616 wine_fn_config_dll itircl enable_itircl
18617 wine_fn_config_dll itss enable_itss clean
18618 wine_fn_config_test dlls/itss/tests itss_test
18619 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18620 wine_fn_config_dll jscript enable_jscript clean
18621 wine_fn_config_test dlls/jscript/tests jscript_test
18622 wine_fn_config_dll jsproxy enable_jsproxy implib
18623 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18624 wine_fn_config_dll kerberos enable_kerberos
18625 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18626 wine_fn_config_test dlls/kernel32/tests kernel32_test
18627 wine_fn_config_dll kernelbase enable_kernelbase
18628 wine_fn_config_dll keyboard.drv16 enable_win16
18629 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18630 wine_fn_config_dll ksuser enable_ksuser
18631 wine_fn_config_dll ktmw32 enable_ktmw32
18632 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18633 wine_fn_config_dll loadperf enable_loadperf implib
18634 wine_fn_config_dll localspl enable_localspl clean
18635 wine_fn_config_test dlls/localspl/tests localspl_test
18636 wine_fn_config_dll localui enable_localui clean
18637 wine_fn_config_test dlls/localui/tests localui_test
18638 wine_fn_config_dll lz32 enable_lz32 implib
18639 wine_fn_config_test dlls/lz32/tests lz32_test
18640 wine_fn_config_dll lzexpand.dll16 enable_win16
18641 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18642 wine_fn_config_test dlls/mapi32/tests mapi32_test
18643 wine_fn_config_dll mapistub enable_mapistub
18644 wine_fn_config_dll mciavi32 enable_mciavi32
18645 wine_fn_config_dll mcicda enable_mcicda
18646 wine_fn_config_dll mciqtz32 enable_mciqtz32
18647 wine_fn_config_dll mciseq enable_mciseq
18648 wine_fn_config_dll mciwave enable_mciwave
18649 wine_fn_config_dll mf enable_mf implib
18650 wine_fn_config_test dlls/mf/tests mf_test
18651 wine_fn_config_dll mf3216 enable_mf3216
18652 wine_fn_config_dll mfplat enable_mfplat implib
18653 wine_fn_config_test dlls/mfplat/tests mfplat_test
18654 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18655 wine_fn_config_lib mfuuid
18656 wine_fn_config_dll mgmtapi enable_mgmtapi
18657 wine_fn_config_dll midimap enable_midimap
18658 wine_fn_config_dll mlang enable_mlang clean,implib
18659 wine_fn_config_test dlls/mlang/tests mlang_test
18660 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18661 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18662 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18663 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18664 wine_fn_config_dll mmdevldr.vxd enable_win16
18665 wine_fn_config_dll mmsystem.dll16 enable_win16
18666 wine_fn_config_dll monodebg.vxd enable_win16
18667 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18668 wine_fn_config_dll mouse.drv16 enable_win16
18669 wine_fn_config_dll mpr enable_mpr clean,implib
18670 wine_fn_config_test dlls/mpr/tests mpr_test
18671 wine_fn_config_dll mprapi enable_mprapi implib
18672 wine_fn_config_dll msacm.dll16 enable_win16
18673 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18674 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18675 wine_fn_config_test dlls/msacm32/tests msacm32_test
18676 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18677 wine_fn_config_dll msasn1 enable_msasn1 implib
18678 wine_fn_config_dll mscat32 enable_mscat32
18679 wine_fn_config_dll mscms enable_mscms implib
18680 wine_fn_config_test dlls/mscms/tests mscms_test
18681 wine_fn_config_dll mscoree enable_mscoree clean
18682 wine_fn_config_test dlls/mscoree/tests mscoree_test
18683 wine_fn_config_dll msctf enable_msctf clean
18684 wine_fn_config_test dlls/msctf/tests msctf_test
18685 wine_fn_config_dll msctfp enable_msctfp clean
18686 wine_fn_config_dll msdaps enable_msdaps clean
18687 wine_fn_config_dll msdelta enable_msdelta
18688 wine_fn_config_dll msdmo enable_msdmo implib
18689 wine_fn_config_test dlls/msdmo/tests msdmo_test
18690 wine_fn_config_dll msdrm enable_msdrm
18691 wine_fn_config_dll msftedit enable_msftedit
18692 wine_fn_config_dll msg711.acm enable_msg711_acm
18693 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18694 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18695 wine_fn_config_dll mshtml enable_mshtml clean,implib
18696 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18697 wine_fn_config_dll msi enable_msi clean,implib
18698 wine_fn_config_test dlls/msi/tests msi_test
18699 wine_fn_config_dll msident enable_msident clean
18700 wine_fn_config_dll msimg32 enable_msimg32 implib
18701 wine_fn_config_dll msimsg enable_msimsg
18702 wine_fn_config_dll msimtf enable_msimtf clean
18703 wine_fn_config_dll msisip enable_msisip
18704 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18705 wine_fn_config_dll msls31 enable_msls31
18706 wine_fn_config_dll msnet32 enable_msnet32
18707 wine_fn_config_dll mspatcha enable_mspatcha implib
18708 wine_fn_config_dll msports enable_msports
18709 wine_fn_config_dll msrle32 enable_msrle32 clean
18710 wine_fn_config_test dlls/msrle32/tests msrle32_test
18711 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18712 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18713 wine_fn_config_dll mssign32 enable_mssign32
18714 wine_fn_config_dll mssip32 enable_mssip32
18715 wine_fn_config_dll mstask enable_mstask clean
18716 wine_fn_config_test dlls/mstask/tests mstask_test
18717 wine_fn_config_dll msvcirt enable_msvcirt
18718 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18719 wine_fn_config_dll msvcm80 enable_msvcm80
18720 wine_fn_config_dll msvcm90 enable_msvcm90
18721 wine_fn_config_dll msvcp100 enable_msvcp100
18722 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18723 wine_fn_config_dll msvcp110 enable_msvcp110
18724 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18725 wine_fn_config_dll msvcp120 enable_msvcp120
18726 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18727 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18728 wine_fn_config_dll msvcp140 enable_msvcp140
18729 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18730 wine_fn_config_dll msvcp60 enable_msvcp60
18731 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18732 wine_fn_config_dll msvcp70 enable_msvcp70
18733 wine_fn_config_dll msvcp71 enable_msvcp71
18734 wine_fn_config_dll msvcp80 enable_msvcp80
18735 wine_fn_config_dll msvcp90 enable_msvcp90
18736 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18737 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18738 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18739 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18740 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18741 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18742 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18743 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18744 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18745 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18746 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18747 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18748 wine_fn_config_dll msvcrt enable_msvcrt implib
18749 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18750 wine_fn_config_dll msvcrt20 enable_msvcrt20
18751 wine_fn_config_dll msvcrt40 enable_msvcrt40
18752 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18753 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18754 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18755 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18756 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18757 wine_fn_config_dll msvideo.dll16 enable_win16
18758 wine_fn_config_dll mswsock enable_mswsock implib
18759 wine_fn_config_dll msxml enable_msxml clean
18760 wine_fn_config_dll msxml2 enable_msxml2 clean
18761 wine_fn_config_dll msxml3 enable_msxml3 clean
18762 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18763 wine_fn_config_dll msxml4 enable_msxml4 clean
18764 wine_fn_config_dll msxml6 enable_msxml6 clean
18765 wine_fn_config_dll mtxdm enable_mtxdm
18766 wine_fn_config_dll ncrypt enable_ncrypt
18767 wine_fn_config_dll nddeapi enable_nddeapi implib
18768 wine_fn_config_dll ndis.sys enable_ndis_sys
18769 wine_fn_config_dll netapi32 enable_netapi32 implib
18770 wine_fn_config_test dlls/netapi32/tests netapi32_test
18771 wine_fn_config_dll netcfgx enable_netcfgx clean
18772 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18773 wine_fn_config_dll netprofm enable_netprofm clean
18774 wine_fn_config_test dlls/netprofm/tests netprofm_test
18775 wine_fn_config_dll newdev enable_newdev implib
18776 wine_fn_config_dll normaliz enable_normaliz implib
18777 wine_fn_config_dll npmshtml enable_npmshtml
18778 wine_fn_config_dll npptools enable_npptools
18779 wine_fn_config_dll ntdll enable_ntdll implib
18780 wine_fn_config_test dlls/ntdll/tests ntdll_test
18781 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18782 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18783 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18784 wine_fn_config_dll ntprint enable_ntprint
18785 wine_fn_config_test dlls/ntprint/tests ntprint_test
18786 wine_fn_config_dll objsel enable_objsel clean
18787 wine_fn_config_dll odbc32 enable_odbc32 implib
18788 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18789 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18790 wine_fn_config_dll odbccu32 enable_odbccu32
18791 wine_fn_config_dll ole2.dll16 enable_win16
18792 wine_fn_config_dll ole2conv.dll16 enable_win16
18793 wine_fn_config_dll ole2disp.dll16 enable_win16
18794 wine_fn_config_dll ole2nls.dll16 enable_win16
18795 wine_fn_config_dll ole2prox.dll16 enable_win16
18796 wine_fn_config_dll ole2thk.dll16 enable_win16
18797 wine_fn_config_dll ole32 enable_ole32 clean,implib
18798 wine_fn_config_test dlls/ole32/tests ole32_test
18799 wine_fn_config_dll oleacc enable_oleacc clean,implib
18800 wine_fn_config_test dlls/oleacc/tests oleacc_test
18801 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18802 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18803 wine_fn_config_dll olecli.dll16 enable_win16
18804 wine_fn_config_dll olecli32 enable_olecli32 implib
18805 wine_fn_config_dll oledb32 enable_oledb32 clean
18806 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18807 wine_fn_config_dll oledlg enable_oledlg clean,implib
18808 wine_fn_config_test dlls/oledlg/tests oledlg_test
18809 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18810 wine_fn_config_dll olesvr.dll16 enable_win16
18811 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18812 wine_fn_config_dll olethk32 enable_olethk32
18813 wine_fn_config_dll openal32 enable_openal32
18814 wine_fn_config_dll opencl enable_opencl
18815 wine_fn_config_dll opengl32 enable_opengl32 implib
18816 wine_fn_config_test dlls/opengl32/tests opengl32_test
18817 wine_fn_config_dll packager enable_packager clean
18818 wine_fn_config_test dlls/packager/tests packager_test
18819 wine_fn_config_dll pdh enable_pdh implib
18820 wine_fn_config_test dlls/pdh/tests pdh_test
18821 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18822 wine_fn_config_dll pidgen enable_pidgen
18823 wine_fn_config_dll powrprof enable_powrprof implib
18824 wine_fn_config_dll printui enable_printui
18825 wine_fn_config_dll prntvpt enable_prntvpt
18826 wine_fn_config_dll propsys enable_propsys clean,implib
18827 wine_fn_config_test dlls/propsys/tests propsys_test
18828 wine_fn_config_dll psapi enable_psapi implib
18829 wine_fn_config_test dlls/psapi/tests psapi_test
18830 wine_fn_config_dll pstorec enable_pstorec clean
18831 wine_fn_config_test dlls/pstorec/tests pstorec_test
18832 wine_fn_config_dll qcap enable_qcap
18833 wine_fn_config_test dlls/qcap/tests qcap_test
18834 wine_fn_config_dll qedit enable_qedit clean
18835 wine_fn_config_test dlls/qedit/tests qedit_test
18836 wine_fn_config_dll qmgr enable_qmgr clean
18837 wine_fn_config_test dlls/qmgr/tests qmgr_test
18838 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18839 wine_fn_config_dll quartz enable_quartz clean,implib
18840 wine_fn_config_test dlls/quartz/tests quartz_test clean
18841 wine_fn_config_dll query enable_query
18842 wine_fn_config_dll rasapi16.dll16 enable_win16
18843 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18844 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18845 wine_fn_config_dll rasdlg enable_rasdlg implib
18846 wine_fn_config_dll regapi enable_regapi
18847 wine_fn_config_dll resutils enable_resutils implib
18848 wine_fn_config_dll riched20 enable_riched20 clean,implib
18849 wine_fn_config_test dlls/riched20/tests riched20_test
18850 wine_fn_config_dll riched32 enable_riched32
18851 wine_fn_config_test dlls/riched32/tests riched32_test
18852 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18853 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18854 wine_fn_config_dll rsabase enable_rsabase
18855 wine_fn_config_dll rsaenh enable_rsaenh implib
18856 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18857 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18858 wine_fn_config_dll rtutils enable_rtutils implib
18859 wine_fn_config_dll samlib enable_samlib
18860 wine_fn_config_dll sane.ds enable_sane_ds clean
18861 wine_fn_config_dll sapi enable_sapi clean
18862 wine_fn_config_test dlls/sapi/tests sapi_test
18863 wine_fn_config_dll scarddlg enable_scarddlg
18864 wine_fn_config_dll sccbase enable_sccbase
18865 wine_fn_config_dll schannel enable_schannel
18866 wine_fn_config_test dlls/schannel/tests schannel_test
18867 wine_fn_config_dll schedsvc enable_schedsvc clean
18868 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18869 wine_fn_config_dll scrobj enable_scrobj clean
18870 wine_fn_config_dll scrrun enable_scrrun clean
18871 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18872 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18873 wine_fn_config_dll secur32 enable_secur32 implib
18874 wine_fn_config_test dlls/secur32/tests secur32_test
18875 wine_fn_config_dll security enable_security
18876 wine_fn_config_dll sensapi enable_sensapi implib
18877 wine_fn_config_dll serialui enable_serialui clean
18878 wine_fn_config_test dlls/serialui/tests serialui_test
18879 wine_fn_config_dll setupapi enable_setupapi clean,implib
18880 wine_fn_config_test dlls/setupapi/tests setupapi_test
18881 wine_fn_config_dll setupx.dll16 enable_win16
18882 wine_fn_config_dll sfc enable_sfc implib
18883 wine_fn_config_dll sfc_os enable_sfc_os implib
18884 wine_fn_config_dll shdoclc enable_shdoclc clean
18885 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18886 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18887 wine_fn_config_dll shell.dll16 enable_win16
18888 wine_fn_config_dll shell32 enable_shell32 clean,implib
18889 wine_fn_config_test dlls/shell32/tests shell32_test
18890 wine_fn_config_dll shfolder enable_shfolder implib
18891 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18892 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18893 wine_fn_config_dll slbcsp enable_slbcsp
18894 wine_fn_config_dll slc enable_slc implib
18895 wine_fn_config_test dlls/slc/tests slc_test
18896 wine_fn_config_dll snmpapi enable_snmpapi implib
18897 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18898 wine_fn_config_dll softpub enable_softpub
18899 wine_fn_config_dll sound.drv16 enable_win16
18900 wine_fn_config_dll spoolss enable_spoolss implib
18901 wine_fn_config_test dlls/spoolss/tests spoolss_test
18902 wine_fn_config_dll sspicli enable_sspicli
18903 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18904 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18905 wine_fn_config_dll sti enable_sti clean,implib
18906 wine_fn_config_test dlls/sti/tests sti_test
18907 wine_fn_config_dll storage.dll16 enable_win16
18908 wine_fn_config_dll stress.dll16 enable_win16
18909 wine_fn_config_lib strmbase
18910 wine_fn_config_lib strmiids
18911 wine_fn_config_dll svrapi enable_svrapi
18912 wine_fn_config_dll sxs enable_sxs implib
18913 wine_fn_config_test dlls/sxs/tests sxs_test
18914 wine_fn_config_dll system.drv16 enable_win16
18915 wine_fn_config_dll t2embed enable_t2embed implib
18916 wine_fn_config_test dlls/t2embed/tests t2embed_test
18917 wine_fn_config_dll tapi32 enable_tapi32 implib
18918 wine_fn_config_dll taskschd enable_taskschd clean
18919 wine_fn_config_test dlls/taskschd/tests taskschd_test
18920 wine_fn_config_dll tdh enable_tdh
18921 wine_fn_config_dll tdi.sys enable_tdi_sys
18922 wine_fn_config_dll toolhelp.dll16 enable_win16
18923 wine_fn_config_dll traffic enable_traffic
18924 wine_fn_config_dll twain.dll16 enable_win16
18925 wine_fn_config_dll twain_32 enable_twain_32 clean
18926 wine_fn_config_test dlls/twain_32/tests twain_32_test
18927 wine_fn_config_dll typelib.dll16 enable_win16
18928 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18929 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18930 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18931 wine_fn_config_dll uiribbon enable_uiribbon clean
18932 wine_fn_config_dll unicows enable_unicows implib
18933 wine_fn_config_dll updspapi enable_updspapi
18934 wine_fn_config_dll url enable_url implib
18935 wine_fn_config_dll urlmon enable_urlmon clean,implib
18936 wine_fn_config_test dlls/urlmon/tests urlmon_test
18937 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18938 wine_fn_config_dll user.exe16 enable_win16
18939 wine_fn_config_dll user32 enable_user32 clean,implib
18940 wine_fn_config_test dlls/user32/tests user32_test
18941 wine_fn_config_dll userenv enable_userenv implib
18942 wine_fn_config_test dlls/userenv/tests userenv_test
18943 wine_fn_config_dll usp10 enable_usp10 implib
18944 wine_fn_config_test dlls/usp10/tests usp10_test
18945 wine_fn_config_lib uuid
18946 wine_fn_config_dll uxtheme enable_uxtheme implib
18947 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18948 wine_fn_config_dll vbscript enable_vbscript clean
18949 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18950 wine_fn_config_dll vcomp enable_vcomp
18951 wine_fn_config_test dlls/vcomp/tests vcomp_test
18952 wine_fn_config_dll vcomp100 enable_vcomp100
18953 wine_fn_config_dll vcomp110 enable_vcomp110
18954 wine_fn_config_dll vcomp120 enable_vcomp120
18955 wine_fn_config_dll vcomp140 enable_vcomp140
18956 wine_fn_config_dll vcomp90 enable_vcomp90
18957 wine_fn_config_dll vcruntime140 enable_vcruntime140
18958 wine_fn_config_dll vdhcp.vxd enable_win16
18959 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18960 wine_fn_config_dll ver.dll16 enable_win16
18961 wine_fn_config_dll version enable_version implib
18962 wine_fn_config_test dlls/version/tests version_test
18963 wine_fn_config_dll virtdisk enable_virtdisk
18964 wine_fn_config_dll vmm.vxd enable_win16
18965 wine_fn_config_dll vnbt.vxd enable_win16
18966 wine_fn_config_dll vnetbios.vxd enable_win16
18967 wine_fn_config_dll vssapi enable_vssapi
18968 wine_fn_config_dll vtdapi.vxd enable_win16
18969 wine_fn_config_dll vwin32.vxd enable_win16
18970 wine_fn_config_dll w32skrnl enable_win16
18971 wine_fn_config_dll w32sys.dll16 enable_win16
18972 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18973 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18974 wine_fn_config_dll wbemprox enable_wbemprox clean
18975 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18976 wine_fn_config_dll wdscore enable_wdscore
18977 wine_fn_config_dll webservices enable_webservices implib
18978 wine_fn_config_test dlls/webservices/tests webservices_test
18979 wine_fn_config_dll wer enable_wer implib
18980 wine_fn_config_test dlls/wer/tests wer_test
18981 wine_fn_config_dll wevtapi enable_wevtapi
18982 wine_fn_config_dll wiaservc enable_wiaservc clean
18983 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18984 wine_fn_config_dll wimgapi enable_wimgapi
18985 wine_fn_config_dll win32s16.dll16 enable_win16
18986 wine_fn_config_dll win87em.dll16 enable_win16
18987 wine_fn_config_dll winaspi.dll16 enable_win16
18988 wine_fn_config_dll windebug.dll16 enable_win16
18989 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18990 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18991 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18992 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18993 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18994 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18995 wine_fn_config_dll winebus.sys enable_winebus_sys
18996 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18997 wine_fn_config_lib winecrt0
18998 wine_fn_config_dll wined3d enable_wined3d implib
18999 wine_fn_config_dll winegstreamer enable_winegstreamer
19000 wine_fn_config_dll winehid.sys enable_winehid_sys
19001 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19002 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19003 wine_fn_config_dll winemapi enable_winemapi
19004 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19005 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19006 wine_fn_config_dll wineps16.drv16 enable_win16
19007 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19008 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19009 wine_fn_config_dll winex11.drv enable_winex11_drv
19010 wine_fn_config_dll wing.dll16 enable_win16
19011 wine_fn_config_dll wing32 enable_wing32
19012 wine_fn_config_dll winhttp enable_winhttp clean,implib
19013 wine_fn_config_test dlls/winhttp/tests winhttp_test
19014 wine_fn_config_dll wininet enable_wininet clean,implib
19015 wine_fn_config_test dlls/wininet/tests wininet_test
19016 wine_fn_config_dll winmm enable_winmm clean,implib
19017 wine_fn_config_test dlls/winmm/tests winmm_test
19018 wine_fn_config_dll winnls.dll16 enable_win16
19019 wine_fn_config_dll winnls32 enable_winnls32 implib
19020 wine_fn_config_dll winscard enable_winscard implib
19021 wine_fn_config_dll winsock.dll16 enable_win16
19022 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19023 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19024 wine_fn_config_dll winsta enable_winsta
19025 wine_fn_config_dll wintab.dll16 enable_win16
19026 wine_fn_config_dll wintab32 enable_wintab32 implib
19027 wine_fn_config_test dlls/wintab32/tests wintab32_test
19028 wine_fn_config_dll wintrust enable_wintrust implib
19029 wine_fn_config_test dlls/wintrust/tests wintrust_test
19030 wine_fn_config_dll winusb enable_winusb
19031 wine_fn_config_dll wlanapi enable_wlanapi implib
19032 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19033 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19034 wine_fn_config_test dlls/wldap32/tests wldap32_test
19035 wine_fn_config_dll wmasf enable_wmasf
19036 wine_fn_config_dll wmi enable_wmi
19037 wine_fn_config_dll wmiutils enable_wmiutils clean
19038 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19039 wine_fn_config_dll wmp enable_wmp clean
19040 wine_fn_config_test dlls/wmp/tests wmp_test
19041 wine_fn_config_dll wmphoto enable_wmphoto clean
19042 wine_fn_config_dll wmvcore enable_wmvcore implib
19043 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19044 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19045 wine_fn_config_dll wow32 enable_win16 implib
19046 wine_fn_config_dll wpc enable_wpc clean
19047 wine_fn_config_test dlls/wpc/tests wpc_test
19048 wine_fn_config_dll wpcap enable_wpcap
19049 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19050 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19051 wine_fn_config_dll wsdapi enable_wsdapi implib
19052 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19053 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19054 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19055 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19056 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19057 wine_fn_config_dll wsock32 enable_wsock32 implib
19058 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19059 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19060 wine_fn_config_dll wuapi enable_wuapi clean
19061 wine_fn_config_dll wuaueng enable_wuaueng
19062 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19063 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19064 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19065 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19066 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19067 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19068 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19069 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19070 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19071 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19072 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19073 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19074 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19075 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19076 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19077 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19078 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19079 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19080 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19081 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19082 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19083 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19084 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19085 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19086 wine_fn_config_dll xinput1_1 enable_xinput1_1
19087 wine_fn_config_dll xinput1_2 enable_xinput1_2
19088 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19089 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19090 wine_fn_config_dll xinput1_4 enable_xinput1_4
19091 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19092 wine_fn_config_dll xmllite enable_xmllite implib
19093 wine_fn_config_test dlls/xmllite/tests xmllite_test
19094 wine_fn_config_dll xolehlp enable_xolehlp
19095 wine_fn_config_dll xpsprint enable_xpsprint
19096 wine_fn_config_dll xpssvcs enable_xpssvcs
19097 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19098 wine_fn_config_makefile include enable_include clean,install-dev
19099 wine_fn_config_makefile libs/port enable_libs_port
19100 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19101 wine_fn_config_makefile libs/wpp enable_libs_wpp
19102 wine_fn_config_makefile loader enable_loader clean,install-lib
19103 wine_fn_config_makefile po enable_po clean
19104 wine_fn_config_program arp enable_arp install
19105 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19106 wine_fn_config_program attrib enable_attrib clean,install
19107 wine_fn_config_program cabarc enable_cabarc install
19108 wine_fn_config_program cacls enable_cacls install
19109 wine_fn_config_program clock enable_clock clean,install
19110 wine_fn_config_program cmd enable_cmd clean,install
19111 wine_fn_config_test programs/cmd/tests cmd.exe_test
19112 wine_fn_config_program conhost enable_conhost install
19113 wine_fn_config_program control enable_control install
19114 wine_fn_config_program cscript enable_cscript clean,install
19115 wine_fn_config_program dpnsvr enable_dpnsvr install
19116 wine_fn_config_program dxdiag enable_dxdiag clean,install
19117 wine_fn_config_program eject enable_eject install
19118 wine_fn_config_program expand enable_expand install
19119 wine_fn_config_program explorer enable_explorer clean,install
19120 wine_fn_config_program extrac32 enable_extrac32 install
19121 wine_fn_config_program findstr enable_findstr install
19122 wine_fn_config_program fsutil enable_fsutil install
19123 wine_fn_config_program hh enable_hh install
19124 wine_fn_config_program hostname enable_hostname clean,install
19125 wine_fn_config_program icacls enable_icacls install
19126 wine_fn_config_program icinfo enable_icinfo install
19127 wine_fn_config_program iexplore enable_iexplore install
19128 wine_fn_config_program ipconfig enable_ipconfig clean,install
19129 wine_fn_config_program lodctr enable_lodctr install
19130 wine_fn_config_program mofcomp enable_mofcomp install
19131 wine_fn_config_program mshta enable_mshta install
19132 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19133 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19134 wine_fn_config_program net enable_net clean,install
19135 wine_fn_config_program netsh enable_netsh install
19136 wine_fn_config_program netstat enable_netstat clean,install
19137 wine_fn_config_program ngen enable_ngen install
19138 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19139 wine_fn_config_program oleview enable_oleview clean,install
19140 wine_fn_config_program ping enable_ping install
19141 wine_fn_config_program plugplay enable_plugplay install
19142 wine_fn_config_program powershell enable_powershell install
19143 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19144 wine_fn_config_program progman enable_progman clean,install
19145 wine_fn_config_program reg enable_reg clean,install
19146 wine_fn_config_test programs/reg/tests reg.exe_test
19147 wine_fn_config_program regasm enable_regasm install
19148 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19149 wine_fn_config_test programs/regedit/tests regedit.exe_test
19150 wine_fn_config_program regsvcs enable_regsvcs install
19151 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19152 wine_fn_config_program rpcss enable_rpcss clean,install
19153 wine_fn_config_program rundll.exe16 enable_win16 install
19154 wine_fn_config_program rundll32 enable_rundll32 install
19155 wine_fn_config_program sc enable_sc install
19156 wine_fn_config_program schtasks enable_schtasks install
19157 wine_fn_config_program sdbinst enable_sdbinst install
19158 wine_fn_config_program secedit enable_secedit install
19159 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19160 wine_fn_config_program services enable_services clean,install
19161 wine_fn_config_test programs/services/tests services.exe_test
19162 wine_fn_config_program shutdown enable_shutdown install
19163 wine_fn_config_program spoolsv enable_spoolsv install
19164 wine_fn_config_program start enable_start clean,install
19165 wine_fn_config_program subst enable_subst install
19166 wine_fn_config_program svchost enable_svchost install
19167 wine_fn_config_program systeminfo enable_systeminfo install
19168 wine_fn_config_program taskkill enable_taskkill clean,install
19169 wine_fn_config_program tasklist enable_tasklist install
19170 wine_fn_config_program taskmgr enable_taskmgr clean,install
19171 wine_fn_config_program termsv enable_termsv install
19172 wine_fn_config_program uninstaller enable_uninstaller clean,install
19173 wine_fn_config_program unlodctr enable_unlodctr install
19174 wine_fn_config_program view enable_view clean,install
19175 wine_fn_config_program wevtutil enable_wevtutil install
19176 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19177 wine_fn_config_program winebrowser enable_winebrowser install
19178 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19179 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19180 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19181 wine_fn_config_program winedevice enable_winedevice install
19182 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19183 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19184 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19185 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19186 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19187 wine_fn_config_program winetest enable_winetest clean
19188 wine_fn_config_program winevdm enable_win16 install
19189 wine_fn_config_program winhelp.exe16 enable_win16 install
19190 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19191 wine_fn_config_program winoldap.mod16 enable_win16 install
19192 wine_fn_config_program winver enable_winver install
19193 wine_fn_config_program wmic enable_wmic clean,install
19194 wine_fn_config_program wmplayer enable_wmplayer install
19195 wine_fn_config_program wordpad enable_wordpad clean,install
19196 wine_fn_config_program write enable_write clean,install
19197 wine_fn_config_program wscript enable_wscript clean,install
19198 wine_fn_config_test programs/wscript/tests wscript.exe_test
19199 wine_fn_config_program wusa enable_wusa install
19200 wine_fn_config_program xcopy enable_xcopy clean,install
19201 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19202 wine_fn_config_makefile server enable_server clean,install-lib
19203 wine_fn_config_tool tools clean
19204 wine_fn_config_tool tools/sfnt2fon clean
19205 wine_fn_config_tool tools/widl clean,install-dev
19206 wine_fn_config_tool tools/winebuild clean,install-dev
19207 wine_fn_config_tool tools/winedump clean,install-dev
19208 wine_fn_config_tool tools/winegcc clean,install-dev
19209 wine_fn_config_tool tools/winemaker clean,install-dev
19210 wine_fn_config_tool tools/wmc clean,install-dev
19211 wine_fn_config_tool tools/wrc clean,install-dev
19214 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19215 wine_fn_append_file CONFIGURE_TARGETS "tags"
19216 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19217 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19218 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19219 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19220 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19221 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19223 if test "x$enable_tools" != xno
19224 then
19225 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19226 ac_config_commands="$ac_config_commands tools/makedep"
19230 ac_config_commands="$ac_config_commands Makefile"
19233 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19237 if test "x$enable_maintainer_mode" = xyes
19238 then
19239 wine_fn_append_rule "configure: configure.ac aclocal.m4
19240 autoconf --warnings=all
19241 include/config.h.in: include/stamp-h.in
19242 include/stamp-h.in: configure.ac aclocal.m4
19243 autoheader --warnings=all
19244 @echo timestamp > \$@"
19247 if test "x$enable_tools" != xno
19248 then
19249 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19250 @./config.status tools/makedep
19251 Makefile: tools/makedep$ac_exeext"
19252 else
19253 wine_fn_append_rule "\$(MAKEDEP):
19254 @echo \"You need to run make in $TOOLSDIR first\" && false"
19257 if test -n "$with_wine64"
19258 then
19259 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19260 fonts server:
19261 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19262 $with_wine64/loader/wine:
19263 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19264 $with_wine64/loader/wine-preloader:
19265 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19266 clean::
19267 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19268 else
19269 WINELOADER_INSTALL="wine.inf"
19271 wine_fn_append_rule "install install-lib::
19272 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19273 .PHONY: l_intl.nls/uninstall
19274 l_intl.nls/uninstall::
19275 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19276 __uninstall__: l_intl.nls/uninstall"
19277 case $host_os in
19278 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19279 *) wine_fn_append_rule "install install-lib::
19280 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19281 uninstall::
19282 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19283 esac
19286 $as_echo " done" >&6
19287 cat >confcache <<\_ACEOF
19288 # This file is a shell script that caches the results of configure
19289 # tests run on this system so they can be shared between configure
19290 # scripts and configure runs, see configure's option --config-cache.
19291 # It is not useful on other systems. If it contains results you don't
19292 # want to keep, you may remove or edit it.
19294 # config.status only pays attention to the cache file if you give it
19295 # the --recheck option to rerun configure.
19297 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19298 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19299 # following values.
19301 _ACEOF
19303 # The following way of writing the cache mishandles newlines in values,
19304 # but we know of no workaround that is simple, portable, and efficient.
19305 # So, we kill variables containing newlines.
19306 # Ultrix sh set writes to stderr and can't be redirected directly,
19307 # and sets the high bit in the cache file unless we assign to the vars.
19309 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19310 eval ac_val=\$$ac_var
19311 case $ac_val in #(
19312 *${as_nl}*)
19313 case $ac_var in #(
19314 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19315 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19316 esac
19317 case $ac_var in #(
19318 _ | IFS | as_nl) ;; #(
19319 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19320 *) { eval $ac_var=; unset $ac_var;} ;;
19321 esac ;;
19322 esac
19323 done
19325 (set) 2>&1 |
19326 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19327 *${as_nl}ac_space=\ *)
19328 # `set' does not quote correctly, so add quotes: double-quote
19329 # substitution turns \\\\ into \\, and sed turns \\ into \.
19330 sed -n \
19331 "s/'/'\\\\''/g;
19332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19333 ;; #(
19335 # `set' quotes correctly as required by POSIX, so do not add quotes.
19336 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19338 esac |
19339 sort
19341 sed '
19342 /^ac_cv_env_/b end
19343 t clear
19344 :clear
19345 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19346 t end
19347 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19348 :end' >>confcache
19349 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19350 if test -w "$cache_file"; then
19351 if test "x$cache_file" != "x/dev/null"; then
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19353 $as_echo "$as_me: updating cache $cache_file" >&6;}
19354 if test ! -f "$cache_file" || test -h "$cache_file"; then
19355 cat confcache >"$cache_file"
19356 else
19357 case $cache_file in #(
19358 */* | ?:*)
19359 mv -f confcache "$cache_file"$$ &&
19360 mv -f "$cache_file"$$ "$cache_file" ;; #(
19362 mv -f confcache "$cache_file" ;;
19363 esac
19366 else
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19368 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19371 rm -f confcache
19373 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19374 # Let make expand exec_prefix.
19375 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19377 DEFS=-DHAVE_CONFIG_H
19379 ac_libobjs=
19380 ac_ltlibobjs=
19382 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19383 # 1. Remove the extension, and $U if already installed.
19384 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19385 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19386 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19387 # will be set to the directory where LIBOBJS objects are built.
19388 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19389 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19390 done
19391 LIBOBJS=$ac_libobjs
19393 LTLIBOBJS=$ac_ltlibobjs
19397 : "${CONFIG_STATUS=./config.status}"
19398 ac_write_fail=0
19399 ac_clean_files_save=$ac_clean_files
19400 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19402 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19403 as_write_fail=0
19404 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19405 #! $SHELL
19406 # Generated by $as_me.
19407 # Run this file to recreate the current configuration.
19408 # Compiler output produced by configure, useful for debugging
19409 # configure, is in config.log if it exists.
19411 debug=false
19412 ac_cs_recheck=false
19413 ac_cs_silent=false
19415 SHELL=\${CONFIG_SHELL-$SHELL}
19416 export SHELL
19417 _ASEOF
19418 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19419 ## -------------------- ##
19420 ## M4sh Initialization. ##
19421 ## -------------------- ##
19423 # Be more Bourne compatible
19424 DUALCASE=1; export DUALCASE # for MKS sh
19425 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19426 emulate sh
19427 NULLCMD=:
19428 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19429 # is contrary to our usage. Disable this feature.
19430 alias -g '${1+"$@"}'='"$@"'
19431 setopt NO_GLOB_SUBST
19432 else
19433 case `(set -o) 2>/dev/null` in #(
19434 *posix*) :
19435 set -o posix ;; #(
19436 *) :
19438 esac
19442 as_nl='
19444 export as_nl
19445 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19446 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19447 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19448 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19449 # Prefer a ksh shell builtin over an external printf program on Solaris,
19450 # but without wasting forks for bash or zsh.
19451 if test -z "$BASH_VERSION$ZSH_VERSION" \
19452 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19453 as_echo='print -r --'
19454 as_echo_n='print -rn --'
19455 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19456 as_echo='printf %s\n'
19457 as_echo_n='printf %s'
19458 else
19459 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19460 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19461 as_echo_n='/usr/ucb/echo -n'
19462 else
19463 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19464 as_echo_n_body='eval
19465 arg=$1;
19466 case $arg in #(
19467 *"$as_nl"*)
19468 expr "X$arg" : "X\\(.*\\)$as_nl";
19469 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19470 esac;
19471 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19473 export as_echo_n_body
19474 as_echo_n='sh -c $as_echo_n_body as_echo'
19476 export as_echo_body
19477 as_echo='sh -c $as_echo_body as_echo'
19480 # The user is always right.
19481 if test "${PATH_SEPARATOR+set}" != set; then
19482 PATH_SEPARATOR=:
19483 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19484 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19485 PATH_SEPARATOR=';'
19490 # IFS
19491 # We need space, tab and new line, in precisely that order. Quoting is
19492 # there to prevent editors from complaining about space-tab.
19493 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19494 # splitting by setting IFS to empty value.)
19495 IFS=" "" $as_nl"
19497 # Find who we are. Look in the path if we contain no directory separator.
19498 as_myself=
19499 case $0 in #((
19500 *[\\/]* ) as_myself=$0 ;;
19501 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19502 for as_dir in $PATH
19504 IFS=$as_save_IFS
19505 test -z "$as_dir" && as_dir=.
19506 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19507 done
19508 IFS=$as_save_IFS
19511 esac
19512 # We did not find ourselves, most probably we were run as `sh COMMAND'
19513 # in which case we are not to be found in the path.
19514 if test "x$as_myself" = x; then
19515 as_myself=$0
19517 if test ! -f "$as_myself"; then
19518 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19519 exit 1
19522 # Unset variables that we do not need and which cause bugs (e.g. in
19523 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19524 # suppresses any "Segmentation fault" message there. '((' could
19525 # trigger a bug in pdksh 5.2.14.
19526 for as_var in BASH_ENV ENV MAIL MAILPATH
19527 do eval test x\${$as_var+set} = xset \
19528 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19529 done
19530 PS1='$ '
19531 PS2='> '
19532 PS4='+ '
19534 # NLS nuisances.
19535 LC_ALL=C
19536 export LC_ALL
19537 LANGUAGE=C
19538 export LANGUAGE
19540 # CDPATH.
19541 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19544 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19545 # ----------------------------------------
19546 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19547 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19548 # script with STATUS, using 1 if that was 0.
19549 as_fn_error ()
19551 as_status=$1; test $as_status -eq 0 && as_status=1
19552 if test "$4"; then
19553 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19554 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19556 $as_echo "$as_me: error: $2" >&2
19557 as_fn_exit $as_status
19558 } # as_fn_error
19561 # as_fn_set_status STATUS
19562 # -----------------------
19563 # Set $? to STATUS, without forking.
19564 as_fn_set_status ()
19566 return $1
19567 } # as_fn_set_status
19569 # as_fn_exit STATUS
19570 # -----------------
19571 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19572 as_fn_exit ()
19574 set +e
19575 as_fn_set_status $1
19576 exit $1
19577 } # as_fn_exit
19579 # as_fn_unset VAR
19580 # ---------------
19581 # Portably unset VAR.
19582 as_fn_unset ()
19584 { eval $1=; unset $1;}
19586 as_unset=as_fn_unset
19587 # as_fn_append VAR VALUE
19588 # ----------------------
19589 # Append the text in VALUE to the end of the definition contained in VAR. Take
19590 # advantage of any shell optimizations that allow amortized linear growth over
19591 # repeated appends, instead of the typical quadratic growth present in naive
19592 # implementations.
19593 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19594 eval 'as_fn_append ()
19596 eval $1+=\$2
19598 else
19599 as_fn_append ()
19601 eval $1=\$$1\$2
19603 fi # as_fn_append
19605 # as_fn_arith ARG...
19606 # ------------------
19607 # Perform arithmetic evaluation on the ARGs, and store the result in the
19608 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19609 # must be portable across $(()) and expr.
19610 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19611 eval 'as_fn_arith ()
19613 as_val=$(( $* ))
19615 else
19616 as_fn_arith ()
19618 as_val=`expr "$@" || test $? -eq 1`
19620 fi # as_fn_arith
19623 if expr a : '\(a\)' >/dev/null 2>&1 &&
19624 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19625 as_expr=expr
19626 else
19627 as_expr=false
19630 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19631 as_basename=basename
19632 else
19633 as_basename=false
19636 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19637 as_dirname=dirname
19638 else
19639 as_dirname=false
19642 as_me=`$as_basename -- "$0" ||
19643 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19644 X"$0" : 'X\(//\)$' \| \
19645 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19646 $as_echo X/"$0" |
19647 sed '/^.*\/\([^/][^/]*\)\/*$/{
19648 s//\1/
19651 /^X\/\(\/\/\)$/{
19652 s//\1/
19655 /^X\/\(\/\).*/{
19656 s//\1/
19659 s/.*/./; q'`
19661 # Avoid depending upon Character Ranges.
19662 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19663 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19664 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19665 as_cr_digits='0123456789'
19666 as_cr_alnum=$as_cr_Letters$as_cr_digits
19668 ECHO_C= ECHO_N= ECHO_T=
19669 case `echo -n x` in #(((((
19670 -n*)
19671 case `echo 'xy\c'` in
19672 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19673 xy) ECHO_C='\c';;
19674 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19675 ECHO_T=' ';;
19676 esac;;
19678 ECHO_N='-n';;
19679 esac
19681 rm -f conf$$ conf$$.exe conf$$.file
19682 if test -d conf$$.dir; then
19683 rm -f conf$$.dir/conf$$.file
19684 else
19685 rm -f conf$$.dir
19686 mkdir conf$$.dir 2>/dev/null
19688 if (echo >conf$$.file) 2>/dev/null; then
19689 if ln -s conf$$.file conf$$ 2>/dev/null; then
19690 as_ln_s='ln -s'
19691 # ... but there are two gotchas:
19692 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19693 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19694 # In both cases, we have to default to `cp -pR'.
19695 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19696 as_ln_s='cp -pR'
19697 elif ln conf$$.file conf$$ 2>/dev/null; then
19698 as_ln_s=ln
19699 else
19700 as_ln_s='cp -pR'
19702 else
19703 as_ln_s='cp -pR'
19705 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19706 rmdir conf$$.dir 2>/dev/null
19709 # as_fn_mkdir_p
19710 # -------------
19711 # Create "$as_dir" as a directory, including parents if necessary.
19712 as_fn_mkdir_p ()
19715 case $as_dir in #(
19716 -*) as_dir=./$as_dir;;
19717 esac
19718 test -d "$as_dir" || eval $as_mkdir_p || {
19719 as_dirs=
19720 while :; do
19721 case $as_dir in #(
19722 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19723 *) as_qdir=$as_dir;;
19724 esac
19725 as_dirs="'$as_qdir' $as_dirs"
19726 as_dir=`$as_dirname -- "$as_dir" ||
19727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19728 X"$as_dir" : 'X\(//\)[^/]' \| \
19729 X"$as_dir" : 'X\(//\)$' \| \
19730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19731 $as_echo X"$as_dir" |
19732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19733 s//\1/
19736 /^X\(\/\/\)[^/].*/{
19737 s//\1/
19740 /^X\(\/\/\)$/{
19741 s//\1/
19744 /^X\(\/\).*/{
19745 s//\1/
19748 s/.*/./; q'`
19749 test -d "$as_dir" && break
19750 done
19751 test -z "$as_dirs" || eval "mkdir $as_dirs"
19752 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19755 } # as_fn_mkdir_p
19756 if mkdir -p . 2>/dev/null; then
19757 as_mkdir_p='mkdir -p "$as_dir"'
19758 else
19759 test -d ./-p && rmdir ./-p
19760 as_mkdir_p=false
19764 # as_fn_executable_p FILE
19765 # -----------------------
19766 # Test if FILE is an executable regular file.
19767 as_fn_executable_p ()
19769 test -f "$1" && test -x "$1"
19770 } # as_fn_executable_p
19771 as_test_x='test -x'
19772 as_executable_p=as_fn_executable_p
19774 # Sed expression to map a string onto a valid CPP name.
19775 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19777 # Sed expression to map a string onto a valid variable name.
19778 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19781 exec 6>&1
19782 ## ----------------------------------- ##
19783 ## Main body of $CONFIG_STATUS script. ##
19784 ## ----------------------------------- ##
19785 _ASEOF
19786 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19789 # Save the log message, to keep $0 and so on meaningful, and to
19790 # report actual input values of CONFIG_FILES etc. instead of their
19791 # values after options handling.
19792 ac_log="
19793 This file was extended by Wine $as_me 3.0-rc4, which was
19794 generated by GNU Autoconf 2.69. Invocation command line was
19796 CONFIG_FILES = $CONFIG_FILES
19797 CONFIG_HEADERS = $CONFIG_HEADERS
19798 CONFIG_LINKS = $CONFIG_LINKS
19799 CONFIG_COMMANDS = $CONFIG_COMMANDS
19800 $ $0 $@
19802 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19805 _ACEOF
19807 case $ac_config_files in *"
19808 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19809 esac
19811 case $ac_config_headers in *"
19812 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19813 esac
19816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19817 # Files that config.status was made for.
19818 config_files="$ac_config_files"
19819 config_headers="$ac_config_headers"
19820 config_links="$ac_config_links"
19821 config_commands="$ac_config_commands"
19823 _ACEOF
19825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19826 ac_cs_usage="\
19827 \`$as_me' instantiates files and other configuration actions
19828 from templates according to the current configuration. Unless the files
19829 and actions are specified as TAGs, all are instantiated by default.
19831 Usage: $0 [OPTION]... [TAG]...
19833 -h, --help print this help, then exit
19834 -V, --version print version number and configuration settings, then exit
19835 --config print configuration, then exit
19836 -q, --quiet, --silent
19837 do not print progress messages
19838 -d, --debug don't remove temporary files
19839 --recheck update $as_me by reconfiguring in the same conditions
19840 --file=FILE[:TEMPLATE]
19841 instantiate the configuration file FILE
19842 --header=FILE[:TEMPLATE]
19843 instantiate the configuration header FILE
19845 Configuration files:
19846 $config_files
19848 Configuration headers:
19849 $config_headers
19851 Configuration links:
19852 $config_links
19854 Configuration commands:
19855 $config_commands
19857 Report bugs to <wine-devel@winehq.org>.
19858 Wine home page: <https://www.winehq.org>."
19860 _ACEOF
19861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19862 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19863 ac_cs_version="\\
19864 Wine config.status 3.0-rc4
19865 configured by $0, generated by GNU Autoconf 2.69,
19866 with options \\"\$ac_cs_config\\"
19868 Copyright (C) 2012 Free Software Foundation, Inc.
19869 This config.status script is free software; the Free Software Foundation
19870 gives unlimited permission to copy, distribute and modify it."
19872 ac_pwd='$ac_pwd'
19873 srcdir='$srcdir'
19874 test -n "\$AWK" || AWK=awk
19875 _ACEOF
19877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19878 # The default lists apply if the user does not specify any file.
19879 ac_need_defaults=:
19880 while test $# != 0
19882 case $1 in
19883 --*=?*)
19884 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19885 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19886 ac_shift=:
19888 --*=)
19889 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19890 ac_optarg=
19891 ac_shift=:
19894 ac_option=$1
19895 ac_optarg=$2
19896 ac_shift=shift
19898 esac
19900 case $ac_option in
19901 # Handling of the options.
19902 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19903 ac_cs_recheck=: ;;
19904 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19905 $as_echo "$ac_cs_version"; exit ;;
19906 --config | --confi | --conf | --con | --co | --c )
19907 $as_echo "$ac_cs_config"; exit ;;
19908 --debug | --debu | --deb | --de | --d | -d )
19909 debug=: ;;
19910 --file | --fil | --fi | --f )
19911 $ac_shift
19912 case $ac_optarg in
19913 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19914 '') as_fn_error $? "missing file argument" ;;
19915 esac
19916 as_fn_append CONFIG_FILES " '$ac_optarg'"
19917 ac_need_defaults=false;;
19918 --header | --heade | --head | --hea )
19919 $ac_shift
19920 case $ac_optarg in
19921 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19922 esac
19923 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19924 ac_need_defaults=false;;
19925 --he | --h)
19926 # Conflict between --help and --header
19927 as_fn_error $? "ambiguous option: \`$1'
19928 Try \`$0 --help' for more information.";;
19929 --help | --hel | -h )
19930 $as_echo "$ac_cs_usage"; exit ;;
19931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19932 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19933 ac_cs_silent=: ;;
19935 # This is an error.
19936 -*) as_fn_error $? "unrecognized option: \`$1'
19937 Try \`$0 --help' for more information." ;;
19939 *) as_fn_append ac_config_targets " $1"
19940 ac_need_defaults=false ;;
19942 esac
19943 shift
19944 done
19946 ac_configure_extra_args=
19948 if $ac_cs_silent; then
19949 exec 6>/dev/null
19950 ac_configure_extra_args="$ac_configure_extra_args --silent"
19953 _ACEOF
19954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19955 if \$ac_cs_recheck; then
19956 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19957 shift
19958 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19959 CONFIG_SHELL='$SHELL'
19960 export CONFIG_SHELL
19961 exec "\$@"
19964 _ACEOF
19965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19966 exec 5>>config.log
19968 echo
19969 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19970 ## Running $as_me. ##
19971 _ASBOX
19972 $as_echo "$ac_log"
19973 } >&5
19975 _ACEOF
19976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19978 # INIT-COMMANDS
19980 wine_fn_output_makedep ()
19982 as_dir=tools; as_fn_mkdir_p
19983 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19985 wine_fn_output_makefile ()
19987 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19988 `cat $wine_rules_file`
19989 _WINE_EOF
19990 as_fn_error $? "could not create Makefile" "$LINENO" 5
19993 _ACEOF
19995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19997 # Handling of arguments.
19998 for ac_config_target in $ac_config_targets
20000 case $ac_config_target in
20001 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20002 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20003 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20004 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20005 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20006 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20007 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20008 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20009 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20010 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20011 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20012 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20013 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20015 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20016 esac
20017 done
20020 # If the user did not use the arguments to specify the items to instantiate,
20021 # then the envvar interface is used. Set only those that are not.
20022 # We use the long form for the default assignment because of an extremely
20023 # bizarre bug on SunOS 4.1.3.
20024 if $ac_need_defaults; then
20025 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20026 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20027 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20028 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20031 # Have a temporary directory for convenience. Make it in the build tree
20032 # simply because there is no reason against having it here, and in addition,
20033 # creating and moving files from /tmp can sometimes cause problems.
20034 # Hook for its removal unless debugging.
20035 # Note that there is a small window in which the directory will not be cleaned:
20036 # after its creation but before its name has been assigned to `$tmp'.
20037 $debug ||
20039 tmp= ac_tmp=
20040 trap 'exit_status=$?
20041 : "${ac_tmp:=$tmp}"
20042 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20044 trap 'as_fn_exit 1' 1 2 13 15
20046 # Create a (secure) tmp directory for tmp files.
20049 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20050 test -d "$tmp"
20051 } ||
20053 tmp=./conf$$-$RANDOM
20054 (umask 077 && mkdir "$tmp")
20055 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20056 ac_tmp=$tmp
20058 # Set up the scripts for CONFIG_FILES section.
20059 # No need to generate them if there are no CONFIG_FILES.
20060 # This happens for instance with `./config.status config.h'.
20061 if test -n "$CONFIG_FILES"; then
20064 ac_cr=`echo X | tr X '\015'`
20065 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20066 # But we know of no other shell where ac_cr would be empty at this
20067 # point, so we can use a bashism as a fallback.
20068 if test "x$ac_cr" = x; then
20069 eval ac_cr=\$\'\\r\'
20071 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20072 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20073 ac_cs_awk_cr='\\r'
20074 else
20075 ac_cs_awk_cr=$ac_cr
20078 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20079 _ACEOF
20083 echo "cat >conf$$subs.awk <<_ACEOF" &&
20084 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20085 echo "_ACEOF"
20086 } >conf$$subs.sh ||
20087 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20088 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20089 ac_delim='%!_!# '
20090 for ac_last_try in false false false false false :; do
20091 . ./conf$$subs.sh ||
20092 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20094 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20095 if test $ac_delim_n = $ac_delim_num; then
20096 break
20097 elif $ac_last_try; then
20098 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20099 else
20100 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20102 done
20103 rm -f conf$$subs.sh
20105 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20106 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20107 _ACEOF
20108 sed -n '
20110 s/^/S["/; s/!.*/"]=/
20113 s/^[^!]*!//
20114 :repl
20115 t repl
20116 s/'"$ac_delim"'$//
20117 t delim
20120 s/\(.\{148\}\)..*/\1/
20121 t more1
20122 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20125 b repl
20126 :more1
20127 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20130 s/.\{148\}//
20131 t nl
20132 :delim
20134 s/\(.\{148\}\)..*/\1/
20135 t more2
20136 s/["\\]/\\&/g; s/^/"/; s/$/"/
20139 :more2
20140 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20143 s/.\{148\}//
20144 t delim
20145 ' <conf$$subs.awk | sed '
20146 /^[^""]/{
20148 s/\n//
20150 ' >>$CONFIG_STATUS || ac_write_fail=1
20151 rm -f conf$$subs.awk
20152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20153 _ACAWK
20154 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20155 for (key in S) S_is_set[key] = 1
20156 FS = "\a"
20160 line = $ 0
20161 nfields = split(line, field, "@")
20162 substed = 0
20163 len = length(field[1])
20164 for (i = 2; i < nfields; i++) {
20165 key = field[i]
20166 keylen = length(key)
20167 if (S_is_set[key]) {
20168 value = S[key]
20169 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20170 len += length(value) + length(field[++i])
20171 substed = 1
20172 } else
20173 len += 1 + keylen
20176 print line
20179 _ACAWK
20180 _ACEOF
20181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20182 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20183 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20184 else
20186 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20187 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20188 _ACEOF
20190 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20191 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20192 # trailing colons and then remove the whole line if VPATH becomes empty
20193 # (actually we leave an empty line to preserve line numbers).
20194 if test "x$srcdir" = x.; then
20195 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20197 s///
20198 s/^/:/
20199 s/[ ]*$/:/
20200 s/:\$(srcdir):/:/g
20201 s/:\${srcdir}:/:/g
20202 s/:@srcdir@:/:/g
20203 s/^:*//
20204 s/:*$//
20206 s/\(=[ ]*\).*/\1/
20208 s/\n//
20209 s/^[^=]*=[ ]*$//
20213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20214 fi # test -n "$CONFIG_FILES"
20216 # Set up the scripts for CONFIG_HEADERS section.
20217 # No need to generate them if there are no CONFIG_HEADERS.
20218 # This happens for instance with `./config.status Makefile'.
20219 if test -n "$CONFIG_HEADERS"; then
20220 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20221 BEGIN {
20222 _ACEOF
20224 # Transform confdefs.h into an awk script `defines.awk', embedded as
20225 # here-document in config.status, that substitutes the proper values into
20226 # config.h.in to produce config.h.
20228 # Create a delimiter string that does not exist in confdefs.h, to ease
20229 # handling of long lines.
20230 ac_delim='%!_!# '
20231 for ac_last_try in false false :; do
20232 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20233 if test -z "$ac_tt"; then
20234 break
20235 elif $ac_last_try; then
20236 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20237 else
20238 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20240 done
20242 # For the awk script, D is an array of macro values keyed by name,
20243 # likewise P contains macro parameters if any. Preserve backslash
20244 # newline sequences.
20246 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20247 sed -n '
20248 s/.\{148\}/&'"$ac_delim"'/g
20249 t rset
20250 :rset
20251 s/^[ ]*#[ ]*define[ ][ ]*/ /
20252 t def
20254 :def
20255 s/\\$//
20256 t bsnl
20257 s/["\\]/\\&/g
20258 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20259 D["\1"]=" \3"/p
20260 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20262 :bsnl
20263 s/["\\]/\\&/g
20264 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20265 D["\1"]=" \3\\\\\\n"\\/p
20266 t cont
20267 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20268 t cont
20270 :cont
20272 s/.\{148\}/&'"$ac_delim"'/g
20273 t clear
20274 :clear
20275 s/\\$//
20276 t bsnlc
20277 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20279 :bsnlc
20280 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20281 b cont
20282 ' <confdefs.h | sed '
20283 s/'"$ac_delim"'/"\\\
20284 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20287 for (key in D) D_is_set[key] = 1
20288 FS = "\a"
20290 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20291 line = \$ 0
20292 split(line, arg, " ")
20293 if (arg[1] == "#") {
20294 defundef = arg[2]
20295 mac1 = arg[3]
20296 } else {
20297 defundef = substr(arg[1], 2)
20298 mac1 = arg[2]
20300 split(mac1, mac2, "(") #)
20301 macro = mac2[1]
20302 prefix = substr(line, 1, index(line, defundef) - 1)
20303 if (D_is_set[macro]) {
20304 # Preserve the white space surrounding the "#".
20305 print prefix "define", macro P[macro] D[macro]
20306 next
20307 } else {
20308 # Replace #undef with comments. This is necessary, for example,
20309 # in the case of _POSIX_SOURCE, which is predefined and required
20310 # on some systems where configure will not decide to define it.
20311 if (defundef == "undef") {
20312 print "/*", prefix defundef, macro, "*/"
20313 next
20317 { print }
20318 _ACAWK
20319 _ACEOF
20320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20321 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20322 fi # test -n "$CONFIG_HEADERS"
20325 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20326 shift
20327 for ac_tag
20329 case $ac_tag in
20330 :[FHLC]) ac_mode=$ac_tag; continue;;
20331 esac
20332 case $ac_mode$ac_tag in
20333 :[FHL]*:*);;
20334 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20335 :[FH]-) ac_tag=-:-;;
20336 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20337 esac
20338 ac_save_IFS=$IFS
20339 IFS=:
20340 set x $ac_tag
20341 IFS=$ac_save_IFS
20342 shift
20343 ac_file=$1
20344 shift
20346 case $ac_mode in
20347 :L) ac_source=$1;;
20348 :[FH])
20349 ac_file_inputs=
20350 for ac_f
20352 case $ac_f in
20353 -) ac_f="$ac_tmp/stdin";;
20354 *) # Look for the file first in the build tree, then in the source tree
20355 # (if the path is not absolute). The absolute path cannot be DOS-style,
20356 # because $ac_f cannot contain `:'.
20357 test -f "$ac_f" ||
20358 case $ac_f in
20359 [\\/$]*) false;;
20360 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20361 esac ||
20362 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20363 esac
20364 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20365 as_fn_append ac_file_inputs " '$ac_f'"
20366 done
20368 # Let's still pretend it is `configure' which instantiates (i.e., don't
20369 # use $as_me), people would be surprised to read:
20370 # /* config.h. Generated by config.status. */
20371 configure_input='Generated from '`
20372 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20373 `' by configure.'
20374 if test x"$ac_file" != x-; then
20375 configure_input="$ac_file. $configure_input"
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20377 $as_echo "$as_me: creating $ac_file" >&6;}
20379 # Neutralize special characters interpreted by sed in replacement strings.
20380 case $configure_input in #(
20381 *\&* | *\|* | *\\* )
20382 ac_sed_conf_input=`$as_echo "$configure_input" |
20383 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20384 *) ac_sed_conf_input=$configure_input;;
20385 esac
20387 case $ac_tag in
20388 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20389 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20390 esac
20392 esac
20394 ac_dir=`$as_dirname -- "$ac_file" ||
20395 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20396 X"$ac_file" : 'X\(//\)[^/]' \| \
20397 X"$ac_file" : 'X\(//\)$' \| \
20398 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20399 $as_echo X"$ac_file" |
20400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20401 s//\1/
20404 /^X\(\/\/\)[^/].*/{
20405 s//\1/
20408 /^X\(\/\/\)$/{
20409 s//\1/
20412 /^X\(\/\).*/{
20413 s//\1/
20416 s/.*/./; q'`
20417 as_dir="$ac_dir"; as_fn_mkdir_p
20418 ac_builddir=.
20420 case "$ac_dir" in
20421 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20423 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20424 # A ".." for each directory in $ac_dir_suffix.
20425 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20426 case $ac_top_builddir_sub in
20427 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20428 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20429 esac ;;
20430 esac
20431 ac_abs_top_builddir=$ac_pwd
20432 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20433 # for backward compatibility:
20434 ac_top_builddir=$ac_top_build_prefix
20436 case $srcdir in
20437 .) # We are building in place.
20438 ac_srcdir=.
20439 ac_top_srcdir=$ac_top_builddir_sub
20440 ac_abs_top_srcdir=$ac_pwd ;;
20441 [\\/]* | ?:[\\/]* ) # Absolute name.
20442 ac_srcdir=$srcdir$ac_dir_suffix;
20443 ac_top_srcdir=$srcdir
20444 ac_abs_top_srcdir=$srcdir ;;
20445 *) # Relative name.
20446 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20447 ac_top_srcdir=$ac_top_build_prefix$srcdir
20448 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20449 esac
20450 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20453 case $ac_mode in
20456 # CONFIG_FILE
20459 _ACEOF
20461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20462 # If the template does not know about datarootdir, expand it.
20463 # FIXME: This hack should be removed a few years after 2.60.
20464 ac_datarootdir_hack=; ac_datarootdir_seen=
20465 ac_sed_dataroot='
20466 /datarootdir/ {
20470 /@datadir@/p
20471 /@docdir@/p
20472 /@infodir@/p
20473 /@localedir@/p
20474 /@mandir@/p'
20475 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20476 *datarootdir*) ac_datarootdir_seen=yes;;
20477 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20479 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20480 _ACEOF
20481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20482 ac_datarootdir_hack='
20483 s&@datadir@&$datadir&g
20484 s&@docdir@&$docdir&g
20485 s&@infodir@&$infodir&g
20486 s&@localedir@&$localedir&g
20487 s&@mandir@&$mandir&g
20488 s&\\\${datarootdir}&$datarootdir&g' ;;
20489 esac
20490 _ACEOF
20492 # Neutralize VPATH when `$srcdir' = `.'.
20493 # Shell code in configure.ac might set extrasub.
20494 # FIXME: do we really want to maintain this feature?
20495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20496 ac_sed_extra="$ac_vpsub
20497 $extrasub
20498 _ACEOF
20499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20501 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20502 s|@configure_input@|$ac_sed_conf_input|;t t
20503 s&@top_builddir@&$ac_top_builddir_sub&;t t
20504 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20505 s&@srcdir@&$ac_srcdir&;t t
20506 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20507 s&@top_srcdir@&$ac_top_srcdir&;t t
20508 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20509 s&@builddir@&$ac_builddir&;t t
20510 s&@abs_builddir@&$ac_abs_builddir&;t t
20511 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20512 $ac_datarootdir_hack
20514 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20515 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20517 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20518 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20519 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20520 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20522 which seems to be undefined. Please make sure it is defined" >&5
20523 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20524 which seems to be undefined. Please make sure it is defined" >&2;}
20526 rm -f "$ac_tmp/stdin"
20527 case $ac_file in
20528 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20529 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20530 esac \
20531 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20535 # CONFIG_HEADER
20537 if test x"$ac_file" != x-; then
20539 $as_echo "/* $configure_input */" \
20540 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20541 } >"$ac_tmp/config.h" \
20542 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20543 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20545 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20546 else
20547 rm -f "$ac_file"
20548 mv "$ac_tmp/config.h" "$ac_file" \
20549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20551 else
20552 $as_echo "/* $configure_input */" \
20553 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20554 || as_fn_error $? "could not create -" "$LINENO" 5
20559 # CONFIG_LINK
20562 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20564 else
20565 # Prefer the file from the source tree if names are identical.
20566 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20567 ac_source=$srcdir/$ac_source
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20571 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20573 if test ! -r "$ac_source"; then
20574 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20576 rm -f "$ac_file"
20578 # Try a relative symlink, then a hard link, then a copy.
20579 case $ac_source in
20580 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20581 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20582 esac
20583 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20584 ln "$ac_source" "$ac_file" 2>/dev/null ||
20585 cp -p "$ac_source" "$ac_file" ||
20586 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20589 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20590 $as_echo "$as_me: executing $ac_file commands" >&6;}
20592 esac
20595 case $ac_file$ac_mode in
20596 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20597 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20598 "Makefile":C) wine_fn_output_makefile Makefile ;;
20600 esac
20601 done # for ac_tag
20604 as_fn_exit 0
20605 _ACEOF
20606 ac_clean_files=$ac_clean_files_save
20608 test $ac_write_fail = 0 ||
20609 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20612 # configure is writing to config.log, and then calls config.status.
20613 # config.status does its own redirection, appending to config.log.
20614 # Unfortunately, on DOS this fails, as config.log is still kept open
20615 # by configure, so config.status won't be able to write to it; its
20616 # output is simply discarded. So we exec the FD to /dev/null,
20617 # effectively closing config.log, so it can be properly (re)opened and
20618 # appended to by config.status. When coming back to configure, we
20619 # need to make the FD available again.
20620 if test "$no_create" != yes; then
20621 ac_cs_success=:
20622 ac_config_status_args=
20623 test "$silent" = yes &&
20624 ac_config_status_args="$ac_config_status_args --quiet"
20625 exec 5>/dev/null
20626 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20627 exec 5>>config.log
20628 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20629 # would make configure fail if this is the last instruction.
20630 $ac_cs_success || as_fn_exit 1
20632 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20634 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20638 if test "$no_create" = "yes"
20639 then
20640 exit 0
20643 ac_save_IFS="$IFS"
20644 if test "x$wine_notices" != x; then
20645 echo >&6
20646 IFS="|"
20647 for msg in $wine_notices; do
20648 IFS="$ac_save_IFS"
20649 if ${msg:+false} :; then :
20651 else
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20653 $as_echo "$as_me: $msg" >&6;}
20655 done
20657 IFS="|"
20658 for msg in $wine_warnings; do
20659 IFS="$ac_save_IFS"
20660 if ${msg:+false} :; then :
20662 else
20663 echo >&2
20664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20665 $as_echo "$as_me: WARNING: $msg" >&2;}
20667 done
20668 IFS="$ac_save_IFS"
20670 $as_echo "
20671 $as_me: Finished. Do '${ac_make}' to compile Wine.
20672 " >&6