d3d11/tests: Add test for shaders interstage interface.
[wine.git] / configure
blob014dd46e01e5664646d72b9126f2829537270f28
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 2.19.
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.19'
584 PACKAGE_STRING='Wine 2.19'
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_shell_shellcom_l1_1_0
1078 enable_api_ms_win_shell_shellfolders_l1_1_0
1079 enable_apphelp
1080 enable_appwiz_cpl
1081 enable_atl
1082 enable_atl100
1083 enable_atl110
1084 enable_atl80
1085 enable_atl90
1086 enable_authz
1087 enable_avicap32
1088 enable_avifil32
1089 enable_avrt
1090 enable_bcrypt
1091 enable_bluetoothapis
1092 enable_browseui
1093 enable_bthprops_cpl
1094 enable_cabinet
1095 enable_capi2032
1096 enable_cards
1097 enable_cfgmgr32
1098 enable_clusapi
1099 enable_combase
1100 enable_comcat
1101 enable_comctl32
1102 enable_comdlg32
1103 enable_compstui
1104 enable_comsvcs
1105 enable_concrt140
1106 enable_connect
1107 enable_credui
1108 enable_crtdll
1109 enable_crypt32
1110 enable_cryptdlg
1111 enable_cryptdll
1112 enable_cryptext
1113 enable_cryptnet
1114 enable_cryptui
1115 enable_ctapi32
1116 enable_ctl3d32
1117 enable_d2d1
1118 enable_d3d10
1119 enable_d3d10_1
1120 enable_d3d10core
1121 enable_d3d11
1122 enable_d3d8
1123 enable_d3d9
1124 enable_d3dcompiler_33
1125 enable_d3dcompiler_34
1126 enable_d3dcompiler_35
1127 enable_d3dcompiler_36
1128 enable_d3dcompiler_37
1129 enable_d3dcompiler_38
1130 enable_d3dcompiler_39
1131 enable_d3dcompiler_40
1132 enable_d3dcompiler_41
1133 enable_d3dcompiler_42
1134 enable_d3dcompiler_43
1135 enable_d3dcompiler_46
1136 enable_d3dcompiler_47
1137 enable_d3dim
1138 enable_d3drm
1139 enable_d3dx10_33
1140 enable_d3dx10_34
1141 enable_d3dx10_35
1142 enable_d3dx10_36
1143 enable_d3dx10_37
1144 enable_d3dx10_38
1145 enable_d3dx10_39
1146 enable_d3dx10_40
1147 enable_d3dx10_41
1148 enable_d3dx10_42
1149 enable_d3dx10_43
1150 enable_d3dx11_42
1151 enable_d3dx11_43
1152 enable_d3dx9_24
1153 enable_d3dx9_25
1154 enable_d3dx9_26
1155 enable_d3dx9_27
1156 enable_d3dx9_28
1157 enable_d3dx9_29
1158 enable_d3dx9_30
1159 enable_d3dx9_31
1160 enable_d3dx9_32
1161 enable_d3dx9_33
1162 enable_d3dx9_34
1163 enable_d3dx9_35
1164 enable_d3dx9_36
1165 enable_d3dx9_37
1166 enable_d3dx9_38
1167 enable_d3dx9_39
1168 enable_d3dx9_40
1169 enable_d3dx9_41
1170 enable_d3dx9_42
1171 enable_d3dx9_43
1172 enable_d3dxof
1173 enable_davclnt
1174 enable_dbgeng
1175 enable_dbghelp
1176 enable_dciman32
1177 enable_ddraw
1178 enable_ddrawex
1179 enable_devenum
1180 enable_dhcpcsvc
1181 enable_difxapi
1182 enable_dinput
1183 enable_dinput8
1184 enable_dispex
1185 enable_dmband
1186 enable_dmcompos
1187 enable_dmime
1188 enable_dmloader
1189 enable_dmscript
1190 enable_dmstyle
1191 enable_dmsynth
1192 enable_dmusic
1193 enable_dmusic32
1194 enable_dnsapi
1195 enable_dplay
1196 enable_dplayx
1197 enable_dpnaddr
1198 enable_dpnet
1199 enable_dpnhpast
1200 enable_dpnlobby
1201 enable_dpvoice
1202 enable_dpwsockx
1203 enable_drmclien
1204 enable_dsound
1205 enable_dsquery
1206 enable_dssenh
1207 enable_dswave
1208 enable_dwmapi
1209 enable_dwrite
1210 enable_dx8vb
1211 enable_dxdiagn
1212 enable_dxgi
1213 enable_dxva2
1214 enable_esent
1215 enable_evr
1216 enable_explorerframe
1217 enable_ext_ms_win_authz_context_l1_1_0
1218 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1219 enable_ext_ms_win_gdi_dc_create_l1_1_1
1220 enable_ext_ms_win_gdi_dc_l1_2_0
1221 enable_ext_ms_win_gdi_devcaps_l1_1_0
1222 enable_ext_ms_win_gdi_draw_l1_1_1
1223 enable_ext_ms_win_gdi_render_l1_1_0
1224 enable_ext_ms_win_kernel32_package_current_l1_1_0
1225 enable_ext_ms_win_kernel32_package_l1_1_1
1226 enable_ext_ms_win_ntuser_message_l1_1_1
1227 enable_ext_ms_win_ntuser_private_l1_1_1
1228 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1229 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1230 enable_ext_ms_win_ntuser_window_l1_1_1
1231 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1232 enable_ext_ms_win_ras_rasapi32_l1_1_0
1233 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1234 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1235 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1236 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1237 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1238 enable_ext_ms_win_security_credui_l1_1_0
1239 enable_ext_ms_win_security_cryptui_l1_1_0
1240 enable_faultrep
1241 enable_fltlib
1242 enable_fltmgr_sys
1243 enable_fntcache
1244 enable_fontsub
1245 enable_fusion
1246 enable_fwpuclnt
1247 enable_gameux
1248 enable_gdi32
1249 enable_gdiplus
1250 enable_glu32
1251 enable_gphoto2_ds
1252 enable_gpkcsp
1253 enable_hal
1254 enable_hhctrl_ocx
1255 enable_hid
1256 enable_hidclass_sys
1257 enable_hlink
1258 enable_hnetcfg
1259 enable_httpapi
1260 enable_iccvid
1261 enable_icmp
1262 enable_ieframe
1263 enable_ieproxy
1264 enable_imaadp32_acm
1265 enable_imagehlp
1266 enable_imm32
1267 enable_inetcomm
1268 enable_inetcpl_cpl
1269 enable_inetmib1
1270 enable_infosoft
1271 enable_initpki
1272 enable_inkobj
1273 enable_inseng
1274 enable_iphlpapi
1275 enable_iprop
1276 enable_irprops_cpl
1277 enable_itircl
1278 enable_itss
1279 enable_joy_cpl
1280 enable_jscript
1281 enable_jsproxy
1282 enable_kerberos
1283 enable_kernel32
1284 enable_kernelbase
1285 enable_ksuser
1286 enable_ktmw32
1287 enable_l3codeca_acm
1288 enable_loadperf
1289 enable_localspl
1290 enable_localui
1291 enable_lz32
1292 enable_mapi32
1293 enable_mapistub
1294 enable_mciavi32
1295 enable_mcicda
1296 enable_mciqtz32
1297 enable_mciseq
1298 enable_mciwave
1299 enable_mf
1300 enable_mf3216
1301 enable_mfplat
1302 enable_mfreadwrite
1303 enable_mgmtapi
1304 enable_midimap
1305 enable_mlang
1306 enable_mmcndmgr
1307 enable_mmdevapi
1308 enable_mountmgr_sys
1309 enable_mpr
1310 enable_mprapi
1311 enable_msacm32_drv
1312 enable_msacm32
1313 enable_msadp32_acm
1314 enable_msasn1
1315 enable_mscat32
1316 enable_mscms
1317 enable_mscoree
1318 enable_msctf
1319 enable_msctfp
1320 enable_msdaps
1321 enable_msdelta
1322 enable_msdmo
1323 enable_msdrm
1324 enable_msftedit
1325 enable_msg711_acm
1326 enable_msgsm32_acm
1327 enable_mshtml_tlb
1328 enable_mshtml
1329 enable_msi
1330 enable_msident
1331 enable_msimg32
1332 enable_msimsg
1333 enable_msimtf
1334 enable_msisip
1335 enable_msisys_ocx
1336 enable_msls31
1337 enable_msnet32
1338 enable_mspatcha
1339 enable_msports
1340 enable_msrle32
1341 enable_msscript_ocx
1342 enable_mssign32
1343 enable_mssip32
1344 enable_mstask
1345 enable_msvcirt
1346 enable_msvcm80
1347 enable_msvcm90
1348 enable_msvcp100
1349 enable_msvcp110
1350 enable_msvcp120
1351 enable_msvcp120_app
1352 enable_msvcp140
1353 enable_msvcp60
1354 enable_msvcp70
1355 enable_msvcp71
1356 enable_msvcp80
1357 enable_msvcp90
1358 enable_msvcr100
1359 enable_msvcr110
1360 enable_msvcr120
1361 enable_msvcr120_app
1362 enable_msvcr70
1363 enable_msvcr71
1364 enable_msvcr80
1365 enable_msvcr90
1366 enable_msvcrt
1367 enable_msvcrt20
1368 enable_msvcrt40
1369 enable_msvcrtd
1370 enable_msvfw32
1371 enable_msvidc32
1372 enable_mswsock
1373 enable_msxml
1374 enable_msxml2
1375 enable_msxml3
1376 enable_msxml4
1377 enable_msxml6
1378 enable_mtxdm
1379 enable_ncrypt
1380 enable_nddeapi
1381 enable_ndis_sys
1382 enable_netapi32
1383 enable_netcfgx
1384 enable_netprofm
1385 enable_newdev
1386 enable_normaliz
1387 enable_npmshtml
1388 enable_npptools
1389 enable_ntdll
1390 enable_ntdsapi
1391 enable_ntoskrnl_exe
1392 enable_ntprint
1393 enable_objsel
1394 enable_odbc32
1395 enable_odbccp32
1396 enable_odbccu32
1397 enable_ole32
1398 enable_oleacc
1399 enable_oleaut32
1400 enable_olecli32
1401 enable_oledb32
1402 enable_oledlg
1403 enable_olepro32
1404 enable_olesvr32
1405 enable_olethk32
1406 enable_openal32
1407 enable_opencl
1408 enable_opengl32
1409 enable_packager
1410 enable_pdh
1411 enable_photometadatahandler
1412 enable_pidgen
1413 enable_powrprof
1414 enable_printui
1415 enable_prntvpt
1416 enable_propsys
1417 enable_psapi
1418 enable_pstorec
1419 enable_qcap
1420 enable_qedit
1421 enable_qmgr
1422 enable_qmgrprxy
1423 enable_quartz
1424 enable_query
1425 enable_rasapi32
1426 enable_rasdlg
1427 enable_regapi
1428 enable_resutils
1429 enable_riched20
1430 enable_riched32
1431 enable_rpcrt4
1432 enable_rsabase
1433 enable_rsaenh
1434 enable_rstrtmgr
1435 enable_rtutils
1436 enable_samlib
1437 enable_sane_ds
1438 enable_sapi
1439 enable_scarddlg
1440 enable_sccbase
1441 enable_schannel
1442 enable_schedsvc
1443 enable_scrobj
1444 enable_scrrun
1445 enable_scsiport_sys
1446 enable_secur32
1447 enable_security
1448 enable_sensapi
1449 enable_serialui
1450 enable_setupapi
1451 enable_sfc
1452 enable_sfc_os
1453 enable_shdoclc
1454 enable_shdocvw
1455 enable_shell32
1456 enable_shfolder
1457 enable_shlwapi
1458 enable_slbcsp
1459 enable_slc
1460 enable_snmpapi
1461 enable_softpub
1462 enable_spoolss
1463 enable_sspicli
1464 enable_stdole2_tlb
1465 enable_stdole32_tlb
1466 enable_sti
1467 enable_svrapi
1468 enable_sxs
1469 enable_t2embed
1470 enable_tapi32
1471 enable_taskschd
1472 enable_tdh
1473 enable_tdi_sys
1474 enable_traffic
1475 enable_twain_32
1476 enable_ucrtbase
1477 enable_uiautomationcore
1478 enable_uiribbon
1479 enable_unicows
1480 enable_updspapi
1481 enable_url
1482 enable_urlmon
1483 enable_usbd_sys
1484 enable_user32
1485 enable_userenv
1486 enable_usp10
1487 enable_uxtheme
1488 enable_vbscript
1489 enable_vcomp
1490 enable_vcomp100
1491 enable_vcomp110
1492 enable_vcomp120
1493 enable_vcomp140
1494 enable_vcomp90
1495 enable_vcruntime140
1496 enable_vdmdbg
1497 enable_version
1498 enable_virtdisk
1499 enable_vssapi
1500 enable_wbemdisp
1501 enable_wbemprox
1502 enable_webservices
1503 enable_wer
1504 enable_wevtapi
1505 enable_wiaservc
1506 enable_wimgapi
1507 enable_windowscodecs
1508 enable_windowscodecsext
1509 enable_winealsa_drv
1510 enable_wineandroid_drv
1511 enable_winebus_sys
1512 enable_winecoreaudio_drv
1513 enable_wined3d
1514 enable_winegstreamer
1515 enable_winehid_sys
1516 enable_winejoystick_drv
1517 enable_winemac_drv
1518 enable_winemapi
1519 enable_wineoss_drv
1520 enable_wineps_drv
1521 enable_winepulse_drv
1522 enable_wineqtdecoder
1523 enable_winex11_drv
1524 enable_wing32
1525 enable_winhttp
1526 enable_wininet
1527 enable_winmm
1528 enable_winnls32
1529 enable_winscard
1530 enable_winspool_drv
1531 enable_winsta
1532 enable_wintab32
1533 enable_wintrust
1534 enable_winusb
1535 enable_wlanapi
1536 enable_wldap32
1537 enable_wmasf
1538 enable_wmi
1539 enable_wmiutils
1540 enable_wmp
1541 enable_wmphoto
1542 enable_wmvcore
1543 enable_wnaspi32
1544 enable_wpc
1545 enable_wpcap
1546 enable_ws2_32
1547 enable_wsdapi
1548 enable_wshom_ocx
1549 enable_wsnmp32
1550 enable_wsock32
1551 enable_wtsapi32
1552 enable_wuapi
1553 enable_wuaueng
1554 enable_x3daudio1_0
1555 enable_x3daudio1_1
1556 enable_x3daudio1_2
1557 enable_x3daudio1_3
1558 enable_x3daudio1_4
1559 enable_x3daudio1_5
1560 enable_x3daudio1_6
1561 enable_x3daudio1_7
1562 enable_xapofx1_1
1563 enable_xapofx1_2
1564 enable_xapofx1_3
1565 enable_xapofx1_4
1566 enable_xapofx1_5
1567 enable_xaudio2_0
1568 enable_xaudio2_1
1569 enable_xaudio2_2
1570 enable_xaudio2_3
1571 enable_xaudio2_4
1572 enable_xaudio2_5
1573 enable_xaudio2_6
1574 enable_xaudio2_7
1575 enable_xaudio2_8
1576 enable_xaudio2_9
1577 enable_xinput1_1
1578 enable_xinput1_2
1579 enable_xinput1_3
1580 enable_xinput1_4
1581 enable_xinput9_1_0
1582 enable_xmllite
1583 enable_xolehlp
1584 enable_xpsprint
1585 enable_xpssvcs
1586 enable_fonts
1587 enable_include
1588 enable_libs_port
1589 enable_libs_wine
1590 enable_libs_wpp
1591 enable_loader
1592 enable_po
1593 enable_arp
1594 enable_aspnet_regiis
1595 enable_attrib
1596 enable_cabarc
1597 enable_cacls
1598 enable_clock
1599 enable_cmd
1600 enable_conhost
1601 enable_control
1602 enable_cscript
1603 enable_dpnsvr
1604 enable_dxdiag
1605 enable_eject
1606 enable_expand
1607 enable_explorer
1608 enable_extrac32
1609 enable_findstr
1610 enable_fsutil
1611 enable_hh
1612 enable_hostname
1613 enable_icacls
1614 enable_icinfo
1615 enable_iexplore
1616 enable_ipconfig
1617 enable_lodctr
1618 enable_mofcomp
1619 enable_mshta
1620 enable_msiexec
1621 enable_msinfo32
1622 enable_net
1623 enable_netsh
1624 enable_netstat
1625 enable_ngen
1626 enable_notepad
1627 enable_oleview
1628 enable_ping
1629 enable_plugplay
1630 enable_powershell
1631 enable_presentationfontcache
1632 enable_progman
1633 enable_reg
1634 enable_regasm
1635 enable_regedit
1636 enable_regsvcs
1637 enable_regsvr32
1638 enable_rpcss
1639 enable_rundll32
1640 enable_sc
1641 enable_schtasks
1642 enable_sdbinst
1643 enable_secedit
1644 enable_servicemodelreg
1645 enable_services
1646 enable_shutdown
1647 enable_spoolsv
1648 enable_start
1649 enable_subst
1650 enable_svchost
1651 enable_systeminfo
1652 enable_taskkill
1653 enable_tasklist
1654 enable_taskmgr
1655 enable_termsv
1656 enable_uninstaller
1657 enable_unlodctr
1658 enable_view
1659 enable_wevtutil
1660 enable_wineboot
1661 enable_winebrowser
1662 enable_winecfg
1663 enable_wineconsole
1664 enable_winedbg
1665 enable_winedevice
1666 enable_winefile
1667 enable_winemenubuilder
1668 enable_winemine
1669 enable_winemsibuilder
1670 enable_winepath
1671 enable_winetest
1672 enable_winhlp32
1673 enable_winver
1674 enable_wmic
1675 enable_wmplayer
1676 enable_wordpad
1677 enable_write
1678 enable_wscript
1679 enable_wusa
1680 enable_xcopy
1681 enable_server
1682 enable_tools
1684 ac_precious_vars='build_alias
1685 host_alias
1686 target_alias
1688 CFLAGS
1689 LDFLAGS
1690 LIBS
1691 CPPFLAGS
1693 CXXFLAGS
1696 XMKMF
1697 XML2_CFLAGS
1698 XML2_LIBS
1699 XSLT_CFLAGS
1700 XSLT_LIBS
1701 DBUS_CFLAGS
1702 DBUS_LIBS
1703 HAL_CFLAGS
1704 HAL_LIBS
1705 GNUTLS_CFLAGS
1706 GNUTLS_LIBS
1707 SANE_CFLAGS
1708 SANE_LIBS
1709 GPHOTO2_CFLAGS
1710 GPHOTO2_LIBS
1711 GPHOTO2_PORT_CFLAGS
1712 GPHOTO2_PORT_LIBS
1713 LCMS2_CFLAGS
1714 LCMS2_LIBS
1715 FREETYPE_CFLAGS
1716 FREETYPE_LIBS
1717 PULSE_CFLAGS
1718 PULSE_LIBS
1719 GSTREAMER_CFLAGS
1720 GSTREAMER_LIBS
1721 UDEV_CFLAGS
1722 UDEV_LIBS
1723 CAPI20_CFLAGS
1724 CAPI20_LIBS
1725 CUPS_CFLAGS
1726 CUPS_LIBS
1727 FONTCONFIG_CFLAGS
1728 FONTCONFIG_LIBS
1729 KRB5_CFLAGS
1730 KRB5_LIBS
1731 JPEG_CFLAGS
1732 JPEG_LIBS
1733 PNG_CFLAGS
1734 PNG_LIBS
1735 TIFF_CFLAGS
1736 TIFF_LIBS
1737 MPG123_CFLAGS
1738 MPG123_LIBS
1739 NETAPI_CFLAGS
1740 NETAPI_LIBS
1741 LDAP_CFLAGS
1742 LDAP_LIBS'
1745 # Initialize some variables set by options.
1746 ac_init_help=
1747 ac_init_version=false
1748 ac_unrecognized_opts=
1749 ac_unrecognized_sep=
1750 # The variables have the same names as the options, with
1751 # dashes changed to underlines.
1752 cache_file=/dev/null
1753 exec_prefix=NONE
1754 no_create=
1755 no_recursion=
1756 prefix=NONE
1757 program_prefix=NONE
1758 program_suffix=NONE
1759 program_transform_name=s,x,x,
1760 silent=
1761 site=
1762 srcdir=
1763 verbose=
1764 x_includes=NONE
1765 x_libraries=NONE
1767 # Installation directory options.
1768 # These are left unexpanded so users can "make install exec_prefix=/foo"
1769 # and all the variables that are supposed to be based on exec_prefix
1770 # by default will actually change.
1771 # Use braces instead of parens because sh, perl, etc. also accept them.
1772 # (The list follows the same order as the GNU Coding Standards.)
1773 bindir='${exec_prefix}/bin'
1774 sbindir='${exec_prefix}/sbin'
1775 libexecdir='${exec_prefix}/libexec'
1776 datarootdir='${prefix}/share'
1777 datadir='${datarootdir}'
1778 sysconfdir='${prefix}/etc'
1779 sharedstatedir='${prefix}/com'
1780 localstatedir='${prefix}/var'
1781 runstatedir='${localstatedir}/run'
1782 includedir='${prefix}/include'
1783 oldincludedir='/usr/include'
1784 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1785 infodir='${datarootdir}/info'
1786 htmldir='${docdir}'
1787 dvidir='${docdir}'
1788 pdfdir='${docdir}'
1789 psdir='${docdir}'
1790 libdir='${exec_prefix}/lib'
1791 localedir='${datarootdir}/locale'
1792 mandir='${datarootdir}/man'
1794 ac_prev=
1795 ac_dashdash=
1796 for ac_option
1798 # If the previous option needs an argument, assign it.
1799 if test -n "$ac_prev"; then
1800 eval $ac_prev=\$ac_option
1801 ac_prev=
1802 continue
1805 case $ac_option in
1806 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1807 *=) ac_optarg= ;;
1808 *) ac_optarg=yes ;;
1809 esac
1811 # Accept the important Cygnus configure options, so we can diagnose typos.
1813 case $ac_dashdash$ac_option in
1815 ac_dashdash=yes ;;
1817 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1818 ac_prev=bindir ;;
1819 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1820 bindir=$ac_optarg ;;
1822 -build | --build | --buil | --bui | --bu)
1823 ac_prev=build_alias ;;
1824 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1825 build_alias=$ac_optarg ;;
1827 -cache-file | --cache-file | --cache-fil | --cache-fi \
1828 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1829 ac_prev=cache_file ;;
1830 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1831 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1832 cache_file=$ac_optarg ;;
1834 --config-cache | -C)
1835 cache_file=config.cache ;;
1837 -datadir | --datadir | --datadi | --datad)
1838 ac_prev=datadir ;;
1839 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1840 datadir=$ac_optarg ;;
1842 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1843 | --dataroo | --dataro | --datar)
1844 ac_prev=datarootdir ;;
1845 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1846 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1847 datarootdir=$ac_optarg ;;
1849 -disable-* | --disable-*)
1850 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1851 # Reject names that are not valid shell variable names.
1852 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1853 as_fn_error $? "invalid feature name: $ac_useropt"
1854 ac_useropt_orig=$ac_useropt
1855 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1856 case $ac_user_opts in
1858 "enable_$ac_useropt"
1859 "*) ;;
1860 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1861 ac_unrecognized_sep=', ';;
1862 esac
1863 eval enable_$ac_useropt=no ;;
1865 -docdir | --docdir | --docdi | --doc | --do)
1866 ac_prev=docdir ;;
1867 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1868 docdir=$ac_optarg ;;
1870 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1871 ac_prev=dvidir ;;
1872 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1873 dvidir=$ac_optarg ;;
1875 -enable-* | --enable-*)
1876 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1877 # Reject names that are not valid shell variable names.
1878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1879 as_fn_error $? "invalid feature name: $ac_useropt"
1880 ac_useropt_orig=$ac_useropt
1881 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1882 case $ac_user_opts in
1884 "enable_$ac_useropt"
1885 "*) ;;
1886 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1887 ac_unrecognized_sep=', ';;
1888 esac
1889 eval enable_$ac_useropt=\$ac_optarg ;;
1891 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1892 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1893 | --exec | --exe | --ex)
1894 ac_prev=exec_prefix ;;
1895 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1896 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1897 | --exec=* | --exe=* | --ex=*)
1898 exec_prefix=$ac_optarg ;;
1900 -gas | --gas | --ga | --g)
1901 # Obsolete; use --with-gas.
1902 with_gas=yes ;;
1904 -help | --help | --hel | --he | -h)
1905 ac_init_help=long ;;
1906 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1907 ac_init_help=recursive ;;
1908 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1909 ac_init_help=short ;;
1911 -host | --host | --hos | --ho)
1912 ac_prev=host_alias ;;
1913 -host=* | --host=* | --hos=* | --ho=*)
1914 host_alias=$ac_optarg ;;
1916 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1917 ac_prev=htmldir ;;
1918 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1919 | --ht=*)
1920 htmldir=$ac_optarg ;;
1922 -includedir | --includedir | --includedi | --included | --include \
1923 | --includ | --inclu | --incl | --inc)
1924 ac_prev=includedir ;;
1925 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1926 | --includ=* | --inclu=* | --incl=* | --inc=*)
1927 includedir=$ac_optarg ;;
1929 -infodir | --infodir | --infodi | --infod | --info | --inf)
1930 ac_prev=infodir ;;
1931 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1932 infodir=$ac_optarg ;;
1934 -libdir | --libdir | --libdi | --libd)
1935 ac_prev=libdir ;;
1936 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1937 libdir=$ac_optarg ;;
1939 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1940 | --libexe | --libex | --libe)
1941 ac_prev=libexecdir ;;
1942 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1943 | --libexe=* | --libex=* | --libe=*)
1944 libexecdir=$ac_optarg ;;
1946 -localedir | --localedir | --localedi | --localed | --locale)
1947 ac_prev=localedir ;;
1948 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1949 localedir=$ac_optarg ;;
1951 -localstatedir | --localstatedir | --localstatedi | --localstated \
1952 | --localstate | --localstat | --localsta | --localst | --locals)
1953 ac_prev=localstatedir ;;
1954 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1955 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1956 localstatedir=$ac_optarg ;;
1958 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1959 ac_prev=mandir ;;
1960 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1961 mandir=$ac_optarg ;;
1963 -nfp | --nfp | --nf)
1964 # Obsolete; use --without-fp.
1965 with_fp=no ;;
1967 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1968 | --no-cr | --no-c | -n)
1969 no_create=yes ;;
1971 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1972 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1973 no_recursion=yes ;;
1975 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1976 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1977 | --oldin | --oldi | --old | --ol | --o)
1978 ac_prev=oldincludedir ;;
1979 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1980 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1981 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1982 oldincludedir=$ac_optarg ;;
1984 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1985 ac_prev=prefix ;;
1986 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1987 prefix=$ac_optarg ;;
1989 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1990 | --program-pre | --program-pr | --program-p)
1991 ac_prev=program_prefix ;;
1992 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1993 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1994 program_prefix=$ac_optarg ;;
1996 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1997 | --program-suf | --program-su | --program-s)
1998 ac_prev=program_suffix ;;
1999 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2000 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2001 program_suffix=$ac_optarg ;;
2003 -program-transform-name | --program-transform-name \
2004 | --program-transform-nam | --program-transform-na \
2005 | --program-transform-n | --program-transform- \
2006 | --program-transform | --program-transfor \
2007 | --program-transfo | --program-transf \
2008 | --program-trans | --program-tran \
2009 | --progr-tra | --program-tr | --program-t)
2010 ac_prev=program_transform_name ;;
2011 -program-transform-name=* | --program-transform-name=* \
2012 | --program-transform-nam=* | --program-transform-na=* \
2013 | --program-transform-n=* | --program-transform-=* \
2014 | --program-transform=* | --program-transfor=* \
2015 | --program-transfo=* | --program-transf=* \
2016 | --program-trans=* | --program-tran=* \
2017 | --progr-tra=* | --program-tr=* | --program-t=*)
2018 program_transform_name=$ac_optarg ;;
2020 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2021 ac_prev=pdfdir ;;
2022 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2023 pdfdir=$ac_optarg ;;
2025 -psdir | --psdir | --psdi | --psd | --ps)
2026 ac_prev=psdir ;;
2027 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2028 psdir=$ac_optarg ;;
2030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2031 | -silent | --silent | --silen | --sile | --sil)
2032 silent=yes ;;
2034 -runstatedir | --runstatedir | --runstatedi | --runstated \
2035 | --runstate | --runstat | --runsta | --runst | --runs \
2036 | --run | --ru | --r)
2037 ac_prev=runstatedir ;;
2038 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2039 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2040 | --run=* | --ru=* | --r=*)
2041 runstatedir=$ac_optarg ;;
2043 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2044 ac_prev=sbindir ;;
2045 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2046 | --sbi=* | --sb=*)
2047 sbindir=$ac_optarg ;;
2049 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2050 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2051 | --sharedst | --shareds | --shared | --share | --shar \
2052 | --sha | --sh)
2053 ac_prev=sharedstatedir ;;
2054 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2055 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2056 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2057 | --sha=* | --sh=*)
2058 sharedstatedir=$ac_optarg ;;
2060 -site | --site | --sit)
2061 ac_prev=site ;;
2062 -site=* | --site=* | --sit=*)
2063 site=$ac_optarg ;;
2065 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2066 ac_prev=srcdir ;;
2067 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2068 srcdir=$ac_optarg ;;
2070 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2071 | --syscon | --sysco | --sysc | --sys | --sy)
2072 ac_prev=sysconfdir ;;
2073 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2074 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2075 sysconfdir=$ac_optarg ;;
2077 -target | --target | --targe | --targ | --tar | --ta | --t)
2078 ac_prev=target_alias ;;
2079 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2080 target_alias=$ac_optarg ;;
2082 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2083 verbose=yes ;;
2085 -version | --version | --versio | --versi | --vers | -V)
2086 ac_init_version=: ;;
2088 -with-* | --with-*)
2089 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2090 # Reject names that are not valid shell variable names.
2091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2092 as_fn_error $? "invalid package name: $ac_useropt"
2093 ac_useropt_orig=$ac_useropt
2094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2095 case $ac_user_opts in
2097 "with_$ac_useropt"
2098 "*) ;;
2099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2100 ac_unrecognized_sep=', ';;
2101 esac
2102 eval with_$ac_useropt=\$ac_optarg ;;
2104 -without-* | --without-*)
2105 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2106 # Reject names that are not valid shell variable names.
2107 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2108 as_fn_error $? "invalid package name: $ac_useropt"
2109 ac_useropt_orig=$ac_useropt
2110 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2111 case $ac_user_opts in
2113 "with_$ac_useropt"
2114 "*) ;;
2115 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2116 ac_unrecognized_sep=', ';;
2117 esac
2118 eval with_$ac_useropt=no ;;
2120 --x)
2121 # Obsolete; use --with-x.
2122 with_x=yes ;;
2124 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2125 | --x-incl | --x-inc | --x-in | --x-i)
2126 ac_prev=x_includes ;;
2127 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2128 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2129 x_includes=$ac_optarg ;;
2131 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2132 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2133 ac_prev=x_libraries ;;
2134 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2135 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2136 x_libraries=$ac_optarg ;;
2138 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2139 Try \`$0 --help' for more information"
2142 *=*)
2143 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2144 # Reject names that are not valid shell variable names.
2145 case $ac_envvar in #(
2146 '' | [0-9]* | *[!_$as_cr_alnum]* )
2147 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2148 esac
2149 eval $ac_envvar=\$ac_optarg
2150 export $ac_envvar ;;
2153 # FIXME: should be removed in autoconf 3.0.
2154 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2155 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2156 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2157 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2160 esac
2161 done
2163 if test -n "$ac_prev"; then
2164 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2165 as_fn_error $? "missing argument to $ac_option"
2168 if test -n "$ac_unrecognized_opts"; then
2169 case $enable_option_checking in
2170 no) ;;
2171 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2172 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2173 esac
2176 # Check all directory arguments for consistency.
2177 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2178 datadir sysconfdir sharedstatedir localstatedir includedir \
2179 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2180 libdir localedir mandir runstatedir
2182 eval ac_val=\$$ac_var
2183 # Remove trailing slashes.
2184 case $ac_val in
2185 */ )
2186 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2187 eval $ac_var=\$ac_val;;
2188 esac
2189 # Be sure to have absolute directory names.
2190 case $ac_val in
2191 [\\/$]* | ?:[\\/]* ) continue;;
2192 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2193 esac
2194 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2195 done
2197 # There might be people who depend on the old broken behavior: `$host'
2198 # used to hold the argument of --host etc.
2199 # FIXME: To remove some day.
2200 build=$build_alias
2201 host=$host_alias
2202 target=$target_alias
2204 # FIXME: To remove some day.
2205 if test "x$host_alias" != x; then
2206 if test "x$build_alias" = x; then
2207 cross_compiling=maybe
2208 elif test "x$build_alias" != "x$host_alias"; then
2209 cross_compiling=yes
2213 ac_tool_prefix=
2214 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2216 test "$silent" = yes && exec 6>/dev/null
2219 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2220 ac_ls_di=`ls -di .` &&
2221 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2222 as_fn_error $? "working directory cannot be determined"
2223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2224 as_fn_error $? "pwd does not report name of working directory"
2227 # Find the source files, if location was not specified.
2228 if test -z "$srcdir"; then
2229 ac_srcdir_defaulted=yes
2230 # Try the directory containing this script, then the parent directory.
2231 ac_confdir=`$as_dirname -- "$as_myself" ||
2232 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2233 X"$as_myself" : 'X\(//\)[^/]' \| \
2234 X"$as_myself" : 'X\(//\)$' \| \
2235 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2236 $as_echo X"$as_myself" |
2237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2238 s//\1/
2241 /^X\(\/\/\)[^/].*/{
2242 s//\1/
2245 /^X\(\/\/\)$/{
2246 s//\1/
2249 /^X\(\/\).*/{
2250 s//\1/
2253 s/.*/./; q'`
2254 srcdir=$ac_confdir
2255 if test ! -r "$srcdir/$ac_unique_file"; then
2256 srcdir=..
2258 else
2259 ac_srcdir_defaulted=no
2261 if test ! -r "$srcdir/$ac_unique_file"; then
2262 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2263 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2266 ac_abs_confdir=`(
2267 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2268 pwd)`
2269 # When building in place, set srcdir=.
2270 if test "$ac_abs_confdir" = "$ac_pwd"; then
2271 srcdir=.
2273 # Remove unnecessary trailing slashes from srcdir.
2274 # Double slashes in file names in object file debugging info
2275 # mess up M-x gdb in Emacs.
2276 case $srcdir in
2277 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2278 esac
2279 for ac_var in $ac_precious_vars; do
2280 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2281 eval ac_env_${ac_var}_value=\$${ac_var}
2282 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2283 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2284 done
2287 # Report the --help message.
2289 if test "$ac_init_help" = "long"; then
2290 # Omit some internal or obsolete options to make the list less imposing.
2291 # This message is too long to be a string in the A/UX 3.1 sh.
2292 cat <<_ACEOF
2293 \`configure' configures Wine 2.19 to adapt to many kinds of systems.
2295 Usage: $0 [OPTION]... [VAR=VALUE]...
2297 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2298 VAR=VALUE. See below for descriptions of some of the useful variables.
2300 Defaults for the options are specified in brackets.
2302 Configuration:
2303 -h, --help display this help and exit
2304 --help=short display options specific to this package
2305 --help=recursive display the short help of all the included packages
2306 -V, --version display version information and exit
2307 -q, --quiet, --silent do not print \`checking ...' messages
2308 --cache-file=FILE cache test results in FILE [disabled]
2309 -C, --config-cache alias for \`--cache-file=config.cache'
2310 -n, --no-create do not create output files
2311 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2313 Installation directories:
2314 --prefix=PREFIX install architecture-independent files in PREFIX
2315 [$ac_default_prefix]
2316 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2317 [PREFIX]
2319 By default, \`make install' will install all the files in
2320 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2321 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2322 for instance \`--prefix=\$HOME'.
2324 For better control, use the options below.
2326 Fine tuning of the installation directories:
2327 --bindir=DIR user executables [EPREFIX/bin]
2328 --sbindir=DIR system admin executables [EPREFIX/sbin]
2329 --libexecdir=DIR program executables [EPREFIX/libexec]
2330 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2331 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2332 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2333 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2334 --libdir=DIR object code libraries [EPREFIX/lib]
2335 --includedir=DIR C header files [PREFIX/include]
2336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2339 --infodir=DIR info documentation [DATAROOTDIR/info]
2340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2341 --mandir=DIR man documentation [DATAROOTDIR/man]
2342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2343 --htmldir=DIR html documentation [DOCDIR]
2344 --dvidir=DIR dvi documentation [DOCDIR]
2345 --pdfdir=DIR pdf documentation [DOCDIR]
2346 --psdir=DIR ps documentation [DOCDIR]
2347 _ACEOF
2349 cat <<\_ACEOF
2351 X features:
2352 --x-includes=DIR X include files are in DIR
2353 --x-libraries=DIR X library files are in DIR
2355 System types:
2356 --build=BUILD configure for building on BUILD [guessed]
2357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2358 _ACEOF
2361 if test -n "$ac_init_help"; then
2362 case $ac_init_help in
2363 short | recursive ) echo "Configuration of Wine 2.19:";;
2364 esac
2365 cat <<\_ACEOF
2367 Optional Features:
2368 --disable-option-checking ignore unrecognized --enable/--with options
2369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2371 --disable-win16 do not include Win16 support
2372 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2373 binaries)
2374 --disable-tests do not build the regression tests
2375 --enable-maintainer-mode
2376 enable maintainer-specific build rules
2377 --disable-largefile omit support for large files
2379 Optional Packages:
2380 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2381 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2382 --without-alsa do not use the Alsa sound support
2383 --without-capi do not use CAPI (ISDN support)
2384 --without-cms do not use CMS (color management support)
2385 --without-coreaudio do not use the CoreAudio sound support
2386 --without-cups do not use CUPS
2387 --without-curses do not use (n)curses
2388 --without-dbus do not use DBus (dynamic device support)
2389 --without-fontconfig do not use fontconfig
2390 --without-freetype do not use the FreeType library
2391 --without-gettext do not use gettext
2392 --with-gettextpo use the GetTextPO library to rebuild po files
2393 --without-gphoto do not use gphoto (Digital Camera support)
2394 --without-glu do not use the GLU library
2395 --without-gnutls do not use GnuTLS (schannel support)
2396 --without-gsm do not use libgsm (GSM 06.10 codec support)
2397 --without-gstreamer do not use GStreamer (codecs support)
2398 --without-hal do not use HAL (dynamic device support)
2399 --without-jpeg do not use JPEG
2400 --without-krb5 do not use krb5 (Kerberos)
2401 --without-ldap do not use LDAP
2402 --without-mpg123 do not use the mpg123 library
2403 --without-netapi do not use the Samba NetAPI library
2404 --without-openal do not use OpenAL
2405 --without-opencl do not use OpenCL
2406 --without-opengl do not use OpenGL
2407 --without-osmesa do not use the OSMesa library
2408 --without-oss do not use the OSS sound support
2409 --without-pcap do not use the Packet Capture library
2410 --without-png do not use PNG
2411 --without-pthread do not use the pthread library
2412 --without-pulse do not use PulseAudio sound support
2413 --without-sane do not use SANE (scanner support)
2414 --without-tiff do not use TIFF
2415 --without-udev do not use udev (plug and play support)
2416 --without-v4l do not use v4l1 (v4l support)
2417 --without-xcomposite do not use the Xcomposite extension
2418 --without-xcursor do not use the Xcursor extension
2419 --without-xfixes do not use Xfixes for clipboard change notifications
2420 --without-xinerama do not use Xinerama (multi-monitor support)
2421 --without-xinput do not use the Xinput extension
2422 --without-xinput2 do not use the Xinput 2 extension
2423 --without-xml do not use XML
2424 --without-xrandr do not use Xrandr (resolution changes)
2425 --without-xrender do not use the Xrender extension
2426 --without-xshape do not use the Xshape extension
2427 --without-xshm do not use XShm (shared memory extension)
2428 --without-xslt do not use XSLT
2429 --without-xxf86vm do not use XFree video mode extension
2430 --without-zlib do not use Zlib (data compression)
2431 --with-wine-tools=DIR use Wine tools from directory DIR
2432 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2433 --with-x use the X Window System
2435 Some influential environment variables:
2436 CC C compiler command
2437 CFLAGS C compiler flags
2438 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2439 nonstandard directory <lib dir>
2440 LIBS libraries to pass to the linker, e.g. -l<library>
2441 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2442 you have headers in a nonstandard directory <include dir>
2443 CXX C++ compiler command
2444 CXXFLAGS C++ compiler flags
2445 CPP C preprocessor
2446 XMKMF Path to xmkmf, Makefile generator for X Window System
2447 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2448 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2449 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2450 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2451 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2452 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2453 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2454 HAL_LIBS Linker flags for hal, overriding pkg-config
2455 GNUTLS_CFLAGS
2456 C compiler flags for gnutls, overriding pkg-config
2457 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2458 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2459 SANE_LIBS Linker flags for libsane, overriding pkg-config
2460 GPHOTO2_CFLAGS
2461 C compiler flags for libgphoto2, overriding pkg-config
2462 GPHOTO2_LIBS
2463 Linker flags for libgphoto2, overriding pkg-config
2464 GPHOTO2_PORT_CFLAGS
2465 C compiler flags for libgphoto2_port, overriding pkg-config
2466 GPHOTO2_PORT_LIBS
2467 Linker flags for libgphoto2_port, overriding pkg-config
2468 LCMS2_CFLAGS
2469 C compiler flags for lcms2, overriding pkg-config
2470 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2471 FREETYPE_CFLAGS
2472 C compiler flags for freetype2, overriding pkg-config
2473 FREETYPE_LIBS
2474 Linker flags for freetype2, overriding pkg-config
2475 PULSE_CFLAGS
2476 C compiler flags for libpulse, overriding pkg-config
2477 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2478 GSTREAMER_CFLAGS
2479 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2480 gstreamer-audio-1.0, overriding pkg-config
2481 GSTREAMER_LIBS
2482 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2483 gstreamer-audio-1.0, overriding pkg-config
2484 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2485 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2486 CAPI20_CFLAGS
2487 C compiler flags for capi20, overriding pkg-config
2488 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2489 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2490 CUPS_LIBS Linker flags for cups, overriding pkg-config
2491 FONTCONFIG_CFLAGS
2492 C compiler flags for fontconfig, overriding pkg-config
2493 FONTCONFIG_LIBS
2494 Linker flags for fontconfig, overriding pkg-config
2495 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2496 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2497 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2498 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2499 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2500 PNG_LIBS Linker flags for libpng, overriding pkg-config
2501 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2502 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2503 MPG123_CFLAGS
2504 C compiler flags for libmpg123, overriding pkg-config
2505 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2506 NETAPI_CFLAGS
2507 C compiler flags for netapi, overriding pkg-config
2508 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2509 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2510 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2512 Use these variables to override the choices made by `configure' or to help
2513 it to find libraries and programs with nonstandard names/locations.
2515 Report bugs to <wine-devel@winehq.org>.
2516 Wine home page: <http://www.winehq.org>.
2517 _ACEOF
2518 ac_status=$?
2521 if test "$ac_init_help" = "recursive"; then
2522 # If there are subdirs, report their specific --help.
2523 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2524 test -d "$ac_dir" ||
2525 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2526 continue
2527 ac_builddir=.
2529 case "$ac_dir" in
2530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2532 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2533 # A ".." for each directory in $ac_dir_suffix.
2534 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2535 case $ac_top_builddir_sub in
2536 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2537 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2538 esac ;;
2539 esac
2540 ac_abs_top_builddir=$ac_pwd
2541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2542 # for backward compatibility:
2543 ac_top_builddir=$ac_top_build_prefix
2545 case $srcdir in
2546 .) # We are building in place.
2547 ac_srcdir=.
2548 ac_top_srcdir=$ac_top_builddir_sub
2549 ac_abs_top_srcdir=$ac_pwd ;;
2550 [\\/]* | ?:[\\/]* ) # Absolute name.
2551 ac_srcdir=$srcdir$ac_dir_suffix;
2552 ac_top_srcdir=$srcdir
2553 ac_abs_top_srcdir=$srcdir ;;
2554 *) # Relative name.
2555 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2556 ac_top_srcdir=$ac_top_build_prefix$srcdir
2557 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2558 esac
2559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2561 cd "$ac_dir" || { ac_status=$?; continue; }
2562 # Check for guested configure.
2563 if test -f "$ac_srcdir/configure.gnu"; then
2564 echo &&
2565 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2566 elif test -f "$ac_srcdir/configure"; then
2567 echo &&
2568 $SHELL "$ac_srcdir/configure" --help=recursive
2569 else
2570 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2571 fi || ac_status=$?
2572 cd "$ac_pwd" || { ac_status=$?; break; }
2573 done
2576 test -n "$ac_init_help" && exit $ac_status
2577 if $ac_init_version; then
2578 cat <<\_ACEOF
2579 Wine configure 2.19
2580 generated by GNU Autoconf 2.69
2582 Copyright (C) 2012 Free Software Foundation, Inc.
2583 This configure script is free software; the Free Software Foundation
2584 gives unlimited permission to copy, distribute and modify it.
2585 _ACEOF
2586 exit
2589 ## ------------------------ ##
2590 ## Autoconf initialization. ##
2591 ## ------------------------ ##
2593 # ac_fn_c_try_compile LINENO
2594 # --------------------------
2595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2596 ac_fn_c_try_compile ()
2598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2599 rm -f conftest.$ac_objext
2600 if { { ac_try="$ac_compile"
2601 case "(($ac_try" in
2602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2604 esac
2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2606 $as_echo "$ac_try_echo"; } >&5
2607 (eval "$ac_compile") 2>conftest.err
2608 ac_status=$?
2609 if test -s conftest.err; then
2610 grep -v '^ *+' conftest.err >conftest.er1
2611 cat conftest.er1 >&5
2612 mv -f conftest.er1 conftest.err
2614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2615 test $ac_status = 0; } && {
2616 test -z "$ac_c_werror_flag" ||
2617 test ! -s conftest.err
2618 } && test -s conftest.$ac_objext; then :
2619 ac_retval=0
2620 else
2621 $as_echo "$as_me: failed program was:" >&5
2622 sed 's/^/| /' conftest.$ac_ext >&5
2624 ac_retval=1
2626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2627 as_fn_set_status $ac_retval
2629 } # ac_fn_c_try_compile
2631 # ac_fn_cxx_try_compile LINENO
2632 # ----------------------------
2633 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2634 ac_fn_cxx_try_compile ()
2636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2637 rm -f conftest.$ac_objext
2638 if { { ac_try="$ac_compile"
2639 case "(($ac_try" in
2640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2641 *) ac_try_echo=$ac_try;;
2642 esac
2643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_compile") 2>conftest.err
2646 ac_status=$?
2647 if test -s conftest.err; then
2648 grep -v '^ *+' conftest.err >conftest.er1
2649 cat conftest.er1 >&5
2650 mv -f conftest.er1 conftest.err
2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653 test $ac_status = 0; } && {
2654 test -z "$ac_cxx_werror_flag" ||
2655 test ! -s conftest.err
2656 } && test -s conftest.$ac_objext; then :
2657 ac_retval=0
2658 else
2659 $as_echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2662 ac_retval=1
2664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2665 as_fn_set_status $ac_retval
2667 } # ac_fn_cxx_try_compile
2669 # ac_fn_c_try_link LINENO
2670 # -----------------------
2671 # Try to link conftest.$ac_ext, and return whether this succeeded.
2672 ac_fn_c_try_link ()
2674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2675 rm -f conftest.$ac_objext conftest$ac_exeext
2676 if { { ac_try="$ac_link"
2677 case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2680 esac
2681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2682 $as_echo "$ac_try_echo"; } >&5
2683 (eval "$ac_link") 2>conftest.err
2684 ac_status=$?
2685 if test -s conftest.err; then
2686 grep -v '^ *+' conftest.err >conftest.er1
2687 cat conftest.er1 >&5
2688 mv -f conftest.er1 conftest.err
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; } && {
2692 test -z "$ac_c_werror_flag" ||
2693 test ! -s conftest.err
2694 } && test -s conftest$ac_exeext && {
2695 test "$cross_compiling" = yes ||
2696 test -x conftest$ac_exeext
2697 }; then :
2698 ac_retval=0
2699 else
2700 $as_echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.$ac_ext >&5
2703 ac_retval=1
2705 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2706 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2707 # interfere with the next link command; also delete a directory that is
2708 # left behind by Apple's compiler. We do this before executing the actions.
2709 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 as_fn_set_status $ac_retval
2713 } # ac_fn_c_try_link
2715 # ac_fn_c_try_cpp LINENO
2716 # ----------------------
2717 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_c_try_cpp ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 if { { ac_try="$ac_cpp conftest.$ac_ext"
2722 case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725 esac
2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727 $as_echo "$ac_try_echo"; } >&5
2728 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2729 ac_status=$?
2730 if test -s conftest.err; then
2731 grep -v '^ *+' conftest.err >conftest.er1
2732 cat conftest.er1 >&5
2733 mv -f conftest.er1 conftest.err
2735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2736 test $ac_status = 0; } > conftest.i && {
2737 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2738 test ! -s conftest.err
2739 }; then :
2740 ac_retval=0
2741 else
2742 $as_echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.$ac_ext >&5
2745 ac_retval=1
2747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2748 as_fn_set_status $ac_retval
2750 } # ac_fn_c_try_cpp
2752 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2753 # -------------------------------------------------------
2754 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2755 # the include files in INCLUDES and setting the cache variable VAR
2756 # accordingly.
2757 ac_fn_c_check_header_mongrel ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 if eval \${$3+:} false; then :
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2762 $as_echo_n "checking for $2... " >&6; }
2763 if eval \${$3+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 eval ac_res=\$$3
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2768 $as_echo "$ac_res" >&6; }
2769 else
2770 # Is the header compilable?
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2772 $as_echo_n "checking $2 usability... " >&6; }
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2776 #include <$2>
2777 _ACEOF
2778 if ac_fn_c_try_compile "$LINENO"; then :
2779 ac_header_compiler=yes
2780 else
2781 ac_header_compiler=no
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2785 $as_echo "$ac_header_compiler" >&6; }
2787 # Is the header present?
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2789 $as_echo_n "checking $2 presence... " >&6; }
2790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2791 /* end confdefs.h. */
2792 #include <$2>
2793 _ACEOF
2794 if ac_fn_c_try_cpp "$LINENO"; then :
2795 ac_header_preproc=yes
2796 else
2797 ac_header_preproc=no
2799 rm -f conftest.err conftest.i conftest.$ac_ext
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2801 $as_echo "$ac_header_preproc" >&6; }
2803 # So? What about this header?
2804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2805 yes:no: )
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2807 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2809 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2811 no:yes:* )
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2813 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2815 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2817 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2819 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2821 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2822 ( $as_echo "## ------------------------------------ ##
2823 ## Report this to wine-devel@winehq.org ##
2824 ## ------------------------------------ ##"
2825 ) | sed "s/^/$as_me: WARNING: /" >&2
2827 esac
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2829 $as_echo_n "checking for $2... " >&6; }
2830 if eval \${$3+:} false; then :
2831 $as_echo_n "(cached) " >&6
2832 else
2833 eval "$3=\$ac_header_compiler"
2835 eval ac_res=\$$3
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2837 $as_echo "$ac_res" >&6; }
2839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2841 } # ac_fn_c_check_header_mongrel
2843 # ac_fn_c_try_run LINENO
2844 # ----------------------
2845 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2846 # that executables *can* be run.
2847 ac_fn_c_try_run ()
2849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2850 if { { ac_try="$ac_link"
2851 case "(($ac_try" in
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2854 esac
2855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2856 $as_echo "$ac_try_echo"; } >&5
2857 (eval "$ac_link") 2>&5
2858 ac_status=$?
2859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2860 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2861 { { case "(($ac_try" in
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2864 esac
2865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866 $as_echo "$ac_try_echo"; } >&5
2867 (eval "$ac_try") 2>&5
2868 ac_status=$?
2869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2870 test $ac_status = 0; }; }; then :
2871 ac_retval=0
2872 else
2873 $as_echo "$as_me: program exited with status $ac_status" >&5
2874 $as_echo "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.$ac_ext >&5
2877 ac_retval=$ac_status
2879 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2880 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2881 as_fn_set_status $ac_retval
2883 } # ac_fn_c_try_run
2885 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2886 # -------------------------------------------------------
2887 # Tests whether HEADER exists and can be compiled using the include files in
2888 # INCLUDES, setting the cache variable VAR accordingly.
2889 ac_fn_c_check_header_compile ()
2891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2893 $as_echo_n "checking for $2... " >&6; }
2894 if eval \${$3+:} false; then :
2895 $as_echo_n "(cached) " >&6
2896 else
2897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2898 /* end confdefs.h. */
2900 #include <$2>
2901 _ACEOF
2902 if ac_fn_c_try_compile "$LINENO"; then :
2903 eval "$3=yes"
2904 else
2905 eval "$3=no"
2907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 eval ac_res=\$$3
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2911 $as_echo "$ac_res" >&6; }
2912 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2914 } # ac_fn_c_check_header_compile
2916 # ac_fn_c_check_func LINENO FUNC VAR
2917 # ----------------------------------
2918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2919 ac_fn_c_check_func ()
2921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2923 $as_echo_n "checking for $2... " >&6; }
2924 if eval \${$3+:} false; then :
2925 $as_echo_n "(cached) " >&6
2926 else
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2929 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2931 #define $2 innocuous_$2
2933 /* System header to define __stub macros and hopefully few prototypes,
2934 which can conflict with char $2 (); below.
2935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2936 <limits.h> exists even on freestanding compilers. */
2938 #ifdef __STDC__
2939 # include <limits.h>
2940 #else
2941 # include <assert.h>
2942 #endif
2944 #undef $2
2946 /* Override any GCC internal prototype to avoid an error.
2947 Use char because int might match the return type of a GCC
2948 builtin and then its argument prototype would still apply. */
2949 #ifdef __cplusplus
2950 extern "C"
2951 #endif
2952 char $2 ();
2953 /* The GNU C library defines this for functions which it implements
2954 to always fail with ENOSYS. Some functions are actually named
2955 something starting with __ and the normal name is an alias. */
2956 #if defined __stub_$2 || defined __stub___$2
2957 choke me
2958 #endif
2961 main ()
2963 return $2 ();
2965 return 0;
2967 _ACEOF
2968 if ac_fn_c_try_link "$LINENO"; then :
2969 eval "$3=yes"
2970 else
2971 eval "$3=no"
2973 rm -f core conftest.err conftest.$ac_objext \
2974 conftest$ac_exeext conftest.$ac_ext
2976 eval ac_res=\$$3
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2978 $as_echo "$ac_res" >&6; }
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2981 } # ac_fn_c_check_func
2983 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2984 # ----------------------------------------------------
2985 # Tries to find if the field MEMBER exists in type AGGR, after including
2986 # INCLUDES, setting cache variable VAR accordingly.
2987 ac_fn_c_check_member ()
2989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2991 $as_echo_n "checking for $2.$3... " >&6; }
2992 if eval \${$4+:} false; then :
2993 $as_echo_n "(cached) " >&6
2994 else
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
2999 main ()
3001 static $2 ac_aggr;
3002 if (ac_aggr.$3)
3003 return 0;
3005 return 0;
3007 _ACEOF
3008 if ac_fn_c_try_compile "$LINENO"; then :
3009 eval "$4=yes"
3010 else
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3015 main ()
3017 static $2 ac_aggr;
3018 if (sizeof ac_aggr.$3)
3019 return 0;
3021 return 0;
3023 _ACEOF
3024 if ac_fn_c_try_compile "$LINENO"; then :
3025 eval "$4=yes"
3026 else
3027 eval "$4=no"
3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3033 eval ac_res=\$$4
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 $as_echo "$ac_res" >&6; }
3036 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3038 } # ac_fn_c_check_member
3040 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3041 # -------------------------------------------
3042 # Tests whether TYPE exists after having included INCLUDES, setting cache
3043 # variable VAR accordingly.
3044 ac_fn_c_check_type ()
3046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3048 $as_echo_n "checking for $2... " >&6; }
3049 if eval \${$3+:} false; then :
3050 $as_echo_n "(cached) " >&6
3051 else
3052 eval "$3=no"
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3057 main ()
3059 if (sizeof ($2))
3060 return 0;
3062 return 0;
3064 _ACEOF
3065 if ac_fn_c_try_compile "$LINENO"; then :
3066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3067 /* end confdefs.h. */
3070 main ()
3072 if (sizeof (($2)))
3073 return 0;
3075 return 0;
3077 _ACEOF
3078 if ac_fn_c_try_compile "$LINENO"; then :
3080 else
3081 eval "$3=yes"
3083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3087 eval ac_res=\$$3
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3089 $as_echo "$ac_res" >&6; }
3090 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3092 } # ac_fn_c_check_type
3093 cat >config.log <<_ACEOF
3094 This file contains any messages produced by compilers while
3095 running configure, to aid debugging if configure makes a mistake.
3097 It was created by Wine $as_me 2.19, which was
3098 generated by GNU Autoconf 2.69. Invocation command line was
3100 $ $0 $@
3102 _ACEOF
3103 exec 5>>config.log
3105 cat <<_ASUNAME
3106 ## --------- ##
3107 ## Platform. ##
3108 ## --------- ##
3110 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3111 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3112 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3113 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3114 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3116 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3117 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3119 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3120 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3121 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3122 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3123 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3124 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3125 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3127 _ASUNAME
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH
3132 IFS=$as_save_IFS
3133 test -z "$as_dir" && as_dir=.
3134 $as_echo "PATH: $as_dir"
3135 done
3136 IFS=$as_save_IFS
3138 } >&5
3140 cat >&5 <<_ACEOF
3143 ## ----------- ##
3144 ## Core tests. ##
3145 ## ----------- ##
3147 _ACEOF
3150 # Keep a trace of the command line.
3151 # Strip out --no-create and --no-recursion so they do not pile up.
3152 # Strip out --silent because we don't want to record it for future runs.
3153 # Also quote any args containing shell meta-characters.
3154 # Make two passes to allow for proper duplicate-argument suppression.
3155 ac_configure_args=
3156 ac_configure_args0=
3157 ac_configure_args1=
3158 ac_must_keep_next=false
3159 for ac_pass in 1 2
3161 for ac_arg
3163 case $ac_arg in
3164 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3165 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3166 | -silent | --silent | --silen | --sile | --sil)
3167 continue ;;
3168 *\'*)
3169 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3170 esac
3171 case $ac_pass in
3172 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3174 as_fn_append ac_configure_args1 " '$ac_arg'"
3175 if test $ac_must_keep_next = true; then
3176 ac_must_keep_next=false # Got value, back to normal.
3177 else
3178 case $ac_arg in
3179 *=* | --config-cache | -C | -disable-* | --disable-* \
3180 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3181 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3182 | -with-* | --with-* | -without-* | --without-* | --x)
3183 case "$ac_configure_args0 " in
3184 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3185 esac
3187 -* ) ac_must_keep_next=true ;;
3188 esac
3190 as_fn_append ac_configure_args " '$ac_arg'"
3192 esac
3193 done
3194 done
3195 { ac_configure_args0=; unset ac_configure_args0;}
3196 { ac_configure_args1=; unset ac_configure_args1;}
3198 # When interrupted or exit'd, cleanup temporary files, and complete
3199 # config.log. We remove comments because anyway the quotes in there
3200 # would cause problems or look ugly.
3201 # WARNING: Use '\'' to represent an apostrophe within the trap.
3202 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3203 trap 'exit_status=$?
3204 # Save into config.log some information that might help in debugging.
3206 echo
3208 $as_echo "## ---------------- ##
3209 ## Cache variables. ##
3210 ## ---------------- ##"
3211 echo
3212 # The following way of writing the cache mishandles newlines in values,
3214 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3215 eval ac_val=\$$ac_var
3216 case $ac_val in #(
3217 *${as_nl}*)
3218 case $ac_var in #(
3219 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3220 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3221 esac
3222 case $ac_var in #(
3223 _ | IFS | as_nl) ;; #(
3224 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3225 *) { eval $ac_var=; unset $ac_var;} ;;
3226 esac ;;
3227 esac
3228 done
3229 (set) 2>&1 |
3230 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3231 *${as_nl}ac_space=\ *)
3232 sed -n \
3233 "s/'\''/'\''\\\\'\'''\''/g;
3234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3235 ;; #(
3237 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3239 esac |
3240 sort
3242 echo
3244 $as_echo "## ----------------- ##
3245 ## Output variables. ##
3246 ## ----------------- ##"
3247 echo
3248 for ac_var in $ac_subst_vars
3250 eval ac_val=\$$ac_var
3251 case $ac_val in
3252 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3253 esac
3254 $as_echo "$ac_var='\''$ac_val'\''"
3255 done | sort
3256 echo
3258 if test -n "$ac_subst_files"; then
3259 $as_echo "## ------------------- ##
3260 ## File substitutions. ##
3261 ## ------------------- ##"
3262 echo
3263 for ac_var in $ac_subst_files
3265 eval ac_val=\$$ac_var
3266 case $ac_val in
3267 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3268 esac
3269 $as_echo "$ac_var='\''$ac_val'\''"
3270 done | sort
3271 echo
3274 if test -s confdefs.h; then
3275 $as_echo "## ----------- ##
3276 ## confdefs.h. ##
3277 ## ----------- ##"
3278 echo
3279 cat confdefs.h
3280 echo
3282 test "$ac_signal" != 0 &&
3283 $as_echo "$as_me: caught signal $ac_signal"
3284 $as_echo "$as_me: exit $exit_status"
3285 } >&5
3286 rm -f core *.core core.conftest.* &&
3287 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3288 exit $exit_status
3290 for ac_signal in 1 2 13 15; do
3291 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3292 done
3293 ac_signal=0
3295 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3296 rm -f -r conftest* confdefs.h
3298 $as_echo "/* confdefs.h */" > confdefs.h
3300 # Predefined preprocessor variables.
3302 cat >>confdefs.h <<_ACEOF
3303 #define PACKAGE_NAME "$PACKAGE_NAME"
3304 _ACEOF
3306 cat >>confdefs.h <<_ACEOF
3307 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3308 _ACEOF
3310 cat >>confdefs.h <<_ACEOF
3311 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3312 _ACEOF
3314 cat >>confdefs.h <<_ACEOF
3315 #define PACKAGE_STRING "$PACKAGE_STRING"
3316 _ACEOF
3318 cat >>confdefs.h <<_ACEOF
3319 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3320 _ACEOF
3322 cat >>confdefs.h <<_ACEOF
3323 #define PACKAGE_URL "$PACKAGE_URL"
3324 _ACEOF
3327 # Let the site file select an alternate cache file if it wants to.
3328 # Prefer an explicitly selected file to automatically selected ones.
3329 ac_site_file1=NONE
3330 ac_site_file2=NONE
3331 if test -n "$CONFIG_SITE"; then
3332 # We do not want a PATH search for config.site.
3333 case $CONFIG_SITE in #((
3334 -*) ac_site_file1=./$CONFIG_SITE;;
3335 */*) ac_site_file1=$CONFIG_SITE;;
3336 *) ac_site_file1=./$CONFIG_SITE;;
3337 esac
3338 elif test "x$prefix" != xNONE; then
3339 ac_site_file1=$prefix/share/config.site
3340 ac_site_file2=$prefix/etc/config.site
3341 else
3342 ac_site_file1=$ac_default_prefix/share/config.site
3343 ac_site_file2=$ac_default_prefix/etc/config.site
3345 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3347 test "x$ac_site_file" = xNONE && continue
3348 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3350 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3351 sed 's/^/| /' "$ac_site_file" >&5
3352 . "$ac_site_file" \
3353 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error $? "failed to load site script $ac_site_file
3356 See \`config.log' for more details" "$LINENO" 5; }
3358 done
3360 if test -r "$cache_file"; then
3361 # Some versions of bash will fail to source /dev/null (special files
3362 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3363 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3365 $as_echo "$as_me: loading cache $cache_file" >&6;}
3366 case $cache_file in
3367 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3368 *) . "./$cache_file";;
3369 esac
3371 else
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3373 $as_echo "$as_me: creating cache $cache_file" >&6;}
3374 >$cache_file
3377 # Check that the precious variables saved in the cache have kept the same
3378 # value.
3379 ac_cache_corrupted=false
3380 for ac_var in $ac_precious_vars; do
3381 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3382 eval ac_new_set=\$ac_env_${ac_var}_set
3383 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3384 eval ac_new_val=\$ac_env_${ac_var}_value
3385 case $ac_old_set,$ac_new_set in
3386 set,)
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3388 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3389 ac_cache_corrupted=: ;;
3390 ,set)
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3392 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3393 ac_cache_corrupted=: ;;
3394 ,);;
3396 if test "x$ac_old_val" != "x$ac_new_val"; then
3397 # differences in whitespace do not lead to failure.
3398 ac_old_val_w=`echo x $ac_old_val`
3399 ac_new_val_w=`echo x $ac_new_val`
3400 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3402 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3403 ac_cache_corrupted=:
3404 else
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3406 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3407 eval $ac_var=\$ac_old_val
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3410 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3412 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3413 fi;;
3414 esac
3415 # Pass precious variables to config.status.
3416 if test "$ac_new_set" = set; then
3417 case $ac_new_val in
3418 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3419 *) ac_arg=$ac_var=$ac_new_val ;;
3420 esac
3421 case " $ac_configure_args " in
3422 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3423 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3424 esac
3426 done
3427 if $ac_cache_corrupted; then
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3431 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3432 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3434 ## -------------------- ##
3435 ## Main body of script. ##
3436 ## -------------------- ##
3438 ac_ext=c
3439 ac_cpp='$CPP $CPPFLAGS'
3440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3446 ac_config_headers="$ac_config_headers include/config.h"
3448 ac_aux_dir=
3449 for ac_dir in tools "$srcdir"/tools; do
3450 if test -f "$ac_dir/install-sh"; then
3451 ac_aux_dir=$ac_dir
3452 ac_install_sh="$ac_aux_dir/install-sh -c"
3453 break
3454 elif test -f "$ac_dir/install.sh"; then
3455 ac_aux_dir=$ac_dir
3456 ac_install_sh="$ac_aux_dir/install.sh -c"
3457 break
3458 elif test -f "$ac_dir/shtool"; then
3459 ac_aux_dir=$ac_dir
3460 ac_install_sh="$ac_aux_dir/shtool install -c"
3461 break
3463 done
3464 if test -z "$ac_aux_dir"; then
3465 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3468 # These three variables are undocumented and unsupported,
3469 # and are intended to be withdrawn in a future Autoconf release.
3470 # They can cause serious problems if a builder's source tree is in a directory
3471 # whose full name contains unusual characters.
3472 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3473 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3474 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3478 libwine_version="1.0"
3482 # Check whether --enable-win16 was given.
3483 if test "${enable_win16+set}" = set; then :
3484 enableval=$enable_win16;
3487 # Check whether --enable-win64 was given.
3488 if test "${enable_win64+set}" = set; then :
3489 enableval=$enable_win64;
3492 # Check whether --enable-tests was given.
3493 if test "${enable_tests+set}" = set; then :
3494 enableval=$enable_tests;
3497 # Check whether --enable-maintainer-mode was given.
3498 if test "${enable_maintainer_mode+set}" = set; then :
3499 enableval=$enable_maintainer_mode;
3504 # Check whether --with-alsa was given.
3505 if test "${with_alsa+set}" = set; then :
3506 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3510 # Check whether --with-capi was given.
3511 if test "${with_capi+set}" = set; then :
3512 withval=$with_capi;
3516 # Check whether --with-cms was given.
3517 if test "${with_cms+set}" = set; then :
3518 withval=$with_cms;
3522 # Check whether --with-coreaudio was given.
3523 if test "${with_coreaudio+set}" = set; then :
3524 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3528 # Check whether --with-cups was given.
3529 if test "${with_cups+set}" = set; then :
3530 withval=$with_cups;
3534 # Check whether --with-curses was given.
3535 if test "${with_curses+set}" = set; then :
3536 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3540 # Check whether --with-dbus was given.
3541 if test "${with_dbus+set}" = set; then :
3542 withval=$with_dbus;
3546 # Check whether --with-fontconfig was given.
3547 if test "${with_fontconfig+set}" = set; then :
3548 withval=$with_fontconfig;
3552 # Check whether --with-freetype was given.
3553 if test "${with_freetype+set}" = set; then :
3554 withval=$with_freetype;
3558 # Check whether --with-gettext was given.
3559 if test "${with_gettext+set}" = set; then :
3560 withval=$with_gettext;
3564 # Check whether --with-gettextpo was given.
3565 if test "${with_gettextpo+set}" = set; then :
3566 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3570 # Check whether --with-gphoto was given.
3571 if test "${with_gphoto+set}" = set; then :
3572 withval=$with_gphoto;
3576 # Check whether --with-glu was given.
3577 if test "${with_glu+set}" = set; then :
3578 withval=$with_glu;
3582 # Check whether --with-gnutls was given.
3583 if test "${with_gnutls+set}" = set; then :
3584 withval=$with_gnutls;
3588 # Check whether --with-gsm was given.
3589 if test "${with_gsm+set}" = set; then :
3590 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3594 # Check whether --with-gstreamer was given.
3595 if test "${with_gstreamer+set}" = set; then :
3596 withval=$with_gstreamer;
3600 # Check whether --with-hal was given.
3601 if test "${with_hal+set}" = set; then :
3602 withval=$with_hal;
3606 # Check whether --with-jpeg was given.
3607 if test "${with_jpeg+set}" = set; then :
3608 withval=$with_jpeg;
3612 # Check whether --with-krb5 was given.
3613 if test "${with_krb5+set}" = set; then :
3614 withval=$with_krb5;
3618 # Check whether --with-ldap was given.
3619 if test "${with_ldap+set}" = set; then :
3620 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3624 # Check whether --with-mpg123 was given.
3625 if test "${with_mpg123+set}" = set; then :
3626 withval=$with_mpg123;
3630 # Check whether --with-netapi was given.
3631 if test "${with_netapi+set}" = set; then :
3632 withval=$with_netapi;
3636 # Check whether --with-openal was given.
3637 if test "${with_openal+set}" = set; then :
3638 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3642 # Check whether --with-opencl was given.
3643 if test "${with_opencl+set}" = set; then :
3644 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3648 # Check whether --with-opengl was given.
3649 if test "${with_opengl+set}" = set; then :
3650 withval=$with_opengl;
3654 # Check whether --with-osmesa was given.
3655 if test "${with_osmesa+set}" = set; then :
3656 withval=$with_osmesa;
3660 # Check whether --with-oss was given.
3661 if test "${with_oss+set}" = set; then :
3662 withval=$with_oss;
3666 # Check whether --with-pcap was given.
3667 if test "${with_pcap+set}" = set; then :
3668 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3672 # Check whether --with-png was given.
3673 if test "${with_png+set}" = set; then :
3674 withval=$with_png;
3678 # Check whether --with-pthread was given.
3679 if test "${with_pthread+set}" = set; then :
3680 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3684 # Check whether --with-pulse was given.
3685 if test "${with_pulse+set}" = set; then :
3686 withval=$with_pulse;
3690 # Check whether --with-sane was given.
3691 if test "${with_sane+set}" = set; then :
3692 withval=$with_sane;
3696 # Check whether --with-tiff was given.
3697 if test "${with_tiff+set}" = set; then :
3698 withval=$with_tiff;
3702 # Check whether --with-udev was given.
3703 if test "${with_udev+set}" = set; then :
3704 withval=$with_udev;
3708 # Check whether --with-v4l was given.
3709 if test "${with_v4l+set}" = set; then :
3710 withval=$with_v4l;
3714 # Check whether --with-xcomposite was given.
3715 if test "${with_xcomposite+set}" = set; then :
3716 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3720 # Check whether --with-xcursor was given.
3721 if test "${with_xcursor+set}" = set; then :
3722 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3726 # Check whether --with-xfixes was given.
3727 if test "${with_xfixes+set}" = set; then :
3728 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3732 # Check whether --with-xinerama was given.
3733 if test "${with_xinerama+set}" = set; then :
3734 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3738 # Check whether --with-xinput was given.
3739 if test "${with_xinput+set}" = set; then :
3740 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3744 # Check whether --with-xinput2 was given.
3745 if test "${with_xinput2+set}" = set; then :
3746 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3750 # Check whether --with-xml was given.
3751 if test "${with_xml+set}" = set; then :
3752 withval=$with_xml;
3756 # Check whether --with-xrandr was given.
3757 if test "${with_xrandr+set}" = set; then :
3758 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3762 # Check whether --with-xrender was given.
3763 if test "${with_xrender+set}" = set; then :
3764 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3768 # Check whether --with-xshape was given.
3769 if test "${with_xshape+set}" = set; then :
3770 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3774 # Check whether --with-xshm was given.
3775 if test "${with_xshm+set}" = set; then :
3776 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3780 # Check whether --with-xslt was given.
3781 if test "${with_xslt+set}" = set; then :
3782 withval=$with_xslt;
3786 # Check whether --with-xxf86vm was given.
3787 if test "${with_xxf86vm+set}" = set; then :
3788 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
3792 # Check whether --with-zlib was given.
3793 if test "${with_zlib+set}" = set; then :
3794 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3799 # Check whether --with-wine-tools was given.
3800 if test "${with_wine_tools+set}" = set; then :
3801 withval=$with_wine_tools;
3805 # Check whether --with-wine64 was given.
3806 if test "${with_wine64+set}" = set; then :
3807 withval=$with_wine64;
3811 # Make sure we can run config.sub.
3812 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3813 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3816 $as_echo_n "checking build system type... " >&6; }
3817 if ${ac_cv_build+:} false; then :
3818 $as_echo_n "(cached) " >&6
3819 else
3820 ac_build_alias=$build_alias
3821 test "x$ac_build_alias" = x &&
3822 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3823 test "x$ac_build_alias" = x &&
3824 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3825 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3826 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3830 $as_echo "$ac_cv_build" >&6; }
3831 case $ac_cv_build in
3832 *-*-*) ;;
3833 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3834 esac
3835 build=$ac_cv_build
3836 ac_save_IFS=$IFS; IFS='-'
3837 set x $ac_cv_build
3838 shift
3839 build_cpu=$1
3840 build_vendor=$2
3841 shift; shift
3842 # Remember, the first character of IFS is used to create $*,
3843 # except with old shells:
3844 build_os=$*
3845 IFS=$ac_save_IFS
3846 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3850 $as_echo_n "checking host system type... " >&6; }
3851 if ${ac_cv_host+:} false; then :
3852 $as_echo_n "(cached) " >&6
3853 else
3854 if test "x$host_alias" = x; then
3855 ac_cv_host=$ac_cv_build
3856 else
3857 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3858 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3863 $as_echo "$ac_cv_host" >&6; }
3864 case $ac_cv_host in
3865 *-*-*) ;;
3866 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3867 esac
3868 host=$ac_cv_host
3869 ac_save_IFS=$IFS; IFS='-'
3870 set x $ac_cv_host
3871 shift
3872 host_cpu=$1
3873 host_vendor=$2
3874 shift; shift
3875 # Remember, the first character of IFS is used to create $*,
3876 # except with old shells:
3877 host_os=$*
3878 IFS=$ac_save_IFS
3879 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3883 case "$srcdir" in
3884 .) ;;
3885 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3886 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3887 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3888 fi ;;
3889 esac
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3893 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3894 set x ${MAKE-make}
3895 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3896 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3897 $as_echo_n "(cached) " >&6
3898 else
3899 cat >conftest.make <<\_ACEOF
3900 SHELL = /bin/sh
3901 all:
3902 @echo '@@@%%%=$(MAKE)=@@@%%%'
3903 _ACEOF
3904 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3905 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3906 *@@@%%%=?*=@@@%%%*)
3907 eval ac_cv_prog_make_${ac_make}_set=yes;;
3909 eval ac_cv_prog_make_${ac_make}_set=no;;
3910 esac
3911 rm -f conftest.make
3913 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3915 $as_echo "yes" >&6; }
3916 SET_MAKE=
3917 else
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3920 SET_MAKE="MAKE=${MAKE-make}"
3923 ac_ext=c
3924 ac_cpp='$CPP $CPPFLAGS'
3925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3928 if test -n "$ac_tool_prefix"; then
3929 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3930 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if ${ac_cv_prog_CC+:} false; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$CC"; then
3937 ac_cv_prog_CC="$CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3942 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3946 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 break 2
3950 done
3951 done
3952 IFS=$as_save_IFS
3956 CC=$ac_cv_prog_CC
3957 if test -n "$CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3959 $as_echo "$CC" >&6; }
3960 else
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3967 if test -z "$ac_cv_prog_CC"; then
3968 ac_ct_CC=$CC
3969 # Extract the first word of "gcc", so it can be a program name with args.
3970 set dummy gcc; ac_word=$2
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3972 $as_echo_n "checking for $ac_word... " >&6; }
3973 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3974 $as_echo_n "(cached) " >&6
3975 else
3976 if test -n "$ac_ct_CC"; then
3977 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3978 else
3979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3980 for as_dir in $PATH
3982 IFS=$as_save_IFS
3983 test -z "$as_dir" && as_dir=.
3984 for ac_exec_ext in '' $ac_executable_extensions; do
3985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3986 ac_cv_prog_ac_ct_CC="gcc"
3987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 break 2
3990 done
3991 done
3992 IFS=$as_save_IFS
3996 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3997 if test -n "$ac_ct_CC"; then
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3999 $as_echo "$ac_ct_CC" >&6; }
4000 else
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4002 $as_echo "no" >&6; }
4005 if test "x$ac_ct_CC" = x; then
4006 CC=""
4007 else
4008 case $cross_compiling:$ac_tool_warned in
4009 yes:)
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4012 ac_tool_warned=yes ;;
4013 esac
4014 CC=$ac_ct_CC
4016 else
4017 CC="$ac_cv_prog_CC"
4020 if test -z "$CC"; then
4021 if test -n "$ac_tool_prefix"; then
4022 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4023 set dummy ${ac_tool_prefix}cc; ac_word=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if ${ac_cv_prog_CC+:} false; then :
4027 $as_echo_n "(cached) " >&6
4028 else
4029 if test -n "$CC"; then
4030 ac_cv_prog_CC="$CC" # Let the user override the test.
4031 else
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033 for as_dir in $PATH
4035 IFS=$as_save_IFS
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4039 ac_cv_prog_CC="${ac_tool_prefix}cc"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4041 break 2
4043 done
4044 done
4045 IFS=$as_save_IFS
4049 CC=$ac_cv_prog_CC
4050 if test -n "$CC"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4052 $as_echo "$CC" >&6; }
4053 else
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4061 if test -z "$CC"; then
4062 # Extract the first word of "cc", so it can be a program name with args.
4063 set dummy cc; ac_word=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if ${ac_cv_prog_CC+:} false; then :
4067 $as_echo_n "(cached) " >&6
4068 else
4069 if test -n "$CC"; then
4070 ac_cv_prog_CC="$CC" # Let the user override the test.
4071 else
4072 ac_prog_rejected=no
4073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4074 for as_dir in $PATH
4076 IFS=$as_save_IFS
4077 test -z "$as_dir" && as_dir=.
4078 for ac_exec_ext in '' $ac_executable_extensions; do
4079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4080 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4081 ac_prog_rejected=yes
4082 continue
4084 ac_cv_prog_CC="cc"
4085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 break 2
4088 done
4089 done
4090 IFS=$as_save_IFS
4092 if test $ac_prog_rejected = yes; then
4093 # We found a bogon in the path, so make sure we never use it.
4094 set dummy $ac_cv_prog_CC
4095 shift
4096 if test $# != 0; then
4097 # We chose a different compiler from the bogus one.
4098 # However, it has the same basename, so the bogon will be chosen
4099 # first if we set CC to just the basename; use the full file name.
4100 shift
4101 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4106 CC=$ac_cv_prog_CC
4107 if test -n "$CC"; then
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4109 $as_echo "$CC" >&6; }
4110 else
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4117 if test -z "$CC"; then
4118 if test -n "$ac_tool_prefix"; then
4119 for ac_prog in cl.exe
4121 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4122 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124 $as_echo_n "checking for $ac_word... " >&6; }
4125 if ${ac_cv_prog_CC+:} false; then :
4126 $as_echo_n "(cached) " >&6
4127 else
4128 if test -n "$CC"; then
4129 ac_cv_prog_CC="$CC" # Let the user override the test.
4130 else
4131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4132 for as_dir in $PATH
4134 IFS=$as_save_IFS
4135 test -z "$as_dir" && as_dir=.
4136 for ac_exec_ext in '' $ac_executable_extensions; do
4137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4138 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4140 break 2
4142 done
4143 done
4144 IFS=$as_save_IFS
4148 CC=$ac_cv_prog_CC
4149 if test -n "$CC"; then
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4151 $as_echo "$CC" >&6; }
4152 else
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154 $as_echo "no" >&6; }
4158 test -n "$CC" && break
4159 done
4161 if test -z "$CC"; then
4162 ac_ct_CC=$CC
4163 for ac_prog in cl.exe
4165 # Extract the first word of "$ac_prog", so it can be a program name with args.
4166 set dummy $ac_prog; ac_word=$2
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4168 $as_echo_n "checking for $ac_word... " >&6; }
4169 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4170 $as_echo_n "(cached) " >&6
4171 else
4172 if test -n "$ac_ct_CC"; then
4173 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4174 else
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4176 for as_dir in $PATH
4178 IFS=$as_save_IFS
4179 test -z "$as_dir" && as_dir=.
4180 for ac_exec_ext in '' $ac_executable_extensions; do
4181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4182 ac_cv_prog_ac_ct_CC="$ac_prog"
4183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 break 2
4186 done
4187 done
4188 IFS=$as_save_IFS
4192 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4193 if test -n "$ac_ct_CC"; then
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4195 $as_echo "$ac_ct_CC" >&6; }
4196 else
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198 $as_echo "no" >&6; }
4202 test -n "$ac_ct_CC" && break
4203 done
4205 if test "x$ac_ct_CC" = x; then
4206 CC=""
4207 else
4208 case $cross_compiling:$ac_tool_warned in
4209 yes:)
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4212 ac_tool_warned=yes ;;
4213 esac
4214 CC=$ac_ct_CC
4221 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4223 as_fn_error $? "no acceptable C compiler found in \$PATH
4224 See \`config.log' for more details" "$LINENO" 5; }
4226 # Provide some information about the compiler.
4227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4228 set X $ac_compile
4229 ac_compiler=$2
4230 for ac_option in --version -v -V -qversion; do
4231 { { ac_try="$ac_compiler $ac_option >&5"
4232 case "(($ac_try" in
4233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4234 *) ac_try_echo=$ac_try;;
4235 esac
4236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4237 $as_echo "$ac_try_echo"; } >&5
4238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4239 ac_status=$?
4240 if test -s conftest.err; then
4241 sed '10a\
4242 ... rest of stderr output deleted ...
4243 10q' conftest.err >conftest.er1
4244 cat conftest.er1 >&5
4246 rm -f conftest.er1 conftest.err
4247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4248 test $ac_status = 0; }
4249 done
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4255 main ()
4259 return 0;
4261 _ACEOF
4262 ac_clean_files_save=$ac_clean_files
4263 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4264 # Try to create an executable without -o first, disregard a.out.
4265 # It will help us diagnose broken compilers, and finding out an intuition
4266 # of exeext.
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4268 $as_echo_n "checking whether the C compiler works... " >&6; }
4269 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4271 # The possible output files:
4272 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4274 ac_rmfiles=
4275 for ac_file in $ac_files
4277 case $ac_file in
4278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4280 esac
4281 done
4282 rm -f $ac_rmfiles
4284 if { { ac_try="$ac_link_default"
4285 case "(($ac_try" in
4286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4287 *) ac_try_echo=$ac_try;;
4288 esac
4289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4290 $as_echo "$ac_try_echo"; } >&5
4291 (eval "$ac_link_default") 2>&5
4292 ac_status=$?
4293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4294 test $ac_status = 0; }; then :
4295 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4296 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4297 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4298 # so that the user can short-circuit this test for compilers unknown to
4299 # Autoconf.
4300 for ac_file in $ac_files ''
4302 test -f "$ac_file" || continue
4303 case $ac_file in
4304 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4306 [ab].out )
4307 # We found the default executable, but exeext='' is most
4308 # certainly right.
4309 break;;
4310 *.* )
4311 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4312 then :; else
4313 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4315 # We set ac_cv_exeext here because the later test for it is not
4316 # safe: cross compilers may not add the suffix if given an `-o'
4317 # argument, so we may need to know it at that point already.
4318 # Even if this section looks crufty: it has the advantage of
4319 # actually working.
4320 break;;
4322 break;;
4323 esac
4324 done
4325 test "$ac_cv_exeext" = no && ac_cv_exeext=
4327 else
4328 ac_file=''
4330 if test -z "$ac_file"; then :
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4332 $as_echo "no" >&6; }
4333 $as_echo "$as_me: failed program was:" >&5
4334 sed 's/^/| /' conftest.$ac_ext >&5
4336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4338 as_fn_error 77 "C compiler cannot create executables
4339 See \`config.log' for more details" "$LINENO" 5; }
4340 else
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4342 $as_echo "yes" >&6; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4345 $as_echo_n "checking for C compiler default output file name... " >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4347 $as_echo "$ac_file" >&6; }
4348 ac_exeext=$ac_cv_exeext
4350 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4351 ac_clean_files=$ac_clean_files_save
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4353 $as_echo_n "checking for suffix of executables... " >&6; }
4354 if { { ac_try="$ac_link"
4355 case "(($ac_try" in
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4358 esac
4359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4360 $as_echo "$ac_try_echo"; } >&5
4361 (eval "$ac_link") 2>&5
4362 ac_status=$?
4363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4364 test $ac_status = 0; }; then :
4365 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4366 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4367 # work properly (i.e., refer to `conftest.exe'), while it won't with
4368 # `rm'.
4369 for ac_file in conftest.exe conftest conftest.*; do
4370 test -f "$ac_file" || continue
4371 case $ac_file in
4372 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4373 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4374 break;;
4375 * ) break;;
4376 esac
4377 done
4378 else
4379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4382 See \`config.log' for more details" "$LINENO" 5; }
4384 rm -f conftest conftest$ac_cv_exeext
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4386 $as_echo "$ac_cv_exeext" >&6; }
4388 rm -f conftest.$ac_ext
4389 EXEEXT=$ac_cv_exeext
4390 ac_exeext=$EXEEXT
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4393 #include <stdio.h>
4395 main ()
4397 FILE *f = fopen ("conftest.out", "w");
4398 return ferror (f) || fclose (f) != 0;
4401 return 0;
4403 _ACEOF
4404 ac_clean_files="$ac_clean_files conftest.out"
4405 # Check that the compiler produces executables we can run. If not, either
4406 # the compiler is broken, or we cross compile.
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4408 $as_echo_n "checking whether we are cross compiling... " >&6; }
4409 if test "$cross_compiling" != yes; then
4410 { { ac_try="$ac_link"
4411 case "(($ac_try" in
4412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4413 *) ac_try_echo=$ac_try;;
4414 esac
4415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4416 $as_echo "$ac_try_echo"; } >&5
4417 (eval "$ac_link") 2>&5
4418 ac_status=$?
4419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4420 test $ac_status = 0; }
4421 if { ac_try='./conftest$ac_cv_exeext'
4422 { { case "(($ac_try" in
4423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4425 esac
4426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4427 $as_echo "$ac_try_echo"; } >&5
4428 (eval "$ac_try") 2>&5
4429 ac_status=$?
4430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4431 test $ac_status = 0; }; }; then
4432 cross_compiling=no
4433 else
4434 if test "$cross_compiling" = maybe; then
4435 cross_compiling=yes
4436 else
4437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4439 as_fn_error $? "cannot run C compiled programs.
4440 If you meant to cross compile, use \`--host'.
4441 See \`config.log' for more details" "$LINENO" 5; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4446 $as_echo "$cross_compiling" >&6; }
4448 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4449 ac_clean_files=$ac_clean_files_save
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4451 $as_echo_n "checking for suffix of object files... " >&6; }
4452 if ${ac_cv_objext+:} false; then :
4453 $as_echo_n "(cached) " >&6
4454 else
4455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4459 main ()
4463 return 0;
4465 _ACEOF
4466 rm -f conftest.o conftest.obj
4467 if { { ac_try="$ac_compile"
4468 case "(($ac_try" in
4469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4470 *) ac_try_echo=$ac_try;;
4471 esac
4472 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4473 $as_echo "$ac_try_echo"; } >&5
4474 (eval "$ac_compile") 2>&5
4475 ac_status=$?
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }; then :
4478 for ac_file in conftest.o conftest.obj conftest.*; do
4479 test -f "$ac_file" || continue;
4480 case $ac_file in
4481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4483 break;;
4484 esac
4485 done
4486 else
4487 $as_echo "$as_me: failed program was:" >&5
4488 sed 's/^/| /' conftest.$ac_ext >&5
4490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4492 as_fn_error $? "cannot compute suffix of object files: cannot compile
4493 See \`config.log' for more details" "$LINENO" 5; }
4495 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4498 $as_echo "$ac_cv_objext" >&6; }
4499 OBJEXT=$ac_cv_objext
4500 ac_objext=$OBJEXT
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4502 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4503 if ${ac_cv_c_compiler_gnu+:} false; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4507 /* end confdefs.h. */
4510 main ()
4512 #ifndef __GNUC__
4513 choke me
4514 #endif
4517 return 0;
4519 _ACEOF
4520 if ac_fn_c_try_compile "$LINENO"; then :
4521 ac_compiler_gnu=yes
4522 else
4523 ac_compiler_gnu=no
4525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4530 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4531 if test $ac_compiler_gnu = yes; then
4532 GCC=yes
4533 else
4534 GCC=
4536 ac_test_CFLAGS=${CFLAGS+set}
4537 ac_save_CFLAGS=$CFLAGS
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4539 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4540 if ${ac_cv_prog_cc_g+:} false; then :
4541 $as_echo_n "(cached) " >&6
4542 else
4543 ac_save_c_werror_flag=$ac_c_werror_flag
4544 ac_c_werror_flag=yes
4545 ac_cv_prog_cc_g=no
4546 CFLAGS="-g"
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4551 main ()
4555 return 0;
4557 _ACEOF
4558 if ac_fn_c_try_compile "$LINENO"; then :
4559 ac_cv_prog_cc_g=yes
4560 else
4561 CFLAGS=""
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4566 main ()
4570 return 0;
4572 _ACEOF
4573 if ac_fn_c_try_compile "$LINENO"; then :
4575 else
4576 ac_c_werror_flag=$ac_save_c_werror_flag
4577 CFLAGS="-g"
4578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h. */
4582 main ()
4586 return 0;
4588 _ACEOF
4589 if ac_fn_c_try_compile "$LINENO"; then :
4590 ac_cv_prog_cc_g=yes
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4597 ac_c_werror_flag=$ac_save_c_werror_flag
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4600 $as_echo "$ac_cv_prog_cc_g" >&6; }
4601 if test "$ac_test_CFLAGS" = set; then
4602 CFLAGS=$ac_save_CFLAGS
4603 elif test $ac_cv_prog_cc_g = yes; then
4604 if test "$GCC" = yes; then
4605 CFLAGS="-g -O2"
4606 else
4607 CFLAGS="-g"
4609 else
4610 if test "$GCC" = yes; then
4611 CFLAGS="-O2"
4612 else
4613 CFLAGS=
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4617 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4618 if ${ac_cv_prog_cc_c89+:} false; then :
4619 $as_echo_n "(cached) " >&6
4620 else
4621 ac_cv_prog_cc_c89=no
4622 ac_save_CC=$CC
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625 #include <stdarg.h>
4626 #include <stdio.h>
4627 struct stat;
4628 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4629 struct buf { int x; };
4630 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4631 static char *e (p, i)
4632 char **p;
4633 int i;
4635 return p[i];
4637 static char *f (char * (*g) (char **, int), char **p, ...)
4639 char *s;
4640 va_list v;
4641 va_start (v,p);
4642 s = g (p, va_arg (v,int));
4643 va_end (v);
4644 return s;
4647 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4648 function prototypes and stuff, but not '\xHH' hex character constants.
4649 These don't provoke an error unfortunately, instead are silently treated
4650 as 'x'. The following induces an error, until -std is added to get
4651 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4652 array size at least. It's necessary to write '\x00'==0 to get something
4653 that's true only with -std. */
4654 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4656 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4657 inside strings and character constants. */
4658 #define FOO(x) 'x'
4659 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4661 int test (int i, double x);
4662 struct s1 {int (*f) (int a);};
4663 struct s2 {int (*f) (double a);};
4664 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4665 int argc;
4666 char **argv;
4668 main ()
4670 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4672 return 0;
4674 _ACEOF
4675 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4676 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4678 CC="$ac_save_CC $ac_arg"
4679 if ac_fn_c_try_compile "$LINENO"; then :
4680 ac_cv_prog_cc_c89=$ac_arg
4682 rm -f core conftest.err conftest.$ac_objext
4683 test "x$ac_cv_prog_cc_c89" != "xno" && break
4684 done
4685 rm -f conftest.$ac_ext
4686 CC=$ac_save_CC
4689 # AC_CACHE_VAL
4690 case "x$ac_cv_prog_cc_c89" in
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4693 $as_echo "none needed" >&6; } ;;
4694 xno)
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4696 $as_echo "unsupported" >&6; } ;;
4698 CC="$CC $ac_cv_prog_cc_c89"
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4700 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4701 esac
4702 if test "x$ac_cv_prog_cc_c89" != xno; then :
4706 ac_ext=c
4707 ac_cpp='$CPP $CPPFLAGS'
4708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4712 ac_ext=cpp
4713 ac_cpp='$CXXCPP $CPPFLAGS'
4714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4717 if test -z "$CXX"; then
4718 if test -n "$CCC"; then
4719 CXX=$CCC
4720 else
4721 if test -n "$ac_tool_prefix"; then
4722 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_prog_CXX+:} false; then :
4729 $as_echo_n "(cached) " >&6
4730 else
4731 if test -n "$CXX"; then
4732 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4733 else
4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735 for as_dir in $PATH
4737 IFS=$as_save_IFS
4738 test -z "$as_dir" && as_dir=.
4739 for ac_exec_ext in '' $ac_executable_extensions; do
4740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4741 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743 break 2
4745 done
4746 done
4747 IFS=$as_save_IFS
4751 CXX=$ac_cv_prog_CXX
4752 if test -n "$CXX"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4754 $as_echo "$CXX" >&6; }
4755 else
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4761 test -n "$CXX" && break
4762 done
4764 if test -z "$CXX"; then
4765 ac_ct_CXX=$CXX
4766 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4768 # Extract the first word of "$ac_prog", so it can be a program name with args.
4769 set dummy $ac_prog; ac_word=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4773 $as_echo_n "(cached) " >&6
4774 else
4775 if test -n "$ac_ct_CXX"; then
4776 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4777 else
4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4779 for as_dir in $PATH
4781 IFS=$as_save_IFS
4782 test -z "$as_dir" && as_dir=.
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4785 ac_cv_prog_ac_ct_CXX="$ac_prog"
4786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787 break 2
4789 done
4790 done
4791 IFS=$as_save_IFS
4795 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4796 if test -n "$ac_ct_CXX"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4798 $as_echo "$ac_ct_CXX" >&6; }
4799 else
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4805 test -n "$ac_ct_CXX" && break
4806 done
4808 if test "x$ac_ct_CXX" = x; then
4809 CXX="g++"
4810 else
4811 case $cross_compiling:$ac_tool_warned in
4812 yes:)
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4815 ac_tool_warned=yes ;;
4816 esac
4817 CXX=$ac_ct_CXX
4823 # Provide some information about the compiler.
4824 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4825 set X $ac_compile
4826 ac_compiler=$2
4827 for ac_option in --version -v -V -qversion; do
4828 { { ac_try="$ac_compiler $ac_option >&5"
4829 case "(($ac_try" in
4830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4831 *) ac_try_echo=$ac_try;;
4832 esac
4833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4834 $as_echo "$ac_try_echo"; } >&5
4835 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4836 ac_status=$?
4837 if test -s conftest.err; then
4838 sed '10a\
4839 ... rest of stderr output deleted ...
4840 10q' conftest.err >conftest.er1
4841 cat conftest.er1 >&5
4843 rm -f conftest.er1 conftest.err
4844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4845 test $ac_status = 0; }
4846 done
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4849 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4850 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4854 /* end confdefs.h. */
4857 main ()
4859 #ifndef __GNUC__
4860 choke me
4861 #endif
4864 return 0;
4866 _ACEOF
4867 if ac_fn_cxx_try_compile "$LINENO"; then :
4868 ac_compiler_gnu=yes
4869 else
4870 ac_compiler_gnu=no
4872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4873 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4877 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4878 if test $ac_compiler_gnu = yes; then
4879 GXX=yes
4880 else
4881 GXX=
4883 ac_test_CXXFLAGS=${CXXFLAGS+set}
4884 ac_save_CXXFLAGS=$CXXFLAGS
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4886 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4887 if ${ac_cv_prog_cxx_g+:} false; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4891 ac_cxx_werror_flag=yes
4892 ac_cv_prog_cxx_g=no
4893 CXXFLAGS="-g"
4894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4898 main ()
4902 return 0;
4904 _ACEOF
4905 if ac_fn_cxx_try_compile "$LINENO"; then :
4906 ac_cv_prog_cxx_g=yes
4907 else
4908 CXXFLAGS=""
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4913 main ()
4917 return 0;
4919 _ACEOF
4920 if ac_fn_cxx_try_compile "$LINENO"; then :
4922 else
4923 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4924 CXXFLAGS="-g"
4925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4926 /* end confdefs.h. */
4929 main ()
4933 return 0;
4935 _ACEOF
4936 if ac_fn_cxx_try_compile "$LINENO"; then :
4937 ac_cv_prog_cxx_g=yes
4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4944 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4947 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4948 if test "$ac_test_CXXFLAGS" = set; then
4949 CXXFLAGS=$ac_save_CXXFLAGS
4950 elif test $ac_cv_prog_cxx_g = yes; then
4951 if test "$GXX" = yes; then
4952 CXXFLAGS="-g -O2"
4953 else
4954 CXXFLAGS="-g"
4956 else
4957 if test "$GXX" = yes; then
4958 CXXFLAGS="-O2"
4959 else
4960 CXXFLAGS=
4963 ac_ext=c
4964 ac_cpp='$CPP $CPPFLAGS'
4965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4969 if test -n "$ac_tool_prefix"; then
4970 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4971 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4973 $as_echo_n "checking for $ac_word... " >&6; }
4974 if ${ac_cv_prog_CPPBIN+:} false; then :
4975 $as_echo_n "(cached) " >&6
4976 else
4977 if test -n "$CPPBIN"; then
4978 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4979 else
4980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4981 for as_dir in $PATH
4983 IFS=$as_save_IFS
4984 test -z "$as_dir" && as_dir=.
4985 for ac_exec_ext in '' $ac_executable_extensions; do
4986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4987 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 break 2
4991 done
4992 done
4993 IFS=$as_save_IFS
4997 CPPBIN=$ac_cv_prog_CPPBIN
4998 if test -n "$CPPBIN"; then
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5000 $as_echo "$CPPBIN" >&6; }
5001 else
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5003 $as_echo "no" >&6; }
5008 if test -z "$ac_cv_prog_CPPBIN"; then
5009 ac_ct_CPPBIN=$CPPBIN
5010 # Extract the first word of "cpp", so it can be a program name with args.
5011 set dummy cpp; ac_word=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5015 $as_echo_n "(cached) " >&6
5016 else
5017 if test -n "$ac_ct_CPPBIN"; then
5018 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5019 else
5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 for as_dir in $PATH
5023 IFS=$as_save_IFS
5024 test -z "$as_dir" && as_dir=.
5025 for ac_exec_ext in '' $ac_executable_extensions; do
5026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_ac_ct_CPPBIN="cpp"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 break 2
5031 done
5032 done
5033 IFS=$as_save_IFS
5037 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5038 if test -n "$ac_ct_CPPBIN"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5040 $as_echo "$ac_ct_CPPBIN" >&6; }
5041 else
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5046 if test "x$ac_ct_CPPBIN" = x; then
5047 CPPBIN="cpp"
5048 else
5049 case $cross_compiling:$ac_tool_warned in
5050 yes:)
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5053 ac_tool_warned=yes ;;
5054 esac
5055 CPPBIN=$ac_ct_CPPBIN
5057 else
5058 CPPBIN="$ac_cv_prog_CPPBIN"
5062 cat >>confdefs.h <<_ACEOF
5063 #define EXEEXT "$ac_exeext"
5064 _ACEOF
5066 if test -n "$ac_tool_prefix"; then
5067 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5068 set dummy ${ac_tool_prefix}ld; ac_word=$2
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5070 $as_echo_n "checking for $ac_word... " >&6; }
5071 if ${ac_cv_prog_LD+:} false; then :
5072 $as_echo_n "(cached) " >&6
5073 else
5074 if test -n "$LD"; then
5075 ac_cv_prog_LD="$LD" # Let the user override the test.
5076 else
5077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5078 for as_dir in $PATH
5080 IFS=$as_save_IFS
5081 test -z "$as_dir" && as_dir=.
5082 for ac_exec_ext in '' $ac_executable_extensions; do
5083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5084 ac_cv_prog_LD="${ac_tool_prefix}ld"
5085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5086 break 2
5088 done
5089 done
5090 IFS=$as_save_IFS
5094 LD=$ac_cv_prog_LD
5095 if test -n "$LD"; then
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5097 $as_echo "$LD" >&6; }
5098 else
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5105 if test -z "$ac_cv_prog_LD"; then
5106 ac_ct_LD=$LD
5107 # Extract the first word of "ld", so it can be a program name with args.
5108 set dummy ld; ac_word=$2
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5110 $as_echo_n "checking for $ac_word... " >&6; }
5111 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5112 $as_echo_n "(cached) " >&6
5113 else
5114 if test -n "$ac_ct_LD"; then
5115 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5116 else
5117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5118 for as_dir in $PATH
5120 IFS=$as_save_IFS
5121 test -z "$as_dir" && as_dir=.
5122 for ac_exec_ext in '' $ac_executable_extensions; do
5123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5124 ac_cv_prog_ac_ct_LD="ld"
5125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5126 break 2
5128 done
5129 done
5130 IFS=$as_save_IFS
5134 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5135 if test -n "$ac_ct_LD"; then
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5137 $as_echo "$ac_ct_LD" >&6; }
5138 else
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5140 $as_echo "no" >&6; }
5143 if test "x$ac_ct_LD" = x; then
5144 LD=""
5145 else
5146 case $cross_compiling:$ac_tool_warned in
5147 yes:)
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5150 ac_tool_warned=yes ;;
5151 esac
5152 LD=$ac_ct_LD
5154 else
5155 LD="$ac_cv_prog_LD"
5159 case $host in
5160 *-darwin*)
5161 with_fontconfig=${with_fontconfig:-no}
5163 *-mingw32*|*-cygwin*)
5164 enable_win16=${enable_win16:-no}
5165 CFLAGS="$CFLAGS -D_WIN32"
5167 esac
5169 case $host in
5170 x86_64*|amd64*)
5171 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5172 then
5173 CC="$CC -m32"
5174 CXX="$CXX -m32"
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5176 $as_echo_n "checking whether $CC works... " >&6; }
5178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5179 /* end confdefs.h. */
5182 main ()
5186 return 0;
5188 _ACEOF
5189 if ac_fn_c_try_link "$LINENO"; then :
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5191 $as_echo "yes" >&6; }
5192 else
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5195 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5197 rm -f core conftest.err conftest.$ac_objext \
5198 conftest$ac_exeext conftest.$ac_ext
5199 host_cpu="i386"
5200 notice_platform="32-bit "
5201 TARGETFLAGS="-m32"
5203 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5204 export PKG_CONFIG_PATH
5205 enable_win16=${enable_win16:-yes}
5206 else
5207 if test "x${GCC}" = "xyes"
5208 then
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5210 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5212 /* end confdefs.h. */
5213 #include <stdarg.h>
5215 main ()
5217 void func(__builtin_ms_va_list *args);
5219 return 0;
5221 _ACEOF
5222 if ac_fn_c_try_compile "$LINENO"; then :
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5224 $as_echo "yes" >&6; }
5225 else
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5227 $as_echo "no" >&6; }
5228 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5232 CC="$CC -m64"
5233 CXX="$CXX -m64"
5234 host_cpu="x86_64"
5235 notice_platform="64-bit "
5236 TARGETFLAGS="-m64"
5240 arm*)
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5242 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245 int ac_test(int i) { return i; }
5247 main ()
5249 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5251 return 0;
5253 _ACEOF
5254 if ac_fn_c_try_link "$LINENO"; then :
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5256 $as_echo "yes" >&6; }
5257 else
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5260 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5262 rm -f core conftest.err conftest.$ac_objext \
5263 conftest$ac_exeext conftest.$ac_ext
5264 CFLAGS="$CFLAGS -marm"
5265 TARGETFLAGS="-marm"
5268 i[3456789]86*)
5269 enable_win16=${enable_win16:-yes}
5271 esac
5273 enable_win16=${enable_win16:-no}
5274 enable_win64=${enable_win64:-no}
5276 enable_winetest=${enable_winetest:-$enable_tests}
5278 if test -n "$with_wine64"
5279 then
5280 if test "x$enable_win64" = "xyes"
5281 then
5282 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5283 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5285 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5286 You should create a separate build directory and run configure from there." "$LINENO" 5
5287 enable_fonts=${enable_fonts:-no}
5288 enable_server=${enable_server:-no}
5289 elif test "x$enable_win64" = "xyes"
5290 then
5291 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5295 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5296 if ${wine_cv_toolsdir+:} false; then :
5297 $as_echo_n "(cached) " >&6
5298 else
5299 wine_cv_toolsdir="$with_wine_tools"
5300 if test -z "$with_wine_tools"; then
5301 if test "$cross_compiling" = "yes"; then
5302 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5303 elif test -n "$with_wine64"; then
5304 wine_cv_toolsdir="$with_wine64"
5307 if test -z "$wine_cv_toolsdir"; then
5308 wine_makedep=tools/makedep
5309 wine_cv_toolsdir="\$(top_builddir)"
5310 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5311 wine_makedep=$wine_cv_toolsdir/tools/makedep
5312 case "$wine_cv_toolsdir" in
5313 /*) ;;
5314 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5315 esac
5316 enable_tools=${enable_tools:-no}
5317 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5318 else
5319 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5323 $as_echo "$wine_cv_toolsdir" >&6; }
5324 TOOLSDIR=$wine_cv_toolsdir
5326 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5327 then
5328 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5332 for ac_prog in flex
5334 # Extract the first word of "$ac_prog", so it can be a program name with args.
5335 set dummy $ac_prog; ac_word=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if ${ac_cv_prog_FLEX+:} false; then :
5339 $as_echo_n "(cached) " >&6
5340 else
5341 if test -n "$FLEX"; then
5342 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5343 else
5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 for as_dir in $PATH
5347 IFS=$as_save_IFS
5348 test -z "$as_dir" && as_dir=.
5349 for ac_exec_ext in '' $ac_executable_extensions; do
5350 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5351 ac_cv_prog_FLEX="$ac_prog"
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353 break 2
5355 done
5356 done
5357 IFS=$as_save_IFS
5361 FLEX=$ac_cv_prog_FLEX
5362 if test -n "$FLEX"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5364 $as_echo "$FLEX" >&6; }
5365 else
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5371 test -n "$FLEX" && break
5372 done
5373 test -n "$FLEX" || FLEX="none"
5375 if test "$FLEX" = "none"
5376 then
5377 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5380 $as_echo_n "checking whether flex is recent enough... " >&6; }
5381 cat >conftest.l <<EOF
5382 %top{
5383 #include "prediluvian.h"
5387 if $FLEX -t conftest.l >/dev/null 2>&5
5388 then
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5390 $as_echo "yes" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5394 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5397 for ac_prog in bison
5399 # Extract the first word of "$ac_prog", so it can be a program name with args.
5400 set dummy $ac_prog; ac_word=$2
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5402 $as_echo_n "checking for $ac_word... " >&6; }
5403 if ${ac_cv_prog_BISON+:} false; then :
5404 $as_echo_n "(cached) " >&6
5405 else
5406 if test -n "$BISON"; then
5407 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5408 else
5409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5410 for as_dir in $PATH
5412 IFS=$as_save_IFS
5413 test -z "$as_dir" && as_dir=.
5414 for ac_exec_ext in '' $ac_executable_extensions; do
5415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5416 ac_cv_prog_BISON="$ac_prog"
5417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5418 break 2
5420 done
5421 done
5422 IFS=$as_save_IFS
5426 BISON=$ac_cv_prog_BISON
5427 if test -n "$BISON"; then
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5429 $as_echo "$BISON" >&6; }
5430 else
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5432 $as_echo "no" >&6; }
5436 test -n "$BISON" && break
5437 done
5438 test -n "$BISON" || BISON="none"
5440 if test "$BISON" = "none"
5441 then
5442 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5445 if test -n "$ac_tool_prefix"; then
5446 for ac_prog in ar gar
5448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5451 $as_echo_n "checking for $ac_word... " >&6; }
5452 if ${ac_cv_prog_AR+:} false; then :
5453 $as_echo_n "(cached) " >&6
5454 else
5455 if test -n "$AR"; then
5456 ac_cv_prog_AR="$AR" # Let the user override the test.
5457 else
5458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459 for as_dir in $PATH
5461 IFS=$as_save_IFS
5462 test -z "$as_dir" && as_dir=.
5463 for ac_exec_ext in '' $ac_executable_extensions; do
5464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5465 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5467 break 2
5469 done
5470 done
5471 IFS=$as_save_IFS
5475 AR=$ac_cv_prog_AR
5476 if test -n "$AR"; then
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5478 $as_echo "$AR" >&6; }
5479 else
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }
5485 test -n "$AR" && break
5486 done
5488 if test -z "$AR"; then
5489 ac_ct_AR=$AR
5490 for ac_prog in ar gar
5492 # Extract the first word of "$ac_prog", so it can be a program name with args.
5493 set dummy $ac_prog; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if test -n "$ac_ct_AR"; then
5500 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_AR="$ac_prog"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5513 done
5514 done
5515 IFS=$as_save_IFS
5519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5520 if test -n "$ac_ct_AR"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5522 $as_echo "$ac_ct_AR" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5529 test -n "$ac_ct_AR" && break
5530 done
5532 if test "x$ac_ct_AR" = x; then
5533 AR="ar"
5534 else
5535 case $cross_compiling:$ac_tool_warned in
5536 yes:)
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5539 ac_tool_warned=yes ;;
5540 esac
5541 AR=$ac_ct_AR
5545 if test -n "$ac_tool_prefix"; then
5546 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5547 set dummy ${ac_tool_prefix}strip; ac_word=$2
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5549 $as_echo_n "checking for $ac_word... " >&6; }
5550 if ${ac_cv_prog_STRIP+:} false; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if test -n "$STRIP"; then
5554 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5555 else
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH
5559 IFS=$as_save_IFS
5560 test -z "$as_dir" && as_dir=.
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5563 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 break 2
5567 done
5568 done
5569 IFS=$as_save_IFS
5573 STRIP=$ac_cv_prog_STRIP
5574 if test -n "$STRIP"; then
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5576 $as_echo "$STRIP" >&6; }
5577 else
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5579 $as_echo "no" >&6; }
5584 if test -z "$ac_cv_prog_STRIP"; then
5585 ac_ct_STRIP=$STRIP
5586 # Extract the first word of "strip", so it can be a program name with args.
5587 set dummy strip; ac_word=$2
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5589 $as_echo_n "checking for $ac_word... " >&6; }
5590 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5591 $as_echo_n "(cached) " >&6
5592 else
5593 if test -n "$ac_ct_STRIP"; then
5594 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5595 else
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 for as_dir in $PATH
5599 IFS=$as_save_IFS
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5603 ac_cv_prog_ac_ct_STRIP="strip"
5604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 break 2
5607 done
5608 done
5609 IFS=$as_save_IFS
5613 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5614 if test -n "$ac_ct_STRIP"; then
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5616 $as_echo "$ac_ct_STRIP" >&6; }
5617 else
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5619 $as_echo "no" >&6; }
5622 if test "x$ac_ct_STRIP" = x; then
5623 STRIP="strip"
5624 else
5625 case $cross_compiling:$ac_tool_warned in
5626 yes:)
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5629 ac_tool_warned=yes ;;
5630 esac
5631 STRIP=$ac_ct_STRIP
5633 else
5634 STRIP="$ac_cv_prog_STRIP"
5637 ARFLAGS=rc
5639 if test -n "$ac_tool_prefix"; then
5640 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5641 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5643 $as_echo_n "checking for $ac_word... " >&6; }
5644 if ${ac_cv_prog_RANLIB+:} false; then :
5645 $as_echo_n "(cached) " >&6
5646 else
5647 if test -n "$RANLIB"; then
5648 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5649 else
5650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5651 for as_dir in $PATH
5653 IFS=$as_save_IFS
5654 test -z "$as_dir" && as_dir=.
5655 for ac_exec_ext in '' $ac_executable_extensions; do
5656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5659 break 2
5661 done
5662 done
5663 IFS=$as_save_IFS
5667 RANLIB=$ac_cv_prog_RANLIB
5668 if test -n "$RANLIB"; then
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5670 $as_echo "$RANLIB" >&6; }
5671 else
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5673 $as_echo "no" >&6; }
5678 if test -z "$ac_cv_prog_RANLIB"; then
5679 ac_ct_RANLIB=$RANLIB
5680 # Extract the first word of "ranlib", so it can be a program name with args.
5681 set dummy ranlib; ac_word=$2
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -n "$ac_ct_RANLIB"; then
5688 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5689 else
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 for as_dir in $PATH
5693 IFS=$as_save_IFS
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_ac_ct_RANLIB="ranlib"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5699 break 2
5701 done
5702 done
5703 IFS=$as_save_IFS
5707 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5708 if test -n "$ac_ct_RANLIB"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5710 $as_echo "$ac_ct_RANLIB" >&6; }
5711 else
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5716 if test "x$ac_ct_RANLIB" = x; then
5717 RANLIB=":"
5718 else
5719 case $cross_compiling:$ac_tool_warned in
5720 yes:)
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5723 ac_tool_warned=yes ;;
5724 esac
5725 RANLIB=$ac_ct_RANLIB
5727 else
5728 RANLIB="$ac_cv_prog_RANLIB"
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5732 $as_echo_n "checking whether ln -s works... " >&6; }
5733 LN_S=$as_ln_s
5734 if test "$LN_S" = "ln -s"; then
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5736 $as_echo "yes" >&6; }
5737 else
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5739 $as_echo "no, using $LN_S" >&6; }
5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5743 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5744 if ${ac_cv_path_GREP+:} false; then :
5745 $as_echo_n "(cached) " >&6
5746 else
5747 if test -z "$GREP"; then
5748 ac_path_GREP_found=false
5749 # Loop through the user's path and test for each of PROGNAME-LIST
5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5753 IFS=$as_save_IFS
5754 test -z "$as_dir" && as_dir=.
5755 for ac_prog in grep ggrep; do
5756 for ac_exec_ext in '' $ac_executable_extensions; do
5757 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5758 as_fn_executable_p "$ac_path_GREP" || continue
5759 # Check for GNU ac_path_GREP and select it if it is found.
5760 # Check for GNU $ac_path_GREP
5761 case `"$ac_path_GREP" --version 2>&1` in
5762 *GNU*)
5763 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5765 ac_count=0
5766 $as_echo_n 0123456789 >"conftest.in"
5767 while :
5769 cat "conftest.in" "conftest.in" >"conftest.tmp"
5770 mv "conftest.tmp" "conftest.in"
5771 cp "conftest.in" "conftest.nl"
5772 $as_echo 'GREP' >> "conftest.nl"
5773 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5774 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5775 as_fn_arith $ac_count + 1 && ac_count=$as_val
5776 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5777 # Best one so far, save it but keep looking for a better one
5778 ac_cv_path_GREP="$ac_path_GREP"
5779 ac_path_GREP_max=$ac_count
5781 # 10*(2^10) chars as input seems more than enough
5782 test $ac_count -gt 10 && break
5783 done
5784 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5785 esac
5787 $ac_path_GREP_found && break 3
5788 done
5789 done
5790 done
5791 IFS=$as_save_IFS
5792 if test -z "$ac_cv_path_GREP"; then
5793 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5795 else
5796 ac_cv_path_GREP=$GREP
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5801 $as_echo "$ac_cv_path_GREP" >&6; }
5802 GREP="$ac_cv_path_GREP"
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5806 $as_echo_n "checking for egrep... " >&6; }
5807 if ${ac_cv_path_EGREP+:} false; then :
5808 $as_echo_n "(cached) " >&6
5809 else
5810 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5811 then ac_cv_path_EGREP="$GREP -E"
5812 else
5813 if test -z "$EGREP"; then
5814 ac_path_EGREP_found=false
5815 # Loop through the user's path and test for each of PROGNAME-LIST
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_prog in egrep; do
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5824 as_fn_executable_p "$ac_path_EGREP" || continue
5825 # Check for GNU ac_path_EGREP and select it if it is found.
5826 # Check for GNU $ac_path_EGREP
5827 case `"$ac_path_EGREP" --version 2>&1` in
5828 *GNU*)
5829 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5831 ac_count=0
5832 $as_echo_n 0123456789 >"conftest.in"
5833 while :
5835 cat "conftest.in" "conftest.in" >"conftest.tmp"
5836 mv "conftest.tmp" "conftest.in"
5837 cp "conftest.in" "conftest.nl"
5838 $as_echo 'EGREP' >> "conftest.nl"
5839 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5840 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5841 as_fn_arith $ac_count + 1 && ac_count=$as_val
5842 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5843 # Best one so far, save it but keep looking for a better one
5844 ac_cv_path_EGREP="$ac_path_EGREP"
5845 ac_path_EGREP_max=$ac_count
5847 # 10*(2^10) chars as input seems more than enough
5848 test $ac_count -gt 10 && break
5849 done
5850 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5851 esac
5853 $ac_path_EGREP_found && break 3
5854 done
5855 done
5856 done
5857 IFS=$as_save_IFS
5858 if test -z "$ac_cv_path_EGREP"; then
5859 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5861 else
5862 ac_cv_path_EGREP=$EGREP
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5868 $as_echo "$ac_cv_path_EGREP" >&6; }
5869 EGREP="$ac_cv_path_EGREP"
5872 # Extract the first word of "ldconfig", so it can be a program name with args.
5873 set dummy ldconfig; ac_word=$2
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875 $as_echo_n "checking for $ac_word... " >&6; }
5876 if ${ac_cv_path_LDCONFIG+:} false; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 case $LDCONFIG in
5880 [\\/]* | ?:[\\/]*)
5881 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5885 for as_dir in /sbin /usr/sbin $PATH
5887 IFS=$as_save_IFS
5888 test -z "$as_dir" && as_dir=.
5889 for ac_exec_ext in '' $ac_executable_extensions; do
5890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5891 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5893 break 2
5895 done
5896 done
5897 IFS=$as_save_IFS
5899 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5901 esac
5903 LDCONFIG=$ac_cv_path_LDCONFIG
5904 if test -n "$LDCONFIG"; then
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5906 $as_echo "$LDCONFIG" >&6; }
5907 else
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5913 for ac_prog in msgfmt
5915 # Extract the first word of "$ac_prog", so it can be a program name with args.
5916 set dummy $ac_prog; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if ${ac_cv_prog_MSGFMT+:} false; then :
5920 $as_echo_n "(cached) " >&6
5921 else
5922 if test -n "$MSGFMT"; then
5923 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5924 else
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 for as_dir in $PATH
5928 IFS=$as_save_IFS
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_MSGFMT="$ac_prog"
5933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934 break 2
5936 done
5937 done
5938 IFS=$as_save_IFS
5942 MSGFMT=$ac_cv_prog_MSGFMT
5943 if test -n "$MSGFMT"; then
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5945 $as_echo "$MSGFMT" >&6; }
5946 else
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5952 test -n "$MSGFMT" && break
5953 done
5954 test -n "$MSGFMT" || MSGFMT="false"
5956 if ${ac_tool_prefix+:} false; then :
5957 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5958 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$PKG_CONFIG"; then
5965 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5985 if test -n "$PKG_CONFIG"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5987 $as_echo "$PKG_CONFIG" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5995 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5996 if test "x$cross_compiling" = xyes; then :
5998 else
5999 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6000 # Extract the first word of "pkg-config", so it can be a program name with args.
6001 set dummy pkg-config; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$PKG_CONFIG"; then
6008 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_PKG_CONFIG="pkg-config"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6028 if test -n "$PKG_CONFIG"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6030 $as_echo "$PKG_CONFIG" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6038 else
6039 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6042 if test "x$enable_maintainer_mode" != "xyes"
6043 then
6044 FONTFORGE=""
6045 RSVG=""
6046 CONVERT=""
6047 ICOTOOL=""
6048 else
6049 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6050 for ac_prog in fontforge
6052 # Extract the first word of "$ac_prog", so it can be a program name with args.
6053 set dummy $ac_prog; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_FONTFORGE+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$FONTFORGE"; then
6060 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_FONTFORGE="$ac_prog"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 FONTFORGE=$ac_cv_prog_FONTFORGE
6080 if test -n "$FONTFORGE"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6082 $as_echo "$FONTFORGE" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6089 test -n "$FONTFORGE" && break
6090 done
6091 test -n "$FONTFORGE" || FONTFORGE="false"
6093 for ac_prog in rsvg-convert rsvg
6095 # Extract the first word of "$ac_prog", so it can be a program name with args.
6096 set dummy $ac_prog; ac_word=$2
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098 $as_echo_n "checking for $ac_word... " >&6; }
6099 if ${ac_cv_prog_RSVG+:} false; then :
6100 $as_echo_n "(cached) " >&6
6101 else
6102 if test -n "$RSVG"; then
6103 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6108 IFS=$as_save_IFS
6109 test -z "$as_dir" && as_dir=.
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_RSVG="$ac_prog"
6113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 break 2
6116 done
6117 done
6118 IFS=$as_save_IFS
6122 RSVG=$ac_cv_prog_RSVG
6123 if test -n "$RSVG"; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6125 $as_echo "$RSVG" >&6; }
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 $as_echo "no" >&6; }
6132 test -n "$RSVG" && break
6133 done
6134 test -n "$RSVG" || RSVG="false"
6136 for ac_prog in convert
6138 # Extract the first word of "$ac_prog", so it can be a program name with args.
6139 set dummy $ac_prog; ac_word=$2
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6141 $as_echo_n "checking for $ac_word... " >&6; }
6142 if ${ac_cv_prog_CONVERT+:} false; then :
6143 $as_echo_n "(cached) " >&6
6144 else
6145 if test -n "$CONVERT"; then
6146 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6147 else
6148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6149 for as_dir in $PATH
6151 IFS=$as_save_IFS
6152 test -z "$as_dir" && as_dir=.
6153 for ac_exec_ext in '' $ac_executable_extensions; do
6154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6155 ac_cv_prog_CONVERT="$ac_prog"
6156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 break 2
6159 done
6160 done
6161 IFS=$as_save_IFS
6165 CONVERT=$ac_cv_prog_CONVERT
6166 if test -n "$CONVERT"; then
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6168 $as_echo "$CONVERT" >&6; }
6169 else
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6171 $as_echo "no" >&6; }
6175 test -n "$CONVERT" && break
6176 done
6177 test -n "$CONVERT" || CONVERT="false"
6179 for ac_prog in icotool
6181 # Extract the first word of "$ac_prog", so it can be a program name with args.
6182 set dummy $ac_prog; ac_word=$2
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184 $as_echo_n "checking for $ac_word... " >&6; }
6185 if ${ac_cv_prog_ICOTOOL+:} false; then :
6186 $as_echo_n "(cached) " >&6
6187 else
6188 if test -n "$ICOTOOL"; then
6189 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6190 else
6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 for as_dir in $PATH
6194 IFS=$as_save_IFS
6195 test -z "$as_dir" && as_dir=.
6196 for ac_exec_ext in '' $ac_executable_extensions; do
6197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6198 ac_cv_prog_ICOTOOL="$ac_prog"
6199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6200 break 2
6202 done
6203 done
6204 IFS=$as_save_IFS
6208 ICOTOOL=$ac_cv_prog_ICOTOOL
6209 if test -n "$ICOTOOL"; then
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6211 $as_echo "$ICOTOOL" >&6; }
6212 else
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214 $as_echo "no" >&6; }
6218 test -n "$ICOTOOL" && break
6219 done
6220 test -n "$ICOTOOL" || ICOTOOL="false"
6222 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6223 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6225 if test "$CONVERT" = false
6226 then
6227 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6228 else
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6230 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6231 convert_version=`convert --version | head -n1`
6232 if test "x$convert_version" != "x"
6233 then
6234 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6235 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6236 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6237 then
6238 CONVERT=false
6241 if test "$CONVERT" = false
6242 then
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6244 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6245 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6246 else
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6248 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6252 if test "$ICOTOOL" = false
6253 then
6254 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6255 else
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6257 $as_echo_n "checking for recent enough icotool... " >&6; }
6258 icotool_version=`icotool --version | head -n1`
6259 if test "x$icotool_version" != "x"
6260 then
6261 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6262 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6263 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6264 then
6265 ICOTOOL=false
6266 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6269 if test "$ICOTOOL" = false
6270 then
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6272 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6273 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6274 else
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6276 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6280 with_gettext=yes
6281 with_gettextpo=yes
6282 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6285 test "x$with_gettext" != xno || MSGFMT=false
6286 if test "$MSGFMT" != "false"
6287 then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6289 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6290 cat >conftest.po <<EOF
6291 # comment
6292 msgctxt "ctxt"
6293 msgid "id"
6294 msgstr "str"
6296 if $MSGFMT -o /dev/null conftest.po 2>&5
6297 then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6299 $as_echo "yes" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6303 MSGFMT=false
6306 if test "$MSGFMT" = false; then :
6307 case "x$with_gettext" in
6308 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6309 xno) ;;
6310 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6311 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6312 esac
6313 enable_po=${enable_po:-no}
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6318 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6319 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6320 $as_echo_n "(cached) " >&6
6321 else
6322 ac_check_lib_save_LIBS=$LIBS
6323 LIBS="-li386 $LIBS"
6324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325 /* end confdefs.h. */
6327 /* Override any GCC internal prototype to avoid an error.
6328 Use char because int might match the return type of a GCC
6329 builtin and then its argument prototype would still apply. */
6330 #ifdef __cplusplus
6331 extern "C"
6332 #endif
6333 char i386_set_ldt ();
6335 main ()
6337 return i386_set_ldt ();
6339 return 0;
6341 _ACEOF
6342 if ac_fn_c_try_link "$LINENO"; then :
6343 ac_cv_lib_i386_i386_set_ldt=yes
6344 else
6345 ac_cv_lib_i386_i386_set_ldt=no
6347 rm -f core conftest.err conftest.$ac_objext \
6348 conftest$ac_exeext conftest.$ac_ext
6349 LIBS=$ac_check_lib_save_LIBS
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6352 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6353 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6354 cat >>confdefs.h <<_ACEOF
6355 #define HAVE_LIBI386 1
6356 _ACEOF
6358 LIBS="-li386 $LIBS"
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6363 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6364 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6365 $as_echo_n "(cached) " >&6
6366 else
6367 ac_check_lib_save_LIBS=$LIBS
6368 LIBS="-lossaudio $LIBS"
6369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370 /* end confdefs.h. */
6372 /* Override any GCC internal prototype to avoid an error.
6373 Use char because int might match the return type of a GCC
6374 builtin and then its argument prototype would still apply. */
6375 #ifdef __cplusplus
6376 extern "C"
6377 #endif
6378 char _oss_ioctl ();
6380 main ()
6382 return _oss_ioctl ();
6384 return 0;
6386 _ACEOF
6387 if ac_fn_c_try_link "$LINENO"; then :
6388 ac_cv_lib_ossaudio__oss_ioctl=yes
6389 else
6390 ac_cv_lib_ossaudio__oss_ioctl=no
6392 rm -f core conftest.err conftest.$ac_objext \
6393 conftest$ac_exeext conftest.$ac_ext
6394 LIBS=$ac_check_lib_save_LIBS
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6397 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6398 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6399 cat >>confdefs.h <<_ACEOF
6400 #define HAVE_LIBOSSAUDIO 1
6401 _ACEOF
6403 LIBS="-lossaudio $LIBS"
6408 OPENGL_LIBS=""
6412 # Check whether --enable-largefile was given.
6413 if test "${enable_largefile+set}" = set; then :
6414 enableval=$enable_largefile;
6417 if test "$enable_largefile" != no; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6420 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6421 if ${ac_cv_sys_largefile_CC+:} false; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 ac_cv_sys_largefile_CC=no
6425 if test "$GCC" != yes; then
6426 ac_save_CC=$CC
6427 while :; do
6428 # IRIX 6.2 and later do not support large files by default,
6429 # so use the C compiler's -n32 option if that helps.
6430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6431 /* end confdefs.h. */
6432 #include <sys/types.h>
6433 /* Check that off_t can represent 2**63 - 1 correctly.
6434 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6435 since some C++ compilers masquerading as C compilers
6436 incorrectly reject 9223372036854775807. */
6437 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6438 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6439 && LARGE_OFF_T % 2147483647 == 1)
6440 ? 1 : -1];
6442 main ()
6446 return 0;
6448 _ACEOF
6449 if ac_fn_c_try_compile "$LINENO"; then :
6450 break
6452 rm -f core conftest.err conftest.$ac_objext
6453 CC="$CC -n32"
6454 if ac_fn_c_try_compile "$LINENO"; then :
6455 ac_cv_sys_largefile_CC=' -n32'; break
6457 rm -f core conftest.err conftest.$ac_objext
6458 break
6459 done
6460 CC=$ac_save_CC
6461 rm -f conftest.$ac_ext
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6465 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6466 if test "$ac_cv_sys_largefile_CC" != no; then
6467 CC=$CC$ac_cv_sys_largefile_CC
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6471 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6472 if ${ac_cv_sys_file_offset_bits+:} false; then :
6473 $as_echo_n "(cached) " >&6
6474 else
6475 while :; do
6476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6478 #include <sys/types.h>
6479 /* Check that off_t can represent 2**63 - 1 correctly.
6480 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6481 since some C++ compilers masquerading as C compilers
6482 incorrectly reject 9223372036854775807. */
6483 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6484 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6485 && LARGE_OFF_T % 2147483647 == 1)
6486 ? 1 : -1];
6488 main ()
6492 return 0;
6494 _ACEOF
6495 if ac_fn_c_try_compile "$LINENO"; then :
6496 ac_cv_sys_file_offset_bits=no; break
6498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6500 /* end confdefs.h. */
6501 #define _FILE_OFFSET_BITS 64
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=64; break
6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6523 ac_cv_sys_file_offset_bits=unknown
6524 break
6525 done
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6528 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6529 case $ac_cv_sys_file_offset_bits in #(
6530 no | unknown) ;;
6532 cat >>confdefs.h <<_ACEOF
6533 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6534 _ACEOF
6536 esac
6537 rm -rf conftest*
6538 if test $ac_cv_sys_file_offset_bits = unknown; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6540 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6541 if ${ac_cv_sys_large_files+:} false; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 while :; do
6545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6546 /* end confdefs.h. */
6547 #include <sys/types.h>
6548 /* Check that off_t can represent 2**63 - 1 correctly.
6549 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6550 since some C++ compilers masquerading as C compilers
6551 incorrectly reject 9223372036854775807. */
6552 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6553 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6554 && LARGE_OFF_T % 2147483647 == 1)
6555 ? 1 : -1];
6557 main ()
6561 return 0;
6563 _ACEOF
6564 if ac_fn_c_try_compile "$LINENO"; then :
6565 ac_cv_sys_large_files=no; break
6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #define _LARGE_FILES 1
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=1; break
6591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6592 ac_cv_sys_large_files=unknown
6593 break
6594 done
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6597 $as_echo "$ac_cv_sys_large_files" >&6; }
6598 case $ac_cv_sys_large_files in #(
6599 no | unknown) ;;
6601 cat >>confdefs.h <<_ACEOF
6602 #define _LARGE_FILES $ac_cv_sys_large_files
6603 _ACEOF
6605 esac
6606 rm -rf conftest*
6613 ac_ext=c
6614 ac_cpp='$CPP $CPPFLAGS'
6615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6619 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6620 # On Suns, sometimes $CPP names a directory.
6621 if test -n "$CPP" && test -d "$CPP"; then
6622 CPP=
6624 if test -z "$CPP"; then
6625 if ${ac_cv_prog_CPP+:} false; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 # Double quotes because CPP needs to be expanded
6629 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6631 ac_preproc_ok=false
6632 for ac_c_preproc_warn_flag in '' yes
6634 # Use a header file that comes with gcc, so configuring glibc
6635 # with a fresh cross-compiler works.
6636 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6637 # <limits.h> exists even on freestanding compilers.
6638 # On the NeXT, cc -E runs the code through the compiler's parser,
6639 # not just through cpp. "Syntax error" is here to catch this case.
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #ifdef __STDC__
6643 # include <limits.h>
6644 #else
6645 # include <assert.h>
6646 #endif
6647 Syntax error
6648 _ACEOF
6649 if ac_fn_c_try_cpp "$LINENO"; then :
6651 else
6652 # Broken: fails on valid input.
6653 continue
6655 rm -f conftest.err conftest.i conftest.$ac_ext
6657 # OK, works on sane cases. Now check whether nonexistent headers
6658 # can be detected and how.
6659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 #include <ac_nonexistent.h>
6662 _ACEOF
6663 if ac_fn_c_try_cpp "$LINENO"; then :
6664 # Broken: success on invalid input.
6665 continue
6666 else
6667 # Passes both tests.
6668 ac_preproc_ok=:
6669 break
6671 rm -f conftest.err conftest.i conftest.$ac_ext
6673 done
6674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6675 rm -f conftest.i conftest.err conftest.$ac_ext
6676 if $ac_preproc_ok; then :
6677 break
6680 done
6681 ac_cv_prog_CPP=$CPP
6684 CPP=$ac_cv_prog_CPP
6685 else
6686 ac_cv_prog_CPP=$CPP
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6689 $as_echo "$CPP" >&6; }
6690 ac_preproc_ok=false
6691 for ac_c_preproc_warn_flag in '' yes
6693 # Use a header file that comes with gcc, so configuring glibc
6694 # with a fresh cross-compiler works.
6695 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6696 # <limits.h> exists even on freestanding compilers.
6697 # On the NeXT, cc -E runs the code through the compiler's parser,
6698 # not just through cpp. "Syntax error" is here to catch this case.
6699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6700 /* end confdefs.h. */
6701 #ifdef __STDC__
6702 # include <limits.h>
6703 #else
6704 # include <assert.h>
6705 #endif
6706 Syntax error
6707 _ACEOF
6708 if ac_fn_c_try_cpp "$LINENO"; then :
6710 else
6711 # Broken: fails on valid input.
6712 continue
6714 rm -f conftest.err conftest.i conftest.$ac_ext
6716 # OK, works on sane cases. Now check whether nonexistent headers
6717 # can be detected and how.
6718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6719 /* end confdefs.h. */
6720 #include <ac_nonexistent.h>
6721 _ACEOF
6722 if ac_fn_c_try_cpp "$LINENO"; then :
6723 # Broken: success on invalid input.
6724 continue
6725 else
6726 # Passes both tests.
6727 ac_preproc_ok=:
6728 break
6730 rm -f conftest.err conftest.i conftest.$ac_ext
6732 done
6733 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6734 rm -f conftest.i conftest.err conftest.$ac_ext
6735 if $ac_preproc_ok; then :
6737 else
6738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6740 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6741 See \`config.log' for more details" "$LINENO" 5; }
6744 ac_ext=c
6745 ac_cpp='$CPP $CPPFLAGS'
6746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6752 $as_echo_n "checking for ANSI C header files... " >&6; }
6753 if ${ac_cv_header_stdc+:} false; then :
6754 $as_echo_n "(cached) " >&6
6755 else
6756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h. */
6758 #include <stdlib.h>
6759 #include <stdarg.h>
6760 #include <string.h>
6761 #include <float.h>
6764 main ()
6768 return 0;
6770 _ACEOF
6771 if ac_fn_c_try_compile "$LINENO"; then :
6772 ac_cv_header_stdc=yes
6773 else
6774 ac_cv_header_stdc=no
6776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6778 if test $ac_cv_header_stdc = yes; then
6779 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6782 #include <string.h>
6784 _ACEOF
6785 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6786 $EGREP "memchr" >/dev/null 2>&1; then :
6788 else
6789 ac_cv_header_stdc=no
6791 rm -f conftest*
6795 if test $ac_cv_header_stdc = yes; then
6796 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6799 #include <stdlib.h>
6801 _ACEOF
6802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6803 $EGREP "free" >/dev/null 2>&1; then :
6805 else
6806 ac_cv_header_stdc=no
6808 rm -f conftest*
6812 if test $ac_cv_header_stdc = yes; then
6813 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6814 if test "$cross_compiling" = yes; then :
6816 else
6817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6818 /* end confdefs.h. */
6819 #include <ctype.h>
6820 #include <stdlib.h>
6821 #if ((' ' & 0x0FF) == 0x020)
6822 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6823 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6824 #else
6825 # define ISLOWER(c) \
6826 (('a' <= (c) && (c) <= 'i') \
6827 || ('j' <= (c) && (c) <= 'r') \
6828 || ('s' <= (c) && (c) <= 'z'))
6829 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6830 #endif
6832 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6834 main ()
6836 int i;
6837 for (i = 0; i < 256; i++)
6838 if (XOR (islower (i), ISLOWER (i))
6839 || toupper (i) != TOUPPER (i))
6840 return 2;
6841 return 0;
6843 _ACEOF
6844 if ac_fn_c_try_run "$LINENO"; then :
6846 else
6847 ac_cv_header_stdc=no
6849 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6850 conftest.$ac_objext conftest.beam conftest.$ac_ext
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6856 $as_echo "$ac_cv_header_stdc" >&6; }
6857 if test $ac_cv_header_stdc = yes; then
6859 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6863 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6864 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6865 inttypes.h stdint.h unistd.h
6866 do :
6867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6868 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6870 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6871 cat >>confdefs.h <<_ACEOF
6872 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6873 _ACEOF
6877 done
6880 for ac_header in \
6881 AL/al.h \
6882 ApplicationServices/ApplicationServices.h \
6883 AudioToolbox/AudioConverter.h \
6884 AudioUnit/AudioUnit.h \
6885 AudioUnit/AudioComponent.h \
6886 CL/cl.h \
6887 Carbon/Carbon.h \
6888 CommonCrypto/CommonDigest.h \
6889 CoreAudio/CoreAudio.h \
6890 CoreServices/CoreServices.h \
6891 DiskArbitration/DiskArbitration.h \
6892 EGL/egl.h \
6893 IOKit/IOKitLib.h \
6894 IOKit/hid/IOHIDLib.h \
6895 OpenAL/al.h \
6896 OpenCL/opencl.h \
6897 QuickTime/ImageCompression.h \
6898 Security/Security.h \
6899 alias.h \
6900 alsa/asoundlib.h \
6901 arpa/inet.h \
6902 arpa/nameser.h \
6903 asm/types.h \
6904 asm/user.h \
6905 curses.h \
6906 direct.h \
6907 dirent.h \
6908 dlfcn.h \
6909 elf.h \
6910 float.h \
6911 fnmatch.h \
6912 getopt.h \
6913 gettext-po.h \
6914 grp.h \
6915 gsm.h \
6916 gsm/gsm.h \
6917 ieeefp.h \
6918 inet/mib2.h \
6919 io.h \
6920 kstat.h \
6921 libproc.h \
6922 link.h \
6923 linux/cdrom.h \
6924 linux/compiler.h \
6925 linux/filter.h \
6926 linux/hdreg.h \
6927 linux/hidraw.h \
6928 linux/input.h \
6929 linux/ioctl.h \
6930 linux/joystick.h \
6931 linux/major.h \
6932 linux/param.h \
6933 linux/serial.h \
6934 linux/types.h \
6935 linux/ucdrom.h \
6936 lwp.h \
6937 mach-o/nlist.h \
6938 mach-o/loader.h \
6939 mach/mach.h \
6940 mach/machine.h \
6941 machine/cpu.h \
6942 machine/limits.h \
6943 machine/sysarch.h \
6944 mntent.h \
6945 ncurses.h \
6946 netdb.h \
6947 netinet/in.h \
6948 netinet/in_systm.h \
6949 netinet/tcp.h \
6950 netinet/tcp_fsm.h \
6951 pcap/pcap.h \
6952 poll.h \
6953 port.h \
6954 process.h \
6955 pthread.h \
6956 pwd.h \
6957 sched.h \
6958 scsi/scsi.h \
6959 scsi/scsi_ioctl.h \
6960 scsi/sg.h \
6961 stdbool.h \
6962 stdint.h \
6963 stropts.h \
6964 sys/asoundlib.h \
6965 sys/attr.h \
6966 sys/auxv.h \
6967 sys/cdio.h \
6968 sys/elf32.h \
6969 sys/epoll.h \
6970 sys/event.h \
6971 sys/exec_elf.h \
6972 sys/filio.h \
6973 sys/inotify.h \
6974 sys/ioctl.h \
6975 sys/ipc.h \
6976 sys/limits.h \
6977 sys/link.h \
6978 sys/mman.h \
6979 sys/modem.h \
6980 sys/msg.h \
6981 sys/mtio.h \
6982 sys/param.h \
6983 sys/poll.h \
6984 sys/prctl.h \
6985 sys/protosw.h \
6986 sys/ptrace.h \
6987 sys/queue.h \
6988 sys/resource.h \
6989 sys/scsiio.h \
6990 sys/shm.h \
6991 sys/signal.h \
6992 sys/socket.h \
6993 sys/socketvar.h \
6994 sys/sockio.h \
6995 sys/statvfs.h \
6996 sys/strtio.h \
6997 sys/syscall.h \
6998 sys/sysinfo.h \
6999 sys/tihdr.h \
7000 sys/time.h \
7001 sys/timeout.h \
7002 sys/times.h \
7003 sys/uio.h \
7004 sys/user.h \
7005 sys/utsname.h \
7006 sys/vm86.h \
7007 sys/vnode.h \
7008 sys/wait.h \
7009 syscall.h \
7010 termios.h \
7011 unistd.h \
7012 utime.h \
7013 valgrind/memcheck.h \
7014 valgrind/valgrind.h \
7015 zlib.h
7017 do :
7018 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7019 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7020 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7021 cat >>confdefs.h <<_ACEOF
7022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7023 _ACEOF
7027 done
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7030 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7031 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7032 $as_echo_n "(cached) " >&6
7033 else
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7036 #include <sys/types.h>
7038 main ()
7040 return makedev(0, 0);
7042 return 0;
7044 _ACEOF
7045 if ac_fn_c_try_link "$LINENO"; then :
7046 ac_cv_header_sys_types_h_makedev=yes
7047 else
7048 ac_cv_header_sys_types_h_makedev=no
7050 rm -f core conftest.err conftest.$ac_objext \
7051 conftest$ac_exeext conftest.$ac_ext
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7055 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7057 if test $ac_cv_header_sys_types_h_makedev = no; then
7058 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7059 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7061 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7067 if test $ac_cv_header_sys_mkdev_h = no; then
7068 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7069 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7071 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7080 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7081 if ${ac_cv_header_stat_broken+:} false; then :
7082 $as_echo_n "(cached) " >&6
7083 else
7084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h. */
7086 #include <sys/types.h>
7087 #include <sys/stat.h>
7089 #if defined S_ISBLK && defined S_IFDIR
7090 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7091 #endif
7093 #if defined S_ISBLK && defined S_IFCHR
7094 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7095 #endif
7097 #if defined S_ISLNK && defined S_IFREG
7098 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7099 #endif
7101 #if defined S_ISSOCK && defined S_IFREG
7102 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7103 #endif
7105 _ACEOF
7106 if ac_fn_c_try_compile "$LINENO"; then :
7107 ac_cv_header_stat_broken=no
7108 else
7109 ac_cv_header_stat_broken=yes
7111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7114 $as_echo "$ac_cv_header_stat_broken" >&6; }
7115 if test $ac_cv_header_stat_broken = yes; then
7117 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7123 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7124 do :
7125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7126 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7127 #ifdef HAVE_SYS_PARAM_H
7128 # include <sys/param.h>
7129 #endif
7131 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7132 cat >>confdefs.h <<_ACEOF
7133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7134 _ACEOF
7138 done
7141 for ac_header in \
7142 netinet/ip.h \
7143 net/if.h \
7144 net/if_arp.h \
7145 net/if_dl.h \
7146 net/if_types.h \
7147 net/route.h \
7148 netinet/if_ether.h \
7149 netinet/if_inarp.h \
7150 netinet/in_pcb.h \
7151 netinet/ip_icmp.h \
7152 netinet/ip_var.h \
7153 netinet/udp.h \
7154 netipx/ipx.h \
7155 sys/un.h \
7157 do :
7158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7159 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7160 #ifdef HAVE_SYS_SOCKET_H
7161 # include <sys/socket.h>
7162 #endif
7163 #ifdef HAVE_SYS_SOCKETVAR_H
7164 # include <sys/socketvar.h>
7165 #endif
7166 #ifdef HAVE_NET_ROUTE_H
7167 # include <net/route.h>
7168 #endif
7169 #ifdef HAVE_NETINET_IN_H
7170 # include <netinet/in.h>
7171 #endif
7172 #ifdef HAVE_NETINET_IN_SYSTM_H
7173 # include <netinet/in_systm.h>
7174 #endif
7175 #ifdef HAVE_NET_IF_H
7176 # include <net/if.h>
7177 #endif
7178 #ifdef HAVE_NETINET_IP_H
7179 # include <netinet/ip.h>
7180 #endif
7182 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7183 cat >>confdefs.h <<_ACEOF
7184 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7185 _ACEOF
7189 done
7192 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7193 do :
7194 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7195 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7196 #ifdef HAVE_ALIAS_H
7197 # include <alias.h>
7198 #endif
7199 #ifdef HAVE_SYS_SOCKET_H
7200 # include <sys/socket.h>
7201 #endif
7202 #ifdef HAVE_SYS_SOCKETVAR_H
7203 # include <sys/socketvar.h>
7204 #endif
7205 #ifdef HAVE_SYS_TIMEOUT_H
7206 # include <sys/timeout.h>
7207 #endif
7208 #ifdef HAVE_NETINET_IN_H
7209 # include <netinet/in.h>
7210 #endif
7211 #ifdef HAVE_NETINET_IN_SYSTM_H
7212 # include <netinet/in_systm.h>
7213 #endif
7214 #ifdef HAVE_NETINET_IP_H
7215 # include <netinet/ip.h>
7216 #endif
7217 #ifdef HAVE_NETINET_IP_VAR_H
7218 # include <netinet/ip_var.h>
7219 #endif
7220 #ifdef HAVE_NETINET_IP_ICMP_H
7221 # include <netinet/ip_icmp.h>
7222 #endif
7223 #ifdef HAVE_NETINET_UDP_H
7224 # include <netinet/udp.h>
7225 #endif
7226 #ifdef HAVE_NETINET_TCP_H
7227 # include <netinet/tcp.h>
7228 #endif
7229 #ifdef HAVE_NETINET_TCP_TIMER_H
7230 #include <netinet/tcp_timer.h>
7231 #endif
7233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7234 cat >>confdefs.h <<_ACEOF
7235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7236 _ACEOF
7240 done
7243 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7244 do :
7245 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7246 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7247 #ifdef HAVE_ASM_TYPES_H
7248 # include <asm/types.h>
7249 #endif
7250 #ifdef HAVE_SYS_SOCKET_H
7251 # include <sys/socket.h>
7252 #endif
7253 #ifdef HAVE_LINUX_TYPES_H
7254 # include <linux/types.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 mach-o/dyld_images.h
7268 do :
7269 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7270 # include <stdbool.h>
7271 #endif
7272 #ifdef HAVE_STDINT_H
7273 # include <stdint.h>
7274 #endif
7276 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7277 cat >>confdefs.h <<_ACEOF
7278 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7279 _ACEOF
7283 done
7286 for ac_header in resolv.h
7287 do :
7288 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7289 #ifdef HAVE_SYS_SOCKET_H
7290 # include <sys/socket.h>
7291 #endif
7292 #ifdef HAVE_NETINET_IN_H
7293 # include <netinet/in.h>
7294 #endif
7295 #ifdef HAVE_ARPA_NAMESER_H
7296 # include <arpa/nameser.h>
7297 #endif
7299 if test "x$ac_cv_header_resolv_h" = xyes; then :
7300 cat >>confdefs.h <<_ACEOF
7301 #define HAVE_RESOLV_H 1
7302 _ACEOF
7306 done
7309 for ac_header in ifaddrs.h
7310 do :
7311 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7313 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7314 cat >>confdefs.h <<_ACEOF
7315 #define HAVE_IFADDRS_H 1
7316 _ACEOF
7320 done
7323 for ac_header in sys/ucontext.h
7324 do :
7325 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7327 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7328 cat >>confdefs.h <<_ACEOF
7329 #define HAVE_SYS_UCONTEXT_H 1
7330 _ACEOF
7334 done
7337 for ac_header in sys/thr.h
7338 do :
7339 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7340 #ifdef HAVE_SYS_UCONTEXT_H
7341 #include <sys/ucontext.h>
7342 #endif
7344 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7345 cat >>confdefs.h <<_ACEOF
7346 #define HAVE_SYS_THR_H 1
7347 _ACEOF
7351 done
7354 for ac_header in pthread_np.h
7355 do :
7356 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7357 #include <pthread.h>
7358 #endif
7360 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7361 cat >>confdefs.h <<_ACEOF
7362 #define HAVE_PTHREAD_NP_H 1
7363 _ACEOF
7367 done
7370 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7371 do :
7372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7373 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7374 #include <sys/time.h>
7375 #endif
7376 #include <sys/types.h>
7377 #ifdef HAVE_ASM_TYPES_H
7378 #include <asm/types.h>
7379 #endif
7381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7382 cat >>confdefs.h <<_ACEOF
7383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7384 _ACEOF
7388 done
7391 for ac_header in libprocstat.h
7392 do :
7393 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7394 #include <sys/param.h>
7395 #endif
7396 #ifdef HAVE_SYS_QUEUE_H
7397 #include <sys/queue.h>
7398 #endif
7399 #ifdef HAVE_SYS_SOCKET_H
7400 #include <sys/socket.h>
7401 #endif
7403 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7404 cat >>confdefs.h <<_ACEOF
7405 #define HAVE_LIBPROCSTAT_H 1
7406 _ACEOF
7410 done
7414 dlldir="\${libdir}/wine"
7416 DLLFLAGS="-D_REENTRANT"
7418 LDRPATH_INSTALL=""
7420 LDRPATH_LOCAL=""
7422 LDEXECFLAGS=""
7424 WINELOADER_LDFLAGS=""
7426 LIBEXT="so"
7427 DLLEXT=".so"
7428 IMPLIBEXT="def"
7429 # Extract the first word of "ldd", so it can be a program name with args.
7430 set dummy ldd; ac_word=$2
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7432 $as_echo_n "checking for $ac_word... " >&6; }
7433 if ${ac_cv_path_LDD+:} false; then :
7434 $as_echo_n "(cached) " >&6
7435 else
7436 case $LDD in
7437 [\\/]* | ?:[\\/]*)
7438 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 as_dummy="/sbin:/usr/sbin:$PATH"
7443 for as_dir in $as_dummy
7445 IFS=$as_save_IFS
7446 test -z "$as_dir" && as_dir=.
7447 for ac_exec_ext in '' $ac_executable_extensions; do
7448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7449 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7451 break 2
7453 done
7454 done
7455 IFS=$as_save_IFS
7457 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7459 esac
7461 LDD=$ac_cv_path_LDD
7462 if test -n "$LDD"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7464 $as_echo "$LDD" >&6; }
7465 else
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467 $as_echo "no" >&6; }
7471 if test -n "$ac_tool_prefix"; then
7472 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7473 set dummy ${ac_tool_prefix}otool; ac_word=$2
7474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7475 $as_echo_n "checking for $ac_word... " >&6; }
7476 if ${ac_cv_prog_OTOOL+:} false; then :
7477 $as_echo_n "(cached) " >&6
7478 else
7479 if test -n "$OTOOL"; then
7480 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7481 else
7482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7483 for as_dir in $PATH
7485 IFS=$as_save_IFS
7486 test -z "$as_dir" && as_dir=.
7487 for ac_exec_ext in '' $ac_executable_extensions; do
7488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7489 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 break 2
7493 done
7494 done
7495 IFS=$as_save_IFS
7499 OTOOL=$ac_cv_prog_OTOOL
7500 if test -n "$OTOOL"; then
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7502 $as_echo "$OTOOL" >&6; }
7503 else
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7505 $as_echo "no" >&6; }
7510 if test -z "$ac_cv_prog_OTOOL"; then
7511 ac_ct_OTOOL=$OTOOL
7512 # Extract the first word of "otool", so it can be a program name with args.
7513 set dummy otool; ac_word=$2
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7515 $as_echo_n "checking for $ac_word... " >&6; }
7516 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7517 $as_echo_n "(cached) " >&6
7518 else
7519 if test -n "$ac_ct_OTOOL"; then
7520 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7521 else
7522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523 for as_dir in $PATH
7525 IFS=$as_save_IFS
7526 test -z "$as_dir" && as_dir=.
7527 for ac_exec_ext in '' $ac_executable_extensions; do
7528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7529 ac_cv_prog_ac_ct_OTOOL="otool"
7530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7531 break 2
7533 done
7534 done
7535 IFS=$as_save_IFS
7539 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7540 if test -n "$ac_ct_OTOOL"; then
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7542 $as_echo "$ac_ct_OTOOL" >&6; }
7543 else
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7545 $as_echo "no" >&6; }
7548 if test "x$ac_ct_OTOOL" = x; then
7549 OTOOL="otool"
7550 else
7551 case $cross_compiling:$ac_tool_warned in
7552 yes:)
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7555 ac_tool_warned=yes ;;
7556 esac
7557 OTOOL=$ac_ct_OTOOL
7559 else
7560 OTOOL="$ac_cv_prog_OTOOL"
7563 if test -n "$ac_tool_prefix"; then
7564 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7565 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567 $as_echo_n "checking for $ac_word... " >&6; }
7568 if ${ac_cv_prog_READELF+:} false; then :
7569 $as_echo_n "(cached) " >&6
7570 else
7571 if test -n "$READELF"; then
7572 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7573 else
7574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7575 for as_dir in $PATH
7577 IFS=$as_save_IFS
7578 test -z "$as_dir" && as_dir=.
7579 for ac_exec_ext in '' $ac_executable_extensions; do
7580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7581 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7583 break 2
7585 done
7586 done
7587 IFS=$as_save_IFS
7591 READELF=$ac_cv_prog_READELF
7592 if test -n "$READELF"; then
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7594 $as_echo "$READELF" >&6; }
7595 else
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7597 $as_echo "no" >&6; }
7602 if test -z "$ac_cv_prog_READELF"; then
7603 ac_ct_READELF=$READELF
7604 # Extract the first word of "readelf", so it can be a program name with args.
7605 set dummy readelf; ac_word=$2
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7607 $as_echo_n "checking for $ac_word... " >&6; }
7608 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7609 $as_echo_n "(cached) " >&6
7610 else
7611 if test -n "$ac_ct_READELF"; then
7612 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7613 else
7614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615 for as_dir in $PATH
7617 IFS=$as_save_IFS
7618 test -z "$as_dir" && as_dir=.
7619 for ac_exec_ext in '' $ac_executable_extensions; do
7620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7621 ac_cv_prog_ac_ct_READELF="readelf"
7622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7623 break 2
7625 done
7626 done
7627 IFS=$as_save_IFS
7631 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7632 if test -n "$ac_ct_READELF"; then
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7634 $as_echo "$ac_ct_READELF" >&6; }
7635 else
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7637 $as_echo "no" >&6; }
7640 if test "x$ac_ct_READELF" = x; then
7641 READELF="true"
7642 else
7643 case $cross_compiling:$ac_tool_warned in
7644 yes:)
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7647 ac_tool_warned=yes ;;
7648 esac
7649 READELF=$ac_ct_READELF
7651 else
7652 READELF="$ac_cv_prog_READELF"
7655 wine_rules_file=conf$$rules.make
7656 rm -f $wine_rules_file
7657 SUBDIRS=""
7659 DISABLED_SUBDIRS=""
7661 CONFIGURE_TARGETS=""
7663 ALL_TEST_RESOURCES=""
7666 wine_fn_append_file ()
7668 as_fn_append $1 " \\$as_nl $2"
7671 wine_fn_append_rule ()
7673 $as_echo "$1" >>$wine_rules_file
7676 wine_fn_has_flag ()
7678 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7681 wine_fn_all_rules ()
7683 wine_fn_append_file SUBDIRS $ac_dir
7684 wine_fn_append_rule \
7685 "all: $ac_dir
7686 .PHONY: $ac_dir
7687 $ac_dir: dummy
7688 @cd $ac_dir && \$(MAKE)"
7691 wine_fn_install_rules ()
7693 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7695 wine_fn_append_rule \
7696 ".PHONY: $ac_dir/install $ac_dir/uninstall
7697 $ac_dir/install:: $ac_dir
7698 @cd $ac_dir && \$(MAKE) install
7699 $ac_dir/uninstall::
7700 @cd $ac_dir && \$(MAKE) uninstall
7701 install:: $ac_dir/install
7702 __uninstall__: $ac_dir/uninstall"
7704 if wine_fn_has_flag install-lib
7705 then
7706 wine_fn_append_rule \
7707 ".PHONY: $ac_dir/install-lib
7708 $ac_dir/install-lib:: $ac_dir
7709 @cd $ac_dir && \$(MAKE) install-lib
7710 install-lib:: $ac_dir/install-lib"
7713 if wine_fn_has_flag install-dev
7714 then
7715 wine_fn_append_rule \
7716 ".PHONY: $ac_dir/install-dev
7717 $ac_dir/install-dev:: $ac_dir
7718 @cd $ac_dir && \$(MAKE) install-dev
7719 install-dev:: $ac_dir/install-dev"
7723 wine_fn_clean_rules ()
7725 ac_clean=$@
7727 if wine_fn_has_flag clean
7728 then
7729 wine_fn_append_rule \
7730 "$ac_dir/clean: dummy
7731 @cd $ac_dir && \$(MAKE) clean"
7732 else
7733 wine_fn_append_rule \
7734 "$ac_dir/clean: dummy
7735 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7737 wine_fn_append_rule \
7738 "__clean__: $ac_dir/clean
7739 .PHONY: $ac_dir/clean"
7742 wine_fn_disabled_rules ()
7744 ac_clean=$@
7746 wine_fn_append_file SUBDIRS $ac_dir
7747 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7748 wine_fn_append_rule \
7749 "__clean__: $ac_dir/clean
7750 .PHONY: $ac_dir/clean
7751 $ac_dir/clean: dummy
7752 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7755 wine_fn_config_makefile ()
7757 ac_dir=$1
7758 ac_enable=$2
7759 ac_flags=$3
7761 case $ac_dir in
7762 fonts|server) test -z "$with_wine64" || return ;;
7763 esac
7764 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7765 wine_fn_disabled_rules; return
7767 wine_fn_all_rules
7768 wine_fn_install_rules
7769 wine_fn_clean_rules
7772 wine_fn_config_lib ()
7774 ac_name=$1
7775 ac_flags=$2
7776 ac_dir=dlls/$ac_name
7777 ac_deps="include"
7779 if test "x$enable_tools" = xno; then :
7781 else
7782 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7784 wine_fn_all_rules
7785 wine_fn_clean_rules
7787 wine_fn_append_rule \
7788 ".PHONY: $ac_dir/install $ac_dir/uninstall
7789 $ac_dir/install:: $ac_dir
7790 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7791 $ac_dir/uninstall::
7792 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7793 install install-dev:: $ac_dir/install
7794 __uninstall__: $ac_dir/uninstall
7795 __builddeps__: $ac_dir
7796 $ac_dir: $ac_deps"
7799 wine_fn_config_dll ()
7801 ac_name=$1
7802 ac_dir=dlls/$ac_name
7803 ac_enable=$2
7804 ac_flags=$3
7805 ac_implib=${4:-$ac_name}
7806 ac_file=$ac_dir/lib$ac_implib
7807 ac_dll=$ac_name
7808 ac_deps="include"
7809 ac_implibflags=""
7811 if test "x$enable_tools" = xno; then :
7813 else
7814 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7816 case $ac_name in
7817 *.*16) ac_implibflags=" -m16" ;;
7818 *.*) ;;
7819 *) ac_dll=$ac_dll.dll ;;
7820 esac
7822 ac_clean=
7823 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7824 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7826 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7827 if test "$ac_enable" != enable_win16
7828 then
7829 wine_fn_clean_rules $ac_clean
7830 wine_fn_append_file SUBDIRS $ac_dir
7831 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7832 else
7833 wine_fn_disabled_rules $ac_clean
7834 return
7836 else
7837 wine_fn_all_rules
7838 wine_fn_clean_rules $ac_clean
7839 wine_fn_append_rule \
7840 "$ac_dir: __builddeps__
7841 manpages htmlpages sgmlpages xmlpages::
7842 @cd $ac_dir && \$(MAKE) \$@
7843 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7844 install install-lib:: $ac_dir/install-lib
7845 __uninstall__: $ac_dir/uninstall"
7846 if test -n "$DLLEXT"
7847 then
7848 wine_fn_append_rule \
7849 "$ac_dir/install-lib:: $ac_dir
7850 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7851 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7852 $ac_dir/uninstall::
7853 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7854 else
7855 wine_fn_append_rule \
7856 "$ac_dir/install-lib:: $ac_dir
7857 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7858 $ac_dir/uninstall::
7859 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7863 if wine_fn_has_flag staticimplib
7864 then
7865 wine_fn_append_rule \
7866 "__builddeps__: $ac_file.a
7867 $ac_file.a $ac_file.cross.a: $ac_deps
7868 $ac_file.a: dummy
7869 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7870 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7871 $ac_dir/install-dev:: $ac_file.a
7872 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7873 $ac_dir/uninstall::
7874 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7875 install install-dev:: $ac_dir/install-dev
7876 __uninstall__: $ac_dir/uninstall"
7878 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7879 then
7880 wine_fn_append_rule \
7881 "__builddeps__: $ac_file.cross.a
7882 $ac_file.cross.a: dummy
7883 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7886 elif wine_fn_has_flag implib
7887 then
7888 wine_fn_append_rule \
7889 "__builddeps__: $ac_file.$IMPLIBEXT
7890 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7891 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7892 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7893 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7894 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7895 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7896 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7897 $ac_dir/uninstall::
7898 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7899 install install-dev:: $ac_dir/install-dev
7900 __uninstall__: $ac_dir/uninstall"
7901 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7902 then
7903 wine_fn_append_rule \
7904 "__builddeps__: $ac_file.cross.a
7905 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7906 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7911 wine_fn_config_program ()
7913 ac_name=$1
7914 ac_dir=programs/$ac_name
7915 ac_enable=$2
7916 ac_flags=$3
7917 ac_program=$ac_name
7919 case $ac_name in
7920 *.*) ;;
7921 *) ac_program=$ac_program.exe ;;
7922 esac
7924 ac_clean=
7925 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7926 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7928 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7929 wine_fn_disabled_rules $ac_clean; return
7932 wine_fn_all_rules
7933 wine_fn_clean_rules $ac_clean
7934 wine_fn_append_rule "$ac_dir: __builddeps__"
7936 wine_fn_has_flag install || return
7937 wine_fn_append_rule \
7938 ".PHONY: $ac_dir/install $ac_dir/uninstall
7939 install install-lib:: $ac_dir/install
7940 __uninstall__: $ac_dir/uninstall"
7942 if test -n "$DLLEXT"
7943 then
7944 wine_fn_append_rule \
7945 "$ac_dir/install:: $ac_dir
7946 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7947 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7948 $ac_dir/uninstall::
7949 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7951 if test -z "$with_wine64" && wine_fn_has_flag installbin
7952 then
7953 wine_fn_append_rule \
7954 "$ac_dir/install:: __tooldeps__
7955 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7956 $ac_dir/uninstall::
7957 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7959 else
7960 wine_fn_append_rule \
7961 "$ac_dir/install:: $ac_dir
7962 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7963 $ac_dir/uninstall::
7964 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7967 if test -z "$with_wine64" && wine_fn_has_flag manpage
7968 then
7969 wine_fn_append_rule \
7970 "$ac_dir/install:: $ac_dir
7971 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7972 $ac_dir/uninstall::
7973 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7977 wine_fn_config_test ()
7979 ac_dir=$1
7980 ac_name=$2
7981 ac_flags=$3
7983 ac_clean=
7984 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7985 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7987 if test "x$enable_tests" = xno; then :
7988 wine_fn_disabled_rules $ac_clean; return
7991 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7992 wine_fn_all_rules
7993 wine_fn_clean_rules $ac_clean
7995 wine_fn_append_rule \
7996 "$ac_dir: __builddeps__
7997 programs/winetest: $ac_dir
7998 check test: $ac_dir/test
7999 .PHONY: $ac_dir/test
8000 $ac_dir/test: dummy
8001 @cd $ac_dir && \$(MAKE) test
8002 testclean::
8003 \$(RM) $ac_dir/*.ok"
8005 if test -n "$CROSSTARGET"
8006 then
8007 wine_fn_append_rule \
8008 "crosstest: $ac_dir/crosstest
8009 .PHONY: $ac_dir/crosstest
8010 $ac_dir/crosstest: __builddeps__ dummy
8011 @cd $ac_dir && \$(MAKE) crosstest"
8015 wine_fn_config_tool ()
8017 ac_dir=$1
8018 ac_flags=$2
8019 if test "x$enable_tools" = xno; then :
8020 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8023 wine_fn_all_rules
8024 wine_fn_install_rules
8025 wine_fn_clean_rules
8027 wine_fn_append_rule "__tooldeps__: $ac_dir"
8028 wine_fn_append_rule "$ac_dir: libs/port"
8029 case $ac_dir in
8030 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8031 esac
8034 wine_fn_config_symlink ()
8036 ac_linkdir=
8037 if test "x$1" = "x-d"
8038 then
8039 ac_linkdir=$2
8040 shift; shift
8042 ac_links=$@
8043 wine_fn_append_rule \
8044 "$ac_links:
8045 @./config.status \$@"
8046 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8047 test -n "$ac_linkdir" || return
8048 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8051 wine_binary="wine"
8052 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8053 WINELOADER_PROGRAMS="$wine_binary"
8055 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8057 case $host_os in
8058 cygwin*|mingw32*)
8059 if test -n "$ac_tool_prefix"; then
8060 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8061 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_DLLTOOL+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$DLLTOOL"; then
8068 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8081 done
8082 done
8083 IFS=$as_save_IFS
8087 DLLTOOL=$ac_cv_prog_DLLTOOL
8088 if test -n "$DLLTOOL"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8090 $as_echo "$DLLTOOL" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8098 if test -z "$ac_cv_prog_DLLTOOL"; then
8099 ac_ct_DLLTOOL=$DLLTOOL
8100 # Extract the first word of "dlltool", so it can be a program name with args.
8101 set dummy dlltool; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$ac_ct_DLLTOOL"; then
8108 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8121 done
8122 done
8123 IFS=$as_save_IFS
8127 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8128 if test -n "$ac_ct_DLLTOOL"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8130 $as_echo "$ac_ct_DLLTOOL" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8136 if test "x$ac_ct_DLLTOOL" = x; then
8137 DLLTOOL="false"
8138 else
8139 case $cross_compiling:$ac_tool_warned in
8140 yes:)
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143 ac_tool_warned=yes ;;
8144 esac
8145 DLLTOOL=$ac_ct_DLLTOOL
8147 else
8148 DLLTOOL="$ac_cv_prog_DLLTOOL"
8151 LIBEXT="dll"
8152 DLLEXT=""
8153 IMPLIBEXT="a"
8154 enable_iphlpapi=${enable_iphlpapi:-no}
8155 enable_kernel32=${enable_kernel32:-no}
8156 enable_msvcrt=${enable_msvcrt:-no}
8157 enable_ntdll=${enable_ntdll:-no}
8158 enable_ws2_32=${enable_ws2_32:-no}
8159 enable_loader=${enable_loader:-no}
8160 enable_server=${enable_server:-no}
8161 with_x=${with_x:-no}
8162 with_pthread=${with_pthread:-no}
8164 crtlibs=""
8165 case $host_os in
8166 mingw32*)
8167 crtlibs="-lmsvcrt"
8168 SOCKET_LIBS="-lws2_32"
8170 esac
8172 LIBWINE_SHAREDLIB="libwine.dll"
8174 LIBWINE_IMPORTLIB="libwine.a"
8176 LIBWINE_INSTALL_LIB="libwine.dll"
8178 LIBWINE_INSTALL_DEV="libwine.a"
8180 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8182 LIBWINE_DEPENDS="wine.def"
8186 darwin*|macosx*)
8187 for ac_header in libunwind.h
8188 do :
8189 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8190 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8191 cat >>confdefs.h <<_ACEOF
8192 #define HAVE_LIBUNWIND_H 1
8193 _ACEOF
8197 done
8199 LIBEXT="dylib"
8200 DLLFLAGS="$DLLFLAGS -fPIC"
8201 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8202 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8203 COREFOUNDATION_LIBS="-framework CoreFoundation"
8205 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8207 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8209 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8211 CORESERVICES_LIBS="-framework CoreServices"
8213 APPKIT_LIBS="-framework AppKit"
8215 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8217 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8218 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8219 $as_echo_n "(cached) " >&6
8220 else
8221 ac_wine_try_cflags_saved=$CFLAGS
8222 CFLAGS="$CFLAGS -Wl,-no_pie"
8223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8224 /* end confdefs.h. */
8225 int main(int argc, char **argv) { return 0; }
8226 _ACEOF
8227 if ac_fn_c_try_link "$LINENO"; then :
8228 ac_cv_cflags__Wl__no_pie=yes
8229 else
8230 ac_cv_cflags__Wl__no_pie=no
8232 rm -f core conftest.err conftest.$ac_objext \
8233 conftest$ac_exeext conftest.$ac_ext
8234 CFLAGS=$ac_wine_try_cflags_saved
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8237 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8238 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8239 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8241 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8242 then
8243 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8246 if test "$ac_cv_header_Security_Security_h" = "yes"
8247 then
8248 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8250 ac_save_LIBS="$LIBS"
8251 LIBS="$LIBS $SECURITY_LIBS"
8252 for ac_func in SSLCopyPeerCertificates
8253 do :
8254 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8255 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8256 cat >>confdefs.h <<_ACEOF
8257 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8258 _ACEOF
8261 done
8263 LIBS="$ac_save_LIBS"
8264 with_gnutls=${with_gnutls:-no}
8266 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8267 then
8268 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8269 then
8270 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8272 else
8273 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8276 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8277 ac_save_LIBS="$LIBS"
8278 LIBS="$LIBS $COREAUDIO_LIBS"
8279 for ac_func in AUGraphAddNode
8280 do :
8281 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8282 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8283 cat >>confdefs.h <<_ACEOF
8284 #define HAVE_AUGRAPHADDNODE 1
8285 _ACEOF
8288 done
8290 LIBS="$ac_save_LIBS"
8292 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8293 then
8294 OPENAL_LIBS="-framework OpenAL"
8297 cat >>confdefs.h <<_ACEOF
8298 #define HAVE_OPENAL 1
8299 _ACEOF
8301 ac_cv_lib_openal=yes
8303 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8304 then
8305 OPENCL_LIBS="-framework OpenCL"
8307 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8309 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8310 then
8311 ac_save_LIBS="$LIBS"
8312 LIBS="$LIBS $IOKIT_LIBS"
8313 for ac_func in IOHIDManagerCreate
8314 do :
8315 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8316 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8317 cat >>confdefs.h <<_ACEOF
8318 #define HAVE_IOHIDMANAGERCREATE 1
8319 _ACEOF
8322 done
8324 LIBS="$ac_save_LIBS"
8326 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8327 then
8328 ac_save_LIBS="$LIBS"
8329 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8331 $as_echo_n "checking for the QuickTime framework... " >&6; }
8332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8333 /* end confdefs.h. */
8334 #include <QuickTime/ImageCompression.h>
8336 main ()
8338 CodecManagerVersion(NULL);
8340 return 0;
8342 _ACEOF
8343 if ac_fn_c_try_link "$LINENO"; then :
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8345 $as_echo "yes" >&6; }
8346 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8348 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8349 else
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8351 $as_echo "no" >&6; }
8352 ac_cv_header_QuickTime_ImageCompression_h=no
8354 rm -f core conftest.err conftest.$ac_objext \
8355 conftest$ac_exeext conftest.$ac_ext
8356 LIBS="$ac_save_LIBS"
8358 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8359 then
8360 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8362 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8363 then
8364 CARBON_LIBS="-framework Carbon"
8368 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8369 then
8370 ac_save_LIBS="$LIBS"
8371 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8372 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8373 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8374 enable_winemac_drv=${enable_winemac_drv:-yes}
8377 LIBS="$ac_save_LIBS"
8380 if test "x$enable_win16" = "xyes"
8381 then
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8383 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8384 if test "$cross_compiling" = yes; then :
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8386 $as_echo "cross-compiling, assuming yes" >&6; }
8387 else
8388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8389 /* end confdefs.h. */
8390 asm(".text\n"
8391 "bad:\tnop;nop\n"
8392 "good:\tnop;nop\n\t"
8393 ".globl _testfunc\n"
8394 "_testfunc:\tcallw good");
8395 extern void testfunc();
8397 main ()
8399 unsigned short *p = (unsigned short *)testfunc;
8400 return p[0] != 0xe866 || p[1] != 0xfffa
8402 return 0;
8404 _ACEOF
8405 if ac_fn_c_try_run "$LINENO"; then :
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8407 $as_echo "yes" >&6; }
8408 else
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410 $as_echo "no" >&6; }
8411 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
8413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8414 conftest.$ac_objext conftest.beam conftest.$ac_ext
8419 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8421 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8423 LIBWINE_INSTALL_DEV="libwine.dylib"
8425 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8427 WINELOADER_DEPENDS="wine_info.plist"
8431 linux-android*)
8432 DLLFLAGS="$DLLFLAGS -fPIC"
8433 LDEXECFLAGS="-Wl,-pie"
8434 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8436 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8437 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8438 $as_echo_n "(cached) " >&6
8439 else
8440 ac_wine_try_cflags_saved=$CFLAGS
8441 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8444 int main(int argc, char **argv) { return 0; }
8445 _ACEOF
8446 if ac_fn_c_try_link "$LINENO"; then :
8447 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8448 else
8449 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8451 rm -f core conftest.err conftest.$ac_objext \
8452 conftest$ac_exeext conftest.$ac_ext
8453 CFLAGS=$ac_wine_try_cflags_saved
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8456 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8457 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8458 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8460 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8462 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8463 if eval \${$as_ac_var+:} false; then :
8464 $as_echo_n "(cached) " >&6
8465 else
8466 ac_wine_try_cflags_saved=$CFLAGS
8467 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8469 /* end confdefs.h. */
8470 int main(int argc, char **argv) { return 0; }
8471 _ACEOF
8472 if ac_fn_c_try_link "$LINENO"; then :
8473 eval "$as_ac_var=yes"
8474 else
8475 eval "$as_ac_var=no"
8477 rm -f core conftest.err conftest.$ac_objext \
8478 conftest$ac_exeext conftest.$ac_ext
8479 CFLAGS=$ac_wine_try_cflags_saved
8481 eval ac_res=\$$as_ac_var
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8483 $as_echo "$ac_res" >&6; }
8484 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8485 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8486 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8487 else
8488 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8490 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8491 if eval \${$as_ac_var+:} false; then :
8492 $as_echo_n "(cached) " >&6
8493 else
8494 ac_wine_try_cflags_saved=$CFLAGS
8495 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8498 int main(int argc, char **argv) { return 0; }
8499 _ACEOF
8500 if ac_fn_c_try_link "$LINENO"; then :
8501 eval "$as_ac_var=yes"
8502 else
8503 eval "$as_ac_var=no"
8505 rm -f core conftest.err conftest.$ac_objext \
8506 conftest$ac_exeext conftest.$ac_ext
8507 CFLAGS=$ac_wine_try_cflags_saved
8509 eval ac_res=\$$as_ac_var
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8511 $as_echo "$ac_res" >&6; }
8512 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8513 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8514 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8518 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8519 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8520 $as_echo_n "(cached) " >&6
8521 else
8522 ac_wine_try_cflags_saved=$CFLAGS
8523 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8525 /* end confdefs.h. */
8526 int main(int argc, char **argv) { return 0; }
8527 _ACEOF
8528 if ac_fn_c_try_link "$LINENO"; then :
8529 ac_cv_cflags__Wl___enable_new_dtags=yes
8530 else
8531 ac_cv_cflags__Wl___enable_new_dtags=no
8533 rm -f core conftest.err conftest.$ac_objext \
8534 conftest$ac_exeext conftest.$ac_ext
8535 CFLAGS=$ac_wine_try_cflags_saved
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8538 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8539 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8540 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8543 LIBWINE_SHAREDLIB="libwine.so"
8545 LIBWINE_INSTALL_LIB="libwine.so"
8547 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8551 $as_echo_n "checking for -lEGL... " >&6; }
8552 if ${ac_cv_lib_soname_EGL+:} false; then :
8553 $as_echo_n "(cached) " >&6
8554 else
8555 ac_check_soname_save_LIBS=$LIBS
8556 LIBS="-lEGL $LIBS"
8557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8560 /* Override any GCC internal prototype to avoid an error.
8561 Use char because int might match the return type of a GCC
8562 builtin and then its argument prototype would still apply. */
8563 #ifdef __cplusplus
8564 extern "C"
8565 #endif
8566 char eglGetProcAddress ();
8568 main ()
8570 return eglGetProcAddress ();
8572 return 0;
8574 _ACEOF
8575 if ac_fn_c_try_link "$LINENO"; then :
8576 case "$LIBEXT" in
8577 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8578 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'` ;;
8579 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8580 if ${ac_cv_lib_soname_EGL:+false} :; then :
8581 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8582 fi ;;
8583 esac
8585 rm -f core conftest.err conftest.$ac_objext \
8586 conftest$ac_exeext conftest.$ac_ext
8587 LIBS=$ac_check_soname_save_LIBS
8589 if ${ac_cv_lib_soname_EGL:+false} :; then :
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8591 $as_echo "not found" >&6; }
8593 else
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8595 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8597 cat >>confdefs.h <<_ACEOF
8598 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8599 _ACEOF
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8604 $as_echo_n "checking for -lGLESv2... " >&6; }
8605 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8606 $as_echo_n "(cached) " >&6
8607 else
8608 ac_check_soname_save_LIBS=$LIBS
8609 LIBS="-lGLESv2 $LIBS"
8610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8611 /* end confdefs.h. */
8613 /* Override any GCC internal prototype to avoid an error.
8614 Use char because int might match the return type of a GCC
8615 builtin and then its argument prototype would still apply. */
8616 #ifdef __cplusplus
8617 extern "C"
8618 #endif
8619 char glFlush ();
8621 main ()
8623 return glFlush ();
8625 return 0;
8627 _ACEOF
8628 if ac_fn_c_try_link "$LINENO"; then :
8629 case "$LIBEXT" in
8630 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8631 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'` ;;
8632 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8633 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8634 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8635 fi ;;
8636 esac
8638 rm -f core conftest.err conftest.$ac_objext \
8639 conftest$ac_exeext conftest.$ac_ext
8640 LIBS=$ac_check_soname_save_LIBS
8642 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8644 $as_echo "not found" >&6; }
8646 else
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8648 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8650 cat >>confdefs.h <<_ACEOF
8651 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8652 _ACEOF
8657 if test "x$exec_prefix" = xNONE
8658 then
8659 case $host_cpu in
8660 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8661 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8662 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8663 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8664 esac
8669 DLLFLAGS="$DLLFLAGS -fPIC"
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8671 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8672 if ${ac_cv_c_dll_gnuelf+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 void myfunc() {}
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_c_dll_gnuelf="yes"
8683 else
8684 ac_cv_c_dll_gnuelf="no"
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8691 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8692 if test "$ac_cv_c_dll_gnuelf" = "yes"
8693 then
8694 LIBWINE_LDFLAGS="-shared"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8696 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8697 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 int main(int argc, char **argv) { return 0; }
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8708 else
8709 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8716 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8717 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8718 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8719 else
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8721 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8722 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8723 $as_echo_n "(cached) " >&6
8724 else
8725 ac_wine_try_cflags_saved=$CFLAGS
8726 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8729 int main(int argc, char **argv) { return 0; }
8730 _ACEOF
8731 if ac_fn_c_try_link "$LINENO"; then :
8732 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8733 else
8734 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8736 rm -f core conftest.err conftest.$ac_objext \
8737 conftest$ac_exeext conftest.$ac_ext
8738 CFLAGS=$ac_wine_try_cflags_saved
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8741 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8742 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8743 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8747 echo '{ global: *; };' >conftest.map
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8749 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8750 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8751 $as_echo_n "(cached) " >&6
8752 else
8753 ac_wine_try_cflags_saved=$CFLAGS
8754 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8757 int main(int argc, char **argv) { return 0; }
8758 _ACEOF
8759 if ac_fn_c_try_link "$LINENO"; then :
8760 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8761 else
8762 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8764 rm -f core conftest.err conftest.$ac_objext \
8765 conftest$ac_exeext conftest.$ac_ext
8766 CFLAGS=$ac_wine_try_cflags_saved
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8769 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8770 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8771 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8773 rm -f conftest.map
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8776 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8777 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8778 $as_echo_n "(cached) " >&6
8779 else
8780 ac_wine_try_cflags_saved=$CFLAGS
8781 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8783 /* end confdefs.h. */
8784 int main(int argc, char **argv) { return 0; }
8785 _ACEOF
8786 if ac_fn_c_try_link "$LINENO"; then :
8787 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8788 else
8789 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8791 rm -f core conftest.err conftest.$ac_objext \
8792 conftest$ac_exeext conftest.$ac_ext
8793 CFLAGS=$ac_wine_try_cflags_saved
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8796 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8797 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8798 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8801 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8803 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8804 if eval \${$as_ac_var+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 ac_wine_try_cflags_saved=$CFLAGS
8808 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8811 int main(int argc, char **argv) { return 0; }
8812 _ACEOF
8813 if ac_fn_c_try_link "$LINENO"; then :
8814 eval "$as_ac_var=yes"
8815 else
8816 eval "$as_ac_var=no"
8818 rm -f core conftest.err conftest.$ac_objext \
8819 conftest$ac_exeext conftest.$ac_ext
8820 CFLAGS=$ac_wine_try_cflags_saved
8822 eval ac_res=\$$as_ac_var
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8824 $as_echo "$ac_res" >&6; }
8825 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8826 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8827 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8828 else
8829 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8831 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8832 if eval \${$as_ac_var+:} false; then :
8833 $as_echo_n "(cached) " >&6
8834 else
8835 ac_wine_try_cflags_saved=$CFLAGS
8836 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8838 /* end confdefs.h. */
8839 int main(int argc, char **argv) { return 0; }
8840 _ACEOF
8841 if ac_fn_c_try_link "$LINENO"; then :
8842 eval "$as_ac_var=yes"
8843 else
8844 eval "$as_ac_var=no"
8846 rm -f core conftest.err conftest.$ac_objext \
8847 conftest$ac_exeext conftest.$ac_ext
8848 CFLAGS=$ac_wine_try_cflags_saved
8850 eval ac_res=\$$as_ac_var
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8852 $as_echo "$ac_res" >&6; }
8853 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8854 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8855 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8860 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8861 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8862 $as_echo_n "(cached) " >&6
8863 else
8864 ac_wine_try_cflags_saved=$CFLAGS
8865 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8867 /* end confdefs.h. */
8868 int main(int argc, char **argv) { return 0; }
8869 _ACEOF
8870 if ac_fn_c_try_link "$LINENO"; then :
8871 ac_cv_cflags__Wl___enable_new_dtags=yes
8872 else
8873 ac_cv_cflags__Wl___enable_new_dtags=no
8875 rm -f core conftest.err conftest.$ac_objext \
8876 conftest$ac_exeext conftest.$ac_ext
8877 CFLAGS=$ac_wine_try_cflags_saved
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8880 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8881 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8882 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8885 case $host_cpu in
8886 *i[3456789]86* | x86_64)
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8888 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8889 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8890 $as_echo_n "(cached) " >&6
8891 else
8892 ac_wine_try_cflags_saved=$CFLAGS
8893 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8895 /* end confdefs.h. */
8896 int main(int argc, char **argv) { return 0; }
8897 _ACEOF
8898 if ac_fn_c_try_link "$LINENO"; then :
8899 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8900 else
8901 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8903 rm -f core conftest.err conftest.$ac_objext \
8904 conftest$ac_exeext conftest.$ac_ext
8905 CFLAGS=$ac_wine_try_cflags_saved
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8908 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8909 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8910 case $host_os in
8911 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8912 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8913 esac
8914 else
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8916 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8917 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8918 $as_echo_n "(cached) " >&6
8919 else
8920 ac_wine_try_cflags_saved=$CFLAGS
8921 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8923 /* end confdefs.h. */
8924 int main(int argc, char **argv) { return 0; }
8925 _ACEOF
8926 if ac_fn_c_try_link "$LINENO"; then :
8927 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8928 else
8929 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8931 rm -f core conftest.err conftest.$ac_objext \
8932 conftest$ac_exeext conftest.$ac_ext
8933 CFLAGS=$ac_wine_try_cflags_saved
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8936 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8937 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8938 case $host_os in
8939 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8940 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8941 esac
8943 # Extract the first word of "prelink", so it can be a program name with args.
8944 set dummy prelink; ac_word=$2
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8946 $as_echo_n "checking for $ac_word... " >&6; }
8947 if ${ac_cv_path_PRELINK+:} false; then :
8948 $as_echo_n "(cached) " >&6
8949 else
8950 case $PRELINK in
8951 [\\/]* | ?:[\\/]*)
8952 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8956 for as_dir in /sbin /usr/sbin $PATH
8958 IFS=$as_save_IFS
8959 test -z "$as_dir" && as_dir=.
8960 for ac_exec_ext in '' $ac_executable_extensions; do
8961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8962 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8964 break 2
8966 done
8967 done
8968 IFS=$as_save_IFS
8970 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8972 esac
8974 PRELINK=$ac_cv_path_PRELINK
8975 if test -n "$PRELINK"; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8977 $as_echo "$PRELINK" >&6; }
8978 else
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8980 $as_echo "no" >&6; }
8984 if test "x$PRELINK" = xfalse
8985 then
8986 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8990 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8991 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8992 $as_echo_n "(cached) " >&6
8993 else
8994 ac_wine_try_cflags_saved=$CFLAGS
8995 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8997 /* end confdefs.h. */
8998 int main(int argc, char **argv) { return 0; }
8999 _ACEOF
9000 if ac_fn_c_try_link "$LINENO"; then :
9001 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9002 else
9003 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9005 rm -f core conftest.err conftest.$ac_objext \
9006 conftest$ac_exeext conftest.$ac_ext
9007 CFLAGS=$ac_wine_try_cflags_saved
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9010 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9011 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9012 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9015 esac
9017 else
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9019 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9020 if ${ac_cv_c_dll_unixware+:} false; then :
9021 $as_echo_n "(cached) " >&6
9022 else
9023 ac_wine_try_cflags_saved=$CFLAGS
9024 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9026 /* end confdefs.h. */
9027 void myfunc() {}
9028 _ACEOF
9029 if ac_fn_c_try_link "$LINENO"; then :
9030 ac_cv_c_dll_unixware="yes"
9031 else
9032 ac_cv_c_dll_unixware="no"
9034 rm -f core conftest.err conftest.$ac_objext \
9035 conftest$ac_exeext conftest.$ac_ext
9036 CFLAGS=$ac_wine_try_cflags_saved
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9039 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9040 if test "$ac_cv_c_dll_unixware" = "yes"
9041 then
9042 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9045 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9047 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9049 LIBWINE_INSTALL_DEV="libwine.so"
9051 LIBWINE_DEPENDS="wine.map"
9054 esac
9056 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9057 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9058 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9059 enable_winemac_drv=${enable_winemac_drv:-no}
9060 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9062 CROSSTARGET=""
9064 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9065 then
9066 case "$host_cpu" in
9067 arm*)
9068 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9069 i[3456789]86*)
9070 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
9071 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9072 mingw32-gcc" ;;
9073 x86_64)
9074 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
9075 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9077 ac_prefix_list="" ;;
9078 esac
9079 for ac_prog in $ac_prefix_list
9081 # Extract the first word of "$ac_prog", so it can be a program name with args.
9082 set dummy $ac_prog; ac_word=$2
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9084 $as_echo_n "checking for $ac_word... " >&6; }
9085 if ${ac_cv_prog_CROSSCC+:} false; then :
9086 $as_echo_n "(cached) " >&6
9087 else
9088 if test -n "$CROSSCC"; then
9089 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9090 else
9091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9092 for as_dir in $PATH
9094 IFS=$as_save_IFS
9095 test -z "$as_dir" && as_dir=.
9096 for ac_exec_ext in '' $ac_executable_extensions; do
9097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9098 ac_cv_prog_CROSSCC="$ac_prog"
9099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9100 break 2
9102 done
9103 done
9104 IFS=$as_save_IFS
9108 CROSSCC=$ac_cv_prog_CROSSCC
9109 if test -n "$CROSSCC"; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9111 $as_echo "$CROSSCC" >&6; }
9112 else
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114 $as_echo "no" >&6; }
9118 test -n "$CROSSCC" && break
9119 done
9120 test -n "$CROSSCC" || CROSSCC="false"
9122 if test "$CROSSCC" != "false"
9123 then
9124 ac_save_CC="$CC"
9125 CC="$CROSSCC"
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9127 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9129 /* end confdefs.h. */
9132 main ()
9136 return 0;
9138 _ACEOF
9139 if ac_fn_c_try_compile "$LINENO"; then :
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9141 $as_echo "yes" >&6; }
9142 set x $CROSSCC
9143 shift
9144 while test $# -ge 1
9146 case "$1" in
9147 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9148 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9149 esac
9150 shift
9151 done
9152 else
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9154 $as_echo "no" >&6; }
9156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9157 CC="$ac_save_CC"
9158 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9164 if test "$ac_cv_header_pthread_h" = "yes"
9165 then
9166 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9167 if test "x$ac_cv_func_pthread_create" = xyes; then :
9169 else
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9171 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9172 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9173 $as_echo_n "(cached) " >&6
9174 else
9175 ac_check_lib_save_LIBS=$LIBS
9176 LIBS="-lpthread $LIBS"
9177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178 /* end confdefs.h. */
9180 /* Override any GCC internal prototype to avoid an error.
9181 Use char because int might match the return type of a GCC
9182 builtin and then its argument prototype would still apply. */
9183 #ifdef __cplusplus
9184 extern "C"
9185 #endif
9186 char pthread_create ();
9188 main ()
9190 return pthread_create ();
9192 return 0;
9194 _ACEOF
9195 if ac_fn_c_try_link "$LINENO"; then :
9196 ac_cv_lib_pthread_pthread_create=yes
9197 else
9198 ac_cv_lib_pthread_pthread_create=no
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_lib_save_LIBS
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9205 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9206 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9207 PTHREAD_LIBS="-lpthread"
9214 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9215 case "x$with_pthread" in
9216 xno) ;;
9217 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9218 Wine cannot support threads without libpthread.
9219 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9220 esac
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9226 $as_echo_n "checking for X... " >&6; }
9229 # Check whether --with-x was given.
9230 if test "${with_x+set}" = set; then :
9231 withval=$with_x;
9234 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9235 if test "x$with_x" = xno; then
9236 # The user explicitly disabled X.
9237 have_x=disabled
9238 else
9239 case $x_includes,$x_libraries in #(
9240 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9241 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9242 $as_echo_n "(cached) " >&6
9243 else
9244 # One or both of the vars are not set, and there is no cached value.
9245 ac_x_includes=no ac_x_libraries=no
9246 rm -f -r conftest.dir
9247 if mkdir conftest.dir; then
9248 cd conftest.dir
9249 cat >Imakefile <<'_ACEOF'
9250 incroot:
9251 @echo incroot='${INCROOT}'
9252 usrlibdir:
9253 @echo usrlibdir='${USRLIBDIR}'
9254 libdir:
9255 @echo libdir='${LIBDIR}'
9256 _ACEOF
9257 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9258 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9259 for ac_var in incroot usrlibdir libdir; do
9260 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9261 done
9262 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9263 for ac_extension in a so sl dylib la dll; do
9264 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9265 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9266 ac_im_usrlibdir=$ac_im_libdir; break
9268 done
9269 # Screen out bogus values from the imake configuration. They are
9270 # bogus both because they are the default anyway, and because
9271 # using them would break gcc on systems where it needs fixed includes.
9272 case $ac_im_incroot in
9273 /usr/include) ac_x_includes= ;;
9274 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9275 esac
9276 case $ac_im_usrlibdir in
9277 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9278 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9279 esac
9281 cd ..
9282 rm -f -r conftest.dir
9285 # Standard set of common directories for X headers.
9286 # Check X11 before X11Rn because it is often a symlink to the current release.
9287 ac_x_header_dirs='
9288 /usr/X11/include
9289 /usr/X11R7/include
9290 /usr/X11R6/include
9291 /usr/X11R5/include
9292 /usr/X11R4/include
9294 /usr/include/X11
9295 /usr/include/X11R7
9296 /usr/include/X11R6
9297 /usr/include/X11R5
9298 /usr/include/X11R4
9300 /usr/local/X11/include
9301 /usr/local/X11R7/include
9302 /usr/local/X11R6/include
9303 /usr/local/X11R5/include
9304 /usr/local/X11R4/include
9306 /usr/local/include/X11
9307 /usr/local/include/X11R7
9308 /usr/local/include/X11R6
9309 /usr/local/include/X11R5
9310 /usr/local/include/X11R4
9312 /usr/X386/include
9313 /usr/x386/include
9314 /usr/XFree86/include/X11
9316 /usr/include
9317 /usr/local/include
9318 /usr/unsupported/include
9319 /usr/athena/include
9320 /usr/local/x11r5/include
9321 /usr/lpp/Xamples/include
9323 /usr/openwin/include
9324 /usr/openwin/share/include'
9326 if test "$ac_x_includes" = no; then
9327 # Guess where to find include files, by looking for Xlib.h.
9328 # First, try using that file with no special directory specified.
9329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9330 /* end confdefs.h. */
9331 #include <X11/Xlib.h>
9332 _ACEOF
9333 if ac_fn_c_try_cpp "$LINENO"; then :
9334 # We can compile using X headers with no special include directory.
9335 ac_x_includes=
9336 else
9337 for ac_dir in $ac_x_header_dirs; do
9338 if test -r "$ac_dir/X11/Xlib.h"; then
9339 ac_x_includes=$ac_dir
9340 break
9342 done
9344 rm -f conftest.err conftest.i conftest.$ac_ext
9345 fi # $ac_x_includes = no
9347 if test "$ac_x_libraries" = no; then
9348 # Check for the libraries.
9349 # See if we find them without any special options.
9350 # Don't add to $LIBS permanently.
9351 ac_save_LIBS=$LIBS
9352 LIBS="-lX11 $LIBS"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9355 #include <X11/Xlib.h>
9357 main ()
9359 XrmInitialize ()
9361 return 0;
9363 _ACEOF
9364 if ac_fn_c_try_link "$LINENO"; then :
9365 LIBS=$ac_save_LIBS
9366 # We can link X programs with no special library path.
9367 ac_x_libraries=
9368 else
9369 LIBS=$ac_save_LIBS
9370 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9372 # Don't even attempt the hair of trying to link an X program!
9373 for ac_extension in a so sl dylib la dll; do
9374 if test -r "$ac_dir/libX11.$ac_extension"; then
9375 ac_x_libraries=$ac_dir
9376 break 2
9378 done
9379 done
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 fi # $ac_x_libraries = no
9385 case $ac_x_includes,$ac_x_libraries in #(
9386 no,* | *,no | *\'*)
9387 # Didn't find X, or a directory has "'" in its name.
9388 ac_cv_have_x="have_x=no";; #(
9390 # Record where we found X for the cache.
9391 ac_cv_have_x="have_x=yes\
9392 ac_x_includes='$ac_x_includes'\
9393 ac_x_libraries='$ac_x_libraries'"
9394 esac
9396 ;; #(
9397 *) have_x=yes;;
9398 esac
9399 eval "$ac_cv_have_x"
9400 fi # $with_x != no
9402 if test "$have_x" != yes; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9404 $as_echo "$have_x" >&6; }
9405 no_x=yes
9406 else
9407 # If each of the values was on the command line, it overrides each guess.
9408 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9409 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9410 # Update the cache value to reflect the command line values.
9411 ac_cv_have_x="have_x=yes\
9412 ac_x_includes='$x_includes'\
9413 ac_x_libraries='$x_libraries'"
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9415 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9418 if test "$no_x" = yes; then
9419 # Not all programs may use this symbol, but it does not hurt to define it.
9421 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9423 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9424 else
9425 if test -n "$x_includes"; then
9426 X_CFLAGS="$X_CFLAGS -I$x_includes"
9429 # It would also be nice to do this for all -L options, not just this one.
9430 if test -n "$x_libraries"; then
9431 X_LIBS="$X_LIBS -L$x_libraries"
9432 # For Solaris; some versions of Sun CC require a space after -R and
9433 # others require no space. Words are not sufficient . . . .
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9435 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9436 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9437 ac_xsave_c_werror_flag=$ac_c_werror_flag
9438 ac_c_werror_flag=yes
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9443 main ()
9447 return 0;
9449 _ACEOF
9450 if ac_fn_c_try_link "$LINENO"; then :
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9452 $as_echo "no" >&6; }
9453 X_LIBS="$X_LIBS -R$x_libraries"
9454 else
9455 LIBS="$ac_xsave_LIBS -R $x_libraries"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9460 main ()
9464 return 0;
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"; then :
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9469 $as_echo "yes" >&6; }
9470 X_LIBS="$X_LIBS -R $x_libraries"
9471 else
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9473 $as_echo "neither works" >&6; }
9475 rm -f core conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 ac_c_werror_flag=$ac_xsave_c_werror_flag
9481 LIBS=$ac_xsave_LIBS
9484 # Check for system-dependent libraries X programs must link with.
9485 # Do this before checking for the system-independent R6 libraries
9486 # (-lICE), since we may need -lsocket or whatever for X linking.
9488 if test "$ISC" = yes; then
9489 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9490 else
9491 # Martyn Johnson says this is needed for Ultrix, if the X
9492 # libraries were built with DECnet support. And Karl Berry says
9493 # the Alpha needs dnet_stub (dnet does not exist).
9494 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9496 /* end confdefs.h. */
9498 /* Override any GCC internal prototype to avoid an error.
9499 Use char because int might match the return type of a GCC
9500 builtin and then its argument prototype would still apply. */
9501 #ifdef __cplusplus
9502 extern "C"
9503 #endif
9504 char XOpenDisplay ();
9506 main ()
9508 return XOpenDisplay ();
9510 return 0;
9512 _ACEOF
9513 if ac_fn_c_try_link "$LINENO"; then :
9515 else
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9517 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9518 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9519 $as_echo_n "(cached) " >&6
9520 else
9521 ac_check_lib_save_LIBS=$LIBS
9522 LIBS="-ldnet $LIBS"
9523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9524 /* end confdefs.h. */
9526 /* Override any GCC internal prototype to avoid an error.
9527 Use char because int might match the return type of a GCC
9528 builtin and then its argument prototype would still apply. */
9529 #ifdef __cplusplus
9530 extern "C"
9531 #endif
9532 char dnet_ntoa ();
9534 main ()
9536 return dnet_ntoa ();
9538 return 0;
9540 _ACEOF
9541 if ac_fn_c_try_link "$LINENO"; then :
9542 ac_cv_lib_dnet_dnet_ntoa=yes
9543 else
9544 ac_cv_lib_dnet_dnet_ntoa=no
9546 rm -f core conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LIBS=$ac_check_lib_save_LIBS
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9551 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9552 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9553 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9556 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9558 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9559 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_check_lib_save_LIBS=$LIBS
9563 LIBS="-ldnet_stub $LIBS"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9570 #ifdef __cplusplus
9571 extern "C"
9572 #endif
9573 char dnet_ntoa ();
9575 main ()
9577 return dnet_ntoa ();
9579 return 0;
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9584 else
9585 ac_cv_lib_dnet_stub_dnet_ntoa=no
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 LIBS=$ac_check_lib_save_LIBS
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9592 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9593 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9594 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 LIBS="$ac_xsave_LIBS"
9603 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9604 # to get the SysV transport functions.
9605 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9606 # needs -lnsl.
9607 # The nsl library prevents programs from opening the X display
9608 # on Irix 5.2, according to T.E. Dickey.
9609 # The functions gethostbyname, getservbyname, and inet_addr are
9610 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9611 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9612 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9616 if test $ac_cv_func_gethostbyname = no; then
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9618 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9619 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9620 $as_echo_n "(cached) " >&6
9621 else
9622 ac_check_lib_save_LIBS=$LIBS
9623 LIBS="-lnsl $LIBS"
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625 /* end confdefs.h. */
9627 /* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9630 #ifdef __cplusplus
9631 extern "C"
9632 #endif
9633 char gethostbyname ();
9635 main ()
9637 return gethostbyname ();
9639 return 0;
9641 _ACEOF
9642 if ac_fn_c_try_link "$LINENO"; then :
9643 ac_cv_lib_nsl_gethostbyname=yes
9644 else
9645 ac_cv_lib_nsl_gethostbyname=no
9647 rm -f core conftest.err conftest.$ac_objext \
9648 conftest$ac_exeext conftest.$ac_ext
9649 LIBS=$ac_check_lib_save_LIBS
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9652 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9653 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9654 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9657 if test $ac_cv_lib_nsl_gethostbyname = no; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9659 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9660 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9661 $as_echo_n "(cached) " >&6
9662 else
9663 ac_check_lib_save_LIBS=$LIBS
9664 LIBS="-lbsd $LIBS"
9665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666 /* end confdefs.h. */
9668 /* Override any GCC internal prototype to avoid an error.
9669 Use char because int might match the return type of a GCC
9670 builtin and then its argument prototype would still apply. */
9671 #ifdef __cplusplus
9672 extern "C"
9673 #endif
9674 char gethostbyname ();
9676 main ()
9678 return gethostbyname ();
9680 return 0;
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 ac_cv_lib_bsd_gethostbyname=yes
9685 else
9686 ac_cv_lib_bsd_gethostbyname=no
9688 rm -f core conftest.err conftest.$ac_objext \
9689 conftest$ac_exeext conftest.$ac_ext
9690 LIBS=$ac_check_lib_save_LIBS
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9693 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9694 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9695 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9701 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9702 # socket/setsockopt and other routines are undefined under SCO ODT
9703 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9704 # on later versions), says Simon Leinen: it contains gethostby*
9705 # variants that don't use the name server (or something). -lsocket
9706 # must be given before -lnsl if both are needed. We assume that
9707 # if connect needs -lnsl, so does gethostbyname.
9708 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9709 if test "x$ac_cv_func_connect" = xyes; then :
9713 if test $ac_cv_func_connect = no; then
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9715 $as_echo_n "checking for connect in -lsocket... " >&6; }
9716 if ${ac_cv_lib_socket_connect+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 ac_check_lib_save_LIBS=$LIBS
9720 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 char connect ();
9732 main ()
9734 return connect ();
9736 return 0;
9738 _ACEOF
9739 if ac_fn_c_try_link "$LINENO"; then :
9740 ac_cv_lib_socket_connect=yes
9741 else
9742 ac_cv_lib_socket_connect=no
9744 rm -f core conftest.err conftest.$ac_objext \
9745 conftest$ac_exeext conftest.$ac_ext
9746 LIBS=$ac_check_lib_save_LIBS
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9749 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9750 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9751 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9756 # Guillermo Gomez says -lposix is necessary on A/UX.
9757 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9758 if test "x$ac_cv_func_remove" = xyes; then :
9762 if test $ac_cv_func_remove = no; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9764 $as_echo_n "checking for remove in -lposix... " >&6; }
9765 if ${ac_cv_lib_posix_remove+:} false; then :
9766 $as_echo_n "(cached) " >&6
9767 else
9768 ac_check_lib_save_LIBS=$LIBS
9769 LIBS="-lposix $LIBS"
9770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9771 /* end confdefs.h. */
9773 /* Override any GCC internal prototype to avoid an error.
9774 Use char because int might match the return type of a GCC
9775 builtin and then its argument prototype would still apply. */
9776 #ifdef __cplusplus
9777 extern "C"
9778 #endif
9779 char remove ();
9781 main ()
9783 return remove ();
9785 return 0;
9787 _ACEOF
9788 if ac_fn_c_try_link "$LINENO"; then :
9789 ac_cv_lib_posix_remove=yes
9790 else
9791 ac_cv_lib_posix_remove=no
9793 rm -f core conftest.err conftest.$ac_objext \
9794 conftest$ac_exeext conftest.$ac_ext
9795 LIBS=$ac_check_lib_save_LIBS
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9798 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9799 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9800 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9805 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9806 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9807 if test "x$ac_cv_func_shmat" = xyes; then :
9811 if test $ac_cv_func_shmat = no; then
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9813 $as_echo_n "checking for shmat in -lipc... " >&6; }
9814 if ${ac_cv_lib_ipc_shmat+:} false; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 ac_check_lib_save_LIBS=$LIBS
9818 LIBS="-lipc $LIBS"
9819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9820 /* end confdefs.h. */
9822 /* Override any GCC internal prototype to avoid an error.
9823 Use char because int might match the return type of a GCC
9824 builtin and then its argument prototype would still apply. */
9825 #ifdef __cplusplus
9826 extern "C"
9827 #endif
9828 char shmat ();
9830 main ()
9832 return shmat ();
9834 return 0;
9836 _ACEOF
9837 if ac_fn_c_try_link "$LINENO"; then :
9838 ac_cv_lib_ipc_shmat=yes
9839 else
9840 ac_cv_lib_ipc_shmat=no
9842 rm -f core conftest.err conftest.$ac_objext \
9843 conftest$ac_exeext conftest.$ac_ext
9844 LIBS=$ac_check_lib_save_LIBS
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9847 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9848 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9849 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9855 # Check for libraries that X11R6 Xt/Xaw programs need.
9856 ac_save_LDFLAGS=$LDFLAGS
9857 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9858 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9859 # check for ICE first), but we must link in the order -lSM -lICE or
9860 # we get undefined symbols. So assume we have SM if we have ICE.
9861 # These have to be linked with before -lX11, unlike the other
9862 # libraries we check for below, so use a different variable.
9863 # John Interrante, Karl Berry
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9865 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9866 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9867 $as_echo_n "(cached) " >&6
9868 else
9869 ac_check_lib_save_LIBS=$LIBS
9870 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9872 /* end confdefs.h. */
9874 /* Override any GCC internal prototype to avoid an error.
9875 Use char because int might match the return type of a GCC
9876 builtin and then its argument prototype would still apply. */
9877 #ifdef __cplusplus
9878 extern "C"
9879 #endif
9880 char IceConnectionNumber ();
9882 main ()
9884 return IceConnectionNumber ();
9886 return 0;
9888 _ACEOF
9889 if ac_fn_c_try_link "$LINENO"; then :
9890 ac_cv_lib_ICE_IceConnectionNumber=yes
9891 else
9892 ac_cv_lib_ICE_IceConnectionNumber=no
9894 rm -f core conftest.err conftest.$ac_objext \
9895 conftest$ac_exeext conftest.$ac_ext
9896 LIBS=$ac_check_lib_save_LIBS
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9899 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9900 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9901 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9904 LDFLAGS=$ac_save_LDFLAGS
9909 if test "$have_x" = "yes"
9910 then
9911 ac_save_CPPFLAGS="$CPPFLAGS"
9912 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9915 $as_echo_n "checking for -lX11... " >&6; }
9916 if ${ac_cv_lib_soname_X11+:} false; then :
9917 $as_echo_n "(cached) " >&6
9918 else
9919 ac_check_soname_save_LIBS=$LIBS
9920 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9924 /* Override any GCC internal prototype to avoid an error.
9925 Use char because int might match the return type of a GCC
9926 builtin and then its argument prototype would still apply. */
9927 #ifdef __cplusplus
9928 extern "C"
9929 #endif
9930 char XCreateWindow ();
9932 main ()
9934 return XCreateWindow ();
9936 return 0;
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 case "$LIBEXT" in
9941 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9942 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'` ;;
9943 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9944 if ${ac_cv_lib_soname_X11:+false} :; then :
9945 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9946 fi ;;
9947 esac
9949 rm -f core conftest.err conftest.$ac_objext \
9950 conftest$ac_exeext conftest.$ac_ext
9951 LIBS=$ac_check_soname_save_LIBS
9953 if ${ac_cv_lib_soname_X11:+false} :; then :
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9955 $as_echo "not found" >&6; }
9957 else
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9959 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9961 cat >>confdefs.h <<_ACEOF
9962 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9963 _ACEOF
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9968 $as_echo_n "checking for -lXext... " >&6; }
9969 if ${ac_cv_lib_soname_Xext+:} false; then :
9970 $as_echo_n "(cached) " >&6
9971 else
9972 ac_check_soname_save_LIBS=$LIBS
9973 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9980 #ifdef __cplusplus
9981 extern "C"
9982 #endif
9983 char XextCreateExtension ();
9985 main ()
9987 return XextCreateExtension ();
9989 return 0;
9991 _ACEOF
9992 if ac_fn_c_try_link "$LINENO"; then :
9993 case "$LIBEXT" in
9994 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9995 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'` ;;
9996 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9997 if ${ac_cv_lib_soname_Xext:+false} :; then :
9998 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9999 fi ;;
10000 esac
10002 rm -f core conftest.err conftest.$ac_objext \
10003 conftest$ac_exeext conftest.$ac_ext
10004 LIBS=$ac_check_soname_save_LIBS
10006 if ${ac_cv_lib_soname_Xext:+false} :; then :
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10008 $as_echo "not found" >&6; }
10010 else
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
10012 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
10014 cat >>confdefs.h <<_ACEOF
10015 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10016 _ACEOF
10018 X_LIBS="$X_LIBS -lXext"
10020 X_LIBS="$X_LIBS -lX11"
10022 for ac_header in X11/Xlib.h \
10023 X11/XKBlib.h \
10024 X11/Xutil.h \
10025 X11/Xcursor/Xcursor.h \
10026 X11/extensions/shape.h \
10027 X11/extensions/XInput.h \
10028 X11/extensions/XInput2.h \
10029 X11/extensions/XShm.h \
10030 X11/extensions/Xcomposite.h \
10031 X11/extensions/Xfixes.h \
10032 X11/extensions/Xinerama.h \
10033 X11/extensions/Xrandr.h \
10034 X11/extensions/Xrender.h \
10035 X11/extensions/xf86vmode.h \
10036 X11/extensions/xf86vmproto.h
10037 do :
10038 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10039 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10040 # include <X11/Xlib.h>
10041 #endif
10042 #ifdef HAVE_X11_XUTIL_H
10043 # include <X11/Xutil.h>
10044 #endif
10046 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10047 cat >>confdefs.h <<_ACEOF
10048 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10049 _ACEOF
10053 done
10056 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10057 then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10059 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10060 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10061 $as_echo_n "(cached) " >&6
10062 else
10063 ac_check_lib_save_LIBS=$LIBS
10064 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10066 /* end confdefs.h. */
10068 /* Override any GCC internal prototype to avoid an error.
10069 Use char because int might match the return type of a GCC
10070 builtin and then its argument prototype would still apply. */
10071 #ifdef __cplusplus
10072 extern "C"
10073 #endif
10074 char XkbQueryExtension ();
10076 main ()
10078 return XkbQueryExtension ();
10080 return 0;
10082 _ACEOF
10083 if ac_fn_c_try_link "$LINENO"; then :
10084 ac_cv_lib_X11_XkbQueryExtension=yes
10085 else
10086 ac_cv_lib_X11_XkbQueryExtension=no
10088 rm -f core conftest.err conftest.$ac_objext \
10089 conftest$ac_exeext conftest.$ac_ext
10090 LIBS=$ac_check_lib_save_LIBS
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10093 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10094 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10096 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10102 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10103 then
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10105 $as_echo_n "checking for -lXcursor... " >&6; }
10106 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10107 $as_echo_n "(cached) " >&6
10108 else
10109 ac_check_soname_save_LIBS=$LIBS
10110 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10112 /* end confdefs.h. */
10114 /* Override any GCC internal prototype to avoid an error.
10115 Use char because int might match the return type of a GCC
10116 builtin and then its argument prototype would still apply. */
10117 #ifdef __cplusplus
10118 extern "C"
10119 #endif
10120 char XcursorImageLoadCursor ();
10122 main ()
10124 return XcursorImageLoadCursor ();
10126 return 0;
10128 _ACEOF
10129 if ac_fn_c_try_link "$LINENO"; then :
10130 case "$LIBEXT" in
10131 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10132 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'` ;;
10133 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10134 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10135 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10136 fi ;;
10137 esac
10139 rm -f core conftest.err conftest.$ac_objext \
10140 conftest$ac_exeext conftest.$ac_ext
10141 LIBS=$ac_check_soname_save_LIBS
10143 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10145 $as_echo "not found" >&6; }
10147 else
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10149 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10151 cat >>confdefs.h <<_ACEOF
10152 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10153 _ACEOF
10158 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10159 case "x$with_xcursor" in
10160 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10161 xno) ;;
10162 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10163 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10164 esac
10168 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10169 then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10171 $as_echo_n "checking for -lXi... " >&6; }
10172 if ${ac_cv_lib_soname_Xi+:} false; then :
10173 $as_echo_n "(cached) " >&6
10174 else
10175 ac_check_soname_save_LIBS=$LIBS
10176 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10183 #ifdef __cplusplus
10184 extern "C"
10185 #endif
10186 char XOpenDevice ();
10188 main ()
10190 return XOpenDevice ();
10192 return 0;
10194 _ACEOF
10195 if ac_fn_c_try_link "$LINENO"; then :
10196 case "$LIBEXT" in
10197 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10198 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'` ;;
10199 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10200 if ${ac_cv_lib_soname_Xi:+false} :; then :
10201 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10202 fi ;;
10203 esac
10205 rm -f core conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 LIBS=$ac_check_soname_save_LIBS
10209 if ${ac_cv_lib_soname_Xi:+false} :; then :
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10211 $as_echo "not found" >&6; }
10213 else
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10215 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10217 cat >>confdefs.h <<_ACEOF
10218 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10219 _ACEOF
10224 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10225 case "x$with_xinput" in
10226 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10227 xno) ;;
10228 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10229 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10230 esac
10234 if test "x$ac_cv_lib_soname_Xi" != x
10235 then
10236 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10237 case "x$with_xinput2" in
10238 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10239 xno) ;;
10240 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10241 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10242 esac
10247 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10248 then
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10250 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10251 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10252 $as_echo_n "(cached) " >&6
10253 else
10254 ac_check_lib_save_LIBS=$LIBS
10255 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10257 /* end confdefs.h. */
10259 /* Override any GCC internal prototype to avoid an error.
10260 Use char because int might match the return type of a GCC
10261 builtin and then its argument prototype would still apply. */
10262 #ifdef __cplusplus
10263 extern "C"
10264 #endif
10265 char XShmQueryExtension ();
10267 main ()
10269 return XShmQueryExtension ();
10271 return 0;
10273 _ACEOF
10274 if ac_fn_c_try_link "$LINENO"; then :
10275 ac_cv_lib_Xext_XShmQueryExtension=yes
10276 else
10277 ac_cv_lib_Xext_XShmQueryExtension=no
10279 rm -f core conftest.err conftest.$ac_objext \
10280 conftest$ac_exeext conftest.$ac_ext
10281 LIBS=$ac_check_lib_save_LIBS
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10284 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10285 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10287 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10292 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10293 case "x$with_xshm" in
10294 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10295 xno) ;;
10296 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10297 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10298 esac
10302 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10303 then
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10305 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10306 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10307 $as_echo_n "(cached) " >&6
10308 else
10309 ac_check_lib_save_LIBS=$LIBS
10310 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10314 /* Override any GCC internal prototype to avoid an error.
10315 Use char because int might match the return type of a GCC
10316 builtin and then its argument prototype would still apply. */
10317 #ifdef __cplusplus
10318 extern "C"
10319 #endif
10320 char XShapeQueryExtension ();
10322 main ()
10324 return XShapeQueryExtension ();
10326 return 0;
10328 _ACEOF
10329 if ac_fn_c_try_link "$LINENO"; then :
10330 ac_cv_lib_Xext_XShapeQueryExtension=yes
10331 else
10332 ac_cv_lib_Xext_XShapeQueryExtension=no
10334 rm -f core conftest.err conftest.$ac_objext \
10335 conftest$ac_exeext conftest.$ac_ext
10336 LIBS=$ac_check_lib_save_LIBS
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10339 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10340 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10342 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10347 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10348 case "x$with_xshape" in
10349 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10350 xno) ;;
10351 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10352 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10353 esac
10357 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10358 then
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10360 $as_echo_n "checking for -lXxf86vm... " >&6; }
10361 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_check_soname_save_LIBS=$LIBS
10365 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10367 /* end confdefs.h. */
10369 /* Override any GCC internal prototype to avoid an error.
10370 Use char because int might match the return type of a GCC
10371 builtin and then its argument prototype would still apply. */
10372 #ifdef __cplusplus
10373 extern "C"
10374 #endif
10375 char XF86VidModeQueryExtension ();
10377 main ()
10379 return XF86VidModeQueryExtension ();
10381 return 0;
10383 _ACEOF
10384 if ac_fn_c_try_link "$LINENO"; then :
10385 case "$LIBEXT" in
10386 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10387 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'` ;;
10388 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10389 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10390 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10391 fi ;;
10392 esac
10394 rm -f core conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 LIBS=$ac_check_soname_save_LIBS
10398 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10400 $as_echo "not found" >&6; }
10402 else
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10404 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10406 cat >>confdefs.h <<_ACEOF
10407 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10408 _ACEOF
10413 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10414 case "x$with_xxf86vm" in
10415 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10416 xno) ;;
10417 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10418 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10419 esac
10423 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10424 then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10426 $as_echo_n "checking for -lXrender... " >&6; }
10427 if ${ac_cv_lib_soname_Xrender+:} false; then :
10428 $as_echo_n "(cached) " >&6
10429 else
10430 ac_check_soname_save_LIBS=$LIBS
10431 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10435 /* Override any GCC internal prototype to avoid an error.
10436 Use char because int might match the return type of a GCC
10437 builtin and then its argument prototype would still apply. */
10438 #ifdef __cplusplus
10439 extern "C"
10440 #endif
10441 char XRenderQueryExtension ();
10443 main ()
10445 return XRenderQueryExtension ();
10447 return 0;
10449 _ACEOF
10450 if ac_fn_c_try_link "$LINENO"; then :
10451 case "$LIBEXT" in
10452 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10453 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'` ;;
10454 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10455 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10456 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10457 fi ;;
10458 esac
10460 rm -f core conftest.err conftest.$ac_objext \
10461 conftest$ac_exeext conftest.$ac_ext
10462 LIBS=$ac_check_soname_save_LIBS
10464 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10466 $as_echo "not found" >&6; }
10468 else
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10470 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10472 cat >>confdefs.h <<_ACEOF
10473 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10474 _ACEOF
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10477 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10478 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10479 $as_echo_n "(cached) " >&6
10480 else
10481 ac_check_lib_save_LIBS=$LIBS
10482 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10484 /* end confdefs.h. */
10486 /* Override any GCC internal prototype to avoid an error.
10487 Use char because int might match the return type of a GCC
10488 builtin and then its argument prototype would still apply. */
10489 #ifdef __cplusplus
10490 extern "C"
10491 #endif
10492 char XRenderSetPictureTransform ();
10494 main ()
10496 return XRenderSetPictureTransform ();
10498 return 0;
10500 _ACEOF
10501 if ac_fn_c_try_link "$LINENO"; then :
10502 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10503 else
10504 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10506 rm -f core conftest.err conftest.$ac_objext \
10507 conftest$ac_exeext conftest.$ac_ext
10508 LIBS=$ac_check_lib_save_LIBS
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10511 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10512 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10514 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10519 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10520 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10521 $as_echo_n "(cached) " >&6
10522 else
10523 ac_check_lib_save_LIBS=$LIBS
10524 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10531 #ifdef __cplusplus
10532 extern "C"
10533 #endif
10534 char XRenderCreateLinearGradient ();
10536 main ()
10538 return XRenderCreateLinearGradient ();
10540 return 0;
10542 _ACEOF
10543 if ac_fn_c_try_link "$LINENO"; then :
10544 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10545 else
10546 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_lib_save_LIBS
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10553 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10554 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10556 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10563 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10564 case "x$with_xrender" in
10565 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10566 xno) ;;
10567 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10568 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10569 esac
10573 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10574 then
10575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10576 /* end confdefs.h. */
10577 #include <X11/Xlib.h>
10578 #include <X11/extensions/Xrandr.h>
10580 main ()
10582 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10584 return 0;
10586 _ACEOF
10587 if ac_fn_c_try_compile "$LINENO"; then :
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10589 $as_echo_n "checking for -lXrandr... " >&6; }
10590 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10591 $as_echo_n "(cached) " >&6
10592 else
10593 ac_check_soname_save_LIBS=$LIBS
10594 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10596 /* end confdefs.h. */
10598 /* Override any GCC internal prototype to avoid an error.
10599 Use char because int might match the return type of a GCC
10600 builtin and then its argument prototype would still apply. */
10601 #ifdef __cplusplus
10602 extern "C"
10603 #endif
10604 char XRRQueryExtension ();
10606 main ()
10608 return XRRQueryExtension ();
10610 return 0;
10612 _ACEOF
10613 if ac_fn_c_try_link "$LINENO"; then :
10614 case "$LIBEXT" in
10615 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10616 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'` ;;
10617 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10618 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10619 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10620 fi ;;
10621 esac
10623 rm -f core conftest.err conftest.$ac_objext \
10624 conftest$ac_exeext conftest.$ac_ext
10625 LIBS=$ac_check_soname_save_LIBS
10627 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10629 $as_echo "not found" >&6; }
10631 else
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10633 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10635 cat >>confdefs.h <<_ACEOF
10636 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10637 _ACEOF
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10641 #include <X11/Xlib.h>
10642 #include <X11/extensions/Xrandr.h>
10644 main ()
10646 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10648 return 0;
10650 _ACEOF
10651 if ac_fn_c_try_compile "$LINENO"; then :
10653 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10661 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10662 case "x$with_xrandr" in
10663 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10664 xno) ;;
10665 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10666 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10667 esac
10671 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10672 then
10673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10674 /* end confdefs.h. */
10675 #include <X11/Xlib.h>
10676 #include <X11/extensions/Xfixes.h>
10678 main ()
10680 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10682 return 0;
10684 _ACEOF
10685 if ac_fn_c_try_compile "$LINENO"; then :
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10687 $as_echo_n "checking for -lXfixes... " >&6; }
10688 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10689 $as_echo_n "(cached) " >&6
10690 else
10691 ac_check_soname_save_LIBS=$LIBS
10692 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10696 /* Override any GCC internal prototype to avoid an error.
10697 Use char because int might match the return type of a GCC
10698 builtin and then its argument prototype would still apply. */
10699 #ifdef __cplusplus
10700 extern "C"
10701 #endif
10702 char XFixesQueryVersion ();
10704 main ()
10706 return XFixesQueryVersion ();
10708 return 0;
10710 _ACEOF
10711 if ac_fn_c_try_link "$LINENO"; then :
10712 case "$LIBEXT" in
10713 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10714 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'` ;;
10715 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10716 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10717 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10718 fi ;;
10719 esac
10721 rm -f core conftest.err conftest.$ac_objext \
10722 conftest$ac_exeext conftest.$ac_ext
10723 LIBS=$ac_check_soname_save_LIBS
10725 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10727 $as_echo "not found" >&6; }
10729 else
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10731 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10733 cat >>confdefs.h <<_ACEOF
10734 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10735 _ACEOF
10740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10742 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10743 case "x$with_xfixes" in
10744 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10745 xno) ;;
10746 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10747 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10748 esac
10752 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10753 then
10754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10755 /* end confdefs.h. */
10756 #include <X11/Xlib.h>
10757 #include <X11/extensions/Xinerama.h>
10759 main ()
10761 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10763 return 0;
10765 _ACEOF
10766 if ac_fn_c_try_compile "$LINENO"; then :
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10768 $as_echo_n "checking for -lXinerama... " >&6; }
10769 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10770 $as_echo_n "(cached) " >&6
10771 else
10772 ac_check_soname_save_LIBS=$LIBS
10773 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10775 /* end confdefs.h. */
10777 /* Override any GCC internal prototype to avoid an error.
10778 Use char because int might match the return type of a GCC
10779 builtin and then its argument prototype would still apply. */
10780 #ifdef __cplusplus
10781 extern "C"
10782 #endif
10783 char XineramaQueryScreens ();
10785 main ()
10787 return XineramaQueryScreens ();
10789 return 0;
10791 _ACEOF
10792 if ac_fn_c_try_link "$LINENO"; then :
10793 case "$LIBEXT" in
10794 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10795 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'` ;;
10796 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10797 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10798 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10799 fi ;;
10800 esac
10802 rm -f core conftest.err conftest.$ac_objext \
10803 conftest$ac_exeext conftest.$ac_ext
10804 LIBS=$ac_check_soname_save_LIBS
10806 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10808 $as_echo "not found" >&6; }
10810 else
10811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10812 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10814 cat >>confdefs.h <<_ACEOF
10815 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10816 _ACEOF
10821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10823 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10824 case "x$with_xinerama" in
10825 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10826 xno) ;;
10827 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10828 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10829 esac
10833 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10834 then
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10836 $as_echo_n "checking for -lXcomposite... " >&6; }
10837 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10838 $as_echo_n "(cached) " >&6
10839 else
10840 ac_check_soname_save_LIBS=$LIBS
10841 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10843 /* end confdefs.h. */
10845 /* Override any GCC internal prototype to avoid an error.
10846 Use char because int might match the return type of a GCC
10847 builtin and then its argument prototype would still apply. */
10848 #ifdef __cplusplus
10849 extern "C"
10850 #endif
10851 char XCompositeRedirectWindow ();
10853 main ()
10855 return XCompositeRedirectWindow ();
10857 return 0;
10859 _ACEOF
10860 if ac_fn_c_try_link "$LINENO"; then :
10861 case "$LIBEXT" in
10862 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10863 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'` ;;
10864 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10865 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10866 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10867 fi ;;
10868 esac
10870 rm -f core conftest.err conftest.$ac_objext \
10871 conftest$ac_exeext conftest.$ac_ext
10872 LIBS=$ac_check_soname_save_LIBS
10874 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10876 $as_echo "not found" >&6; }
10878 else
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10880 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10882 cat >>confdefs.h <<_ACEOF
10883 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10884 _ACEOF
10889 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10890 case "x$with_xcomposite" in
10891 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10892 xno) ;;
10893 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10894 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10895 esac
10899 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10900 #include <X11/Xlib.h>
10901 #endif
10903 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10905 cat >>confdefs.h <<_ACEOF
10906 #define HAVE_XICCALLBACK_CALLBACK 1
10907 _ACEOF
10911 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10912 #include <X11/Xlib.h>
10913 #endif
10915 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10917 cat >>confdefs.h <<_ACEOF
10918 #define HAVE_XEVENT_XCOOKIE 1
10919 _ACEOF
10926 opengl_msg=""
10927 if test "x$with_opengl" != "xno"
10928 then
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10930 $as_echo_n "checking for -lGL... " >&6; }
10931 if ${ac_cv_lib_soname_GL+:} false; then :
10932 $as_echo_n "(cached) " >&6
10933 else
10934 ac_check_soname_save_LIBS=$LIBS
10935 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10937 /* end confdefs.h. */
10939 /* Override any GCC internal prototype to avoid an error.
10940 Use char because int might match the return type of a GCC
10941 builtin and then its argument prototype would still apply. */
10942 #ifdef __cplusplus
10943 extern "C"
10944 #endif
10945 char glXCreateContext ();
10947 main ()
10949 return glXCreateContext ();
10951 return 0;
10953 _ACEOF
10954 if ac_fn_c_try_link "$LINENO"; then :
10955 case "$LIBEXT" in
10956 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10957 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'` ;;
10958 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10959 if ${ac_cv_lib_soname_GL:+false} :; then :
10960 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10961 fi ;;
10962 esac
10964 rm -f core conftest.err conftest.$ac_objext \
10965 conftest$ac_exeext conftest.$ac_ext
10966 LIBS=$ac_check_soname_save_LIBS
10968 if ${ac_cv_lib_soname_GL:+false} :; then :
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10970 $as_echo "not found" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10972 $as_echo_n "checking for -lGL... " >&6; }
10973 if ${ac_cv_lib_soname_GL+:} false; then :
10974 $as_echo_n "(cached) " >&6
10975 else
10976 ac_check_soname_save_LIBS=$LIBS
10977 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"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10984 #ifdef __cplusplus
10985 extern "C"
10986 #endif
10987 char glXCreateContext ();
10989 main ()
10991 return glXCreateContext ();
10993 return 0;
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 case "$LIBEXT" in
10998 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10999 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'` ;;
11000 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11001 if ${ac_cv_lib_soname_GL:+false} :; then :
11002 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11003 fi ;;
11004 esac
11006 rm -f core conftest.err conftest.$ac_objext \
11007 conftest$ac_exeext conftest.$ac_ext
11008 LIBS=$ac_check_soname_save_LIBS
11010 if ${ac_cv_lib_soname_GL:+false} :; then :
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11012 $as_echo "not found" >&6; }
11013 if test -f /usr/X11R6/lib/libGL.a
11014 then
11015 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11016 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11017 else
11018 opengl_msg="No OpenGL library found on this system."
11020 else
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11022 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11024 cat >>confdefs.h <<_ACEOF
11025 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11026 _ACEOF
11028 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"
11030 else
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11032 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11034 cat >>confdefs.h <<_ACEOF
11035 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11036 _ACEOF
11038 OPENGL_LIBS="-lGL"
11040 if test "x$with_glu" != "xno"
11041 then
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11043 $as_echo_n "checking for -lGLU... " >&6; }
11044 if ${ac_cv_lib_soname_GLU+:} false; then :
11045 $as_echo_n "(cached) " >&6
11046 else
11047 ac_check_soname_save_LIBS=$LIBS
11048 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11050 /* end confdefs.h. */
11052 /* Override any GCC internal prototype to avoid an error.
11053 Use char because int might match the return type of a GCC
11054 builtin and then its argument prototype would still apply. */
11055 #ifdef __cplusplus
11056 extern "C"
11057 #endif
11058 char gluLookAt ();
11060 main ()
11062 return gluLookAt ();
11064 return 0;
11066 _ACEOF
11067 if ac_fn_c_try_link "$LINENO"; then :
11068 case "$LIBEXT" in
11069 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11070 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'` ;;
11071 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11072 if ${ac_cv_lib_soname_GLU:+false} :; then :
11073 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11074 fi ;;
11075 esac
11077 rm -f core conftest.err conftest.$ac_objext \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_soname_save_LIBS
11081 if ${ac_cv_lib_soname_GLU:+false} :; then :
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11083 $as_echo "not found" >&6; }
11085 else
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11087 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11089 cat >>confdefs.h <<_ACEOF
11090 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11091 _ACEOF
11095 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11096 case "x$with_glu" in
11097 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11098 xno) ;;
11099 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11100 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11101 esac
11106 if test "x$with_osmesa" != "xno"
11107 then
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11109 $as_echo_n "checking for -lOSMesa... " >&6; }
11110 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11111 $as_echo_n "(cached) " >&6
11112 else
11113 ac_check_soname_save_LIBS=$LIBS
11114 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11121 #ifdef __cplusplus
11122 extern "C"
11123 #endif
11124 char OSMesaGetProcAddress ();
11126 main ()
11128 return OSMesaGetProcAddress ();
11130 return 0;
11132 _ACEOF
11133 if ac_fn_c_try_link "$LINENO"; then :
11134 case "$LIBEXT" in
11135 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11136 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'` ;;
11137 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11138 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11139 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11140 fi ;;
11141 esac
11143 rm -f core conftest.err conftest.$ac_objext \
11144 conftest$ac_exeext conftest.$ac_ext
11145 LIBS=$ac_check_soname_save_LIBS
11147 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11149 $as_echo "not found" >&6; }
11151 else
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11153 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11155 cat >>confdefs.h <<_ACEOF
11156 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11157 _ACEOF
11161 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11162 case "x$with_osmesa" in
11163 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11164 xno) ;;
11165 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11166 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11167 esac
11172 if test -n "$opengl_msg"; then :
11173 case "x$with_opengl" in
11174 x) as_fn_append wine_warnings "|$opengl_msg
11175 OpenGL and Direct3D won't be supported." ;;
11176 xno) ;;
11177 *) as_fn_error $? "$opengl_msg
11178 OpenGL and Direct3D won't be supported.
11179 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11180 esac
11184 CPPFLAGS="$ac_save_CPPFLAGS"
11185 else
11186 X_CFLAGS=""
11187 X_LIBS=""
11190 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11191 then
11192 if test "x$X_LIBS" = "x"; then :
11193 case "x$with_x" in
11194 xno) ;;
11195 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11196 without X support, which probably isn't what you want. You will need
11197 to install ${notice_platform}development packages of Xlib at the very least.
11198 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11199 esac
11200 enable_winex11_drv=${enable_winex11_drv:-no}
11202 else
11203 if test "x$X_LIBS" = "x"; then :
11204 case "x$with_x" in
11205 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11206 xno) ;;
11207 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11208 This is an error since --with-x was requested." "$LINENO" 5 ;;
11209 esac
11210 enable_winex11_drv=${enable_winex11_drv:-no}
11214 if test "$ac_cv_header_CL_cl_h" = "yes"
11215 then
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11217 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11218 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-lOpenCL $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char clGetPlatformInfo ();
11234 main ()
11236 return clGetPlatformInfo ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11243 else
11244 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11251 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11252 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11253 OPENCL_LIBS="-lOpenCL"
11258 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11259 case "x$with_opencl" in
11260 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11261 xno) ;;
11262 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11263 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11264 esac
11265 enable_opencl=${enable_opencl:-no}
11268 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11269 then
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11271 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11272 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11273 $as_echo_n "(cached) " >&6
11274 else
11275 ac_check_lib_save_LIBS=$LIBS
11276 LIBS="-lpcap $LIBS"
11277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11278 /* end confdefs.h. */
11280 /* Override any GCC internal prototype to avoid an error.
11281 Use char because int might match the return type of a GCC
11282 builtin and then its argument prototype would still apply. */
11283 #ifdef __cplusplus
11284 extern "C"
11285 #endif
11286 char pcap_create ();
11288 main ()
11290 return pcap_create ();
11292 return 0;
11294 _ACEOF
11295 if ac_fn_c_try_link "$LINENO"; then :
11296 ac_cv_lib_pcap_pcap_create=yes
11297 else
11298 ac_cv_lib_pcap_pcap_create=no
11300 rm -f core conftest.err conftest.$ac_objext \
11301 conftest$ac_exeext conftest.$ac_ext
11302 LIBS=$ac_check_lib_save_LIBS
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11305 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11306 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11307 PCAP_LIBS="-lpcap"
11312 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11313 case "x$with_pcap" in
11314 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11315 xno) ;;
11316 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11317 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11318 esac
11319 enable_wpcap=${enable_wpcap:-no}
11323 if test "x$with_xml" != "xno"
11324 then
11325 if ${XML2_CFLAGS:+false} :; then :
11326 if ${PKG_CONFIG+:} false; then :
11327 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11330 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11331 if ${XML2_LIBS:+false} :; then :
11332 if ${PKG_CONFIG+:} false; then :
11333 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11336 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11337 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11338 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11339 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11340 ac_save_CPPFLAGS=$CPPFLAGS
11341 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11342 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11343 do :
11344 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11345 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11346 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11347 cat >>confdefs.h <<_ACEOF
11348 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11349 _ACEOF
11353 done
11355 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"
11356 then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11358 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11359 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11360 $as_echo_n "(cached) " >&6
11361 else
11362 ac_check_lib_save_LIBS=$LIBS
11363 LIBS="-lxml2 $XML2_LIBS $LIBS"
11364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11365 /* end confdefs.h. */
11367 /* Override any GCC internal prototype to avoid an error.
11368 Use char because int might match the return type of a GCC
11369 builtin and then its argument prototype would still apply. */
11370 #ifdef __cplusplus
11371 extern "C"
11372 #endif
11373 char xmlParseMemory ();
11375 main ()
11377 return xmlParseMemory ();
11379 return 0;
11381 _ACEOF
11382 if ac_fn_c_try_link "$LINENO"; then :
11383 ac_cv_lib_xml2_xmlParseMemory=yes
11384 else
11385 ac_cv_lib_xml2_xmlParseMemory=no
11387 rm -f core conftest.err conftest.$ac_objext \
11388 conftest$ac_exeext conftest.$ac_ext
11389 LIBS=$ac_check_lib_save_LIBS
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11392 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11393 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11395 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11397 else
11398 XML2_LIBS=""
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11402 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11403 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11404 $as_echo_n "(cached) " >&6
11405 else
11406 ac_check_lib_save_LIBS=$LIBS
11407 LIBS="-lxml2 $XML2_LIBS $LIBS"
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char xmlReadMemory ();
11419 main ()
11421 return xmlReadMemory ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_xml2_xmlReadMemory=yes
11428 else
11429 ac_cv_lib_xml2_xmlReadMemory=no
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11436 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11437 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11439 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11444 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11445 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11446 $as_echo_n "(cached) " >&6
11447 else
11448 ac_check_lib_save_LIBS=$LIBS
11449 LIBS="-lxml2 $XML2_LIBS $LIBS"
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char xmlNewDocPI ();
11461 main ()
11463 return xmlNewDocPI ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_xml2_xmlNewDocPI=yes
11470 else
11471 ac_cv_lib_xml2_xmlNewDocPI=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11478 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11479 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11481 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11486 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11487 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_lib_save_LIBS=$LIBS
11491 LIBS="-lxml2 $XML2_LIBS $LIBS"
11492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493 /* end confdefs.h. */
11495 /* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498 #ifdef __cplusplus
11499 extern "C"
11500 #endif
11501 char xmlSchemaSetParserStructuredErrors ();
11503 main ()
11505 return xmlSchemaSetParserStructuredErrors ();
11507 return 0;
11509 _ACEOF
11510 if ac_fn_c_try_link "$LINENO"; then :
11511 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11512 else
11513 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11515 rm -f core conftest.err conftest.$ac_objext \
11516 conftest$ac_exeext conftest.$ac_ext
11517 LIBS=$ac_check_lib_save_LIBS
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11520 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11521 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11523 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11528 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11529 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_lib_save_LIBS=$LIBS
11533 LIBS="-lxml2 $XML2_LIBS $LIBS"
11534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11535 /* end confdefs.h. */
11537 /* Override any GCC internal prototype to avoid an error.
11538 Use char because int might match the return type of a GCC
11539 builtin and then its argument prototype would still apply. */
11540 #ifdef __cplusplus
11541 extern "C"
11542 #endif
11543 char xmlSchemaSetValidStructuredErrors ();
11545 main ()
11547 return xmlSchemaSetValidStructuredErrors ();
11549 return 0;
11551 _ACEOF
11552 if ac_fn_c_try_link "$LINENO"; then :
11553 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11554 else
11555 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_lib_save_LIBS
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11562 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11563 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11565 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11570 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11571 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11572 $as_echo_n "(cached) " >&6
11573 else
11574 ac_check_lib_save_LIBS=$LIBS
11575 LIBS="-lxml2 $XML2_LIBS $LIBS"
11576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11577 /* end confdefs.h. */
11579 /* Override any GCC internal prototype to avoid an error.
11580 Use char because int might match the return type of a GCC
11581 builtin and then its argument prototype would still apply. */
11582 #ifdef __cplusplus
11583 extern "C"
11584 #endif
11585 char xmlFirstElementChild ();
11587 main ()
11589 return xmlFirstElementChild ();
11591 return 0;
11593 _ACEOF
11594 if ac_fn_c_try_link "$LINENO"; then :
11595 ac_cv_lib_xml2_xmlFirstElementChild=yes
11596 else
11597 ac_cv_lib_xml2_xmlFirstElementChild=no
11599 rm -f core conftest.err conftest.$ac_objext \
11600 conftest$ac_exeext conftest.$ac_ext
11601 LIBS=$ac_check_lib_save_LIBS
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11604 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11605 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11607 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11611 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11613 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11615 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11619 else
11620 XML2_CFLAGS=""
11621 XML2_LIBS=""
11623 CPPFLAGS=$ac_save_CPPFLAGS
11624 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11625 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11628 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11629 case "x$with_xml" in
11630 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11631 xno) ;;
11632 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11633 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11634 esac
11638 if test "x$with_xslt" != "xno"
11639 then
11640 if ${XSLT_CFLAGS:+false} :; then :
11641 if ${PKG_CONFIG+:} false; then :
11642 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11645 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11646 if ${XSLT_LIBS:+false} :; then :
11647 if ${PKG_CONFIG+:} false; then :
11648 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11651 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11652 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11653 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11654 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11655 ac_save_CPPFLAGS=$CPPFLAGS
11656 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11657 for ac_header in libxslt/pattern.h libxslt/transform.h
11658 do :
11659 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11660 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11661 # include <libxslt/pattern.h>
11662 #endif
11664 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11665 cat >>confdefs.h <<_ACEOF
11666 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11667 _ACEOF
11671 done
11673 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11674 then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11676 $as_echo_n "checking for -lxslt... " >&6; }
11677 if ${ac_cv_lib_soname_xslt+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_soname_save_LIBS=$LIBS
11681 LIBS="-lxslt $XSLT_LIBS $LIBS"
11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11685 /* Override any GCC internal prototype to avoid an error.
11686 Use char because int might match the return type of a GCC
11687 builtin and then its argument prototype would still apply. */
11688 #ifdef __cplusplus
11689 extern "C"
11690 #endif
11691 char xsltCompilePattern ();
11693 main ()
11695 return xsltCompilePattern ();
11697 return 0;
11699 _ACEOF
11700 if ac_fn_c_try_link "$LINENO"; then :
11701 case "$LIBEXT" in
11702 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11703 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'` ;;
11704 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11705 if ${ac_cv_lib_soname_xslt:+false} :; then :
11706 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11707 fi ;;
11708 esac
11710 rm -f core conftest.err conftest.$ac_objext \
11711 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_check_soname_save_LIBS
11714 if ${ac_cv_lib_soname_xslt:+false} :; then :
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11716 $as_echo "not found" >&6; }
11718 else
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11720 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11722 cat >>confdefs.h <<_ACEOF
11723 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11724 _ACEOF
11728 else
11729 XSLT_CFLAGS=""
11731 CPPFLAGS=$ac_save_CPPFLAGS
11732 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11733 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11736 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11737 case "x$with_xslt" in
11738 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11739 xno) ;;
11740 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11741 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11742 esac
11746 if test "x$with_dbus" != "xno"
11747 then
11748 if ${DBUS_CFLAGS:+false} :; then :
11749 if ${PKG_CONFIG+:} false; then :
11750 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11754 if ${DBUS_LIBS:+false} :; then :
11755 if ${PKG_CONFIG+:} false; then :
11756 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11761 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11762 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11763 ac_save_CPPFLAGS=$CPPFLAGS
11764 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11765 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11766 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11768 $as_echo_n "checking for -ldbus-1... " >&6; }
11769 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11770 $as_echo_n "(cached) " >&6
11771 else
11772 ac_check_soname_save_LIBS=$LIBS
11773 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11775 /* end confdefs.h. */
11777 /* Override any GCC internal prototype to avoid an error.
11778 Use char because int might match the return type of a GCC
11779 builtin and then its argument prototype would still apply. */
11780 #ifdef __cplusplus
11781 extern "C"
11782 #endif
11783 char dbus_connection_close ();
11785 main ()
11787 return dbus_connection_close ();
11789 return 0;
11791 _ACEOF
11792 if ac_fn_c_try_link "$LINENO"; then :
11793 case "$LIBEXT" in
11794 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11795 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'` ;;
11796 *) 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'`
11797 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11798 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11799 fi ;;
11800 esac
11802 rm -f core conftest.err conftest.$ac_objext \
11803 conftest$ac_exeext conftest.$ac_ext
11804 LIBS=$ac_check_soname_save_LIBS
11806 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11808 $as_echo "not found" >&6; }
11809 DBUS_CFLAGS=""
11810 else
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11812 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11814 cat >>confdefs.h <<_ACEOF
11815 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11816 _ACEOF
11820 else
11821 DBUS_CFLAGS=""
11825 CPPFLAGS=$ac_save_CPPFLAGS
11826 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11827 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11830 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11831 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11832 case "x$with_dbus" in
11833 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11834 xno) ;;
11835 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11836 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11837 esac
11841 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11842 then
11843 if ${HAL_CFLAGS:+false} :; then :
11844 if ${PKG_CONFIG+:} false; then :
11845 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11849 if ${HAL_LIBS:+false} :; then :
11850 if ${PKG_CONFIG+:} false; then :
11851 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11855 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11856 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11857 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11858 ac_save_CPPFLAGS=$CPPFLAGS
11859 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11860 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11861 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11863 $as_echo_n "checking for -lhal... " >&6; }
11864 if ${ac_cv_lib_soname_hal+:} false; then :
11865 $as_echo_n "(cached) " >&6
11866 else
11867 ac_check_soname_save_LIBS=$LIBS
11868 LIBS="-lhal $HAL_LIBS $LIBS"
11869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11870 /* end confdefs.h. */
11872 /* Override any GCC internal prototype to avoid an error.
11873 Use char because int might match the return type of a GCC
11874 builtin and then its argument prototype would still apply. */
11875 #ifdef __cplusplus
11876 extern "C"
11877 #endif
11878 char libhal_ctx_new ();
11880 main ()
11882 return libhal_ctx_new ();
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_link "$LINENO"; then :
11888 case "$LIBEXT" in
11889 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11890 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'` ;;
11891 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11892 if ${ac_cv_lib_soname_hal:+false} :; then :
11893 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11894 fi ;;
11895 esac
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_soname_save_LIBS
11901 if ${ac_cv_lib_soname_hal:+false} :; then :
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11903 $as_echo "not found" >&6; }
11904 HAL_CFLAGS=""
11905 else
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11907 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11909 cat >>confdefs.h <<_ACEOF
11910 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11911 _ACEOF
11915 else
11916 HAL_CFLAGS=""
11920 CPPFLAGS=$ac_save_CPPFLAGS
11921 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11922 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11924 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11925 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11926 case "x$with_hal" in
11927 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11928 xno) ;;
11929 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11930 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11931 esac
11936 if test "x$with_gnutls" != "xno"
11937 then
11938 if ${GNUTLS_CFLAGS:+false} :; then :
11939 if ${PKG_CONFIG+:} false; then :
11940 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11944 if ${GNUTLS_LIBS:+false} :; then :
11945 if ${PKG_CONFIG+:} false; then :
11946 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11951 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11952 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11953 ac_save_CPPFLAGS=$CPPFLAGS
11954 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11955 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11956 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11958 /* end confdefs.h. */
11959 #include <gnutls/gnutls.h>
11960 #include <gnutls/crypto.h>
11962 main ()
11964 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11966 return 0;
11968 _ACEOF
11969 if ac_fn_c_try_compile "$LINENO"; then :
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11971 $as_echo_n "checking for -lgnutls... " >&6; }
11972 if ${ac_cv_lib_soname_gnutls+:} false; then :
11973 $as_echo_n "(cached) " >&6
11974 else
11975 ac_check_soname_save_LIBS=$LIBS
11976 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11983 #ifdef __cplusplus
11984 extern "C"
11985 #endif
11986 char gnutls_global_init ();
11988 main ()
11990 return gnutls_global_init ();
11992 return 0;
11994 _ACEOF
11995 if ac_fn_c_try_link "$LINENO"; then :
11996 case "$LIBEXT" in
11997 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11998 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'` ;;
11999 *) 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'`
12000 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12001 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'`
12002 fi ;;
12003 esac
12005 rm -f core conftest.err conftest.$ac_objext \
12006 conftest$ac_exeext conftest.$ac_ext
12007 LIBS=$ac_check_soname_save_LIBS
12009 if ${ac_cv_lib_soname_gnutls:+false} :; then :
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12011 $as_echo "not found" >&6; }
12012 GNUTLS_CFLAGS=""
12013 else
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12015 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12017 cat >>confdefs.h <<_ACEOF
12018 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12019 _ACEOF
12023 ac_wine_check_funcs_save_LIBS="$LIBS"
12024 LIBS="$LIBS $GNUTLS_LIBS"
12025 for ac_func in gnutls_cipher_init
12026 do :
12027 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12028 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12029 cat >>confdefs.h <<_ACEOF
12030 #define HAVE_GNUTLS_CIPHER_INIT 1
12031 _ACEOF
12033 else
12034 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12036 done
12038 LIBS="$ac_wine_check_funcs_save_LIBS"
12040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12041 else
12042 GNUTLS_CFLAGS=""
12046 CPPFLAGS=$ac_save_CPPFLAGS
12047 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12048 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12051 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12052 case "x$with_gnutls" in
12053 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12054 xno) ;;
12055 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12056 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12057 esac
12061 CURSES_LIBS=""
12062 if test "$ac_cv_header_ncurses_h" = "yes"
12063 then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12065 $as_echo_n "checking for -lncurses... " >&6; }
12066 if ${ac_cv_lib_soname_ncurses+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 ac_check_soname_save_LIBS=$LIBS
12070 LIBS="-lncurses $LIBS"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 char waddch ();
12082 main ()
12084 return waddch ();
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"; then :
12090 case "$LIBEXT" in
12091 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12092 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'` ;;
12093 *) 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'`
12094 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12095 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12096 fi ;;
12097 esac
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 LIBS=$ac_check_soname_save_LIBS
12103 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12105 $as_echo "not found" >&6; }
12107 else
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12109 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12111 cat >>confdefs.h <<_ACEOF
12112 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12113 _ACEOF
12115 CURSES_LIBS="-lncurses"
12117 elif test "$ac_cv_header_curses_h" = "yes"
12118 then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12120 $as_echo_n "checking for -lcurses... " >&6; }
12121 if ${ac_cv_lib_soname_curses+:} false; then :
12122 $as_echo_n "(cached) " >&6
12123 else
12124 ac_check_soname_save_LIBS=$LIBS
12125 LIBS="-lcurses $LIBS"
12126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12127 /* end confdefs.h. */
12129 /* Override any GCC internal prototype to avoid an error.
12130 Use char because int might match the return type of a GCC
12131 builtin and then its argument prototype would still apply. */
12132 #ifdef __cplusplus
12133 extern "C"
12134 #endif
12135 char waddch ();
12137 main ()
12139 return waddch ();
12141 return 0;
12143 _ACEOF
12144 if ac_fn_c_try_link "$LINENO"; then :
12145 case "$LIBEXT" in
12146 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12147 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'` ;;
12148 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12149 if ${ac_cv_lib_soname_curses:+false} :; then :
12150 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12151 fi ;;
12152 esac
12154 rm -f core conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_soname_save_LIBS
12158 if ${ac_cv_lib_soname_curses:+false} :; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12160 $as_echo "not found" >&6; }
12162 else
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12164 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12166 cat >>confdefs.h <<_ACEOF
12167 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12168 _ACEOF
12170 CURSES_LIBS="-lcurses"
12173 ac_save_LIBS="$LIBS"
12174 LIBS="$LIBS $CURSES_LIBS"
12175 for ac_func in mousemask
12176 do :
12177 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12178 if test "x$ac_cv_func_mousemask" = xyes; then :
12179 cat >>confdefs.h <<_ACEOF
12180 #define HAVE_MOUSEMASK 1
12181 _ACEOF
12184 done
12186 LIBS="$ac_save_LIBS"
12187 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12188 case "x$with_curses" in
12189 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12190 xno) ;;
12191 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12192 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12193 esac
12197 if test "x$with_sane" != "xno"
12198 then
12199 if ${SANE_CFLAGS:+false} :; then :
12200 if ${PKG_CONFIG+:} false; then :
12201 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12204 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12205 if ${SANE_LIBS:+false} :; then :
12206 if ${PKG_CONFIG+:} false; then :
12207 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12210 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12212 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12213 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12214 ac_save_CPPFLAGS=$CPPFLAGS
12215 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12216 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12217 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12219 $as_echo_n "checking for -lsane... " >&6; }
12220 if ${ac_cv_lib_soname_sane+:} false; then :
12221 $as_echo_n "(cached) " >&6
12222 else
12223 ac_check_soname_save_LIBS=$LIBS
12224 LIBS="-lsane $SANE_LIBS $LIBS"
12225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 #ifdef __cplusplus
12232 extern "C"
12233 #endif
12234 char sane_init ();
12236 main ()
12238 return sane_init ();
12240 return 0;
12242 _ACEOF
12243 if ac_fn_c_try_link "$LINENO"; then :
12244 case "$LIBEXT" in
12245 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12246 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'` ;;
12247 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12248 if ${ac_cv_lib_soname_sane:+false} :; then :
12249 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12250 fi ;;
12251 esac
12253 rm -f core conftest.err conftest.$ac_objext \
12254 conftest$ac_exeext conftest.$ac_ext
12255 LIBS=$ac_check_soname_save_LIBS
12257 if ${ac_cv_lib_soname_sane:+false} :; then :
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12259 $as_echo "not found" >&6; }
12260 SANE_CFLAGS=""
12261 else
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12263 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12265 cat >>confdefs.h <<_ACEOF
12266 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12267 _ACEOF
12271 else
12272 SANE_CFLAGS=""
12276 CPPFLAGS=$ac_save_CPPFLAGS
12277 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12278 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12281 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12282 case "x$with_sane" in
12283 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12284 xno) ;;
12285 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12286 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12287 esac
12291 if test "x$with_v4l" != "xno"
12292 then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12294 $as_echo_n "checking for -lv4l1... " >&6; }
12295 if ${ac_cv_lib_soname_v4l1+:} false; then :
12296 $as_echo_n "(cached) " >&6
12297 else
12298 ac_check_soname_save_LIBS=$LIBS
12299 LIBS="-lv4l1 $LIBS"
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12306 #ifdef __cplusplus
12307 extern "C"
12308 #endif
12309 char v4l1_open ();
12311 main ()
12313 return v4l1_open ();
12315 return 0;
12317 _ACEOF
12318 if ac_fn_c_try_link "$LINENO"; then :
12319 case "$LIBEXT" in
12320 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12321 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'` ;;
12322 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12323 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12324 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12325 fi ;;
12326 esac
12328 rm -f core conftest.err conftest.$ac_objext \
12329 conftest$ac_exeext conftest.$ac_ext
12330 LIBS=$ac_check_soname_save_LIBS
12332 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12334 $as_echo "not found" >&6; }
12336 else
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12338 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12340 cat >>confdefs.h <<_ACEOF
12341 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12342 _ACEOF
12347 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12348 case "x$with_v4l" in
12349 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12350 xno) ;;
12351 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12352 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12353 esac
12357 if test "x$with_gphoto" != "xno"
12358 then
12359 if ${GPHOTO2_CFLAGS:+false} :; then :
12360 if ${PKG_CONFIG+:} false; then :
12361 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12364 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12365 if ${GPHOTO2_LIBS:+false} :; then :
12366 if ${PKG_CONFIG+:} false; then :
12367 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12370 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12371 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12372 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12373 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12374 ac_save_CPPFLAGS=$CPPFLAGS
12375 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12376 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12377 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12379 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12380 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12381 $as_echo_n "(cached) " >&6
12382 else
12383 ac_check_lib_save_LIBS=$LIBS
12384 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 /* Override any GCC internal prototype to avoid an error.
12389 Use char because int might match the return type of a GCC
12390 builtin and then its argument prototype would still apply. */
12391 #ifdef __cplusplus
12392 extern "C"
12393 #endif
12394 char gp_camera_new ();
12396 main ()
12398 return gp_camera_new ();
12400 return 0;
12402 _ACEOF
12403 if ac_fn_c_try_link "$LINENO"; then :
12404 ac_cv_lib_gphoto2_gp_camera_new=yes
12405 else
12406 ac_cv_lib_gphoto2_gp_camera_new=no
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 LIBS=$ac_check_lib_save_LIBS
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12413 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12414 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12416 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12418 else
12419 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12422 else
12423 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12427 CPPFLAGS=$ac_save_CPPFLAGS
12428 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12429 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12431 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12432 if ${PKG_CONFIG+:} false; then :
12433 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12436 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12437 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12438 if ${PKG_CONFIG+:} false; then :
12439 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12442 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12443 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12444 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12445 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12446 ac_save_CPPFLAGS=$CPPFLAGS
12447 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12448 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12449 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12451 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12452 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12453 $as_echo_n "(cached) " >&6
12454 else
12455 ac_check_lib_save_LIBS=$LIBS
12456 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12458 /* end confdefs.h. */
12460 /* Override any GCC internal prototype to avoid an error.
12461 Use char because int might match the return type of a GCC
12462 builtin and then its argument prototype would still apply. */
12463 #ifdef __cplusplus
12464 extern "C"
12465 #endif
12466 char gp_port_info_list_new ();
12468 main ()
12470 return gp_port_info_list_new ();
12472 return 0;
12474 _ACEOF
12475 if ac_fn_c_try_link "$LINENO"; then :
12476 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12477 else
12478 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12480 rm -f core conftest.err conftest.$ac_objext \
12481 conftest$ac_exeext conftest.$ac_ext
12482 LIBS=$ac_check_lib_save_LIBS
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12485 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12486 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12488 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12490 else
12491 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12494 else
12495 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12499 CPPFLAGS=$ac_save_CPPFLAGS
12500 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12501 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12504 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12505 case "x$with_gphoto" in
12506 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12507 xno) ;;
12508 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12509 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12510 esac
12513 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12514 case "x$with_gphoto" in
12515 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12516 xno) ;;
12517 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12518 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12519 esac
12524 if test "$ac_cv_header_resolv_h" = "yes"
12525 then
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12527 $as_echo_n "checking for resolver library... " >&6; }
12528 if ${ac_cv_have_resolv+:} false; then :
12529 $as_echo_n "(cached) " >&6
12530 else
12531 ac_save_LIBS="$LIBS"
12532 for lib in '' -lresolv
12534 LIBS="$lib $ac_save_LIBS"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12537 #ifdef HAVE_NETINET_IN_H
12538 #include <netinet/in.h>
12539 #endif
12540 #include <resolv.h>
12542 main ()
12544 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12546 return 0;
12548 _ACEOF
12549 if ac_fn_c_try_link "$LINENO"; then :
12550 ac_cv_have_resolv=${lib:-"none required"}
12551 else
12552 ac_cv_have_resolv="not found"
12554 rm -f core conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12556 test "x$ac_cv_have_resolv" = "xnot found" || break
12557 done
12558 LIBS="$ac_save_LIBS"
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12561 $as_echo "$ac_cv_have_resolv" >&6; }
12563 case "$ac_cv_have_resolv" in
12564 "not found") ;;
12565 "none required")
12567 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12570 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12572 RESOLV_LIBS=$ac_cv_have_resolv
12574 esac
12577 if test "x$with_cms" != "xno"
12578 then
12579 if ${LCMS2_CFLAGS:+false} :; then :
12580 if ${PKG_CONFIG+:} false; then :
12581 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12585 if ${LCMS2_LIBS:+false} :; then :
12586 if ${PKG_CONFIG+:} false; then :
12587 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12591 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12592 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12593 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12594 ac_save_CPPFLAGS=$CPPFLAGS
12595 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12596 for ac_header in lcms2.h
12597 do :
12598 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12599 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12600 cat >>confdefs.h <<_ACEOF
12601 #define HAVE_LCMS2_H 1
12602 _ACEOF
12606 done
12608 if test "$ac_cv_header_lcms2_h" = "yes"
12609 then
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12611 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12612 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12613 $as_echo_n "(cached) " >&6
12614 else
12615 ac_check_lib_save_LIBS=$LIBS
12616 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12620 /* Override any GCC internal prototype to avoid an error.
12621 Use char because int might match the return type of a GCC
12622 builtin and then its argument prototype would still apply. */
12623 #ifdef __cplusplus
12624 extern "C"
12625 #endif
12626 char cmsOpenProfileFromFile ();
12628 main ()
12630 return cmsOpenProfileFromFile ();
12632 return 0;
12634 _ACEOF
12635 if ac_fn_c_try_link "$LINENO"; then :
12636 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12637 else
12638 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12640 rm -f core conftest.err conftest.$ac_objext \
12641 conftest$ac_exeext conftest.$ac_ext
12642 LIBS=$ac_check_lib_save_LIBS
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12645 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12646 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12648 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12650 else
12651 LCMS2_LIBS=""
12654 else
12655 LCMS2_CFLAGS=""
12656 LCMS2_LIBS=""
12658 CPPFLAGS=$ac_save_CPPFLAGS
12659 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12660 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12663 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12664 case "x$with_cms" in
12665 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12666 xno) ;;
12667 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12668 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12669 esac
12673 if test "x$with_freetype" != "xno"
12674 then
12675 if ${FREETYPE_CFLAGS:+false} :; then :
12676 if ${PKG_CONFIG+:} false; then :
12677 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12680 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12681 if ${FREETYPE_LIBS:+false} :; then :
12682 if ${PKG_CONFIG+:} false; then :
12683 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12686 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12687 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12688 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12689 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12690 ac_save_CPPFLAGS=$CPPFLAGS
12691 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12692 for ac_header in ft2build.h
12693 do :
12694 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12695 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12696 cat >>confdefs.h <<_ACEOF
12697 #define HAVE_FT2BUILD_H 1
12698 _ACEOF
12702 done
12704 if test "$ac_cv_header_ft2build_h" = "yes"
12705 then
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12707 $as_echo_n "checking for -lfreetype... " >&6; }
12708 if ${ac_cv_lib_soname_freetype+:} false; then :
12709 $as_echo_n "(cached) " >&6
12710 else
12711 ac_check_soname_save_LIBS=$LIBS
12712 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12714 /* end confdefs.h. */
12716 /* Override any GCC internal prototype to avoid an error.
12717 Use char because int might match the return type of a GCC
12718 builtin and then its argument prototype would still apply. */
12719 #ifdef __cplusplus
12720 extern "C"
12721 #endif
12722 char FT_Init_FreeType ();
12724 main ()
12726 return FT_Init_FreeType ();
12728 return 0;
12730 _ACEOF
12731 if ac_fn_c_try_link "$LINENO"; then :
12732 case "$LIBEXT" in
12733 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12734 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'` ;;
12735 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12736 if ${ac_cv_lib_soname_freetype:+false} :; then :
12737 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12738 fi ;;
12739 esac
12741 rm -f core conftest.err conftest.$ac_objext \
12742 conftest$ac_exeext conftest.$ac_ext
12743 LIBS=$ac_check_soname_save_LIBS
12745 if ${ac_cv_lib_soname_freetype:+false} :; then :
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12747 $as_echo "not found" >&6; }
12748 FREETYPE_LIBS=""
12749 else
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12751 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12753 cat >>confdefs.h <<_ACEOF
12754 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12755 _ACEOF
12758 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12760 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12761 #include FT_MODULE_H
12763 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12765 cat >>confdefs.h <<_ACEOF
12766 #define HAVE_FT_TRUETYPEENGINETYPE 1
12767 _ACEOF
12773 else
12774 FREETYPE_CFLAGS=""
12775 FREETYPE_LIBS=""
12777 CPPFLAGS=$ac_save_CPPFLAGS
12778 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12779 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12782 if test "x$ac_cv_lib_soname_freetype" = x; then :
12783 case "x$with_freetype" in
12784 xno) ;;
12785 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12786 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12787 esac
12788 enable_fonts=${enable_fonts:-no}
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12792 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12793 if ${ac_cv_c_ppdev+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12797 /* end confdefs.h. */
12798 #ifdef HAVE_SYS_IOCTL_H
12799 # include <sys/ioctl.h>
12800 #endif
12801 #include <linux/ppdev.h>
12803 main ()
12805 ioctl (1,PPCLAIM,0)
12807 return 0;
12809 _ACEOF
12810 if ac_fn_c_try_compile "$LINENO"; then :
12811 ac_cv_c_ppdev="yes"
12812 else
12813 ac_cv_c_ppdev="no"
12815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12818 $as_echo "$ac_cv_c_ppdev" >&6; }
12819 if test "$ac_cv_c_ppdev" = "yes"
12820 then
12822 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12826 ac_wine_check_funcs_save_LIBS="$LIBS"
12827 LIBS="$LIBS $PTHREAD_LIBS"
12828 for ac_func in \
12829 pthread_attr_get_np \
12830 pthread_getattr_np \
12831 pthread_getthreadid_np \
12832 pthread_get_stackaddr_np \
12833 pthread_get_stacksize_np
12834 do :
12835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12838 cat >>confdefs.h <<_ACEOF
12839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12840 _ACEOF
12843 done
12845 LIBS="$ac_wine_check_funcs_save_LIBS"
12847 if test "$ac_cv_header_zlib_h" = "yes"
12848 then
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12850 $as_echo_n "checking for inflate in -lz... " >&6; }
12851 if ${ac_cv_lib_z_inflate+:} false; then :
12852 $as_echo_n "(cached) " >&6
12853 else
12854 ac_check_lib_save_LIBS=$LIBS
12855 LIBS="-lz $LIBS"
12856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12857 /* end confdefs.h. */
12859 /* Override any GCC internal prototype to avoid an error.
12860 Use char because int might match the return type of a GCC
12861 builtin and then its argument prototype would still apply. */
12862 #ifdef __cplusplus
12863 extern "C"
12864 #endif
12865 char inflate ();
12867 main ()
12869 return inflate ();
12871 return 0;
12873 _ACEOF
12874 if ac_fn_c_try_link "$LINENO"; then :
12875 ac_cv_lib_z_inflate=yes
12876 else
12877 ac_cv_lib_z_inflate=no
12879 rm -f core conftest.err conftest.$ac_objext \
12880 conftest$ac_exeext conftest.$ac_ext
12881 LIBS=$ac_check_lib_save_LIBS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12884 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12885 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12887 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12889 Z_LIBS="-lz"
12894 if test "x$Z_LIBS" = "x"; then :
12895 case "x$with_zlib" in
12896 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12897 xno) ;;
12898 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12899 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12900 esac
12904 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12905 then
12906 if test "$ac_cv_header_gettext_po_h" = "yes"
12907 then
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12909 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12910 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12911 $as_echo_n "(cached) " >&6
12912 else
12913 ac_check_lib_save_LIBS=$LIBS
12914 LIBS="-lgettextpo $LIBS"
12915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916 /* end confdefs.h. */
12918 /* Override any GCC internal prototype to avoid an error.
12919 Use char because int might match the return type of a GCC
12920 builtin and then its argument prototype would still apply. */
12921 #ifdef __cplusplus
12922 extern "C"
12923 #endif
12924 char po_message_msgctxt ();
12926 main ()
12928 return po_message_msgctxt ();
12930 return 0;
12932 _ACEOF
12933 if ac_fn_c_try_link "$LINENO"; then :
12934 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12935 else
12936 ac_cv_lib_gettextpo_po_message_msgctxt=no
12938 rm -f core conftest.err conftest.$ac_objext \
12939 conftest$ac_exeext conftest.$ac_ext
12940 LIBS=$ac_check_lib_save_LIBS
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12943 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12944 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12946 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12948 GETTEXTPO_LIBS="-lgettextpo"
12953 if test "x$GETTEXTPO_LIBS" = "x"; then :
12954 case "x$with_gettextpo" in
12955 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12956 xno) ;;
12957 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12958 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12959 esac
12962 if test "$srcdir" != .; then :
12963 case "x$with_gettextpo" in
12964 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12965 xno) ;;
12966 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12967 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12968 esac
12973 if test "x$with_pulse" != "xno";
12974 then
12975 if ${PULSE_CFLAGS:+false} :; then :
12976 if ${PKG_CONFIG+:} false; then :
12977 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12981 if ${PULSE_LIBS:+false} :; then :
12982 if ${PKG_CONFIG+:} false; then :
12983 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12988 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12989 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12990 ac_save_CPPFLAGS=$CPPFLAGS
12991 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12992 for ac_header in pulse/pulseaudio.h
12993 do :
12994 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12995 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12996 cat >>confdefs.h <<_ACEOF
12997 #define HAVE_PULSE_PULSEAUDIO_H 1
12998 _ACEOF
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
13000 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
13001 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
13002 $as_echo_n "(cached) " >&6
13003 else
13004 ac_check_lib_save_LIBS=$LIBS
13005 LIBS="-lpulse $PULSE_LIBS $LIBS"
13006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13009 /* Override any GCC internal prototype to avoid an error.
13010 Use char because int might match the return type of a GCC
13011 builtin and then its argument prototype would still apply. */
13012 #ifdef __cplusplus
13013 extern "C"
13014 #endif
13015 char pa_stream_is_corked ();
13017 main ()
13019 return pa_stream_is_corked ();
13021 return 0;
13023 _ACEOF
13024 if ac_fn_c_try_link "$LINENO"; then :
13025 ac_cv_lib_pulse_pa_stream_is_corked=yes
13026 else
13027 ac_cv_lib_pulse_pa_stream_is_corked=no
13029 rm -f core conftest.err conftest.$ac_objext \
13030 conftest$ac_exeext conftest.$ac_ext
13031 LIBS=$ac_check_lib_save_LIBS
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13034 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13035 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13037 else
13038 PULSE_LIBS=""
13041 else
13042 PULSE_LIBS=""
13045 done
13047 CPPFLAGS=$ac_save_CPPFLAGS
13048 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13049 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13052 if test -z "$PULSE_LIBS"; then :
13053 case "x$with_pulse" in
13054 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13055 xno) ;;
13056 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13057 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13058 esac
13059 enable_winepulse_drv=${enable_winepulse_drv:-no}
13062 if test "x$with_gstreamer" != "xno"
13063 then
13064 if ${GSTREAMER_CFLAGS:+false} :; then :
13065 if ${PKG_CONFIG+:} false; then :
13066 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13070 if ${GSTREAMER_LIBS:+false} :; then :
13071 if ${PKG_CONFIG+:} false; then :
13072 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13077 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13078 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13079 ac_save_CPPFLAGS=$CPPFLAGS
13080 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13081 ac_gst_incl=""
13082 for i in $GSTREAMER_CFLAGS
13084 case "$i" in
13085 -I*) ac_gst_incl="$ac_gst_incl $i";;
13086 esac
13087 done
13088 GSTREAMER_CFLAGS=$ac_gst_incl
13089 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13090 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13091 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13093 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h. */
13096 #include <gst/gst.h>
13098 main ()
13100 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13102 return 0;
13104 _ACEOF
13105 if ac_fn_c_try_compile "$LINENO"; then :
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13107 $as_echo "yes" >&6; }
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13109 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13110 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13111 $as_echo_n "(cached) " >&6
13112 else
13113 ac_check_lib_save_LIBS=$LIBS
13114 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13116 /* end confdefs.h. */
13118 /* Override any GCC internal prototype to avoid an error.
13119 Use char because int might match the return type of a GCC
13120 builtin and then its argument prototype would still apply. */
13121 #ifdef __cplusplus
13122 extern "C"
13123 #endif
13124 char gst_pad_new ();
13126 main ()
13128 return gst_pad_new ();
13130 return 0;
13132 _ACEOF
13133 if ac_fn_c_try_link "$LINENO"; then :
13134 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13135 else
13136 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13138 rm -f core conftest.err conftest.$ac_objext \
13139 conftest$ac_exeext conftest.$ac_ext
13140 LIBS=$ac_check_lib_save_LIBS
13142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13143 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13144 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13148 else
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13150 $as_echo "no" >&6; }
13151 ac_glib2_broken=yes
13152 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13158 CPPFLAGS=$ac_save_CPPFLAGS
13159 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13160 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13163 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 :
13164 case "x$with_gstreamer" in
13165 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13166 xno) ;;
13167 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13168 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13169 esac
13172 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13174 ALSA_LIBS=""
13176 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13177 then
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13179 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13180 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13181 $as_echo_n "(cached) " >&6
13182 else
13183 ac_check_lib_save_LIBS=$LIBS
13184 LIBS="-lasound $LIBS"
13185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13186 /* end confdefs.h. */
13188 /* Override any GCC internal prototype to avoid an error.
13189 Use char because int might match the return type of a GCC
13190 builtin and then its argument prototype would still apply. */
13191 #ifdef __cplusplus
13192 extern "C"
13193 #endif
13194 char snd_pcm_hw_params_get_access_mask ();
13196 main ()
13198 return snd_pcm_hw_params_get_access_mask ();
13200 return 0;
13202 _ACEOF
13203 if ac_fn_c_try_link "$LINENO"; then :
13204 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13205 else
13206 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13208 rm -f core conftest.err conftest.$ac_objext \
13209 conftest$ac_exeext conftest.$ac_ext
13210 LIBS=$ac_check_lib_save_LIBS
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13213 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13214 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13216 /* end confdefs.h. */
13217 #ifdef HAVE_ALSA_ASOUNDLIB_H
13218 #include <alsa/asoundlib.h>
13219 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13220 #include <sys/asoundlib.h>
13221 #endif
13223 main ()
13225 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13227 return 0;
13229 _ACEOF
13230 if ac_fn_c_try_compile "$LINENO"; then :
13231 ALSA_LIBS="-lasound"
13233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13237 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13239 if test "x$with_oss" != xno
13240 then
13241 ac_save_CPPFLAGS="$CPPFLAGS"
13242 if test -f /etc/oss.conf
13243 then
13244 . /etc/oss.conf
13246 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13247 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13248 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13249 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13250 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13252 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13254 cat >>confdefs.h <<_ACEOF
13255 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13256 _ACEOF
13258 OSS4_CFLAGS="$ac_oss_incl"
13265 CPPFLAGS="$ac_save_CPPFLAGS"
13267 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13268 case "x$with_oss" in
13269 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13270 xno) ;;
13271 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13272 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13273 esac
13274 enable_wineoss_drv=${enable_wineoss_drv:-no}
13277 if test "x$with_udev" != "xno"
13278 then
13279 if ${UDEV_CFLAGS:+false} :; then :
13280 if ${PKG_CONFIG+:} false; then :
13281 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13285 if ${UDEV_LIBS:+false} :; then :
13286 if ${PKG_CONFIG+:} false; then :
13287 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13291 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13292 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13293 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13294 ac_save_CPPFLAGS=$CPPFLAGS
13295 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13296 for ac_header in libudev.h
13297 do :
13298 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13299 if test "x$ac_cv_header_libudev_h" = xyes; then :
13300 cat >>confdefs.h <<_ACEOF
13301 #define HAVE_LIBUDEV_H 1
13302 _ACEOF
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13304 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13305 if ${ac_cv_lib_udev_udev_new+:} false; then :
13306 $as_echo_n "(cached) " >&6
13307 else
13308 ac_check_lib_save_LIBS=$LIBS
13309 LIBS="-ludev $UDEV_LIBS $LIBS"
13310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13311 /* end confdefs.h. */
13313 /* Override any GCC internal prototype to avoid an error.
13314 Use char because int might match the return type of a GCC
13315 builtin and then its argument prototype would still apply. */
13316 #ifdef __cplusplus
13317 extern "C"
13318 #endif
13319 char udev_new ();
13321 main ()
13323 return udev_new ();
13325 return 0;
13327 _ACEOF
13328 if ac_fn_c_try_link "$LINENO"; then :
13329 ac_cv_lib_udev_udev_new=yes
13330 else
13331 ac_cv_lib_udev_udev_new=no
13333 rm -f core conftest.err conftest.$ac_objext \
13334 conftest$ac_exeext conftest.$ac_ext
13335 LIBS=$ac_check_lib_save_LIBS
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13338 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13339 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13341 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13343 else
13344 UDEV_LIBS=""
13347 else
13348 UDEV_LIBS=""
13351 done
13353 CPPFLAGS=$ac_save_CPPFLAGS
13354 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13355 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13358 if test "x$UDEV_LIBS" = "x"; then :
13359 case "x$with_udev" in
13360 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13361 xno) ;;
13362 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13363 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13364 esac
13368 if test "x$with_capi" != "xno"
13369 then
13370 if ${CAPI20_CFLAGS:+false} :; then :
13371 if ${PKG_CONFIG+:} false; then :
13372 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13376 if ${CAPI20_LIBS:+false} :; then :
13377 if ${PKG_CONFIG+:} false; then :
13378 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13383 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13384 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13385 ac_save_CPPFLAGS=$CPPFLAGS
13386 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13387 for ac_header in capi20.h linux/capi.h
13388 do :
13389 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13390 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13393 cat >>confdefs.h <<_ACEOF
13394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13395 _ACEOF
13399 done
13401 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13402 then
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13404 $as_echo_n "checking for -lcapi20... " >&6; }
13405 if ${ac_cv_lib_soname_capi20+:} false; then :
13406 $as_echo_n "(cached) " >&6
13407 else
13408 ac_check_soname_save_LIBS=$LIBS
13409 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13413 /* Override any GCC internal prototype to avoid an error.
13414 Use char because int might match the return type of a GCC
13415 builtin and then its argument prototype would still apply. */
13416 #ifdef __cplusplus
13417 extern "C"
13418 #endif
13419 char capi20_register ();
13421 main ()
13423 return capi20_register ();
13425 return 0;
13427 _ACEOF
13428 if ac_fn_c_try_link "$LINENO"; then :
13429 case "$LIBEXT" in
13430 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13431 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'` ;;
13432 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13433 if ${ac_cv_lib_soname_capi20:+false} :; then :
13434 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13435 fi ;;
13436 esac
13438 rm -f core conftest.err conftest.$ac_objext \
13439 conftest$ac_exeext conftest.$ac_ext
13440 LIBS=$ac_check_soname_save_LIBS
13442 if ${ac_cv_lib_soname_capi20:+false} :; then :
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13444 $as_echo "not found" >&6; }
13446 else
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13448 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13450 cat >>confdefs.h <<_ACEOF
13451 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13452 _ACEOF
13457 CPPFLAGS=$ac_save_CPPFLAGS
13458 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13459 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13462 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13463 case "x$with_capi" in
13464 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13465 xno) ;;
13466 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13467 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13468 esac
13472 if test "x$with_cups" != "xno"
13473 then
13474 if ${CUPS_CFLAGS:+false} :; then :
13475 if ${PKG_CONFIG+:} false; then :
13476 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13479 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13480 if ${CUPS_LIBS:+false} :; then :
13481 if ${PKG_CONFIG+:} false; then :
13482 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13485 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13486 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13487 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13488 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13489 ac_save_CPPFLAGS=$CPPFLAGS
13490 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13491 for ac_header in cups/cups.h cups/ppd.h
13492 do :
13493 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13494 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13495 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13496 cat >>confdefs.h <<_ACEOF
13497 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13498 _ACEOF
13502 done
13504 if test "$ac_cv_header_cups_cups_h" = "yes"
13505 then
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13507 $as_echo_n "checking for -lcups... " >&6; }
13508 if ${ac_cv_lib_soname_cups+:} false; then :
13509 $as_echo_n "(cached) " >&6
13510 else
13511 ac_check_soname_save_LIBS=$LIBS
13512 LIBS="-lcups $CUPS_LIBS $LIBS"
13513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13514 /* end confdefs.h. */
13516 /* Override any GCC internal prototype to avoid an error.
13517 Use char because int might match the return type of a GCC
13518 builtin and then its argument prototype would still apply. */
13519 #ifdef __cplusplus
13520 extern "C"
13521 #endif
13522 char cupsGetDefault ();
13524 main ()
13526 return cupsGetDefault ();
13528 return 0;
13530 _ACEOF
13531 if ac_fn_c_try_link "$LINENO"; then :
13532 case "$LIBEXT" in
13533 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13534 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'` ;;
13535 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13536 if ${ac_cv_lib_soname_cups:+false} :; then :
13537 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13538 fi ;;
13539 esac
13541 rm -f core conftest.err conftest.$ac_objext \
13542 conftest$ac_exeext conftest.$ac_ext
13543 LIBS=$ac_check_soname_save_LIBS
13545 if ${ac_cv_lib_soname_cups:+false} :; then :
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13547 $as_echo "not found" >&6; }
13548 CUPS_LIBS=""
13549 else
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13551 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13553 cat >>confdefs.h <<_ACEOF
13554 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13555 _ACEOF
13559 else
13560 CUPS_CFLAGS=""
13561 CUPS_LIBS=""
13563 CPPFLAGS=$ac_save_CPPFLAGS
13564 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13565 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13568 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13569 case "x$with_cups" in
13570 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13571 xno) ;;
13572 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13573 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13574 esac
13578 if test "x$with_fontconfig" != "xno"
13579 then
13580 if ${FONTCONFIG_CFLAGS:+false} :; then :
13581 if ${PKG_CONFIG+:} false; then :
13582 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13585 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13586 if ${FONTCONFIG_LIBS:+false} :; then :
13587 if ${PKG_CONFIG+:} false; then :
13588 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13591 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13593 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13594 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13595 ac_save_CPPFLAGS=$CPPFLAGS
13596 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13597 for ac_header in fontconfig/fontconfig.h
13598 do :
13599 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13600 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13601 cat >>confdefs.h <<_ACEOF
13602 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13603 _ACEOF
13607 done
13609 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13610 then
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13612 $as_echo_n "checking for -lfontconfig... " >&6; }
13613 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13614 $as_echo_n "(cached) " >&6
13615 else
13616 ac_check_soname_save_LIBS=$LIBS
13617 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13621 /* Override any GCC internal prototype to avoid an error.
13622 Use char because int might match the return type of a GCC
13623 builtin and then its argument prototype would still apply. */
13624 #ifdef __cplusplus
13625 extern "C"
13626 #endif
13627 char FcInit ();
13629 main ()
13631 return FcInit ();
13633 return 0;
13635 _ACEOF
13636 if ac_fn_c_try_link "$LINENO"; then :
13637 case "$LIBEXT" in
13638 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13639 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'` ;;
13640 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13641 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13642 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13643 fi ;;
13644 esac
13646 rm -f core conftest.err conftest.$ac_objext \
13647 conftest$ac_exeext conftest.$ac_ext
13648 LIBS=$ac_check_soname_save_LIBS
13650 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13652 $as_echo "not found" >&6; }
13653 FONTCONFIG_CFLAGS=""
13654 else
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13656 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13658 cat >>confdefs.h <<_ACEOF
13659 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13660 _ACEOF
13664 else
13665 FONTCONFIG_CFLAGS=""
13667 CPPFLAGS=$ac_save_CPPFLAGS
13668 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13669 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13672 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13673 case "x$with_fontconfig" in
13674 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13675 xno) ;;
13676 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13677 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13678 esac
13682 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13683 then
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13685 $as_echo_n "checking for -lgsm... " >&6; }
13686 if ${ac_cv_lib_soname_gsm+:} false; then :
13687 $as_echo_n "(cached) " >&6
13688 else
13689 ac_check_soname_save_LIBS=$LIBS
13690 LIBS="-lgsm $LIBS"
13691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13692 /* end confdefs.h. */
13694 /* Override any GCC internal prototype to avoid an error.
13695 Use char because int might match the return type of a GCC
13696 builtin and then its argument prototype would still apply. */
13697 #ifdef __cplusplus
13698 extern "C"
13699 #endif
13700 char gsm_create ();
13702 main ()
13704 return gsm_create ();
13706 return 0;
13708 _ACEOF
13709 if ac_fn_c_try_link "$LINENO"; then :
13710 case "$LIBEXT" in
13711 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13712 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'` ;;
13713 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13714 if ${ac_cv_lib_soname_gsm:+false} :; then :
13715 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13716 fi ;;
13717 esac
13719 rm -f core conftest.err conftest.$ac_objext \
13720 conftest$ac_exeext conftest.$ac_ext
13721 LIBS=$ac_check_soname_save_LIBS
13723 if ${ac_cv_lib_soname_gsm:+false} :; then :
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13725 $as_echo "not found" >&6; }
13727 else
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13729 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13731 cat >>confdefs.h <<_ACEOF
13732 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13733 _ACEOF
13738 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13739 case "x$with_gsm" in
13740 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13741 xno) ;;
13742 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13743 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13744 esac
13748 if test "x$with_krb5" != "xno"
13749 then
13750 if ${KRB5_CFLAGS:+false} :; then :
13751 if ${PKG_CONFIG+:} false; then :
13752 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13755 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`krb5-config --cflags`}
13756 if ${KRB5_LIBS:+false} :; then :
13757 if ${PKG_CONFIG+:} false; then :
13758 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13761 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`krb5-config --libs`}
13763 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13764 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13765 ac_save_CPPFLAGS=$CPPFLAGS
13766 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13767 for ac_header in krb5/krb5.h
13768 do :
13769 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13770 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13771 cat >>confdefs.h <<_ACEOF
13772 #define HAVE_KRB5_KRB5_H 1
13773 _ACEOF
13777 done
13779 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13780 then
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13782 $as_echo_n "checking for -lkrb5... " >&6; }
13783 if ${ac_cv_lib_soname_krb5+:} false; then :
13784 $as_echo_n "(cached) " >&6
13785 else
13786 ac_check_soname_save_LIBS=$LIBS
13787 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13789 /* end confdefs.h. */
13791 /* Override any GCC internal prototype to avoid an error.
13792 Use char because int might match the return type of a GCC
13793 builtin and then its argument prototype would still apply. */
13794 #ifdef __cplusplus
13795 extern "C"
13796 #endif
13797 char krb5_init_context ();
13799 main ()
13801 return krb5_init_context ();
13803 return 0;
13805 _ACEOF
13806 if ac_fn_c_try_link "$LINENO"; then :
13807 case "$LIBEXT" in
13808 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13809 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'` ;;
13810 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13811 if ${ac_cv_lib_soname_krb5:+false} :; then :
13812 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13813 fi ;;
13814 esac
13816 rm -f core conftest.err conftest.$ac_objext \
13817 conftest$ac_exeext conftest.$ac_ext
13818 LIBS=$ac_check_soname_save_LIBS
13820 if ${ac_cv_lib_soname_krb5:+false} :; then :
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13822 $as_echo "not found" >&6; }
13823 KRB5_CFLAGS=""
13824 else
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13826 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13828 cat >>confdefs.h <<_ACEOF
13829 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13830 _ACEOF
13834 else
13835 KRB5_CFLAGS=""
13837 CPPFLAGS=$ac_save_CPPFLAGS
13838 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13839 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13842 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13843 case "x$with_krb5" in
13844 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13845 xno) ;;
13846 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13847 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13848 esac
13852 if test "x$with_jpeg" != "xno"
13853 then
13854 if ${JPEG_CFLAGS:+false} :; then :
13855 if ${PKG_CONFIG+:} false; then :
13856 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13860 if ${JPEG_LIBS:+false} :; then :
13861 if ${PKG_CONFIG+:} false; then :
13862 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13867 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13868 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13869 ac_save_CPPFLAGS=$CPPFLAGS
13870 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13871 for ac_header in jpeglib.h
13872 do :
13873 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13874 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13875 cat >>confdefs.h <<_ACEOF
13876 #define HAVE_JPEGLIB_H 1
13877 _ACEOF
13881 done
13883 if test "$ac_cv_header_jpeglib_h" = "yes"
13884 then
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13886 $as_echo_n "checking for -ljpeg... " >&6; }
13887 if ${ac_cv_lib_soname_jpeg+:} false; then :
13888 $as_echo_n "(cached) " >&6
13889 else
13890 ac_check_soname_save_LIBS=$LIBS
13891 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13893 /* end confdefs.h. */
13895 /* Override any GCC internal prototype to avoid an error.
13896 Use char because int might match the return type of a GCC
13897 builtin and then its argument prototype would still apply. */
13898 #ifdef __cplusplus
13899 extern "C"
13900 #endif
13901 char jpeg_start_decompress ();
13903 main ()
13905 return jpeg_start_decompress ();
13907 return 0;
13909 _ACEOF
13910 if ac_fn_c_try_link "$LINENO"; then :
13911 case "$LIBEXT" in
13912 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13913 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'` ;;
13914 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13915 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13916 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13917 fi ;;
13918 esac
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_soname_save_LIBS
13924 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13926 $as_echo "not found" >&6; }
13927 JPEG_CFLAGS=""
13928 else
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13930 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13932 cat >>confdefs.h <<_ACEOF
13933 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13934 _ACEOF
13938 else
13939 JPEG_CFLAGS=""
13941 CPPFLAGS=$ac_save_CPPFLAGS
13942 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13943 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13946 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13947 case "x$with_jpeg" in
13948 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13949 xno) ;;
13950 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13951 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13952 esac
13956 if test "x$with_png" != "xno"
13957 then
13958 if ${PNG_CFLAGS:+false} :; then :
13959 if ${PKG_CONFIG+:} false; then :
13960 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13963 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13964 if ${PNG_LIBS:+false} :; then :
13965 if ${PKG_CONFIG+:} false; then :
13966 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13969 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13971 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13972 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13973 ac_save_CPPFLAGS=$CPPFLAGS
13974 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13975 for ac_header in png.h
13976 do :
13977 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13978 if test "x$ac_cv_header_png_h" = xyes; then :
13979 cat >>confdefs.h <<_ACEOF
13980 #define HAVE_PNG_H 1
13981 _ACEOF
13985 done
13987 if test "$ac_cv_header_png_h" = "yes"
13988 then
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13990 $as_echo_n "checking for -lpng... " >&6; }
13991 if ${ac_cv_lib_soname_png+:} false; then :
13992 $as_echo_n "(cached) " >&6
13993 else
13994 ac_check_soname_save_LIBS=$LIBS
13995 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13997 /* end confdefs.h. */
13999 /* Override any GCC internal prototype to avoid an error.
14000 Use char because int might match the return type of a GCC
14001 builtin and then its argument prototype would still apply. */
14002 #ifdef __cplusplus
14003 extern "C"
14004 #endif
14005 char png_create_read_struct ();
14007 main ()
14009 return png_create_read_struct ();
14011 return 0;
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"; then :
14015 case "$LIBEXT" in
14016 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14017 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'` ;;
14018 *) 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'`
14019 if ${ac_cv_lib_soname_png:+false} :; then :
14020 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14021 fi ;;
14022 esac
14024 rm -f core conftest.err conftest.$ac_objext \
14025 conftest$ac_exeext conftest.$ac_ext
14026 LIBS=$ac_check_soname_save_LIBS
14028 if ${ac_cv_lib_soname_png:+false} :; then :
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14030 $as_echo "not found" >&6; }
14031 PNG_CFLAGS=""
14032 else
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14034 $as_echo "$ac_cv_lib_soname_png" >&6; }
14036 cat >>confdefs.h <<_ACEOF
14037 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14038 _ACEOF
14042 else
14043 PNG_CFLAGS=""
14045 CPPFLAGS=$ac_save_CPPFLAGS
14046 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14047 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14050 if test "x$ac_cv_lib_soname_png" = "x"; then :
14051 case "x$with_png" in
14052 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14053 xno) ;;
14054 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14055 This is an error since --with-png was requested." "$LINENO" 5 ;;
14056 esac
14060 if test "x$with_tiff" != "xno"
14061 then
14062 if ${TIFF_CFLAGS:+false} :; then :
14063 if ${PKG_CONFIG+:} false; then :
14064 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14068 if ${TIFF_LIBS:+false} :; then :
14069 if ${PKG_CONFIG+:} false; then :
14070 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14075 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14076 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14077 ac_save_CPPFLAGS=$CPPFLAGS
14078 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14079 for ac_header in tiffio.h
14080 do :
14081 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14082 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14083 cat >>confdefs.h <<_ACEOF
14084 #define HAVE_TIFFIO_H 1
14085 _ACEOF
14089 done
14091 if test "$ac_cv_header_tiffio_h" = "yes"
14092 then
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14094 $as_echo_n "checking for -ltiff... " >&6; }
14095 if ${ac_cv_lib_soname_tiff+:} false; then :
14096 $as_echo_n "(cached) " >&6
14097 else
14098 ac_check_soname_save_LIBS=$LIBS
14099 LIBS="-ltiff $TIFF_LIBS $LIBS"
14100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14103 /* Override any GCC internal prototype to avoid an error.
14104 Use char because int might match the return type of a GCC
14105 builtin and then its argument prototype would still apply. */
14106 #ifdef __cplusplus
14107 extern "C"
14108 #endif
14109 char TIFFClientOpen ();
14111 main ()
14113 return TIFFClientOpen ();
14115 return 0;
14117 _ACEOF
14118 if ac_fn_c_try_link "$LINENO"; then :
14119 case "$LIBEXT" in
14120 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14121 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'` ;;
14122 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14123 if ${ac_cv_lib_soname_tiff:+false} :; then :
14124 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14125 fi ;;
14126 esac
14128 rm -f core conftest.err conftest.$ac_objext \
14129 conftest$ac_exeext conftest.$ac_ext
14130 LIBS=$ac_check_soname_save_LIBS
14132 if ${ac_cv_lib_soname_tiff:+false} :; then :
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14134 $as_echo "not found" >&6; }
14136 else
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14138 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14140 cat >>confdefs.h <<_ACEOF
14141 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14142 _ACEOF
14147 CPPFLAGS=$ac_save_CPPFLAGS
14148 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14149 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14152 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14153 case "x$with_tiff" in
14154 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14155 xno) ;;
14156 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14157 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14158 esac
14162 if test "x$with_mpg123" != "xno"
14163 then
14164 if ${MPG123_CFLAGS:+false} :; then :
14165 if ${PKG_CONFIG+:} false; then :
14166 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14170 if ${MPG123_LIBS:+false} :; then :
14171 if ${PKG_CONFIG+:} false; then :
14172 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14176 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14177 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14178 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14179 ac_save_CPPFLAGS=$CPPFLAGS
14180 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14181 for ac_header in mpg123.h
14182 do :
14183 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14184 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14185 cat >>confdefs.h <<_ACEOF
14186 #define HAVE_MPG123_H 1
14187 _ACEOF
14191 done
14193 if test "$ac_cv_header_mpg123_h" = "yes"
14194 then
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14196 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14197 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14198 $as_echo_n "(cached) " >&6
14199 else
14200 ac_check_lib_save_LIBS=$LIBS
14201 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 #ifdef __cplusplus
14209 extern "C"
14210 #endif
14211 char mpg123_feed ();
14213 main ()
14215 return mpg123_feed ();
14217 return 0;
14219 _ACEOF
14220 if ac_fn_c_try_link "$LINENO"; then :
14221 ac_cv_lib_mpg123_mpg123_feed=yes
14222 else
14223 ac_cv_lib_mpg123_mpg123_feed=no
14225 rm -f core conftest.err conftest.$ac_objext \
14226 conftest$ac_exeext conftest.$ac_ext
14227 LIBS=$ac_check_lib_save_LIBS
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14230 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14231 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14233 else
14234 MPG123_LIBS=""
14237 else
14238 MPG123_CFLAGS=""
14239 MPG123_LIBS=""
14241 CPPFLAGS=$ac_save_CPPFLAGS
14242 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14243 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14246 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14247 case "x$with_mpg123" in
14248 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14249 xno) ;;
14250 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14251 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14252 esac
14253 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14256 if test "$ac_cv_header_AL_al_h" = "yes"
14257 then
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14259 $as_echo_n "checking for -lopenal... " >&6; }
14260 if ${ac_cv_lib_soname_openal+:} false; then :
14261 $as_echo_n "(cached) " >&6
14262 else
14263 ac_check_soname_save_LIBS=$LIBS
14264 LIBS="-lopenal $LIBS"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14268 /* Override any GCC internal prototype to avoid an error.
14269 Use char because int might match the return type of a GCC
14270 builtin and then its argument prototype would still apply. */
14271 #ifdef __cplusplus
14272 extern "C"
14273 #endif
14274 char alGetSource3i ();
14276 main ()
14278 return alGetSource3i ();
14280 return 0;
14282 _ACEOF
14283 if ac_fn_c_try_link "$LINENO"; then :
14284 case "$LIBEXT" in
14285 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14286 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'` ;;
14287 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14288 if ${ac_cv_lib_soname_openal:+false} :; then :
14289 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14290 fi ;;
14291 esac
14293 rm -f core conftest.err conftest.$ac_objext \
14294 conftest$ac_exeext conftest.$ac_ext
14295 LIBS=$ac_check_soname_save_LIBS
14297 if ${ac_cv_lib_soname_openal:+false} :; then :
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14299 $as_echo "not found" >&6; }
14301 else
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14303 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14305 cat >>confdefs.h <<_ACEOF
14306 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14307 _ACEOF
14309 OPENAL_LIBS="-lopenal"
14311 ac_cv_lib_openal=yes
14313 cat >>confdefs.h <<_ACEOF
14314 #define HAVE_OPENAL 1
14315 _ACEOF
14319 if test "x$ac_cv_lib_openal" != xyes; then :
14320 case "x$with_openal" in
14321 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14322 xno) ;;
14323 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14324 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14325 esac
14326 enable_openal32=${enable_openal32:-no}
14329 if test "x$ac_cv_lib_openal" = xyes
14330 then
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14332 $as_echo_n "checking for openal-soft... " >&6; }
14333 if ${ac_cv_have_openalsoft+:} false; then :
14334 $as_echo_n "(cached) " >&6
14335 else
14336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14337 /* end confdefs.h. */
14338 #include <AL/al.h>
14339 #include <AL/alc.h>
14340 #include <AL/alext.h>
14341 LPALCRENDERSAMPLESSOFT x;
14343 main ()
14347 return 0;
14349 _ACEOF
14350 if ac_fn_c_try_compile "$LINENO"; then :
14351 ac_cv_have_openalsoft=yes
14352 else
14353 ac_cv_have_openalsoft=no
14355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14358 $as_echo "$ac_cv_have_openalsoft" >&6; }
14360 if test "x$ac_cv_have_openalsoft" != xyes
14361 then
14362 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14363 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14364 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14365 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14366 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14367 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14368 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14369 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14370 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14371 enable_xapofx1_1=${enable_xapofx1_1:-no}
14372 enable_xapofx1_2=${enable_xapofx1_2:-no}
14373 enable_xapofx1_3=${enable_xapofx1_3:-no}
14374 enable_xapofx1_4=${enable_xapofx1_4:-no}
14375 enable_xapofx1_5=${enable_xapofx1_5:-no}
14376 enable_xaudio2_0=${enable_xaudio2_0:-no}
14377 enable_xaudio2_1=${enable_xaudio2_1:-no}
14378 enable_xaudio2_2=${enable_xaudio2_2:-no}
14379 enable_xaudio2_3=${enable_xaudio2_3:-no}
14380 enable_xaudio2_4=${enable_xaudio2_4:-no}
14381 enable_xaudio2_5=${enable_xaudio2_5:-no}
14382 enable_xaudio2_6=${enable_xaudio2_6:-no}
14383 enable_xaudio2_7=${enable_xaudio2_7:-no}
14384 enable_xaudio2_8=${enable_xaudio2_8:-no}
14385 enable_xaudio2_9=${enable_xaudio2_9:-no}
14388 if test "$ac_cv_header_kstat_h" = "yes"
14389 then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14391 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14392 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14393 $as_echo_n "(cached) " >&6
14394 else
14395 ac_check_lib_save_LIBS=$LIBS
14396 LIBS="-lkstat $LIBS"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 /* Override any GCC internal prototype to avoid an error.
14401 Use char because int might match the return type of a GCC
14402 builtin and then its argument prototype would still apply. */
14403 #ifdef __cplusplus
14404 extern "C"
14405 #endif
14406 char kstat_open ();
14408 main ()
14410 return kstat_open ();
14412 return 0;
14414 _ACEOF
14415 if ac_fn_c_try_link "$LINENO"; then :
14416 ac_cv_lib_kstat_kstat_open=yes
14417 else
14418 ac_cv_lib_kstat_kstat_open=no
14420 rm -f core conftest.err conftest.$ac_objext \
14421 conftest$ac_exeext conftest.$ac_ext
14422 LIBS=$ac_check_lib_save_LIBS
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14425 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14426 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14428 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14430 KSTAT_LIBS="-lkstat"
14436 if test "$ac_cv_header_libprocstat_h" = "yes"
14437 then
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14439 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14440 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14441 $as_echo_n "(cached) " >&6
14442 else
14443 ac_check_lib_save_LIBS=$LIBS
14444 LIBS="-lprocstat $LIBS"
14445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14446 /* end confdefs.h. */
14448 /* Override any GCC internal prototype to avoid an error.
14449 Use char because int might match the return type of a GCC
14450 builtin and then its argument prototype would still apply. */
14451 #ifdef __cplusplus
14452 extern "C"
14453 #endif
14454 char procstat_open_sysctl ();
14456 main ()
14458 return procstat_open_sysctl ();
14460 return 0;
14462 _ACEOF
14463 if ac_fn_c_try_link "$LINENO"; then :
14464 ac_cv_lib_procstat_procstat_open_sysctl=yes
14465 else
14466 ac_cv_lib_procstat_procstat_open_sysctl=no
14468 rm -f core conftest.err conftest.$ac_objext \
14469 conftest$ac_exeext conftest.$ac_ext
14470 LIBS=$ac_check_lib_save_LIBS
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14473 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14474 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14476 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14478 PROCSTAT_LIBS="-lprocstat"
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14485 $as_echo_n "checking for -lodbc... " >&6; }
14486 if ${ac_cv_lib_soname_odbc+:} false; then :
14487 $as_echo_n "(cached) " >&6
14488 else
14489 ac_check_soname_save_LIBS=$LIBS
14490 LIBS="-lodbc $LIBS"
14491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14492 /* end confdefs.h. */
14494 /* Override any GCC internal prototype to avoid an error.
14495 Use char because int might match the return type of a GCC
14496 builtin and then its argument prototype would still apply. */
14497 #ifdef __cplusplus
14498 extern "C"
14499 #endif
14500 char SQLConnect ();
14502 main ()
14504 return SQLConnect ();
14506 return 0;
14508 _ACEOF
14509 if ac_fn_c_try_link "$LINENO"; then :
14510 case "$LIBEXT" in
14511 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14512 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'` ;;
14513 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14514 if ${ac_cv_lib_soname_odbc:+false} :; then :
14515 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14516 fi ;;
14517 esac
14519 rm -f core conftest.err conftest.$ac_objext \
14520 conftest$ac_exeext conftest.$ac_ext
14521 LIBS=$ac_check_soname_save_LIBS
14523 if ${ac_cv_lib_soname_odbc:+false} :; then :
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14525 $as_echo "not found" >&6; }
14526 cat >>confdefs.h <<_ACEOF
14527 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14528 _ACEOF
14530 else
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14532 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14534 cat >>confdefs.h <<_ACEOF
14535 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14536 _ACEOF
14541 if test "x$with_netapi" != "xno"
14542 then
14543 if ${NETAPI_CFLAGS:+false} :; then :
14544 if ${PKG_CONFIG+:} false; then :
14545 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14549 if ${NETAPI_LIBS:+false} :; then :
14550 if ${PKG_CONFIG+:} false; then :
14551 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14556 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14557 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14558 ac_save_CPPFLAGS=$CPPFLAGS
14559 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14561 $as_echo_n "checking for -lnetapi... " >&6; }
14562 if ${ac_cv_lib_soname_netapi+:} false; then :
14563 $as_echo_n "(cached) " >&6
14564 else
14565 ac_check_soname_save_LIBS=$LIBS
14566 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14570 /* Override any GCC internal prototype to avoid an error.
14571 Use char because int might match the return type of a GCC
14572 builtin and then its argument prototype would still apply. */
14573 #ifdef __cplusplus
14574 extern "C"
14575 #endif
14576 char libnetapi_init ();
14578 main ()
14580 return libnetapi_init ();
14582 return 0;
14584 _ACEOF
14585 if ac_fn_c_try_link "$LINENO"; then :
14586 case "$LIBEXT" in
14587 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14588 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'` ;;
14589 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14590 if ${ac_cv_lib_soname_netapi:+false} :; then :
14591 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14592 fi ;;
14593 esac
14595 rm -f core conftest.err conftest.$ac_objext \
14596 conftest$ac_exeext conftest.$ac_ext
14597 LIBS=$ac_check_soname_save_LIBS
14599 if ${ac_cv_lib_soname_netapi:+false} :; then :
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14601 $as_echo "not found" >&6; }
14602 cat >>confdefs.h <<_ACEOF
14603 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14604 _ACEOF
14606 else
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14608 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14610 cat >>confdefs.h <<_ACEOF
14611 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14612 _ACEOF
14616 CPPFLAGS=$ac_save_CPPFLAGS
14617 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14618 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14622 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14623 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14624 then
14625 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14629 EXTRACFLAGS=""
14631 if test "x${GCC}" = "xyes"
14632 then
14633 EXTRACFLAGS="-Wall -pipe"
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14636 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14637 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14638 $as_echo_n "(cached) " >&6
14639 else
14640 if test "$cross_compiling" = yes; then :
14641 ac_cv_c_gcc_strength_bug="no"
14642 else
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 int L[4] = {0,1,2,3};
14647 main ()
14649 static int Array[3];
14650 unsigned int B = 3;
14651 int i;
14652 for(i=0; i<B; i++) Array[i] = i - 3;
14653 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14654 L[i] = 4;
14655 return (Array[1] != -2 || L[2] != 3)
14657 return 0;
14659 _ACEOF
14660 if ac_fn_c_try_run "$LINENO"; then :
14661 ac_cv_c_gcc_strength_bug="no"
14662 else
14663 ac_cv_c_gcc_strength_bug="yes"
14665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14666 conftest.$ac_objext conftest.beam conftest.$ac_ext
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14671 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14672 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14673 then
14674 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14678 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14679 if ${ac_cv_cflags__fno_builtin+:} false; then :
14680 $as_echo_n "(cached) " >&6
14681 else
14682 ac_wine_try_cflags_saved=$CFLAGS
14683 CFLAGS="$CFLAGS -fno-builtin"
14684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14685 /* end confdefs.h. */
14686 int main(int argc, char **argv) { return 0; }
14687 _ACEOF
14688 if ac_fn_c_try_link "$LINENO"; then :
14689 ac_cv_cflags__fno_builtin=yes
14690 else
14691 ac_cv_cflags__fno_builtin=no
14693 rm -f core conftest.err conftest.$ac_objext \
14694 conftest$ac_exeext conftest.$ac_ext
14695 CFLAGS=$ac_wine_try_cflags_saved
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14698 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14699 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14700 BUILTINFLAG="-fno-builtin"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14704 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14705 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14706 $as_echo_n "(cached) " >&6
14707 else
14708 ac_wine_try_cflags_saved=$CFLAGS
14709 CFLAGS="$CFLAGS -fno-strict-aliasing"
14710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14711 /* end confdefs.h. */
14712 int main(int argc, char **argv) { return 0; }
14713 _ACEOF
14714 if ac_fn_c_try_link "$LINENO"; then :
14715 ac_cv_cflags__fno_strict_aliasing=yes
14716 else
14717 ac_cv_cflags__fno_strict_aliasing=no
14719 rm -f core conftest.err conftest.$ac_objext \
14720 conftest$ac_exeext conftest.$ac_ext
14721 CFLAGS=$ac_wine_try_cflags_saved
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14724 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14725 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14726 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14729 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14730 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14731 $as_echo_n "(cached) " >&6
14732 else
14733 ac_wine_try_cflags_saved=$CFLAGS
14734 CFLAGS="$CFLAGS -fexcess-precision=standard"
14735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14736 /* end confdefs.h. */
14737 int main(int argc, char **argv) { return 0; }
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_cflags__fexcess_precision_standard=yes
14741 else
14742 ac_cv_cflags__fexcess_precision_standard=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 CFLAGS=$ac_wine_try_cflags_saved
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14749 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14750 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14751 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14754 saved_CFLAGS=$CFLAGS
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14756 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14757 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14758 $as_echo_n "(cached) " >&6
14759 else
14760 ac_wine_try_cflags_saved=$CFLAGS
14761 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14764 int main(int argc, char **argv) { return 0; }
14765 _ACEOF
14766 if ac_fn_c_try_link "$LINENO"; then :
14767 ac_cv_cflags__Werror_unknown_warning_option=yes
14768 else
14769 ac_cv_cflags__Werror_unknown_warning_option=no
14771 rm -f core conftest.err conftest.$ac_objext \
14772 conftest$ac_exeext conftest.$ac_ext
14773 CFLAGS=$ac_wine_try_cflags_saved
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14776 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14777 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14778 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14781 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14782 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14783 $as_echo_n "(cached) " >&6
14784 else
14785 ac_wine_try_cflags_saved=$CFLAGS
14786 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14789 int main(int argc, char **argv) { return 0; }
14790 _ACEOF
14791 if ac_fn_c_try_link "$LINENO"; then :
14792 ac_cv_cflags__Wdeclaration_after_statement=yes
14793 else
14794 ac_cv_cflags__Wdeclaration_after_statement=no
14796 rm -f core conftest.err conftest.$ac_objext \
14797 conftest$ac_exeext conftest.$ac_ext
14798 CFLAGS=$ac_wine_try_cflags_saved
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14801 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14802 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14803 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14806 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14807 if ${ac_cv_cflags__Wempty_body+:} false; then :
14808 $as_echo_n "(cached) " >&6
14809 else
14810 ac_wine_try_cflags_saved=$CFLAGS
14811 CFLAGS="$CFLAGS -Wempty-body"
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14814 int main(int argc, char **argv) { return 0; }
14815 _ACEOF
14816 if ac_fn_c_try_link "$LINENO"; then :
14817 ac_cv_cflags__Wempty_body=yes
14818 else
14819 ac_cv_cflags__Wempty_body=no
14821 rm -f core conftest.err conftest.$ac_objext \
14822 conftest$ac_exeext conftest.$ac_ext
14823 CFLAGS=$ac_wine_try_cflags_saved
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14826 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14827 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14828 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14831 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14832 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14833 $as_echo_n "(cached) " >&6
14834 else
14835 ac_wine_try_cflags_saved=$CFLAGS
14836 CFLAGS="$CFLAGS -Wignored-qualifiers"
14837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14838 /* end confdefs.h. */
14839 int main(int argc, char **argv) { return 0; }
14840 _ACEOF
14841 if ac_fn_c_try_link "$LINENO"; then :
14842 ac_cv_cflags__Wignored_qualifiers=yes
14843 else
14844 ac_cv_cflags__Wignored_qualifiers=no
14846 rm -f core conftest.err conftest.$ac_objext \
14847 conftest$ac_exeext conftest.$ac_ext
14848 CFLAGS=$ac_wine_try_cflags_saved
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14851 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14852 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14853 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14856 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14857 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14858 $as_echo_n "(cached) " >&6
14859 else
14860 ac_wine_try_cflags_saved=$CFLAGS
14861 CFLAGS="$CFLAGS -Wshift-overflow=2"
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14864 int main(int argc, char **argv) { return 0; }
14865 _ACEOF
14866 if ac_fn_c_try_link "$LINENO"; then :
14867 ac_cv_cflags__Wshift_overflow_2=yes
14868 else
14869 ac_cv_cflags__Wshift_overflow_2=no
14871 rm -f core conftest.err conftest.$ac_objext \
14872 conftest$ac_exeext conftest.$ac_ext
14873 CFLAGS=$ac_wine_try_cflags_saved
14875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14876 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14877 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14878 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14881 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14882 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14883 $as_echo_n "(cached) " >&6
14884 else
14885 ac_wine_try_cflags_saved=$CFLAGS
14886 CFLAGS="$CFLAGS -Wstrict-prototypes"
14887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14888 /* end confdefs.h. */
14889 int main(int argc, char **argv) { return 0; }
14890 _ACEOF
14891 if ac_fn_c_try_link "$LINENO"; then :
14892 ac_cv_cflags__Wstrict_prototypes=yes
14893 else
14894 ac_cv_cflags__Wstrict_prototypes=no
14896 rm -f core conftest.err conftest.$ac_objext \
14897 conftest$ac_exeext conftest.$ac_ext
14898 CFLAGS=$ac_wine_try_cflags_saved
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14901 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14902 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14903 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14906 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14907 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14908 $as_echo_n "(cached) " >&6
14909 else
14910 ac_wine_try_cflags_saved=$CFLAGS
14911 CFLAGS="$CFLAGS -Wtype-limits"
14912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14913 /* end confdefs.h. */
14914 int main(int argc, char **argv) { return 0; }
14915 _ACEOF
14916 if ac_fn_c_try_link "$LINENO"; then :
14917 ac_cv_cflags__Wtype_limits=yes
14918 else
14919 ac_cv_cflags__Wtype_limits=no
14921 rm -f core conftest.err conftest.$ac_objext \
14922 conftest$ac_exeext conftest.$ac_ext
14923 CFLAGS=$ac_wine_try_cflags_saved
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14926 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14927 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14928 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14931 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14932 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14933 $as_echo_n "(cached) " >&6
14934 else
14935 ac_wine_try_cflags_saved=$CFLAGS
14936 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14938 /* end confdefs.h. */
14939 int main(int argc, char **argv) { return 0; }
14940 _ACEOF
14941 if ac_fn_c_try_link "$LINENO"; then :
14942 ac_cv_cflags__Wunused_but_set_parameter=yes
14943 else
14944 ac_cv_cflags__Wunused_but_set_parameter=no
14946 rm -f core conftest.err conftest.$ac_objext \
14947 conftest$ac_exeext conftest.$ac_ext
14948 CFLAGS=$ac_wine_try_cflags_saved
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14951 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14952 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14953 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14956 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14957 if ${ac_cv_cflags__Wvla+:} false; then :
14958 $as_echo_n "(cached) " >&6
14959 else
14960 ac_wine_try_cflags_saved=$CFLAGS
14961 CFLAGS="$CFLAGS -Wvla"
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14964 int main(int argc, char **argv) { return 0; }
14965 _ACEOF
14966 if ac_fn_c_try_link "$LINENO"; then :
14967 ac_cv_cflags__Wvla=yes
14968 else
14969 ac_cv_cflags__Wvla=no
14971 rm -f core conftest.err conftest.$ac_objext \
14972 conftest$ac_exeext conftest.$ac_ext
14973 CFLAGS=$ac_wine_try_cflags_saved
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14976 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14977 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14978 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14981 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14982 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14983 $as_echo_n "(cached) " >&6
14984 else
14985 ac_wine_try_cflags_saved=$CFLAGS
14986 CFLAGS="$CFLAGS -Wwrite-strings"
14987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14989 int main(int argc, char **argv) { return 0; }
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"; then :
14992 ac_cv_cflags__Wwrite_strings=yes
14993 else
14994 ac_cv_cflags__Wwrite_strings=no
14996 rm -f core conftest.err conftest.$ac_objext \
14997 conftest$ac_exeext conftest.$ac_ext
14998 CFLAGS=$ac_wine_try_cflags_saved
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15001 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15002 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15003 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15007 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15008 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15009 $as_echo_n "(cached) " >&6
15010 else
15011 ac_wine_try_cflags_saved=$CFLAGS
15012 CFLAGS="$CFLAGS -Wpointer-arith"
15013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15015 int main(int argc, char **argv) { return 0; }
15016 _ACEOF
15017 if ac_fn_c_try_link "$LINENO"; then :
15018 ac_cv_cflags__Wpointer_arith=yes
15019 else
15020 ac_cv_cflags__Wpointer_arith=no
15022 rm -f core conftest.err conftest.$ac_objext \
15023 conftest$ac_exeext conftest.$ac_ext
15024 CFLAGS=$ac_wine_try_cflags_saved
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15027 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15028 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15029 saved_string_h_CFLAGS=$CFLAGS
15030 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15032 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15033 if ${ac_cv_c_string_h_warnings+:} false; then :
15034 $as_echo_n "(cached) " >&6
15035 else
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15038 #include <string.h>
15040 main ()
15044 return 0;
15046 _ACEOF
15047 if ac_fn_c_try_compile "$LINENO"; then :
15048 ac_cv_c_string_h_warnings=no
15049 else
15050 ac_cv_c_string_h_warnings=yes
15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15055 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15056 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15057 CFLAGS=$saved_string_h_CFLAGS
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15061 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15062 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15063 $as_echo_n "(cached) " >&6
15064 else
15065 ac_wine_try_cflags_saved=$CFLAGS
15066 CFLAGS="$CFLAGS -Wlogical-op"
15067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15068 /* end confdefs.h. */
15069 int main(int argc, char **argv) { return 0; }
15070 _ACEOF
15071 if ac_fn_c_try_link "$LINENO"; then :
15072 ac_cv_cflags__Wlogical_op=yes
15073 else
15074 ac_cv_cflags__Wlogical_op=no
15076 rm -f core conftest.err conftest.$ac_objext \
15077 conftest$ac_exeext conftest.$ac_ext
15078 CFLAGS=$ac_wine_try_cflags_saved
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15081 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15082 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15083 saved_string_h_CFLAGS=$CFLAGS
15084 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15086 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15087 if ${ac_cv_c_logicalop_noisy+:} false; then :
15088 $as_echo_n "(cached) " >&6
15089 else
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 #include <string.h>
15093 char*f(const char *h,char n) {return strchr(h,n);}
15095 main ()
15099 return 0;
15101 _ACEOF
15102 if ac_fn_c_try_compile "$LINENO"; then :
15103 ac_cv_c_logicalop_noisy=no
15104 else
15105 ac_cv_c_logicalop_noisy=yes
15107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15110 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15111 CFLAGS=$saved_string_h_CFLAGS
15112 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15115 CFLAGS=$saved_CFLAGS
15117 for ac_flag in $CFLAGS; do
15118 case $ac_flag in
15119 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15120 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15121 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15122 $as_echo_n "(cached) " >&6
15123 else
15124 ac_wine_try_cflags_saved=$CFLAGS
15125 CFLAGS="$CFLAGS -gdwarf-2"
15126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15127 /* end confdefs.h. */
15128 int main(int argc, char **argv) { return 0; }
15129 _ACEOF
15130 if ac_fn_c_try_link "$LINENO"; then :
15131 ac_cv_cflags__gdwarf_2=yes
15132 else
15133 ac_cv_cflags__gdwarf_2=no
15135 rm -f core conftest.err conftest.$ac_objext \
15136 conftest$ac_exeext conftest.$ac_ext
15137 CFLAGS=$ac_wine_try_cflags_saved
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15140 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15141 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15142 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15145 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15146 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15147 $as_echo_n "(cached) " >&6
15148 else
15149 ac_wine_try_cflags_saved=$CFLAGS
15150 CFLAGS="$CFLAGS -gstrict-dwarf"
15151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15153 int main(int argc, char **argv) { return 0; }
15154 _ACEOF
15155 if ac_fn_c_try_link "$LINENO"; then :
15156 ac_cv_cflags__gstrict_dwarf=yes
15157 else
15158 ac_cv_cflags__gstrict_dwarf=no
15160 rm -f core conftest.err conftest.$ac_objext \
15161 conftest$ac_exeext conftest.$ac_ext
15162 CFLAGS=$ac_wine_try_cflags_saved
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15165 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15166 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15167 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15168 fi ;;
15169 esac
15170 done
15172 case $host_cpu in
15173 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15174 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15175 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 ac_wine_try_cflags_saved=$CFLAGS
15179 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15182 int main(int argc, char **argv) { return 0; }
15183 _ACEOF
15184 if ac_fn_c_try_link "$LINENO"; then :
15185 ac_cv_cflags__fno_omit_frame_pointer=yes
15186 else
15187 ac_cv_cflags__fno_omit_frame_pointer=no
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15191 CFLAGS=$ac_wine_try_cflags_saved
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15194 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15195 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15196 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15197 fi ;;
15198 esac
15200 case $host in
15201 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15202 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15203 if ${ac_cv_cflags__Wno_format+:} false; then :
15204 $as_echo_n "(cached) " >&6
15205 else
15206 ac_wine_try_cflags_saved=$CFLAGS
15207 CFLAGS="$CFLAGS -Wno-format"
15208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15210 int main(int argc, char **argv) { return 0; }
15211 _ACEOF
15212 if ac_fn_c_try_link "$LINENO"; then :
15213 ac_cv_cflags__Wno_format=yes
15214 else
15215 ac_cv_cflags__Wno_format=no
15217 rm -f core conftest.err conftest.$ac_objext \
15218 conftest$ac_exeext conftest.$ac_ext
15219 CFLAGS=$ac_wine_try_cflags_saved
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15222 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15223 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15224 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15225 fi ;;
15226 esac
15228 if test "x$enable_maintainer_mode" = "xyes"
15229 then
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15231 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15232 if ${ac_cv_cflags__Werror+:} false; then :
15233 $as_echo_n "(cached) " >&6
15234 else
15235 ac_wine_try_cflags_saved=$CFLAGS
15236 CFLAGS="$CFLAGS -Werror"
15237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15239 int main(int argc, char **argv) { return 0; }
15240 _ACEOF
15241 if ac_fn_c_try_link "$LINENO"; then :
15242 ac_cv_cflags__Werror=yes
15243 else
15244 ac_cv_cflags__Werror=no
15246 rm -f core conftest.err conftest.$ac_objext \
15247 conftest$ac_exeext conftest.$ac_ext
15248 CFLAGS=$ac_wine_try_cflags_saved
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15251 $as_echo "$ac_cv_cflags__Werror" >&6; }
15252 if test "x$ac_cv_cflags__Werror" = xyes; then :
15253 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15257 saved_CFLAGS="$CFLAGS"
15258 CFLAGS="$CFLAGS -Werror"
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15260 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15261 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15262 $as_echo_n "(cached) " >&6
15263 else
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15266 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15268 main ()
15272 return 0;
15274 _ACEOF
15275 if ac_fn_c_try_compile "$LINENO"; then :
15276 ac_cv_have_ms_hook_prologue="yes"
15277 else
15278 ac_cv_have_ms_hook_prologue="no"
15280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15283 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15284 CFLAGS="$saved_CFLAGS"
15285 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15286 then
15288 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15290 else
15291 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15298 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15299 if ${ac_cv_c_fortify_enabled+:} false; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15304 #include <string.h>
15306 main ()
15308 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15309 #error Fortify enabled
15310 #endif
15312 return 0;
15314 _ACEOF
15315 if ac_fn_c_try_compile "$LINENO"; then :
15316 ac_cv_c_fortify_enabled=no
15317 else
15318 ac_cv_c_fortify_enabled=yes
15320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15323 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15324 if test "$ac_cv_c_fortify_enabled" = yes
15325 then
15326 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15331 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15332 if ${ac_cv_c_extern_prefix+:} false; then :
15333 $as_echo_n "(cached) " >&6
15334 else
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15337 extern int ac_test;
15339 main ()
15341 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15343 return 0;
15345 _ACEOF
15346 if ac_fn_c_try_link "$LINENO"; then :
15347 ac_cv_c_extern_prefix="yes"
15348 else
15349 ac_cv_c_extern_prefix="no"
15351 rm -f core conftest.err conftest.$ac_objext \
15352 conftest$ac_exeext conftest.$ac_ext
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15355 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15357 case $host_cpu in
15358 *i[3456789]86*)
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15360 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15361 if ${ac_cv_c_stdcall_suffix+:} false; then :
15362 $as_echo_n "(cached) " >&6
15363 else
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15366 #ifndef _MSC_VER
15367 #define __stdcall __attribute__((__stdcall__))
15368 #endif
15369 int __stdcall ac_test(int i) { return i; }
15371 main ()
15373 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15375 return 0;
15377 _ACEOF
15378 if ac_fn_c_try_link "$LINENO"; then :
15379 ac_cv_c_stdcall_suffix="yes"
15380 else
15381 ac_cv_c_stdcall_suffix="no"
15383 rm -f core conftest.err conftest.$ac_objext \
15384 conftest$ac_exeext conftest.$ac_ext
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15387 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15388 *) ac_cv_c_stdcall_suffix="no" ;;
15389 esac
15392 if test "$ac_cv_c_extern_prefix" = "yes"
15393 then
15394 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15396 asm_name_prefix="_"
15397 else
15398 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15400 asm_name_prefix=""
15404 if test "$ac_cv_c_stdcall_suffix" = "yes"
15405 then
15406 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15408 else
15409 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15415 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15416 if ${ac_cv_asm_func_def+:} false; then :
15417 $as_echo_n "(cached) " >&6
15418 else
15419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15420 /* end confdefs.h. */
15423 main ()
15425 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15427 return 0;
15429 _ACEOF
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 ac_cv_asm_func_def=".def"
15432 else
15433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15434 /* end confdefs.h. */
15437 main ()
15439 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15441 return 0;
15443 _ACEOF
15444 if ac_fn_c_try_link "$LINENO"; then :
15445 ac_cv_asm_func_def=".type @function"
15446 else
15447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15448 /* end confdefs.h. */
15451 main ()
15453 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15455 return 0;
15457 _ACEOF
15458 if ac_fn_c_try_link "$LINENO"; then :
15459 ac_cv_asm_func_def=".type 2"
15460 else
15461 ac_cv_asm_func_def="unknown"
15463 rm -f core conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext conftest.$ac_ext
15466 rm -f core conftest.err conftest.$ac_objext \
15467 conftest$ac_exeext conftest.$ac_ext
15469 rm -f core conftest.err conftest.$ac_objext \
15470 conftest$ac_exeext conftest.$ac_ext
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15473 $as_echo "$ac_cv_asm_func_def" >&6; }
15476 case "$ac_cv_asm_func_def" in
15477 ".def")
15478 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15480 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15481 ".type @function")
15482 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15484 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15485 ".type 2")
15486 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15488 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15490 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15492 asm_func_header="" ;;
15493 esac
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15496 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15497 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15498 $as_echo_n "(cached) " >&6
15499 else
15500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15501 /* end confdefs.h. */
15502 asm(".text\n\t.long 0");
15504 main ()
15508 return 0;
15510 _ACEOF
15511 if ac_fn_c_try_compile "$LINENO"; then :
15512 ac_cv_c_asm_outside_funcs="yes"
15513 else
15514 ac_cv_c_asm_outside_funcs="no"
15516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15519 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15522 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15523 if ${ac_cv_c_dot_previous+:} false; then :
15524 $as_echo_n "(cached) " >&6
15525 else
15526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15530 main ()
15532 asm(".text\nac_test:\t.long 0\n\t.previous");
15534 return 0;
15536 _ACEOF
15537 if ac_fn_c_try_link "$LINENO"; then :
15538 ac_cv_c_dot_previous="yes"
15539 else
15540 ac_cv_c_dot_previous="no"
15542 rm -f core conftest.err conftest.$ac_objext \
15543 conftest$ac_exeext conftest.$ac_ext
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15546 $as_echo "$ac_cv_c_dot_previous" >&6; }
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15549 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15550 if ${ac_cv_c_cfi_support+:} false; then :
15551 $as_echo_n "(cached) " >&6
15552 else
15553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15554 /* end confdefs.h. */
15555 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15557 main ()
15561 return 0;
15563 _ACEOF
15564 if ac_fn_c_try_compile "$LINENO"; then :
15565 ac_cv_c_cfi_support="yes"
15566 else
15567 ac_cv_c_cfi_support="no"
15569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15572 $as_echo "$ac_cv_c_cfi_support" >&6; }
15574 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15575 asm_func_trailer=""
15576 if test "$ac_cv_c_dot_previous" = "yes"
15577 then
15578 asm_func_trailer="\\n\\t.previous"
15580 if test "$ac_cv_c_cfi_support" = "yes"
15581 then
15582 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15583 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15585 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15587 UNWINDFLAGS=-fasynchronous-unwind-tables
15589 else
15590 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15592 if test "x$enable_win64" = "xyes"
15593 then
15594 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15598 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15601 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15602 then
15603 cat >>confdefs.h <<_ACEOF
15604 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15605 _ACEOF
15607 else
15608 cat >>confdefs.h <<_ACEOF
15609 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15610 _ACEOF
15614 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15617 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15621 case $build_os in
15622 cygwin*|mingw32*) TOOLSEXT=".exe"
15624 esac
15626 case $host_os in
15627 linux*)
15628 case $host_cpu in
15629 *i[3456789]86*|x86_64*)
15630 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15631 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15633 esac
15635 esac
15638 ac_save_CFLAGS="$CFLAGS"
15639 CFLAGS="$CFLAGS $BUILTINFLAG"
15640 for ac_func in \
15641 __res_get_state \
15642 __res_getservers \
15643 _finite \
15644 _isnan \
15645 _pclose \
15646 _popen \
15647 _snprintf \
15648 _spawnvp \
15649 _strdup \
15650 _stricmp \
15651 _strnicmp \
15652 _strtoi64 \
15653 _strtoui64 \
15654 _vsnprintf \
15655 asctime_r \
15656 chsize \
15657 dlopen \
15658 epoll_create \
15659 ffs \
15660 finitef \
15661 fnmatch \
15662 fork \
15663 fpclass \
15664 fstatfs \
15665 fstatvfs \
15666 ftruncate \
15667 futimens \
15668 futimes \
15669 futimesat \
15670 getattrlist \
15671 getauxval \
15672 getifaddrs \
15673 getopt_long_only \
15674 getpwuid \
15675 gettimeofday \
15676 getuid \
15677 isnanf \
15678 kqueue \
15679 lstat \
15680 memmove \
15681 mmap \
15682 pclose \
15683 pipe2 \
15684 poll \
15685 popen \
15686 port_create \
15687 prctl \
15688 pread \
15689 proc_pidinfo \
15690 pwrite \
15691 readdir \
15692 readlink \
15693 sched_yield \
15694 select \
15695 setproctitle \
15696 setprogname \
15697 setrlimit \
15698 settimeofday \
15699 sigaltstack \
15700 sigprocmask \
15701 snprintf \
15702 statfs \
15703 statvfs \
15704 strcasecmp \
15705 strdup \
15706 strerror \
15707 strncasecmp \
15708 strtold \
15709 strtoll \
15710 strtoull \
15711 symlink \
15712 sysinfo \
15713 tcdrain \
15714 thr_kill2 \
15715 timegm \
15716 usleep \
15717 vsnprintf
15719 do :
15720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15722 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15723 cat >>confdefs.h <<_ACEOF
15724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15725 _ACEOF
15728 done
15730 CFLAGS="$ac_save_CFLAGS"
15732 if test "$ac_cv_func_dlopen" = no
15733 then
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15735 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15736 if ${ac_cv_lib_dl_dlopen+:} false; then :
15737 $as_echo_n "(cached) " >&6
15738 else
15739 ac_check_lib_save_LIBS=$LIBS
15740 LIBS="-ldl $LIBS"
15741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15742 /* end confdefs.h. */
15744 /* Override any GCC internal prototype to avoid an error.
15745 Use char because int might match the return type of a GCC
15746 builtin and then its argument prototype would still apply. */
15747 #ifdef __cplusplus
15748 extern "C"
15749 #endif
15750 char dlopen ();
15752 main ()
15754 return dlopen ();
15756 return 0;
15758 _ACEOF
15759 if ac_fn_c_try_link "$LINENO"; then :
15760 ac_cv_lib_dl_dlopen=yes
15761 else
15762 ac_cv_lib_dl_dlopen=no
15764 rm -f core conftest.err conftest.$ac_objext \
15765 conftest$ac_exeext conftest.$ac_ext
15766 LIBS=$ac_check_lib_save_LIBS
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15769 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15770 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15771 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15772 DL_LIBS="-ldl"
15777 ac_wine_check_funcs_save_LIBS="$LIBS"
15778 LIBS="$LIBS $DL_LIBS"
15779 for ac_func in dladdr
15780 do :
15781 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15782 if test "x$ac_cv_func_dladdr" = xyes; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define HAVE_DLADDR 1
15785 _ACEOF
15788 done
15790 LIBS="$ac_wine_check_funcs_save_LIBS"
15792 if test "$ac_cv_func_poll" = no
15793 then
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15795 $as_echo_n "checking for poll in -lpoll... " >&6; }
15796 if ${ac_cv_lib_poll_poll+:} false; then :
15797 $as_echo_n "(cached) " >&6
15798 else
15799 ac_check_lib_save_LIBS=$LIBS
15800 LIBS="-lpoll $LIBS"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 #ifdef __cplusplus
15808 extern "C"
15809 #endif
15810 char poll ();
15812 main ()
15814 return poll ();
15816 return 0;
15818 _ACEOF
15819 if ac_fn_c_try_link "$LINENO"; then :
15820 ac_cv_lib_poll_poll=yes
15821 else
15822 ac_cv_lib_poll_poll=no
15824 rm -f core conftest.err conftest.$ac_objext \
15825 conftest$ac_exeext conftest.$ac_ext
15826 LIBS=$ac_check_lib_save_LIBS
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15829 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15830 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15831 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15832 POLL_LIBS="-lpoll"
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15839 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15840 if ${ac_cv_search_gethostbyname+:} false; then :
15841 $as_echo_n "(cached) " >&6
15842 else
15843 ac_func_search_save_LIBS=$LIBS
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15847 /* Override any GCC internal prototype to avoid an error.
15848 Use char because int might match the return type of a GCC
15849 builtin and then its argument prototype would still apply. */
15850 #ifdef __cplusplus
15851 extern "C"
15852 #endif
15853 char gethostbyname ();
15855 main ()
15857 return gethostbyname ();
15859 return 0;
15861 _ACEOF
15862 for ac_lib in '' nsl; do
15863 if test -z "$ac_lib"; then
15864 ac_res="none required"
15865 else
15866 ac_res=-l$ac_lib
15867 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15869 if ac_fn_c_try_link "$LINENO"; then :
15870 ac_cv_search_gethostbyname=$ac_res
15872 rm -f core conftest.err conftest.$ac_objext \
15873 conftest$ac_exeext
15874 if ${ac_cv_search_gethostbyname+:} false; then :
15875 break
15877 done
15878 if ${ac_cv_search_gethostbyname+:} false; then :
15880 else
15881 ac_cv_search_gethostbyname=no
15883 rm conftest.$ac_ext
15884 LIBS=$ac_func_search_save_LIBS
15886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15887 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15888 ac_res=$ac_cv_search_gethostbyname
15889 if test "$ac_res" != no; then :
15890 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15896 $as_echo_n "checking for library containing connect... " >&6; }
15897 if ${ac_cv_search_connect+:} false; then :
15898 $as_echo_n "(cached) " >&6
15899 else
15900 ac_func_search_save_LIBS=$LIBS
15901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15902 /* end confdefs.h. */
15904 /* Override any GCC internal prototype to avoid an error.
15905 Use char because int might match the return type of a GCC
15906 builtin and then its argument prototype would still apply. */
15907 #ifdef __cplusplus
15908 extern "C"
15909 #endif
15910 char connect ();
15912 main ()
15914 return connect ();
15916 return 0;
15918 _ACEOF
15919 for ac_lib in '' socket; do
15920 if test -z "$ac_lib"; then
15921 ac_res="none required"
15922 else
15923 ac_res=-l$ac_lib
15924 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15926 if ac_fn_c_try_link "$LINENO"; then :
15927 ac_cv_search_connect=$ac_res
15929 rm -f core conftest.err conftest.$ac_objext \
15930 conftest$ac_exeext
15931 if ${ac_cv_search_connect+:} false; then :
15932 break
15934 done
15935 if ${ac_cv_search_connect+:} false; then :
15937 else
15938 ac_cv_search_connect=no
15940 rm conftest.$ac_ext
15941 LIBS=$ac_func_search_save_LIBS
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15944 $as_echo "$ac_cv_search_connect" >&6; }
15945 ac_res=$ac_cv_search_connect
15946 if test "$ac_res" != no; then :
15947 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15953 $as_echo_n "checking for library containing inet_aton... " >&6; }
15954 if ${ac_cv_search_inet_aton+:} false; then :
15955 $as_echo_n "(cached) " >&6
15956 else
15957 ac_func_search_save_LIBS=$LIBS
15958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15959 /* end confdefs.h. */
15961 /* Override any GCC internal prototype to avoid an error.
15962 Use char because int might match the return type of a GCC
15963 builtin and then its argument prototype would still apply. */
15964 #ifdef __cplusplus
15965 extern "C"
15966 #endif
15967 char inet_aton ();
15969 main ()
15971 return inet_aton ();
15973 return 0;
15975 _ACEOF
15976 for ac_lib in '' resolv; do
15977 if test -z "$ac_lib"; then
15978 ac_res="none required"
15979 else
15980 ac_res=-l$ac_lib
15981 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15983 if ac_fn_c_try_link "$LINENO"; then :
15984 ac_cv_search_inet_aton=$ac_res
15986 rm -f core conftest.err conftest.$ac_objext \
15987 conftest$ac_exeext
15988 if ${ac_cv_search_inet_aton+:} false; then :
15989 break
15991 done
15992 if ${ac_cv_search_inet_aton+:} false; then :
15994 else
15995 ac_cv_search_inet_aton=no
15997 rm conftest.$ac_ext
15998 LIBS=$ac_func_search_save_LIBS
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16001 $as_echo "$ac_cv_search_inet_aton" >&6; }
16002 ac_res=$ac_cv_search_inet_aton
16003 if test "$ac_res" != no; then :
16004 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16009 for ac_func in \
16010 getaddrinfo \
16011 getnameinfo \
16012 getnetbyname \
16013 getprotobyname \
16014 getprotobynumber \
16015 getservbyport \
16016 inet_addr \
16017 inet_network \
16018 inet_ntop \
16019 inet_pton \
16020 sendmsg \
16021 socketpair \
16023 do :
16024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16026 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16027 cat >>confdefs.h <<_ACEOF
16028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16029 _ACEOF
16032 done
16035 ac_save_LIBS=$LIBS
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16037 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16038 if ${ac_cv_search_clock_gettime+:} false; then :
16039 $as_echo_n "(cached) " >&6
16040 else
16041 ac_func_search_save_LIBS=$LIBS
16042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16043 /* end confdefs.h. */
16045 /* Override any GCC internal prototype to avoid an error.
16046 Use char because int might match the return type of a GCC
16047 builtin and then its argument prototype would still apply. */
16048 #ifdef __cplusplus
16049 extern "C"
16050 #endif
16051 char clock_gettime ();
16053 main ()
16055 return clock_gettime ();
16057 return 0;
16059 _ACEOF
16060 for ac_lib in '' rt; do
16061 if test -z "$ac_lib"; then
16062 ac_res="none required"
16063 else
16064 ac_res=-l$ac_lib
16065 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16067 if ac_fn_c_try_link "$LINENO"; then :
16068 ac_cv_search_clock_gettime=$ac_res
16070 rm -f core conftest.err conftest.$ac_objext \
16071 conftest$ac_exeext
16072 if ${ac_cv_search_clock_gettime+:} false; then :
16073 break
16075 done
16076 if ${ac_cv_search_clock_gettime+:} false; then :
16078 else
16079 ac_cv_search_clock_gettime=no
16081 rm conftest.$ac_ext
16082 LIBS=$ac_func_search_save_LIBS
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16085 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16086 ac_res=$ac_cv_search_clock_gettime
16087 if test "$ac_res" != no; then :
16088 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16090 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16092 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16096 LIBS=$ac_save_LIBS
16098 if test "x$with_ldap" != "xno"
16099 then
16100 if ${LDAP_CFLAGS:+false} :; then :
16101 if ${PKG_CONFIG+:} false; then :
16102 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16106 if ${LDAP_LIBS:+false} :; then :
16107 if ${PKG_CONFIG+:} false; then :
16108 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16112 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16113 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16114 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16115 ac_save_CPPFLAGS=$CPPFLAGS
16116 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16117 for ac_header in ldap.h lber.h
16118 do :
16119 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16120 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16121 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16124 _ACEOF
16128 done
16130 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16131 then
16132 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16134 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16136 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16137 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16138 $as_echo_n "(cached) " >&6
16139 else
16140 ac_check_lib_save_LIBS=$LIBS
16141 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16145 /* Override any GCC internal prototype to avoid an error.
16146 Use char because int might match the return type of a GCC
16147 builtin and then its argument prototype would still apply. */
16148 #ifdef __cplusplus
16149 extern "C"
16150 #endif
16151 char ldap_initialize ();
16153 main ()
16155 return ldap_initialize ();
16157 return 0;
16159 _ACEOF
16160 if ac_fn_c_try_link "$LINENO"; then :
16161 ac_cv_lib_ldap_r_ldap_initialize=yes
16162 else
16163 ac_cv_lib_ldap_r_ldap_initialize=no
16165 rm -f core conftest.err conftest.$ac_objext \
16166 conftest$ac_exeext conftest.$ac_ext
16167 LIBS=$ac_check_lib_save_LIBS
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16170 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16171 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16173 $as_echo_n "checking for ber_init in -llber... " >&6; }
16174 if ${ac_cv_lib_lber_ber_init+:} false; then :
16175 $as_echo_n "(cached) " >&6
16176 else
16177 ac_check_lib_save_LIBS=$LIBS
16178 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16180 /* end confdefs.h. */
16182 /* Override any GCC internal prototype to avoid an error.
16183 Use char because int might match the return type of a GCC
16184 builtin and then its argument prototype would still apply. */
16185 #ifdef __cplusplus
16186 extern "C"
16187 #endif
16188 char ber_init ();
16190 main ()
16192 return ber_init ();
16194 return 0;
16196 _ACEOF
16197 if ac_fn_c_try_link "$LINENO"; then :
16198 ac_cv_lib_lber_ber_init=yes
16199 else
16200 ac_cv_lib_lber_ber_init=no
16202 rm -f core conftest.err conftest.$ac_objext \
16203 conftest$ac_exeext conftest.$ac_ext
16204 LIBS=$ac_check_lib_save_LIBS
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16207 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16208 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16210 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16212 else
16213 LDAP_LIBS=""
16216 else
16217 LDAP_LIBS=""
16220 else
16221 LDAP_LIBS=""
16224 ac_wine_check_funcs_save_LIBS="$LIBS"
16225 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16226 for ac_func in \
16227 ldap_count_references \
16228 ldap_first_reference \
16229 ldap_next_reference \
16230 ldap_parse_reference \
16231 ldap_parse_sort_control \
16232 ldap_parse_sortresponse_control \
16233 ldap_parse_vlv_control \
16234 ldap_parse_vlvresponse_control
16235 do :
16236 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16237 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16238 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16239 cat >>confdefs.h <<_ACEOF
16240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16241 _ACEOF
16244 done
16246 LIBS="$ac_wine_check_funcs_save_LIBS"
16247 else
16248 LDAP_LIBS=""
16250 CPPFLAGS=$ac_save_CPPFLAGS
16251 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16252 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16255 if test "x$LDAP_LIBS" = "x"; then :
16256 case "x$with_ldap" in
16257 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16258 xno) ;;
16259 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16260 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16261 esac
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16266 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16267 if ${wine_cv_one_arg_mkdir+:} false; then :
16268 $as_echo_n "(cached) " >&6
16269 else
16270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16272 #include <sys/stat.h>
16274 main ()
16276 mkdir("foo");
16278 return 0;
16280 _ACEOF
16281 if ac_fn_c_try_compile "$LINENO"; then :
16282 wine_cv_one_arg_mkdir=yes
16283 else
16284 wine_cv_one_arg_mkdir=no
16286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16289 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16290 if test "$wine_cv_one_arg_mkdir" = "yes"
16291 then
16293 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16298 $as_echo_n "checking for sched_setaffinity... " >&6; }
16299 if ${wine_cv_have_sched_setaffinity+:} false; then :
16300 $as_echo_n "(cached) " >&6
16301 else
16302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16303 /* end confdefs.h. */
16304 #define _GNU_SOURCE
16305 #include <sched.h>
16307 main ()
16309 sched_setaffinity(0, 0, 0);
16311 return 0;
16313 _ACEOF
16314 if ac_fn_c_try_link "$LINENO"; then :
16315 wine_cv_have_sched_setaffinity=yes
16316 else
16317 wine_cv_have_sched_setaffinity=no
16319 rm -f core conftest.err conftest.$ac_objext \
16320 conftest$ac_exeext conftest.$ac_ext
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16323 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16324 if test "$wine_cv_have_sched_setaffinity" = "yes"
16325 then
16327 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16332 $as_echo_n "checking for fallocate... " >&6; }
16333 if ${wine_cv_have_fallocate+:} false; then :
16334 $as_echo_n "(cached) " >&6
16335 else
16336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16337 /* end confdefs.h. */
16338 #define _GNU_SOURCE
16339 #include <fcntl.h>
16341 main ()
16343 fallocate(-1, 0, 0, 0);
16345 return 0;
16347 _ACEOF
16348 if ac_fn_c_try_link "$LINENO"; then :
16349 wine_cv_have_fallocate=yes
16350 else
16351 wine_cv_have_fallocate=no
16353 rm -f core conftest.err conftest.$ac_objext \
16354 conftest$ac_exeext conftest.$ac_ext
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16357 $as_echo "$wine_cv_have_fallocate" >&6; }
16358 if test "$wine_cv_have_fallocate" = "yes"
16359 then
16361 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16367 $as_echo_n "checking for inline... " >&6; }
16368 if ${ac_cv_c_inline+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 ac_cv_c_inline=no
16372 for ac_kw in inline __inline__ __inline; do
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h. */
16375 #ifndef __cplusplus
16376 typedef int foo_t;
16377 static $ac_kw foo_t static_foo () {return 0; }
16378 $ac_kw foo_t foo () {return 0; }
16379 #endif
16381 _ACEOF
16382 if ac_fn_c_try_compile "$LINENO"; then :
16383 ac_cv_c_inline=$ac_kw
16385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16386 test "$ac_cv_c_inline" != no && break
16387 done
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16391 $as_echo "$ac_cv_c_inline" >&6; }
16393 case $ac_cv_c_inline in
16394 inline | yes) ;;
16396 case $ac_cv_c_inline in
16397 no) ac_val=;;
16398 *) ac_val=$ac_cv_c_inline;;
16399 esac
16400 cat >>confdefs.h <<_ACEOF
16401 #ifndef __cplusplus
16402 #define inline $ac_val
16403 #endif
16404 _ACEOF
16406 esac
16408 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16409 if test "x$ac_cv_type_mode_t" = xyes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_MODE_T 1
16413 _ACEOF
16417 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16418 if test "x$ac_cv_type_off_t" = xyes; then :
16420 cat >>confdefs.h <<_ACEOF
16421 #define HAVE_OFF_T 1
16422 _ACEOF
16426 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16427 if test "x$ac_cv_type_pid_t" = xyes; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_PID_T 1
16431 _ACEOF
16435 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16436 if test "x$ac_cv_type_size_t" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_SIZE_T 1
16440 _ACEOF
16444 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16445 if test "x$ac_cv_type_ssize_t" = xyes; then :
16447 cat >>confdefs.h <<_ACEOF
16448 #define HAVE_SSIZE_T 1
16449 _ACEOF
16453 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16454 if test "x$ac_cv_type_long_long" = xyes; then :
16456 cat >>confdefs.h <<_ACEOF
16457 #define HAVE_LONG_LONG 1
16458 _ACEOF
16462 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16463 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16465 cat >>confdefs.h <<_ACEOF
16466 #define HAVE_FSBLKCNT_T 1
16467 _ACEOF
16471 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16472 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16474 cat >>confdefs.h <<_ACEOF
16475 #define HAVE_FSFILCNT_T 1
16476 _ACEOF
16481 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16482 #include <signal.h>
16484 if test "x$ac_cv_type_sigset_t" = xyes; then :
16486 cat >>confdefs.h <<_ACEOF
16487 #define HAVE_SIGSET_T 1
16488 _ACEOF
16493 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16495 if test "x$ac_cv_type_request_sense" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_REQUEST_SENSE 1
16499 _ACEOF
16505 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16506 #ifdef HAVE_SYS_SOCKET_H
16507 #include <sys/socket.h>
16508 #endif
16509 #ifdef HAVE_SYS_SOCKETVAR_H
16510 #include <sys/socketvar.h>
16511 #endif
16512 #ifdef HAVE_NET_ROUTE_H
16513 #include <net/route.h>
16514 #endif
16515 #ifdef HAVE_NETINET_IN_H
16516 #include <netinet/in.h>
16517 #endif
16518 #ifdef HAVE_NETINET_IN_SYSTM_H
16519 #include <netinet/in_systm.h>
16520 #endif
16521 #ifdef HAVE_NETINET_IP_H
16522 #include <netinet/ip.h>
16523 #endif
16524 #ifdef HAVE_NETINET_IN_PCB_H
16525 #include <netinet/in_pcb.h>
16526 #endif
16528 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16530 cat >>confdefs.h <<_ACEOF
16531 #define HAVE_STRUCT_XINPGEN 1
16532 _ACEOF
16538 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16539 #include <link.h>
16540 #endif
16541 #ifdef HAVE_SYS_LINK_H
16542 #include <sys/link.h>
16543 #endif
16545 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16547 cat >>confdefs.h <<_ACEOF
16548 #define HAVE_STRUCT_R_DEBUG 1
16549 _ACEOF
16553 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16554 #include <link.h>
16555 #endif
16556 #ifdef HAVE_SYS_LINK_H
16557 #include <sys/link.h>
16558 #endif
16560 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_STRUCT_LINK_MAP 1
16564 _ACEOF
16570 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16571 #include <linux/input.h>
16572 #endif
16574 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16576 cat >>confdefs.h <<_ACEOF
16577 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16578 _ACEOF
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16585 $as_echo_n "checking for if_nameindex... " >&6; }
16586 if ${wine_cv_have_if_nameindex+:} false; then :
16587 $as_echo_n "(cached) " >&6
16588 else
16589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16590 /* end confdefs.h. */
16591 #ifdef HAVE_SYS_TYPES_H
16592 #include <sys/types.h>
16593 #endif
16594 #ifdef HAVE_SYS_SOCKET_H
16595 #include <sys/socket.h>
16596 #endif
16597 #ifdef HAVE_NET_IF_H
16598 # include <net/if.h>
16599 #endif
16601 main ()
16603 struct if_nameindex *p = if_nameindex(); return p->if_index;
16605 return 0;
16607 _ACEOF
16608 if ac_fn_c_try_link "$LINENO"; then :
16609 wine_cv_have_if_nameindex=yes
16610 else
16611 wine_cv_have_if_nameindex=no
16613 rm -f core conftest.err conftest.$ac_objext \
16614 conftest$ac_exeext conftest.$ac_ext
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16617 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16618 if test "$wine_cv_have_if_nameindex" = "yes"
16619 then
16621 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16626 $as_echo_n "checking for sigaddset... " >&6; }
16627 if ${wine_cv_have_sigaddset+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 #include <signal.h>
16634 main ()
16636 sigset_t set; sigaddset(&set,SIGTERM);
16638 return 0;
16640 _ACEOF
16641 if ac_fn_c_try_link "$LINENO"; then :
16642 wine_cv_have_sigaddset=yes
16643 else
16644 wine_cv_have_sigaddset=no
16646 rm -f core conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16650 $as_echo "$wine_cv_have_sigaddset" >&6; }
16651 if test "$wine_cv_have_sigaddset" = "yes"
16652 then
16654 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16660 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16661 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16662 $as_echo_n "(cached) " >&6
16663 else
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <netdb.h>
16668 main ()
16671 char *name=0;
16672 struct hostent he;
16673 struct hostent *result;
16674 char *buf=0;
16675 int bufsize=0;
16676 int errnr;
16677 char *addr=0;
16678 int addrlen=0;
16679 int addrtype=0;
16680 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16681 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16684 return 0;
16686 _ACEOF
16687 if ac_fn_c_try_link "$LINENO"; then :
16688 wine_cv_linux_gethostbyname_r_6=yes
16689 else
16690 wine_cv_linux_gethostbyname_r_6=no
16693 rm -f core conftest.err conftest.$ac_objext \
16694 conftest$ac_exeext conftest.$ac_ext
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16698 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16699 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16700 then
16702 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16706 if test "$ac_cv_header_linux_joystick_h" = "yes"
16707 then
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16709 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16710 if ${wine_cv_linux_joystick_22_api+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16714 /* end confdefs.h. */
16716 #include <sys/ioctl.h>
16717 #include <sys/types.h>
16718 #include <linux/joystick.h>
16720 struct js_event blub;
16721 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16722 #error "no 2.2 header"
16723 #endif
16726 main ()
16728 /*empty*/
16730 return 0;
16732 _ACEOF
16733 if ac_fn_c_try_compile "$LINENO"; then :
16734 wine_cv_linux_joystick_22_api=yes
16735 else
16736 wine_cv_linux_joystick_22_api=no
16738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16742 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16743 if test "$wine_cv_linux_joystick_22_api" = "yes"
16744 then
16746 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16752 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16753 #ifdef HAVE_SYS_PARAM_H
16754 # include <sys/param.h>
16755 #endif
16756 #ifdef HAVE_SYS_MOUNT_H
16757 # include <sys/mount.h>
16758 #endif
16759 #ifdef HAVE_SYS_VFS_H
16760 # include <sys/vfs.h>
16761 #endif
16762 #ifdef HAVE_SYS_STATFS_H
16763 # include <sys/statfs.h>
16764 #endif
16766 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16768 cat >>confdefs.h <<_ACEOF
16769 #define HAVE_STRUCT_STATFS_F_BFREE 1
16770 _ACEOF
16774 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16775 #ifdef HAVE_SYS_PARAM_H
16776 # include <sys/param.h>
16777 #endif
16778 #ifdef HAVE_SYS_MOUNT_H
16779 # include <sys/mount.h>
16780 #endif
16781 #ifdef HAVE_SYS_VFS_H
16782 # include <sys/vfs.h>
16783 #endif
16784 #ifdef HAVE_SYS_STATFS_H
16785 # include <sys/statfs.h>
16786 #endif
16788 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16790 cat >>confdefs.h <<_ACEOF
16791 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16792 _ACEOF
16796 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16797 #ifdef HAVE_SYS_PARAM_H
16798 # include <sys/param.h>
16799 #endif
16800 #ifdef HAVE_SYS_MOUNT_H
16801 # include <sys/mount.h>
16802 #endif
16803 #ifdef HAVE_SYS_VFS_H
16804 # include <sys/vfs.h>
16805 #endif
16806 #ifdef HAVE_SYS_STATFS_H
16807 # include <sys/statfs.h>
16808 #endif
16810 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16812 cat >>confdefs.h <<_ACEOF
16813 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16814 _ACEOF
16818 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16819 #ifdef HAVE_SYS_PARAM_H
16820 # include <sys/param.h>
16821 #endif
16822 #ifdef HAVE_SYS_MOUNT_H
16823 # include <sys/mount.h>
16824 #endif
16825 #ifdef HAVE_SYS_VFS_H
16826 # include <sys/vfs.h>
16827 #endif
16828 #ifdef HAVE_SYS_STATFS_H
16829 # include <sys/statfs.h>
16830 #endif
16832 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16834 cat >>confdefs.h <<_ACEOF
16835 #define HAVE_STRUCT_STATFS_F_FFREE 1
16836 _ACEOF
16840 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16841 #ifdef HAVE_SYS_PARAM_H
16842 # include <sys/param.h>
16843 #endif
16844 #ifdef HAVE_SYS_MOUNT_H
16845 # include <sys/mount.h>
16846 #endif
16847 #ifdef HAVE_SYS_VFS_H
16848 # include <sys/vfs.h>
16849 #endif
16850 #ifdef HAVE_SYS_STATFS_H
16851 # include <sys/statfs.h>
16852 #endif
16854 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16856 cat >>confdefs.h <<_ACEOF
16857 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16858 _ACEOF
16862 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16863 #ifdef HAVE_SYS_PARAM_H
16864 # include <sys/param.h>
16865 #endif
16866 #ifdef HAVE_SYS_MOUNT_H
16867 # include <sys/mount.h>
16868 #endif
16869 #ifdef HAVE_SYS_VFS_H
16870 # include <sys/vfs.h>
16871 #endif
16872 #ifdef HAVE_SYS_STATFS_H
16873 # include <sys/statfs.h>
16874 #endif
16876 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16878 cat >>confdefs.h <<_ACEOF
16879 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16880 _ACEOF
16886 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16887 #include <sys/statvfs.h>
16888 #endif
16890 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16892 cat >>confdefs.h <<_ACEOF
16893 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16894 _ACEOF
16900 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16901 #include <dirent.h>
16902 #endif
16904 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16906 cat >>confdefs.h <<_ACEOF
16907 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16908 _ACEOF
16914 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16915 #ifdef HAVE_SYS_SOCKET_H
16916 # include <sys/socket.h>
16917 #endif
16918 #ifdef HAVE_SYS_UN_H
16919 # include <sys/un.h>
16920 #endif
16922 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16924 cat >>confdefs.h <<_ACEOF
16925 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16926 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16931 #ifdef HAVE_SYS_SOCKET_H
16932 # include <sys/socket.h>
16933 #endif
16934 #ifdef HAVE_SYS_UN_H
16935 # include <sys/un.h>
16936 #endif
16938 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16940 cat >>confdefs.h <<_ACEOF
16941 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16942 _ACEOF
16946 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16947 #ifdef HAVE_SYS_SOCKET_H
16948 # include <sys/socket.h>
16949 #endif
16950 #ifdef HAVE_SYS_UN_H
16951 # include <sys/un.h>
16952 #endif
16954 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16956 cat >>confdefs.h <<_ACEOF
16957 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16958 _ACEOF
16964 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16965 #ifdef HAVE_SCSI_SG_H
16966 #include <scsi/sg.h>
16967 #endif
16969 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16971 cat >>confdefs.h <<_ACEOF
16972 #define HAVE_SCSIREQ_T_CMD 1
16973 _ACEOF
16977 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>
16978 #ifdef HAVE_SCSI_SG_H
16979 #include <scsi/sg.h>
16980 #endif
16982 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16984 cat >>confdefs.h <<_ACEOF
16985 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16986 _ACEOF
16992 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16994 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_SIGINFO_T_SI_FD 1
16998 _ACEOF
17004 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17005 #ifdef HAVE_SYS_MTIO_H
17006 #include <sys/mtio.h>
17007 #endif
17009 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17011 cat >>confdefs.h <<_ACEOF
17012 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17013 _ACEOF
17017 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17018 #ifdef HAVE_SYS_MTIO_H
17019 #include <sys/mtio.h>
17020 #endif
17022 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17026 _ACEOF
17030 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17031 #ifdef HAVE_SYS_MTIO_H
17032 #include <sys/mtio.h>
17033 #endif
17035 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17037 cat >>confdefs.h <<_ACEOF
17038 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17039 _ACEOF
17045 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17046 #include <getopt.h>
17047 #endif
17049 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17051 cat >>confdefs.h <<_ACEOF
17052 #define HAVE_STRUCT_OPTION_NAME 1
17053 _ACEOF
17059 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17060 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17062 cat >>confdefs.h <<_ACEOF
17063 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17064 _ACEOF
17068 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17069 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17071 cat >>confdefs.h <<_ACEOF
17072 #define HAVE_STRUCT_STAT_ST_MTIM 1
17073 _ACEOF
17077 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17078 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17080 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17082 _ACEOF
17086 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17087 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17089 cat >>confdefs.h <<_ACEOF
17090 #define HAVE_STRUCT_STAT_ST_CTIM 1
17091 _ACEOF
17095 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17096 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17098 cat >>confdefs.h <<_ACEOF
17099 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17100 _ACEOF
17104 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17105 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17107 cat >>confdefs.h <<_ACEOF
17108 #define HAVE_STRUCT_STAT_ST_ATIM 1
17109 _ACEOF
17113 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17114 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17116 cat >>confdefs.h <<_ACEOF
17117 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17118 _ACEOF
17122 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17123 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17125 cat >>confdefs.h <<_ACEOF
17126 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17127 _ACEOF
17131 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17132 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17134 cat >>confdefs.h <<_ACEOF
17135 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17136 _ACEOF
17140 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17141 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17143 cat >>confdefs.h <<_ACEOF
17144 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17145 _ACEOF
17149 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17150 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17152 cat >>confdefs.h <<_ACEOF
17153 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17154 _ACEOF
17158 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17159 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17161 cat >>confdefs.h <<_ACEOF
17162 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17163 _ACEOF
17169 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
17170 #include <sys/types.h>
17171 #endif
17172 #ifdef HAVE_NETINET_IN_H
17173 #include <netinet/in.h>
17174 #endif
17176 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17178 cat >>confdefs.h <<_ACEOF
17179 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17180 _ACEOF
17186 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17187 #include <sys/types.h>
17188 #endif
17189 #ifdef HAVE_NETINET_IN_H
17190 #include <netinet/in.h>
17191 #endif
17192 #ifdef HAVE_RESOLV_H
17193 #include <resolv.h>
17194 #endif
17196 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17198 cat >>confdefs.h <<_ACEOF
17199 #define HAVE_STRUCT___RES_STATE 1
17200 _ACEOF
17206 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
17207 #include <resolv.h>
17208 #endif
17210 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17212 cat >>confdefs.h <<_ACEOF
17213 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17214 _ACEOF
17220 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17221 #include <sys/types.h>
17222 #endif
17223 #ifdef HAVE_NETINET_IN_H
17224 # include <netinet/in.h>
17225 #endif
17226 #ifdef HAVE_ARPA_NAMESER_H
17227 # include <arpa/nameser.h>
17228 #endif
17230 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17232 cat >>confdefs.h <<_ACEOF
17233 #define HAVE_NS_MSG__MSG_PTR 1
17234 _ACEOF
17240 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17241 #include <sys/types.h>
17242 #endif
17243 #ifdef HAVE_NETINET_IN_H
17244 #include <netinet/in.h>
17245 #endif
17246 #ifdef HAVE_NETINET_IP_H
17247 #include <netinet/ip.h>
17248 #endif
17249 #ifdef HAVE_NETINET_IP_ICMP_H
17250 #include <netinet/ip_icmp.h>
17251 #endif
17252 #ifdef HAVE_NETINET_ICMP_VAR_H
17253 #include <netinet/icmp_var.h>
17254 #endif
17256 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17258 cat >>confdefs.h <<_ACEOF
17259 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17260 _ACEOF
17266 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17267 #include <sys/types.h>
17268 #endif
17269 #ifdef HAVE_ALIAS_H
17270 #include <alias.h>
17271 #endif
17272 #ifdef HAVE_SYS_SOCKET_H
17273 #include <sys/socket.h>
17274 #endif
17275 #ifdef HAVE_SYS_SOCKETVAR_H
17276 #include <sys/socketvar.h>
17277 #endif
17278 #ifdef HAVE_SYS_TIMEOUT_H
17279 #include <sys/timeout.h>
17280 #endif
17281 #ifdef HAVE_NETINET_IN_H
17282 #include <netinet/in.h>
17283 #endif
17284 #ifdef HAVE_NETINET_IN_SYSTM_H
17285 #include <netinet/in_systm.h>
17286 #endif
17287 #ifdef HAVE_NETINET_IP_H
17288 #include <netinet/ip.h>
17289 #endif
17290 #ifdef HAVE_NETINET_IP_VAR_H
17291 #include <netinet/ip_var.h>
17292 #endif
17293 #ifdef HAVE_NETINET_IP_ICMP_H
17294 #include <netinet/ip_icmp.h>
17295 #endif
17296 #ifdef HAVE_NETINET_ICMP_VAR_H
17297 #include <netinet/icmp_var.h>
17298 #endif
17300 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17304 _ACEOF
17310 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17311 #include <sys/types.h>
17312 #endif
17313 #ifdef HAVE_SYS_SOCKETVAR_H
17314 #include <sys/socketvar.h>
17315 #endif
17316 #ifdef HAVE_NETINET_IN_H
17317 #include <netinet/in.h>
17318 #endif
17319 #ifdef HAVE_NETINET_IP_VAR_H
17320 #include <netinet/ip_var.h>
17321 #endif
17323 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17325 cat >>confdefs.h <<_ACEOF
17326 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17327 _ACEOF
17333 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
17334 #include <netinet/ip_var.h>
17335 #endif
17337 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17339 cat >>confdefs.h <<_ACEOF
17340 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17341 _ACEOF
17347 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17348 #include <sys/types.h>
17349 #endif
17350 #ifdef HAVE_SYS_SOCKETVAR_H
17351 #include <sys/socketvar.h>
17352 #endif
17353 #ifdef HAVE_NETINET_IN_H
17354 #include <netinet/in.h>
17355 #endif
17356 #ifdef HAVE_NETINET_TCP_H
17357 #include <netinet/tcp.h>
17358 #endif
17359 #ifdef HAVE_NETINET_TCP_VAR_H
17360 #include <netinet/tcp_var.h>
17361 #endif
17363 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17365 cat >>confdefs.h <<_ACEOF
17366 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17367 _ACEOF
17373 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
17374 #include <netinet/tcp_var.h>
17375 #endif
17377 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17379 cat >>confdefs.h <<_ACEOF
17380 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17381 _ACEOF
17387 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17388 #include <sys/types.h>
17389 #endif
17390 #ifdef HAVE_NETINET_IN_H
17391 #include <netinet/in.h>
17392 #endif
17393 #ifdef HAVE_NETINET_IP_VAR_H
17394 #include <netinet/ip_var.h>
17395 #endif
17396 #ifdef HAVE_NETINET_UDP_H
17397 #include <netinet/udp.h>
17398 #endif
17399 #ifdef HAVE_NETINET_UDP_VAR_H
17400 #include <netinet/udp_var.h>
17401 #endif
17403 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17405 cat >>confdefs.h <<_ACEOF
17406 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17407 _ACEOF
17413 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17414 #include <sys/types.h>
17415 #endif
17416 #ifdef HAVE_NET_IF_H
17417 # include <net/if.h>
17418 #endif
17420 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17422 cat >>confdefs.h <<_ACEOF
17423 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17424 _ACEOF
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17431 $as_echo_n "checking for timezone variable... " >&6; }
17432 if ${ac_cv_have_timezone+:} false; then :
17433 $as_echo_n "(cached) " >&6
17434 else
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #include <time.h>
17439 main ()
17441 timezone = 1
17443 return 0;
17445 _ACEOF
17446 if ac_fn_c_try_link "$LINENO"; then :
17447 ac_cv_have_timezone="yes"
17448 else
17449 ac_cv_have_timezone="no"
17451 rm -f core conftest.err conftest.$ac_objext \
17452 conftest$ac_exeext conftest.$ac_ext
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17455 $as_echo "$ac_cv_have_timezone" >&6; }
17456 if test "$ac_cv_have_timezone" = "yes"
17457 then
17459 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17463 $as_echo_n "checking for daylight variable... " >&6; }
17464 if ${ac_cv_have_daylight+:} false; then :
17465 $as_echo_n "(cached) " >&6
17466 else
17467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17468 /* end confdefs.h. */
17469 #include <time.h>
17471 main ()
17473 daylight = 1
17475 return 0;
17477 _ACEOF
17478 if ac_fn_c_try_link "$LINENO"; then :
17479 ac_cv_have_daylight="yes"
17480 else
17481 ac_cv_have_daylight="no"
17483 rm -f core conftest.err conftest.$ac_objext \
17484 conftest$ac_exeext conftest.$ac_ext
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17487 $as_echo "$ac_cv_have_daylight" >&6; }
17488 if test "$ac_cv_have_daylight" = "yes"
17489 then
17491 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17495 ac_save_LIBS="$LIBS"
17496 LIBS="$LIBS -lm"
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17498 $as_echo_n "checking for isfinite... " >&6; }
17499 if ${ac_cv_have_isfinite+:} false; then :
17500 $as_echo_n "(cached) " >&6
17501 else
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17504 #define _GNU_SOURCE
17505 #include <math.h>
17507 main ()
17509 float f = 0.0; return isfinite(f)
17511 return 0;
17513 _ACEOF
17514 if ac_fn_c_try_link "$LINENO"; then :
17515 ac_cv_have_isfinite="yes"
17516 else
17517 ac_cv_have_isfinite="no"
17519 rm -f core conftest.err conftest.$ac_objext \
17520 conftest$ac_exeext conftest.$ac_ext
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17523 $as_echo "$ac_cv_have_isfinite" >&6; }
17524 if test "$ac_cv_have_isfinite" = "yes"
17525 then
17527 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17532 $as_echo_n "checking for isinf... " >&6; }
17533 if ${ac_cv_have_isinf+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 #include <math.h>
17540 main ()
17542 float f = 0.0; return isinf(f)
17544 return 0;
17546 _ACEOF
17547 if ac_fn_c_try_link "$LINENO"; then :
17548 ac_cv_have_isinf="yes"
17549 else
17550 ac_cv_have_isinf="no"
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17556 $as_echo "$ac_cv_have_isinf" >&6; }
17557 if test "$ac_cv_have_isinf" = "yes"
17558 then
17560 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17565 $as_echo_n "checking for isnan... " >&6; }
17566 if ${ac_cv_have_isnan+:} false; then :
17567 $as_echo_n "(cached) " >&6
17568 else
17569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17571 #include <math.h>
17573 main ()
17575 float f = 0.0; return isnan(f)
17577 return 0;
17579 _ACEOF
17580 if ac_fn_c_try_link "$LINENO"; then :
17581 ac_cv_have_isnan="yes"
17582 else
17583 ac_cv_have_isnan="no"
17585 rm -f core conftest.err conftest.$ac_objext \
17586 conftest$ac_exeext conftest.$ac_ext
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17589 $as_echo "$ac_cv_have_isnan" >&6; }
17590 if test "$ac_cv_have_isnan" = "yes"
17591 then
17593 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17597 for ac_func in \
17598 acosh \
17599 acoshf \
17600 asinh \
17601 asinhf \
17602 atanh \
17603 atanhf \
17604 cbrt \
17605 cbrtf \
17606 erf \
17607 erfc \
17608 erfcf \
17609 erff \
17610 exp2 \
17611 exp2f \
17612 expm1 \
17613 expm1f \
17614 lgamma \
17615 lgammaf \
17616 llrint \
17617 llrintf \
17618 llround \
17619 llroundf \
17620 log1p \
17621 log1pf \
17622 log2 \
17623 log2f \
17624 lrint \
17625 lrintf \
17626 lround \
17627 lroundf \
17628 nearbyint \
17629 nearbyintf \
17630 powl \
17631 remainder \
17632 remainderf \
17633 rint \
17634 rintf \
17635 round \
17636 roundf \
17637 trunc \
17638 truncf
17640 do :
17641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17643 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17644 cat >>confdefs.h <<_ACEOF
17645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17646 _ACEOF
17649 done
17651 LIBS="$ac_save_LIBS"
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17654 $as_echo_n "checking for __builtin_clz... " >&6; }
17655 if ${ac_cv_have___builtin_clz+:} false; then :
17656 $as_echo_n "(cached) " >&6
17657 else
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17662 main ()
17664 return __builtin_clz(1)
17666 return 0;
17668 _ACEOF
17669 if ac_fn_c_try_link "$LINENO"; then :
17670 ac_cv_have___builtin_clz="yes"
17671 else
17672 ac_cv_have___builtin_clz="no"
17674 rm -f core conftest.err conftest.$ac_objext \
17675 conftest$ac_exeext conftest.$ac_ext
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17678 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17679 if test "$ac_cv_have___builtin_clz" = "yes"
17680 then
17682 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17687 $as_echo_n "checking for __builtin_popcount... " >&6; }
17688 if ${ac_cv_have___builtin_popcount+:} false; then :
17689 $as_echo_n "(cached) " >&6
17690 else
17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h. */
17695 main ()
17697 return __builtin_popcount(1)
17699 return 0;
17701 _ACEOF
17702 if ac_fn_c_try_link "$LINENO"; then :
17703 ac_cv_have___builtin_popcount="yes"
17704 else
17705 ac_cv_have___builtin_popcount="no"
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17711 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17712 if test "$ac_cv_have___builtin_popcount" = "yes"
17713 then
17715 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17720 case $host_cpu in
17721 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17722 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17723 if ${ac_cv_cpp_def___i386__+:} false; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #ifndef __i386__
17730 #endif
17731 _ACEOF
17732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17733 $EGREP "yes" >/dev/null 2>&1; then :
17734 ac_cv_cpp_def___i386__=yes
17735 else
17736 ac_cv_cpp_def___i386__=no
17738 rm -f conftest*
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17742 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17743 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17744 CFLAGS="$CFLAGS -D__i386__"
17745 LINTFLAGS="$LINTFLAGS -D__i386__"
17746 fi ;;
17747 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17748 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17749 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17750 $as_echo_n "(cached) " >&6
17751 else
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #ifndef __x86_64__
17756 #endif
17757 _ACEOF
17758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17759 $EGREP "yes" >/dev/null 2>&1; then :
17760 ac_cv_cpp_def___x86_64__=yes
17761 else
17762 ac_cv_cpp_def___x86_64__=no
17764 rm -f conftest*
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17768 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17769 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17770 CFLAGS="$CFLAGS -D__x86_64__"
17771 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17772 fi ;;
17773 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17774 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17775 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17776 $as_echo_n "(cached) " >&6
17777 else
17778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17779 /* end confdefs.h. */
17780 #ifndef __sparc64__
17782 #endif
17783 _ACEOF
17784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17785 $EGREP "yes" >/dev/null 2>&1; then :
17786 ac_cv_cpp_def___sparc64__=yes
17787 else
17788 ac_cv_cpp_def___sparc64__=no
17790 rm -f conftest*
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17794 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17795 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17796 CFLAGS="$CFLAGS -D__sparc64__"
17797 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17798 fi ;;
17799 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17800 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17801 if ${ac_cv_cpp_def___sparc__+:} false; then :
17802 $as_echo_n "(cached) " >&6
17803 else
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #ifndef __sparc__
17808 #endif
17809 _ACEOF
17810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17811 $EGREP "yes" >/dev/null 2>&1; then :
17812 ac_cv_cpp_def___sparc__=yes
17813 else
17814 ac_cv_cpp_def___sparc__=no
17816 rm -f conftest*
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17820 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17821 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17822 CFLAGS="$CFLAGS -D__sparc__"
17823 LINTFLAGS="$LINTFLAGS -D__sparc__"
17824 fi ;;
17825 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17826 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17827 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17828 $as_echo_n "(cached) " >&6
17829 else
17830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17831 /* end confdefs.h. */
17832 #ifndef __powerpc64__
17834 #endif
17835 _ACEOF
17836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17837 $EGREP "yes" >/dev/null 2>&1; then :
17838 ac_cv_cpp_def___powerpc64__=yes
17839 else
17840 ac_cv_cpp_def___powerpc64__=no
17842 rm -f conftest*
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17846 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17847 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17848 CFLAGS="$CFLAGS -D__powerpc64__"
17849 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17850 fi ;;
17851 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17852 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17853 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17854 $as_echo_n "(cached) " >&6
17855 else
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17858 #ifndef __powerpc__
17860 #endif
17861 _ACEOF
17862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17863 $EGREP "yes" >/dev/null 2>&1; then :
17864 ac_cv_cpp_def___powerpc__=yes
17865 else
17866 ac_cv_cpp_def___powerpc__=no
17868 rm -f conftest*
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17872 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17873 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17874 CFLAGS="$CFLAGS -D__powerpc__"
17875 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17876 fi ;;
17877 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17878 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17879 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17880 $as_echo_n "(cached) " >&6
17881 else
17882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17883 /* end confdefs.h. */
17884 #ifndef __aarch64__
17886 #endif
17887 _ACEOF
17888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17889 $EGREP "yes" >/dev/null 2>&1; then :
17890 ac_cv_cpp_def___aarch64__=yes
17891 else
17892 ac_cv_cpp_def___aarch64__=no
17894 rm -f conftest*
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17898 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17899 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17900 CFLAGS="$CFLAGS -D__aarch64__"
17901 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17902 fi ;;
17903 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17904 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17905 if ${ac_cv_cpp_def___arm__+:} false; then :
17906 $as_echo_n "(cached) " >&6
17907 else
17908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h. */
17910 #ifndef __arm__
17912 #endif
17913 _ACEOF
17914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17915 $EGREP "yes" >/dev/null 2>&1; then :
17916 ac_cv_cpp_def___arm__=yes
17917 else
17918 ac_cv_cpp_def___arm__=no
17920 rm -f conftest*
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17924 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17925 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17926 CFLAGS="$CFLAGS -D__arm__"
17927 LINTFLAGS="$LINTFLAGS -D__arm__"
17928 fi ;;
17929 esac
17931 case $host_vendor in
17932 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17933 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17934 if ${ac_cv_cpp_def___sun__+:} false; then :
17935 $as_echo_n "(cached) " >&6
17936 else
17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17939 #ifndef __sun__
17941 #endif
17942 _ACEOF
17943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17944 $EGREP "yes" >/dev/null 2>&1; then :
17945 ac_cv_cpp_def___sun__=yes
17946 else
17947 ac_cv_cpp_def___sun__=no
17949 rm -f conftest*
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17953 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17954 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17955 CFLAGS="$CFLAGS -D__sun__"
17956 LINTFLAGS="$LINTFLAGS -D__sun__"
17957 fi ;;
17958 esac
17964 ac_config_commands="$ac_config_commands include/stamp-h"
17966 $as_echo_n "creating Makefile rules..." >&6
17968 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17969 SOCKET_LIBS = $SOCKET_LIBS
17970 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17971 IOKIT_LIBS = $IOKIT_LIBS
17972 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17973 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17974 CORESERVICES_LIBS = $CORESERVICES_LIBS
17975 APPKIT_LIBS = $APPKIT_LIBS
17976 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17977 SECURITY_LIBS = $SECURITY_LIBS
17978 COREAUDIO_LIBS = $COREAUDIO_LIBS
17979 OPENAL_LIBS = $OPENAL_LIBS
17980 OPENCL_LIBS = $OPENCL_LIBS
17981 QUICKTIME_LIBS = $QUICKTIME_LIBS
17982 CARBON_LIBS = $CARBON_LIBS
17983 PTHREAD_LIBS = $PTHREAD_LIBS
17984 X_CFLAGS = $X_CFLAGS
17985 X_PRE_LIBS = $X_PRE_LIBS
17986 X_LIBS = $X_LIBS
17987 X_EXTRA_LIBS = $X_EXTRA_LIBS
17988 PCAP_LIBS = $PCAP_LIBS
17989 XML2_CFLAGS = $XML2_CFLAGS
17990 XML2_LIBS = $XML2_LIBS
17991 XSLT_CFLAGS = $XSLT_CFLAGS
17992 XSLT_LIBS = $XSLT_LIBS
17993 DBUS_CFLAGS = $DBUS_CFLAGS
17994 DBUS_LIBS = $DBUS_LIBS
17995 HAL_CFLAGS = $HAL_CFLAGS
17996 HAL_LIBS = $HAL_LIBS
17997 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17998 GNUTLS_LIBS = $GNUTLS_LIBS
17999 SANE_CFLAGS = $SANE_CFLAGS
18000 SANE_LIBS = $SANE_LIBS
18001 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18002 GPHOTO2_LIBS = $GPHOTO2_LIBS
18003 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18004 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18005 RESOLV_LIBS = $RESOLV_LIBS
18006 LCMS2_CFLAGS = $LCMS2_CFLAGS
18007 LCMS2_LIBS = $LCMS2_LIBS
18008 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18009 FREETYPE_LIBS = $FREETYPE_LIBS
18010 Z_LIBS = $Z_LIBS
18011 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18012 PULSE_CFLAGS = $PULSE_CFLAGS
18013 PULSE_LIBS = $PULSE_LIBS
18014 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18015 GSTREAMER_LIBS = $GSTREAMER_LIBS
18016 ALSA_LIBS = $ALSA_LIBS
18017 OSS4_CFLAGS = $OSS4_CFLAGS
18018 UDEV_CFLAGS = $UDEV_CFLAGS
18019 UDEV_LIBS = $UDEV_LIBS
18020 CAPI20_CFLAGS = $CAPI20_CFLAGS
18021 CAPI20_LIBS = $CAPI20_LIBS
18022 CUPS_CFLAGS = $CUPS_CFLAGS
18023 CUPS_LIBS = $CUPS_LIBS
18024 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18025 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18026 KRB5_CFLAGS = $KRB5_CFLAGS
18027 KRB5_LIBS = $KRB5_LIBS
18028 JPEG_CFLAGS = $JPEG_CFLAGS
18029 JPEG_LIBS = $JPEG_LIBS
18030 PNG_CFLAGS = $PNG_CFLAGS
18031 PNG_LIBS = $PNG_LIBS
18032 TIFF_CFLAGS = $TIFF_CFLAGS
18033 TIFF_LIBS = $TIFF_LIBS
18034 MPG123_CFLAGS = $MPG123_CFLAGS
18035 MPG123_LIBS = $MPG123_LIBS
18036 KSTAT_LIBS = $KSTAT_LIBS
18037 PROCSTAT_LIBS = $PROCSTAT_LIBS
18038 NETAPI_CFLAGS = $NETAPI_CFLAGS
18039 NETAPI_LIBS = $NETAPI_LIBS
18040 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18041 DL_LIBS = $DL_LIBS
18042 POLL_LIBS = $POLL_LIBS
18043 RT_LIBS = $RT_LIBS
18044 LDAP_CFLAGS = $LDAP_CFLAGS
18045 LDAP_LIBS = $LDAP_LIBS
18050 wine_fn_append_rule "
18051 # Rules automatically generated by configure
18053 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
18055 .INIT: Makefile
18056 .MAKEFILEDEPS:
18057 all: Makefile
18058 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18059 @./config.status Make.tmp Makefile
18060 depend: \$(MAKEDEP) dummy
18061 \$(MAKEDEP)"
18063 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
18064 @echo \"crosstest is not supported (mingw not installed?)\" && false"
18066 if test "x$enable_fonts" != xno; then
18067 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18068 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18069 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18070 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18071 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18072 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18074 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18075 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18076 ac_config_links="$ac_config_links wine:tools/winewrapper"
18077 wine_fn_config_symlink wine
18078 if test "x$enable_win64" != xno; then
18079 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18080 wine_fn_config_symlink wine64
18083 wine_fn_config_dll acledit enable_acledit
18084 wine_fn_config_dll aclui enable_aclui implib
18085 wine_fn_config_dll activeds enable_activeds implib
18086 wine_fn_config_dll actxprxy enable_actxprxy clean
18087 wine_fn_config_lib adsiid
18088 wine_fn_config_dll adsldpc enable_adsldpc
18089 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
18090 wine_fn_config_test dlls/advapi32/tests advapi32_test
18091 wine_fn_config_dll advpack enable_advpack implib
18092 wine_fn_config_test dlls/advpack/tests advpack_test
18093 wine_fn_config_dll amstream enable_amstream clean
18094 wine_fn_config_test dlls/amstream/tests amstream_test
18095 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18096 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18097 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18098 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18099 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18100 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18101 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18102 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18103 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18104 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18105 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18106 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18107 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18108 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18109 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18110 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18111 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18112 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18113 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18114 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18115 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18116 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18117 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18118 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18119 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18120 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18121 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18122 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18123 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18124 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18125 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18126 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18127 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18128 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18129 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18130 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18131 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18132 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18133 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18134 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18135 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18136 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18137 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18138 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18139 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18140 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18141 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18142 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18143 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18144 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18145 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18146 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18147 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18148 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18149 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18150 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18151 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18152 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18153 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18154 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18155 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18156 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18157 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18158 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18159 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18160 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18161 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18162 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18163 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18164 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18165 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18166 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18167 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18168 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18169 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18170 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18171 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18172 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18173 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18174 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18175 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18176 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18177 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18178 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18179 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18180 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18181 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18182 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18183 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18184 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18185 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18186 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18187 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18188 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18189 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18190 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18191 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18192 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18193 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18194 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18195 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18196 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18197 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18198 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18199 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18200 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18201 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18202 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18203 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18204 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18205 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18206 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18207 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18208 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18209 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18210 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18211 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18212 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18213 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18214 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18215 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18216 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18217 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18218 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18219 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18220 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18221 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18222 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18223 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18224 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18225 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18226 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18227 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18228 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18229 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18230 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18231 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18232 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18233 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18234 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18235 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18236 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18237 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18238 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18239 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18240 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18241 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18242 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18243 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18244 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18245 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18246 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18247 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18248 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18249 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18250 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18251 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18252 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18253 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18254 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18255 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18256 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18257 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18258 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18259 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18260 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18261 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18262 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18263 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18264 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18265 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18266 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18267 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18268 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18269 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18270 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18271 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18272 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18273 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18274 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18275 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18276 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18277 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18278 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18279 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18280 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18281 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18282 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18283 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18284 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18285 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18286 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18287 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18288 wine_fn_config_dll apphelp enable_apphelp
18289 wine_fn_config_test dlls/apphelp/tests apphelp_test
18290 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18291 wine_fn_config_dll atl enable_atl clean,implib
18292 wine_fn_config_test dlls/atl/tests atl_test
18293 wine_fn_config_dll atl100 enable_atl100 clean,implib
18294 wine_fn_config_test dlls/atl100/tests atl100_test
18295 wine_fn_config_dll atl110 enable_atl110 clean
18296 wine_fn_config_dll atl80 enable_atl80 clean,implib
18297 wine_fn_config_test dlls/atl80/tests atl80_test
18298 wine_fn_config_dll atl90 enable_atl90 clean
18299 wine_fn_config_dll authz enable_authz
18300 wine_fn_config_dll avicap32 enable_avicap32 implib
18301 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18302 wine_fn_config_test dlls/avifil32/tests avifil32_test
18303 wine_fn_config_dll avifile.dll16 enable_win16
18304 wine_fn_config_dll avrt enable_avrt implib
18305 wine_fn_config_dll bcrypt enable_bcrypt implib
18306 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18307 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18308 wine_fn_config_dll browseui enable_browseui clean
18309 wine_fn_config_test dlls/browseui/tests browseui_test
18310 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18311 wine_fn_config_dll cabinet enable_cabinet implib
18312 wine_fn_config_test dlls/cabinet/tests cabinet_test
18313 wine_fn_config_dll capi2032 enable_capi2032 implib
18314 wine_fn_config_dll cards enable_cards implib
18315 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18316 wine_fn_config_dll clusapi enable_clusapi implib
18317 wine_fn_config_dll combase enable_combase
18318 wine_fn_config_test dlls/combase/tests combase_test
18319 wine_fn_config_dll comcat enable_comcat
18320 wine_fn_config_test dlls/comcat/tests comcat_test
18321 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18322 wine_fn_config_test dlls/comctl32/tests comctl32_test
18323 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18324 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18325 wine_fn_config_dll comm.drv16 enable_win16
18326 wine_fn_config_dll commdlg.dll16 enable_win16
18327 wine_fn_config_dll compobj.dll16 enable_win16
18328 wine_fn_config_dll compstui enable_compstui implib
18329 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18330 wine_fn_config_dll concrt140 enable_concrt140
18331 wine_fn_config_dll connect enable_connect
18332 wine_fn_config_dll credui enable_credui clean,implib
18333 wine_fn_config_test dlls/credui/tests credui_test
18334 wine_fn_config_dll crtdll enable_crtdll
18335 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18336 wine_fn_config_test dlls/crypt32/tests crypt32_test
18337 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18338 wine_fn_config_dll cryptdll enable_cryptdll implib
18339 wine_fn_config_dll cryptext enable_cryptext
18340 wine_fn_config_dll cryptnet enable_cryptnet implib
18341 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18342 wine_fn_config_dll cryptui enable_cryptui clean,implib
18343 wine_fn_config_test dlls/cryptui/tests cryptui_test
18344 wine_fn_config_dll ctapi32 enable_ctapi32
18345 wine_fn_config_dll ctl3d.dll16 enable_win16
18346 wine_fn_config_dll ctl3d32 enable_ctl3d32
18347 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18348 wine_fn_config_dll d2d1 enable_d2d1 implib
18349 wine_fn_config_test dlls/d2d1/tests d2d1_test
18350 wine_fn_config_dll d3d10 enable_d3d10 implib
18351 wine_fn_config_test dlls/d3d10/tests d3d10_test
18352 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18353 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18354 wine_fn_config_dll d3d10core enable_d3d10core implib
18355 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18356 wine_fn_config_dll d3d11 enable_d3d11 implib
18357 wine_fn_config_test dlls/d3d11/tests d3d11_test
18358 wine_fn_config_dll d3d8 enable_d3d8 implib
18359 wine_fn_config_test dlls/d3d8/tests d3d8_test
18360 wine_fn_config_dll d3d9 enable_d3d9 implib
18361 wine_fn_config_test dlls/d3d9/tests d3d9_test
18362 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18363 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18364 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18365 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18366 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18367 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18368 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18369 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18370 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18371 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18372 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18373 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18374 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18375 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18376 wine_fn_config_dll d3dim enable_d3dim
18377 wine_fn_config_dll d3drm enable_d3drm implib
18378 wine_fn_config_test dlls/d3drm/tests d3drm_test
18379 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18380 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18381 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18382 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18383 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18384 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18385 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18386 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18387 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18388 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18389 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18390 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18391 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18392 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18393 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18394 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18395 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18396 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18397 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18398 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18399 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18400 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18401 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18402 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18403 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18404 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18405 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18406 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18407 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18408 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18409 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18410 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18411 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18412 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18413 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18414 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18415 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18416 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18417 wine_fn_config_dll davclnt enable_davclnt
18418 wine_fn_config_dll dbgeng enable_dbgeng implib
18419 wine_fn_config_dll dbghelp enable_dbghelp implib
18420 wine_fn_config_dll dciman32 enable_dciman32 implib
18421 wine_fn_config_dll ddeml.dll16 enable_win16
18422 wine_fn_config_dll ddraw enable_ddraw clean,implib
18423 wine_fn_config_test dlls/ddraw/tests ddraw_test
18424 wine_fn_config_dll ddrawex enable_ddrawex clean
18425 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18426 wine_fn_config_dll devenum enable_devenum clean
18427 wine_fn_config_test dlls/devenum/tests devenum_test
18428 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18429 wine_fn_config_dll difxapi enable_difxapi
18430 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18431 wine_fn_config_test dlls/dinput/tests dinput_test
18432 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18433 wine_fn_config_test dlls/dinput8/tests dinput8_test
18434 wine_fn_config_dll dispdib.dll16 enable_win16
18435 wine_fn_config_dll dispex enable_dispex clean
18436 wine_fn_config_test dlls/dispex/tests dispex_test
18437 wine_fn_config_dll display.drv16 enable_win16
18438 wine_fn_config_dll dmband enable_dmband clean
18439 wine_fn_config_test dlls/dmband/tests dmband_test
18440 wine_fn_config_dll dmcompos enable_dmcompos clean
18441 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18442 wine_fn_config_dll dmime enable_dmime clean
18443 wine_fn_config_test dlls/dmime/tests dmime_test
18444 wine_fn_config_dll dmloader enable_dmloader clean
18445 wine_fn_config_test dlls/dmloader/tests dmloader_test
18446 wine_fn_config_dll dmscript enable_dmscript clean
18447 wine_fn_config_test dlls/dmscript/tests dmscript_test
18448 wine_fn_config_dll dmstyle enable_dmstyle clean
18449 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18450 wine_fn_config_dll dmsynth enable_dmsynth clean
18451 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18452 wine_fn_config_dll dmusic enable_dmusic clean
18453 wine_fn_config_test dlls/dmusic/tests dmusic_test
18454 wine_fn_config_dll dmusic32 enable_dmusic32
18455 wine_fn_config_dll dnsapi enable_dnsapi implib
18456 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18457 wine_fn_config_dll dplay enable_dplay
18458 wine_fn_config_dll dplayx enable_dplayx clean,implib
18459 wine_fn_config_test dlls/dplayx/tests dplayx_test
18460 wine_fn_config_dll dpnaddr enable_dpnaddr
18461 wine_fn_config_dll dpnet enable_dpnet clean,implib
18462 wine_fn_config_test dlls/dpnet/tests dpnet_test
18463 wine_fn_config_dll dpnhpast enable_dpnhpast
18464 wine_fn_config_dll dpnlobby enable_dpnlobby
18465 wine_fn_config_dll dpvoice enable_dpvoice clean
18466 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18467 wine_fn_config_dll dpwsockx enable_dpwsockx
18468 wine_fn_config_dll drmclien enable_drmclien
18469 wine_fn_config_dll dsound enable_dsound clean,implib
18470 wine_fn_config_test dlls/dsound/tests dsound_test
18471 wine_fn_config_dll dsquery enable_dsquery clean
18472 wine_fn_config_dll dssenh enable_dssenh
18473 wine_fn_config_test dlls/dssenh/tests dssenh_test
18474 wine_fn_config_dll dswave enable_dswave clean
18475 wine_fn_config_test dlls/dswave/tests dswave_test
18476 wine_fn_config_dll dwmapi enable_dwmapi implib
18477 wine_fn_config_dll dwrite enable_dwrite implib
18478 wine_fn_config_test dlls/dwrite/tests dwrite_test
18479 wine_fn_config_dll dx8vb enable_dx8vb
18480 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18481 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18482 wine_fn_config_lib dxerr8
18483 wine_fn_config_lib dxerr9
18484 wine_fn_config_dll dxgi enable_dxgi implib
18485 wine_fn_config_test dlls/dxgi/tests dxgi_test
18486 wine_fn_config_lib dxguid
18487 wine_fn_config_dll dxva2 enable_dxva2
18488 wine_fn_config_dll esent enable_esent
18489 wine_fn_config_dll evr enable_evr clean
18490 wine_fn_config_test dlls/evr/tests evr_test
18491 wine_fn_config_dll explorerframe enable_explorerframe clean
18492 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18493 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18494 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18495 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18496 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18497 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18498 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18499 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18500 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18501 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18502 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18503 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18504 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18505 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18506 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18507 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18508 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18509 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18510 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18511 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
18512 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18513 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18514 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18515 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18516 wine_fn_config_dll faultrep enable_faultrep implib
18517 wine_fn_config_test dlls/faultrep/tests faultrep_test
18518 wine_fn_config_dll fltlib enable_fltlib
18519 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18520 wine_fn_config_dll fntcache enable_fntcache
18521 wine_fn_config_dll fontsub enable_fontsub
18522 wine_fn_config_dll fusion enable_fusion
18523 wine_fn_config_test dlls/fusion/tests fusion_test
18524 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18525 wine_fn_config_dll gameux enable_gameux clean
18526 wine_fn_config_test dlls/gameux/tests gameux_test
18527 wine_fn_config_dll gdi.exe16 enable_win16
18528 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18529 wine_fn_config_test dlls/gdi32/tests gdi32_test
18530 wine_fn_config_dll gdiplus enable_gdiplus implib
18531 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18532 wine_fn_config_dll glu32 enable_glu32 implib
18533 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18534 wine_fn_config_dll gpkcsp enable_gpkcsp
18535 wine_fn_config_dll hal enable_hal
18536 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18537 wine_fn_config_dll hid enable_hid implib
18538 wine_fn_config_test dlls/hid/tests hid_test
18539 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18540 wine_fn_config_dll hlink enable_hlink clean,implib
18541 wine_fn_config_test dlls/hlink/tests hlink_test
18542 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18543 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18544 wine_fn_config_dll httpapi enable_httpapi
18545 wine_fn_config_dll iccvid enable_iccvid clean
18546 wine_fn_config_dll icmp enable_icmp
18547 wine_fn_config_dll ieframe enable_ieframe clean,implib
18548 wine_fn_config_test dlls/ieframe/tests ieframe_test
18549 wine_fn_config_dll ieproxy enable_ieproxy clean
18550 wine_fn_config_dll ifsmgr.vxd enable_win16
18551 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18552 wine_fn_config_dll imagehlp enable_imagehlp implib
18553 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18554 wine_fn_config_dll imm.dll16 enable_win16
18555 wine_fn_config_dll imm32 enable_imm32 implib
18556 wine_fn_config_test dlls/imm32/tests imm32_test
18557 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18558 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18559 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18560 wine_fn_config_dll inetmib1 enable_inetmib1
18561 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18562 wine_fn_config_dll infosoft enable_infosoft clean
18563 wine_fn_config_test dlls/infosoft/tests infosoft_test
18564 wine_fn_config_dll initpki enable_initpki
18565 wine_fn_config_dll inkobj enable_inkobj
18566 wine_fn_config_dll inseng enable_inseng clean
18567 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18568 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18569 wine_fn_config_dll iprop enable_iprop
18570 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18571 wine_fn_config_dll itircl enable_itircl
18572 wine_fn_config_dll itss enable_itss clean
18573 wine_fn_config_test dlls/itss/tests itss_test
18574 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18575 wine_fn_config_dll jscript enable_jscript clean
18576 wine_fn_config_test dlls/jscript/tests jscript_test
18577 wine_fn_config_dll jsproxy enable_jsproxy implib
18578 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18579 wine_fn_config_dll kerberos enable_kerberos
18580 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18581 wine_fn_config_test dlls/kernel32/tests kernel32_test
18582 wine_fn_config_dll kernelbase enable_kernelbase
18583 wine_fn_config_dll keyboard.drv16 enable_win16
18584 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18585 wine_fn_config_dll ksuser enable_ksuser
18586 wine_fn_config_dll ktmw32 enable_ktmw32
18587 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18588 wine_fn_config_dll loadperf enable_loadperf implib
18589 wine_fn_config_dll localspl enable_localspl clean
18590 wine_fn_config_test dlls/localspl/tests localspl_test
18591 wine_fn_config_dll localui enable_localui clean
18592 wine_fn_config_test dlls/localui/tests localui_test
18593 wine_fn_config_dll lz32 enable_lz32 implib
18594 wine_fn_config_test dlls/lz32/tests lz32_test
18595 wine_fn_config_dll lzexpand.dll16 enable_win16
18596 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18597 wine_fn_config_test dlls/mapi32/tests mapi32_test
18598 wine_fn_config_dll mapistub enable_mapistub
18599 wine_fn_config_dll mciavi32 enable_mciavi32
18600 wine_fn_config_dll mcicda enable_mcicda
18601 wine_fn_config_dll mciqtz32 enable_mciqtz32
18602 wine_fn_config_dll mciseq enable_mciseq
18603 wine_fn_config_dll mciwave enable_mciwave
18604 wine_fn_config_dll mf enable_mf implib
18605 wine_fn_config_test dlls/mf/tests mf_test
18606 wine_fn_config_dll mf3216 enable_mf3216
18607 wine_fn_config_dll mfplat enable_mfplat implib
18608 wine_fn_config_test dlls/mfplat/tests mfplat_test
18609 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18610 wine_fn_config_lib mfuuid
18611 wine_fn_config_dll mgmtapi enable_mgmtapi
18612 wine_fn_config_dll midimap enable_midimap
18613 wine_fn_config_dll mlang enable_mlang clean,implib
18614 wine_fn_config_test dlls/mlang/tests mlang_test
18615 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18616 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18617 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18618 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18619 wine_fn_config_dll mmdevldr.vxd enable_win16
18620 wine_fn_config_dll mmsystem.dll16 enable_win16
18621 wine_fn_config_dll monodebg.vxd enable_win16
18622 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18623 wine_fn_config_dll mouse.drv16 enable_win16
18624 wine_fn_config_dll mpr enable_mpr clean,implib
18625 wine_fn_config_test dlls/mpr/tests mpr_test
18626 wine_fn_config_dll mprapi enable_mprapi implib
18627 wine_fn_config_dll msacm.dll16 enable_win16
18628 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18629 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18630 wine_fn_config_test dlls/msacm32/tests msacm32_test
18631 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18632 wine_fn_config_dll msasn1 enable_msasn1 implib
18633 wine_fn_config_dll mscat32 enable_mscat32
18634 wine_fn_config_dll mscms enable_mscms implib
18635 wine_fn_config_test dlls/mscms/tests mscms_test
18636 wine_fn_config_dll mscoree enable_mscoree clean
18637 wine_fn_config_test dlls/mscoree/tests mscoree_test
18638 wine_fn_config_dll msctf enable_msctf clean
18639 wine_fn_config_test dlls/msctf/tests msctf_test
18640 wine_fn_config_dll msctfp enable_msctfp clean
18641 wine_fn_config_dll msdaps enable_msdaps clean
18642 wine_fn_config_dll msdelta enable_msdelta
18643 wine_fn_config_dll msdmo enable_msdmo implib
18644 wine_fn_config_test dlls/msdmo/tests msdmo_test
18645 wine_fn_config_dll msdrm enable_msdrm
18646 wine_fn_config_dll msftedit enable_msftedit
18647 wine_fn_config_dll msg711.acm enable_msg711_acm
18648 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18649 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18650 wine_fn_config_dll mshtml enable_mshtml clean,implib
18651 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18652 wine_fn_config_dll msi enable_msi clean,implib
18653 wine_fn_config_test dlls/msi/tests msi_test
18654 wine_fn_config_dll msident enable_msident clean
18655 wine_fn_config_dll msimg32 enable_msimg32 implib
18656 wine_fn_config_dll msimsg enable_msimsg
18657 wine_fn_config_dll msimtf enable_msimtf clean
18658 wine_fn_config_dll msisip enable_msisip
18659 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18660 wine_fn_config_dll msls31 enable_msls31
18661 wine_fn_config_dll msnet32 enable_msnet32
18662 wine_fn_config_dll mspatcha enable_mspatcha implib
18663 wine_fn_config_dll msports enable_msports
18664 wine_fn_config_dll msrle32 enable_msrle32 clean
18665 wine_fn_config_test dlls/msrle32/tests msrle32_test
18666 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18667 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18668 wine_fn_config_dll mssign32 enable_mssign32
18669 wine_fn_config_dll mssip32 enable_mssip32
18670 wine_fn_config_dll mstask enable_mstask clean
18671 wine_fn_config_test dlls/mstask/tests mstask_test
18672 wine_fn_config_dll msvcirt enable_msvcirt
18673 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18674 wine_fn_config_dll msvcm80 enable_msvcm80
18675 wine_fn_config_dll msvcm90 enable_msvcm90
18676 wine_fn_config_dll msvcp100 enable_msvcp100
18677 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18678 wine_fn_config_dll msvcp110 enable_msvcp110
18679 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18680 wine_fn_config_dll msvcp120 enable_msvcp120
18681 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18682 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18683 wine_fn_config_dll msvcp140 enable_msvcp140
18684 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18685 wine_fn_config_dll msvcp60 enable_msvcp60
18686 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18687 wine_fn_config_dll msvcp70 enable_msvcp70
18688 wine_fn_config_dll msvcp71 enable_msvcp71
18689 wine_fn_config_dll msvcp80 enable_msvcp80
18690 wine_fn_config_dll msvcp90 enable_msvcp90
18691 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18692 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18693 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18694 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18695 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18696 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18697 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18698 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18699 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18700 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18701 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18702 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18703 wine_fn_config_dll msvcrt enable_msvcrt implib
18704 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18705 wine_fn_config_dll msvcrt20 enable_msvcrt20
18706 wine_fn_config_dll msvcrt40 enable_msvcrt40
18707 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18708 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18709 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18710 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18711 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18712 wine_fn_config_dll msvideo.dll16 enable_win16
18713 wine_fn_config_dll mswsock enable_mswsock implib
18714 wine_fn_config_dll msxml enable_msxml clean
18715 wine_fn_config_dll msxml2 enable_msxml2 clean
18716 wine_fn_config_dll msxml3 enable_msxml3 clean
18717 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18718 wine_fn_config_dll msxml4 enable_msxml4 clean
18719 wine_fn_config_dll msxml6 enable_msxml6 clean
18720 wine_fn_config_dll mtxdm enable_mtxdm
18721 wine_fn_config_dll ncrypt enable_ncrypt
18722 wine_fn_config_dll nddeapi enable_nddeapi implib
18723 wine_fn_config_dll ndis.sys enable_ndis_sys
18724 wine_fn_config_dll netapi32 enable_netapi32 implib
18725 wine_fn_config_test dlls/netapi32/tests netapi32_test
18726 wine_fn_config_dll netcfgx enable_netcfgx clean
18727 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18728 wine_fn_config_dll netprofm enable_netprofm clean
18729 wine_fn_config_test dlls/netprofm/tests netprofm_test
18730 wine_fn_config_dll newdev enable_newdev implib
18731 wine_fn_config_dll normaliz enable_normaliz implib
18732 wine_fn_config_dll npmshtml enable_npmshtml
18733 wine_fn_config_dll npptools enable_npptools
18734 wine_fn_config_dll ntdll enable_ntdll implib
18735 wine_fn_config_test dlls/ntdll/tests ntdll_test
18736 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18737 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18738 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18739 wine_fn_config_dll ntprint enable_ntprint
18740 wine_fn_config_test dlls/ntprint/tests ntprint_test
18741 wine_fn_config_dll objsel enable_objsel clean
18742 wine_fn_config_dll odbc32 enable_odbc32 implib
18743 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18744 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18745 wine_fn_config_dll odbccu32 enable_odbccu32
18746 wine_fn_config_dll ole2.dll16 enable_win16
18747 wine_fn_config_dll ole2conv.dll16 enable_win16
18748 wine_fn_config_dll ole2disp.dll16 enable_win16
18749 wine_fn_config_dll ole2nls.dll16 enable_win16
18750 wine_fn_config_dll ole2prox.dll16 enable_win16
18751 wine_fn_config_dll ole2thk.dll16 enable_win16
18752 wine_fn_config_dll ole32 enable_ole32 clean,implib
18753 wine_fn_config_test dlls/ole32/tests ole32_test
18754 wine_fn_config_dll oleacc enable_oleacc clean,implib
18755 wine_fn_config_test dlls/oleacc/tests oleacc_test
18756 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18757 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18758 wine_fn_config_dll olecli.dll16 enable_win16
18759 wine_fn_config_dll olecli32 enable_olecli32 implib
18760 wine_fn_config_dll oledb32 enable_oledb32 clean
18761 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18762 wine_fn_config_dll oledlg enable_oledlg clean,implib
18763 wine_fn_config_test dlls/oledlg/tests oledlg_test
18764 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18765 wine_fn_config_dll olesvr.dll16 enable_win16
18766 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18767 wine_fn_config_dll olethk32 enable_olethk32
18768 wine_fn_config_dll openal32 enable_openal32
18769 wine_fn_config_dll opencl enable_opencl
18770 wine_fn_config_dll opengl32 enable_opengl32 implib
18771 wine_fn_config_test dlls/opengl32/tests opengl32_test
18772 wine_fn_config_dll packager enable_packager clean
18773 wine_fn_config_test dlls/packager/tests packager_test
18774 wine_fn_config_dll pdh enable_pdh implib
18775 wine_fn_config_test dlls/pdh/tests pdh_test
18776 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18777 wine_fn_config_dll pidgen enable_pidgen
18778 wine_fn_config_dll powrprof enable_powrprof implib
18779 wine_fn_config_dll printui enable_printui
18780 wine_fn_config_dll prntvpt enable_prntvpt
18781 wine_fn_config_dll propsys enable_propsys clean,implib
18782 wine_fn_config_test dlls/propsys/tests propsys_test
18783 wine_fn_config_dll psapi enable_psapi implib
18784 wine_fn_config_test dlls/psapi/tests psapi_test
18785 wine_fn_config_dll pstorec enable_pstorec clean
18786 wine_fn_config_test dlls/pstorec/tests pstorec_test
18787 wine_fn_config_dll qcap enable_qcap
18788 wine_fn_config_test dlls/qcap/tests qcap_test
18789 wine_fn_config_dll qedit enable_qedit clean
18790 wine_fn_config_test dlls/qedit/tests qedit_test
18791 wine_fn_config_dll qmgr enable_qmgr clean
18792 wine_fn_config_test dlls/qmgr/tests qmgr_test
18793 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18794 wine_fn_config_dll quartz enable_quartz clean,implib
18795 wine_fn_config_test dlls/quartz/tests quartz_test clean
18796 wine_fn_config_dll query enable_query
18797 wine_fn_config_dll rasapi16.dll16 enable_win16
18798 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18799 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18800 wine_fn_config_dll rasdlg enable_rasdlg implib
18801 wine_fn_config_dll regapi enable_regapi
18802 wine_fn_config_dll resutils enable_resutils implib
18803 wine_fn_config_dll riched20 enable_riched20 clean,implib
18804 wine_fn_config_test dlls/riched20/tests riched20_test
18805 wine_fn_config_dll riched32 enable_riched32
18806 wine_fn_config_test dlls/riched32/tests riched32_test
18807 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18808 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18809 wine_fn_config_dll rsabase enable_rsabase
18810 wine_fn_config_dll rsaenh enable_rsaenh implib
18811 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18812 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18813 wine_fn_config_dll rtutils enable_rtutils implib
18814 wine_fn_config_dll samlib enable_samlib
18815 wine_fn_config_dll sane.ds enable_sane_ds clean
18816 wine_fn_config_dll sapi enable_sapi clean
18817 wine_fn_config_test dlls/sapi/tests sapi_test
18818 wine_fn_config_dll scarddlg enable_scarddlg
18819 wine_fn_config_dll sccbase enable_sccbase
18820 wine_fn_config_dll schannel enable_schannel
18821 wine_fn_config_test dlls/schannel/tests schannel_test
18822 wine_fn_config_dll schedsvc enable_schedsvc clean
18823 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18824 wine_fn_config_dll scrobj enable_scrobj clean
18825 wine_fn_config_dll scrrun enable_scrrun clean
18826 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18827 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18828 wine_fn_config_dll secur32 enable_secur32 implib
18829 wine_fn_config_test dlls/secur32/tests secur32_test
18830 wine_fn_config_dll security enable_security
18831 wine_fn_config_dll sensapi enable_sensapi implib
18832 wine_fn_config_dll serialui enable_serialui clean
18833 wine_fn_config_test dlls/serialui/tests serialui_test
18834 wine_fn_config_dll setupapi enable_setupapi clean,implib
18835 wine_fn_config_test dlls/setupapi/tests setupapi_test
18836 wine_fn_config_dll setupx.dll16 enable_win16
18837 wine_fn_config_dll sfc enable_sfc implib
18838 wine_fn_config_dll sfc_os enable_sfc_os implib
18839 wine_fn_config_dll shdoclc enable_shdoclc clean
18840 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18841 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18842 wine_fn_config_dll shell.dll16 enable_win16
18843 wine_fn_config_dll shell32 enable_shell32 clean,implib
18844 wine_fn_config_test dlls/shell32/tests shell32_test
18845 wine_fn_config_dll shfolder enable_shfolder implib
18846 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18847 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18848 wine_fn_config_dll slbcsp enable_slbcsp
18849 wine_fn_config_dll slc enable_slc implib
18850 wine_fn_config_test dlls/slc/tests slc_test
18851 wine_fn_config_dll snmpapi enable_snmpapi implib
18852 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18853 wine_fn_config_dll softpub enable_softpub
18854 wine_fn_config_dll sound.drv16 enable_win16
18855 wine_fn_config_dll spoolss enable_spoolss implib
18856 wine_fn_config_test dlls/spoolss/tests spoolss_test
18857 wine_fn_config_dll sspicli enable_sspicli
18858 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18859 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18860 wine_fn_config_dll sti enable_sti clean,implib
18861 wine_fn_config_test dlls/sti/tests sti_test
18862 wine_fn_config_dll storage.dll16 enable_win16
18863 wine_fn_config_dll stress.dll16 enable_win16
18864 wine_fn_config_lib strmbase
18865 wine_fn_config_lib strmiids
18866 wine_fn_config_dll svrapi enable_svrapi
18867 wine_fn_config_dll sxs enable_sxs implib
18868 wine_fn_config_test dlls/sxs/tests sxs_test
18869 wine_fn_config_dll system.drv16 enable_win16
18870 wine_fn_config_dll t2embed enable_t2embed implib
18871 wine_fn_config_test dlls/t2embed/tests t2embed_test
18872 wine_fn_config_dll tapi32 enable_tapi32 implib
18873 wine_fn_config_dll taskschd enable_taskschd clean
18874 wine_fn_config_test dlls/taskschd/tests taskschd_test
18875 wine_fn_config_dll tdh enable_tdh
18876 wine_fn_config_dll tdi.sys enable_tdi_sys
18877 wine_fn_config_dll toolhelp.dll16 enable_win16
18878 wine_fn_config_dll traffic enable_traffic
18879 wine_fn_config_dll twain.dll16 enable_win16
18880 wine_fn_config_dll twain_32 enable_twain_32
18881 wine_fn_config_test dlls/twain_32/tests twain_32_test
18882 wine_fn_config_dll typelib.dll16 enable_win16
18883 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18884 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18885 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18886 wine_fn_config_dll uiribbon enable_uiribbon clean
18887 wine_fn_config_dll unicows enable_unicows implib
18888 wine_fn_config_dll updspapi enable_updspapi
18889 wine_fn_config_dll url enable_url implib
18890 wine_fn_config_dll urlmon enable_urlmon clean,implib
18891 wine_fn_config_test dlls/urlmon/tests urlmon_test
18892 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18893 wine_fn_config_dll user.exe16 enable_win16
18894 wine_fn_config_dll user32 enable_user32 clean,implib
18895 wine_fn_config_test dlls/user32/tests user32_test
18896 wine_fn_config_dll userenv enable_userenv implib
18897 wine_fn_config_test dlls/userenv/tests userenv_test
18898 wine_fn_config_dll usp10 enable_usp10 implib
18899 wine_fn_config_test dlls/usp10/tests usp10_test
18900 wine_fn_config_lib uuid
18901 wine_fn_config_dll uxtheme enable_uxtheme implib
18902 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18903 wine_fn_config_dll vbscript enable_vbscript clean
18904 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18905 wine_fn_config_dll vcomp enable_vcomp
18906 wine_fn_config_test dlls/vcomp/tests vcomp_test
18907 wine_fn_config_dll vcomp100 enable_vcomp100
18908 wine_fn_config_dll vcomp110 enable_vcomp110
18909 wine_fn_config_dll vcomp120 enable_vcomp120
18910 wine_fn_config_dll vcomp140 enable_vcomp140
18911 wine_fn_config_dll vcomp90 enable_vcomp90
18912 wine_fn_config_dll vcruntime140 enable_vcruntime140
18913 wine_fn_config_dll vdhcp.vxd enable_win16
18914 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18915 wine_fn_config_dll ver.dll16 enable_win16
18916 wine_fn_config_dll version enable_version implib
18917 wine_fn_config_test dlls/version/tests version_test
18918 wine_fn_config_dll virtdisk enable_virtdisk
18919 wine_fn_config_dll vmm.vxd enable_win16
18920 wine_fn_config_dll vnbt.vxd enable_win16
18921 wine_fn_config_dll vnetbios.vxd enable_win16
18922 wine_fn_config_dll vssapi enable_vssapi
18923 wine_fn_config_dll vtdapi.vxd enable_win16
18924 wine_fn_config_dll vwin32.vxd enable_win16
18925 wine_fn_config_dll w32skrnl enable_win16
18926 wine_fn_config_dll w32sys.dll16 enable_win16
18927 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18928 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18929 wine_fn_config_dll wbemprox enable_wbemprox clean
18930 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18931 wine_fn_config_dll webservices enable_webservices implib
18932 wine_fn_config_test dlls/webservices/tests webservices_test
18933 wine_fn_config_dll wer enable_wer implib
18934 wine_fn_config_test dlls/wer/tests wer_test
18935 wine_fn_config_dll wevtapi enable_wevtapi
18936 wine_fn_config_dll wiaservc enable_wiaservc clean
18937 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18938 wine_fn_config_dll wimgapi enable_wimgapi
18939 wine_fn_config_dll win32s16.dll16 enable_win16
18940 wine_fn_config_dll win87em.dll16 enable_win16
18941 wine_fn_config_dll winaspi.dll16 enable_win16
18942 wine_fn_config_dll windebug.dll16 enable_win16
18943 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18944 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18945 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18946 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18947 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18948 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18949 wine_fn_config_dll winebus.sys enable_winebus_sys
18950 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18951 wine_fn_config_lib winecrt0
18952 wine_fn_config_dll wined3d enable_wined3d implib
18953 wine_fn_config_dll winegstreamer enable_winegstreamer
18954 wine_fn_config_dll winehid.sys enable_winehid_sys
18955 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18956 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18957 wine_fn_config_dll winemapi enable_winemapi
18958 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18959 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18960 wine_fn_config_dll wineps16.drv16 enable_win16
18961 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18962 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18963 wine_fn_config_dll winex11.drv enable_winex11_drv
18964 wine_fn_config_dll wing.dll16 enable_win16
18965 wine_fn_config_dll wing32 enable_wing32
18966 wine_fn_config_dll winhttp enable_winhttp clean,implib
18967 wine_fn_config_test dlls/winhttp/tests winhttp_test
18968 wine_fn_config_dll wininet enable_wininet clean,implib
18969 wine_fn_config_test dlls/wininet/tests wininet_test
18970 wine_fn_config_dll winmm enable_winmm clean,implib
18971 wine_fn_config_test dlls/winmm/tests winmm_test
18972 wine_fn_config_dll winnls.dll16 enable_win16
18973 wine_fn_config_dll winnls32 enable_winnls32 implib
18974 wine_fn_config_dll winscard enable_winscard implib
18975 wine_fn_config_dll winsock.dll16 enable_win16
18976 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18977 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18978 wine_fn_config_dll winsta enable_winsta
18979 wine_fn_config_dll wintab.dll16 enable_win16
18980 wine_fn_config_dll wintab32 enable_wintab32 implib
18981 wine_fn_config_test dlls/wintab32/tests wintab32_test
18982 wine_fn_config_dll wintrust enable_wintrust implib
18983 wine_fn_config_test dlls/wintrust/tests wintrust_test
18984 wine_fn_config_dll winusb enable_winusb
18985 wine_fn_config_dll wlanapi enable_wlanapi implib
18986 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18987 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18988 wine_fn_config_test dlls/wldap32/tests wldap32_test
18989 wine_fn_config_dll wmasf enable_wmasf
18990 wine_fn_config_dll wmi enable_wmi
18991 wine_fn_config_dll wmiutils enable_wmiutils clean
18992 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18993 wine_fn_config_dll wmp enable_wmp clean
18994 wine_fn_config_test dlls/wmp/tests wmp_test
18995 wine_fn_config_dll wmphoto enable_wmphoto clean
18996 wine_fn_config_dll wmvcore enable_wmvcore implib
18997 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18998 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18999 wine_fn_config_dll wow32 enable_win16 implib
19000 wine_fn_config_dll wpc enable_wpc clean
19001 wine_fn_config_test dlls/wpc/tests wpc_test
19002 wine_fn_config_dll wpcap enable_wpcap
19003 wine_fn_config_dll ws2_32 enable_ws2_32 implib
19004 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
19005 wine_fn_config_dll wsdapi enable_wsdapi implib
19006 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
19007 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
19008 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
19009 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
19010 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
19011 wine_fn_config_dll wsock32 enable_wsock32 implib
19012 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
19013 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
19014 wine_fn_config_dll wuapi enable_wuapi clean
19015 wine_fn_config_dll wuaueng enable_wuaueng
19016 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
19017 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
19018 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
19019 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
19020 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
19021 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
19022 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
19023 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
19024 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
19025 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
19026 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
19027 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
19028 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
19029 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
19030 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
19031 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
19032 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
19033 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
19034 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
19035 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
19036 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
19037 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
19038 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
19039 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
19040 wine_fn_config_dll xinput1_1 enable_xinput1_1
19041 wine_fn_config_dll xinput1_2 enable_xinput1_2
19042 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
19043 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
19044 wine_fn_config_dll xinput1_4 enable_xinput1_4
19045 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
19046 wine_fn_config_dll xmllite enable_xmllite implib
19047 wine_fn_config_test dlls/xmllite/tests xmllite_test
19048 wine_fn_config_dll xolehlp enable_xolehlp
19049 wine_fn_config_dll xpsprint enable_xpsprint
19050 wine_fn_config_dll xpssvcs enable_xpssvcs
19051 wine_fn_config_makefile fonts enable_fonts clean,install-lib
19052 wine_fn_config_makefile include enable_include clean,install-dev
19053 wine_fn_config_makefile libs/port enable_libs_port
19054 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
19055 wine_fn_config_makefile libs/wpp enable_libs_wpp
19056 wine_fn_config_makefile loader enable_loader clean,install-lib
19057 wine_fn_config_makefile po enable_po clean
19058 wine_fn_config_program arp enable_arp install
19059 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
19060 wine_fn_config_program attrib enable_attrib clean,install
19061 wine_fn_config_program cabarc enable_cabarc install
19062 wine_fn_config_program cacls enable_cacls install
19063 wine_fn_config_program clock enable_clock clean,install
19064 wine_fn_config_program cmd enable_cmd clean,install
19065 wine_fn_config_test programs/cmd/tests cmd.exe_test
19066 wine_fn_config_program conhost enable_conhost install
19067 wine_fn_config_program control enable_control install
19068 wine_fn_config_program cscript enable_cscript clean,install
19069 wine_fn_config_program dpnsvr enable_dpnsvr install
19070 wine_fn_config_program dxdiag enable_dxdiag clean,install
19071 wine_fn_config_program eject enable_eject install
19072 wine_fn_config_program expand enable_expand install
19073 wine_fn_config_program explorer enable_explorer clean,install
19074 wine_fn_config_program extrac32 enable_extrac32 install
19075 wine_fn_config_program findstr enable_findstr install
19076 wine_fn_config_program fsutil enable_fsutil install
19077 wine_fn_config_program hh enable_hh install
19078 wine_fn_config_program hostname enable_hostname clean,install
19079 wine_fn_config_program icacls enable_icacls install
19080 wine_fn_config_program icinfo enable_icinfo install
19081 wine_fn_config_program iexplore enable_iexplore install
19082 wine_fn_config_program ipconfig enable_ipconfig clean,install
19083 wine_fn_config_program lodctr enable_lodctr install
19084 wine_fn_config_program mofcomp enable_mofcomp install
19085 wine_fn_config_program mshta enable_mshta install
19086 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
19087 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
19088 wine_fn_config_program net enable_net clean,install
19089 wine_fn_config_program netsh enable_netsh install
19090 wine_fn_config_program netstat enable_netstat clean,install
19091 wine_fn_config_program ngen enable_ngen install
19092 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
19093 wine_fn_config_program oleview enable_oleview clean,install
19094 wine_fn_config_program ping enable_ping install
19095 wine_fn_config_program plugplay enable_plugplay install
19096 wine_fn_config_program powershell enable_powershell install
19097 wine_fn_config_program presentationfontcache enable_presentationfontcache install
19098 wine_fn_config_program progman enable_progman clean,install
19099 wine_fn_config_program reg enable_reg clean,install
19100 wine_fn_config_test programs/reg/tests reg.exe_test
19101 wine_fn_config_program regasm enable_regasm install
19102 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
19103 wine_fn_config_test programs/regedit/tests regedit.exe_test
19104 wine_fn_config_program regsvcs enable_regsvcs install
19105 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
19106 wine_fn_config_program rpcss enable_rpcss clean,install
19107 wine_fn_config_program rundll.exe16 enable_win16 install
19108 wine_fn_config_program rundll32 enable_rundll32 install
19109 wine_fn_config_program sc enable_sc install
19110 wine_fn_config_program schtasks enable_schtasks install
19111 wine_fn_config_program sdbinst enable_sdbinst install
19112 wine_fn_config_program secedit enable_secedit install
19113 wine_fn_config_program servicemodelreg enable_servicemodelreg install
19114 wine_fn_config_program services enable_services clean,install
19115 wine_fn_config_test programs/services/tests services.exe_test
19116 wine_fn_config_program shutdown enable_shutdown install
19117 wine_fn_config_program spoolsv enable_spoolsv install
19118 wine_fn_config_program start enable_start clean,install
19119 wine_fn_config_program subst enable_subst install
19120 wine_fn_config_program svchost enable_svchost install
19121 wine_fn_config_program systeminfo enable_systeminfo install
19122 wine_fn_config_program taskkill enable_taskkill clean,install
19123 wine_fn_config_program tasklist enable_tasklist install
19124 wine_fn_config_program taskmgr enable_taskmgr clean,install
19125 wine_fn_config_program termsv enable_termsv install
19126 wine_fn_config_program uninstaller enable_uninstaller clean,install
19127 wine_fn_config_program unlodctr enable_unlodctr install
19128 wine_fn_config_program view enable_view clean,install
19129 wine_fn_config_program wevtutil enable_wevtutil install
19130 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19131 wine_fn_config_program winebrowser enable_winebrowser install
19132 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19133 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19134 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19135 wine_fn_config_program winedevice enable_winedevice install
19136 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19137 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19138 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19139 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19140 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19141 wine_fn_config_program winetest enable_winetest clean
19142 wine_fn_config_program winevdm enable_win16 install
19143 wine_fn_config_program winhelp.exe16 enable_win16 install
19144 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19145 wine_fn_config_program winoldap.mod16 enable_win16 install
19146 wine_fn_config_program winver enable_winver install
19147 wine_fn_config_program wmic enable_wmic clean,install
19148 wine_fn_config_program wmplayer enable_wmplayer install
19149 wine_fn_config_program wordpad enable_wordpad clean,install
19150 wine_fn_config_program write enable_write clean,install
19151 wine_fn_config_program wscript enable_wscript clean,install
19152 wine_fn_config_test programs/wscript/tests wscript.exe_test
19153 wine_fn_config_program wusa enable_wusa install
19154 wine_fn_config_program xcopy enable_xcopy clean,install
19155 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19156 wine_fn_config_makefile server enable_server clean,install-lib
19157 wine_fn_config_tool tools clean
19158 wine_fn_config_tool tools/sfnt2fon clean
19159 wine_fn_config_tool tools/widl clean,install-dev
19160 wine_fn_config_tool tools/winebuild clean,install-dev
19161 wine_fn_config_tool tools/winedump clean,install-dev
19162 wine_fn_config_tool tools/winegcc clean,install-dev
19163 wine_fn_config_tool tools/winemaker clean,install-dev
19164 wine_fn_config_tool tools/wmc clean,install-dev
19165 wine_fn_config_tool tools/wrc clean,install-dev
19168 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19169 wine_fn_append_file CONFIGURE_TARGETS "tags"
19170 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19171 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19172 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19173 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19174 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19175 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19177 if test "x$enable_tools" != xno
19178 then
19179 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19180 ac_config_commands="$ac_config_commands tools/makedep"
19184 ac_config_commands="$ac_config_commands Makefile"
19187 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19191 if test "x$enable_maintainer_mode" = xyes
19192 then
19193 wine_fn_append_rule "configure: configure.ac aclocal.m4
19194 autoconf --warnings=all
19195 include/config.h.in: include/stamp-h.in
19196 include/stamp-h.in: configure.ac aclocal.m4
19197 autoheader --warnings=all
19198 @echo timestamp > \$@"
19201 if test "x$enable_tools" != xno
19202 then
19203 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19204 @./config.status tools/makedep
19205 Makefile: tools/makedep$ac_exeext"
19206 else
19207 wine_fn_append_rule "\$(MAKEDEP):
19208 @echo \"You need to run make in $TOOLSDIR first\" && false"
19211 if test -n "$with_wine64"
19212 then
19213 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19214 fonts server:
19215 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19216 $with_wine64/loader/wine:
19217 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19218 $with_wine64/loader/wine-preloader:
19219 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19220 clean::
19221 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19222 else
19223 WINELOADER_INSTALL="wine.inf"
19225 wine_fn_append_rule "install install-lib::
19226 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19227 uninstall::
19228 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19229 case $host_os in
19230 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19231 *) wine_fn_append_rule "install install-lib::
19232 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19233 uninstall::
19234 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19235 esac
19238 $as_echo " done" >&6
19239 cat >confcache <<\_ACEOF
19240 # This file is a shell script that caches the results of configure
19241 # tests run on this system so they can be shared between configure
19242 # scripts and configure runs, see configure's option --config-cache.
19243 # It is not useful on other systems. If it contains results you don't
19244 # want to keep, you may remove or edit it.
19246 # config.status only pays attention to the cache file if you give it
19247 # the --recheck option to rerun configure.
19249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19251 # following values.
19253 _ACEOF
19255 # The following way of writing the cache mishandles newlines in values,
19256 # but we know of no workaround that is simple, portable, and efficient.
19257 # So, we kill variables containing newlines.
19258 # Ultrix sh set writes to stderr and can't be redirected directly,
19259 # and sets the high bit in the cache file unless we assign to the vars.
19261 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19262 eval ac_val=\$$ac_var
19263 case $ac_val in #(
19264 *${as_nl}*)
19265 case $ac_var in #(
19266 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19267 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19268 esac
19269 case $ac_var in #(
19270 _ | IFS | as_nl) ;; #(
19271 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19272 *) { eval $ac_var=; unset $ac_var;} ;;
19273 esac ;;
19274 esac
19275 done
19277 (set) 2>&1 |
19278 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19279 *${as_nl}ac_space=\ *)
19280 # `set' does not quote correctly, so add quotes: double-quote
19281 # substitution turns \\\\ into \\, and sed turns \\ into \.
19282 sed -n \
19283 "s/'/'\\\\''/g;
19284 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19285 ;; #(
19287 # `set' quotes correctly as required by POSIX, so do not add quotes.
19288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19290 esac |
19291 sort
19293 sed '
19294 /^ac_cv_env_/b end
19295 t clear
19296 :clear
19297 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19298 t end
19299 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19300 :end' >>confcache
19301 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19302 if test -w "$cache_file"; then
19303 if test "x$cache_file" != "x/dev/null"; then
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19305 $as_echo "$as_me: updating cache $cache_file" >&6;}
19306 if test ! -f "$cache_file" || test -h "$cache_file"; then
19307 cat confcache >"$cache_file"
19308 else
19309 case $cache_file in #(
19310 */* | ?:*)
19311 mv -f confcache "$cache_file"$$ &&
19312 mv -f "$cache_file"$$ "$cache_file" ;; #(
19314 mv -f confcache "$cache_file" ;;
19315 esac
19318 else
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19320 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19323 rm -f confcache
19325 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19326 # Let make expand exec_prefix.
19327 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19329 DEFS=-DHAVE_CONFIG_H
19331 ac_libobjs=
19332 ac_ltlibobjs=
19334 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19335 # 1. Remove the extension, and $U if already installed.
19336 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19337 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19338 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19339 # will be set to the directory where LIBOBJS objects are built.
19340 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19341 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19342 done
19343 LIBOBJS=$ac_libobjs
19345 LTLIBOBJS=$ac_ltlibobjs
19349 : "${CONFIG_STATUS=./config.status}"
19350 ac_write_fail=0
19351 ac_clean_files_save=$ac_clean_files
19352 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19354 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19355 as_write_fail=0
19356 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19357 #! $SHELL
19358 # Generated by $as_me.
19359 # Run this file to recreate the current configuration.
19360 # Compiler output produced by configure, useful for debugging
19361 # configure, is in config.log if it exists.
19363 debug=false
19364 ac_cs_recheck=false
19365 ac_cs_silent=false
19367 SHELL=\${CONFIG_SHELL-$SHELL}
19368 export SHELL
19369 _ASEOF
19370 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19371 ## -------------------- ##
19372 ## M4sh Initialization. ##
19373 ## -------------------- ##
19375 # Be more Bourne compatible
19376 DUALCASE=1; export DUALCASE # for MKS sh
19377 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19378 emulate sh
19379 NULLCMD=:
19380 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19381 # is contrary to our usage. Disable this feature.
19382 alias -g '${1+"$@"}'='"$@"'
19383 setopt NO_GLOB_SUBST
19384 else
19385 case `(set -o) 2>/dev/null` in #(
19386 *posix*) :
19387 set -o posix ;; #(
19388 *) :
19390 esac
19394 as_nl='
19396 export as_nl
19397 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19398 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19399 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19400 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19401 # Prefer a ksh shell builtin over an external printf program on Solaris,
19402 # but without wasting forks for bash or zsh.
19403 if test -z "$BASH_VERSION$ZSH_VERSION" \
19404 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19405 as_echo='print -r --'
19406 as_echo_n='print -rn --'
19407 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19408 as_echo='printf %s\n'
19409 as_echo_n='printf %s'
19410 else
19411 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19412 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19413 as_echo_n='/usr/ucb/echo -n'
19414 else
19415 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19416 as_echo_n_body='eval
19417 arg=$1;
19418 case $arg in #(
19419 *"$as_nl"*)
19420 expr "X$arg" : "X\\(.*\\)$as_nl";
19421 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19422 esac;
19423 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19425 export as_echo_n_body
19426 as_echo_n='sh -c $as_echo_n_body as_echo'
19428 export as_echo_body
19429 as_echo='sh -c $as_echo_body as_echo'
19432 # The user is always right.
19433 if test "${PATH_SEPARATOR+set}" != set; then
19434 PATH_SEPARATOR=:
19435 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19436 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19437 PATH_SEPARATOR=';'
19442 # IFS
19443 # We need space, tab and new line, in precisely that order. Quoting is
19444 # there to prevent editors from complaining about space-tab.
19445 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19446 # splitting by setting IFS to empty value.)
19447 IFS=" "" $as_nl"
19449 # Find who we are. Look in the path if we contain no directory separator.
19450 as_myself=
19451 case $0 in #((
19452 *[\\/]* ) as_myself=$0 ;;
19453 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19454 for as_dir in $PATH
19456 IFS=$as_save_IFS
19457 test -z "$as_dir" && as_dir=.
19458 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19459 done
19460 IFS=$as_save_IFS
19463 esac
19464 # We did not find ourselves, most probably we were run as `sh COMMAND'
19465 # in which case we are not to be found in the path.
19466 if test "x$as_myself" = x; then
19467 as_myself=$0
19469 if test ! -f "$as_myself"; then
19470 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19471 exit 1
19474 # Unset variables that we do not need and which cause bugs (e.g. in
19475 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19476 # suppresses any "Segmentation fault" message there. '((' could
19477 # trigger a bug in pdksh 5.2.14.
19478 for as_var in BASH_ENV ENV MAIL MAILPATH
19479 do eval test x\${$as_var+set} = xset \
19480 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19481 done
19482 PS1='$ '
19483 PS2='> '
19484 PS4='+ '
19486 # NLS nuisances.
19487 LC_ALL=C
19488 export LC_ALL
19489 LANGUAGE=C
19490 export LANGUAGE
19492 # CDPATH.
19493 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19496 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19497 # ----------------------------------------
19498 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19499 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19500 # script with STATUS, using 1 if that was 0.
19501 as_fn_error ()
19503 as_status=$1; test $as_status -eq 0 && as_status=1
19504 if test "$4"; then
19505 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19506 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19508 $as_echo "$as_me: error: $2" >&2
19509 as_fn_exit $as_status
19510 } # as_fn_error
19513 # as_fn_set_status STATUS
19514 # -----------------------
19515 # Set $? to STATUS, without forking.
19516 as_fn_set_status ()
19518 return $1
19519 } # as_fn_set_status
19521 # as_fn_exit STATUS
19522 # -----------------
19523 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19524 as_fn_exit ()
19526 set +e
19527 as_fn_set_status $1
19528 exit $1
19529 } # as_fn_exit
19531 # as_fn_unset VAR
19532 # ---------------
19533 # Portably unset VAR.
19534 as_fn_unset ()
19536 { eval $1=; unset $1;}
19538 as_unset=as_fn_unset
19539 # as_fn_append VAR VALUE
19540 # ----------------------
19541 # Append the text in VALUE to the end of the definition contained in VAR. Take
19542 # advantage of any shell optimizations that allow amortized linear growth over
19543 # repeated appends, instead of the typical quadratic growth present in naive
19544 # implementations.
19545 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19546 eval 'as_fn_append ()
19548 eval $1+=\$2
19550 else
19551 as_fn_append ()
19553 eval $1=\$$1\$2
19555 fi # as_fn_append
19557 # as_fn_arith ARG...
19558 # ------------------
19559 # Perform arithmetic evaluation on the ARGs, and store the result in the
19560 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19561 # must be portable across $(()) and expr.
19562 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19563 eval 'as_fn_arith ()
19565 as_val=$(( $* ))
19567 else
19568 as_fn_arith ()
19570 as_val=`expr "$@" || test $? -eq 1`
19572 fi # as_fn_arith
19575 if expr a : '\(a\)' >/dev/null 2>&1 &&
19576 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19577 as_expr=expr
19578 else
19579 as_expr=false
19582 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19583 as_basename=basename
19584 else
19585 as_basename=false
19588 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19589 as_dirname=dirname
19590 else
19591 as_dirname=false
19594 as_me=`$as_basename -- "$0" ||
19595 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19596 X"$0" : 'X\(//\)$' \| \
19597 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19598 $as_echo X/"$0" |
19599 sed '/^.*\/\([^/][^/]*\)\/*$/{
19600 s//\1/
19603 /^X\/\(\/\/\)$/{
19604 s//\1/
19607 /^X\/\(\/\).*/{
19608 s//\1/
19611 s/.*/./; q'`
19613 # Avoid depending upon Character Ranges.
19614 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19615 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19616 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19617 as_cr_digits='0123456789'
19618 as_cr_alnum=$as_cr_Letters$as_cr_digits
19620 ECHO_C= ECHO_N= ECHO_T=
19621 case `echo -n x` in #(((((
19622 -n*)
19623 case `echo 'xy\c'` in
19624 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19625 xy) ECHO_C='\c';;
19626 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19627 ECHO_T=' ';;
19628 esac;;
19630 ECHO_N='-n';;
19631 esac
19633 rm -f conf$$ conf$$.exe conf$$.file
19634 if test -d conf$$.dir; then
19635 rm -f conf$$.dir/conf$$.file
19636 else
19637 rm -f conf$$.dir
19638 mkdir conf$$.dir 2>/dev/null
19640 if (echo >conf$$.file) 2>/dev/null; then
19641 if ln -s conf$$.file conf$$ 2>/dev/null; then
19642 as_ln_s='ln -s'
19643 # ... but there are two gotchas:
19644 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19645 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19646 # In both cases, we have to default to `cp -pR'.
19647 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19648 as_ln_s='cp -pR'
19649 elif ln conf$$.file conf$$ 2>/dev/null; then
19650 as_ln_s=ln
19651 else
19652 as_ln_s='cp -pR'
19654 else
19655 as_ln_s='cp -pR'
19657 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19658 rmdir conf$$.dir 2>/dev/null
19661 # as_fn_mkdir_p
19662 # -------------
19663 # Create "$as_dir" as a directory, including parents if necessary.
19664 as_fn_mkdir_p ()
19667 case $as_dir in #(
19668 -*) as_dir=./$as_dir;;
19669 esac
19670 test -d "$as_dir" || eval $as_mkdir_p || {
19671 as_dirs=
19672 while :; do
19673 case $as_dir in #(
19674 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19675 *) as_qdir=$as_dir;;
19676 esac
19677 as_dirs="'$as_qdir' $as_dirs"
19678 as_dir=`$as_dirname -- "$as_dir" ||
19679 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19680 X"$as_dir" : 'X\(//\)[^/]' \| \
19681 X"$as_dir" : 'X\(//\)$' \| \
19682 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19683 $as_echo X"$as_dir" |
19684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19685 s//\1/
19688 /^X\(\/\/\)[^/].*/{
19689 s//\1/
19692 /^X\(\/\/\)$/{
19693 s//\1/
19696 /^X\(\/\).*/{
19697 s//\1/
19700 s/.*/./; q'`
19701 test -d "$as_dir" && break
19702 done
19703 test -z "$as_dirs" || eval "mkdir $as_dirs"
19704 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19707 } # as_fn_mkdir_p
19708 if mkdir -p . 2>/dev/null; then
19709 as_mkdir_p='mkdir -p "$as_dir"'
19710 else
19711 test -d ./-p && rmdir ./-p
19712 as_mkdir_p=false
19716 # as_fn_executable_p FILE
19717 # -----------------------
19718 # Test if FILE is an executable regular file.
19719 as_fn_executable_p ()
19721 test -f "$1" && test -x "$1"
19722 } # as_fn_executable_p
19723 as_test_x='test -x'
19724 as_executable_p=as_fn_executable_p
19726 # Sed expression to map a string onto a valid CPP name.
19727 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19729 # Sed expression to map a string onto a valid variable name.
19730 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19733 exec 6>&1
19734 ## ----------------------------------- ##
19735 ## Main body of $CONFIG_STATUS script. ##
19736 ## ----------------------------------- ##
19737 _ASEOF
19738 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19741 # Save the log message, to keep $0 and so on meaningful, and to
19742 # report actual input values of CONFIG_FILES etc. instead of their
19743 # values after options handling.
19744 ac_log="
19745 This file was extended by Wine $as_me 2.19, which was
19746 generated by GNU Autoconf 2.69. Invocation command line was
19748 CONFIG_FILES = $CONFIG_FILES
19749 CONFIG_HEADERS = $CONFIG_HEADERS
19750 CONFIG_LINKS = $CONFIG_LINKS
19751 CONFIG_COMMANDS = $CONFIG_COMMANDS
19752 $ $0 $@
19754 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19757 _ACEOF
19759 case $ac_config_files in *"
19760 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19761 esac
19763 case $ac_config_headers in *"
19764 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19765 esac
19768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19769 # Files that config.status was made for.
19770 config_files="$ac_config_files"
19771 config_headers="$ac_config_headers"
19772 config_links="$ac_config_links"
19773 config_commands="$ac_config_commands"
19775 _ACEOF
19777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19778 ac_cs_usage="\
19779 \`$as_me' instantiates files and other configuration actions
19780 from templates according to the current configuration. Unless the files
19781 and actions are specified as TAGs, all are instantiated by default.
19783 Usage: $0 [OPTION]... [TAG]...
19785 -h, --help print this help, then exit
19786 -V, --version print version number and configuration settings, then exit
19787 --config print configuration, then exit
19788 -q, --quiet, --silent
19789 do not print progress messages
19790 -d, --debug don't remove temporary files
19791 --recheck update $as_me by reconfiguring in the same conditions
19792 --file=FILE[:TEMPLATE]
19793 instantiate the configuration file FILE
19794 --header=FILE[:TEMPLATE]
19795 instantiate the configuration header FILE
19797 Configuration files:
19798 $config_files
19800 Configuration headers:
19801 $config_headers
19803 Configuration links:
19804 $config_links
19806 Configuration commands:
19807 $config_commands
19809 Report bugs to <wine-devel@winehq.org>.
19810 Wine home page: <http://www.winehq.org>."
19812 _ACEOF
19813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19814 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19815 ac_cs_version="\\
19816 Wine config.status 2.19
19817 configured by $0, generated by GNU Autoconf 2.69,
19818 with options \\"\$ac_cs_config\\"
19820 Copyright (C) 2012 Free Software Foundation, Inc.
19821 This config.status script is free software; the Free Software Foundation
19822 gives unlimited permission to copy, distribute and modify it."
19824 ac_pwd='$ac_pwd'
19825 srcdir='$srcdir'
19826 test -n "\$AWK" || AWK=awk
19827 _ACEOF
19829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19830 # The default lists apply if the user does not specify any file.
19831 ac_need_defaults=:
19832 while test $# != 0
19834 case $1 in
19835 --*=?*)
19836 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19837 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19838 ac_shift=:
19840 --*=)
19841 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19842 ac_optarg=
19843 ac_shift=:
19846 ac_option=$1
19847 ac_optarg=$2
19848 ac_shift=shift
19850 esac
19852 case $ac_option in
19853 # Handling of the options.
19854 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19855 ac_cs_recheck=: ;;
19856 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19857 $as_echo "$ac_cs_version"; exit ;;
19858 --config | --confi | --conf | --con | --co | --c )
19859 $as_echo "$ac_cs_config"; exit ;;
19860 --debug | --debu | --deb | --de | --d | -d )
19861 debug=: ;;
19862 --file | --fil | --fi | --f )
19863 $ac_shift
19864 case $ac_optarg in
19865 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19866 '') as_fn_error $? "missing file argument" ;;
19867 esac
19868 as_fn_append CONFIG_FILES " '$ac_optarg'"
19869 ac_need_defaults=false;;
19870 --header | --heade | --head | --hea )
19871 $ac_shift
19872 case $ac_optarg in
19873 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19874 esac
19875 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19876 ac_need_defaults=false;;
19877 --he | --h)
19878 # Conflict between --help and --header
19879 as_fn_error $? "ambiguous option: \`$1'
19880 Try \`$0 --help' for more information.";;
19881 --help | --hel | -h )
19882 $as_echo "$ac_cs_usage"; exit ;;
19883 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19884 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19885 ac_cs_silent=: ;;
19887 # This is an error.
19888 -*) as_fn_error $? "unrecognized option: \`$1'
19889 Try \`$0 --help' for more information." ;;
19891 *) as_fn_append ac_config_targets " $1"
19892 ac_need_defaults=false ;;
19894 esac
19895 shift
19896 done
19898 ac_configure_extra_args=
19900 if $ac_cs_silent; then
19901 exec 6>/dev/null
19902 ac_configure_extra_args="$ac_configure_extra_args --silent"
19905 _ACEOF
19906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19907 if \$ac_cs_recheck; then
19908 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19909 shift
19910 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19911 CONFIG_SHELL='$SHELL'
19912 export CONFIG_SHELL
19913 exec "\$@"
19916 _ACEOF
19917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19918 exec 5>>config.log
19920 echo
19921 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19922 ## Running $as_me. ##
19923 _ASBOX
19924 $as_echo "$ac_log"
19925 } >&5
19927 _ACEOF
19928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19930 # INIT-COMMANDS
19932 wine_fn_output_makedep ()
19934 as_dir=tools; as_fn_mkdir_p
19935 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19937 wine_fn_output_makefile ()
19939 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19940 `cat $wine_rules_file`
19941 _WINE_EOF
19942 as_fn_error $? "could not create Makefile" "$LINENO" 5
19945 _ACEOF
19947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19949 # Handling of arguments.
19950 for ac_config_target in $ac_config_targets
19952 case $ac_config_target in
19953 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19954 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19955 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19956 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19957 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19958 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19959 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19960 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19961 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19962 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19963 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19964 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19965 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19967 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19968 esac
19969 done
19972 # If the user did not use the arguments to specify the items to instantiate,
19973 # then the envvar interface is used. Set only those that are not.
19974 # We use the long form for the default assignment because of an extremely
19975 # bizarre bug on SunOS 4.1.3.
19976 if $ac_need_defaults; then
19977 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19978 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19979 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19980 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19983 # Have a temporary directory for convenience. Make it in the build tree
19984 # simply because there is no reason against having it here, and in addition,
19985 # creating and moving files from /tmp can sometimes cause problems.
19986 # Hook for its removal unless debugging.
19987 # Note that there is a small window in which the directory will not be cleaned:
19988 # after its creation but before its name has been assigned to `$tmp'.
19989 $debug ||
19991 tmp= ac_tmp=
19992 trap 'exit_status=$?
19993 : "${ac_tmp:=$tmp}"
19994 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19996 trap 'as_fn_exit 1' 1 2 13 15
19998 # Create a (secure) tmp directory for tmp files.
20001 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20002 test -d "$tmp"
20003 } ||
20005 tmp=./conf$$-$RANDOM
20006 (umask 077 && mkdir "$tmp")
20007 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20008 ac_tmp=$tmp
20010 # Set up the scripts for CONFIG_FILES section.
20011 # No need to generate them if there are no CONFIG_FILES.
20012 # This happens for instance with `./config.status config.h'.
20013 if test -n "$CONFIG_FILES"; then
20016 ac_cr=`echo X | tr X '\015'`
20017 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20018 # But we know of no other shell where ac_cr would be empty at this
20019 # point, so we can use a bashism as a fallback.
20020 if test "x$ac_cr" = x; then
20021 eval ac_cr=\$\'\\r\'
20023 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20024 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20025 ac_cs_awk_cr='\\r'
20026 else
20027 ac_cs_awk_cr=$ac_cr
20030 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20031 _ACEOF
20035 echo "cat >conf$$subs.awk <<_ACEOF" &&
20036 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20037 echo "_ACEOF"
20038 } >conf$$subs.sh ||
20039 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20040 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20041 ac_delim='%!_!# '
20042 for ac_last_try in false false false false false :; do
20043 . ./conf$$subs.sh ||
20044 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20046 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20047 if test $ac_delim_n = $ac_delim_num; then
20048 break
20049 elif $ac_last_try; then
20050 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20051 else
20052 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20054 done
20055 rm -f conf$$subs.sh
20057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20058 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20059 _ACEOF
20060 sed -n '
20062 s/^/S["/; s/!.*/"]=/
20065 s/^[^!]*!//
20066 :repl
20067 t repl
20068 s/'"$ac_delim"'$//
20069 t delim
20072 s/\(.\{148\}\)..*/\1/
20073 t more1
20074 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20077 b repl
20078 :more1
20079 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20082 s/.\{148\}//
20083 t nl
20084 :delim
20086 s/\(.\{148\}\)..*/\1/
20087 t more2
20088 s/["\\]/\\&/g; s/^/"/; s/$/"/
20091 :more2
20092 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20095 s/.\{148\}//
20096 t delim
20097 ' <conf$$subs.awk | sed '
20098 /^[^""]/{
20100 s/\n//
20102 ' >>$CONFIG_STATUS || ac_write_fail=1
20103 rm -f conf$$subs.awk
20104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20105 _ACAWK
20106 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20107 for (key in S) S_is_set[key] = 1
20108 FS = "\a"
20112 line = $ 0
20113 nfields = split(line, field, "@")
20114 substed = 0
20115 len = length(field[1])
20116 for (i = 2; i < nfields; i++) {
20117 key = field[i]
20118 keylen = length(key)
20119 if (S_is_set[key]) {
20120 value = S[key]
20121 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20122 len += length(value) + length(field[++i])
20123 substed = 1
20124 } else
20125 len += 1 + keylen
20128 print line
20131 _ACAWK
20132 _ACEOF
20133 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20134 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20135 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20136 else
20138 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20139 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20140 _ACEOF
20142 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20143 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20144 # trailing colons and then remove the whole line if VPATH becomes empty
20145 # (actually we leave an empty line to preserve line numbers).
20146 if test "x$srcdir" = x.; then
20147 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20149 s///
20150 s/^/:/
20151 s/[ ]*$/:/
20152 s/:\$(srcdir):/:/g
20153 s/:\${srcdir}:/:/g
20154 s/:@srcdir@:/:/g
20155 s/^:*//
20156 s/:*$//
20158 s/\(=[ ]*\).*/\1/
20160 s/\n//
20161 s/^[^=]*=[ ]*$//
20165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20166 fi # test -n "$CONFIG_FILES"
20168 # Set up the scripts for CONFIG_HEADERS section.
20169 # No need to generate them if there are no CONFIG_HEADERS.
20170 # This happens for instance with `./config.status Makefile'.
20171 if test -n "$CONFIG_HEADERS"; then
20172 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20173 BEGIN {
20174 _ACEOF
20176 # Transform confdefs.h into an awk script `defines.awk', embedded as
20177 # here-document in config.status, that substitutes the proper values into
20178 # config.h.in to produce config.h.
20180 # Create a delimiter string that does not exist in confdefs.h, to ease
20181 # handling of long lines.
20182 ac_delim='%!_!# '
20183 for ac_last_try in false false :; do
20184 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20185 if test -z "$ac_tt"; then
20186 break
20187 elif $ac_last_try; then
20188 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20189 else
20190 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20192 done
20194 # For the awk script, D is an array of macro values keyed by name,
20195 # likewise P contains macro parameters if any. Preserve backslash
20196 # newline sequences.
20198 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20199 sed -n '
20200 s/.\{148\}/&'"$ac_delim"'/g
20201 t rset
20202 :rset
20203 s/^[ ]*#[ ]*define[ ][ ]*/ /
20204 t def
20206 :def
20207 s/\\$//
20208 t bsnl
20209 s/["\\]/\\&/g
20210 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20211 D["\1"]=" \3"/p
20212 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20214 :bsnl
20215 s/["\\]/\\&/g
20216 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20217 D["\1"]=" \3\\\\\\n"\\/p
20218 t cont
20219 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20220 t cont
20222 :cont
20224 s/.\{148\}/&'"$ac_delim"'/g
20225 t clear
20226 :clear
20227 s/\\$//
20228 t bsnlc
20229 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20231 :bsnlc
20232 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20233 b cont
20234 ' <confdefs.h | sed '
20235 s/'"$ac_delim"'/"\\\
20236 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20239 for (key in D) D_is_set[key] = 1
20240 FS = "\a"
20242 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20243 line = \$ 0
20244 split(line, arg, " ")
20245 if (arg[1] == "#") {
20246 defundef = arg[2]
20247 mac1 = arg[3]
20248 } else {
20249 defundef = substr(arg[1], 2)
20250 mac1 = arg[2]
20252 split(mac1, mac2, "(") #)
20253 macro = mac2[1]
20254 prefix = substr(line, 1, index(line, defundef) - 1)
20255 if (D_is_set[macro]) {
20256 # Preserve the white space surrounding the "#".
20257 print prefix "define", macro P[macro] D[macro]
20258 next
20259 } else {
20260 # Replace #undef with comments. This is necessary, for example,
20261 # in the case of _POSIX_SOURCE, which is predefined and required
20262 # on some systems where configure will not decide to define it.
20263 if (defundef == "undef") {
20264 print "/*", prefix defundef, macro, "*/"
20265 next
20269 { print }
20270 _ACAWK
20271 _ACEOF
20272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20273 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20274 fi # test -n "$CONFIG_HEADERS"
20277 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20278 shift
20279 for ac_tag
20281 case $ac_tag in
20282 :[FHLC]) ac_mode=$ac_tag; continue;;
20283 esac
20284 case $ac_mode$ac_tag in
20285 :[FHL]*:*);;
20286 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20287 :[FH]-) ac_tag=-:-;;
20288 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20289 esac
20290 ac_save_IFS=$IFS
20291 IFS=:
20292 set x $ac_tag
20293 IFS=$ac_save_IFS
20294 shift
20295 ac_file=$1
20296 shift
20298 case $ac_mode in
20299 :L) ac_source=$1;;
20300 :[FH])
20301 ac_file_inputs=
20302 for ac_f
20304 case $ac_f in
20305 -) ac_f="$ac_tmp/stdin";;
20306 *) # Look for the file first in the build tree, then in the source tree
20307 # (if the path is not absolute). The absolute path cannot be DOS-style,
20308 # because $ac_f cannot contain `:'.
20309 test -f "$ac_f" ||
20310 case $ac_f in
20311 [\\/$]*) false;;
20312 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20313 esac ||
20314 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20315 esac
20316 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20317 as_fn_append ac_file_inputs " '$ac_f'"
20318 done
20320 # Let's still pretend it is `configure' which instantiates (i.e., don't
20321 # use $as_me), people would be surprised to read:
20322 # /* config.h. Generated by config.status. */
20323 configure_input='Generated from '`
20324 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20325 `' by configure.'
20326 if test x"$ac_file" != x-; then
20327 configure_input="$ac_file. $configure_input"
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20329 $as_echo "$as_me: creating $ac_file" >&6;}
20331 # Neutralize special characters interpreted by sed in replacement strings.
20332 case $configure_input in #(
20333 *\&* | *\|* | *\\* )
20334 ac_sed_conf_input=`$as_echo "$configure_input" |
20335 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20336 *) ac_sed_conf_input=$configure_input;;
20337 esac
20339 case $ac_tag in
20340 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20341 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20342 esac
20344 esac
20346 ac_dir=`$as_dirname -- "$ac_file" ||
20347 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20348 X"$ac_file" : 'X\(//\)[^/]' \| \
20349 X"$ac_file" : 'X\(//\)$' \| \
20350 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20351 $as_echo X"$ac_file" |
20352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20353 s//\1/
20356 /^X\(\/\/\)[^/].*/{
20357 s//\1/
20360 /^X\(\/\/\)$/{
20361 s//\1/
20364 /^X\(\/\).*/{
20365 s//\1/
20368 s/.*/./; q'`
20369 as_dir="$ac_dir"; as_fn_mkdir_p
20370 ac_builddir=.
20372 case "$ac_dir" in
20373 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20375 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20376 # A ".." for each directory in $ac_dir_suffix.
20377 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20378 case $ac_top_builddir_sub in
20379 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20380 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20381 esac ;;
20382 esac
20383 ac_abs_top_builddir=$ac_pwd
20384 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20385 # for backward compatibility:
20386 ac_top_builddir=$ac_top_build_prefix
20388 case $srcdir in
20389 .) # We are building in place.
20390 ac_srcdir=.
20391 ac_top_srcdir=$ac_top_builddir_sub
20392 ac_abs_top_srcdir=$ac_pwd ;;
20393 [\\/]* | ?:[\\/]* ) # Absolute name.
20394 ac_srcdir=$srcdir$ac_dir_suffix;
20395 ac_top_srcdir=$srcdir
20396 ac_abs_top_srcdir=$srcdir ;;
20397 *) # Relative name.
20398 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20399 ac_top_srcdir=$ac_top_build_prefix$srcdir
20400 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20401 esac
20402 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20405 case $ac_mode in
20408 # CONFIG_FILE
20411 _ACEOF
20413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20414 # If the template does not know about datarootdir, expand it.
20415 # FIXME: This hack should be removed a few years after 2.60.
20416 ac_datarootdir_hack=; ac_datarootdir_seen=
20417 ac_sed_dataroot='
20418 /datarootdir/ {
20422 /@datadir@/p
20423 /@docdir@/p
20424 /@infodir@/p
20425 /@localedir@/p
20426 /@mandir@/p'
20427 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20428 *datarootdir*) ac_datarootdir_seen=yes;;
20429 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20431 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20432 _ACEOF
20433 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20434 ac_datarootdir_hack='
20435 s&@datadir@&$datadir&g
20436 s&@docdir@&$docdir&g
20437 s&@infodir@&$infodir&g
20438 s&@localedir@&$localedir&g
20439 s&@mandir@&$mandir&g
20440 s&\\\${datarootdir}&$datarootdir&g' ;;
20441 esac
20442 _ACEOF
20444 # Neutralize VPATH when `$srcdir' = `.'.
20445 # Shell code in configure.ac might set extrasub.
20446 # FIXME: do we really want to maintain this feature?
20447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20448 ac_sed_extra="$ac_vpsub
20449 $extrasub
20450 _ACEOF
20451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20453 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20454 s|@configure_input@|$ac_sed_conf_input|;t t
20455 s&@top_builddir@&$ac_top_builddir_sub&;t t
20456 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20457 s&@srcdir@&$ac_srcdir&;t t
20458 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20459 s&@top_srcdir@&$ac_top_srcdir&;t t
20460 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20461 s&@builddir@&$ac_builddir&;t t
20462 s&@abs_builddir@&$ac_abs_builddir&;t t
20463 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20464 $ac_datarootdir_hack
20466 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20467 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20469 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20470 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20471 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20472 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20474 which seems to be undefined. Please make sure it is defined" >&5
20475 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20476 which seems to be undefined. Please make sure it is defined" >&2;}
20478 rm -f "$ac_tmp/stdin"
20479 case $ac_file in
20480 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20481 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20482 esac \
20483 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20487 # CONFIG_HEADER
20489 if test x"$ac_file" != x-; then
20491 $as_echo "/* $configure_input */" \
20492 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20493 } >"$ac_tmp/config.h" \
20494 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20495 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20497 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20498 else
20499 rm -f "$ac_file"
20500 mv "$ac_tmp/config.h" "$ac_file" \
20501 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20503 else
20504 $as_echo "/* $configure_input */" \
20505 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20506 || as_fn_error $? "could not create -" "$LINENO" 5
20511 # CONFIG_LINK
20514 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20516 else
20517 # Prefer the file from the source tree if names are identical.
20518 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20519 ac_source=$srcdir/$ac_source
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20523 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20525 if test ! -r "$ac_source"; then
20526 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20528 rm -f "$ac_file"
20530 # Try a relative symlink, then a hard link, then a copy.
20531 case $ac_source in
20532 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20533 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20534 esac
20535 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20536 ln "$ac_source" "$ac_file" 2>/dev/null ||
20537 cp -p "$ac_source" "$ac_file" ||
20538 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20541 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20542 $as_echo "$as_me: executing $ac_file commands" >&6;}
20544 esac
20547 case $ac_file$ac_mode in
20548 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20549 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20550 "Makefile":C) wine_fn_output_makefile Makefile ;;
20552 esac
20553 done # for ac_tag
20556 as_fn_exit 0
20557 _ACEOF
20558 ac_clean_files=$ac_clean_files_save
20560 test $ac_write_fail = 0 ||
20561 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20564 # configure is writing to config.log, and then calls config.status.
20565 # config.status does its own redirection, appending to config.log.
20566 # Unfortunately, on DOS this fails, as config.log is still kept open
20567 # by configure, so config.status won't be able to write to it; its
20568 # output is simply discarded. So we exec the FD to /dev/null,
20569 # effectively closing config.log, so it can be properly (re)opened and
20570 # appended to by config.status. When coming back to configure, we
20571 # need to make the FD available again.
20572 if test "$no_create" != yes; then
20573 ac_cs_success=:
20574 ac_config_status_args=
20575 test "$silent" = yes &&
20576 ac_config_status_args="$ac_config_status_args --quiet"
20577 exec 5>/dev/null
20578 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20579 exec 5>>config.log
20580 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20581 # would make configure fail if this is the last instruction.
20582 $ac_cs_success || as_fn_exit 1
20584 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20586 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20590 if test "$no_create" = "yes"
20591 then
20592 exit 0
20595 ac_save_IFS="$IFS"
20596 if test "x$wine_notices" != x; then
20597 echo >&6
20598 IFS="|"
20599 for msg in $wine_notices; do
20600 IFS="$ac_save_IFS"
20601 if ${msg:+false} :; then :
20603 else
20604 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20605 $as_echo "$as_me: $msg" >&6;}
20607 done
20609 IFS="|"
20610 for msg in $wine_warnings; do
20611 IFS="$ac_save_IFS"
20612 if ${msg:+false} :; then :
20614 else
20615 echo >&2
20616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20617 $as_echo "$as_me: WARNING: $msg" >&2;}
20619 done
20620 IFS="$ac_save_IFS"
20622 $as_echo "
20623 $as_me: Finished. Do '${ac_make}' to compile Wine.
20624 " >&6