comdlg32/fontdlg: Allow setting value by typing it into the edit fields.
[wine.git] / configure
blob83f9b3043d823768e3f73379f2ad5188fd614f13
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.21.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='2.21'
584 PACKAGE_STRING='Wine 2.21'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 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_fontconfig
833 with_freetype
834 with_gettext
835 with_gettextpo
836 with_gphoto
837 with_glu
838 with_gnutls
839 with_gsm
840 with_gstreamer
841 with_hal
842 with_jpeg
843 with_krb5
844 with_ldap
845 with_mpg123
846 with_netapi
847 with_openal
848 with_opencl
849 with_opengl
850 with_osmesa
851 with_oss
852 with_pcap
853 with_png
854 with_pthread
855 with_pulse
856 with_sane
857 with_tiff
858 with_udev
859 with_v4l
860 with_xcomposite
861 with_xcursor
862 with_xfixes
863 with_xinerama
864 with_xinput
865 with_xinput2
866 with_xml
867 with_xrandr
868 with_xrender
869 with_xshape
870 with_xshm
871 with_xslt
872 with_xxf86vm
873 with_zlib
874 with_wine_tools
875 with_wine64
876 enable_largefile
877 with_x
878 enable_acledit
879 enable_aclui
880 enable_activeds
881 enable_actxprxy
882 enable_adsldpc
883 enable_advapi32
884 enable_advpack
885 enable_amstream
886 enable_api_ms_win_appmodel_identity_l1_1_0
887 enable_api_ms_win_appmodel_runtime_l1_1_1
888 enable_api_ms_win_appmodel_runtime_l1_1_2
889 enable_api_ms_win_core_apiquery_l1_1_0
890 enable_api_ms_win_core_appcompat_l1_1_1
891 enable_api_ms_win_core_appinit_l1_1_0
892 enable_api_ms_win_core_atoms_l1_1_0
893 enable_api_ms_win_core_bem_l1_1_0
894 enable_api_ms_win_core_com_l1_1_0
895 enable_api_ms_win_core_com_l1_1_1
896 enable_api_ms_win_core_com_private_l1_1_0
897 enable_api_ms_win_core_console_l1_1_0
898 enable_api_ms_win_core_console_l2_1_0
899 enable_api_ms_win_core_crt_l1_1_0
900 enable_api_ms_win_core_crt_l2_1_0
901 enable_api_ms_win_core_datetime_l1_1_0
902 enable_api_ms_win_core_datetime_l1_1_1
903 enable_api_ms_win_core_debug_l1_1_0
904 enable_api_ms_win_core_debug_l1_1_1
905 enable_api_ms_win_core_delayload_l1_1_0
906 enable_api_ms_win_core_delayload_l1_1_1
907 enable_api_ms_win_core_errorhandling_l1_1_0
908 enable_api_ms_win_core_errorhandling_l1_1_1
909 enable_api_ms_win_core_errorhandling_l1_1_2
910 enable_api_ms_win_core_errorhandling_l1_1_3
911 enable_api_ms_win_core_fibers_l1_1_0
912 enable_api_ms_win_core_fibers_l1_1_1
913 enable_api_ms_win_core_file_l1_1_0
914 enable_api_ms_win_core_file_l1_2_0
915 enable_api_ms_win_core_file_l1_2_1
916 enable_api_ms_win_core_file_l1_2_2
917 enable_api_ms_win_core_file_l2_1_0
918 enable_api_ms_win_core_file_l2_1_1
919 enable_api_ms_win_core_file_l2_1_2
920 enable_api_ms_win_core_handle_l1_1_0
921 enable_api_ms_win_core_heap_l1_1_0
922 enable_api_ms_win_core_heap_l1_2_0
923 enable_api_ms_win_core_heap_l2_1_0
924 enable_api_ms_win_core_heap_obsolete_l1_1_0
925 enable_api_ms_win_core_interlocked_l1_1_0
926 enable_api_ms_win_core_interlocked_l1_2_0
927 enable_api_ms_win_core_io_l1_1_0
928 enable_api_ms_win_core_io_l1_1_1
929 enable_api_ms_win_core_job_l1_1_0
930 enable_api_ms_win_core_job_l2_1_0
931 enable_api_ms_win_core_kernel32_legacy_l1_1_0
932 enable_api_ms_win_core_kernel32_legacy_l1_1_1
933 enable_api_ms_win_core_kernel32_private_l1_1_1
934 enable_api_ms_win_core_libraryloader_l1_1_0
935 enable_api_ms_win_core_libraryloader_l1_1_1
936 enable_api_ms_win_core_libraryloader_l1_2_0
937 enable_api_ms_win_core_libraryloader_l1_2_1
938 enable_api_ms_win_core_libraryloader_l1_2_2
939 enable_api_ms_win_core_localization_l1_1_0
940 enable_api_ms_win_core_localization_l1_2_0
941 enable_api_ms_win_core_localization_l1_2_1
942 enable_api_ms_win_core_localization_l2_1_0
943 enable_api_ms_win_core_localization_obsolete_l1_1_0
944 enable_api_ms_win_core_localization_obsolete_l1_2_0
945 enable_api_ms_win_core_localization_obsolete_l1_3_0
946 enable_api_ms_win_core_localization_private_l1_1_0
947 enable_api_ms_win_core_localregistry_l1_1_0
948 enable_api_ms_win_core_memory_l1_1_0
949 enable_api_ms_win_core_memory_l1_1_1
950 enable_api_ms_win_core_memory_l1_1_2
951 enable_api_ms_win_core_misc_l1_1_0
952 enable_api_ms_win_core_namedpipe_l1_1_0
953 enable_api_ms_win_core_namedpipe_l1_2_0
954 enable_api_ms_win_core_namespace_l1_1_0
955 enable_api_ms_win_core_normalization_l1_1_0
956 enable_api_ms_win_core_path_l1_1_0
957 enable_api_ms_win_core_privateprofile_l1_1_1
958 enable_api_ms_win_core_processenvironment_l1_1_0
959 enable_api_ms_win_core_processenvironment_l1_2_0
960 enable_api_ms_win_core_processthreads_l1_1_0
961 enable_api_ms_win_core_processthreads_l1_1_1
962 enable_api_ms_win_core_processthreads_l1_1_2
963 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
964 enable_api_ms_win_core_profile_l1_1_0
965 enable_api_ms_win_core_psapi_ansi_l1_1_0
966 enable_api_ms_win_core_psapi_l1_1_0
967 enable_api_ms_win_core_psapi_obsolete_l1_1_0
968 enable_api_ms_win_core_quirks_l1_1_0
969 enable_api_ms_win_core_realtime_l1_1_0
970 enable_api_ms_win_core_registry_l1_1_0
971 enable_api_ms_win_core_registry_l2_1_0
972 enable_api_ms_win_core_registryuserspecific_l1_1_0
973 enable_api_ms_win_core_rtlsupport_l1_1_0
974 enable_api_ms_win_core_rtlsupport_l1_2_0
975 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
976 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
977 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
978 enable_api_ms_win_core_sidebyside_l1_1_0
979 enable_api_ms_win_core_string_l1_1_0
980 enable_api_ms_win_core_string_l2_1_0
981 enable_api_ms_win_core_string_obsolete_l1_1_0
982 enable_api_ms_win_core_stringansi_l1_1_0
983 enable_api_ms_win_core_synch_ansi_l1_1_0
984 enable_api_ms_win_core_synch_l1_1_0
985 enable_api_ms_win_core_synch_l1_2_0
986 enable_api_ms_win_core_synch_l1_2_1
987 enable_api_ms_win_core_sysinfo_l1_1_0
988 enable_api_ms_win_core_sysinfo_l1_2_0
989 enable_api_ms_win_core_sysinfo_l1_2_1
990 enable_api_ms_win_core_threadpool_l1_1_0
991 enable_api_ms_win_core_threadpool_l1_2_0
992 enable_api_ms_win_core_threadpool_legacy_l1_1_0
993 enable_api_ms_win_core_threadpool_private_l1_1_0
994 enable_api_ms_win_core_timezone_l1_1_0
995 enable_api_ms_win_core_toolhelp_l1_1_0
996 enable_api_ms_win_core_url_l1_1_0
997 enable_api_ms_win_core_util_l1_1_0
998 enable_api_ms_win_core_version_l1_1_0
999 enable_api_ms_win_core_version_l1_1_1
1000 enable_api_ms_win_core_version_private_l1_1_0
1001 enable_api_ms_win_core_versionansi_l1_1_0
1002 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1003 enable_api_ms_win_core_winrt_error_l1_1_0
1004 enable_api_ms_win_core_winrt_error_l1_1_1
1005 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1006 enable_api_ms_win_core_winrt_l1_1_0
1007 enable_api_ms_win_core_winrt_registration_l1_1_0
1008 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1009 enable_api_ms_win_core_winrt_string_l1_1_0
1010 enable_api_ms_win_core_wow64_l1_1_0
1011 enable_api_ms_win_core_wow64_l1_1_1
1012 enable_api_ms_win_core_xstate_l1_1_0
1013 enable_api_ms_win_core_xstate_l2_1_0
1014 enable_api_ms_win_crt_conio_l1_1_0
1015 enable_api_ms_win_crt_convert_l1_1_0
1016 enable_api_ms_win_crt_environment_l1_1_0
1017 enable_api_ms_win_crt_filesystem_l1_1_0
1018 enable_api_ms_win_crt_heap_l1_1_0
1019 enable_api_ms_win_crt_locale_l1_1_0
1020 enable_api_ms_win_crt_math_l1_1_0
1021 enable_api_ms_win_crt_multibyte_l1_1_0
1022 enable_api_ms_win_crt_private_l1_1_0
1023 enable_api_ms_win_crt_process_l1_1_0
1024 enable_api_ms_win_crt_runtime_l1_1_0
1025 enable_api_ms_win_crt_stdio_l1_1_0
1026 enable_api_ms_win_crt_string_l1_1_0
1027 enable_api_ms_win_crt_time_l1_1_0
1028 enable_api_ms_win_crt_utility_l1_1_0
1029 enable_api_ms_win_devices_config_l1_1_1
1030 enable_api_ms_win_devices_query_l1_1_1
1031 enable_api_ms_win_downlevel_advapi32_l1_1_0
1032 enable_api_ms_win_downlevel_advapi32_l2_1_0
1033 enable_api_ms_win_downlevel_normaliz_l1_1_0
1034 enable_api_ms_win_downlevel_ole32_l1_1_0
1035 enable_api_ms_win_downlevel_shell32_l1_1_0
1036 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1037 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1038 enable_api_ms_win_downlevel_user32_l1_1_0
1039 enable_api_ms_win_downlevel_version_l1_1_0
1040 enable_api_ms_win_dx_d3dkmt_l1_1_0
1041 enable_api_ms_win_eventing_classicprovider_l1_1_0
1042 enable_api_ms_win_eventing_consumer_l1_1_0
1043 enable_api_ms_win_eventing_controller_l1_1_0
1044 enable_api_ms_win_eventing_legacy_l1_1_0
1045 enable_api_ms_win_eventing_provider_l1_1_0
1046 enable_api_ms_win_eventlog_legacy_l1_1_0
1047 enable_api_ms_win_mm_joystick_l1_1_0
1048 enable_api_ms_win_mm_misc_l1_1_1
1049 enable_api_ms_win_mm_mme_l1_1_0
1050 enable_api_ms_win_mm_time_l1_1_0
1051 enable_api_ms_win_ntuser_dc_access_l1_1_0
1052 enable_api_ms_win_ntuser_rectangle_l1_1_0
1053 enable_api_ms_win_power_base_l1_1_0
1054 enable_api_ms_win_power_setting_l1_1_0
1055 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1056 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1057 enable_api_ms_win_security_audit_l1_1_1
1058 enable_api_ms_win_security_base_l1_1_0
1059 enable_api_ms_win_security_base_l1_2_0
1060 enable_api_ms_win_security_base_private_l1_1_1
1061 enable_api_ms_win_security_credentials_l1_1_0
1062 enable_api_ms_win_security_grouppolicy_l1_1_0
1063 enable_api_ms_win_security_lsalookup_l1_1_0
1064 enable_api_ms_win_security_lsalookup_l1_1_1
1065 enable_api_ms_win_security_lsalookup_l2_1_1
1066 enable_api_ms_win_security_lsapolicy_l1_1_0
1067 enable_api_ms_win_security_provider_l1_1_0
1068 enable_api_ms_win_security_sddl_l1_1_0
1069 enable_api_ms_win_security_systemfunctions_l1_1_0
1070 enable_api_ms_win_service_core_l1_1_0
1071 enable_api_ms_win_service_core_l1_1_1
1072 enable_api_ms_win_service_management_l1_1_0
1073 enable_api_ms_win_service_management_l2_1_0
1074 enable_api_ms_win_service_private_l1_1_1
1075 enable_api_ms_win_service_winsvc_l1_1_0
1076 enable_api_ms_win_service_winsvc_l1_2_0
1077 enable_api_ms_win_shcore_scaling_l1_1_1
1078 enable_api_ms_win_shell_shellcom_l1_1_0
1079 enable_api_ms_win_shell_shellfolders_l1_1_0
1080 enable_apphelp
1081 enable_appwiz_cpl
1082 enable_atl
1083 enable_atl100
1084 enable_atl110
1085 enable_atl80
1086 enable_atl90
1087 enable_authz
1088 enable_avicap32
1089 enable_avifil32
1090 enable_avrt
1091 enable_bcrypt
1092 enable_bluetoothapis
1093 enable_browseui
1094 enable_bthprops_cpl
1095 enable_cabinet
1096 enable_capi2032
1097 enable_cards
1098 enable_cfgmgr32
1099 enable_clusapi
1100 enable_combase
1101 enable_comcat
1102 enable_comctl32
1103 enable_comdlg32
1104 enable_compstui
1105 enable_comsvcs
1106 enable_concrt140
1107 enable_connect
1108 enable_credui
1109 enable_crtdll
1110 enable_crypt32
1111 enable_cryptdlg
1112 enable_cryptdll
1113 enable_cryptext
1114 enable_cryptnet
1115 enable_cryptui
1116 enable_ctapi32
1117 enable_ctl3d32
1118 enable_d2d1
1119 enable_d3d10
1120 enable_d3d10_1
1121 enable_d3d10core
1122 enable_d3d11
1123 enable_d3d8
1124 enable_d3d9
1125 enable_d3dcompiler_33
1126 enable_d3dcompiler_34
1127 enable_d3dcompiler_35
1128 enable_d3dcompiler_36
1129 enable_d3dcompiler_37
1130 enable_d3dcompiler_38
1131 enable_d3dcompiler_39
1132 enable_d3dcompiler_40
1133 enable_d3dcompiler_41
1134 enable_d3dcompiler_42
1135 enable_d3dcompiler_43
1136 enable_d3dcompiler_46
1137 enable_d3dcompiler_47
1138 enable_d3dim
1139 enable_d3drm
1140 enable_d3dx10_33
1141 enable_d3dx10_34
1142 enable_d3dx10_35
1143 enable_d3dx10_36
1144 enable_d3dx10_37
1145 enable_d3dx10_38
1146 enable_d3dx10_39
1147 enable_d3dx10_40
1148 enable_d3dx10_41
1149 enable_d3dx10_42
1150 enable_d3dx10_43
1151 enable_d3dx11_42
1152 enable_d3dx11_43
1153 enable_d3dx9_24
1154 enable_d3dx9_25
1155 enable_d3dx9_26
1156 enable_d3dx9_27
1157 enable_d3dx9_28
1158 enable_d3dx9_29
1159 enable_d3dx9_30
1160 enable_d3dx9_31
1161 enable_d3dx9_32
1162 enable_d3dx9_33
1163 enable_d3dx9_34
1164 enable_d3dx9_35
1165 enable_d3dx9_36
1166 enable_d3dx9_37
1167 enable_d3dx9_38
1168 enable_d3dx9_39
1169 enable_d3dx9_40
1170 enable_d3dx9_41
1171 enable_d3dx9_42
1172 enable_d3dx9_43
1173 enable_d3dxof
1174 enable_davclnt
1175 enable_dbgeng
1176 enable_dbghelp
1177 enable_dciman32
1178 enable_ddraw
1179 enable_ddrawex
1180 enable_devenum
1181 enable_dhcpcsvc
1182 enable_difxapi
1183 enable_dinput
1184 enable_dinput8
1185 enable_dispex
1186 enable_dmband
1187 enable_dmcompos
1188 enable_dmime
1189 enable_dmloader
1190 enable_dmscript
1191 enable_dmstyle
1192 enable_dmsynth
1193 enable_dmusic
1194 enable_dmusic32
1195 enable_dnsapi
1196 enable_dplay
1197 enable_dplayx
1198 enable_dpnaddr
1199 enable_dpnet
1200 enable_dpnhpast
1201 enable_dpnlobby
1202 enable_dpvoice
1203 enable_dpwsockx
1204 enable_drmclien
1205 enable_dsound
1206 enable_dsquery
1207 enable_dssenh
1208 enable_dswave
1209 enable_dwmapi
1210 enable_dwrite
1211 enable_dx8vb
1212 enable_dxdiagn
1213 enable_dxgi
1214 enable_dxva2
1215 enable_esent
1216 enable_evr
1217 enable_explorerframe
1218 enable_ext_ms_win_authz_context_l1_1_0
1219 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1220 enable_ext_ms_win_gdi_dc_create_l1_1_1
1221 enable_ext_ms_win_gdi_dc_l1_2_0
1222 enable_ext_ms_win_gdi_devcaps_l1_1_0
1223 enable_ext_ms_win_gdi_draw_l1_1_1
1224 enable_ext_ms_win_gdi_render_l1_1_0
1225 enable_ext_ms_win_kernel32_package_current_l1_1_0
1226 enable_ext_ms_win_kernel32_package_l1_1_1
1227 enable_ext_ms_win_ntuser_message_l1_1_1
1228 enable_ext_ms_win_ntuser_private_l1_1_1
1229 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1230 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1231 enable_ext_ms_win_ntuser_window_l1_1_1
1232 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1233 enable_ext_ms_win_ras_rasapi32_l1_1_0
1234 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1235 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1236 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1237 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1238 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1239 enable_ext_ms_win_security_credui_l1_1_0
1240 enable_ext_ms_win_security_cryptui_l1_1_0
1241 enable_faultrep
1242 enable_fltlib
1243 enable_fltmgr_sys
1244 enable_fntcache
1245 enable_fontsub
1246 enable_fusion
1247 enable_fwpuclnt
1248 enable_gameux
1249 enable_gdi32
1250 enable_gdiplus
1251 enable_glu32
1252 enable_gphoto2_ds
1253 enable_gpkcsp
1254 enable_hal
1255 enable_hhctrl_ocx
1256 enable_hid
1257 enable_hidclass_sys
1258 enable_hlink
1259 enable_hnetcfg
1260 enable_httpapi
1261 enable_iccvid
1262 enable_icmp
1263 enable_ieframe
1264 enable_ieproxy
1265 enable_imaadp32_acm
1266 enable_imagehlp
1267 enable_imm32
1268 enable_inetcomm
1269 enable_inetcpl_cpl
1270 enable_inetmib1
1271 enable_infosoft
1272 enable_initpki
1273 enable_inkobj
1274 enable_inseng
1275 enable_iphlpapi
1276 enable_iprop
1277 enable_irprops_cpl
1278 enable_itircl
1279 enable_itss
1280 enable_joy_cpl
1281 enable_jscript
1282 enable_jsproxy
1283 enable_kerberos
1284 enable_kernel32
1285 enable_kernelbase
1286 enable_ksuser
1287 enable_ktmw32
1288 enable_l3codeca_acm
1289 enable_loadperf
1290 enable_localspl
1291 enable_localui
1292 enable_lz32
1293 enable_mapi32
1294 enable_mapistub
1295 enable_mciavi32
1296 enable_mcicda
1297 enable_mciqtz32
1298 enable_mciseq
1299 enable_mciwave
1300 enable_mf
1301 enable_mf3216
1302 enable_mfplat
1303 enable_mfreadwrite
1304 enable_mgmtapi
1305 enable_midimap
1306 enable_mlang
1307 enable_mmcndmgr
1308 enable_mmdevapi
1309 enable_mountmgr_sys
1310 enable_mpr
1311 enable_mprapi
1312 enable_msacm32_drv
1313 enable_msacm32
1314 enable_msadp32_acm
1315 enable_msasn1
1316 enable_mscat32
1317 enable_mscms
1318 enable_mscoree
1319 enable_msctf
1320 enable_msctfp
1321 enable_msdaps
1322 enable_msdelta
1323 enable_msdmo
1324 enable_msdrm
1325 enable_msftedit
1326 enable_msg711_acm
1327 enable_msgsm32_acm
1328 enable_mshtml_tlb
1329 enable_mshtml
1330 enable_msi
1331 enable_msident
1332 enable_msimg32
1333 enable_msimsg
1334 enable_msimtf
1335 enable_msisip
1336 enable_msisys_ocx
1337 enable_msls31
1338 enable_msnet32
1339 enable_mspatcha
1340 enable_msports
1341 enable_msrle32
1342 enable_msscript_ocx
1343 enable_mssign32
1344 enable_mssip32
1345 enable_mstask
1346 enable_msvcirt
1347 enable_msvcm80
1348 enable_msvcm90
1349 enable_msvcp100
1350 enable_msvcp110
1351 enable_msvcp120
1352 enable_msvcp120_app
1353 enable_msvcp140
1354 enable_msvcp60
1355 enable_msvcp70
1356 enable_msvcp71
1357 enable_msvcp80
1358 enable_msvcp90
1359 enable_msvcr100
1360 enable_msvcr110
1361 enable_msvcr120
1362 enable_msvcr120_app
1363 enable_msvcr70
1364 enable_msvcr71
1365 enable_msvcr80
1366 enable_msvcr90
1367 enable_msvcrt
1368 enable_msvcrt20
1369 enable_msvcrt40
1370 enable_msvcrtd
1371 enable_msvfw32
1372 enable_msvidc32
1373 enable_mswsock
1374 enable_msxml
1375 enable_msxml2
1376 enable_msxml3
1377 enable_msxml4
1378 enable_msxml6
1379 enable_mtxdm
1380 enable_ncrypt
1381 enable_nddeapi
1382 enable_ndis_sys
1383 enable_netapi32
1384 enable_netcfgx
1385 enable_netprofm
1386 enable_newdev
1387 enable_normaliz
1388 enable_npmshtml
1389 enable_npptools
1390 enable_ntdll
1391 enable_ntdsapi
1392 enable_ntoskrnl_exe
1393 enable_ntprint
1394 enable_objsel
1395 enable_odbc32
1396 enable_odbccp32
1397 enable_odbccu32
1398 enable_ole32
1399 enable_oleacc
1400 enable_oleaut32
1401 enable_olecli32
1402 enable_oledb32
1403 enable_oledlg
1404 enable_olepro32
1405 enable_olesvr32
1406 enable_olethk32
1407 enable_openal32
1408 enable_opencl
1409 enable_opengl32
1410 enable_packager
1411 enable_pdh
1412 enable_photometadatahandler
1413 enable_pidgen
1414 enable_powrprof
1415 enable_printui
1416 enable_prntvpt
1417 enable_propsys
1418 enable_psapi
1419 enable_pstorec
1420 enable_qcap
1421 enable_qedit
1422 enable_qmgr
1423 enable_qmgrprxy
1424 enable_quartz
1425 enable_query
1426 enable_rasapi32
1427 enable_rasdlg
1428 enable_regapi
1429 enable_resutils
1430 enable_riched20
1431 enable_riched32
1432 enable_rpcrt4
1433 enable_rsabase
1434 enable_rsaenh
1435 enable_rstrtmgr
1436 enable_rtutils
1437 enable_samlib
1438 enable_sane_ds
1439 enable_sapi
1440 enable_scarddlg
1441 enable_sccbase
1442 enable_schannel
1443 enable_schedsvc
1444 enable_scrobj
1445 enable_scrrun
1446 enable_scsiport_sys
1447 enable_secur32
1448 enable_security
1449 enable_sensapi
1450 enable_serialui
1451 enable_setupapi
1452 enable_sfc
1453 enable_sfc_os
1454 enable_shdoclc
1455 enable_shdocvw
1456 enable_shell32
1457 enable_shfolder
1458 enable_shlwapi
1459 enable_slbcsp
1460 enable_slc
1461 enable_snmpapi
1462 enable_softpub
1463 enable_spoolss
1464 enable_sspicli
1465 enable_stdole2_tlb
1466 enable_stdole32_tlb
1467 enable_sti
1468 enable_svrapi
1469 enable_sxs
1470 enable_t2embed
1471 enable_tapi32
1472 enable_taskschd
1473 enable_tdh
1474 enable_tdi_sys
1475 enable_traffic
1476 enable_twain_32
1477 enable_ucrtbase
1478 enable_uiautomationcore
1479 enable_uiribbon
1480 enable_unicows
1481 enable_updspapi
1482 enable_url
1483 enable_urlmon
1484 enable_usbd_sys
1485 enable_user32
1486 enable_userenv
1487 enable_usp10
1488 enable_uxtheme
1489 enable_vbscript
1490 enable_vcomp
1491 enable_vcomp100
1492 enable_vcomp110
1493 enable_vcomp120
1494 enable_vcomp140
1495 enable_vcomp90
1496 enable_vcruntime140
1497 enable_vdmdbg
1498 enable_version
1499 enable_virtdisk
1500 enable_vssapi
1501 enable_wbemdisp
1502 enable_wbemprox
1503 enable_webservices
1504 enable_wer
1505 enable_wevtapi
1506 enable_wiaservc
1507 enable_wimgapi
1508 enable_windowscodecs
1509 enable_windowscodecsext
1510 enable_winealsa_drv
1511 enable_wineandroid_drv
1512 enable_winebus_sys
1513 enable_winecoreaudio_drv
1514 enable_wined3d
1515 enable_winegstreamer
1516 enable_winehid_sys
1517 enable_winejoystick_drv
1518 enable_winemac_drv
1519 enable_winemapi
1520 enable_wineoss_drv
1521 enable_wineps_drv
1522 enable_winepulse_drv
1523 enable_wineqtdecoder
1524 enable_winex11_drv
1525 enable_wing32
1526 enable_winhttp
1527 enable_wininet
1528 enable_winmm
1529 enable_winnls32
1530 enable_winscard
1531 enable_winspool_drv
1532 enable_winsta
1533 enable_wintab32
1534 enable_wintrust
1535 enable_winusb
1536 enable_wlanapi
1537 enable_wldap32
1538 enable_wmasf
1539 enable_wmi
1540 enable_wmiutils
1541 enable_wmp
1542 enable_wmphoto
1543 enable_wmvcore
1544 enable_wnaspi32
1545 enable_wpc
1546 enable_wpcap
1547 enable_ws2_32
1548 enable_wsdapi
1549 enable_wshom_ocx
1550 enable_wsnmp32
1551 enable_wsock32
1552 enable_wtsapi32
1553 enable_wuapi
1554 enable_wuaueng
1555 enable_x3daudio1_0
1556 enable_x3daudio1_1
1557 enable_x3daudio1_2
1558 enable_x3daudio1_3
1559 enable_x3daudio1_4
1560 enable_x3daudio1_5
1561 enable_x3daudio1_6
1562 enable_x3daudio1_7
1563 enable_xapofx1_1
1564 enable_xapofx1_2
1565 enable_xapofx1_3
1566 enable_xapofx1_4
1567 enable_xapofx1_5
1568 enable_xaudio2_0
1569 enable_xaudio2_1
1570 enable_xaudio2_2
1571 enable_xaudio2_3
1572 enable_xaudio2_4
1573 enable_xaudio2_5
1574 enable_xaudio2_6
1575 enable_xaudio2_7
1576 enable_xaudio2_8
1577 enable_xaudio2_9
1578 enable_xinput1_1
1579 enable_xinput1_2
1580 enable_xinput1_3
1581 enable_xinput1_4
1582 enable_xinput9_1_0
1583 enable_xmllite
1584 enable_xolehlp
1585 enable_xpsprint
1586 enable_xpssvcs
1587 enable_fonts
1588 enable_include
1589 enable_libs_port
1590 enable_libs_wine
1591 enable_libs_wpp
1592 enable_loader
1593 enable_po
1594 enable_arp
1595 enable_aspnet_regiis
1596 enable_attrib
1597 enable_cabarc
1598 enable_cacls
1599 enable_clock
1600 enable_cmd
1601 enable_conhost
1602 enable_control
1603 enable_cscript
1604 enable_dpnsvr
1605 enable_dxdiag
1606 enable_eject
1607 enable_expand
1608 enable_explorer
1609 enable_extrac32
1610 enable_findstr
1611 enable_fsutil
1612 enable_hh
1613 enable_hostname
1614 enable_icacls
1615 enable_icinfo
1616 enable_iexplore
1617 enable_ipconfig
1618 enable_lodctr
1619 enable_mofcomp
1620 enable_mshta
1621 enable_msiexec
1622 enable_msinfo32
1623 enable_net
1624 enable_netsh
1625 enable_netstat
1626 enable_ngen
1627 enable_notepad
1628 enable_oleview
1629 enable_ping
1630 enable_plugplay
1631 enable_powershell
1632 enable_presentationfontcache
1633 enable_progman
1634 enable_reg
1635 enable_regasm
1636 enable_regedit
1637 enable_regsvcs
1638 enable_regsvr32
1639 enable_rpcss
1640 enable_rundll32
1641 enable_sc
1642 enable_schtasks
1643 enable_sdbinst
1644 enable_secedit
1645 enable_servicemodelreg
1646 enable_services
1647 enable_shutdown
1648 enable_spoolsv
1649 enable_start
1650 enable_subst
1651 enable_svchost
1652 enable_systeminfo
1653 enable_taskkill
1654 enable_tasklist
1655 enable_taskmgr
1656 enable_termsv
1657 enable_uninstaller
1658 enable_unlodctr
1659 enable_view
1660 enable_wevtutil
1661 enable_wineboot
1662 enable_winebrowser
1663 enable_winecfg
1664 enable_wineconsole
1665 enable_winedbg
1666 enable_winedevice
1667 enable_winefile
1668 enable_winemenubuilder
1669 enable_winemine
1670 enable_winemsibuilder
1671 enable_winepath
1672 enable_winetest
1673 enable_winhlp32
1674 enable_winver
1675 enable_wmic
1676 enable_wmplayer
1677 enable_wordpad
1678 enable_write
1679 enable_wscript
1680 enable_wusa
1681 enable_xcopy
1682 enable_server
1683 enable_tools
1685 ac_precious_vars='build_alias
1686 host_alias
1687 target_alias
1689 CFLAGS
1690 LDFLAGS
1691 LIBS
1692 CPPFLAGS
1694 CXXFLAGS
1697 XMKMF
1698 XML2_CFLAGS
1699 XML2_LIBS
1700 XSLT_CFLAGS
1701 XSLT_LIBS
1702 DBUS_CFLAGS
1703 DBUS_LIBS
1704 HAL_CFLAGS
1705 HAL_LIBS
1706 GNUTLS_CFLAGS
1707 GNUTLS_LIBS
1708 SANE_CFLAGS
1709 SANE_LIBS
1710 GPHOTO2_CFLAGS
1711 GPHOTO2_LIBS
1712 GPHOTO2_PORT_CFLAGS
1713 GPHOTO2_PORT_LIBS
1714 LCMS2_CFLAGS
1715 LCMS2_LIBS
1716 FREETYPE_CFLAGS
1717 FREETYPE_LIBS
1718 PULSE_CFLAGS
1719 PULSE_LIBS
1720 GSTREAMER_CFLAGS
1721 GSTREAMER_LIBS
1722 UDEV_CFLAGS
1723 UDEV_LIBS
1724 CAPI20_CFLAGS
1725 CAPI20_LIBS
1726 CUPS_CFLAGS
1727 CUPS_LIBS
1728 FONTCONFIG_CFLAGS
1729 FONTCONFIG_LIBS
1730 KRB5_CFLAGS
1731 KRB5_LIBS
1732 JPEG_CFLAGS
1733 JPEG_LIBS
1734 PNG_CFLAGS
1735 PNG_LIBS
1736 TIFF_CFLAGS
1737 TIFF_LIBS
1738 MPG123_CFLAGS
1739 MPG123_LIBS
1740 NETAPI_CFLAGS
1741 NETAPI_LIBS
1742 LDAP_CFLAGS
1743 LDAP_LIBS'
1746 # Initialize some variables set by options.
1747 ac_init_help=
1748 ac_init_version=false
1749 ac_unrecognized_opts=
1750 ac_unrecognized_sep=
1751 # The variables have the same names as the options, with
1752 # dashes changed to underlines.
1753 cache_file=/dev/null
1754 exec_prefix=NONE
1755 no_create=
1756 no_recursion=
1757 prefix=NONE
1758 program_prefix=NONE
1759 program_suffix=NONE
1760 program_transform_name=s,x,x,
1761 silent=
1762 site=
1763 srcdir=
1764 verbose=
1765 x_includes=NONE
1766 x_libraries=NONE
1768 # Installation directory options.
1769 # These are left unexpanded so users can "make install exec_prefix=/foo"
1770 # and all the variables that are supposed to be based on exec_prefix
1771 # by default will actually change.
1772 # Use braces instead of parens because sh, perl, etc. also accept them.
1773 # (The list follows the same order as the GNU Coding Standards.)
1774 bindir='${exec_prefix}/bin'
1775 sbindir='${exec_prefix}/sbin'
1776 libexecdir='${exec_prefix}/libexec'
1777 datarootdir='${prefix}/share'
1778 datadir='${datarootdir}'
1779 sysconfdir='${prefix}/etc'
1780 sharedstatedir='${prefix}/com'
1781 localstatedir='${prefix}/var'
1782 runstatedir='${localstatedir}/run'
1783 includedir='${prefix}/include'
1784 oldincludedir='/usr/include'
1785 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1786 infodir='${datarootdir}/info'
1787 htmldir='${docdir}'
1788 dvidir='${docdir}'
1789 pdfdir='${docdir}'
1790 psdir='${docdir}'
1791 libdir='${exec_prefix}/lib'
1792 localedir='${datarootdir}/locale'
1793 mandir='${datarootdir}/man'
1795 ac_prev=
1796 ac_dashdash=
1797 for ac_option
1799 # If the previous option needs an argument, assign it.
1800 if test -n "$ac_prev"; then
1801 eval $ac_prev=\$ac_option
1802 ac_prev=
1803 continue
1806 case $ac_option in
1807 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1808 *=) ac_optarg= ;;
1809 *) ac_optarg=yes ;;
1810 esac
1812 # Accept the important Cygnus configure options, so we can diagnose typos.
1814 case $ac_dashdash$ac_option in
1816 ac_dashdash=yes ;;
1818 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1819 ac_prev=bindir ;;
1820 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1821 bindir=$ac_optarg ;;
1823 -build | --build | --buil | --bui | --bu)
1824 ac_prev=build_alias ;;
1825 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1826 build_alias=$ac_optarg ;;
1828 -cache-file | --cache-file | --cache-fil | --cache-fi \
1829 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1830 ac_prev=cache_file ;;
1831 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1832 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1833 cache_file=$ac_optarg ;;
1835 --config-cache | -C)
1836 cache_file=config.cache ;;
1838 -datadir | --datadir | --datadi | --datad)
1839 ac_prev=datadir ;;
1840 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1841 datadir=$ac_optarg ;;
1843 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1844 | --dataroo | --dataro | --datar)
1845 ac_prev=datarootdir ;;
1846 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1847 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1848 datarootdir=$ac_optarg ;;
1850 -disable-* | --disable-*)
1851 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1852 # Reject names that are not valid shell variable names.
1853 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1854 as_fn_error $? "invalid feature name: $ac_useropt"
1855 ac_useropt_orig=$ac_useropt
1856 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1857 case $ac_user_opts in
1859 "enable_$ac_useropt"
1860 "*) ;;
1861 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1862 ac_unrecognized_sep=', ';;
1863 esac
1864 eval enable_$ac_useropt=no ;;
1866 -docdir | --docdir | --docdi | --doc | --do)
1867 ac_prev=docdir ;;
1868 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1869 docdir=$ac_optarg ;;
1871 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1872 ac_prev=dvidir ;;
1873 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1874 dvidir=$ac_optarg ;;
1876 -enable-* | --enable-*)
1877 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1878 # Reject names that are not valid shell variable names.
1879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1880 as_fn_error $? "invalid feature name: $ac_useropt"
1881 ac_useropt_orig=$ac_useropt
1882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1883 case $ac_user_opts in
1885 "enable_$ac_useropt"
1886 "*) ;;
1887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1888 ac_unrecognized_sep=', ';;
1889 esac
1890 eval enable_$ac_useropt=\$ac_optarg ;;
1892 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1893 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1894 | --exec | --exe | --ex)
1895 ac_prev=exec_prefix ;;
1896 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1897 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1898 | --exec=* | --exe=* | --ex=*)
1899 exec_prefix=$ac_optarg ;;
1901 -gas | --gas | --ga | --g)
1902 # Obsolete; use --with-gas.
1903 with_gas=yes ;;
1905 -help | --help | --hel | --he | -h)
1906 ac_init_help=long ;;
1907 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1908 ac_init_help=recursive ;;
1909 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1910 ac_init_help=short ;;
1912 -host | --host | --hos | --ho)
1913 ac_prev=host_alias ;;
1914 -host=* | --host=* | --hos=* | --ho=*)
1915 host_alias=$ac_optarg ;;
1917 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1918 ac_prev=htmldir ;;
1919 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1920 | --ht=*)
1921 htmldir=$ac_optarg ;;
1923 -includedir | --includedir | --includedi | --included | --include \
1924 | --includ | --inclu | --incl | --inc)
1925 ac_prev=includedir ;;
1926 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1927 | --includ=* | --inclu=* | --incl=* | --inc=*)
1928 includedir=$ac_optarg ;;
1930 -infodir | --infodir | --infodi | --infod | --info | --inf)
1931 ac_prev=infodir ;;
1932 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1933 infodir=$ac_optarg ;;
1935 -libdir | --libdir | --libdi | --libd)
1936 ac_prev=libdir ;;
1937 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1938 libdir=$ac_optarg ;;
1940 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1941 | --libexe | --libex | --libe)
1942 ac_prev=libexecdir ;;
1943 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1944 | --libexe=* | --libex=* | --libe=*)
1945 libexecdir=$ac_optarg ;;
1947 -localedir | --localedir | --localedi | --localed | --locale)
1948 ac_prev=localedir ;;
1949 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1950 localedir=$ac_optarg ;;
1952 -localstatedir | --localstatedir | --localstatedi | --localstated \
1953 | --localstate | --localstat | --localsta | --localst | --locals)
1954 ac_prev=localstatedir ;;
1955 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1956 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1957 localstatedir=$ac_optarg ;;
1959 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1960 ac_prev=mandir ;;
1961 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1962 mandir=$ac_optarg ;;
1964 -nfp | --nfp | --nf)
1965 # Obsolete; use --without-fp.
1966 with_fp=no ;;
1968 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1969 | --no-cr | --no-c | -n)
1970 no_create=yes ;;
1972 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1973 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1974 no_recursion=yes ;;
1976 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1977 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1978 | --oldin | --oldi | --old | --ol | --o)
1979 ac_prev=oldincludedir ;;
1980 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1981 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1982 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1983 oldincludedir=$ac_optarg ;;
1985 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1986 ac_prev=prefix ;;
1987 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1988 prefix=$ac_optarg ;;
1990 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1991 | --program-pre | --program-pr | --program-p)
1992 ac_prev=program_prefix ;;
1993 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1994 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1995 program_prefix=$ac_optarg ;;
1997 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1998 | --program-suf | --program-su | --program-s)
1999 ac_prev=program_suffix ;;
2000 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2001 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2002 program_suffix=$ac_optarg ;;
2004 -program-transform-name | --program-transform-name \
2005 | --program-transform-nam | --program-transform-na \
2006 | --program-transform-n | --program-transform- \
2007 | --program-transform | --program-transfor \
2008 | --program-transfo | --program-transf \
2009 | --program-trans | --program-tran \
2010 | --progr-tra | --program-tr | --program-t)
2011 ac_prev=program_transform_name ;;
2012 -program-transform-name=* | --program-transform-name=* \
2013 | --program-transform-nam=* | --program-transform-na=* \
2014 | --program-transform-n=* | --program-transform-=* \
2015 | --program-transform=* | --program-transfor=* \
2016 | --program-transfo=* | --program-transf=* \
2017 | --program-trans=* | --program-tran=* \
2018 | --progr-tra=* | --program-tr=* | --program-t=*)
2019 program_transform_name=$ac_optarg ;;
2021 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2022 ac_prev=pdfdir ;;
2023 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2024 pdfdir=$ac_optarg ;;
2026 -psdir | --psdir | --psdi | --psd | --ps)
2027 ac_prev=psdir ;;
2028 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2029 psdir=$ac_optarg ;;
2031 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2032 | -silent | --silent | --silen | --sile | --sil)
2033 silent=yes ;;
2035 -runstatedir | --runstatedir | --runstatedi | --runstated \
2036 | --runstate | --runstat | --runsta | --runst | --runs \
2037 | --run | --ru | --r)
2038 ac_prev=runstatedir ;;
2039 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2040 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2041 | --run=* | --ru=* | --r=*)
2042 runstatedir=$ac_optarg ;;
2044 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2045 ac_prev=sbindir ;;
2046 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2047 | --sbi=* | --sb=*)
2048 sbindir=$ac_optarg ;;
2050 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2051 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2052 | --sharedst | --shareds | --shared | --share | --shar \
2053 | --sha | --sh)
2054 ac_prev=sharedstatedir ;;
2055 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2056 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2057 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2058 | --sha=* | --sh=*)
2059 sharedstatedir=$ac_optarg ;;
2061 -site | --site | --sit)
2062 ac_prev=site ;;
2063 -site=* | --site=* | --sit=*)
2064 site=$ac_optarg ;;
2066 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2067 ac_prev=srcdir ;;
2068 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2069 srcdir=$ac_optarg ;;
2071 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2072 | --syscon | --sysco | --sysc | --sys | --sy)
2073 ac_prev=sysconfdir ;;
2074 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2075 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2076 sysconfdir=$ac_optarg ;;
2078 -target | --target | --targe | --targ | --tar | --ta | --t)
2079 ac_prev=target_alias ;;
2080 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2081 target_alias=$ac_optarg ;;
2083 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2084 verbose=yes ;;
2086 -version | --version | --versio | --versi | --vers | -V)
2087 ac_init_version=: ;;
2089 -with-* | --with-*)
2090 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2091 # Reject names that are not valid shell variable names.
2092 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2093 as_fn_error $? "invalid package name: $ac_useropt"
2094 ac_useropt_orig=$ac_useropt
2095 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2096 case $ac_user_opts in
2098 "with_$ac_useropt"
2099 "*) ;;
2100 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2101 ac_unrecognized_sep=', ';;
2102 esac
2103 eval with_$ac_useropt=\$ac_optarg ;;
2105 -without-* | --without-*)
2106 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2107 # Reject names that are not valid shell variable names.
2108 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2109 as_fn_error $? "invalid package name: $ac_useropt"
2110 ac_useropt_orig=$ac_useropt
2111 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2112 case $ac_user_opts in
2114 "with_$ac_useropt"
2115 "*) ;;
2116 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2117 ac_unrecognized_sep=', ';;
2118 esac
2119 eval with_$ac_useropt=no ;;
2121 --x)
2122 # Obsolete; use --with-x.
2123 with_x=yes ;;
2125 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2126 | --x-incl | --x-inc | --x-in | --x-i)
2127 ac_prev=x_includes ;;
2128 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2129 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2130 x_includes=$ac_optarg ;;
2132 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2133 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2134 ac_prev=x_libraries ;;
2135 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2136 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2137 x_libraries=$ac_optarg ;;
2139 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2140 Try \`$0 --help' for more information"
2143 *=*)
2144 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2145 # Reject names that are not valid shell variable names.
2146 case $ac_envvar in #(
2147 '' | [0-9]* | *[!_$as_cr_alnum]* )
2148 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2149 esac
2150 eval $ac_envvar=\$ac_optarg
2151 export $ac_envvar ;;
2154 # FIXME: should be removed in autoconf 3.0.
2155 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2156 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2157 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2158 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2161 esac
2162 done
2164 if test -n "$ac_prev"; then
2165 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2166 as_fn_error $? "missing argument to $ac_option"
2169 if test -n "$ac_unrecognized_opts"; then
2170 case $enable_option_checking in
2171 no) ;;
2172 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2173 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2174 esac
2177 # Check all directory arguments for consistency.
2178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2179 datadir sysconfdir sharedstatedir localstatedir includedir \
2180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2181 libdir localedir mandir runstatedir
2183 eval ac_val=\$$ac_var
2184 # Remove trailing slashes.
2185 case $ac_val in
2186 */ )
2187 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2188 eval $ac_var=\$ac_val;;
2189 esac
2190 # Be sure to have absolute directory names.
2191 case $ac_val in
2192 [\\/$]* | ?:[\\/]* ) continue;;
2193 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2194 esac
2195 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2196 done
2198 # There might be people who depend on the old broken behavior: `$host'
2199 # used to hold the argument of --host etc.
2200 # FIXME: To remove some day.
2201 build=$build_alias
2202 host=$host_alias
2203 target=$target_alias
2205 # FIXME: To remove some day.
2206 if test "x$host_alias" != x; then
2207 if test "x$build_alias" = x; then
2208 cross_compiling=maybe
2209 elif test "x$build_alias" != "x$host_alias"; then
2210 cross_compiling=yes
2214 ac_tool_prefix=
2215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2217 test "$silent" = yes && exec 6>/dev/null
2220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2221 ac_ls_di=`ls -di .` &&
2222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2223 as_fn_error $? "working directory cannot be determined"
2224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2225 as_fn_error $? "pwd does not report name of working directory"
2228 # Find the source files, if location was not specified.
2229 if test -z "$srcdir"; then
2230 ac_srcdir_defaulted=yes
2231 # Try the directory containing this script, then the parent directory.
2232 ac_confdir=`$as_dirname -- "$as_myself" ||
2233 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2234 X"$as_myself" : 'X\(//\)[^/]' \| \
2235 X"$as_myself" : 'X\(//\)$' \| \
2236 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2237 $as_echo X"$as_myself" |
2238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2239 s//\1/
2242 /^X\(\/\/\)[^/].*/{
2243 s//\1/
2246 /^X\(\/\/\)$/{
2247 s//\1/
2250 /^X\(\/\).*/{
2251 s//\1/
2254 s/.*/./; q'`
2255 srcdir=$ac_confdir
2256 if test ! -r "$srcdir/$ac_unique_file"; then
2257 srcdir=..
2259 else
2260 ac_srcdir_defaulted=no
2262 if test ! -r "$srcdir/$ac_unique_file"; then
2263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2264 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2267 ac_abs_confdir=`(
2268 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2269 pwd)`
2270 # When building in place, set srcdir=.
2271 if test "$ac_abs_confdir" = "$ac_pwd"; then
2272 srcdir=.
2274 # Remove unnecessary trailing slashes from srcdir.
2275 # Double slashes in file names in object file debugging info
2276 # mess up M-x gdb in Emacs.
2277 case $srcdir in
2278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2279 esac
2280 for ac_var in $ac_precious_vars; do
2281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2282 eval ac_env_${ac_var}_value=\$${ac_var}
2283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2285 done
2288 # Report the --help message.
2290 if test "$ac_init_help" = "long"; then
2291 # Omit some internal or obsolete options to make the list less imposing.
2292 # This message is too long to be a string in the A/UX 3.1 sh.
2293 cat <<_ACEOF
2294 \`configure' configures Wine 2.21 to adapt to many kinds of systems.
2296 Usage: $0 [OPTION]... [VAR=VALUE]...
2298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2299 VAR=VALUE. See below for descriptions of some of the useful variables.
2301 Defaults for the options are specified in brackets.
2303 Configuration:
2304 -h, --help display this help and exit
2305 --help=short display options specific to this package
2306 --help=recursive display the short help of all the included packages
2307 -V, --version display version information and exit
2308 -q, --quiet, --silent do not print \`checking ...' messages
2309 --cache-file=FILE cache test results in FILE [disabled]
2310 -C, --config-cache alias for \`--cache-file=config.cache'
2311 -n, --no-create do not create output files
2312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2314 Installation directories:
2315 --prefix=PREFIX install architecture-independent files in PREFIX
2316 [$ac_default_prefix]
2317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2318 [PREFIX]
2320 By default, \`make install' will install all the files in
2321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2323 for instance \`--prefix=\$HOME'.
2325 For better control, use the options below.
2327 Fine tuning of the installation directories:
2328 --bindir=DIR user executables [EPREFIX/bin]
2329 --sbindir=DIR system admin executables [EPREFIX/sbin]
2330 --libexecdir=DIR program executables [EPREFIX/libexec]
2331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2334 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2335 --libdir=DIR object code libraries [EPREFIX/lib]
2336 --includedir=DIR C header files [PREFIX/include]
2337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2340 --infodir=DIR info documentation [DATAROOTDIR/info]
2341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2342 --mandir=DIR man documentation [DATAROOTDIR/man]
2343 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2344 --htmldir=DIR html documentation [DOCDIR]
2345 --dvidir=DIR dvi documentation [DOCDIR]
2346 --pdfdir=DIR pdf documentation [DOCDIR]
2347 --psdir=DIR ps documentation [DOCDIR]
2348 _ACEOF
2350 cat <<\_ACEOF
2352 X features:
2353 --x-includes=DIR X include files are in DIR
2354 --x-libraries=DIR X library files are in DIR
2356 System types:
2357 --build=BUILD configure for building on BUILD [guessed]
2358 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2359 _ACEOF
2362 if test -n "$ac_init_help"; then
2363 case $ac_init_help in
2364 short | recursive ) echo "Configuration of Wine 2.21:";;
2365 esac
2366 cat <<\_ACEOF
2368 Optional Features:
2369 --disable-option-checking ignore unrecognized --enable/--with options
2370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2372 --disable-win16 do not include Win16 support
2373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2374 binaries)
2375 --disable-tests do not build the regression tests
2376 --enable-maintainer-mode
2377 enable maintainer-specific build rules
2378 --disable-largefile omit support for large files
2380 Optional Packages:
2381 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2382 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2383 --without-alsa do not use the Alsa sound support
2384 --without-capi do not use CAPI (ISDN support)
2385 --without-cms do not use CMS (color management support)
2386 --without-coreaudio do not use the CoreAudio sound support
2387 --without-cups do not use CUPS
2388 --without-curses do not use (n)curses
2389 --without-dbus do not use DBus (dynamic device support)
2390 --without-fontconfig do not use fontconfig
2391 --without-freetype do not use the FreeType library
2392 --without-gettext do not use gettext
2393 --with-gettextpo use the GetTextPO library to rebuild po files
2394 --without-gphoto do not use gphoto (Digital Camera support)
2395 --without-glu do not use the GLU library
2396 --without-gnutls do not use GnuTLS (schannel support)
2397 --without-gsm do not use libgsm (GSM 06.10 codec support)
2398 --without-gstreamer do not use GStreamer (codecs support)
2399 --without-hal do not use HAL (dynamic device support)
2400 --without-jpeg do not use JPEG
2401 --without-krb5 do not use krb5 (Kerberos)
2402 --without-ldap do not use LDAP
2403 --without-mpg123 do not use the mpg123 library
2404 --without-netapi do not use the Samba NetAPI library
2405 --without-openal do not use OpenAL
2406 --without-opencl do not use OpenCL
2407 --without-opengl do not use OpenGL
2408 --without-osmesa do not use the OSMesa library
2409 --without-oss do not use the OSS sound support
2410 --without-pcap do not use the Packet Capture library
2411 --without-png do not use PNG
2412 --without-pthread do not use the pthread library
2413 --without-pulse do not use PulseAudio sound support
2414 --without-sane do not use SANE (scanner support)
2415 --without-tiff do not use TIFF
2416 --without-udev do not use udev (plug and play support)
2417 --without-v4l do not use v4l1 (v4l support)
2418 --without-xcomposite do not use the Xcomposite extension
2419 --without-xcursor do not use the Xcursor extension
2420 --without-xfixes do not use Xfixes for clipboard change notifications
2421 --without-xinerama do not use Xinerama (multi-monitor support)
2422 --without-xinput do not use the Xinput extension
2423 --without-xinput2 do not use the Xinput 2 extension
2424 --without-xml do not use XML
2425 --without-xrandr do not use Xrandr (resolution changes)
2426 --without-xrender do not use the Xrender extension
2427 --without-xshape do not use the Xshape extension
2428 --without-xshm do not use XShm (shared memory extension)
2429 --without-xslt do not use XSLT
2430 --without-xxf86vm do not use XFree video mode extension
2431 --without-zlib do not use Zlib (data compression)
2432 --with-wine-tools=DIR use Wine tools from directory DIR
2433 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2434 --with-x use the X Window System
2436 Some influential environment variables:
2437 CC C compiler command
2438 CFLAGS C compiler flags
2439 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2440 nonstandard directory <lib dir>
2441 LIBS libraries to pass to the linker, e.g. -l<library>
2442 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2443 you have headers in a nonstandard directory <include dir>
2444 CXX C++ compiler command
2445 CXXFLAGS C++ compiler flags
2446 CPP C preprocessor
2447 XMKMF Path to xmkmf, Makefile generator for X Window System
2448 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2449 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2450 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2451 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2452 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2453 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2454 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2455 HAL_LIBS Linker flags for hal, overriding pkg-config
2456 GNUTLS_CFLAGS
2457 C compiler flags for gnutls, overriding pkg-config
2458 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2459 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2460 SANE_LIBS Linker flags for libsane, overriding pkg-config
2461 GPHOTO2_CFLAGS
2462 C compiler flags for libgphoto2, overriding pkg-config
2463 GPHOTO2_LIBS
2464 Linker flags for libgphoto2, overriding pkg-config
2465 GPHOTO2_PORT_CFLAGS
2466 C compiler flags for libgphoto2_port, overriding pkg-config
2467 GPHOTO2_PORT_LIBS
2468 Linker flags for libgphoto2_port, overriding pkg-config
2469 LCMS2_CFLAGS
2470 C compiler flags for lcms2, overriding pkg-config
2471 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2472 FREETYPE_CFLAGS
2473 C compiler flags for freetype2, overriding pkg-config
2474 FREETYPE_LIBS
2475 Linker flags for freetype2, overriding pkg-config
2476 PULSE_CFLAGS
2477 C compiler flags for libpulse, overriding pkg-config
2478 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2479 GSTREAMER_CFLAGS
2480 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2481 gstreamer-audio-1.0, overriding pkg-config
2482 GSTREAMER_LIBS
2483 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2484 gstreamer-audio-1.0, overriding pkg-config
2485 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2486 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2487 CAPI20_CFLAGS
2488 C compiler flags for capi20, overriding pkg-config
2489 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2490 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2491 CUPS_LIBS Linker flags for cups, overriding pkg-config
2492 FONTCONFIG_CFLAGS
2493 C compiler flags for fontconfig, overriding pkg-config
2494 FONTCONFIG_LIBS
2495 Linker flags for fontconfig, overriding pkg-config
2496 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2497 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2498 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2499 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2500 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2501 PNG_LIBS Linker flags for libpng, overriding pkg-config
2502 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2503 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2504 MPG123_CFLAGS
2505 C compiler flags for libmpg123, overriding pkg-config
2506 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2507 NETAPI_CFLAGS
2508 C compiler flags for netapi, overriding pkg-config
2509 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2510 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2511 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2513 Use these variables to override the choices made by `configure' or to help
2514 it to find libraries and programs with nonstandard names/locations.
2516 Report bugs to <wine-devel@winehq.org>.
2517 Wine home page: <http://www.winehq.org>.
2518 _ACEOF
2519 ac_status=$?
2522 if test "$ac_init_help" = "recursive"; then
2523 # If there are subdirs, report their specific --help.
2524 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2525 test -d "$ac_dir" ||
2526 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2527 continue
2528 ac_builddir=.
2530 case "$ac_dir" in
2531 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2533 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2534 # A ".." for each directory in $ac_dir_suffix.
2535 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2536 case $ac_top_builddir_sub in
2537 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2538 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2539 esac ;;
2540 esac
2541 ac_abs_top_builddir=$ac_pwd
2542 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2543 # for backward compatibility:
2544 ac_top_builddir=$ac_top_build_prefix
2546 case $srcdir in
2547 .) # We are building in place.
2548 ac_srcdir=.
2549 ac_top_srcdir=$ac_top_builddir_sub
2550 ac_abs_top_srcdir=$ac_pwd ;;
2551 [\\/]* | ?:[\\/]* ) # Absolute name.
2552 ac_srcdir=$srcdir$ac_dir_suffix;
2553 ac_top_srcdir=$srcdir
2554 ac_abs_top_srcdir=$srcdir ;;
2555 *) # Relative name.
2556 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2557 ac_top_srcdir=$ac_top_build_prefix$srcdir
2558 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2559 esac
2560 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2562 cd "$ac_dir" || { ac_status=$?; continue; }
2563 # Check for guested configure.
2564 if test -f "$ac_srcdir/configure.gnu"; then
2565 echo &&
2566 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2567 elif test -f "$ac_srcdir/configure"; then
2568 echo &&
2569 $SHELL "$ac_srcdir/configure" --help=recursive
2570 else
2571 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2572 fi || ac_status=$?
2573 cd "$ac_pwd" || { ac_status=$?; break; }
2574 done
2577 test -n "$ac_init_help" && exit $ac_status
2578 if $ac_init_version; then
2579 cat <<\_ACEOF
2580 Wine configure 2.21
2581 generated by GNU Autoconf 2.69
2583 Copyright (C) 2012 Free Software Foundation, Inc.
2584 This configure script is free software; the Free Software Foundation
2585 gives unlimited permission to copy, distribute and modify it.
2586 _ACEOF
2587 exit
2590 ## ------------------------ ##
2591 ## Autoconf initialization. ##
2592 ## ------------------------ ##
2594 # ac_fn_c_try_compile LINENO
2595 # --------------------------
2596 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2597 ac_fn_c_try_compile ()
2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2600 rm -f conftest.$ac_objext
2601 if { { ac_try="$ac_compile"
2602 case "(($ac_try" in
2603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2604 *) ac_try_echo=$ac_try;;
2605 esac
2606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2607 $as_echo "$ac_try_echo"; } >&5
2608 (eval "$ac_compile") 2>conftest.err
2609 ac_status=$?
2610 if test -s conftest.err; then
2611 grep -v '^ *+' conftest.err >conftest.er1
2612 cat conftest.er1 >&5
2613 mv -f conftest.er1 conftest.err
2615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2616 test $ac_status = 0; } && {
2617 test -z "$ac_c_werror_flag" ||
2618 test ! -s conftest.err
2619 } && test -s conftest.$ac_objext; then :
2620 ac_retval=0
2621 else
2622 $as_echo "$as_me: failed program was:" >&5
2623 sed 's/^/| /' conftest.$ac_ext >&5
2625 ac_retval=1
2627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2628 as_fn_set_status $ac_retval
2630 } # ac_fn_c_try_compile
2632 # ac_fn_cxx_try_compile LINENO
2633 # ----------------------------
2634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2635 ac_fn_cxx_try_compile ()
2637 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2638 rm -f conftest.$ac_objext
2639 if { { ac_try="$ac_compile"
2640 case "(($ac_try" in
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2643 esac
2644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645 $as_echo "$ac_try_echo"; } >&5
2646 (eval "$ac_compile") 2>conftest.err
2647 ac_status=$?
2648 if test -s conftest.err; then
2649 grep -v '^ *+' conftest.err >conftest.er1
2650 cat conftest.er1 >&5
2651 mv -f conftest.er1 conftest.err
2653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2654 test $ac_status = 0; } && {
2655 test -z "$ac_cxx_werror_flag" ||
2656 test ! -s conftest.err
2657 } && test -s conftest.$ac_objext; then :
2658 ac_retval=0
2659 else
2660 $as_echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2663 ac_retval=1
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2666 as_fn_set_status $ac_retval
2668 } # ac_fn_cxx_try_compile
2670 # ac_fn_c_try_link LINENO
2671 # -----------------------
2672 # Try to link conftest.$ac_ext, and return whether this succeeded.
2673 ac_fn_c_try_link ()
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 rm -f conftest.$ac_objext conftest$ac_exeext
2677 if { { ac_try="$ac_link"
2678 case "(($ac_try" in
2679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2681 esac
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_link") 2>conftest.err
2685 ac_status=$?
2686 if test -s conftest.err; then
2687 grep -v '^ *+' conftest.err >conftest.er1
2688 cat conftest.er1 >&5
2689 mv -f conftest.er1 conftest.err
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; } && {
2693 test -z "$ac_c_werror_flag" ||
2694 test ! -s conftest.err
2695 } && test -s conftest$ac_exeext && {
2696 test "$cross_compiling" = yes ||
2697 test -x conftest$ac_exeext
2698 }; then :
2699 ac_retval=0
2700 else
2701 $as_echo "$as_me: failed program was:" >&5
2702 sed 's/^/| /' conftest.$ac_ext >&5
2704 ac_retval=1
2706 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2707 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2708 # interfere with the next link command; also delete a directory that is
2709 # left behind by Apple's compiler. We do this before executing the actions.
2710 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 as_fn_set_status $ac_retval
2714 } # ac_fn_c_try_link
2716 # ac_fn_c_try_cpp LINENO
2717 # ----------------------
2718 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2719 ac_fn_c_try_cpp ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 if { { ac_try="$ac_cpp conftest.$ac_ext"
2723 case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2730 ac_status=$?
2731 if test -s conftest.err; then
2732 grep -v '^ *+' conftest.err >conftest.er1
2733 cat conftest.er1 >&5
2734 mv -f conftest.er1 conftest.err
2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } > conftest.i && {
2738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2739 test ! -s conftest.err
2740 }; then :
2741 ac_retval=0
2742 else
2743 $as_echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2746 ac_retval=1
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 as_fn_set_status $ac_retval
2751 } # ac_fn_c_try_cpp
2753 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2754 # -------------------------------------------------------
2755 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2756 # the include files in INCLUDES and setting the cache variable VAR
2757 # accordingly.
2758 ac_fn_c_check_header_mongrel ()
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 if eval \${$3+:} false; then :
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2763 $as_echo_n "checking for $2... " >&6; }
2764 if eval \${$3+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 eval ac_res=\$$3
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2769 $as_echo "$ac_res" >&6; }
2770 else
2771 # Is the header compilable?
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2773 $as_echo_n "checking $2 usability... " >&6; }
2774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775 /* end confdefs.h. */
2777 #include <$2>
2778 _ACEOF
2779 if ac_fn_c_try_compile "$LINENO"; then :
2780 ac_header_compiler=yes
2781 else
2782 ac_header_compiler=no
2784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2786 $as_echo "$ac_header_compiler" >&6; }
2788 # Is the header present?
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2790 $as_echo_n "checking $2 presence... " >&6; }
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2793 #include <$2>
2794 _ACEOF
2795 if ac_fn_c_try_cpp "$LINENO"; then :
2796 ac_header_preproc=yes
2797 else
2798 ac_header_preproc=no
2800 rm -f conftest.err conftest.i conftest.$ac_ext
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2802 $as_echo "$ac_header_preproc" >&6; }
2804 # So? What about this header?
2805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2806 yes:no: )
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2808 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2810 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2812 no:yes:* )
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2814 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2816 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2818 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2820 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2822 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2823 ( $as_echo "## ------------------------------------ ##
2824 ## Report this to wine-devel@winehq.org ##
2825 ## ------------------------------------ ##"
2826 ) | sed "s/^/$as_me: WARNING: /" >&2
2828 esac
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2830 $as_echo_n "checking for $2... " >&6; }
2831 if eval \${$3+:} false; then :
2832 $as_echo_n "(cached) " >&6
2833 else
2834 eval "$3=\$ac_header_compiler"
2836 eval ac_res=\$$3
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2840 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2842 } # ac_fn_c_check_header_mongrel
2844 # ac_fn_c_try_run LINENO
2845 # ----------------------
2846 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2847 # that executables *can* be run.
2848 ac_fn_c_try_run ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 if { { ac_try="$ac_link"
2852 case "(($ac_try" in
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2855 esac
2856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2857 $as_echo "$ac_try_echo"; } >&5
2858 (eval "$ac_link") 2>&5
2859 ac_status=$?
2860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2861 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2862 { { case "(($ac_try" in
2863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2864 *) ac_try_echo=$ac_try;;
2865 esac
2866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2867 $as_echo "$ac_try_echo"; } >&5
2868 (eval "$ac_try") 2>&5
2869 ac_status=$?
2870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2871 test $ac_status = 0; }; }; then :
2872 ac_retval=0
2873 else
2874 $as_echo "$as_me: program exited with status $ac_status" >&5
2875 $as_echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.$ac_ext >&5
2878 ac_retval=$ac_status
2880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2882 as_fn_set_status $ac_retval
2884 } # ac_fn_c_try_run
2886 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2887 # -------------------------------------------------------
2888 # Tests whether HEADER exists and can be compiled using the include files in
2889 # INCLUDES, setting the cache variable VAR accordingly.
2890 ac_fn_c_check_header_compile ()
2892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2894 $as_echo_n "checking for $2... " >&6; }
2895 if eval \${$3+:} false; then :
2896 $as_echo_n "(cached) " >&6
2897 else
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2901 #include <$2>
2902 _ACEOF
2903 if ac_fn_c_try_compile "$LINENO"; then :
2904 eval "$3=yes"
2905 else
2906 eval "$3=no"
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2910 eval ac_res=\$$3
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2912 $as_echo "$ac_res" >&6; }
2913 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915 } # ac_fn_c_check_header_compile
2917 # ac_fn_c_check_func LINENO FUNC VAR
2918 # ----------------------------------
2919 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2920 ac_fn_c_check_func ()
2922 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2924 $as_echo_n "checking for $2... " >&6; }
2925 if eval \${$3+:} false; then :
2926 $as_echo_n "(cached) " >&6
2927 else
2928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2929 /* end confdefs.h. */
2930 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2932 #define $2 innocuous_$2
2934 /* System header to define __stub macros and hopefully few prototypes,
2935 which can conflict with char $2 (); below.
2936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2937 <limits.h> exists even on freestanding compilers. */
2939 #ifdef __STDC__
2940 # include <limits.h>
2941 #else
2942 # include <assert.h>
2943 #endif
2945 #undef $2
2947 /* Override any GCC internal prototype to avoid an error.
2948 Use char because int might match the return type of a GCC
2949 builtin and then its argument prototype would still apply. */
2950 #ifdef __cplusplus
2951 extern "C"
2952 #endif
2953 char $2 ();
2954 /* The GNU C library defines this for functions which it implements
2955 to always fail with ENOSYS. Some functions are actually named
2956 something starting with __ and the normal name is an alias. */
2957 #if defined __stub_$2 || defined __stub___$2
2958 choke me
2959 #endif
2962 main ()
2964 return $2 ();
2966 return 0;
2968 _ACEOF
2969 if ac_fn_c_try_link "$LINENO"; then :
2970 eval "$3=yes"
2971 else
2972 eval "$3=no"
2974 rm -f core conftest.err conftest.$ac_objext \
2975 conftest$ac_exeext conftest.$ac_ext
2977 eval ac_res=\$$3
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2979 $as_echo "$ac_res" >&6; }
2980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2982 } # ac_fn_c_check_func
2984 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2985 # ----------------------------------------------------
2986 # Tries to find if the field MEMBER exists in type AGGR, after including
2987 # INCLUDES, setting cache variable VAR accordingly.
2988 ac_fn_c_check_member ()
2990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2992 $as_echo_n "checking for $2.$3... " >&6; }
2993 if eval \${$4+:} false; then :
2994 $as_echo_n "(cached) " >&6
2995 else
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
3000 main ()
3002 static $2 ac_aggr;
3003 if (ac_aggr.$3)
3004 return 0;
3006 return 0;
3008 _ACEOF
3009 if ac_fn_c_try_compile "$LINENO"; then :
3010 eval "$4=yes"
3011 else
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3016 main ()
3018 static $2 ac_aggr;
3019 if (sizeof ac_aggr.$3)
3020 return 0;
3022 return 0;
3024 _ACEOF
3025 if ac_fn_c_try_compile "$LINENO"; then :
3026 eval "$4=yes"
3027 else
3028 eval "$4=no"
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3034 eval ac_res=\$$4
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3036 $as_echo "$ac_res" >&6; }
3037 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3039 } # ac_fn_c_check_member
3041 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3042 # -------------------------------------------
3043 # Tests whether TYPE exists after having included INCLUDES, setting cache
3044 # variable VAR accordingly.
3045 ac_fn_c_check_type ()
3047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3049 $as_echo_n "checking for $2... " >&6; }
3050 if eval \${$3+:} false; then :
3051 $as_echo_n "(cached) " >&6
3052 else
3053 eval "$3=no"
3054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3055 /* end confdefs.h. */
3058 main ()
3060 if (sizeof ($2))
3061 return 0;
3063 return 0;
3065 _ACEOF
3066 if ac_fn_c_try_compile "$LINENO"; then :
3067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3068 /* end confdefs.h. */
3071 main ()
3073 if (sizeof (($2)))
3074 return 0;
3076 return 0;
3078 _ACEOF
3079 if ac_fn_c_try_compile "$LINENO"; then :
3081 else
3082 eval "$3=yes"
3084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3088 eval ac_res=\$$3
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3090 $as_echo "$ac_res" >&6; }
3091 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3093 } # ac_fn_c_check_type
3094 cat >config.log <<_ACEOF
3095 This file contains any messages produced by compilers while
3096 running configure, to aid debugging if configure makes a mistake.
3098 It was created by Wine $as_me 2.21, which was
3099 generated by GNU Autoconf 2.69. Invocation command line was
3101 $ $0 $@
3103 _ACEOF
3104 exec 5>>config.log
3106 cat <<_ASUNAME
3107 ## --------- ##
3108 ## Platform. ##
3109 ## --------- ##
3111 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3112 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3113 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3114 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3115 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3117 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3118 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3120 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3121 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3122 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3123 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3124 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3125 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3126 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3128 _ASUNAME
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 for as_dir in $PATH
3133 IFS=$as_save_IFS
3134 test -z "$as_dir" && as_dir=.
3135 $as_echo "PATH: $as_dir"
3136 done
3137 IFS=$as_save_IFS
3139 } >&5
3141 cat >&5 <<_ACEOF
3144 ## ----------- ##
3145 ## Core tests. ##
3146 ## ----------- ##
3148 _ACEOF
3151 # Keep a trace of the command line.
3152 # Strip out --no-create and --no-recursion so they do not pile up.
3153 # Strip out --silent because we don't want to record it for future runs.
3154 # Also quote any args containing shell meta-characters.
3155 # Make two passes to allow for proper duplicate-argument suppression.
3156 ac_configure_args=
3157 ac_configure_args0=
3158 ac_configure_args1=
3159 ac_must_keep_next=false
3160 for ac_pass in 1 2
3162 for ac_arg
3164 case $ac_arg in
3165 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3166 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3167 | -silent | --silent | --silen | --sile | --sil)
3168 continue ;;
3169 *\'*)
3170 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3171 esac
3172 case $ac_pass in
3173 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3175 as_fn_append ac_configure_args1 " '$ac_arg'"
3176 if test $ac_must_keep_next = true; then
3177 ac_must_keep_next=false # Got value, back to normal.
3178 else
3179 case $ac_arg in
3180 *=* | --config-cache | -C | -disable-* | --disable-* \
3181 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3182 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3183 | -with-* | --with-* | -without-* | --without-* | --x)
3184 case "$ac_configure_args0 " in
3185 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3186 esac
3188 -* ) ac_must_keep_next=true ;;
3189 esac
3191 as_fn_append ac_configure_args " '$ac_arg'"
3193 esac
3194 done
3195 done
3196 { ac_configure_args0=; unset ac_configure_args0;}
3197 { ac_configure_args1=; unset ac_configure_args1;}
3199 # When interrupted or exit'd, cleanup temporary files, and complete
3200 # config.log. We remove comments because anyway the quotes in there
3201 # would cause problems or look ugly.
3202 # WARNING: Use '\'' to represent an apostrophe within the trap.
3203 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3204 trap 'exit_status=$?
3205 # Save into config.log some information that might help in debugging.
3207 echo
3209 $as_echo "## ---------------- ##
3210 ## Cache variables. ##
3211 ## ---------------- ##"
3212 echo
3213 # The following way of writing the cache mishandles newlines in values,
3215 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3216 eval ac_val=\$$ac_var
3217 case $ac_val in #(
3218 *${as_nl}*)
3219 case $ac_var in #(
3220 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3221 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3222 esac
3223 case $ac_var in #(
3224 _ | IFS | as_nl) ;; #(
3225 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3226 *) { eval $ac_var=; unset $ac_var;} ;;
3227 esac ;;
3228 esac
3229 done
3230 (set) 2>&1 |
3231 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3232 *${as_nl}ac_space=\ *)
3233 sed -n \
3234 "s/'\''/'\''\\\\'\'''\''/g;
3235 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3236 ;; #(
3238 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3240 esac |
3241 sort
3243 echo
3245 $as_echo "## ----------------- ##
3246 ## Output variables. ##
3247 ## ----------------- ##"
3248 echo
3249 for ac_var in $ac_subst_vars
3251 eval ac_val=\$$ac_var
3252 case $ac_val in
3253 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3254 esac
3255 $as_echo "$ac_var='\''$ac_val'\''"
3256 done | sort
3257 echo
3259 if test -n "$ac_subst_files"; then
3260 $as_echo "## ------------------- ##
3261 ## File substitutions. ##
3262 ## ------------------- ##"
3263 echo
3264 for ac_var in $ac_subst_files
3266 eval ac_val=\$$ac_var
3267 case $ac_val in
3268 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3269 esac
3270 $as_echo "$ac_var='\''$ac_val'\''"
3271 done | sort
3272 echo
3275 if test -s confdefs.h; then
3276 $as_echo "## ----------- ##
3277 ## confdefs.h. ##
3278 ## ----------- ##"
3279 echo
3280 cat confdefs.h
3281 echo
3283 test "$ac_signal" != 0 &&
3284 $as_echo "$as_me: caught signal $ac_signal"
3285 $as_echo "$as_me: exit $exit_status"
3286 } >&5
3287 rm -f core *.core core.conftest.* &&
3288 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3289 exit $exit_status
3291 for ac_signal in 1 2 13 15; do
3292 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3293 done
3294 ac_signal=0
3296 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3297 rm -f -r conftest* confdefs.h
3299 $as_echo "/* confdefs.h */" > confdefs.h
3301 # Predefined preprocessor variables.
3303 cat >>confdefs.h <<_ACEOF
3304 #define PACKAGE_NAME "$PACKAGE_NAME"
3305 _ACEOF
3307 cat >>confdefs.h <<_ACEOF
3308 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3309 _ACEOF
3311 cat >>confdefs.h <<_ACEOF
3312 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3313 _ACEOF
3315 cat >>confdefs.h <<_ACEOF
3316 #define PACKAGE_STRING "$PACKAGE_STRING"
3317 _ACEOF
3319 cat >>confdefs.h <<_ACEOF
3320 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3321 _ACEOF
3323 cat >>confdefs.h <<_ACEOF
3324 #define PACKAGE_URL "$PACKAGE_URL"
3325 _ACEOF
3328 # Let the site file select an alternate cache file if it wants to.
3329 # Prefer an explicitly selected file to automatically selected ones.
3330 ac_site_file1=NONE
3331 ac_site_file2=NONE
3332 if test -n "$CONFIG_SITE"; then
3333 # We do not want a PATH search for config.site.
3334 case $CONFIG_SITE in #((
3335 -*) ac_site_file1=./$CONFIG_SITE;;
3336 */*) ac_site_file1=$CONFIG_SITE;;
3337 *) ac_site_file1=./$CONFIG_SITE;;
3338 esac
3339 elif test "x$prefix" != xNONE; then
3340 ac_site_file1=$prefix/share/config.site
3341 ac_site_file2=$prefix/etc/config.site
3342 else
3343 ac_site_file1=$ac_default_prefix/share/config.site
3344 ac_site_file2=$ac_default_prefix/etc/config.site
3346 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3348 test "x$ac_site_file" = xNONE && continue
3349 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3351 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3352 sed 's/^/| /' "$ac_site_file" >&5
3353 . "$ac_site_file" \
3354 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3356 as_fn_error $? "failed to load site script $ac_site_file
3357 See \`config.log' for more details" "$LINENO" 5; }
3359 done
3361 if test -r "$cache_file"; then
3362 # Some versions of bash will fail to source /dev/null (special files
3363 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3364 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3366 $as_echo "$as_me: loading cache $cache_file" >&6;}
3367 case $cache_file in
3368 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3369 *) . "./$cache_file";;
3370 esac
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3374 $as_echo "$as_me: creating cache $cache_file" >&6;}
3375 >$cache_file
3378 # Check that the precious variables saved in the cache have kept the same
3379 # value.
3380 ac_cache_corrupted=false
3381 for ac_var in $ac_precious_vars; do
3382 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3383 eval ac_new_set=\$ac_env_${ac_var}_set
3384 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3385 eval ac_new_val=\$ac_env_${ac_var}_value
3386 case $ac_old_set,$ac_new_set in
3387 set,)
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3389 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3390 ac_cache_corrupted=: ;;
3391 ,set)
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3393 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3394 ac_cache_corrupted=: ;;
3395 ,);;
3397 if test "x$ac_old_val" != "x$ac_new_val"; then
3398 # differences in whitespace do not lead to failure.
3399 ac_old_val_w=`echo x $ac_old_val`
3400 ac_new_val_w=`echo x $ac_new_val`
3401 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3403 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3404 ac_cache_corrupted=:
3405 else
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3407 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3408 eval $ac_var=\$ac_old_val
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3411 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3413 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3414 fi;;
3415 esac
3416 # Pass precious variables to config.status.
3417 if test "$ac_new_set" = set; then
3418 case $ac_new_val in
3419 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3420 *) ac_arg=$ac_var=$ac_new_val ;;
3421 esac
3422 case " $ac_configure_args " in
3423 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3424 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3425 esac
3427 done
3428 if $ac_cache_corrupted; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3432 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3433 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3435 ## -------------------- ##
3436 ## Main body of script. ##
3437 ## -------------------- ##
3439 ac_ext=c
3440 ac_cpp='$CPP $CPPFLAGS'
3441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3447 ac_config_headers="$ac_config_headers include/config.h"
3449 ac_aux_dir=
3450 for ac_dir in tools "$srcdir"/tools; do
3451 if test -f "$ac_dir/install-sh"; then
3452 ac_aux_dir=$ac_dir
3453 ac_install_sh="$ac_aux_dir/install-sh -c"
3454 break
3455 elif test -f "$ac_dir/install.sh"; then
3456 ac_aux_dir=$ac_dir
3457 ac_install_sh="$ac_aux_dir/install.sh -c"
3458 break
3459 elif test -f "$ac_dir/shtool"; then
3460 ac_aux_dir=$ac_dir
3461 ac_install_sh="$ac_aux_dir/shtool install -c"
3462 break
3464 done
3465 if test -z "$ac_aux_dir"; then
3466 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3469 # These three variables are undocumented and unsupported,
3470 # and are intended to be withdrawn in a future Autoconf release.
3471 # They can cause serious problems if a builder's source tree is in a directory
3472 # whose full name contains unusual characters.
3473 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3474 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3475 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3479 libwine_version="1.0"
3483 # Check whether --enable-win16 was given.
3484 if test "${enable_win16+set}" = set; then :
3485 enableval=$enable_win16;
3488 # Check whether --enable-win64 was given.
3489 if test "${enable_win64+set}" = set; then :
3490 enableval=$enable_win64;
3493 # Check whether --enable-tests was given.
3494 if test "${enable_tests+set}" = set; then :
3495 enableval=$enable_tests;
3498 # Check whether --enable-maintainer-mode was given.
3499 if test "${enable_maintainer_mode+set}" = set; then :
3500 enableval=$enable_maintainer_mode;
3505 # Check whether --with-alsa was given.
3506 if test "${with_alsa+set}" = set; then :
3507 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3511 # Check whether --with-capi was given.
3512 if test "${with_capi+set}" = set; then :
3513 withval=$with_capi;
3517 # Check whether --with-cms was given.
3518 if test "${with_cms+set}" = set; then :
3519 withval=$with_cms;
3523 # Check whether --with-coreaudio was given.
3524 if test "${with_coreaudio+set}" = set; then :
3525 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3529 # Check whether --with-cups was given.
3530 if test "${with_cups+set}" = set; then :
3531 withval=$with_cups;
3535 # Check whether --with-curses was given.
3536 if test "${with_curses+set}" = set; then :
3537 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3541 # Check whether --with-dbus was given.
3542 if test "${with_dbus+set}" = set; then :
3543 withval=$with_dbus;
3547 # Check whether --with-fontconfig was given.
3548 if test "${with_fontconfig+set}" = set; then :
3549 withval=$with_fontconfig;
3553 # Check whether --with-freetype was given.
3554 if test "${with_freetype+set}" = set; then :
3555 withval=$with_freetype;
3559 # Check whether --with-gettext was given.
3560 if test "${with_gettext+set}" = set; then :
3561 withval=$with_gettext;
3565 # Check whether --with-gettextpo was given.
3566 if test "${with_gettextpo+set}" = set; then :
3567 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3571 # Check whether --with-gphoto was given.
3572 if test "${with_gphoto+set}" = set; then :
3573 withval=$with_gphoto;
3577 # Check whether --with-glu was given.
3578 if test "${with_glu+set}" = set; then :
3579 withval=$with_glu;
3583 # Check whether --with-gnutls was given.
3584 if test "${with_gnutls+set}" = set; then :
3585 withval=$with_gnutls;
3589 # Check whether --with-gsm was given.
3590 if test "${with_gsm+set}" = set; then :
3591 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3595 # Check whether --with-gstreamer was given.
3596 if test "${with_gstreamer+set}" = set; then :
3597 withval=$with_gstreamer;
3601 # Check whether --with-hal was given.
3602 if test "${with_hal+set}" = set; then :
3603 withval=$with_hal;
3607 # Check whether --with-jpeg was given.
3608 if test "${with_jpeg+set}" = set; then :
3609 withval=$with_jpeg;
3613 # Check whether --with-krb5 was given.
3614 if test "${with_krb5+set}" = set; then :
3615 withval=$with_krb5;
3619 # Check whether --with-ldap was given.
3620 if test "${with_ldap+set}" = set; then :
3621 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3625 # Check whether --with-mpg123 was given.
3626 if test "${with_mpg123+set}" = set; then :
3627 withval=$with_mpg123;
3631 # Check whether --with-netapi was given.
3632 if test "${with_netapi+set}" = set; then :
3633 withval=$with_netapi;
3637 # Check whether --with-openal was given.
3638 if test "${with_openal+set}" = set; then :
3639 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3643 # Check whether --with-opencl was given.
3644 if test "${with_opencl+set}" = set; then :
3645 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3649 # Check whether --with-opengl was given.
3650 if test "${with_opengl+set}" = set; then :
3651 withval=$with_opengl;
3655 # Check whether --with-osmesa was given.
3656 if test "${with_osmesa+set}" = set; then :
3657 withval=$with_osmesa;
3661 # Check whether --with-oss was given.
3662 if test "${with_oss+set}" = set; then :
3663 withval=$with_oss;
3667 # Check whether --with-pcap was given.
3668 if test "${with_pcap+set}" = set; then :
3669 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3673 # Check whether --with-png was given.
3674 if test "${with_png+set}" = set; then :
3675 withval=$with_png;
3679 # Check whether --with-pthread was given.
3680 if test "${with_pthread+set}" = set; then :
3681 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3685 # Check whether --with-pulse was given.
3686 if test "${with_pulse+set}" = set; then :
3687 withval=$with_pulse;
3691 # Check whether --with-sane was given.
3692 if test "${with_sane+set}" = set; then :
3693 withval=$with_sane;
3697 # Check whether --with-tiff was given.
3698 if test "${with_tiff+set}" = set; then :
3699 withval=$with_tiff;
3703 # Check whether --with-udev was given.
3704 if test "${with_udev+set}" = set; then :
3705 withval=$with_udev;
3709 # Check whether --with-v4l was given.
3710 if test "${with_v4l+set}" = set; then :
3711 withval=$with_v4l;
3715 # Check whether --with-xcomposite was given.
3716 if test "${with_xcomposite+set}" = set; then :
3717 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3721 # Check whether --with-xcursor was given.
3722 if test "${with_xcursor+set}" = set; then :
3723 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3727 # Check whether --with-xfixes was given.
3728 if test "${with_xfixes+set}" = set; then :
3729 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3733 # Check whether --with-xinerama was given.
3734 if test "${with_xinerama+set}" = set; then :
3735 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3739 # Check whether --with-xinput was given.
3740 if test "${with_xinput+set}" = set; then :
3741 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3745 # Check whether --with-xinput2 was given.
3746 if test "${with_xinput2+set}" = set; then :
3747 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3751 # Check whether --with-xml was given.
3752 if test "${with_xml+set}" = set; then :
3753 withval=$with_xml;
3757 # Check whether --with-xrandr was given.
3758 if test "${with_xrandr+set}" = set; then :
3759 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3763 # Check whether --with-xrender was given.
3764 if test "${with_xrender+set}" = set; then :
3765 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3769 # Check whether --with-xshape was given.
3770 if test "${with_xshape+set}" = set; then :
3771 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3775 # Check whether --with-xshm was given.
3776 if test "${with_xshm+set}" = set; then :
3777 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3781 # Check whether --with-xslt was given.
3782 if test "${with_xslt+set}" = set; then :
3783 withval=$with_xslt;
3787 # Check whether --with-xxf86vm was given.
3788 if test "${with_xxf86vm+set}" = set; then :
3789 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
3793 # Check whether --with-zlib was given.
3794 if test "${with_zlib+set}" = set; then :
3795 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3800 # Check whether --with-wine-tools was given.
3801 if test "${with_wine_tools+set}" = set; then :
3802 withval=$with_wine_tools;
3806 # Check whether --with-wine64 was given.
3807 if test "${with_wine64+set}" = set; then :
3808 withval=$with_wine64;
3812 # Make sure we can run config.sub.
3813 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3814 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3817 $as_echo_n "checking build system type... " >&6; }
3818 if ${ac_cv_build+:} false; then :
3819 $as_echo_n "(cached) " >&6
3820 else
3821 ac_build_alias=$build_alias
3822 test "x$ac_build_alias" = x &&
3823 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3824 test "x$ac_build_alias" = x &&
3825 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3826 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3827 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3831 $as_echo "$ac_cv_build" >&6; }
3832 case $ac_cv_build in
3833 *-*-*) ;;
3834 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3835 esac
3836 build=$ac_cv_build
3837 ac_save_IFS=$IFS; IFS='-'
3838 set x $ac_cv_build
3839 shift
3840 build_cpu=$1
3841 build_vendor=$2
3842 shift; shift
3843 # Remember, the first character of IFS is used to create $*,
3844 # except with old shells:
3845 build_os=$*
3846 IFS=$ac_save_IFS
3847 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3851 $as_echo_n "checking host system type... " >&6; }
3852 if ${ac_cv_host+:} false; then :
3853 $as_echo_n "(cached) " >&6
3854 else
3855 if test "x$host_alias" = x; then
3856 ac_cv_host=$ac_cv_build
3857 else
3858 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3859 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3864 $as_echo "$ac_cv_host" >&6; }
3865 case $ac_cv_host in
3866 *-*-*) ;;
3867 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3868 esac
3869 host=$ac_cv_host
3870 ac_save_IFS=$IFS; IFS='-'
3871 set x $ac_cv_host
3872 shift
3873 host_cpu=$1
3874 host_vendor=$2
3875 shift; shift
3876 # Remember, the first character of IFS is used to create $*,
3877 # except with old shells:
3878 host_os=$*
3879 IFS=$ac_save_IFS
3880 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3884 case "$srcdir" in
3885 .) ;;
3886 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3887 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3888 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3889 fi ;;
3890 esac
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3894 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3895 set x ${MAKE-make}
3896 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3897 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3898 $as_echo_n "(cached) " >&6
3899 else
3900 cat >conftest.make <<\_ACEOF
3901 SHELL = /bin/sh
3902 all:
3903 @echo '@@@%%%=$(MAKE)=@@@%%%'
3904 _ACEOF
3905 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3906 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3907 *@@@%%%=?*=@@@%%%*)
3908 eval ac_cv_prog_make_${ac_make}_set=yes;;
3910 eval ac_cv_prog_make_${ac_make}_set=no;;
3911 esac
3912 rm -f conftest.make
3914 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3916 $as_echo "yes" >&6; }
3917 SET_MAKE=
3918 else
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3921 SET_MAKE="MAKE=${MAKE-make}"
3924 ac_ext=c
3925 ac_cpp='$CPP $CPPFLAGS'
3926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3929 if test -n "$ac_tool_prefix"; then
3930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3931 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if ${ac_cv_prog_CC+:} false; then :
3935 $as_echo_n "(cached) " >&6
3936 else
3937 if test -n "$CC"; then
3938 ac_cv_prog_CC="$CC" # Let the user override the test.
3939 else
3940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3941 for as_dir in $PATH
3943 IFS=$as_save_IFS
3944 test -z "$as_dir" && as_dir=.
3945 for ac_exec_ext in '' $ac_executable_extensions; do
3946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3947 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 break 2
3951 done
3952 done
3953 IFS=$as_save_IFS
3957 CC=$ac_cv_prog_CC
3958 if test -n "$CC"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3960 $as_echo "$CC" >&6; }
3961 else
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3968 if test -z "$ac_cv_prog_CC"; then
3969 ac_ct_CC=$CC
3970 # Extract the first word of "gcc", so it can be a program name with args.
3971 set dummy gcc; ac_word=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3975 $as_echo_n "(cached) " >&6
3976 else
3977 if test -n "$ac_ct_CC"; then
3978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3979 else
3980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3981 for as_dir in $PATH
3983 IFS=$as_save_IFS
3984 test -z "$as_dir" && as_dir=.
3985 for ac_exec_ext in '' $ac_executable_extensions; do
3986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3987 ac_cv_prog_ac_ct_CC="gcc"
3988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3989 break 2
3991 done
3992 done
3993 IFS=$as_save_IFS
3997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3998 if test -n "$ac_ct_CC"; then
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4000 $as_echo "$ac_ct_CC" >&6; }
4001 else
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4003 $as_echo "no" >&6; }
4006 if test "x$ac_ct_CC" = x; then
4007 CC=""
4008 else
4009 case $cross_compiling:$ac_tool_warned in
4010 yes:)
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4013 ac_tool_warned=yes ;;
4014 esac
4015 CC=$ac_ct_CC
4017 else
4018 CC="$ac_cv_prog_CC"
4021 if test -z "$CC"; then
4022 if test -n "$ac_tool_prefix"; then
4023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4024 set dummy ${ac_tool_prefix}cc; ac_word=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_CC+:} false; then :
4028 $as_echo_n "(cached) " >&6
4029 else
4030 if test -n "$CC"; then
4031 ac_cv_prog_CC="$CC" # Let the user override the test.
4032 else
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4036 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_CC="${ac_tool_prefix}cc"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 break 2
4044 done
4045 done
4046 IFS=$as_save_IFS
4050 CC=$ac_cv_prog_CC
4051 if test -n "$CC"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053 $as_echo "$CC" >&6; }
4054 else
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4062 if test -z "$CC"; then
4063 # Extract the first word of "cc", so it can be a program name with args.
4064 set dummy cc; ac_word=$2
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4066 $as_echo_n "checking for $ac_word... " >&6; }
4067 if ${ac_cv_prog_CC+:} false; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 if test -n "$CC"; then
4071 ac_cv_prog_CC="$CC" # Let the user override the test.
4072 else
4073 ac_prog_rejected=no
4074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075 for as_dir in $PATH
4077 IFS=$as_save_IFS
4078 test -z "$as_dir" && as_dir=.
4079 for ac_exec_ext in '' $ac_executable_extensions; do
4080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4082 ac_prog_rejected=yes
4083 continue
4085 ac_cv_prog_CC="cc"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 break 2
4089 done
4090 done
4091 IFS=$as_save_IFS
4093 if test $ac_prog_rejected = yes; then
4094 # We found a bogon in the path, so make sure we never use it.
4095 set dummy $ac_cv_prog_CC
4096 shift
4097 if test $# != 0; then
4098 # We chose a different compiler from the bogus one.
4099 # However, it has the same basename, so the bogon will be chosen
4100 # first if we set CC to just the basename; use the full file name.
4101 shift
4102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4107 CC=$ac_cv_prog_CC
4108 if test -n "$CC"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4110 $as_echo "$CC" >&6; }
4111 else
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4118 if test -z "$CC"; then
4119 if test -n "$ac_tool_prefix"; then
4120 for ac_prog in cl.exe
4122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if ${ac_cv_prog_CC+:} false; then :
4127 $as_echo_n "(cached) " >&6
4128 else
4129 if test -n "$CC"; then
4130 ac_cv_prog_CC="$CC" # Let the user override the test.
4131 else
4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 for as_dir in $PATH
4135 IFS=$as_save_IFS
4136 test -z "$as_dir" && as_dir=.
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 break 2
4143 done
4144 done
4145 IFS=$as_save_IFS
4149 CC=$ac_cv_prog_CC
4150 if test -n "$CC"; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4152 $as_echo "$CC" >&6; }
4153 else
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155 $as_echo "no" >&6; }
4159 test -n "$CC" && break
4160 done
4162 if test -z "$CC"; then
4163 ac_ct_CC=$CC
4164 for ac_prog in cl.exe
4166 # Extract the first word of "$ac_prog", so it can be a program name with args.
4167 set dummy $ac_prog; ac_word=$2
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4169 $as_echo_n "checking for $ac_word... " >&6; }
4170 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4171 $as_echo_n "(cached) " >&6
4172 else
4173 if test -n "$ac_ct_CC"; then
4174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4175 else
4176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4177 for as_dir in $PATH
4179 IFS=$as_save_IFS
4180 test -z "$as_dir" && as_dir=.
4181 for ac_exec_ext in '' $ac_executable_extensions; do
4182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4183 ac_cv_prog_ac_ct_CC="$ac_prog"
4184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 break 2
4187 done
4188 done
4189 IFS=$as_save_IFS
4193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4194 if test -n "$ac_ct_CC"; then
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4196 $as_echo "$ac_ct_CC" >&6; }
4197 else
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4199 $as_echo "no" >&6; }
4203 test -n "$ac_ct_CC" && break
4204 done
4206 if test "x$ac_ct_CC" = x; then
4207 CC=""
4208 else
4209 case $cross_compiling:$ac_tool_warned in
4210 yes:)
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4213 ac_tool_warned=yes ;;
4214 esac
4215 CC=$ac_ct_CC
4222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4224 as_fn_error $? "no acceptable C compiler found in \$PATH
4225 See \`config.log' for more details" "$LINENO" 5; }
4227 # Provide some information about the compiler.
4228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4229 set X $ac_compile
4230 ac_compiler=$2
4231 for ac_option in --version -v -V -qversion; do
4232 { { ac_try="$ac_compiler $ac_option >&5"
4233 case "(($ac_try" in
4234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235 *) ac_try_echo=$ac_try;;
4236 esac
4237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4238 $as_echo "$ac_try_echo"; } >&5
4239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4240 ac_status=$?
4241 if test -s conftest.err; then
4242 sed '10a\
4243 ... rest of stderr output deleted ...
4244 10q' conftest.err >conftest.er1
4245 cat conftest.er1 >&5
4247 rm -f conftest.er1 conftest.err
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249 test $ac_status = 0; }
4250 done
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4256 main ()
4260 return 0;
4262 _ACEOF
4263 ac_clean_files_save=$ac_clean_files
4264 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4265 # Try to create an executable without -o first, disregard a.out.
4266 # It will help us diagnose broken compilers, and finding out an intuition
4267 # of exeext.
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4269 $as_echo_n "checking whether the C compiler works... " >&6; }
4270 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4272 # The possible output files:
4273 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4275 ac_rmfiles=
4276 for ac_file in $ac_files
4278 case $ac_file in
4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4280 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4281 esac
4282 done
4283 rm -f $ac_rmfiles
4285 if { { ac_try="$ac_link_default"
4286 case "(($ac_try" in
4287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4288 *) ac_try_echo=$ac_try;;
4289 esac
4290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4291 $as_echo "$ac_try_echo"; } >&5
4292 (eval "$ac_link_default") 2>&5
4293 ac_status=$?
4294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4295 test $ac_status = 0; }; then :
4296 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4298 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4299 # so that the user can short-circuit this test for compilers unknown to
4300 # Autoconf.
4301 for ac_file in $ac_files ''
4303 test -f "$ac_file" || continue
4304 case $ac_file in
4305 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4307 [ab].out )
4308 # We found the default executable, but exeext='' is most
4309 # certainly right.
4310 break;;
4311 *.* )
4312 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4313 then :; else
4314 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4316 # We set ac_cv_exeext here because the later test for it is not
4317 # safe: cross compilers may not add the suffix if given an `-o'
4318 # argument, so we may need to know it at that point already.
4319 # Even if this section looks crufty: it has the advantage of
4320 # actually working.
4321 break;;
4323 break;;
4324 esac
4325 done
4326 test "$ac_cv_exeext" = no && ac_cv_exeext=
4328 else
4329 ac_file=''
4331 if test -z "$ac_file"; then :
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4333 $as_echo "no" >&6; }
4334 $as_echo "$as_me: failed program was:" >&5
4335 sed 's/^/| /' conftest.$ac_ext >&5
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error 77 "C compiler cannot create executables
4340 See \`config.log' for more details" "$LINENO" 5; }
4341 else
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4343 $as_echo "yes" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4346 $as_echo_n "checking for C compiler default output file name... " >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4348 $as_echo "$ac_file" >&6; }
4349 ac_exeext=$ac_cv_exeext
4351 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4352 ac_clean_files=$ac_clean_files_save
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4354 $as_echo_n "checking for suffix of executables... " >&6; }
4355 if { { ac_try="$ac_link"
4356 case "(($ac_try" in
4357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4359 esac
4360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4361 $as_echo "$ac_try_echo"; } >&5
4362 (eval "$ac_link") 2>&5
4363 ac_status=$?
4364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4365 test $ac_status = 0; }; then :
4366 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4367 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4368 # work properly (i.e., refer to `conftest.exe'), while it won't with
4369 # `rm'.
4370 for ac_file in conftest.exe conftest conftest.*; do
4371 test -f "$ac_file" || continue
4372 case $ac_file in
4373 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4374 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4375 break;;
4376 * ) break;;
4377 esac
4378 done
4379 else
4380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4382 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4383 See \`config.log' for more details" "$LINENO" 5; }
4385 rm -f conftest conftest$ac_cv_exeext
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4387 $as_echo "$ac_cv_exeext" >&6; }
4389 rm -f conftest.$ac_ext
4390 EXEEXT=$ac_cv_exeext
4391 ac_exeext=$EXEEXT
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4394 #include <stdio.h>
4396 main ()
4398 FILE *f = fopen ("conftest.out", "w");
4399 return ferror (f) || fclose (f) != 0;
4402 return 0;
4404 _ACEOF
4405 ac_clean_files="$ac_clean_files conftest.out"
4406 # Check that the compiler produces executables we can run. If not, either
4407 # the compiler is broken, or we cross compile.
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4409 $as_echo_n "checking whether we are cross compiling... " >&6; }
4410 if test "$cross_compiling" != yes; then
4411 { { ac_try="$ac_link"
4412 case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415 esac
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_link") 2>&5
4419 ac_status=$?
4420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421 test $ac_status = 0; }
4422 if { ac_try='./conftest$ac_cv_exeext'
4423 { { case "(($ac_try" in
4424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4425 *) ac_try_echo=$ac_try;;
4426 esac
4427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4428 $as_echo "$ac_try_echo"; } >&5
4429 (eval "$ac_try") 2>&5
4430 ac_status=$?
4431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4432 test $ac_status = 0; }; }; then
4433 cross_compiling=no
4434 else
4435 if test "$cross_compiling" = maybe; then
4436 cross_compiling=yes
4437 else
4438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4440 as_fn_error $? "cannot run C compiled programs.
4441 If you meant to cross compile, use \`--host'.
4442 See \`config.log' for more details" "$LINENO" 5; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4447 $as_echo "$cross_compiling" >&6; }
4449 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4450 ac_clean_files=$ac_clean_files_save
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4452 $as_echo_n "checking for suffix of object files... " >&6; }
4453 if ${ac_cv_objext+:} false; then :
4454 $as_echo_n "(cached) " >&6
4455 else
4456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4457 /* end confdefs.h. */
4460 main ()
4464 return 0;
4466 _ACEOF
4467 rm -f conftest.o conftest.obj
4468 if { { ac_try="$ac_compile"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compile") 2>&5
4476 ac_status=$?
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }; then :
4479 for ac_file in conftest.o conftest.obj conftest.*; do
4480 test -f "$ac_file" || continue;
4481 case $ac_file in
4482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4483 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4484 break;;
4485 esac
4486 done
4487 else
4488 $as_echo "$as_me: failed program was:" >&5
4489 sed 's/^/| /' conftest.$ac_ext >&5
4491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4493 as_fn_error $? "cannot compute suffix of object files: cannot compile
4494 See \`config.log' for more details" "$LINENO" 5; }
4496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4499 $as_echo "$ac_cv_objext" >&6; }
4500 OBJEXT=$ac_cv_objext
4501 ac_objext=$OBJEXT
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4504 if ${ac_cv_c_compiler_gnu+:} false; then :
4505 $as_echo_n "(cached) " >&6
4506 else
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4511 main ()
4513 #ifndef __GNUC__
4514 choke me
4515 #endif
4518 return 0;
4520 _ACEOF
4521 if ac_fn_c_try_compile "$LINENO"; then :
4522 ac_compiler_gnu=yes
4523 else
4524 ac_compiler_gnu=no
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4531 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4532 if test $ac_compiler_gnu = yes; then
4533 GCC=yes
4534 else
4535 GCC=
4537 ac_test_CFLAGS=${CFLAGS+set}
4538 ac_save_CFLAGS=$CFLAGS
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4540 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4541 if ${ac_cv_prog_cc_g+:} false; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 ac_save_c_werror_flag=$ac_c_werror_flag
4545 ac_c_werror_flag=yes
4546 ac_cv_prog_cc_g=no
4547 CFLAGS="-g"
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4552 main ()
4556 return 0;
4558 _ACEOF
4559 if ac_fn_c_try_compile "$LINENO"; then :
4560 ac_cv_prog_cc_g=yes
4561 else
4562 CFLAGS=""
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4571 return 0;
4573 _ACEOF
4574 if ac_fn_c_try_compile "$LINENO"; then :
4576 else
4577 ac_c_werror_flag=$ac_save_c_werror_flag
4578 CFLAGS="-g"
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4583 main ()
4587 return 0;
4589 _ACEOF
4590 if ac_fn_c_try_compile "$LINENO"; then :
4591 ac_cv_prog_cc_g=yes
4593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4598 ac_c_werror_flag=$ac_save_c_werror_flag
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4601 $as_echo "$ac_cv_prog_cc_g" >&6; }
4602 if test "$ac_test_CFLAGS" = set; then
4603 CFLAGS=$ac_save_CFLAGS
4604 elif test $ac_cv_prog_cc_g = yes; then
4605 if test "$GCC" = yes; then
4606 CFLAGS="-g -O2"
4607 else
4608 CFLAGS="-g"
4610 else
4611 if test "$GCC" = yes; then
4612 CFLAGS="-O2"
4613 else
4614 CFLAGS=
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4619 if ${ac_cv_prog_cc_c89+:} false; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 ac_cv_prog_cc_c89=no
4623 ac_save_CC=$CC
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4626 #include <stdarg.h>
4627 #include <stdio.h>
4628 struct stat;
4629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4630 struct buf { int x; };
4631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4632 static char *e (p, i)
4633 char **p;
4634 int i;
4636 return p[i];
4638 static char *f (char * (*g) (char **, int), char **p, ...)
4640 char *s;
4641 va_list v;
4642 va_start (v,p);
4643 s = g (p, va_arg (v,int));
4644 va_end (v);
4645 return s;
4648 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4649 function prototypes and stuff, but not '\xHH' hex character constants.
4650 These don't provoke an error unfortunately, instead are silently treated
4651 as 'x'. The following induces an error, until -std is added to get
4652 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4653 array size at least. It's necessary to write '\x00'==0 to get something
4654 that's true only with -std. */
4655 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4657 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4658 inside strings and character constants. */
4659 #define FOO(x) 'x'
4660 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4662 int test (int i, double x);
4663 struct s1 {int (*f) (int a);};
4664 struct s2 {int (*f) (double a);};
4665 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4666 int argc;
4667 char **argv;
4669 main ()
4671 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4673 return 0;
4675 _ACEOF
4676 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4677 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4679 CC="$ac_save_CC $ac_arg"
4680 if ac_fn_c_try_compile "$LINENO"; then :
4681 ac_cv_prog_cc_c89=$ac_arg
4683 rm -f core conftest.err conftest.$ac_objext
4684 test "x$ac_cv_prog_cc_c89" != "xno" && break
4685 done
4686 rm -f conftest.$ac_ext
4687 CC=$ac_save_CC
4690 # AC_CACHE_VAL
4691 case "x$ac_cv_prog_cc_c89" in
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4694 $as_echo "none needed" >&6; } ;;
4695 xno)
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4697 $as_echo "unsupported" >&6; } ;;
4699 CC="$CC $ac_cv_prog_cc_c89"
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4701 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4702 esac
4703 if test "x$ac_cv_prog_cc_c89" != xno; then :
4707 ac_ext=c
4708 ac_cpp='$CPP $CPPFLAGS'
4709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4713 ac_ext=cpp
4714 ac_cpp='$CXXCPP $CPPFLAGS'
4715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4718 if test -z "$CXX"; then
4719 if test -n "$CCC"; then
4720 CXX=$CCC
4721 else
4722 if test -n "$ac_tool_prefix"; then
4723 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if ${ac_cv_prog_CXX+:} false; then :
4730 $as_echo_n "(cached) " >&6
4731 else
4732 if test -n "$CXX"; then
4733 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4734 else
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736 for as_dir in $PATH
4738 IFS=$as_save_IFS
4739 test -z "$as_dir" && as_dir=.
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4742 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 break 2
4746 done
4747 done
4748 IFS=$as_save_IFS
4752 CXX=$ac_cv_prog_CXX
4753 if test -n "$CXX"; then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4755 $as_echo "$CXX" >&6; }
4756 else
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4762 test -n "$CXX" && break
4763 done
4765 if test -z "$CXX"; then
4766 ac_ct_CXX=$CXX
4767 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4769 # Extract the first word of "$ac_prog", so it can be a program name with args.
4770 set dummy $ac_prog; ac_word=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4774 $as_echo_n "(cached) " >&6
4775 else
4776 if test -n "$ac_ct_CXX"; then
4777 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4778 else
4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4780 for as_dir in $PATH
4782 IFS=$as_save_IFS
4783 test -z "$as_dir" && as_dir=.
4784 for ac_exec_ext in '' $ac_executable_extensions; do
4785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4786 ac_cv_prog_ac_ct_CXX="$ac_prog"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4788 break 2
4790 done
4791 done
4792 IFS=$as_save_IFS
4796 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4797 if test -n "$ac_ct_CXX"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4799 $as_echo "$ac_ct_CXX" >&6; }
4800 else
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4806 test -n "$ac_ct_CXX" && break
4807 done
4809 if test "x$ac_ct_CXX" = x; then
4810 CXX="g++"
4811 else
4812 case $cross_compiling:$ac_tool_warned in
4813 yes:)
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4816 ac_tool_warned=yes ;;
4817 esac
4818 CXX=$ac_ct_CXX
4824 # Provide some information about the compiler.
4825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4826 set X $ac_compile
4827 ac_compiler=$2
4828 for ac_option in --version -v -V -qversion; do
4829 { { ac_try="$ac_compiler $ac_option >&5"
4830 case "(($ac_try" in
4831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4832 *) ac_try_echo=$ac_try;;
4833 esac
4834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4835 $as_echo "$ac_try_echo"; } >&5
4836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4837 ac_status=$?
4838 if test -s conftest.err; then
4839 sed '10a\
4840 ... rest of stderr output deleted ...
4841 10q' conftest.err >conftest.er1
4842 cat conftest.er1 >&5
4844 rm -f conftest.er1 conftest.err
4845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4846 test $ac_status = 0; }
4847 done
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4850 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4851 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4852 $as_echo_n "(cached) " >&6
4853 else
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4858 main ()
4860 #ifndef __GNUC__
4861 choke me
4862 #endif
4865 return 0;
4867 _ACEOF
4868 if ac_fn_cxx_try_compile "$LINENO"; then :
4869 ac_compiler_gnu=yes
4870 else
4871 ac_compiler_gnu=no
4873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4874 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4878 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4879 if test $ac_compiler_gnu = yes; then
4880 GXX=yes
4881 else
4882 GXX=
4884 ac_test_CXXFLAGS=${CXXFLAGS+set}
4885 ac_save_CXXFLAGS=$CXXFLAGS
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4887 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4888 if ${ac_cv_prog_cxx_g+:} false; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4892 ac_cxx_werror_flag=yes
4893 ac_cv_prog_cxx_g=no
4894 CXXFLAGS="-g"
4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4899 main ()
4903 return 0;
4905 _ACEOF
4906 if ac_fn_cxx_try_compile "$LINENO"; then :
4907 ac_cv_prog_cxx_g=yes
4908 else
4909 CXXFLAGS=""
4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4914 main ()
4918 return 0;
4920 _ACEOF
4921 if ac_fn_cxx_try_compile "$LINENO"; then :
4923 else
4924 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4925 CXXFLAGS="-g"
4926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4927 /* end confdefs.h. */
4930 main ()
4934 return 0;
4936 _ACEOF
4937 if ac_fn_cxx_try_compile "$LINENO"; then :
4938 ac_cv_prog_cxx_g=yes
4940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4945 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4948 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4949 if test "$ac_test_CXXFLAGS" = set; then
4950 CXXFLAGS=$ac_save_CXXFLAGS
4951 elif test $ac_cv_prog_cxx_g = yes; then
4952 if test "$GXX" = yes; then
4953 CXXFLAGS="-g -O2"
4954 else
4955 CXXFLAGS="-g"
4957 else
4958 if test "$GXX" = yes; then
4959 CXXFLAGS="-O2"
4960 else
4961 CXXFLAGS=
4964 ac_ext=c
4965 ac_cpp='$CPP $CPPFLAGS'
4966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970 if test -n "$ac_tool_prefix"; then
4971 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4972 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if ${ac_cv_prog_CPPBIN+:} false; then :
4976 $as_echo_n "(cached) " >&6
4977 else
4978 if test -n "$CPPBIN"; then
4979 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4980 else
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH
4984 IFS=$as_save_IFS
4985 test -z "$as_dir" && as_dir=.
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 break 2
4992 done
4993 done
4994 IFS=$as_save_IFS
4998 CPPBIN=$ac_cv_prog_CPPBIN
4999 if test -n "$CPPBIN"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5001 $as_echo "$CPPBIN" >&6; }
5002 else
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5009 if test -z "$ac_cv_prog_CPPBIN"; then
5010 ac_ct_CPPBIN=$CPPBIN
5011 # Extract the first word of "cpp", so it can be a program name with args.
5012 set dummy cpp; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$ac_ct_CPPBIN"; then
5019 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028 ac_cv_prog_ac_ct_CPPBIN="cpp"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5039 if test -n "$ac_ct_CPPBIN"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5041 $as_echo "$ac_ct_CPPBIN" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5047 if test "x$ac_ct_CPPBIN" = x; then
5048 CPPBIN="cpp"
5049 else
5050 case $cross_compiling:$ac_tool_warned in
5051 yes:)
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5054 ac_tool_warned=yes ;;
5055 esac
5056 CPPBIN=$ac_ct_CPPBIN
5058 else
5059 CPPBIN="$ac_cv_prog_CPPBIN"
5063 cat >>confdefs.h <<_ACEOF
5064 #define EXEEXT "$ac_exeext"
5065 _ACEOF
5067 if test -n "$ac_tool_prefix"; then
5068 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5069 set dummy ${ac_tool_prefix}ld; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if ${ac_cv_prog_LD+:} false; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$LD"; then
5076 ac_cv_prog_LD="$LD" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5085 ac_cv_prog_LD="${ac_tool_prefix}ld"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 LD=$ac_cv_prog_LD
5096 if test -n "$LD"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5098 $as_echo "$LD" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5106 if test -z "$ac_cv_prog_LD"; then
5107 ac_ct_LD=$LD
5108 # Extract the first word of "ld", so it can be a program name with args.
5109 set dummy ld; ac_word=$2
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5111 $as_echo_n "checking for $ac_word... " >&6; }
5112 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5113 $as_echo_n "(cached) " >&6
5114 else
5115 if test -n "$ac_ct_LD"; then
5116 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_LD="ld"
5126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5129 done
5130 done
5131 IFS=$as_save_IFS
5135 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5136 if test -n "$ac_ct_LD"; then
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5138 $as_echo "$ac_ct_LD" >&6; }
5139 else
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5141 $as_echo "no" >&6; }
5144 if test "x$ac_ct_LD" = x; then
5145 LD=""
5146 else
5147 case $cross_compiling:$ac_tool_warned in
5148 yes:)
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5151 ac_tool_warned=yes ;;
5152 esac
5153 LD=$ac_ct_LD
5155 else
5156 LD="$ac_cv_prog_LD"
5160 case $host in
5161 *-darwin*)
5162 with_fontconfig=${with_fontconfig:-no}
5164 *-mingw32*|*-cygwin*)
5165 enable_win16=${enable_win16:-no}
5166 CFLAGS="$CFLAGS -D_WIN32"
5168 esac
5170 case $host in
5171 x86_64*|amd64*)
5172 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5173 then
5174 CC="$CC -m32"
5175 CXX="$CXX -m32"
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5177 $as_echo_n "checking whether $CC works... " >&6; }
5179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5180 /* end confdefs.h. */
5183 main ()
5187 return 0;
5189 _ACEOF
5190 if ac_fn_c_try_link "$LINENO"; then :
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5192 $as_echo "yes" >&6; }
5193 else
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5196 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5198 rm -f core conftest.err conftest.$ac_objext \
5199 conftest$ac_exeext conftest.$ac_ext
5200 host_cpu="i386"
5201 notice_platform="32-bit "
5202 TARGETFLAGS="-m32"
5204 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5205 export PKG_CONFIG_PATH
5206 enable_win16=${enable_win16:-yes}
5207 else
5208 if test "x${GCC}" = "xyes"
5209 then
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5211 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5214 #include <stdarg.h>
5216 main ()
5218 void func(__builtin_ms_va_list *args);
5220 return 0;
5222 _ACEOF
5223 if ac_fn_c_try_compile "$LINENO"; then :
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5225 $as_echo "yes" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5229 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5233 CC="$CC -m64"
5234 CXX="$CXX -m64"
5235 host_cpu="x86_64"
5236 notice_platform="64-bit "
5237 TARGETFLAGS="-m64"
5241 arm*)
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5243 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5246 int ac_test(int i) { return i; }
5248 main ()
5250 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5252 return 0;
5254 _ACEOF
5255 if ac_fn_c_try_link "$LINENO"; then :
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5257 $as_echo "yes" >&6; }
5258 else
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260 $as_echo "no" >&6; }
5261 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5263 rm -f core conftest.err conftest.$ac_objext \
5264 conftest$ac_exeext conftest.$ac_ext
5265 CFLAGS="$CFLAGS -marm"
5266 TARGETFLAGS="-marm"
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports floating point" >&5
5269 $as_echo_n "checking whether $CC supports floating point... " >&6; }
5270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h. */
5274 main ()
5276 asm("vmrs r2,fpscr");
5278 return 0;
5280 _ACEOF
5281 if ac_fn_c_try_link "$LINENO"; then :
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5283 $as_echo "yes" >&6; }
5284 else
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5287 as_fn_error $? "You need a target with floating point support to build Wine for ARM." "$LINENO" 5
5289 rm -f core conftest.err conftest.$ac_objext \
5290 conftest$ac_exeext conftest.$ac_ext
5292 i[3456789]86*)
5293 enable_win16=${enable_win16:-yes}
5295 esac
5297 enable_win16=${enable_win16:-no}
5298 enable_win64=${enable_win64:-no}
5300 enable_winetest=${enable_winetest:-$enable_tests}
5302 if test -n "$with_wine64"
5303 then
5304 if test "x$enable_win64" = "xyes"
5305 then
5306 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5307 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5309 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5310 You should create a separate build directory and run configure from there." "$LINENO" 5
5311 enable_fonts=${enable_fonts:-no}
5312 enable_server=${enable_server:-no}
5313 elif test "x$enable_win64" = "xyes"
5314 then
5315 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5319 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5320 if ${wine_cv_toolsdir+:} false; then :
5321 $as_echo_n "(cached) " >&6
5322 else
5323 wine_cv_toolsdir="$with_wine_tools"
5324 if test -z "$with_wine_tools"; then
5325 if test "$cross_compiling" = "yes"; then
5326 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5327 elif test -n "$with_wine64"; then
5328 wine_cv_toolsdir="$with_wine64"
5331 if test -z "$wine_cv_toolsdir"; then
5332 wine_makedep=tools/makedep
5333 wine_cv_toolsdir="\$(top_builddir)"
5334 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5335 wine_makedep=$wine_cv_toolsdir/tools/makedep
5336 case "$wine_cv_toolsdir" in
5337 /*) ;;
5338 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5339 esac
5340 enable_tools=${enable_tools:-no}
5341 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5342 else
5343 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5347 $as_echo "$wine_cv_toolsdir" >&6; }
5348 TOOLSDIR=$wine_cv_toolsdir
5350 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5351 then
5352 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5356 for ac_prog in flex
5358 # Extract the first word of "$ac_prog", so it can be a program name with args.
5359 set dummy $ac_prog; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_FLEX+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -n "$FLEX"; then
5366 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5375 ac_cv_prog_FLEX="$ac_prog"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 break 2
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 FLEX=$ac_cv_prog_FLEX
5386 if test -n "$FLEX"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5388 $as_echo "$FLEX" >&6; }
5389 else
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5395 test -n "$FLEX" && break
5396 done
5397 test -n "$FLEX" || FLEX="none"
5399 if test "$FLEX" = "none"
5400 then
5401 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5404 $as_echo_n "checking whether flex is recent enough... " >&6; }
5405 cat >conftest.l <<EOF
5406 %top{
5407 #include "prediluvian.h"
5411 if $FLEX -t conftest.l >/dev/null 2>&5
5412 then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5414 $as_echo "yes" >&6; }
5415 else
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5418 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5421 for ac_prog in bison
5423 # Extract the first word of "$ac_prog", so it can be a program name with args.
5424 set dummy $ac_prog; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_BISON+:} false; then :
5428 $as_echo_n "(cached) " >&6
5429 else
5430 if test -n "$BISON"; then
5431 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5432 else
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5434 for as_dir in $PATH
5436 IFS=$as_save_IFS
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_prog_BISON="$ac_prog"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5442 break 2
5444 done
5445 done
5446 IFS=$as_save_IFS
5450 BISON=$ac_cv_prog_BISON
5451 if test -n "$BISON"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5453 $as_echo "$BISON" >&6; }
5454 else
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5460 test -n "$BISON" && break
5461 done
5462 test -n "$BISON" || BISON="none"
5464 if test "$BISON" = "none"
5465 then
5466 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5469 if test -n "$ac_tool_prefix"; then
5470 for ac_prog in ar gar
5472 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475 $as_echo_n "checking for $ac_word... " >&6; }
5476 if ${ac_cv_prog_AR+:} false; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if test -n "$AR"; then
5480 ac_cv_prog_AR="$AR" # Let the user override the test.
5481 else
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_exec_ext in '' $ac_executable_extensions; do
5488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5489 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5491 break 2
5493 done
5494 done
5495 IFS=$as_save_IFS
5499 AR=$ac_cv_prog_AR
5500 if test -n "$AR"; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5502 $as_echo "$AR" >&6; }
5503 else
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505 $as_echo "no" >&6; }
5509 test -n "$AR" && break
5510 done
5512 if test -z "$AR"; then
5513 ac_ct_AR=$AR
5514 for ac_prog in ar gar
5516 # Extract the first word of "$ac_prog", so it can be a program name with args.
5517 set dummy $ac_prog; ac_word=$2
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5521 $as_echo_n "(cached) " >&6
5522 else
5523 if test -n "$ac_ct_AR"; then
5524 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5525 else
5526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5527 for as_dir in $PATH
5529 IFS=$as_save_IFS
5530 test -z "$as_dir" && as_dir=.
5531 for ac_exec_ext in '' $ac_executable_extensions; do
5532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5533 ac_cv_prog_ac_ct_AR="$ac_prog"
5534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5535 break 2
5537 done
5538 done
5539 IFS=$as_save_IFS
5543 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5544 if test -n "$ac_ct_AR"; then
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5546 $as_echo "$ac_ct_AR" >&6; }
5547 else
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }
5553 test -n "$ac_ct_AR" && break
5554 done
5556 if test "x$ac_ct_AR" = x; then
5557 AR="ar"
5558 else
5559 case $cross_compiling:$ac_tool_warned in
5560 yes:)
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5563 ac_tool_warned=yes ;;
5564 esac
5565 AR=$ac_ct_AR
5569 if test -n "$ac_tool_prefix"; then
5570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5571 set dummy ${ac_tool_prefix}strip; ac_word=$2
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573 $as_echo_n "checking for $ac_word... " >&6; }
5574 if ${ac_cv_prog_STRIP+:} false; then :
5575 $as_echo_n "(cached) " >&6
5576 else
5577 if test -n "$STRIP"; then
5578 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5579 else
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 for as_dir in $PATH
5583 IFS=$as_save_IFS
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5587 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589 break 2
5591 done
5592 done
5593 IFS=$as_save_IFS
5597 STRIP=$ac_cv_prog_STRIP
5598 if test -n "$STRIP"; then
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5600 $as_echo "$STRIP" >&6; }
5601 else
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }
5608 if test -z "$ac_cv_prog_STRIP"; then
5609 ac_ct_STRIP=$STRIP
5610 # Extract the first word of "strip", so it can be a program name with args.
5611 set dummy strip; ac_word=$2
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613 $as_echo_n "checking for $ac_word... " >&6; }
5614 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$ac_ct_STRIP"; then
5618 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5619 else
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_exec_ext in '' $ac_executable_extensions; do
5626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5627 ac_cv_prog_ac_ct_STRIP="strip"
5628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 break 2
5631 done
5632 done
5633 IFS=$as_save_IFS
5637 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5638 if test -n "$ac_ct_STRIP"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5640 $as_echo "$ac_ct_STRIP" >&6; }
5641 else
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5646 if test "x$ac_ct_STRIP" = x; then
5647 STRIP="strip"
5648 else
5649 case $cross_compiling:$ac_tool_warned in
5650 yes:)
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5653 ac_tool_warned=yes ;;
5654 esac
5655 STRIP=$ac_ct_STRIP
5657 else
5658 STRIP="$ac_cv_prog_STRIP"
5661 ARFLAGS=rc
5663 if test -n "$ac_tool_prefix"; then
5664 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5665 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if ${ac_cv_prog_RANLIB+:} false; then :
5669 $as_echo_n "(cached) " >&6
5670 else
5671 if test -n "$RANLIB"; then
5672 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5673 else
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 for as_dir in $PATH
5677 IFS=$as_save_IFS
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5681 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5683 break 2
5685 done
5686 done
5687 IFS=$as_save_IFS
5691 RANLIB=$ac_cv_prog_RANLIB
5692 if test -n "$RANLIB"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5694 $as_echo "$RANLIB" >&6; }
5695 else
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5702 if test -z "$ac_cv_prog_RANLIB"; then
5703 ac_ct_RANLIB=$RANLIB
5704 # Extract the first word of "ranlib", so it can be a program name with args.
5705 set dummy ranlib; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5709 $as_echo_n "(cached) " >&6
5710 else
5711 if test -n "$ac_ct_RANLIB"; then
5712 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5713 else
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 for as_dir in $PATH
5717 IFS=$as_save_IFS
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5721 ac_cv_prog_ac_ct_RANLIB="ranlib"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 break 2
5725 done
5726 done
5727 IFS=$as_save_IFS
5731 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5732 if test -n "$ac_ct_RANLIB"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5734 $as_echo "$ac_ct_RANLIB" >&6; }
5735 else
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5740 if test "x$ac_ct_RANLIB" = x; then
5741 RANLIB=":"
5742 else
5743 case $cross_compiling:$ac_tool_warned in
5744 yes:)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5747 ac_tool_warned=yes ;;
5748 esac
5749 RANLIB=$ac_ct_RANLIB
5751 else
5752 RANLIB="$ac_cv_prog_RANLIB"
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5756 $as_echo_n "checking whether ln -s works... " >&6; }
5757 LN_S=$as_ln_s
5758 if test "$LN_S" = "ln -s"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5760 $as_echo "yes" >&6; }
5761 else
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5763 $as_echo "no, using $LN_S" >&6; }
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5767 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5768 if ${ac_cv_path_GREP+:} false; then :
5769 $as_echo_n "(cached) " >&6
5770 else
5771 if test -z "$GREP"; then
5772 ac_path_GREP_found=false
5773 # Loop through the user's path and test for each of PROGNAME-LIST
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5777 IFS=$as_save_IFS
5778 test -z "$as_dir" && as_dir=.
5779 for ac_prog in grep ggrep; do
5780 for ac_exec_ext in '' $ac_executable_extensions; do
5781 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5782 as_fn_executable_p "$ac_path_GREP" || continue
5783 # Check for GNU ac_path_GREP and select it if it is found.
5784 # Check for GNU $ac_path_GREP
5785 case `"$ac_path_GREP" --version 2>&1` in
5786 *GNU*)
5787 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5789 ac_count=0
5790 $as_echo_n 0123456789 >"conftest.in"
5791 while :
5793 cat "conftest.in" "conftest.in" >"conftest.tmp"
5794 mv "conftest.tmp" "conftest.in"
5795 cp "conftest.in" "conftest.nl"
5796 $as_echo 'GREP' >> "conftest.nl"
5797 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5798 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5799 as_fn_arith $ac_count + 1 && ac_count=$as_val
5800 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5801 # Best one so far, save it but keep looking for a better one
5802 ac_cv_path_GREP="$ac_path_GREP"
5803 ac_path_GREP_max=$ac_count
5805 # 10*(2^10) chars as input seems more than enough
5806 test $ac_count -gt 10 && break
5807 done
5808 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5809 esac
5811 $ac_path_GREP_found && break 3
5812 done
5813 done
5814 done
5815 IFS=$as_save_IFS
5816 if test -z "$ac_cv_path_GREP"; then
5817 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5819 else
5820 ac_cv_path_GREP=$GREP
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5825 $as_echo "$ac_cv_path_GREP" >&6; }
5826 GREP="$ac_cv_path_GREP"
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5830 $as_echo_n "checking for egrep... " >&6; }
5831 if ${ac_cv_path_EGREP+:} false; then :
5832 $as_echo_n "(cached) " >&6
5833 else
5834 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5835 then ac_cv_path_EGREP="$GREP -E"
5836 else
5837 if test -z "$EGREP"; then
5838 ac_path_EGREP_found=false
5839 # Loop through the user's path and test for each of PROGNAME-LIST
5840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5841 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5843 IFS=$as_save_IFS
5844 test -z "$as_dir" && as_dir=.
5845 for ac_prog in egrep; do
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5848 as_fn_executable_p "$ac_path_EGREP" || continue
5849 # Check for GNU ac_path_EGREP and select it if it is found.
5850 # Check for GNU $ac_path_EGREP
5851 case `"$ac_path_EGREP" --version 2>&1` in
5852 *GNU*)
5853 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5855 ac_count=0
5856 $as_echo_n 0123456789 >"conftest.in"
5857 while :
5859 cat "conftest.in" "conftest.in" >"conftest.tmp"
5860 mv "conftest.tmp" "conftest.in"
5861 cp "conftest.in" "conftest.nl"
5862 $as_echo 'EGREP' >> "conftest.nl"
5863 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5864 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5865 as_fn_arith $ac_count + 1 && ac_count=$as_val
5866 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5867 # Best one so far, save it but keep looking for a better one
5868 ac_cv_path_EGREP="$ac_path_EGREP"
5869 ac_path_EGREP_max=$ac_count
5871 # 10*(2^10) chars as input seems more than enough
5872 test $ac_count -gt 10 && break
5873 done
5874 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5875 esac
5877 $ac_path_EGREP_found && break 3
5878 done
5879 done
5880 done
5881 IFS=$as_save_IFS
5882 if test -z "$ac_cv_path_EGREP"; then
5883 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5885 else
5886 ac_cv_path_EGREP=$EGREP
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5892 $as_echo "$ac_cv_path_EGREP" >&6; }
5893 EGREP="$ac_cv_path_EGREP"
5896 # Extract the first word of "ldconfig", so it can be a program name with args.
5897 set dummy ldconfig; ac_word=$2
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5899 $as_echo_n "checking for $ac_word... " >&6; }
5900 if ${ac_cv_path_LDCONFIG+:} false; then :
5901 $as_echo_n "(cached) " >&6
5902 else
5903 case $LDCONFIG in
5904 [\\/]* | ?:[\\/]*)
5905 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5909 for as_dir in /sbin /usr/sbin $PATH
5911 IFS=$as_save_IFS
5912 test -z "$as_dir" && as_dir=.
5913 for ac_exec_ext in '' $ac_executable_extensions; do
5914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5915 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917 break 2
5919 done
5920 done
5921 IFS=$as_save_IFS
5923 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5925 esac
5927 LDCONFIG=$ac_cv_path_LDCONFIG
5928 if test -n "$LDCONFIG"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5930 $as_echo "$LDCONFIG" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 for ac_prog in msgfmt
5939 # Extract the first word of "$ac_prog", so it can be a program name with args.
5940 set dummy $ac_prog; ac_word=$2
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5942 $as_echo_n "checking for $ac_word... " >&6; }
5943 if ${ac_cv_prog_MSGFMT+:} false; then :
5944 $as_echo_n "(cached) " >&6
5945 else
5946 if test -n "$MSGFMT"; then
5947 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5948 else
5949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950 for as_dir in $PATH
5952 IFS=$as_save_IFS
5953 test -z "$as_dir" && as_dir=.
5954 for ac_exec_ext in '' $ac_executable_extensions; do
5955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956 ac_cv_prog_MSGFMT="$ac_prog"
5957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 break 2
5960 done
5961 done
5962 IFS=$as_save_IFS
5966 MSGFMT=$ac_cv_prog_MSGFMT
5967 if test -n "$MSGFMT"; then
5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5969 $as_echo "$MSGFMT" >&6; }
5970 else
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972 $as_echo "no" >&6; }
5976 test -n "$MSGFMT" && break
5977 done
5978 test -n "$MSGFMT" || MSGFMT="false"
5980 if ${ac_tool_prefix+:} false; then :
5981 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5982 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5984 $as_echo_n "checking for $ac_word... " >&6; }
5985 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5986 $as_echo_n "(cached) " >&6
5987 else
5988 if test -n "$PKG_CONFIG"; then
5989 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5990 else
5991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5992 for as_dir in $PATH
5994 IFS=$as_save_IFS
5995 test -z "$as_dir" && as_dir=.
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5998 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 break 2
6002 done
6003 done
6004 IFS=$as_save_IFS
6008 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6009 if test -n "$PKG_CONFIG"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6011 $as_echo "$PKG_CONFIG" >&6; }
6012 else
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6014 $as_echo "no" >&6; }
6019 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6020 if test "x$cross_compiling" = xyes; then :
6022 else
6023 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6024 # Extract the first word of "pkg-config", so it can be a program name with args.
6025 set dummy pkg-config; ac_word=$2
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6027 $as_echo_n "checking for $ac_word... " >&6; }
6028 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6029 $as_echo_n "(cached) " >&6
6030 else
6031 if test -n "$PKG_CONFIG"; then
6032 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6033 else
6034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6035 for as_dir in $PATH
6037 IFS=$as_save_IFS
6038 test -z "$as_dir" && as_dir=.
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6041 ac_cv_prog_PKG_CONFIG="pkg-config"
6042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6043 break 2
6045 done
6046 done
6047 IFS=$as_save_IFS
6051 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6052 if test -n "$PKG_CONFIG"; then
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6054 $as_echo "$PKG_CONFIG" >&6; }
6055 else
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6057 $as_echo "no" >&6; }
6062 else
6063 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6066 if test "x$enable_maintainer_mode" != "xyes"
6067 then
6068 FONTFORGE=""
6069 RSVG=""
6070 CONVERT=""
6071 ICOTOOL=""
6072 else
6073 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6074 for ac_prog in fontforge
6076 # Extract the first word of "$ac_prog", so it can be a program name with args.
6077 set dummy $ac_prog; ac_word=$2
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6079 $as_echo_n "checking for $ac_word... " >&6; }
6080 if ${ac_cv_prog_FONTFORGE+:} false; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 if test -n "$FONTFORGE"; then
6084 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6085 else
6086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6087 for as_dir in $PATH
6089 IFS=$as_save_IFS
6090 test -z "$as_dir" && as_dir=.
6091 for ac_exec_ext in '' $ac_executable_extensions; do
6092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6093 ac_cv_prog_FONTFORGE="$ac_prog"
6094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6095 break 2
6097 done
6098 done
6099 IFS=$as_save_IFS
6103 FONTFORGE=$ac_cv_prog_FONTFORGE
6104 if test -n "$FONTFORGE"; then
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6106 $as_echo "$FONTFORGE" >&6; }
6107 else
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6109 $as_echo "no" >&6; }
6113 test -n "$FONTFORGE" && break
6114 done
6115 test -n "$FONTFORGE" || FONTFORGE="false"
6117 for ac_prog in rsvg-convert rsvg
6119 # Extract the first word of "$ac_prog", so it can be a program name with args.
6120 set dummy $ac_prog; ac_word=$2
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6122 $as_echo_n "checking for $ac_word... " >&6; }
6123 if ${ac_cv_prog_RSVG+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if test -n "$RSVG"; then
6127 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6128 else
6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6130 for as_dir in $PATH
6132 IFS=$as_save_IFS
6133 test -z "$as_dir" && as_dir=.
6134 for ac_exec_ext in '' $ac_executable_extensions; do
6135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6136 ac_cv_prog_RSVG="$ac_prog"
6137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 break 2
6140 done
6141 done
6142 IFS=$as_save_IFS
6146 RSVG=$ac_cv_prog_RSVG
6147 if test -n "$RSVG"; then
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6149 $as_echo "$RSVG" >&6; }
6150 else
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6152 $as_echo "no" >&6; }
6156 test -n "$RSVG" && break
6157 done
6158 test -n "$RSVG" || RSVG="false"
6160 for ac_prog in convert
6162 # Extract the first word of "$ac_prog", so it can be a program name with args.
6163 set dummy $ac_prog; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if ${ac_cv_prog_CONVERT+:} false; then :
6167 $as_echo_n "(cached) " >&6
6168 else
6169 if test -n "$CONVERT"; then
6170 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6175 IFS=$as_save_IFS
6176 test -z "$as_dir" && as_dir=.
6177 for ac_exec_ext in '' $ac_executable_extensions; do
6178 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6179 ac_cv_prog_CONVERT="$ac_prog"
6180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 break 2
6183 done
6184 done
6185 IFS=$as_save_IFS
6189 CONVERT=$ac_cv_prog_CONVERT
6190 if test -n "$CONVERT"; then
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6192 $as_echo "$CONVERT" >&6; }
6193 else
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6199 test -n "$CONVERT" && break
6200 done
6201 test -n "$CONVERT" || CONVERT="false"
6203 for ac_prog in icotool
6205 # Extract the first word of "$ac_prog", so it can be a program name with args.
6206 set dummy $ac_prog; ac_word=$2
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6208 $as_echo_n "checking for $ac_word... " >&6; }
6209 if ${ac_cv_prog_ICOTOOL+:} false; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 if test -n "$ICOTOOL"; then
6213 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6214 else
6215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216 for as_dir in $PATH
6218 IFS=$as_save_IFS
6219 test -z "$as_dir" && as_dir=.
6220 for ac_exec_ext in '' $ac_executable_extensions; do
6221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6222 ac_cv_prog_ICOTOOL="$ac_prog"
6223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6224 break 2
6226 done
6227 done
6228 IFS=$as_save_IFS
6232 ICOTOOL=$ac_cv_prog_ICOTOOL
6233 if test -n "$ICOTOOL"; then
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6235 $as_echo "$ICOTOOL" >&6; }
6236 else
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6238 $as_echo "no" >&6; }
6242 test -n "$ICOTOOL" && break
6243 done
6244 test -n "$ICOTOOL" || ICOTOOL="false"
6246 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6247 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6249 if test "$CONVERT" = false
6250 then
6251 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6252 else
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6254 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6255 convert_version=`convert --version | head -n1`
6256 if test "x$convert_version" != "x"
6257 then
6258 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6259 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6260 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6261 then
6262 CONVERT=false
6265 if test "$CONVERT" = false
6266 then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6268 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6269 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6270 else
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6272 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6276 if test "$ICOTOOL" = false
6277 then
6278 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6279 else
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6281 $as_echo_n "checking for recent enough icotool... " >&6; }
6282 icotool_version=`icotool --version | head -n1`
6283 if test "x$icotool_version" != "x"
6284 then
6285 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6286 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6287 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6288 then
6289 ICOTOOL=false
6290 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6293 if test "$ICOTOOL" = false
6294 then
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6296 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6297 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6298 else
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6300 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6304 with_gettext=yes
6305 with_gettextpo=yes
6306 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6309 test "x$with_gettext" != xno || MSGFMT=false
6310 if test "$MSGFMT" != "false"
6311 then
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6313 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6314 cat >conftest.po <<EOF
6315 # comment
6316 msgctxt "ctxt"
6317 msgid "id"
6318 msgstr "str"
6320 if $MSGFMT -o /dev/null conftest.po 2>&5
6321 then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6323 $as_echo "yes" >&6; }
6324 else
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6327 MSGFMT=false
6330 if test "$MSGFMT" = false; then :
6331 case "x$with_gettext" in
6332 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6333 xno) ;;
6334 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6335 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6336 esac
6337 enable_po=${enable_po:-no}
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6342 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6343 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6344 $as_echo_n "(cached) " >&6
6345 else
6346 ac_check_lib_save_LIBS=$LIBS
6347 LIBS="-li386 $LIBS"
6348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h. */
6351 /* Override any GCC internal prototype to avoid an error.
6352 Use char because int might match the return type of a GCC
6353 builtin and then its argument prototype would still apply. */
6354 #ifdef __cplusplus
6355 extern "C"
6356 #endif
6357 char i386_set_ldt ();
6359 main ()
6361 return i386_set_ldt ();
6363 return 0;
6365 _ACEOF
6366 if ac_fn_c_try_link "$LINENO"; then :
6367 ac_cv_lib_i386_i386_set_ldt=yes
6368 else
6369 ac_cv_lib_i386_i386_set_ldt=no
6371 rm -f core conftest.err conftest.$ac_objext \
6372 conftest$ac_exeext conftest.$ac_ext
6373 LIBS=$ac_check_lib_save_LIBS
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6376 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6377 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6378 cat >>confdefs.h <<_ACEOF
6379 #define HAVE_LIBI386 1
6380 _ACEOF
6382 LIBS="-li386 $LIBS"
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6387 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6388 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6389 $as_echo_n "(cached) " >&6
6390 else
6391 ac_check_lib_save_LIBS=$LIBS
6392 LIBS="-lossaudio $LIBS"
6393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6396 /* Override any GCC internal prototype to avoid an error.
6397 Use char because int might match the return type of a GCC
6398 builtin and then its argument prototype would still apply. */
6399 #ifdef __cplusplus
6400 extern "C"
6401 #endif
6402 char _oss_ioctl ();
6404 main ()
6406 return _oss_ioctl ();
6408 return 0;
6410 _ACEOF
6411 if ac_fn_c_try_link "$LINENO"; then :
6412 ac_cv_lib_ossaudio__oss_ioctl=yes
6413 else
6414 ac_cv_lib_ossaudio__oss_ioctl=no
6416 rm -f core conftest.err conftest.$ac_objext \
6417 conftest$ac_exeext conftest.$ac_ext
6418 LIBS=$ac_check_lib_save_LIBS
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6421 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6422 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6423 cat >>confdefs.h <<_ACEOF
6424 #define HAVE_LIBOSSAUDIO 1
6425 _ACEOF
6427 LIBS="-lossaudio $LIBS"
6432 OPENGL_LIBS=""
6436 # Check whether --enable-largefile was given.
6437 if test "${enable_largefile+set}" = set; then :
6438 enableval=$enable_largefile;
6441 if test "$enable_largefile" != no; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6444 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6445 if ${ac_cv_sys_largefile_CC+:} false; then :
6446 $as_echo_n "(cached) " >&6
6447 else
6448 ac_cv_sys_largefile_CC=no
6449 if test "$GCC" != yes; then
6450 ac_save_CC=$CC
6451 while :; do
6452 # IRIX 6.2 and later do not support large files by default,
6453 # so use the C compiler's -n32 option if that helps.
6454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6455 /* end confdefs.h. */
6456 #include <sys/types.h>
6457 /* Check that off_t can represent 2**63 - 1 correctly.
6458 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6459 since some C++ compilers masquerading as C compilers
6460 incorrectly reject 9223372036854775807. */
6461 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6462 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6463 && LARGE_OFF_T % 2147483647 == 1)
6464 ? 1 : -1];
6466 main ()
6470 return 0;
6472 _ACEOF
6473 if ac_fn_c_try_compile "$LINENO"; then :
6474 break
6476 rm -f core conftest.err conftest.$ac_objext
6477 CC="$CC -n32"
6478 if ac_fn_c_try_compile "$LINENO"; then :
6479 ac_cv_sys_largefile_CC=' -n32'; break
6481 rm -f core conftest.err conftest.$ac_objext
6482 break
6483 done
6484 CC=$ac_save_CC
6485 rm -f conftest.$ac_ext
6488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6489 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6490 if test "$ac_cv_sys_largefile_CC" != no; then
6491 CC=$CC$ac_cv_sys_largefile_CC
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6495 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6496 if ${ac_cv_sys_file_offset_bits+:} false; then :
6497 $as_echo_n "(cached) " >&6
6498 else
6499 while :; do
6500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6502 #include <sys/types.h>
6503 /* Check that off_t can represent 2**63 - 1 correctly.
6504 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6505 since some C++ compilers masquerading as C compilers
6506 incorrectly reject 9223372036854775807. */
6507 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6508 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6509 && LARGE_OFF_T % 2147483647 == 1)
6510 ? 1 : -1];
6512 main ()
6516 return 0;
6518 _ACEOF
6519 if ac_fn_c_try_compile "$LINENO"; then :
6520 ac_cv_sys_file_offset_bits=no; break
6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6525 #define _FILE_OFFSET_BITS 64
6526 #include <sys/types.h>
6527 /* Check that off_t can represent 2**63 - 1 correctly.
6528 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6529 since some C++ compilers masquerading as C compilers
6530 incorrectly reject 9223372036854775807. */
6531 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6532 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6533 && LARGE_OFF_T % 2147483647 == 1)
6534 ? 1 : -1];
6536 main ()
6540 return 0;
6542 _ACEOF
6543 if ac_fn_c_try_compile "$LINENO"; then :
6544 ac_cv_sys_file_offset_bits=64; break
6546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6547 ac_cv_sys_file_offset_bits=unknown
6548 break
6549 done
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6552 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6553 case $ac_cv_sys_file_offset_bits in #(
6554 no | unknown) ;;
6556 cat >>confdefs.h <<_ACEOF
6557 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6558 _ACEOF
6560 esac
6561 rm -rf conftest*
6562 if test $ac_cv_sys_file_offset_bits = unknown; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6564 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6565 if ${ac_cv_sys_large_files+:} false; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 while :; do
6569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6570 /* end confdefs.h. */
6571 #include <sys/types.h>
6572 /* Check that off_t can represent 2**63 - 1 correctly.
6573 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6574 since some C++ compilers masquerading as C compilers
6575 incorrectly reject 9223372036854775807. */
6576 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6577 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6578 && LARGE_OFF_T % 2147483647 == 1)
6579 ? 1 : -1];
6581 main ()
6585 return 0;
6587 _ACEOF
6588 if ac_fn_c_try_compile "$LINENO"; then :
6589 ac_cv_sys_large_files=no; break
6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #define _LARGE_FILES 1
6595 #include <sys/types.h>
6596 /* Check that off_t can represent 2**63 - 1 correctly.
6597 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6598 since some C++ compilers masquerading as C compilers
6599 incorrectly reject 9223372036854775807. */
6600 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6601 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6602 && LARGE_OFF_T % 2147483647 == 1)
6603 ? 1 : -1];
6605 main ()
6609 return 0;
6611 _ACEOF
6612 if ac_fn_c_try_compile "$LINENO"; then :
6613 ac_cv_sys_large_files=1; break
6615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6616 ac_cv_sys_large_files=unknown
6617 break
6618 done
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6621 $as_echo "$ac_cv_sys_large_files" >&6; }
6622 case $ac_cv_sys_large_files in #(
6623 no | unknown) ;;
6625 cat >>confdefs.h <<_ACEOF
6626 #define _LARGE_FILES $ac_cv_sys_large_files
6627 _ACEOF
6629 esac
6630 rm -rf conftest*
6637 ac_ext=c
6638 ac_cpp='$CPP $CPPFLAGS'
6639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6643 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6644 # On Suns, sometimes $CPP names a directory.
6645 if test -n "$CPP" && test -d "$CPP"; then
6646 CPP=
6648 if test -z "$CPP"; then
6649 if ${ac_cv_prog_CPP+:} false; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 # Double quotes because CPP needs to be expanded
6653 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6655 ac_preproc_ok=false
6656 for ac_c_preproc_warn_flag in '' yes
6658 # Use a header file that comes with gcc, so configuring glibc
6659 # with a fresh cross-compiler works.
6660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6661 # <limits.h> exists even on freestanding compilers.
6662 # On the NeXT, cc -E runs the code through the compiler's parser,
6663 # not just through cpp. "Syntax error" is here to catch this case.
6664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6666 #ifdef __STDC__
6667 # include <limits.h>
6668 #else
6669 # include <assert.h>
6670 #endif
6671 Syntax error
6672 _ACEOF
6673 if ac_fn_c_try_cpp "$LINENO"; then :
6675 else
6676 # Broken: fails on valid input.
6677 continue
6679 rm -f conftest.err conftest.i conftest.$ac_ext
6681 # OK, works on sane cases. Now check whether nonexistent headers
6682 # can be detected and how.
6683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6684 /* end confdefs.h. */
6685 #include <ac_nonexistent.h>
6686 _ACEOF
6687 if ac_fn_c_try_cpp "$LINENO"; then :
6688 # Broken: success on invalid input.
6689 continue
6690 else
6691 # Passes both tests.
6692 ac_preproc_ok=:
6693 break
6695 rm -f conftest.err conftest.i conftest.$ac_ext
6697 done
6698 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6699 rm -f conftest.i conftest.err conftest.$ac_ext
6700 if $ac_preproc_ok; then :
6701 break
6704 done
6705 ac_cv_prog_CPP=$CPP
6708 CPP=$ac_cv_prog_CPP
6709 else
6710 ac_cv_prog_CPP=$CPP
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6713 $as_echo "$CPP" >&6; }
6714 ac_preproc_ok=false
6715 for ac_c_preproc_warn_flag in '' yes
6717 # Use a header file that comes with gcc, so configuring glibc
6718 # with a fresh cross-compiler works.
6719 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6720 # <limits.h> exists even on freestanding compilers.
6721 # On the NeXT, cc -E runs the code through the compiler's parser,
6722 # not just through cpp. "Syntax error" is here to catch this case.
6723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6725 #ifdef __STDC__
6726 # include <limits.h>
6727 #else
6728 # include <assert.h>
6729 #endif
6730 Syntax error
6731 _ACEOF
6732 if ac_fn_c_try_cpp "$LINENO"; then :
6734 else
6735 # Broken: fails on valid input.
6736 continue
6738 rm -f conftest.err conftest.i conftest.$ac_ext
6740 # OK, works on sane cases. Now check whether nonexistent headers
6741 # can be detected and how.
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6744 #include <ac_nonexistent.h>
6745 _ACEOF
6746 if ac_fn_c_try_cpp "$LINENO"; then :
6747 # Broken: success on invalid input.
6748 continue
6749 else
6750 # Passes both tests.
6751 ac_preproc_ok=:
6752 break
6754 rm -f conftest.err conftest.i conftest.$ac_ext
6756 done
6757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6758 rm -f conftest.i conftest.err conftest.$ac_ext
6759 if $ac_preproc_ok; then :
6761 else
6762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6764 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6765 See \`config.log' for more details" "$LINENO" 5; }
6768 ac_ext=c
6769 ac_cpp='$CPP $CPPFLAGS'
6770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6776 $as_echo_n "checking for ANSI C header files... " >&6; }
6777 if ${ac_cv_header_stdc+:} false; then :
6778 $as_echo_n "(cached) " >&6
6779 else
6780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6782 #include <stdlib.h>
6783 #include <stdarg.h>
6784 #include <string.h>
6785 #include <float.h>
6788 main ()
6792 return 0;
6794 _ACEOF
6795 if ac_fn_c_try_compile "$LINENO"; then :
6796 ac_cv_header_stdc=yes
6797 else
6798 ac_cv_header_stdc=no
6800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6802 if test $ac_cv_header_stdc = yes; then
6803 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6805 /* end confdefs.h. */
6806 #include <string.h>
6808 _ACEOF
6809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6810 $EGREP "memchr" >/dev/null 2>&1; then :
6812 else
6813 ac_cv_header_stdc=no
6815 rm -f conftest*
6819 if test $ac_cv_header_stdc = yes; then
6820 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6823 #include <stdlib.h>
6825 _ACEOF
6826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6827 $EGREP "free" >/dev/null 2>&1; then :
6829 else
6830 ac_cv_header_stdc=no
6832 rm -f conftest*
6836 if test $ac_cv_header_stdc = yes; then
6837 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6838 if test "$cross_compiling" = yes; then :
6840 else
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6843 #include <ctype.h>
6844 #include <stdlib.h>
6845 #if ((' ' & 0x0FF) == 0x020)
6846 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6847 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6848 #else
6849 # define ISLOWER(c) \
6850 (('a' <= (c) && (c) <= 'i') \
6851 || ('j' <= (c) && (c) <= 'r') \
6852 || ('s' <= (c) && (c) <= 'z'))
6853 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6854 #endif
6856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6858 main ()
6860 int i;
6861 for (i = 0; i < 256; i++)
6862 if (XOR (islower (i), ISLOWER (i))
6863 || toupper (i) != TOUPPER (i))
6864 return 2;
6865 return 0;
6867 _ACEOF
6868 if ac_fn_c_try_run "$LINENO"; then :
6870 else
6871 ac_cv_header_stdc=no
6873 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6874 conftest.$ac_objext conftest.beam conftest.$ac_ext
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6880 $as_echo "$ac_cv_header_stdc" >&6; }
6881 if test $ac_cv_header_stdc = yes; then
6883 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6887 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6888 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6889 inttypes.h stdint.h unistd.h
6890 do :
6891 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6892 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6894 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6895 cat >>confdefs.h <<_ACEOF
6896 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6897 _ACEOF
6901 done
6904 for ac_header in \
6905 AL/al.h \
6906 ApplicationServices/ApplicationServices.h \
6907 AudioToolbox/AudioConverter.h \
6908 AudioUnit/AudioUnit.h \
6909 AudioUnit/AudioComponent.h \
6910 CL/cl.h \
6911 Carbon/Carbon.h \
6912 CommonCrypto/CommonDigest.h \
6913 CoreAudio/CoreAudio.h \
6914 CoreServices/CoreServices.h \
6915 DiskArbitration/DiskArbitration.h \
6916 EGL/egl.h \
6917 IOKit/IOKitLib.h \
6918 IOKit/hid/IOHIDLib.h \
6919 OpenAL/al.h \
6920 OpenCL/opencl.h \
6921 QuickTime/ImageCompression.h \
6922 Security/Security.h \
6923 alias.h \
6924 alsa/asoundlib.h \
6925 arpa/inet.h \
6926 arpa/nameser.h \
6927 asm/types.h \
6928 asm/user.h \
6929 curses.h \
6930 direct.h \
6931 dirent.h \
6932 dlfcn.h \
6933 elf.h \
6934 float.h \
6935 fnmatch.h \
6936 getopt.h \
6937 gettext-po.h \
6938 grp.h \
6939 gsm.h \
6940 gsm/gsm.h \
6941 ieeefp.h \
6942 inet/mib2.h \
6943 io.h \
6944 kstat.h \
6945 libproc.h \
6946 link.h \
6947 linux/cdrom.h \
6948 linux/compiler.h \
6949 linux/filter.h \
6950 linux/hdreg.h \
6951 linux/hidraw.h \
6952 linux/input.h \
6953 linux/ioctl.h \
6954 linux/joystick.h \
6955 linux/major.h \
6956 linux/param.h \
6957 linux/serial.h \
6958 linux/types.h \
6959 linux/ucdrom.h \
6960 lwp.h \
6961 mach-o/nlist.h \
6962 mach-o/loader.h \
6963 mach/mach.h \
6964 mach/machine.h \
6965 machine/cpu.h \
6966 machine/limits.h \
6967 machine/sysarch.h \
6968 mntent.h \
6969 ncurses.h \
6970 netdb.h \
6971 netinet/in.h \
6972 netinet/in_systm.h \
6973 netinet/tcp.h \
6974 netinet/tcp_fsm.h \
6975 pcap/pcap.h \
6976 poll.h \
6977 port.h \
6978 process.h \
6979 pthread.h \
6980 pwd.h \
6981 sched.h \
6982 scsi/scsi.h \
6983 scsi/scsi_ioctl.h \
6984 scsi/sg.h \
6985 stdbool.h \
6986 stdint.h \
6987 stropts.h \
6988 sys/asoundlib.h \
6989 sys/attr.h \
6990 sys/auxv.h \
6991 sys/cdio.h \
6992 sys/elf32.h \
6993 sys/epoll.h \
6994 sys/event.h \
6995 sys/exec_elf.h \
6996 sys/filio.h \
6997 sys/inotify.h \
6998 sys/ioctl.h \
6999 sys/ipc.h \
7000 sys/limits.h \
7001 sys/link.h \
7002 sys/mman.h \
7003 sys/modem.h \
7004 sys/msg.h \
7005 sys/mtio.h \
7006 sys/param.h \
7007 sys/poll.h \
7008 sys/prctl.h \
7009 sys/protosw.h \
7010 sys/ptrace.h \
7011 sys/queue.h \
7012 sys/resource.h \
7013 sys/scsiio.h \
7014 sys/shm.h \
7015 sys/signal.h \
7016 sys/socket.h \
7017 sys/socketvar.h \
7018 sys/sockio.h \
7019 sys/statvfs.h \
7020 sys/strtio.h \
7021 sys/syscall.h \
7022 sys/sysinfo.h \
7023 sys/tihdr.h \
7024 sys/time.h \
7025 sys/timeout.h \
7026 sys/times.h \
7027 sys/uio.h \
7028 sys/user.h \
7029 sys/utsname.h \
7030 sys/vm86.h \
7031 sys/vnode.h \
7032 sys/wait.h \
7033 syscall.h \
7034 termios.h \
7035 unistd.h \
7036 utime.h \
7037 valgrind/memcheck.h \
7038 valgrind/valgrind.h \
7039 zlib.h
7041 do :
7042 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7044 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7045 cat >>confdefs.h <<_ACEOF
7046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7047 _ACEOF
7051 done
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7054 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7055 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7056 $as_echo_n "(cached) " >&6
7057 else
7058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7059 /* end confdefs.h. */
7060 #include <sys/types.h>
7062 main ()
7064 return makedev(0, 0);
7066 return 0;
7068 _ACEOF
7069 if ac_fn_c_try_link "$LINENO"; then :
7070 ac_cv_header_sys_types_h_makedev=yes
7071 else
7072 ac_cv_header_sys_types_h_makedev=no
7074 rm -f core conftest.err conftest.$ac_objext \
7075 conftest$ac_exeext conftest.$ac_ext
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7079 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7081 if test $ac_cv_header_sys_types_h_makedev = no; then
7082 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7083 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7085 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7091 if test $ac_cv_header_sys_mkdev_h = no; then
7092 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7093 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7095 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7104 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7105 if ${ac_cv_header_stat_broken+:} false; then :
7106 $as_echo_n "(cached) " >&6
7107 else
7108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7109 /* end confdefs.h. */
7110 #include <sys/types.h>
7111 #include <sys/stat.h>
7113 #if defined S_ISBLK && defined S_IFDIR
7114 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7115 #endif
7117 #if defined S_ISBLK && defined S_IFCHR
7118 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7119 #endif
7121 #if defined S_ISLNK && defined S_IFREG
7122 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7123 #endif
7125 #if defined S_ISSOCK && defined S_IFREG
7126 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7127 #endif
7129 _ACEOF
7130 if ac_fn_c_try_compile "$LINENO"; then :
7131 ac_cv_header_stat_broken=no
7132 else
7133 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7138 $as_echo "$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7147 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7148 do :
7149 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7150 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7151 #ifdef HAVE_SYS_PARAM_H
7152 # include <sys/param.h>
7153 #endif
7155 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7156 cat >>confdefs.h <<_ACEOF
7157 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7158 _ACEOF
7162 done
7165 for ac_header in \
7166 netinet/ip.h \
7167 net/if.h \
7168 net/if_arp.h \
7169 net/if_dl.h \
7170 net/if_types.h \
7171 net/route.h \
7172 netinet/if_ether.h \
7173 netinet/if_inarp.h \
7174 netinet/in_pcb.h \
7175 netinet/ip_icmp.h \
7176 netinet/ip_var.h \
7177 netinet/udp.h \
7178 netipx/ipx.h \
7179 sys/un.h \
7181 do :
7182 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7183 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7184 #ifdef HAVE_SYS_SOCKET_H
7185 # include <sys/socket.h>
7186 #endif
7187 #ifdef HAVE_SYS_SOCKETVAR_H
7188 # include <sys/socketvar.h>
7189 #endif
7190 #ifdef HAVE_NET_ROUTE_H
7191 # include <net/route.h>
7192 #endif
7193 #ifdef HAVE_NETINET_IN_H
7194 # include <netinet/in.h>
7195 #endif
7196 #ifdef HAVE_NETINET_IN_SYSTM_H
7197 # include <netinet/in_systm.h>
7198 #endif
7199 #ifdef HAVE_NET_IF_H
7200 # include <net/if.h>
7201 #endif
7202 #ifdef HAVE_NETINET_IP_H
7203 # include <netinet/ip.h>
7204 #endif
7206 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7207 cat >>confdefs.h <<_ACEOF
7208 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7209 _ACEOF
7213 done
7216 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7217 do :
7218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7219 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7220 #ifdef HAVE_ALIAS_H
7221 # include <alias.h>
7222 #endif
7223 #ifdef HAVE_SYS_SOCKET_H
7224 # include <sys/socket.h>
7225 #endif
7226 #ifdef HAVE_SYS_SOCKETVAR_H
7227 # include <sys/socketvar.h>
7228 #endif
7229 #ifdef HAVE_SYS_TIMEOUT_H
7230 # include <sys/timeout.h>
7231 #endif
7232 #ifdef HAVE_NETINET_IN_H
7233 # include <netinet/in.h>
7234 #endif
7235 #ifdef HAVE_NETINET_IN_SYSTM_H
7236 # include <netinet/in_systm.h>
7237 #endif
7238 #ifdef HAVE_NETINET_IP_H
7239 # include <netinet/ip.h>
7240 #endif
7241 #ifdef HAVE_NETINET_IP_VAR_H
7242 # include <netinet/ip_var.h>
7243 #endif
7244 #ifdef HAVE_NETINET_IP_ICMP_H
7245 # include <netinet/ip_icmp.h>
7246 #endif
7247 #ifdef HAVE_NETINET_UDP_H
7248 # include <netinet/udp.h>
7249 #endif
7250 #ifdef HAVE_NETINET_TCP_H
7251 # include <netinet/tcp.h>
7252 #endif
7253 #ifdef HAVE_NETINET_TCP_TIMER_H
7254 #include <netinet/tcp_timer.h>
7255 #endif
7257 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7258 cat >>confdefs.h <<_ACEOF
7259 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7260 _ACEOF
7264 done
7267 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7268 do :
7269 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7270 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7271 #ifdef HAVE_ASM_TYPES_H
7272 # include <asm/types.h>
7273 #endif
7274 #ifdef HAVE_SYS_SOCKET_H
7275 # include <sys/socket.h>
7276 #endif
7277 #ifdef HAVE_LINUX_TYPES_H
7278 # include <linux/types.h>
7279 #endif
7281 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7282 cat >>confdefs.h <<_ACEOF
7283 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7284 _ACEOF
7288 done
7291 for ac_header in mach-o/dyld_images.h
7292 do :
7293 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7294 # include <stdbool.h>
7295 #endif
7296 #ifdef HAVE_STDINT_H
7297 # include <stdint.h>
7298 #endif
7300 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7301 cat >>confdefs.h <<_ACEOF
7302 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7303 _ACEOF
7307 done
7310 for ac_header in resolv.h
7311 do :
7312 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7313 #ifdef HAVE_SYS_SOCKET_H
7314 # include <sys/socket.h>
7315 #endif
7316 #ifdef HAVE_NETINET_IN_H
7317 # include <netinet/in.h>
7318 #endif
7319 #ifdef HAVE_ARPA_NAMESER_H
7320 # include <arpa/nameser.h>
7321 #endif
7323 if test "x$ac_cv_header_resolv_h" = xyes; then :
7324 cat >>confdefs.h <<_ACEOF
7325 #define HAVE_RESOLV_H 1
7326 _ACEOF
7330 done
7333 for ac_header in ifaddrs.h
7334 do :
7335 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7337 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7338 cat >>confdefs.h <<_ACEOF
7339 #define HAVE_IFADDRS_H 1
7340 _ACEOF
7344 done
7347 for ac_header in sys/ucontext.h
7348 do :
7349 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7351 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7352 cat >>confdefs.h <<_ACEOF
7353 #define HAVE_SYS_UCONTEXT_H 1
7354 _ACEOF
7358 done
7361 for ac_header in sys/thr.h
7362 do :
7363 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7364 #ifdef HAVE_SYS_UCONTEXT_H
7365 #include <sys/ucontext.h>
7366 #endif
7368 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7369 cat >>confdefs.h <<_ACEOF
7370 #define HAVE_SYS_THR_H 1
7371 _ACEOF
7375 done
7378 for ac_header in pthread_np.h
7379 do :
7380 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7381 #include <pthread.h>
7382 #endif
7384 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7385 cat >>confdefs.h <<_ACEOF
7386 #define HAVE_PTHREAD_NP_H 1
7387 _ACEOF
7391 done
7394 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7395 do :
7396 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7397 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7398 #include <sys/time.h>
7399 #endif
7400 #include <sys/types.h>
7401 #ifdef HAVE_ASM_TYPES_H
7402 #include <asm/types.h>
7403 #endif
7405 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7406 cat >>confdefs.h <<_ACEOF
7407 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7408 _ACEOF
7412 done
7415 for ac_header in libprocstat.h
7416 do :
7417 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7418 #include <sys/param.h>
7419 #endif
7420 #ifdef HAVE_SYS_QUEUE_H
7421 #include <sys/queue.h>
7422 #endif
7423 #ifdef HAVE_SYS_SOCKET_H
7424 #include <sys/socket.h>
7425 #endif
7427 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7428 cat >>confdefs.h <<_ACEOF
7429 #define HAVE_LIBPROCSTAT_H 1
7430 _ACEOF
7434 done
7438 dlldir="\${libdir}/wine"
7440 DLLFLAGS="-D_REENTRANT"
7442 LDRPATH_INSTALL=""
7444 LDRPATH_LOCAL=""
7446 LDEXECFLAGS=""
7448 WINELOADER_LDFLAGS=""
7450 LIBEXT="so"
7451 DLLEXT=".so"
7452 IMPLIBEXT="def"
7453 # Extract the first word of "ldd", so it can be a program name with args.
7454 set dummy ldd; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if ${ac_cv_path_LDD+:} false; then :
7458 $as_echo_n "(cached) " >&6
7459 else
7460 case $LDD in
7461 [\\/]* | ?:[\\/]*)
7462 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 as_dummy="/sbin:/usr/sbin:$PATH"
7467 for as_dir in $as_dummy
7469 IFS=$as_save_IFS
7470 test -z "$as_dir" && as_dir=.
7471 for ac_exec_ext in '' $ac_executable_extensions; do
7472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7473 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475 break 2
7477 done
7478 done
7479 IFS=$as_save_IFS
7481 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7483 esac
7485 LDD=$ac_cv_path_LDD
7486 if test -n "$LDD"; then
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7488 $as_echo "$LDD" >&6; }
7489 else
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7491 $as_echo "no" >&6; }
7495 if test -n "$ac_tool_prefix"; then
7496 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7497 set dummy ${ac_tool_prefix}otool; ac_word=$2
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7499 $as_echo_n "checking for $ac_word... " >&6; }
7500 if ${ac_cv_prog_OTOOL+:} false; then :
7501 $as_echo_n "(cached) " >&6
7502 else
7503 if test -n "$OTOOL"; then
7504 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7505 else
7506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7507 for as_dir in $PATH
7509 IFS=$as_save_IFS
7510 test -z "$as_dir" && as_dir=.
7511 for ac_exec_ext in '' $ac_executable_extensions; do
7512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7513 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7515 break 2
7517 done
7518 done
7519 IFS=$as_save_IFS
7523 OTOOL=$ac_cv_prog_OTOOL
7524 if test -n "$OTOOL"; then
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7526 $as_echo "$OTOOL" >&6; }
7527 else
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7529 $as_echo "no" >&6; }
7534 if test -z "$ac_cv_prog_OTOOL"; then
7535 ac_ct_OTOOL=$OTOOL
7536 # Extract the first word of "otool", so it can be a program name with args.
7537 set dummy otool; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7541 $as_echo_n "(cached) " >&6
7542 else
7543 if test -n "$ac_ct_OTOOL"; then
7544 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7545 else
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7547 for as_dir in $PATH
7549 IFS=$as_save_IFS
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7553 ac_cv_prog_ac_ct_OTOOL="otool"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7555 break 2
7557 done
7558 done
7559 IFS=$as_save_IFS
7563 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7564 if test -n "$ac_ct_OTOOL"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7566 $as_echo "$ac_ct_OTOOL" >&6; }
7567 else
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7569 $as_echo "no" >&6; }
7572 if test "x$ac_ct_OTOOL" = x; then
7573 OTOOL="otool"
7574 else
7575 case $cross_compiling:$ac_tool_warned in
7576 yes:)
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7579 ac_tool_warned=yes ;;
7580 esac
7581 OTOOL=$ac_ct_OTOOL
7583 else
7584 OTOOL="$ac_cv_prog_OTOOL"
7587 if test -n "$ac_tool_prefix"; then
7588 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7589 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_READELF+:} false; then :
7593 $as_echo_n "(cached) " >&6
7594 else
7595 if test -n "$READELF"; then
7596 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7597 else
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 for as_dir in $PATH
7601 IFS=$as_save_IFS
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 break 2
7609 done
7610 done
7611 IFS=$as_save_IFS
7615 READELF=$ac_cv_prog_READELF
7616 if test -n "$READELF"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7618 $as_echo "$READELF" >&6; }
7619 else
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7626 if test -z "$ac_cv_prog_READELF"; then
7627 ac_ct_READELF=$READELF
7628 # Extract the first word of "readelf", so it can be a program name with args.
7629 set dummy readelf; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7633 $as_echo_n "(cached) " >&6
7634 else
7635 if test -n "$ac_ct_READELF"; then
7636 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7637 else
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH
7641 IFS=$as_save_IFS
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_ac_ct_READELF="readelf"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647 break 2
7649 done
7650 done
7651 IFS=$as_save_IFS
7655 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7656 if test -n "$ac_ct_READELF"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7658 $as_echo "$ac_ct_READELF" >&6; }
7659 else
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7664 if test "x$ac_ct_READELF" = x; then
7665 READELF="true"
7666 else
7667 case $cross_compiling:$ac_tool_warned in
7668 yes:)
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned=yes ;;
7672 esac
7673 READELF=$ac_ct_READELF
7675 else
7676 READELF="$ac_cv_prog_READELF"
7679 wine_rules_file=conf$$rules.make
7680 rm -f $wine_rules_file
7681 SUBDIRS=""
7683 DISABLED_SUBDIRS=""
7685 CONFIGURE_TARGETS=""
7687 ALL_TEST_RESOURCES=""
7690 wine_fn_append_file ()
7692 as_fn_append $1 " \\$as_nl $2"
7695 wine_fn_append_rule ()
7697 $as_echo "$1" >>$wine_rules_file
7700 wine_fn_has_flag ()
7702 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7705 wine_fn_all_rules ()
7707 wine_fn_append_file SUBDIRS $ac_dir
7708 wine_fn_append_rule \
7709 "all: $ac_dir
7710 .PHONY: $ac_dir
7711 $ac_dir: dummy
7712 @cd $ac_dir && \$(MAKE)"
7715 wine_fn_install_rules ()
7717 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7719 wine_fn_append_rule \
7720 ".PHONY: $ac_dir/install $ac_dir/uninstall
7721 $ac_dir/install:: $ac_dir
7722 @cd $ac_dir && \$(MAKE) install
7723 $ac_dir/uninstall::
7724 @cd $ac_dir && \$(MAKE) uninstall
7725 install:: $ac_dir/install
7726 __uninstall__: $ac_dir/uninstall"
7728 if wine_fn_has_flag install-lib
7729 then
7730 wine_fn_append_rule \
7731 ".PHONY: $ac_dir/install-lib
7732 $ac_dir/install-lib:: $ac_dir
7733 @cd $ac_dir && \$(MAKE) install-lib
7734 install-lib:: $ac_dir/install-lib"
7737 if wine_fn_has_flag install-dev
7738 then
7739 wine_fn_append_rule \
7740 ".PHONY: $ac_dir/install-dev
7741 $ac_dir/install-dev:: $ac_dir
7742 @cd $ac_dir && \$(MAKE) install-dev
7743 install-dev:: $ac_dir/install-dev"
7747 wine_fn_clean_rules ()
7749 ac_clean=$@
7751 if wine_fn_has_flag clean
7752 then
7753 wine_fn_append_rule \
7754 "$ac_dir/clean: dummy
7755 @cd $ac_dir && \$(MAKE) clean"
7756 else
7757 wine_fn_append_rule \
7758 "$ac_dir/clean: dummy
7759 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7761 wine_fn_append_rule \
7762 "__clean__: $ac_dir/clean
7763 .PHONY: $ac_dir/clean"
7766 wine_fn_disabled_rules ()
7768 ac_clean=$@
7770 wine_fn_append_file SUBDIRS $ac_dir
7771 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7772 wine_fn_append_rule \
7773 "__clean__: $ac_dir/clean
7774 .PHONY: $ac_dir/clean
7775 $ac_dir/clean: dummy
7776 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7779 wine_fn_config_makefile ()
7781 ac_dir=$1
7782 ac_enable=$2
7783 ac_flags=$3
7785 case $ac_dir in
7786 fonts|server) test -z "$with_wine64" || return ;;
7787 esac
7788 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7789 wine_fn_disabled_rules; return
7791 wine_fn_all_rules
7792 wine_fn_install_rules
7793 wine_fn_clean_rules
7796 wine_fn_config_lib ()
7798 ac_name=$1
7799 ac_flags=$2
7800 ac_dir=dlls/$ac_name
7801 ac_deps="include"
7803 if test "x$enable_tools" = xno; then :
7805 else
7806 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7808 wine_fn_all_rules
7809 wine_fn_clean_rules
7811 wine_fn_append_rule \
7812 ".PHONY: $ac_dir/install $ac_dir/uninstall
7813 $ac_dir/install:: $ac_dir
7814 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7815 $ac_dir/uninstall::
7816 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7817 install install-dev:: $ac_dir/install
7818 __uninstall__: $ac_dir/uninstall
7819 __builddeps__: $ac_dir
7820 $ac_dir: $ac_deps"
7823 wine_fn_config_dll ()
7825 ac_name=$1
7826 ac_dir=dlls/$ac_name
7827 ac_enable=$2
7828 ac_flags=$3
7829 ac_implib=${4:-$ac_name}
7830 ac_file=$ac_dir/lib$ac_implib
7831 ac_dll=$ac_name
7832 ac_deps="include"
7833 ac_implibflags=""
7835 if test "x$enable_tools" = xno; then :
7837 else
7838 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7840 case $ac_name in
7841 *.*16) ac_implibflags=" -m16" ;;
7842 *.*) ;;
7843 *) ac_dll=$ac_dll.dll ;;
7844 esac
7846 ac_clean=
7847 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7848 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7850 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7851 if test "$ac_enable" != enable_win16
7852 then
7853 wine_fn_clean_rules $ac_clean
7854 wine_fn_append_file SUBDIRS $ac_dir
7855 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7856 else
7857 wine_fn_disabled_rules $ac_clean
7858 return
7860 else
7861 wine_fn_all_rules
7862 wine_fn_clean_rules $ac_clean
7863 wine_fn_append_rule \
7864 "$ac_dir: __builddeps__
7865 manpages htmlpages sgmlpages xmlpages::
7866 @cd $ac_dir && \$(MAKE) \$@
7867 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7868 install install-lib:: $ac_dir/install-lib
7869 __uninstall__: $ac_dir/uninstall"
7870 if test -n "$DLLEXT"
7871 then
7872 wine_fn_append_rule \
7873 "$ac_dir/install-lib:: $ac_dir
7874 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7875 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7876 $ac_dir/uninstall::
7877 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7878 else
7879 wine_fn_append_rule \
7880 "$ac_dir/install-lib:: $ac_dir
7881 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7882 $ac_dir/uninstall::
7883 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7887 if wine_fn_has_flag staticimplib
7888 then
7889 wine_fn_append_rule \
7890 "__builddeps__: $ac_file.a
7891 $ac_file.a $ac_file.cross.a: $ac_deps
7892 $ac_file.a: dummy
7893 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7894 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7895 $ac_dir/install-dev:: $ac_file.a
7896 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7897 $ac_dir/uninstall::
7898 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7899 install install-dev:: $ac_dir/install-dev
7900 __uninstall__: $ac_dir/uninstall"
7902 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7903 then
7904 wine_fn_append_rule \
7905 "__builddeps__: $ac_file.cross.a
7906 $ac_file.cross.a: dummy
7907 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7910 elif wine_fn_has_flag implib
7911 then
7912 wine_fn_append_rule \
7913 "__builddeps__: $ac_file.$IMPLIBEXT
7914 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7915 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7916 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7917 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7918 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7919 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7920 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7921 $ac_dir/uninstall::
7922 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7923 install install-dev:: $ac_dir/install-dev
7924 __uninstall__: $ac_dir/uninstall"
7925 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7926 then
7927 wine_fn_append_rule \
7928 "__builddeps__: $ac_file.cross.a
7929 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7930 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7935 wine_fn_config_program ()
7937 ac_name=$1
7938 ac_dir=programs/$ac_name
7939 ac_enable=$2
7940 ac_flags=$3
7941 ac_program=$ac_name
7943 case $ac_name in
7944 *.*) ;;
7945 *) ac_program=$ac_program.exe ;;
7946 esac
7948 ac_clean=
7949 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7950 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7952 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7953 wine_fn_disabled_rules $ac_clean; return
7956 wine_fn_all_rules
7957 wine_fn_clean_rules $ac_clean
7958 wine_fn_append_rule "$ac_dir: __builddeps__"
7960 wine_fn_has_flag install || return
7961 wine_fn_append_rule \
7962 ".PHONY: $ac_dir/install $ac_dir/uninstall
7963 install install-lib:: $ac_dir/install
7964 __uninstall__: $ac_dir/uninstall"
7966 if test -n "$DLLEXT"
7967 then
7968 wine_fn_append_rule \
7969 "$ac_dir/install:: $ac_dir
7970 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7971 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7972 $ac_dir/uninstall::
7973 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7975 if test -z "$with_wine64" && wine_fn_has_flag installbin
7976 then
7977 wine_fn_append_rule \
7978 "$ac_dir/install:: __tooldeps__
7979 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7980 $ac_dir/uninstall::
7981 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7983 else
7984 wine_fn_append_rule \
7985 "$ac_dir/install:: $ac_dir
7986 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7987 $ac_dir/uninstall::
7988 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7991 if test -z "$with_wine64" && wine_fn_has_flag manpage
7992 then
7993 wine_fn_append_rule \
7994 "$ac_dir/install:: $ac_dir
7995 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7996 $ac_dir/uninstall::
7997 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
8001 wine_fn_config_test ()
8003 ac_dir=$1
8004 ac_name=$2
8005 ac_flags=$3
8007 ac_clean=
8008 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
8009 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
8011 if test "x$enable_tests" = xno; then :
8012 wine_fn_disabled_rules $ac_clean; return
8015 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
8016 wine_fn_all_rules
8017 wine_fn_clean_rules $ac_clean
8019 wine_fn_append_rule \
8020 "$ac_dir: __builddeps__
8021 programs/winetest: $ac_dir
8022 check test: $ac_dir/test
8023 .PHONY: $ac_dir/test
8024 $ac_dir/test: dummy
8025 @cd $ac_dir && \$(MAKE) test
8026 testclean::
8027 \$(RM) $ac_dir/*.ok"
8029 if test -n "$CROSSTARGET"
8030 then
8031 wine_fn_append_rule \
8032 "crosstest: $ac_dir/crosstest
8033 .PHONY: $ac_dir/crosstest
8034 $ac_dir/crosstest: __builddeps__ dummy
8035 @cd $ac_dir && \$(MAKE) crosstest"
8039 wine_fn_config_tool ()
8041 ac_dir=$1
8042 ac_flags=$2
8043 if test "x$enable_tools" = xno; then :
8044 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8047 wine_fn_all_rules
8048 wine_fn_install_rules
8049 wine_fn_clean_rules
8051 wine_fn_append_rule "__tooldeps__: $ac_dir"
8052 wine_fn_append_rule "$ac_dir: libs/port"
8053 case $ac_dir in
8054 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8055 esac
8058 wine_fn_config_symlink ()
8060 ac_linkdir=
8061 if test "x$1" = "x-d"
8062 then
8063 ac_linkdir=$2
8064 shift; shift
8066 ac_links=$@
8067 wine_fn_append_rule \
8068 "$ac_links:
8069 @./config.status \$@"
8070 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8071 test -n "$ac_linkdir" || return
8072 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8075 wine_binary="wine"
8076 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8077 WINELOADER_PROGRAMS="$wine_binary"
8079 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8081 case $host_os in
8082 cygwin*|mingw32*)
8083 if test -n "$ac_tool_prefix"; then
8084 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8085 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8087 $as_echo_n "checking for $ac_word... " >&6; }
8088 if ${ac_cv_prog_DLLTOOL+:} false; then :
8089 $as_echo_n "(cached) " >&6
8090 else
8091 if test -n "$DLLTOOL"; then
8092 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8093 else
8094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 for as_dir in $PATH
8097 IFS=$as_save_IFS
8098 test -z "$as_dir" && as_dir=.
8099 for ac_exec_ext in '' $ac_executable_extensions; do
8100 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8101 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8103 break 2
8105 done
8106 done
8107 IFS=$as_save_IFS
8111 DLLTOOL=$ac_cv_prog_DLLTOOL
8112 if test -n "$DLLTOOL"; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8114 $as_echo "$DLLTOOL" >&6; }
8115 else
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117 $as_echo "no" >&6; }
8122 if test -z "$ac_cv_prog_DLLTOOL"; then
8123 ac_ct_DLLTOOL=$DLLTOOL
8124 # Extract the first word of "dlltool", so it can be a program name with args.
8125 set dummy dlltool; ac_word=$2
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127 $as_echo_n "checking for $ac_word... " >&6; }
8128 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8129 $as_echo_n "(cached) " >&6
8130 else
8131 if test -n "$ac_ct_DLLTOOL"; then
8132 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8133 else
8134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 for as_dir in $PATH
8137 IFS=$as_save_IFS
8138 test -z "$as_dir" && as_dir=.
8139 for ac_exec_ext in '' $ac_executable_extensions; do
8140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8141 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8143 break 2
8145 done
8146 done
8147 IFS=$as_save_IFS
8151 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8152 if test -n "$ac_ct_DLLTOOL"; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8154 $as_echo "$ac_ct_DLLTOOL" >&6; }
8155 else
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }
8160 if test "x$ac_ct_DLLTOOL" = x; then
8161 DLLTOOL="false"
8162 else
8163 case $cross_compiling:$ac_tool_warned in
8164 yes:)
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8167 ac_tool_warned=yes ;;
8168 esac
8169 DLLTOOL=$ac_ct_DLLTOOL
8171 else
8172 DLLTOOL="$ac_cv_prog_DLLTOOL"
8175 LIBEXT="dll"
8176 DLLEXT=""
8177 IMPLIBEXT="a"
8178 enable_iphlpapi=${enable_iphlpapi:-no}
8179 enable_kernel32=${enable_kernel32:-no}
8180 enable_msvcrt=${enable_msvcrt:-no}
8181 enable_ntdll=${enable_ntdll:-no}
8182 enable_ws2_32=${enable_ws2_32:-no}
8183 enable_loader=${enable_loader:-no}
8184 enable_server=${enable_server:-no}
8185 with_x=${with_x:-no}
8186 with_pthread=${with_pthread:-no}
8188 crtlibs=""
8189 case $host_os in
8190 mingw32*)
8191 crtlibs="-lmsvcrt"
8192 SOCKET_LIBS="-lws2_32"
8194 esac
8196 LIBWINE_SHAREDLIB="libwine.dll"
8198 LIBWINE_IMPORTLIB="libwine.a"
8200 LIBWINE_INSTALL_LIB="libwine.dll"
8202 LIBWINE_INSTALL_DEV="libwine.a"
8204 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8206 LIBWINE_DEPENDS="wine.def"
8210 darwin*|macosx*)
8211 for ac_header in libunwind.h
8212 do :
8213 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8214 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8215 cat >>confdefs.h <<_ACEOF
8216 #define HAVE_LIBUNWIND_H 1
8217 _ACEOF
8221 done
8223 LIBEXT="dylib"
8224 DLLFLAGS="$DLLFLAGS -fPIC"
8225 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8226 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8227 COREFOUNDATION_LIBS="-framework CoreFoundation"
8229 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8231 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8233 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8235 CORESERVICES_LIBS="-framework CoreServices"
8237 APPKIT_LIBS="-framework AppKit"
8239 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8241 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8242 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -Wl,-no_pie"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 ac_cv_cflags__Wl__no_pie=yes
8253 else
8254 ac_cv_cflags__Wl__no_pie=no
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8261 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8262 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8263 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8265 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8266 then
8267 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8270 if test "$ac_cv_header_Security_Security_h" = "yes"
8271 then
8272 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8274 ac_save_LIBS="$LIBS"
8275 LIBS="$LIBS $SECURITY_LIBS"
8276 for ac_func in SSLCopyPeerCertificates
8277 do :
8278 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8279 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8280 cat >>confdefs.h <<_ACEOF
8281 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8282 _ACEOF
8285 done
8287 LIBS="$ac_save_LIBS"
8288 with_gnutls=${with_gnutls:-no}
8290 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8291 then
8292 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8293 then
8294 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8296 else
8297 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8300 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8301 ac_save_LIBS="$LIBS"
8302 LIBS="$LIBS $COREAUDIO_LIBS"
8303 for ac_func in AUGraphAddNode
8304 do :
8305 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8306 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8307 cat >>confdefs.h <<_ACEOF
8308 #define HAVE_AUGRAPHADDNODE 1
8309 _ACEOF
8312 done
8314 LIBS="$ac_save_LIBS"
8316 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8317 then
8318 OPENAL_LIBS="-framework OpenAL"
8321 cat >>confdefs.h <<_ACEOF
8322 #define HAVE_OPENAL 1
8323 _ACEOF
8325 ac_cv_lib_openal=yes
8327 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8328 then
8329 OPENCL_LIBS="-framework OpenCL"
8331 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8333 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8334 then
8335 ac_save_LIBS="$LIBS"
8336 LIBS="$LIBS $IOKIT_LIBS"
8337 for ac_func in IOHIDManagerCreate
8338 do :
8339 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8340 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8341 cat >>confdefs.h <<_ACEOF
8342 #define HAVE_IOHIDMANAGERCREATE 1
8343 _ACEOF
8346 done
8348 LIBS="$ac_save_LIBS"
8350 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8351 then
8352 ac_save_LIBS="$LIBS"
8353 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8355 $as_echo_n "checking for the QuickTime framework... " >&6; }
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8358 #include <QuickTime/ImageCompression.h>
8360 main ()
8362 CodecManagerVersion(NULL);
8364 return 0;
8366 _ACEOF
8367 if ac_fn_c_try_link "$LINENO"; then :
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8369 $as_echo "yes" >&6; }
8370 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8372 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8373 else
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375 $as_echo "no" >&6; }
8376 ac_cv_header_QuickTime_ImageCompression_h=no
8378 rm -f core conftest.err conftest.$ac_objext \
8379 conftest$ac_exeext conftest.$ac_ext
8380 LIBS="$ac_save_LIBS"
8382 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8383 then
8384 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8386 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8387 then
8388 CARBON_LIBS="-framework Carbon"
8392 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8393 then
8394 ac_save_LIBS="$LIBS"
8395 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8396 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8397 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8398 enable_winemac_drv=${enable_winemac_drv:-yes}
8401 LIBS="$ac_save_LIBS"
8404 if test "x$enable_win16" = "xyes"
8405 then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8407 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8408 if test "$cross_compiling" = yes; then :
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8410 $as_echo "cross-compiling, assuming yes" >&6; }
8411 else
8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8413 /* end confdefs.h. */
8414 asm(".text\n"
8415 "bad:\tnop;nop\n"
8416 "good:\tnop;nop\n\t"
8417 ".globl _testfunc\n"
8418 "_testfunc:\tcallw good");
8419 extern void testfunc();
8421 main ()
8423 unsigned short *p = (unsigned short *)testfunc;
8424 return p[0] != 0xe866 || p[1] != 0xfffa
8426 return 0;
8428 _ACEOF
8429 if ac_fn_c_try_run "$LINENO"; then :
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8431 $as_echo "yes" >&6; }
8432 else
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8434 $as_echo "no" >&6; }
8435 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
8437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8438 conftest.$ac_objext conftest.beam conftest.$ac_ext
8443 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8445 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8447 LIBWINE_INSTALL_DEV="libwine.dylib"
8449 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8451 WINELOADER_DEPENDS="wine_info.plist"
8455 linux-android*)
8456 DLLFLAGS="$DLLFLAGS -fPIC"
8457 LDEXECFLAGS="-Wl,-pie"
8458 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8460 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8461 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8462 $as_echo_n "(cached) " >&6
8463 else
8464 ac_wine_try_cflags_saved=$CFLAGS
8465 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8467 /* end confdefs.h. */
8468 int main(int argc, char **argv) { return 0; }
8469 _ACEOF
8470 if ac_fn_c_try_link "$LINENO"; then :
8471 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8472 else
8473 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8475 rm -f core conftest.err conftest.$ac_objext \
8476 conftest$ac_exeext conftest.$ac_ext
8477 CFLAGS=$ac_wine_try_cflags_saved
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8480 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8481 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8482 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8484 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8486 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8487 if eval \${$as_ac_var+:} false; then :
8488 $as_echo_n "(cached) " >&6
8489 else
8490 ac_wine_try_cflags_saved=$CFLAGS
8491 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8493 /* end confdefs.h. */
8494 int main(int argc, char **argv) { return 0; }
8495 _ACEOF
8496 if ac_fn_c_try_link "$LINENO"; then :
8497 eval "$as_ac_var=yes"
8498 else
8499 eval "$as_ac_var=no"
8501 rm -f core conftest.err conftest.$ac_objext \
8502 conftest$ac_exeext conftest.$ac_ext
8503 CFLAGS=$ac_wine_try_cflags_saved
8505 eval ac_res=\$$as_ac_var
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8507 $as_echo "$ac_res" >&6; }
8508 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8509 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8510 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8511 else
8512 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8514 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8515 if eval \${$as_ac_var+:} false; then :
8516 $as_echo_n "(cached) " >&6
8517 else
8518 ac_wine_try_cflags_saved=$CFLAGS
8519 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8521 /* end confdefs.h. */
8522 int main(int argc, char **argv) { return 0; }
8523 _ACEOF
8524 if ac_fn_c_try_link "$LINENO"; then :
8525 eval "$as_ac_var=yes"
8526 else
8527 eval "$as_ac_var=no"
8529 rm -f core conftest.err conftest.$ac_objext \
8530 conftest$ac_exeext conftest.$ac_ext
8531 CFLAGS=$ac_wine_try_cflags_saved
8533 eval ac_res=\$$as_ac_var
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8535 $as_echo "$ac_res" >&6; }
8536 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8537 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8538 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8542 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8543 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8544 $as_echo_n "(cached) " >&6
8545 else
8546 ac_wine_try_cflags_saved=$CFLAGS
8547 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8550 int main(int argc, char **argv) { return 0; }
8551 _ACEOF
8552 if ac_fn_c_try_link "$LINENO"; then :
8553 ac_cv_cflags__Wl___enable_new_dtags=yes
8554 else
8555 ac_cv_cflags__Wl___enable_new_dtags=no
8557 rm -f core conftest.err conftest.$ac_objext \
8558 conftest$ac_exeext conftest.$ac_ext
8559 CFLAGS=$ac_wine_try_cflags_saved
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8562 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8563 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8564 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8567 LIBWINE_SHAREDLIB="libwine.so"
8569 LIBWINE_INSTALL_LIB="libwine.so"
8571 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8575 $as_echo_n "checking for -lEGL... " >&6; }
8576 if ${ac_cv_lib_soname_EGL+:} false; then :
8577 $as_echo_n "(cached) " >&6
8578 else
8579 ac_check_soname_save_LIBS=$LIBS
8580 LIBS="-lEGL $LIBS"
8581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8582 /* end confdefs.h. */
8584 /* Override any GCC internal prototype to avoid an error.
8585 Use char because int might match the return type of a GCC
8586 builtin and then its argument prototype would still apply. */
8587 #ifdef __cplusplus
8588 extern "C"
8589 #endif
8590 char eglGetProcAddress ();
8592 main ()
8594 return eglGetProcAddress ();
8596 return 0;
8598 _ACEOF
8599 if ac_fn_c_try_link "$LINENO"; then :
8600 case "$LIBEXT" in
8601 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8602 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'` ;;
8603 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8604 if ${ac_cv_lib_soname_EGL:+false} :; then :
8605 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8606 fi ;;
8607 esac
8609 rm -f core conftest.err conftest.$ac_objext \
8610 conftest$ac_exeext conftest.$ac_ext
8611 LIBS=$ac_check_soname_save_LIBS
8613 if ${ac_cv_lib_soname_EGL:+false} :; then :
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8615 $as_echo "not found" >&6; }
8617 else
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8619 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8621 cat >>confdefs.h <<_ACEOF
8622 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8623 _ACEOF
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8628 $as_echo_n "checking for -lGLESv2... " >&6; }
8629 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8630 $as_echo_n "(cached) " >&6
8631 else
8632 ac_check_soname_save_LIBS=$LIBS
8633 LIBS="-lGLESv2 $LIBS"
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8637 /* Override any GCC internal prototype to avoid an error.
8638 Use char because int might match the return type of a GCC
8639 builtin and then its argument prototype would still apply. */
8640 #ifdef __cplusplus
8641 extern "C"
8642 #endif
8643 char glFlush ();
8645 main ()
8647 return glFlush ();
8649 return 0;
8651 _ACEOF
8652 if ac_fn_c_try_link "$LINENO"; then :
8653 case "$LIBEXT" in
8654 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8655 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'` ;;
8656 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8657 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8658 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8659 fi ;;
8660 esac
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 LIBS=$ac_check_soname_save_LIBS
8666 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8668 $as_echo "not found" >&6; }
8670 else
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8672 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8674 cat >>confdefs.h <<_ACEOF
8675 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8676 _ACEOF
8681 if test "x$exec_prefix" = xNONE
8682 then
8683 case $host_cpu in
8684 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8685 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8686 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8687 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8688 esac
8693 DLLFLAGS="$DLLFLAGS -fPIC"
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8695 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8696 if ${ac_cv_c_dll_gnuelf+:} false; then :
8697 $as_echo_n "(cached) " >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 void myfunc() {}
8704 _ACEOF
8705 if ac_fn_c_try_link "$LINENO"; then :
8706 ac_cv_c_dll_gnuelf="yes"
8707 else
8708 ac_cv_c_dll_gnuelf="no"
8710 rm -f core conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
8712 CFLAGS=$ac_wine_try_cflags_saved
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8715 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8716 if test "$ac_cv_c_dll_gnuelf" = "yes"
8717 then
8718 LIBWINE_LDFLAGS="-shared"
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8720 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8721 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_wine_try_cflags_saved=$CFLAGS
8725 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8732 else
8733 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 CFLAGS=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8740 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8741 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8742 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8743 else
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8745 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8746 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8747 $as_echo_n "(cached) " >&6
8748 else
8749 ac_wine_try_cflags_saved=$CFLAGS
8750 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8752 /* end confdefs.h. */
8753 int main(int argc, char **argv) { return 0; }
8754 _ACEOF
8755 if ac_fn_c_try_link "$LINENO"; then :
8756 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8757 else
8758 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8760 rm -f core conftest.err conftest.$ac_objext \
8761 conftest$ac_exeext conftest.$ac_ext
8762 CFLAGS=$ac_wine_try_cflags_saved
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8765 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8766 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8767 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8771 echo '{ global: *; };' >conftest.map
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8773 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8774 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8775 $as_echo_n "(cached) " >&6
8776 else
8777 ac_wine_try_cflags_saved=$CFLAGS
8778 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8780 /* end confdefs.h. */
8781 int main(int argc, char **argv) { return 0; }
8782 _ACEOF
8783 if ac_fn_c_try_link "$LINENO"; then :
8784 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8785 else
8786 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8788 rm -f core conftest.err conftest.$ac_objext \
8789 conftest$ac_exeext conftest.$ac_ext
8790 CFLAGS=$ac_wine_try_cflags_saved
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8793 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8794 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8795 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8797 rm -f conftest.map
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8800 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8801 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8802 $as_echo_n "(cached) " >&6
8803 else
8804 ac_wine_try_cflags_saved=$CFLAGS
8805 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8807 /* end confdefs.h. */
8808 int main(int argc, char **argv) { return 0; }
8809 _ACEOF
8810 if ac_fn_c_try_link "$LINENO"; then :
8811 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8812 else
8813 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8815 rm -f core conftest.err conftest.$ac_objext \
8816 conftest$ac_exeext conftest.$ac_ext
8817 CFLAGS=$ac_wine_try_cflags_saved
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8820 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8821 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8822 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8825 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8827 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8828 if eval \${$as_ac_var+:} false; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 ac_wine_try_cflags_saved=$CFLAGS
8832 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8834 /* end confdefs.h. */
8835 int main(int argc, char **argv) { return 0; }
8836 _ACEOF
8837 if ac_fn_c_try_link "$LINENO"; then :
8838 eval "$as_ac_var=yes"
8839 else
8840 eval "$as_ac_var=no"
8842 rm -f core conftest.err conftest.$ac_objext \
8843 conftest$ac_exeext conftest.$ac_ext
8844 CFLAGS=$ac_wine_try_cflags_saved
8846 eval ac_res=\$$as_ac_var
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8848 $as_echo "$ac_res" >&6; }
8849 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8850 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8851 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8852 else
8853 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8855 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8856 if eval \${$as_ac_var+:} false; then :
8857 $as_echo_n "(cached) " >&6
8858 else
8859 ac_wine_try_cflags_saved=$CFLAGS
8860 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8863 int main(int argc, char **argv) { return 0; }
8864 _ACEOF
8865 if ac_fn_c_try_link "$LINENO"; then :
8866 eval "$as_ac_var=yes"
8867 else
8868 eval "$as_ac_var=no"
8870 rm -f core conftest.err conftest.$ac_objext \
8871 conftest$ac_exeext conftest.$ac_ext
8872 CFLAGS=$ac_wine_try_cflags_saved
8874 eval ac_res=\$$as_ac_var
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8876 $as_echo "$ac_res" >&6; }
8877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8878 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8879 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8884 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8885 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8886 $as_echo_n "(cached) " >&6
8887 else
8888 ac_wine_try_cflags_saved=$CFLAGS
8889 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8892 int main(int argc, char **argv) { return 0; }
8893 _ACEOF
8894 if ac_fn_c_try_link "$LINENO"; then :
8895 ac_cv_cflags__Wl___enable_new_dtags=yes
8896 else
8897 ac_cv_cflags__Wl___enable_new_dtags=no
8899 rm -f core conftest.err conftest.$ac_objext \
8900 conftest$ac_exeext conftest.$ac_ext
8901 CFLAGS=$ac_wine_try_cflags_saved
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8904 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8905 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8906 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8909 case $host_cpu in
8910 *i[3456789]86* | x86_64 | *aarch64*)
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8912 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8913 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8914 $as_echo_n "(cached) " >&6
8915 else
8916 ac_wine_try_cflags_saved=$CFLAGS
8917 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8919 /* end confdefs.h. */
8920 int main(int argc, char **argv) { return 0; }
8921 _ACEOF
8922 if ac_fn_c_try_link "$LINENO"; then :
8923 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8924 else
8925 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8927 rm -f core conftest.err conftest.$ac_objext \
8928 conftest$ac_exeext conftest.$ac_ext
8929 CFLAGS=$ac_wine_try_cflags_saved
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8932 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8933 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8934 case $host_os in
8935 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8936 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8937 esac
8938 else
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8940 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8941 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8942 $as_echo_n "(cached) " >&6
8943 else
8944 ac_wine_try_cflags_saved=$CFLAGS
8945 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8947 /* end confdefs.h. */
8948 int main(int argc, char **argv) { return 0; }
8949 _ACEOF
8950 if ac_fn_c_try_link "$LINENO"; then :
8951 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8952 else
8953 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8955 rm -f core conftest.err conftest.$ac_objext \
8956 conftest$ac_exeext conftest.$ac_ext
8957 CFLAGS=$ac_wine_try_cflags_saved
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8960 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8961 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8962 case $host_os in
8963 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8964 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8965 esac
8967 # Extract the first word of "prelink", so it can be a program name with args.
8968 set dummy prelink; ac_word=$2
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8970 $as_echo_n "checking for $ac_word... " >&6; }
8971 if ${ac_cv_path_PRELINK+:} false; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 case $PRELINK in
8975 [\\/]* | ?:[\\/]*)
8976 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8980 for as_dir in /sbin /usr/sbin $PATH
8982 IFS=$as_save_IFS
8983 test -z "$as_dir" && as_dir=.
8984 for ac_exec_ext in '' $ac_executable_extensions; do
8985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8986 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8988 break 2
8990 done
8991 done
8992 IFS=$as_save_IFS
8994 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8996 esac
8998 PRELINK=$ac_cv_path_PRELINK
8999 if test -n "$PRELINK"; then
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9001 $as_echo "$PRELINK" >&6; }
9002 else
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9004 $as_echo "no" >&6; }
9008 if test "x$PRELINK" = xfalse
9009 then
9010 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9014 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9015 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9016 $as_echo_n "(cached) " >&6
9017 else
9018 ac_wine_try_cflags_saved=$CFLAGS
9019 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9022 int main(int argc, char **argv) { return 0; }
9023 _ACEOF
9024 if ac_fn_c_try_link "$LINENO"; then :
9025 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9026 else
9027 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9029 rm -f core conftest.err conftest.$ac_objext \
9030 conftest$ac_exeext conftest.$ac_ext
9031 CFLAGS=$ac_wine_try_cflags_saved
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9034 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9035 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9036 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9039 esac
9041 else
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9043 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9044 if ${ac_cv_c_dll_unixware+:} false; then :
9045 $as_echo_n "(cached) " >&6
9046 else
9047 ac_wine_try_cflags_saved=$CFLAGS
9048 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9050 /* end confdefs.h. */
9051 void myfunc() {}
9052 _ACEOF
9053 if ac_fn_c_try_link "$LINENO"; then :
9054 ac_cv_c_dll_unixware="yes"
9055 else
9056 ac_cv_c_dll_unixware="no"
9058 rm -f core conftest.err conftest.$ac_objext \
9059 conftest$ac_exeext conftest.$ac_ext
9060 CFLAGS=$ac_wine_try_cflags_saved
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9063 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9064 if test "$ac_cv_c_dll_unixware" = "yes"
9065 then
9066 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9069 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9071 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9073 LIBWINE_INSTALL_DEV="libwine.so"
9075 LIBWINE_DEPENDS="wine.map"
9078 esac
9080 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9081 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9082 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9083 enable_winemac_drv=${enable_winemac_drv:-no}
9084 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9086 CROSSTARGET=""
9088 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9089 then
9090 case "$host_cpu" in
9091 arm*)
9092 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9093 i[3456789]86*)
9094 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
9095 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9096 mingw32-gcc" ;;
9097 x86_64)
9098 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
9099 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9101 ac_prefix_list="" ;;
9102 esac
9103 for ac_prog in $ac_prefix_list
9105 # Extract the first word of "$ac_prog", so it can be a program name with args.
9106 set dummy $ac_prog; ac_word=$2
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9108 $as_echo_n "checking for $ac_word... " >&6; }
9109 if ${ac_cv_prog_CROSSCC+:} false; then :
9110 $as_echo_n "(cached) " >&6
9111 else
9112 if test -n "$CROSSCC"; then
9113 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9114 else
9115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9116 for as_dir in $PATH
9118 IFS=$as_save_IFS
9119 test -z "$as_dir" && as_dir=.
9120 for ac_exec_ext in '' $ac_executable_extensions; do
9121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9122 ac_cv_prog_CROSSCC="$ac_prog"
9123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9124 break 2
9126 done
9127 done
9128 IFS=$as_save_IFS
9132 CROSSCC=$ac_cv_prog_CROSSCC
9133 if test -n "$CROSSCC"; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9135 $as_echo "$CROSSCC" >&6; }
9136 else
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9138 $as_echo "no" >&6; }
9142 test -n "$CROSSCC" && break
9143 done
9144 test -n "$CROSSCC" || CROSSCC="false"
9146 if test "$CROSSCC" != "false"
9147 then
9148 ac_save_CC="$CC"
9149 CC="$CROSSCC"
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9151 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9153 /* end confdefs.h. */
9156 main ()
9160 return 0;
9162 _ACEOF
9163 if ac_fn_c_try_compile "$LINENO"; then :
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9165 $as_echo "yes" >&6; }
9166 set x $CROSSCC
9167 shift
9168 while test $# -ge 1
9170 case "$1" in
9171 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9172 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9173 esac
9174 shift
9175 done
9176 else
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9178 $as_echo "no" >&6; }
9180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9181 CC="$ac_save_CC"
9182 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9188 if test "$ac_cv_header_pthread_h" = "yes"
9189 then
9190 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9191 if test "x$ac_cv_func_pthread_create" = xyes; then :
9193 else
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9195 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9196 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9197 $as_echo_n "(cached) " >&6
9198 else
9199 ac_check_lib_save_LIBS=$LIBS
9200 LIBS="-lpthread $LIBS"
9201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9202 /* end confdefs.h. */
9204 /* Override any GCC internal prototype to avoid an error.
9205 Use char because int might match the return type of a GCC
9206 builtin and then its argument prototype would still apply. */
9207 #ifdef __cplusplus
9208 extern "C"
9209 #endif
9210 char pthread_create ();
9212 main ()
9214 return pthread_create ();
9216 return 0;
9218 _ACEOF
9219 if ac_fn_c_try_link "$LINENO"; then :
9220 ac_cv_lib_pthread_pthread_create=yes
9221 else
9222 ac_cv_lib_pthread_pthread_create=no
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 LIBS=$ac_check_lib_save_LIBS
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9229 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9230 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9231 PTHREAD_LIBS="-lpthread"
9238 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9239 case "x$with_pthread" in
9240 xno) ;;
9241 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9242 Wine cannot support threads without libpthread.
9243 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9244 esac
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9250 $as_echo_n "checking for X... " >&6; }
9253 # Check whether --with-x was given.
9254 if test "${with_x+set}" = set; then :
9255 withval=$with_x;
9258 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9259 if test "x$with_x" = xno; then
9260 # The user explicitly disabled X.
9261 have_x=disabled
9262 else
9263 case $x_includes,$x_libraries in #(
9264 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9265 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9266 $as_echo_n "(cached) " >&6
9267 else
9268 # One or both of the vars are not set, and there is no cached value.
9269 ac_x_includes=no ac_x_libraries=no
9270 rm -f -r conftest.dir
9271 if mkdir conftest.dir; then
9272 cd conftest.dir
9273 cat >Imakefile <<'_ACEOF'
9274 incroot:
9275 @echo incroot='${INCROOT}'
9276 usrlibdir:
9277 @echo usrlibdir='${USRLIBDIR}'
9278 libdir:
9279 @echo libdir='${LIBDIR}'
9280 _ACEOF
9281 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9282 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9283 for ac_var in incroot usrlibdir libdir; do
9284 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9285 done
9286 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9287 for ac_extension in a so sl dylib la dll; do
9288 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9289 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9290 ac_im_usrlibdir=$ac_im_libdir; break
9292 done
9293 # Screen out bogus values from the imake configuration. They are
9294 # bogus both because they are the default anyway, and because
9295 # using them would break gcc on systems where it needs fixed includes.
9296 case $ac_im_incroot in
9297 /usr/include) ac_x_includes= ;;
9298 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9299 esac
9300 case $ac_im_usrlibdir in
9301 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9302 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9303 esac
9305 cd ..
9306 rm -f -r conftest.dir
9309 # Standard set of common directories for X headers.
9310 # Check X11 before X11Rn because it is often a symlink to the current release.
9311 ac_x_header_dirs='
9312 /usr/X11/include
9313 /usr/X11R7/include
9314 /usr/X11R6/include
9315 /usr/X11R5/include
9316 /usr/X11R4/include
9318 /usr/include/X11
9319 /usr/include/X11R7
9320 /usr/include/X11R6
9321 /usr/include/X11R5
9322 /usr/include/X11R4
9324 /usr/local/X11/include
9325 /usr/local/X11R7/include
9326 /usr/local/X11R6/include
9327 /usr/local/X11R5/include
9328 /usr/local/X11R4/include
9330 /usr/local/include/X11
9331 /usr/local/include/X11R7
9332 /usr/local/include/X11R6
9333 /usr/local/include/X11R5
9334 /usr/local/include/X11R4
9336 /usr/X386/include
9337 /usr/x386/include
9338 /usr/XFree86/include/X11
9340 /usr/include
9341 /usr/local/include
9342 /usr/unsupported/include
9343 /usr/athena/include
9344 /usr/local/x11r5/include
9345 /usr/lpp/Xamples/include
9347 /usr/openwin/include
9348 /usr/openwin/share/include'
9350 if test "$ac_x_includes" = no; then
9351 # Guess where to find include files, by looking for Xlib.h.
9352 # First, try using that file with no special directory specified.
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9355 #include <X11/Xlib.h>
9356 _ACEOF
9357 if ac_fn_c_try_cpp "$LINENO"; then :
9358 # We can compile using X headers with no special include directory.
9359 ac_x_includes=
9360 else
9361 for ac_dir in $ac_x_header_dirs; do
9362 if test -r "$ac_dir/X11/Xlib.h"; then
9363 ac_x_includes=$ac_dir
9364 break
9366 done
9368 rm -f conftest.err conftest.i conftest.$ac_ext
9369 fi # $ac_x_includes = no
9371 if test "$ac_x_libraries" = no; then
9372 # Check for the libraries.
9373 # See if we find them without any special options.
9374 # Don't add to $LIBS permanently.
9375 ac_save_LIBS=$LIBS
9376 LIBS="-lX11 $LIBS"
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h. */
9379 #include <X11/Xlib.h>
9381 main ()
9383 XrmInitialize ()
9385 return 0;
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 LIBS=$ac_save_LIBS
9390 # We can link X programs with no special library path.
9391 ac_x_libraries=
9392 else
9393 LIBS=$ac_save_LIBS
9394 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9396 # Don't even attempt the hair of trying to link an X program!
9397 for ac_extension in a so sl dylib la dll; do
9398 if test -r "$ac_dir/libX11.$ac_extension"; then
9399 ac_x_libraries=$ac_dir
9400 break 2
9402 done
9403 done
9405 rm -f core conftest.err conftest.$ac_objext \
9406 conftest$ac_exeext conftest.$ac_ext
9407 fi # $ac_x_libraries = no
9409 case $ac_x_includes,$ac_x_libraries in #(
9410 no,* | *,no | *\'*)
9411 # Didn't find X, or a directory has "'" in its name.
9412 ac_cv_have_x="have_x=no";; #(
9414 # Record where we found X for the cache.
9415 ac_cv_have_x="have_x=yes\
9416 ac_x_includes='$ac_x_includes'\
9417 ac_x_libraries='$ac_x_libraries'"
9418 esac
9420 ;; #(
9421 *) have_x=yes;;
9422 esac
9423 eval "$ac_cv_have_x"
9424 fi # $with_x != no
9426 if test "$have_x" != yes; then
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9428 $as_echo "$have_x" >&6; }
9429 no_x=yes
9430 else
9431 # If each of the values was on the command line, it overrides each guess.
9432 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9433 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9434 # Update the cache value to reflect the command line values.
9435 ac_cv_have_x="have_x=yes\
9436 ac_x_includes='$x_includes'\
9437 ac_x_libraries='$x_libraries'"
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9439 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9442 if test "$no_x" = yes; then
9443 # Not all programs may use this symbol, but it does not hurt to define it.
9445 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9447 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9448 else
9449 if test -n "$x_includes"; then
9450 X_CFLAGS="$X_CFLAGS -I$x_includes"
9453 # It would also be nice to do this for all -L options, not just this one.
9454 if test -n "$x_libraries"; then
9455 X_LIBS="$X_LIBS -L$x_libraries"
9456 # For Solaris; some versions of Sun CC require a space after -R and
9457 # others require no space. Words are not sufficient . . . .
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9459 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9460 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9461 ac_xsave_c_werror_flag=$ac_c_werror_flag
9462 ac_c_werror_flag=yes
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9467 main ()
9471 return 0;
9473 _ACEOF
9474 if ac_fn_c_try_link "$LINENO"; then :
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9476 $as_echo "no" >&6; }
9477 X_LIBS="$X_LIBS -R$x_libraries"
9478 else
9479 LIBS="$ac_xsave_LIBS -R $x_libraries"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9484 main ()
9488 return 0;
9490 _ACEOF
9491 if ac_fn_c_try_link "$LINENO"; then :
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9493 $as_echo "yes" >&6; }
9494 X_LIBS="$X_LIBS -R $x_libraries"
9495 else
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9497 $as_echo "neither works" >&6; }
9499 rm -f core conftest.err conftest.$ac_objext \
9500 conftest$ac_exeext conftest.$ac_ext
9502 rm -f core conftest.err conftest.$ac_objext \
9503 conftest$ac_exeext conftest.$ac_ext
9504 ac_c_werror_flag=$ac_xsave_c_werror_flag
9505 LIBS=$ac_xsave_LIBS
9508 # Check for system-dependent libraries X programs must link with.
9509 # Do this before checking for the system-independent R6 libraries
9510 # (-lICE), since we may need -lsocket or whatever for X linking.
9512 if test "$ISC" = yes; then
9513 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9514 else
9515 # Martyn Johnson says this is needed for Ultrix, if the X
9516 # libraries were built with DECnet support. And Karl Berry says
9517 # the Alpha needs dnet_stub (dnet does not exist).
9518 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9520 /* end confdefs.h. */
9522 /* Override any GCC internal prototype to avoid an error.
9523 Use char because int might match the return type of a GCC
9524 builtin and then its argument prototype would still apply. */
9525 #ifdef __cplusplus
9526 extern "C"
9527 #endif
9528 char XOpenDisplay ();
9530 main ()
9532 return XOpenDisplay ();
9534 return 0;
9536 _ACEOF
9537 if ac_fn_c_try_link "$LINENO"; then :
9539 else
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9541 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9542 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9543 $as_echo_n "(cached) " >&6
9544 else
9545 ac_check_lib_save_LIBS=$LIBS
9546 LIBS="-ldnet $LIBS"
9547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548 /* end confdefs.h. */
9550 /* Override any GCC internal prototype to avoid an error.
9551 Use char because int might match the return type of a GCC
9552 builtin and then its argument prototype would still apply. */
9553 #ifdef __cplusplus
9554 extern "C"
9555 #endif
9556 char dnet_ntoa ();
9558 main ()
9560 return dnet_ntoa ();
9562 return 0;
9564 _ACEOF
9565 if ac_fn_c_try_link "$LINENO"; then :
9566 ac_cv_lib_dnet_dnet_ntoa=yes
9567 else
9568 ac_cv_lib_dnet_dnet_ntoa=no
9570 rm -f core conftest.err conftest.$ac_objext \
9571 conftest$ac_exeext conftest.$ac_ext
9572 LIBS=$ac_check_lib_save_LIBS
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9575 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9576 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9577 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9580 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9582 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9583 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9584 $as_echo_n "(cached) " >&6
9585 else
9586 ac_check_lib_save_LIBS=$LIBS
9587 LIBS="-ldnet_stub $LIBS"
9588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9589 /* end confdefs.h. */
9591 /* Override any GCC internal prototype to avoid an error.
9592 Use char because int might match the return type of a GCC
9593 builtin and then its argument prototype would still apply. */
9594 #ifdef __cplusplus
9595 extern "C"
9596 #endif
9597 char dnet_ntoa ();
9599 main ()
9601 return dnet_ntoa ();
9603 return 0;
9605 _ACEOF
9606 if ac_fn_c_try_link "$LINENO"; then :
9607 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9608 else
9609 ac_cv_lib_dnet_stub_dnet_ntoa=no
9611 rm -f core conftest.err conftest.$ac_objext \
9612 conftest$ac_exeext conftest.$ac_ext
9613 LIBS=$ac_check_lib_save_LIBS
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9616 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9617 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9618 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS="$ac_xsave_LIBS"
9627 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9628 # to get the SysV transport functions.
9629 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9630 # needs -lnsl.
9631 # The nsl library prevents programs from opening the X display
9632 # on Irix 5.2, according to T.E. Dickey.
9633 # The functions gethostbyname, getservbyname, and inet_addr are
9634 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9635 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9636 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9640 if test $ac_cv_func_gethostbyname = no; then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9642 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9643 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9644 $as_echo_n "(cached) " >&6
9645 else
9646 ac_check_lib_save_LIBS=$LIBS
9647 LIBS="-lnsl $LIBS"
9648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9654 #ifdef __cplusplus
9655 extern "C"
9656 #endif
9657 char gethostbyname ();
9659 main ()
9661 return gethostbyname ();
9663 return 0;
9665 _ACEOF
9666 if ac_fn_c_try_link "$LINENO"; then :
9667 ac_cv_lib_nsl_gethostbyname=yes
9668 else
9669 ac_cv_lib_nsl_gethostbyname=no
9671 rm -f core conftest.err conftest.$ac_objext \
9672 conftest$ac_exeext conftest.$ac_ext
9673 LIBS=$ac_check_lib_save_LIBS
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9676 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9677 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9678 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9681 if test $ac_cv_lib_nsl_gethostbyname = no; then
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9683 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9684 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9685 $as_echo_n "(cached) " >&6
9686 else
9687 ac_check_lib_save_LIBS=$LIBS
9688 LIBS="-lbsd $LIBS"
9689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9690 /* end confdefs.h. */
9692 /* Override any GCC internal prototype to avoid an error.
9693 Use char because int might match the return type of a GCC
9694 builtin and then its argument prototype would still apply. */
9695 #ifdef __cplusplus
9696 extern "C"
9697 #endif
9698 char gethostbyname ();
9700 main ()
9702 return gethostbyname ();
9704 return 0;
9706 _ACEOF
9707 if ac_fn_c_try_link "$LINENO"; then :
9708 ac_cv_lib_bsd_gethostbyname=yes
9709 else
9710 ac_cv_lib_bsd_gethostbyname=no
9712 rm -f core conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 LIBS=$ac_check_lib_save_LIBS
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9717 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9718 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9719 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9725 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9726 # socket/setsockopt and other routines are undefined under SCO ODT
9727 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9728 # on later versions), says Simon Leinen: it contains gethostby*
9729 # variants that don't use the name server (or something). -lsocket
9730 # must be given before -lnsl if both are needed. We assume that
9731 # if connect needs -lnsl, so does gethostbyname.
9732 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9733 if test "x$ac_cv_func_connect" = xyes; then :
9737 if test $ac_cv_func_connect = no; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9739 $as_echo_n "checking for connect in -lsocket... " >&6; }
9740 if ${ac_cv_lib_socket_connect+:} false; then :
9741 $as_echo_n "(cached) " >&6
9742 else
9743 ac_check_lib_save_LIBS=$LIBS
9744 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9748 /* Override any GCC internal prototype to avoid an error.
9749 Use char because int might match the return type of a GCC
9750 builtin and then its argument prototype would still apply. */
9751 #ifdef __cplusplus
9752 extern "C"
9753 #endif
9754 char connect ();
9756 main ()
9758 return connect ();
9760 return 0;
9762 _ACEOF
9763 if ac_fn_c_try_link "$LINENO"; then :
9764 ac_cv_lib_socket_connect=yes
9765 else
9766 ac_cv_lib_socket_connect=no
9768 rm -f core conftest.err conftest.$ac_objext \
9769 conftest$ac_exeext conftest.$ac_ext
9770 LIBS=$ac_check_lib_save_LIBS
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9773 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9774 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9775 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9780 # Guillermo Gomez says -lposix is necessary on A/UX.
9781 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9782 if test "x$ac_cv_func_remove" = xyes; then :
9786 if test $ac_cv_func_remove = no; then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9788 $as_echo_n "checking for remove in -lposix... " >&6; }
9789 if ${ac_cv_lib_posix_remove+:} false; then :
9790 $as_echo_n "(cached) " >&6
9791 else
9792 ac_check_lib_save_LIBS=$LIBS
9793 LIBS="-lposix $LIBS"
9794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9795 /* end confdefs.h. */
9797 /* Override any GCC internal prototype to avoid an error.
9798 Use char because int might match the return type of a GCC
9799 builtin and then its argument prototype would still apply. */
9800 #ifdef __cplusplus
9801 extern "C"
9802 #endif
9803 char remove ();
9805 main ()
9807 return remove ();
9809 return 0;
9811 _ACEOF
9812 if ac_fn_c_try_link "$LINENO"; then :
9813 ac_cv_lib_posix_remove=yes
9814 else
9815 ac_cv_lib_posix_remove=no
9817 rm -f core conftest.err conftest.$ac_objext \
9818 conftest$ac_exeext conftest.$ac_ext
9819 LIBS=$ac_check_lib_save_LIBS
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9822 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9823 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9824 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9829 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9830 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9831 if test "x$ac_cv_func_shmat" = xyes; then :
9835 if test $ac_cv_func_shmat = no; then
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9837 $as_echo_n "checking for shmat in -lipc... " >&6; }
9838 if ${ac_cv_lib_ipc_shmat+:} false; then :
9839 $as_echo_n "(cached) " >&6
9840 else
9841 ac_check_lib_save_LIBS=$LIBS
9842 LIBS="-lipc $LIBS"
9843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844 /* end confdefs.h. */
9846 /* Override any GCC internal prototype to avoid an error.
9847 Use char because int might match the return type of a GCC
9848 builtin and then its argument prototype would still apply. */
9849 #ifdef __cplusplus
9850 extern "C"
9851 #endif
9852 char shmat ();
9854 main ()
9856 return shmat ();
9858 return 0;
9860 _ACEOF
9861 if ac_fn_c_try_link "$LINENO"; then :
9862 ac_cv_lib_ipc_shmat=yes
9863 else
9864 ac_cv_lib_ipc_shmat=no
9866 rm -f core conftest.err conftest.$ac_objext \
9867 conftest$ac_exeext conftest.$ac_ext
9868 LIBS=$ac_check_lib_save_LIBS
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9871 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9872 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9873 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9879 # Check for libraries that X11R6 Xt/Xaw programs need.
9880 ac_save_LDFLAGS=$LDFLAGS
9881 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9882 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9883 # check for ICE first), but we must link in the order -lSM -lICE or
9884 # we get undefined symbols. So assume we have SM if we have ICE.
9885 # These have to be linked with before -lX11, unlike the other
9886 # libraries we check for below, so use a different variable.
9887 # John Interrante, Karl Berry
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9889 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9890 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_check_lib_save_LIBS=$LIBS
9894 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9896 /* end confdefs.h. */
9898 /* Override any GCC internal prototype to avoid an error.
9899 Use char because int might match the return type of a GCC
9900 builtin and then its argument prototype would still apply. */
9901 #ifdef __cplusplus
9902 extern "C"
9903 #endif
9904 char IceConnectionNumber ();
9906 main ()
9908 return IceConnectionNumber ();
9910 return 0;
9912 _ACEOF
9913 if ac_fn_c_try_link "$LINENO"; then :
9914 ac_cv_lib_ICE_IceConnectionNumber=yes
9915 else
9916 ac_cv_lib_ICE_IceConnectionNumber=no
9918 rm -f core conftest.err conftest.$ac_objext \
9919 conftest$ac_exeext conftest.$ac_ext
9920 LIBS=$ac_check_lib_save_LIBS
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9923 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9924 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9925 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9928 LDFLAGS=$ac_save_LDFLAGS
9933 if test "$have_x" = "yes"
9934 then
9935 ac_save_CPPFLAGS="$CPPFLAGS"
9936 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9939 $as_echo_n "checking for -lX11... " >&6; }
9940 if ${ac_cv_lib_soname_X11+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_check_soname_save_LIBS=$LIBS
9944 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9951 #ifdef __cplusplus
9952 extern "C"
9953 #endif
9954 char XCreateWindow ();
9956 main ()
9958 return XCreateWindow ();
9960 return 0;
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 case "$LIBEXT" in
9965 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9966 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'` ;;
9967 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9968 if ${ac_cv_lib_soname_X11:+false} :; then :
9969 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9970 fi ;;
9971 esac
9973 rm -f core conftest.err conftest.$ac_objext \
9974 conftest$ac_exeext conftest.$ac_ext
9975 LIBS=$ac_check_soname_save_LIBS
9977 if ${ac_cv_lib_soname_X11:+false} :; then :
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9979 $as_echo "not found" >&6; }
9981 else
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9983 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9985 cat >>confdefs.h <<_ACEOF
9986 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9987 _ACEOF
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9992 $as_echo_n "checking for -lXext... " >&6; }
9993 if ${ac_cv_lib_soname_Xext+:} false; then :
9994 $as_echo_n "(cached) " >&6
9995 else
9996 ac_check_soname_save_LIBS=$LIBS
9997 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9999 /* end confdefs.h. */
10001 /* Override any GCC internal prototype to avoid an error.
10002 Use char because int might match the return type of a GCC
10003 builtin and then its argument prototype would still apply. */
10004 #ifdef __cplusplus
10005 extern "C"
10006 #endif
10007 char XextCreateExtension ();
10009 main ()
10011 return XextCreateExtension ();
10013 return 0;
10015 _ACEOF
10016 if ac_fn_c_try_link "$LINENO"; then :
10017 case "$LIBEXT" in
10018 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10019 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'` ;;
10020 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10021 if ${ac_cv_lib_soname_Xext:+false} :; then :
10022 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10023 fi ;;
10024 esac
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 LIBS=$ac_check_soname_save_LIBS
10030 if ${ac_cv_lib_soname_Xext:+false} :; then :
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10032 $as_echo "not found" >&6; }
10034 else
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10036 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10038 cat >>confdefs.h <<_ACEOF
10039 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10040 _ACEOF
10042 X_LIBS="$X_LIBS -lXext"
10044 X_LIBS="$X_LIBS -lX11"
10046 for ac_header in X11/Xlib.h \
10047 X11/XKBlib.h \
10048 X11/Xutil.h \
10049 X11/Xcursor/Xcursor.h \
10050 X11/extensions/shape.h \
10051 X11/extensions/XInput.h \
10052 X11/extensions/XInput2.h \
10053 X11/extensions/XShm.h \
10054 X11/extensions/Xcomposite.h \
10055 X11/extensions/Xfixes.h \
10056 X11/extensions/Xinerama.h \
10057 X11/extensions/Xrandr.h \
10058 X11/extensions/Xrender.h \
10059 X11/extensions/xf86vmode.h \
10060 X11/extensions/xf86vmproto.h
10061 do :
10062 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10063 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10064 # include <X11/Xlib.h>
10065 #endif
10066 #ifdef HAVE_X11_XUTIL_H
10067 # include <X11/Xutil.h>
10068 #endif
10070 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10071 cat >>confdefs.h <<_ACEOF
10072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10073 _ACEOF
10077 done
10080 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10081 then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10083 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10084 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10085 $as_echo_n "(cached) " >&6
10086 else
10087 ac_check_lib_save_LIBS=$LIBS
10088 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10095 #ifdef __cplusplus
10096 extern "C"
10097 #endif
10098 char XkbQueryExtension ();
10100 main ()
10102 return XkbQueryExtension ();
10104 return 0;
10106 _ACEOF
10107 if ac_fn_c_try_link "$LINENO"; then :
10108 ac_cv_lib_X11_XkbQueryExtension=yes
10109 else
10110 ac_cv_lib_X11_XkbQueryExtension=no
10112 rm -f core conftest.err conftest.$ac_objext \
10113 conftest$ac_exeext conftest.$ac_ext
10114 LIBS=$ac_check_lib_save_LIBS
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10117 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10118 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10120 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10126 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10127 then
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10129 $as_echo_n "checking for -lXcursor... " >&6; }
10130 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10131 $as_echo_n "(cached) " >&6
10132 else
10133 ac_check_soname_save_LIBS=$LIBS
10134 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10138 /* Override any GCC internal prototype to avoid an error.
10139 Use char because int might match the return type of a GCC
10140 builtin and then its argument prototype would still apply. */
10141 #ifdef __cplusplus
10142 extern "C"
10143 #endif
10144 char XcursorImageLoadCursor ();
10146 main ()
10148 return XcursorImageLoadCursor ();
10150 return 0;
10152 _ACEOF
10153 if ac_fn_c_try_link "$LINENO"; then :
10154 case "$LIBEXT" in
10155 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10156 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'` ;;
10157 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10158 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10159 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10160 fi ;;
10161 esac
10163 rm -f core conftest.err conftest.$ac_objext \
10164 conftest$ac_exeext conftest.$ac_ext
10165 LIBS=$ac_check_soname_save_LIBS
10167 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10169 $as_echo "not found" >&6; }
10171 else
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10173 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10175 cat >>confdefs.h <<_ACEOF
10176 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10177 _ACEOF
10182 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10183 case "x$with_xcursor" in
10184 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10185 xno) ;;
10186 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10187 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10188 esac
10192 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10193 then
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10195 $as_echo_n "checking for -lXi... " >&6; }
10196 if ${ac_cv_lib_soname_Xi+:} false; then :
10197 $as_echo_n "(cached) " >&6
10198 else
10199 ac_check_soname_save_LIBS=$LIBS
10200 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10207 #ifdef __cplusplus
10208 extern "C"
10209 #endif
10210 char XOpenDevice ();
10212 main ()
10214 return XOpenDevice ();
10216 return 0;
10218 _ACEOF
10219 if ac_fn_c_try_link "$LINENO"; then :
10220 case "$LIBEXT" in
10221 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10222 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'` ;;
10223 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10224 if ${ac_cv_lib_soname_Xi:+false} :; then :
10225 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10226 fi ;;
10227 esac
10229 rm -f core conftest.err conftest.$ac_objext \
10230 conftest$ac_exeext conftest.$ac_ext
10231 LIBS=$ac_check_soname_save_LIBS
10233 if ${ac_cv_lib_soname_Xi:+false} :; then :
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10235 $as_echo "not found" >&6; }
10237 else
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10239 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10241 cat >>confdefs.h <<_ACEOF
10242 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10243 _ACEOF
10248 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10249 case "x$with_xinput" in
10250 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10251 xno) ;;
10252 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10253 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10254 esac
10258 if test "x$ac_cv_lib_soname_Xi" != x
10259 then
10260 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10261 case "x$with_xinput2" in
10262 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10263 xno) ;;
10264 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10265 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10266 esac
10271 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10272 then
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10274 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10275 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10276 $as_echo_n "(cached) " >&6
10277 else
10278 ac_check_lib_save_LIBS=$LIBS
10279 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10283 /* Override any GCC internal prototype to avoid an error.
10284 Use char because int might match the return type of a GCC
10285 builtin and then its argument prototype would still apply. */
10286 #ifdef __cplusplus
10287 extern "C"
10288 #endif
10289 char XShmQueryExtension ();
10291 main ()
10293 return XShmQueryExtension ();
10295 return 0;
10297 _ACEOF
10298 if ac_fn_c_try_link "$LINENO"; then :
10299 ac_cv_lib_Xext_XShmQueryExtension=yes
10300 else
10301 ac_cv_lib_Xext_XShmQueryExtension=no
10303 rm -f core conftest.err conftest.$ac_objext \
10304 conftest$ac_exeext conftest.$ac_ext
10305 LIBS=$ac_check_lib_save_LIBS
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10308 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10309 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10311 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10316 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10317 case "x$with_xshm" in
10318 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10319 xno) ;;
10320 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10321 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10322 esac
10326 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10327 then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10329 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10330 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10331 $as_echo_n "(cached) " >&6
10332 else
10333 ac_check_lib_save_LIBS=$LIBS
10334 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10338 /* Override any GCC internal prototype to avoid an error.
10339 Use char because int might match the return type of a GCC
10340 builtin and then its argument prototype would still apply. */
10341 #ifdef __cplusplus
10342 extern "C"
10343 #endif
10344 char XShapeQueryExtension ();
10346 main ()
10348 return XShapeQueryExtension ();
10350 return 0;
10352 _ACEOF
10353 if ac_fn_c_try_link "$LINENO"; then :
10354 ac_cv_lib_Xext_XShapeQueryExtension=yes
10355 else
10356 ac_cv_lib_Xext_XShapeQueryExtension=no
10358 rm -f core conftest.err conftest.$ac_objext \
10359 conftest$ac_exeext conftest.$ac_ext
10360 LIBS=$ac_check_lib_save_LIBS
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10363 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10364 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10366 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10371 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10372 case "x$with_xshape" in
10373 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10374 xno) ;;
10375 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10376 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10377 esac
10381 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10382 then
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10384 $as_echo_n "checking for -lXxf86vm... " >&6; }
10385 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10386 $as_echo_n "(cached) " >&6
10387 else
10388 ac_check_soname_save_LIBS=$LIBS
10389 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10391 /* end confdefs.h. */
10393 /* Override any GCC internal prototype to avoid an error.
10394 Use char because int might match the return type of a GCC
10395 builtin and then its argument prototype would still apply. */
10396 #ifdef __cplusplus
10397 extern "C"
10398 #endif
10399 char XF86VidModeQueryExtension ();
10401 main ()
10403 return XF86VidModeQueryExtension ();
10405 return 0;
10407 _ACEOF
10408 if ac_fn_c_try_link "$LINENO"; then :
10409 case "$LIBEXT" in
10410 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10411 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'` ;;
10412 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10413 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10414 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10415 fi ;;
10416 esac
10418 rm -f core conftest.err conftest.$ac_objext \
10419 conftest$ac_exeext conftest.$ac_ext
10420 LIBS=$ac_check_soname_save_LIBS
10422 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10424 $as_echo "not found" >&6; }
10426 else
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10428 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10430 cat >>confdefs.h <<_ACEOF
10431 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10432 _ACEOF
10437 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10438 case "x$with_xxf86vm" in
10439 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10440 xno) ;;
10441 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10442 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10443 esac
10447 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10448 then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10450 $as_echo_n "checking for -lXrender... " >&6; }
10451 if ${ac_cv_lib_soname_Xrender+:} false; then :
10452 $as_echo_n "(cached) " >&6
10453 else
10454 ac_check_soname_save_LIBS=$LIBS
10455 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10462 #ifdef __cplusplus
10463 extern "C"
10464 #endif
10465 char XRenderQueryExtension ();
10467 main ()
10469 return XRenderQueryExtension ();
10471 return 0;
10473 _ACEOF
10474 if ac_fn_c_try_link "$LINENO"; then :
10475 case "$LIBEXT" in
10476 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10477 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'` ;;
10478 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10479 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10480 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10481 fi ;;
10482 esac
10484 rm -f core conftest.err conftest.$ac_objext \
10485 conftest$ac_exeext conftest.$ac_ext
10486 LIBS=$ac_check_soname_save_LIBS
10488 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10490 $as_echo "not found" >&6; }
10492 else
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10494 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10496 cat >>confdefs.h <<_ACEOF
10497 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10498 _ACEOF
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10501 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10502 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10503 $as_echo_n "(cached) " >&6
10504 else
10505 ac_check_lib_save_LIBS=$LIBS
10506 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10508 /* end confdefs.h. */
10510 /* Override any GCC internal prototype to avoid an error.
10511 Use char because int might match the return type of a GCC
10512 builtin and then its argument prototype would still apply. */
10513 #ifdef __cplusplus
10514 extern "C"
10515 #endif
10516 char XRenderSetPictureTransform ();
10518 main ()
10520 return XRenderSetPictureTransform ();
10522 return 0;
10524 _ACEOF
10525 if ac_fn_c_try_link "$LINENO"; then :
10526 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10527 else
10528 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10530 rm -f core conftest.err conftest.$ac_objext \
10531 conftest$ac_exeext conftest.$ac_ext
10532 LIBS=$ac_check_lib_save_LIBS
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10535 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10536 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10538 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10543 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10544 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10545 $as_echo_n "(cached) " >&6
10546 else
10547 ac_check_lib_save_LIBS=$LIBS
10548 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10550 /* end confdefs.h. */
10552 /* Override any GCC internal prototype to avoid an error.
10553 Use char because int might match the return type of a GCC
10554 builtin and then its argument prototype would still apply. */
10555 #ifdef __cplusplus
10556 extern "C"
10557 #endif
10558 char XRenderCreateLinearGradient ();
10560 main ()
10562 return XRenderCreateLinearGradient ();
10564 return 0;
10566 _ACEOF
10567 if ac_fn_c_try_link "$LINENO"; then :
10568 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10569 else
10570 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10572 rm -f core conftest.err conftest.$ac_objext \
10573 conftest$ac_exeext conftest.$ac_ext
10574 LIBS=$ac_check_lib_save_LIBS
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10577 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10578 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10580 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10587 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10588 case "x$with_xrender" in
10589 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10590 xno) ;;
10591 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10592 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10593 esac
10597 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10598 then
10599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10600 /* end confdefs.h. */
10601 #include <X11/Xlib.h>
10602 #include <X11/extensions/Xrandr.h>
10604 main ()
10606 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10608 return 0;
10610 _ACEOF
10611 if ac_fn_c_try_compile "$LINENO"; then :
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10613 $as_echo_n "checking for -lXrandr... " >&6; }
10614 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10615 $as_echo_n "(cached) " >&6
10616 else
10617 ac_check_soname_save_LIBS=$LIBS
10618 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10622 /* Override any GCC internal prototype to avoid an error.
10623 Use char because int might match the return type of a GCC
10624 builtin and then its argument prototype would still apply. */
10625 #ifdef __cplusplus
10626 extern "C"
10627 #endif
10628 char XRRQueryExtension ();
10630 main ()
10632 return XRRQueryExtension ();
10634 return 0;
10636 _ACEOF
10637 if ac_fn_c_try_link "$LINENO"; then :
10638 case "$LIBEXT" in
10639 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10640 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'` ;;
10641 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10642 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10643 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10644 fi ;;
10645 esac
10647 rm -f core conftest.err conftest.$ac_objext \
10648 conftest$ac_exeext conftest.$ac_ext
10649 LIBS=$ac_check_soname_save_LIBS
10651 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10653 $as_echo "not found" >&6; }
10655 else
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10657 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10659 cat >>confdefs.h <<_ACEOF
10660 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10661 _ACEOF
10663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10664 /* end confdefs.h. */
10665 #include <X11/Xlib.h>
10666 #include <X11/extensions/Xrandr.h>
10668 main ()
10670 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10672 return 0;
10674 _ACEOF
10675 if ac_fn_c_try_compile "$LINENO"; then :
10677 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10685 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10686 case "x$with_xrandr" in
10687 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10688 xno) ;;
10689 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10690 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10691 esac
10695 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10696 then
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10699 #include <X11/Xlib.h>
10700 #include <X11/extensions/Xfixes.h>
10702 main ()
10704 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10706 return 0;
10708 _ACEOF
10709 if ac_fn_c_try_compile "$LINENO"; then :
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10711 $as_echo_n "checking for -lXfixes... " >&6; }
10712 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_check_soname_save_LIBS=$LIBS
10716 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10723 #ifdef __cplusplus
10724 extern "C"
10725 #endif
10726 char XFixesQueryVersion ();
10728 main ()
10730 return XFixesQueryVersion ();
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 case "$LIBEXT" in
10737 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10738 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'` ;;
10739 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10740 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10741 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10742 fi ;;
10743 esac
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_soname_save_LIBS
10749 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10751 $as_echo "not found" >&6; }
10753 else
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10755 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10757 cat >>confdefs.h <<_ACEOF
10758 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10759 _ACEOF
10764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10766 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10767 case "x$with_xfixes" in
10768 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10769 xno) ;;
10770 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10771 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10772 esac
10776 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10777 then
10778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10779 /* end confdefs.h. */
10780 #include <X11/Xlib.h>
10781 #include <X11/extensions/Xinerama.h>
10783 main ()
10785 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10787 return 0;
10789 _ACEOF
10790 if ac_fn_c_try_compile "$LINENO"; then :
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10792 $as_echo_n "checking for -lXinerama... " >&6; }
10793 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10794 $as_echo_n "(cached) " >&6
10795 else
10796 ac_check_soname_save_LIBS=$LIBS
10797 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10804 #ifdef __cplusplus
10805 extern "C"
10806 #endif
10807 char XineramaQueryScreens ();
10809 main ()
10811 return XineramaQueryScreens ();
10813 return 0;
10815 _ACEOF
10816 if ac_fn_c_try_link "$LINENO"; then :
10817 case "$LIBEXT" in
10818 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10819 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'` ;;
10820 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10821 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10822 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10823 fi ;;
10824 esac
10826 rm -f core conftest.err conftest.$ac_objext \
10827 conftest$ac_exeext conftest.$ac_ext
10828 LIBS=$ac_check_soname_save_LIBS
10830 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10832 $as_echo "not found" >&6; }
10834 else
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10836 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10838 cat >>confdefs.h <<_ACEOF
10839 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10840 _ACEOF
10845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10847 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10848 case "x$with_xinerama" in
10849 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10850 xno) ;;
10851 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10852 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10853 esac
10857 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10858 then
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10860 $as_echo_n "checking for -lXcomposite... " >&6; }
10861 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10862 $as_echo_n "(cached) " >&6
10863 else
10864 ac_check_soname_save_LIBS=$LIBS
10865 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10867 /* end confdefs.h. */
10869 /* Override any GCC internal prototype to avoid an error.
10870 Use char because int might match the return type of a GCC
10871 builtin and then its argument prototype would still apply. */
10872 #ifdef __cplusplus
10873 extern "C"
10874 #endif
10875 char XCompositeRedirectWindow ();
10877 main ()
10879 return XCompositeRedirectWindow ();
10881 return 0;
10883 _ACEOF
10884 if ac_fn_c_try_link "$LINENO"; then :
10885 case "$LIBEXT" in
10886 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10887 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'` ;;
10888 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10889 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10890 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10891 fi ;;
10892 esac
10894 rm -f core conftest.err conftest.$ac_objext \
10895 conftest$ac_exeext conftest.$ac_ext
10896 LIBS=$ac_check_soname_save_LIBS
10898 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10900 $as_echo "not found" >&6; }
10902 else
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10904 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10906 cat >>confdefs.h <<_ACEOF
10907 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10908 _ACEOF
10913 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10914 case "x$with_xcomposite" in
10915 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10916 xno) ;;
10917 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10918 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10919 esac
10923 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10924 #include <X11/Xlib.h>
10925 #endif
10927 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10929 cat >>confdefs.h <<_ACEOF
10930 #define HAVE_XICCALLBACK_CALLBACK 1
10931 _ACEOF
10935 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10936 #include <X11/Xlib.h>
10937 #endif
10939 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10941 cat >>confdefs.h <<_ACEOF
10942 #define HAVE_XEVENT_XCOOKIE 1
10943 _ACEOF
10950 opengl_msg=""
10951 if test "x$with_opengl" != "xno"
10952 then
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10954 $as_echo_n "checking for -lGL... " >&6; }
10955 if ${ac_cv_lib_soname_GL+:} false; then :
10956 $as_echo_n "(cached) " >&6
10957 else
10958 ac_check_soname_save_LIBS=$LIBS
10959 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10961 /* end confdefs.h. */
10963 /* Override any GCC internal prototype to avoid an error.
10964 Use char because int might match the return type of a GCC
10965 builtin and then its argument prototype would still apply. */
10966 #ifdef __cplusplus
10967 extern "C"
10968 #endif
10969 char glXCreateContext ();
10971 main ()
10973 return glXCreateContext ();
10975 return 0;
10977 _ACEOF
10978 if ac_fn_c_try_link "$LINENO"; then :
10979 case "$LIBEXT" in
10980 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10981 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'` ;;
10982 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10983 if ${ac_cv_lib_soname_GL:+false} :; then :
10984 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10985 fi ;;
10986 esac
10988 rm -f core conftest.err conftest.$ac_objext \
10989 conftest$ac_exeext conftest.$ac_ext
10990 LIBS=$ac_check_soname_save_LIBS
10992 if ${ac_cv_lib_soname_GL:+false} :; then :
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10994 $as_echo "not found" >&6; }
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10996 $as_echo_n "checking for -lGL... " >&6; }
10997 if ${ac_cv_lib_soname_GL+:} false; then :
10998 $as_echo_n "(cached) " >&6
10999 else
11000 ac_check_soname_save_LIBS=$LIBS
11001 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"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11005 /* Override any GCC internal prototype to avoid an error.
11006 Use char because int might match the return type of a GCC
11007 builtin and then its argument prototype would still apply. */
11008 #ifdef __cplusplus
11009 extern "C"
11010 #endif
11011 char glXCreateContext ();
11013 main ()
11015 return glXCreateContext ();
11017 return 0;
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"; then :
11021 case "$LIBEXT" in
11022 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11023 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'` ;;
11024 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11025 if ${ac_cv_lib_soname_GL:+false} :; then :
11026 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11027 fi ;;
11028 esac
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_soname_save_LIBS
11034 if ${ac_cv_lib_soname_GL:+false} :; then :
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11036 $as_echo "not found" >&6; }
11037 if test -f /usr/X11R6/lib/libGL.a
11038 then
11039 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11040 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11041 else
11042 opengl_msg="No OpenGL library found on this system."
11044 else
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11046 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11048 cat >>confdefs.h <<_ACEOF
11049 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11050 _ACEOF
11052 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"
11054 else
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11056 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11058 cat >>confdefs.h <<_ACEOF
11059 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11060 _ACEOF
11062 OPENGL_LIBS="-lGL"
11064 if test "x$with_glu" != "xno"
11065 then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11067 $as_echo_n "checking for -lGLU... " >&6; }
11068 if ${ac_cv_lib_soname_GLU+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_soname_save_LIBS=$LIBS
11072 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char gluLookAt ();
11084 main ()
11086 return gluLookAt ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 case "$LIBEXT" in
11093 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11094 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'` ;;
11095 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11096 if ${ac_cv_lib_soname_GLU:+false} :; then :
11097 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11098 fi ;;
11099 esac
11101 rm -f core conftest.err conftest.$ac_objext \
11102 conftest$ac_exeext conftest.$ac_ext
11103 LIBS=$ac_check_soname_save_LIBS
11105 if ${ac_cv_lib_soname_GLU:+false} :; then :
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11107 $as_echo "not found" >&6; }
11109 else
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11111 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11113 cat >>confdefs.h <<_ACEOF
11114 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11115 _ACEOF
11119 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11120 case "x$with_glu" in
11121 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11122 xno) ;;
11123 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11124 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11125 esac
11130 if test "x$with_osmesa" != "xno"
11131 then
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11133 $as_echo_n "checking for -lOSMesa... " >&6; }
11134 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11135 $as_echo_n "(cached) " >&6
11136 else
11137 ac_check_soname_save_LIBS=$LIBS
11138 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11145 #ifdef __cplusplus
11146 extern "C"
11147 #endif
11148 char OSMesaGetProcAddress ();
11150 main ()
11152 return OSMesaGetProcAddress ();
11154 return 0;
11156 _ACEOF
11157 if ac_fn_c_try_link "$LINENO"; then :
11158 case "$LIBEXT" in
11159 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11160 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'` ;;
11161 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11162 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11163 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11164 fi ;;
11165 esac
11167 rm -f core conftest.err conftest.$ac_objext \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_soname_save_LIBS
11171 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11173 $as_echo "not found" >&6; }
11175 else
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11177 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11179 cat >>confdefs.h <<_ACEOF
11180 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11181 _ACEOF
11185 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11186 case "x$with_osmesa" in
11187 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11188 xno) ;;
11189 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11190 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11191 esac
11196 if test -n "$opengl_msg"; then :
11197 case "x$with_opengl" in
11198 x) as_fn_append wine_warnings "|$opengl_msg
11199 OpenGL and Direct3D won't be supported." ;;
11200 xno) ;;
11201 *) as_fn_error $? "$opengl_msg
11202 OpenGL and Direct3D won't be supported.
11203 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11204 esac
11208 CPPFLAGS="$ac_save_CPPFLAGS"
11209 else
11210 X_CFLAGS=""
11211 X_LIBS=""
11214 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11215 then
11216 if test "x$X_LIBS" = "x"; then :
11217 case "x$with_x" in
11218 xno) ;;
11219 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11220 without X support, which probably isn't what you want. You will need
11221 to install ${notice_platform}development packages of Xlib at the very least.
11222 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11223 esac
11224 enable_winex11_drv=${enable_winex11_drv:-no}
11226 else
11227 if test "x$X_LIBS" = "x"; then :
11228 case "x$with_x" in
11229 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11230 xno) ;;
11231 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11232 This is an error since --with-x was requested." "$LINENO" 5 ;;
11233 esac
11234 enable_winex11_drv=${enable_winex11_drv:-no}
11238 if test "$ac_cv_header_CL_cl_h" = "yes"
11239 then
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11241 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11242 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11243 $as_echo_n "(cached) " >&6
11244 else
11245 ac_check_lib_save_LIBS=$LIBS
11246 LIBS="-lOpenCL $LIBS"
11247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11248 /* end confdefs.h. */
11250 /* Override any GCC internal prototype to avoid an error.
11251 Use char because int might match the return type of a GCC
11252 builtin and then its argument prototype would still apply. */
11253 #ifdef __cplusplus
11254 extern "C"
11255 #endif
11256 char clGetPlatformInfo ();
11258 main ()
11260 return clGetPlatformInfo ();
11262 return 0;
11264 _ACEOF
11265 if ac_fn_c_try_link "$LINENO"; then :
11266 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11267 else
11268 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11270 rm -f core conftest.err conftest.$ac_objext \
11271 conftest$ac_exeext conftest.$ac_ext
11272 LIBS=$ac_check_lib_save_LIBS
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11275 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11276 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11277 OPENCL_LIBS="-lOpenCL"
11282 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11283 case "x$with_opencl" in
11284 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11285 xno) ;;
11286 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11287 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11288 esac
11289 enable_opencl=${enable_opencl:-no}
11292 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11293 then
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11295 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11296 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11297 $as_echo_n "(cached) " >&6
11298 else
11299 ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-lpcap $LIBS"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h. */
11304 /* Override any GCC internal prototype to avoid an error.
11305 Use char because int might match the return type of a GCC
11306 builtin and then its argument prototype would still apply. */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char pcap_create ();
11312 main ()
11314 return pcap_create ();
11316 return 0;
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"; then :
11320 ac_cv_lib_pcap_pcap_create=yes
11321 else
11322 ac_cv_lib_pcap_pcap_create=no
11324 rm -f core conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11329 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11330 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11331 PCAP_LIBS="-lpcap"
11336 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11337 case "x$with_pcap" in
11338 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11339 xno) ;;
11340 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11341 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11342 esac
11343 enable_wpcap=${enable_wpcap:-no}
11347 if test "x$with_xml" != "xno"
11348 then
11349 if ${XML2_CFLAGS:+false} :; then :
11350 if ${PKG_CONFIG+:} false; then :
11351 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11354 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11355 if ${XML2_LIBS:+false} :; then :
11356 if ${PKG_CONFIG+:} false; then :
11357 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11360 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11361 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11362 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11363 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11364 ac_save_CPPFLAGS=$CPPFLAGS
11365 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11366 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11367 do :
11368 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11369 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11370 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11371 cat >>confdefs.h <<_ACEOF
11372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11373 _ACEOF
11377 done
11379 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"
11380 then
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11382 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11383 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_lib_save_LIBS=$LIBS
11387 LIBS="-lxml2 $XML2_LIBS $LIBS"
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char xmlParseMemory ();
11399 main ()
11401 return xmlParseMemory ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_xml2_xmlParseMemory=yes
11408 else
11409 ac_cv_lib_xml2_xmlParseMemory=no
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11416 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11417 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11419 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11421 else
11422 XML2_LIBS=""
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11426 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11427 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11428 $as_echo_n "(cached) " >&6
11429 else
11430 ac_check_lib_save_LIBS=$LIBS
11431 LIBS="-lxml2 $XML2_LIBS $LIBS"
11432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11433 /* end confdefs.h. */
11435 /* Override any GCC internal prototype to avoid an error.
11436 Use char because int might match the return type of a GCC
11437 builtin and then its argument prototype would still apply. */
11438 #ifdef __cplusplus
11439 extern "C"
11440 #endif
11441 char xmlReadMemory ();
11443 main ()
11445 return xmlReadMemory ();
11447 return 0;
11449 _ACEOF
11450 if ac_fn_c_try_link "$LINENO"; then :
11451 ac_cv_lib_xml2_xmlReadMemory=yes
11452 else
11453 ac_cv_lib_xml2_xmlReadMemory=no
11455 rm -f core conftest.err conftest.$ac_objext \
11456 conftest$ac_exeext conftest.$ac_ext
11457 LIBS=$ac_check_lib_save_LIBS
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11460 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11461 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11463 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11468 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11469 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11470 $as_echo_n "(cached) " >&6
11471 else
11472 ac_check_lib_save_LIBS=$LIBS
11473 LIBS="-lxml2 $XML2_LIBS $LIBS"
11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11475 /* end confdefs.h. */
11477 /* Override any GCC internal prototype to avoid an error.
11478 Use char because int might match the return type of a GCC
11479 builtin and then its argument prototype would still apply. */
11480 #ifdef __cplusplus
11481 extern "C"
11482 #endif
11483 char xmlNewDocPI ();
11485 main ()
11487 return xmlNewDocPI ();
11489 return 0;
11491 _ACEOF
11492 if ac_fn_c_try_link "$LINENO"; then :
11493 ac_cv_lib_xml2_xmlNewDocPI=yes
11494 else
11495 ac_cv_lib_xml2_xmlNewDocPI=no
11497 rm -f core conftest.err conftest.$ac_objext \
11498 conftest$ac_exeext conftest.$ac_ext
11499 LIBS=$ac_check_lib_save_LIBS
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11502 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11503 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11505 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11510 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11511 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11512 $as_echo_n "(cached) " >&6
11513 else
11514 ac_check_lib_save_LIBS=$LIBS
11515 LIBS="-lxml2 $XML2_LIBS $LIBS"
11516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11517 /* end confdefs.h. */
11519 /* Override any GCC internal prototype to avoid an error.
11520 Use char because int might match the return type of a GCC
11521 builtin and then its argument prototype would still apply. */
11522 #ifdef __cplusplus
11523 extern "C"
11524 #endif
11525 char xmlSchemaSetParserStructuredErrors ();
11527 main ()
11529 return xmlSchemaSetParserStructuredErrors ();
11531 return 0;
11533 _ACEOF
11534 if ac_fn_c_try_link "$LINENO"; then :
11535 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11536 else
11537 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11539 rm -f core conftest.err conftest.$ac_objext \
11540 conftest$ac_exeext conftest.$ac_ext
11541 LIBS=$ac_check_lib_save_LIBS
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11544 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11545 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11547 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11552 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11553 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11554 $as_echo_n "(cached) " >&6
11555 else
11556 ac_check_lib_save_LIBS=$LIBS
11557 LIBS="-lxml2 $XML2_LIBS $LIBS"
11558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11564 #ifdef __cplusplus
11565 extern "C"
11566 #endif
11567 char xmlSchemaSetValidStructuredErrors ();
11569 main ()
11571 return xmlSchemaSetValidStructuredErrors ();
11573 return 0;
11575 _ACEOF
11576 if ac_fn_c_try_link "$LINENO"; then :
11577 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11578 else
11579 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11581 rm -f core conftest.err conftest.$ac_objext \
11582 conftest$ac_exeext conftest.$ac_ext
11583 LIBS=$ac_check_lib_save_LIBS
11585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11586 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11587 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11589 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11594 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11595 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 ac_check_lib_save_LIBS=$LIBS
11599 LIBS="-lxml2 $XML2_LIBS $LIBS"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char xmlFirstElementChild ();
11611 main ()
11613 return xmlFirstElementChild ();
11615 return 0;
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"; then :
11619 ac_cv_lib_xml2_xmlFirstElementChild=yes
11620 else
11621 ac_cv_lib_xml2_xmlFirstElementChild=no
11623 rm -f core conftest.err conftest.$ac_objext \
11624 conftest$ac_exeext conftest.$ac_ext
11625 LIBS=$ac_check_lib_save_LIBS
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11628 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11629 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11631 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11635 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11637 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11639 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11643 else
11644 XML2_CFLAGS=""
11645 XML2_LIBS=""
11647 CPPFLAGS=$ac_save_CPPFLAGS
11648 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11649 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11652 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11653 case "x$with_xml" in
11654 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11655 xno) ;;
11656 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11657 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11658 esac
11662 if test "x$with_xslt" != "xno"
11663 then
11664 if ${XSLT_CFLAGS:+false} :; then :
11665 if ${PKG_CONFIG+:} false; then :
11666 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11669 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11670 if ${XSLT_LIBS:+false} :; then :
11671 if ${PKG_CONFIG+:} false; then :
11672 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11675 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11676 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11677 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11678 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11679 ac_save_CPPFLAGS=$CPPFLAGS
11680 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11681 for ac_header in libxslt/pattern.h libxslt/transform.h
11682 do :
11683 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11684 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11685 # include <libxslt/pattern.h>
11686 #endif
11688 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11689 cat >>confdefs.h <<_ACEOF
11690 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11691 _ACEOF
11695 done
11697 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11698 then
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11700 $as_echo_n "checking for -lxslt... " >&6; }
11701 if ${ac_cv_lib_soname_xslt+:} false; then :
11702 $as_echo_n "(cached) " >&6
11703 else
11704 ac_check_soname_save_LIBS=$LIBS
11705 LIBS="-lxslt $XSLT_LIBS $LIBS"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11709 /* Override any GCC internal prototype to avoid an error.
11710 Use char because int might match the return type of a GCC
11711 builtin and then its argument prototype would still apply. */
11712 #ifdef __cplusplus
11713 extern "C"
11714 #endif
11715 char xsltCompilePattern ();
11717 main ()
11719 return xsltCompilePattern ();
11721 return 0;
11723 _ACEOF
11724 if ac_fn_c_try_link "$LINENO"; then :
11725 case "$LIBEXT" in
11726 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11727 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'` ;;
11728 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11729 if ${ac_cv_lib_soname_xslt:+false} :; then :
11730 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11731 fi ;;
11732 esac
11734 rm -f core conftest.err conftest.$ac_objext \
11735 conftest$ac_exeext conftest.$ac_ext
11736 LIBS=$ac_check_soname_save_LIBS
11738 if ${ac_cv_lib_soname_xslt:+false} :; then :
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11740 $as_echo "not found" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11744 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11746 cat >>confdefs.h <<_ACEOF
11747 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11748 _ACEOF
11752 else
11753 XSLT_CFLAGS=""
11755 CPPFLAGS=$ac_save_CPPFLAGS
11756 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11757 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11760 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11761 case "x$with_xslt" in
11762 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11763 xno) ;;
11764 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11765 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11766 esac
11770 if test "x$with_dbus" != "xno"
11771 then
11772 if ${DBUS_CFLAGS:+false} :; then :
11773 if ${PKG_CONFIG+:} false; then :
11774 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11778 if ${DBUS_LIBS:+false} :; then :
11779 if ${PKG_CONFIG+:} false; then :
11780 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11785 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11786 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11787 ac_save_CPPFLAGS=$CPPFLAGS
11788 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11789 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11790 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11792 $as_echo_n "checking for -ldbus-1... " >&6; }
11793 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11794 $as_echo_n "(cached) " >&6
11795 else
11796 ac_check_soname_save_LIBS=$LIBS
11797 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799 /* end confdefs.h. */
11801 /* Override any GCC internal prototype to avoid an error.
11802 Use char because int might match the return type of a GCC
11803 builtin and then its argument prototype would still apply. */
11804 #ifdef __cplusplus
11805 extern "C"
11806 #endif
11807 char dbus_connection_close ();
11809 main ()
11811 return dbus_connection_close ();
11813 return 0;
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"; then :
11817 case "$LIBEXT" in
11818 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11819 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'` ;;
11820 *) 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'`
11821 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11822 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11823 fi ;;
11824 esac
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_soname_save_LIBS
11830 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11832 $as_echo "not found" >&6; }
11833 DBUS_CFLAGS=""
11834 else
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11836 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11838 cat >>confdefs.h <<_ACEOF
11839 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11840 _ACEOF
11844 else
11845 DBUS_CFLAGS=""
11849 CPPFLAGS=$ac_save_CPPFLAGS
11850 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11851 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11854 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11855 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11856 case "x$with_dbus" in
11857 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11858 xno) ;;
11859 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11860 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11861 esac
11865 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11866 then
11867 if ${HAL_CFLAGS:+false} :; then :
11868 if ${PKG_CONFIG+:} false; then :
11869 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11873 if ${HAL_LIBS:+false} :; then :
11874 if ${PKG_CONFIG+:} false; then :
11875 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11879 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11880 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11881 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11882 ac_save_CPPFLAGS=$CPPFLAGS
11883 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11884 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11885 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11887 $as_echo_n "checking for -lhal... " >&6; }
11888 if ${ac_cv_lib_soname_hal+:} false; then :
11889 $as_echo_n "(cached) " >&6
11890 else
11891 ac_check_soname_save_LIBS=$LIBS
11892 LIBS="-lhal $HAL_LIBS $LIBS"
11893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11894 /* end confdefs.h. */
11896 /* Override any GCC internal prototype to avoid an error.
11897 Use char because int might match the return type of a GCC
11898 builtin and then its argument prototype would still apply. */
11899 #ifdef __cplusplus
11900 extern "C"
11901 #endif
11902 char libhal_ctx_new ();
11904 main ()
11906 return libhal_ctx_new ();
11908 return 0;
11910 _ACEOF
11911 if ac_fn_c_try_link "$LINENO"; then :
11912 case "$LIBEXT" in
11913 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11914 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'` ;;
11915 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11916 if ${ac_cv_lib_soname_hal:+false} :; then :
11917 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11918 fi ;;
11919 esac
11921 rm -f core conftest.err conftest.$ac_objext \
11922 conftest$ac_exeext conftest.$ac_ext
11923 LIBS=$ac_check_soname_save_LIBS
11925 if ${ac_cv_lib_soname_hal:+false} :; then :
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11927 $as_echo "not found" >&6; }
11928 HAL_CFLAGS=""
11929 else
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11931 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11933 cat >>confdefs.h <<_ACEOF
11934 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11935 _ACEOF
11939 else
11940 HAL_CFLAGS=""
11944 CPPFLAGS=$ac_save_CPPFLAGS
11945 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11946 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11948 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11949 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11950 case "x$with_hal" in
11951 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11952 xno) ;;
11953 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11954 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11955 esac
11960 if test "x$with_gnutls" != "xno"
11961 then
11962 if ${GNUTLS_CFLAGS:+false} :; then :
11963 if ${PKG_CONFIG+:} false; then :
11964 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11968 if ${GNUTLS_LIBS:+false} :; then :
11969 if ${PKG_CONFIG+:} false; then :
11970 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11975 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11976 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11977 ac_save_CPPFLAGS=$CPPFLAGS
11978 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11979 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11980 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11983 #include <gnutls/gnutls.h>
11984 #include <gnutls/crypto.h>
11986 main ()
11988 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11990 return 0;
11992 _ACEOF
11993 if ac_fn_c_try_compile "$LINENO"; then :
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11995 $as_echo_n "checking for -lgnutls... " >&6; }
11996 if ${ac_cv_lib_soname_gnutls+:} false; then :
11997 $as_echo_n "(cached) " >&6
11998 else
11999 ac_check_soname_save_LIBS=$LIBS
12000 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
12001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12002 /* end confdefs.h. */
12004 /* Override any GCC internal prototype to avoid an error.
12005 Use char because int might match the return type of a GCC
12006 builtin and then its argument prototype would still apply. */
12007 #ifdef __cplusplus
12008 extern "C"
12009 #endif
12010 char gnutls_global_init ();
12012 main ()
12014 return gnutls_global_init ();
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_link "$LINENO"; then :
12020 case "$LIBEXT" in
12021 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12022 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'` ;;
12023 *) 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'`
12024 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12025 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'`
12026 fi ;;
12027 esac
12029 rm -f core conftest.err conftest.$ac_objext \
12030 conftest$ac_exeext conftest.$ac_ext
12031 LIBS=$ac_check_soname_save_LIBS
12033 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12035 $as_echo "not found" >&6; }
12036 GNUTLS_CFLAGS=""
12037 else
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12039 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12041 cat >>confdefs.h <<_ACEOF
12042 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12043 _ACEOF
12047 ac_wine_check_funcs_save_LIBS="$LIBS"
12048 LIBS="$LIBS $GNUTLS_LIBS"
12049 for ac_func in gnutls_cipher_init
12050 do :
12051 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12052 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12053 cat >>confdefs.h <<_ACEOF
12054 #define HAVE_GNUTLS_CIPHER_INIT 1
12055 _ACEOF
12057 else
12058 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12060 done
12062 LIBS="$ac_wine_check_funcs_save_LIBS"
12064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12065 else
12066 GNUTLS_CFLAGS=""
12070 CPPFLAGS=$ac_save_CPPFLAGS
12071 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12072 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12075 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12076 case "x$with_gnutls" in
12077 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12078 xno) ;;
12079 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12080 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12081 esac
12085 CURSES_LIBS=""
12086 if test "$ac_cv_header_ncurses_h" = "yes"
12087 then
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12089 $as_echo_n "checking for -lncurses... " >&6; }
12090 if ${ac_cv_lib_soname_ncurses+:} false; then :
12091 $as_echo_n "(cached) " >&6
12092 else
12093 ac_check_soname_save_LIBS=$LIBS
12094 LIBS="-lncurses $LIBS"
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h. */
12098 /* Override any GCC internal prototype to avoid an error.
12099 Use char because int might match the return type of a GCC
12100 builtin and then its argument prototype would still apply. */
12101 #ifdef __cplusplus
12102 extern "C"
12103 #endif
12104 char waddch ();
12106 main ()
12108 return waddch ();
12110 return 0;
12112 _ACEOF
12113 if ac_fn_c_try_link "$LINENO"; then :
12114 case "$LIBEXT" in
12115 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12116 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'` ;;
12117 *) 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'`
12118 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12119 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12120 fi ;;
12121 esac
12123 rm -f core conftest.err conftest.$ac_objext \
12124 conftest$ac_exeext conftest.$ac_ext
12125 LIBS=$ac_check_soname_save_LIBS
12127 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12129 $as_echo "not found" >&6; }
12131 else
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12133 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12135 cat >>confdefs.h <<_ACEOF
12136 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12137 _ACEOF
12139 CURSES_LIBS="-lncurses"
12141 elif test "$ac_cv_header_curses_h" = "yes"
12142 then
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12144 $as_echo_n "checking for -lcurses... " >&6; }
12145 if ${ac_cv_lib_soname_curses+:} false; then :
12146 $as_echo_n "(cached) " >&6
12147 else
12148 ac_check_soname_save_LIBS=$LIBS
12149 LIBS="-lcurses $LIBS"
12150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 #ifdef __cplusplus
12157 extern "C"
12158 #endif
12159 char waddch ();
12161 main ()
12163 return waddch ();
12165 return 0;
12167 _ACEOF
12168 if ac_fn_c_try_link "$LINENO"; then :
12169 case "$LIBEXT" in
12170 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12171 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'` ;;
12172 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12173 if ${ac_cv_lib_soname_curses:+false} :; then :
12174 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12175 fi ;;
12176 esac
12178 rm -f core conftest.err conftest.$ac_objext \
12179 conftest$ac_exeext conftest.$ac_ext
12180 LIBS=$ac_check_soname_save_LIBS
12182 if ${ac_cv_lib_soname_curses:+false} :; then :
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12184 $as_echo "not found" >&6; }
12186 else
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12188 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12190 cat >>confdefs.h <<_ACEOF
12191 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12192 _ACEOF
12194 CURSES_LIBS="-lcurses"
12197 ac_save_LIBS="$LIBS"
12198 LIBS="$LIBS $CURSES_LIBS"
12199 for ac_func in mousemask
12200 do :
12201 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12202 if test "x$ac_cv_func_mousemask" = xyes; then :
12203 cat >>confdefs.h <<_ACEOF
12204 #define HAVE_MOUSEMASK 1
12205 _ACEOF
12208 done
12210 LIBS="$ac_save_LIBS"
12211 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12212 case "x$with_curses" in
12213 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12214 xno) ;;
12215 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12216 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12217 esac
12221 if test "x$with_sane" != "xno"
12222 then
12223 if ${SANE_CFLAGS:+false} :; then :
12224 if ${PKG_CONFIG+:} false; then :
12225 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12228 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12229 if ${SANE_LIBS:+false} :; then :
12230 if ${PKG_CONFIG+:} false; then :
12231 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12234 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12236 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12237 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12238 ac_save_CPPFLAGS=$CPPFLAGS
12239 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12240 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12241 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12243 $as_echo_n "checking for -lsane... " >&6; }
12244 if ${ac_cv_lib_soname_sane+:} false; then :
12245 $as_echo_n "(cached) " >&6
12246 else
12247 ac_check_soname_save_LIBS=$LIBS
12248 LIBS="-lsane $SANE_LIBS $LIBS"
12249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12252 /* Override any GCC internal prototype to avoid an error.
12253 Use char because int might match the return type of a GCC
12254 builtin and then its argument prototype would still apply. */
12255 #ifdef __cplusplus
12256 extern "C"
12257 #endif
12258 char sane_init ();
12260 main ()
12262 return sane_init ();
12264 return 0;
12266 _ACEOF
12267 if ac_fn_c_try_link "$LINENO"; then :
12268 case "$LIBEXT" in
12269 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12270 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'` ;;
12271 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12272 if ${ac_cv_lib_soname_sane:+false} :; then :
12273 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12274 fi ;;
12275 esac
12277 rm -f core conftest.err conftest.$ac_objext \
12278 conftest$ac_exeext conftest.$ac_ext
12279 LIBS=$ac_check_soname_save_LIBS
12281 if ${ac_cv_lib_soname_sane:+false} :; then :
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12283 $as_echo "not found" >&6; }
12284 SANE_CFLAGS=""
12285 else
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12287 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12289 cat >>confdefs.h <<_ACEOF
12290 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12291 _ACEOF
12295 else
12296 SANE_CFLAGS=""
12300 CPPFLAGS=$ac_save_CPPFLAGS
12301 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12302 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12305 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12306 case "x$with_sane" in
12307 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12308 xno) ;;
12309 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12310 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12311 esac
12315 if test "x$with_v4l" != "xno"
12316 then
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12318 $as_echo_n "checking for -lv4l1... " >&6; }
12319 if ${ac_cv_lib_soname_v4l1+:} false; then :
12320 $as_echo_n "(cached) " >&6
12321 else
12322 ac_check_soname_save_LIBS=$LIBS
12323 LIBS="-lv4l1 $LIBS"
12324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12327 /* Override any GCC internal prototype to avoid an error.
12328 Use char because int might match the return type of a GCC
12329 builtin and then its argument prototype would still apply. */
12330 #ifdef __cplusplus
12331 extern "C"
12332 #endif
12333 char v4l1_open ();
12335 main ()
12337 return v4l1_open ();
12339 return 0;
12341 _ACEOF
12342 if ac_fn_c_try_link "$LINENO"; then :
12343 case "$LIBEXT" in
12344 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12345 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'` ;;
12346 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12347 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12348 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12349 fi ;;
12350 esac
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
12354 LIBS=$ac_check_soname_save_LIBS
12356 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12358 $as_echo "not found" >&6; }
12360 else
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12362 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12364 cat >>confdefs.h <<_ACEOF
12365 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12366 _ACEOF
12371 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12372 case "x$with_v4l" in
12373 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12374 xno) ;;
12375 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12376 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12377 esac
12381 if test "x$with_gphoto" != "xno"
12382 then
12383 if ${GPHOTO2_CFLAGS:+false} :; then :
12384 if ${PKG_CONFIG+:} false; then :
12385 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12388 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12389 if ${GPHOTO2_LIBS:+false} :; then :
12390 if ${PKG_CONFIG+:} false; then :
12391 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12394 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12395 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12396 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12397 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12398 ac_save_CPPFLAGS=$CPPFLAGS
12399 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12400 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12401 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12403 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12404 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12405 $as_echo_n "(cached) " >&6
12406 else
12407 ac_check_lib_save_LIBS=$LIBS
12408 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12410 /* end confdefs.h. */
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12415 #ifdef __cplusplus
12416 extern "C"
12417 #endif
12418 char gp_camera_new ();
12420 main ()
12422 return gp_camera_new ();
12424 return 0;
12426 _ACEOF
12427 if ac_fn_c_try_link "$LINENO"; then :
12428 ac_cv_lib_gphoto2_gp_camera_new=yes
12429 else
12430 ac_cv_lib_gphoto2_gp_camera_new=no
12432 rm -f core conftest.err conftest.$ac_objext \
12433 conftest$ac_exeext conftest.$ac_ext
12434 LIBS=$ac_check_lib_save_LIBS
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12437 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12438 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12440 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12442 else
12443 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12446 else
12447 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12451 CPPFLAGS=$ac_save_CPPFLAGS
12452 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12453 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12455 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12456 if ${PKG_CONFIG+:} false; then :
12457 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12460 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12461 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12462 if ${PKG_CONFIG+:} false; then :
12463 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12466 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12467 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12468 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12469 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12470 ac_save_CPPFLAGS=$CPPFLAGS
12471 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12472 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12473 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12475 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12476 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12477 $as_echo_n "(cached) " >&6
12478 else
12479 ac_check_lib_save_LIBS=$LIBS
12480 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12482 /* end confdefs.h. */
12484 /* Override any GCC internal prototype to avoid an error.
12485 Use char because int might match the return type of a GCC
12486 builtin and then its argument prototype would still apply. */
12487 #ifdef __cplusplus
12488 extern "C"
12489 #endif
12490 char gp_port_info_list_new ();
12492 main ()
12494 return gp_port_info_list_new ();
12496 return 0;
12498 _ACEOF
12499 if ac_fn_c_try_link "$LINENO"; then :
12500 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12501 else
12502 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12504 rm -f core conftest.err conftest.$ac_objext \
12505 conftest$ac_exeext conftest.$ac_ext
12506 LIBS=$ac_check_lib_save_LIBS
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12509 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12510 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12512 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12514 else
12515 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12518 else
12519 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12523 CPPFLAGS=$ac_save_CPPFLAGS
12524 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12525 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12528 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12529 case "x$with_gphoto" in
12530 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12531 xno) ;;
12532 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12533 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12534 esac
12537 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12538 case "x$with_gphoto" in
12539 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12540 xno) ;;
12541 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12542 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12543 esac
12548 if test "$ac_cv_header_resolv_h" = "yes"
12549 then
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12551 $as_echo_n "checking for resolver library... " >&6; }
12552 if ${ac_cv_have_resolv+:} false; then :
12553 $as_echo_n "(cached) " >&6
12554 else
12555 ac_save_LIBS="$LIBS"
12556 for lib in '' -lresolv
12558 LIBS="$lib $ac_save_LIBS"
12559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12560 /* end confdefs.h. */
12561 #ifdef HAVE_NETINET_IN_H
12562 #include <netinet/in.h>
12563 #endif
12564 #include <resolv.h>
12566 main ()
12568 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12570 return 0;
12572 _ACEOF
12573 if ac_fn_c_try_link "$LINENO"; then :
12574 ac_cv_have_resolv=${lib:-"none required"}
12575 else
12576 ac_cv_have_resolv="not found"
12578 rm -f core conftest.err conftest.$ac_objext \
12579 conftest$ac_exeext conftest.$ac_ext
12580 test "x$ac_cv_have_resolv" = "xnot found" || break
12581 done
12582 LIBS="$ac_save_LIBS"
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12585 $as_echo "$ac_cv_have_resolv" >&6; }
12587 case "$ac_cv_have_resolv" in
12588 "not found") ;;
12589 "none required")
12591 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12594 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12596 RESOLV_LIBS=$ac_cv_have_resolv
12598 esac
12601 if test "x$with_cms" != "xno"
12602 then
12603 if ${LCMS2_CFLAGS:+false} :; then :
12604 if ${PKG_CONFIG+:} false; then :
12605 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12609 if ${LCMS2_LIBS:+false} :; then :
12610 if ${PKG_CONFIG+:} false; then :
12611 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12615 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12616 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12617 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12618 ac_save_CPPFLAGS=$CPPFLAGS
12619 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12620 for ac_header in lcms2.h
12621 do :
12622 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12623 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12624 cat >>confdefs.h <<_ACEOF
12625 #define HAVE_LCMS2_H 1
12626 _ACEOF
12630 done
12632 if test "$ac_cv_header_lcms2_h" = "yes"
12633 then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12635 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12636 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12637 $as_echo_n "(cached) " >&6
12638 else
12639 ac_check_lib_save_LIBS=$LIBS
12640 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12642 /* end confdefs.h. */
12644 /* Override any GCC internal prototype to avoid an error.
12645 Use char because int might match the return type of a GCC
12646 builtin and then its argument prototype would still apply. */
12647 #ifdef __cplusplus
12648 extern "C"
12649 #endif
12650 char cmsOpenProfileFromFile ();
12652 main ()
12654 return cmsOpenProfileFromFile ();
12656 return 0;
12658 _ACEOF
12659 if ac_fn_c_try_link "$LINENO"; then :
12660 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12661 else
12662 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12664 rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666 LIBS=$ac_check_lib_save_LIBS
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12669 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12670 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12672 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12674 else
12675 LCMS2_LIBS=""
12678 else
12679 LCMS2_CFLAGS=""
12680 LCMS2_LIBS=""
12682 CPPFLAGS=$ac_save_CPPFLAGS
12683 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12684 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12687 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12688 case "x$with_cms" in
12689 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12690 xno) ;;
12691 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12692 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12693 esac
12697 if test "x$with_freetype" != "xno"
12698 then
12699 if ${FREETYPE_CFLAGS:+false} :; then :
12700 if ${PKG_CONFIG+:} false; then :
12701 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12704 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12705 if ${FREETYPE_LIBS:+false} :; then :
12706 if ${PKG_CONFIG+:} false; then :
12707 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12710 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12711 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12712 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12713 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12714 ac_save_CPPFLAGS=$CPPFLAGS
12715 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12716 for ac_header in ft2build.h
12717 do :
12718 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12719 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12720 cat >>confdefs.h <<_ACEOF
12721 #define HAVE_FT2BUILD_H 1
12722 _ACEOF
12726 done
12728 if test "$ac_cv_header_ft2build_h" = "yes"
12729 then
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12731 $as_echo_n "checking for -lfreetype... " >&6; }
12732 if ${ac_cv_lib_soname_freetype+:} false; then :
12733 $as_echo_n "(cached) " >&6
12734 else
12735 ac_check_soname_save_LIBS=$LIBS
12736 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12740 /* Override any GCC internal prototype to avoid an error.
12741 Use char because int might match the return type of a GCC
12742 builtin and then its argument prototype would still apply. */
12743 #ifdef __cplusplus
12744 extern "C"
12745 #endif
12746 char FT_Init_FreeType ();
12748 main ()
12750 return FT_Init_FreeType ();
12752 return 0;
12754 _ACEOF
12755 if ac_fn_c_try_link "$LINENO"; then :
12756 case "$LIBEXT" in
12757 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12758 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'` ;;
12759 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12760 if ${ac_cv_lib_soname_freetype:+false} :; then :
12761 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12762 fi ;;
12763 esac
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 LIBS=$ac_check_soname_save_LIBS
12769 if ${ac_cv_lib_soname_freetype:+false} :; then :
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12771 $as_echo "not found" >&6; }
12772 FREETYPE_LIBS=""
12773 else
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12775 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12777 cat >>confdefs.h <<_ACEOF
12778 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12779 _ACEOF
12782 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12784 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12785 #include FT_MODULE_H
12787 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12789 cat >>confdefs.h <<_ACEOF
12790 #define HAVE_FT_TRUETYPEENGINETYPE 1
12791 _ACEOF
12797 else
12798 FREETYPE_CFLAGS=""
12799 FREETYPE_LIBS=""
12801 CPPFLAGS=$ac_save_CPPFLAGS
12802 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12803 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12806 if test "x$ac_cv_lib_soname_freetype" = x; then :
12807 case "x$with_freetype" in
12808 xno) ;;
12809 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12810 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12811 esac
12812 enable_fonts=${enable_fonts:-no}
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12816 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12817 if ${ac_cv_c_ppdev+:} false; then :
12818 $as_echo_n "(cached) " >&6
12819 else
12820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12821 /* end confdefs.h. */
12822 #ifdef HAVE_SYS_IOCTL_H
12823 # include <sys/ioctl.h>
12824 #endif
12825 #include <linux/ppdev.h>
12827 main ()
12829 ioctl (1,PPCLAIM,0)
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_compile "$LINENO"; then :
12835 ac_cv_c_ppdev="yes"
12836 else
12837 ac_cv_c_ppdev="no"
12839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12842 $as_echo "$ac_cv_c_ppdev" >&6; }
12843 if test "$ac_cv_c_ppdev" = "yes"
12844 then
12846 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12850 ac_wine_check_funcs_save_LIBS="$LIBS"
12851 LIBS="$LIBS $PTHREAD_LIBS"
12852 for ac_func in \
12853 pthread_attr_get_np \
12854 pthread_getattr_np \
12855 pthread_getthreadid_np \
12856 pthread_get_stackaddr_np \
12857 pthread_get_stacksize_np
12858 do :
12859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12860 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12861 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12862 cat >>confdefs.h <<_ACEOF
12863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12864 _ACEOF
12867 done
12869 LIBS="$ac_wine_check_funcs_save_LIBS"
12871 if test "$ac_cv_header_zlib_h" = "yes"
12872 then
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12874 $as_echo_n "checking for inflate in -lz... " >&6; }
12875 if ${ac_cv_lib_z_inflate+:} false; then :
12876 $as_echo_n "(cached) " >&6
12877 else
12878 ac_check_lib_save_LIBS=$LIBS
12879 LIBS="-lz $LIBS"
12880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12881 /* end confdefs.h. */
12883 /* Override any GCC internal prototype to avoid an error.
12884 Use char because int might match the return type of a GCC
12885 builtin and then its argument prototype would still apply. */
12886 #ifdef __cplusplus
12887 extern "C"
12888 #endif
12889 char inflate ();
12891 main ()
12893 return inflate ();
12895 return 0;
12897 _ACEOF
12898 if ac_fn_c_try_link "$LINENO"; then :
12899 ac_cv_lib_z_inflate=yes
12900 else
12901 ac_cv_lib_z_inflate=no
12903 rm -f core conftest.err conftest.$ac_objext \
12904 conftest$ac_exeext conftest.$ac_ext
12905 LIBS=$ac_check_lib_save_LIBS
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12908 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12909 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12911 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12913 Z_LIBS="-lz"
12918 if test "x$Z_LIBS" = "x"; then :
12919 case "x$with_zlib" in
12920 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12921 xno) ;;
12922 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12923 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12924 esac
12928 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12929 then
12930 if test "$ac_cv_header_gettext_po_h" = "yes"
12931 then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12933 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12934 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12935 $as_echo_n "(cached) " >&6
12936 else
12937 ac_check_lib_save_LIBS=$LIBS
12938 LIBS="-lgettextpo $LIBS"
12939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12940 /* end confdefs.h. */
12942 /* Override any GCC internal prototype to avoid an error.
12943 Use char because int might match the return type of a GCC
12944 builtin and then its argument prototype would still apply. */
12945 #ifdef __cplusplus
12946 extern "C"
12947 #endif
12948 char po_message_msgctxt ();
12950 main ()
12952 return po_message_msgctxt ();
12954 return 0;
12956 _ACEOF
12957 if ac_fn_c_try_link "$LINENO"; then :
12958 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12959 else
12960 ac_cv_lib_gettextpo_po_message_msgctxt=no
12962 rm -f core conftest.err conftest.$ac_objext \
12963 conftest$ac_exeext conftest.$ac_ext
12964 LIBS=$ac_check_lib_save_LIBS
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12967 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12968 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12970 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12972 GETTEXTPO_LIBS="-lgettextpo"
12977 if test "x$GETTEXTPO_LIBS" = "x"; then :
12978 case "x$with_gettextpo" in
12979 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12980 xno) ;;
12981 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12982 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12983 esac
12986 if test "$srcdir" != .; then :
12987 case "x$with_gettextpo" in
12988 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12989 xno) ;;
12990 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12991 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12992 esac
12997 if test "x$with_pulse" != "xno";
12998 then
12999 if ${PULSE_CFLAGS:+false} :; then :
13000 if ${PKG_CONFIG+:} false; then :
13001 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
13005 if ${PULSE_LIBS:+false} :; then :
13006 if ${PKG_CONFIG+:} false; then :
13007 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
13012 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
13013 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
13014 ac_save_CPPFLAGS=$CPPFLAGS
13015 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
13016 for ac_header in pulse/pulseaudio.h
13017 do :
13018 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
13019 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
13020 cat >>confdefs.h <<_ACEOF
13021 #define HAVE_PULSE_PULSEAUDIO_H 1
13022 _ACEOF
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13024 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13025 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13026 $as_echo_n "(cached) " >&6
13027 else
13028 ac_check_lib_save_LIBS=$LIBS
13029 LIBS="-lpulse $PULSE_LIBS $LIBS"
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13033 /* Override any GCC internal prototype to avoid an error.
13034 Use char because int might match the return type of a GCC
13035 builtin and then its argument prototype would still apply. */
13036 #ifdef __cplusplus
13037 extern "C"
13038 #endif
13039 char pa_stream_is_corked ();
13041 main ()
13043 return pa_stream_is_corked ();
13045 return 0;
13047 _ACEOF
13048 if ac_fn_c_try_link "$LINENO"; then :
13049 ac_cv_lib_pulse_pa_stream_is_corked=yes
13050 else
13051 ac_cv_lib_pulse_pa_stream_is_corked=no
13053 rm -f core conftest.err conftest.$ac_objext \
13054 conftest$ac_exeext conftest.$ac_ext
13055 LIBS=$ac_check_lib_save_LIBS
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13058 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13059 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13061 else
13062 PULSE_LIBS=""
13065 else
13066 PULSE_LIBS=""
13069 done
13071 CPPFLAGS=$ac_save_CPPFLAGS
13072 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13073 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13076 if test -z "$PULSE_LIBS"; then :
13077 case "x$with_pulse" in
13078 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13079 xno) ;;
13080 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13081 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13082 esac
13083 enable_winepulse_drv=${enable_winepulse_drv:-no}
13086 if test "x$with_gstreamer" != "xno"
13087 then
13088 if ${GSTREAMER_CFLAGS:+false} :; then :
13089 if ${PKG_CONFIG+:} false; then :
13090 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13094 if ${GSTREAMER_LIBS:+false} :; then :
13095 if ${PKG_CONFIG+:} false; then :
13096 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13101 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13102 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13103 ac_save_CPPFLAGS=$CPPFLAGS
13104 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13105 ac_gst_incl=""
13106 for i in $GSTREAMER_CFLAGS
13108 case "$i" in
13109 -I*) ac_gst_incl="$ac_gst_incl $i";;
13110 esac
13111 done
13112 GSTREAMER_CFLAGS=$ac_gst_incl
13113 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13114 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13115 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13117 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13120 #include <gst/gst.h>
13122 main ()
13124 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13126 return 0;
13128 _ACEOF
13129 if ac_fn_c_try_compile "$LINENO"; then :
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13131 $as_echo "yes" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13133 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13134 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13135 $as_echo_n "(cached) " >&6
13136 else
13137 ac_check_lib_save_LIBS=$LIBS
13138 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13140 /* end confdefs.h. */
13142 /* Override any GCC internal prototype to avoid an error.
13143 Use char because int might match the return type of a GCC
13144 builtin and then its argument prototype would still apply. */
13145 #ifdef __cplusplus
13146 extern "C"
13147 #endif
13148 char gst_pad_new ();
13150 main ()
13152 return gst_pad_new ();
13154 return 0;
13156 _ACEOF
13157 if ac_fn_c_try_link "$LINENO"; then :
13158 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13159 else
13160 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13162 rm -f core conftest.err conftest.$ac_objext \
13163 conftest$ac_exeext conftest.$ac_ext
13164 LIBS=$ac_check_lib_save_LIBS
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13167 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13168 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13172 else
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13174 $as_echo "no" >&6; }
13175 ac_glib2_broken=yes
13176 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13182 CPPFLAGS=$ac_save_CPPFLAGS
13183 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13184 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13187 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 :
13188 case "x$with_gstreamer" in
13189 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13190 xno) ;;
13191 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13192 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13193 esac
13196 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13198 ALSA_LIBS=""
13200 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13201 then
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13203 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13204 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13205 $as_echo_n "(cached) " >&6
13206 else
13207 ac_check_lib_save_LIBS=$LIBS
13208 LIBS="-lasound $LIBS"
13209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13210 /* end confdefs.h. */
13212 /* Override any GCC internal prototype to avoid an error.
13213 Use char because int might match the return type of a GCC
13214 builtin and then its argument prototype would still apply. */
13215 #ifdef __cplusplus
13216 extern "C"
13217 #endif
13218 char snd_pcm_hw_params_get_access_mask ();
13220 main ()
13222 return snd_pcm_hw_params_get_access_mask ();
13224 return 0;
13226 _ACEOF
13227 if ac_fn_c_try_link "$LINENO"; then :
13228 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13229 else
13230 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_lib_save_LIBS
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13237 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13238 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h. */
13241 #ifdef HAVE_ALSA_ASOUNDLIB_H
13242 #include <alsa/asoundlib.h>
13243 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13244 #include <sys/asoundlib.h>
13245 #endif
13247 main ()
13249 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13251 return 0;
13253 _ACEOF
13254 if ac_fn_c_try_compile "$LINENO"; then :
13255 ALSA_LIBS="-lasound"
13257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13261 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13263 if test "x$with_oss" != xno
13264 then
13265 ac_save_CPPFLAGS="$CPPFLAGS"
13266 if test -f /etc/oss.conf
13267 then
13268 . /etc/oss.conf
13270 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13271 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13272 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13273 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13274 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13276 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13278 cat >>confdefs.h <<_ACEOF
13279 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13280 _ACEOF
13282 OSS4_CFLAGS="$ac_oss_incl"
13289 CPPFLAGS="$ac_save_CPPFLAGS"
13291 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13292 case "x$with_oss" in
13293 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13294 xno) ;;
13295 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13296 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13297 esac
13298 enable_wineoss_drv=${enable_wineoss_drv:-no}
13301 if test "x$with_udev" != "xno"
13302 then
13303 if ${UDEV_CFLAGS:+false} :; then :
13304 if ${PKG_CONFIG+:} false; then :
13305 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13309 if ${UDEV_LIBS:+false} :; then :
13310 if ${PKG_CONFIG+:} false; then :
13311 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13315 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13316 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13317 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13318 ac_save_CPPFLAGS=$CPPFLAGS
13319 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13320 for ac_header in libudev.h
13321 do :
13322 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13323 if test "x$ac_cv_header_libudev_h" = xyes; then :
13324 cat >>confdefs.h <<_ACEOF
13325 #define HAVE_LIBUDEV_H 1
13326 _ACEOF
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13328 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13329 if ${ac_cv_lib_udev_udev_new+:} false; then :
13330 $as_echo_n "(cached) " >&6
13331 else
13332 ac_check_lib_save_LIBS=$LIBS
13333 LIBS="-ludev $UDEV_LIBS $LIBS"
13334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13335 /* end confdefs.h. */
13337 /* Override any GCC internal prototype to avoid an error.
13338 Use char because int might match the return type of a GCC
13339 builtin and then its argument prototype would still apply. */
13340 #ifdef __cplusplus
13341 extern "C"
13342 #endif
13343 char udev_new ();
13345 main ()
13347 return udev_new ();
13349 return 0;
13351 _ACEOF
13352 if ac_fn_c_try_link "$LINENO"; then :
13353 ac_cv_lib_udev_udev_new=yes
13354 else
13355 ac_cv_lib_udev_udev_new=no
13357 rm -f core conftest.err conftest.$ac_objext \
13358 conftest$ac_exeext conftest.$ac_ext
13359 LIBS=$ac_check_lib_save_LIBS
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13362 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13363 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13365 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13367 else
13368 UDEV_LIBS=""
13371 else
13372 UDEV_LIBS=""
13375 done
13377 CPPFLAGS=$ac_save_CPPFLAGS
13378 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13379 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13382 if test "x$UDEV_LIBS" = "x"; then :
13383 case "x$with_udev" in
13384 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13385 xno) ;;
13386 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13387 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13388 esac
13392 if test "x$with_capi" != "xno"
13393 then
13394 if ${CAPI20_CFLAGS:+false} :; then :
13395 if ${PKG_CONFIG+:} false; then :
13396 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13400 if ${CAPI20_LIBS:+false} :; then :
13401 if ${PKG_CONFIG+:} false; then :
13402 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13407 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13408 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13409 ac_save_CPPFLAGS=$CPPFLAGS
13410 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13411 for ac_header in capi20.h linux/capi.h
13412 do :
13413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13414 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13417 cat >>confdefs.h <<_ACEOF
13418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13419 _ACEOF
13423 done
13425 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13426 then
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13428 $as_echo_n "checking for -lcapi20... " >&6; }
13429 if ${ac_cv_lib_soname_capi20+:} false; then :
13430 $as_echo_n "(cached) " >&6
13431 else
13432 ac_check_soname_save_LIBS=$LIBS
13433 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13435 /* end confdefs.h. */
13437 /* Override any GCC internal prototype to avoid an error.
13438 Use char because int might match the return type of a GCC
13439 builtin and then its argument prototype would still apply. */
13440 #ifdef __cplusplus
13441 extern "C"
13442 #endif
13443 char capi20_register ();
13445 main ()
13447 return capi20_register ();
13449 return 0;
13451 _ACEOF
13452 if ac_fn_c_try_link "$LINENO"; then :
13453 case "$LIBEXT" in
13454 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13455 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'` ;;
13456 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13457 if ${ac_cv_lib_soname_capi20:+false} :; then :
13458 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13459 fi ;;
13460 esac
13462 rm -f core conftest.err conftest.$ac_objext \
13463 conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_soname_save_LIBS
13466 if ${ac_cv_lib_soname_capi20:+false} :; then :
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13468 $as_echo "not found" >&6; }
13470 else
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13472 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13474 cat >>confdefs.h <<_ACEOF
13475 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13476 _ACEOF
13481 CPPFLAGS=$ac_save_CPPFLAGS
13482 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13483 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13486 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13487 case "x$with_capi" in
13488 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13489 xno) ;;
13490 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13491 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13492 esac
13496 if test "x$with_cups" != "xno"
13497 then
13498 if ${CUPS_CFLAGS:+false} :; then :
13499 if ${PKG_CONFIG+:} false; then :
13500 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13503 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13504 if ${CUPS_LIBS:+false} :; then :
13505 if ${PKG_CONFIG+:} false; then :
13506 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13509 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13510 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13511 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13512 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13513 ac_save_CPPFLAGS=$CPPFLAGS
13514 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13515 for ac_header in cups/cups.h cups/ppd.h
13516 do :
13517 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13518 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13519 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13520 cat >>confdefs.h <<_ACEOF
13521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13522 _ACEOF
13526 done
13528 if test "$ac_cv_header_cups_cups_h" = "yes"
13529 then
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13531 $as_echo_n "checking for -lcups... " >&6; }
13532 if ${ac_cv_lib_soname_cups+:} false; then :
13533 $as_echo_n "(cached) " >&6
13534 else
13535 ac_check_soname_save_LIBS=$LIBS
13536 LIBS="-lcups $CUPS_LIBS $LIBS"
13537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13543 #ifdef __cplusplus
13544 extern "C"
13545 #endif
13546 char cupsGetDefault ();
13548 main ()
13550 return cupsGetDefault ();
13552 return 0;
13554 _ACEOF
13555 if ac_fn_c_try_link "$LINENO"; then :
13556 case "$LIBEXT" in
13557 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13558 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'` ;;
13559 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13560 if ${ac_cv_lib_soname_cups:+false} :; then :
13561 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13562 fi ;;
13563 esac
13565 rm -f core conftest.err conftest.$ac_objext \
13566 conftest$ac_exeext conftest.$ac_ext
13567 LIBS=$ac_check_soname_save_LIBS
13569 if ${ac_cv_lib_soname_cups:+false} :; then :
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13571 $as_echo "not found" >&6; }
13572 CUPS_LIBS=""
13573 else
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13575 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13577 cat >>confdefs.h <<_ACEOF
13578 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13579 _ACEOF
13583 else
13584 CUPS_CFLAGS=""
13585 CUPS_LIBS=""
13587 CPPFLAGS=$ac_save_CPPFLAGS
13588 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13589 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13592 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13593 case "x$with_cups" in
13594 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13595 xno) ;;
13596 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13597 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13598 esac
13602 if test "x$with_fontconfig" != "xno"
13603 then
13604 if ${FONTCONFIG_CFLAGS:+false} :; then :
13605 if ${PKG_CONFIG+:} false; then :
13606 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13609 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13610 if ${FONTCONFIG_LIBS:+false} :; then :
13611 if ${PKG_CONFIG+:} false; then :
13612 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13615 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13617 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13618 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13619 ac_save_CPPFLAGS=$CPPFLAGS
13620 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13621 for ac_header in fontconfig/fontconfig.h
13622 do :
13623 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13624 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13625 cat >>confdefs.h <<_ACEOF
13626 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13627 _ACEOF
13631 done
13633 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13634 then
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13636 $as_echo_n "checking for -lfontconfig... " >&6; }
13637 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13638 $as_echo_n "(cached) " >&6
13639 else
13640 ac_check_soname_save_LIBS=$LIBS
13641 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13645 /* Override any GCC internal prototype to avoid an error.
13646 Use char because int might match the return type of a GCC
13647 builtin and then its argument prototype would still apply. */
13648 #ifdef __cplusplus
13649 extern "C"
13650 #endif
13651 char FcInit ();
13653 main ()
13655 return FcInit ();
13657 return 0;
13659 _ACEOF
13660 if ac_fn_c_try_link "$LINENO"; then :
13661 case "$LIBEXT" in
13662 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13663 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'` ;;
13664 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13665 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13666 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13667 fi ;;
13668 esac
13670 rm -f core conftest.err conftest.$ac_objext \
13671 conftest$ac_exeext conftest.$ac_ext
13672 LIBS=$ac_check_soname_save_LIBS
13674 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13676 $as_echo "not found" >&6; }
13677 FONTCONFIG_CFLAGS=""
13678 else
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13680 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13682 cat >>confdefs.h <<_ACEOF
13683 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13684 _ACEOF
13688 else
13689 FONTCONFIG_CFLAGS=""
13691 CPPFLAGS=$ac_save_CPPFLAGS
13692 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13693 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13696 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13697 case "x$with_fontconfig" in
13698 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13699 xno) ;;
13700 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13701 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13702 esac
13706 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13707 then
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13709 $as_echo_n "checking for -lgsm... " >&6; }
13710 if ${ac_cv_lib_soname_gsm+:} false; then :
13711 $as_echo_n "(cached) " >&6
13712 else
13713 ac_check_soname_save_LIBS=$LIBS
13714 LIBS="-lgsm $LIBS"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13718 /* Override any GCC internal prototype to avoid an error.
13719 Use char because int might match the return type of a GCC
13720 builtin and then its argument prototype would still apply. */
13721 #ifdef __cplusplus
13722 extern "C"
13723 #endif
13724 char gsm_create ();
13726 main ()
13728 return gsm_create ();
13730 return 0;
13732 _ACEOF
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 case "$LIBEXT" in
13735 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13736 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'` ;;
13737 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13738 if ${ac_cv_lib_soname_gsm:+false} :; then :
13739 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13740 fi ;;
13741 esac
13743 rm -f core conftest.err conftest.$ac_objext \
13744 conftest$ac_exeext conftest.$ac_ext
13745 LIBS=$ac_check_soname_save_LIBS
13747 if ${ac_cv_lib_soname_gsm:+false} :; then :
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13749 $as_echo "not found" >&6; }
13751 else
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13753 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13755 cat >>confdefs.h <<_ACEOF
13756 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13757 _ACEOF
13762 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13763 case "x$with_gsm" in
13764 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13765 xno) ;;
13766 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13767 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13768 esac
13772 if test "x$with_krb5" != "xno"
13773 then
13774 if ${KRB5_CFLAGS:+false} :; then :
13775 if ${PKG_CONFIG+:} false; then :
13776 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13779 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13780 if ${KRB5_LIBS:+false} :; then :
13781 if ${PKG_CONFIG+:} false; then :
13782 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13785 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13787 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13788 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13789 ac_save_CPPFLAGS=$CPPFLAGS
13790 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13791 for ac_header in krb5/krb5.h
13792 do :
13793 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13794 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13795 cat >>confdefs.h <<_ACEOF
13796 #define HAVE_KRB5_KRB5_H 1
13797 _ACEOF
13801 done
13803 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13804 then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13806 $as_echo_n "checking for -lkrb5... " >&6; }
13807 if ${ac_cv_lib_soname_krb5+:} false; then :
13808 $as_echo_n "(cached) " >&6
13809 else
13810 ac_check_soname_save_LIBS=$LIBS
13811 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13815 /* Override any GCC internal prototype to avoid an error.
13816 Use char because int might match the return type of a GCC
13817 builtin and then its argument prototype would still apply. */
13818 #ifdef __cplusplus
13819 extern "C"
13820 #endif
13821 char krb5_init_context ();
13823 main ()
13825 return krb5_init_context ();
13827 return 0;
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"; then :
13831 case "$LIBEXT" in
13832 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13833 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'` ;;
13834 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13835 if ${ac_cv_lib_soname_krb5:+false} :; then :
13836 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13837 fi ;;
13838 esac
13840 rm -f core conftest.err conftest.$ac_objext \
13841 conftest$ac_exeext conftest.$ac_ext
13842 LIBS=$ac_check_soname_save_LIBS
13844 if ${ac_cv_lib_soname_krb5:+false} :; then :
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13846 $as_echo "not found" >&6; }
13847 KRB5_CFLAGS=""
13848 else
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13850 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13852 cat >>confdefs.h <<_ACEOF
13853 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13854 _ACEOF
13858 else
13859 KRB5_CFLAGS=""
13861 CPPFLAGS=$ac_save_CPPFLAGS
13862 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13863 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13866 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13867 case "x$with_krb5" in
13868 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13869 xno) ;;
13870 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13871 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13872 esac
13876 if test "x$with_jpeg" != "xno"
13877 then
13878 if ${JPEG_CFLAGS:+false} :; then :
13879 if ${PKG_CONFIG+:} false; then :
13880 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13884 if ${JPEG_LIBS:+false} :; then :
13885 if ${PKG_CONFIG+:} false; then :
13886 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13891 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13892 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13893 ac_save_CPPFLAGS=$CPPFLAGS
13894 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13895 for ac_header in jpeglib.h
13896 do :
13897 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13898 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13899 cat >>confdefs.h <<_ACEOF
13900 #define HAVE_JPEGLIB_H 1
13901 _ACEOF
13905 done
13907 if test "$ac_cv_header_jpeglib_h" = "yes"
13908 then
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13910 $as_echo_n "checking for -ljpeg... " >&6; }
13911 if ${ac_cv_lib_soname_jpeg+:} false; then :
13912 $as_echo_n "(cached) " >&6
13913 else
13914 ac_check_soname_save_LIBS=$LIBS
13915 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13917 /* end confdefs.h. */
13919 /* Override any GCC internal prototype to avoid an error.
13920 Use char because int might match the return type of a GCC
13921 builtin and then its argument prototype would still apply. */
13922 #ifdef __cplusplus
13923 extern "C"
13924 #endif
13925 char jpeg_start_decompress ();
13927 main ()
13929 return jpeg_start_decompress ();
13931 return 0;
13933 _ACEOF
13934 if ac_fn_c_try_link "$LINENO"; then :
13935 case "$LIBEXT" in
13936 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13937 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'` ;;
13938 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13939 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13940 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13941 fi ;;
13942 esac
13944 rm -f core conftest.err conftest.$ac_objext \
13945 conftest$ac_exeext conftest.$ac_ext
13946 LIBS=$ac_check_soname_save_LIBS
13948 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13950 $as_echo "not found" >&6; }
13951 JPEG_CFLAGS=""
13952 else
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13954 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13956 cat >>confdefs.h <<_ACEOF
13957 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13958 _ACEOF
13962 else
13963 JPEG_CFLAGS=""
13965 CPPFLAGS=$ac_save_CPPFLAGS
13966 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13967 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13970 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13971 case "x$with_jpeg" in
13972 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13973 xno) ;;
13974 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13975 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13976 esac
13980 if test "x$with_png" != "xno"
13981 then
13982 if ${PNG_CFLAGS:+false} :; then :
13983 if ${PKG_CONFIG+:} false; then :
13984 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13987 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13988 if ${PNG_LIBS:+false} :; then :
13989 if ${PKG_CONFIG+:} false; then :
13990 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13993 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13995 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13996 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13997 ac_save_CPPFLAGS=$CPPFLAGS
13998 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13999 for ac_header in png.h
14000 do :
14001 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14002 if test "x$ac_cv_header_png_h" = xyes; then :
14003 cat >>confdefs.h <<_ACEOF
14004 #define HAVE_PNG_H 1
14005 _ACEOF
14009 done
14011 if test "$ac_cv_header_png_h" = "yes"
14012 then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
14014 $as_echo_n "checking for -lpng... " >&6; }
14015 if ${ac_cv_lib_soname_png+:} false; then :
14016 $as_echo_n "(cached) " >&6
14017 else
14018 ac_check_soname_save_LIBS=$LIBS
14019 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
14020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14021 /* end confdefs.h. */
14023 /* Override any GCC internal prototype to avoid an error.
14024 Use char because int might match the return type of a GCC
14025 builtin and then its argument prototype would still apply. */
14026 #ifdef __cplusplus
14027 extern "C"
14028 #endif
14029 char png_create_read_struct ();
14031 main ()
14033 return png_create_read_struct ();
14035 return 0;
14037 _ACEOF
14038 if ac_fn_c_try_link "$LINENO"; then :
14039 case "$LIBEXT" in
14040 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14041 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'` ;;
14042 *) 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'`
14043 if ${ac_cv_lib_soname_png:+false} :; then :
14044 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14045 fi ;;
14046 esac
14048 rm -f core conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14050 LIBS=$ac_check_soname_save_LIBS
14052 if ${ac_cv_lib_soname_png:+false} :; then :
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14054 $as_echo "not found" >&6; }
14055 PNG_CFLAGS=""
14056 else
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14058 $as_echo "$ac_cv_lib_soname_png" >&6; }
14060 cat >>confdefs.h <<_ACEOF
14061 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14062 _ACEOF
14066 else
14067 PNG_CFLAGS=""
14069 CPPFLAGS=$ac_save_CPPFLAGS
14070 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14071 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14074 if test "x$ac_cv_lib_soname_png" = "x"; then :
14075 case "x$with_png" in
14076 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14077 xno) ;;
14078 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14079 This is an error since --with-png was requested." "$LINENO" 5 ;;
14080 esac
14084 if test "x$with_tiff" != "xno"
14085 then
14086 if ${TIFF_CFLAGS:+false} :; then :
14087 if ${PKG_CONFIG+:} false; then :
14088 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14092 if ${TIFF_LIBS:+false} :; then :
14093 if ${PKG_CONFIG+:} false; then :
14094 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14099 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14100 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14101 ac_save_CPPFLAGS=$CPPFLAGS
14102 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14103 for ac_header in tiffio.h
14104 do :
14105 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14106 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14107 cat >>confdefs.h <<_ACEOF
14108 #define HAVE_TIFFIO_H 1
14109 _ACEOF
14113 done
14115 if test "$ac_cv_header_tiffio_h" = "yes"
14116 then
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14118 $as_echo_n "checking for -ltiff... " >&6; }
14119 if ${ac_cv_lib_soname_tiff+:} false; then :
14120 $as_echo_n "(cached) " >&6
14121 else
14122 ac_check_soname_save_LIBS=$LIBS
14123 LIBS="-ltiff $TIFF_LIBS $LIBS"
14124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14125 /* end confdefs.h. */
14127 /* Override any GCC internal prototype to avoid an error.
14128 Use char because int might match the return type of a GCC
14129 builtin and then its argument prototype would still apply. */
14130 #ifdef __cplusplus
14131 extern "C"
14132 #endif
14133 char TIFFClientOpen ();
14135 main ()
14137 return TIFFClientOpen ();
14139 return 0;
14141 _ACEOF
14142 if ac_fn_c_try_link "$LINENO"; then :
14143 case "$LIBEXT" in
14144 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14145 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'` ;;
14146 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14147 if ${ac_cv_lib_soname_tiff:+false} :; then :
14148 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14149 fi ;;
14150 esac
14152 rm -f core conftest.err conftest.$ac_objext \
14153 conftest$ac_exeext conftest.$ac_ext
14154 LIBS=$ac_check_soname_save_LIBS
14156 if ${ac_cv_lib_soname_tiff:+false} :; then :
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14158 $as_echo "not found" >&6; }
14160 else
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14162 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14164 cat >>confdefs.h <<_ACEOF
14165 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14166 _ACEOF
14171 CPPFLAGS=$ac_save_CPPFLAGS
14172 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14173 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14176 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14177 case "x$with_tiff" in
14178 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14179 xno) ;;
14180 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14181 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14182 esac
14186 if test "x$with_mpg123" != "xno"
14187 then
14188 if ${MPG123_CFLAGS:+false} :; then :
14189 if ${PKG_CONFIG+:} false; then :
14190 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14194 if ${MPG123_LIBS:+false} :; then :
14195 if ${PKG_CONFIG+:} false; then :
14196 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14200 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14201 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14202 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14203 ac_save_CPPFLAGS=$CPPFLAGS
14204 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14205 for ac_header in mpg123.h
14206 do :
14207 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14208 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14209 cat >>confdefs.h <<_ACEOF
14210 #define HAVE_MPG123_H 1
14211 _ACEOF
14215 done
14217 if test "$ac_cv_header_mpg123_h" = "yes"
14218 then
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14220 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14221 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14222 $as_echo_n "(cached) " >&6
14223 else
14224 ac_check_lib_save_LIBS=$LIBS
14225 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14227 /* end confdefs.h. */
14229 /* Override any GCC internal prototype to avoid an error.
14230 Use char because int might match the return type of a GCC
14231 builtin and then its argument prototype would still apply. */
14232 #ifdef __cplusplus
14233 extern "C"
14234 #endif
14235 char mpg123_feed ();
14237 main ()
14239 return mpg123_feed ();
14241 return 0;
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"; then :
14245 ac_cv_lib_mpg123_mpg123_feed=yes
14246 else
14247 ac_cv_lib_mpg123_mpg123_feed=no
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LIBS=$ac_check_lib_save_LIBS
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14254 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14255 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14257 else
14258 MPG123_LIBS=""
14261 else
14262 MPG123_CFLAGS=""
14263 MPG123_LIBS=""
14265 CPPFLAGS=$ac_save_CPPFLAGS
14266 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14267 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14270 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14271 case "x$with_mpg123" in
14272 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14273 xno) ;;
14274 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14275 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14276 esac
14277 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14280 if test "$ac_cv_header_AL_al_h" = "yes"
14281 then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14283 $as_echo_n "checking for -lopenal... " >&6; }
14284 if ${ac_cv_lib_soname_openal+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 ac_check_soname_save_LIBS=$LIBS
14288 LIBS="-lopenal $LIBS"
14289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14290 /* end confdefs.h. */
14292 /* Override any GCC internal prototype to avoid an error.
14293 Use char because int might match the return type of a GCC
14294 builtin and then its argument prototype would still apply. */
14295 #ifdef __cplusplus
14296 extern "C"
14297 #endif
14298 char alGetSource3i ();
14300 main ()
14302 return alGetSource3i ();
14304 return 0;
14306 _ACEOF
14307 if ac_fn_c_try_link "$LINENO"; then :
14308 case "$LIBEXT" in
14309 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14310 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'` ;;
14311 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14312 if ${ac_cv_lib_soname_openal:+false} :; then :
14313 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14314 fi ;;
14315 esac
14317 rm -f core conftest.err conftest.$ac_objext \
14318 conftest$ac_exeext conftest.$ac_ext
14319 LIBS=$ac_check_soname_save_LIBS
14321 if ${ac_cv_lib_soname_openal:+false} :; then :
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14323 $as_echo "not found" >&6; }
14325 else
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14327 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14329 cat >>confdefs.h <<_ACEOF
14330 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14331 _ACEOF
14333 OPENAL_LIBS="-lopenal"
14335 ac_cv_lib_openal=yes
14337 cat >>confdefs.h <<_ACEOF
14338 #define HAVE_OPENAL 1
14339 _ACEOF
14343 if test "x$ac_cv_lib_openal" != xyes; then :
14344 case "x$with_openal" in
14345 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14346 xno) ;;
14347 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14348 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14349 esac
14350 enable_openal32=${enable_openal32:-no}
14353 if test "x$ac_cv_lib_openal" = xyes
14354 then
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14356 $as_echo_n "checking for openal-soft... " >&6; }
14357 if ${ac_cv_have_openalsoft+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14362 #include <AL/al.h>
14363 #include <AL/alc.h>
14364 #include <AL/alext.h>
14365 LPALCRENDERSAMPLESSOFT x;
14367 main ()
14371 return 0;
14373 _ACEOF
14374 if ac_fn_c_try_compile "$LINENO"; then :
14375 ac_cv_have_openalsoft=yes
14376 else
14377 ac_cv_have_openalsoft=no
14379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14382 $as_echo "$ac_cv_have_openalsoft" >&6; }
14384 if test "x$ac_cv_have_openalsoft" != xyes
14385 then
14386 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14387 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14388 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14389 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14390 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14391 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14392 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14393 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14394 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14395 enable_xapofx1_1=${enable_xapofx1_1:-no}
14396 enable_xapofx1_2=${enable_xapofx1_2:-no}
14397 enable_xapofx1_3=${enable_xapofx1_3:-no}
14398 enable_xapofx1_4=${enable_xapofx1_4:-no}
14399 enable_xapofx1_5=${enable_xapofx1_5:-no}
14400 enable_xaudio2_0=${enable_xaudio2_0:-no}
14401 enable_xaudio2_1=${enable_xaudio2_1:-no}
14402 enable_xaudio2_2=${enable_xaudio2_2:-no}
14403 enable_xaudio2_3=${enable_xaudio2_3:-no}
14404 enable_xaudio2_4=${enable_xaudio2_4:-no}
14405 enable_xaudio2_5=${enable_xaudio2_5:-no}
14406 enable_xaudio2_6=${enable_xaudio2_6:-no}
14407 enable_xaudio2_7=${enable_xaudio2_7:-no}
14408 enable_xaudio2_8=${enable_xaudio2_8:-no}
14409 enable_xaudio2_9=${enable_xaudio2_9:-no}
14412 if test "$ac_cv_header_kstat_h" = "yes"
14413 then
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14415 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14416 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14417 $as_echo_n "(cached) " >&6
14418 else
14419 ac_check_lib_save_LIBS=$LIBS
14420 LIBS="-lkstat $LIBS"
14421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14422 /* end confdefs.h. */
14424 /* Override any GCC internal prototype to avoid an error.
14425 Use char because int might match the return type of a GCC
14426 builtin and then its argument prototype would still apply. */
14427 #ifdef __cplusplus
14428 extern "C"
14429 #endif
14430 char kstat_open ();
14432 main ()
14434 return kstat_open ();
14436 return 0;
14438 _ACEOF
14439 if ac_fn_c_try_link "$LINENO"; then :
14440 ac_cv_lib_kstat_kstat_open=yes
14441 else
14442 ac_cv_lib_kstat_kstat_open=no
14444 rm -f core conftest.err conftest.$ac_objext \
14445 conftest$ac_exeext conftest.$ac_ext
14446 LIBS=$ac_check_lib_save_LIBS
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14449 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14450 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14452 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14454 KSTAT_LIBS="-lkstat"
14460 if test "$ac_cv_header_libprocstat_h" = "yes"
14461 then
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14463 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14464 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14465 $as_echo_n "(cached) " >&6
14466 else
14467 ac_check_lib_save_LIBS=$LIBS
14468 LIBS="-lprocstat $LIBS"
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14472 /* Override any GCC internal prototype to avoid an error.
14473 Use char because int might match the return type of a GCC
14474 builtin and then its argument prototype would still apply. */
14475 #ifdef __cplusplus
14476 extern "C"
14477 #endif
14478 char procstat_open_sysctl ();
14480 main ()
14482 return procstat_open_sysctl ();
14484 return 0;
14486 _ACEOF
14487 if ac_fn_c_try_link "$LINENO"; then :
14488 ac_cv_lib_procstat_procstat_open_sysctl=yes
14489 else
14490 ac_cv_lib_procstat_procstat_open_sysctl=no
14492 rm -f core conftest.err conftest.$ac_objext \
14493 conftest$ac_exeext conftest.$ac_ext
14494 LIBS=$ac_check_lib_save_LIBS
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14497 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14498 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14500 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14502 PROCSTAT_LIBS="-lprocstat"
14508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14509 $as_echo_n "checking for -lodbc... " >&6; }
14510 if ${ac_cv_lib_soname_odbc+:} false; then :
14511 $as_echo_n "(cached) " >&6
14512 else
14513 ac_check_soname_save_LIBS=$LIBS
14514 LIBS="-lodbc $LIBS"
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14518 /* Override any GCC internal prototype to avoid an error.
14519 Use char because int might match the return type of a GCC
14520 builtin and then its argument prototype would still apply. */
14521 #ifdef __cplusplus
14522 extern "C"
14523 #endif
14524 char SQLConnect ();
14526 main ()
14528 return SQLConnect ();
14530 return 0;
14532 _ACEOF
14533 if ac_fn_c_try_link "$LINENO"; then :
14534 case "$LIBEXT" in
14535 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14536 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'` ;;
14537 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14538 if ${ac_cv_lib_soname_odbc:+false} :; then :
14539 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14540 fi ;;
14541 esac
14543 rm -f core conftest.err conftest.$ac_objext \
14544 conftest$ac_exeext conftest.$ac_ext
14545 LIBS=$ac_check_soname_save_LIBS
14547 if ${ac_cv_lib_soname_odbc:+false} :; then :
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14549 $as_echo "not found" >&6; }
14550 cat >>confdefs.h <<_ACEOF
14551 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14552 _ACEOF
14554 else
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14556 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14558 cat >>confdefs.h <<_ACEOF
14559 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14560 _ACEOF
14565 if test "x$with_netapi" != "xno"
14566 then
14567 if ${NETAPI_CFLAGS:+false} :; then :
14568 if ${PKG_CONFIG+:} false; then :
14569 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14573 if ${NETAPI_LIBS:+false} :; then :
14574 if ${PKG_CONFIG+:} false; then :
14575 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14580 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14581 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14582 ac_save_CPPFLAGS=$CPPFLAGS
14583 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14585 $as_echo_n "checking for -lnetapi... " >&6; }
14586 if ${ac_cv_lib_soname_netapi+:} false; then :
14587 $as_echo_n "(cached) " >&6
14588 else
14589 ac_check_soname_save_LIBS=$LIBS
14590 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14594 /* Override any GCC internal prototype to avoid an error.
14595 Use char because int might match the return type of a GCC
14596 builtin and then its argument prototype would still apply. */
14597 #ifdef __cplusplus
14598 extern "C"
14599 #endif
14600 char libnetapi_init ();
14602 main ()
14604 return libnetapi_init ();
14606 return 0;
14608 _ACEOF
14609 if ac_fn_c_try_link "$LINENO"; then :
14610 case "$LIBEXT" in
14611 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14612 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'` ;;
14613 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14614 if ${ac_cv_lib_soname_netapi:+false} :; then :
14615 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14616 fi ;;
14617 esac
14619 rm -f core conftest.err conftest.$ac_objext \
14620 conftest$ac_exeext conftest.$ac_ext
14621 LIBS=$ac_check_soname_save_LIBS
14623 if ${ac_cv_lib_soname_netapi:+false} :; then :
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14625 $as_echo "not found" >&6; }
14626 cat >>confdefs.h <<_ACEOF
14627 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14628 _ACEOF
14630 else
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14632 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14634 cat >>confdefs.h <<_ACEOF
14635 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14636 _ACEOF
14640 CPPFLAGS=$ac_save_CPPFLAGS
14641 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14642 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14646 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14647 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14648 then
14649 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14653 EXTRACFLAGS=""
14655 if test "x${GCC}" = "xyes"
14656 then
14657 EXTRACFLAGS="-Wall -pipe"
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14660 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14661 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14662 $as_echo_n "(cached) " >&6
14663 else
14664 if test "$cross_compiling" = yes; then :
14665 ac_cv_c_gcc_strength_bug="no"
14666 else
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14669 int L[4] = {0,1,2,3};
14671 main ()
14673 static int Array[3];
14674 unsigned int B = 3;
14675 int i;
14676 for(i=0; i<B; i++) Array[i] = i - 3;
14677 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14678 L[i] = 4;
14679 return (Array[1] != -2 || L[2] != 3)
14681 return 0;
14683 _ACEOF
14684 if ac_fn_c_try_run "$LINENO"; then :
14685 ac_cv_c_gcc_strength_bug="no"
14686 else
14687 ac_cv_c_gcc_strength_bug="yes"
14689 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14690 conftest.$ac_objext conftest.beam conftest.$ac_ext
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14695 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14696 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14697 then
14698 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14702 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14703 if ${ac_cv_cflags__fno_builtin+:} false; then :
14704 $as_echo_n "(cached) " >&6
14705 else
14706 ac_wine_try_cflags_saved=$CFLAGS
14707 CFLAGS="$CFLAGS -fno-builtin"
14708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14709 /* end confdefs.h. */
14710 int main(int argc, char **argv) { return 0; }
14711 _ACEOF
14712 if ac_fn_c_try_link "$LINENO"; then :
14713 ac_cv_cflags__fno_builtin=yes
14714 else
14715 ac_cv_cflags__fno_builtin=no
14717 rm -f core conftest.err conftest.$ac_objext \
14718 conftest$ac_exeext conftest.$ac_ext
14719 CFLAGS=$ac_wine_try_cflags_saved
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14722 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14723 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14724 BUILTINFLAG="-fno-builtin"
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14728 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14729 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14730 $as_echo_n "(cached) " >&6
14731 else
14732 ac_wine_try_cflags_saved=$CFLAGS
14733 CFLAGS="$CFLAGS -fno-strict-aliasing"
14734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14735 /* end confdefs.h. */
14736 int main(int argc, char **argv) { return 0; }
14737 _ACEOF
14738 if ac_fn_c_try_link "$LINENO"; then :
14739 ac_cv_cflags__fno_strict_aliasing=yes
14740 else
14741 ac_cv_cflags__fno_strict_aliasing=no
14743 rm -f core conftest.err conftest.$ac_objext \
14744 conftest$ac_exeext conftest.$ac_ext
14745 CFLAGS=$ac_wine_try_cflags_saved
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14748 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14749 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14750 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14753 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14754 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14755 $as_echo_n "(cached) " >&6
14756 else
14757 ac_wine_try_cflags_saved=$CFLAGS
14758 CFLAGS="$CFLAGS -fexcess-precision=standard"
14759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14760 /* end confdefs.h. */
14761 int main(int argc, char **argv) { return 0; }
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"; then :
14764 ac_cv_cflags__fexcess_precision_standard=yes
14765 else
14766 ac_cv_cflags__fexcess_precision_standard=no
14768 rm -f core conftest.err conftest.$ac_objext \
14769 conftest$ac_exeext conftest.$ac_ext
14770 CFLAGS=$ac_wine_try_cflags_saved
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14773 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14774 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14775 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14778 saved_CFLAGS=$CFLAGS
14779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14780 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14781 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14782 $as_echo_n "(cached) " >&6
14783 else
14784 ac_wine_try_cflags_saved=$CFLAGS
14785 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14787 /* end confdefs.h. */
14788 int main(int argc, char **argv) { return 0; }
14789 _ACEOF
14790 if ac_fn_c_try_link "$LINENO"; then :
14791 ac_cv_cflags__Werror_unknown_warning_option=yes
14792 else
14793 ac_cv_cflags__Werror_unknown_warning_option=no
14795 rm -f core conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext conftest.$ac_ext
14797 CFLAGS=$ac_wine_try_cflags_saved
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14800 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14801 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14802 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14805 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14806 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14807 $as_echo_n "(cached) " >&6
14808 else
14809 ac_wine_try_cflags_saved=$CFLAGS
14810 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812 /* end confdefs.h. */
14813 int main(int argc, char **argv) { return 0; }
14814 _ACEOF
14815 if ac_fn_c_try_link "$LINENO"; then :
14816 ac_cv_cflags__Wdeclaration_after_statement=yes
14817 else
14818 ac_cv_cflags__Wdeclaration_after_statement=no
14820 rm -f core conftest.err conftest.$ac_objext \
14821 conftest$ac_exeext conftest.$ac_ext
14822 CFLAGS=$ac_wine_try_cflags_saved
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14825 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14826 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14827 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14830 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14831 if ${ac_cv_cflags__Wempty_body+:} false; then :
14832 $as_echo_n "(cached) " >&6
14833 else
14834 ac_wine_try_cflags_saved=$CFLAGS
14835 CFLAGS="$CFLAGS -Wempty-body"
14836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14837 /* end confdefs.h. */
14838 int main(int argc, char **argv) { return 0; }
14839 _ACEOF
14840 if ac_fn_c_try_link "$LINENO"; then :
14841 ac_cv_cflags__Wempty_body=yes
14842 else
14843 ac_cv_cflags__Wempty_body=no
14845 rm -f core conftest.err conftest.$ac_objext \
14846 conftest$ac_exeext conftest.$ac_ext
14847 CFLAGS=$ac_wine_try_cflags_saved
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14850 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14851 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14852 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14855 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14856 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14857 $as_echo_n "(cached) " >&6
14858 else
14859 ac_wine_try_cflags_saved=$CFLAGS
14860 CFLAGS="$CFLAGS -Wignored-qualifiers"
14861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14862 /* end confdefs.h. */
14863 int main(int argc, char **argv) { return 0; }
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_cflags__Wignored_qualifiers=yes
14867 else
14868 ac_cv_cflags__Wignored_qualifiers=no
14870 rm -f core conftest.err conftest.$ac_objext \
14871 conftest$ac_exeext conftest.$ac_ext
14872 CFLAGS=$ac_wine_try_cflags_saved
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14875 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14876 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14877 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-packed-not-aligned" >&5
14880 $as_echo_n "checking whether the compiler supports -Wno-packed-not-aligned... " >&6; }
14881 if ${ac_cv_cflags__Wno_packed_not_aligned+:} false; then :
14882 $as_echo_n "(cached) " >&6
14883 else
14884 ac_wine_try_cflags_saved=$CFLAGS
14885 CFLAGS="$CFLAGS -Wno-packed-not-aligned"
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14888 int main(int argc, char **argv) { return 0; }
14889 _ACEOF
14890 if ac_fn_c_try_link "$LINENO"; then :
14891 ac_cv_cflags__Wno_packed_not_aligned=yes
14892 else
14893 ac_cv_cflags__Wno_packed_not_aligned=no
14895 rm -f core conftest.err conftest.$ac_objext \
14896 conftest$ac_exeext conftest.$ac_ext
14897 CFLAGS=$ac_wine_try_cflags_saved
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_packed_not_aligned" >&5
14900 $as_echo "$ac_cv_cflags__Wno_packed_not_aligned" >&6; }
14901 if test "x$ac_cv_cflags__Wno_packed_not_aligned" = xyes; then :
14902 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14905 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14906 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14907 $as_echo_n "(cached) " >&6
14908 else
14909 ac_wine_try_cflags_saved=$CFLAGS
14910 CFLAGS="$CFLAGS -Wshift-overflow=2"
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14913 int main(int argc, char **argv) { return 0; }
14914 _ACEOF
14915 if ac_fn_c_try_link "$LINENO"; then :
14916 ac_cv_cflags__Wshift_overflow_2=yes
14917 else
14918 ac_cv_cflags__Wshift_overflow_2=no
14920 rm -f core conftest.err conftest.$ac_objext \
14921 conftest$ac_exeext conftest.$ac_ext
14922 CFLAGS=$ac_wine_try_cflags_saved
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14925 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14926 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14927 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14930 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14931 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14932 $as_echo_n "(cached) " >&6
14933 else
14934 ac_wine_try_cflags_saved=$CFLAGS
14935 CFLAGS="$CFLAGS -Wstrict-prototypes"
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14937 /* end confdefs.h. */
14938 int main(int argc, char **argv) { return 0; }
14939 _ACEOF
14940 if ac_fn_c_try_link "$LINENO"; then :
14941 ac_cv_cflags__Wstrict_prototypes=yes
14942 else
14943 ac_cv_cflags__Wstrict_prototypes=no
14945 rm -f core conftest.err conftest.$ac_objext \
14946 conftest$ac_exeext conftest.$ac_ext
14947 CFLAGS=$ac_wine_try_cflags_saved
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14950 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14951 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14952 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14955 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14956 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14957 $as_echo_n "(cached) " >&6
14958 else
14959 ac_wine_try_cflags_saved=$CFLAGS
14960 CFLAGS="$CFLAGS -Wtype-limits"
14961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h. */
14963 int main(int argc, char **argv) { return 0; }
14964 _ACEOF
14965 if ac_fn_c_try_link "$LINENO"; then :
14966 ac_cv_cflags__Wtype_limits=yes
14967 else
14968 ac_cv_cflags__Wtype_limits=no
14970 rm -f core conftest.err conftest.$ac_objext \
14971 conftest$ac_exeext conftest.$ac_ext
14972 CFLAGS=$ac_wine_try_cflags_saved
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14975 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14976 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14977 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14980 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14981 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14982 $as_echo_n "(cached) " >&6
14983 else
14984 ac_wine_try_cflags_saved=$CFLAGS
14985 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14988 int main(int argc, char **argv) { return 0; }
14989 _ACEOF
14990 if ac_fn_c_try_link "$LINENO"; then :
14991 ac_cv_cflags__Wunused_but_set_parameter=yes
14992 else
14993 ac_cv_cflags__Wunused_but_set_parameter=no
14995 rm -f core conftest.err conftest.$ac_objext \
14996 conftest$ac_exeext conftest.$ac_ext
14997 CFLAGS=$ac_wine_try_cflags_saved
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15000 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15001 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15002 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15005 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15006 if ${ac_cv_cflags__Wvla+:} false; then :
15007 $as_echo_n "(cached) " >&6
15008 else
15009 ac_wine_try_cflags_saved=$CFLAGS
15010 CFLAGS="$CFLAGS -Wvla"
15011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15012 /* end confdefs.h. */
15013 int main(int argc, char **argv) { return 0; }
15014 _ACEOF
15015 if ac_fn_c_try_link "$LINENO"; then :
15016 ac_cv_cflags__Wvla=yes
15017 else
15018 ac_cv_cflags__Wvla=no
15020 rm -f core conftest.err conftest.$ac_objext \
15021 conftest$ac_exeext conftest.$ac_ext
15022 CFLAGS=$ac_wine_try_cflags_saved
15024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15025 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15026 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15027 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15030 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15031 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15032 $as_echo_n "(cached) " >&6
15033 else
15034 ac_wine_try_cflags_saved=$CFLAGS
15035 CFLAGS="$CFLAGS -Wwrite-strings"
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 int main(int argc, char **argv) { return 0; }
15039 _ACEOF
15040 if ac_fn_c_try_link "$LINENO"; then :
15041 ac_cv_cflags__Wwrite_strings=yes
15042 else
15043 ac_cv_cflags__Wwrite_strings=no
15045 rm -f core conftest.err conftest.$ac_objext \
15046 conftest$ac_exeext conftest.$ac_ext
15047 CFLAGS=$ac_wine_try_cflags_saved
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15050 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15051 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15052 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15056 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15057 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15058 $as_echo_n "(cached) " >&6
15059 else
15060 ac_wine_try_cflags_saved=$CFLAGS
15061 CFLAGS="$CFLAGS -Wpointer-arith"
15062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15063 /* end confdefs.h. */
15064 int main(int argc, char **argv) { return 0; }
15065 _ACEOF
15066 if ac_fn_c_try_link "$LINENO"; then :
15067 ac_cv_cflags__Wpointer_arith=yes
15068 else
15069 ac_cv_cflags__Wpointer_arith=no
15071 rm -f core conftest.err conftest.$ac_objext \
15072 conftest$ac_exeext conftest.$ac_ext
15073 CFLAGS=$ac_wine_try_cflags_saved
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15076 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15077 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15078 saved_string_h_CFLAGS=$CFLAGS
15079 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15081 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15082 if ${ac_cv_c_string_h_warnings+:} false; then :
15083 $as_echo_n "(cached) " >&6
15084 else
15085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15086 /* end confdefs.h. */
15087 #include <string.h>
15089 main ()
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_compile "$LINENO"; then :
15097 ac_cv_c_string_h_warnings=no
15098 else
15099 ac_cv_c_string_h_warnings=yes
15101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15104 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15105 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15106 CFLAGS=$saved_string_h_CFLAGS
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15110 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15111 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_wine_try_cflags_saved=$CFLAGS
15115 CFLAGS="$CFLAGS -Wlogical-op"
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15118 int main(int argc, char **argv) { return 0; }
15119 _ACEOF
15120 if ac_fn_c_try_link "$LINENO"; then :
15121 ac_cv_cflags__Wlogical_op=yes
15122 else
15123 ac_cv_cflags__Wlogical_op=no
15125 rm -f core conftest.err conftest.$ac_objext \
15126 conftest$ac_exeext conftest.$ac_ext
15127 CFLAGS=$ac_wine_try_cflags_saved
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15130 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15131 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15132 saved_string_h_CFLAGS=$CFLAGS
15133 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15135 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15136 if ${ac_cv_c_logicalop_noisy+:} false; then :
15137 $as_echo_n "(cached) " >&6
15138 else
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141 #include <string.h>
15142 char*f(const char *h,char n) {return strchr(h,n);}
15144 main ()
15148 return 0;
15150 _ACEOF
15151 if ac_fn_c_try_compile "$LINENO"; then :
15152 ac_cv_c_logicalop_noisy=no
15153 else
15154 ac_cv_c_logicalop_noisy=yes
15156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15159 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15160 CFLAGS=$saved_string_h_CFLAGS
15161 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15164 CFLAGS=$saved_CFLAGS
15166 for ac_flag in $CFLAGS; do
15167 case $ac_flag in
15168 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15169 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15170 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15171 $as_echo_n "(cached) " >&6
15172 else
15173 ac_wine_try_cflags_saved=$CFLAGS
15174 CFLAGS="$CFLAGS -gdwarf-2"
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15177 int main(int argc, char **argv) { return 0; }
15178 _ACEOF
15179 if ac_fn_c_try_link "$LINENO"; then :
15180 ac_cv_cflags__gdwarf_2=yes
15181 else
15182 ac_cv_cflags__gdwarf_2=no
15184 rm -f core conftest.err conftest.$ac_objext \
15185 conftest$ac_exeext conftest.$ac_ext
15186 CFLAGS=$ac_wine_try_cflags_saved
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15189 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15190 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15191 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15194 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15195 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15198 ac_wine_try_cflags_saved=$CFLAGS
15199 CFLAGS="$CFLAGS -gstrict-dwarf"
15200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15201 /* end confdefs.h. */
15202 int main(int argc, char **argv) { return 0; }
15203 _ACEOF
15204 if ac_fn_c_try_link "$LINENO"; then :
15205 ac_cv_cflags__gstrict_dwarf=yes
15206 else
15207 ac_cv_cflags__gstrict_dwarf=no
15209 rm -f core conftest.err conftest.$ac_objext \
15210 conftest$ac_exeext conftest.$ac_ext
15211 CFLAGS=$ac_wine_try_cflags_saved
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15214 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15215 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15216 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15217 fi ;;
15218 esac
15219 done
15221 case $host_cpu in
15222 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15223 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15224 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15227 ac_wine_try_cflags_saved=$CFLAGS
15228 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15231 int main(int argc, char **argv) { return 0; }
15232 _ACEOF
15233 if ac_fn_c_try_link "$LINENO"; then :
15234 ac_cv_cflags__fno_omit_frame_pointer=yes
15235 else
15236 ac_cv_cflags__fno_omit_frame_pointer=no
15238 rm -f core conftest.err conftest.$ac_objext \
15239 conftest$ac_exeext conftest.$ac_ext
15240 CFLAGS=$ac_wine_try_cflags_saved
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15243 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15244 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15245 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15246 fi ;;
15247 esac
15249 case $host in
15250 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15251 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15252 if ${ac_cv_cflags__Wno_format+:} false; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15255 ac_wine_try_cflags_saved=$CFLAGS
15256 CFLAGS="$CFLAGS -Wno-format"
15257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15258 /* end confdefs.h. */
15259 int main(int argc, char **argv) { return 0; }
15260 _ACEOF
15261 if ac_fn_c_try_link "$LINENO"; then :
15262 ac_cv_cflags__Wno_format=yes
15263 else
15264 ac_cv_cflags__Wno_format=no
15266 rm -f core conftest.err conftest.$ac_objext \
15267 conftest$ac_exeext conftest.$ac_ext
15268 CFLAGS=$ac_wine_try_cflags_saved
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15271 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15272 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15273 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15274 fi ;;
15275 esac
15277 if test "x$enable_maintainer_mode" = "xyes"
15278 then
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15280 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15281 if ${ac_cv_cflags__Werror+:} false; then :
15282 $as_echo_n "(cached) " >&6
15283 else
15284 ac_wine_try_cflags_saved=$CFLAGS
15285 CFLAGS="$CFLAGS -Werror"
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15288 int main(int argc, char **argv) { return 0; }
15289 _ACEOF
15290 if ac_fn_c_try_link "$LINENO"; then :
15291 ac_cv_cflags__Werror=yes
15292 else
15293 ac_cv_cflags__Werror=no
15295 rm -f core conftest.err conftest.$ac_objext \
15296 conftest$ac_exeext conftest.$ac_ext
15297 CFLAGS=$ac_wine_try_cflags_saved
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15300 $as_echo "$ac_cv_cflags__Werror" >&6; }
15301 if test "x$ac_cv_cflags__Werror" = xyes; then :
15302 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15306 saved_CFLAGS="$CFLAGS"
15307 CFLAGS="$CFLAGS -Werror"
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15309 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15310 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15311 $as_echo_n "(cached) " >&6
15312 else
15313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15315 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15317 main ()
15321 return 0;
15323 _ACEOF
15324 if ac_fn_c_try_compile "$LINENO"; then :
15325 ac_cv_have_ms_hook_prologue="yes"
15326 else
15327 ac_cv_have_ms_hook_prologue="no"
15329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15332 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15333 CFLAGS="$saved_CFLAGS"
15334 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15335 then
15337 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15339 else
15340 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15347 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15348 if ${ac_cv_c_fortify_enabled+:} false; then :
15349 $as_echo_n "(cached) " >&6
15350 else
15351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15352 /* end confdefs.h. */
15353 #include <string.h>
15355 main ()
15357 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15358 #error Fortify enabled
15359 #endif
15361 return 0;
15363 _ACEOF
15364 if ac_fn_c_try_compile "$LINENO"; then :
15365 ac_cv_c_fortify_enabled=no
15366 else
15367 ac_cv_c_fortify_enabled=yes
15369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15372 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15373 if test "$ac_cv_c_fortify_enabled" = yes
15374 then
15375 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15380 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15381 if ${ac_cv_c_extern_prefix+:} false; then :
15382 $as_echo_n "(cached) " >&6
15383 else
15384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15385 /* end confdefs.h. */
15386 extern int ac_test;
15388 main ()
15390 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15392 return 0;
15394 _ACEOF
15395 if ac_fn_c_try_link "$LINENO"; then :
15396 ac_cv_c_extern_prefix="yes"
15397 else
15398 ac_cv_c_extern_prefix="no"
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15404 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15406 case $host_cpu in
15407 *i[3456789]86*)
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15409 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15410 if ${ac_cv_c_stdcall_suffix+:} false; then :
15411 $as_echo_n "(cached) " >&6
15412 else
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15415 #ifndef _MSC_VER
15416 #define __stdcall __attribute__((__stdcall__))
15417 #endif
15418 int __stdcall ac_test(int i) { return i; }
15420 main ()
15422 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_link "$LINENO"; then :
15428 ac_cv_c_stdcall_suffix="yes"
15429 else
15430 ac_cv_c_stdcall_suffix="no"
15432 rm -f core conftest.err conftest.$ac_objext \
15433 conftest$ac_exeext conftest.$ac_ext
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15436 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15437 *) ac_cv_c_stdcall_suffix="no" ;;
15438 esac
15441 if test "$ac_cv_c_extern_prefix" = "yes"
15442 then
15443 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15445 asm_name_prefix="_"
15446 else
15447 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15449 asm_name_prefix=""
15453 if test "$ac_cv_c_stdcall_suffix" = "yes"
15454 then
15455 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15457 else
15458 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15464 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15465 if ${ac_cv_asm_func_def+:} false; then :
15466 $as_echo_n "(cached) " >&6
15467 else
15468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15469 /* end confdefs.h. */
15472 main ()
15474 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15476 return 0;
15478 _ACEOF
15479 if ac_fn_c_try_link "$LINENO"; then :
15480 ac_cv_asm_func_def=".def"
15481 else
15482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15486 main ()
15488 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15490 return 0;
15492 _ACEOF
15493 if ac_fn_c_try_link "$LINENO"; then :
15494 ac_cv_asm_func_def=".type @function"
15495 else
15496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15497 /* end confdefs.h. */
15500 main ()
15502 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15504 return 0;
15506 _ACEOF
15507 if ac_fn_c_try_link "$LINENO"; then :
15508 ac_cv_asm_func_def=".type 2"
15509 else
15510 ac_cv_asm_func_def="unknown"
15512 rm -f core conftest.err conftest.$ac_objext \
15513 conftest$ac_exeext conftest.$ac_ext
15515 rm -f core conftest.err conftest.$ac_objext \
15516 conftest$ac_exeext conftest.$ac_ext
15518 rm -f core conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15522 $as_echo "$ac_cv_asm_func_def" >&6; }
15525 case "$ac_cv_asm_func_def" in
15526 ".def")
15527 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15529 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15530 ".type @function")
15531 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15533 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15534 ".type 2")
15535 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15537 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15539 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15541 asm_func_header="" ;;
15542 esac
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15545 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15546 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15547 $as_echo_n "(cached) " >&6
15548 else
15549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550 /* end confdefs.h. */
15551 asm(".text\n\t.long 0");
15553 main ()
15557 return 0;
15559 _ACEOF
15560 if ac_fn_c_try_compile "$LINENO"; then :
15561 ac_cv_c_asm_outside_funcs="yes"
15562 else
15563 ac_cv_c_asm_outside_funcs="no"
15565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15568 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15571 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15572 if ${ac_cv_c_dot_previous+:} false; then :
15573 $as_echo_n "(cached) " >&6
15574 else
15575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15579 main ()
15581 asm(".text\nac_test:\t.long 0\n\t.previous");
15583 return 0;
15585 _ACEOF
15586 if ac_fn_c_try_link "$LINENO"; then :
15587 ac_cv_c_dot_previous="yes"
15588 else
15589 ac_cv_c_dot_previous="no"
15591 rm -f core conftest.err conftest.$ac_objext \
15592 conftest$ac_exeext conftest.$ac_ext
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15595 $as_echo "$ac_cv_c_dot_previous" >&6; }
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15598 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15599 if ${ac_cv_c_cfi_support+:} false; then :
15600 $as_echo_n "(cached) " >&6
15601 else
15602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15603 /* end confdefs.h. */
15604 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15606 main ()
15610 return 0;
15612 _ACEOF
15613 if ac_fn_c_try_compile "$LINENO"; then :
15614 ac_cv_c_cfi_support="yes"
15615 else
15616 ac_cv_c_cfi_support="no"
15618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15621 $as_echo "$ac_cv_c_cfi_support" >&6; }
15623 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15624 asm_func_trailer=""
15625 if test "$ac_cv_c_dot_previous" = "yes"
15626 then
15627 asm_func_trailer="\\n\\t.previous"
15629 if test "$ac_cv_c_cfi_support" = "yes"
15630 then
15631 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15632 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15634 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15636 UNWINDFLAGS=-fasynchronous-unwind-tables
15638 else
15639 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15641 if test "x$enable_win64" = "xyes"
15642 then
15643 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15647 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15650 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15651 then
15652 cat >>confdefs.h <<_ACEOF
15653 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15654 _ACEOF
15656 else
15657 cat >>confdefs.h <<_ACEOF
15658 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15659 _ACEOF
15663 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15666 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15670 case $build_os in
15671 cygwin*|mingw32*) TOOLSEXT=".exe"
15673 esac
15675 case $host_os in
15676 linux*)
15677 case $host_cpu in
15678 *i[3456789]86*|x86_64*|*aarch64*)
15679 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15680 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15682 esac
15684 esac
15687 ac_save_CFLAGS="$CFLAGS"
15688 CFLAGS="$CFLAGS $BUILTINFLAG"
15689 for ac_func in \
15690 __res_get_state \
15691 __res_getservers \
15692 _finite \
15693 _isnan \
15694 _pclose \
15695 _popen \
15696 _snprintf \
15697 _spawnvp \
15698 _strdup \
15699 _stricmp \
15700 _strnicmp \
15701 _strtoi64 \
15702 _strtoui64 \
15703 _vsnprintf \
15704 asctime_r \
15705 chsize \
15706 dlopen \
15707 epoll_create \
15708 ffs \
15709 finitef \
15710 fnmatch \
15711 fork \
15712 fpclass \
15713 fstatfs \
15714 fstatvfs \
15715 ftruncate \
15716 futimens \
15717 futimes \
15718 futimesat \
15719 getattrlist \
15720 getauxval \
15721 getifaddrs \
15722 getopt_long_only \
15723 getpwuid \
15724 gettimeofday \
15725 getuid \
15726 isnanf \
15727 kqueue \
15728 lstat \
15729 memmove \
15730 mmap \
15731 pclose \
15732 pipe2 \
15733 poll \
15734 popen \
15735 port_create \
15736 prctl \
15737 pread \
15738 proc_pidinfo \
15739 pwrite \
15740 readdir \
15741 readlink \
15742 sched_yield \
15743 select \
15744 setproctitle \
15745 setprogname \
15746 setrlimit \
15747 settimeofday \
15748 sigaltstack \
15749 sigprocmask \
15750 snprintf \
15751 statfs \
15752 statvfs \
15753 strcasecmp \
15754 strdup \
15755 strerror \
15756 strncasecmp \
15757 strtold \
15758 strtoll \
15759 strtoull \
15760 symlink \
15761 sysinfo \
15762 tcdrain \
15763 thr_kill2 \
15764 timegm \
15765 usleep \
15766 vsnprintf
15768 do :
15769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15771 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15774 _ACEOF
15777 done
15779 CFLAGS="$ac_save_CFLAGS"
15781 if test "$ac_cv_func_dlopen" = no
15782 then
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15784 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15785 if ${ac_cv_lib_dl_dlopen+:} false; then :
15786 $as_echo_n "(cached) " >&6
15787 else
15788 ac_check_lib_save_LIBS=$LIBS
15789 LIBS="-ldl $LIBS"
15790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15791 /* end confdefs.h. */
15793 /* Override any GCC internal prototype to avoid an error.
15794 Use char because int might match the return type of a GCC
15795 builtin and then its argument prototype would still apply. */
15796 #ifdef __cplusplus
15797 extern "C"
15798 #endif
15799 char dlopen ();
15801 main ()
15803 return dlopen ();
15805 return 0;
15807 _ACEOF
15808 if ac_fn_c_try_link "$LINENO"; then :
15809 ac_cv_lib_dl_dlopen=yes
15810 else
15811 ac_cv_lib_dl_dlopen=no
15813 rm -f core conftest.err conftest.$ac_objext \
15814 conftest$ac_exeext conftest.$ac_ext
15815 LIBS=$ac_check_lib_save_LIBS
15817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15818 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15819 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15820 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15821 DL_LIBS="-ldl"
15826 ac_wine_check_funcs_save_LIBS="$LIBS"
15827 LIBS="$LIBS $DL_LIBS"
15828 for ac_func in dladdr
15829 do :
15830 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15831 if test "x$ac_cv_func_dladdr" = xyes; then :
15832 cat >>confdefs.h <<_ACEOF
15833 #define HAVE_DLADDR 1
15834 _ACEOF
15837 done
15839 LIBS="$ac_wine_check_funcs_save_LIBS"
15841 if test "$ac_cv_func_poll" = no
15842 then
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15844 $as_echo_n "checking for poll in -lpoll... " >&6; }
15845 if ${ac_cv_lib_poll_poll+:} false; then :
15846 $as_echo_n "(cached) " >&6
15847 else
15848 ac_check_lib_save_LIBS=$LIBS
15849 LIBS="-lpoll $LIBS"
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15853 /* Override any GCC internal prototype to avoid an error.
15854 Use char because int might match the return type of a GCC
15855 builtin and then its argument prototype would still apply. */
15856 #ifdef __cplusplus
15857 extern "C"
15858 #endif
15859 char poll ();
15861 main ()
15863 return poll ();
15865 return 0;
15867 _ACEOF
15868 if ac_fn_c_try_link "$LINENO"; then :
15869 ac_cv_lib_poll_poll=yes
15870 else
15871 ac_cv_lib_poll_poll=no
15873 rm -f core conftest.err conftest.$ac_objext \
15874 conftest$ac_exeext conftest.$ac_ext
15875 LIBS=$ac_check_lib_save_LIBS
15877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15878 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15879 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15880 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15881 POLL_LIBS="-lpoll"
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15888 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15889 if ${ac_cv_search_gethostbyname+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15892 ac_func_search_save_LIBS=$LIBS
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15896 /* Override any GCC internal prototype to avoid an error.
15897 Use char because int might match the return type of a GCC
15898 builtin and then its argument prototype would still apply. */
15899 #ifdef __cplusplus
15900 extern "C"
15901 #endif
15902 char gethostbyname ();
15904 main ()
15906 return gethostbyname ();
15908 return 0;
15910 _ACEOF
15911 for ac_lib in '' nsl; do
15912 if test -z "$ac_lib"; then
15913 ac_res="none required"
15914 else
15915 ac_res=-l$ac_lib
15916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15918 if ac_fn_c_try_link "$LINENO"; then :
15919 ac_cv_search_gethostbyname=$ac_res
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext
15923 if ${ac_cv_search_gethostbyname+:} false; then :
15924 break
15926 done
15927 if ${ac_cv_search_gethostbyname+:} false; then :
15929 else
15930 ac_cv_search_gethostbyname=no
15932 rm conftest.$ac_ext
15933 LIBS=$ac_func_search_save_LIBS
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15936 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15937 ac_res=$ac_cv_search_gethostbyname
15938 if test "$ac_res" != no; then :
15939 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15945 $as_echo_n "checking for library containing connect... " >&6; }
15946 if ${ac_cv_search_connect+:} false; then :
15947 $as_echo_n "(cached) " >&6
15948 else
15949 ac_func_search_save_LIBS=$LIBS
15950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15951 /* end confdefs.h. */
15953 /* Override any GCC internal prototype to avoid an error.
15954 Use char because int might match the return type of a GCC
15955 builtin and then its argument prototype would still apply. */
15956 #ifdef __cplusplus
15957 extern "C"
15958 #endif
15959 char connect ();
15961 main ()
15963 return connect ();
15965 return 0;
15967 _ACEOF
15968 for ac_lib in '' socket; do
15969 if test -z "$ac_lib"; then
15970 ac_res="none required"
15971 else
15972 ac_res=-l$ac_lib
15973 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15975 if ac_fn_c_try_link "$LINENO"; then :
15976 ac_cv_search_connect=$ac_res
15978 rm -f core conftest.err conftest.$ac_objext \
15979 conftest$ac_exeext
15980 if ${ac_cv_search_connect+:} false; then :
15981 break
15983 done
15984 if ${ac_cv_search_connect+:} false; then :
15986 else
15987 ac_cv_search_connect=no
15989 rm conftest.$ac_ext
15990 LIBS=$ac_func_search_save_LIBS
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15993 $as_echo "$ac_cv_search_connect" >&6; }
15994 ac_res=$ac_cv_search_connect
15995 if test "$ac_res" != no; then :
15996 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16002 $as_echo_n "checking for library containing inet_aton... " >&6; }
16003 if ${ac_cv_search_inet_aton+:} false; then :
16004 $as_echo_n "(cached) " >&6
16005 else
16006 ac_func_search_save_LIBS=$LIBS
16007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16008 /* end confdefs.h. */
16010 /* Override any GCC internal prototype to avoid an error.
16011 Use char because int might match the return type of a GCC
16012 builtin and then its argument prototype would still apply. */
16013 #ifdef __cplusplus
16014 extern "C"
16015 #endif
16016 char inet_aton ();
16018 main ()
16020 return inet_aton ();
16022 return 0;
16024 _ACEOF
16025 for ac_lib in '' resolv; do
16026 if test -z "$ac_lib"; then
16027 ac_res="none required"
16028 else
16029 ac_res=-l$ac_lib
16030 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16032 if ac_fn_c_try_link "$LINENO"; then :
16033 ac_cv_search_inet_aton=$ac_res
16035 rm -f core conftest.err conftest.$ac_objext \
16036 conftest$ac_exeext
16037 if ${ac_cv_search_inet_aton+:} false; then :
16038 break
16040 done
16041 if ${ac_cv_search_inet_aton+:} false; then :
16043 else
16044 ac_cv_search_inet_aton=no
16046 rm conftest.$ac_ext
16047 LIBS=$ac_func_search_save_LIBS
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16050 $as_echo "$ac_cv_search_inet_aton" >&6; }
16051 ac_res=$ac_cv_search_inet_aton
16052 if test "$ac_res" != no; then :
16053 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16058 for ac_func in \
16059 getaddrinfo \
16060 getnameinfo \
16061 getnetbyname \
16062 getprotobyname \
16063 getprotobynumber \
16064 getservbyport \
16065 inet_addr \
16066 inet_network \
16067 inet_ntop \
16068 inet_pton \
16069 sendmsg \
16070 socketpair \
16072 do :
16073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16074 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16075 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16076 cat >>confdefs.h <<_ACEOF
16077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16078 _ACEOF
16081 done
16084 ac_save_LIBS=$LIBS
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16086 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16087 if ${ac_cv_search_clock_gettime+:} false; then :
16088 $as_echo_n "(cached) " >&6
16089 else
16090 ac_func_search_save_LIBS=$LIBS
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16094 /* Override any GCC internal prototype to avoid an error.
16095 Use char because int might match the return type of a GCC
16096 builtin and then its argument prototype would still apply. */
16097 #ifdef __cplusplus
16098 extern "C"
16099 #endif
16100 char clock_gettime ();
16102 main ()
16104 return clock_gettime ();
16106 return 0;
16108 _ACEOF
16109 for ac_lib in '' rt; do
16110 if test -z "$ac_lib"; then
16111 ac_res="none required"
16112 else
16113 ac_res=-l$ac_lib
16114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16116 if ac_fn_c_try_link "$LINENO"; then :
16117 ac_cv_search_clock_gettime=$ac_res
16119 rm -f core conftest.err conftest.$ac_objext \
16120 conftest$ac_exeext
16121 if ${ac_cv_search_clock_gettime+:} false; then :
16122 break
16124 done
16125 if ${ac_cv_search_clock_gettime+:} false; then :
16127 else
16128 ac_cv_search_clock_gettime=no
16130 rm conftest.$ac_ext
16131 LIBS=$ac_func_search_save_LIBS
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16134 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16135 ac_res=$ac_cv_search_clock_gettime
16136 if test "$ac_res" != no; then :
16137 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16139 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16141 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16145 LIBS=$ac_save_LIBS
16147 if test "x$with_ldap" != "xno"
16148 then
16149 if ${LDAP_CFLAGS:+false} :; then :
16150 if ${PKG_CONFIG+:} false; then :
16151 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16155 if ${LDAP_LIBS:+false} :; then :
16156 if ${PKG_CONFIG+:} false; then :
16157 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16161 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16162 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16163 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16164 ac_save_CPPFLAGS=$CPPFLAGS
16165 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16166 for ac_header in ldap.h lber.h
16167 do :
16168 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16169 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16170 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16171 cat >>confdefs.h <<_ACEOF
16172 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16173 _ACEOF
16177 done
16179 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16180 then
16181 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16183 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16185 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16186 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16187 $as_echo_n "(cached) " >&6
16188 else
16189 ac_check_lib_save_LIBS=$LIBS
16190 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16192 /* end confdefs.h. */
16194 /* Override any GCC internal prototype to avoid an error.
16195 Use char because int might match the return type of a GCC
16196 builtin and then its argument prototype would still apply. */
16197 #ifdef __cplusplus
16198 extern "C"
16199 #endif
16200 char ldap_initialize ();
16202 main ()
16204 return ldap_initialize ();
16206 return 0;
16208 _ACEOF
16209 if ac_fn_c_try_link "$LINENO"; then :
16210 ac_cv_lib_ldap_r_ldap_initialize=yes
16211 else
16212 ac_cv_lib_ldap_r_ldap_initialize=no
16214 rm -f core conftest.err conftest.$ac_objext \
16215 conftest$ac_exeext conftest.$ac_ext
16216 LIBS=$ac_check_lib_save_LIBS
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16219 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16220 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16222 $as_echo_n "checking for ber_init in -llber... " >&6; }
16223 if ${ac_cv_lib_lber_ber_init+:} false; then :
16224 $as_echo_n "(cached) " >&6
16225 else
16226 ac_check_lib_save_LIBS=$LIBS
16227 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16229 /* end confdefs.h. */
16231 /* Override any GCC internal prototype to avoid an error.
16232 Use char because int might match the return type of a GCC
16233 builtin and then its argument prototype would still apply. */
16234 #ifdef __cplusplus
16235 extern "C"
16236 #endif
16237 char ber_init ();
16239 main ()
16241 return ber_init ();
16243 return 0;
16245 _ACEOF
16246 if ac_fn_c_try_link "$LINENO"; then :
16247 ac_cv_lib_lber_ber_init=yes
16248 else
16249 ac_cv_lib_lber_ber_init=no
16251 rm -f core conftest.err conftest.$ac_objext \
16252 conftest$ac_exeext conftest.$ac_ext
16253 LIBS=$ac_check_lib_save_LIBS
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16256 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16257 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16259 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16261 else
16262 LDAP_LIBS=""
16265 else
16266 LDAP_LIBS=""
16269 else
16270 LDAP_LIBS=""
16273 ac_wine_check_funcs_save_LIBS="$LIBS"
16274 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16275 for ac_func in \
16276 ldap_count_references \
16277 ldap_first_reference \
16278 ldap_next_reference \
16279 ldap_parse_reference \
16280 ldap_parse_sort_control \
16281 ldap_parse_sortresponse_control \
16282 ldap_parse_vlv_control \
16283 ldap_parse_vlvresponse_control
16284 do :
16285 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16287 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16288 cat >>confdefs.h <<_ACEOF
16289 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16290 _ACEOF
16293 done
16295 LIBS="$ac_wine_check_funcs_save_LIBS"
16296 else
16297 LDAP_LIBS=""
16299 CPPFLAGS=$ac_save_CPPFLAGS
16300 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16301 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16304 if test "x$LDAP_LIBS" = "x"; then :
16305 case "x$with_ldap" in
16306 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16307 xno) ;;
16308 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16309 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16310 esac
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16315 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16316 if ${wine_cv_one_arg_mkdir+:} false; then :
16317 $as_echo_n "(cached) " >&6
16318 else
16319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16320 /* end confdefs.h. */
16321 #include <sys/stat.h>
16323 main ()
16325 mkdir("foo");
16327 return 0;
16329 _ACEOF
16330 if ac_fn_c_try_compile "$LINENO"; then :
16331 wine_cv_one_arg_mkdir=yes
16332 else
16333 wine_cv_one_arg_mkdir=no
16335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16338 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16339 if test "$wine_cv_one_arg_mkdir" = "yes"
16340 then
16342 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16347 $as_echo_n "checking for sched_setaffinity... " >&6; }
16348 if ${wine_cv_have_sched_setaffinity+:} false; then :
16349 $as_echo_n "(cached) " >&6
16350 else
16351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16353 #define _GNU_SOURCE
16354 #include <sched.h>
16356 main ()
16358 sched_setaffinity(0, 0, 0);
16360 return 0;
16362 _ACEOF
16363 if ac_fn_c_try_link "$LINENO"; then :
16364 wine_cv_have_sched_setaffinity=yes
16365 else
16366 wine_cv_have_sched_setaffinity=no
16368 rm -f core conftest.err conftest.$ac_objext \
16369 conftest$ac_exeext conftest.$ac_ext
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16372 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16373 if test "$wine_cv_have_sched_setaffinity" = "yes"
16374 then
16376 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16381 $as_echo_n "checking for fallocate... " >&6; }
16382 if ${wine_cv_have_fallocate+:} false; then :
16383 $as_echo_n "(cached) " >&6
16384 else
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 #define _GNU_SOURCE
16388 #include <fcntl.h>
16390 main ()
16392 fallocate(-1, 0, 0, 0);
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"; then :
16398 wine_cv_have_fallocate=yes
16399 else
16400 wine_cv_have_fallocate=no
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16406 $as_echo "$wine_cv_have_fallocate" >&6; }
16407 if test "$wine_cv_have_fallocate" = "yes"
16408 then
16410 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16416 $as_echo_n "checking for inline... " >&6; }
16417 if ${ac_cv_c_inline+:} false; then :
16418 $as_echo_n "(cached) " >&6
16419 else
16420 ac_cv_c_inline=no
16421 for ac_kw in inline __inline__ __inline; do
16422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16423 /* end confdefs.h. */
16424 #ifndef __cplusplus
16425 typedef int foo_t;
16426 static $ac_kw foo_t static_foo () {return 0; }
16427 $ac_kw foo_t foo () {return 0; }
16428 #endif
16430 _ACEOF
16431 if ac_fn_c_try_compile "$LINENO"; then :
16432 ac_cv_c_inline=$ac_kw
16434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16435 test "$ac_cv_c_inline" != no && break
16436 done
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16440 $as_echo "$ac_cv_c_inline" >&6; }
16442 case $ac_cv_c_inline in
16443 inline | yes) ;;
16445 case $ac_cv_c_inline in
16446 no) ac_val=;;
16447 *) ac_val=$ac_cv_c_inline;;
16448 esac
16449 cat >>confdefs.h <<_ACEOF
16450 #ifndef __cplusplus
16451 #define inline $ac_val
16452 #endif
16453 _ACEOF
16455 esac
16457 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16458 if test "x$ac_cv_type_mode_t" = xyes; then :
16460 cat >>confdefs.h <<_ACEOF
16461 #define HAVE_MODE_T 1
16462 _ACEOF
16466 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16467 if test "x$ac_cv_type_off_t" = xyes; then :
16469 cat >>confdefs.h <<_ACEOF
16470 #define HAVE_OFF_T 1
16471 _ACEOF
16475 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16476 if test "x$ac_cv_type_pid_t" = xyes; then :
16478 cat >>confdefs.h <<_ACEOF
16479 #define HAVE_PID_T 1
16480 _ACEOF
16484 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16485 if test "x$ac_cv_type_size_t" = xyes; then :
16487 cat >>confdefs.h <<_ACEOF
16488 #define HAVE_SIZE_T 1
16489 _ACEOF
16493 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16494 if test "x$ac_cv_type_ssize_t" = xyes; then :
16496 cat >>confdefs.h <<_ACEOF
16497 #define HAVE_SSIZE_T 1
16498 _ACEOF
16502 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16503 if test "x$ac_cv_type_long_long" = xyes; then :
16505 cat >>confdefs.h <<_ACEOF
16506 #define HAVE_LONG_LONG 1
16507 _ACEOF
16511 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16512 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16514 cat >>confdefs.h <<_ACEOF
16515 #define HAVE_FSBLKCNT_T 1
16516 _ACEOF
16520 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16521 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define HAVE_FSFILCNT_T 1
16525 _ACEOF
16530 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16531 #include <signal.h>
16533 if test "x$ac_cv_type_sigset_t" = xyes; then :
16535 cat >>confdefs.h <<_ACEOF
16536 #define HAVE_SIGSET_T 1
16537 _ACEOF
16542 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16544 if test "x$ac_cv_type_request_sense" = xyes; then :
16546 cat >>confdefs.h <<_ACEOF
16547 #define HAVE_REQUEST_SENSE 1
16548 _ACEOF
16554 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16555 #ifdef HAVE_SYS_SOCKET_H
16556 #include <sys/socket.h>
16557 #endif
16558 #ifdef HAVE_SYS_SOCKETVAR_H
16559 #include <sys/socketvar.h>
16560 #endif
16561 #ifdef HAVE_NET_ROUTE_H
16562 #include <net/route.h>
16563 #endif
16564 #ifdef HAVE_NETINET_IN_H
16565 #include <netinet/in.h>
16566 #endif
16567 #ifdef HAVE_NETINET_IN_SYSTM_H
16568 #include <netinet/in_systm.h>
16569 #endif
16570 #ifdef HAVE_NETINET_IP_H
16571 #include <netinet/ip.h>
16572 #endif
16573 #ifdef HAVE_NETINET_IN_PCB_H
16574 #include <netinet/in_pcb.h>
16575 #endif
16577 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16579 cat >>confdefs.h <<_ACEOF
16580 #define HAVE_STRUCT_XINPGEN 1
16581 _ACEOF
16587 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16588 #include <link.h>
16589 #endif
16590 #ifdef HAVE_SYS_LINK_H
16591 #include <sys/link.h>
16592 #endif
16594 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16596 cat >>confdefs.h <<_ACEOF
16597 #define HAVE_STRUCT_R_DEBUG 1
16598 _ACEOF
16602 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16603 #include <link.h>
16604 #endif
16605 #ifdef HAVE_SYS_LINK_H
16606 #include <sys/link.h>
16607 #endif
16609 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16611 cat >>confdefs.h <<_ACEOF
16612 #define HAVE_STRUCT_LINK_MAP 1
16613 _ACEOF
16619 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16620 #include <linux/input.h>
16621 #endif
16623 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16625 cat >>confdefs.h <<_ACEOF
16626 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16627 _ACEOF
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16634 $as_echo_n "checking for if_nameindex... " >&6; }
16635 if ${wine_cv_have_if_nameindex+:} false; then :
16636 $as_echo_n "(cached) " >&6
16637 else
16638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16639 /* end confdefs.h. */
16640 #ifdef HAVE_SYS_TYPES_H
16641 #include <sys/types.h>
16642 #endif
16643 #ifdef HAVE_SYS_SOCKET_H
16644 #include <sys/socket.h>
16645 #endif
16646 #ifdef HAVE_NET_IF_H
16647 # include <net/if.h>
16648 #endif
16650 main ()
16652 struct if_nameindex *p = if_nameindex(); return p->if_index;
16654 return 0;
16656 _ACEOF
16657 if ac_fn_c_try_link "$LINENO"; then :
16658 wine_cv_have_if_nameindex=yes
16659 else
16660 wine_cv_have_if_nameindex=no
16662 rm -f core conftest.err conftest.$ac_objext \
16663 conftest$ac_exeext conftest.$ac_ext
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16666 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16667 if test "$wine_cv_have_if_nameindex" = "yes"
16668 then
16670 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16675 $as_echo_n "checking for sigaddset... " >&6; }
16676 if ${wine_cv_have_sigaddset+:} false; then :
16677 $as_echo_n "(cached) " >&6
16678 else
16679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16681 #include <signal.h>
16683 main ()
16685 sigset_t set; sigaddset(&set,SIGTERM);
16687 return 0;
16689 _ACEOF
16690 if ac_fn_c_try_link "$LINENO"; then :
16691 wine_cv_have_sigaddset=yes
16692 else
16693 wine_cv_have_sigaddset=no
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16699 $as_echo "$wine_cv_have_sigaddset" >&6; }
16700 if test "$wine_cv_have_sigaddset" = "yes"
16701 then
16703 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16709 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16710 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16715 #include <netdb.h>
16717 main ()
16720 char *name=0;
16721 struct hostent he;
16722 struct hostent *result;
16723 char *buf=0;
16724 int bufsize=0;
16725 int errnr;
16726 char *addr=0;
16727 int addrlen=0;
16728 int addrtype=0;
16729 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16730 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16733 return 0;
16735 _ACEOF
16736 if ac_fn_c_try_link "$LINENO"; then :
16737 wine_cv_linux_gethostbyname_r_6=yes
16738 else
16739 wine_cv_linux_gethostbyname_r_6=no
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext conftest.$ac_ext
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16747 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16748 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16749 then
16751 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16755 if test "$ac_cv_header_linux_joystick_h" = "yes"
16756 then
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16758 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16759 if ${wine_cv_linux_joystick_22_api+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16765 #include <sys/ioctl.h>
16766 #include <sys/types.h>
16767 #include <linux/joystick.h>
16769 struct js_event blub;
16770 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16771 #error "no 2.2 header"
16772 #endif
16775 main ()
16777 /*empty*/
16779 return 0;
16781 _ACEOF
16782 if ac_fn_c_try_compile "$LINENO"; then :
16783 wine_cv_linux_joystick_22_api=yes
16784 else
16785 wine_cv_linux_joystick_22_api=no
16787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16791 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16792 if test "$wine_cv_linux_joystick_22_api" = "yes"
16793 then
16795 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16801 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16802 #ifdef HAVE_SYS_PARAM_H
16803 # include <sys/param.h>
16804 #endif
16805 #ifdef HAVE_SYS_MOUNT_H
16806 # include <sys/mount.h>
16807 #endif
16808 #ifdef HAVE_SYS_VFS_H
16809 # include <sys/vfs.h>
16810 #endif
16811 #ifdef HAVE_SYS_STATFS_H
16812 # include <sys/statfs.h>
16813 #endif
16815 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16817 cat >>confdefs.h <<_ACEOF
16818 #define HAVE_STRUCT_STATFS_F_BFREE 1
16819 _ACEOF
16823 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16824 #ifdef HAVE_SYS_PARAM_H
16825 # include <sys/param.h>
16826 #endif
16827 #ifdef HAVE_SYS_MOUNT_H
16828 # include <sys/mount.h>
16829 #endif
16830 #ifdef HAVE_SYS_VFS_H
16831 # include <sys/vfs.h>
16832 #endif
16833 #ifdef HAVE_SYS_STATFS_H
16834 # include <sys/statfs.h>
16835 #endif
16837 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16839 cat >>confdefs.h <<_ACEOF
16840 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16841 _ACEOF
16845 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16846 #ifdef HAVE_SYS_PARAM_H
16847 # include <sys/param.h>
16848 #endif
16849 #ifdef HAVE_SYS_MOUNT_H
16850 # include <sys/mount.h>
16851 #endif
16852 #ifdef HAVE_SYS_VFS_H
16853 # include <sys/vfs.h>
16854 #endif
16855 #ifdef HAVE_SYS_STATFS_H
16856 # include <sys/statfs.h>
16857 #endif
16859 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16861 cat >>confdefs.h <<_ACEOF
16862 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16863 _ACEOF
16867 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16868 #ifdef HAVE_SYS_PARAM_H
16869 # include <sys/param.h>
16870 #endif
16871 #ifdef HAVE_SYS_MOUNT_H
16872 # include <sys/mount.h>
16873 #endif
16874 #ifdef HAVE_SYS_VFS_H
16875 # include <sys/vfs.h>
16876 #endif
16877 #ifdef HAVE_SYS_STATFS_H
16878 # include <sys/statfs.h>
16879 #endif
16881 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16883 cat >>confdefs.h <<_ACEOF
16884 #define HAVE_STRUCT_STATFS_F_FFREE 1
16885 _ACEOF
16889 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16890 #ifdef HAVE_SYS_PARAM_H
16891 # include <sys/param.h>
16892 #endif
16893 #ifdef HAVE_SYS_MOUNT_H
16894 # include <sys/mount.h>
16895 #endif
16896 #ifdef HAVE_SYS_VFS_H
16897 # include <sys/vfs.h>
16898 #endif
16899 #ifdef HAVE_SYS_STATFS_H
16900 # include <sys/statfs.h>
16901 #endif
16903 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16907 _ACEOF
16911 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16912 #ifdef HAVE_SYS_PARAM_H
16913 # include <sys/param.h>
16914 #endif
16915 #ifdef HAVE_SYS_MOUNT_H
16916 # include <sys/mount.h>
16917 #endif
16918 #ifdef HAVE_SYS_VFS_H
16919 # include <sys/vfs.h>
16920 #endif
16921 #ifdef HAVE_SYS_STATFS_H
16922 # include <sys/statfs.h>
16923 #endif
16925 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16927 cat >>confdefs.h <<_ACEOF
16928 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16929 _ACEOF
16935 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16936 #include <sys/statvfs.h>
16937 #endif
16939 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16941 cat >>confdefs.h <<_ACEOF
16942 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16943 _ACEOF
16949 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16950 #include <dirent.h>
16951 #endif
16953 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16955 cat >>confdefs.h <<_ACEOF
16956 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16957 _ACEOF
16963 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16964 #ifdef HAVE_SYS_SOCKET_H
16965 # include <sys/socket.h>
16966 #endif
16967 #ifdef HAVE_SYS_UN_H
16968 # include <sys/un.h>
16969 #endif
16971 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16973 cat >>confdefs.h <<_ACEOF
16974 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16975 _ACEOF
16979 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16980 #ifdef HAVE_SYS_SOCKET_H
16981 # include <sys/socket.h>
16982 #endif
16983 #ifdef HAVE_SYS_UN_H
16984 # include <sys/un.h>
16985 #endif
16987 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16989 cat >>confdefs.h <<_ACEOF
16990 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16991 _ACEOF
16995 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16996 #ifdef HAVE_SYS_SOCKET_H
16997 # include <sys/socket.h>
16998 #endif
16999 #ifdef HAVE_SYS_UN_H
17000 # include <sys/un.h>
17001 #endif
17003 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17005 cat >>confdefs.h <<_ACEOF
17006 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17007 _ACEOF
17013 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17014 #ifdef HAVE_SCSI_SG_H
17015 #include <scsi/sg.h>
17016 #endif
17018 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17020 cat >>confdefs.h <<_ACEOF
17021 #define HAVE_SCSIREQ_T_CMD 1
17022 _ACEOF
17026 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>
17027 #ifdef HAVE_SCSI_SG_H
17028 #include <scsi/sg.h>
17029 #endif
17031 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17033 cat >>confdefs.h <<_ACEOF
17034 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17035 _ACEOF
17041 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17043 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17045 cat >>confdefs.h <<_ACEOF
17046 #define HAVE_SIGINFO_T_SI_FD 1
17047 _ACEOF
17053 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17054 #ifdef HAVE_SYS_MTIO_H
17055 #include <sys/mtio.h>
17056 #endif
17058 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17060 cat >>confdefs.h <<_ACEOF
17061 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17062 _ACEOF
17066 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17067 #ifdef HAVE_SYS_MTIO_H
17068 #include <sys/mtio.h>
17069 #endif
17071 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17073 cat >>confdefs.h <<_ACEOF
17074 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17075 _ACEOF
17079 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17080 #ifdef HAVE_SYS_MTIO_H
17081 #include <sys/mtio.h>
17082 #endif
17084 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17086 cat >>confdefs.h <<_ACEOF
17087 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17088 _ACEOF
17094 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17095 #include <getopt.h>
17096 #endif
17098 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17100 cat >>confdefs.h <<_ACEOF
17101 #define HAVE_STRUCT_OPTION_NAME 1
17102 _ACEOF
17108 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17109 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17111 cat >>confdefs.h <<_ACEOF
17112 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17113 _ACEOF
17117 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17118 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17120 cat >>confdefs.h <<_ACEOF
17121 #define HAVE_STRUCT_STAT_ST_MTIM 1
17122 _ACEOF
17126 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17127 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17129 cat >>confdefs.h <<_ACEOF
17130 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17131 _ACEOF
17135 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17136 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17138 cat >>confdefs.h <<_ACEOF
17139 #define HAVE_STRUCT_STAT_ST_CTIM 1
17140 _ACEOF
17144 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17145 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17147 cat >>confdefs.h <<_ACEOF
17148 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17149 _ACEOF
17153 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17154 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17156 cat >>confdefs.h <<_ACEOF
17157 #define HAVE_STRUCT_STAT_ST_ATIM 1
17158 _ACEOF
17162 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17163 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17165 cat >>confdefs.h <<_ACEOF
17166 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17167 _ACEOF
17171 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17172 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17174 cat >>confdefs.h <<_ACEOF
17175 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17176 _ACEOF
17180 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17181 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17183 cat >>confdefs.h <<_ACEOF
17184 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17185 _ACEOF
17189 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17190 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17192 cat >>confdefs.h <<_ACEOF
17193 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17194 _ACEOF
17198 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17199 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17201 cat >>confdefs.h <<_ACEOF
17202 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17203 _ACEOF
17207 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17208 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17210 cat >>confdefs.h <<_ACEOF
17211 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17212 _ACEOF
17218 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
17219 #include <sys/types.h>
17220 #endif
17221 #ifdef HAVE_NETINET_IN_H
17222 #include <netinet/in.h>
17223 #endif
17225 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17227 cat >>confdefs.h <<_ACEOF
17228 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17229 _ACEOF
17235 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17236 #include <sys/types.h>
17237 #endif
17238 #ifdef HAVE_NETINET_IN_H
17239 #include <netinet/in.h>
17240 #endif
17241 #ifdef HAVE_RESOLV_H
17242 #include <resolv.h>
17243 #endif
17245 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17247 cat >>confdefs.h <<_ACEOF
17248 #define HAVE_STRUCT___RES_STATE 1
17249 _ACEOF
17255 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
17256 #include <resolv.h>
17257 #endif
17259 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17261 cat >>confdefs.h <<_ACEOF
17262 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17263 _ACEOF
17269 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17270 #include <sys/types.h>
17271 #endif
17272 #ifdef HAVE_NETINET_IN_H
17273 # include <netinet/in.h>
17274 #endif
17275 #ifdef HAVE_ARPA_NAMESER_H
17276 # include <arpa/nameser.h>
17277 #endif
17279 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17281 cat >>confdefs.h <<_ACEOF
17282 #define HAVE_NS_MSG__MSG_PTR 1
17283 _ACEOF
17289 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17290 #include <sys/types.h>
17291 #endif
17292 #ifdef HAVE_NETINET_IN_H
17293 #include <netinet/in.h>
17294 #endif
17295 #ifdef HAVE_NETINET_IP_H
17296 #include <netinet/ip.h>
17297 #endif
17298 #ifdef HAVE_NETINET_IP_ICMP_H
17299 #include <netinet/ip_icmp.h>
17300 #endif
17301 #ifdef HAVE_NETINET_ICMP_VAR_H
17302 #include <netinet/icmp_var.h>
17303 #endif
17305 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17307 cat >>confdefs.h <<_ACEOF
17308 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17309 _ACEOF
17315 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17316 #include <sys/types.h>
17317 #endif
17318 #ifdef HAVE_ALIAS_H
17319 #include <alias.h>
17320 #endif
17321 #ifdef HAVE_SYS_SOCKET_H
17322 #include <sys/socket.h>
17323 #endif
17324 #ifdef HAVE_SYS_SOCKETVAR_H
17325 #include <sys/socketvar.h>
17326 #endif
17327 #ifdef HAVE_SYS_TIMEOUT_H
17328 #include <sys/timeout.h>
17329 #endif
17330 #ifdef HAVE_NETINET_IN_H
17331 #include <netinet/in.h>
17332 #endif
17333 #ifdef HAVE_NETINET_IN_SYSTM_H
17334 #include <netinet/in_systm.h>
17335 #endif
17336 #ifdef HAVE_NETINET_IP_H
17337 #include <netinet/ip.h>
17338 #endif
17339 #ifdef HAVE_NETINET_IP_VAR_H
17340 #include <netinet/ip_var.h>
17341 #endif
17342 #ifdef HAVE_NETINET_IP_ICMP_H
17343 #include <netinet/ip_icmp.h>
17344 #endif
17345 #ifdef HAVE_NETINET_ICMP_VAR_H
17346 #include <netinet/icmp_var.h>
17347 #endif
17349 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17353 _ACEOF
17359 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17360 #include <sys/types.h>
17361 #endif
17362 #ifdef HAVE_SYS_SOCKETVAR_H
17363 #include <sys/socketvar.h>
17364 #endif
17365 #ifdef HAVE_NETINET_IN_H
17366 #include <netinet/in.h>
17367 #endif
17368 #ifdef HAVE_NETINET_IP_VAR_H
17369 #include <netinet/ip_var.h>
17370 #endif
17372 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17374 cat >>confdefs.h <<_ACEOF
17375 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17376 _ACEOF
17382 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
17383 #include <netinet/ip_var.h>
17384 #endif
17386 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17388 cat >>confdefs.h <<_ACEOF
17389 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17390 _ACEOF
17396 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17397 #include <sys/types.h>
17398 #endif
17399 #ifdef HAVE_SYS_SOCKETVAR_H
17400 #include <sys/socketvar.h>
17401 #endif
17402 #ifdef HAVE_NETINET_IN_H
17403 #include <netinet/in.h>
17404 #endif
17405 #ifdef HAVE_NETINET_TCP_H
17406 #include <netinet/tcp.h>
17407 #endif
17408 #ifdef HAVE_NETINET_TCP_VAR_H
17409 #include <netinet/tcp_var.h>
17410 #endif
17412 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17414 cat >>confdefs.h <<_ACEOF
17415 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17416 _ACEOF
17422 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
17423 #include <netinet/tcp_var.h>
17424 #endif
17426 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17428 cat >>confdefs.h <<_ACEOF
17429 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17430 _ACEOF
17436 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17437 #include <sys/types.h>
17438 #endif
17439 #ifdef HAVE_NETINET_IN_H
17440 #include <netinet/in.h>
17441 #endif
17442 #ifdef HAVE_NETINET_IP_VAR_H
17443 #include <netinet/ip_var.h>
17444 #endif
17445 #ifdef HAVE_NETINET_UDP_H
17446 #include <netinet/udp.h>
17447 #endif
17448 #ifdef HAVE_NETINET_UDP_VAR_H
17449 #include <netinet/udp_var.h>
17450 #endif
17452 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17454 cat >>confdefs.h <<_ACEOF
17455 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17456 _ACEOF
17462 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17463 #include <sys/types.h>
17464 #endif
17465 #ifdef HAVE_NET_IF_H
17466 # include <net/if.h>
17467 #endif
17469 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17471 cat >>confdefs.h <<_ACEOF
17472 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17473 _ACEOF
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17480 $as_echo_n "checking for timezone variable... " >&6; }
17481 if ${ac_cv_have_timezone+:} false; then :
17482 $as_echo_n "(cached) " >&6
17483 else
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #include <time.h>
17488 main ()
17490 timezone = 1
17492 return 0;
17494 _ACEOF
17495 if ac_fn_c_try_link "$LINENO"; then :
17496 ac_cv_have_timezone="yes"
17497 else
17498 ac_cv_have_timezone="no"
17500 rm -f core conftest.err conftest.$ac_objext \
17501 conftest$ac_exeext conftest.$ac_ext
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17504 $as_echo "$ac_cv_have_timezone" >&6; }
17505 if test "$ac_cv_have_timezone" = "yes"
17506 then
17508 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17512 $as_echo_n "checking for daylight variable... " >&6; }
17513 if ${ac_cv_have_daylight+:} false; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17517 /* end confdefs.h. */
17518 #include <time.h>
17520 main ()
17522 daylight = 1
17524 return 0;
17526 _ACEOF
17527 if ac_fn_c_try_link "$LINENO"; then :
17528 ac_cv_have_daylight="yes"
17529 else
17530 ac_cv_have_daylight="no"
17532 rm -f core conftest.err conftest.$ac_objext \
17533 conftest$ac_exeext conftest.$ac_ext
17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17536 $as_echo "$ac_cv_have_daylight" >&6; }
17537 if test "$ac_cv_have_daylight" = "yes"
17538 then
17540 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17544 ac_save_LIBS="$LIBS"
17545 LIBS="$LIBS -lm"
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17547 $as_echo_n "checking for isfinite... " >&6; }
17548 if ${ac_cv_have_isfinite+:} false; then :
17549 $as_echo_n "(cached) " >&6
17550 else
17551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17553 #define _GNU_SOURCE
17554 #include <math.h>
17556 main ()
17558 float f = 0.0; return isfinite(f)
17560 return 0;
17562 _ACEOF
17563 if ac_fn_c_try_link "$LINENO"; then :
17564 ac_cv_have_isfinite="yes"
17565 else
17566 ac_cv_have_isfinite="no"
17568 rm -f core conftest.err conftest.$ac_objext \
17569 conftest$ac_exeext conftest.$ac_ext
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17572 $as_echo "$ac_cv_have_isfinite" >&6; }
17573 if test "$ac_cv_have_isfinite" = "yes"
17574 then
17576 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17581 $as_echo_n "checking for isinf... " >&6; }
17582 if ${ac_cv_have_isinf+:} false; then :
17583 $as_echo_n "(cached) " >&6
17584 else
17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17586 /* end confdefs.h. */
17587 #include <math.h>
17589 main ()
17591 float f = 0.0; return isinf(f)
17593 return 0;
17595 _ACEOF
17596 if ac_fn_c_try_link "$LINENO"; then :
17597 ac_cv_have_isinf="yes"
17598 else
17599 ac_cv_have_isinf="no"
17601 rm -f core conftest.err conftest.$ac_objext \
17602 conftest$ac_exeext conftest.$ac_ext
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17605 $as_echo "$ac_cv_have_isinf" >&6; }
17606 if test "$ac_cv_have_isinf" = "yes"
17607 then
17609 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17614 $as_echo_n "checking for isnan... " >&6; }
17615 if ${ac_cv_have_isnan+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17619 /* end confdefs.h. */
17620 #include <math.h>
17622 main ()
17624 float f = 0.0; return isnan(f)
17626 return 0;
17628 _ACEOF
17629 if ac_fn_c_try_link "$LINENO"; then :
17630 ac_cv_have_isnan="yes"
17631 else
17632 ac_cv_have_isnan="no"
17634 rm -f core conftest.err conftest.$ac_objext \
17635 conftest$ac_exeext conftest.$ac_ext
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17638 $as_echo "$ac_cv_have_isnan" >&6; }
17639 if test "$ac_cv_have_isnan" = "yes"
17640 then
17642 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17646 for ac_func in \
17647 acosh \
17648 acoshf \
17649 asinh \
17650 asinhf \
17651 atanh \
17652 atanhf \
17653 cbrt \
17654 cbrtf \
17655 erf \
17656 erfc \
17657 erfcf \
17658 erff \
17659 exp2 \
17660 exp2f \
17661 expm1 \
17662 expm1f \
17663 lgamma \
17664 lgammaf \
17665 llrint \
17666 llrintf \
17667 llround \
17668 llroundf \
17669 log1p \
17670 log1pf \
17671 log2 \
17672 log2f \
17673 lrint \
17674 lrintf \
17675 lround \
17676 lroundf \
17677 nearbyint \
17678 nearbyintf \
17679 powl \
17680 remainder \
17681 remainderf \
17682 rint \
17683 rintf \
17684 round \
17685 roundf \
17686 trunc \
17687 truncf
17689 do :
17690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17692 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17693 cat >>confdefs.h <<_ACEOF
17694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17695 _ACEOF
17698 done
17700 LIBS="$ac_save_LIBS"
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17703 $as_echo_n "checking for __builtin_clz... " >&6; }
17704 if ${ac_cv_have___builtin_clz+:} false; then :
17705 $as_echo_n "(cached) " >&6
17706 else
17707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17708 /* end confdefs.h. */
17711 main ()
17713 return __builtin_clz(1)
17715 return 0;
17717 _ACEOF
17718 if ac_fn_c_try_link "$LINENO"; then :
17719 ac_cv_have___builtin_clz="yes"
17720 else
17721 ac_cv_have___builtin_clz="no"
17723 rm -f core conftest.err conftest.$ac_objext \
17724 conftest$ac_exeext conftest.$ac_ext
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17727 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17728 if test "$ac_cv_have___builtin_clz" = "yes"
17729 then
17731 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17736 $as_echo_n "checking for __builtin_popcount... " >&6; }
17737 if ${ac_cv_have___builtin_popcount+:} false; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17744 main ()
17746 return __builtin_popcount(1)
17748 return 0;
17750 _ACEOF
17751 if ac_fn_c_try_link "$LINENO"; then :
17752 ac_cv_have___builtin_popcount="yes"
17753 else
17754 ac_cv_have___builtin_popcount="no"
17756 rm -f core conftest.err conftest.$ac_objext \
17757 conftest$ac_exeext conftest.$ac_ext
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17760 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17761 if test "$ac_cv_have___builtin_popcount" = "yes"
17762 then
17764 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17769 case $host_cpu in
17770 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17771 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17772 if ${ac_cv_cpp_def___i386__+:} false; then :
17773 $as_echo_n "(cached) " >&6
17774 else
17775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17776 /* end confdefs.h. */
17777 #ifndef __i386__
17779 #endif
17780 _ACEOF
17781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17782 $EGREP "yes" >/dev/null 2>&1; then :
17783 ac_cv_cpp_def___i386__=yes
17784 else
17785 ac_cv_cpp_def___i386__=no
17787 rm -f conftest*
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17791 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17792 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17793 CFLAGS="$CFLAGS -D__i386__"
17794 LINTFLAGS="$LINTFLAGS -D__i386__"
17795 fi ;;
17796 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17797 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17798 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17803 #ifndef __x86_64__
17805 #endif
17806 _ACEOF
17807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17808 $EGREP "yes" >/dev/null 2>&1; then :
17809 ac_cv_cpp_def___x86_64__=yes
17810 else
17811 ac_cv_cpp_def___x86_64__=no
17813 rm -f conftest*
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17817 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17818 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17819 CFLAGS="$CFLAGS -D__x86_64__"
17820 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17821 fi ;;
17822 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17823 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17824 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17829 #ifndef __sparc64__
17831 #endif
17832 _ACEOF
17833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17834 $EGREP "yes" >/dev/null 2>&1; then :
17835 ac_cv_cpp_def___sparc64__=yes
17836 else
17837 ac_cv_cpp_def___sparc64__=no
17839 rm -f conftest*
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17843 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17844 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17845 CFLAGS="$CFLAGS -D__sparc64__"
17846 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17847 fi ;;
17848 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17849 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17850 if ${ac_cv_cpp_def___sparc__+:} false; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #ifndef __sparc__
17857 #endif
17858 _ACEOF
17859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17860 $EGREP "yes" >/dev/null 2>&1; then :
17861 ac_cv_cpp_def___sparc__=yes
17862 else
17863 ac_cv_cpp_def___sparc__=no
17865 rm -f conftest*
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17869 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17870 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17871 CFLAGS="$CFLAGS -D__sparc__"
17872 LINTFLAGS="$LINTFLAGS -D__sparc__"
17873 fi ;;
17874 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17875 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17876 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17877 $as_echo_n "(cached) " >&6
17878 else
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17881 #ifndef __powerpc64__
17883 #endif
17884 _ACEOF
17885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17886 $EGREP "yes" >/dev/null 2>&1; then :
17887 ac_cv_cpp_def___powerpc64__=yes
17888 else
17889 ac_cv_cpp_def___powerpc64__=no
17891 rm -f conftest*
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17895 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17896 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17897 CFLAGS="$CFLAGS -D__powerpc64__"
17898 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17899 fi ;;
17900 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17901 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17902 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17903 $as_echo_n "(cached) " >&6
17904 else
17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906 /* end confdefs.h. */
17907 #ifndef __powerpc__
17909 #endif
17910 _ACEOF
17911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17912 $EGREP "yes" >/dev/null 2>&1; then :
17913 ac_cv_cpp_def___powerpc__=yes
17914 else
17915 ac_cv_cpp_def___powerpc__=no
17917 rm -f conftest*
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17921 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17922 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17923 CFLAGS="$CFLAGS -D__powerpc__"
17924 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17925 fi ;;
17926 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17927 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17928 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17929 $as_echo_n "(cached) " >&6
17930 else
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17933 #ifndef __aarch64__
17935 #endif
17936 _ACEOF
17937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17938 $EGREP "yes" >/dev/null 2>&1; then :
17939 ac_cv_cpp_def___aarch64__=yes
17940 else
17941 ac_cv_cpp_def___aarch64__=no
17943 rm -f conftest*
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17947 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17948 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17949 CFLAGS="$CFLAGS -D__aarch64__"
17950 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17951 fi ;;
17952 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17953 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17954 if ${ac_cv_cpp_def___arm__+:} false; then :
17955 $as_echo_n "(cached) " >&6
17956 else
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h. */
17959 #ifndef __arm__
17961 #endif
17962 _ACEOF
17963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17964 $EGREP "yes" >/dev/null 2>&1; then :
17965 ac_cv_cpp_def___arm__=yes
17966 else
17967 ac_cv_cpp_def___arm__=no
17969 rm -f conftest*
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17973 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17974 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17975 CFLAGS="$CFLAGS -D__arm__"
17976 LINTFLAGS="$LINTFLAGS -D__arm__"
17977 fi ;;
17978 esac
17980 case $host_vendor in
17981 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17982 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17983 if ${ac_cv_cpp_def___sun__+:} false; then :
17984 $as_echo_n "(cached) " >&6
17985 else
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17988 #ifndef __sun__
17990 #endif
17991 _ACEOF
17992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17993 $EGREP "yes" >/dev/null 2>&1; then :
17994 ac_cv_cpp_def___sun__=yes
17995 else
17996 ac_cv_cpp_def___sun__=no
17998 rm -f conftest*
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18002 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18003 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18004 CFLAGS="$CFLAGS -D__sun__"
18005 LINTFLAGS="$LINTFLAGS -D__sun__"
18006 fi ;;
18007 esac
18013 ac_config_commands="$ac_config_commands include/stamp-h"
18015 $as_echo_n "creating Makefile rules..." >&6
18017 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18018 SOCKET_LIBS = $SOCKET_LIBS
18019 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18020 IOKIT_LIBS = $IOKIT_LIBS
18021 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18022 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18023 CORESERVICES_LIBS = $CORESERVICES_LIBS
18024 APPKIT_LIBS = $APPKIT_LIBS
18025 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18026 SECURITY_LIBS = $SECURITY_LIBS
18027 COREAUDIO_LIBS = $COREAUDIO_LIBS
18028 OPENAL_LIBS = $OPENAL_LIBS
18029 OPENCL_LIBS = $OPENCL_LIBS
18030 QUICKTIME_LIBS = $QUICKTIME_LIBS
18031 CARBON_LIBS = $CARBON_LIBS
18032 PTHREAD_LIBS = $PTHREAD_LIBS
18033 X_CFLAGS = $X_CFLAGS
18034 X_PRE_LIBS = $X_PRE_LIBS
18035 X_LIBS = $X_LIBS
18036 X_EXTRA_LIBS = $X_EXTRA_LIBS
18037 PCAP_LIBS = $PCAP_LIBS
18038 XML2_CFLAGS = $XML2_CFLAGS
18039 XML2_LIBS = $XML2_LIBS
18040 XSLT_CFLAGS = $XSLT_CFLAGS
18041 XSLT_LIBS = $XSLT_LIBS
18042 DBUS_CFLAGS = $DBUS_CFLAGS
18043 DBUS_LIBS = $DBUS_LIBS
18044 HAL_CFLAGS = $HAL_CFLAGS
18045 HAL_LIBS = $HAL_LIBS
18046 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18047 GNUTLS_LIBS = $GNUTLS_LIBS
18048 SANE_CFLAGS = $SANE_CFLAGS
18049 SANE_LIBS = $SANE_LIBS
18050 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18051 GPHOTO2_LIBS = $GPHOTO2_LIBS
18052 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18053 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18054 RESOLV_LIBS = $RESOLV_LIBS
18055 LCMS2_CFLAGS = $LCMS2_CFLAGS
18056 LCMS2_LIBS = $LCMS2_LIBS
18057 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18058 FREETYPE_LIBS = $FREETYPE_LIBS
18059 Z_LIBS = $Z_LIBS
18060 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18061 PULSE_CFLAGS = $PULSE_CFLAGS
18062 PULSE_LIBS = $PULSE_LIBS
18063 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18064 GSTREAMER_LIBS = $GSTREAMER_LIBS
18065 ALSA_LIBS = $ALSA_LIBS
18066 OSS4_CFLAGS = $OSS4_CFLAGS
18067 UDEV_CFLAGS = $UDEV_CFLAGS
18068 UDEV_LIBS = $UDEV_LIBS
18069 CAPI20_CFLAGS = $CAPI20_CFLAGS
18070 CAPI20_LIBS = $CAPI20_LIBS
18071 CUPS_CFLAGS = $CUPS_CFLAGS
18072 CUPS_LIBS = $CUPS_LIBS
18073 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18074 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18075 KRB5_CFLAGS = $KRB5_CFLAGS
18076 KRB5_LIBS = $KRB5_LIBS
18077 JPEG_CFLAGS = $JPEG_CFLAGS
18078 JPEG_LIBS = $JPEG_LIBS
18079 PNG_CFLAGS = $PNG_CFLAGS
18080 PNG_LIBS = $PNG_LIBS
18081 TIFF_CFLAGS = $TIFF_CFLAGS
18082 TIFF_LIBS = $TIFF_LIBS
18083 MPG123_CFLAGS = $MPG123_CFLAGS
18084 MPG123_LIBS = $MPG123_LIBS
18085 KSTAT_LIBS = $KSTAT_LIBS
18086 PROCSTAT_LIBS = $PROCSTAT_LIBS
18087 NETAPI_CFLAGS = $NETAPI_CFLAGS
18088 NETAPI_LIBS = $NETAPI_LIBS
18089 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18090 DL_LIBS = $DL_LIBS
18091 POLL_LIBS = $POLL_LIBS
18092 RT_LIBS = $RT_LIBS
18093 LDAP_CFLAGS = $LDAP_CFLAGS
18094 LDAP_LIBS = $LDAP_LIBS
18099 wine_fn_append_rule "
18100 # Rules automatically generated by configure
18102 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18104 .INIT: Makefile
18105 .MAKEFILEDEPS:
18106 all: Makefile
18107 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18108 @./config.status Make.tmp Makefile
18109 depend: \$(MAKEDEP) dummy
18110 \$(MAKEDEP)"
18112 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18113 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18115 if test "x$enable_fonts" != xno; then
18116 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18117 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18118 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18119 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18120 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18121 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18123 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18124 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18125 ac_config_links="$ac_config_links wine:tools/winewrapper"
18126 wine_fn_config_symlink wine
18127 if test "x$enable_win64" != xno; then
18128 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18129 wine_fn_config_symlink wine64
18132 wine_fn_config_dll acledit enable_acledit
18133 wine_fn_config_dll aclui enable_aclui implib
18134 wine_fn_config_dll activeds enable_activeds implib
18135 wine_fn_config_dll actxprxy enable_actxprxy clean
18136 wine_fn_config_lib adsiid
18137 wine_fn_config_dll adsldpc enable_adsldpc
18138 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18139 wine_fn_config_test dlls/advapi32/tests advapi32_test
18140 wine_fn_config_dll advpack enable_advpack implib
18141 wine_fn_config_test dlls/advpack/tests advpack_test
18142 wine_fn_config_dll amstream enable_amstream clean
18143 wine_fn_config_test dlls/amstream/tests amstream_test
18144 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18145 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18146 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18147 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18148 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18149 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18150 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18151 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18152 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18153 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18154 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18155 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18156 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18157 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18158 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18159 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18160 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18161 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18162 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18163 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18164 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18165 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18166 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18167 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18168 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18169 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18170 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18171 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18172 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18173 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18174 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18175 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18176 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18177 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18178 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18179 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18180 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18181 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18182 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18183 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18184 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18185 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18186 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18187 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18188 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18189 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18190 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18191 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18192 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18193 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18194 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18195 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18196 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18197 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18198 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18199 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18200 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18201 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18202 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18203 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18204 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18205 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18206 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18207 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18208 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18209 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18210 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18211 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18212 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18213 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18214 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18215 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18216 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18217 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18218 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18219 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18220 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18221 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18222 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18223 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18224 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18225 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18226 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18227 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18228 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18229 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18230 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18231 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18232 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18233 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18234 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18235 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18236 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18237 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18238 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18239 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18240 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18241 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18242 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18243 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18244 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18245 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18246 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18247 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18248 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18249 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18250 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18251 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18252 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18253 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18254 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18255 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18256 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18257 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18258 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18259 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18260 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18261 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18262 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18263 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18264 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18265 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18266 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18267 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18268 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18269 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18270 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18271 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18272 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18273 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18274 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18275 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18276 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18277 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18278 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18279 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18280 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18281 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18282 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18283 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18284 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18285 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18286 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18287 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18288 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18289 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18290 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18291 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18292 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18293 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18294 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18295 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18296 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18297 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18298 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18299 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18300 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18301 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18302 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18303 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18304 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18305 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18306 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18307 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18308 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18309 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18310 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18311 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18312 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18313 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18314 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18315 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18316 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18317 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18318 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18319 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18320 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18321 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18322 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18323 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18324 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18325 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18326 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18327 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18328 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18329 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18330 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18331 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18332 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18333 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18334 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18335 wine_fn_config_dll api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18336 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18337 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18338 wine_fn_config_dll apphelp enable_apphelp
18339 wine_fn_config_test dlls/apphelp/tests apphelp_test
18340 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18341 wine_fn_config_dll atl enable_atl clean,implib
18342 wine_fn_config_test dlls/atl/tests atl_test
18343 wine_fn_config_dll atl100 enable_atl100 clean,implib
18344 wine_fn_config_test dlls/atl100/tests atl100_test
18345 wine_fn_config_dll atl110 enable_atl110 clean
18346 wine_fn_config_dll atl80 enable_atl80 clean,implib
18347 wine_fn_config_test dlls/atl80/tests atl80_test
18348 wine_fn_config_dll atl90 enable_atl90 clean
18349 wine_fn_config_dll authz enable_authz
18350 wine_fn_config_dll avicap32 enable_avicap32 implib
18351 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18352 wine_fn_config_test dlls/avifil32/tests avifil32_test
18353 wine_fn_config_dll avifile.dll16 enable_win16
18354 wine_fn_config_dll avrt enable_avrt implib
18355 wine_fn_config_dll bcrypt enable_bcrypt implib
18356 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18357 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18358 wine_fn_config_dll browseui enable_browseui clean
18359 wine_fn_config_test dlls/browseui/tests browseui_test
18360 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18361 wine_fn_config_dll cabinet enable_cabinet implib
18362 wine_fn_config_test dlls/cabinet/tests cabinet_test
18363 wine_fn_config_dll capi2032 enable_capi2032 implib
18364 wine_fn_config_dll cards enable_cards implib
18365 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18366 wine_fn_config_dll clusapi enable_clusapi implib
18367 wine_fn_config_dll combase enable_combase
18368 wine_fn_config_test dlls/combase/tests combase_test
18369 wine_fn_config_dll comcat enable_comcat
18370 wine_fn_config_test dlls/comcat/tests comcat_test
18371 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18372 wine_fn_config_test dlls/comctl32/tests comctl32_test
18373 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18374 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18375 wine_fn_config_dll comm.drv16 enable_win16
18376 wine_fn_config_dll commdlg.dll16 enable_win16
18377 wine_fn_config_dll compobj.dll16 enable_win16
18378 wine_fn_config_dll compstui enable_compstui implib
18379 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18380 wine_fn_config_dll concrt140 enable_concrt140
18381 wine_fn_config_dll connect enable_connect
18382 wine_fn_config_dll credui enable_credui clean,implib
18383 wine_fn_config_test dlls/credui/tests credui_test
18384 wine_fn_config_dll crtdll enable_crtdll
18385 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18386 wine_fn_config_test dlls/crypt32/tests crypt32_test
18387 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18388 wine_fn_config_dll cryptdll enable_cryptdll implib
18389 wine_fn_config_dll cryptext enable_cryptext
18390 wine_fn_config_dll cryptnet enable_cryptnet implib
18391 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18392 wine_fn_config_dll cryptui enable_cryptui clean,implib
18393 wine_fn_config_test dlls/cryptui/tests cryptui_test
18394 wine_fn_config_dll ctapi32 enable_ctapi32
18395 wine_fn_config_dll ctl3d.dll16 enable_win16
18396 wine_fn_config_dll ctl3d32 enable_ctl3d32
18397 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18398 wine_fn_config_dll d2d1 enable_d2d1 implib
18399 wine_fn_config_test dlls/d2d1/tests d2d1_test
18400 wine_fn_config_dll d3d10 enable_d3d10 implib
18401 wine_fn_config_test dlls/d3d10/tests d3d10_test
18402 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18403 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18404 wine_fn_config_dll d3d10core enable_d3d10core implib
18405 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18406 wine_fn_config_dll d3d11 enable_d3d11 implib
18407 wine_fn_config_test dlls/d3d11/tests d3d11_test
18408 wine_fn_config_dll d3d8 enable_d3d8 implib
18409 wine_fn_config_test dlls/d3d8/tests d3d8_test
18410 wine_fn_config_dll d3d9 enable_d3d9 implib
18411 wine_fn_config_test dlls/d3d9/tests d3d9_test
18412 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18413 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18414 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18415 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18416 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18417 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18418 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18419 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18420 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18421 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18422 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18423 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18424 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18425 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18426 wine_fn_config_dll d3dim enable_d3dim
18427 wine_fn_config_dll d3drm enable_d3drm implib
18428 wine_fn_config_test dlls/d3drm/tests d3drm_test
18429 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18430 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18431 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18432 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18433 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18434 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18435 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18436 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18437 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18438 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18439 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18440 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18441 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18442 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18443 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18444 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18445 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18446 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18447 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18448 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18449 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18450 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18451 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18452 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18453 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18454 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18455 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18456 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18457 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18458 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18459 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18460 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18461 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18462 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18463 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18464 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18465 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18466 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18467 wine_fn_config_dll davclnt enable_davclnt
18468 wine_fn_config_dll dbgeng enable_dbgeng implib
18469 wine_fn_config_dll dbghelp enable_dbghelp implib
18470 wine_fn_config_dll dciman32 enable_dciman32 implib
18471 wine_fn_config_dll ddeml.dll16 enable_win16
18472 wine_fn_config_dll ddraw enable_ddraw clean,implib
18473 wine_fn_config_test dlls/ddraw/tests ddraw_test
18474 wine_fn_config_dll ddrawex enable_ddrawex clean
18475 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18476 wine_fn_config_dll devenum enable_devenum clean
18477 wine_fn_config_test dlls/devenum/tests devenum_test
18478 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18479 wine_fn_config_dll difxapi enable_difxapi
18480 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18481 wine_fn_config_test dlls/dinput/tests dinput_test
18482 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18483 wine_fn_config_test dlls/dinput8/tests dinput8_test
18484 wine_fn_config_dll dispdib.dll16 enable_win16
18485 wine_fn_config_dll dispex enable_dispex clean
18486 wine_fn_config_test dlls/dispex/tests dispex_test
18487 wine_fn_config_dll display.drv16 enable_win16
18488 wine_fn_config_dll dmband enable_dmband clean
18489 wine_fn_config_test dlls/dmband/tests dmband_test
18490 wine_fn_config_dll dmcompos enable_dmcompos clean
18491 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18492 wine_fn_config_dll dmime enable_dmime clean
18493 wine_fn_config_test dlls/dmime/tests dmime_test
18494 wine_fn_config_dll dmloader enable_dmloader clean
18495 wine_fn_config_test dlls/dmloader/tests dmloader_test
18496 wine_fn_config_dll dmscript enable_dmscript clean
18497 wine_fn_config_test dlls/dmscript/tests dmscript_test
18498 wine_fn_config_dll dmstyle enable_dmstyle clean
18499 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18500 wine_fn_config_dll dmsynth enable_dmsynth clean
18501 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18502 wine_fn_config_dll dmusic enable_dmusic clean
18503 wine_fn_config_test dlls/dmusic/tests dmusic_test
18504 wine_fn_config_dll dmusic32 enable_dmusic32
18505 wine_fn_config_dll dnsapi enable_dnsapi implib
18506 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18507 wine_fn_config_dll dplay enable_dplay
18508 wine_fn_config_dll dplayx enable_dplayx clean,implib
18509 wine_fn_config_test dlls/dplayx/tests dplayx_test
18510 wine_fn_config_dll dpnaddr enable_dpnaddr
18511 wine_fn_config_dll dpnet enable_dpnet clean,implib
18512 wine_fn_config_test dlls/dpnet/tests dpnet_test
18513 wine_fn_config_dll dpnhpast enable_dpnhpast
18514 wine_fn_config_dll dpnlobby enable_dpnlobby
18515 wine_fn_config_dll dpvoice enable_dpvoice clean
18516 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18517 wine_fn_config_dll dpwsockx enable_dpwsockx
18518 wine_fn_config_dll drmclien enable_drmclien
18519 wine_fn_config_dll dsound enable_dsound clean,implib
18520 wine_fn_config_test dlls/dsound/tests dsound_test
18521 wine_fn_config_dll dsquery enable_dsquery clean
18522 wine_fn_config_dll dssenh enable_dssenh
18523 wine_fn_config_test dlls/dssenh/tests dssenh_test
18524 wine_fn_config_dll dswave enable_dswave clean
18525 wine_fn_config_test dlls/dswave/tests dswave_test
18526 wine_fn_config_dll dwmapi enable_dwmapi implib
18527 wine_fn_config_dll dwrite enable_dwrite implib
18528 wine_fn_config_test dlls/dwrite/tests dwrite_test
18529 wine_fn_config_dll dx8vb enable_dx8vb clean
18530 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18531 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18532 wine_fn_config_lib dxerr8
18533 wine_fn_config_lib dxerr9
18534 wine_fn_config_dll dxgi enable_dxgi implib
18535 wine_fn_config_test dlls/dxgi/tests dxgi_test
18536 wine_fn_config_lib dxguid
18537 wine_fn_config_dll dxva2 enable_dxva2
18538 wine_fn_config_dll esent enable_esent
18539 wine_fn_config_dll evr enable_evr clean
18540 wine_fn_config_test dlls/evr/tests evr_test
18541 wine_fn_config_dll explorerframe enable_explorerframe clean
18542 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18543 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18544 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18545 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18546 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18547 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18548 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18549 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18550 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18551 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18552 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18553 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18554 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18555 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18556 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18557 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18558 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18559 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18560 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18561 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
18562 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18563 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18564 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18565 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18566 wine_fn_config_dll faultrep enable_faultrep implib
18567 wine_fn_config_test dlls/faultrep/tests faultrep_test
18568 wine_fn_config_dll fltlib enable_fltlib
18569 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18570 wine_fn_config_dll fntcache enable_fntcache
18571 wine_fn_config_dll fontsub enable_fontsub
18572 wine_fn_config_dll fusion enable_fusion
18573 wine_fn_config_test dlls/fusion/tests fusion_test
18574 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18575 wine_fn_config_dll gameux enable_gameux clean
18576 wine_fn_config_test dlls/gameux/tests gameux_test
18577 wine_fn_config_dll gdi.exe16 enable_win16
18578 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18579 wine_fn_config_test dlls/gdi32/tests gdi32_test
18580 wine_fn_config_dll gdiplus enable_gdiplus implib
18581 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18582 wine_fn_config_dll glu32 enable_glu32 implib
18583 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18584 wine_fn_config_dll gpkcsp enable_gpkcsp
18585 wine_fn_config_dll hal enable_hal
18586 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18587 wine_fn_config_dll hid enable_hid implib
18588 wine_fn_config_test dlls/hid/tests hid_test
18589 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18590 wine_fn_config_dll hlink enable_hlink clean,implib
18591 wine_fn_config_test dlls/hlink/tests hlink_test
18592 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18593 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18594 wine_fn_config_dll httpapi enable_httpapi
18595 wine_fn_config_dll iccvid enable_iccvid clean
18596 wine_fn_config_dll icmp enable_icmp
18597 wine_fn_config_dll ieframe enable_ieframe clean,implib
18598 wine_fn_config_test dlls/ieframe/tests ieframe_test
18599 wine_fn_config_dll ieproxy enable_ieproxy clean
18600 wine_fn_config_dll ifsmgr.vxd enable_win16
18601 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18602 wine_fn_config_dll imagehlp enable_imagehlp implib
18603 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18604 wine_fn_config_dll imm.dll16 enable_win16
18605 wine_fn_config_dll imm32 enable_imm32 implib
18606 wine_fn_config_test dlls/imm32/tests imm32_test
18607 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18608 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18609 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18610 wine_fn_config_dll inetmib1 enable_inetmib1
18611 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18612 wine_fn_config_dll infosoft enable_infosoft clean
18613 wine_fn_config_test dlls/infosoft/tests infosoft_test
18614 wine_fn_config_dll initpki enable_initpki
18615 wine_fn_config_dll inkobj enable_inkobj
18616 wine_fn_config_dll inseng enable_inseng clean
18617 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18618 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18619 wine_fn_config_dll iprop enable_iprop
18620 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18621 wine_fn_config_dll itircl enable_itircl
18622 wine_fn_config_dll itss enable_itss clean
18623 wine_fn_config_test dlls/itss/tests itss_test
18624 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18625 wine_fn_config_dll jscript enable_jscript clean
18626 wine_fn_config_test dlls/jscript/tests jscript_test
18627 wine_fn_config_dll jsproxy enable_jsproxy implib
18628 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18629 wine_fn_config_dll kerberos enable_kerberos
18630 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18631 wine_fn_config_test dlls/kernel32/tests kernel32_test
18632 wine_fn_config_dll kernelbase enable_kernelbase
18633 wine_fn_config_dll keyboard.drv16 enable_win16
18634 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18635 wine_fn_config_dll ksuser enable_ksuser
18636 wine_fn_config_dll ktmw32 enable_ktmw32
18637 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18638 wine_fn_config_dll loadperf enable_loadperf implib
18639 wine_fn_config_dll localspl enable_localspl clean
18640 wine_fn_config_test dlls/localspl/tests localspl_test
18641 wine_fn_config_dll localui enable_localui clean
18642 wine_fn_config_test dlls/localui/tests localui_test
18643 wine_fn_config_dll lz32 enable_lz32 implib
18644 wine_fn_config_test dlls/lz32/tests lz32_test
18645 wine_fn_config_dll lzexpand.dll16 enable_win16
18646 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18647 wine_fn_config_test dlls/mapi32/tests mapi32_test
18648 wine_fn_config_dll mapistub enable_mapistub
18649 wine_fn_config_dll mciavi32 enable_mciavi32
18650 wine_fn_config_dll mcicda enable_mcicda
18651 wine_fn_config_dll mciqtz32 enable_mciqtz32
18652 wine_fn_config_dll mciseq enable_mciseq
18653 wine_fn_config_dll mciwave enable_mciwave
18654 wine_fn_config_dll mf enable_mf implib
18655 wine_fn_config_test dlls/mf/tests mf_test
18656 wine_fn_config_dll mf3216 enable_mf3216
18657 wine_fn_config_dll mfplat enable_mfplat implib
18658 wine_fn_config_test dlls/mfplat/tests mfplat_test
18659 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18660 wine_fn_config_lib mfuuid
18661 wine_fn_config_dll mgmtapi enable_mgmtapi
18662 wine_fn_config_dll midimap enable_midimap
18663 wine_fn_config_dll mlang enable_mlang clean,implib
18664 wine_fn_config_test dlls/mlang/tests mlang_test
18665 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18666 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18667 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18668 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18669 wine_fn_config_dll mmdevldr.vxd enable_win16
18670 wine_fn_config_dll mmsystem.dll16 enable_win16
18671 wine_fn_config_dll monodebg.vxd enable_win16
18672 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18673 wine_fn_config_dll mouse.drv16 enable_win16
18674 wine_fn_config_dll mpr enable_mpr clean,implib
18675 wine_fn_config_test dlls/mpr/tests mpr_test
18676 wine_fn_config_dll mprapi enable_mprapi implib
18677 wine_fn_config_dll msacm.dll16 enable_win16
18678 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18679 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18680 wine_fn_config_test dlls/msacm32/tests msacm32_test
18681 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18682 wine_fn_config_dll msasn1 enable_msasn1 implib
18683 wine_fn_config_dll mscat32 enable_mscat32
18684 wine_fn_config_dll mscms enable_mscms implib
18685 wine_fn_config_test dlls/mscms/tests mscms_test
18686 wine_fn_config_dll mscoree enable_mscoree clean
18687 wine_fn_config_test dlls/mscoree/tests mscoree_test
18688 wine_fn_config_dll msctf enable_msctf clean
18689 wine_fn_config_test dlls/msctf/tests msctf_test
18690 wine_fn_config_dll msctfp enable_msctfp clean
18691 wine_fn_config_dll msdaps enable_msdaps clean
18692 wine_fn_config_dll msdelta enable_msdelta
18693 wine_fn_config_dll msdmo enable_msdmo implib
18694 wine_fn_config_test dlls/msdmo/tests msdmo_test
18695 wine_fn_config_dll msdrm enable_msdrm
18696 wine_fn_config_dll msftedit enable_msftedit
18697 wine_fn_config_dll msg711.acm enable_msg711_acm
18698 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18699 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18700 wine_fn_config_dll mshtml enable_mshtml clean,implib
18701 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18702 wine_fn_config_dll msi enable_msi clean,implib
18703 wine_fn_config_test dlls/msi/tests msi_test
18704 wine_fn_config_dll msident enable_msident clean
18705 wine_fn_config_dll msimg32 enable_msimg32 implib
18706 wine_fn_config_dll msimsg enable_msimsg
18707 wine_fn_config_dll msimtf enable_msimtf clean
18708 wine_fn_config_dll msisip enable_msisip
18709 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18710 wine_fn_config_dll msls31 enable_msls31
18711 wine_fn_config_dll msnet32 enable_msnet32
18712 wine_fn_config_dll mspatcha enable_mspatcha implib
18713 wine_fn_config_dll msports enable_msports
18714 wine_fn_config_dll msrle32 enable_msrle32 clean
18715 wine_fn_config_test dlls/msrle32/tests msrle32_test
18716 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18717 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18718 wine_fn_config_dll mssign32 enable_mssign32
18719 wine_fn_config_dll mssip32 enable_mssip32
18720 wine_fn_config_dll mstask enable_mstask clean
18721 wine_fn_config_test dlls/mstask/tests mstask_test
18722 wine_fn_config_dll msvcirt enable_msvcirt
18723 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18724 wine_fn_config_dll msvcm80 enable_msvcm80
18725 wine_fn_config_dll msvcm90 enable_msvcm90
18726 wine_fn_config_dll msvcp100 enable_msvcp100
18727 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18728 wine_fn_config_dll msvcp110 enable_msvcp110
18729 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18730 wine_fn_config_dll msvcp120 enable_msvcp120
18731 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18732 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18733 wine_fn_config_dll msvcp140 enable_msvcp140
18734 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18735 wine_fn_config_dll msvcp60 enable_msvcp60
18736 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18737 wine_fn_config_dll msvcp70 enable_msvcp70
18738 wine_fn_config_dll msvcp71 enable_msvcp71
18739 wine_fn_config_dll msvcp80 enable_msvcp80
18740 wine_fn_config_dll msvcp90 enable_msvcp90
18741 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18742 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18743 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18744 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18745 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18746 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18747 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18748 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18749 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18750 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18751 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18752 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18753 wine_fn_config_dll msvcrt enable_msvcrt implib
18754 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18755 wine_fn_config_dll msvcrt20 enable_msvcrt20
18756 wine_fn_config_dll msvcrt40 enable_msvcrt40
18757 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18758 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18759 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18760 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18761 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18762 wine_fn_config_dll msvideo.dll16 enable_win16
18763 wine_fn_config_dll mswsock enable_mswsock implib
18764 wine_fn_config_dll msxml enable_msxml clean
18765 wine_fn_config_dll msxml2 enable_msxml2 clean
18766 wine_fn_config_dll msxml3 enable_msxml3 clean
18767 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18768 wine_fn_config_dll msxml4 enable_msxml4 clean
18769 wine_fn_config_dll msxml6 enable_msxml6 clean
18770 wine_fn_config_dll mtxdm enable_mtxdm
18771 wine_fn_config_dll ncrypt enable_ncrypt
18772 wine_fn_config_dll nddeapi enable_nddeapi implib
18773 wine_fn_config_dll ndis.sys enable_ndis_sys
18774 wine_fn_config_dll netapi32 enable_netapi32 implib
18775 wine_fn_config_test dlls/netapi32/tests netapi32_test
18776 wine_fn_config_dll netcfgx enable_netcfgx clean
18777 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18778 wine_fn_config_dll netprofm enable_netprofm clean
18779 wine_fn_config_test dlls/netprofm/tests netprofm_test
18780 wine_fn_config_dll newdev enable_newdev implib
18781 wine_fn_config_dll normaliz enable_normaliz implib
18782 wine_fn_config_dll npmshtml enable_npmshtml
18783 wine_fn_config_dll npptools enable_npptools
18784 wine_fn_config_dll ntdll enable_ntdll implib
18785 wine_fn_config_test dlls/ntdll/tests ntdll_test
18786 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18787 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18788 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18789 wine_fn_config_dll ntprint enable_ntprint
18790 wine_fn_config_test dlls/ntprint/tests ntprint_test
18791 wine_fn_config_dll objsel enable_objsel clean
18792 wine_fn_config_dll odbc32 enable_odbc32 implib
18793 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18794 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18795 wine_fn_config_dll odbccu32 enable_odbccu32
18796 wine_fn_config_dll ole2.dll16 enable_win16
18797 wine_fn_config_dll ole2conv.dll16 enable_win16
18798 wine_fn_config_dll ole2disp.dll16 enable_win16
18799 wine_fn_config_dll ole2nls.dll16 enable_win16
18800 wine_fn_config_dll ole2prox.dll16 enable_win16
18801 wine_fn_config_dll ole2thk.dll16 enable_win16
18802 wine_fn_config_dll ole32 enable_ole32 clean,implib
18803 wine_fn_config_test dlls/ole32/tests ole32_test
18804 wine_fn_config_dll oleacc enable_oleacc clean,implib
18805 wine_fn_config_test dlls/oleacc/tests oleacc_test
18806 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18807 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18808 wine_fn_config_dll olecli.dll16 enable_win16
18809 wine_fn_config_dll olecli32 enable_olecli32 implib
18810 wine_fn_config_dll oledb32 enable_oledb32 clean
18811 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18812 wine_fn_config_dll oledlg enable_oledlg clean,implib
18813 wine_fn_config_test dlls/oledlg/tests oledlg_test
18814 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18815 wine_fn_config_dll olesvr.dll16 enable_win16
18816 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18817 wine_fn_config_dll olethk32 enable_olethk32
18818 wine_fn_config_dll openal32 enable_openal32
18819 wine_fn_config_dll opencl enable_opencl
18820 wine_fn_config_dll opengl32 enable_opengl32 implib
18821 wine_fn_config_test dlls/opengl32/tests opengl32_test
18822 wine_fn_config_dll packager enable_packager clean
18823 wine_fn_config_test dlls/packager/tests packager_test
18824 wine_fn_config_dll pdh enable_pdh implib
18825 wine_fn_config_test dlls/pdh/tests pdh_test
18826 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18827 wine_fn_config_dll pidgen enable_pidgen
18828 wine_fn_config_dll powrprof enable_powrprof implib
18829 wine_fn_config_dll printui enable_printui
18830 wine_fn_config_dll prntvpt enable_prntvpt
18831 wine_fn_config_dll propsys enable_propsys clean,implib
18832 wine_fn_config_test dlls/propsys/tests propsys_test
18833 wine_fn_config_dll psapi enable_psapi implib
18834 wine_fn_config_test dlls/psapi/tests psapi_test
18835 wine_fn_config_dll pstorec enable_pstorec clean
18836 wine_fn_config_test dlls/pstorec/tests pstorec_test
18837 wine_fn_config_dll qcap enable_qcap
18838 wine_fn_config_test dlls/qcap/tests qcap_test
18839 wine_fn_config_dll qedit enable_qedit clean
18840 wine_fn_config_test dlls/qedit/tests qedit_test
18841 wine_fn_config_dll qmgr enable_qmgr clean
18842 wine_fn_config_test dlls/qmgr/tests qmgr_test
18843 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18844 wine_fn_config_dll quartz enable_quartz clean,implib
18845 wine_fn_config_test dlls/quartz/tests quartz_test clean
18846 wine_fn_config_dll query enable_query
18847 wine_fn_config_dll rasapi16.dll16 enable_win16
18848 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18849 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18850 wine_fn_config_dll rasdlg enable_rasdlg implib
18851 wine_fn_config_dll regapi enable_regapi
18852 wine_fn_config_dll resutils enable_resutils implib
18853 wine_fn_config_dll riched20 enable_riched20 clean,implib
18854 wine_fn_config_test dlls/riched20/tests riched20_test
18855 wine_fn_config_dll riched32 enable_riched32
18856 wine_fn_config_test dlls/riched32/tests riched32_test
18857 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18858 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18859 wine_fn_config_dll rsabase enable_rsabase
18860 wine_fn_config_dll rsaenh enable_rsaenh implib
18861 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18862 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18863 wine_fn_config_dll rtutils enable_rtutils implib
18864 wine_fn_config_dll samlib enable_samlib
18865 wine_fn_config_dll sane.ds enable_sane_ds clean
18866 wine_fn_config_dll sapi enable_sapi clean
18867 wine_fn_config_test dlls/sapi/tests sapi_test
18868 wine_fn_config_dll scarddlg enable_scarddlg
18869 wine_fn_config_dll sccbase enable_sccbase
18870 wine_fn_config_dll schannel enable_schannel
18871 wine_fn_config_test dlls/schannel/tests schannel_test
18872 wine_fn_config_dll schedsvc enable_schedsvc clean
18873 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18874 wine_fn_config_dll scrobj enable_scrobj clean
18875 wine_fn_config_dll scrrun enable_scrrun clean
18876 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18877 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18878 wine_fn_config_dll secur32 enable_secur32 implib
18879 wine_fn_config_test dlls/secur32/tests secur32_test
18880 wine_fn_config_dll security enable_security
18881 wine_fn_config_dll sensapi enable_sensapi implib
18882 wine_fn_config_dll serialui enable_serialui clean
18883 wine_fn_config_test dlls/serialui/tests serialui_test
18884 wine_fn_config_dll setupapi enable_setupapi clean,implib
18885 wine_fn_config_test dlls/setupapi/tests setupapi_test
18886 wine_fn_config_dll setupx.dll16 enable_win16
18887 wine_fn_config_dll sfc enable_sfc implib
18888 wine_fn_config_dll sfc_os enable_sfc_os implib
18889 wine_fn_config_dll shdoclc enable_shdoclc clean
18890 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18891 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18892 wine_fn_config_dll shell.dll16 enable_win16
18893 wine_fn_config_dll shell32 enable_shell32 clean,implib
18894 wine_fn_config_test dlls/shell32/tests shell32_test
18895 wine_fn_config_dll shfolder enable_shfolder implib
18896 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18897 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18898 wine_fn_config_dll slbcsp enable_slbcsp
18899 wine_fn_config_dll slc enable_slc implib
18900 wine_fn_config_test dlls/slc/tests slc_test
18901 wine_fn_config_dll snmpapi enable_snmpapi implib
18902 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18903 wine_fn_config_dll softpub enable_softpub
18904 wine_fn_config_dll sound.drv16 enable_win16
18905 wine_fn_config_dll spoolss enable_spoolss implib
18906 wine_fn_config_test dlls/spoolss/tests spoolss_test
18907 wine_fn_config_dll sspicli enable_sspicli
18908 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18909 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18910 wine_fn_config_dll sti enable_sti clean,implib
18911 wine_fn_config_test dlls/sti/tests sti_test
18912 wine_fn_config_dll storage.dll16 enable_win16
18913 wine_fn_config_dll stress.dll16 enable_win16
18914 wine_fn_config_lib strmbase
18915 wine_fn_config_lib strmiids
18916 wine_fn_config_dll svrapi enable_svrapi
18917 wine_fn_config_dll sxs enable_sxs implib
18918 wine_fn_config_test dlls/sxs/tests sxs_test
18919 wine_fn_config_dll system.drv16 enable_win16
18920 wine_fn_config_dll t2embed enable_t2embed implib
18921 wine_fn_config_test dlls/t2embed/tests t2embed_test
18922 wine_fn_config_dll tapi32 enable_tapi32 implib
18923 wine_fn_config_dll taskschd enable_taskschd clean
18924 wine_fn_config_test dlls/taskschd/tests taskschd_test
18925 wine_fn_config_dll tdh enable_tdh
18926 wine_fn_config_dll tdi.sys enable_tdi_sys
18927 wine_fn_config_dll toolhelp.dll16 enable_win16
18928 wine_fn_config_dll traffic enable_traffic
18929 wine_fn_config_dll twain.dll16 enable_win16
18930 wine_fn_config_dll twain_32 enable_twain_32 clean
18931 wine_fn_config_test dlls/twain_32/tests twain_32_test
18932 wine_fn_config_dll typelib.dll16 enable_win16
18933 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18934 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18935 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18936 wine_fn_config_dll uiribbon enable_uiribbon clean
18937 wine_fn_config_dll unicows enable_unicows implib
18938 wine_fn_config_dll updspapi enable_updspapi
18939 wine_fn_config_dll url enable_url implib
18940 wine_fn_config_dll urlmon enable_urlmon clean,implib
18941 wine_fn_config_test dlls/urlmon/tests urlmon_test
18942 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18943 wine_fn_config_dll user.exe16 enable_win16
18944 wine_fn_config_dll user32 enable_user32 clean,implib
18945 wine_fn_config_test dlls/user32/tests user32_test
18946 wine_fn_config_dll userenv enable_userenv implib
18947 wine_fn_config_test dlls/userenv/tests userenv_test
18948 wine_fn_config_dll usp10 enable_usp10 implib
18949 wine_fn_config_test dlls/usp10/tests usp10_test
18950 wine_fn_config_lib uuid
18951 wine_fn_config_dll uxtheme enable_uxtheme implib
18952 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18953 wine_fn_config_dll vbscript enable_vbscript clean
18954 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18955 wine_fn_config_dll vcomp enable_vcomp
18956 wine_fn_config_test dlls/vcomp/tests vcomp_test
18957 wine_fn_config_dll vcomp100 enable_vcomp100
18958 wine_fn_config_dll vcomp110 enable_vcomp110
18959 wine_fn_config_dll vcomp120 enable_vcomp120
18960 wine_fn_config_dll vcomp140 enable_vcomp140
18961 wine_fn_config_dll vcomp90 enable_vcomp90
18962 wine_fn_config_dll vcruntime140 enable_vcruntime140
18963 wine_fn_config_dll vdhcp.vxd enable_win16
18964 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18965 wine_fn_config_dll ver.dll16 enable_win16
18966 wine_fn_config_dll version enable_version implib
18967 wine_fn_config_test dlls/version/tests version_test
18968 wine_fn_config_dll virtdisk enable_virtdisk
18969 wine_fn_config_dll vmm.vxd enable_win16
18970 wine_fn_config_dll vnbt.vxd enable_win16
18971 wine_fn_config_dll vnetbios.vxd enable_win16
18972 wine_fn_config_dll vssapi enable_vssapi
18973 wine_fn_config_dll vtdapi.vxd enable_win16
18974 wine_fn_config_dll vwin32.vxd enable_win16
18975 wine_fn_config_dll w32skrnl enable_win16
18976 wine_fn_config_dll w32sys.dll16 enable_win16
18977 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18978 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18979 wine_fn_config_dll wbemprox enable_wbemprox clean
18980 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18981 wine_fn_config_dll webservices enable_webservices implib
18982 wine_fn_config_test dlls/webservices/tests webservices_test
18983 wine_fn_config_dll wer enable_wer implib
18984 wine_fn_config_test dlls/wer/tests wer_test
18985 wine_fn_config_dll wevtapi enable_wevtapi
18986 wine_fn_config_dll wiaservc enable_wiaservc clean
18987 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18988 wine_fn_config_dll wimgapi enable_wimgapi
18989 wine_fn_config_dll win32s16.dll16 enable_win16
18990 wine_fn_config_dll win87em.dll16 enable_win16
18991 wine_fn_config_dll winaspi.dll16 enable_win16
18992 wine_fn_config_dll windebug.dll16 enable_win16
18993 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18994 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18995 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18996 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18997 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18998 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18999 wine_fn_config_dll winebus.sys enable_winebus_sys
19000 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
19001 wine_fn_config_lib winecrt0
19002 wine_fn_config_dll wined3d enable_wined3d implib
19003 wine_fn_config_dll winegstreamer enable_winegstreamer
19004 wine_fn_config_dll winehid.sys enable_winehid_sys
19005 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
19006 wine_fn_config_dll winemac.drv enable_winemac_drv clean
19007 wine_fn_config_dll winemapi enable_winemapi
19008 wine_fn_config_dll wineoss.drv enable_wineoss_drv
19009 wine_fn_config_dll wineps.drv enable_wineps_drv clean
19010 wine_fn_config_dll wineps16.drv16 enable_win16
19011 wine_fn_config_dll winepulse.drv enable_winepulse_drv
19012 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
19013 wine_fn_config_dll winex11.drv enable_winex11_drv
19014 wine_fn_config_dll wing.dll16 enable_win16
19015 wine_fn_config_dll wing32 enable_wing32
19016 wine_fn_config_dll winhttp enable_winhttp clean,implib
19017 wine_fn_config_test dlls/winhttp/tests winhttp_test
19018 wine_fn_config_dll wininet enable_wininet clean,implib
19019 wine_fn_config_test dlls/wininet/tests wininet_test
19020 wine_fn_config_dll winmm enable_winmm clean,implib
19021 wine_fn_config_test dlls/winmm/tests winmm_test
19022 wine_fn_config_dll winnls.dll16 enable_win16
19023 wine_fn_config_dll winnls32 enable_winnls32 implib
19024 wine_fn_config_dll winscard enable_winscard implib
19025 wine_fn_config_dll winsock.dll16 enable_win16
19026 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
19027 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
19028 wine_fn_config_dll winsta enable_winsta
19029 wine_fn_config_dll wintab.dll16 enable_win16
19030 wine_fn_config_dll wintab32 enable_wintab32 implib
19031 wine_fn_config_test dlls/wintab32/tests wintab32_test
19032 wine_fn_config_dll wintrust enable_wintrust implib
19033 wine_fn_config_test dlls/wintrust/tests wintrust_test
19034 wine_fn_config_dll winusb enable_winusb
19035 wine_fn_config_dll wlanapi enable_wlanapi implib
19036 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
19037 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
19038 wine_fn_config_test dlls/wldap32/tests wldap32_test
19039 wine_fn_config_dll wmasf enable_wmasf
19040 wine_fn_config_dll wmi enable_wmi
19041 wine_fn_config_dll wmiutils enable_wmiutils clean
19042 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
19043 wine_fn_config_dll wmp enable_wmp clean
19044 wine_fn_config_test dlls/wmp/tests wmp_test
19045 wine_fn_config_dll wmphoto enable_wmphoto clean
19046 wine_fn_config_dll wmvcore enable_wmvcore implib
19047 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
19048 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
19049 wine_fn_config_dll wow32 enable_win16 implib
19050 wine_fn_config_dll wpc enable_wpc clean
19051 wine_fn_config_test dlls/wpc/tests wpc_test
19052 wine_fn_config_dll wpcap enable_wpcap
19053 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19054 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19055 wine_fn_config_dll wsdapi enable_wsdapi implib
19056 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19057 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19058 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19059 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19060 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19061 wine_fn_config_dll wsock32 enable_wsock32 implib
19062 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19063 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19064 wine_fn_config_dll wuapi enable_wuapi clean
19065 wine_fn_config_dll wuaueng enable_wuaueng
19066 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19067 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19068 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19069 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19070 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19071 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19072 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19073 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19074 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19075 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19076 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19077 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19078 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19079 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19080 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19081 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19082 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19083 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19084 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19085 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19086 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19087 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19088 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19089 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19090 wine_fn_config_dll xinput1_1 enable_xinput1_1
19091 wine_fn_config_dll xinput1_2 enable_xinput1_2
19092 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19093 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19094 wine_fn_config_dll xinput1_4 enable_xinput1_4
19095 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19096 wine_fn_config_dll xmllite enable_xmllite implib
19097 wine_fn_config_test dlls/xmllite/tests xmllite_test
19098 wine_fn_config_dll xolehlp enable_xolehlp
19099 wine_fn_config_dll xpsprint enable_xpsprint
19100 wine_fn_config_dll xpssvcs enable_xpssvcs
19101 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19102 wine_fn_config_makefile include enable_include clean,install-dev
19103 wine_fn_config_makefile libs/port enable_libs_port
19104 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19105 wine_fn_config_makefile libs/wpp enable_libs_wpp
19106 wine_fn_config_makefile loader enable_loader clean,install-lib
19107 wine_fn_config_makefile po enable_po clean
19108 wine_fn_config_program arp enable_arp install
19109 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19110 wine_fn_config_program attrib enable_attrib clean,install
19111 wine_fn_config_program cabarc enable_cabarc install
19112 wine_fn_config_program cacls enable_cacls install
19113 wine_fn_config_program clock enable_clock clean,install
19114 wine_fn_config_program cmd enable_cmd clean,install
19115 wine_fn_config_test programs/cmd/tests cmd.exe_test
19116 wine_fn_config_program conhost enable_conhost install
19117 wine_fn_config_program control enable_control install
19118 wine_fn_config_program cscript enable_cscript clean,install
19119 wine_fn_config_program dpnsvr enable_dpnsvr install
19120 wine_fn_config_program dxdiag enable_dxdiag clean,install
19121 wine_fn_config_program eject enable_eject install
19122 wine_fn_config_program expand enable_expand install
19123 wine_fn_config_program explorer enable_explorer clean,install
19124 wine_fn_config_program extrac32 enable_extrac32 install
19125 wine_fn_config_program findstr enable_findstr install
19126 wine_fn_config_program fsutil enable_fsutil install
19127 wine_fn_config_program hh enable_hh install
19128 wine_fn_config_program hostname enable_hostname clean,install
19129 wine_fn_config_program icacls enable_icacls install
19130 wine_fn_config_program icinfo enable_icinfo install
19131 wine_fn_config_program iexplore enable_iexplore install
19132 wine_fn_config_program ipconfig enable_ipconfig clean,install
19133 wine_fn_config_program lodctr enable_lodctr install
19134 wine_fn_config_program mofcomp enable_mofcomp install
19135 wine_fn_config_program mshta enable_mshta install
19136 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19137 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19138 wine_fn_config_program net enable_net clean,install
19139 wine_fn_config_program netsh enable_netsh install
19140 wine_fn_config_program netstat enable_netstat clean,install
19141 wine_fn_config_program ngen enable_ngen install
19142 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19143 wine_fn_config_program oleview enable_oleview clean,install
19144 wine_fn_config_program ping enable_ping install
19145 wine_fn_config_program plugplay enable_plugplay install
19146 wine_fn_config_program powershell enable_powershell install
19147 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19148 wine_fn_config_program progman enable_progman clean,install
19149 wine_fn_config_program reg enable_reg clean,install
19150 wine_fn_config_test programs/reg/tests reg.exe_test
19151 wine_fn_config_program regasm enable_regasm install
19152 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19153 wine_fn_config_test programs/regedit/tests regedit.exe_test
19154 wine_fn_config_program regsvcs enable_regsvcs install
19155 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19156 wine_fn_config_program rpcss enable_rpcss clean,install
19157 wine_fn_config_program rundll.exe16 enable_win16 install
19158 wine_fn_config_program rundll32 enable_rundll32 install
19159 wine_fn_config_program sc enable_sc install
19160 wine_fn_config_program schtasks enable_schtasks install
19161 wine_fn_config_program sdbinst enable_sdbinst install
19162 wine_fn_config_program secedit enable_secedit install
19163 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19164 wine_fn_config_program services enable_services clean,install
19165 wine_fn_config_test programs/services/tests services.exe_test
19166 wine_fn_config_program shutdown enable_shutdown install
19167 wine_fn_config_program spoolsv enable_spoolsv install
19168 wine_fn_config_program start enable_start clean,install
19169 wine_fn_config_program subst enable_subst install
19170 wine_fn_config_program svchost enable_svchost install
19171 wine_fn_config_program systeminfo enable_systeminfo install
19172 wine_fn_config_program taskkill enable_taskkill clean,install
19173 wine_fn_config_program tasklist enable_tasklist install
19174 wine_fn_config_program taskmgr enable_taskmgr clean,install
19175 wine_fn_config_program termsv enable_termsv install
19176 wine_fn_config_program uninstaller enable_uninstaller clean,install
19177 wine_fn_config_program unlodctr enable_unlodctr install
19178 wine_fn_config_program view enable_view clean,install
19179 wine_fn_config_program wevtutil enable_wevtutil install
19180 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19181 wine_fn_config_program winebrowser enable_winebrowser install
19182 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19183 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19184 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19185 wine_fn_config_program winedevice enable_winedevice install
19186 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19187 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19188 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19189 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19190 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19191 wine_fn_config_program winetest enable_winetest clean
19192 wine_fn_config_program winevdm enable_win16 install
19193 wine_fn_config_program winhelp.exe16 enable_win16 install
19194 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19195 wine_fn_config_program winoldap.mod16 enable_win16 install
19196 wine_fn_config_program winver enable_winver install
19197 wine_fn_config_program wmic enable_wmic clean,install
19198 wine_fn_config_program wmplayer enable_wmplayer install
19199 wine_fn_config_program wordpad enable_wordpad clean,install
19200 wine_fn_config_program write enable_write clean,install
19201 wine_fn_config_program wscript enable_wscript clean,install
19202 wine_fn_config_test programs/wscript/tests wscript.exe_test
19203 wine_fn_config_program wusa enable_wusa install
19204 wine_fn_config_program xcopy enable_xcopy clean,install
19205 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19206 wine_fn_config_makefile server enable_server clean,install-lib
19207 wine_fn_config_tool tools clean
19208 wine_fn_config_tool tools/sfnt2fon clean
19209 wine_fn_config_tool tools/widl clean,install-dev
19210 wine_fn_config_tool tools/winebuild clean,install-dev
19211 wine_fn_config_tool tools/winedump clean,install-dev
19212 wine_fn_config_tool tools/winegcc clean,install-dev
19213 wine_fn_config_tool tools/winemaker clean,install-dev
19214 wine_fn_config_tool tools/wmc clean,install-dev
19215 wine_fn_config_tool tools/wrc clean,install-dev
19218 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19219 wine_fn_append_file CONFIGURE_TARGETS "tags"
19220 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19221 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19222 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19223 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19224 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19225 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19227 if test "x$enable_tools" != xno
19228 then
19229 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19230 ac_config_commands="$ac_config_commands tools/makedep"
19234 ac_config_commands="$ac_config_commands Makefile"
19237 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19241 if test "x$enable_maintainer_mode" = xyes
19242 then
19243 wine_fn_append_rule "configure: configure.ac aclocal.m4
19244 autoconf --warnings=all
19245 include/config.h.in: include/stamp-h.in
19246 include/stamp-h.in: configure.ac aclocal.m4
19247 autoheader --warnings=all
19248 @echo timestamp > \$@"
19251 if test "x$enable_tools" != xno
19252 then
19253 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19254 @./config.status tools/makedep
19255 Makefile: tools/makedep$ac_exeext"
19256 else
19257 wine_fn_append_rule "\$(MAKEDEP):
19258 @echo \"You need to run make in $TOOLSDIR first\" && false"
19261 if test -n "$with_wine64"
19262 then
19263 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19264 fonts server:
19265 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19266 $with_wine64/loader/wine:
19267 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19268 $with_wine64/loader/wine-preloader:
19269 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19270 clean::
19271 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19272 else
19273 WINELOADER_INSTALL="wine.inf"
19275 wine_fn_append_rule "install install-lib::
19276 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19277 uninstall::
19278 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19279 case $host_os in
19280 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19281 *) wine_fn_append_rule "install install-lib::
19282 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19283 uninstall::
19284 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19285 esac
19288 $as_echo " done" >&6
19289 cat >confcache <<\_ACEOF
19290 # This file is a shell script that caches the results of configure
19291 # tests run on this system so they can be shared between configure
19292 # scripts and configure runs, see configure's option --config-cache.
19293 # It is not useful on other systems. If it contains results you don't
19294 # want to keep, you may remove or edit it.
19296 # config.status only pays attention to the cache file if you give it
19297 # the --recheck option to rerun configure.
19299 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19300 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19301 # following values.
19303 _ACEOF
19305 # The following way of writing the cache mishandles newlines in values,
19306 # but we know of no workaround that is simple, portable, and efficient.
19307 # So, we kill variables containing newlines.
19308 # Ultrix sh set writes to stderr and can't be redirected directly,
19309 # and sets the high bit in the cache file unless we assign to the vars.
19311 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19312 eval ac_val=\$$ac_var
19313 case $ac_val in #(
19314 *${as_nl}*)
19315 case $ac_var in #(
19316 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19317 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19318 esac
19319 case $ac_var in #(
19320 _ | IFS | as_nl) ;; #(
19321 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19322 *) { eval $ac_var=; unset $ac_var;} ;;
19323 esac ;;
19324 esac
19325 done
19327 (set) 2>&1 |
19328 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19329 *${as_nl}ac_space=\ *)
19330 # `set' does not quote correctly, so add quotes: double-quote
19331 # substitution turns \\\\ into \\, and sed turns \\ into \.
19332 sed -n \
19333 "s/'/'\\\\''/g;
19334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19335 ;; #(
19337 # `set' quotes correctly as required by POSIX, so do not add quotes.
19338 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19340 esac |
19341 sort
19343 sed '
19344 /^ac_cv_env_/b end
19345 t clear
19346 :clear
19347 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19348 t end
19349 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19350 :end' >>confcache
19351 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19352 if test -w "$cache_file"; then
19353 if test "x$cache_file" != "x/dev/null"; then
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19355 $as_echo "$as_me: updating cache $cache_file" >&6;}
19356 if test ! -f "$cache_file" || test -h "$cache_file"; then
19357 cat confcache >"$cache_file"
19358 else
19359 case $cache_file in #(
19360 */* | ?:*)
19361 mv -f confcache "$cache_file"$$ &&
19362 mv -f "$cache_file"$$ "$cache_file" ;; #(
19364 mv -f confcache "$cache_file" ;;
19365 esac
19368 else
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19370 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19373 rm -f confcache
19375 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19376 # Let make expand exec_prefix.
19377 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19379 DEFS=-DHAVE_CONFIG_H
19381 ac_libobjs=
19382 ac_ltlibobjs=
19384 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19385 # 1. Remove the extension, and $U if already installed.
19386 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19387 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19388 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19389 # will be set to the directory where LIBOBJS objects are built.
19390 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19391 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19392 done
19393 LIBOBJS=$ac_libobjs
19395 LTLIBOBJS=$ac_ltlibobjs
19399 : "${CONFIG_STATUS=./config.status}"
19400 ac_write_fail=0
19401 ac_clean_files_save=$ac_clean_files
19402 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19404 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19405 as_write_fail=0
19406 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19407 #! $SHELL
19408 # Generated by $as_me.
19409 # Run this file to recreate the current configuration.
19410 # Compiler output produced by configure, useful for debugging
19411 # configure, is in config.log if it exists.
19413 debug=false
19414 ac_cs_recheck=false
19415 ac_cs_silent=false
19417 SHELL=\${CONFIG_SHELL-$SHELL}
19418 export SHELL
19419 _ASEOF
19420 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19421 ## -------------------- ##
19422 ## M4sh Initialization. ##
19423 ## -------------------- ##
19425 # Be more Bourne compatible
19426 DUALCASE=1; export DUALCASE # for MKS sh
19427 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19428 emulate sh
19429 NULLCMD=:
19430 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19431 # is contrary to our usage. Disable this feature.
19432 alias -g '${1+"$@"}'='"$@"'
19433 setopt NO_GLOB_SUBST
19434 else
19435 case `(set -o) 2>/dev/null` in #(
19436 *posix*) :
19437 set -o posix ;; #(
19438 *) :
19440 esac
19444 as_nl='
19446 export as_nl
19447 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19448 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19449 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19450 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19451 # Prefer a ksh shell builtin over an external printf program on Solaris,
19452 # but without wasting forks for bash or zsh.
19453 if test -z "$BASH_VERSION$ZSH_VERSION" \
19454 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19455 as_echo='print -r --'
19456 as_echo_n='print -rn --'
19457 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19458 as_echo='printf %s\n'
19459 as_echo_n='printf %s'
19460 else
19461 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19462 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19463 as_echo_n='/usr/ucb/echo -n'
19464 else
19465 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19466 as_echo_n_body='eval
19467 arg=$1;
19468 case $arg in #(
19469 *"$as_nl"*)
19470 expr "X$arg" : "X\\(.*\\)$as_nl";
19471 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19472 esac;
19473 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19475 export as_echo_n_body
19476 as_echo_n='sh -c $as_echo_n_body as_echo'
19478 export as_echo_body
19479 as_echo='sh -c $as_echo_body as_echo'
19482 # The user is always right.
19483 if test "${PATH_SEPARATOR+set}" != set; then
19484 PATH_SEPARATOR=:
19485 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19486 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19487 PATH_SEPARATOR=';'
19492 # IFS
19493 # We need space, tab and new line, in precisely that order. Quoting is
19494 # there to prevent editors from complaining about space-tab.
19495 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19496 # splitting by setting IFS to empty value.)
19497 IFS=" "" $as_nl"
19499 # Find who we are. Look in the path if we contain no directory separator.
19500 as_myself=
19501 case $0 in #((
19502 *[\\/]* ) as_myself=$0 ;;
19503 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19504 for as_dir in $PATH
19506 IFS=$as_save_IFS
19507 test -z "$as_dir" && as_dir=.
19508 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19509 done
19510 IFS=$as_save_IFS
19513 esac
19514 # We did not find ourselves, most probably we were run as `sh COMMAND'
19515 # in which case we are not to be found in the path.
19516 if test "x$as_myself" = x; then
19517 as_myself=$0
19519 if test ! -f "$as_myself"; then
19520 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19521 exit 1
19524 # Unset variables that we do not need and which cause bugs (e.g. in
19525 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19526 # suppresses any "Segmentation fault" message there. '((' could
19527 # trigger a bug in pdksh 5.2.14.
19528 for as_var in BASH_ENV ENV MAIL MAILPATH
19529 do eval test x\${$as_var+set} = xset \
19530 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19531 done
19532 PS1='$ '
19533 PS2='> '
19534 PS4='+ '
19536 # NLS nuisances.
19537 LC_ALL=C
19538 export LC_ALL
19539 LANGUAGE=C
19540 export LANGUAGE
19542 # CDPATH.
19543 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19546 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19547 # ----------------------------------------
19548 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19549 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19550 # script with STATUS, using 1 if that was 0.
19551 as_fn_error ()
19553 as_status=$1; test $as_status -eq 0 && as_status=1
19554 if test "$4"; then
19555 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19556 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19558 $as_echo "$as_me: error: $2" >&2
19559 as_fn_exit $as_status
19560 } # as_fn_error
19563 # as_fn_set_status STATUS
19564 # -----------------------
19565 # Set $? to STATUS, without forking.
19566 as_fn_set_status ()
19568 return $1
19569 } # as_fn_set_status
19571 # as_fn_exit STATUS
19572 # -----------------
19573 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19574 as_fn_exit ()
19576 set +e
19577 as_fn_set_status $1
19578 exit $1
19579 } # as_fn_exit
19581 # as_fn_unset VAR
19582 # ---------------
19583 # Portably unset VAR.
19584 as_fn_unset ()
19586 { eval $1=; unset $1;}
19588 as_unset=as_fn_unset
19589 # as_fn_append VAR VALUE
19590 # ----------------------
19591 # Append the text in VALUE to the end of the definition contained in VAR. Take
19592 # advantage of any shell optimizations that allow amortized linear growth over
19593 # repeated appends, instead of the typical quadratic growth present in naive
19594 # implementations.
19595 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19596 eval 'as_fn_append ()
19598 eval $1+=\$2
19600 else
19601 as_fn_append ()
19603 eval $1=\$$1\$2
19605 fi # as_fn_append
19607 # as_fn_arith ARG...
19608 # ------------------
19609 # Perform arithmetic evaluation on the ARGs, and store the result in the
19610 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19611 # must be portable across $(()) and expr.
19612 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19613 eval 'as_fn_arith ()
19615 as_val=$(( $* ))
19617 else
19618 as_fn_arith ()
19620 as_val=`expr "$@" || test $? -eq 1`
19622 fi # as_fn_arith
19625 if expr a : '\(a\)' >/dev/null 2>&1 &&
19626 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19627 as_expr=expr
19628 else
19629 as_expr=false
19632 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19633 as_basename=basename
19634 else
19635 as_basename=false
19638 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19639 as_dirname=dirname
19640 else
19641 as_dirname=false
19644 as_me=`$as_basename -- "$0" ||
19645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19646 X"$0" : 'X\(//\)$' \| \
19647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19648 $as_echo X/"$0" |
19649 sed '/^.*\/\([^/][^/]*\)\/*$/{
19650 s//\1/
19653 /^X\/\(\/\/\)$/{
19654 s//\1/
19657 /^X\/\(\/\).*/{
19658 s//\1/
19661 s/.*/./; q'`
19663 # Avoid depending upon Character Ranges.
19664 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19665 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19666 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19667 as_cr_digits='0123456789'
19668 as_cr_alnum=$as_cr_Letters$as_cr_digits
19670 ECHO_C= ECHO_N= ECHO_T=
19671 case `echo -n x` in #(((((
19672 -n*)
19673 case `echo 'xy\c'` in
19674 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19675 xy) ECHO_C='\c';;
19676 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19677 ECHO_T=' ';;
19678 esac;;
19680 ECHO_N='-n';;
19681 esac
19683 rm -f conf$$ conf$$.exe conf$$.file
19684 if test -d conf$$.dir; then
19685 rm -f conf$$.dir/conf$$.file
19686 else
19687 rm -f conf$$.dir
19688 mkdir conf$$.dir 2>/dev/null
19690 if (echo >conf$$.file) 2>/dev/null; then
19691 if ln -s conf$$.file conf$$ 2>/dev/null; then
19692 as_ln_s='ln -s'
19693 # ... but there are two gotchas:
19694 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19695 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19696 # In both cases, we have to default to `cp -pR'.
19697 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19698 as_ln_s='cp -pR'
19699 elif ln conf$$.file conf$$ 2>/dev/null; then
19700 as_ln_s=ln
19701 else
19702 as_ln_s='cp -pR'
19704 else
19705 as_ln_s='cp -pR'
19707 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19708 rmdir conf$$.dir 2>/dev/null
19711 # as_fn_mkdir_p
19712 # -------------
19713 # Create "$as_dir" as a directory, including parents if necessary.
19714 as_fn_mkdir_p ()
19717 case $as_dir in #(
19718 -*) as_dir=./$as_dir;;
19719 esac
19720 test -d "$as_dir" || eval $as_mkdir_p || {
19721 as_dirs=
19722 while :; do
19723 case $as_dir in #(
19724 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19725 *) as_qdir=$as_dir;;
19726 esac
19727 as_dirs="'$as_qdir' $as_dirs"
19728 as_dir=`$as_dirname -- "$as_dir" ||
19729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19730 X"$as_dir" : 'X\(//\)[^/]' \| \
19731 X"$as_dir" : 'X\(//\)$' \| \
19732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19733 $as_echo X"$as_dir" |
19734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19735 s//\1/
19738 /^X\(\/\/\)[^/].*/{
19739 s//\1/
19742 /^X\(\/\/\)$/{
19743 s//\1/
19746 /^X\(\/\).*/{
19747 s//\1/
19750 s/.*/./; q'`
19751 test -d "$as_dir" && break
19752 done
19753 test -z "$as_dirs" || eval "mkdir $as_dirs"
19754 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19757 } # as_fn_mkdir_p
19758 if mkdir -p . 2>/dev/null; then
19759 as_mkdir_p='mkdir -p "$as_dir"'
19760 else
19761 test -d ./-p && rmdir ./-p
19762 as_mkdir_p=false
19766 # as_fn_executable_p FILE
19767 # -----------------------
19768 # Test if FILE is an executable regular file.
19769 as_fn_executable_p ()
19771 test -f "$1" && test -x "$1"
19772 } # as_fn_executable_p
19773 as_test_x='test -x'
19774 as_executable_p=as_fn_executable_p
19776 # Sed expression to map a string onto a valid CPP name.
19777 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19779 # Sed expression to map a string onto a valid variable name.
19780 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19783 exec 6>&1
19784 ## ----------------------------------- ##
19785 ## Main body of $CONFIG_STATUS script. ##
19786 ## ----------------------------------- ##
19787 _ASEOF
19788 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19791 # Save the log message, to keep $0 and so on meaningful, and to
19792 # report actual input values of CONFIG_FILES etc. instead of their
19793 # values after options handling.
19794 ac_log="
19795 This file was extended by Wine $as_me 2.21, which was
19796 generated by GNU Autoconf 2.69. Invocation command line was
19798 CONFIG_FILES = $CONFIG_FILES
19799 CONFIG_HEADERS = $CONFIG_HEADERS
19800 CONFIG_LINKS = $CONFIG_LINKS
19801 CONFIG_COMMANDS = $CONFIG_COMMANDS
19802 $ $0 $@
19804 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19807 _ACEOF
19809 case $ac_config_files in *"
19810 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19811 esac
19813 case $ac_config_headers in *"
19814 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19815 esac
19818 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19819 # Files that config.status was made for.
19820 config_files="$ac_config_files"
19821 config_headers="$ac_config_headers"
19822 config_links="$ac_config_links"
19823 config_commands="$ac_config_commands"
19825 _ACEOF
19827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19828 ac_cs_usage="\
19829 \`$as_me' instantiates files and other configuration actions
19830 from templates according to the current configuration. Unless the files
19831 and actions are specified as TAGs, all are instantiated by default.
19833 Usage: $0 [OPTION]... [TAG]...
19835 -h, --help print this help, then exit
19836 -V, --version print version number and configuration settings, then exit
19837 --config print configuration, then exit
19838 -q, --quiet, --silent
19839 do not print progress messages
19840 -d, --debug don't remove temporary files
19841 --recheck update $as_me by reconfiguring in the same conditions
19842 --file=FILE[:TEMPLATE]
19843 instantiate the configuration file FILE
19844 --header=FILE[:TEMPLATE]
19845 instantiate the configuration header FILE
19847 Configuration files:
19848 $config_files
19850 Configuration headers:
19851 $config_headers
19853 Configuration links:
19854 $config_links
19856 Configuration commands:
19857 $config_commands
19859 Report bugs to <wine-devel@winehq.org>.
19860 Wine home page: <http://www.winehq.org>."
19862 _ACEOF
19863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19864 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19865 ac_cs_version="\\
19866 Wine config.status 2.21
19867 configured by $0, generated by GNU Autoconf 2.69,
19868 with options \\"\$ac_cs_config\\"
19870 Copyright (C) 2012 Free Software Foundation, Inc.
19871 This config.status script is free software; the Free Software Foundation
19872 gives unlimited permission to copy, distribute and modify it."
19874 ac_pwd='$ac_pwd'
19875 srcdir='$srcdir'
19876 test -n "\$AWK" || AWK=awk
19877 _ACEOF
19879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19880 # The default lists apply if the user does not specify any file.
19881 ac_need_defaults=:
19882 while test $# != 0
19884 case $1 in
19885 --*=?*)
19886 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19887 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19888 ac_shift=:
19890 --*=)
19891 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19892 ac_optarg=
19893 ac_shift=:
19896 ac_option=$1
19897 ac_optarg=$2
19898 ac_shift=shift
19900 esac
19902 case $ac_option in
19903 # Handling of the options.
19904 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19905 ac_cs_recheck=: ;;
19906 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19907 $as_echo "$ac_cs_version"; exit ;;
19908 --config | --confi | --conf | --con | --co | --c )
19909 $as_echo "$ac_cs_config"; exit ;;
19910 --debug | --debu | --deb | --de | --d | -d )
19911 debug=: ;;
19912 --file | --fil | --fi | --f )
19913 $ac_shift
19914 case $ac_optarg in
19915 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19916 '') as_fn_error $? "missing file argument" ;;
19917 esac
19918 as_fn_append CONFIG_FILES " '$ac_optarg'"
19919 ac_need_defaults=false;;
19920 --header | --heade | --head | --hea )
19921 $ac_shift
19922 case $ac_optarg in
19923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19924 esac
19925 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19926 ac_need_defaults=false;;
19927 --he | --h)
19928 # Conflict between --help and --header
19929 as_fn_error $? "ambiguous option: \`$1'
19930 Try \`$0 --help' for more information.";;
19931 --help | --hel | -h )
19932 $as_echo "$ac_cs_usage"; exit ;;
19933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19934 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19935 ac_cs_silent=: ;;
19937 # This is an error.
19938 -*) as_fn_error $? "unrecognized option: \`$1'
19939 Try \`$0 --help' for more information." ;;
19941 *) as_fn_append ac_config_targets " $1"
19942 ac_need_defaults=false ;;
19944 esac
19945 shift
19946 done
19948 ac_configure_extra_args=
19950 if $ac_cs_silent; then
19951 exec 6>/dev/null
19952 ac_configure_extra_args="$ac_configure_extra_args --silent"
19955 _ACEOF
19956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19957 if \$ac_cs_recheck; then
19958 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19959 shift
19960 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19961 CONFIG_SHELL='$SHELL'
19962 export CONFIG_SHELL
19963 exec "\$@"
19966 _ACEOF
19967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19968 exec 5>>config.log
19970 echo
19971 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19972 ## Running $as_me. ##
19973 _ASBOX
19974 $as_echo "$ac_log"
19975 } >&5
19977 _ACEOF
19978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19980 # INIT-COMMANDS
19982 wine_fn_output_makedep ()
19984 as_dir=tools; as_fn_mkdir_p
19985 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19987 wine_fn_output_makefile ()
19989 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19990 `cat $wine_rules_file`
19991 _WINE_EOF
19992 as_fn_error $? "could not create Makefile" "$LINENO" 5
19995 _ACEOF
19997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19999 # Handling of arguments.
20000 for ac_config_target in $ac_config_targets
20002 case $ac_config_target in
20003 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20004 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20005 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20006 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20007 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20008 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20009 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20010 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20011 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20012 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20013 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20014 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20015 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20017 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20018 esac
20019 done
20022 # If the user did not use the arguments to specify the items to instantiate,
20023 # then the envvar interface is used. Set only those that are not.
20024 # We use the long form for the default assignment because of an extremely
20025 # bizarre bug on SunOS 4.1.3.
20026 if $ac_need_defaults; then
20027 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20028 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20029 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20030 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20033 # Have a temporary directory for convenience. Make it in the build tree
20034 # simply because there is no reason against having it here, and in addition,
20035 # creating and moving files from /tmp can sometimes cause problems.
20036 # Hook for its removal unless debugging.
20037 # Note that there is a small window in which the directory will not be cleaned:
20038 # after its creation but before its name has been assigned to `$tmp'.
20039 $debug ||
20041 tmp= ac_tmp=
20042 trap 'exit_status=$?
20043 : "${ac_tmp:=$tmp}"
20044 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20046 trap 'as_fn_exit 1' 1 2 13 15
20048 # Create a (secure) tmp directory for tmp files.
20051 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20052 test -d "$tmp"
20053 } ||
20055 tmp=./conf$$-$RANDOM
20056 (umask 077 && mkdir "$tmp")
20057 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20058 ac_tmp=$tmp
20060 # Set up the scripts for CONFIG_FILES section.
20061 # No need to generate them if there are no CONFIG_FILES.
20062 # This happens for instance with `./config.status config.h'.
20063 if test -n "$CONFIG_FILES"; then
20066 ac_cr=`echo X | tr X '\015'`
20067 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20068 # But we know of no other shell where ac_cr would be empty at this
20069 # point, so we can use a bashism as a fallback.
20070 if test "x$ac_cr" = x; then
20071 eval ac_cr=\$\'\\r\'
20073 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20074 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20075 ac_cs_awk_cr='\\r'
20076 else
20077 ac_cs_awk_cr=$ac_cr
20080 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20081 _ACEOF
20085 echo "cat >conf$$subs.awk <<_ACEOF" &&
20086 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20087 echo "_ACEOF"
20088 } >conf$$subs.sh ||
20089 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20090 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20091 ac_delim='%!_!# '
20092 for ac_last_try in false false false false false :; do
20093 . ./conf$$subs.sh ||
20094 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20096 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20097 if test $ac_delim_n = $ac_delim_num; then
20098 break
20099 elif $ac_last_try; then
20100 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20101 else
20102 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20104 done
20105 rm -f conf$$subs.sh
20107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20108 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20109 _ACEOF
20110 sed -n '
20112 s/^/S["/; s/!.*/"]=/
20115 s/^[^!]*!//
20116 :repl
20117 t repl
20118 s/'"$ac_delim"'$//
20119 t delim
20122 s/\(.\{148\}\)..*/\1/
20123 t more1
20124 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20127 b repl
20128 :more1
20129 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20132 s/.\{148\}//
20133 t nl
20134 :delim
20136 s/\(.\{148\}\)..*/\1/
20137 t more2
20138 s/["\\]/\\&/g; s/^/"/; s/$/"/
20141 :more2
20142 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20145 s/.\{148\}//
20146 t delim
20147 ' <conf$$subs.awk | sed '
20148 /^[^""]/{
20150 s/\n//
20152 ' >>$CONFIG_STATUS || ac_write_fail=1
20153 rm -f conf$$subs.awk
20154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20155 _ACAWK
20156 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20157 for (key in S) S_is_set[key] = 1
20158 FS = "\a"
20162 line = $ 0
20163 nfields = split(line, field, "@")
20164 substed = 0
20165 len = length(field[1])
20166 for (i = 2; i < nfields; i++) {
20167 key = field[i]
20168 keylen = length(key)
20169 if (S_is_set[key]) {
20170 value = S[key]
20171 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20172 len += length(value) + length(field[++i])
20173 substed = 1
20174 } else
20175 len += 1 + keylen
20178 print line
20181 _ACAWK
20182 _ACEOF
20183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20184 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20185 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20186 else
20188 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20189 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20190 _ACEOF
20192 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20193 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20194 # trailing colons and then remove the whole line if VPATH becomes empty
20195 # (actually we leave an empty line to preserve line numbers).
20196 if test "x$srcdir" = x.; then
20197 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20199 s///
20200 s/^/:/
20201 s/[ ]*$/:/
20202 s/:\$(srcdir):/:/g
20203 s/:\${srcdir}:/:/g
20204 s/:@srcdir@:/:/g
20205 s/^:*//
20206 s/:*$//
20208 s/\(=[ ]*\).*/\1/
20210 s/\n//
20211 s/^[^=]*=[ ]*$//
20215 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20216 fi # test -n "$CONFIG_FILES"
20218 # Set up the scripts for CONFIG_HEADERS section.
20219 # No need to generate them if there are no CONFIG_HEADERS.
20220 # This happens for instance with `./config.status Makefile'.
20221 if test -n "$CONFIG_HEADERS"; then
20222 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20223 BEGIN {
20224 _ACEOF
20226 # Transform confdefs.h into an awk script `defines.awk', embedded as
20227 # here-document in config.status, that substitutes the proper values into
20228 # config.h.in to produce config.h.
20230 # Create a delimiter string that does not exist in confdefs.h, to ease
20231 # handling of long lines.
20232 ac_delim='%!_!# '
20233 for ac_last_try in false false :; do
20234 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20235 if test -z "$ac_tt"; then
20236 break
20237 elif $ac_last_try; then
20238 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20239 else
20240 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20242 done
20244 # For the awk script, D is an array of macro values keyed by name,
20245 # likewise P contains macro parameters if any. Preserve backslash
20246 # newline sequences.
20248 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20249 sed -n '
20250 s/.\{148\}/&'"$ac_delim"'/g
20251 t rset
20252 :rset
20253 s/^[ ]*#[ ]*define[ ][ ]*/ /
20254 t def
20256 :def
20257 s/\\$//
20258 t bsnl
20259 s/["\\]/\\&/g
20260 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20261 D["\1"]=" \3"/p
20262 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20264 :bsnl
20265 s/["\\]/\\&/g
20266 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20267 D["\1"]=" \3\\\\\\n"\\/p
20268 t cont
20269 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20270 t cont
20272 :cont
20274 s/.\{148\}/&'"$ac_delim"'/g
20275 t clear
20276 :clear
20277 s/\\$//
20278 t bsnlc
20279 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20281 :bsnlc
20282 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20283 b cont
20284 ' <confdefs.h | sed '
20285 s/'"$ac_delim"'/"\\\
20286 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20289 for (key in D) D_is_set[key] = 1
20290 FS = "\a"
20292 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20293 line = \$ 0
20294 split(line, arg, " ")
20295 if (arg[1] == "#") {
20296 defundef = arg[2]
20297 mac1 = arg[3]
20298 } else {
20299 defundef = substr(arg[1], 2)
20300 mac1 = arg[2]
20302 split(mac1, mac2, "(") #)
20303 macro = mac2[1]
20304 prefix = substr(line, 1, index(line, defundef) - 1)
20305 if (D_is_set[macro]) {
20306 # Preserve the white space surrounding the "#".
20307 print prefix "define", macro P[macro] D[macro]
20308 next
20309 } else {
20310 # Replace #undef with comments. This is necessary, for example,
20311 # in the case of _POSIX_SOURCE, which is predefined and required
20312 # on some systems where configure will not decide to define it.
20313 if (defundef == "undef") {
20314 print "/*", prefix defundef, macro, "*/"
20315 next
20319 { print }
20320 _ACAWK
20321 _ACEOF
20322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20323 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20324 fi # test -n "$CONFIG_HEADERS"
20327 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20328 shift
20329 for ac_tag
20331 case $ac_tag in
20332 :[FHLC]) ac_mode=$ac_tag; continue;;
20333 esac
20334 case $ac_mode$ac_tag in
20335 :[FHL]*:*);;
20336 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20337 :[FH]-) ac_tag=-:-;;
20338 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20339 esac
20340 ac_save_IFS=$IFS
20341 IFS=:
20342 set x $ac_tag
20343 IFS=$ac_save_IFS
20344 shift
20345 ac_file=$1
20346 shift
20348 case $ac_mode in
20349 :L) ac_source=$1;;
20350 :[FH])
20351 ac_file_inputs=
20352 for ac_f
20354 case $ac_f in
20355 -) ac_f="$ac_tmp/stdin";;
20356 *) # Look for the file first in the build tree, then in the source tree
20357 # (if the path is not absolute). The absolute path cannot be DOS-style,
20358 # because $ac_f cannot contain `:'.
20359 test -f "$ac_f" ||
20360 case $ac_f in
20361 [\\/$]*) false;;
20362 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20363 esac ||
20364 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20365 esac
20366 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20367 as_fn_append ac_file_inputs " '$ac_f'"
20368 done
20370 # Let's still pretend it is `configure' which instantiates (i.e., don't
20371 # use $as_me), people would be surprised to read:
20372 # /* config.h. Generated by config.status. */
20373 configure_input='Generated from '`
20374 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20375 `' by configure.'
20376 if test x"$ac_file" != x-; then
20377 configure_input="$ac_file. $configure_input"
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20379 $as_echo "$as_me: creating $ac_file" >&6;}
20381 # Neutralize special characters interpreted by sed in replacement strings.
20382 case $configure_input in #(
20383 *\&* | *\|* | *\\* )
20384 ac_sed_conf_input=`$as_echo "$configure_input" |
20385 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20386 *) ac_sed_conf_input=$configure_input;;
20387 esac
20389 case $ac_tag in
20390 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20391 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20392 esac
20394 esac
20396 ac_dir=`$as_dirname -- "$ac_file" ||
20397 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20398 X"$ac_file" : 'X\(//\)[^/]' \| \
20399 X"$ac_file" : 'X\(//\)$' \| \
20400 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20401 $as_echo X"$ac_file" |
20402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20403 s//\1/
20406 /^X\(\/\/\)[^/].*/{
20407 s//\1/
20410 /^X\(\/\/\)$/{
20411 s//\1/
20414 /^X\(\/\).*/{
20415 s//\1/
20418 s/.*/./; q'`
20419 as_dir="$ac_dir"; as_fn_mkdir_p
20420 ac_builddir=.
20422 case "$ac_dir" in
20423 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20425 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20426 # A ".." for each directory in $ac_dir_suffix.
20427 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20428 case $ac_top_builddir_sub in
20429 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20430 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20431 esac ;;
20432 esac
20433 ac_abs_top_builddir=$ac_pwd
20434 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20435 # for backward compatibility:
20436 ac_top_builddir=$ac_top_build_prefix
20438 case $srcdir in
20439 .) # We are building in place.
20440 ac_srcdir=.
20441 ac_top_srcdir=$ac_top_builddir_sub
20442 ac_abs_top_srcdir=$ac_pwd ;;
20443 [\\/]* | ?:[\\/]* ) # Absolute name.
20444 ac_srcdir=$srcdir$ac_dir_suffix;
20445 ac_top_srcdir=$srcdir
20446 ac_abs_top_srcdir=$srcdir ;;
20447 *) # Relative name.
20448 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20449 ac_top_srcdir=$ac_top_build_prefix$srcdir
20450 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20451 esac
20452 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20455 case $ac_mode in
20458 # CONFIG_FILE
20461 _ACEOF
20463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20464 # If the template does not know about datarootdir, expand it.
20465 # FIXME: This hack should be removed a few years after 2.60.
20466 ac_datarootdir_hack=; ac_datarootdir_seen=
20467 ac_sed_dataroot='
20468 /datarootdir/ {
20472 /@datadir@/p
20473 /@docdir@/p
20474 /@infodir@/p
20475 /@localedir@/p
20476 /@mandir@/p'
20477 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20478 *datarootdir*) ac_datarootdir_seen=yes;;
20479 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20481 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20482 _ACEOF
20483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20484 ac_datarootdir_hack='
20485 s&@datadir@&$datadir&g
20486 s&@docdir@&$docdir&g
20487 s&@infodir@&$infodir&g
20488 s&@localedir@&$localedir&g
20489 s&@mandir@&$mandir&g
20490 s&\\\${datarootdir}&$datarootdir&g' ;;
20491 esac
20492 _ACEOF
20494 # Neutralize VPATH when `$srcdir' = `.'.
20495 # Shell code in configure.ac might set extrasub.
20496 # FIXME: do we really want to maintain this feature?
20497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20498 ac_sed_extra="$ac_vpsub
20499 $extrasub
20500 _ACEOF
20501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20503 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20504 s|@configure_input@|$ac_sed_conf_input|;t t
20505 s&@top_builddir@&$ac_top_builddir_sub&;t t
20506 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20507 s&@srcdir@&$ac_srcdir&;t t
20508 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20509 s&@top_srcdir@&$ac_top_srcdir&;t t
20510 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20511 s&@builddir@&$ac_builddir&;t t
20512 s&@abs_builddir@&$ac_abs_builddir&;t t
20513 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20514 $ac_datarootdir_hack
20516 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20517 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20519 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20520 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20521 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20522 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20524 which seems to be undefined. Please make sure it is defined" >&5
20525 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20526 which seems to be undefined. Please make sure it is defined" >&2;}
20528 rm -f "$ac_tmp/stdin"
20529 case $ac_file in
20530 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20531 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20532 esac \
20533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20537 # CONFIG_HEADER
20539 if test x"$ac_file" != x-; then
20541 $as_echo "/* $configure_input */" \
20542 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20543 } >"$ac_tmp/config.h" \
20544 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20545 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20547 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20548 else
20549 rm -f "$ac_file"
20550 mv "$ac_tmp/config.h" "$ac_file" \
20551 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20553 else
20554 $as_echo "/* $configure_input */" \
20555 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20556 || as_fn_error $? "could not create -" "$LINENO" 5
20561 # CONFIG_LINK
20564 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20566 else
20567 # Prefer the file from the source tree if names are identical.
20568 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20569 ac_source=$srcdir/$ac_source
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20573 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20575 if test ! -r "$ac_source"; then
20576 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20578 rm -f "$ac_file"
20580 # Try a relative symlink, then a hard link, then a copy.
20581 case $ac_source in
20582 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20583 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20584 esac
20585 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20586 ln "$ac_source" "$ac_file" 2>/dev/null ||
20587 cp -p "$ac_source" "$ac_file" ||
20588 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20591 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20592 $as_echo "$as_me: executing $ac_file commands" >&6;}
20594 esac
20597 case $ac_file$ac_mode in
20598 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20599 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20600 "Makefile":C) wine_fn_output_makefile Makefile ;;
20602 esac
20603 done # for ac_tag
20606 as_fn_exit 0
20607 _ACEOF
20608 ac_clean_files=$ac_clean_files_save
20610 test $ac_write_fail = 0 ||
20611 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20614 # configure is writing to config.log, and then calls config.status.
20615 # config.status does its own redirection, appending to config.log.
20616 # Unfortunately, on DOS this fails, as config.log is still kept open
20617 # by configure, so config.status won't be able to write to it; its
20618 # output is simply discarded. So we exec the FD to /dev/null,
20619 # effectively closing config.log, so it can be properly (re)opened and
20620 # appended to by config.status. When coming back to configure, we
20621 # need to make the FD available again.
20622 if test "$no_create" != yes; then
20623 ac_cs_success=:
20624 ac_config_status_args=
20625 test "$silent" = yes &&
20626 ac_config_status_args="$ac_config_status_args --quiet"
20627 exec 5>/dev/null
20628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20629 exec 5>>config.log
20630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20631 # would make configure fail if this is the last instruction.
20632 $ac_cs_success || as_fn_exit 1
20634 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20636 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20640 if test "$no_create" = "yes"
20641 then
20642 exit 0
20645 ac_save_IFS="$IFS"
20646 if test "x$wine_notices" != x; then
20647 echo >&6
20648 IFS="|"
20649 for msg in $wine_notices; do
20650 IFS="$ac_save_IFS"
20651 if ${msg:+false} :; then :
20653 else
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20655 $as_echo "$as_me: $msg" >&6;}
20657 done
20659 IFS="|"
20660 for msg in $wine_warnings; do
20661 IFS="$ac_save_IFS"
20662 if ${msg:+false} :; then :
20664 else
20665 echo >&2
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20667 $as_echo "$as_me: WARNING: $msg" >&2;}
20669 done
20670 IFS="$ac_save_IFS"
20672 $as_echo "
20673 $as_me: Finished. Do '${ac_make}' to compile Wine.
20674 " >&6