d3d8/tests: Use a borderless window for test_cursor_pos.
[wine.git] / configure
blobe2c35a9a9bcb08bca64c54d826c912f4db5853c5
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 FONTCONFIG_LIBS
652 FONTCONFIG_CFLAGS
653 CUPS_LIBS
654 CUPS_CFLAGS
655 CAPI20_LIBS
656 CAPI20_CFLAGS
657 UDEV_LIBS
658 UDEV_CFLAGS
659 OSS4_CFLAGS
660 ALSA_LIBS
661 GSTREAMER_LIBS
662 GSTREAMER_CFLAGS
663 PULSE_LIBS
664 PULSE_CFLAGS
665 GETTEXTPO_LIBS
666 Z_LIBS
667 FREETYPE_LIBS
668 FREETYPE_CFLAGS
669 LCMS2_LIBS
670 LCMS2_CFLAGS
671 RESOLV_LIBS
672 GPHOTO2_PORT_LIBS
673 GPHOTO2_PORT_CFLAGS
674 GPHOTO2_LIBS
675 GPHOTO2_CFLAGS
676 SANE_LIBS
677 SANE_CFLAGS
678 GNUTLS_LIBS
679 GNUTLS_CFLAGS
680 HAL_LIBS
681 HAL_CFLAGS
682 DBUS_LIBS
683 DBUS_CFLAGS
684 XSLT_LIBS
685 XSLT_CFLAGS
686 XML2_LIBS
687 XML2_CFLAGS
688 PCAP_LIBS
689 X_EXTRA_LIBS
690 X_LIBS
691 X_PRE_LIBS
692 X_CFLAGS
693 XMKMF
694 PTHREAD_LIBS
695 CROSSCFLAGS
696 CROSSCC
697 CROSSTARGET
698 PRELINK
699 WINELOADER_DEPENDS
700 CARBON_LIBS
701 QUICKTIME_LIBS
702 OPENCL_LIBS
703 OPENAL_LIBS
704 COREAUDIO_LIBS
705 SECURITY_LIBS
706 DISKARBITRATION_LIBS
707 APPKIT_LIBS
708 CORESERVICES_LIBS
709 APPLICATIONSERVICES_LIBS
710 FORCEFEEDBACK_LIBS
711 IOKIT_LIBS
712 COREFOUNDATION_LIBS
713 LIBWINE_DEPENDS
714 LIBWINE_LDFLAGS
715 LIBWINE_INSTALL_DEV
716 LIBWINE_INSTALL_LIB
717 LIBWINE_IMPORTLIB
718 LIBWINE_SHAREDLIB
719 SOCKET_LIBS
720 DLLTOOL
721 WINELOADER_PROGRAMS
722 ALL_TEST_RESOURCES
723 CONFIGURE_TARGETS
724 DISABLED_SUBDIRS
725 SUBDIRS
726 READELF
727 OTOOL
729 WINELOADER_LDFLAGS
730 LDEXECFLAGS
731 LDRPATH_LOCAL
732 LDRPATH_INSTALL
733 DLLFLAGS
734 dlldir
736 OPENGL_LIBS
737 ICOTOOL
738 CONVERT
739 RSVG
740 FONTFORGE
741 PKG_CONFIG
742 MSGFMT
743 LDCONFIG
744 EGREP
745 GREP
746 LN_S
747 RANLIB
748 ARFLAGS
749 STRIP
750 ac_ct_AR
752 BISON
753 FLEX
754 TOOLSDIR
755 TARGETFLAGS
757 CPPBIN
758 ac_ct_CXX
759 CXXFLAGS
761 OBJEXT
762 EXEEXT
763 ac_ct_CC
764 CPPFLAGS
765 LDFLAGS
766 CFLAGS
768 SET_MAKE
769 host_os
770 host_vendor
771 host_cpu
772 host
773 build_os
774 build_vendor
775 build_cpu
776 build
777 target_alias
778 host_alias
779 build_alias
780 LIBS
781 ECHO_T
782 ECHO_N
783 ECHO_C
784 DEFS
785 mandir
786 localedir
787 libdir
788 psdir
789 pdfdir
790 dvidir
791 htmldir
792 infodir
793 docdir
794 oldincludedir
795 includedir
796 runstatedir
797 localstatedir
798 sharedstatedir
799 sysconfdir
800 datadir
801 datarootdir
802 libexecdir
803 sbindir
804 bindir
805 program_transform_name
806 prefix
807 exec_prefix
808 PACKAGE_URL
809 PACKAGE_BUGREPORT
810 PACKAGE_STRING
811 PACKAGE_VERSION
812 PACKAGE_TARNAME
813 PACKAGE_NAME
814 PATH_SEPARATOR
815 SHELL'
816 ac_subst_files=''
817 ac_user_opts='
818 enable_option_checking
819 enable_win16
820 enable_win64
821 enable_tests
822 enable_maintainer_mode
823 with_alsa
824 with_capi
825 with_cms
826 with_coreaudio
827 with_cups
828 with_curses
829 with_dbus
830 with_fontconfig
831 with_freetype
832 with_gettext
833 with_gettextpo
834 with_gphoto
835 with_glu
836 with_gnutls
837 with_gsm
838 with_gstreamer
839 with_hal
840 with_jpeg
841 with_ldap
842 with_mpg123
843 with_netapi
844 with_openal
845 with_opencl
846 with_opengl
847 with_osmesa
848 with_oss
849 with_pcap
850 with_png
851 with_pthread
852 with_pulse
853 with_sane
854 with_tiff
855 with_udev
856 with_v4l
857 with_xcomposite
858 with_xcursor
859 with_xfixes
860 with_xinerama
861 with_xinput
862 with_xinput2
863 with_xml
864 with_xrandr
865 with_xrender
866 with_xshape
867 with_xshm
868 with_xslt
869 with_xxf86vm
870 with_zlib
871 with_wine_tools
872 with_wine64
873 enable_largefile
874 with_x
875 enable_acledit
876 enable_aclui
877 enable_activeds
878 enable_actxprxy
879 enable_adsldpc
880 enable_advapi32
881 enable_advpack
882 enable_amstream
883 enable_api_ms_win_appmodel_identity_l1_1_0
884 enable_api_ms_win_appmodel_runtime_l1_1_1
885 enable_api_ms_win_appmodel_runtime_l1_1_2
886 enable_api_ms_win_core_apiquery_l1_1_0
887 enable_api_ms_win_core_appcompat_l1_1_1
888 enable_api_ms_win_core_appinit_l1_1_0
889 enable_api_ms_win_core_atoms_l1_1_0
890 enable_api_ms_win_core_bem_l1_1_0
891 enable_api_ms_win_core_com_l1_1_0
892 enable_api_ms_win_core_com_l1_1_1
893 enable_api_ms_win_core_com_private_l1_1_0
894 enable_api_ms_win_core_console_l1_1_0
895 enable_api_ms_win_core_console_l2_1_0
896 enable_api_ms_win_core_crt_l1_1_0
897 enable_api_ms_win_core_crt_l2_1_0
898 enable_api_ms_win_core_datetime_l1_1_0
899 enable_api_ms_win_core_datetime_l1_1_1
900 enable_api_ms_win_core_debug_l1_1_0
901 enable_api_ms_win_core_debug_l1_1_1
902 enable_api_ms_win_core_delayload_l1_1_0
903 enable_api_ms_win_core_delayload_l1_1_1
904 enable_api_ms_win_core_errorhandling_l1_1_0
905 enable_api_ms_win_core_errorhandling_l1_1_1
906 enable_api_ms_win_core_errorhandling_l1_1_2
907 enable_api_ms_win_core_errorhandling_l1_1_3
908 enable_api_ms_win_core_fibers_l1_1_0
909 enable_api_ms_win_core_fibers_l1_1_1
910 enable_api_ms_win_core_file_l1_1_0
911 enable_api_ms_win_core_file_l1_2_0
912 enable_api_ms_win_core_file_l1_2_1
913 enable_api_ms_win_core_file_l1_2_2
914 enable_api_ms_win_core_file_l2_1_0
915 enable_api_ms_win_core_file_l2_1_1
916 enable_api_ms_win_core_file_l2_1_2
917 enable_api_ms_win_core_handle_l1_1_0
918 enable_api_ms_win_core_heap_l1_1_0
919 enable_api_ms_win_core_heap_l1_2_0
920 enable_api_ms_win_core_heap_l2_1_0
921 enable_api_ms_win_core_heap_obsolete_l1_1_0
922 enable_api_ms_win_core_interlocked_l1_1_0
923 enable_api_ms_win_core_interlocked_l1_2_0
924 enable_api_ms_win_core_io_l1_1_0
925 enable_api_ms_win_core_io_l1_1_1
926 enable_api_ms_win_core_job_l1_1_0
927 enable_api_ms_win_core_job_l2_1_0
928 enable_api_ms_win_core_kernel32_legacy_l1_1_0
929 enable_api_ms_win_core_kernel32_legacy_l1_1_1
930 enable_api_ms_win_core_kernel32_private_l1_1_1
931 enable_api_ms_win_core_libraryloader_l1_1_0
932 enable_api_ms_win_core_libraryloader_l1_1_1
933 enable_api_ms_win_core_libraryloader_l1_2_0
934 enable_api_ms_win_core_libraryloader_l1_2_1
935 enable_api_ms_win_core_libraryloader_l1_2_2
936 enable_api_ms_win_core_localization_l1_1_0
937 enable_api_ms_win_core_localization_l1_2_0
938 enable_api_ms_win_core_localization_l1_2_1
939 enable_api_ms_win_core_localization_l2_1_0
940 enable_api_ms_win_core_localization_obsolete_l1_1_0
941 enable_api_ms_win_core_localization_obsolete_l1_2_0
942 enable_api_ms_win_core_localization_obsolete_l1_3_0
943 enable_api_ms_win_core_localization_private_l1_1_0
944 enable_api_ms_win_core_localregistry_l1_1_0
945 enable_api_ms_win_core_memory_l1_1_0
946 enable_api_ms_win_core_memory_l1_1_1
947 enable_api_ms_win_core_memory_l1_1_2
948 enable_api_ms_win_core_misc_l1_1_0
949 enable_api_ms_win_core_namedpipe_l1_1_0
950 enable_api_ms_win_core_namedpipe_l1_2_0
951 enable_api_ms_win_core_namespace_l1_1_0
952 enable_api_ms_win_core_normalization_l1_1_0
953 enable_api_ms_win_core_path_l1_1_0
954 enable_api_ms_win_core_privateprofile_l1_1_1
955 enable_api_ms_win_core_processenvironment_l1_1_0
956 enable_api_ms_win_core_processenvironment_l1_2_0
957 enable_api_ms_win_core_processthreads_l1_1_0
958 enable_api_ms_win_core_processthreads_l1_1_1
959 enable_api_ms_win_core_processthreads_l1_1_2
960 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
961 enable_api_ms_win_core_profile_l1_1_0
962 enable_api_ms_win_core_psapi_ansi_l1_1_0
963 enable_api_ms_win_core_psapi_l1_1_0
964 enable_api_ms_win_core_psapi_obsolete_l1_1_0
965 enable_api_ms_win_core_quirks_l1_1_0
966 enable_api_ms_win_core_realtime_l1_1_0
967 enable_api_ms_win_core_registry_l1_1_0
968 enable_api_ms_win_core_registry_l2_1_0
969 enable_api_ms_win_core_registryuserspecific_l1_1_0
970 enable_api_ms_win_core_rtlsupport_l1_1_0
971 enable_api_ms_win_core_rtlsupport_l1_2_0
972 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
973 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
974 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
975 enable_api_ms_win_core_sidebyside_l1_1_0
976 enable_api_ms_win_core_string_l1_1_0
977 enable_api_ms_win_core_string_l2_1_0
978 enable_api_ms_win_core_string_obsolete_l1_1_0
979 enable_api_ms_win_core_stringansi_l1_1_0
980 enable_api_ms_win_core_synch_ansi_l1_1_0
981 enable_api_ms_win_core_synch_l1_1_0
982 enable_api_ms_win_core_synch_l1_2_0
983 enable_api_ms_win_core_synch_l1_2_1
984 enable_api_ms_win_core_sysinfo_l1_1_0
985 enable_api_ms_win_core_sysinfo_l1_2_0
986 enable_api_ms_win_core_sysinfo_l1_2_1
987 enable_api_ms_win_core_threadpool_l1_1_0
988 enable_api_ms_win_core_threadpool_l1_2_0
989 enable_api_ms_win_core_threadpool_legacy_l1_1_0
990 enable_api_ms_win_core_threadpool_private_l1_1_0
991 enable_api_ms_win_core_timezone_l1_1_0
992 enable_api_ms_win_core_toolhelp_l1_1_0
993 enable_api_ms_win_core_url_l1_1_0
994 enable_api_ms_win_core_util_l1_1_0
995 enable_api_ms_win_core_version_l1_1_0
996 enable_api_ms_win_core_version_l1_1_1
997 enable_api_ms_win_core_version_private_l1_1_0
998 enable_api_ms_win_core_versionansi_l1_1_0
999 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1000 enable_api_ms_win_core_winrt_error_l1_1_0
1001 enable_api_ms_win_core_winrt_error_l1_1_1
1002 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1003 enable_api_ms_win_core_winrt_l1_1_0
1004 enable_api_ms_win_core_winrt_registration_l1_1_0
1005 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1006 enable_api_ms_win_core_winrt_string_l1_1_0
1007 enable_api_ms_win_core_wow64_l1_1_0
1008 enable_api_ms_win_core_wow64_l1_1_1
1009 enable_api_ms_win_core_xstate_l1_1_0
1010 enable_api_ms_win_core_xstate_l2_1_0
1011 enable_api_ms_win_crt_conio_l1_1_0
1012 enable_api_ms_win_crt_convert_l1_1_0
1013 enable_api_ms_win_crt_environment_l1_1_0
1014 enable_api_ms_win_crt_filesystem_l1_1_0
1015 enable_api_ms_win_crt_heap_l1_1_0
1016 enable_api_ms_win_crt_locale_l1_1_0
1017 enable_api_ms_win_crt_math_l1_1_0
1018 enable_api_ms_win_crt_multibyte_l1_1_0
1019 enable_api_ms_win_crt_private_l1_1_0
1020 enable_api_ms_win_crt_process_l1_1_0
1021 enable_api_ms_win_crt_runtime_l1_1_0
1022 enable_api_ms_win_crt_stdio_l1_1_0
1023 enable_api_ms_win_crt_string_l1_1_0
1024 enable_api_ms_win_crt_time_l1_1_0
1025 enable_api_ms_win_crt_utility_l1_1_0
1026 enable_api_ms_win_devices_config_l1_1_1
1027 enable_api_ms_win_devices_query_l1_1_1
1028 enable_api_ms_win_downlevel_advapi32_l1_1_0
1029 enable_api_ms_win_downlevel_advapi32_l2_1_0
1030 enable_api_ms_win_downlevel_normaliz_l1_1_0
1031 enable_api_ms_win_downlevel_ole32_l1_1_0
1032 enable_api_ms_win_downlevel_shell32_l1_1_0
1033 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1034 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1035 enable_api_ms_win_downlevel_user32_l1_1_0
1036 enable_api_ms_win_downlevel_version_l1_1_0
1037 enable_api_ms_win_dx_d3dkmt_l1_1_0
1038 enable_api_ms_win_eventing_classicprovider_l1_1_0
1039 enable_api_ms_win_eventing_consumer_l1_1_0
1040 enable_api_ms_win_eventing_controller_l1_1_0
1041 enable_api_ms_win_eventing_legacy_l1_1_0
1042 enable_api_ms_win_eventing_provider_l1_1_0
1043 enable_api_ms_win_eventlog_legacy_l1_1_0
1044 enable_api_ms_win_mm_joystick_l1_1_0
1045 enable_api_ms_win_mm_misc_l1_1_1
1046 enable_api_ms_win_mm_mme_l1_1_0
1047 enable_api_ms_win_mm_time_l1_1_0
1048 enable_api_ms_win_ntuser_dc_access_l1_1_0
1049 enable_api_ms_win_ntuser_rectangle_l1_1_0
1050 enable_api_ms_win_power_base_l1_1_0
1051 enable_api_ms_win_power_setting_l1_1_0
1052 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1053 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1054 enable_api_ms_win_security_audit_l1_1_1
1055 enable_api_ms_win_security_base_l1_1_0
1056 enable_api_ms_win_security_base_l1_2_0
1057 enable_api_ms_win_security_base_private_l1_1_1
1058 enable_api_ms_win_security_credentials_l1_1_0
1059 enable_api_ms_win_security_grouppolicy_l1_1_0
1060 enable_api_ms_win_security_lsalookup_l1_1_0
1061 enable_api_ms_win_security_lsalookup_l1_1_1
1062 enable_api_ms_win_security_lsalookup_l2_1_1
1063 enable_api_ms_win_security_lsapolicy_l1_1_0
1064 enable_api_ms_win_security_provider_l1_1_0
1065 enable_api_ms_win_security_sddl_l1_1_0
1066 enable_api_ms_win_security_systemfunctions_l1_1_0
1067 enable_api_ms_win_service_core_l1_1_0
1068 enable_api_ms_win_service_core_l1_1_1
1069 enable_api_ms_win_service_management_l1_1_0
1070 enable_api_ms_win_service_management_l2_1_0
1071 enable_api_ms_win_service_private_l1_1_1
1072 enable_api_ms_win_service_winsvc_l1_1_0
1073 enable_api_ms_win_service_winsvc_l1_2_0
1074 enable_api_ms_win_shell_shellcom_l1_1_0
1075 enable_api_ms_win_shell_shellfolders_l1_1_0
1076 enable_apphelp
1077 enable_appwiz_cpl
1078 enable_atl
1079 enable_atl100
1080 enable_atl110
1081 enable_atl80
1082 enable_atl90
1083 enable_authz
1084 enable_avicap32
1085 enable_avifil32
1086 enable_avrt
1087 enable_bcrypt
1088 enable_bluetoothapis
1089 enable_browseui
1090 enable_bthprops_cpl
1091 enable_cabinet
1092 enable_capi2032
1093 enable_cards
1094 enable_cfgmgr32
1095 enable_clusapi
1096 enable_combase
1097 enable_comcat
1098 enable_comctl32
1099 enable_comdlg32
1100 enable_compstui
1101 enable_comsvcs
1102 enable_concrt140
1103 enable_connect
1104 enable_credui
1105 enable_crtdll
1106 enable_crypt32
1107 enable_cryptdlg
1108 enable_cryptdll
1109 enable_cryptext
1110 enable_cryptnet
1111 enable_cryptui
1112 enable_ctapi32
1113 enable_ctl3d32
1114 enable_d2d1
1115 enable_d3d10
1116 enable_d3d10_1
1117 enable_d3d10core
1118 enable_d3d11
1119 enable_d3d8
1120 enable_d3d9
1121 enable_d3dcompiler_33
1122 enable_d3dcompiler_34
1123 enable_d3dcompiler_35
1124 enable_d3dcompiler_36
1125 enable_d3dcompiler_37
1126 enable_d3dcompiler_38
1127 enable_d3dcompiler_39
1128 enable_d3dcompiler_40
1129 enable_d3dcompiler_41
1130 enable_d3dcompiler_42
1131 enable_d3dcompiler_43
1132 enable_d3dcompiler_46
1133 enable_d3dcompiler_47
1134 enable_d3dim
1135 enable_d3drm
1136 enable_d3dx10_33
1137 enable_d3dx10_34
1138 enable_d3dx10_35
1139 enable_d3dx10_36
1140 enable_d3dx10_37
1141 enable_d3dx10_38
1142 enable_d3dx10_39
1143 enable_d3dx10_40
1144 enable_d3dx10_41
1145 enable_d3dx10_42
1146 enable_d3dx10_43
1147 enable_d3dx11_42
1148 enable_d3dx11_43
1149 enable_d3dx9_24
1150 enable_d3dx9_25
1151 enable_d3dx9_26
1152 enable_d3dx9_27
1153 enable_d3dx9_28
1154 enable_d3dx9_29
1155 enable_d3dx9_30
1156 enable_d3dx9_31
1157 enable_d3dx9_32
1158 enable_d3dx9_33
1159 enable_d3dx9_34
1160 enable_d3dx9_35
1161 enable_d3dx9_36
1162 enable_d3dx9_37
1163 enable_d3dx9_38
1164 enable_d3dx9_39
1165 enable_d3dx9_40
1166 enable_d3dx9_41
1167 enable_d3dx9_42
1168 enable_d3dx9_43
1169 enable_d3dxof
1170 enable_davclnt
1171 enable_dbgeng
1172 enable_dbghelp
1173 enable_dciman32
1174 enable_ddraw
1175 enable_ddrawex
1176 enable_devenum
1177 enable_dhcpcsvc
1178 enable_difxapi
1179 enable_dinput
1180 enable_dinput8
1181 enable_dispex
1182 enable_dmband
1183 enable_dmcompos
1184 enable_dmime
1185 enable_dmloader
1186 enable_dmscript
1187 enable_dmstyle
1188 enable_dmsynth
1189 enable_dmusic
1190 enable_dmusic32
1191 enable_dnsapi
1192 enable_dplay
1193 enable_dplayx
1194 enable_dpnaddr
1195 enable_dpnet
1196 enable_dpnhpast
1197 enable_dpnlobby
1198 enable_dpvoice
1199 enable_dpwsockx
1200 enable_drmclien
1201 enable_dsound
1202 enable_dsquery
1203 enable_dssenh
1204 enable_dswave
1205 enable_dwmapi
1206 enable_dwrite
1207 enable_dx8vb
1208 enable_dxdiagn
1209 enable_dxgi
1210 enable_dxva2
1211 enable_esent
1212 enable_evr
1213 enable_explorerframe
1214 enable_ext_ms_win_authz_context_l1_1_0
1215 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1216 enable_ext_ms_win_gdi_dc_create_l1_1_1
1217 enable_ext_ms_win_gdi_dc_l1_2_0
1218 enable_ext_ms_win_gdi_devcaps_l1_1_0
1219 enable_ext_ms_win_gdi_draw_l1_1_1
1220 enable_ext_ms_win_gdi_render_l1_1_0
1221 enable_ext_ms_win_kernel32_package_current_l1_1_0
1222 enable_ext_ms_win_kernel32_package_l1_1_1
1223 enable_ext_ms_win_ntuser_message_l1_1_1
1224 enable_ext_ms_win_ntuser_private_l1_1_1
1225 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1226 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1227 enable_ext_ms_win_ntuser_window_l1_1_1
1228 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1229 enable_ext_ms_win_ras_rasapi32_l1_1_0
1230 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1231 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1232 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1233 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1234 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1235 enable_ext_ms_win_security_credui_l1_1_0
1236 enable_ext_ms_win_security_cryptui_l1_1_0
1237 enable_faultrep
1238 enable_fltlib
1239 enable_fltmgr_sys
1240 enable_fntcache
1241 enable_fontsub
1242 enable_fusion
1243 enable_fwpuclnt
1244 enable_gameux
1245 enable_gdi32
1246 enable_gdiplus
1247 enable_glu32
1248 enable_gphoto2_ds
1249 enable_gpkcsp
1250 enable_hal
1251 enable_hhctrl_ocx
1252 enable_hid
1253 enable_hidclass_sys
1254 enable_hlink
1255 enable_hnetcfg
1256 enable_httpapi
1257 enable_iccvid
1258 enable_icmp
1259 enable_ieframe
1260 enable_ieproxy
1261 enable_imaadp32_acm
1262 enable_imagehlp
1263 enable_imm32
1264 enable_inetcomm
1265 enable_inetcpl_cpl
1266 enable_inetmib1
1267 enable_infosoft
1268 enable_initpki
1269 enable_inkobj
1270 enable_inseng
1271 enable_iphlpapi
1272 enable_iprop
1273 enable_irprops_cpl
1274 enable_itircl
1275 enable_itss
1276 enable_joy_cpl
1277 enable_jscript
1278 enable_jsproxy
1279 enable_kernel32
1280 enable_kernelbase
1281 enable_ksuser
1282 enable_ktmw32
1283 enable_l3codeca_acm
1284 enable_loadperf
1285 enable_localspl
1286 enable_localui
1287 enable_lz32
1288 enable_mapi32
1289 enable_mapistub
1290 enable_mciavi32
1291 enable_mcicda
1292 enable_mciqtz32
1293 enable_mciseq
1294 enable_mciwave
1295 enable_mf
1296 enable_mf3216
1297 enable_mfplat
1298 enable_mfreadwrite
1299 enable_mgmtapi
1300 enable_midimap
1301 enable_mlang
1302 enable_mmcndmgr
1303 enable_mmdevapi
1304 enable_mountmgr_sys
1305 enable_mpr
1306 enable_mprapi
1307 enable_msacm32_drv
1308 enable_msacm32
1309 enable_msadp32_acm
1310 enable_msasn1
1311 enable_mscat32
1312 enable_mscms
1313 enable_mscoree
1314 enable_msctf
1315 enable_msctfp
1316 enable_msdaps
1317 enable_msdelta
1318 enable_msdmo
1319 enable_msdrm
1320 enable_msftedit
1321 enable_msg711_acm
1322 enable_msgsm32_acm
1323 enable_mshtml_tlb
1324 enable_mshtml
1325 enable_msi
1326 enable_msident
1327 enable_msimg32
1328 enable_msimsg
1329 enable_msimtf
1330 enable_msisip
1331 enable_msisys_ocx
1332 enable_msls31
1333 enable_msnet32
1334 enable_mspatcha
1335 enable_msports
1336 enable_msrle32
1337 enable_msscript_ocx
1338 enable_mssign32
1339 enable_mssip32
1340 enable_mstask
1341 enable_msvcirt
1342 enable_msvcm80
1343 enable_msvcm90
1344 enable_msvcp100
1345 enable_msvcp110
1346 enable_msvcp120
1347 enable_msvcp120_app
1348 enable_msvcp140
1349 enable_msvcp60
1350 enable_msvcp70
1351 enable_msvcp71
1352 enable_msvcp80
1353 enable_msvcp90
1354 enable_msvcr100
1355 enable_msvcr110
1356 enable_msvcr120
1357 enable_msvcr120_app
1358 enable_msvcr70
1359 enable_msvcr71
1360 enable_msvcr80
1361 enable_msvcr90
1362 enable_msvcrt
1363 enable_msvcrt20
1364 enable_msvcrt40
1365 enable_msvcrtd
1366 enable_msvfw32
1367 enable_msvidc32
1368 enable_mswsock
1369 enable_msxml
1370 enable_msxml2
1371 enable_msxml3
1372 enable_msxml4
1373 enable_msxml6
1374 enable_mtxdm
1375 enable_ncrypt
1376 enable_nddeapi
1377 enable_ndis_sys
1378 enable_netapi32
1379 enable_netcfgx
1380 enable_netprofm
1381 enable_newdev
1382 enable_normaliz
1383 enable_npmshtml
1384 enable_npptools
1385 enable_ntdll
1386 enable_ntdsapi
1387 enable_ntoskrnl_exe
1388 enable_ntprint
1389 enable_objsel
1390 enable_odbc32
1391 enable_odbccp32
1392 enable_odbccu32
1393 enable_ole32
1394 enable_oleacc
1395 enable_oleaut32
1396 enable_olecli32
1397 enable_oledb32
1398 enable_oledlg
1399 enable_olepro32
1400 enable_olesvr32
1401 enable_olethk32
1402 enable_openal32
1403 enable_opencl
1404 enable_opengl32
1405 enable_packager
1406 enable_pdh
1407 enable_photometadatahandler
1408 enable_pidgen
1409 enable_powrprof
1410 enable_printui
1411 enable_prntvpt
1412 enable_propsys
1413 enable_psapi
1414 enable_pstorec
1415 enable_qcap
1416 enable_qedit
1417 enable_qmgr
1418 enable_qmgrprxy
1419 enable_quartz
1420 enable_query
1421 enable_rasapi32
1422 enable_rasdlg
1423 enable_regapi
1424 enable_resutils
1425 enable_riched20
1426 enable_riched32
1427 enable_rpcrt4
1428 enable_rsabase
1429 enable_rsaenh
1430 enable_rstrtmgr
1431 enable_rtutils
1432 enable_samlib
1433 enable_sane_ds
1434 enable_sapi
1435 enable_scarddlg
1436 enable_sccbase
1437 enable_schannel
1438 enable_schedsvc
1439 enable_scrobj
1440 enable_scrrun
1441 enable_scsiport_sys
1442 enable_secur32
1443 enable_security
1444 enable_sensapi
1445 enable_serialui
1446 enable_setupapi
1447 enable_sfc
1448 enable_sfc_os
1449 enable_shdoclc
1450 enable_shdocvw
1451 enable_shell32
1452 enable_shfolder
1453 enable_shlwapi
1454 enable_slbcsp
1455 enable_slc
1456 enable_snmpapi
1457 enable_softpub
1458 enable_spoolss
1459 enable_sspicli
1460 enable_stdole2_tlb
1461 enable_stdole32_tlb
1462 enable_sti
1463 enable_svrapi
1464 enable_sxs
1465 enable_t2embed
1466 enable_tapi32
1467 enable_taskschd
1468 enable_tdh
1469 enable_tdi_sys
1470 enable_traffic
1471 enable_twain_32
1472 enable_ucrtbase
1473 enable_uiautomationcore
1474 enable_uiribbon
1475 enable_unicows
1476 enable_updspapi
1477 enable_url
1478 enable_urlmon
1479 enable_usbd_sys
1480 enable_user32
1481 enable_userenv
1482 enable_usp10
1483 enable_uxtheme
1484 enable_vbscript
1485 enable_vcomp
1486 enable_vcomp100
1487 enable_vcomp110
1488 enable_vcomp120
1489 enable_vcomp140
1490 enable_vcomp90
1491 enable_vcruntime140
1492 enable_vdmdbg
1493 enable_version
1494 enable_virtdisk
1495 enable_vssapi
1496 enable_wbemdisp
1497 enable_wbemprox
1498 enable_webservices
1499 enable_wer
1500 enable_wevtapi
1501 enable_wiaservc
1502 enable_wimgapi
1503 enable_windowscodecs
1504 enable_windowscodecsext
1505 enable_winealsa_drv
1506 enable_wineandroid_drv
1507 enable_winebus_sys
1508 enable_winecoreaudio_drv
1509 enable_wined3d
1510 enable_winegstreamer
1511 enable_winehid_sys
1512 enable_winejoystick_drv
1513 enable_winemac_drv
1514 enable_winemapi
1515 enable_wineoss_drv
1516 enable_wineps_drv
1517 enable_winepulse_drv
1518 enable_wineqtdecoder
1519 enable_winex11_drv
1520 enable_wing32
1521 enable_winhttp
1522 enable_wininet
1523 enable_winmm
1524 enable_winnls32
1525 enable_winscard
1526 enable_winspool_drv
1527 enable_winsta
1528 enable_wintab32
1529 enable_wintrust
1530 enable_winusb
1531 enable_wlanapi
1532 enable_wldap32
1533 enable_wmasf
1534 enable_wmi
1535 enable_wmiutils
1536 enable_wmp
1537 enable_wmphoto
1538 enable_wmvcore
1539 enable_wnaspi32
1540 enable_wpc
1541 enable_wpcap
1542 enable_ws2_32
1543 enable_wsdapi
1544 enable_wshom_ocx
1545 enable_wsnmp32
1546 enable_wsock32
1547 enable_wtsapi32
1548 enable_wuapi
1549 enable_wuaueng
1550 enable_x3daudio1_0
1551 enable_x3daudio1_1
1552 enable_x3daudio1_2
1553 enable_x3daudio1_3
1554 enable_x3daudio1_4
1555 enable_x3daudio1_5
1556 enable_x3daudio1_6
1557 enable_x3daudio1_7
1558 enable_xapofx1_1
1559 enable_xapofx1_2
1560 enable_xapofx1_3
1561 enable_xapofx1_4
1562 enable_xapofx1_5
1563 enable_xaudio2_0
1564 enable_xaudio2_1
1565 enable_xaudio2_2
1566 enable_xaudio2_3
1567 enable_xaudio2_4
1568 enable_xaudio2_5
1569 enable_xaudio2_6
1570 enable_xaudio2_7
1571 enable_xaudio2_8
1572 enable_xaudio2_9
1573 enable_xinput1_1
1574 enable_xinput1_2
1575 enable_xinput1_3
1576 enable_xinput1_4
1577 enable_xinput9_1_0
1578 enable_xmllite
1579 enable_xolehlp
1580 enable_xpsprint
1581 enable_xpssvcs
1582 enable_fonts
1583 enable_include
1584 enable_libs_port
1585 enable_libs_wine
1586 enable_libs_wpp
1587 enable_loader
1588 enable_po
1589 enable_arp
1590 enable_aspnet_regiis
1591 enable_attrib
1592 enable_cabarc
1593 enable_cacls
1594 enable_clock
1595 enable_cmd
1596 enable_conhost
1597 enable_control
1598 enable_cscript
1599 enable_dpnsvr
1600 enable_dxdiag
1601 enable_eject
1602 enable_expand
1603 enable_explorer
1604 enable_extrac32
1605 enable_findstr
1606 enable_fsutil
1607 enable_hh
1608 enable_hostname
1609 enable_icacls
1610 enable_icinfo
1611 enable_iexplore
1612 enable_ipconfig
1613 enable_lodctr
1614 enable_mofcomp
1615 enable_mshta
1616 enable_msiexec
1617 enable_msinfo32
1618 enable_net
1619 enable_netsh
1620 enable_netstat
1621 enable_ngen
1622 enable_notepad
1623 enable_oleview
1624 enable_ping
1625 enable_plugplay
1626 enable_powershell
1627 enable_presentationfontcache
1628 enable_progman
1629 enable_reg
1630 enable_regasm
1631 enable_regedit
1632 enable_regsvcs
1633 enable_regsvr32
1634 enable_rpcss
1635 enable_rundll32
1636 enable_sc
1637 enable_schtasks
1638 enable_sdbinst
1639 enable_secedit
1640 enable_servicemodelreg
1641 enable_services
1642 enable_shutdown
1643 enable_spoolsv
1644 enable_start
1645 enable_subst
1646 enable_svchost
1647 enable_systeminfo
1648 enable_taskkill
1649 enable_tasklist
1650 enable_taskmgr
1651 enable_termsv
1652 enable_uninstaller
1653 enable_unlodctr
1654 enable_view
1655 enable_wevtutil
1656 enable_wineboot
1657 enable_winebrowser
1658 enable_winecfg
1659 enable_wineconsole
1660 enable_winedbg
1661 enable_winedevice
1662 enable_winefile
1663 enable_winemenubuilder
1664 enable_winemine
1665 enable_winemsibuilder
1666 enable_winepath
1667 enable_winetest
1668 enable_winhlp32
1669 enable_winver
1670 enable_wmic
1671 enable_wmplayer
1672 enable_wordpad
1673 enable_write
1674 enable_wscript
1675 enable_wusa
1676 enable_xcopy
1677 enable_server
1678 enable_tools
1680 ac_precious_vars='build_alias
1681 host_alias
1682 target_alias
1684 CFLAGS
1685 LDFLAGS
1686 LIBS
1687 CPPFLAGS
1689 CXXFLAGS
1692 XMKMF
1693 XML2_CFLAGS
1694 XML2_LIBS
1695 XSLT_CFLAGS
1696 XSLT_LIBS
1697 DBUS_CFLAGS
1698 DBUS_LIBS
1699 HAL_CFLAGS
1700 HAL_LIBS
1701 GNUTLS_CFLAGS
1702 GNUTLS_LIBS
1703 SANE_CFLAGS
1704 SANE_LIBS
1705 GPHOTO2_CFLAGS
1706 GPHOTO2_LIBS
1707 GPHOTO2_PORT_CFLAGS
1708 GPHOTO2_PORT_LIBS
1709 LCMS2_CFLAGS
1710 LCMS2_LIBS
1711 FREETYPE_CFLAGS
1712 FREETYPE_LIBS
1713 PULSE_CFLAGS
1714 PULSE_LIBS
1715 GSTREAMER_CFLAGS
1716 GSTREAMER_LIBS
1717 UDEV_CFLAGS
1718 UDEV_LIBS
1719 CAPI20_CFLAGS
1720 CAPI20_LIBS
1721 CUPS_CFLAGS
1722 CUPS_LIBS
1723 FONTCONFIG_CFLAGS
1724 FONTCONFIG_LIBS
1725 JPEG_CFLAGS
1726 JPEG_LIBS
1727 PNG_CFLAGS
1728 PNG_LIBS
1729 TIFF_CFLAGS
1730 TIFF_LIBS
1731 MPG123_CFLAGS
1732 MPG123_LIBS
1733 NETAPI_CFLAGS
1734 NETAPI_LIBS
1735 LDAP_CFLAGS
1736 LDAP_LIBS'
1739 # Initialize some variables set by options.
1740 ac_init_help=
1741 ac_init_version=false
1742 ac_unrecognized_opts=
1743 ac_unrecognized_sep=
1744 # The variables have the same names as the options, with
1745 # dashes changed to underlines.
1746 cache_file=/dev/null
1747 exec_prefix=NONE
1748 no_create=
1749 no_recursion=
1750 prefix=NONE
1751 program_prefix=NONE
1752 program_suffix=NONE
1753 program_transform_name=s,x,x,
1754 silent=
1755 site=
1756 srcdir=
1757 verbose=
1758 x_includes=NONE
1759 x_libraries=NONE
1761 # Installation directory options.
1762 # These are left unexpanded so users can "make install exec_prefix=/foo"
1763 # and all the variables that are supposed to be based on exec_prefix
1764 # by default will actually change.
1765 # Use braces instead of parens because sh, perl, etc. also accept them.
1766 # (The list follows the same order as the GNU Coding Standards.)
1767 bindir='${exec_prefix}/bin'
1768 sbindir='${exec_prefix}/sbin'
1769 libexecdir='${exec_prefix}/libexec'
1770 datarootdir='${prefix}/share'
1771 datadir='${datarootdir}'
1772 sysconfdir='${prefix}/etc'
1773 sharedstatedir='${prefix}/com'
1774 localstatedir='${prefix}/var'
1775 runstatedir='${localstatedir}/run'
1776 includedir='${prefix}/include'
1777 oldincludedir='/usr/include'
1778 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1779 infodir='${datarootdir}/info'
1780 htmldir='${docdir}'
1781 dvidir='${docdir}'
1782 pdfdir='${docdir}'
1783 psdir='${docdir}'
1784 libdir='${exec_prefix}/lib'
1785 localedir='${datarootdir}/locale'
1786 mandir='${datarootdir}/man'
1788 ac_prev=
1789 ac_dashdash=
1790 for ac_option
1792 # If the previous option needs an argument, assign it.
1793 if test -n "$ac_prev"; then
1794 eval $ac_prev=\$ac_option
1795 ac_prev=
1796 continue
1799 case $ac_option in
1800 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1801 *=) ac_optarg= ;;
1802 *) ac_optarg=yes ;;
1803 esac
1805 # Accept the important Cygnus configure options, so we can diagnose typos.
1807 case $ac_dashdash$ac_option in
1809 ac_dashdash=yes ;;
1811 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1812 ac_prev=bindir ;;
1813 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1814 bindir=$ac_optarg ;;
1816 -build | --build | --buil | --bui | --bu)
1817 ac_prev=build_alias ;;
1818 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1819 build_alias=$ac_optarg ;;
1821 -cache-file | --cache-file | --cache-fil | --cache-fi \
1822 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1823 ac_prev=cache_file ;;
1824 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1825 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1826 cache_file=$ac_optarg ;;
1828 --config-cache | -C)
1829 cache_file=config.cache ;;
1831 -datadir | --datadir | --datadi | --datad)
1832 ac_prev=datadir ;;
1833 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1834 datadir=$ac_optarg ;;
1836 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1837 | --dataroo | --dataro | --datar)
1838 ac_prev=datarootdir ;;
1839 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1840 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1841 datarootdir=$ac_optarg ;;
1843 -disable-* | --disable-*)
1844 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1845 # Reject names that are not valid shell variable names.
1846 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1847 as_fn_error $? "invalid feature name: $ac_useropt"
1848 ac_useropt_orig=$ac_useropt
1849 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1850 case $ac_user_opts in
1852 "enable_$ac_useropt"
1853 "*) ;;
1854 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1855 ac_unrecognized_sep=', ';;
1856 esac
1857 eval enable_$ac_useropt=no ;;
1859 -docdir | --docdir | --docdi | --doc | --do)
1860 ac_prev=docdir ;;
1861 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1862 docdir=$ac_optarg ;;
1864 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1865 ac_prev=dvidir ;;
1866 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1867 dvidir=$ac_optarg ;;
1869 -enable-* | --enable-*)
1870 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1871 # Reject names that are not valid shell variable names.
1872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1873 as_fn_error $? "invalid feature name: $ac_useropt"
1874 ac_useropt_orig=$ac_useropt
1875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1876 case $ac_user_opts in
1878 "enable_$ac_useropt"
1879 "*) ;;
1880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1881 ac_unrecognized_sep=', ';;
1882 esac
1883 eval enable_$ac_useropt=\$ac_optarg ;;
1885 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1886 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1887 | --exec | --exe | --ex)
1888 ac_prev=exec_prefix ;;
1889 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1890 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1891 | --exec=* | --exe=* | --ex=*)
1892 exec_prefix=$ac_optarg ;;
1894 -gas | --gas | --ga | --g)
1895 # Obsolete; use --with-gas.
1896 with_gas=yes ;;
1898 -help | --help | --hel | --he | -h)
1899 ac_init_help=long ;;
1900 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1901 ac_init_help=recursive ;;
1902 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1903 ac_init_help=short ;;
1905 -host | --host | --hos | --ho)
1906 ac_prev=host_alias ;;
1907 -host=* | --host=* | --hos=* | --ho=*)
1908 host_alias=$ac_optarg ;;
1910 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1911 ac_prev=htmldir ;;
1912 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1913 | --ht=*)
1914 htmldir=$ac_optarg ;;
1916 -includedir | --includedir | --includedi | --included | --include \
1917 | --includ | --inclu | --incl | --inc)
1918 ac_prev=includedir ;;
1919 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1920 | --includ=* | --inclu=* | --incl=* | --inc=*)
1921 includedir=$ac_optarg ;;
1923 -infodir | --infodir | --infodi | --infod | --info | --inf)
1924 ac_prev=infodir ;;
1925 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1926 infodir=$ac_optarg ;;
1928 -libdir | --libdir | --libdi | --libd)
1929 ac_prev=libdir ;;
1930 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1931 libdir=$ac_optarg ;;
1933 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1934 | --libexe | --libex | --libe)
1935 ac_prev=libexecdir ;;
1936 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1937 | --libexe=* | --libex=* | --libe=*)
1938 libexecdir=$ac_optarg ;;
1940 -localedir | --localedir | --localedi | --localed | --locale)
1941 ac_prev=localedir ;;
1942 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1943 localedir=$ac_optarg ;;
1945 -localstatedir | --localstatedir | --localstatedi | --localstated \
1946 | --localstate | --localstat | --localsta | --localst | --locals)
1947 ac_prev=localstatedir ;;
1948 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1949 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1950 localstatedir=$ac_optarg ;;
1952 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1953 ac_prev=mandir ;;
1954 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1955 mandir=$ac_optarg ;;
1957 -nfp | --nfp | --nf)
1958 # Obsolete; use --without-fp.
1959 with_fp=no ;;
1961 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1962 | --no-cr | --no-c | -n)
1963 no_create=yes ;;
1965 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1966 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1967 no_recursion=yes ;;
1969 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1970 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1971 | --oldin | --oldi | --old | --ol | --o)
1972 ac_prev=oldincludedir ;;
1973 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1974 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1975 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1976 oldincludedir=$ac_optarg ;;
1978 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1979 ac_prev=prefix ;;
1980 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1981 prefix=$ac_optarg ;;
1983 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1984 | --program-pre | --program-pr | --program-p)
1985 ac_prev=program_prefix ;;
1986 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1987 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1988 program_prefix=$ac_optarg ;;
1990 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1991 | --program-suf | --program-su | --program-s)
1992 ac_prev=program_suffix ;;
1993 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1994 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1995 program_suffix=$ac_optarg ;;
1997 -program-transform-name | --program-transform-name \
1998 | --program-transform-nam | --program-transform-na \
1999 | --program-transform-n | --program-transform- \
2000 | --program-transform | --program-transfor \
2001 | --program-transfo | --program-transf \
2002 | --program-trans | --program-tran \
2003 | --progr-tra | --program-tr | --program-t)
2004 ac_prev=program_transform_name ;;
2005 -program-transform-name=* | --program-transform-name=* \
2006 | --program-transform-nam=* | --program-transform-na=* \
2007 | --program-transform-n=* | --program-transform-=* \
2008 | --program-transform=* | --program-transfor=* \
2009 | --program-transfo=* | --program-transf=* \
2010 | --program-trans=* | --program-tran=* \
2011 | --progr-tra=* | --program-tr=* | --program-t=*)
2012 program_transform_name=$ac_optarg ;;
2014 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2015 ac_prev=pdfdir ;;
2016 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2017 pdfdir=$ac_optarg ;;
2019 -psdir | --psdir | --psdi | --psd | --ps)
2020 ac_prev=psdir ;;
2021 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2022 psdir=$ac_optarg ;;
2024 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2025 | -silent | --silent | --silen | --sile | --sil)
2026 silent=yes ;;
2028 -runstatedir | --runstatedir | --runstatedi | --runstated \
2029 | --runstate | --runstat | --runsta | --runst | --runs \
2030 | --run | --ru | --r)
2031 ac_prev=runstatedir ;;
2032 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2033 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2034 | --run=* | --ru=* | --r=*)
2035 runstatedir=$ac_optarg ;;
2037 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2038 ac_prev=sbindir ;;
2039 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2040 | --sbi=* | --sb=*)
2041 sbindir=$ac_optarg ;;
2043 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2044 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2045 | --sharedst | --shareds | --shared | --share | --shar \
2046 | --sha | --sh)
2047 ac_prev=sharedstatedir ;;
2048 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2049 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2050 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2051 | --sha=* | --sh=*)
2052 sharedstatedir=$ac_optarg ;;
2054 -site | --site | --sit)
2055 ac_prev=site ;;
2056 -site=* | --site=* | --sit=*)
2057 site=$ac_optarg ;;
2059 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2060 ac_prev=srcdir ;;
2061 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2062 srcdir=$ac_optarg ;;
2064 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2065 | --syscon | --sysco | --sysc | --sys | --sy)
2066 ac_prev=sysconfdir ;;
2067 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2068 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2069 sysconfdir=$ac_optarg ;;
2071 -target | --target | --targe | --targ | --tar | --ta | --t)
2072 ac_prev=target_alias ;;
2073 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2074 target_alias=$ac_optarg ;;
2076 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2077 verbose=yes ;;
2079 -version | --version | --versio | --versi | --vers | -V)
2080 ac_init_version=: ;;
2082 -with-* | --with-*)
2083 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2084 # Reject names that are not valid shell variable names.
2085 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2086 as_fn_error $? "invalid package name: $ac_useropt"
2087 ac_useropt_orig=$ac_useropt
2088 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2089 case $ac_user_opts in
2091 "with_$ac_useropt"
2092 "*) ;;
2093 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2094 ac_unrecognized_sep=', ';;
2095 esac
2096 eval with_$ac_useropt=\$ac_optarg ;;
2098 -without-* | --without-*)
2099 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2100 # Reject names that are not valid shell variable names.
2101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2102 as_fn_error $? "invalid package name: $ac_useropt"
2103 ac_useropt_orig=$ac_useropt
2104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2105 case $ac_user_opts in
2107 "with_$ac_useropt"
2108 "*) ;;
2109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2110 ac_unrecognized_sep=', ';;
2111 esac
2112 eval with_$ac_useropt=no ;;
2114 --x)
2115 # Obsolete; use --with-x.
2116 with_x=yes ;;
2118 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2119 | --x-incl | --x-inc | --x-in | --x-i)
2120 ac_prev=x_includes ;;
2121 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2122 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2123 x_includes=$ac_optarg ;;
2125 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2126 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2127 ac_prev=x_libraries ;;
2128 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2129 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2130 x_libraries=$ac_optarg ;;
2132 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2133 Try \`$0 --help' for more information"
2136 *=*)
2137 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2138 # Reject names that are not valid shell variable names.
2139 case $ac_envvar in #(
2140 '' | [0-9]* | *[!_$as_cr_alnum]* )
2141 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2142 esac
2143 eval $ac_envvar=\$ac_optarg
2144 export $ac_envvar ;;
2147 # FIXME: should be removed in autoconf 3.0.
2148 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2150 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2151 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2154 esac
2155 done
2157 if test -n "$ac_prev"; then
2158 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2159 as_fn_error $? "missing argument to $ac_option"
2162 if test -n "$ac_unrecognized_opts"; then
2163 case $enable_option_checking in
2164 no) ;;
2165 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2166 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2167 esac
2170 # Check all directory arguments for consistency.
2171 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2172 datadir sysconfdir sharedstatedir localstatedir includedir \
2173 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2174 libdir localedir mandir runstatedir
2176 eval ac_val=\$$ac_var
2177 # Remove trailing slashes.
2178 case $ac_val in
2179 */ )
2180 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2181 eval $ac_var=\$ac_val;;
2182 esac
2183 # Be sure to have absolute directory names.
2184 case $ac_val in
2185 [\\/$]* | ?:[\\/]* ) continue;;
2186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2187 esac
2188 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2189 done
2191 # There might be people who depend on the old broken behavior: `$host'
2192 # used to hold the argument of --host etc.
2193 # FIXME: To remove some day.
2194 build=$build_alias
2195 host=$host_alias
2196 target=$target_alias
2198 # FIXME: To remove some day.
2199 if test "x$host_alias" != x; then
2200 if test "x$build_alias" = x; then
2201 cross_compiling=maybe
2202 elif test "x$build_alias" != "x$host_alias"; then
2203 cross_compiling=yes
2207 ac_tool_prefix=
2208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2210 test "$silent" = yes && exec 6>/dev/null
2213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2214 ac_ls_di=`ls -di .` &&
2215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2216 as_fn_error $? "working directory cannot be determined"
2217 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2218 as_fn_error $? "pwd does not report name of working directory"
2221 # Find the source files, if location was not specified.
2222 if test -z "$srcdir"; then
2223 ac_srcdir_defaulted=yes
2224 # Try the directory containing this script, then the parent directory.
2225 ac_confdir=`$as_dirname -- "$as_myself" ||
2226 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2227 X"$as_myself" : 'X\(//\)[^/]' \| \
2228 X"$as_myself" : 'X\(//\)$' \| \
2229 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2230 $as_echo X"$as_myself" |
2231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2232 s//\1/
2235 /^X\(\/\/\)[^/].*/{
2236 s//\1/
2239 /^X\(\/\/\)$/{
2240 s//\1/
2243 /^X\(\/\).*/{
2244 s//\1/
2247 s/.*/./; q'`
2248 srcdir=$ac_confdir
2249 if test ! -r "$srcdir/$ac_unique_file"; then
2250 srcdir=..
2252 else
2253 ac_srcdir_defaulted=no
2255 if test ! -r "$srcdir/$ac_unique_file"; then
2256 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2257 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2259 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2260 ac_abs_confdir=`(
2261 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2262 pwd)`
2263 # When building in place, set srcdir=.
2264 if test "$ac_abs_confdir" = "$ac_pwd"; then
2265 srcdir=.
2267 # Remove unnecessary trailing slashes from srcdir.
2268 # Double slashes in file names in object file debugging info
2269 # mess up M-x gdb in Emacs.
2270 case $srcdir in
2271 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2272 esac
2273 for ac_var in $ac_precious_vars; do
2274 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2275 eval ac_env_${ac_var}_value=\$${ac_var}
2276 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2277 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2278 done
2281 # Report the --help message.
2283 if test "$ac_init_help" = "long"; then
2284 # Omit some internal or obsolete options to make the list less imposing.
2285 # This message is too long to be a string in the A/UX 3.1 sh.
2286 cat <<_ACEOF
2287 \`configure' configures Wine 2.19 to adapt to many kinds of systems.
2289 Usage: $0 [OPTION]... [VAR=VALUE]...
2291 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2292 VAR=VALUE. See below for descriptions of some of the useful variables.
2294 Defaults for the options are specified in brackets.
2296 Configuration:
2297 -h, --help display this help and exit
2298 --help=short display options specific to this package
2299 --help=recursive display the short help of all the included packages
2300 -V, --version display version information and exit
2301 -q, --quiet, --silent do not print \`checking ...' messages
2302 --cache-file=FILE cache test results in FILE [disabled]
2303 -C, --config-cache alias for \`--cache-file=config.cache'
2304 -n, --no-create do not create output files
2305 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2307 Installation directories:
2308 --prefix=PREFIX install architecture-independent files in PREFIX
2309 [$ac_default_prefix]
2310 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2311 [PREFIX]
2313 By default, \`make install' will install all the files in
2314 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2315 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2316 for instance \`--prefix=\$HOME'.
2318 For better control, use the options below.
2320 Fine tuning of the installation directories:
2321 --bindir=DIR user executables [EPREFIX/bin]
2322 --sbindir=DIR system admin executables [EPREFIX/sbin]
2323 --libexecdir=DIR program executables [EPREFIX/libexec]
2324 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2325 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2326 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2327 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2328 --libdir=DIR object code libraries [EPREFIX/lib]
2329 --includedir=DIR C header files [PREFIX/include]
2330 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2331 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2332 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2333 --infodir=DIR info documentation [DATAROOTDIR/info]
2334 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2335 --mandir=DIR man documentation [DATAROOTDIR/man]
2336 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2337 --htmldir=DIR html documentation [DOCDIR]
2338 --dvidir=DIR dvi documentation [DOCDIR]
2339 --pdfdir=DIR pdf documentation [DOCDIR]
2340 --psdir=DIR ps documentation [DOCDIR]
2341 _ACEOF
2343 cat <<\_ACEOF
2345 X features:
2346 --x-includes=DIR X include files are in DIR
2347 --x-libraries=DIR X library files are in DIR
2349 System types:
2350 --build=BUILD configure for building on BUILD [guessed]
2351 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2352 _ACEOF
2355 if test -n "$ac_init_help"; then
2356 case $ac_init_help in
2357 short | recursive ) echo "Configuration of Wine 2.19:";;
2358 esac
2359 cat <<\_ACEOF
2361 Optional Features:
2362 --disable-option-checking ignore unrecognized --enable/--with options
2363 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2364 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2365 --disable-win16 do not include Win16 support
2366 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2367 binaries)
2368 --disable-tests do not build the regression tests
2369 --enable-maintainer-mode
2370 enable maintainer-specific build rules
2371 --disable-largefile omit support for large files
2373 Optional Packages:
2374 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2375 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2376 --without-alsa do not use the Alsa sound support
2377 --without-capi do not use CAPI (ISDN support)
2378 --without-cms do not use CMS (color management support)
2379 --without-coreaudio do not use the CoreAudio sound support
2380 --without-cups do not use CUPS
2381 --without-curses do not use (n)curses
2382 --without-dbus do not use DBus (dynamic device support)
2383 --without-fontconfig do not use fontconfig
2384 --without-freetype do not use the FreeType library
2385 --without-gettext do not use gettext
2386 --with-gettextpo use the GetTextPO library to rebuild po files
2387 --without-gphoto do not use gphoto (Digital Camera support)
2388 --without-glu do not use the GLU library
2389 --without-gnutls do not use GnuTLS (schannel support)
2390 --without-gsm do not use libgsm (GSM 06.10 codec support)
2391 --without-gstreamer do not use GStreamer (codecs support)
2392 --without-hal do not use HAL (dynamic device support)
2393 --without-jpeg do not use JPEG
2394 --without-ldap do not use LDAP
2395 --without-mpg123 do not use the mpg123 library
2396 --without-netapi do not use the Samba NetAPI library
2397 --without-openal do not use OpenAL
2398 --without-opencl do not use OpenCL
2399 --without-opengl do not use OpenGL
2400 --without-osmesa do not use the OSMesa library
2401 --without-oss do not use the OSS sound support
2402 --without-pcap do not use the Packet Capture library
2403 --without-png do not use PNG
2404 --without-pthread do not use the pthread library
2405 --without-pulse do not use PulseAudio sound support
2406 --without-sane do not use SANE (scanner support)
2407 --without-tiff do not use TIFF
2408 --without-udev do not use udev (plug and play support)
2409 --without-v4l do not use v4l1 (v4l support)
2410 --without-xcomposite do not use the Xcomposite extension
2411 --without-xcursor do not use the Xcursor extension
2412 --without-xfixes do not use Xfixes for clipboard change notifications
2413 --without-xinerama do not use Xinerama (multi-monitor support)
2414 --without-xinput do not use the Xinput extension
2415 --without-xinput2 do not use the Xinput 2 extension
2416 --without-xml do not use XML
2417 --without-xrandr do not use Xrandr (resolution changes)
2418 --without-xrender do not use the Xrender extension
2419 --without-xshape do not use the Xshape extension
2420 --without-xshm do not use XShm (shared memory extension)
2421 --without-xslt do not use XSLT
2422 --without-xxf86vm do not use XFree video mode extension
2423 --without-zlib do not use Zlib (data compression)
2424 --with-wine-tools=DIR use Wine tools from directory DIR
2425 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2426 --with-x use the X Window System
2428 Some influential environment variables:
2429 CC C compiler command
2430 CFLAGS C compiler flags
2431 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2432 nonstandard directory <lib dir>
2433 LIBS libraries to pass to the linker, e.g. -l<library>
2434 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2435 you have headers in a nonstandard directory <include dir>
2436 CXX C++ compiler command
2437 CXXFLAGS C++ compiler flags
2438 CPP C preprocessor
2439 XMKMF Path to xmkmf, Makefile generator for X Window System
2440 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2441 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2442 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2443 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2444 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2445 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2446 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2447 HAL_LIBS Linker flags for hal, overriding pkg-config
2448 GNUTLS_CFLAGS
2449 C compiler flags for gnutls, overriding pkg-config
2450 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2451 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2452 SANE_LIBS Linker flags for libsane, overriding pkg-config
2453 GPHOTO2_CFLAGS
2454 C compiler flags for libgphoto2, overriding pkg-config
2455 GPHOTO2_LIBS
2456 Linker flags for libgphoto2, overriding pkg-config
2457 GPHOTO2_PORT_CFLAGS
2458 C compiler flags for libgphoto2_port, overriding pkg-config
2459 GPHOTO2_PORT_LIBS
2460 Linker flags for libgphoto2_port, overriding pkg-config
2461 LCMS2_CFLAGS
2462 C compiler flags for lcms2, overriding pkg-config
2463 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2464 FREETYPE_CFLAGS
2465 C compiler flags for freetype2, overriding pkg-config
2466 FREETYPE_LIBS
2467 Linker flags for freetype2, overriding pkg-config
2468 PULSE_CFLAGS
2469 C compiler flags for libpulse, overriding pkg-config
2470 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2471 GSTREAMER_CFLAGS
2472 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2473 gstreamer-audio-1.0, overriding pkg-config
2474 GSTREAMER_LIBS
2475 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2476 gstreamer-audio-1.0, overriding pkg-config
2477 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2478 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2479 CAPI20_CFLAGS
2480 C compiler flags for capi20, overriding pkg-config
2481 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2482 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2483 CUPS_LIBS Linker flags for cups, overriding pkg-config
2484 FONTCONFIG_CFLAGS
2485 C compiler flags for fontconfig, overriding pkg-config
2486 FONTCONFIG_LIBS
2487 Linker flags for fontconfig, overriding pkg-config
2488 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2489 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2490 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2491 PNG_LIBS Linker flags for libpng, overriding pkg-config
2492 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2493 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2494 MPG123_CFLAGS
2495 C compiler flags for libmpg123, overriding pkg-config
2496 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2497 NETAPI_CFLAGS
2498 C compiler flags for netapi, overriding pkg-config
2499 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2500 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2501 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2503 Use these variables to override the choices made by `configure' or to help
2504 it to find libraries and programs with nonstandard names/locations.
2506 Report bugs to <wine-devel@winehq.org>.
2507 Wine home page: <http://www.winehq.org>.
2508 _ACEOF
2509 ac_status=$?
2512 if test "$ac_init_help" = "recursive"; then
2513 # If there are subdirs, report their specific --help.
2514 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2515 test -d "$ac_dir" ||
2516 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2517 continue
2518 ac_builddir=.
2520 case "$ac_dir" in
2521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2523 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2524 # A ".." for each directory in $ac_dir_suffix.
2525 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2526 case $ac_top_builddir_sub in
2527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2529 esac ;;
2530 esac
2531 ac_abs_top_builddir=$ac_pwd
2532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2533 # for backward compatibility:
2534 ac_top_builddir=$ac_top_build_prefix
2536 case $srcdir in
2537 .) # We are building in place.
2538 ac_srcdir=.
2539 ac_top_srcdir=$ac_top_builddir_sub
2540 ac_abs_top_srcdir=$ac_pwd ;;
2541 [\\/]* | ?:[\\/]* ) # Absolute name.
2542 ac_srcdir=$srcdir$ac_dir_suffix;
2543 ac_top_srcdir=$srcdir
2544 ac_abs_top_srcdir=$srcdir ;;
2545 *) # Relative name.
2546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2547 ac_top_srcdir=$ac_top_build_prefix$srcdir
2548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2549 esac
2550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2552 cd "$ac_dir" || { ac_status=$?; continue; }
2553 # Check for guested configure.
2554 if test -f "$ac_srcdir/configure.gnu"; then
2555 echo &&
2556 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2557 elif test -f "$ac_srcdir/configure"; then
2558 echo &&
2559 $SHELL "$ac_srcdir/configure" --help=recursive
2560 else
2561 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2562 fi || ac_status=$?
2563 cd "$ac_pwd" || { ac_status=$?; break; }
2564 done
2567 test -n "$ac_init_help" && exit $ac_status
2568 if $ac_init_version; then
2569 cat <<\_ACEOF
2570 Wine configure 2.19
2571 generated by GNU Autoconf 2.69
2573 Copyright (C) 2012 Free Software Foundation, Inc.
2574 This configure script is free software; the Free Software Foundation
2575 gives unlimited permission to copy, distribute and modify it.
2576 _ACEOF
2577 exit
2580 ## ------------------------ ##
2581 ## Autoconf initialization. ##
2582 ## ------------------------ ##
2584 # ac_fn_c_try_compile LINENO
2585 # --------------------------
2586 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2587 ac_fn_c_try_compile ()
2589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2590 rm -f conftest.$ac_objext
2591 if { { ac_try="$ac_compile"
2592 case "(($ac_try" in
2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594 *) ac_try_echo=$ac_try;;
2595 esac
2596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2597 $as_echo "$ac_try_echo"; } >&5
2598 (eval "$ac_compile") 2>conftest.err
2599 ac_status=$?
2600 if test -s conftest.err; then
2601 grep -v '^ *+' conftest.err >conftest.er1
2602 cat conftest.er1 >&5
2603 mv -f conftest.er1 conftest.err
2605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2606 test $ac_status = 0; } && {
2607 test -z "$ac_c_werror_flag" ||
2608 test ! -s conftest.err
2609 } && test -s conftest.$ac_objext; then :
2610 ac_retval=0
2611 else
2612 $as_echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 ac_retval=1
2617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2618 as_fn_set_status $ac_retval
2620 } # ac_fn_c_try_compile
2622 # ac_fn_cxx_try_compile LINENO
2623 # ----------------------------
2624 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2625 ac_fn_cxx_try_compile ()
2627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2628 rm -f conftest.$ac_objext
2629 if { { ac_try="$ac_compile"
2630 case "(($ac_try" in
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2633 esac
2634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2635 $as_echo "$ac_try_echo"; } >&5
2636 (eval "$ac_compile") 2>conftest.err
2637 ac_status=$?
2638 if test -s conftest.err; then
2639 grep -v '^ *+' conftest.err >conftest.er1
2640 cat conftest.er1 >&5
2641 mv -f conftest.er1 conftest.err
2643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2644 test $ac_status = 0; } && {
2645 test -z "$ac_cxx_werror_flag" ||
2646 test ! -s conftest.err
2647 } && test -s conftest.$ac_objext; then :
2648 ac_retval=0
2649 else
2650 $as_echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2653 ac_retval=1
2655 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2656 as_fn_set_status $ac_retval
2658 } # ac_fn_cxx_try_compile
2660 # ac_fn_c_try_link LINENO
2661 # -----------------------
2662 # Try to link conftest.$ac_ext, and return whether this succeeded.
2663 ac_fn_c_try_link ()
2665 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2666 rm -f conftest.$ac_objext conftest$ac_exeext
2667 if { { ac_try="$ac_link"
2668 case "(($ac_try" in
2669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670 *) ac_try_echo=$ac_try;;
2671 esac
2672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2673 $as_echo "$ac_try_echo"; } >&5
2674 (eval "$ac_link") 2>conftest.err
2675 ac_status=$?
2676 if test -s conftest.err; then
2677 grep -v '^ *+' conftest.err >conftest.er1
2678 cat conftest.er1 >&5
2679 mv -f conftest.er1 conftest.err
2681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682 test $ac_status = 0; } && {
2683 test -z "$ac_c_werror_flag" ||
2684 test ! -s conftest.err
2685 } && test -s conftest$ac_exeext && {
2686 test "$cross_compiling" = yes ||
2687 test -x conftest$ac_exeext
2688 }; then :
2689 ac_retval=0
2690 else
2691 $as_echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_retval=1
2696 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2697 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2698 # interfere with the next link command; also delete a directory that is
2699 # left behind by Apple's compiler. We do this before executing the actions.
2700 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702 as_fn_set_status $ac_retval
2704 } # ac_fn_c_try_link
2706 # ac_fn_c_try_cpp LINENO
2707 # ----------------------
2708 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2709 ac_fn_c_try_cpp ()
2711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2712 if { { ac_try="$ac_cpp conftest.$ac_ext"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2720 ac_status=$?
2721 if test -s conftest.err; then
2722 grep -v '^ *+' conftest.err >conftest.er1
2723 cat conftest.er1 >&5
2724 mv -f conftest.er1 conftest.err
2726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2727 test $ac_status = 0; } > conftest.i && {
2728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2729 test ! -s conftest.err
2730 }; then :
2731 ac_retval=0
2732 else
2733 $as_echo "$as_me: failed program was:" >&5
2734 sed 's/^/| /' conftest.$ac_ext >&5
2736 ac_retval=1
2738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2739 as_fn_set_status $ac_retval
2741 } # ac_fn_c_try_cpp
2743 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2744 # -------------------------------------------------------
2745 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2746 # the include files in INCLUDES and setting the cache variable VAR
2747 # accordingly.
2748 ac_fn_c_check_header_mongrel ()
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 if eval \${$3+:} false; then :
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2753 $as_echo_n "checking for $2... " >&6; }
2754 if eval \${$3+:} false; then :
2755 $as_echo_n "(cached) " >&6
2757 eval ac_res=\$$3
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2760 else
2761 # Is the header compilable?
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2763 $as_echo_n "checking $2 usability... " >&6; }
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2767 #include <$2>
2768 _ACEOF
2769 if ac_fn_c_try_compile "$LINENO"; then :
2770 ac_header_compiler=yes
2771 else
2772 ac_header_compiler=no
2774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2776 $as_echo "$ac_header_compiler" >&6; }
2778 # Is the header present?
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2780 $as_echo_n "checking $2 presence... " >&6; }
2781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 /* end confdefs.h. */
2783 #include <$2>
2784 _ACEOF
2785 if ac_fn_c_try_cpp "$LINENO"; then :
2786 ac_header_preproc=yes
2787 else
2788 ac_header_preproc=no
2790 rm -f conftest.err conftest.i conftest.$ac_ext
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2792 $as_echo "$ac_header_preproc" >&6; }
2794 # So? What about this header?
2795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2796 yes:no: )
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2798 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2800 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2802 no:yes:* )
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2804 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2806 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2808 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2810 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2812 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2813 ( $as_echo "## ------------------------------------ ##
2814 ## Report this to wine-devel@winehq.org ##
2815 ## ------------------------------------ ##"
2816 ) | sed "s/^/$as_me: WARNING: /" >&2
2818 esac
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 $as_echo_n "checking for $2... " >&6; }
2821 if eval \${$3+:} false; then :
2822 $as_echo_n "(cached) " >&6
2823 else
2824 eval "$3=\$ac_header_compiler"
2826 eval ac_res=\$$3
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2828 $as_echo "$ac_res" >&6; }
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 } # ac_fn_c_check_header_mongrel
2834 # ac_fn_c_try_run LINENO
2835 # ----------------------
2836 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2837 # that executables *can* be run.
2838 ac_fn_c_try_run ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 if { { ac_try="$ac_link"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 $as_echo "$ac_try_echo"; } >&5
2848 (eval "$ac_link") 2>&5
2849 ac_status=$?
2850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2851 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2852 { { case "(($ac_try" in
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2855 esac
2856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2857 $as_echo "$ac_try_echo"; } >&5
2858 (eval "$ac_try") 2>&5
2859 ac_status=$?
2860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2861 test $ac_status = 0; }; }; then :
2862 ac_retval=0
2863 else
2864 $as_echo "$as_me: program exited with status $ac_status" >&5
2865 $as_echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2868 ac_retval=$ac_status
2870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2872 as_fn_set_status $ac_retval
2874 } # ac_fn_c_try_run
2876 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2877 # -------------------------------------------------------
2878 # Tests whether HEADER exists and can be compiled using the include files in
2879 # INCLUDES, setting the cache variable VAR accordingly.
2880 ac_fn_c_check_header_compile ()
2882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2884 $as_echo_n "checking for $2... " >&6; }
2885 if eval \${$3+:} false; then :
2886 $as_echo_n "(cached) " >&6
2887 else
2888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2889 /* end confdefs.h. */
2891 #include <$2>
2892 _ACEOF
2893 if ac_fn_c_try_compile "$LINENO"; then :
2894 eval "$3=yes"
2895 else
2896 eval "$3=no"
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2900 eval ac_res=\$$3
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2902 $as_echo "$ac_res" >&6; }
2903 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2905 } # ac_fn_c_check_header_compile
2907 # ac_fn_c_check_func LINENO FUNC VAR
2908 # ----------------------------------
2909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2910 ac_fn_c_check_func ()
2912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2914 $as_echo_n "checking for $2... " >&6; }
2915 if eval \${$3+:} false; then :
2916 $as_echo_n "(cached) " >&6
2917 else
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2922 #define $2 innocuous_$2
2924 /* System header to define __stub macros and hopefully few prototypes,
2925 which can conflict with char $2 (); below.
2926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2927 <limits.h> exists even on freestanding compilers. */
2929 #ifdef __STDC__
2930 # include <limits.h>
2931 #else
2932 # include <assert.h>
2933 #endif
2935 #undef $2
2937 /* Override any GCC internal prototype to avoid an error.
2938 Use char because int might match the return type of a GCC
2939 builtin and then its argument prototype would still apply. */
2940 #ifdef __cplusplus
2941 extern "C"
2942 #endif
2943 char $2 ();
2944 /* The GNU C library defines this for functions which it implements
2945 to always fail with ENOSYS. Some functions are actually named
2946 something starting with __ and the normal name is an alias. */
2947 #if defined __stub_$2 || defined __stub___$2
2948 choke me
2949 #endif
2952 main ()
2954 return $2 ();
2956 return 0;
2958 _ACEOF
2959 if ac_fn_c_try_link "$LINENO"; then :
2960 eval "$3=yes"
2961 else
2962 eval "$3=no"
2964 rm -f core conftest.err conftest.$ac_objext \
2965 conftest$ac_exeext conftest.$ac_ext
2967 eval ac_res=\$$3
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2969 $as_echo "$ac_res" >&6; }
2970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2972 } # ac_fn_c_check_func
2974 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2975 # ----------------------------------------------------
2976 # Tries to find if the field MEMBER exists in type AGGR, after including
2977 # INCLUDES, setting cache variable VAR accordingly.
2978 ac_fn_c_check_member ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2982 $as_echo_n "checking for $2.$3... " >&6; }
2983 if eval \${$4+:} false; then :
2984 $as_echo_n "(cached) " >&6
2985 else
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2990 main ()
2992 static $2 ac_aggr;
2993 if (ac_aggr.$3)
2994 return 0;
2996 return 0;
2998 _ACEOF
2999 if ac_fn_c_try_compile "$LINENO"; then :
3000 eval "$4=yes"
3001 else
3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3006 main ()
3008 static $2 ac_aggr;
3009 if (sizeof ac_aggr.$3)
3010 return 0;
3012 return 0;
3014 _ACEOF
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 eval "$4=yes"
3017 else
3018 eval "$4=no"
3020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3024 eval ac_res=\$$4
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3029 } # ac_fn_c_check_member
3031 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3032 # -------------------------------------------
3033 # Tests whether TYPE exists after having included INCLUDES, setting cache
3034 # variable VAR accordingly.
3035 ac_fn_c_check_type ()
3037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3039 $as_echo_n "checking for $2... " >&6; }
3040 if eval \${$3+:} false; then :
3041 $as_echo_n "(cached) " >&6
3042 else
3043 eval "$3=no"
3044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3045 /* end confdefs.h. */
3048 main ()
3050 if (sizeof ($2))
3051 return 0;
3053 return 0;
3055 _ACEOF
3056 if ac_fn_c_try_compile "$LINENO"; then :
3057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3058 /* end confdefs.h. */
3061 main ()
3063 if (sizeof (($2)))
3064 return 0;
3066 return 0;
3068 _ACEOF
3069 if ac_fn_c_try_compile "$LINENO"; then :
3071 else
3072 eval "$3=yes"
3074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 eval ac_res=\$$3
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3080 $as_echo "$ac_res" >&6; }
3081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3083 } # ac_fn_c_check_type
3084 cat >config.log <<_ACEOF
3085 This file contains any messages produced by compilers while
3086 running configure, to aid debugging if configure makes a mistake.
3088 It was created by Wine $as_me 2.19, which was
3089 generated by GNU Autoconf 2.69. Invocation command line was
3091 $ $0 $@
3093 _ACEOF
3094 exec 5>>config.log
3096 cat <<_ASUNAME
3097 ## --------- ##
3098 ## Platform. ##
3099 ## --------- ##
3101 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3102 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3103 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3104 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3105 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3107 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3108 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3110 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3111 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3112 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3113 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3114 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3115 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3116 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3118 _ASUNAME
3120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3121 for as_dir in $PATH
3123 IFS=$as_save_IFS
3124 test -z "$as_dir" && as_dir=.
3125 $as_echo "PATH: $as_dir"
3126 done
3127 IFS=$as_save_IFS
3129 } >&5
3131 cat >&5 <<_ACEOF
3134 ## ----------- ##
3135 ## Core tests. ##
3136 ## ----------- ##
3138 _ACEOF
3141 # Keep a trace of the command line.
3142 # Strip out --no-create and --no-recursion so they do not pile up.
3143 # Strip out --silent because we don't want to record it for future runs.
3144 # Also quote any args containing shell meta-characters.
3145 # Make two passes to allow for proper duplicate-argument suppression.
3146 ac_configure_args=
3147 ac_configure_args0=
3148 ac_configure_args1=
3149 ac_must_keep_next=false
3150 for ac_pass in 1 2
3152 for ac_arg
3154 case $ac_arg in
3155 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3156 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3157 | -silent | --silent | --silen | --sile | --sil)
3158 continue ;;
3159 *\'*)
3160 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3161 esac
3162 case $ac_pass in
3163 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3165 as_fn_append ac_configure_args1 " '$ac_arg'"
3166 if test $ac_must_keep_next = true; then
3167 ac_must_keep_next=false # Got value, back to normal.
3168 else
3169 case $ac_arg in
3170 *=* | --config-cache | -C | -disable-* | --disable-* \
3171 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3172 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3173 | -with-* | --with-* | -without-* | --without-* | --x)
3174 case "$ac_configure_args0 " in
3175 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3176 esac
3178 -* ) ac_must_keep_next=true ;;
3179 esac
3181 as_fn_append ac_configure_args " '$ac_arg'"
3183 esac
3184 done
3185 done
3186 { ac_configure_args0=; unset ac_configure_args0;}
3187 { ac_configure_args1=; unset ac_configure_args1;}
3189 # When interrupted or exit'd, cleanup temporary files, and complete
3190 # config.log. We remove comments because anyway the quotes in there
3191 # would cause problems or look ugly.
3192 # WARNING: Use '\'' to represent an apostrophe within the trap.
3193 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3194 trap 'exit_status=$?
3195 # Save into config.log some information that might help in debugging.
3197 echo
3199 $as_echo "## ---------------- ##
3200 ## Cache variables. ##
3201 ## ---------------- ##"
3202 echo
3203 # The following way of writing the cache mishandles newlines in values,
3205 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3206 eval ac_val=\$$ac_var
3207 case $ac_val in #(
3208 *${as_nl}*)
3209 case $ac_var in #(
3210 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3211 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3212 esac
3213 case $ac_var in #(
3214 _ | IFS | as_nl) ;; #(
3215 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3216 *) { eval $ac_var=; unset $ac_var;} ;;
3217 esac ;;
3218 esac
3219 done
3220 (set) 2>&1 |
3221 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3222 *${as_nl}ac_space=\ *)
3223 sed -n \
3224 "s/'\''/'\''\\\\'\'''\''/g;
3225 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3226 ;; #(
3228 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3230 esac |
3231 sort
3233 echo
3235 $as_echo "## ----------------- ##
3236 ## Output variables. ##
3237 ## ----------------- ##"
3238 echo
3239 for ac_var in $ac_subst_vars
3241 eval ac_val=\$$ac_var
3242 case $ac_val in
3243 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3244 esac
3245 $as_echo "$ac_var='\''$ac_val'\''"
3246 done | sort
3247 echo
3249 if test -n "$ac_subst_files"; then
3250 $as_echo "## ------------------- ##
3251 ## File substitutions. ##
3252 ## ------------------- ##"
3253 echo
3254 for ac_var in $ac_subst_files
3256 eval ac_val=\$$ac_var
3257 case $ac_val in
3258 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3259 esac
3260 $as_echo "$ac_var='\''$ac_val'\''"
3261 done | sort
3262 echo
3265 if test -s confdefs.h; then
3266 $as_echo "## ----------- ##
3267 ## confdefs.h. ##
3268 ## ----------- ##"
3269 echo
3270 cat confdefs.h
3271 echo
3273 test "$ac_signal" != 0 &&
3274 $as_echo "$as_me: caught signal $ac_signal"
3275 $as_echo "$as_me: exit $exit_status"
3276 } >&5
3277 rm -f core *.core core.conftest.* &&
3278 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3279 exit $exit_status
3281 for ac_signal in 1 2 13 15; do
3282 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3283 done
3284 ac_signal=0
3286 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3287 rm -f -r conftest* confdefs.h
3289 $as_echo "/* confdefs.h */" > confdefs.h
3291 # Predefined preprocessor variables.
3293 cat >>confdefs.h <<_ACEOF
3294 #define PACKAGE_NAME "$PACKAGE_NAME"
3295 _ACEOF
3297 cat >>confdefs.h <<_ACEOF
3298 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3299 _ACEOF
3301 cat >>confdefs.h <<_ACEOF
3302 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3303 _ACEOF
3305 cat >>confdefs.h <<_ACEOF
3306 #define PACKAGE_STRING "$PACKAGE_STRING"
3307 _ACEOF
3309 cat >>confdefs.h <<_ACEOF
3310 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3311 _ACEOF
3313 cat >>confdefs.h <<_ACEOF
3314 #define PACKAGE_URL "$PACKAGE_URL"
3315 _ACEOF
3318 # Let the site file select an alternate cache file if it wants to.
3319 # Prefer an explicitly selected file to automatically selected ones.
3320 ac_site_file1=NONE
3321 ac_site_file2=NONE
3322 if test -n "$CONFIG_SITE"; then
3323 # We do not want a PATH search for config.site.
3324 case $CONFIG_SITE in #((
3325 -*) ac_site_file1=./$CONFIG_SITE;;
3326 */*) ac_site_file1=$CONFIG_SITE;;
3327 *) ac_site_file1=./$CONFIG_SITE;;
3328 esac
3329 elif test "x$prefix" != xNONE; then
3330 ac_site_file1=$prefix/share/config.site
3331 ac_site_file2=$prefix/etc/config.site
3332 else
3333 ac_site_file1=$ac_default_prefix/share/config.site
3334 ac_site_file2=$ac_default_prefix/etc/config.site
3336 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3338 test "x$ac_site_file" = xNONE && continue
3339 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3341 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3342 sed 's/^/| /' "$ac_site_file" >&5
3343 . "$ac_site_file" \
3344 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3345 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3346 as_fn_error $? "failed to load site script $ac_site_file
3347 See \`config.log' for more details" "$LINENO" 5; }
3349 done
3351 if test -r "$cache_file"; then
3352 # Some versions of bash will fail to source /dev/null (special files
3353 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3354 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3356 $as_echo "$as_me: loading cache $cache_file" >&6;}
3357 case $cache_file in
3358 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3359 *) . "./$cache_file";;
3360 esac
3362 else
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3364 $as_echo "$as_me: creating cache $cache_file" >&6;}
3365 >$cache_file
3368 # Check that the precious variables saved in the cache have kept the same
3369 # value.
3370 ac_cache_corrupted=false
3371 for ac_var in $ac_precious_vars; do
3372 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3373 eval ac_new_set=\$ac_env_${ac_var}_set
3374 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3375 eval ac_new_val=\$ac_env_${ac_var}_value
3376 case $ac_old_set,$ac_new_set in
3377 set,)
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3379 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3380 ac_cache_corrupted=: ;;
3381 ,set)
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3383 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3384 ac_cache_corrupted=: ;;
3385 ,);;
3387 if test "x$ac_old_val" != "x$ac_new_val"; then
3388 # differences in whitespace do not lead to failure.
3389 ac_old_val_w=`echo x $ac_old_val`
3390 ac_new_val_w=`echo x $ac_new_val`
3391 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3393 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3394 ac_cache_corrupted=:
3395 else
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3397 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3398 eval $ac_var=\$ac_old_val
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3401 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3403 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3404 fi;;
3405 esac
3406 # Pass precious variables to config.status.
3407 if test "$ac_new_set" = set; then
3408 case $ac_new_val in
3409 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3410 *) ac_arg=$ac_var=$ac_new_val ;;
3411 esac
3412 case " $ac_configure_args " in
3413 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3414 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3415 esac
3417 done
3418 if $ac_cache_corrupted; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3422 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3423 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3425 ## -------------------- ##
3426 ## Main body of script. ##
3427 ## -------------------- ##
3429 ac_ext=c
3430 ac_cpp='$CPP $CPPFLAGS'
3431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3437 ac_config_headers="$ac_config_headers include/config.h"
3439 ac_aux_dir=
3440 for ac_dir in tools "$srcdir"/tools; do
3441 if test -f "$ac_dir/install-sh"; then
3442 ac_aux_dir=$ac_dir
3443 ac_install_sh="$ac_aux_dir/install-sh -c"
3444 break
3445 elif test -f "$ac_dir/install.sh"; then
3446 ac_aux_dir=$ac_dir
3447 ac_install_sh="$ac_aux_dir/install.sh -c"
3448 break
3449 elif test -f "$ac_dir/shtool"; then
3450 ac_aux_dir=$ac_dir
3451 ac_install_sh="$ac_aux_dir/shtool install -c"
3452 break
3454 done
3455 if test -z "$ac_aux_dir"; then
3456 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3459 # These three variables are undocumented and unsupported,
3460 # and are intended to be withdrawn in a future Autoconf release.
3461 # They can cause serious problems if a builder's source tree is in a directory
3462 # whose full name contains unusual characters.
3463 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3464 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3465 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3469 libwine_version="1.0"
3473 # Check whether --enable-win16 was given.
3474 if test "${enable_win16+set}" = set; then :
3475 enableval=$enable_win16;
3478 # Check whether --enable-win64 was given.
3479 if test "${enable_win64+set}" = set; then :
3480 enableval=$enable_win64;
3483 # Check whether --enable-tests was given.
3484 if test "${enable_tests+set}" = set; then :
3485 enableval=$enable_tests;
3488 # Check whether --enable-maintainer-mode was given.
3489 if test "${enable_maintainer_mode+set}" = set; then :
3490 enableval=$enable_maintainer_mode;
3495 # Check whether --with-alsa was given.
3496 if test "${with_alsa+set}" = set; then :
3497 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3501 # Check whether --with-capi was given.
3502 if test "${with_capi+set}" = set; then :
3503 withval=$with_capi;
3507 # Check whether --with-cms was given.
3508 if test "${with_cms+set}" = set; then :
3509 withval=$with_cms;
3513 # Check whether --with-coreaudio was given.
3514 if test "${with_coreaudio+set}" = set; then :
3515 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3519 # Check whether --with-cups was given.
3520 if test "${with_cups+set}" = set; then :
3521 withval=$with_cups;
3525 # Check whether --with-curses was given.
3526 if test "${with_curses+set}" = set; then :
3527 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3531 # Check whether --with-dbus was given.
3532 if test "${with_dbus+set}" = set; then :
3533 withval=$with_dbus;
3537 # Check whether --with-fontconfig was given.
3538 if test "${with_fontconfig+set}" = set; then :
3539 withval=$with_fontconfig;
3543 # Check whether --with-freetype was given.
3544 if test "${with_freetype+set}" = set; then :
3545 withval=$with_freetype;
3549 # Check whether --with-gettext was given.
3550 if test "${with_gettext+set}" = set; then :
3551 withval=$with_gettext;
3555 # Check whether --with-gettextpo was given.
3556 if test "${with_gettextpo+set}" = set; then :
3557 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3561 # Check whether --with-gphoto was given.
3562 if test "${with_gphoto+set}" = set; then :
3563 withval=$with_gphoto;
3567 # Check whether --with-glu was given.
3568 if test "${with_glu+set}" = set; then :
3569 withval=$with_glu;
3573 # Check whether --with-gnutls was given.
3574 if test "${with_gnutls+set}" = set; then :
3575 withval=$with_gnutls;
3579 # Check whether --with-gsm was given.
3580 if test "${with_gsm+set}" = set; then :
3581 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3585 # Check whether --with-gstreamer was given.
3586 if test "${with_gstreamer+set}" = set; then :
3587 withval=$with_gstreamer;
3591 # Check whether --with-hal was given.
3592 if test "${with_hal+set}" = set; then :
3593 withval=$with_hal;
3597 # Check whether --with-jpeg was given.
3598 if test "${with_jpeg+set}" = set; then :
3599 withval=$with_jpeg;
3603 # Check whether --with-ldap was given.
3604 if test "${with_ldap+set}" = set; then :
3605 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3609 # Check whether --with-mpg123 was given.
3610 if test "${with_mpg123+set}" = set; then :
3611 withval=$with_mpg123;
3615 # Check whether --with-netapi was given.
3616 if test "${with_netapi+set}" = set; then :
3617 withval=$with_netapi;
3621 # Check whether --with-openal was given.
3622 if test "${with_openal+set}" = set; then :
3623 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3627 # Check whether --with-opencl was given.
3628 if test "${with_opencl+set}" = set; then :
3629 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3633 # Check whether --with-opengl was given.
3634 if test "${with_opengl+set}" = set; then :
3635 withval=$with_opengl;
3639 # Check whether --with-osmesa was given.
3640 if test "${with_osmesa+set}" = set; then :
3641 withval=$with_osmesa;
3645 # Check whether --with-oss was given.
3646 if test "${with_oss+set}" = set; then :
3647 withval=$with_oss;
3651 # Check whether --with-pcap was given.
3652 if test "${with_pcap+set}" = set; then :
3653 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3657 # Check whether --with-png was given.
3658 if test "${with_png+set}" = set; then :
3659 withval=$with_png;
3663 # Check whether --with-pthread was given.
3664 if test "${with_pthread+set}" = set; then :
3665 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3669 # Check whether --with-pulse was given.
3670 if test "${with_pulse+set}" = set; then :
3671 withval=$with_pulse;
3675 # Check whether --with-sane was given.
3676 if test "${with_sane+set}" = set; then :
3677 withval=$with_sane;
3681 # Check whether --with-tiff was given.
3682 if test "${with_tiff+set}" = set; then :
3683 withval=$with_tiff;
3687 # Check whether --with-udev was given.
3688 if test "${with_udev+set}" = set; then :
3689 withval=$with_udev;
3693 # Check whether --with-v4l was given.
3694 if test "${with_v4l+set}" = set; then :
3695 withval=$with_v4l;
3699 # Check whether --with-xcomposite was given.
3700 if test "${with_xcomposite+set}" = set; then :
3701 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3705 # Check whether --with-xcursor was given.
3706 if test "${with_xcursor+set}" = set; then :
3707 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3711 # Check whether --with-xfixes was given.
3712 if test "${with_xfixes+set}" = set; then :
3713 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3717 # Check whether --with-xinerama was given.
3718 if test "${with_xinerama+set}" = set; then :
3719 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3723 # Check whether --with-xinput was given.
3724 if test "${with_xinput+set}" = set; then :
3725 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3729 # Check whether --with-xinput2 was given.
3730 if test "${with_xinput2+set}" = set; then :
3731 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3735 # Check whether --with-xml was given.
3736 if test "${with_xml+set}" = set; then :
3737 withval=$with_xml;
3741 # Check whether --with-xrandr was given.
3742 if test "${with_xrandr+set}" = set; then :
3743 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3747 # Check whether --with-xrender was given.
3748 if test "${with_xrender+set}" = set; then :
3749 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3753 # Check whether --with-xshape was given.
3754 if test "${with_xshape+set}" = set; then :
3755 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3759 # Check whether --with-xshm was given.
3760 if test "${with_xshm+set}" = set; then :
3761 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3765 # Check whether --with-xslt was given.
3766 if test "${with_xslt+set}" = set; then :
3767 withval=$with_xslt;
3771 # Check whether --with-xxf86vm was given.
3772 if test "${with_xxf86vm+set}" = set; then :
3773 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
3777 # Check whether --with-zlib was given.
3778 if test "${with_zlib+set}" = set; then :
3779 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3784 # Check whether --with-wine-tools was given.
3785 if test "${with_wine_tools+set}" = set; then :
3786 withval=$with_wine_tools;
3790 # Check whether --with-wine64 was given.
3791 if test "${with_wine64+set}" = set; then :
3792 withval=$with_wine64;
3796 # Make sure we can run config.sub.
3797 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3798 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3801 $as_echo_n "checking build system type... " >&6; }
3802 if ${ac_cv_build+:} false; then :
3803 $as_echo_n "(cached) " >&6
3804 else
3805 ac_build_alias=$build_alias
3806 test "x$ac_build_alias" = x &&
3807 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3808 test "x$ac_build_alias" = x &&
3809 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3810 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3811 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3815 $as_echo "$ac_cv_build" >&6; }
3816 case $ac_cv_build in
3817 *-*-*) ;;
3818 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3819 esac
3820 build=$ac_cv_build
3821 ac_save_IFS=$IFS; IFS='-'
3822 set x $ac_cv_build
3823 shift
3824 build_cpu=$1
3825 build_vendor=$2
3826 shift; shift
3827 # Remember, the first character of IFS is used to create $*,
3828 # except with old shells:
3829 build_os=$*
3830 IFS=$ac_save_IFS
3831 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3835 $as_echo_n "checking host system type... " >&6; }
3836 if ${ac_cv_host+:} false; then :
3837 $as_echo_n "(cached) " >&6
3838 else
3839 if test "x$host_alias" = x; then
3840 ac_cv_host=$ac_cv_build
3841 else
3842 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3843 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3848 $as_echo "$ac_cv_host" >&6; }
3849 case $ac_cv_host in
3850 *-*-*) ;;
3851 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3852 esac
3853 host=$ac_cv_host
3854 ac_save_IFS=$IFS; IFS='-'
3855 set x $ac_cv_host
3856 shift
3857 host_cpu=$1
3858 host_vendor=$2
3859 shift; shift
3860 # Remember, the first character of IFS is used to create $*,
3861 # except with old shells:
3862 host_os=$*
3863 IFS=$ac_save_IFS
3864 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3868 case "$srcdir" in
3869 .) ;;
3870 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3871 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3872 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3873 fi ;;
3874 esac
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3878 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3879 set x ${MAKE-make}
3880 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3881 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3882 $as_echo_n "(cached) " >&6
3883 else
3884 cat >conftest.make <<\_ACEOF
3885 SHELL = /bin/sh
3886 all:
3887 @echo '@@@%%%=$(MAKE)=@@@%%%'
3888 _ACEOF
3889 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3890 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3891 *@@@%%%=?*=@@@%%%*)
3892 eval ac_cv_prog_make_${ac_make}_set=yes;;
3894 eval ac_cv_prog_make_${ac_make}_set=no;;
3895 esac
3896 rm -f conftest.make
3898 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3900 $as_echo "yes" >&6; }
3901 SET_MAKE=
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3905 SET_MAKE="MAKE=${MAKE-make}"
3908 ac_ext=c
3909 ac_cpp='$CPP $CPPFLAGS'
3910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913 if test -n "$ac_tool_prefix"; then
3914 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3915 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917 $as_echo_n "checking for $ac_word... " >&6; }
3918 if ${ac_cv_prog_CC+:} false; then :
3919 $as_echo_n "(cached) " >&6
3920 else
3921 if test -n "$CC"; then
3922 ac_cv_prog_CC="$CC" # Let the user override the test.
3923 else
3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925 for as_dir in $PATH
3927 IFS=$as_save_IFS
3928 test -z "$as_dir" && as_dir=.
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 break 2
3935 done
3936 done
3937 IFS=$as_save_IFS
3941 CC=$ac_cv_prog_CC
3942 if test -n "$CC"; then
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3944 $as_echo "$CC" >&6; }
3945 else
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947 $as_echo "no" >&6; }
3952 if test -z "$ac_cv_prog_CC"; then
3953 ac_ct_CC=$CC
3954 # Extract the first word of "gcc", so it can be a program name with args.
3955 set dummy gcc; ac_word=$2
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957 $as_echo_n "checking for $ac_word... " >&6; }
3958 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3959 $as_echo_n "(cached) " >&6
3960 else
3961 if test -n "$ac_ct_CC"; then
3962 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3963 else
3964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3965 for as_dir in $PATH
3967 IFS=$as_save_IFS
3968 test -z "$as_dir" && as_dir=.
3969 for ac_exec_ext in '' $ac_executable_extensions; do
3970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3971 ac_cv_prog_ac_ct_CC="gcc"
3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 break 2
3975 done
3976 done
3977 IFS=$as_save_IFS
3981 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3982 if test -n "$ac_ct_CC"; then
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3984 $as_echo "$ac_ct_CC" >&6; }
3985 else
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987 $as_echo "no" >&6; }
3990 if test "x$ac_ct_CC" = x; then
3991 CC=""
3992 else
3993 case $cross_compiling:$ac_tool_warned in
3994 yes:)
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3997 ac_tool_warned=yes ;;
3998 esac
3999 CC=$ac_ct_CC
4001 else
4002 CC="$ac_cv_prog_CC"
4005 if test -z "$CC"; then
4006 if test -n "$ac_tool_prefix"; then
4007 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4008 set dummy ${ac_tool_prefix}cc; ac_word=$2
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010 $as_echo_n "checking for $ac_word... " >&6; }
4011 if ${ac_cv_prog_CC+:} false; then :
4012 $as_echo_n "(cached) " >&6
4013 else
4014 if test -n "$CC"; then
4015 ac_cv_prog_CC="$CC" # Let the user override the test.
4016 else
4017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4018 for as_dir in $PATH
4020 IFS=$as_save_IFS
4021 test -z "$as_dir" && as_dir=.
4022 for ac_exec_ext in '' $ac_executable_extensions; do
4023 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4024 ac_cv_prog_CC="${ac_tool_prefix}cc"
4025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 break 2
4028 done
4029 done
4030 IFS=$as_save_IFS
4034 CC=$ac_cv_prog_CC
4035 if test -n "$CC"; then
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4037 $as_echo "$CC" >&6; }
4038 else
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040 $as_echo "no" >&6; }
4046 if test -z "$CC"; then
4047 # Extract the first word of "cc", so it can be a program name with args.
4048 set dummy cc; ac_word=$2
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if ${ac_cv_prog_CC+:} false; then :
4052 $as_echo_n "(cached) " >&6
4053 else
4054 if test -n "$CC"; then
4055 ac_cv_prog_CC="$CC" # Let the user override the test.
4056 else
4057 ac_prog_rejected=no
4058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4059 for as_dir in $PATH
4061 IFS=$as_save_IFS
4062 test -z "$as_dir" && as_dir=.
4063 for ac_exec_ext in '' $ac_executable_extensions; do
4064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4066 ac_prog_rejected=yes
4067 continue
4069 ac_cv_prog_CC="cc"
4070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4071 break 2
4073 done
4074 done
4075 IFS=$as_save_IFS
4077 if test $ac_prog_rejected = yes; then
4078 # We found a bogon in the path, so make sure we never use it.
4079 set dummy $ac_cv_prog_CC
4080 shift
4081 if test $# != 0; then
4082 # We chose a different compiler from the bogus one.
4083 # However, it has the same basename, so the bogon will be chosen
4084 # first if we set CC to just the basename; use the full file name.
4085 shift
4086 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4091 CC=$ac_cv_prog_CC
4092 if test -n "$CC"; then
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4094 $as_echo "$CC" >&6; }
4095 else
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097 $as_echo "no" >&6; }
4102 if test -z "$CC"; then
4103 if test -n "$ac_tool_prefix"; then
4104 for ac_prog in cl.exe
4106 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4107 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109 $as_echo_n "checking for $ac_word... " >&6; }
4110 if ${ac_cv_prog_CC+:} false; then :
4111 $as_echo_n "(cached) " >&6
4112 else
4113 if test -n "$CC"; then
4114 ac_cv_prog_CC="$CC" # Let the user override the test.
4115 else
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4117 for as_dir in $PATH
4119 IFS=$as_save_IFS
4120 test -z "$as_dir" && as_dir=.
4121 for ac_exec_ext in '' $ac_executable_extensions; do
4122 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4125 break 2
4127 done
4128 done
4129 IFS=$as_save_IFS
4133 CC=$ac_cv_prog_CC
4134 if test -n "$CC"; then
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4136 $as_echo "$CC" >&6; }
4137 else
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139 $as_echo "no" >&6; }
4143 test -n "$CC" && break
4144 done
4146 if test -z "$CC"; then
4147 ac_ct_CC=$CC
4148 for ac_prog in cl.exe
4150 # Extract the first word of "$ac_prog", so it can be a program name with args.
4151 set dummy $ac_prog; ac_word=$2
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4153 $as_echo_n "checking for $ac_word... " >&6; }
4154 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4155 $as_echo_n "(cached) " >&6
4156 else
4157 if test -n "$ac_ct_CC"; then
4158 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4159 else
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4161 for as_dir in $PATH
4163 IFS=$as_save_IFS
4164 test -z "$as_dir" && as_dir=.
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167 ac_cv_prog_ac_ct_CC="$ac_prog"
4168 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4169 break 2
4171 done
4172 done
4173 IFS=$as_save_IFS
4177 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4178 if test -n "$ac_ct_CC"; then
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4180 $as_echo "$ac_ct_CC" >&6; }
4181 else
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4183 $as_echo "no" >&6; }
4187 test -n "$ac_ct_CC" && break
4188 done
4190 if test "x$ac_ct_CC" = x; then
4191 CC=""
4192 else
4193 case $cross_compiling:$ac_tool_warned in
4194 yes:)
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4197 ac_tool_warned=yes ;;
4198 esac
4199 CC=$ac_ct_CC
4206 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 as_fn_error $? "no acceptable C compiler found in \$PATH
4209 See \`config.log' for more details" "$LINENO" 5; }
4211 # Provide some information about the compiler.
4212 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4213 set X $ac_compile
4214 ac_compiler=$2
4215 for ac_option in --version -v -V -qversion; do
4216 { { ac_try="$ac_compiler $ac_option >&5"
4217 case "(($ac_try" in
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4220 esac
4221 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222 $as_echo "$ac_try_echo"; } >&5
4223 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4224 ac_status=$?
4225 if test -s conftest.err; then
4226 sed '10a\
4227 ... rest of stderr output deleted ...
4228 10q' conftest.err >conftest.er1
4229 cat conftest.er1 >&5
4231 rm -f conftest.er1 conftest.err
4232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233 test $ac_status = 0; }
4234 done
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4240 main ()
4244 return 0;
4246 _ACEOF
4247 ac_clean_files_save=$ac_clean_files
4248 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4249 # Try to create an executable without -o first, disregard a.out.
4250 # It will help us diagnose broken compilers, and finding out an intuition
4251 # of exeext.
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4253 $as_echo_n "checking whether the C compiler works... " >&6; }
4254 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4256 # The possible output files:
4257 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4259 ac_rmfiles=
4260 for ac_file in $ac_files
4262 case $ac_file in
4263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4264 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4265 esac
4266 done
4267 rm -f $ac_rmfiles
4269 if { { ac_try="$ac_link_default"
4270 case "(($ac_try" in
4271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4273 esac
4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275 $as_echo "$ac_try_echo"; } >&5
4276 (eval "$ac_link_default") 2>&5
4277 ac_status=$?
4278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 test $ac_status = 0; }; then :
4280 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4281 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4282 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4283 # so that the user can short-circuit this test for compilers unknown to
4284 # Autoconf.
4285 for ac_file in $ac_files ''
4287 test -f "$ac_file" || continue
4288 case $ac_file in
4289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4291 [ab].out )
4292 # We found the default executable, but exeext='' is most
4293 # certainly right.
4294 break;;
4295 *.* )
4296 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4297 then :; else
4298 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4300 # We set ac_cv_exeext here because the later test for it is not
4301 # safe: cross compilers may not add the suffix if given an `-o'
4302 # argument, so we may need to know it at that point already.
4303 # Even if this section looks crufty: it has the advantage of
4304 # actually working.
4305 break;;
4307 break;;
4308 esac
4309 done
4310 test "$ac_cv_exeext" = no && ac_cv_exeext=
4312 else
4313 ac_file=''
4315 if test -z "$ac_file"; then :
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317 $as_echo "no" >&6; }
4318 $as_echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.$ac_ext >&5
4321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323 as_fn_error 77 "C compiler cannot create executables
4324 See \`config.log' for more details" "$LINENO" 5; }
4325 else
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4327 $as_echo "yes" >&6; }
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4330 $as_echo_n "checking for C compiler default output file name... " >&6; }
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4332 $as_echo "$ac_file" >&6; }
4333 ac_exeext=$ac_cv_exeext
4335 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4336 ac_clean_files=$ac_clean_files_save
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4338 $as_echo_n "checking for suffix of executables... " >&6; }
4339 if { { ac_try="$ac_link"
4340 case "(($ac_try" in
4341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4342 *) ac_try_echo=$ac_try;;
4343 esac
4344 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4345 $as_echo "$ac_try_echo"; } >&5
4346 (eval "$ac_link") 2>&5
4347 ac_status=$?
4348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4349 test $ac_status = 0; }; then :
4350 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4351 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4352 # work properly (i.e., refer to `conftest.exe'), while it won't with
4353 # `rm'.
4354 for ac_file in conftest.exe conftest conftest.*; do
4355 test -f "$ac_file" || continue
4356 case $ac_file in
4357 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4358 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4359 break;;
4360 * ) break;;
4361 esac
4362 done
4363 else
4364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4366 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4367 See \`config.log' for more details" "$LINENO" 5; }
4369 rm -f conftest conftest$ac_cv_exeext
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4371 $as_echo "$ac_cv_exeext" >&6; }
4373 rm -f conftest.$ac_ext
4374 EXEEXT=$ac_cv_exeext
4375 ac_exeext=$EXEEXT
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4378 #include <stdio.h>
4380 main ()
4382 FILE *f = fopen ("conftest.out", "w");
4383 return ferror (f) || fclose (f) != 0;
4386 return 0;
4388 _ACEOF
4389 ac_clean_files="$ac_clean_files conftest.out"
4390 # Check that the compiler produces executables we can run. If not, either
4391 # the compiler is broken, or we cross compile.
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4393 $as_echo_n "checking whether we are cross compiling... " >&6; }
4394 if test "$cross_compiling" != yes; then
4395 { { ac_try="$ac_link"
4396 case "(($ac_try" in
4397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398 *) ac_try_echo=$ac_try;;
4399 esac
4400 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4401 $as_echo "$ac_try_echo"; } >&5
4402 (eval "$ac_link") 2>&5
4403 ac_status=$?
4404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405 test $ac_status = 0; }
4406 if { ac_try='./conftest$ac_cv_exeext'
4407 { { case "(($ac_try" in
4408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409 *) ac_try_echo=$ac_try;;
4410 esac
4411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4412 $as_echo "$ac_try_echo"; } >&5
4413 (eval "$ac_try") 2>&5
4414 ac_status=$?
4415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4416 test $ac_status = 0; }; }; then
4417 cross_compiling=no
4418 else
4419 if test "$cross_compiling" = maybe; then
4420 cross_compiling=yes
4421 else
4422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4424 as_fn_error $? "cannot run C compiled programs.
4425 If you meant to cross compile, use \`--host'.
4426 See \`config.log' for more details" "$LINENO" 5; }
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4431 $as_echo "$cross_compiling" >&6; }
4433 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4434 ac_clean_files=$ac_clean_files_save
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4436 $as_echo_n "checking for suffix of object files... " >&6; }
4437 if ${ac_cv_objext+:} false; then :
4438 $as_echo_n "(cached) " >&6
4439 else
4440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441 /* end confdefs.h. */
4444 main ()
4448 return 0;
4450 _ACEOF
4451 rm -f conftest.o conftest.obj
4452 if { { ac_try="$ac_compile"
4453 case "(($ac_try" in
4454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4456 esac
4457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4458 $as_echo "$ac_try_echo"; } >&5
4459 (eval "$ac_compile") 2>&5
4460 ac_status=$?
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }; then :
4463 for ac_file in conftest.o conftest.obj conftest.*; do
4464 test -f "$ac_file" || continue;
4465 case $ac_file in
4466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4467 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4468 break;;
4469 esac
4470 done
4471 else
4472 $as_echo "$as_me: failed program was:" >&5
4473 sed 's/^/| /' conftest.$ac_ext >&5
4475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4477 as_fn_error $? "cannot compute suffix of object files: cannot compile
4478 See \`config.log' for more details" "$LINENO" 5; }
4480 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4483 $as_echo "$ac_cv_objext" >&6; }
4484 OBJEXT=$ac_cv_objext
4485 ac_objext=$OBJEXT
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4487 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4488 if ${ac_cv_c_compiler_gnu+:} false; then :
4489 $as_echo_n "(cached) " >&6
4490 else
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4495 main ()
4497 #ifndef __GNUC__
4498 choke me
4499 #endif
4502 return 0;
4504 _ACEOF
4505 if ac_fn_c_try_compile "$LINENO"; then :
4506 ac_compiler_gnu=yes
4507 else
4508 ac_compiler_gnu=no
4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4515 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4516 if test $ac_compiler_gnu = yes; then
4517 GCC=yes
4518 else
4519 GCC=
4521 ac_test_CFLAGS=${CFLAGS+set}
4522 ac_save_CFLAGS=$CFLAGS
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4524 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4525 if ${ac_cv_prog_cc_g+:} false; then :
4526 $as_echo_n "(cached) " >&6
4527 else
4528 ac_save_c_werror_flag=$ac_c_werror_flag
4529 ac_c_werror_flag=yes
4530 ac_cv_prog_cc_g=no
4531 CFLAGS="-g"
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4536 main ()
4540 return 0;
4542 _ACEOF
4543 if ac_fn_c_try_compile "$LINENO"; then :
4544 ac_cv_prog_cc_g=yes
4545 else
4546 CFLAGS=""
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 :
4560 else
4561 ac_c_werror_flag=$ac_save_c_werror_flag
4562 CFLAGS="-g"
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4571 return 0;
4573 _ACEOF
4574 if ac_fn_c_try_compile "$LINENO"; then :
4575 ac_cv_prog_cc_g=yes
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 ac_c_werror_flag=$ac_save_c_werror_flag
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4585 $as_echo "$ac_cv_prog_cc_g" >&6; }
4586 if test "$ac_test_CFLAGS" = set; then
4587 CFLAGS=$ac_save_CFLAGS
4588 elif test $ac_cv_prog_cc_g = yes; then
4589 if test "$GCC" = yes; then
4590 CFLAGS="-g -O2"
4591 else
4592 CFLAGS="-g"
4594 else
4595 if test "$GCC" = yes; then
4596 CFLAGS="-O2"
4597 else
4598 CFLAGS=
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4602 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4603 if ${ac_cv_prog_cc_c89+:} false; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 ac_cv_prog_cc_c89=no
4607 ac_save_CC=$CC
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609 /* end confdefs.h. */
4610 #include <stdarg.h>
4611 #include <stdio.h>
4612 struct stat;
4613 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4614 struct buf { int x; };
4615 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4616 static char *e (p, i)
4617 char **p;
4618 int i;
4620 return p[i];
4622 static char *f (char * (*g) (char **, int), char **p, ...)
4624 char *s;
4625 va_list v;
4626 va_start (v,p);
4627 s = g (p, va_arg (v,int));
4628 va_end (v);
4629 return s;
4632 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4633 function prototypes and stuff, but not '\xHH' hex character constants.
4634 These don't provoke an error unfortunately, instead are silently treated
4635 as 'x'. The following induces an error, until -std is added to get
4636 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4637 array size at least. It's necessary to write '\x00'==0 to get something
4638 that's true only with -std. */
4639 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4641 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4642 inside strings and character constants. */
4643 #define FOO(x) 'x'
4644 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4646 int test (int i, double x);
4647 struct s1 {int (*f) (int a);};
4648 struct s2 {int (*f) (double a);};
4649 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4650 int argc;
4651 char **argv;
4653 main ()
4655 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4657 return 0;
4659 _ACEOF
4660 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4661 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4663 CC="$ac_save_CC $ac_arg"
4664 if ac_fn_c_try_compile "$LINENO"; then :
4665 ac_cv_prog_cc_c89=$ac_arg
4667 rm -f core conftest.err conftest.$ac_objext
4668 test "x$ac_cv_prog_cc_c89" != "xno" && break
4669 done
4670 rm -f conftest.$ac_ext
4671 CC=$ac_save_CC
4674 # AC_CACHE_VAL
4675 case "x$ac_cv_prog_cc_c89" in
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4678 $as_echo "none needed" >&6; } ;;
4679 xno)
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4681 $as_echo "unsupported" >&6; } ;;
4683 CC="$CC $ac_cv_prog_cc_c89"
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4685 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4686 esac
4687 if test "x$ac_cv_prog_cc_c89" != xno; then :
4691 ac_ext=c
4692 ac_cpp='$CPP $CPPFLAGS'
4693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4697 ac_ext=cpp
4698 ac_cpp='$CXXCPP $CPPFLAGS'
4699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4702 if test -z "$CXX"; then
4703 if test -n "$CCC"; then
4704 CXX=$CCC
4705 else
4706 if test -n "$ac_tool_prefix"; then
4707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if ${ac_cv_prog_CXX+:} false; then :
4714 $as_echo_n "(cached) " >&6
4715 else
4716 if test -n "$CXX"; then
4717 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4718 else
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4720 for as_dir in $PATH
4722 IFS=$as_save_IFS
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4726 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 break 2
4730 done
4731 done
4732 IFS=$as_save_IFS
4736 CXX=$ac_cv_prog_CXX
4737 if test -n "$CXX"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4739 $as_echo "$CXX" >&6; }
4740 else
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4746 test -n "$CXX" && break
4747 done
4749 if test -z "$CXX"; then
4750 ac_ct_CXX=$CXX
4751 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4753 # Extract the first word of "$ac_prog", so it can be a program name with args.
4754 set dummy $ac_prog; ac_word=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4758 $as_echo_n "(cached) " >&6
4759 else
4760 if test -n "$ac_ct_CXX"; then
4761 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4762 else
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764 for as_dir in $PATH
4766 IFS=$as_save_IFS
4767 test -z "$as_dir" && as_dir=.
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4770 ac_cv_prog_ac_ct_CXX="$ac_prog"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 break 2
4774 done
4775 done
4776 IFS=$as_save_IFS
4780 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4781 if test -n "$ac_ct_CXX"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4783 $as_echo "$ac_ct_CXX" >&6; }
4784 else
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4790 test -n "$ac_ct_CXX" && break
4791 done
4793 if test "x$ac_ct_CXX" = x; then
4794 CXX="g++"
4795 else
4796 case $cross_compiling:$ac_tool_warned in
4797 yes:)
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4800 ac_tool_warned=yes ;;
4801 esac
4802 CXX=$ac_ct_CXX
4808 # Provide some information about the compiler.
4809 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4810 set X $ac_compile
4811 ac_compiler=$2
4812 for ac_option in --version -v -V -qversion; do
4813 { { ac_try="$ac_compiler $ac_option >&5"
4814 case "(($ac_try" in
4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816 *) ac_try_echo=$ac_try;;
4817 esac
4818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4819 $as_echo "$ac_try_echo"; } >&5
4820 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4821 ac_status=$?
4822 if test -s conftest.err; then
4823 sed '10a\
4824 ... rest of stderr output deleted ...
4825 10q' conftest.err >conftest.er1
4826 cat conftest.er1 >&5
4828 rm -f conftest.er1 conftest.err
4829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4830 test $ac_status = 0; }
4831 done
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4834 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4835 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4836 $as_echo_n "(cached) " >&6
4837 else
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4842 main ()
4844 #ifndef __GNUC__
4845 choke me
4846 #endif
4849 return 0;
4851 _ACEOF
4852 if ac_fn_cxx_try_compile "$LINENO"; then :
4853 ac_compiler_gnu=yes
4854 else
4855 ac_compiler_gnu=no
4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4862 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4863 if test $ac_compiler_gnu = yes; then
4864 GXX=yes
4865 else
4866 GXX=
4868 ac_test_CXXFLAGS=${CXXFLAGS+set}
4869 ac_save_CXXFLAGS=$CXXFLAGS
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4871 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4872 if ${ac_cv_prog_cxx_g+:} false; then :
4873 $as_echo_n "(cached) " >&6
4874 else
4875 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4876 ac_cxx_werror_flag=yes
4877 ac_cv_prog_cxx_g=no
4878 CXXFLAGS="-g"
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4883 main ()
4887 return 0;
4889 _ACEOF
4890 if ac_fn_cxx_try_compile "$LINENO"; then :
4891 ac_cv_prog_cxx_g=yes
4892 else
4893 CXXFLAGS=""
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 :
4907 else
4908 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4909 CXXFLAGS="-g"
4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4914 main ()
4918 return 0;
4920 _ACEOF
4921 if ac_fn_cxx_try_compile "$LINENO"; then :
4922 ac_cv_prog_cxx_g=yes
4924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4932 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4933 if test "$ac_test_CXXFLAGS" = set; then
4934 CXXFLAGS=$ac_save_CXXFLAGS
4935 elif test $ac_cv_prog_cxx_g = yes; then
4936 if test "$GXX" = yes; then
4937 CXXFLAGS="-g -O2"
4938 else
4939 CXXFLAGS="-g"
4941 else
4942 if test "$GXX" = yes; then
4943 CXXFLAGS="-O2"
4944 else
4945 CXXFLAGS=
4948 ac_ext=c
4949 ac_cpp='$CPP $CPPFLAGS'
4950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4954 if test -n "$ac_tool_prefix"; then
4955 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4956 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if ${ac_cv_prog_CPPBIN+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 if test -n "$CPPBIN"; then
4963 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4964 else
4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 for as_dir in $PATH
4968 IFS=$as_save_IFS
4969 test -z "$as_dir" && as_dir=.
4970 for ac_exec_ext in '' $ac_executable_extensions; do
4971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4972 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4974 break 2
4976 done
4977 done
4978 IFS=$as_save_IFS
4982 CPPBIN=$ac_cv_prog_CPPBIN
4983 if test -n "$CPPBIN"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4985 $as_echo "$CPPBIN" >&6; }
4986 else
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4993 if test -z "$ac_cv_prog_CPPBIN"; then
4994 ac_ct_CPPBIN=$CPPBIN
4995 # Extract the first word of "cpp", so it can be a program name with args.
4996 set dummy cpp; ac_word=$2
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4998 $as_echo_n "checking for $ac_word... " >&6; }
4999 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5000 $as_echo_n "(cached) " >&6
5001 else
5002 if test -n "$ac_ct_CPPBIN"; then
5003 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5004 else
5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 for as_dir in $PATH
5008 IFS=$as_save_IFS
5009 test -z "$as_dir" && as_dir=.
5010 for ac_exec_ext in '' $ac_executable_extensions; do
5011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5012 ac_cv_prog_ac_ct_CPPBIN="cpp"
5013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 break 2
5016 done
5017 done
5018 IFS=$as_save_IFS
5022 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5023 if test -n "$ac_ct_CPPBIN"; then
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5025 $as_echo "$ac_ct_CPPBIN" >&6; }
5026 else
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5028 $as_echo "no" >&6; }
5031 if test "x$ac_ct_CPPBIN" = x; then
5032 CPPBIN="cpp"
5033 else
5034 case $cross_compiling:$ac_tool_warned in
5035 yes:)
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5038 ac_tool_warned=yes ;;
5039 esac
5040 CPPBIN=$ac_ct_CPPBIN
5042 else
5043 CPPBIN="$ac_cv_prog_CPPBIN"
5047 cat >>confdefs.h <<_ACEOF
5048 #define EXEEXT "$ac_exeext"
5049 _ACEOF
5051 if test -n "$ac_tool_prefix"; then
5052 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5053 set dummy ${ac_tool_prefix}ld; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if ${ac_cv_prog_LD+:} false; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$LD"; then
5060 ac_cv_prog_LD="$LD" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5069 ac_cv_prog_LD="${ac_tool_prefix}ld"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5073 done
5074 done
5075 IFS=$as_save_IFS
5079 LD=$ac_cv_prog_LD
5080 if test -n "$LD"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5082 $as_echo "$LD" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5090 if test -z "$ac_cv_prog_LD"; then
5091 ac_ct_LD=$LD
5092 # Extract the first word of "ld", so it can be a program name with args.
5093 set dummy ld; ac_word=$2
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5095 $as_echo_n "checking for $ac_word... " >&6; }
5096 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5097 $as_echo_n "(cached) " >&6
5098 else
5099 if test -n "$ac_ct_LD"; then
5100 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5101 else
5102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5103 for as_dir in $PATH
5105 IFS=$as_save_IFS
5106 test -z "$as_dir" && as_dir=.
5107 for ac_exec_ext in '' $ac_executable_extensions; do
5108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5109 ac_cv_prog_ac_ct_LD="ld"
5110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5111 break 2
5113 done
5114 done
5115 IFS=$as_save_IFS
5119 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5120 if test -n "$ac_ct_LD"; then
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5122 $as_echo "$ac_ct_LD" >&6; }
5123 else
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5125 $as_echo "no" >&6; }
5128 if test "x$ac_ct_LD" = x; then
5129 LD=""
5130 else
5131 case $cross_compiling:$ac_tool_warned in
5132 yes:)
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5135 ac_tool_warned=yes ;;
5136 esac
5137 LD=$ac_ct_LD
5139 else
5140 LD="$ac_cv_prog_LD"
5144 case $host in
5145 *-darwin*)
5146 with_fontconfig=${with_fontconfig:-no}
5148 *-mingw32*|*-cygwin*)
5149 enable_win16=${enable_win16:-no}
5150 CFLAGS="$CFLAGS -D_WIN32"
5152 esac
5154 case $host in
5155 x86_64*|amd64*)
5156 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5157 then
5158 CC="$CC -m32"
5159 CXX="$CXX -m32"
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5161 $as_echo_n "checking whether $CC works... " >&6; }
5163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5167 main ()
5171 return 0;
5173 _ACEOF
5174 if ac_fn_c_try_link "$LINENO"; then :
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5176 $as_echo "yes" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5180 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5182 rm -f core conftest.err conftest.$ac_objext \
5183 conftest$ac_exeext conftest.$ac_ext
5184 host_cpu="i386"
5185 notice_platform="32-bit "
5186 TARGETFLAGS="-m32"
5188 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5189 export PKG_CONFIG_PATH
5190 enable_win16=${enable_win16:-yes}
5191 else
5192 if test "x${GCC}" = "xyes"
5193 then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5195 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5197 /* end confdefs.h. */
5198 #include <stdarg.h>
5200 main ()
5202 void func(__builtin_ms_va_list *args);
5204 return 0;
5206 _ACEOF
5207 if ac_fn_c_try_compile "$LINENO"; then :
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5209 $as_echo "yes" >&6; }
5210 else
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5213 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5217 CC="$CC -m64"
5218 CXX="$CXX -m64"
5219 host_cpu="x86_64"
5220 notice_platform="64-bit "
5221 TARGETFLAGS="-m64"
5225 arm*)
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5227 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5230 int ac_test(int i) { return i; }
5232 main ()
5234 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5236 return 0;
5238 _ACEOF
5239 if ac_fn_c_try_link "$LINENO"; then :
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5241 $as_echo "yes" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5245 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5247 rm -f core conftest.err conftest.$ac_objext \
5248 conftest$ac_exeext conftest.$ac_ext
5249 CFLAGS="$CFLAGS -marm"
5250 TARGETFLAGS="-marm"
5253 i[3456789]86*)
5254 enable_win16=${enable_win16:-yes}
5256 esac
5258 enable_win16=${enable_win16:-no}
5259 enable_win64=${enable_win64:-no}
5261 enable_winetest=${enable_winetest:-$enable_tests}
5263 if test -n "$with_wine64"
5264 then
5265 if test "x$enable_win64" = "xyes"
5266 then
5267 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5268 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5270 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5271 You should create a separate build directory and run configure from there." "$LINENO" 5
5272 enable_fonts=${enable_fonts:-no}
5273 enable_server=${enable_server:-no}
5274 elif test "x$enable_win64" = "xyes"
5275 then
5276 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5280 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5281 if ${wine_cv_toolsdir+:} false; then :
5282 $as_echo_n "(cached) " >&6
5283 else
5284 wine_cv_toolsdir="$with_wine_tools"
5285 if test -z "$with_wine_tools"; then
5286 if test "$cross_compiling" = "yes"; then
5287 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5288 elif test -n "$with_wine64"; then
5289 wine_cv_toolsdir="$with_wine64"
5292 if test -z "$wine_cv_toolsdir"; then
5293 wine_makedep=tools/makedep
5294 wine_cv_toolsdir="\$(top_builddir)"
5295 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5296 wine_makedep=$wine_cv_toolsdir/tools/makedep
5297 case "$wine_cv_toolsdir" in
5298 /*) ;;
5299 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5300 esac
5301 enable_tools=${enable_tools:-no}
5302 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5303 else
5304 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5308 $as_echo "$wine_cv_toolsdir" >&6; }
5309 TOOLSDIR=$wine_cv_toolsdir
5311 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5312 then
5313 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5317 for ac_prog in flex
5319 # Extract the first word of "$ac_prog", so it can be a program name with args.
5320 set dummy $ac_prog; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_FLEX+:} false; then :
5324 $as_echo_n "(cached) " >&6
5325 else
5326 if test -n "$FLEX"; then
5327 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5332 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_FLEX="$ac_prog"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5340 done
5341 done
5342 IFS=$as_save_IFS
5346 FLEX=$ac_cv_prog_FLEX
5347 if test -n "$FLEX"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5349 $as_echo "$FLEX" >&6; }
5350 else
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5356 test -n "$FLEX" && break
5357 done
5358 test -n "$FLEX" || FLEX="none"
5360 if test "$FLEX" = "none"
5361 then
5362 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5365 $as_echo_n "checking whether flex is recent enough... " >&6; }
5366 cat >conftest.l <<EOF
5367 %top{
5368 #include "prediluvian.h"
5372 if $FLEX -t conftest.l >/dev/null 2>&5
5373 then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5375 $as_echo "yes" >&6; }
5376 else
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5379 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5382 for ac_prog in bison
5384 # Extract the first word of "$ac_prog", so it can be a program name with args.
5385 set dummy $ac_prog; ac_word=$2
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5387 $as_echo_n "checking for $ac_word... " >&6; }
5388 if ${ac_cv_prog_BISON+:} false; then :
5389 $as_echo_n "(cached) " >&6
5390 else
5391 if test -n "$BISON"; then
5392 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5393 else
5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5395 for as_dir in $PATH
5397 IFS=$as_save_IFS
5398 test -z "$as_dir" && as_dir=.
5399 for ac_exec_ext in '' $ac_executable_extensions; do
5400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5401 ac_cv_prog_BISON="$ac_prog"
5402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5403 break 2
5405 done
5406 done
5407 IFS=$as_save_IFS
5411 BISON=$ac_cv_prog_BISON
5412 if test -n "$BISON"; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5414 $as_echo "$BISON" >&6; }
5415 else
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }
5421 test -n "$BISON" && break
5422 done
5423 test -n "$BISON" || BISON="none"
5425 if test "$BISON" = "none"
5426 then
5427 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5430 if test -n "$ac_tool_prefix"; then
5431 for ac_prog in ar gar
5433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_AR+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 if test -n "$AR"; then
5441 ac_cv_prog_AR="$AR" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5456 IFS=$as_save_IFS
5460 AR=$ac_cv_prog_AR
5461 if test -n "$AR"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5463 $as_echo "$AR" >&6; }
5464 else
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5470 test -n "$AR" && break
5471 done
5473 if test -z "$AR"; then
5474 ac_ct_AR=$AR
5475 for ac_prog in ar gar
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy $ac_prog; ac_word=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5482 $as_echo_n "(cached) " >&6
5483 else
5484 if test -n "$ac_ct_AR"; then
5485 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5486 else
5487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5488 for as_dir in $PATH
5490 IFS=$as_save_IFS
5491 test -z "$as_dir" && as_dir=.
5492 for ac_exec_ext in '' $ac_executable_extensions; do
5493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_ac_ct_AR="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 break 2
5498 done
5499 done
5500 IFS=$as_save_IFS
5504 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5505 if test -n "$ac_ct_AR"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5507 $as_echo "$ac_ct_AR" >&6; }
5508 else
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$ac_ct_AR" && break
5515 done
5517 if test "x$ac_ct_AR" = x; then
5518 AR="ar"
5519 else
5520 case $cross_compiling:$ac_tool_warned in
5521 yes:)
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned=yes ;;
5525 esac
5526 AR=$ac_ct_AR
5530 if test -n "$ac_tool_prefix"; then
5531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5532 set dummy ${ac_tool_prefix}strip; ac_word=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if ${ac_cv_prog_STRIP+:} false; then :
5536 $as_echo_n "(cached) " >&6
5537 else
5538 if test -n "$STRIP"; then
5539 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5540 else
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 for as_dir in $PATH
5544 IFS=$as_save_IFS
5545 test -z "$as_dir" && as_dir=.
5546 for ac_exec_ext in '' $ac_executable_extensions; do
5547 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5548 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 break 2
5552 done
5553 done
5554 IFS=$as_save_IFS
5558 STRIP=$ac_cv_prog_STRIP
5559 if test -n "$STRIP"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5561 $as_echo "$STRIP" >&6; }
5562 else
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5569 if test -z "$ac_cv_prog_STRIP"; then
5570 ac_ct_STRIP=$STRIP
5571 # Extract the first word of "strip", so it can be a program name with args.
5572 set dummy strip; ac_word=$2
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5574 $as_echo_n "checking for $ac_word... " >&6; }
5575 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5576 $as_echo_n "(cached) " >&6
5577 else
5578 if test -n "$ac_ct_STRIP"; then
5579 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5580 else
5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 for as_dir in $PATH
5584 IFS=$as_save_IFS
5585 test -z "$as_dir" && as_dir=.
5586 for ac_exec_ext in '' $ac_executable_extensions; do
5587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5588 ac_cv_prog_ac_ct_STRIP="strip"
5589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5590 break 2
5592 done
5593 done
5594 IFS=$as_save_IFS
5598 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5599 if test -n "$ac_ct_STRIP"; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5601 $as_echo "$ac_ct_STRIP" >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5604 $as_echo "no" >&6; }
5607 if test "x$ac_ct_STRIP" = x; then
5608 STRIP="strip"
5609 else
5610 case $cross_compiling:$ac_tool_warned in
5611 yes:)
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5614 ac_tool_warned=yes ;;
5615 esac
5616 STRIP=$ac_ct_STRIP
5618 else
5619 STRIP="$ac_cv_prog_STRIP"
5622 ARFLAGS=rc
5624 if test -n "$ac_tool_prefix"; then
5625 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5626 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628 $as_echo_n "checking for $ac_word... " >&6; }
5629 if ${ac_cv_prog_RANLIB+:} false; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 if test -n "$RANLIB"; then
5633 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5634 else
5635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5636 for as_dir in $PATH
5638 IFS=$as_save_IFS
5639 test -z "$as_dir" && as_dir=.
5640 for ac_exec_ext in '' $ac_executable_extensions; do
5641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5642 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5644 break 2
5646 done
5647 done
5648 IFS=$as_save_IFS
5652 RANLIB=$ac_cv_prog_RANLIB
5653 if test -n "$RANLIB"; then
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5655 $as_echo "$RANLIB" >&6; }
5656 else
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }
5663 if test -z "$ac_cv_prog_RANLIB"; then
5664 ac_ct_RANLIB=$RANLIB
5665 # Extract the first word of "ranlib", so it can be a program name with args.
5666 set dummy ranlib; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5670 $as_echo_n "(cached) " >&6
5671 else
5672 if test -n "$ac_ct_RANLIB"; then
5673 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5678 IFS=$as_save_IFS
5679 test -z "$as_dir" && as_dir=.
5680 for ac_exec_ext in '' $ac_executable_extensions; do
5681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5682 ac_cv_prog_ac_ct_RANLIB="ranlib"
5683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 break 2
5686 done
5687 done
5688 IFS=$as_save_IFS
5692 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5693 if test -n "$ac_ct_RANLIB"; then
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5695 $as_echo "$ac_ct_RANLIB" >&6; }
5696 else
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5701 if test "x$ac_ct_RANLIB" = x; then
5702 RANLIB=":"
5703 else
5704 case $cross_compiling:$ac_tool_warned in
5705 yes:)
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5708 ac_tool_warned=yes ;;
5709 esac
5710 RANLIB=$ac_ct_RANLIB
5712 else
5713 RANLIB="$ac_cv_prog_RANLIB"
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5717 $as_echo_n "checking whether ln -s works... " >&6; }
5718 LN_S=$as_ln_s
5719 if test "$LN_S" = "ln -s"; then
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5721 $as_echo "yes" >&6; }
5722 else
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5724 $as_echo "no, using $LN_S" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5728 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5729 if ${ac_cv_path_GREP+:} false; then :
5730 $as_echo_n "(cached) " >&6
5731 else
5732 if test -z "$GREP"; then
5733 ac_path_GREP_found=false
5734 # Loop through the user's path and test for each of PROGNAME-LIST
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5738 IFS=$as_save_IFS
5739 test -z "$as_dir" && as_dir=.
5740 for ac_prog in grep ggrep; do
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5743 as_fn_executable_p "$ac_path_GREP" || continue
5744 # Check for GNU ac_path_GREP and select it if it is found.
5745 # Check for GNU $ac_path_GREP
5746 case `"$ac_path_GREP" --version 2>&1` in
5747 *GNU*)
5748 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5750 ac_count=0
5751 $as_echo_n 0123456789 >"conftest.in"
5752 while :
5754 cat "conftest.in" "conftest.in" >"conftest.tmp"
5755 mv "conftest.tmp" "conftest.in"
5756 cp "conftest.in" "conftest.nl"
5757 $as_echo 'GREP' >> "conftest.nl"
5758 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5759 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5760 as_fn_arith $ac_count + 1 && ac_count=$as_val
5761 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5762 # Best one so far, save it but keep looking for a better one
5763 ac_cv_path_GREP="$ac_path_GREP"
5764 ac_path_GREP_max=$ac_count
5766 # 10*(2^10) chars as input seems more than enough
5767 test $ac_count -gt 10 && break
5768 done
5769 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5770 esac
5772 $ac_path_GREP_found && break 3
5773 done
5774 done
5775 done
5776 IFS=$as_save_IFS
5777 if test -z "$ac_cv_path_GREP"; then
5778 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5780 else
5781 ac_cv_path_GREP=$GREP
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5786 $as_echo "$ac_cv_path_GREP" >&6; }
5787 GREP="$ac_cv_path_GREP"
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5791 $as_echo_n "checking for egrep... " >&6; }
5792 if ${ac_cv_path_EGREP+:} false; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5796 then ac_cv_path_EGREP="$GREP -E"
5797 else
5798 if test -z "$EGREP"; then
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 as_fn_executable_p "$ac_path_EGREP" || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5813 *GNU*)
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5816 ac_count=0
5817 $as_echo_n 0123456789 >"conftest.in"
5818 while :
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 $as_echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 as_fn_arith $ac_count + 1 && ac_count=$as_val
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5834 done
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5836 esac
5838 $ac_path_EGREP_found && break 3
5839 done
5840 done
5841 done
5842 IFS=$as_save_IFS
5843 if test -z "$ac_cv_path_EGREP"; then
5844 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5846 else
5847 ac_cv_path_EGREP=$EGREP
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5853 $as_echo "$ac_cv_path_EGREP" >&6; }
5854 EGREP="$ac_cv_path_EGREP"
5857 # Extract the first word of "ldconfig", so it can be a program name with args.
5858 set dummy ldconfig; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5860 $as_echo_n "checking for $ac_word... " >&6; }
5861 if ${ac_cv_path_LDCONFIG+:} false; then :
5862 $as_echo_n "(cached) " >&6
5863 else
5864 case $LDCONFIG in
5865 [\\/]* | ?:[\\/]*)
5866 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 for as_dir in /sbin /usr/sbin $PATH
5872 IFS=$as_save_IFS
5873 test -z "$as_dir" && as_dir=.
5874 for ac_exec_ext in '' $ac_executable_extensions; do
5875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5876 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 break 2
5880 done
5881 done
5882 IFS=$as_save_IFS
5884 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5886 esac
5888 LDCONFIG=$ac_cv_path_LDCONFIG
5889 if test -n "$LDCONFIG"; then
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5891 $as_echo "$LDCONFIG" >&6; }
5892 else
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5894 $as_echo "no" >&6; }
5898 for ac_prog in msgfmt
5900 # Extract the first word of "$ac_prog", so it can be a program name with args.
5901 set dummy $ac_prog; ac_word=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_MSGFMT+:} false; then :
5905 $as_echo_n "(cached) " >&6
5906 else
5907 if test -n "$MSGFMT"; then
5908 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5909 else
5910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 for as_dir in $PATH
5913 IFS=$as_save_IFS
5914 test -z "$as_dir" && as_dir=.
5915 for ac_exec_ext in '' $ac_executable_extensions; do
5916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_MSGFMT="$ac_prog"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5919 break 2
5921 done
5922 done
5923 IFS=$as_save_IFS
5927 MSGFMT=$ac_cv_prog_MSGFMT
5928 if test -n "$MSGFMT"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5930 $as_echo "$MSGFMT" >&6; }
5931 else
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5937 test -n "$MSGFMT" && break
5938 done
5939 test -n "$MSGFMT" || MSGFMT="false"
5941 if ${ac_tool_prefix+:} false; then :
5942 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5943 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5945 $as_echo_n "checking for $ac_word... " >&6; }
5946 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5947 $as_echo_n "(cached) " >&6
5948 else
5949 if test -n "$PKG_CONFIG"; then
5950 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5951 else
5952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5953 for as_dir in $PATH
5955 IFS=$as_save_IFS
5956 test -z "$as_dir" && as_dir=.
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5959 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 break 2
5963 done
5964 done
5965 IFS=$as_save_IFS
5969 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5970 if test -n "$PKG_CONFIG"; then
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5972 $as_echo "$PKG_CONFIG" >&6; }
5973 else
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5975 $as_echo "no" >&6; }
5980 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5981 if test "x$cross_compiling" = xyes; then :
5983 else
5984 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5985 # Extract the first word of "pkg-config", so it can be a program name with args.
5986 set dummy pkg-config; ac_word=$2
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 $as_echo_n "checking for $ac_word... " >&6; }
5989 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5990 $as_echo_n "(cached) " >&6
5991 else
5992 if test -n "$PKG_CONFIG"; then
5993 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5994 else
5995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5996 for as_dir in $PATH
5998 IFS=$as_save_IFS
5999 test -z "$as_dir" && as_dir=.
6000 for ac_exec_ext in '' $ac_executable_extensions; do
6001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6002 ac_cv_prog_PKG_CONFIG="pkg-config"
6003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004 break 2
6006 done
6007 done
6008 IFS=$as_save_IFS
6012 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6013 if test -n "$PKG_CONFIG"; then
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6015 $as_echo "$PKG_CONFIG" >&6; }
6016 else
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6018 $as_echo "no" >&6; }
6023 else
6024 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6027 if test "x$enable_maintainer_mode" != "xyes"
6028 then
6029 FONTFORGE=""
6030 RSVG=""
6031 CONVERT=""
6032 ICOTOOL=""
6033 else
6034 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6035 for ac_prog in fontforge
6037 # Extract the first word of "$ac_prog", so it can be a program name with args.
6038 set dummy $ac_prog; ac_word=$2
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040 $as_echo_n "checking for $ac_word... " >&6; }
6041 if ${ac_cv_prog_FONTFORGE+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 if test -n "$FONTFORGE"; then
6045 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6046 else
6047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048 for as_dir in $PATH
6050 IFS=$as_save_IFS
6051 test -z "$as_dir" && as_dir=.
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6054 ac_cv_prog_FONTFORGE="$ac_prog"
6055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056 break 2
6058 done
6059 done
6060 IFS=$as_save_IFS
6064 FONTFORGE=$ac_cv_prog_FONTFORGE
6065 if test -n "$FONTFORGE"; then
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6067 $as_echo "$FONTFORGE" >&6; }
6068 else
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070 $as_echo "no" >&6; }
6074 test -n "$FONTFORGE" && break
6075 done
6076 test -n "$FONTFORGE" || FONTFORGE="false"
6078 for ac_prog in rsvg-convert rsvg
6080 # Extract the first word of "$ac_prog", so it can be a program name with args.
6081 set dummy $ac_prog; ac_word=$2
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6083 $as_echo_n "checking for $ac_word... " >&6; }
6084 if ${ac_cv_prog_RSVG+:} false; then :
6085 $as_echo_n "(cached) " >&6
6086 else
6087 if test -n "$RSVG"; then
6088 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6089 else
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6097 ac_cv_prog_RSVG="$ac_prog"
6098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6107 RSVG=$ac_cv_prog_RSVG
6108 if test -n "$RSVG"; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6110 $as_echo "$RSVG" >&6; }
6111 else
6112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6113 $as_echo "no" >&6; }
6117 test -n "$RSVG" && break
6118 done
6119 test -n "$RSVG" || RSVG="false"
6121 for ac_prog in convert
6123 # Extract the first word of "$ac_prog", so it can be a program name with args.
6124 set dummy $ac_prog; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if ${ac_cv_prog_CONVERT+:} false; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$CONVERT"; then
6131 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6140 ac_cv_prog_CONVERT="$ac_prog"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6144 done
6145 done
6146 IFS=$as_save_IFS
6150 CONVERT=$ac_cv_prog_CONVERT
6151 if test -n "$CONVERT"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6153 $as_echo "$CONVERT" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6160 test -n "$CONVERT" && break
6161 done
6162 test -n "$CONVERT" || CONVERT="false"
6164 for ac_prog in icotool
6166 # Extract the first word of "$ac_prog", so it can be a program name with args.
6167 set dummy $ac_prog; ac_word=$2
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if ${ac_cv_prog_ICOTOOL+:} false; then :
6171 $as_echo_n "(cached) " >&6
6172 else
6173 if test -n "$ICOTOOL"; then
6174 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6175 else
6176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6177 for as_dir in $PATH
6179 IFS=$as_save_IFS
6180 test -z "$as_dir" && as_dir=.
6181 for ac_exec_ext in '' $ac_executable_extensions; do
6182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6183 ac_cv_prog_ICOTOOL="$ac_prog"
6184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 break 2
6187 done
6188 done
6189 IFS=$as_save_IFS
6193 ICOTOOL=$ac_cv_prog_ICOTOOL
6194 if test -n "$ICOTOOL"; then
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6196 $as_echo "$ICOTOOL" >&6; }
6197 else
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6199 $as_echo "no" >&6; }
6203 test -n "$ICOTOOL" && break
6204 done
6205 test -n "$ICOTOOL" || ICOTOOL="false"
6207 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6208 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6210 if test "$CONVERT" = false
6211 then
6212 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6215 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6216 convert_version=`convert --version | head -n1`
6217 if test "x$convert_version" != "x"
6218 then
6219 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6220 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6221 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6222 then
6223 CONVERT=false
6226 if test "$CONVERT" = false
6227 then
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6229 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6230 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6231 else
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6233 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6237 if test "$ICOTOOL" = false
6238 then
6239 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6240 else
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6242 $as_echo_n "checking for recent enough icotool... " >&6; }
6243 icotool_version=`icotool --version | head -n1`
6244 if test "x$icotool_version" != "x"
6245 then
6246 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6247 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6248 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6249 then
6250 ICOTOOL=false
6251 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6254 if test "$ICOTOOL" = false
6255 then
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6257 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6258 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6259 else
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6261 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6265 with_gettext=yes
6266 with_gettextpo=yes
6267 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6270 test "x$with_gettext" != xno || MSGFMT=false
6271 if test "$MSGFMT" != "false"
6272 then
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6274 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6275 cat >conftest.po <<EOF
6276 # comment
6277 msgctxt "ctxt"
6278 msgid "id"
6279 msgstr "str"
6281 if $MSGFMT -o /dev/null conftest.po 2>&5
6282 then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6284 $as_echo "yes" >&6; }
6285 else
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6288 MSGFMT=false
6291 if test "$MSGFMT" = false; then :
6292 case "x$with_gettext" in
6293 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6294 xno) ;;
6295 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6296 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6297 esac
6298 enable_po=${enable_po:-no}
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6303 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6304 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6305 $as_echo_n "(cached) " >&6
6306 else
6307 ac_check_lib_save_LIBS=$LIBS
6308 LIBS="-li386 $LIBS"
6309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6312 /* Override any GCC internal prototype to avoid an error.
6313 Use char because int might match the return type of a GCC
6314 builtin and then its argument prototype would still apply. */
6315 #ifdef __cplusplus
6316 extern "C"
6317 #endif
6318 char i386_set_ldt ();
6320 main ()
6322 return i386_set_ldt ();
6324 return 0;
6326 _ACEOF
6327 if ac_fn_c_try_link "$LINENO"; then :
6328 ac_cv_lib_i386_i386_set_ldt=yes
6329 else
6330 ac_cv_lib_i386_i386_set_ldt=no
6332 rm -f core conftest.err conftest.$ac_objext \
6333 conftest$ac_exeext conftest.$ac_ext
6334 LIBS=$ac_check_lib_save_LIBS
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6337 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6338 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6339 cat >>confdefs.h <<_ACEOF
6340 #define HAVE_LIBI386 1
6341 _ACEOF
6343 LIBS="-li386 $LIBS"
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6348 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6349 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6350 $as_echo_n "(cached) " >&6
6351 else
6352 ac_check_lib_save_LIBS=$LIBS
6353 LIBS="-lossaudio $LIBS"
6354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6355 /* end confdefs.h. */
6357 /* Override any GCC internal prototype to avoid an error.
6358 Use char because int might match the return type of a GCC
6359 builtin and then its argument prototype would still apply. */
6360 #ifdef __cplusplus
6361 extern "C"
6362 #endif
6363 char _oss_ioctl ();
6365 main ()
6367 return _oss_ioctl ();
6369 return 0;
6371 _ACEOF
6372 if ac_fn_c_try_link "$LINENO"; then :
6373 ac_cv_lib_ossaudio__oss_ioctl=yes
6374 else
6375 ac_cv_lib_ossaudio__oss_ioctl=no
6377 rm -f core conftest.err conftest.$ac_objext \
6378 conftest$ac_exeext conftest.$ac_ext
6379 LIBS=$ac_check_lib_save_LIBS
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6382 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6383 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6384 cat >>confdefs.h <<_ACEOF
6385 #define HAVE_LIBOSSAUDIO 1
6386 _ACEOF
6388 LIBS="-lossaudio $LIBS"
6393 OPENGL_LIBS=""
6397 # Check whether --enable-largefile was given.
6398 if test "${enable_largefile+set}" = set; then :
6399 enableval=$enable_largefile;
6402 if test "$enable_largefile" != no; then
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6405 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6406 if ${ac_cv_sys_largefile_CC+:} false; then :
6407 $as_echo_n "(cached) " >&6
6408 else
6409 ac_cv_sys_largefile_CC=no
6410 if test "$GCC" != yes; then
6411 ac_save_CC=$CC
6412 while :; do
6413 # IRIX 6.2 and later do not support large files by default,
6414 # so use the C compiler's -n32 option if that helps.
6415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416 /* end confdefs.h. */
6417 #include <sys/types.h>
6418 /* Check that off_t can represent 2**63 - 1 correctly.
6419 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6420 since some C++ compilers masquerading as C compilers
6421 incorrectly reject 9223372036854775807. */
6422 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6423 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6424 && LARGE_OFF_T % 2147483647 == 1)
6425 ? 1 : -1];
6427 main ()
6431 return 0;
6433 _ACEOF
6434 if ac_fn_c_try_compile "$LINENO"; then :
6435 break
6437 rm -f core conftest.err conftest.$ac_objext
6438 CC="$CC -n32"
6439 if ac_fn_c_try_compile "$LINENO"; then :
6440 ac_cv_sys_largefile_CC=' -n32'; break
6442 rm -f core conftest.err conftest.$ac_objext
6443 break
6444 done
6445 CC=$ac_save_CC
6446 rm -f conftest.$ac_ext
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6450 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6451 if test "$ac_cv_sys_largefile_CC" != no; then
6452 CC=$CC$ac_cv_sys_largefile_CC
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6456 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6457 if ${ac_cv_sys_file_offset_bits+:} false; then :
6458 $as_echo_n "(cached) " >&6
6459 else
6460 while :; do
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6463 #include <sys/types.h>
6464 /* Check that off_t can represent 2**63 - 1 correctly.
6465 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6466 since some C++ compilers masquerading as C compilers
6467 incorrectly reject 9223372036854775807. */
6468 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6469 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6470 && LARGE_OFF_T % 2147483647 == 1)
6471 ? 1 : -1];
6473 main ()
6477 return 0;
6479 _ACEOF
6480 if ac_fn_c_try_compile "$LINENO"; then :
6481 ac_cv_sys_file_offset_bits=no; break
6483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6485 /* end confdefs.h. */
6486 #define _FILE_OFFSET_BITS 64
6487 #include <sys/types.h>
6488 /* Check that off_t can represent 2**63 - 1 correctly.
6489 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6490 since some C++ compilers masquerading as C compilers
6491 incorrectly reject 9223372036854775807. */
6492 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6493 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6494 && LARGE_OFF_T % 2147483647 == 1)
6495 ? 1 : -1];
6497 main ()
6501 return 0;
6503 _ACEOF
6504 if ac_fn_c_try_compile "$LINENO"; then :
6505 ac_cv_sys_file_offset_bits=64; break
6507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6508 ac_cv_sys_file_offset_bits=unknown
6509 break
6510 done
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6513 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6514 case $ac_cv_sys_file_offset_bits in #(
6515 no | unknown) ;;
6517 cat >>confdefs.h <<_ACEOF
6518 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6519 _ACEOF
6521 esac
6522 rm -rf conftest*
6523 if test $ac_cv_sys_file_offset_bits = unknown; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6525 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6526 if ${ac_cv_sys_large_files+:} false; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 while :; do
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #include <sys/types.h>
6533 /* Check that off_t can represent 2**63 - 1 correctly.
6534 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6535 since some C++ compilers masquerading as C compilers
6536 incorrectly reject 9223372036854775807. */
6537 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6538 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6539 && LARGE_OFF_T % 2147483647 == 1)
6540 ? 1 : -1];
6542 main ()
6546 return 0;
6548 _ACEOF
6549 if ac_fn_c_try_compile "$LINENO"; then :
6550 ac_cv_sys_large_files=no; break
6552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6554 /* end confdefs.h. */
6555 #define _LARGE_FILES 1
6556 #include <sys/types.h>
6557 /* Check that off_t can represent 2**63 - 1 correctly.
6558 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6559 since some C++ compilers masquerading as C compilers
6560 incorrectly reject 9223372036854775807. */
6561 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6562 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6563 && LARGE_OFF_T % 2147483647 == 1)
6564 ? 1 : -1];
6566 main ()
6570 return 0;
6572 _ACEOF
6573 if ac_fn_c_try_compile "$LINENO"; then :
6574 ac_cv_sys_large_files=1; break
6576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6577 ac_cv_sys_large_files=unknown
6578 break
6579 done
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6582 $as_echo "$ac_cv_sys_large_files" >&6; }
6583 case $ac_cv_sys_large_files in #(
6584 no | unknown) ;;
6586 cat >>confdefs.h <<_ACEOF
6587 #define _LARGE_FILES $ac_cv_sys_large_files
6588 _ACEOF
6590 esac
6591 rm -rf conftest*
6598 ac_ext=c
6599 ac_cpp='$CPP $CPPFLAGS'
6600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6604 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6605 # On Suns, sometimes $CPP names a directory.
6606 if test -n "$CPP" && test -d "$CPP"; then
6607 CPP=
6609 if test -z "$CPP"; then
6610 if ${ac_cv_prog_CPP+:} false; then :
6611 $as_echo_n "(cached) " >&6
6612 else
6613 # Double quotes because CPP needs to be expanded
6614 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6616 ac_preproc_ok=false
6617 for ac_c_preproc_warn_flag in '' yes
6619 # Use a header file that comes with gcc, so configuring glibc
6620 # with a fresh cross-compiler works.
6621 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6622 # <limits.h> exists even on freestanding compilers.
6623 # On the NeXT, cc -E runs the code through the compiler's parser,
6624 # not just through cpp. "Syntax error" is here to catch this case.
6625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6626 /* end confdefs.h. */
6627 #ifdef __STDC__
6628 # include <limits.h>
6629 #else
6630 # include <assert.h>
6631 #endif
6632 Syntax error
6633 _ACEOF
6634 if ac_fn_c_try_cpp "$LINENO"; then :
6636 else
6637 # Broken: fails on valid input.
6638 continue
6640 rm -f conftest.err conftest.i conftest.$ac_ext
6642 # OK, works on sane cases. Now check whether nonexistent headers
6643 # can be detected and how.
6644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h. */
6646 #include <ac_nonexistent.h>
6647 _ACEOF
6648 if ac_fn_c_try_cpp "$LINENO"; then :
6649 # Broken: success on invalid input.
6650 continue
6651 else
6652 # Passes both tests.
6653 ac_preproc_ok=:
6654 break
6656 rm -f conftest.err conftest.i conftest.$ac_ext
6658 done
6659 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6660 rm -f conftest.i conftest.err conftest.$ac_ext
6661 if $ac_preproc_ok; then :
6662 break
6665 done
6666 ac_cv_prog_CPP=$CPP
6669 CPP=$ac_cv_prog_CPP
6670 else
6671 ac_cv_prog_CPP=$CPP
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6674 $as_echo "$CPP" >&6; }
6675 ac_preproc_ok=false
6676 for ac_c_preproc_warn_flag in '' yes
6678 # Use a header file that comes with gcc, so configuring glibc
6679 # with a fresh cross-compiler works.
6680 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6681 # <limits.h> exists even on freestanding compilers.
6682 # On the NeXT, cc -E runs the code through the compiler's parser,
6683 # not just through cpp. "Syntax error" is here to catch this case.
6684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6685 /* end confdefs.h. */
6686 #ifdef __STDC__
6687 # include <limits.h>
6688 #else
6689 # include <assert.h>
6690 #endif
6691 Syntax error
6692 _ACEOF
6693 if ac_fn_c_try_cpp "$LINENO"; then :
6695 else
6696 # Broken: fails on valid input.
6697 continue
6699 rm -f conftest.err conftest.i conftest.$ac_ext
6701 # OK, works on sane cases. Now check whether nonexistent headers
6702 # can be detected and how.
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6705 #include <ac_nonexistent.h>
6706 _ACEOF
6707 if ac_fn_c_try_cpp "$LINENO"; then :
6708 # Broken: success on invalid input.
6709 continue
6710 else
6711 # Passes both tests.
6712 ac_preproc_ok=:
6713 break
6715 rm -f conftest.err conftest.i conftest.$ac_ext
6717 done
6718 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6719 rm -f conftest.i conftest.err conftest.$ac_ext
6720 if $ac_preproc_ok; then :
6722 else
6723 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6724 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6725 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6726 See \`config.log' for more details" "$LINENO" 5; }
6729 ac_ext=c
6730 ac_cpp='$CPP $CPPFLAGS'
6731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6737 $as_echo_n "checking for ANSI C header files... " >&6; }
6738 if ${ac_cv_header_stdc+:} false; then :
6739 $as_echo_n "(cached) " >&6
6740 else
6741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 #include <stdlib.h>
6744 #include <stdarg.h>
6745 #include <string.h>
6746 #include <float.h>
6749 main ()
6753 return 0;
6755 _ACEOF
6756 if ac_fn_c_try_compile "$LINENO"; then :
6757 ac_cv_header_stdc=yes
6758 else
6759 ac_cv_header_stdc=no
6761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6763 if test $ac_cv_header_stdc = yes; then
6764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 #include <string.h>
6769 _ACEOF
6770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6771 $EGREP "memchr" >/dev/null 2>&1; then :
6773 else
6774 ac_cv_header_stdc=no
6776 rm -f conftest*
6780 if test $ac_cv_header_stdc = yes; then
6781 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6784 #include <stdlib.h>
6786 _ACEOF
6787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6788 $EGREP "free" >/dev/null 2>&1; then :
6790 else
6791 ac_cv_header_stdc=no
6793 rm -f conftest*
6797 if test $ac_cv_header_stdc = yes; then
6798 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6799 if test "$cross_compiling" = yes; then :
6801 else
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6804 #include <ctype.h>
6805 #include <stdlib.h>
6806 #if ((' ' & 0x0FF) == 0x020)
6807 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6808 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6809 #else
6810 # define ISLOWER(c) \
6811 (('a' <= (c) && (c) <= 'i') \
6812 || ('j' <= (c) && (c) <= 'r') \
6813 || ('s' <= (c) && (c) <= 'z'))
6814 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6815 #endif
6817 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6819 main ()
6821 int i;
6822 for (i = 0; i < 256; i++)
6823 if (XOR (islower (i), ISLOWER (i))
6824 || toupper (i) != TOUPPER (i))
6825 return 2;
6826 return 0;
6828 _ACEOF
6829 if ac_fn_c_try_run "$LINENO"; then :
6831 else
6832 ac_cv_header_stdc=no
6834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6835 conftest.$ac_objext conftest.beam conftest.$ac_ext
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6841 $as_echo "$ac_cv_header_stdc" >&6; }
6842 if test $ac_cv_header_stdc = yes; then
6844 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6848 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6849 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6850 inttypes.h stdint.h unistd.h
6851 do :
6852 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6853 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6855 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6856 cat >>confdefs.h <<_ACEOF
6857 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6858 _ACEOF
6862 done
6865 for ac_header in \
6866 AL/al.h \
6867 ApplicationServices/ApplicationServices.h \
6868 AudioToolbox/AudioConverter.h \
6869 AudioUnit/AudioUnit.h \
6870 AudioUnit/AudioComponent.h \
6871 CL/cl.h \
6872 Carbon/Carbon.h \
6873 CommonCrypto/CommonDigest.h \
6874 CoreAudio/CoreAudio.h \
6875 CoreServices/CoreServices.h \
6876 DiskArbitration/DiskArbitration.h \
6877 EGL/egl.h \
6878 IOKit/IOKitLib.h \
6879 IOKit/hid/IOHIDLib.h \
6880 OpenAL/al.h \
6881 OpenCL/opencl.h \
6882 QuickTime/ImageCompression.h \
6883 Security/Security.h \
6884 alias.h \
6885 alsa/asoundlib.h \
6886 arpa/inet.h \
6887 arpa/nameser.h \
6888 asm/types.h \
6889 asm/user.h \
6890 curses.h \
6891 direct.h \
6892 dirent.h \
6893 dlfcn.h \
6894 elf.h \
6895 float.h \
6896 fnmatch.h \
6897 getopt.h \
6898 gettext-po.h \
6899 grp.h \
6900 gsm.h \
6901 gsm/gsm.h \
6902 ieeefp.h \
6903 inet/mib2.h \
6904 io.h \
6905 kstat.h \
6906 libproc.h \
6907 link.h \
6908 linux/cdrom.h \
6909 linux/compiler.h \
6910 linux/filter.h \
6911 linux/hdreg.h \
6912 linux/hidraw.h \
6913 linux/input.h \
6914 linux/ioctl.h \
6915 linux/joystick.h \
6916 linux/major.h \
6917 linux/param.h \
6918 linux/serial.h \
6919 linux/types.h \
6920 linux/ucdrom.h \
6921 lwp.h \
6922 mach-o/nlist.h \
6923 mach-o/loader.h \
6924 mach/mach.h \
6925 mach/machine.h \
6926 machine/cpu.h \
6927 machine/limits.h \
6928 machine/sysarch.h \
6929 mntent.h \
6930 ncurses.h \
6931 netdb.h \
6932 netinet/in.h \
6933 netinet/in_systm.h \
6934 netinet/tcp.h \
6935 netinet/tcp_fsm.h \
6936 pcap/pcap.h \
6937 poll.h \
6938 port.h \
6939 process.h \
6940 pthread.h \
6941 pwd.h \
6942 sched.h \
6943 scsi/scsi.h \
6944 scsi/scsi_ioctl.h \
6945 scsi/sg.h \
6946 stdbool.h \
6947 stdint.h \
6948 stropts.h \
6949 sys/asoundlib.h \
6950 sys/attr.h \
6951 sys/auxv.h \
6952 sys/cdio.h \
6953 sys/elf32.h \
6954 sys/epoll.h \
6955 sys/event.h \
6956 sys/exec_elf.h \
6957 sys/filio.h \
6958 sys/inotify.h \
6959 sys/ioctl.h \
6960 sys/ipc.h \
6961 sys/limits.h \
6962 sys/link.h \
6963 sys/mman.h \
6964 sys/modem.h \
6965 sys/msg.h \
6966 sys/mtio.h \
6967 sys/param.h \
6968 sys/poll.h \
6969 sys/prctl.h \
6970 sys/protosw.h \
6971 sys/ptrace.h \
6972 sys/queue.h \
6973 sys/resource.h \
6974 sys/scsiio.h \
6975 sys/shm.h \
6976 sys/signal.h \
6977 sys/socket.h \
6978 sys/socketvar.h \
6979 sys/sockio.h \
6980 sys/statvfs.h \
6981 sys/strtio.h \
6982 sys/syscall.h \
6983 sys/sysinfo.h \
6984 sys/tihdr.h \
6985 sys/time.h \
6986 sys/timeout.h \
6987 sys/times.h \
6988 sys/uio.h \
6989 sys/user.h \
6990 sys/utsname.h \
6991 sys/vm86.h \
6992 sys/vnode.h \
6993 sys/wait.h \
6994 syscall.h \
6995 termios.h \
6996 unistd.h \
6997 utime.h \
6998 valgrind/memcheck.h \
6999 valgrind/valgrind.h \
7000 zlib.h
7002 do :
7003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7004 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7006 cat >>confdefs.h <<_ACEOF
7007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7008 _ACEOF
7012 done
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/types.h defines makedev" >&5
7015 $as_echo_n "checking whether sys/types.h defines makedev... " >&6; }
7016 if ${ac_cv_header_sys_types_h_makedev+:} false; then :
7017 $as_echo_n "(cached) " >&6
7018 else
7019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7021 #include <sys/types.h>
7023 main ()
7025 return makedev(0, 0);
7027 return 0;
7029 _ACEOF
7030 if ac_fn_c_try_link "$LINENO"; then :
7031 ac_cv_header_sys_types_h_makedev=yes
7032 else
7033 ac_cv_header_sys_types_h_makedev=no
7035 rm -f core conftest.err conftest.$ac_objext \
7036 conftest$ac_exeext conftest.$ac_ext
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_types_h_makedev" >&5
7040 $as_echo "$ac_cv_header_sys_types_h_makedev" >&6; }
7042 if test $ac_cv_header_sys_types_h_makedev = no; then
7043 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7044 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7046 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7052 if test $ac_cv_header_sys_mkdev_h = no; then
7053 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7054 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7056 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7065 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7066 if ${ac_cv_header_stat_broken+:} false; then :
7067 $as_echo_n "(cached) " >&6
7068 else
7069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7070 /* end confdefs.h. */
7071 #include <sys/types.h>
7072 #include <sys/stat.h>
7074 #if defined S_ISBLK && defined S_IFDIR
7075 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7076 #endif
7078 #if defined S_ISBLK && defined S_IFCHR
7079 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7080 #endif
7082 #if defined S_ISLNK && defined S_IFREG
7083 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7084 #endif
7086 #if defined S_ISSOCK && defined S_IFREG
7087 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7088 #endif
7090 _ACEOF
7091 if ac_fn_c_try_compile "$LINENO"; then :
7092 ac_cv_header_stat_broken=no
7093 else
7094 ac_cv_header_stat_broken=yes
7096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7099 $as_echo "$ac_cv_header_stat_broken" >&6; }
7100 if test $ac_cv_header_stat_broken = yes; then
7102 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7108 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7109 do :
7110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7111 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7112 #ifdef HAVE_SYS_PARAM_H
7113 # include <sys/param.h>
7114 #endif
7116 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7117 cat >>confdefs.h <<_ACEOF
7118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7119 _ACEOF
7123 done
7126 for ac_header in \
7127 netinet/ip.h \
7128 net/if.h \
7129 net/if_arp.h \
7130 net/if_dl.h \
7131 net/if_types.h \
7132 net/route.h \
7133 netinet/if_ether.h \
7134 netinet/if_inarp.h \
7135 netinet/in_pcb.h \
7136 netinet/ip_icmp.h \
7137 netinet/ip_var.h \
7138 netinet/udp.h \
7139 netipx/ipx.h \
7140 sys/un.h \
7142 do :
7143 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7144 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7145 #ifdef HAVE_SYS_SOCKET_H
7146 # include <sys/socket.h>
7147 #endif
7148 #ifdef HAVE_SYS_SOCKETVAR_H
7149 # include <sys/socketvar.h>
7150 #endif
7151 #ifdef HAVE_NET_ROUTE_H
7152 # include <net/route.h>
7153 #endif
7154 #ifdef HAVE_NETINET_IN_H
7155 # include <netinet/in.h>
7156 #endif
7157 #ifdef HAVE_NETINET_IN_SYSTM_H
7158 # include <netinet/in_systm.h>
7159 #endif
7160 #ifdef HAVE_NET_IF_H
7161 # include <net/if.h>
7162 #endif
7163 #ifdef HAVE_NETINET_IP_H
7164 # include <netinet/ip.h>
7165 #endif
7167 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7168 cat >>confdefs.h <<_ACEOF
7169 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7170 _ACEOF
7174 done
7177 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7178 do :
7179 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7180 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7181 #ifdef HAVE_ALIAS_H
7182 # include <alias.h>
7183 #endif
7184 #ifdef HAVE_SYS_SOCKET_H
7185 # include <sys/socket.h>
7186 #endif
7187 #ifdef HAVE_SYS_SOCKETVAR_H
7188 # include <sys/socketvar.h>
7189 #endif
7190 #ifdef HAVE_SYS_TIMEOUT_H
7191 # include <sys/timeout.h>
7192 #endif
7193 #ifdef HAVE_NETINET_IN_H
7194 # include <netinet/in.h>
7195 #endif
7196 #ifdef HAVE_NETINET_IN_SYSTM_H
7197 # include <netinet/in_systm.h>
7198 #endif
7199 #ifdef HAVE_NETINET_IP_H
7200 # include <netinet/ip.h>
7201 #endif
7202 #ifdef HAVE_NETINET_IP_VAR_H
7203 # include <netinet/ip_var.h>
7204 #endif
7205 #ifdef HAVE_NETINET_IP_ICMP_H
7206 # include <netinet/ip_icmp.h>
7207 #endif
7208 #ifdef HAVE_NETINET_UDP_H
7209 # include <netinet/udp.h>
7210 #endif
7211 #ifdef HAVE_NETINET_TCP_H
7212 # include <netinet/tcp.h>
7213 #endif
7214 #ifdef HAVE_NETINET_TCP_TIMER_H
7215 #include <netinet/tcp_timer.h>
7216 #endif
7218 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7219 cat >>confdefs.h <<_ACEOF
7220 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7221 _ACEOF
7225 done
7228 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7229 do :
7230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7232 #ifdef HAVE_ASM_TYPES_H
7233 # include <asm/types.h>
7234 #endif
7235 #ifdef HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7238 #ifdef HAVE_LINUX_TYPES_H
7239 # include <linux/types.h>
7240 #endif
7242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7243 cat >>confdefs.h <<_ACEOF
7244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7245 _ACEOF
7249 done
7252 for ac_header in mach-o/dyld_images.h
7253 do :
7254 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7255 # include <stdbool.h>
7256 #endif
7257 #ifdef HAVE_STDINT_H
7258 # include <stdint.h>
7259 #endif
7261 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7262 cat >>confdefs.h <<_ACEOF
7263 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7264 _ACEOF
7268 done
7271 for ac_header in resolv.h
7272 do :
7273 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7274 #ifdef HAVE_SYS_SOCKET_H
7275 # include <sys/socket.h>
7276 #endif
7277 #ifdef HAVE_NETINET_IN_H
7278 # include <netinet/in.h>
7279 #endif
7280 #ifdef HAVE_ARPA_NAMESER_H
7281 # include <arpa/nameser.h>
7282 #endif
7284 if test "x$ac_cv_header_resolv_h" = xyes; then :
7285 cat >>confdefs.h <<_ACEOF
7286 #define HAVE_RESOLV_H 1
7287 _ACEOF
7291 done
7294 for ac_header in ifaddrs.h
7295 do :
7296 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7298 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7299 cat >>confdefs.h <<_ACEOF
7300 #define HAVE_IFADDRS_H 1
7301 _ACEOF
7305 done
7308 for ac_header in sys/ucontext.h
7309 do :
7310 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7312 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7313 cat >>confdefs.h <<_ACEOF
7314 #define HAVE_SYS_UCONTEXT_H 1
7315 _ACEOF
7319 done
7322 for ac_header in sys/thr.h
7323 do :
7324 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7325 #ifdef HAVE_SYS_UCONTEXT_H
7326 #include <sys/ucontext.h>
7327 #endif
7329 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7330 cat >>confdefs.h <<_ACEOF
7331 #define HAVE_SYS_THR_H 1
7332 _ACEOF
7336 done
7339 for ac_header in pthread_np.h
7340 do :
7341 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7342 #include <pthread.h>
7343 #endif
7345 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7346 cat >>confdefs.h <<_ACEOF
7347 #define HAVE_PTHREAD_NP_H 1
7348 _ACEOF
7352 done
7355 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7356 do :
7357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7358 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7359 #include <sys/time.h>
7360 #endif
7361 #include <sys/types.h>
7362 #ifdef HAVE_ASM_TYPES_H
7363 #include <asm/types.h>
7364 #endif
7366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 _ACEOF
7373 done
7376 for ac_header in libprocstat.h
7377 do :
7378 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7379 #include <sys/param.h>
7380 #endif
7381 #ifdef HAVE_SYS_QUEUE_H
7382 #include <sys/queue.h>
7383 #endif
7384 #ifdef HAVE_SYS_SOCKET_H
7385 #include <sys/socket.h>
7386 #endif
7388 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7389 cat >>confdefs.h <<_ACEOF
7390 #define HAVE_LIBPROCSTAT_H 1
7391 _ACEOF
7395 done
7399 dlldir="\${libdir}/wine"
7401 DLLFLAGS="-D_REENTRANT"
7403 LDRPATH_INSTALL=""
7405 LDRPATH_LOCAL=""
7407 LDEXECFLAGS=""
7409 WINELOADER_LDFLAGS=""
7411 LIBEXT="so"
7412 DLLEXT=".so"
7413 IMPLIBEXT="def"
7414 # Extract the first word of "ldd", so it can be a program name with args.
7415 set dummy ldd; ac_word=$2
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7417 $as_echo_n "checking for $ac_word... " >&6; }
7418 if ${ac_cv_path_LDD+:} false; then :
7419 $as_echo_n "(cached) " >&6
7420 else
7421 case $LDD in
7422 [\\/]* | ?:[\\/]*)
7423 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427 as_dummy="/sbin:/usr/sbin:$PATH"
7428 for as_dir in $as_dummy
7430 IFS=$as_save_IFS
7431 test -z "$as_dir" && as_dir=.
7432 for ac_exec_ext in '' $ac_executable_extensions; do
7433 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7436 break 2
7438 done
7439 done
7440 IFS=$as_save_IFS
7442 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7444 esac
7446 LDD=$ac_cv_path_LDD
7447 if test -n "$LDD"; then
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7449 $as_echo "$LDD" >&6; }
7450 else
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7452 $as_echo "no" >&6; }
7456 if test -n "$ac_tool_prefix"; then
7457 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7458 set dummy ${ac_tool_prefix}otool; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_OTOOL+:} false; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$OTOOL"; then
7465 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7478 done
7479 done
7480 IFS=$as_save_IFS
7484 OTOOL=$ac_cv_prog_OTOOL
7485 if test -n "$OTOOL"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7487 $as_echo "$OTOOL" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7495 if test -z "$ac_cv_prog_OTOOL"; then
7496 ac_ct_OTOOL=$OTOOL
7497 # Extract the first word of "otool", so it can be a program name with args.
7498 set dummy otool; ac_word=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 if test -n "$ac_ct_OTOOL"; then
7505 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7506 else
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 for as_dir in $PATH
7510 IFS=$as_save_IFS
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7514 ac_cv_prog_ac_ct_OTOOL="otool"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 break 2
7518 done
7519 done
7520 IFS=$as_save_IFS
7524 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7525 if test -n "$ac_ct_OTOOL"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7527 $as_echo "$ac_ct_OTOOL" >&6; }
7528 else
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7533 if test "x$ac_ct_OTOOL" = x; then
7534 OTOOL="otool"
7535 else
7536 case $cross_compiling:$ac_tool_warned in
7537 yes:)
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540 ac_tool_warned=yes ;;
7541 esac
7542 OTOOL=$ac_ct_OTOOL
7544 else
7545 OTOOL="$ac_cv_prog_OTOOL"
7548 if test -n "$ac_tool_prefix"; then
7549 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7550 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if ${ac_cv_prog_READELF+:} false; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 if test -n "$READELF"; then
7557 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7562 IFS=$as_save_IFS
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7566 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 break 2
7570 done
7571 done
7572 IFS=$as_save_IFS
7576 READELF=$ac_cv_prog_READELF
7577 if test -n "$READELF"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7579 $as_echo "$READELF" >&6; }
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7587 if test -z "$ac_cv_prog_READELF"; then
7588 ac_ct_READELF=$READELF
7589 # Extract the first word of "readelf", so it can be a program name with args.
7590 set dummy readelf; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 if test -n "$ac_ct_READELF"; then
7597 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7598 else
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in $PATH
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7606 ac_cv_prog_ac_ct_READELF="readelf"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7610 done
7611 done
7612 IFS=$as_save_IFS
7616 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7617 if test -n "$ac_ct_READELF"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7619 $as_echo "$ac_ct_READELF" >&6; }
7620 else
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7625 if test "x$ac_ct_READELF" = x; then
7626 READELF="true"
7627 else
7628 case $cross_compiling:$ac_tool_warned in
7629 yes:)
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7632 ac_tool_warned=yes ;;
7633 esac
7634 READELF=$ac_ct_READELF
7636 else
7637 READELF="$ac_cv_prog_READELF"
7640 wine_rules_file=conf$$rules.make
7641 rm -f $wine_rules_file
7642 SUBDIRS=""
7644 DISABLED_SUBDIRS=""
7646 CONFIGURE_TARGETS=""
7648 ALL_TEST_RESOURCES=""
7651 wine_fn_append_file ()
7653 as_fn_append $1 " \\$as_nl $2"
7656 wine_fn_append_rule ()
7658 $as_echo "$1" >>$wine_rules_file
7661 wine_fn_has_flag ()
7663 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7666 wine_fn_all_rules ()
7668 wine_fn_append_file SUBDIRS $ac_dir
7669 wine_fn_append_rule \
7670 "all: $ac_dir
7671 .PHONY: $ac_dir
7672 $ac_dir: dummy
7673 @cd $ac_dir && \$(MAKE)"
7676 wine_fn_install_rules ()
7678 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7680 wine_fn_append_rule \
7681 ".PHONY: $ac_dir/install $ac_dir/uninstall
7682 $ac_dir/install:: $ac_dir
7683 @cd $ac_dir && \$(MAKE) install
7684 $ac_dir/uninstall::
7685 @cd $ac_dir && \$(MAKE) uninstall
7686 install:: $ac_dir/install
7687 __uninstall__: $ac_dir/uninstall"
7689 if wine_fn_has_flag install-lib
7690 then
7691 wine_fn_append_rule \
7692 ".PHONY: $ac_dir/install-lib
7693 $ac_dir/install-lib:: $ac_dir
7694 @cd $ac_dir && \$(MAKE) install-lib
7695 install-lib:: $ac_dir/install-lib"
7698 if wine_fn_has_flag install-dev
7699 then
7700 wine_fn_append_rule \
7701 ".PHONY: $ac_dir/install-dev
7702 $ac_dir/install-dev:: $ac_dir
7703 @cd $ac_dir && \$(MAKE) install-dev
7704 install-dev:: $ac_dir/install-dev"
7708 wine_fn_clean_rules ()
7710 ac_clean=$@
7712 if wine_fn_has_flag clean
7713 then
7714 wine_fn_append_rule \
7715 "$ac_dir/clean: dummy
7716 @cd $ac_dir && \$(MAKE) clean"
7717 else
7718 wine_fn_append_rule \
7719 "$ac_dir/clean: dummy
7720 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7722 wine_fn_append_rule \
7723 "__clean__: $ac_dir/clean
7724 .PHONY: $ac_dir/clean"
7727 wine_fn_disabled_rules ()
7729 ac_clean=$@
7731 wine_fn_append_file SUBDIRS $ac_dir
7732 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7733 wine_fn_append_rule \
7734 "__clean__: $ac_dir/clean
7735 .PHONY: $ac_dir/clean
7736 $ac_dir/clean: dummy
7737 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7740 wine_fn_config_makefile ()
7742 ac_dir=$1
7743 ac_enable=$2
7744 ac_flags=$3
7746 case $ac_dir in
7747 fonts|server) test -z "$with_wine64" || return ;;
7748 esac
7749 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7750 wine_fn_disabled_rules; return
7752 wine_fn_all_rules
7753 wine_fn_install_rules
7754 wine_fn_clean_rules
7757 wine_fn_config_lib ()
7759 ac_name=$1
7760 ac_flags=$2
7761 ac_dir=dlls/$ac_name
7762 ac_deps="include"
7764 if test "x$enable_tools" = xno; then :
7766 else
7767 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7769 wine_fn_all_rules
7770 wine_fn_clean_rules
7772 wine_fn_append_rule \
7773 ".PHONY: $ac_dir/install $ac_dir/uninstall
7774 $ac_dir/install:: $ac_dir
7775 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7776 $ac_dir/uninstall::
7777 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7778 install install-dev:: $ac_dir/install
7779 __uninstall__: $ac_dir/uninstall
7780 __builddeps__: $ac_dir
7781 $ac_dir: $ac_deps"
7784 wine_fn_config_dll ()
7786 ac_name=$1
7787 ac_dir=dlls/$ac_name
7788 ac_enable=$2
7789 ac_flags=$3
7790 ac_implib=${4:-$ac_name}
7791 ac_file=$ac_dir/lib$ac_implib
7792 ac_dll=$ac_name
7793 ac_deps="include"
7794 ac_implibflags=""
7796 if test "x$enable_tools" = xno; then :
7798 else
7799 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7801 case $ac_name in
7802 *.*16) ac_implibflags=" -m16" ;;
7803 *.*) ;;
7804 *) ac_dll=$ac_dll.dll ;;
7805 esac
7807 ac_clean=
7808 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7809 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7811 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7812 if test "$ac_enable" != enable_win16
7813 then
7814 wine_fn_clean_rules $ac_clean
7815 wine_fn_append_file SUBDIRS $ac_dir
7816 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7817 else
7818 wine_fn_disabled_rules $ac_clean
7819 return
7821 else
7822 wine_fn_all_rules
7823 wine_fn_clean_rules $ac_clean
7824 wine_fn_append_rule \
7825 "$ac_dir: __builddeps__
7826 manpages htmlpages sgmlpages xmlpages::
7827 @cd $ac_dir && \$(MAKE) \$@
7828 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7829 install install-lib:: $ac_dir/install-lib
7830 __uninstall__: $ac_dir/uninstall"
7831 if test -n "$DLLEXT"
7832 then
7833 wine_fn_append_rule \
7834 "$ac_dir/install-lib:: $ac_dir
7835 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7836 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7837 $ac_dir/uninstall::
7838 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7839 else
7840 wine_fn_append_rule \
7841 "$ac_dir/install-lib:: $ac_dir
7842 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7843 $ac_dir/uninstall::
7844 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7848 if wine_fn_has_flag staticimplib
7849 then
7850 wine_fn_append_rule \
7851 "__builddeps__: $ac_file.a
7852 $ac_file.a $ac_file.cross.a: $ac_deps
7853 $ac_file.a: dummy
7854 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7855 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7856 $ac_dir/install-dev:: $ac_file.a
7857 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7858 $ac_dir/uninstall::
7859 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7860 install install-dev:: $ac_dir/install-dev
7861 __uninstall__: $ac_dir/uninstall"
7863 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7864 then
7865 wine_fn_append_rule \
7866 "__builddeps__: $ac_file.cross.a
7867 $ac_file.cross.a: dummy
7868 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7871 elif wine_fn_has_flag implib
7872 then
7873 wine_fn_append_rule \
7874 "__builddeps__: $ac_file.$IMPLIBEXT
7875 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7876 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7877 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7878 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7879 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7880 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7881 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7882 $ac_dir/uninstall::
7883 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7884 install install-dev:: $ac_dir/install-dev
7885 __uninstall__: $ac_dir/uninstall"
7886 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7887 then
7888 wine_fn_append_rule \
7889 "__builddeps__: $ac_file.cross.a
7890 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7891 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7896 wine_fn_config_program ()
7898 ac_name=$1
7899 ac_dir=programs/$ac_name
7900 ac_enable=$2
7901 ac_flags=$3
7902 ac_program=$ac_name
7904 case $ac_name in
7905 *.*) ;;
7906 *) ac_program=$ac_program.exe ;;
7907 esac
7909 ac_clean=
7910 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7911 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7913 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7914 wine_fn_disabled_rules $ac_clean; return
7917 wine_fn_all_rules
7918 wine_fn_clean_rules $ac_clean
7919 wine_fn_append_rule "$ac_dir: __builddeps__"
7921 wine_fn_has_flag install || return
7922 wine_fn_append_rule \
7923 ".PHONY: $ac_dir/install $ac_dir/uninstall
7924 install install-lib:: $ac_dir/install
7925 __uninstall__: $ac_dir/uninstall"
7927 if test -n "$DLLEXT"
7928 then
7929 wine_fn_append_rule \
7930 "$ac_dir/install:: $ac_dir
7931 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7932 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7933 $ac_dir/uninstall::
7934 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7936 if test -z "$with_wine64" && wine_fn_has_flag installbin
7937 then
7938 wine_fn_append_rule \
7939 "$ac_dir/install:: __tooldeps__
7940 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7941 $ac_dir/uninstall::
7942 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7944 else
7945 wine_fn_append_rule \
7946 "$ac_dir/install:: $ac_dir
7947 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7948 $ac_dir/uninstall::
7949 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7952 if test -z "$with_wine64" && wine_fn_has_flag manpage
7953 then
7954 wine_fn_append_rule \
7955 "$ac_dir/install:: $ac_dir
7956 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7957 $ac_dir/uninstall::
7958 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7962 wine_fn_config_test ()
7964 ac_dir=$1
7965 ac_name=$2
7966 ac_flags=$3
7968 ac_clean=
7969 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7970 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7972 if test "x$enable_tests" = xno; then :
7973 wine_fn_disabled_rules $ac_clean; return
7976 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7977 wine_fn_all_rules
7978 wine_fn_clean_rules $ac_clean
7980 wine_fn_append_rule \
7981 "$ac_dir: __builddeps__
7982 programs/winetest: $ac_dir
7983 check test: $ac_dir/test
7984 .PHONY: $ac_dir/test
7985 $ac_dir/test: dummy
7986 @cd $ac_dir && \$(MAKE) test
7987 testclean::
7988 \$(RM) $ac_dir/*.ok"
7990 if test -n "$CROSSTARGET"
7991 then
7992 wine_fn_append_rule \
7993 "crosstest: $ac_dir/crosstest
7994 .PHONY: $ac_dir/crosstest
7995 $ac_dir/crosstest: __builddeps__ dummy
7996 @cd $ac_dir && \$(MAKE) crosstest"
8000 wine_fn_config_tool ()
8002 ac_dir=$1
8003 ac_flags=$2
8004 if test "x$enable_tools" = xno; then :
8005 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
8008 wine_fn_all_rules
8009 wine_fn_install_rules
8010 wine_fn_clean_rules
8012 wine_fn_append_rule "__tooldeps__: $ac_dir"
8013 wine_fn_append_rule "$ac_dir: libs/port"
8014 case $ac_dir in
8015 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
8016 esac
8019 wine_fn_config_symlink ()
8021 ac_linkdir=
8022 if test "x$1" = "x-d"
8023 then
8024 ac_linkdir=$2
8025 shift; shift
8027 ac_links=$@
8028 wine_fn_append_rule \
8029 "$ac_links:
8030 @./config.status \$@"
8031 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8032 test -n "$ac_linkdir" || return
8033 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
8036 wine_binary="wine"
8037 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8038 WINELOADER_PROGRAMS="$wine_binary"
8040 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8042 case $host_os in
8043 cygwin*|mingw32*)
8044 if test -n "$ac_tool_prefix"; then
8045 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8046 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048 $as_echo_n "checking for $ac_word... " >&6; }
8049 if ${ac_cv_prog_DLLTOOL+:} false; then :
8050 $as_echo_n "(cached) " >&6
8051 else
8052 if test -n "$DLLTOOL"; then
8053 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8054 else
8055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056 for as_dir in $PATH
8058 IFS=$as_save_IFS
8059 test -z "$as_dir" && as_dir=.
8060 for ac_exec_ext in '' $ac_executable_extensions; do
8061 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8064 break 2
8066 done
8067 done
8068 IFS=$as_save_IFS
8072 DLLTOOL=$ac_cv_prog_DLLTOOL
8073 if test -n "$DLLTOOL"; then
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8075 $as_echo "$DLLTOOL" >&6; }
8076 else
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078 $as_echo "no" >&6; }
8083 if test -z "$ac_cv_prog_DLLTOOL"; then
8084 ac_ct_DLLTOOL=$DLLTOOL
8085 # Extract the first word of "dlltool", so it can be a program name with args.
8086 set dummy dlltool; ac_word=$2
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088 $as_echo_n "checking for $ac_word... " >&6; }
8089 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8090 $as_echo_n "(cached) " >&6
8091 else
8092 if test -n "$ac_ct_DLLTOOL"; then
8093 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8094 else
8095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8096 for as_dir in $PATH
8098 IFS=$as_save_IFS
8099 test -z "$as_dir" && as_dir=.
8100 for ac_exec_ext in '' $ac_executable_extensions; do
8101 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104 break 2
8106 done
8107 done
8108 IFS=$as_save_IFS
8112 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8113 if test -n "$ac_ct_DLLTOOL"; then
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8115 $as_echo "$ac_ct_DLLTOOL" >&6; }
8116 else
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118 $as_echo "no" >&6; }
8121 if test "x$ac_ct_DLLTOOL" = x; then
8122 DLLTOOL="false"
8123 else
8124 case $cross_compiling:$ac_tool_warned in
8125 yes:)
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8128 ac_tool_warned=yes ;;
8129 esac
8130 DLLTOOL=$ac_ct_DLLTOOL
8132 else
8133 DLLTOOL="$ac_cv_prog_DLLTOOL"
8136 LIBEXT="dll"
8137 DLLEXT=""
8138 IMPLIBEXT="a"
8139 enable_iphlpapi=${enable_iphlpapi:-no}
8140 enable_kernel32=${enable_kernel32:-no}
8141 enable_msvcrt=${enable_msvcrt:-no}
8142 enable_ntdll=${enable_ntdll:-no}
8143 enable_ws2_32=${enable_ws2_32:-no}
8144 enable_loader=${enable_loader:-no}
8145 enable_server=${enable_server:-no}
8146 with_x=${with_x:-no}
8147 with_pthread=${with_pthread:-no}
8149 crtlibs=""
8150 case $host_os in
8151 mingw32*)
8152 crtlibs="-lmsvcrt"
8153 SOCKET_LIBS="-lws2_32"
8155 esac
8157 LIBWINE_SHAREDLIB="libwine.dll"
8159 LIBWINE_IMPORTLIB="libwine.a"
8161 LIBWINE_INSTALL_LIB="libwine.dll"
8163 LIBWINE_INSTALL_DEV="libwine.a"
8165 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
8167 LIBWINE_DEPENDS="wine.def"
8171 darwin*|macosx*)
8172 for ac_header in libunwind.h
8173 do :
8174 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8176 cat >>confdefs.h <<_ACEOF
8177 #define HAVE_LIBUNWIND_H 1
8178 _ACEOF
8182 done
8184 LIBEXT="dylib"
8185 DLLFLAGS="$DLLFLAGS -fPIC"
8186 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8187 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8188 COREFOUNDATION_LIBS="-framework CoreFoundation"
8190 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8192 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8194 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8196 CORESERVICES_LIBS="-framework CoreServices"
8198 APPKIT_LIBS="-framework AppKit"
8200 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8202 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8203 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 ac_wine_try_cflags_saved=$CFLAGS
8207 CFLAGS="$CFLAGS -Wl,-no_pie"
8208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8209 /* end confdefs.h. */
8210 int main(int argc, char **argv) { return 0; }
8211 _ACEOF
8212 if ac_fn_c_try_link "$LINENO"; then :
8213 ac_cv_cflags__Wl__no_pie=yes
8214 else
8215 ac_cv_cflags__Wl__no_pie=no
8217 rm -f core conftest.err conftest.$ac_objext \
8218 conftest$ac_exeext conftest.$ac_ext
8219 CFLAGS=$ac_wine_try_cflags_saved
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8222 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8223 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8224 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8226 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8227 then
8228 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8231 if test "$ac_cv_header_Security_Security_h" = "yes"
8232 then
8233 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8235 ac_save_LIBS="$LIBS"
8236 LIBS="$LIBS $SECURITY_LIBS"
8237 for ac_func in SSLCopyPeerCertificates
8238 do :
8239 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8240 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8241 cat >>confdefs.h <<_ACEOF
8242 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8243 _ACEOF
8246 done
8248 LIBS="$ac_save_LIBS"
8249 with_gnutls=${with_gnutls:-no}
8251 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8252 then
8253 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8254 then
8255 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8257 else
8258 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8261 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8262 ac_save_LIBS="$LIBS"
8263 LIBS="$LIBS $COREAUDIO_LIBS"
8264 for ac_func in AUGraphAddNode
8265 do :
8266 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8267 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8268 cat >>confdefs.h <<_ACEOF
8269 #define HAVE_AUGRAPHADDNODE 1
8270 _ACEOF
8273 done
8275 LIBS="$ac_save_LIBS"
8277 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8278 then
8279 OPENAL_LIBS="-framework OpenAL"
8282 cat >>confdefs.h <<_ACEOF
8283 #define HAVE_OPENAL 1
8284 _ACEOF
8286 ac_cv_lib_openal=yes
8288 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8289 then
8290 OPENCL_LIBS="-framework OpenCL"
8292 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8294 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8295 then
8296 ac_save_LIBS="$LIBS"
8297 LIBS="$LIBS $IOKIT_LIBS"
8298 for ac_func in IOHIDManagerCreate
8299 do :
8300 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8301 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8302 cat >>confdefs.h <<_ACEOF
8303 #define HAVE_IOHIDMANAGERCREATE 1
8304 _ACEOF
8307 done
8309 LIBS="$ac_save_LIBS"
8311 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8312 then
8313 ac_save_LIBS="$LIBS"
8314 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8316 $as_echo_n "checking for the QuickTime framework... " >&6; }
8317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8319 #include <QuickTime/ImageCompression.h>
8321 main ()
8323 CodecManagerVersion(NULL);
8325 return 0;
8327 _ACEOF
8328 if ac_fn_c_try_link "$LINENO"; then :
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8330 $as_echo "yes" >&6; }
8331 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8333 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8334 else
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8336 $as_echo "no" >&6; }
8337 ac_cv_header_QuickTime_ImageCompression_h=no
8339 rm -f core conftest.err conftest.$ac_objext \
8340 conftest$ac_exeext conftest.$ac_ext
8341 LIBS="$ac_save_LIBS"
8343 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8344 then
8345 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8347 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8348 then
8349 CARBON_LIBS="-framework Carbon"
8353 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8354 then
8355 ac_save_LIBS="$LIBS"
8356 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8357 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8358 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8359 enable_winemac_drv=${enable_winemac_drv:-yes}
8362 LIBS="$ac_save_LIBS"
8365 if test "x$enable_win16" = "xyes"
8366 then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8368 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8369 if test "$cross_compiling" = yes; then :
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8371 $as_echo "cross-compiling, assuming yes" >&6; }
8372 else
8373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8374 /* end confdefs.h. */
8375 asm(".text\n"
8376 "bad:\tnop;nop\n"
8377 "good:\tnop;nop\n\t"
8378 ".globl _testfunc\n"
8379 "_testfunc:\tcallw good");
8380 extern void testfunc();
8382 main ()
8384 unsigned short *p = (unsigned short *)testfunc;
8385 return p[0] != 0xe866 || p[1] != 0xfffa
8387 return 0;
8389 _ACEOF
8390 if ac_fn_c_try_run "$LINENO"; then :
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8392 $as_echo "yes" >&6; }
8393 else
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395 $as_echo "no" >&6; }
8396 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
8398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8399 conftest.$ac_objext conftest.beam conftest.$ac_ext
8404 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8406 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8408 LIBWINE_INSTALL_DEV="libwine.dylib"
8410 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8412 WINELOADER_DEPENDS="wine_info.plist"
8416 linux-android*)
8417 DLLFLAGS="$DLLFLAGS -fPIC"
8418 LDEXECFLAGS="-Wl,-pie"
8419 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8421 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8422 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8423 $as_echo_n "(cached) " >&6
8424 else
8425 ac_wine_try_cflags_saved=$CFLAGS
8426 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8429 int main(int argc, char **argv) { return 0; }
8430 _ACEOF
8431 if ac_fn_c_try_link "$LINENO"; then :
8432 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8433 else
8434 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8436 rm -f core conftest.err conftest.$ac_objext \
8437 conftest$ac_exeext conftest.$ac_ext
8438 CFLAGS=$ac_wine_try_cflags_saved
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8441 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8442 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8443 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8445 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8447 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8448 if eval \${$as_ac_var+:} false; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 ac_wine_try_cflags_saved=$CFLAGS
8452 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454 /* end confdefs.h. */
8455 int main(int argc, char **argv) { return 0; }
8456 _ACEOF
8457 if ac_fn_c_try_link "$LINENO"; then :
8458 eval "$as_ac_var=yes"
8459 else
8460 eval "$as_ac_var=no"
8462 rm -f core conftest.err conftest.$ac_objext \
8463 conftest$ac_exeext conftest.$ac_ext
8464 CFLAGS=$ac_wine_try_cflags_saved
8466 eval ac_res=\$$as_ac_var
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8468 $as_echo "$ac_res" >&6; }
8469 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8470 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8471 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8472 else
8473 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8475 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8476 if eval \${$as_ac_var+:} false; then :
8477 $as_echo_n "(cached) " >&6
8478 else
8479 ac_wine_try_cflags_saved=$CFLAGS
8480 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 int main(int argc, char **argv) { return 0; }
8484 _ACEOF
8485 if ac_fn_c_try_link "$LINENO"; then :
8486 eval "$as_ac_var=yes"
8487 else
8488 eval "$as_ac_var=no"
8490 rm -f core conftest.err conftest.$ac_objext \
8491 conftest$ac_exeext conftest.$ac_ext
8492 CFLAGS=$ac_wine_try_cflags_saved
8494 eval ac_res=\$$as_ac_var
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8496 $as_echo "$ac_res" >&6; }
8497 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8498 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8499 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8503 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8504 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8505 $as_echo_n "(cached) " >&6
8506 else
8507 ac_wine_try_cflags_saved=$CFLAGS
8508 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8510 /* end confdefs.h. */
8511 int main(int argc, char **argv) { return 0; }
8512 _ACEOF
8513 if ac_fn_c_try_link "$LINENO"; then :
8514 ac_cv_cflags__Wl___enable_new_dtags=yes
8515 else
8516 ac_cv_cflags__Wl___enable_new_dtags=no
8518 rm -f core conftest.err conftest.$ac_objext \
8519 conftest$ac_exeext conftest.$ac_ext
8520 CFLAGS=$ac_wine_try_cflags_saved
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8523 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8524 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8525 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8528 LIBWINE_SHAREDLIB="libwine.so"
8530 LIBWINE_INSTALL_LIB="libwine.so"
8532 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8536 $as_echo_n "checking for -lEGL... " >&6; }
8537 if ${ac_cv_lib_soname_EGL+:} false; then :
8538 $as_echo_n "(cached) " >&6
8539 else
8540 ac_check_soname_save_LIBS=$LIBS
8541 LIBS="-lEGL $LIBS"
8542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8545 /* Override any GCC internal prototype to avoid an error.
8546 Use char because int might match the return type of a GCC
8547 builtin and then its argument prototype would still apply. */
8548 #ifdef __cplusplus
8549 extern "C"
8550 #endif
8551 char eglGetProcAddress ();
8553 main ()
8555 return eglGetProcAddress ();
8557 return 0;
8559 _ACEOF
8560 if ac_fn_c_try_link "$LINENO"; then :
8561 case "$LIBEXT" in
8562 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8563 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'` ;;
8564 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8565 if ${ac_cv_lib_soname_EGL:+false} :; then :
8566 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8567 fi ;;
8568 esac
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 LIBS=$ac_check_soname_save_LIBS
8574 if ${ac_cv_lib_soname_EGL:+false} :; then :
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8576 $as_echo "not found" >&6; }
8578 else
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8580 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8582 cat >>confdefs.h <<_ACEOF
8583 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8584 _ACEOF
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8589 $as_echo_n "checking for -lGLESv2... " >&6; }
8590 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8591 $as_echo_n "(cached) " >&6
8592 else
8593 ac_check_soname_save_LIBS=$LIBS
8594 LIBS="-lGLESv2 $LIBS"
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8598 /* Override any GCC internal prototype to avoid an error.
8599 Use char because int might match the return type of a GCC
8600 builtin and then its argument prototype would still apply. */
8601 #ifdef __cplusplus
8602 extern "C"
8603 #endif
8604 char glFlush ();
8606 main ()
8608 return glFlush ();
8610 return 0;
8612 _ACEOF
8613 if ac_fn_c_try_link "$LINENO"; then :
8614 case "$LIBEXT" in
8615 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8616 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'` ;;
8617 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8618 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8619 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8620 fi ;;
8621 esac
8623 rm -f core conftest.err conftest.$ac_objext \
8624 conftest$ac_exeext conftest.$ac_ext
8625 LIBS=$ac_check_soname_save_LIBS
8627 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8629 $as_echo "not found" >&6; }
8631 else
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8633 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8635 cat >>confdefs.h <<_ACEOF
8636 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8637 _ACEOF
8642 if test "x$exec_prefix" = xNONE
8643 then
8644 case $host_cpu in
8645 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8646 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8647 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8648 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8649 esac
8654 DLLFLAGS="$DLLFLAGS -fPIC"
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8656 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8657 if ${ac_cv_c_dll_gnuelf+:} false; then :
8658 $as_echo_n "(cached) " >&6
8659 else
8660 ac_wine_try_cflags_saved=$CFLAGS
8661 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8664 void myfunc() {}
8665 _ACEOF
8666 if ac_fn_c_try_link "$LINENO"; then :
8667 ac_cv_c_dll_gnuelf="yes"
8668 else
8669 ac_cv_c_dll_gnuelf="no"
8671 rm -f core conftest.err conftest.$ac_objext \
8672 conftest$ac_exeext conftest.$ac_ext
8673 CFLAGS=$ac_wine_try_cflags_saved
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8676 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8677 if test "$ac_cv_c_dll_gnuelf" = "yes"
8678 then
8679 LIBWINE_LDFLAGS="-shared"
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8681 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8682 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8683 $as_echo_n "(cached) " >&6
8684 else
8685 ac_wine_try_cflags_saved=$CFLAGS
8686 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8688 /* end confdefs.h. */
8689 int main(int argc, char **argv) { return 0; }
8690 _ACEOF
8691 if ac_fn_c_try_link "$LINENO"; then :
8692 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8693 else
8694 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8696 rm -f core conftest.err conftest.$ac_objext \
8697 conftest$ac_exeext conftest.$ac_ext
8698 CFLAGS=$ac_wine_try_cflags_saved
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8701 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8702 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8703 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8704 else
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8706 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8707 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8708 $as_echo_n "(cached) " >&6
8709 else
8710 ac_wine_try_cflags_saved=$CFLAGS
8711 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8713 /* end confdefs.h. */
8714 int main(int argc, char **argv) { return 0; }
8715 _ACEOF
8716 if ac_fn_c_try_link "$LINENO"; then :
8717 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8718 else
8719 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8721 rm -f core conftest.err conftest.$ac_objext \
8722 conftest$ac_exeext conftest.$ac_ext
8723 CFLAGS=$ac_wine_try_cflags_saved
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8726 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8727 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8728 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8732 echo '{ global: *; };' >conftest.map
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8734 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8735 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8736 $as_echo_n "(cached) " >&6
8737 else
8738 ac_wine_try_cflags_saved=$CFLAGS
8739 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8741 /* end confdefs.h. */
8742 int main(int argc, char **argv) { return 0; }
8743 _ACEOF
8744 if ac_fn_c_try_link "$LINENO"; then :
8745 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8746 else
8747 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8749 rm -f core conftest.err conftest.$ac_objext \
8750 conftest$ac_exeext conftest.$ac_ext
8751 CFLAGS=$ac_wine_try_cflags_saved
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8754 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8755 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8756 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8758 rm -f conftest.map
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8761 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8762 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8763 $as_echo_n "(cached) " >&6
8764 else
8765 ac_wine_try_cflags_saved=$CFLAGS
8766 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8768 /* end confdefs.h. */
8769 int main(int argc, char **argv) { return 0; }
8770 _ACEOF
8771 if ac_fn_c_try_link "$LINENO"; then :
8772 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8773 else
8774 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8776 rm -f core conftest.err conftest.$ac_objext \
8777 conftest$ac_exeext conftest.$ac_ext
8778 CFLAGS=$ac_wine_try_cflags_saved
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8781 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8782 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8783 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8786 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8788 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8789 if eval \${$as_ac_var+:} false; then :
8790 $as_echo_n "(cached) " >&6
8791 else
8792 ac_wine_try_cflags_saved=$CFLAGS
8793 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8795 /* end confdefs.h. */
8796 int main(int argc, char **argv) { return 0; }
8797 _ACEOF
8798 if ac_fn_c_try_link "$LINENO"; then :
8799 eval "$as_ac_var=yes"
8800 else
8801 eval "$as_ac_var=no"
8803 rm -f core conftest.err conftest.$ac_objext \
8804 conftest$ac_exeext conftest.$ac_ext
8805 CFLAGS=$ac_wine_try_cflags_saved
8807 eval ac_res=\$$as_ac_var
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8809 $as_echo "$ac_res" >&6; }
8810 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8811 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8812 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8813 else
8814 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8816 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8817 if eval \${$as_ac_var+:} false; then :
8818 $as_echo_n "(cached) " >&6
8819 else
8820 ac_wine_try_cflags_saved=$CFLAGS
8821 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8824 int main(int argc, char **argv) { return 0; }
8825 _ACEOF
8826 if ac_fn_c_try_link "$LINENO"; then :
8827 eval "$as_ac_var=yes"
8828 else
8829 eval "$as_ac_var=no"
8831 rm -f core conftest.err conftest.$ac_objext \
8832 conftest$ac_exeext conftest.$ac_ext
8833 CFLAGS=$ac_wine_try_cflags_saved
8835 eval ac_res=\$$as_ac_var
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8837 $as_echo "$ac_res" >&6; }
8838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8839 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8840 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8845 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8846 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 ac_wine_try_cflags_saved=$CFLAGS
8850 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8852 /* end confdefs.h. */
8853 int main(int argc, char **argv) { return 0; }
8854 _ACEOF
8855 if ac_fn_c_try_link "$LINENO"; then :
8856 ac_cv_cflags__Wl___enable_new_dtags=yes
8857 else
8858 ac_cv_cflags__Wl___enable_new_dtags=no
8860 rm -f core conftest.err conftest.$ac_objext \
8861 conftest$ac_exeext conftest.$ac_ext
8862 CFLAGS=$ac_wine_try_cflags_saved
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8865 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8866 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8867 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8870 case $host_cpu in
8871 *i[3456789]86* | x86_64)
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8873 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8874 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8875 $as_echo_n "(cached) " >&6
8876 else
8877 ac_wine_try_cflags_saved=$CFLAGS
8878 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8881 int main(int argc, char **argv) { return 0; }
8882 _ACEOF
8883 if ac_fn_c_try_link "$LINENO"; then :
8884 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8885 else
8886 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8888 rm -f core conftest.err conftest.$ac_objext \
8889 conftest$ac_exeext conftest.$ac_ext
8890 CFLAGS=$ac_wine_try_cflags_saved
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8893 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8894 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8895 case $host_os in
8896 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8897 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8898 esac
8899 else
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8901 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8902 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 ac_wine_try_cflags_saved=$CFLAGS
8906 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8908 /* end confdefs.h. */
8909 int main(int argc, char **argv) { return 0; }
8910 _ACEOF
8911 if ac_fn_c_try_link "$LINENO"; then :
8912 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8913 else
8914 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8916 rm -f core conftest.err conftest.$ac_objext \
8917 conftest$ac_exeext conftest.$ac_ext
8918 CFLAGS=$ac_wine_try_cflags_saved
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8921 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8922 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8923 case $host_os in
8924 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8925 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8926 esac
8928 # Extract the first word of "prelink", so it can be a program name with args.
8929 set dummy prelink; ac_word=$2
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8931 $as_echo_n "checking for $ac_word... " >&6; }
8932 if ${ac_cv_path_PRELINK+:} false; then :
8933 $as_echo_n "(cached) " >&6
8934 else
8935 case $PRELINK in
8936 [\\/]* | ?:[\\/]*)
8937 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8941 for as_dir in /sbin /usr/sbin $PATH
8943 IFS=$as_save_IFS
8944 test -z "$as_dir" && as_dir=.
8945 for ac_exec_ext in '' $ac_executable_extensions; do
8946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8947 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8949 break 2
8951 done
8952 done
8953 IFS=$as_save_IFS
8955 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8957 esac
8959 PRELINK=$ac_cv_path_PRELINK
8960 if test -n "$PRELINK"; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8962 $as_echo "$PRELINK" >&6; }
8963 else
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8965 $as_echo "no" >&6; }
8969 if test "x$PRELINK" = xfalse
8970 then
8971 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8975 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8976 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8977 $as_echo_n "(cached) " >&6
8978 else
8979 ac_wine_try_cflags_saved=$CFLAGS
8980 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8982 /* end confdefs.h. */
8983 int main(int argc, char **argv) { return 0; }
8984 _ACEOF
8985 if ac_fn_c_try_link "$LINENO"; then :
8986 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8987 else
8988 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8990 rm -f core conftest.err conftest.$ac_objext \
8991 conftest$ac_exeext conftest.$ac_ext
8992 CFLAGS=$ac_wine_try_cflags_saved
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8995 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8996 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8997 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9000 esac
9002 else
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9004 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9005 if ${ac_cv_c_dll_unixware+:} false; then :
9006 $as_echo_n "(cached) " >&6
9007 else
9008 ac_wine_try_cflags_saved=$CFLAGS
9009 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9011 /* end confdefs.h. */
9012 void myfunc() {}
9013 _ACEOF
9014 if ac_fn_c_try_link "$LINENO"; then :
9015 ac_cv_c_dll_unixware="yes"
9016 else
9017 ac_cv_c_dll_unixware="no"
9019 rm -f core conftest.err conftest.$ac_objext \
9020 conftest$ac_exeext conftest.$ac_ext
9021 CFLAGS=$ac_wine_try_cflags_saved
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9024 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9025 if test "$ac_cv_c_dll_unixware" = "yes"
9026 then
9027 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9030 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9032 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
9034 LIBWINE_INSTALL_DEV="libwine.so"
9036 LIBWINE_DEPENDS="wine.map"
9039 esac
9041 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9042 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9043 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9044 enable_winemac_drv=${enable_winemac_drv:-no}
9045 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9047 CROSSTARGET=""
9049 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
9050 then
9051 case "$host_cpu" in
9052 arm*)
9053 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9054 i[3456789]86*)
9055 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
9056 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9057 mingw32-gcc" ;;
9058 x86_64)
9059 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
9060 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9062 ac_prefix_list="" ;;
9063 esac
9064 for ac_prog in $ac_prefix_list
9066 # Extract the first word of "$ac_prog", so it can be a program name with args.
9067 set dummy $ac_prog; ac_word=$2
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9069 $as_echo_n "checking for $ac_word... " >&6; }
9070 if ${ac_cv_prog_CROSSCC+:} false; then :
9071 $as_echo_n "(cached) " >&6
9072 else
9073 if test -n "$CROSSCC"; then
9074 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9075 else
9076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077 for as_dir in $PATH
9079 IFS=$as_save_IFS
9080 test -z "$as_dir" && as_dir=.
9081 for ac_exec_ext in '' $ac_executable_extensions; do
9082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9083 ac_cv_prog_CROSSCC="$ac_prog"
9084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9085 break 2
9087 done
9088 done
9089 IFS=$as_save_IFS
9093 CROSSCC=$ac_cv_prog_CROSSCC
9094 if test -n "$CROSSCC"; then
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9096 $as_echo "$CROSSCC" >&6; }
9097 else
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9099 $as_echo "no" >&6; }
9103 test -n "$CROSSCC" && break
9104 done
9105 test -n "$CROSSCC" || CROSSCC="false"
9107 if test "$CROSSCC" != "false"
9108 then
9109 ac_save_CC="$CC"
9110 CC="$CROSSCC"
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9112 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9114 /* end confdefs.h. */
9117 main ()
9121 return 0;
9123 _ACEOF
9124 if ac_fn_c_try_compile "$LINENO"; then :
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9126 $as_echo "yes" >&6; }
9127 set x $CROSSCC
9128 shift
9129 while test $# -ge 1
9131 case "$1" in
9132 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9133 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9134 esac
9135 shift
9136 done
9137 else
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9139 $as_echo "no" >&6; }
9141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9142 CC="$ac_save_CC"
9143 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
9149 if test "$ac_cv_header_pthread_h" = "yes"
9150 then
9151 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
9152 if test "x$ac_cv_func_pthread_create" = xyes; then :
9154 else
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
9156 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
9157 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
9158 $as_echo_n "(cached) " >&6
9159 else
9160 ac_check_lib_save_LIBS=$LIBS
9161 LIBS="-lpthread $LIBS"
9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163 /* end confdefs.h. */
9165 /* Override any GCC internal prototype to avoid an error.
9166 Use char because int might match the return type of a GCC
9167 builtin and then its argument prototype would still apply. */
9168 #ifdef __cplusplus
9169 extern "C"
9170 #endif
9171 char pthread_create ();
9173 main ()
9175 return pthread_create ();
9177 return 0;
9179 _ACEOF
9180 if ac_fn_c_try_link "$LINENO"; then :
9181 ac_cv_lib_pthread_pthread_create=yes
9182 else
9183 ac_cv_lib_pthread_pthread_create=no
9185 rm -f core conftest.err conftest.$ac_objext \
9186 conftest$ac_exeext conftest.$ac_ext
9187 LIBS=$ac_check_lib_save_LIBS
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
9190 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
9191 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
9192 PTHREAD_LIBS="-lpthread"
9199 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
9200 case "x$with_pthread" in
9201 xno) ;;
9202 *) as_fn_error $? "pthread ${notice_platform}development files not found.
9203 Wine cannot support threads without libpthread.
9204 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9205 esac
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9211 $as_echo_n "checking for X... " >&6; }
9214 # Check whether --with-x was given.
9215 if test "${with_x+set}" = set; then :
9216 withval=$with_x;
9219 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9220 if test "x$with_x" = xno; then
9221 # The user explicitly disabled X.
9222 have_x=disabled
9223 else
9224 case $x_includes,$x_libraries in #(
9225 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9226 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9227 $as_echo_n "(cached) " >&6
9228 else
9229 # One or both of the vars are not set, and there is no cached value.
9230 ac_x_includes=no ac_x_libraries=no
9231 rm -f -r conftest.dir
9232 if mkdir conftest.dir; then
9233 cd conftest.dir
9234 cat >Imakefile <<'_ACEOF'
9235 incroot:
9236 @echo incroot='${INCROOT}'
9237 usrlibdir:
9238 @echo usrlibdir='${USRLIBDIR}'
9239 libdir:
9240 @echo libdir='${LIBDIR}'
9241 _ACEOF
9242 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9243 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9244 for ac_var in incroot usrlibdir libdir; do
9245 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9246 done
9247 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9248 for ac_extension in a so sl dylib la dll; do
9249 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9250 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9251 ac_im_usrlibdir=$ac_im_libdir; break
9253 done
9254 # Screen out bogus values from the imake configuration. They are
9255 # bogus both because they are the default anyway, and because
9256 # using them would break gcc on systems where it needs fixed includes.
9257 case $ac_im_incroot in
9258 /usr/include) ac_x_includes= ;;
9259 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9260 esac
9261 case $ac_im_usrlibdir in
9262 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9263 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9264 esac
9266 cd ..
9267 rm -f -r conftest.dir
9270 # Standard set of common directories for X headers.
9271 # Check X11 before X11Rn because it is often a symlink to the current release.
9272 ac_x_header_dirs='
9273 /usr/X11/include
9274 /usr/X11R7/include
9275 /usr/X11R6/include
9276 /usr/X11R5/include
9277 /usr/X11R4/include
9279 /usr/include/X11
9280 /usr/include/X11R7
9281 /usr/include/X11R6
9282 /usr/include/X11R5
9283 /usr/include/X11R4
9285 /usr/local/X11/include
9286 /usr/local/X11R7/include
9287 /usr/local/X11R6/include
9288 /usr/local/X11R5/include
9289 /usr/local/X11R4/include
9291 /usr/local/include/X11
9292 /usr/local/include/X11R7
9293 /usr/local/include/X11R6
9294 /usr/local/include/X11R5
9295 /usr/local/include/X11R4
9297 /usr/X386/include
9298 /usr/x386/include
9299 /usr/XFree86/include/X11
9301 /usr/include
9302 /usr/local/include
9303 /usr/unsupported/include
9304 /usr/athena/include
9305 /usr/local/x11r5/include
9306 /usr/lpp/Xamples/include
9308 /usr/openwin/include
9309 /usr/openwin/share/include'
9311 if test "$ac_x_includes" = no; then
9312 # Guess where to find include files, by looking for Xlib.h.
9313 # First, try using that file with no special directory specified.
9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9315 /* end confdefs.h. */
9316 #include <X11/Xlib.h>
9317 _ACEOF
9318 if ac_fn_c_try_cpp "$LINENO"; then :
9319 # We can compile using X headers with no special include directory.
9320 ac_x_includes=
9321 else
9322 for ac_dir in $ac_x_header_dirs; do
9323 if test -r "$ac_dir/X11/Xlib.h"; then
9324 ac_x_includes=$ac_dir
9325 break
9327 done
9329 rm -f conftest.err conftest.i conftest.$ac_ext
9330 fi # $ac_x_includes = no
9332 if test "$ac_x_libraries" = no; then
9333 # Check for the libraries.
9334 # See if we find them without any special options.
9335 # Don't add to $LIBS permanently.
9336 ac_save_LIBS=$LIBS
9337 LIBS="-lX11 $LIBS"
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9340 #include <X11/Xlib.h>
9342 main ()
9344 XrmInitialize ()
9346 return 0;
9348 _ACEOF
9349 if ac_fn_c_try_link "$LINENO"; then :
9350 LIBS=$ac_save_LIBS
9351 # We can link X programs with no special library path.
9352 ac_x_libraries=
9353 else
9354 LIBS=$ac_save_LIBS
9355 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9357 # Don't even attempt the hair of trying to link an X program!
9358 for ac_extension in a so sl dylib la dll; do
9359 if test -r "$ac_dir/libX11.$ac_extension"; then
9360 ac_x_libraries=$ac_dir
9361 break 2
9363 done
9364 done
9366 rm -f core conftest.err conftest.$ac_objext \
9367 conftest$ac_exeext conftest.$ac_ext
9368 fi # $ac_x_libraries = no
9370 case $ac_x_includes,$ac_x_libraries in #(
9371 no,* | *,no | *\'*)
9372 # Didn't find X, or a directory has "'" in its name.
9373 ac_cv_have_x="have_x=no";; #(
9375 # Record where we found X for the cache.
9376 ac_cv_have_x="have_x=yes\
9377 ac_x_includes='$ac_x_includes'\
9378 ac_x_libraries='$ac_x_libraries'"
9379 esac
9381 ;; #(
9382 *) have_x=yes;;
9383 esac
9384 eval "$ac_cv_have_x"
9385 fi # $with_x != no
9387 if test "$have_x" != yes; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9389 $as_echo "$have_x" >&6; }
9390 no_x=yes
9391 else
9392 # If each of the values was on the command line, it overrides each guess.
9393 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9394 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9395 # Update the cache value to reflect the command line values.
9396 ac_cv_have_x="have_x=yes\
9397 ac_x_includes='$x_includes'\
9398 ac_x_libraries='$x_libraries'"
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9400 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9403 if test "$no_x" = yes; then
9404 # Not all programs may use this symbol, but it does not hurt to define it.
9406 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9408 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9409 else
9410 if test -n "$x_includes"; then
9411 X_CFLAGS="$X_CFLAGS -I$x_includes"
9414 # It would also be nice to do this for all -L options, not just this one.
9415 if test -n "$x_libraries"; then
9416 X_LIBS="$X_LIBS -L$x_libraries"
9417 # For Solaris; some versions of Sun CC require a space after -R and
9418 # others require no space. Words are not sufficient . . . .
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9420 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9421 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9422 ac_xsave_c_werror_flag=$ac_c_werror_flag
9423 ac_c_werror_flag=yes
9424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9425 /* end confdefs.h. */
9428 main ()
9432 return 0;
9434 _ACEOF
9435 if ac_fn_c_try_link "$LINENO"; then :
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9437 $as_echo "no" >&6; }
9438 X_LIBS="$X_LIBS -R$x_libraries"
9439 else
9440 LIBS="$ac_xsave_LIBS -R $x_libraries"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9445 main ()
9449 return 0;
9451 _ACEOF
9452 if ac_fn_c_try_link "$LINENO"; then :
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9454 $as_echo "yes" >&6; }
9455 X_LIBS="$X_LIBS -R $x_libraries"
9456 else
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9458 $as_echo "neither works" >&6; }
9460 rm -f core conftest.err conftest.$ac_objext \
9461 conftest$ac_exeext conftest.$ac_ext
9463 rm -f core conftest.err conftest.$ac_objext \
9464 conftest$ac_exeext conftest.$ac_ext
9465 ac_c_werror_flag=$ac_xsave_c_werror_flag
9466 LIBS=$ac_xsave_LIBS
9469 # Check for system-dependent libraries X programs must link with.
9470 # Do this before checking for the system-independent R6 libraries
9471 # (-lICE), since we may need -lsocket or whatever for X linking.
9473 if test "$ISC" = yes; then
9474 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9475 else
9476 # Martyn Johnson says this is needed for Ultrix, if the X
9477 # libraries were built with DECnet support. And Karl Berry says
9478 # the Alpha needs dnet_stub (dnet does not exist).
9479 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9483 /* Override any GCC internal prototype to avoid an error.
9484 Use char because int might match the return type of a GCC
9485 builtin and then its argument prototype would still apply. */
9486 #ifdef __cplusplus
9487 extern "C"
9488 #endif
9489 char XOpenDisplay ();
9491 main ()
9493 return XOpenDisplay ();
9495 return 0;
9497 _ACEOF
9498 if ac_fn_c_try_link "$LINENO"; then :
9500 else
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9502 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9503 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9504 $as_echo_n "(cached) " >&6
9505 else
9506 ac_check_lib_save_LIBS=$LIBS
9507 LIBS="-ldnet $LIBS"
9508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9511 /* Override any GCC internal prototype to avoid an error.
9512 Use char because int might match the return type of a GCC
9513 builtin and then its argument prototype would still apply. */
9514 #ifdef __cplusplus
9515 extern "C"
9516 #endif
9517 char dnet_ntoa ();
9519 main ()
9521 return dnet_ntoa ();
9523 return 0;
9525 _ACEOF
9526 if ac_fn_c_try_link "$LINENO"; then :
9527 ac_cv_lib_dnet_dnet_ntoa=yes
9528 else
9529 ac_cv_lib_dnet_dnet_ntoa=no
9531 rm -f core conftest.err conftest.$ac_objext \
9532 conftest$ac_exeext conftest.$ac_ext
9533 LIBS=$ac_check_lib_save_LIBS
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9536 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9537 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9538 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9541 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9543 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9544 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9545 $as_echo_n "(cached) " >&6
9546 else
9547 ac_check_lib_save_LIBS=$LIBS
9548 LIBS="-ldnet_stub $LIBS"
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9552 /* Override any GCC internal prototype to avoid an error.
9553 Use char because int might match the return type of a GCC
9554 builtin and then its argument prototype would still apply. */
9555 #ifdef __cplusplus
9556 extern "C"
9557 #endif
9558 char dnet_ntoa ();
9560 main ()
9562 return dnet_ntoa ();
9564 return 0;
9566 _ACEOF
9567 if ac_fn_c_try_link "$LINENO"; then :
9568 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9569 else
9570 ac_cv_lib_dnet_stub_dnet_ntoa=no
9572 rm -f core conftest.err conftest.$ac_objext \
9573 conftest$ac_exeext conftest.$ac_ext
9574 LIBS=$ac_check_lib_save_LIBS
9576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9577 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9578 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9579 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9584 rm -f core conftest.err conftest.$ac_objext \
9585 conftest$ac_exeext conftest.$ac_ext
9586 LIBS="$ac_xsave_LIBS"
9588 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9589 # to get the SysV transport functions.
9590 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9591 # needs -lnsl.
9592 # The nsl library prevents programs from opening the X display
9593 # on Irix 5.2, according to T.E. Dickey.
9594 # The functions gethostbyname, getservbyname, and inet_addr are
9595 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9596 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9597 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9601 if test $ac_cv_func_gethostbyname = no; then
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9603 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9604 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9605 $as_echo_n "(cached) " >&6
9606 else
9607 ac_check_lib_save_LIBS=$LIBS
9608 LIBS="-lnsl $LIBS"
9609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9612 /* Override any GCC internal prototype to avoid an error.
9613 Use char because int might match the return type of a GCC
9614 builtin and then its argument prototype would still apply. */
9615 #ifdef __cplusplus
9616 extern "C"
9617 #endif
9618 char gethostbyname ();
9620 main ()
9622 return gethostbyname ();
9624 return 0;
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9628 ac_cv_lib_nsl_gethostbyname=yes
9629 else
9630 ac_cv_lib_nsl_gethostbyname=no
9632 rm -f core conftest.err conftest.$ac_objext \
9633 conftest$ac_exeext conftest.$ac_ext
9634 LIBS=$ac_check_lib_save_LIBS
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9637 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9638 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9639 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9642 if test $ac_cv_lib_nsl_gethostbyname = no; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9644 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9645 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 ac_check_lib_save_LIBS=$LIBS
9649 LIBS="-lbsd $LIBS"
9650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9653 /* Override any GCC internal prototype to avoid an error.
9654 Use char because int might match the return type of a GCC
9655 builtin and then its argument prototype would still apply. */
9656 #ifdef __cplusplus
9657 extern "C"
9658 #endif
9659 char gethostbyname ();
9661 main ()
9663 return gethostbyname ();
9665 return 0;
9667 _ACEOF
9668 if ac_fn_c_try_link "$LINENO"; then :
9669 ac_cv_lib_bsd_gethostbyname=yes
9670 else
9671 ac_cv_lib_bsd_gethostbyname=no
9673 rm -f core conftest.err conftest.$ac_objext \
9674 conftest$ac_exeext conftest.$ac_ext
9675 LIBS=$ac_check_lib_save_LIBS
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9678 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9679 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9680 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9686 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9687 # socket/setsockopt and other routines are undefined under SCO ODT
9688 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9689 # on later versions), says Simon Leinen: it contains gethostby*
9690 # variants that don't use the name server (or something). -lsocket
9691 # must be given before -lnsl if both are needed. We assume that
9692 # if connect needs -lnsl, so does gethostbyname.
9693 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9694 if test "x$ac_cv_func_connect" = xyes; then :
9698 if test $ac_cv_func_connect = no; then
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9700 $as_echo_n "checking for connect in -lsocket... " >&6; }
9701 if ${ac_cv_lib_socket_connect+:} false; then :
9702 $as_echo_n "(cached) " >&6
9703 else
9704 ac_check_lib_save_LIBS=$LIBS
9705 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9707 /* end confdefs.h. */
9709 /* Override any GCC internal prototype to avoid an error.
9710 Use char because int might match the return type of a GCC
9711 builtin and then its argument prototype would still apply. */
9712 #ifdef __cplusplus
9713 extern "C"
9714 #endif
9715 char connect ();
9717 main ()
9719 return connect ();
9721 return 0;
9723 _ACEOF
9724 if ac_fn_c_try_link "$LINENO"; then :
9725 ac_cv_lib_socket_connect=yes
9726 else
9727 ac_cv_lib_socket_connect=no
9729 rm -f core conftest.err conftest.$ac_objext \
9730 conftest$ac_exeext conftest.$ac_ext
9731 LIBS=$ac_check_lib_save_LIBS
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9734 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9735 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9736 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9741 # Guillermo Gomez says -lposix is necessary on A/UX.
9742 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9743 if test "x$ac_cv_func_remove" = xyes; then :
9747 if test $ac_cv_func_remove = no; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9749 $as_echo_n "checking for remove in -lposix... " >&6; }
9750 if ${ac_cv_lib_posix_remove+:} false; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 ac_check_lib_save_LIBS=$LIBS
9754 LIBS="-lposix $LIBS"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9761 #ifdef __cplusplus
9762 extern "C"
9763 #endif
9764 char remove ();
9766 main ()
9768 return remove ();
9770 return 0;
9772 _ACEOF
9773 if ac_fn_c_try_link "$LINENO"; then :
9774 ac_cv_lib_posix_remove=yes
9775 else
9776 ac_cv_lib_posix_remove=no
9778 rm -f core conftest.err conftest.$ac_objext \
9779 conftest$ac_exeext conftest.$ac_ext
9780 LIBS=$ac_check_lib_save_LIBS
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9783 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9784 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9785 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9790 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9791 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9792 if test "x$ac_cv_func_shmat" = xyes; then :
9796 if test $ac_cv_func_shmat = no; then
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9798 $as_echo_n "checking for shmat in -lipc... " >&6; }
9799 if ${ac_cv_lib_ipc_shmat+:} false; then :
9800 $as_echo_n "(cached) " >&6
9801 else
9802 ac_check_lib_save_LIBS=$LIBS
9803 LIBS="-lipc $LIBS"
9804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9805 /* end confdefs.h. */
9807 /* Override any GCC internal prototype to avoid an error.
9808 Use char because int might match the return type of a GCC
9809 builtin and then its argument prototype would still apply. */
9810 #ifdef __cplusplus
9811 extern "C"
9812 #endif
9813 char shmat ();
9815 main ()
9817 return shmat ();
9819 return 0;
9821 _ACEOF
9822 if ac_fn_c_try_link "$LINENO"; then :
9823 ac_cv_lib_ipc_shmat=yes
9824 else
9825 ac_cv_lib_ipc_shmat=no
9827 rm -f core conftest.err conftest.$ac_objext \
9828 conftest$ac_exeext conftest.$ac_ext
9829 LIBS=$ac_check_lib_save_LIBS
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9832 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9833 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9834 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9840 # Check for libraries that X11R6 Xt/Xaw programs need.
9841 ac_save_LDFLAGS=$LDFLAGS
9842 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9843 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9844 # check for ICE first), but we must link in the order -lSM -lICE or
9845 # we get undefined symbols. So assume we have SM if we have ICE.
9846 # These have to be linked with before -lX11, unlike the other
9847 # libraries we check for below, so use a different variable.
9848 # John Interrante, Karl Berry
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9850 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9851 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9852 $as_echo_n "(cached) " >&6
9853 else
9854 ac_check_lib_save_LIBS=$LIBS
9855 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9862 #ifdef __cplusplus
9863 extern "C"
9864 #endif
9865 char IceConnectionNumber ();
9867 main ()
9869 return IceConnectionNumber ();
9871 return 0;
9873 _ACEOF
9874 if ac_fn_c_try_link "$LINENO"; then :
9875 ac_cv_lib_ICE_IceConnectionNumber=yes
9876 else
9877 ac_cv_lib_ICE_IceConnectionNumber=no
9879 rm -f core conftest.err conftest.$ac_objext \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_lib_save_LIBS
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9884 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9885 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9886 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9889 LDFLAGS=$ac_save_LDFLAGS
9894 if test "$have_x" = "yes"
9895 then
9896 ac_save_CPPFLAGS="$CPPFLAGS"
9897 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9900 $as_echo_n "checking for -lX11... " >&6; }
9901 if ${ac_cv_lib_soname_X11+:} false; then :
9902 $as_echo_n "(cached) " >&6
9903 else
9904 ac_check_soname_save_LIBS=$LIBS
9905 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9909 /* Override any GCC internal prototype to avoid an error.
9910 Use char because int might match the return type of a GCC
9911 builtin and then its argument prototype would still apply. */
9912 #ifdef __cplusplus
9913 extern "C"
9914 #endif
9915 char XCreateWindow ();
9917 main ()
9919 return XCreateWindow ();
9921 return 0;
9923 _ACEOF
9924 if ac_fn_c_try_link "$LINENO"; then :
9925 case "$LIBEXT" in
9926 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9927 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'` ;;
9928 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9929 if ${ac_cv_lib_soname_X11:+false} :; then :
9930 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9931 fi ;;
9932 esac
9934 rm -f core conftest.err conftest.$ac_objext \
9935 conftest$ac_exeext conftest.$ac_ext
9936 LIBS=$ac_check_soname_save_LIBS
9938 if ${ac_cv_lib_soname_X11:+false} :; then :
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9940 $as_echo "not found" >&6; }
9942 else
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9944 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9946 cat >>confdefs.h <<_ACEOF
9947 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9948 _ACEOF
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9953 $as_echo_n "checking for -lXext... " >&6; }
9954 if ${ac_cv_lib_soname_Xext+:} false; then :
9955 $as_echo_n "(cached) " >&6
9956 else
9957 ac_check_soname_save_LIBS=$LIBS
9958 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9962 /* Override any GCC internal prototype to avoid an error.
9963 Use char because int might match the return type of a GCC
9964 builtin and then its argument prototype would still apply. */
9965 #ifdef __cplusplus
9966 extern "C"
9967 #endif
9968 char XextCreateExtension ();
9970 main ()
9972 return XextCreateExtension ();
9974 return 0;
9976 _ACEOF
9977 if ac_fn_c_try_link "$LINENO"; then :
9978 case "$LIBEXT" in
9979 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9980 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'` ;;
9981 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9982 if ${ac_cv_lib_soname_Xext:+false} :; then :
9983 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9984 fi ;;
9985 esac
9987 rm -f core conftest.err conftest.$ac_objext \
9988 conftest$ac_exeext conftest.$ac_ext
9989 LIBS=$ac_check_soname_save_LIBS
9991 if ${ac_cv_lib_soname_Xext:+false} :; then :
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9993 $as_echo "not found" >&6; }
9995 else
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9997 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9999 cat >>confdefs.h <<_ACEOF
10000 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
10001 _ACEOF
10003 X_LIBS="$X_LIBS -lXext"
10005 X_LIBS="$X_LIBS -lX11"
10007 for ac_header in X11/Xlib.h \
10008 X11/XKBlib.h \
10009 X11/Xutil.h \
10010 X11/Xcursor/Xcursor.h \
10011 X11/extensions/shape.h \
10012 X11/extensions/XInput.h \
10013 X11/extensions/XInput2.h \
10014 X11/extensions/XShm.h \
10015 X11/extensions/Xcomposite.h \
10016 X11/extensions/Xfixes.h \
10017 X11/extensions/Xinerama.h \
10018 X11/extensions/Xrandr.h \
10019 X11/extensions/Xrender.h \
10020 X11/extensions/xf86vmode.h \
10021 X11/extensions/xf86vmproto.h
10022 do :
10023 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10024 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
10025 # include <X11/Xlib.h>
10026 #endif
10027 #ifdef HAVE_X11_XUTIL_H
10028 # include <X11/Xutil.h>
10029 #endif
10031 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10032 cat >>confdefs.h <<_ACEOF
10033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10034 _ACEOF
10038 done
10041 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
10042 then
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
10044 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
10045 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
10046 $as_echo_n "(cached) " >&6
10047 else
10048 ac_check_lib_save_LIBS=$LIBS
10049 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
10050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10051 /* end confdefs.h. */
10053 /* Override any GCC internal prototype to avoid an error.
10054 Use char because int might match the return type of a GCC
10055 builtin and then its argument prototype would still apply. */
10056 #ifdef __cplusplus
10057 extern "C"
10058 #endif
10059 char XkbQueryExtension ();
10061 main ()
10063 return XkbQueryExtension ();
10065 return 0;
10067 _ACEOF
10068 if ac_fn_c_try_link "$LINENO"; then :
10069 ac_cv_lib_X11_XkbQueryExtension=yes
10070 else
10071 ac_cv_lib_X11_XkbQueryExtension=no
10073 rm -f core conftest.err conftest.$ac_objext \
10074 conftest$ac_exeext conftest.$ac_ext
10075 LIBS=$ac_check_lib_save_LIBS
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
10078 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
10079 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
10081 $as_echo "#define HAVE_XKB 1" >>confdefs.h
10087 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
10088 then
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
10090 $as_echo_n "checking for -lXcursor... " >&6; }
10091 if ${ac_cv_lib_soname_Xcursor+:} false; then :
10092 $as_echo_n "(cached) " >&6
10093 else
10094 ac_check_soname_save_LIBS=$LIBS
10095 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
10096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10102 #ifdef __cplusplus
10103 extern "C"
10104 #endif
10105 char XcursorImageLoadCursor ();
10107 main ()
10109 return XcursorImageLoadCursor ();
10111 return 0;
10113 _ACEOF
10114 if ac_fn_c_try_link "$LINENO"; then :
10115 case "$LIBEXT" in
10116 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10117 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'` ;;
10118 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10119 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10120 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10121 fi ;;
10122 esac
10124 rm -f core conftest.err conftest.$ac_objext \
10125 conftest$ac_exeext conftest.$ac_ext
10126 LIBS=$ac_check_soname_save_LIBS
10128 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10130 $as_echo "not found" >&6; }
10132 else
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
10134 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
10136 cat >>confdefs.h <<_ACEOF
10137 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
10138 _ACEOF
10143 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
10144 case "x$with_xcursor" in
10145 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
10146 xno) ;;
10147 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
10148 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
10149 esac
10153 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
10154 then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
10156 $as_echo_n "checking for -lXi... " >&6; }
10157 if ${ac_cv_lib_soname_Xi+:} false; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 ac_check_soname_save_LIBS=$LIBS
10161 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10165 /* Override any GCC internal prototype to avoid an error.
10166 Use char because int might match the return type of a GCC
10167 builtin and then its argument prototype would still apply. */
10168 #ifdef __cplusplus
10169 extern "C"
10170 #endif
10171 char XOpenDevice ();
10173 main ()
10175 return XOpenDevice ();
10177 return 0;
10179 _ACEOF
10180 if ac_fn_c_try_link "$LINENO"; then :
10181 case "$LIBEXT" in
10182 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10183 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'` ;;
10184 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10185 if ${ac_cv_lib_soname_Xi:+false} :; then :
10186 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10187 fi ;;
10188 esac
10190 rm -f core conftest.err conftest.$ac_objext \
10191 conftest$ac_exeext conftest.$ac_ext
10192 LIBS=$ac_check_soname_save_LIBS
10194 if ${ac_cv_lib_soname_Xi:+false} :; then :
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10196 $as_echo "not found" >&6; }
10198 else
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
10200 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
10202 cat >>confdefs.h <<_ACEOF
10203 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10204 _ACEOF
10209 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10210 case "x$with_xinput" in
10211 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10212 xno) ;;
10213 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10214 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10215 esac
10219 if test "x$ac_cv_lib_soname_Xi" != x
10220 then
10221 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10222 case "x$with_xinput2" in
10223 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10224 xno) ;;
10225 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10226 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10227 esac
10232 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10233 then
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10235 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10236 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_check_lib_save_LIBS=$LIBS
10240 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10244 /* Override any GCC internal prototype to avoid an error.
10245 Use char because int might match the return type of a GCC
10246 builtin and then its argument prototype would still apply. */
10247 #ifdef __cplusplus
10248 extern "C"
10249 #endif
10250 char XShmQueryExtension ();
10252 main ()
10254 return XShmQueryExtension ();
10256 return 0;
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 ac_cv_lib_Xext_XShmQueryExtension=yes
10261 else
10262 ac_cv_lib_Xext_XShmQueryExtension=no
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 LIBS=$ac_check_lib_save_LIBS
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10269 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10270 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10272 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10277 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10278 case "x$with_xshm" in
10279 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10280 xno) ;;
10281 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10282 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10283 esac
10287 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10288 then
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10290 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10291 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10292 $as_echo_n "(cached) " >&6
10293 else
10294 ac_check_lib_save_LIBS=$LIBS
10295 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10299 /* Override any GCC internal prototype to avoid an error.
10300 Use char because int might match the return type of a GCC
10301 builtin and then its argument prototype would still apply. */
10302 #ifdef __cplusplus
10303 extern "C"
10304 #endif
10305 char XShapeQueryExtension ();
10307 main ()
10309 return XShapeQueryExtension ();
10311 return 0;
10313 _ACEOF
10314 if ac_fn_c_try_link "$LINENO"; then :
10315 ac_cv_lib_Xext_XShapeQueryExtension=yes
10316 else
10317 ac_cv_lib_Xext_XShapeQueryExtension=no
10319 rm -f core conftest.err conftest.$ac_objext \
10320 conftest$ac_exeext conftest.$ac_ext
10321 LIBS=$ac_check_lib_save_LIBS
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10324 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10325 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10327 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10332 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10333 case "x$with_xshape" in
10334 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10335 xno) ;;
10336 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10337 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10338 esac
10342 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10343 then
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10345 $as_echo_n "checking for -lXxf86vm... " >&6; }
10346 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10347 $as_echo_n "(cached) " >&6
10348 else
10349 ac_check_soname_save_LIBS=$LIBS
10350 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h. */
10354 /* Override any GCC internal prototype to avoid an error.
10355 Use char because int might match the return type of a GCC
10356 builtin and then its argument prototype would still apply. */
10357 #ifdef __cplusplus
10358 extern "C"
10359 #endif
10360 char XF86VidModeQueryExtension ();
10362 main ()
10364 return XF86VidModeQueryExtension ();
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_link "$LINENO"; then :
10370 case "$LIBEXT" in
10371 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10372 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'` ;;
10373 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10374 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10375 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10376 fi ;;
10377 esac
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 LIBS=$ac_check_soname_save_LIBS
10383 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10385 $as_echo "not found" >&6; }
10387 else
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10389 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10391 cat >>confdefs.h <<_ACEOF
10392 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10393 _ACEOF
10398 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10399 case "x$with_xxf86vm" in
10400 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10401 xno) ;;
10402 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10403 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10404 esac
10408 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10409 then
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10411 $as_echo_n "checking for -lXrender... " >&6; }
10412 if ${ac_cv_lib_soname_Xrender+:} false; then :
10413 $as_echo_n "(cached) " >&6
10414 else
10415 ac_check_soname_save_LIBS=$LIBS
10416 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10420 /* Override any GCC internal prototype to avoid an error.
10421 Use char because int might match the return type of a GCC
10422 builtin and then its argument prototype would still apply. */
10423 #ifdef __cplusplus
10424 extern "C"
10425 #endif
10426 char XRenderQueryExtension ();
10428 main ()
10430 return XRenderQueryExtension ();
10432 return 0;
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 case "$LIBEXT" in
10437 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10438 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'` ;;
10439 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10440 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10441 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10442 fi ;;
10443 esac
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 LIBS=$ac_check_soname_save_LIBS
10449 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10451 $as_echo "not found" >&6; }
10453 else
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10455 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10457 cat >>confdefs.h <<_ACEOF
10458 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10459 _ACEOF
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10462 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10463 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10464 $as_echo_n "(cached) " >&6
10465 else
10466 ac_check_lib_save_LIBS=$LIBS
10467 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10469 /* end confdefs.h. */
10471 /* Override any GCC internal prototype to avoid an error.
10472 Use char because int might match the return type of a GCC
10473 builtin and then its argument prototype would still apply. */
10474 #ifdef __cplusplus
10475 extern "C"
10476 #endif
10477 char XRenderSetPictureTransform ();
10479 main ()
10481 return XRenderSetPictureTransform ();
10483 return 0;
10485 _ACEOF
10486 if ac_fn_c_try_link "$LINENO"; then :
10487 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10488 else
10489 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10491 rm -f core conftest.err conftest.$ac_objext \
10492 conftest$ac_exeext conftest.$ac_ext
10493 LIBS=$ac_check_lib_save_LIBS
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10496 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10497 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10499 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10504 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10505 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10506 $as_echo_n "(cached) " >&6
10507 else
10508 ac_check_lib_save_LIBS=$LIBS
10509 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10513 /* Override any GCC internal prototype to avoid an error.
10514 Use char because int might match the return type of a GCC
10515 builtin and then its argument prototype would still apply. */
10516 #ifdef __cplusplus
10517 extern "C"
10518 #endif
10519 char XRenderCreateLinearGradient ();
10521 main ()
10523 return XRenderCreateLinearGradient ();
10525 return 0;
10527 _ACEOF
10528 if ac_fn_c_try_link "$LINENO"; then :
10529 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10530 else
10531 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10533 rm -f core conftest.err conftest.$ac_objext \
10534 conftest$ac_exeext conftest.$ac_ext
10535 LIBS=$ac_check_lib_save_LIBS
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10538 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10539 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10541 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10548 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10549 case "x$with_xrender" in
10550 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10551 xno) ;;
10552 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10553 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10554 esac
10558 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10559 then
10560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10561 /* end confdefs.h. */
10562 #include <X11/Xlib.h>
10563 #include <X11/extensions/Xrandr.h>
10565 main ()
10567 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10569 return 0;
10571 _ACEOF
10572 if ac_fn_c_try_compile "$LINENO"; then :
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10574 $as_echo_n "checking for -lXrandr... " >&6; }
10575 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10576 $as_echo_n "(cached) " >&6
10577 else
10578 ac_check_soname_save_LIBS=$LIBS
10579 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10581 /* end confdefs.h. */
10583 /* Override any GCC internal prototype to avoid an error.
10584 Use char because int might match the return type of a GCC
10585 builtin and then its argument prototype would still apply. */
10586 #ifdef __cplusplus
10587 extern "C"
10588 #endif
10589 char XRRQueryExtension ();
10591 main ()
10593 return XRRQueryExtension ();
10595 return 0;
10597 _ACEOF
10598 if ac_fn_c_try_link "$LINENO"; then :
10599 case "$LIBEXT" in
10600 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10601 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'` ;;
10602 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10603 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10604 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10605 fi ;;
10606 esac
10608 rm -f core conftest.err conftest.$ac_objext \
10609 conftest$ac_exeext conftest.$ac_ext
10610 LIBS=$ac_check_soname_save_LIBS
10612 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10614 $as_echo "not found" >&6; }
10616 else
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10618 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10620 cat >>confdefs.h <<_ACEOF
10621 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10622 _ACEOF
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h. */
10626 #include <X11/Xlib.h>
10627 #include <X11/extensions/Xrandr.h>
10629 main ()
10631 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10633 return 0;
10635 _ACEOF
10636 if ac_fn_c_try_compile "$LINENO"; then :
10638 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10646 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10647 case "x$with_xrandr" in
10648 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10649 xno) ;;
10650 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10651 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10652 esac
10656 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10657 then
10658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10659 /* end confdefs.h. */
10660 #include <X11/Xlib.h>
10661 #include <X11/extensions/Xfixes.h>
10663 main ()
10665 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10667 return 0;
10669 _ACEOF
10670 if ac_fn_c_try_compile "$LINENO"; then :
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10672 $as_echo_n "checking for -lXfixes... " >&6; }
10673 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10674 $as_echo_n "(cached) " >&6
10675 else
10676 ac_check_soname_save_LIBS=$LIBS
10677 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10684 #ifdef __cplusplus
10685 extern "C"
10686 #endif
10687 char XFixesQueryVersion ();
10689 main ()
10691 return XFixesQueryVersion ();
10693 return 0;
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697 case "$LIBEXT" in
10698 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10699 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'` ;;
10700 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10701 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10702 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10703 fi ;;
10704 esac
10706 rm -f core conftest.err conftest.$ac_objext \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_soname_save_LIBS
10710 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10712 $as_echo "not found" >&6; }
10714 else
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10716 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10718 cat >>confdefs.h <<_ACEOF
10719 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10720 _ACEOF
10725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10727 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10728 case "x$with_xfixes" in
10729 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10730 xno) ;;
10731 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10732 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10733 esac
10737 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10738 then
10739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10740 /* end confdefs.h. */
10741 #include <X11/Xlib.h>
10742 #include <X11/extensions/Xinerama.h>
10744 main ()
10746 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10748 return 0;
10750 _ACEOF
10751 if ac_fn_c_try_compile "$LINENO"; then :
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10753 $as_echo_n "checking for -lXinerama... " >&6; }
10754 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10755 $as_echo_n "(cached) " >&6
10756 else
10757 ac_check_soname_save_LIBS=$LIBS
10758 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10765 #ifdef __cplusplus
10766 extern "C"
10767 #endif
10768 char XineramaQueryScreens ();
10770 main ()
10772 return XineramaQueryScreens ();
10774 return 0;
10776 _ACEOF
10777 if ac_fn_c_try_link "$LINENO"; then :
10778 case "$LIBEXT" in
10779 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10780 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'` ;;
10781 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10782 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10783 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10784 fi ;;
10785 esac
10787 rm -f core conftest.err conftest.$ac_objext \
10788 conftest$ac_exeext conftest.$ac_ext
10789 LIBS=$ac_check_soname_save_LIBS
10791 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10793 $as_echo "not found" >&6; }
10795 else
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10797 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10799 cat >>confdefs.h <<_ACEOF
10800 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10801 _ACEOF
10806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10808 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10809 case "x$with_xinerama" in
10810 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10811 xno) ;;
10812 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10813 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10814 esac
10818 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10819 then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10821 $as_echo_n "checking for -lXcomposite... " >&6; }
10822 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10823 $as_echo_n "(cached) " >&6
10824 else
10825 ac_check_soname_save_LIBS=$LIBS
10826 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10828 /* end confdefs.h. */
10830 /* Override any GCC internal prototype to avoid an error.
10831 Use char because int might match the return type of a GCC
10832 builtin and then its argument prototype would still apply. */
10833 #ifdef __cplusplus
10834 extern "C"
10835 #endif
10836 char XCompositeRedirectWindow ();
10838 main ()
10840 return XCompositeRedirectWindow ();
10842 return 0;
10844 _ACEOF
10845 if ac_fn_c_try_link "$LINENO"; then :
10846 case "$LIBEXT" in
10847 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10848 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'` ;;
10849 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10850 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10851 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10852 fi ;;
10853 esac
10855 rm -f core conftest.err conftest.$ac_objext \
10856 conftest$ac_exeext conftest.$ac_ext
10857 LIBS=$ac_check_soname_save_LIBS
10859 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10861 $as_echo "not found" >&6; }
10863 else
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10865 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10867 cat >>confdefs.h <<_ACEOF
10868 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10869 _ACEOF
10874 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10875 case "x$with_xcomposite" in
10876 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10877 xno) ;;
10878 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10879 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10880 esac
10884 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10885 #include <X11/Xlib.h>
10886 #endif
10888 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10890 cat >>confdefs.h <<_ACEOF
10891 #define HAVE_XICCALLBACK_CALLBACK 1
10892 _ACEOF
10896 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10897 #include <X11/Xlib.h>
10898 #endif
10900 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10902 cat >>confdefs.h <<_ACEOF
10903 #define HAVE_XEVENT_XCOOKIE 1
10904 _ACEOF
10911 opengl_msg=""
10912 if test "x$with_opengl" != "xno"
10913 then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10915 $as_echo_n "checking for -lGL... " >&6; }
10916 if ${ac_cv_lib_soname_GL+:} false; then :
10917 $as_echo_n "(cached) " >&6
10918 else
10919 ac_check_soname_save_LIBS=$LIBS
10920 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10922 /* end confdefs.h. */
10924 /* Override any GCC internal prototype to avoid an error.
10925 Use char because int might match the return type of a GCC
10926 builtin and then its argument prototype would still apply. */
10927 #ifdef __cplusplus
10928 extern "C"
10929 #endif
10930 char glXCreateContext ();
10932 main ()
10934 return glXCreateContext ();
10936 return 0;
10938 _ACEOF
10939 if ac_fn_c_try_link "$LINENO"; then :
10940 case "$LIBEXT" in
10941 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10942 dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10943 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10944 if ${ac_cv_lib_soname_GL:+false} :; then :
10945 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10946 fi ;;
10947 esac
10949 rm -f core conftest.err conftest.$ac_objext \
10950 conftest$ac_exeext conftest.$ac_ext
10951 LIBS=$ac_check_soname_save_LIBS
10953 if ${ac_cv_lib_soname_GL:+false} :; then :
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10955 $as_echo "not found" >&6; }
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10957 $as_echo_n "checking for -lGL... " >&6; }
10958 if ${ac_cv_lib_soname_GL+:} false; then :
10959 $as_echo_n "(cached) " >&6
10960 else
10961 ac_check_soname_save_LIBS=$LIBS
10962 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"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10969 #ifdef __cplusplus
10970 extern "C"
10971 #endif
10972 char glXCreateContext ();
10974 main ()
10976 return glXCreateContext ();
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 case "$LIBEXT" in
10983 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10984 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'` ;;
10985 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10986 if ${ac_cv_lib_soname_GL:+false} :; then :
10987 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10988 fi ;;
10989 esac
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 LIBS=$ac_check_soname_save_LIBS
10995 if ${ac_cv_lib_soname_GL:+false} :; then :
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10997 $as_echo "not found" >&6; }
10998 if test -f /usr/X11R6/lib/libGL.a
10999 then
11000 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11001 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11002 else
11003 opengl_msg="No OpenGL library found on this system."
11005 else
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11007 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11009 cat >>confdefs.h <<_ACEOF
11010 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11011 _ACEOF
11013 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"
11015 else
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
11017 $as_echo "$ac_cv_lib_soname_GL" >&6; }
11019 cat >>confdefs.h <<_ACEOF
11020 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11021 _ACEOF
11023 OPENGL_LIBS="-lGL"
11025 if test "x$with_glu" != "xno"
11026 then
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
11028 $as_echo_n "checking for -lGLU... " >&6; }
11029 if ${ac_cv_lib_soname_GLU+:} false; then :
11030 $as_echo_n "(cached) " >&6
11031 else
11032 ac_check_soname_save_LIBS=$LIBS
11033 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11035 /* end confdefs.h. */
11037 /* Override any GCC internal prototype to avoid an error.
11038 Use char because int might match the return type of a GCC
11039 builtin and then its argument prototype would still apply. */
11040 #ifdef __cplusplus
11041 extern "C"
11042 #endif
11043 char gluLookAt ();
11045 main ()
11047 return gluLookAt ();
11049 return 0;
11051 _ACEOF
11052 if ac_fn_c_try_link "$LINENO"; then :
11053 case "$LIBEXT" in
11054 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11055 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'` ;;
11056 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11057 if ${ac_cv_lib_soname_GLU:+false} :; then :
11058 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11059 fi ;;
11060 esac
11062 rm -f core conftest.err conftest.$ac_objext \
11063 conftest$ac_exeext conftest.$ac_ext
11064 LIBS=$ac_check_soname_save_LIBS
11066 if ${ac_cv_lib_soname_GLU:+false} :; then :
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11068 $as_echo "not found" >&6; }
11070 else
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
11072 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
11074 cat >>confdefs.h <<_ACEOF
11075 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11076 _ACEOF
11080 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
11081 case "x$with_glu" in
11082 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
11083 xno) ;;
11084 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
11085 This is an error since --with-glu was requested." "$LINENO" 5 ;;
11086 esac
11091 if test "x$with_osmesa" != "xno"
11092 then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
11094 $as_echo_n "checking for -lOSMesa... " >&6; }
11095 if ${ac_cv_lib_soname_OSMesa+:} false; then :
11096 $as_echo_n "(cached) " >&6
11097 else
11098 ac_check_soname_save_LIBS=$LIBS
11099 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h. */
11103 /* Override any GCC internal prototype to avoid an error.
11104 Use char because int might match the return type of a GCC
11105 builtin and then its argument prototype would still apply. */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char OSMesaGetProcAddress ();
11111 main ()
11113 return OSMesaGetProcAddress ();
11115 return 0;
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119 case "$LIBEXT" in
11120 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11121 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'` ;;
11122 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11123 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11124 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11125 fi ;;
11126 esac
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_soname_save_LIBS
11132 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11134 $as_echo "not found" >&6; }
11136 else
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
11138 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
11140 cat >>confdefs.h <<_ACEOF
11141 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
11142 _ACEOF
11146 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
11147 case "x$with_osmesa" in
11148 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
11149 xno) ;;
11150 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
11151 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
11152 esac
11157 if test -n "$opengl_msg"; then :
11158 case "x$with_opengl" in
11159 x) as_fn_append wine_warnings "|$opengl_msg
11160 OpenGL and Direct3D won't be supported." ;;
11161 xno) ;;
11162 *) as_fn_error $? "$opengl_msg
11163 OpenGL and Direct3D won't be supported.
11164 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
11165 esac
11169 CPPFLAGS="$ac_save_CPPFLAGS"
11170 else
11171 X_CFLAGS=""
11172 X_LIBS=""
11175 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
11176 then
11177 if test "x$X_LIBS" = "x"; then :
11178 case "x$with_x" in
11179 xno) ;;
11180 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
11181 without X support, which probably isn't what you want. You will need
11182 to install ${notice_platform}development packages of Xlib at the very least.
11183 Use the --without-x option if you really want this." "$LINENO" 5 ;;
11184 esac
11185 enable_winex11_drv=${enable_winex11_drv:-no}
11187 else
11188 if test "x$X_LIBS" = "x"; then :
11189 case "x$with_x" in
11190 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
11191 xno) ;;
11192 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
11193 This is an error since --with-x was requested." "$LINENO" 5 ;;
11194 esac
11195 enable_winex11_drv=${enable_winex11_drv:-no}
11199 if test "$ac_cv_header_CL_cl_h" = "yes"
11200 then
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
11202 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
11203 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11204 $as_echo_n "(cached) " >&6
11205 else
11206 ac_check_lib_save_LIBS=$LIBS
11207 LIBS="-lOpenCL $LIBS"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char clGetPlatformInfo ();
11219 main ()
11221 return clGetPlatformInfo ();
11223 return 0;
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11228 else
11229 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_lib_save_LIBS
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11236 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11237 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11238 OPENCL_LIBS="-lOpenCL"
11243 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11244 case "x$with_opencl" in
11245 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11246 xno) ;;
11247 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11248 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11249 esac
11250 enable_opencl=${enable_opencl:-no}
11253 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11254 then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11256 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11257 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11258 $as_echo_n "(cached) " >&6
11259 else
11260 ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-lpcap $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h. */
11265 /* Override any GCC internal prototype to avoid an error.
11266 Use char because int might match the return type of a GCC
11267 builtin and then its argument prototype would still apply. */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char pcap_create ();
11273 main ()
11275 return pcap_create ();
11277 return 0;
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281 ac_cv_lib_pcap_pcap_create=yes
11282 else
11283 ac_cv_lib_pcap_pcap_create=no
11285 rm -f core conftest.err conftest.$ac_objext \
11286 conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11290 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11291 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11292 PCAP_LIBS="-lpcap"
11297 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11298 case "x$with_pcap" in
11299 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11300 xno) ;;
11301 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11302 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11303 esac
11304 enable_wpcap=${enable_wpcap:-no}
11308 if test "x$with_xml" != "xno"
11309 then
11310 if ${XML2_CFLAGS:+false} :; then :
11311 if ${PKG_CONFIG+:} false; then :
11312 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11315 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11316 if ${XML2_LIBS:+false} :; then :
11317 if ${PKG_CONFIG+:} false; then :
11318 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11321 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11322 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11323 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11324 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11325 ac_save_CPPFLAGS=$CPPFLAGS
11326 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11327 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11328 do :
11329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11330 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11332 cat >>confdefs.h <<_ACEOF
11333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11334 _ACEOF
11338 done
11340 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"
11341 then
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11343 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11344 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11345 $as_echo_n "(cached) " >&6
11346 else
11347 ac_check_lib_save_LIBS=$LIBS
11348 LIBS="-lxml2 $XML2_LIBS $LIBS"
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11355 #ifdef __cplusplus
11356 extern "C"
11357 #endif
11358 char xmlParseMemory ();
11360 main ()
11362 return xmlParseMemory ();
11364 return 0;
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"; then :
11368 ac_cv_lib_xml2_xmlParseMemory=yes
11369 else
11370 ac_cv_lib_xml2_xmlParseMemory=no
11372 rm -f core conftest.err conftest.$ac_objext \
11373 conftest$ac_exeext conftest.$ac_ext
11374 LIBS=$ac_check_lib_save_LIBS
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11377 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11378 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11380 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11382 else
11383 XML2_LIBS=""
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11387 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11388 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11389 $as_echo_n "(cached) " >&6
11390 else
11391 ac_check_lib_save_LIBS=$LIBS
11392 LIBS="-lxml2 $XML2_LIBS $LIBS"
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char xmlReadMemory ();
11404 main ()
11406 return xmlReadMemory ();
11408 return 0;
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_xml2_xmlReadMemory=yes
11413 else
11414 ac_cv_lib_xml2_xmlReadMemory=no
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11421 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11422 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11424 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11429 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11430 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11431 $as_echo_n "(cached) " >&6
11432 else
11433 ac_check_lib_save_LIBS=$LIBS
11434 LIBS="-lxml2 $XML2_LIBS $LIBS"
11435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11436 /* end confdefs.h. */
11438 /* Override any GCC internal prototype to avoid an error.
11439 Use char because int might match the return type of a GCC
11440 builtin and then its argument prototype would still apply. */
11441 #ifdef __cplusplus
11442 extern "C"
11443 #endif
11444 char xmlNewDocPI ();
11446 main ()
11448 return xmlNewDocPI ();
11450 return 0;
11452 _ACEOF
11453 if ac_fn_c_try_link "$LINENO"; then :
11454 ac_cv_lib_xml2_xmlNewDocPI=yes
11455 else
11456 ac_cv_lib_xml2_xmlNewDocPI=no
11458 rm -f core conftest.err conftest.$ac_objext \
11459 conftest$ac_exeext conftest.$ac_ext
11460 LIBS=$ac_check_lib_save_LIBS
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11463 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11464 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11466 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11471 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11472 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11473 $as_echo_n "(cached) " >&6
11474 else
11475 ac_check_lib_save_LIBS=$LIBS
11476 LIBS="-lxml2 $XML2_LIBS $LIBS"
11477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11478 /* end confdefs.h. */
11480 /* Override any GCC internal prototype to avoid an error.
11481 Use char because int might match the return type of a GCC
11482 builtin and then its argument prototype would still apply. */
11483 #ifdef __cplusplus
11484 extern "C"
11485 #endif
11486 char xmlSchemaSetParserStructuredErrors ();
11488 main ()
11490 return xmlSchemaSetParserStructuredErrors ();
11492 return 0;
11494 _ACEOF
11495 if ac_fn_c_try_link "$LINENO"; then :
11496 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11497 else
11498 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11500 rm -f core conftest.err conftest.$ac_objext \
11501 conftest$ac_exeext conftest.$ac_ext
11502 LIBS=$ac_check_lib_save_LIBS
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11505 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11506 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11508 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11513 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11514 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11515 $as_echo_n "(cached) " >&6
11516 else
11517 ac_check_lib_save_LIBS=$LIBS
11518 LIBS="-lxml2 $XML2_LIBS $LIBS"
11519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520 /* end confdefs.h. */
11522 /* Override any GCC internal prototype to avoid an error.
11523 Use char because int might match the return type of a GCC
11524 builtin and then its argument prototype would still apply. */
11525 #ifdef __cplusplus
11526 extern "C"
11527 #endif
11528 char xmlSchemaSetValidStructuredErrors ();
11530 main ()
11532 return xmlSchemaSetValidStructuredErrors ();
11534 return 0;
11536 _ACEOF
11537 if ac_fn_c_try_link "$LINENO"; then :
11538 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11539 else
11540 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11542 rm -f core conftest.err conftest.$ac_objext \
11543 conftest$ac_exeext conftest.$ac_ext
11544 LIBS=$ac_check_lib_save_LIBS
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11547 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11548 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11550 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11555 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11556 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11557 $as_echo_n "(cached) " >&6
11558 else
11559 ac_check_lib_save_LIBS=$LIBS
11560 LIBS="-lxml2 $XML2_LIBS $LIBS"
11561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11567 #ifdef __cplusplus
11568 extern "C"
11569 #endif
11570 char xmlFirstElementChild ();
11572 main ()
11574 return xmlFirstElementChild ();
11576 return 0;
11578 _ACEOF
11579 if ac_fn_c_try_link "$LINENO"; then :
11580 ac_cv_lib_xml2_xmlFirstElementChild=yes
11581 else
11582 ac_cv_lib_xml2_xmlFirstElementChild=no
11584 rm -f core conftest.err conftest.$ac_objext \
11585 conftest$ac_exeext conftest.$ac_ext
11586 LIBS=$ac_check_lib_save_LIBS
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11589 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11590 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11592 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11596 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11598 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11600 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11604 else
11605 XML2_CFLAGS=""
11606 XML2_LIBS=""
11608 CPPFLAGS=$ac_save_CPPFLAGS
11609 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11610 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11613 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11614 case "x$with_xml" in
11615 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11616 xno) ;;
11617 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11618 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11619 esac
11623 if test "x$with_xslt" != "xno"
11624 then
11625 if ${XSLT_CFLAGS:+false} :; then :
11626 if ${PKG_CONFIG+:} false; then :
11627 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11630 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11631 if ${XSLT_LIBS:+false} :; then :
11632 if ${PKG_CONFIG+:} false; then :
11633 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11636 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11637 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11638 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11639 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11640 ac_save_CPPFLAGS=$CPPFLAGS
11641 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11642 for ac_header in libxslt/pattern.h libxslt/transform.h
11643 do :
11644 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11645 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11646 # include <libxslt/pattern.h>
11647 #endif
11649 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11650 cat >>confdefs.h <<_ACEOF
11651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11652 _ACEOF
11656 done
11658 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11659 then
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11661 $as_echo_n "checking for -lxslt... " >&6; }
11662 if ${ac_cv_lib_soname_xslt+:} false; then :
11663 $as_echo_n "(cached) " >&6
11664 else
11665 ac_check_soname_save_LIBS=$LIBS
11666 LIBS="-lxslt $XSLT_LIBS $LIBS"
11667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11670 /* Override any GCC internal prototype to avoid an error.
11671 Use char because int might match the return type of a GCC
11672 builtin and then its argument prototype would still apply. */
11673 #ifdef __cplusplus
11674 extern "C"
11675 #endif
11676 char xsltCompilePattern ();
11678 main ()
11680 return xsltCompilePattern ();
11682 return 0;
11684 _ACEOF
11685 if ac_fn_c_try_link "$LINENO"; then :
11686 case "$LIBEXT" in
11687 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11688 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'` ;;
11689 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11690 if ${ac_cv_lib_soname_xslt:+false} :; then :
11691 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11692 fi ;;
11693 esac
11695 rm -f core conftest.err conftest.$ac_objext \
11696 conftest$ac_exeext conftest.$ac_ext
11697 LIBS=$ac_check_soname_save_LIBS
11699 if ${ac_cv_lib_soname_xslt:+false} :; then :
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11701 $as_echo "not found" >&6; }
11703 else
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11705 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11707 cat >>confdefs.h <<_ACEOF
11708 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11709 _ACEOF
11713 else
11714 XSLT_CFLAGS=""
11716 CPPFLAGS=$ac_save_CPPFLAGS
11717 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11718 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11721 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11722 case "x$with_xslt" in
11723 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11724 xno) ;;
11725 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11726 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11727 esac
11731 if test "x$with_dbus" != "xno"
11732 then
11733 if ${DBUS_CFLAGS:+false} :; then :
11734 if ${PKG_CONFIG+:} false; then :
11735 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11739 if ${DBUS_LIBS:+false} :; then :
11740 if ${PKG_CONFIG+:} false; then :
11741 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11746 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11747 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11748 ac_save_CPPFLAGS=$CPPFLAGS
11749 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11750 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11751 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11753 $as_echo_n "checking for -ldbus-1... " >&6; }
11754 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11755 $as_echo_n "(cached) " >&6
11756 else
11757 ac_check_soname_save_LIBS=$LIBS
11758 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11760 /* end confdefs.h. */
11762 /* Override any GCC internal prototype to avoid an error.
11763 Use char because int might match the return type of a GCC
11764 builtin and then its argument prototype would still apply. */
11765 #ifdef __cplusplus
11766 extern "C"
11767 #endif
11768 char dbus_connection_close ();
11770 main ()
11772 return dbus_connection_close ();
11774 return 0;
11776 _ACEOF
11777 if ac_fn_c_try_link "$LINENO"; then :
11778 case "$LIBEXT" in
11779 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11780 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'` ;;
11781 *) 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'`
11782 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11783 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11784 fi ;;
11785 esac
11787 rm -f core conftest.err conftest.$ac_objext \
11788 conftest$ac_exeext conftest.$ac_ext
11789 LIBS=$ac_check_soname_save_LIBS
11791 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11793 $as_echo "not found" >&6; }
11794 DBUS_CFLAGS=""
11795 else
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11797 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11799 cat >>confdefs.h <<_ACEOF
11800 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11801 _ACEOF
11805 else
11806 DBUS_CFLAGS=""
11810 CPPFLAGS=$ac_save_CPPFLAGS
11811 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11812 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11815 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11816 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11817 case "x$with_dbus" in
11818 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11819 xno) ;;
11820 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11821 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11822 esac
11826 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11827 then
11828 if ${HAL_CFLAGS:+false} :; then :
11829 if ${PKG_CONFIG+:} false; then :
11830 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11834 if ${HAL_LIBS:+false} :; then :
11835 if ${PKG_CONFIG+:} false; then :
11836 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11840 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11841 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11842 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11843 ac_save_CPPFLAGS=$CPPFLAGS
11844 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11845 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11846 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11848 $as_echo_n "checking for -lhal... " >&6; }
11849 if ${ac_cv_lib_soname_hal+:} false; then :
11850 $as_echo_n "(cached) " >&6
11851 else
11852 ac_check_soname_save_LIBS=$LIBS
11853 LIBS="-lhal $HAL_LIBS $LIBS"
11854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11857 /* Override any GCC internal prototype to avoid an error.
11858 Use char because int might match the return type of a GCC
11859 builtin and then its argument prototype would still apply. */
11860 #ifdef __cplusplus
11861 extern "C"
11862 #endif
11863 char libhal_ctx_new ();
11865 main ()
11867 return libhal_ctx_new ();
11869 return 0;
11871 _ACEOF
11872 if ac_fn_c_try_link "$LINENO"; then :
11873 case "$LIBEXT" in
11874 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11875 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'` ;;
11876 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11877 if ${ac_cv_lib_soname_hal:+false} :; then :
11878 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11879 fi ;;
11880 esac
11882 rm -f core conftest.err conftest.$ac_objext \
11883 conftest$ac_exeext conftest.$ac_ext
11884 LIBS=$ac_check_soname_save_LIBS
11886 if ${ac_cv_lib_soname_hal:+false} :; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11888 $as_echo "not found" >&6; }
11889 HAL_CFLAGS=""
11890 else
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11892 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11894 cat >>confdefs.h <<_ACEOF
11895 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11896 _ACEOF
11900 else
11901 HAL_CFLAGS=""
11905 CPPFLAGS=$ac_save_CPPFLAGS
11906 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11907 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11909 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11910 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11911 case "x$with_hal" in
11912 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11913 xno) ;;
11914 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11915 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11916 esac
11921 if test "x$with_gnutls" != "xno"
11922 then
11923 if ${GNUTLS_CFLAGS:+false} :; then :
11924 if ${PKG_CONFIG+:} false; then :
11925 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11929 if ${GNUTLS_LIBS:+false} :; then :
11930 if ${PKG_CONFIG+:} false; then :
11931 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11936 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11937 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11938 ac_save_CPPFLAGS=$CPPFLAGS
11939 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11940 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11941 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #include <gnutls/gnutls.h>
11945 #include <gnutls/crypto.h>
11947 main ()
11949 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11951 return 0;
11953 _ACEOF
11954 if ac_fn_c_try_compile "$LINENO"; then :
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11956 $as_echo_n "checking for -lgnutls... " >&6; }
11957 if ${ac_cv_lib_soname_gnutls+:} false; then :
11958 $as_echo_n "(cached) " >&6
11959 else
11960 ac_check_soname_save_LIBS=$LIBS
11961 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11963 /* end confdefs.h. */
11965 /* Override any GCC internal prototype to avoid an error.
11966 Use char because int might match the return type of a GCC
11967 builtin and then its argument prototype would still apply. */
11968 #ifdef __cplusplus
11969 extern "C"
11970 #endif
11971 char gnutls_global_init ();
11973 main ()
11975 return gnutls_global_init ();
11977 return 0;
11979 _ACEOF
11980 if ac_fn_c_try_link "$LINENO"; then :
11981 case "$LIBEXT" in
11982 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11983 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'` ;;
11984 *) 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'`
11985 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11986 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'`
11987 fi ;;
11988 esac
11990 rm -f core conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11992 LIBS=$ac_check_soname_save_LIBS
11994 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11996 $as_echo "not found" >&6; }
11997 GNUTLS_CFLAGS=""
11998 else
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
12000 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
12002 cat >>confdefs.h <<_ACEOF
12003 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
12004 _ACEOF
12008 ac_wine_check_funcs_save_LIBS="$LIBS"
12009 LIBS="$LIBS $GNUTLS_LIBS"
12010 for ac_func in gnutls_cipher_init
12011 do :
12012 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
12013 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
12014 cat >>confdefs.h <<_ACEOF
12015 #define HAVE_GNUTLS_CIPHER_INIT 1
12016 _ACEOF
12018 else
12019 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
12021 done
12023 LIBS="$ac_wine_check_funcs_save_LIBS"
12025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12026 else
12027 GNUTLS_CFLAGS=""
12031 CPPFLAGS=$ac_save_CPPFLAGS
12032 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12033 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12036 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
12037 case "x$with_gnutls" in
12038 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
12039 xno) ;;
12040 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
12041 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
12042 esac
12046 CURSES_LIBS=""
12047 if test "$ac_cv_header_ncurses_h" = "yes"
12048 then
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
12050 $as_echo_n "checking for -lncurses... " >&6; }
12051 if ${ac_cv_lib_soname_ncurses+:} false; then :
12052 $as_echo_n "(cached) " >&6
12053 else
12054 ac_check_soname_save_LIBS=$LIBS
12055 LIBS="-lncurses $LIBS"
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12062 #ifdef __cplusplus
12063 extern "C"
12064 #endif
12065 char waddch ();
12067 main ()
12069 return waddch ();
12071 return 0;
12073 _ACEOF
12074 if ac_fn_c_try_link "$LINENO"; then :
12075 case "$LIBEXT" in
12076 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12077 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'` ;;
12078 *) 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'`
12079 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12080 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12081 fi ;;
12082 esac
12084 rm -f core conftest.err conftest.$ac_objext \
12085 conftest$ac_exeext conftest.$ac_ext
12086 LIBS=$ac_check_soname_save_LIBS
12088 if ${ac_cv_lib_soname_ncurses:+false} :; then :
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12090 $as_echo "not found" >&6; }
12092 else
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
12094 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
12096 cat >>confdefs.h <<_ACEOF
12097 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12098 _ACEOF
12100 CURSES_LIBS="-lncurses"
12102 elif test "$ac_cv_header_curses_h" = "yes"
12103 then
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
12105 $as_echo_n "checking for -lcurses... " >&6; }
12106 if ${ac_cv_lib_soname_curses+:} false; then :
12107 $as_echo_n "(cached) " >&6
12108 else
12109 ac_check_soname_save_LIBS=$LIBS
12110 LIBS="-lcurses $LIBS"
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char waddch ();
12122 main ()
12124 return waddch ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 case "$LIBEXT" in
12131 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12132 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'` ;;
12133 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12134 if ${ac_cv_lib_soname_curses:+false} :; then :
12135 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12136 fi ;;
12137 esac
12139 rm -f core conftest.err conftest.$ac_objext \
12140 conftest$ac_exeext conftest.$ac_ext
12141 LIBS=$ac_check_soname_save_LIBS
12143 if ${ac_cv_lib_soname_curses:+false} :; then :
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12145 $as_echo "not found" >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
12149 $as_echo "$ac_cv_lib_soname_curses" >&6; }
12151 cat >>confdefs.h <<_ACEOF
12152 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12153 _ACEOF
12155 CURSES_LIBS="-lcurses"
12158 ac_save_LIBS="$LIBS"
12159 LIBS="$LIBS $CURSES_LIBS"
12160 for ac_func in mousemask
12161 do :
12162 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
12163 if test "x$ac_cv_func_mousemask" = xyes; then :
12164 cat >>confdefs.h <<_ACEOF
12165 #define HAVE_MOUSEMASK 1
12166 _ACEOF
12169 done
12171 LIBS="$ac_save_LIBS"
12172 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
12173 case "x$with_curses" in
12174 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
12175 xno) ;;
12176 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
12177 This is an error since --with-curses was requested." "$LINENO" 5 ;;
12178 esac
12182 if test "x$with_sane" != "xno"
12183 then
12184 if ${SANE_CFLAGS:+false} :; then :
12185 if ${PKG_CONFIG+:} false; then :
12186 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
12189 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
12190 if ${SANE_LIBS:+false} :; then :
12191 if ${PKG_CONFIG+:} false; then :
12192 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
12195 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
12197 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
12198 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
12199 ac_save_CPPFLAGS=$CPPFLAGS
12200 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
12201 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
12202 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12204 $as_echo_n "checking for -lsane... " >&6; }
12205 if ${ac_cv_lib_soname_sane+:} false; then :
12206 $as_echo_n "(cached) " >&6
12207 else
12208 ac_check_soname_save_LIBS=$LIBS
12209 LIBS="-lsane $SANE_LIBS $LIBS"
12210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12213 /* Override any GCC internal prototype to avoid an error.
12214 Use char because int might match the return type of a GCC
12215 builtin and then its argument prototype would still apply. */
12216 #ifdef __cplusplus
12217 extern "C"
12218 #endif
12219 char sane_init ();
12221 main ()
12223 return sane_init ();
12225 return 0;
12227 _ACEOF
12228 if ac_fn_c_try_link "$LINENO"; then :
12229 case "$LIBEXT" in
12230 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12231 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'` ;;
12232 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12233 if ${ac_cv_lib_soname_sane:+false} :; then :
12234 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12235 fi ;;
12236 esac
12238 rm -f core conftest.err conftest.$ac_objext \
12239 conftest$ac_exeext conftest.$ac_ext
12240 LIBS=$ac_check_soname_save_LIBS
12242 if ${ac_cv_lib_soname_sane:+false} :; then :
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12244 $as_echo "not found" >&6; }
12245 SANE_CFLAGS=""
12246 else
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12248 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12250 cat >>confdefs.h <<_ACEOF
12251 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12252 _ACEOF
12256 else
12257 SANE_CFLAGS=""
12261 CPPFLAGS=$ac_save_CPPFLAGS
12262 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12263 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12266 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12267 case "x$with_sane" in
12268 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12269 xno) ;;
12270 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12271 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12272 esac
12276 if test "x$with_v4l" != "xno"
12277 then
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12279 $as_echo_n "checking for -lv4l1... " >&6; }
12280 if ${ac_cv_lib_soname_v4l1+:} false; then :
12281 $as_echo_n "(cached) " >&6
12282 else
12283 ac_check_soname_save_LIBS=$LIBS
12284 LIBS="-lv4l1 $LIBS"
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12288 /* Override any GCC internal prototype to avoid an error.
12289 Use char because int might match the return type of a GCC
12290 builtin and then its argument prototype would still apply. */
12291 #ifdef __cplusplus
12292 extern "C"
12293 #endif
12294 char v4l1_open ();
12296 main ()
12298 return v4l1_open ();
12300 return 0;
12302 _ACEOF
12303 if ac_fn_c_try_link "$LINENO"; then :
12304 case "$LIBEXT" in
12305 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12306 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'` ;;
12307 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12308 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12309 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12310 fi ;;
12311 esac
12313 rm -f core conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12315 LIBS=$ac_check_soname_save_LIBS
12317 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12319 $as_echo "not found" >&6; }
12321 else
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12323 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12325 cat >>confdefs.h <<_ACEOF
12326 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12327 _ACEOF
12332 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12333 case "x$with_v4l" in
12334 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12335 xno) ;;
12336 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12337 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12338 esac
12342 if test "x$with_gphoto" != "xno"
12343 then
12344 if ${GPHOTO2_CFLAGS:+false} :; then :
12345 if ${PKG_CONFIG+:} false; then :
12346 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12349 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12350 if ${GPHOTO2_LIBS:+false} :; then :
12351 if ${PKG_CONFIG+:} false; then :
12352 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12355 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12356 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12357 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12358 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12359 ac_save_CPPFLAGS=$CPPFLAGS
12360 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12361 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12362 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12364 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12365 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12366 $as_echo_n "(cached) " >&6
12367 else
12368 ac_check_lib_save_LIBS=$LIBS
12369 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12373 /* Override any GCC internal prototype to avoid an error.
12374 Use char because int might match the return type of a GCC
12375 builtin and then its argument prototype would still apply. */
12376 #ifdef __cplusplus
12377 extern "C"
12378 #endif
12379 char gp_camera_new ();
12381 main ()
12383 return gp_camera_new ();
12385 return 0;
12387 _ACEOF
12388 if ac_fn_c_try_link "$LINENO"; then :
12389 ac_cv_lib_gphoto2_gp_camera_new=yes
12390 else
12391 ac_cv_lib_gphoto2_gp_camera_new=no
12393 rm -f core conftest.err conftest.$ac_objext \
12394 conftest$ac_exeext conftest.$ac_ext
12395 LIBS=$ac_check_lib_save_LIBS
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12398 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12399 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12401 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12403 else
12404 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12407 else
12408 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12412 CPPFLAGS=$ac_save_CPPFLAGS
12413 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12414 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12416 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12417 if ${PKG_CONFIG+:} false; then :
12418 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12421 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12422 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12423 if ${PKG_CONFIG+:} false; then :
12424 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12427 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12428 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12429 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12430 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12431 ac_save_CPPFLAGS=$CPPFLAGS
12432 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12433 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12434 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12436 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12437 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12438 $as_echo_n "(cached) " >&6
12439 else
12440 ac_check_lib_save_LIBS=$LIBS
12441 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12443 /* end confdefs.h. */
12445 /* Override any GCC internal prototype to avoid an error.
12446 Use char because int might match the return type of a GCC
12447 builtin and then its argument prototype would still apply. */
12448 #ifdef __cplusplus
12449 extern "C"
12450 #endif
12451 char gp_port_info_list_new ();
12453 main ()
12455 return gp_port_info_list_new ();
12457 return 0;
12459 _ACEOF
12460 if ac_fn_c_try_link "$LINENO"; then :
12461 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12462 else
12463 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12465 rm -f core conftest.err conftest.$ac_objext \
12466 conftest$ac_exeext conftest.$ac_ext
12467 LIBS=$ac_check_lib_save_LIBS
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12470 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12471 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12473 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12475 else
12476 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12479 else
12480 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12484 CPPFLAGS=$ac_save_CPPFLAGS
12485 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12486 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12489 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12490 case "x$with_gphoto" in
12491 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12492 xno) ;;
12493 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12494 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12495 esac
12498 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12499 case "x$with_gphoto" in
12500 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12501 xno) ;;
12502 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12503 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12504 esac
12509 if test "$ac_cv_header_resolv_h" = "yes"
12510 then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12512 $as_echo_n "checking for resolver library... " >&6; }
12513 if ${ac_cv_have_resolv+:} false; then :
12514 $as_echo_n "(cached) " >&6
12515 else
12516 ac_save_LIBS="$LIBS"
12517 for lib in '' -lresolv
12519 LIBS="$lib $ac_save_LIBS"
12520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521 /* end confdefs.h. */
12522 #ifdef HAVE_NETINET_IN_H
12523 #include <netinet/in.h>
12524 #endif
12525 #include <resolv.h>
12527 main ()
12529 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12531 return 0;
12533 _ACEOF
12534 if ac_fn_c_try_link "$LINENO"; then :
12535 ac_cv_have_resolv=${lib:-"none required"}
12536 else
12537 ac_cv_have_resolv="not found"
12539 rm -f core conftest.err conftest.$ac_objext \
12540 conftest$ac_exeext conftest.$ac_ext
12541 test "x$ac_cv_have_resolv" = "xnot found" || break
12542 done
12543 LIBS="$ac_save_LIBS"
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12546 $as_echo "$ac_cv_have_resolv" >&6; }
12548 case "$ac_cv_have_resolv" in
12549 "not found") ;;
12550 "none required")
12552 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12555 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12557 RESOLV_LIBS=$ac_cv_have_resolv
12559 esac
12562 if test "x$with_cms" != "xno"
12563 then
12564 if ${LCMS2_CFLAGS:+false} :; then :
12565 if ${PKG_CONFIG+:} false; then :
12566 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12570 if ${LCMS2_LIBS:+false} :; then :
12571 if ${PKG_CONFIG+:} false; then :
12572 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12576 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12577 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12578 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12579 ac_save_CPPFLAGS=$CPPFLAGS
12580 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12581 for ac_header in lcms2.h
12582 do :
12583 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12584 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12585 cat >>confdefs.h <<_ACEOF
12586 #define HAVE_LCMS2_H 1
12587 _ACEOF
12591 done
12593 if test "$ac_cv_header_lcms2_h" = "yes"
12594 then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12596 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12597 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12598 $as_echo_n "(cached) " >&6
12599 else
12600 ac_check_lib_save_LIBS=$LIBS
12601 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12608 #ifdef __cplusplus
12609 extern "C"
12610 #endif
12611 char cmsOpenProfileFromFile ();
12613 main ()
12615 return cmsOpenProfileFromFile ();
12617 return 0;
12619 _ACEOF
12620 if ac_fn_c_try_link "$LINENO"; then :
12621 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12622 else
12623 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12625 rm -f core conftest.err conftest.$ac_objext \
12626 conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12630 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12631 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12633 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12635 else
12636 LCMS2_LIBS=""
12639 else
12640 LCMS2_CFLAGS=""
12641 LCMS2_LIBS=""
12643 CPPFLAGS=$ac_save_CPPFLAGS
12644 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12645 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12648 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12649 case "x$with_cms" in
12650 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12651 xno) ;;
12652 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12653 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12654 esac
12658 if test "x$with_freetype" != "xno"
12659 then
12660 if ${FREETYPE_CFLAGS:+false} :; then :
12661 if ${PKG_CONFIG+:} false; then :
12662 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12665 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12666 if ${FREETYPE_LIBS:+false} :; then :
12667 if ${PKG_CONFIG+:} false; then :
12668 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12671 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12672 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12673 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12674 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12675 ac_save_CPPFLAGS=$CPPFLAGS
12676 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12677 for ac_header in ft2build.h
12678 do :
12679 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12680 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12681 cat >>confdefs.h <<_ACEOF
12682 #define HAVE_FT2BUILD_H 1
12683 _ACEOF
12687 done
12689 if test "$ac_cv_header_ft2build_h" = "yes"
12690 then
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12692 $as_echo_n "checking for -lfreetype... " >&6; }
12693 if ${ac_cv_lib_soname_freetype+:} false; then :
12694 $as_echo_n "(cached) " >&6
12695 else
12696 ac_check_soname_save_LIBS=$LIBS
12697 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699 /* end confdefs.h. */
12701 /* Override any GCC internal prototype to avoid an error.
12702 Use char because int might match the return type of a GCC
12703 builtin and then its argument prototype would still apply. */
12704 #ifdef __cplusplus
12705 extern "C"
12706 #endif
12707 char FT_Init_FreeType ();
12709 main ()
12711 return FT_Init_FreeType ();
12713 return 0;
12715 _ACEOF
12716 if ac_fn_c_try_link "$LINENO"; then :
12717 case "$LIBEXT" in
12718 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12719 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'` ;;
12720 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12721 if ${ac_cv_lib_soname_freetype:+false} :; then :
12722 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12723 fi ;;
12724 esac
12726 rm -f core conftest.err conftest.$ac_objext \
12727 conftest$ac_exeext conftest.$ac_ext
12728 LIBS=$ac_check_soname_save_LIBS
12730 if ${ac_cv_lib_soname_freetype:+false} :; then :
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12732 $as_echo "not found" >&6; }
12733 FREETYPE_LIBS=""
12734 else
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12736 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12738 cat >>confdefs.h <<_ACEOF
12739 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12740 _ACEOF
12743 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12745 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12746 #include FT_MODULE_H
12748 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12750 cat >>confdefs.h <<_ACEOF
12751 #define HAVE_FT_TRUETYPEENGINETYPE 1
12752 _ACEOF
12758 else
12759 FREETYPE_CFLAGS=""
12760 FREETYPE_LIBS=""
12762 CPPFLAGS=$ac_save_CPPFLAGS
12763 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12764 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12767 if test "x$ac_cv_lib_soname_freetype" = x; then :
12768 case "x$with_freetype" in
12769 xno) ;;
12770 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12771 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12772 esac
12773 enable_fonts=${enable_fonts:-no}
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12777 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12778 if ${ac_cv_c_ppdev+:} false; then :
12779 $as_echo_n "(cached) " >&6
12780 else
12781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12782 /* end confdefs.h. */
12783 #ifdef HAVE_SYS_IOCTL_H
12784 # include <sys/ioctl.h>
12785 #endif
12786 #include <linux/ppdev.h>
12788 main ()
12790 ioctl (1,PPCLAIM,0)
12792 return 0;
12794 _ACEOF
12795 if ac_fn_c_try_compile "$LINENO"; then :
12796 ac_cv_c_ppdev="yes"
12797 else
12798 ac_cv_c_ppdev="no"
12800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12803 $as_echo "$ac_cv_c_ppdev" >&6; }
12804 if test "$ac_cv_c_ppdev" = "yes"
12805 then
12807 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12811 ac_wine_check_funcs_save_LIBS="$LIBS"
12812 LIBS="$LIBS $PTHREAD_LIBS"
12813 for ac_func in \
12814 pthread_attr_get_np \
12815 pthread_getattr_np \
12816 pthread_getthreadid_np \
12817 pthread_get_stackaddr_np \
12818 pthread_get_stacksize_np
12819 do :
12820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12822 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12823 cat >>confdefs.h <<_ACEOF
12824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12825 _ACEOF
12828 done
12830 LIBS="$ac_wine_check_funcs_save_LIBS"
12832 if test "$ac_cv_header_zlib_h" = "yes"
12833 then
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12835 $as_echo_n "checking for inflate in -lz... " >&6; }
12836 if ${ac_cv_lib_z_inflate+:} false; then :
12837 $as_echo_n "(cached) " >&6
12838 else
12839 ac_check_lib_save_LIBS=$LIBS
12840 LIBS="-lz $LIBS"
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12844 /* Override any GCC internal prototype to avoid an error.
12845 Use char because int might match the return type of a GCC
12846 builtin and then its argument prototype would still apply. */
12847 #ifdef __cplusplus
12848 extern "C"
12849 #endif
12850 char inflate ();
12852 main ()
12854 return inflate ();
12856 return 0;
12858 _ACEOF
12859 if ac_fn_c_try_link "$LINENO"; then :
12860 ac_cv_lib_z_inflate=yes
12861 else
12862 ac_cv_lib_z_inflate=no
12864 rm -f core conftest.err conftest.$ac_objext \
12865 conftest$ac_exeext conftest.$ac_ext
12866 LIBS=$ac_check_lib_save_LIBS
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12869 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12870 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12872 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12874 Z_LIBS="-lz"
12879 if test "x$Z_LIBS" = "x"; then :
12880 case "x$with_zlib" in
12881 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12882 xno) ;;
12883 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12884 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12885 esac
12889 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12890 then
12891 if test "$ac_cv_header_gettext_po_h" = "yes"
12892 then
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12894 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12895 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12896 $as_echo_n "(cached) " >&6
12897 else
12898 ac_check_lib_save_LIBS=$LIBS
12899 LIBS="-lgettextpo $LIBS"
12900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12901 /* end confdefs.h. */
12903 /* Override any GCC internal prototype to avoid an error.
12904 Use char because int might match the return type of a GCC
12905 builtin and then its argument prototype would still apply. */
12906 #ifdef __cplusplus
12907 extern "C"
12908 #endif
12909 char po_message_msgctxt ();
12911 main ()
12913 return po_message_msgctxt ();
12915 return 0;
12917 _ACEOF
12918 if ac_fn_c_try_link "$LINENO"; then :
12919 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12920 else
12921 ac_cv_lib_gettextpo_po_message_msgctxt=no
12923 rm -f core conftest.err conftest.$ac_objext \
12924 conftest$ac_exeext conftest.$ac_ext
12925 LIBS=$ac_check_lib_save_LIBS
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12928 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12929 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12931 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12933 GETTEXTPO_LIBS="-lgettextpo"
12938 if test "x$GETTEXTPO_LIBS" = "x"; then :
12939 case "x$with_gettextpo" in
12940 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12941 xno) ;;
12942 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12943 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12944 esac
12947 if test "$srcdir" != .; then :
12948 case "x$with_gettextpo" in
12949 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12950 xno) ;;
12951 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12952 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12953 esac
12958 if test "x$with_pulse" != "xno";
12959 then
12960 if ${PULSE_CFLAGS:+false} :; then :
12961 if ${PKG_CONFIG+:} false; then :
12962 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12966 if ${PULSE_LIBS:+false} :; then :
12967 if ${PKG_CONFIG+:} false; then :
12968 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12973 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12974 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12975 ac_save_CPPFLAGS=$CPPFLAGS
12976 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12977 for ac_header in pulse/pulseaudio.h
12978 do :
12979 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12980 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12981 cat >>confdefs.h <<_ACEOF
12982 #define HAVE_PULSE_PULSEAUDIO_H 1
12983 _ACEOF
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12985 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12986 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12987 $as_echo_n "(cached) " >&6
12988 else
12989 ac_check_lib_save_LIBS=$LIBS
12990 LIBS="-lpulse $PULSE_LIBS $LIBS"
12991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992 /* end confdefs.h. */
12994 /* Override any GCC internal prototype to avoid an error.
12995 Use char because int might match the return type of a GCC
12996 builtin and then its argument prototype would still apply. */
12997 #ifdef __cplusplus
12998 extern "C"
12999 #endif
13000 char pa_stream_is_corked ();
13002 main ()
13004 return pa_stream_is_corked ();
13006 return 0;
13008 _ACEOF
13009 if ac_fn_c_try_link "$LINENO"; then :
13010 ac_cv_lib_pulse_pa_stream_is_corked=yes
13011 else
13012 ac_cv_lib_pulse_pa_stream_is_corked=no
13014 rm -f core conftest.err conftest.$ac_objext \
13015 conftest$ac_exeext conftest.$ac_ext
13016 LIBS=$ac_check_lib_save_LIBS
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
13019 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
13020 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
13022 else
13023 PULSE_LIBS=""
13026 else
13027 PULSE_LIBS=""
13030 done
13032 CPPFLAGS=$ac_save_CPPFLAGS
13033 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13034 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13037 if test -z "$PULSE_LIBS"; then :
13038 case "x$with_pulse" in
13039 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
13040 xno) ;;
13041 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
13042 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
13043 esac
13044 enable_winepulse_drv=${enable_winepulse_drv:-no}
13047 if test "x$with_gstreamer" != "xno"
13048 then
13049 if ${GSTREAMER_CFLAGS:+false} :; then :
13050 if ${PKG_CONFIG+:} false; then :
13051 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13055 if ${GSTREAMER_LIBS:+false} :; then :
13056 if ${PKG_CONFIG+:} false; then :
13057 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
13062 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
13063 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
13064 ac_save_CPPFLAGS=$CPPFLAGS
13065 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
13066 ac_gst_incl=""
13067 for i in $GSTREAMER_CFLAGS
13069 case "$i" in
13070 -I*) ac_gst_incl="$ac_gst_incl $i";;
13071 esac
13072 done
13073 GSTREAMER_CFLAGS=$ac_gst_incl
13074 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
13075 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
13076 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
13078 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
13079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13081 #include <gst/gst.h>
13083 main ()
13085 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_compile "$LINENO"; then :
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13092 $as_echo "yes" >&6; }
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
13094 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
13095 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
13096 $as_echo_n "(cached) " >&6
13097 else
13098 ac_check_lib_save_LIBS=$LIBS
13099 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
13100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13101 /* end confdefs.h. */
13103 /* Override any GCC internal prototype to avoid an error.
13104 Use char because int might match the return type of a GCC
13105 builtin and then its argument prototype would still apply. */
13106 #ifdef __cplusplus
13107 extern "C"
13108 #endif
13109 char gst_pad_new ();
13111 main ()
13113 return gst_pad_new ();
13115 return 0;
13117 _ACEOF
13118 if ac_fn_c_try_link "$LINENO"; then :
13119 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
13120 else
13121 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
13123 rm -f core conftest.err conftest.$ac_objext \
13124 conftest$ac_exeext conftest.$ac_ext
13125 LIBS=$ac_check_lib_save_LIBS
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
13128 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
13129 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
13133 else
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13135 $as_echo "no" >&6; }
13136 ac_glib2_broken=yes
13137 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
13139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13143 CPPFLAGS=$ac_save_CPPFLAGS
13144 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13145 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13148 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 :
13149 case "x$with_gstreamer" in
13150 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
13151 xno) ;;
13152 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
13153 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
13154 esac
13157 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
13159 ALSA_LIBS=""
13161 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13162 then
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
13164 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
13165 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
13166 $as_echo_n "(cached) " >&6
13167 else
13168 ac_check_lib_save_LIBS=$LIBS
13169 LIBS="-lasound $LIBS"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13173 /* Override any GCC internal prototype to avoid an error.
13174 Use char because int might match the return type of a GCC
13175 builtin and then its argument prototype would still apply. */
13176 #ifdef __cplusplus
13177 extern "C"
13178 #endif
13179 char snd_pcm_hw_params_get_access_mask ();
13181 main ()
13183 return snd_pcm_hw_params_get_access_mask ();
13185 return 0;
13187 _ACEOF
13188 if ac_fn_c_try_link "$LINENO"; then :
13189 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
13190 else
13191 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
13193 rm -f core conftest.err conftest.$ac_objext \
13194 conftest$ac_exeext conftest.$ac_ext
13195 LIBS=$ac_check_lib_save_LIBS
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
13198 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
13199 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
13200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13202 #ifdef HAVE_ALSA_ASOUNDLIB_H
13203 #include <alsa/asoundlib.h>
13204 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13205 #include <sys/asoundlib.h>
13206 #endif
13208 main ()
13210 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13212 return 0;
13214 _ACEOF
13215 if ac_fn_c_try_compile "$LINENO"; then :
13216 ALSA_LIBS="-lasound"
13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13222 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13224 if test "x$with_oss" != xno
13225 then
13226 ac_save_CPPFLAGS="$CPPFLAGS"
13227 if test -f /etc/oss.conf
13228 then
13229 . /etc/oss.conf
13231 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13232 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13233 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13234 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13235 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13237 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13239 cat >>confdefs.h <<_ACEOF
13240 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13241 _ACEOF
13243 OSS4_CFLAGS="$ac_oss_incl"
13250 CPPFLAGS="$ac_save_CPPFLAGS"
13252 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13253 case "x$with_oss" in
13254 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13255 xno) ;;
13256 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13257 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13258 esac
13259 enable_wineoss_drv=${enable_wineoss_drv:-no}
13262 if test "x$with_udev" != "xno"
13263 then
13264 if ${UDEV_CFLAGS:+false} :; then :
13265 if ${PKG_CONFIG+:} false; then :
13266 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13270 if ${UDEV_LIBS:+false} :; then :
13271 if ${PKG_CONFIG+:} false; then :
13272 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13276 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13277 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13278 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13279 ac_save_CPPFLAGS=$CPPFLAGS
13280 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13281 for ac_header in libudev.h
13282 do :
13283 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13284 if test "x$ac_cv_header_libudev_h" = xyes; then :
13285 cat >>confdefs.h <<_ACEOF
13286 #define HAVE_LIBUDEV_H 1
13287 _ACEOF
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13289 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13290 if ${ac_cv_lib_udev_udev_new+:} false; then :
13291 $as_echo_n "(cached) " >&6
13292 else
13293 ac_check_lib_save_LIBS=$LIBS
13294 LIBS="-ludev $UDEV_LIBS $LIBS"
13295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13296 /* end confdefs.h. */
13298 /* Override any GCC internal prototype to avoid an error.
13299 Use char because int might match the return type of a GCC
13300 builtin and then its argument prototype would still apply. */
13301 #ifdef __cplusplus
13302 extern "C"
13303 #endif
13304 char udev_new ();
13306 main ()
13308 return udev_new ();
13310 return 0;
13312 _ACEOF
13313 if ac_fn_c_try_link "$LINENO"; then :
13314 ac_cv_lib_udev_udev_new=yes
13315 else
13316 ac_cv_lib_udev_udev_new=no
13318 rm -f core conftest.err conftest.$ac_objext \
13319 conftest$ac_exeext conftest.$ac_ext
13320 LIBS=$ac_check_lib_save_LIBS
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13323 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13324 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13326 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13328 else
13329 UDEV_LIBS=""
13332 else
13333 UDEV_LIBS=""
13336 done
13338 CPPFLAGS=$ac_save_CPPFLAGS
13339 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13340 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13343 if test "x$UDEV_LIBS" = "x"; then :
13344 case "x$with_udev" in
13345 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13346 xno) ;;
13347 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13348 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13349 esac
13353 if test "x$with_capi" != "xno"
13354 then
13355 if ${CAPI20_CFLAGS:+false} :; then :
13356 if ${PKG_CONFIG+:} false; then :
13357 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13361 if ${CAPI20_LIBS:+false} :; then :
13362 if ${PKG_CONFIG+:} false; then :
13363 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13368 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13369 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13370 ac_save_CPPFLAGS=$CPPFLAGS
13371 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13372 for ac_header in capi20.h linux/capi.h
13373 do :
13374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13375 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13378 cat >>confdefs.h <<_ACEOF
13379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13380 _ACEOF
13384 done
13386 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13387 then
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13389 $as_echo_n "checking for -lcapi20... " >&6; }
13390 if ${ac_cv_lib_soname_capi20+:} false; then :
13391 $as_echo_n "(cached) " >&6
13392 else
13393 ac_check_soname_save_LIBS=$LIBS
13394 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13396 /* end confdefs.h. */
13398 /* Override any GCC internal prototype to avoid an error.
13399 Use char because int might match the return type of a GCC
13400 builtin and then its argument prototype would still apply. */
13401 #ifdef __cplusplus
13402 extern "C"
13403 #endif
13404 char capi20_register ();
13406 main ()
13408 return capi20_register ();
13410 return 0;
13412 _ACEOF
13413 if ac_fn_c_try_link "$LINENO"; then :
13414 case "$LIBEXT" in
13415 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13416 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'` ;;
13417 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13418 if ${ac_cv_lib_soname_capi20:+false} :; then :
13419 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13420 fi ;;
13421 esac
13423 rm -f core conftest.err conftest.$ac_objext \
13424 conftest$ac_exeext conftest.$ac_ext
13425 LIBS=$ac_check_soname_save_LIBS
13427 if ${ac_cv_lib_soname_capi20:+false} :; then :
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13429 $as_echo "not found" >&6; }
13431 else
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13433 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13435 cat >>confdefs.h <<_ACEOF
13436 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13437 _ACEOF
13442 CPPFLAGS=$ac_save_CPPFLAGS
13443 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13444 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13447 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13448 case "x$with_capi" in
13449 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13450 xno) ;;
13451 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13452 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13453 esac
13457 if test "x$with_cups" != "xno"
13458 then
13459 if ${CUPS_CFLAGS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13464 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13465 if ${CUPS_LIBS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13470 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13471 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13472 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13473 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13474 ac_save_CPPFLAGS=$CPPFLAGS
13475 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13476 for ac_header in cups/cups.h cups/ppd.h
13477 do :
13478 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13479 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13480 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13481 cat >>confdefs.h <<_ACEOF
13482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13483 _ACEOF
13487 done
13489 if test "$ac_cv_header_cups_cups_h" = "yes"
13490 then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13492 $as_echo_n "checking for -lcups... " >&6; }
13493 if ${ac_cv_lib_soname_cups+:} false; then :
13494 $as_echo_n "(cached) " >&6
13495 else
13496 ac_check_soname_save_LIBS=$LIBS
13497 LIBS="-lcups $CUPS_LIBS $LIBS"
13498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13499 /* end confdefs.h. */
13501 /* Override any GCC internal prototype to avoid an error.
13502 Use char because int might match the return type of a GCC
13503 builtin and then its argument prototype would still apply. */
13504 #ifdef __cplusplus
13505 extern "C"
13506 #endif
13507 char cupsGetDefault ();
13509 main ()
13511 return cupsGetDefault ();
13513 return 0;
13515 _ACEOF
13516 if ac_fn_c_try_link "$LINENO"; then :
13517 case "$LIBEXT" in
13518 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13519 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'` ;;
13520 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13521 if ${ac_cv_lib_soname_cups:+false} :; then :
13522 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13523 fi ;;
13524 esac
13526 rm -f core conftest.err conftest.$ac_objext \
13527 conftest$ac_exeext conftest.$ac_ext
13528 LIBS=$ac_check_soname_save_LIBS
13530 if ${ac_cv_lib_soname_cups:+false} :; then :
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13532 $as_echo "not found" >&6; }
13533 CUPS_LIBS=""
13534 else
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13536 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13538 cat >>confdefs.h <<_ACEOF
13539 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13540 _ACEOF
13544 else
13545 CUPS_CFLAGS=""
13546 CUPS_LIBS=""
13548 CPPFLAGS=$ac_save_CPPFLAGS
13549 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13550 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13553 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13554 case "x$with_cups" in
13555 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13556 xno) ;;
13557 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13558 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13559 esac
13563 if test "x$with_fontconfig" != "xno"
13564 then
13565 if ${FONTCONFIG_CFLAGS:+false} :; then :
13566 if ${PKG_CONFIG+:} false; then :
13567 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13570 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13571 if ${FONTCONFIG_LIBS:+false} :; then :
13572 if ${PKG_CONFIG+:} false; then :
13573 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13576 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13578 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13579 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13580 ac_save_CPPFLAGS=$CPPFLAGS
13581 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13582 for ac_header in fontconfig/fontconfig.h
13583 do :
13584 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13585 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13586 cat >>confdefs.h <<_ACEOF
13587 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13588 _ACEOF
13592 done
13594 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13595 then
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13597 $as_echo_n "checking for -lfontconfig... " >&6; }
13598 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13599 $as_echo_n "(cached) " >&6
13600 else
13601 ac_check_soname_save_LIBS=$LIBS
13602 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13606 /* Override any GCC internal prototype to avoid an error.
13607 Use char because int might match the return type of a GCC
13608 builtin and then its argument prototype would still apply. */
13609 #ifdef __cplusplus
13610 extern "C"
13611 #endif
13612 char FcInit ();
13614 main ()
13616 return FcInit ();
13618 return 0;
13620 _ACEOF
13621 if ac_fn_c_try_link "$LINENO"; then :
13622 case "$LIBEXT" in
13623 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13624 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'` ;;
13625 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13626 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13627 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13628 fi ;;
13629 esac
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 LIBS=$ac_check_soname_save_LIBS
13635 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13637 $as_echo "not found" >&6; }
13638 FONTCONFIG_CFLAGS=""
13639 else
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13641 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13643 cat >>confdefs.h <<_ACEOF
13644 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13645 _ACEOF
13649 else
13650 FONTCONFIG_CFLAGS=""
13652 CPPFLAGS=$ac_save_CPPFLAGS
13653 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13654 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13657 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13658 case "x$with_fontconfig" in
13659 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13660 xno) ;;
13661 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13662 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13663 esac
13667 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13668 then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13670 $as_echo_n "checking for -lgsm... " >&6; }
13671 if ${ac_cv_lib_soname_gsm+:} false; then :
13672 $as_echo_n "(cached) " >&6
13673 else
13674 ac_check_soname_save_LIBS=$LIBS
13675 LIBS="-lgsm $LIBS"
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13679 /* Override any GCC internal prototype to avoid an error.
13680 Use char because int might match the return type of a GCC
13681 builtin and then its argument prototype would still apply. */
13682 #ifdef __cplusplus
13683 extern "C"
13684 #endif
13685 char gsm_create ();
13687 main ()
13689 return gsm_create ();
13691 return 0;
13693 _ACEOF
13694 if ac_fn_c_try_link "$LINENO"; then :
13695 case "$LIBEXT" in
13696 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13697 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'` ;;
13698 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13699 if ${ac_cv_lib_soname_gsm:+false} :; then :
13700 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13701 fi ;;
13702 esac
13704 rm -f core conftest.err conftest.$ac_objext \
13705 conftest$ac_exeext conftest.$ac_ext
13706 LIBS=$ac_check_soname_save_LIBS
13708 if ${ac_cv_lib_soname_gsm:+false} :; then :
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13710 $as_echo "not found" >&6; }
13712 else
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13714 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13716 cat >>confdefs.h <<_ACEOF
13717 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13718 _ACEOF
13723 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13724 case "x$with_gsm" in
13725 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13726 xno) ;;
13727 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13728 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13729 esac
13733 if test "x$with_jpeg" != "xno"
13734 then
13735 if ${JPEG_CFLAGS:+false} :; then :
13736 if ${PKG_CONFIG+:} false; then :
13737 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13741 if ${JPEG_LIBS:+false} :; then :
13742 if ${PKG_CONFIG+:} false; then :
13743 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13748 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13749 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13750 ac_save_CPPFLAGS=$CPPFLAGS
13751 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13752 for ac_header in jpeglib.h
13753 do :
13754 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13755 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13756 cat >>confdefs.h <<_ACEOF
13757 #define HAVE_JPEGLIB_H 1
13758 _ACEOF
13762 done
13764 if test "$ac_cv_header_jpeglib_h" = "yes"
13765 then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13767 $as_echo_n "checking for -ljpeg... " >&6; }
13768 if ${ac_cv_lib_soname_jpeg+:} false; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 ac_check_soname_save_LIBS=$LIBS
13772 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13776 /* Override any GCC internal prototype to avoid an error.
13777 Use char because int might match the return type of a GCC
13778 builtin and then its argument prototype would still apply. */
13779 #ifdef __cplusplus
13780 extern "C"
13781 #endif
13782 char jpeg_start_decompress ();
13784 main ()
13786 return jpeg_start_decompress ();
13788 return 0;
13790 _ACEOF
13791 if ac_fn_c_try_link "$LINENO"; then :
13792 case "$LIBEXT" in
13793 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13794 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'` ;;
13795 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13796 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13797 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13798 fi ;;
13799 esac
13801 rm -f core conftest.err conftest.$ac_objext \
13802 conftest$ac_exeext conftest.$ac_ext
13803 LIBS=$ac_check_soname_save_LIBS
13805 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13807 $as_echo "not found" >&6; }
13808 JPEG_CFLAGS=""
13809 else
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13811 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13813 cat >>confdefs.h <<_ACEOF
13814 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13815 _ACEOF
13819 else
13820 JPEG_CFLAGS=""
13822 CPPFLAGS=$ac_save_CPPFLAGS
13823 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13824 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13827 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13828 case "x$with_jpeg" in
13829 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13830 xno) ;;
13831 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13832 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13833 esac
13837 if test "x$with_png" != "xno"
13838 then
13839 if ${PNG_CFLAGS:+false} :; then :
13840 if ${PKG_CONFIG+:} false; then :
13841 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13844 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13845 if ${PNG_LIBS:+false} :; then :
13846 if ${PKG_CONFIG+:} false; then :
13847 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13850 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13852 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13853 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13854 ac_save_CPPFLAGS=$CPPFLAGS
13855 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13856 for ac_header in png.h
13857 do :
13858 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13859 if test "x$ac_cv_header_png_h" = xyes; then :
13860 cat >>confdefs.h <<_ACEOF
13861 #define HAVE_PNG_H 1
13862 _ACEOF
13866 done
13868 if test "$ac_cv_header_png_h" = "yes"
13869 then
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13871 $as_echo_n "checking for -lpng... " >&6; }
13872 if ${ac_cv_lib_soname_png+:} false; then :
13873 $as_echo_n "(cached) " >&6
13874 else
13875 ac_check_soname_save_LIBS=$LIBS
13876 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13883 #ifdef __cplusplus
13884 extern "C"
13885 #endif
13886 char png_create_read_struct ();
13888 main ()
13890 return png_create_read_struct ();
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"; then :
13896 case "$LIBEXT" in
13897 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13898 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'` ;;
13899 *) 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'`
13900 if ${ac_cv_lib_soname_png:+false} :; then :
13901 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13902 fi ;;
13903 esac
13905 rm -f core conftest.err conftest.$ac_objext \
13906 conftest$ac_exeext conftest.$ac_ext
13907 LIBS=$ac_check_soname_save_LIBS
13909 if ${ac_cv_lib_soname_png:+false} :; then :
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13911 $as_echo "not found" >&6; }
13912 PNG_CFLAGS=""
13913 else
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13915 $as_echo "$ac_cv_lib_soname_png" >&6; }
13917 cat >>confdefs.h <<_ACEOF
13918 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13919 _ACEOF
13923 else
13924 PNG_CFLAGS=""
13926 CPPFLAGS=$ac_save_CPPFLAGS
13927 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13928 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13931 if test "x$ac_cv_lib_soname_png" = "x"; then :
13932 case "x$with_png" in
13933 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13934 xno) ;;
13935 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13936 This is an error since --with-png was requested." "$LINENO" 5 ;;
13937 esac
13941 if test "x$with_tiff" != "xno"
13942 then
13943 if ${TIFF_CFLAGS:+false} :; then :
13944 if ${PKG_CONFIG+:} false; then :
13945 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13949 if ${TIFF_LIBS:+false} :; then :
13950 if ${PKG_CONFIG+:} false; then :
13951 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13956 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13957 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13958 ac_save_CPPFLAGS=$CPPFLAGS
13959 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13960 for ac_header in tiffio.h
13961 do :
13962 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13963 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13964 cat >>confdefs.h <<_ACEOF
13965 #define HAVE_TIFFIO_H 1
13966 _ACEOF
13970 done
13972 if test "$ac_cv_header_tiffio_h" = "yes"
13973 then
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13975 $as_echo_n "checking for -ltiff... " >&6; }
13976 if ${ac_cv_lib_soname_tiff+:} false; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 ac_check_soname_save_LIBS=$LIBS
13980 LIBS="-ltiff $TIFF_LIBS $LIBS"
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13987 #ifdef __cplusplus
13988 extern "C"
13989 #endif
13990 char TIFFClientOpen ();
13992 main ()
13994 return TIFFClientOpen ();
13996 return 0;
13998 _ACEOF
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 case "$LIBEXT" in
14001 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14002 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'` ;;
14003 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14004 if ${ac_cv_lib_soname_tiff:+false} :; then :
14005 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14006 fi ;;
14007 esac
14009 rm -f core conftest.err conftest.$ac_objext \
14010 conftest$ac_exeext conftest.$ac_ext
14011 LIBS=$ac_check_soname_save_LIBS
14013 if ${ac_cv_lib_soname_tiff:+false} :; then :
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14015 $as_echo "not found" >&6; }
14017 else
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14019 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14021 cat >>confdefs.h <<_ACEOF
14022 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14023 _ACEOF
14028 CPPFLAGS=$ac_save_CPPFLAGS
14029 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14030 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14033 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14034 case "x$with_tiff" in
14035 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14036 xno) ;;
14037 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14038 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14039 esac
14043 if test "x$with_mpg123" != "xno"
14044 then
14045 if ${MPG123_CFLAGS:+false} :; then :
14046 if ${PKG_CONFIG+:} false; then :
14047 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14051 if ${MPG123_LIBS:+false} :; then :
14052 if ${PKG_CONFIG+:} false; then :
14053 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14057 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14058 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14059 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14060 ac_save_CPPFLAGS=$CPPFLAGS
14061 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14062 for ac_header in mpg123.h
14063 do :
14064 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14065 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14066 cat >>confdefs.h <<_ACEOF
14067 #define HAVE_MPG123_H 1
14068 _ACEOF
14072 done
14074 if test "$ac_cv_header_mpg123_h" = "yes"
14075 then
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14077 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14078 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14079 $as_echo_n "(cached) " >&6
14080 else
14081 ac_check_lib_save_LIBS=$LIBS
14082 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14084 /* end confdefs.h. */
14086 /* Override any GCC internal prototype to avoid an error.
14087 Use char because int might match the return type of a GCC
14088 builtin and then its argument prototype would still apply. */
14089 #ifdef __cplusplus
14090 extern "C"
14091 #endif
14092 char mpg123_feed ();
14094 main ()
14096 return mpg123_feed ();
14098 return 0;
14100 _ACEOF
14101 if ac_fn_c_try_link "$LINENO"; then :
14102 ac_cv_lib_mpg123_mpg123_feed=yes
14103 else
14104 ac_cv_lib_mpg123_mpg123_feed=no
14106 rm -f core conftest.err conftest.$ac_objext \
14107 conftest$ac_exeext conftest.$ac_ext
14108 LIBS=$ac_check_lib_save_LIBS
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14111 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14112 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14114 else
14115 MPG123_LIBS=""
14118 else
14119 MPG123_CFLAGS=""
14120 MPG123_LIBS=""
14122 CPPFLAGS=$ac_save_CPPFLAGS
14123 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14124 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14127 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14128 case "x$with_mpg123" in
14129 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14130 xno) ;;
14131 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14132 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14133 esac
14134 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14137 if test "$ac_cv_header_AL_al_h" = "yes"
14138 then
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14140 $as_echo_n "checking for -lopenal... " >&6; }
14141 if ${ac_cv_lib_soname_openal+:} false; then :
14142 $as_echo_n "(cached) " >&6
14143 else
14144 ac_check_soname_save_LIBS=$LIBS
14145 LIBS="-lopenal $LIBS"
14146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14147 /* end confdefs.h. */
14149 /* Override any GCC internal prototype to avoid an error.
14150 Use char because int might match the return type of a GCC
14151 builtin and then its argument prototype would still apply. */
14152 #ifdef __cplusplus
14153 extern "C"
14154 #endif
14155 char alGetSource3i ();
14157 main ()
14159 return alGetSource3i ();
14161 return 0;
14163 _ACEOF
14164 if ac_fn_c_try_link "$LINENO"; then :
14165 case "$LIBEXT" in
14166 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14167 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'` ;;
14168 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14169 if ${ac_cv_lib_soname_openal:+false} :; then :
14170 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14171 fi ;;
14172 esac
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 LIBS=$ac_check_soname_save_LIBS
14178 if ${ac_cv_lib_soname_openal:+false} :; then :
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14180 $as_echo "not found" >&6; }
14182 else
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14184 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14186 cat >>confdefs.h <<_ACEOF
14187 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14188 _ACEOF
14190 OPENAL_LIBS="-lopenal"
14192 ac_cv_lib_openal=yes
14194 cat >>confdefs.h <<_ACEOF
14195 #define HAVE_OPENAL 1
14196 _ACEOF
14200 if test "x$ac_cv_lib_openal" != xyes; then :
14201 case "x$with_openal" in
14202 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14203 xno) ;;
14204 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14205 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14206 esac
14207 enable_openal32=${enable_openal32:-no}
14210 if test "x$ac_cv_lib_openal" = xyes
14211 then
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14213 $as_echo_n "checking for openal-soft... " >&6; }
14214 if ${ac_cv_have_openalsoft+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14219 #include <AL/al.h>
14220 #include <AL/alc.h>
14221 #include <AL/alext.h>
14222 LPALCRENDERSAMPLESSOFT x;
14224 main ()
14228 return 0;
14230 _ACEOF
14231 if ac_fn_c_try_compile "$LINENO"; then :
14232 ac_cv_have_openalsoft=yes
14233 else
14234 ac_cv_have_openalsoft=no
14236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14239 $as_echo "$ac_cv_have_openalsoft" >&6; }
14241 if test "x$ac_cv_have_openalsoft" != xyes
14242 then
14243 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14244 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14245 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14246 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14247 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14248 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14249 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14250 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14251 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14252 enable_xapofx1_1=${enable_xapofx1_1:-no}
14253 enable_xapofx1_2=${enable_xapofx1_2:-no}
14254 enable_xapofx1_3=${enable_xapofx1_3:-no}
14255 enable_xapofx1_4=${enable_xapofx1_4:-no}
14256 enable_xapofx1_5=${enable_xapofx1_5:-no}
14257 enable_xaudio2_0=${enable_xaudio2_0:-no}
14258 enable_xaudio2_1=${enable_xaudio2_1:-no}
14259 enable_xaudio2_2=${enable_xaudio2_2:-no}
14260 enable_xaudio2_3=${enable_xaudio2_3:-no}
14261 enable_xaudio2_4=${enable_xaudio2_4:-no}
14262 enable_xaudio2_5=${enable_xaudio2_5:-no}
14263 enable_xaudio2_6=${enable_xaudio2_6:-no}
14264 enable_xaudio2_7=${enable_xaudio2_7:-no}
14265 enable_xaudio2_8=${enable_xaudio2_8:-no}
14266 enable_xaudio2_9=${enable_xaudio2_9:-no}
14269 if test "$ac_cv_header_kstat_h" = "yes"
14270 then
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14272 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14273 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14274 $as_echo_n "(cached) " >&6
14275 else
14276 ac_check_lib_save_LIBS=$LIBS
14277 LIBS="-lkstat $LIBS"
14278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279 /* end confdefs.h. */
14281 /* Override any GCC internal prototype to avoid an error.
14282 Use char because int might match the return type of a GCC
14283 builtin and then its argument prototype would still apply. */
14284 #ifdef __cplusplus
14285 extern "C"
14286 #endif
14287 char kstat_open ();
14289 main ()
14291 return kstat_open ();
14293 return 0;
14295 _ACEOF
14296 if ac_fn_c_try_link "$LINENO"; then :
14297 ac_cv_lib_kstat_kstat_open=yes
14298 else
14299 ac_cv_lib_kstat_kstat_open=no
14301 rm -f core conftest.err conftest.$ac_objext \
14302 conftest$ac_exeext conftest.$ac_ext
14303 LIBS=$ac_check_lib_save_LIBS
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14306 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14307 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14309 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14311 KSTAT_LIBS="-lkstat"
14317 if test "$ac_cv_header_libprocstat_h" = "yes"
14318 then
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14320 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14321 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14322 $as_echo_n "(cached) " >&6
14323 else
14324 ac_check_lib_save_LIBS=$LIBS
14325 LIBS="-lprocstat $LIBS"
14326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14327 /* end confdefs.h. */
14329 /* Override any GCC internal prototype to avoid an error.
14330 Use char because int might match the return type of a GCC
14331 builtin and then its argument prototype would still apply. */
14332 #ifdef __cplusplus
14333 extern "C"
14334 #endif
14335 char procstat_open_sysctl ();
14337 main ()
14339 return procstat_open_sysctl ();
14341 return 0;
14343 _ACEOF
14344 if ac_fn_c_try_link "$LINENO"; then :
14345 ac_cv_lib_procstat_procstat_open_sysctl=yes
14346 else
14347 ac_cv_lib_procstat_procstat_open_sysctl=no
14349 rm -f core conftest.err conftest.$ac_objext \
14350 conftest$ac_exeext conftest.$ac_ext
14351 LIBS=$ac_check_lib_save_LIBS
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14354 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14355 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14357 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14359 PROCSTAT_LIBS="-lprocstat"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14366 $as_echo_n "checking for -lodbc... " >&6; }
14367 if ${ac_cv_lib_soname_odbc+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 ac_check_soname_save_LIBS=$LIBS
14371 LIBS="-lodbc $LIBS"
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14375 /* Override any GCC internal prototype to avoid an error.
14376 Use char because int might match the return type of a GCC
14377 builtin and then its argument prototype would still apply. */
14378 #ifdef __cplusplus
14379 extern "C"
14380 #endif
14381 char SQLConnect ();
14383 main ()
14385 return SQLConnect ();
14387 return 0;
14389 _ACEOF
14390 if ac_fn_c_try_link "$LINENO"; then :
14391 case "$LIBEXT" in
14392 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14393 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'` ;;
14394 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14395 if ${ac_cv_lib_soname_odbc:+false} :; then :
14396 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14397 fi ;;
14398 esac
14400 rm -f core conftest.err conftest.$ac_objext \
14401 conftest$ac_exeext conftest.$ac_ext
14402 LIBS=$ac_check_soname_save_LIBS
14404 if ${ac_cv_lib_soname_odbc:+false} :; then :
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14406 $as_echo "not found" >&6; }
14407 cat >>confdefs.h <<_ACEOF
14408 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14409 _ACEOF
14411 else
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14413 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14415 cat >>confdefs.h <<_ACEOF
14416 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14417 _ACEOF
14422 if test "x$with_netapi" != "xno"
14423 then
14424 if ${NETAPI_CFLAGS:+false} :; then :
14425 if ${PKG_CONFIG+:} false; then :
14426 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14430 if ${NETAPI_LIBS:+false} :; then :
14431 if ${PKG_CONFIG+:} false; then :
14432 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14437 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14438 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14439 ac_save_CPPFLAGS=$CPPFLAGS
14440 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14442 $as_echo_n "checking for -lnetapi... " >&6; }
14443 if ${ac_cv_lib_soname_netapi+:} false; then :
14444 $as_echo_n "(cached) " >&6
14445 else
14446 ac_check_soname_save_LIBS=$LIBS
14447 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14449 /* end confdefs.h. */
14451 /* Override any GCC internal prototype to avoid an error.
14452 Use char because int might match the return type of a GCC
14453 builtin and then its argument prototype would still apply. */
14454 #ifdef __cplusplus
14455 extern "C"
14456 #endif
14457 char libnetapi_init ();
14459 main ()
14461 return libnetapi_init ();
14463 return 0;
14465 _ACEOF
14466 if ac_fn_c_try_link "$LINENO"; then :
14467 case "$LIBEXT" in
14468 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14469 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'` ;;
14470 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14471 if ${ac_cv_lib_soname_netapi:+false} :; then :
14472 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14473 fi ;;
14474 esac
14476 rm -f core conftest.err conftest.$ac_objext \
14477 conftest$ac_exeext conftest.$ac_ext
14478 LIBS=$ac_check_soname_save_LIBS
14480 if ${ac_cv_lib_soname_netapi:+false} :; then :
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14482 $as_echo "not found" >&6; }
14483 cat >>confdefs.h <<_ACEOF
14484 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14485 _ACEOF
14487 else
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14489 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14491 cat >>confdefs.h <<_ACEOF
14492 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14493 _ACEOF
14497 CPPFLAGS=$ac_save_CPPFLAGS
14498 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14499 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14503 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14504 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14505 then
14506 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14510 EXTRACFLAGS=""
14512 if test "x${GCC}" = "xyes"
14513 then
14514 EXTRACFLAGS="-Wall -pipe"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14517 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14518 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14519 $as_echo_n "(cached) " >&6
14520 else
14521 if test "$cross_compiling" = yes; then :
14522 ac_cv_c_gcc_strength_bug="no"
14523 else
14524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14525 /* end confdefs.h. */
14526 int L[4] = {0,1,2,3};
14528 main ()
14530 static int Array[3];
14531 unsigned int B = 3;
14532 int i;
14533 for(i=0; i<B; i++) Array[i] = i - 3;
14534 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14535 L[i] = 4;
14536 return (Array[1] != -2 || L[2] != 3)
14538 return 0;
14540 _ACEOF
14541 if ac_fn_c_try_run "$LINENO"; then :
14542 ac_cv_c_gcc_strength_bug="no"
14543 else
14544 ac_cv_c_gcc_strength_bug="yes"
14546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14547 conftest.$ac_objext conftest.beam conftest.$ac_ext
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14552 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14553 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14554 then
14555 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14559 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14560 if ${ac_cv_cflags__fno_builtin+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 ac_wine_try_cflags_saved=$CFLAGS
14564 CFLAGS="$CFLAGS -fno-builtin"
14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14567 int main(int argc, char **argv) { return 0; }
14568 _ACEOF
14569 if ac_fn_c_try_link "$LINENO"; then :
14570 ac_cv_cflags__fno_builtin=yes
14571 else
14572 ac_cv_cflags__fno_builtin=no
14574 rm -f core conftest.err conftest.$ac_objext \
14575 conftest$ac_exeext conftest.$ac_ext
14576 CFLAGS=$ac_wine_try_cflags_saved
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14579 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14580 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14581 BUILTINFLAG="-fno-builtin"
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14585 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14586 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14587 $as_echo_n "(cached) " >&6
14588 else
14589 ac_wine_try_cflags_saved=$CFLAGS
14590 CFLAGS="$CFLAGS -fno-strict-aliasing"
14591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592 /* end confdefs.h. */
14593 int main(int argc, char **argv) { return 0; }
14594 _ACEOF
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_cflags__fno_strict_aliasing=yes
14597 else
14598 ac_cv_cflags__fno_strict_aliasing=no
14600 rm -f core conftest.err conftest.$ac_objext \
14601 conftest$ac_exeext conftest.$ac_ext
14602 CFLAGS=$ac_wine_try_cflags_saved
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14605 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14606 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14607 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14610 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14611 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14612 $as_echo_n "(cached) " >&6
14613 else
14614 ac_wine_try_cflags_saved=$CFLAGS
14615 CFLAGS="$CFLAGS -fexcess-precision=standard"
14616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14617 /* end confdefs.h. */
14618 int main(int argc, char **argv) { return 0; }
14619 _ACEOF
14620 if ac_fn_c_try_link "$LINENO"; then :
14621 ac_cv_cflags__fexcess_precision_standard=yes
14622 else
14623 ac_cv_cflags__fexcess_precision_standard=no
14625 rm -f core conftest.err conftest.$ac_objext \
14626 conftest$ac_exeext conftest.$ac_ext
14627 CFLAGS=$ac_wine_try_cflags_saved
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14630 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14631 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14632 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14635 saved_CFLAGS=$CFLAGS
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14637 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14638 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_wine_try_cflags_saved=$CFLAGS
14642 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14645 int main(int argc, char **argv) { return 0; }
14646 _ACEOF
14647 if ac_fn_c_try_link "$LINENO"; then :
14648 ac_cv_cflags__Werror_unknown_warning_option=yes
14649 else
14650 ac_cv_cflags__Werror_unknown_warning_option=no
14652 rm -f core conftest.err conftest.$ac_objext \
14653 conftest$ac_exeext conftest.$ac_ext
14654 CFLAGS=$ac_wine_try_cflags_saved
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14657 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14658 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14659 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14662 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14663 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14664 $as_echo_n "(cached) " >&6
14665 else
14666 ac_wine_try_cflags_saved=$CFLAGS
14667 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669 /* end confdefs.h. */
14670 int main(int argc, char **argv) { return 0; }
14671 _ACEOF
14672 if ac_fn_c_try_link "$LINENO"; then :
14673 ac_cv_cflags__Wdeclaration_after_statement=yes
14674 else
14675 ac_cv_cflags__Wdeclaration_after_statement=no
14677 rm -f core conftest.err conftest.$ac_objext \
14678 conftest$ac_exeext conftest.$ac_ext
14679 CFLAGS=$ac_wine_try_cflags_saved
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14682 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14683 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14684 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14687 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14688 if ${ac_cv_cflags__Wempty_body+:} false; then :
14689 $as_echo_n "(cached) " >&6
14690 else
14691 ac_wine_try_cflags_saved=$CFLAGS
14692 CFLAGS="$CFLAGS -Wempty-body"
14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14694 /* end confdefs.h. */
14695 int main(int argc, char **argv) { return 0; }
14696 _ACEOF
14697 if ac_fn_c_try_link "$LINENO"; then :
14698 ac_cv_cflags__Wempty_body=yes
14699 else
14700 ac_cv_cflags__Wempty_body=no
14702 rm -f core conftest.err conftest.$ac_objext \
14703 conftest$ac_exeext conftest.$ac_ext
14704 CFLAGS=$ac_wine_try_cflags_saved
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14707 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14708 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14709 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14712 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14713 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14714 $as_echo_n "(cached) " >&6
14715 else
14716 ac_wine_try_cflags_saved=$CFLAGS
14717 CFLAGS="$CFLAGS -Wignored-qualifiers"
14718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14719 /* end confdefs.h. */
14720 int main(int argc, char **argv) { return 0; }
14721 _ACEOF
14722 if ac_fn_c_try_link "$LINENO"; then :
14723 ac_cv_cflags__Wignored_qualifiers=yes
14724 else
14725 ac_cv_cflags__Wignored_qualifiers=no
14727 rm -f core conftest.err conftest.$ac_objext \
14728 conftest$ac_exeext conftest.$ac_ext
14729 CFLAGS=$ac_wine_try_cflags_saved
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14732 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14733 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14734 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14737 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14738 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14739 $as_echo_n "(cached) " >&6
14740 else
14741 ac_wine_try_cflags_saved=$CFLAGS
14742 CFLAGS="$CFLAGS -Wshift-overflow=2"
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14745 int main(int argc, char **argv) { return 0; }
14746 _ACEOF
14747 if ac_fn_c_try_link "$LINENO"; then :
14748 ac_cv_cflags__Wshift_overflow_2=yes
14749 else
14750 ac_cv_cflags__Wshift_overflow_2=no
14752 rm -f core conftest.err conftest.$ac_objext \
14753 conftest$ac_exeext conftest.$ac_ext
14754 CFLAGS=$ac_wine_try_cflags_saved
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14757 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14758 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14759 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14762 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14763 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14764 $as_echo_n "(cached) " >&6
14765 else
14766 ac_wine_try_cflags_saved=$CFLAGS
14767 CFLAGS="$CFLAGS -Wstrict-prototypes"
14768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14769 /* end confdefs.h. */
14770 int main(int argc, char **argv) { return 0; }
14771 _ACEOF
14772 if ac_fn_c_try_link "$LINENO"; then :
14773 ac_cv_cflags__Wstrict_prototypes=yes
14774 else
14775 ac_cv_cflags__Wstrict_prototypes=no
14777 rm -f core conftest.err conftest.$ac_objext \
14778 conftest$ac_exeext conftest.$ac_ext
14779 CFLAGS=$ac_wine_try_cflags_saved
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14782 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14783 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14784 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14787 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14788 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14789 $as_echo_n "(cached) " >&6
14790 else
14791 ac_wine_try_cflags_saved=$CFLAGS
14792 CFLAGS="$CFLAGS -Wtype-limits"
14793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14794 /* end confdefs.h. */
14795 int main(int argc, char **argv) { return 0; }
14796 _ACEOF
14797 if ac_fn_c_try_link "$LINENO"; then :
14798 ac_cv_cflags__Wtype_limits=yes
14799 else
14800 ac_cv_cflags__Wtype_limits=no
14802 rm -f core conftest.err conftest.$ac_objext \
14803 conftest$ac_exeext conftest.$ac_ext
14804 CFLAGS=$ac_wine_try_cflags_saved
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14807 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14808 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14809 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14812 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14813 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14814 $as_echo_n "(cached) " >&6
14815 else
14816 ac_wine_try_cflags_saved=$CFLAGS
14817 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h. */
14820 int main(int argc, char **argv) { return 0; }
14821 _ACEOF
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_cflags__Wunused_but_set_parameter=yes
14824 else
14825 ac_cv_cflags__Wunused_but_set_parameter=no
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14829 CFLAGS=$ac_wine_try_cflags_saved
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14832 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14833 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14834 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14837 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14838 if ${ac_cv_cflags__Wvla+:} false; then :
14839 $as_echo_n "(cached) " >&6
14840 else
14841 ac_wine_try_cflags_saved=$CFLAGS
14842 CFLAGS="$CFLAGS -Wvla"
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14845 int main(int argc, char **argv) { return 0; }
14846 _ACEOF
14847 if ac_fn_c_try_link "$LINENO"; then :
14848 ac_cv_cflags__Wvla=yes
14849 else
14850 ac_cv_cflags__Wvla=no
14852 rm -f core conftest.err conftest.$ac_objext \
14853 conftest$ac_exeext conftest.$ac_ext
14854 CFLAGS=$ac_wine_try_cflags_saved
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14857 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14858 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14859 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14862 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14863 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 ac_wine_try_cflags_saved=$CFLAGS
14867 CFLAGS="$CFLAGS -Wwrite-strings"
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14870 int main(int argc, char **argv) { return 0; }
14871 _ACEOF
14872 if ac_fn_c_try_link "$LINENO"; then :
14873 ac_cv_cflags__Wwrite_strings=yes
14874 else
14875 ac_cv_cflags__Wwrite_strings=no
14877 rm -f core conftest.err conftest.$ac_objext \
14878 conftest$ac_exeext conftest.$ac_ext
14879 CFLAGS=$ac_wine_try_cflags_saved
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14882 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14883 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14884 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14888 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14889 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14890 $as_echo_n "(cached) " >&6
14891 else
14892 ac_wine_try_cflags_saved=$CFLAGS
14893 CFLAGS="$CFLAGS -Wpointer-arith"
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14896 int main(int argc, char **argv) { return 0; }
14897 _ACEOF
14898 if ac_fn_c_try_link "$LINENO"; then :
14899 ac_cv_cflags__Wpointer_arith=yes
14900 else
14901 ac_cv_cflags__Wpointer_arith=no
14903 rm -f core conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext conftest.$ac_ext
14905 CFLAGS=$ac_wine_try_cflags_saved
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14908 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14909 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14910 saved_string_h_CFLAGS=$CFLAGS
14911 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14913 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14914 if ${ac_cv_c_string_h_warnings+:} false; then :
14915 $as_echo_n "(cached) " >&6
14916 else
14917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14918 /* end confdefs.h. */
14919 #include <string.h>
14921 main ()
14925 return 0;
14927 _ACEOF
14928 if ac_fn_c_try_compile "$LINENO"; then :
14929 ac_cv_c_string_h_warnings=no
14930 else
14931 ac_cv_c_string_h_warnings=yes
14933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14936 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14937 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14938 CFLAGS=$saved_string_h_CFLAGS
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14942 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14943 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 ac_wine_try_cflags_saved=$CFLAGS
14947 CFLAGS="$CFLAGS -Wlogical-op"
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 int main(int argc, char **argv) { return 0; }
14951 _ACEOF
14952 if ac_fn_c_try_link "$LINENO"; then :
14953 ac_cv_cflags__Wlogical_op=yes
14954 else
14955 ac_cv_cflags__Wlogical_op=no
14957 rm -f core conftest.err conftest.$ac_objext \
14958 conftest$ac_exeext conftest.$ac_ext
14959 CFLAGS=$ac_wine_try_cflags_saved
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14962 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14963 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14964 saved_string_h_CFLAGS=$CFLAGS
14965 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14967 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14968 if ${ac_cv_c_logicalop_noisy+:} false; then :
14969 $as_echo_n "(cached) " >&6
14970 else
14971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972 /* end confdefs.h. */
14973 #include <string.h>
14974 char*f(const char *h,char n) {return strchr(h,n);}
14976 main ()
14980 return 0;
14982 _ACEOF
14983 if ac_fn_c_try_compile "$LINENO"; then :
14984 ac_cv_c_logicalop_noisy=no
14985 else
14986 ac_cv_c_logicalop_noisy=yes
14988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14991 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14992 CFLAGS=$saved_string_h_CFLAGS
14993 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14996 CFLAGS=$saved_CFLAGS
14998 for ac_flag in $CFLAGS; do
14999 case $ac_flag in
15000 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15001 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15002 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15003 $as_echo_n "(cached) " >&6
15004 else
15005 ac_wine_try_cflags_saved=$CFLAGS
15006 CFLAGS="$CFLAGS -gdwarf-2"
15007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008 /* end confdefs.h. */
15009 int main(int argc, char **argv) { return 0; }
15010 _ACEOF
15011 if ac_fn_c_try_link "$LINENO"; then :
15012 ac_cv_cflags__gdwarf_2=yes
15013 else
15014 ac_cv_cflags__gdwarf_2=no
15016 rm -f core conftest.err conftest.$ac_objext \
15017 conftest$ac_exeext conftest.$ac_ext
15018 CFLAGS=$ac_wine_try_cflags_saved
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15021 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15022 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15023 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15026 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15027 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15028 $as_echo_n "(cached) " >&6
15029 else
15030 ac_wine_try_cflags_saved=$CFLAGS
15031 CFLAGS="$CFLAGS -gstrict-dwarf"
15032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15033 /* end confdefs.h. */
15034 int main(int argc, char **argv) { return 0; }
15035 _ACEOF
15036 if ac_fn_c_try_link "$LINENO"; then :
15037 ac_cv_cflags__gstrict_dwarf=yes
15038 else
15039 ac_cv_cflags__gstrict_dwarf=no
15041 rm -f core conftest.err conftest.$ac_objext \
15042 conftest$ac_exeext conftest.$ac_ext
15043 CFLAGS=$ac_wine_try_cflags_saved
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15046 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15047 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15048 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15049 fi ;;
15050 esac
15051 done
15053 case $host_cpu in
15054 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15055 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15056 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15057 $as_echo_n "(cached) " >&6
15058 else
15059 ac_wine_try_cflags_saved=$CFLAGS
15060 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15062 /* end confdefs.h. */
15063 int main(int argc, char **argv) { return 0; }
15064 _ACEOF
15065 if ac_fn_c_try_link "$LINENO"; then :
15066 ac_cv_cflags__fno_omit_frame_pointer=yes
15067 else
15068 ac_cv_cflags__fno_omit_frame_pointer=no
15070 rm -f core conftest.err conftest.$ac_objext \
15071 conftest$ac_exeext conftest.$ac_ext
15072 CFLAGS=$ac_wine_try_cflags_saved
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15075 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15076 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15077 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15078 fi ;;
15079 esac
15081 case $host in
15082 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15083 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15084 if ${ac_cv_cflags__Wno_format+:} false; then :
15085 $as_echo_n "(cached) " >&6
15086 else
15087 ac_wine_try_cflags_saved=$CFLAGS
15088 CFLAGS="$CFLAGS -Wno-format"
15089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15090 /* end confdefs.h. */
15091 int main(int argc, char **argv) { return 0; }
15092 _ACEOF
15093 if ac_fn_c_try_link "$LINENO"; then :
15094 ac_cv_cflags__Wno_format=yes
15095 else
15096 ac_cv_cflags__Wno_format=no
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15100 CFLAGS=$ac_wine_try_cflags_saved
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15103 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15104 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15105 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15106 fi ;;
15107 esac
15109 if test "x$enable_maintainer_mode" = "xyes"
15110 then
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15112 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15113 if ${ac_cv_cflags__Werror+:} false; then :
15114 $as_echo_n "(cached) " >&6
15115 else
15116 ac_wine_try_cflags_saved=$CFLAGS
15117 CFLAGS="$CFLAGS -Werror"
15118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15119 /* end confdefs.h. */
15120 int main(int argc, char **argv) { return 0; }
15121 _ACEOF
15122 if ac_fn_c_try_link "$LINENO"; then :
15123 ac_cv_cflags__Werror=yes
15124 else
15125 ac_cv_cflags__Werror=no
15127 rm -f core conftest.err conftest.$ac_objext \
15128 conftest$ac_exeext conftest.$ac_ext
15129 CFLAGS=$ac_wine_try_cflags_saved
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15132 $as_echo "$ac_cv_cflags__Werror" >&6; }
15133 if test "x$ac_cv_cflags__Werror" = xyes; then :
15134 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15138 saved_CFLAGS="$CFLAGS"
15139 CFLAGS="$CFLAGS -Werror"
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15141 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15142 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15143 $as_echo_n "(cached) " >&6
15144 else
15145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15146 /* end confdefs.h. */
15147 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15149 main ()
15153 return 0;
15155 _ACEOF
15156 if ac_fn_c_try_compile "$LINENO"; then :
15157 ac_cv_have_ms_hook_prologue="yes"
15158 else
15159 ac_cv_have_ms_hook_prologue="no"
15161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15164 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15165 CFLAGS="$saved_CFLAGS"
15166 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15167 then
15169 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15171 else
15172 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15179 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15180 if ${ac_cv_c_fortify_enabled+:} false; then :
15181 $as_echo_n "(cached) " >&6
15182 else
15183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15184 /* end confdefs.h. */
15185 #include <string.h>
15187 main ()
15189 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15190 #error Fortify enabled
15191 #endif
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_compile "$LINENO"; then :
15197 ac_cv_c_fortify_enabled=no
15198 else
15199 ac_cv_c_fortify_enabled=yes
15201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15204 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15205 if test "$ac_cv_c_fortify_enabled" = yes
15206 then
15207 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15212 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15213 if ${ac_cv_c_extern_prefix+:} false; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15217 /* end confdefs.h. */
15218 extern int ac_test;
15220 main ()
15222 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15224 return 0;
15226 _ACEOF
15227 if ac_fn_c_try_link "$LINENO"; then :
15228 ac_cv_c_extern_prefix="yes"
15229 else
15230 ac_cv_c_extern_prefix="no"
15232 rm -f core conftest.err conftest.$ac_objext \
15233 conftest$ac_exeext conftest.$ac_ext
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15236 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15238 case $host_cpu in
15239 *i[3456789]86*)
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15241 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15242 if ${ac_cv_c_stdcall_suffix+:} false; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15247 #ifndef _MSC_VER
15248 #define __stdcall __attribute__((__stdcall__))
15249 #endif
15250 int __stdcall ac_test(int i) { return i; }
15252 main ()
15254 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15256 return 0;
15258 _ACEOF
15259 if ac_fn_c_try_link "$LINENO"; then :
15260 ac_cv_c_stdcall_suffix="yes"
15261 else
15262 ac_cv_c_stdcall_suffix="no"
15264 rm -f core conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15268 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15269 *) ac_cv_c_stdcall_suffix="no" ;;
15270 esac
15273 if test "$ac_cv_c_extern_prefix" = "yes"
15274 then
15275 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15277 asm_name_prefix="_"
15278 else
15279 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15281 asm_name_prefix=""
15285 if test "$ac_cv_c_stdcall_suffix" = "yes"
15286 then
15287 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15289 else
15290 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15296 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15297 if ${ac_cv_asm_func_def+:} false; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15304 main ()
15306 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15308 return 0;
15310 _ACEOF
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 ac_cv_asm_func_def=".def"
15313 else
15314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15315 /* end confdefs.h. */
15318 main ()
15320 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15322 return 0;
15324 _ACEOF
15325 if ac_fn_c_try_link "$LINENO"; then :
15326 ac_cv_asm_func_def=".type @function"
15327 else
15328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15329 /* end confdefs.h. */
15332 main ()
15334 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15336 return 0;
15338 _ACEOF
15339 if ac_fn_c_try_link "$LINENO"; then :
15340 ac_cv_asm_func_def=".type 2"
15341 else
15342 ac_cv_asm_func_def="unknown"
15344 rm -f core conftest.err conftest.$ac_objext \
15345 conftest$ac_exeext conftest.$ac_ext
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15350 rm -f core conftest.err conftest.$ac_objext \
15351 conftest$ac_exeext conftest.$ac_ext
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15354 $as_echo "$ac_cv_asm_func_def" >&6; }
15357 case "$ac_cv_asm_func_def" in
15358 ".def")
15359 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15361 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15362 ".type @function")
15363 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15365 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15366 ".type 2")
15367 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15369 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15371 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15373 asm_func_header="" ;;
15374 esac
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15377 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15378 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15379 $as_echo_n "(cached) " >&6
15380 else
15381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15382 /* end confdefs.h. */
15383 asm(".text\n\t.long 0");
15385 main ()
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_compile "$LINENO"; then :
15393 ac_cv_c_asm_outside_funcs="yes"
15394 else
15395 ac_cv_c_asm_outside_funcs="no"
15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15400 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15403 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15404 if ${ac_cv_c_dot_previous+:} false; then :
15405 $as_echo_n "(cached) " >&6
15406 else
15407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15408 /* end confdefs.h. */
15411 main ()
15413 asm(".text\nac_test:\t.long 0\n\t.previous");
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_link "$LINENO"; then :
15419 ac_cv_c_dot_previous="yes"
15420 else
15421 ac_cv_c_dot_previous="no"
15423 rm -f core conftest.err conftest.$ac_objext \
15424 conftest$ac_exeext conftest.$ac_ext
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15427 $as_echo "$ac_cv_c_dot_previous" >&6; }
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15430 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15431 if ${ac_cv_c_cfi_support+:} false; then :
15432 $as_echo_n "(cached) " >&6
15433 else
15434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15435 /* end confdefs.h. */
15436 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15438 main ()
15442 return 0;
15444 _ACEOF
15445 if ac_fn_c_try_compile "$LINENO"; then :
15446 ac_cv_c_cfi_support="yes"
15447 else
15448 ac_cv_c_cfi_support="no"
15450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15453 $as_echo "$ac_cv_c_cfi_support" >&6; }
15455 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15456 asm_func_trailer=""
15457 if test "$ac_cv_c_dot_previous" = "yes"
15458 then
15459 asm_func_trailer="\\n\\t.previous"
15461 if test "$ac_cv_c_cfi_support" = "yes"
15462 then
15463 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15464 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15466 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15468 UNWINDFLAGS=-fasynchronous-unwind-tables
15470 else
15471 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15473 if test "x$enable_win64" = "xyes"
15474 then
15475 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15479 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15482 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15483 then
15484 cat >>confdefs.h <<_ACEOF
15485 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15486 _ACEOF
15488 else
15489 cat >>confdefs.h <<_ACEOF
15490 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15491 _ACEOF
15495 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15498 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15502 case $build_os in
15503 cygwin*|mingw32*) TOOLSEXT=".exe"
15505 esac
15507 case $host_os in
15508 linux*)
15509 case $host_cpu in
15510 *i[3456789]86*|x86_64*)
15511 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15512 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15514 esac
15516 esac
15519 ac_save_CFLAGS="$CFLAGS"
15520 CFLAGS="$CFLAGS $BUILTINFLAG"
15521 for ac_func in \
15522 __res_get_state \
15523 __res_getservers \
15524 _finite \
15525 _isnan \
15526 _pclose \
15527 _popen \
15528 _snprintf \
15529 _spawnvp \
15530 _strdup \
15531 _stricmp \
15532 _strnicmp \
15533 _strtoi64 \
15534 _strtoui64 \
15535 _vsnprintf \
15536 asctime_r \
15537 chsize \
15538 dlopen \
15539 epoll_create \
15540 ffs \
15541 finitef \
15542 fnmatch \
15543 fork \
15544 fpclass \
15545 fstatfs \
15546 fstatvfs \
15547 ftruncate \
15548 futimens \
15549 futimes \
15550 futimesat \
15551 getattrlist \
15552 getauxval \
15553 getifaddrs \
15554 getopt_long_only \
15555 getpwuid \
15556 gettimeofday \
15557 getuid \
15558 isnanf \
15559 kqueue \
15560 lstat \
15561 memmove \
15562 mmap \
15563 pclose \
15564 pipe2 \
15565 poll \
15566 popen \
15567 port_create \
15568 prctl \
15569 pread \
15570 proc_pidinfo \
15571 pwrite \
15572 readdir \
15573 readlink \
15574 sched_yield \
15575 select \
15576 setproctitle \
15577 setprogname \
15578 setrlimit \
15579 settimeofday \
15580 sigaltstack \
15581 sigprocmask \
15582 snprintf \
15583 statfs \
15584 statvfs \
15585 strcasecmp \
15586 strdup \
15587 strerror \
15588 strncasecmp \
15589 strtold \
15590 strtoll \
15591 strtoull \
15592 symlink \
15593 sysinfo \
15594 tcdrain \
15595 thr_kill2 \
15596 timegm \
15597 usleep \
15598 vsnprintf
15600 do :
15601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15602 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15603 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15604 cat >>confdefs.h <<_ACEOF
15605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15606 _ACEOF
15609 done
15611 CFLAGS="$ac_save_CFLAGS"
15613 if test "$ac_cv_func_dlopen" = no
15614 then
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15616 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15617 if ${ac_cv_lib_dl_dlopen+:} false; then :
15618 $as_echo_n "(cached) " >&6
15619 else
15620 ac_check_lib_save_LIBS=$LIBS
15621 LIBS="-ldl $LIBS"
15622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15623 /* end confdefs.h. */
15625 /* Override any GCC internal prototype to avoid an error.
15626 Use char because int might match the return type of a GCC
15627 builtin and then its argument prototype would still apply. */
15628 #ifdef __cplusplus
15629 extern "C"
15630 #endif
15631 char dlopen ();
15633 main ()
15635 return dlopen ();
15637 return 0;
15639 _ACEOF
15640 if ac_fn_c_try_link "$LINENO"; then :
15641 ac_cv_lib_dl_dlopen=yes
15642 else
15643 ac_cv_lib_dl_dlopen=no
15645 rm -f core conftest.err conftest.$ac_objext \
15646 conftest$ac_exeext conftest.$ac_ext
15647 LIBS=$ac_check_lib_save_LIBS
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15650 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15651 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15652 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15653 DL_LIBS="-ldl"
15658 ac_wine_check_funcs_save_LIBS="$LIBS"
15659 LIBS="$LIBS $DL_LIBS"
15660 for ac_func in dladdr
15661 do :
15662 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15663 if test "x$ac_cv_func_dladdr" = xyes; then :
15664 cat >>confdefs.h <<_ACEOF
15665 #define HAVE_DLADDR 1
15666 _ACEOF
15669 done
15671 LIBS="$ac_wine_check_funcs_save_LIBS"
15673 if test "$ac_cv_func_poll" = no
15674 then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15676 $as_echo_n "checking for poll in -lpoll... " >&6; }
15677 if ${ac_cv_lib_poll_poll+:} false; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 ac_check_lib_save_LIBS=$LIBS
15681 LIBS="-lpoll $LIBS"
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15685 /* Override any GCC internal prototype to avoid an error.
15686 Use char because int might match the return type of a GCC
15687 builtin and then its argument prototype would still apply. */
15688 #ifdef __cplusplus
15689 extern "C"
15690 #endif
15691 char poll ();
15693 main ()
15695 return poll ();
15697 return 0;
15699 _ACEOF
15700 if ac_fn_c_try_link "$LINENO"; then :
15701 ac_cv_lib_poll_poll=yes
15702 else
15703 ac_cv_lib_poll_poll=no
15705 rm -f core conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext conftest.$ac_ext
15707 LIBS=$ac_check_lib_save_LIBS
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15710 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15711 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15712 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15713 POLL_LIBS="-lpoll"
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15720 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15721 if ${ac_cv_search_gethostbyname+:} false; then :
15722 $as_echo_n "(cached) " >&6
15723 else
15724 ac_func_search_save_LIBS=$LIBS
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15731 #ifdef __cplusplus
15732 extern "C"
15733 #endif
15734 char gethostbyname ();
15736 main ()
15738 return gethostbyname ();
15740 return 0;
15742 _ACEOF
15743 for ac_lib in '' nsl; do
15744 if test -z "$ac_lib"; then
15745 ac_res="none required"
15746 else
15747 ac_res=-l$ac_lib
15748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15750 if ac_fn_c_try_link "$LINENO"; then :
15751 ac_cv_search_gethostbyname=$ac_res
15753 rm -f core conftest.err conftest.$ac_objext \
15754 conftest$ac_exeext
15755 if ${ac_cv_search_gethostbyname+:} false; then :
15756 break
15758 done
15759 if ${ac_cv_search_gethostbyname+:} false; then :
15761 else
15762 ac_cv_search_gethostbyname=no
15764 rm conftest.$ac_ext
15765 LIBS=$ac_func_search_save_LIBS
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15768 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15769 ac_res=$ac_cv_search_gethostbyname
15770 if test "$ac_res" != no; then :
15771 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15777 $as_echo_n "checking for library containing connect... " >&6; }
15778 if ${ac_cv_search_connect+:} false; then :
15779 $as_echo_n "(cached) " >&6
15780 else
15781 ac_func_search_save_LIBS=$LIBS
15782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783 /* end confdefs.h. */
15785 /* Override any GCC internal prototype to avoid an error.
15786 Use char because int might match the return type of a GCC
15787 builtin and then its argument prototype would still apply. */
15788 #ifdef __cplusplus
15789 extern "C"
15790 #endif
15791 char connect ();
15793 main ()
15795 return connect ();
15797 return 0;
15799 _ACEOF
15800 for ac_lib in '' socket; do
15801 if test -z "$ac_lib"; then
15802 ac_res="none required"
15803 else
15804 ac_res=-l$ac_lib
15805 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15807 if ac_fn_c_try_link "$LINENO"; then :
15808 ac_cv_search_connect=$ac_res
15810 rm -f core conftest.err conftest.$ac_objext \
15811 conftest$ac_exeext
15812 if ${ac_cv_search_connect+:} false; then :
15813 break
15815 done
15816 if ${ac_cv_search_connect+:} false; then :
15818 else
15819 ac_cv_search_connect=no
15821 rm conftest.$ac_ext
15822 LIBS=$ac_func_search_save_LIBS
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15825 $as_echo "$ac_cv_search_connect" >&6; }
15826 ac_res=$ac_cv_search_connect
15827 if test "$ac_res" != no; then :
15828 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15834 $as_echo_n "checking for library containing inet_aton... " >&6; }
15835 if ${ac_cv_search_inet_aton+:} false; then :
15836 $as_echo_n "(cached) " >&6
15837 else
15838 ac_func_search_save_LIBS=$LIBS
15839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15840 /* end confdefs.h. */
15842 /* Override any GCC internal prototype to avoid an error.
15843 Use char because int might match the return type of a GCC
15844 builtin and then its argument prototype would still apply. */
15845 #ifdef __cplusplus
15846 extern "C"
15847 #endif
15848 char inet_aton ();
15850 main ()
15852 return inet_aton ();
15854 return 0;
15856 _ACEOF
15857 for ac_lib in '' resolv; do
15858 if test -z "$ac_lib"; then
15859 ac_res="none required"
15860 else
15861 ac_res=-l$ac_lib
15862 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15864 if ac_fn_c_try_link "$LINENO"; then :
15865 ac_cv_search_inet_aton=$ac_res
15867 rm -f core conftest.err conftest.$ac_objext \
15868 conftest$ac_exeext
15869 if ${ac_cv_search_inet_aton+:} false; then :
15870 break
15872 done
15873 if ${ac_cv_search_inet_aton+:} false; then :
15875 else
15876 ac_cv_search_inet_aton=no
15878 rm conftest.$ac_ext
15879 LIBS=$ac_func_search_save_LIBS
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15882 $as_echo "$ac_cv_search_inet_aton" >&6; }
15883 ac_res=$ac_cv_search_inet_aton
15884 if test "$ac_res" != no; then :
15885 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15890 for ac_func in \
15891 getaddrinfo \
15892 getnameinfo \
15893 getnetbyname \
15894 getprotobyname \
15895 getprotobynumber \
15896 getservbyport \
15897 inet_addr \
15898 inet_network \
15899 inet_ntop \
15900 inet_pton \
15901 sendmsg \
15902 socketpair \
15904 do :
15905 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15906 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15907 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15908 cat >>confdefs.h <<_ACEOF
15909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15910 _ACEOF
15913 done
15916 ac_save_LIBS=$LIBS
15917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15918 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15919 if ${ac_cv_search_clock_gettime+:} false; then :
15920 $as_echo_n "(cached) " >&6
15921 else
15922 ac_func_search_save_LIBS=$LIBS
15923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15924 /* end confdefs.h. */
15926 /* Override any GCC internal prototype to avoid an error.
15927 Use char because int might match the return type of a GCC
15928 builtin and then its argument prototype would still apply. */
15929 #ifdef __cplusplus
15930 extern "C"
15931 #endif
15932 char clock_gettime ();
15934 main ()
15936 return clock_gettime ();
15938 return 0;
15940 _ACEOF
15941 for ac_lib in '' rt; do
15942 if test -z "$ac_lib"; then
15943 ac_res="none required"
15944 else
15945 ac_res=-l$ac_lib
15946 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15948 if ac_fn_c_try_link "$LINENO"; then :
15949 ac_cv_search_clock_gettime=$ac_res
15951 rm -f core conftest.err conftest.$ac_objext \
15952 conftest$ac_exeext
15953 if ${ac_cv_search_clock_gettime+:} false; then :
15954 break
15956 done
15957 if ${ac_cv_search_clock_gettime+:} false; then :
15959 else
15960 ac_cv_search_clock_gettime=no
15962 rm conftest.$ac_ext
15963 LIBS=$ac_func_search_save_LIBS
15965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15966 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15967 ac_res=$ac_cv_search_clock_gettime
15968 if test "$ac_res" != no; then :
15969 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15971 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15973 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15977 LIBS=$ac_save_LIBS
15979 if test "x$with_ldap" != "xno"
15980 then
15981 if ${LDAP_CFLAGS:+false} :; then :
15982 if ${PKG_CONFIG+:} false; then :
15983 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
15987 if ${LDAP_LIBS:+false} :; then :
15988 if ${PKG_CONFIG+:} false; then :
15989 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
15993 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
15994 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
15995 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
15996 ac_save_CPPFLAGS=$CPPFLAGS
15997 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
15998 for ac_header in ldap.h lber.h
15999 do :
16000 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16001 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16002 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16003 cat >>confdefs.h <<_ACEOF
16004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16005 _ACEOF
16009 done
16011 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16012 then
16013 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16015 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16017 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16018 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16019 $as_echo_n "(cached) " >&6
16020 else
16021 ac_check_lib_save_LIBS=$LIBS
16022 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16024 /* end confdefs.h. */
16026 /* Override any GCC internal prototype to avoid an error.
16027 Use char because int might match the return type of a GCC
16028 builtin and then its argument prototype would still apply. */
16029 #ifdef __cplusplus
16030 extern "C"
16031 #endif
16032 char ldap_initialize ();
16034 main ()
16036 return ldap_initialize ();
16038 return 0;
16040 _ACEOF
16041 if ac_fn_c_try_link "$LINENO"; then :
16042 ac_cv_lib_ldap_r_ldap_initialize=yes
16043 else
16044 ac_cv_lib_ldap_r_ldap_initialize=no
16046 rm -f core conftest.err conftest.$ac_objext \
16047 conftest$ac_exeext conftest.$ac_ext
16048 LIBS=$ac_check_lib_save_LIBS
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16051 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16052 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16054 $as_echo_n "checking for ber_init in -llber... " >&6; }
16055 if ${ac_cv_lib_lber_ber_init+:} false; then :
16056 $as_echo_n "(cached) " >&6
16057 else
16058 ac_check_lib_save_LIBS=$LIBS
16059 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16061 /* end confdefs.h. */
16063 /* Override any GCC internal prototype to avoid an error.
16064 Use char because int might match the return type of a GCC
16065 builtin and then its argument prototype would still apply. */
16066 #ifdef __cplusplus
16067 extern "C"
16068 #endif
16069 char ber_init ();
16071 main ()
16073 return ber_init ();
16075 return 0;
16077 _ACEOF
16078 if ac_fn_c_try_link "$LINENO"; then :
16079 ac_cv_lib_lber_ber_init=yes
16080 else
16081 ac_cv_lib_lber_ber_init=no
16083 rm -f core conftest.err conftest.$ac_objext \
16084 conftest$ac_exeext conftest.$ac_ext
16085 LIBS=$ac_check_lib_save_LIBS
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16088 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16089 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16091 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16093 else
16094 LDAP_LIBS=""
16097 else
16098 LDAP_LIBS=""
16101 else
16102 LDAP_LIBS=""
16105 ac_wine_check_funcs_save_LIBS="$LIBS"
16106 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16107 for ac_func in \
16108 ldap_count_references \
16109 ldap_first_reference \
16110 ldap_next_reference \
16111 ldap_parse_reference \
16112 ldap_parse_sort_control \
16113 ldap_parse_sortresponse_control \
16114 ldap_parse_vlv_control \
16115 ldap_parse_vlvresponse_control
16116 do :
16117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16119 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16120 cat >>confdefs.h <<_ACEOF
16121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16122 _ACEOF
16125 done
16127 LIBS="$ac_wine_check_funcs_save_LIBS"
16128 else
16129 LDAP_LIBS=""
16131 CPPFLAGS=$ac_save_CPPFLAGS
16132 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16133 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16136 if test "x$LDAP_LIBS" = "x"; then :
16137 case "x$with_ldap" in
16138 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16139 xno) ;;
16140 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16141 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16142 esac
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16147 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16148 if ${wine_cv_one_arg_mkdir+:} false; then :
16149 $as_echo_n "(cached) " >&6
16150 else
16151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16152 /* end confdefs.h. */
16153 #include <sys/stat.h>
16155 main ()
16157 mkdir("foo");
16159 return 0;
16161 _ACEOF
16162 if ac_fn_c_try_compile "$LINENO"; then :
16163 wine_cv_one_arg_mkdir=yes
16164 else
16165 wine_cv_one_arg_mkdir=no
16167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16170 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16171 if test "$wine_cv_one_arg_mkdir" = "yes"
16172 then
16174 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16179 $as_echo_n "checking for sched_setaffinity... " >&6; }
16180 if ${wine_cv_have_sched_setaffinity+:} false; then :
16181 $as_echo_n "(cached) " >&6
16182 else
16183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16184 /* end confdefs.h. */
16185 #define _GNU_SOURCE
16186 #include <sched.h>
16188 main ()
16190 sched_setaffinity(0, 0, 0);
16192 return 0;
16194 _ACEOF
16195 if ac_fn_c_try_link "$LINENO"; then :
16196 wine_cv_have_sched_setaffinity=yes
16197 else
16198 wine_cv_have_sched_setaffinity=no
16200 rm -f core conftest.err conftest.$ac_objext \
16201 conftest$ac_exeext conftest.$ac_ext
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16204 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16205 if test "$wine_cv_have_sched_setaffinity" = "yes"
16206 then
16208 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16213 $as_echo_n "checking for fallocate... " >&6; }
16214 if ${wine_cv_have_fallocate+:} false; then :
16215 $as_echo_n "(cached) " >&6
16216 else
16217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16218 /* end confdefs.h. */
16219 #define _GNU_SOURCE
16220 #include <fcntl.h>
16222 main ()
16224 fallocate(-1, 0, 0, 0);
16226 return 0;
16228 _ACEOF
16229 if ac_fn_c_try_link "$LINENO"; then :
16230 wine_cv_have_fallocate=yes
16231 else
16232 wine_cv_have_fallocate=no
16234 rm -f core conftest.err conftest.$ac_objext \
16235 conftest$ac_exeext conftest.$ac_ext
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16238 $as_echo "$wine_cv_have_fallocate" >&6; }
16239 if test "$wine_cv_have_fallocate" = "yes"
16240 then
16242 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16248 $as_echo_n "checking for inline... " >&6; }
16249 if ${ac_cv_c_inline+:} false; then :
16250 $as_echo_n "(cached) " >&6
16251 else
16252 ac_cv_c_inline=no
16253 for ac_kw in inline __inline__ __inline; do
16254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16256 #ifndef __cplusplus
16257 typedef int foo_t;
16258 static $ac_kw foo_t static_foo () {return 0; }
16259 $ac_kw foo_t foo () {return 0; }
16260 #endif
16262 _ACEOF
16263 if ac_fn_c_try_compile "$LINENO"; then :
16264 ac_cv_c_inline=$ac_kw
16266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16267 test "$ac_cv_c_inline" != no && break
16268 done
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16272 $as_echo "$ac_cv_c_inline" >&6; }
16274 case $ac_cv_c_inline in
16275 inline | yes) ;;
16277 case $ac_cv_c_inline in
16278 no) ac_val=;;
16279 *) ac_val=$ac_cv_c_inline;;
16280 esac
16281 cat >>confdefs.h <<_ACEOF
16282 #ifndef __cplusplus
16283 #define inline $ac_val
16284 #endif
16285 _ACEOF
16287 esac
16289 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16290 if test "x$ac_cv_type_mode_t" = xyes; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define HAVE_MODE_T 1
16294 _ACEOF
16298 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16299 if test "x$ac_cv_type_off_t" = xyes; then :
16301 cat >>confdefs.h <<_ACEOF
16302 #define HAVE_OFF_T 1
16303 _ACEOF
16307 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16308 if test "x$ac_cv_type_pid_t" = xyes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_PID_T 1
16312 _ACEOF
16316 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16317 if test "x$ac_cv_type_size_t" = xyes; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_SIZE_T 1
16321 _ACEOF
16325 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16326 if test "x$ac_cv_type_ssize_t" = xyes; then :
16328 cat >>confdefs.h <<_ACEOF
16329 #define HAVE_SSIZE_T 1
16330 _ACEOF
16334 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16335 if test "x$ac_cv_type_long_long" = xyes; then :
16337 cat >>confdefs.h <<_ACEOF
16338 #define HAVE_LONG_LONG 1
16339 _ACEOF
16343 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16344 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_FSBLKCNT_T 1
16348 _ACEOF
16352 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16353 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_FSFILCNT_T 1
16357 _ACEOF
16362 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16363 #include <signal.h>
16365 if test "x$ac_cv_type_sigset_t" = xyes; then :
16367 cat >>confdefs.h <<_ACEOF
16368 #define HAVE_SIGSET_T 1
16369 _ACEOF
16374 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16376 if test "x$ac_cv_type_request_sense" = xyes; then :
16378 cat >>confdefs.h <<_ACEOF
16379 #define HAVE_REQUEST_SENSE 1
16380 _ACEOF
16386 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16387 #ifdef HAVE_SYS_SOCKET_H
16388 #include <sys/socket.h>
16389 #endif
16390 #ifdef HAVE_SYS_SOCKETVAR_H
16391 #include <sys/socketvar.h>
16392 #endif
16393 #ifdef HAVE_NET_ROUTE_H
16394 #include <net/route.h>
16395 #endif
16396 #ifdef HAVE_NETINET_IN_H
16397 #include <netinet/in.h>
16398 #endif
16399 #ifdef HAVE_NETINET_IN_SYSTM_H
16400 #include <netinet/in_systm.h>
16401 #endif
16402 #ifdef HAVE_NETINET_IP_H
16403 #include <netinet/ip.h>
16404 #endif
16405 #ifdef HAVE_NETINET_IN_PCB_H
16406 #include <netinet/in_pcb.h>
16407 #endif
16409 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16411 cat >>confdefs.h <<_ACEOF
16412 #define HAVE_STRUCT_XINPGEN 1
16413 _ACEOF
16419 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16420 #include <link.h>
16421 #endif
16422 #ifdef HAVE_SYS_LINK_H
16423 #include <sys/link.h>
16424 #endif
16426 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16428 cat >>confdefs.h <<_ACEOF
16429 #define HAVE_STRUCT_R_DEBUG 1
16430 _ACEOF
16434 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16435 #include <link.h>
16436 #endif
16437 #ifdef HAVE_SYS_LINK_H
16438 #include <sys/link.h>
16439 #endif
16441 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_STRUCT_LINK_MAP 1
16445 _ACEOF
16451 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16452 #include <linux/input.h>
16453 #endif
16455 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16457 cat >>confdefs.h <<_ACEOF
16458 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16459 _ACEOF
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16466 $as_echo_n "checking for if_nameindex... " >&6; }
16467 if ${wine_cv_have_if_nameindex+:} false; then :
16468 $as_echo_n "(cached) " >&6
16469 else
16470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16471 /* end confdefs.h. */
16472 #ifdef HAVE_SYS_TYPES_H
16473 #include <sys/types.h>
16474 #endif
16475 #ifdef HAVE_SYS_SOCKET_H
16476 #include <sys/socket.h>
16477 #endif
16478 #ifdef HAVE_NET_IF_H
16479 # include <net/if.h>
16480 #endif
16482 main ()
16484 struct if_nameindex *p = if_nameindex(); return p->if_index;
16486 return 0;
16488 _ACEOF
16489 if ac_fn_c_try_link "$LINENO"; then :
16490 wine_cv_have_if_nameindex=yes
16491 else
16492 wine_cv_have_if_nameindex=no
16494 rm -f core conftest.err conftest.$ac_objext \
16495 conftest$ac_exeext conftest.$ac_ext
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16498 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16499 if test "$wine_cv_have_if_nameindex" = "yes"
16500 then
16502 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16507 $as_echo_n "checking for sigaddset... " >&6; }
16508 if ${wine_cv_have_sigaddset+:} false; then :
16509 $as_echo_n "(cached) " >&6
16510 else
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513 #include <signal.h>
16515 main ()
16517 sigset_t set; sigaddset(&set,SIGTERM);
16519 return 0;
16521 _ACEOF
16522 if ac_fn_c_try_link "$LINENO"; then :
16523 wine_cv_have_sigaddset=yes
16524 else
16525 wine_cv_have_sigaddset=no
16527 rm -f core conftest.err conftest.$ac_objext \
16528 conftest$ac_exeext conftest.$ac_ext
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16531 $as_echo "$wine_cv_have_sigaddset" >&6; }
16532 if test "$wine_cv_have_sigaddset" = "yes"
16533 then
16535 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16541 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16542 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 #include <netdb.h>
16549 main ()
16552 char *name=0;
16553 struct hostent he;
16554 struct hostent *result;
16555 char *buf=0;
16556 int bufsize=0;
16557 int errnr;
16558 char *addr=0;
16559 int addrlen=0;
16560 int addrtype=0;
16561 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16562 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16565 return 0;
16567 _ACEOF
16568 if ac_fn_c_try_link "$LINENO"; then :
16569 wine_cv_linux_gethostbyname_r_6=yes
16570 else
16571 wine_cv_linux_gethostbyname_r_6=no
16574 rm -f core conftest.err conftest.$ac_objext \
16575 conftest$ac_exeext conftest.$ac_ext
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16579 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16580 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16581 then
16583 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16587 if test "$ac_cv_header_linux_joystick_h" = "yes"
16588 then
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16590 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16591 if ${wine_cv_linux_joystick_22_api+:} false; then :
16592 $as_echo_n "(cached) " >&6
16593 else
16594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16595 /* end confdefs.h. */
16597 #include <sys/ioctl.h>
16598 #include <sys/types.h>
16599 #include <linux/joystick.h>
16601 struct js_event blub;
16602 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16603 #error "no 2.2 header"
16604 #endif
16607 main ()
16609 /*empty*/
16611 return 0;
16613 _ACEOF
16614 if ac_fn_c_try_compile "$LINENO"; then :
16615 wine_cv_linux_joystick_22_api=yes
16616 else
16617 wine_cv_linux_joystick_22_api=no
16619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16623 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16624 if test "$wine_cv_linux_joystick_22_api" = "yes"
16625 then
16627 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16633 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16634 #ifdef HAVE_SYS_PARAM_H
16635 # include <sys/param.h>
16636 #endif
16637 #ifdef HAVE_SYS_MOUNT_H
16638 # include <sys/mount.h>
16639 #endif
16640 #ifdef HAVE_SYS_VFS_H
16641 # include <sys/vfs.h>
16642 #endif
16643 #ifdef HAVE_SYS_STATFS_H
16644 # include <sys/statfs.h>
16645 #endif
16647 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16649 cat >>confdefs.h <<_ACEOF
16650 #define HAVE_STRUCT_STATFS_F_BFREE 1
16651 _ACEOF
16655 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16656 #ifdef HAVE_SYS_PARAM_H
16657 # include <sys/param.h>
16658 #endif
16659 #ifdef HAVE_SYS_MOUNT_H
16660 # include <sys/mount.h>
16661 #endif
16662 #ifdef HAVE_SYS_VFS_H
16663 # include <sys/vfs.h>
16664 #endif
16665 #ifdef HAVE_SYS_STATFS_H
16666 # include <sys/statfs.h>
16667 #endif
16669 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16671 cat >>confdefs.h <<_ACEOF
16672 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16673 _ACEOF
16677 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16678 #ifdef HAVE_SYS_PARAM_H
16679 # include <sys/param.h>
16680 #endif
16681 #ifdef HAVE_SYS_MOUNT_H
16682 # include <sys/mount.h>
16683 #endif
16684 #ifdef HAVE_SYS_VFS_H
16685 # include <sys/vfs.h>
16686 #endif
16687 #ifdef HAVE_SYS_STATFS_H
16688 # include <sys/statfs.h>
16689 #endif
16691 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16693 cat >>confdefs.h <<_ACEOF
16694 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16695 _ACEOF
16699 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16700 #ifdef HAVE_SYS_PARAM_H
16701 # include <sys/param.h>
16702 #endif
16703 #ifdef HAVE_SYS_MOUNT_H
16704 # include <sys/mount.h>
16705 #endif
16706 #ifdef HAVE_SYS_VFS_H
16707 # include <sys/vfs.h>
16708 #endif
16709 #ifdef HAVE_SYS_STATFS_H
16710 # include <sys/statfs.h>
16711 #endif
16713 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16715 cat >>confdefs.h <<_ACEOF
16716 #define HAVE_STRUCT_STATFS_F_FFREE 1
16717 _ACEOF
16721 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16722 #ifdef HAVE_SYS_PARAM_H
16723 # include <sys/param.h>
16724 #endif
16725 #ifdef HAVE_SYS_MOUNT_H
16726 # include <sys/mount.h>
16727 #endif
16728 #ifdef HAVE_SYS_VFS_H
16729 # include <sys/vfs.h>
16730 #endif
16731 #ifdef HAVE_SYS_STATFS_H
16732 # include <sys/statfs.h>
16733 #endif
16735 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16737 cat >>confdefs.h <<_ACEOF
16738 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16739 _ACEOF
16743 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16744 #ifdef HAVE_SYS_PARAM_H
16745 # include <sys/param.h>
16746 #endif
16747 #ifdef HAVE_SYS_MOUNT_H
16748 # include <sys/mount.h>
16749 #endif
16750 #ifdef HAVE_SYS_VFS_H
16751 # include <sys/vfs.h>
16752 #endif
16753 #ifdef HAVE_SYS_STATFS_H
16754 # include <sys/statfs.h>
16755 #endif
16757 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16759 cat >>confdefs.h <<_ACEOF
16760 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16761 _ACEOF
16767 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16768 #include <sys/statvfs.h>
16769 #endif
16771 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16773 cat >>confdefs.h <<_ACEOF
16774 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16775 _ACEOF
16781 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16782 #include <dirent.h>
16783 #endif
16785 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16787 cat >>confdefs.h <<_ACEOF
16788 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16789 _ACEOF
16795 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16796 #ifdef HAVE_SYS_SOCKET_H
16797 # include <sys/socket.h>
16798 #endif
16799 #ifdef HAVE_SYS_UN_H
16800 # include <sys/un.h>
16801 #endif
16803 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16805 cat >>confdefs.h <<_ACEOF
16806 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16807 _ACEOF
16811 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16812 #ifdef HAVE_SYS_SOCKET_H
16813 # include <sys/socket.h>
16814 #endif
16815 #ifdef HAVE_SYS_UN_H
16816 # include <sys/un.h>
16817 #endif
16819 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16821 cat >>confdefs.h <<_ACEOF
16822 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16823 _ACEOF
16827 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16828 #ifdef HAVE_SYS_SOCKET_H
16829 # include <sys/socket.h>
16830 #endif
16831 #ifdef HAVE_SYS_UN_H
16832 # include <sys/un.h>
16833 #endif
16835 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16839 _ACEOF
16845 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16846 #ifdef HAVE_SCSI_SG_H
16847 #include <scsi/sg.h>
16848 #endif
16850 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16852 cat >>confdefs.h <<_ACEOF
16853 #define HAVE_SCSIREQ_T_CMD 1
16854 _ACEOF
16858 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>
16859 #ifdef HAVE_SCSI_SG_H
16860 #include <scsi/sg.h>
16861 #endif
16863 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16865 cat >>confdefs.h <<_ACEOF
16866 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16867 _ACEOF
16873 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16875 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_SIGINFO_T_SI_FD 1
16879 _ACEOF
16885 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16886 #ifdef HAVE_SYS_MTIO_H
16887 #include <sys/mtio.h>
16888 #endif
16890 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16892 cat >>confdefs.h <<_ACEOF
16893 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16894 _ACEOF
16898 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16899 #ifdef HAVE_SYS_MTIO_H
16900 #include <sys/mtio.h>
16901 #endif
16903 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16905 cat >>confdefs.h <<_ACEOF
16906 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16907 _ACEOF
16911 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16912 #ifdef HAVE_SYS_MTIO_H
16913 #include <sys/mtio.h>
16914 #endif
16916 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16918 cat >>confdefs.h <<_ACEOF
16919 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16920 _ACEOF
16926 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16927 #include <getopt.h>
16928 #endif
16930 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16932 cat >>confdefs.h <<_ACEOF
16933 #define HAVE_STRUCT_OPTION_NAME 1
16934 _ACEOF
16940 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16941 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16943 cat >>confdefs.h <<_ACEOF
16944 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16945 _ACEOF
16949 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16950 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16952 cat >>confdefs.h <<_ACEOF
16953 #define HAVE_STRUCT_STAT_ST_MTIM 1
16954 _ACEOF
16958 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16959 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16961 cat >>confdefs.h <<_ACEOF
16962 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16963 _ACEOF
16967 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16968 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16970 cat >>confdefs.h <<_ACEOF
16971 #define HAVE_STRUCT_STAT_ST_CTIM 1
16972 _ACEOF
16976 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16977 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16979 cat >>confdefs.h <<_ACEOF
16980 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16981 _ACEOF
16985 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16986 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16988 cat >>confdefs.h <<_ACEOF
16989 #define HAVE_STRUCT_STAT_ST_ATIM 1
16990 _ACEOF
16994 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16995 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16999 _ACEOF
17003 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17004 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17006 cat >>confdefs.h <<_ACEOF
17007 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17008 _ACEOF
17012 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17013 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17015 cat >>confdefs.h <<_ACEOF
17016 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17017 _ACEOF
17021 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17022 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17026 _ACEOF
17030 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17031 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17033 cat >>confdefs.h <<_ACEOF
17034 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17035 _ACEOF
17039 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17040 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17042 cat >>confdefs.h <<_ACEOF
17043 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17044 _ACEOF
17050 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
17051 #include <sys/types.h>
17052 #endif
17053 #ifdef HAVE_NETINET_IN_H
17054 #include <netinet/in.h>
17055 #endif
17057 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17059 cat >>confdefs.h <<_ACEOF
17060 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17061 _ACEOF
17067 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17068 #include <sys/types.h>
17069 #endif
17070 #ifdef HAVE_NETINET_IN_H
17071 #include <netinet/in.h>
17072 #endif
17073 #ifdef HAVE_RESOLV_H
17074 #include <resolv.h>
17075 #endif
17077 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17079 cat >>confdefs.h <<_ACEOF
17080 #define HAVE_STRUCT___RES_STATE 1
17081 _ACEOF
17087 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
17088 #include <resolv.h>
17089 #endif
17091 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17095 _ACEOF
17101 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17102 #include <sys/types.h>
17103 #endif
17104 #ifdef HAVE_NETINET_IN_H
17105 # include <netinet/in.h>
17106 #endif
17107 #ifdef HAVE_ARPA_NAMESER_H
17108 # include <arpa/nameser.h>
17109 #endif
17111 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17113 cat >>confdefs.h <<_ACEOF
17114 #define HAVE_NS_MSG__MSG_PTR 1
17115 _ACEOF
17121 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17122 #include <sys/types.h>
17123 #endif
17124 #ifdef HAVE_NETINET_IN_H
17125 #include <netinet/in.h>
17126 #endif
17127 #ifdef HAVE_NETINET_IP_H
17128 #include <netinet/ip.h>
17129 #endif
17130 #ifdef HAVE_NETINET_IP_ICMP_H
17131 #include <netinet/ip_icmp.h>
17132 #endif
17133 #ifdef HAVE_NETINET_ICMP_VAR_H
17134 #include <netinet/icmp_var.h>
17135 #endif
17137 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17139 cat >>confdefs.h <<_ACEOF
17140 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17141 _ACEOF
17147 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17148 #include <sys/types.h>
17149 #endif
17150 #ifdef HAVE_ALIAS_H
17151 #include <alias.h>
17152 #endif
17153 #ifdef HAVE_SYS_SOCKET_H
17154 #include <sys/socket.h>
17155 #endif
17156 #ifdef HAVE_SYS_SOCKETVAR_H
17157 #include <sys/socketvar.h>
17158 #endif
17159 #ifdef HAVE_SYS_TIMEOUT_H
17160 #include <sys/timeout.h>
17161 #endif
17162 #ifdef HAVE_NETINET_IN_H
17163 #include <netinet/in.h>
17164 #endif
17165 #ifdef HAVE_NETINET_IN_SYSTM_H
17166 #include <netinet/in_systm.h>
17167 #endif
17168 #ifdef HAVE_NETINET_IP_H
17169 #include <netinet/ip.h>
17170 #endif
17171 #ifdef HAVE_NETINET_IP_VAR_H
17172 #include <netinet/ip_var.h>
17173 #endif
17174 #ifdef HAVE_NETINET_IP_ICMP_H
17175 #include <netinet/ip_icmp.h>
17176 #endif
17177 #ifdef HAVE_NETINET_ICMP_VAR_H
17178 #include <netinet/icmp_var.h>
17179 #endif
17181 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17183 cat >>confdefs.h <<_ACEOF
17184 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17185 _ACEOF
17191 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17192 #include <sys/types.h>
17193 #endif
17194 #ifdef HAVE_SYS_SOCKETVAR_H
17195 #include <sys/socketvar.h>
17196 #endif
17197 #ifdef HAVE_NETINET_IN_H
17198 #include <netinet/in.h>
17199 #endif
17200 #ifdef HAVE_NETINET_IP_VAR_H
17201 #include <netinet/ip_var.h>
17202 #endif
17204 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17206 cat >>confdefs.h <<_ACEOF
17207 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17208 _ACEOF
17214 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
17215 #include <netinet/ip_var.h>
17216 #endif
17218 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17220 cat >>confdefs.h <<_ACEOF
17221 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17222 _ACEOF
17228 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17229 #include <sys/types.h>
17230 #endif
17231 #ifdef HAVE_SYS_SOCKETVAR_H
17232 #include <sys/socketvar.h>
17233 #endif
17234 #ifdef HAVE_NETINET_IN_H
17235 #include <netinet/in.h>
17236 #endif
17237 #ifdef HAVE_NETINET_TCP_H
17238 #include <netinet/tcp.h>
17239 #endif
17240 #ifdef HAVE_NETINET_TCP_VAR_H
17241 #include <netinet/tcp_var.h>
17242 #endif
17244 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17246 cat >>confdefs.h <<_ACEOF
17247 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17248 _ACEOF
17254 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
17255 #include <netinet/tcp_var.h>
17256 #endif
17258 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17260 cat >>confdefs.h <<_ACEOF
17261 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17262 _ACEOF
17268 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17269 #include <sys/types.h>
17270 #endif
17271 #ifdef HAVE_NETINET_IN_H
17272 #include <netinet/in.h>
17273 #endif
17274 #ifdef HAVE_NETINET_IP_VAR_H
17275 #include <netinet/ip_var.h>
17276 #endif
17277 #ifdef HAVE_NETINET_UDP_H
17278 #include <netinet/udp.h>
17279 #endif
17280 #ifdef HAVE_NETINET_UDP_VAR_H
17281 #include <netinet/udp_var.h>
17282 #endif
17284 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17286 cat >>confdefs.h <<_ACEOF
17287 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17288 _ACEOF
17294 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17295 #include <sys/types.h>
17296 #endif
17297 #ifdef HAVE_NET_IF_H
17298 # include <net/if.h>
17299 #endif
17301 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17303 cat >>confdefs.h <<_ACEOF
17304 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17305 _ACEOF
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17312 $as_echo_n "checking for timezone variable... " >&6; }
17313 if ${ac_cv_have_timezone+:} false; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17318 #include <time.h>
17320 main ()
17322 timezone = 1
17324 return 0;
17326 _ACEOF
17327 if ac_fn_c_try_link "$LINENO"; then :
17328 ac_cv_have_timezone="yes"
17329 else
17330 ac_cv_have_timezone="no"
17332 rm -f core conftest.err conftest.$ac_objext \
17333 conftest$ac_exeext conftest.$ac_ext
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17336 $as_echo "$ac_cv_have_timezone" >&6; }
17337 if test "$ac_cv_have_timezone" = "yes"
17338 then
17340 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17344 $as_echo_n "checking for daylight variable... " >&6; }
17345 if ${ac_cv_have_daylight+:} false; then :
17346 $as_echo_n "(cached) " >&6
17347 else
17348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17349 /* end confdefs.h. */
17350 #include <time.h>
17352 main ()
17354 daylight = 1
17356 return 0;
17358 _ACEOF
17359 if ac_fn_c_try_link "$LINENO"; then :
17360 ac_cv_have_daylight="yes"
17361 else
17362 ac_cv_have_daylight="no"
17364 rm -f core conftest.err conftest.$ac_objext \
17365 conftest$ac_exeext conftest.$ac_ext
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17368 $as_echo "$ac_cv_have_daylight" >&6; }
17369 if test "$ac_cv_have_daylight" = "yes"
17370 then
17372 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17376 ac_save_LIBS="$LIBS"
17377 LIBS="$LIBS -lm"
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17379 $as_echo_n "checking for isfinite... " >&6; }
17380 if ${ac_cv_have_isfinite+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #define _GNU_SOURCE
17386 #include <math.h>
17388 main ()
17390 float f = 0.0; return isfinite(f)
17392 return 0;
17394 _ACEOF
17395 if ac_fn_c_try_link "$LINENO"; then :
17396 ac_cv_have_isfinite="yes"
17397 else
17398 ac_cv_have_isfinite="no"
17400 rm -f core conftest.err conftest.$ac_objext \
17401 conftest$ac_exeext conftest.$ac_ext
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17404 $as_echo "$ac_cv_have_isfinite" >&6; }
17405 if test "$ac_cv_have_isfinite" = "yes"
17406 then
17408 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17413 $as_echo_n "checking for isinf... " >&6; }
17414 if ${ac_cv_have_isinf+:} false; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 #include <math.h>
17421 main ()
17423 float f = 0.0; return isinf(f)
17425 return 0;
17427 _ACEOF
17428 if ac_fn_c_try_link "$LINENO"; then :
17429 ac_cv_have_isinf="yes"
17430 else
17431 ac_cv_have_isinf="no"
17433 rm -f core conftest.err conftest.$ac_objext \
17434 conftest$ac_exeext conftest.$ac_ext
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17437 $as_echo "$ac_cv_have_isinf" >&6; }
17438 if test "$ac_cv_have_isinf" = "yes"
17439 then
17441 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17446 $as_echo_n "checking for isnan... " >&6; }
17447 if ${ac_cv_have_isnan+:} false; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 #include <math.h>
17454 main ()
17456 float f = 0.0; return isnan(f)
17458 return 0;
17460 _ACEOF
17461 if ac_fn_c_try_link "$LINENO"; then :
17462 ac_cv_have_isnan="yes"
17463 else
17464 ac_cv_have_isnan="no"
17466 rm -f core conftest.err conftest.$ac_objext \
17467 conftest$ac_exeext conftest.$ac_ext
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17470 $as_echo "$ac_cv_have_isnan" >&6; }
17471 if test "$ac_cv_have_isnan" = "yes"
17472 then
17474 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17478 for ac_func in \
17479 acosh \
17480 acoshf \
17481 asinh \
17482 asinhf \
17483 atanh \
17484 atanhf \
17485 cbrt \
17486 cbrtf \
17487 erf \
17488 erfc \
17489 erfcf \
17490 erff \
17491 exp2 \
17492 exp2f \
17493 expm1 \
17494 expm1f \
17495 lgamma \
17496 lgammaf \
17497 llrint \
17498 llrintf \
17499 llround \
17500 llroundf \
17501 log1p \
17502 log1pf \
17503 log2 \
17504 log2f \
17505 lrint \
17506 lrintf \
17507 lround \
17508 lroundf \
17509 nearbyint \
17510 nearbyintf \
17511 powl \
17512 remainder \
17513 remainderf \
17514 rint \
17515 rintf \
17516 round \
17517 roundf \
17518 trunc \
17519 truncf
17521 do :
17522 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17523 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17524 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17525 cat >>confdefs.h <<_ACEOF
17526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17527 _ACEOF
17530 done
17532 LIBS="$ac_save_LIBS"
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17535 $as_echo_n "checking for __builtin_clz... " >&6; }
17536 if ${ac_cv_have___builtin_clz+:} false; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17543 main ()
17545 return __builtin_clz(1)
17547 return 0;
17549 _ACEOF
17550 if ac_fn_c_try_link "$LINENO"; then :
17551 ac_cv_have___builtin_clz="yes"
17552 else
17553 ac_cv_have___builtin_clz="no"
17555 rm -f core conftest.err conftest.$ac_objext \
17556 conftest$ac_exeext conftest.$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17559 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17560 if test "$ac_cv_have___builtin_clz" = "yes"
17561 then
17563 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17568 $as_echo_n "checking for __builtin_popcount... " >&6; }
17569 if ${ac_cv_have___builtin_popcount+:} false; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17576 main ()
17578 return __builtin_popcount(1)
17580 return 0;
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"; then :
17584 ac_cv_have___builtin_popcount="yes"
17585 else
17586 ac_cv_have___builtin_popcount="no"
17588 rm -f core conftest.err conftest.$ac_objext \
17589 conftest$ac_exeext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17592 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17593 if test "$ac_cv_have___builtin_popcount" = "yes"
17594 then
17596 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17601 case $host_cpu in
17602 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17603 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17604 if ${ac_cv_cpp_def___i386__+:} false; then :
17605 $as_echo_n "(cached) " >&6
17606 else
17607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17608 /* end confdefs.h. */
17609 #ifndef __i386__
17611 #endif
17612 _ACEOF
17613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17614 $EGREP "yes" >/dev/null 2>&1; then :
17615 ac_cv_cpp_def___i386__=yes
17616 else
17617 ac_cv_cpp_def___i386__=no
17619 rm -f conftest*
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17623 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17624 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17625 CFLAGS="$CFLAGS -D__i386__"
17626 LINTFLAGS="$LINTFLAGS -D__i386__"
17627 fi ;;
17628 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17629 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17630 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17631 $as_echo_n "(cached) " >&6
17632 else
17633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17634 /* end confdefs.h. */
17635 #ifndef __x86_64__
17637 #endif
17638 _ACEOF
17639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17640 $EGREP "yes" >/dev/null 2>&1; then :
17641 ac_cv_cpp_def___x86_64__=yes
17642 else
17643 ac_cv_cpp_def___x86_64__=no
17645 rm -f conftest*
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17649 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17650 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17651 CFLAGS="$CFLAGS -D__x86_64__"
17652 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17653 fi ;;
17654 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17655 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17656 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17657 $as_echo_n "(cached) " >&6
17658 else
17659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17660 /* end confdefs.h. */
17661 #ifndef __sparc64__
17663 #endif
17664 _ACEOF
17665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17666 $EGREP "yes" >/dev/null 2>&1; then :
17667 ac_cv_cpp_def___sparc64__=yes
17668 else
17669 ac_cv_cpp_def___sparc64__=no
17671 rm -f conftest*
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17675 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17676 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17677 CFLAGS="$CFLAGS -D__sparc64__"
17678 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17679 fi ;;
17680 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17681 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17682 if ${ac_cv_cpp_def___sparc__+:} false; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17686 /* end confdefs.h. */
17687 #ifndef __sparc__
17689 #endif
17690 _ACEOF
17691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17692 $EGREP "yes" >/dev/null 2>&1; then :
17693 ac_cv_cpp_def___sparc__=yes
17694 else
17695 ac_cv_cpp_def___sparc__=no
17697 rm -f conftest*
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17701 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17702 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17703 CFLAGS="$CFLAGS -D__sparc__"
17704 LINTFLAGS="$LINTFLAGS -D__sparc__"
17705 fi ;;
17706 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17707 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17708 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17709 $as_echo_n "(cached) " >&6
17710 else
17711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17712 /* end confdefs.h. */
17713 #ifndef __powerpc64__
17715 #endif
17716 _ACEOF
17717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17718 $EGREP "yes" >/dev/null 2>&1; then :
17719 ac_cv_cpp_def___powerpc64__=yes
17720 else
17721 ac_cv_cpp_def___powerpc64__=no
17723 rm -f conftest*
17726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17727 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17728 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17729 CFLAGS="$CFLAGS -D__powerpc64__"
17730 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17731 fi ;;
17732 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17733 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17734 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17739 #ifndef __powerpc__
17741 #endif
17742 _ACEOF
17743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17744 $EGREP "yes" >/dev/null 2>&1; then :
17745 ac_cv_cpp_def___powerpc__=yes
17746 else
17747 ac_cv_cpp_def___powerpc__=no
17749 rm -f conftest*
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17753 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17754 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17755 CFLAGS="$CFLAGS -D__powerpc__"
17756 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17757 fi ;;
17758 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17759 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17760 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17764 /* end confdefs.h. */
17765 #ifndef __aarch64__
17767 #endif
17768 _ACEOF
17769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17770 $EGREP "yes" >/dev/null 2>&1; then :
17771 ac_cv_cpp_def___aarch64__=yes
17772 else
17773 ac_cv_cpp_def___aarch64__=no
17775 rm -f conftest*
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17779 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17780 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17781 CFLAGS="$CFLAGS -D__aarch64__"
17782 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17783 fi ;;
17784 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17785 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17786 if ${ac_cv_cpp_def___arm__+:} false; then :
17787 $as_echo_n "(cached) " >&6
17788 else
17789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17791 #ifndef __arm__
17793 #endif
17794 _ACEOF
17795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17796 $EGREP "yes" >/dev/null 2>&1; then :
17797 ac_cv_cpp_def___arm__=yes
17798 else
17799 ac_cv_cpp_def___arm__=no
17801 rm -f conftest*
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17805 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17806 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17807 CFLAGS="$CFLAGS -D__arm__"
17808 LINTFLAGS="$LINTFLAGS -D__arm__"
17809 fi ;;
17810 esac
17812 case $host_vendor in
17813 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17814 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17815 if ${ac_cv_cpp_def___sun__+:} false; then :
17816 $as_echo_n "(cached) " >&6
17817 else
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 #ifndef __sun__
17822 #endif
17823 _ACEOF
17824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17825 $EGREP "yes" >/dev/null 2>&1; then :
17826 ac_cv_cpp_def___sun__=yes
17827 else
17828 ac_cv_cpp_def___sun__=no
17830 rm -f conftest*
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17834 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17835 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17836 CFLAGS="$CFLAGS -D__sun__"
17837 LINTFLAGS="$LINTFLAGS -D__sun__"
17838 fi ;;
17839 esac
17845 ac_config_commands="$ac_config_commands include/stamp-h"
17847 $as_echo_n "creating Makefile rules..." >&6
17849 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17850 SOCKET_LIBS = $SOCKET_LIBS
17851 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17852 IOKIT_LIBS = $IOKIT_LIBS
17853 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17854 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17855 CORESERVICES_LIBS = $CORESERVICES_LIBS
17856 APPKIT_LIBS = $APPKIT_LIBS
17857 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17858 SECURITY_LIBS = $SECURITY_LIBS
17859 COREAUDIO_LIBS = $COREAUDIO_LIBS
17860 OPENAL_LIBS = $OPENAL_LIBS
17861 OPENCL_LIBS = $OPENCL_LIBS
17862 QUICKTIME_LIBS = $QUICKTIME_LIBS
17863 CARBON_LIBS = $CARBON_LIBS
17864 PTHREAD_LIBS = $PTHREAD_LIBS
17865 X_CFLAGS = $X_CFLAGS
17866 X_PRE_LIBS = $X_PRE_LIBS
17867 X_LIBS = $X_LIBS
17868 X_EXTRA_LIBS = $X_EXTRA_LIBS
17869 PCAP_LIBS = $PCAP_LIBS
17870 XML2_CFLAGS = $XML2_CFLAGS
17871 XML2_LIBS = $XML2_LIBS
17872 XSLT_CFLAGS = $XSLT_CFLAGS
17873 XSLT_LIBS = $XSLT_LIBS
17874 DBUS_CFLAGS = $DBUS_CFLAGS
17875 DBUS_LIBS = $DBUS_LIBS
17876 HAL_CFLAGS = $HAL_CFLAGS
17877 HAL_LIBS = $HAL_LIBS
17878 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17879 GNUTLS_LIBS = $GNUTLS_LIBS
17880 SANE_CFLAGS = $SANE_CFLAGS
17881 SANE_LIBS = $SANE_LIBS
17882 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17883 GPHOTO2_LIBS = $GPHOTO2_LIBS
17884 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17885 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17886 RESOLV_LIBS = $RESOLV_LIBS
17887 LCMS2_CFLAGS = $LCMS2_CFLAGS
17888 LCMS2_LIBS = $LCMS2_LIBS
17889 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17890 FREETYPE_LIBS = $FREETYPE_LIBS
17891 Z_LIBS = $Z_LIBS
17892 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17893 PULSE_CFLAGS = $PULSE_CFLAGS
17894 PULSE_LIBS = $PULSE_LIBS
17895 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17896 GSTREAMER_LIBS = $GSTREAMER_LIBS
17897 ALSA_LIBS = $ALSA_LIBS
17898 OSS4_CFLAGS = $OSS4_CFLAGS
17899 UDEV_CFLAGS = $UDEV_CFLAGS
17900 UDEV_LIBS = $UDEV_LIBS
17901 CAPI20_CFLAGS = $CAPI20_CFLAGS
17902 CAPI20_LIBS = $CAPI20_LIBS
17903 CUPS_CFLAGS = $CUPS_CFLAGS
17904 CUPS_LIBS = $CUPS_LIBS
17905 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17906 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17907 JPEG_CFLAGS = $JPEG_CFLAGS
17908 JPEG_LIBS = $JPEG_LIBS
17909 PNG_CFLAGS = $PNG_CFLAGS
17910 PNG_LIBS = $PNG_LIBS
17911 TIFF_CFLAGS = $TIFF_CFLAGS
17912 TIFF_LIBS = $TIFF_LIBS
17913 MPG123_CFLAGS = $MPG123_CFLAGS
17914 MPG123_LIBS = $MPG123_LIBS
17915 KSTAT_LIBS = $KSTAT_LIBS
17916 PROCSTAT_LIBS = $PROCSTAT_LIBS
17917 NETAPI_CFLAGS = $NETAPI_CFLAGS
17918 NETAPI_LIBS = $NETAPI_LIBS
17919 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17920 DL_LIBS = $DL_LIBS
17921 POLL_LIBS = $POLL_LIBS
17922 RT_LIBS = $RT_LIBS
17923 LDAP_CFLAGS = $LDAP_CFLAGS
17924 LDAP_LIBS = $LDAP_LIBS
17929 wine_fn_append_rule "
17930 # Rules automatically generated by configure
17932 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17934 .INIT: Makefile
17935 .MAKEFILEDEPS:
17936 all: Makefile
17937 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17938 @./config.status Make.tmp Makefile
17939 depend: \$(MAKEDEP) dummy
17940 \$(MAKEDEP)"
17942 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17943 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17945 if test "x$enable_fonts" != xno; then
17946 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17947 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17948 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17949 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17950 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17951 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17953 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17954 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17955 ac_config_links="$ac_config_links wine:tools/winewrapper"
17956 wine_fn_config_symlink wine
17957 if test "x$enable_win64" != xno; then
17958 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17959 wine_fn_config_symlink wine64
17962 wine_fn_config_dll acledit enable_acledit
17963 wine_fn_config_dll aclui enable_aclui implib
17964 wine_fn_config_dll activeds enable_activeds implib
17965 wine_fn_config_dll actxprxy enable_actxprxy clean
17966 wine_fn_config_lib adsiid
17967 wine_fn_config_dll adsldpc enable_adsldpc
17968 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17969 wine_fn_config_test dlls/advapi32/tests advapi32_test
17970 wine_fn_config_dll advpack enable_advpack implib
17971 wine_fn_config_test dlls/advpack/tests advpack_test
17972 wine_fn_config_dll amstream enable_amstream clean
17973 wine_fn_config_test dlls/amstream/tests amstream_test
17974 wine_fn_config_dll api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
17975 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
17976 wine_fn_config_dll api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
17977 wine_fn_config_dll api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
17978 wine_fn_config_dll api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
17979 wine_fn_config_dll api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
17980 wine_fn_config_dll api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
17981 wine_fn_config_dll api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
17982 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17983 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17984 wine_fn_config_dll api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
17985 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17986 wine_fn_config_dll api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
17987 wine_fn_config_dll api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
17988 wine_fn_config_dll api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
17989 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17990 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17991 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17992 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17993 wine_fn_config_dll api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
17994 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17995 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17996 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17997 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17998 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
17999 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18000 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18001 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18002 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18003 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18004 wine_fn_config_dll api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18005 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18006 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18007 wine_fn_config_dll api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18008 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18009 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18010 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18011 wine_fn_config_dll api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18012 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18013 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18014 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18015 wine_fn_config_dll api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18016 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18017 wine_fn_config_dll api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18018 wine_fn_config_dll api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18019 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18020 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18021 wine_fn_config_dll api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18022 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18023 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18024 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18025 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18026 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18027 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18028 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18029 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18030 wine_fn_config_dll api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18031 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18032 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18033 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18034 wine_fn_config_dll api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18035 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18036 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18037 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18038 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18039 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18040 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18041 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18042 wine_fn_config_dll api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18043 wine_fn_config_dll api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18044 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18045 wine_fn_config_dll api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18046 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18047 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18048 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18049 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18050 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18051 wine_fn_config_dll api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18052 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18053 wine_fn_config_dll api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18054 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18055 wine_fn_config_dll api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18056 wine_fn_config_dll api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18057 wine_fn_config_dll api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18058 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18059 wine_fn_config_dll api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18060 wine_fn_config_dll api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18061 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18062 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18063 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18064 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18065 wine_fn_config_dll api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18066 wine_fn_config_dll api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18067 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18068 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18069 wine_fn_config_dll api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18070 wine_fn_config_dll api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18071 wine_fn_config_dll api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18072 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18073 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18074 wine_fn_config_dll api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18075 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18076 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18077 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18078 wine_fn_config_dll api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18079 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18080 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18081 wine_fn_config_dll api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18082 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18083 wine_fn_config_dll api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18084 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18085 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18086 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18087 wine_fn_config_dll api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18088 wine_fn_config_dll api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18089 wine_fn_config_dll api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18090 wine_fn_config_dll api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18091 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18092 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18093 wine_fn_config_dll api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18094 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18095 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18096 wine_fn_config_dll api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18097 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18098 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18099 wine_fn_config_dll api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18100 wine_fn_config_dll api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18101 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18102 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18103 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18104 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18105 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18106 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18107 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18108 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18109 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18110 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18111 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18112 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18113 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18114 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18115 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18116 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18117 wine_fn_config_dll api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18118 wine_fn_config_dll api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18119 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18120 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18121 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18122 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18123 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18124 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18125 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18126 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18127 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18128 wine_fn_config_dll api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18129 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18130 wine_fn_config_dll api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18131 wine_fn_config_dll api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18132 wine_fn_config_dll api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18133 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18134 wine_fn_config_dll api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18135 wine_fn_config_dll api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18136 wine_fn_config_dll api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18137 wine_fn_config_dll api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18138 wine_fn_config_dll api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18139 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18140 wine_fn_config_dll api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18141 wine_fn_config_dll api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18142 wine_fn_config_dll api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18143 wine_fn_config_dll api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18144 wine_fn_config_dll api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18145 wine_fn_config_dll api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18146 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18147 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18148 wine_fn_config_dll api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18149 wine_fn_config_dll api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18150 wine_fn_config_dll api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18151 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18152 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18153 wine_fn_config_dll api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18154 wine_fn_config_dll api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18155 wine_fn_config_dll api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18156 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18157 wine_fn_config_dll api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18158 wine_fn_config_dll api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18159 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18160 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18161 wine_fn_config_dll api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18162 wine_fn_config_dll api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18163 wine_fn_config_dll api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18164 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18165 wine_fn_config_dll api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18166 wine_fn_config_dll api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18167 wine_fn_config_dll apphelp enable_apphelp
18168 wine_fn_config_test dlls/apphelp/tests apphelp_test
18169 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
18170 wine_fn_config_dll atl enable_atl clean,implib
18171 wine_fn_config_test dlls/atl/tests atl_test
18172 wine_fn_config_dll atl100 enable_atl100 clean,implib
18173 wine_fn_config_test dlls/atl100/tests atl100_test
18174 wine_fn_config_dll atl110 enable_atl110 clean
18175 wine_fn_config_dll atl80 enable_atl80 clean,implib
18176 wine_fn_config_test dlls/atl80/tests atl80_test
18177 wine_fn_config_dll atl90 enable_atl90 clean
18178 wine_fn_config_dll authz enable_authz
18179 wine_fn_config_dll avicap32 enable_avicap32 implib
18180 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
18181 wine_fn_config_test dlls/avifil32/tests avifil32_test
18182 wine_fn_config_dll avifile.dll16 enable_win16
18183 wine_fn_config_dll avrt enable_avrt implib
18184 wine_fn_config_dll bcrypt enable_bcrypt implib
18185 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
18186 wine_fn_config_dll bluetoothapis enable_bluetoothapis
18187 wine_fn_config_dll browseui enable_browseui clean
18188 wine_fn_config_test dlls/browseui/tests browseui_test
18189 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
18190 wine_fn_config_dll cabinet enable_cabinet implib
18191 wine_fn_config_test dlls/cabinet/tests cabinet_test
18192 wine_fn_config_dll capi2032 enable_capi2032 implib
18193 wine_fn_config_dll cards enable_cards implib
18194 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
18195 wine_fn_config_dll clusapi enable_clusapi implib
18196 wine_fn_config_dll combase enable_combase
18197 wine_fn_config_test dlls/combase/tests combase_test
18198 wine_fn_config_dll comcat enable_comcat
18199 wine_fn_config_test dlls/comcat/tests comcat_test
18200 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
18201 wine_fn_config_test dlls/comctl32/tests comctl32_test
18202 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
18203 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
18204 wine_fn_config_dll comm.drv16 enable_win16
18205 wine_fn_config_dll commdlg.dll16 enable_win16
18206 wine_fn_config_dll compobj.dll16 enable_win16
18207 wine_fn_config_dll compstui enable_compstui implib
18208 wine_fn_config_dll comsvcs enable_comsvcs clean,implib
18209 wine_fn_config_dll concrt140 enable_concrt140
18210 wine_fn_config_dll connect enable_connect
18211 wine_fn_config_dll credui enable_credui clean,implib
18212 wine_fn_config_test dlls/credui/tests credui_test
18213 wine_fn_config_dll crtdll enable_crtdll
18214 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
18215 wine_fn_config_test dlls/crypt32/tests crypt32_test
18216 wine_fn_config_dll cryptdlg enable_cryptdlg clean
18217 wine_fn_config_dll cryptdll enable_cryptdll implib
18218 wine_fn_config_dll cryptext enable_cryptext
18219 wine_fn_config_dll cryptnet enable_cryptnet implib
18220 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
18221 wine_fn_config_dll cryptui enable_cryptui clean,implib
18222 wine_fn_config_test dlls/cryptui/tests cryptui_test
18223 wine_fn_config_dll ctapi32 enable_ctapi32
18224 wine_fn_config_dll ctl3d.dll16 enable_win16
18225 wine_fn_config_dll ctl3d32 enable_ctl3d32
18226 wine_fn_config_dll ctl3dv2.dll16 enable_win16
18227 wine_fn_config_dll d2d1 enable_d2d1 implib
18228 wine_fn_config_test dlls/d2d1/tests d2d1_test
18229 wine_fn_config_dll d3d10 enable_d3d10 implib
18230 wine_fn_config_test dlls/d3d10/tests d3d10_test
18231 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
18232 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
18233 wine_fn_config_dll d3d10core enable_d3d10core implib
18234 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
18235 wine_fn_config_dll d3d11 enable_d3d11 implib
18236 wine_fn_config_test dlls/d3d11/tests d3d11_test
18237 wine_fn_config_dll d3d8 enable_d3d8 implib
18238 wine_fn_config_test dlls/d3d8/tests d3d8_test
18239 wine_fn_config_dll d3d9 enable_d3d9 implib
18240 wine_fn_config_test dlls/d3d9/tests d3d9_test
18241 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
18242 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
18243 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
18244 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
18245 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
18246 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
18247 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
18248 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
18249 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
18250 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
18251 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
18252 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
18253 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
18254 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
18255 wine_fn_config_dll d3dim enable_d3dim
18256 wine_fn_config_dll d3drm enable_d3drm implib
18257 wine_fn_config_test dlls/d3drm/tests d3drm_test
18258 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
18259 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
18260 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
18261 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
18262 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
18263 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
18264 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
18265 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
18266 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
18267 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
18268 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
18269 wine_fn_config_test dlls/d3dx10_43/tests d3dx10_43_test
18270 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
18271 wine_fn_config_dll d3dx11_43 enable_d3dx11_43 implib d3dx11
18272 wine_fn_config_test dlls/d3dx11_43/tests d3dx11_43_test
18273 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
18274 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
18275 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
18276 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
18277 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
18278 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
18279 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
18280 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
18281 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
18282 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
18283 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
18284 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
18285 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
18286 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
18287 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
18288 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
18289 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
18290 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
18291 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
18292 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
18293 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
18294 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
18295 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
18296 wine_fn_config_dll davclnt enable_davclnt
18297 wine_fn_config_dll dbgeng enable_dbgeng implib
18298 wine_fn_config_dll dbghelp enable_dbghelp implib
18299 wine_fn_config_dll dciman32 enable_dciman32 implib
18300 wine_fn_config_dll ddeml.dll16 enable_win16
18301 wine_fn_config_dll ddraw enable_ddraw clean,implib
18302 wine_fn_config_test dlls/ddraw/tests ddraw_test
18303 wine_fn_config_dll ddrawex enable_ddrawex clean
18304 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
18305 wine_fn_config_dll devenum enable_devenum clean
18306 wine_fn_config_test dlls/devenum/tests devenum_test
18307 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
18308 wine_fn_config_dll difxapi enable_difxapi
18309 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
18310 wine_fn_config_test dlls/dinput/tests dinput_test
18311 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
18312 wine_fn_config_test dlls/dinput8/tests dinput8_test
18313 wine_fn_config_dll dispdib.dll16 enable_win16
18314 wine_fn_config_dll dispex enable_dispex clean
18315 wine_fn_config_test dlls/dispex/tests dispex_test
18316 wine_fn_config_dll display.drv16 enable_win16
18317 wine_fn_config_dll dmband enable_dmband clean
18318 wine_fn_config_test dlls/dmband/tests dmband_test
18319 wine_fn_config_dll dmcompos enable_dmcompos clean
18320 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
18321 wine_fn_config_dll dmime enable_dmime clean
18322 wine_fn_config_test dlls/dmime/tests dmime_test
18323 wine_fn_config_dll dmloader enable_dmloader clean
18324 wine_fn_config_test dlls/dmloader/tests dmloader_test
18325 wine_fn_config_dll dmscript enable_dmscript clean
18326 wine_fn_config_test dlls/dmscript/tests dmscript_test
18327 wine_fn_config_dll dmstyle enable_dmstyle clean
18328 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
18329 wine_fn_config_dll dmsynth enable_dmsynth clean
18330 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
18331 wine_fn_config_dll dmusic enable_dmusic clean
18332 wine_fn_config_test dlls/dmusic/tests dmusic_test
18333 wine_fn_config_dll dmusic32 enable_dmusic32
18334 wine_fn_config_dll dnsapi enable_dnsapi implib
18335 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
18336 wine_fn_config_dll dplay enable_dplay
18337 wine_fn_config_dll dplayx enable_dplayx clean,implib
18338 wine_fn_config_test dlls/dplayx/tests dplayx_test
18339 wine_fn_config_dll dpnaddr enable_dpnaddr
18340 wine_fn_config_dll dpnet enable_dpnet clean,implib
18341 wine_fn_config_test dlls/dpnet/tests dpnet_test
18342 wine_fn_config_dll dpnhpast enable_dpnhpast
18343 wine_fn_config_dll dpnlobby enable_dpnlobby
18344 wine_fn_config_dll dpvoice enable_dpvoice clean
18345 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
18346 wine_fn_config_dll dpwsockx enable_dpwsockx
18347 wine_fn_config_dll drmclien enable_drmclien
18348 wine_fn_config_dll dsound enable_dsound clean,implib
18349 wine_fn_config_test dlls/dsound/tests dsound_test
18350 wine_fn_config_dll dsquery enable_dsquery clean
18351 wine_fn_config_dll dssenh enable_dssenh
18352 wine_fn_config_test dlls/dssenh/tests dssenh_test
18353 wine_fn_config_dll dswave enable_dswave clean
18354 wine_fn_config_test dlls/dswave/tests dswave_test
18355 wine_fn_config_dll dwmapi enable_dwmapi implib
18356 wine_fn_config_dll dwrite enable_dwrite implib
18357 wine_fn_config_test dlls/dwrite/tests dwrite_test
18358 wine_fn_config_dll dx8vb enable_dx8vb
18359 wine_fn_config_dll dxdiagn enable_dxdiagn clean
18360 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
18361 wine_fn_config_lib dxerr8
18362 wine_fn_config_lib dxerr9
18363 wine_fn_config_dll dxgi enable_dxgi implib
18364 wine_fn_config_test dlls/dxgi/tests dxgi_test
18365 wine_fn_config_lib dxguid
18366 wine_fn_config_dll dxva2 enable_dxva2
18367 wine_fn_config_dll esent enable_esent
18368 wine_fn_config_dll evr enable_evr clean
18369 wine_fn_config_test dlls/evr/tests evr_test
18370 wine_fn_config_dll explorerframe enable_explorerframe clean
18371 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
18372 wine_fn_config_dll ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18373 wine_fn_config_dll ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18374 wine_fn_config_dll ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18375 wine_fn_config_dll ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18376 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18377 wine_fn_config_dll ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18378 wine_fn_config_dll ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18379 wine_fn_config_dll ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18380 wine_fn_config_dll ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18381 wine_fn_config_dll ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18382 wine_fn_config_dll ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18383 wine_fn_config_dll ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18384 wine_fn_config_dll ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18385 wine_fn_config_dll ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18386 wine_fn_config_dll ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18387 wine_fn_config_dll ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18388 wine_fn_config_dll ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18389 wine_fn_config_dll ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18390 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
18391 wine_fn_config_dll ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18392 wine_fn_config_dll ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18393 wine_fn_config_dll ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18394 wine_fn_config_dll ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18395 wine_fn_config_dll faultrep enable_faultrep implib
18396 wine_fn_config_test dlls/faultrep/tests faultrep_test
18397 wine_fn_config_dll fltlib enable_fltlib
18398 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
18399 wine_fn_config_dll fntcache enable_fntcache
18400 wine_fn_config_dll fontsub enable_fontsub
18401 wine_fn_config_dll fusion enable_fusion
18402 wine_fn_config_test dlls/fusion/tests fusion_test
18403 wine_fn_config_dll fwpuclnt enable_fwpuclnt
18404 wine_fn_config_dll gameux enable_gameux clean
18405 wine_fn_config_test dlls/gameux/tests gameux_test
18406 wine_fn_config_dll gdi.exe16 enable_win16
18407 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
18408 wine_fn_config_test dlls/gdi32/tests gdi32_test
18409 wine_fn_config_dll gdiplus enable_gdiplus implib
18410 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
18411 wine_fn_config_dll glu32 enable_glu32 implib
18412 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
18413 wine_fn_config_dll gpkcsp enable_gpkcsp
18414 wine_fn_config_dll hal enable_hal
18415 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
18416 wine_fn_config_dll hid enable_hid implib
18417 wine_fn_config_test dlls/hid/tests hid_test
18418 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
18419 wine_fn_config_dll hlink enable_hlink clean,implib
18420 wine_fn_config_test dlls/hlink/tests hlink_test
18421 wine_fn_config_dll hnetcfg enable_hnetcfg clean
18422 wine_fn_config_test dlls/hnetcfg/tests hnetcfg_test
18423 wine_fn_config_dll httpapi enable_httpapi
18424 wine_fn_config_dll iccvid enable_iccvid clean
18425 wine_fn_config_dll icmp enable_icmp
18426 wine_fn_config_dll ieframe enable_ieframe clean,implib
18427 wine_fn_config_test dlls/ieframe/tests ieframe_test
18428 wine_fn_config_dll ieproxy enable_ieproxy clean
18429 wine_fn_config_dll ifsmgr.vxd enable_win16
18430 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
18431 wine_fn_config_dll imagehlp enable_imagehlp implib
18432 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
18433 wine_fn_config_dll imm.dll16 enable_win16
18434 wine_fn_config_dll imm32 enable_imm32 implib
18435 wine_fn_config_test dlls/imm32/tests imm32_test
18436 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
18437 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
18438 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
18439 wine_fn_config_dll inetmib1 enable_inetmib1
18440 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
18441 wine_fn_config_dll infosoft enable_infosoft clean
18442 wine_fn_config_test dlls/infosoft/tests infosoft_test
18443 wine_fn_config_dll initpki enable_initpki
18444 wine_fn_config_dll inkobj enable_inkobj
18445 wine_fn_config_dll inseng enable_inseng clean
18446 wine_fn_config_dll iphlpapi enable_iphlpapi implib
18447 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
18448 wine_fn_config_dll iprop enable_iprop
18449 wine_fn_config_dll irprops.cpl enable_irprops_cpl
18450 wine_fn_config_dll itircl enable_itircl
18451 wine_fn_config_dll itss enable_itss clean
18452 wine_fn_config_test dlls/itss/tests itss_test
18453 wine_fn_config_dll joy.cpl enable_joy_cpl clean
18454 wine_fn_config_dll jscript enable_jscript clean
18455 wine_fn_config_test dlls/jscript/tests jscript_test
18456 wine_fn_config_dll jsproxy enable_jsproxy implib
18457 wine_fn_config_test dlls/jsproxy/tests jsproxy_test
18458 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
18459 wine_fn_config_test dlls/kernel32/tests kernel32_test
18460 wine_fn_config_dll kernelbase enable_kernelbase
18461 wine_fn_config_dll keyboard.drv16 enable_win16
18462 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
18463 wine_fn_config_dll ksuser enable_ksuser
18464 wine_fn_config_dll ktmw32 enable_ktmw32
18465 wine_fn_config_dll l3codeca.acm enable_l3codeca_acm
18466 wine_fn_config_dll loadperf enable_loadperf implib
18467 wine_fn_config_dll localspl enable_localspl clean
18468 wine_fn_config_test dlls/localspl/tests localspl_test
18469 wine_fn_config_dll localui enable_localui clean
18470 wine_fn_config_test dlls/localui/tests localui_test
18471 wine_fn_config_dll lz32 enable_lz32 implib
18472 wine_fn_config_test dlls/lz32/tests lz32_test
18473 wine_fn_config_dll lzexpand.dll16 enable_win16
18474 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
18475 wine_fn_config_test dlls/mapi32/tests mapi32_test
18476 wine_fn_config_dll mapistub enable_mapistub
18477 wine_fn_config_dll mciavi32 enable_mciavi32
18478 wine_fn_config_dll mcicda enable_mcicda
18479 wine_fn_config_dll mciqtz32 enable_mciqtz32
18480 wine_fn_config_dll mciseq enable_mciseq
18481 wine_fn_config_dll mciwave enable_mciwave
18482 wine_fn_config_dll mf enable_mf implib
18483 wine_fn_config_test dlls/mf/tests mf_test
18484 wine_fn_config_dll mf3216 enable_mf3216
18485 wine_fn_config_dll mfplat enable_mfplat implib
18486 wine_fn_config_test dlls/mfplat/tests mfplat_test
18487 wine_fn_config_dll mfreadwrite enable_mfreadwrite
18488 wine_fn_config_lib mfuuid
18489 wine_fn_config_dll mgmtapi enable_mgmtapi
18490 wine_fn_config_dll midimap enable_midimap
18491 wine_fn_config_dll mlang enable_mlang clean,implib
18492 wine_fn_config_test dlls/mlang/tests mlang_test
18493 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
18494 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
18495 wine_fn_config_dll mmdevapi enable_mmdevapi clean
18496 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
18497 wine_fn_config_dll mmdevldr.vxd enable_win16
18498 wine_fn_config_dll mmsystem.dll16 enable_win16
18499 wine_fn_config_dll monodebg.vxd enable_win16
18500 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
18501 wine_fn_config_dll mouse.drv16 enable_win16
18502 wine_fn_config_dll mpr enable_mpr clean,implib
18503 wine_fn_config_test dlls/mpr/tests mpr_test
18504 wine_fn_config_dll mprapi enable_mprapi implib
18505 wine_fn_config_dll msacm.dll16 enable_win16
18506 wine_fn_config_dll msacm32.drv enable_msacm32_drv
18507 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
18508 wine_fn_config_test dlls/msacm32/tests msacm32_test
18509 wine_fn_config_dll msadp32.acm enable_msadp32_acm
18510 wine_fn_config_dll msasn1 enable_msasn1 implib
18511 wine_fn_config_dll mscat32 enable_mscat32
18512 wine_fn_config_dll mscms enable_mscms implib
18513 wine_fn_config_test dlls/mscms/tests mscms_test
18514 wine_fn_config_dll mscoree enable_mscoree clean
18515 wine_fn_config_test dlls/mscoree/tests mscoree_test
18516 wine_fn_config_dll msctf enable_msctf clean
18517 wine_fn_config_test dlls/msctf/tests msctf_test
18518 wine_fn_config_dll msctfp enable_msctfp clean
18519 wine_fn_config_dll msdaps enable_msdaps clean
18520 wine_fn_config_dll msdelta enable_msdelta
18521 wine_fn_config_dll msdmo enable_msdmo implib
18522 wine_fn_config_test dlls/msdmo/tests msdmo_test
18523 wine_fn_config_dll msdrm enable_msdrm
18524 wine_fn_config_dll msftedit enable_msftedit
18525 wine_fn_config_dll msg711.acm enable_msg711_acm
18526 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
18527 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
18528 wine_fn_config_dll mshtml enable_mshtml clean,implib
18529 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
18530 wine_fn_config_dll msi enable_msi clean,implib
18531 wine_fn_config_test dlls/msi/tests msi_test
18532 wine_fn_config_dll msident enable_msident clean
18533 wine_fn_config_dll msimg32 enable_msimg32 implib
18534 wine_fn_config_dll msimsg enable_msimsg
18535 wine_fn_config_dll msimtf enable_msimtf clean
18536 wine_fn_config_dll msisip enable_msisip
18537 wine_fn_config_dll msisys.ocx enable_msisys_ocx
18538 wine_fn_config_dll msls31 enable_msls31
18539 wine_fn_config_dll msnet32 enable_msnet32
18540 wine_fn_config_dll mspatcha enable_mspatcha implib
18541 wine_fn_config_dll msports enable_msports
18542 wine_fn_config_dll msrle32 enable_msrle32 clean
18543 wine_fn_config_test dlls/msrle32/tests msrle32_test
18544 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
18545 wine_fn_config_test dlls/msscript.ocx/tests msscript.ocx_test clean
18546 wine_fn_config_dll mssign32 enable_mssign32
18547 wine_fn_config_dll mssip32 enable_mssip32
18548 wine_fn_config_dll mstask enable_mstask clean
18549 wine_fn_config_test dlls/mstask/tests mstask_test
18550 wine_fn_config_dll msvcirt enable_msvcirt
18551 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
18552 wine_fn_config_dll msvcm80 enable_msvcm80
18553 wine_fn_config_dll msvcm90 enable_msvcm90
18554 wine_fn_config_dll msvcp100 enable_msvcp100
18555 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
18556 wine_fn_config_dll msvcp110 enable_msvcp110
18557 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
18558 wine_fn_config_dll msvcp120 enable_msvcp120
18559 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
18560 wine_fn_config_dll msvcp120_app enable_msvcp120_app
18561 wine_fn_config_dll msvcp140 enable_msvcp140
18562 wine_fn_config_test dlls/msvcp140/tests msvcp140_test
18563 wine_fn_config_dll msvcp60 enable_msvcp60
18564 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
18565 wine_fn_config_dll msvcp70 enable_msvcp70
18566 wine_fn_config_dll msvcp71 enable_msvcp71
18567 wine_fn_config_dll msvcp80 enable_msvcp80
18568 wine_fn_config_dll msvcp90 enable_msvcp90
18569 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
18570 wine_fn_config_dll msvcr100 enable_msvcr100 implib
18571 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
18572 wine_fn_config_dll msvcr110 enable_msvcr110 implib
18573 wine_fn_config_dll msvcr120 enable_msvcr120 implib
18574 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
18575 wine_fn_config_dll msvcr120_app enable_msvcr120_app
18576 wine_fn_config_dll msvcr70 enable_msvcr70 implib
18577 wine_fn_config_dll msvcr71 enable_msvcr71 implib
18578 wine_fn_config_dll msvcr80 enable_msvcr80 implib
18579 wine_fn_config_dll msvcr90 enable_msvcr90 implib
18580 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
18581 wine_fn_config_dll msvcrt enable_msvcrt implib
18582 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
18583 wine_fn_config_dll msvcrt20 enable_msvcrt20
18584 wine_fn_config_dll msvcrt40 enable_msvcrt40
18585 wine_fn_config_dll msvcrtd enable_msvcrtd implib
18586 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
18587 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
18588 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
18589 wine_fn_config_dll msvidc32 enable_msvidc32 clean
18590 wine_fn_config_dll msvideo.dll16 enable_win16
18591 wine_fn_config_dll mswsock enable_mswsock implib
18592 wine_fn_config_dll msxml enable_msxml clean
18593 wine_fn_config_dll msxml2 enable_msxml2 clean
18594 wine_fn_config_dll msxml3 enable_msxml3 clean
18595 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
18596 wine_fn_config_dll msxml4 enable_msxml4 clean
18597 wine_fn_config_dll msxml6 enable_msxml6 clean
18598 wine_fn_config_dll mtxdm enable_mtxdm
18599 wine_fn_config_dll ncrypt enable_ncrypt
18600 wine_fn_config_dll nddeapi enable_nddeapi implib
18601 wine_fn_config_dll ndis.sys enable_ndis_sys
18602 wine_fn_config_dll netapi32 enable_netapi32 implib
18603 wine_fn_config_test dlls/netapi32/tests netapi32_test
18604 wine_fn_config_dll netcfgx enable_netcfgx clean
18605 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
18606 wine_fn_config_dll netprofm enable_netprofm clean
18607 wine_fn_config_test dlls/netprofm/tests netprofm_test
18608 wine_fn_config_dll newdev enable_newdev implib
18609 wine_fn_config_dll normaliz enable_normaliz implib
18610 wine_fn_config_dll npmshtml enable_npmshtml
18611 wine_fn_config_dll npptools enable_npptools
18612 wine_fn_config_dll ntdll enable_ntdll implib
18613 wine_fn_config_test dlls/ntdll/tests ntdll_test
18614 wine_fn_config_dll ntdsapi enable_ntdsapi implib
18615 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
18616 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib ntoskrnl
18617 wine_fn_config_dll ntprint enable_ntprint
18618 wine_fn_config_test dlls/ntprint/tests ntprint_test
18619 wine_fn_config_dll objsel enable_objsel clean
18620 wine_fn_config_dll odbc32 enable_odbc32 implib
18621 wine_fn_config_dll odbccp32 enable_odbccp32 implib
18622 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
18623 wine_fn_config_dll odbccu32 enable_odbccu32
18624 wine_fn_config_dll ole2.dll16 enable_win16
18625 wine_fn_config_dll ole2conv.dll16 enable_win16
18626 wine_fn_config_dll ole2disp.dll16 enable_win16
18627 wine_fn_config_dll ole2nls.dll16 enable_win16
18628 wine_fn_config_dll ole2prox.dll16 enable_win16
18629 wine_fn_config_dll ole2thk.dll16 enable_win16
18630 wine_fn_config_dll ole32 enable_ole32 clean,implib
18631 wine_fn_config_test dlls/ole32/tests ole32_test
18632 wine_fn_config_dll oleacc enable_oleacc clean,implib
18633 wine_fn_config_test dlls/oleacc/tests oleacc_test
18634 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
18635 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
18636 wine_fn_config_dll olecli.dll16 enable_win16
18637 wine_fn_config_dll olecli32 enable_olecli32 implib
18638 wine_fn_config_dll oledb32 enable_oledb32 clean
18639 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
18640 wine_fn_config_dll oledlg enable_oledlg clean,implib
18641 wine_fn_config_test dlls/oledlg/tests oledlg_test
18642 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
18643 wine_fn_config_dll olesvr.dll16 enable_win16
18644 wine_fn_config_dll olesvr32 enable_olesvr32 implib
18645 wine_fn_config_dll olethk32 enable_olethk32
18646 wine_fn_config_dll openal32 enable_openal32
18647 wine_fn_config_dll opencl enable_opencl
18648 wine_fn_config_dll opengl32 enable_opengl32 implib
18649 wine_fn_config_test dlls/opengl32/tests opengl32_test
18650 wine_fn_config_dll packager enable_packager clean
18651 wine_fn_config_test dlls/packager/tests packager_test
18652 wine_fn_config_dll pdh enable_pdh implib
18653 wine_fn_config_test dlls/pdh/tests pdh_test
18654 wine_fn_config_dll photometadatahandler enable_photometadatahandler
18655 wine_fn_config_dll pidgen enable_pidgen
18656 wine_fn_config_dll powrprof enable_powrprof implib
18657 wine_fn_config_dll printui enable_printui
18658 wine_fn_config_dll prntvpt enable_prntvpt
18659 wine_fn_config_dll propsys enable_propsys clean,implib
18660 wine_fn_config_test dlls/propsys/tests propsys_test
18661 wine_fn_config_dll psapi enable_psapi implib
18662 wine_fn_config_test dlls/psapi/tests psapi_test
18663 wine_fn_config_dll pstorec enable_pstorec clean
18664 wine_fn_config_test dlls/pstorec/tests pstorec_test
18665 wine_fn_config_dll qcap enable_qcap
18666 wine_fn_config_test dlls/qcap/tests qcap_test
18667 wine_fn_config_dll qedit enable_qedit clean
18668 wine_fn_config_test dlls/qedit/tests qedit_test
18669 wine_fn_config_dll qmgr enable_qmgr clean
18670 wine_fn_config_test dlls/qmgr/tests qmgr_test
18671 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
18672 wine_fn_config_dll quartz enable_quartz clean,implib
18673 wine_fn_config_test dlls/quartz/tests quartz_test clean
18674 wine_fn_config_dll query enable_query
18675 wine_fn_config_dll rasapi16.dll16 enable_win16
18676 wine_fn_config_dll rasapi32 enable_rasapi32 implib
18677 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
18678 wine_fn_config_dll rasdlg enable_rasdlg implib
18679 wine_fn_config_dll regapi enable_regapi
18680 wine_fn_config_dll resutils enable_resutils implib
18681 wine_fn_config_dll riched20 enable_riched20 clean,implib
18682 wine_fn_config_test dlls/riched20/tests riched20_test
18683 wine_fn_config_dll riched32 enable_riched32
18684 wine_fn_config_test dlls/riched32/tests riched32_test
18685 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
18686 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
18687 wine_fn_config_dll rsabase enable_rsabase
18688 wine_fn_config_dll rsaenh enable_rsaenh implib
18689 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
18690 wine_fn_config_dll rstrtmgr enable_rstrtmgr
18691 wine_fn_config_dll rtutils enable_rtutils implib
18692 wine_fn_config_dll samlib enable_samlib
18693 wine_fn_config_dll sane.ds enable_sane_ds clean
18694 wine_fn_config_dll sapi enable_sapi clean
18695 wine_fn_config_test dlls/sapi/tests sapi_test
18696 wine_fn_config_dll scarddlg enable_scarddlg
18697 wine_fn_config_dll sccbase enable_sccbase
18698 wine_fn_config_dll schannel enable_schannel
18699 wine_fn_config_test dlls/schannel/tests schannel_test
18700 wine_fn_config_dll schedsvc enable_schedsvc clean
18701 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
18702 wine_fn_config_dll scrobj enable_scrobj clean
18703 wine_fn_config_dll scrrun enable_scrrun clean
18704 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
18705 wine_fn_config_dll scsiport.sys enable_scsiport_sys
18706 wine_fn_config_dll secur32 enable_secur32 implib
18707 wine_fn_config_test dlls/secur32/tests secur32_test
18708 wine_fn_config_dll security enable_security
18709 wine_fn_config_dll sensapi enable_sensapi implib
18710 wine_fn_config_dll serialui enable_serialui clean
18711 wine_fn_config_test dlls/serialui/tests serialui_test
18712 wine_fn_config_dll setupapi enable_setupapi clean,implib
18713 wine_fn_config_test dlls/setupapi/tests setupapi_test
18714 wine_fn_config_dll setupx.dll16 enable_win16
18715 wine_fn_config_dll sfc enable_sfc implib
18716 wine_fn_config_dll sfc_os enable_sfc_os implib
18717 wine_fn_config_dll shdoclc enable_shdoclc clean
18718 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
18719 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
18720 wine_fn_config_dll shell.dll16 enable_win16
18721 wine_fn_config_dll shell32 enable_shell32 clean,implib
18722 wine_fn_config_test dlls/shell32/tests shell32_test
18723 wine_fn_config_dll shfolder enable_shfolder implib
18724 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
18725 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
18726 wine_fn_config_dll slbcsp enable_slbcsp
18727 wine_fn_config_dll slc enable_slc implib
18728 wine_fn_config_test dlls/slc/tests slc_test
18729 wine_fn_config_dll snmpapi enable_snmpapi implib
18730 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
18731 wine_fn_config_dll softpub enable_softpub
18732 wine_fn_config_dll sound.drv16 enable_win16
18733 wine_fn_config_dll spoolss enable_spoolss implib
18734 wine_fn_config_test dlls/spoolss/tests spoolss_test
18735 wine_fn_config_dll sspicli enable_sspicli
18736 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
18737 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
18738 wine_fn_config_dll sti enable_sti clean,implib
18739 wine_fn_config_test dlls/sti/tests sti_test
18740 wine_fn_config_dll storage.dll16 enable_win16
18741 wine_fn_config_dll stress.dll16 enable_win16
18742 wine_fn_config_lib strmbase
18743 wine_fn_config_lib strmiids
18744 wine_fn_config_dll svrapi enable_svrapi
18745 wine_fn_config_dll sxs enable_sxs implib
18746 wine_fn_config_test dlls/sxs/tests sxs_test
18747 wine_fn_config_dll system.drv16 enable_win16
18748 wine_fn_config_dll t2embed enable_t2embed implib
18749 wine_fn_config_test dlls/t2embed/tests t2embed_test
18750 wine_fn_config_dll tapi32 enable_tapi32 implib
18751 wine_fn_config_dll taskschd enable_taskschd clean
18752 wine_fn_config_test dlls/taskschd/tests taskschd_test
18753 wine_fn_config_dll tdh enable_tdh
18754 wine_fn_config_dll tdi.sys enable_tdi_sys
18755 wine_fn_config_dll toolhelp.dll16 enable_win16
18756 wine_fn_config_dll traffic enable_traffic
18757 wine_fn_config_dll twain.dll16 enable_win16
18758 wine_fn_config_dll twain_32 enable_twain_32
18759 wine_fn_config_test dlls/twain_32/tests twain_32_test
18760 wine_fn_config_dll typelib.dll16 enable_win16
18761 wine_fn_config_dll ucrtbase enable_ucrtbase implib
18762 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
18763 wine_fn_config_dll uiautomationcore enable_uiautomationcore
18764 wine_fn_config_dll uiribbon enable_uiribbon clean
18765 wine_fn_config_dll unicows enable_unicows implib
18766 wine_fn_config_dll updspapi enable_updspapi
18767 wine_fn_config_dll url enable_url implib
18768 wine_fn_config_dll urlmon enable_urlmon clean,implib
18769 wine_fn_config_test dlls/urlmon/tests urlmon_test
18770 wine_fn_config_dll usbd.sys enable_usbd_sys implib usbd
18771 wine_fn_config_dll user.exe16 enable_win16
18772 wine_fn_config_dll user32 enable_user32 clean,implib
18773 wine_fn_config_test dlls/user32/tests user32_test
18774 wine_fn_config_dll userenv enable_userenv implib
18775 wine_fn_config_test dlls/userenv/tests userenv_test
18776 wine_fn_config_dll usp10 enable_usp10 implib
18777 wine_fn_config_test dlls/usp10/tests usp10_test
18778 wine_fn_config_lib uuid
18779 wine_fn_config_dll uxtheme enable_uxtheme implib
18780 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
18781 wine_fn_config_dll vbscript enable_vbscript clean
18782 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
18783 wine_fn_config_dll vcomp enable_vcomp
18784 wine_fn_config_test dlls/vcomp/tests vcomp_test
18785 wine_fn_config_dll vcomp100 enable_vcomp100
18786 wine_fn_config_dll vcomp110 enable_vcomp110
18787 wine_fn_config_dll vcomp120 enable_vcomp120
18788 wine_fn_config_dll vcomp140 enable_vcomp140
18789 wine_fn_config_dll vcomp90 enable_vcomp90
18790 wine_fn_config_dll vcruntime140 enable_vcruntime140
18791 wine_fn_config_dll vdhcp.vxd enable_win16
18792 wine_fn_config_dll vdmdbg enable_vdmdbg implib
18793 wine_fn_config_dll ver.dll16 enable_win16
18794 wine_fn_config_dll version enable_version implib
18795 wine_fn_config_test dlls/version/tests version_test
18796 wine_fn_config_dll virtdisk enable_virtdisk
18797 wine_fn_config_dll vmm.vxd enable_win16
18798 wine_fn_config_dll vnbt.vxd enable_win16
18799 wine_fn_config_dll vnetbios.vxd enable_win16
18800 wine_fn_config_dll vssapi enable_vssapi
18801 wine_fn_config_dll vtdapi.vxd enable_win16
18802 wine_fn_config_dll vwin32.vxd enable_win16
18803 wine_fn_config_dll w32skrnl enable_win16
18804 wine_fn_config_dll w32sys.dll16 enable_win16
18805 wine_fn_config_dll wbemdisp enable_wbemdisp clean
18806 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
18807 wine_fn_config_dll wbemprox enable_wbemprox clean
18808 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18809 wine_fn_config_dll webservices enable_webservices implib
18810 wine_fn_config_test dlls/webservices/tests webservices_test
18811 wine_fn_config_dll wer enable_wer implib
18812 wine_fn_config_test dlls/wer/tests wer_test
18813 wine_fn_config_dll wevtapi enable_wevtapi
18814 wine_fn_config_dll wiaservc enable_wiaservc clean
18815 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18816 wine_fn_config_dll wimgapi enable_wimgapi
18817 wine_fn_config_dll win32s16.dll16 enable_win16
18818 wine_fn_config_dll win87em.dll16 enable_win16
18819 wine_fn_config_dll winaspi.dll16 enable_win16
18820 wine_fn_config_dll windebug.dll16 enable_win16
18821 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18822 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18823 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18824 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18825 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18826 wine_fn_config_dll wineandroid.drv enable_wineandroid_drv clean
18827 wine_fn_config_dll winebus.sys enable_winebus_sys
18828 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18829 wine_fn_config_lib winecrt0
18830 wine_fn_config_dll wined3d enable_wined3d implib
18831 wine_fn_config_dll winegstreamer enable_winegstreamer
18832 wine_fn_config_dll winehid.sys enable_winehid_sys
18833 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18834 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18835 wine_fn_config_dll winemapi enable_winemapi
18836 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18837 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18838 wine_fn_config_dll wineps16.drv16 enable_win16
18839 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18840 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18841 wine_fn_config_dll winex11.drv enable_winex11_drv
18842 wine_fn_config_dll wing.dll16 enable_win16
18843 wine_fn_config_dll wing32 enable_wing32
18844 wine_fn_config_dll winhttp enable_winhttp clean,implib
18845 wine_fn_config_test dlls/winhttp/tests winhttp_test
18846 wine_fn_config_dll wininet enable_wininet clean,implib
18847 wine_fn_config_test dlls/wininet/tests wininet_test
18848 wine_fn_config_dll winmm enable_winmm clean,implib
18849 wine_fn_config_test dlls/winmm/tests winmm_test
18850 wine_fn_config_dll winnls.dll16 enable_win16
18851 wine_fn_config_dll winnls32 enable_winnls32 implib
18852 wine_fn_config_dll winscard enable_winscard implib
18853 wine_fn_config_dll winsock.dll16 enable_win16
18854 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18855 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18856 wine_fn_config_dll winsta enable_winsta
18857 wine_fn_config_dll wintab.dll16 enable_win16
18858 wine_fn_config_dll wintab32 enable_wintab32 implib
18859 wine_fn_config_test dlls/wintab32/tests wintab32_test
18860 wine_fn_config_dll wintrust enable_wintrust implib
18861 wine_fn_config_test dlls/wintrust/tests wintrust_test
18862 wine_fn_config_dll winusb enable_winusb
18863 wine_fn_config_dll wlanapi enable_wlanapi implib
18864 wine_fn_config_test dlls/wlanapi/tests wlanapi_test
18865 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18866 wine_fn_config_test dlls/wldap32/tests wldap32_test
18867 wine_fn_config_dll wmasf enable_wmasf
18868 wine_fn_config_dll wmi enable_wmi
18869 wine_fn_config_dll wmiutils enable_wmiutils clean
18870 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18871 wine_fn_config_dll wmp enable_wmp clean
18872 wine_fn_config_test dlls/wmp/tests wmp_test
18873 wine_fn_config_dll wmphoto enable_wmphoto clean
18874 wine_fn_config_dll wmvcore enable_wmvcore implib
18875 wine_fn_config_test dlls/wmvcore/tests wmvcore_test
18876 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18877 wine_fn_config_dll wow32 enable_win16 implib
18878 wine_fn_config_dll wpc enable_wpc clean
18879 wine_fn_config_test dlls/wpc/tests wpc_test
18880 wine_fn_config_dll wpcap enable_wpcap
18881 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18882 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18883 wine_fn_config_dll wsdapi enable_wsdapi implib
18884 wine_fn_config_test dlls/wsdapi/tests wsdapi_test
18885 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18886 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18887 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18888 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18889 wine_fn_config_dll wsock32 enable_wsock32 implib
18890 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18891 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18892 wine_fn_config_dll wuapi enable_wuapi clean
18893 wine_fn_config_dll wuaueng enable_wuaueng
18894 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18895 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18896 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18897 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18898 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18899 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18900 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18901 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18902 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18903 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18904 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18905 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18906 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18907 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18908 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18909 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18910 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18911 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18912 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18913 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18914 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18915 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18916 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18917 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18918 wine_fn_config_dll xinput1_1 enable_xinput1_1
18919 wine_fn_config_dll xinput1_2 enable_xinput1_2
18920 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18921 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18922 wine_fn_config_dll xinput1_4 enable_xinput1_4
18923 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18924 wine_fn_config_dll xmllite enable_xmllite implib
18925 wine_fn_config_test dlls/xmllite/tests xmllite_test
18926 wine_fn_config_dll xolehlp enable_xolehlp
18927 wine_fn_config_dll xpsprint enable_xpsprint
18928 wine_fn_config_dll xpssvcs enable_xpssvcs
18929 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18930 wine_fn_config_makefile include enable_include clean,install-dev
18931 wine_fn_config_makefile libs/port enable_libs_port
18932 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18933 wine_fn_config_makefile libs/wpp enable_libs_wpp
18934 wine_fn_config_makefile loader enable_loader clean,install-lib
18935 wine_fn_config_makefile po enable_po clean
18936 wine_fn_config_program arp enable_arp install
18937 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18938 wine_fn_config_program attrib enable_attrib clean,install
18939 wine_fn_config_program cabarc enable_cabarc install
18940 wine_fn_config_program cacls enable_cacls install
18941 wine_fn_config_program clock enable_clock clean,install
18942 wine_fn_config_program cmd enable_cmd clean,install
18943 wine_fn_config_test programs/cmd/tests cmd.exe_test
18944 wine_fn_config_program conhost enable_conhost install
18945 wine_fn_config_program control enable_control install
18946 wine_fn_config_program cscript enable_cscript clean,install
18947 wine_fn_config_program dpnsvr enable_dpnsvr install
18948 wine_fn_config_program dxdiag enable_dxdiag clean,install
18949 wine_fn_config_program eject enable_eject install
18950 wine_fn_config_program expand enable_expand install
18951 wine_fn_config_program explorer enable_explorer clean,install
18952 wine_fn_config_program extrac32 enable_extrac32 install
18953 wine_fn_config_program findstr enable_findstr install
18954 wine_fn_config_program fsutil enable_fsutil install
18955 wine_fn_config_program hh enable_hh install
18956 wine_fn_config_program hostname enable_hostname clean,install
18957 wine_fn_config_program icacls enable_icacls install
18958 wine_fn_config_program icinfo enable_icinfo install
18959 wine_fn_config_program iexplore enable_iexplore install
18960 wine_fn_config_program ipconfig enable_ipconfig clean,install
18961 wine_fn_config_program lodctr enable_lodctr install
18962 wine_fn_config_program mofcomp enable_mofcomp install
18963 wine_fn_config_program mshta enable_mshta install
18964 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18965 wine_fn_config_program msinfo32 enable_msinfo32 clean,install
18966 wine_fn_config_program net enable_net clean,install
18967 wine_fn_config_program netsh enable_netsh install
18968 wine_fn_config_program netstat enable_netstat clean,install
18969 wine_fn_config_program ngen enable_ngen install
18970 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18971 wine_fn_config_program oleview enable_oleview clean,install
18972 wine_fn_config_program ping enable_ping install
18973 wine_fn_config_program plugplay enable_plugplay install
18974 wine_fn_config_program powershell enable_powershell install
18975 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18976 wine_fn_config_program progman enable_progman clean,install
18977 wine_fn_config_program reg enable_reg clean,install
18978 wine_fn_config_test programs/reg/tests reg.exe_test
18979 wine_fn_config_program regasm enable_regasm install
18980 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18981 wine_fn_config_test programs/regedit/tests regedit.exe_test
18982 wine_fn_config_program regsvcs enable_regsvcs install
18983 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18984 wine_fn_config_program rpcss enable_rpcss clean,install
18985 wine_fn_config_program rundll.exe16 enable_win16 install
18986 wine_fn_config_program rundll32 enable_rundll32 install
18987 wine_fn_config_program sc enable_sc install
18988 wine_fn_config_program schtasks enable_schtasks install
18989 wine_fn_config_program sdbinst enable_sdbinst install
18990 wine_fn_config_program secedit enable_secedit install
18991 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18992 wine_fn_config_program services enable_services clean,install
18993 wine_fn_config_test programs/services/tests services.exe_test
18994 wine_fn_config_program shutdown enable_shutdown install
18995 wine_fn_config_program spoolsv enable_spoolsv install
18996 wine_fn_config_program start enable_start clean,install
18997 wine_fn_config_program subst enable_subst install
18998 wine_fn_config_program svchost enable_svchost install
18999 wine_fn_config_program systeminfo enable_systeminfo install
19000 wine_fn_config_program taskkill enable_taskkill clean,install
19001 wine_fn_config_program tasklist enable_tasklist install
19002 wine_fn_config_program taskmgr enable_taskmgr clean,install
19003 wine_fn_config_program termsv enable_termsv install
19004 wine_fn_config_program uninstaller enable_uninstaller clean,install
19005 wine_fn_config_program unlodctr enable_unlodctr install
19006 wine_fn_config_program view enable_view clean,install
19007 wine_fn_config_program wevtutil enable_wevtutil install
19008 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
19009 wine_fn_config_program winebrowser enable_winebrowser install
19010 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
19011 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
19012 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
19013 wine_fn_config_program winedevice enable_winedevice install
19014 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
19015 wine_fn_config_program winemenubuilder enable_winemenubuilder install
19016 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
19017 wine_fn_config_program winemsibuilder enable_winemsibuilder install
19018 wine_fn_config_program winepath enable_winepath install,installbin,manpage
19019 wine_fn_config_program winetest enable_winetest clean
19020 wine_fn_config_program winevdm enable_win16 install
19021 wine_fn_config_program winhelp.exe16 enable_win16 install
19022 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
19023 wine_fn_config_program winoldap.mod16 enable_win16 install
19024 wine_fn_config_program winver enable_winver install
19025 wine_fn_config_program wmic enable_wmic clean,install
19026 wine_fn_config_program wmplayer enable_wmplayer install
19027 wine_fn_config_program wordpad enable_wordpad clean,install
19028 wine_fn_config_program write enable_write clean,install
19029 wine_fn_config_program wscript enable_wscript clean,install
19030 wine_fn_config_test programs/wscript/tests wscript.exe_test
19031 wine_fn_config_program wusa enable_wusa install
19032 wine_fn_config_program xcopy enable_xcopy clean,install
19033 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
19034 wine_fn_config_makefile server enable_server clean,install-lib
19035 wine_fn_config_tool tools clean
19036 wine_fn_config_tool tools/sfnt2fon clean
19037 wine_fn_config_tool tools/widl clean,install-dev
19038 wine_fn_config_tool tools/winebuild clean,install-dev
19039 wine_fn_config_tool tools/winedump clean,install-dev
19040 wine_fn_config_tool tools/winegcc clean,install-dev
19041 wine_fn_config_tool tools/winemaker clean,install-dev
19042 wine_fn_config_tool tools/wmc clean,install-dev
19043 wine_fn_config_tool tools/wrc clean,install-dev
19046 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19047 wine_fn_append_file CONFIGURE_TARGETS "tags"
19048 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19049 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19050 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19051 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19052 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19053 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19055 if test "x$enable_tools" != xno
19056 then
19057 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19058 ac_config_commands="$ac_config_commands tools/makedep"
19062 ac_config_commands="$ac_config_commands Makefile"
19065 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19069 if test "x$enable_maintainer_mode" = xyes
19070 then
19071 wine_fn_append_rule "configure: configure.ac aclocal.m4
19072 autoconf --warnings=all
19073 include/config.h.in: include/stamp-h.in
19074 include/stamp-h.in: configure.ac aclocal.m4
19075 autoheader --warnings=all
19076 @echo timestamp > \$@"
19079 if test "x$enable_tools" != xno
19080 then
19081 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19082 @./config.status tools/makedep
19083 Makefile: tools/makedep$ac_exeext"
19084 else
19085 wine_fn_append_rule "\$(MAKEDEP):
19086 @echo \"You need to run make in $TOOLSDIR first\" && false"
19089 if test -n "$with_wine64"
19090 then
19091 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19092 fonts server:
19093 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19094 $with_wine64/loader/wine:
19095 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19096 $with_wine64/loader/wine-preloader:
19097 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19098 clean::
19099 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19100 else
19101 WINELOADER_INSTALL="wine.inf"
19103 wine_fn_append_rule "install install-lib::
19104 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
19105 uninstall::
19106 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
19107 case $host_os in
19108 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19109 *) wine_fn_append_rule "install install-lib::
19110 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
19111 uninstall::
19112 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
19113 esac
19116 $as_echo " done" >&6
19117 cat >confcache <<\_ACEOF
19118 # This file is a shell script that caches the results of configure
19119 # tests run on this system so they can be shared between configure
19120 # scripts and configure runs, see configure's option --config-cache.
19121 # It is not useful on other systems. If it contains results you don't
19122 # want to keep, you may remove or edit it.
19124 # config.status only pays attention to the cache file if you give it
19125 # the --recheck option to rerun configure.
19127 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19128 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19129 # following values.
19131 _ACEOF
19133 # The following way of writing the cache mishandles newlines in values,
19134 # but we know of no workaround that is simple, portable, and efficient.
19135 # So, we kill variables containing newlines.
19136 # Ultrix sh set writes to stderr and can't be redirected directly,
19137 # and sets the high bit in the cache file unless we assign to the vars.
19139 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19140 eval ac_val=\$$ac_var
19141 case $ac_val in #(
19142 *${as_nl}*)
19143 case $ac_var in #(
19144 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19145 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19146 esac
19147 case $ac_var in #(
19148 _ | IFS | as_nl) ;; #(
19149 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19150 *) { eval $ac_var=; unset $ac_var;} ;;
19151 esac ;;
19152 esac
19153 done
19155 (set) 2>&1 |
19156 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19157 *${as_nl}ac_space=\ *)
19158 # `set' does not quote correctly, so add quotes: double-quote
19159 # substitution turns \\\\ into \\, and sed turns \\ into \.
19160 sed -n \
19161 "s/'/'\\\\''/g;
19162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19163 ;; #(
19165 # `set' quotes correctly as required by POSIX, so do not add quotes.
19166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19168 esac |
19169 sort
19171 sed '
19172 /^ac_cv_env_/b end
19173 t clear
19174 :clear
19175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19176 t end
19177 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19178 :end' >>confcache
19179 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19180 if test -w "$cache_file"; then
19181 if test "x$cache_file" != "x/dev/null"; then
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19183 $as_echo "$as_me: updating cache $cache_file" >&6;}
19184 if test ! -f "$cache_file" || test -h "$cache_file"; then
19185 cat confcache >"$cache_file"
19186 else
19187 case $cache_file in #(
19188 */* | ?:*)
19189 mv -f confcache "$cache_file"$$ &&
19190 mv -f "$cache_file"$$ "$cache_file" ;; #(
19192 mv -f confcache "$cache_file" ;;
19193 esac
19196 else
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19198 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19201 rm -f confcache
19203 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19204 # Let make expand exec_prefix.
19205 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19207 DEFS=-DHAVE_CONFIG_H
19209 ac_libobjs=
19210 ac_ltlibobjs=
19212 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19213 # 1. Remove the extension, and $U if already installed.
19214 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19215 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19216 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19217 # will be set to the directory where LIBOBJS objects are built.
19218 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19219 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19220 done
19221 LIBOBJS=$ac_libobjs
19223 LTLIBOBJS=$ac_ltlibobjs
19227 : "${CONFIG_STATUS=./config.status}"
19228 ac_write_fail=0
19229 ac_clean_files_save=$ac_clean_files
19230 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19232 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19233 as_write_fail=0
19234 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19235 #! $SHELL
19236 # Generated by $as_me.
19237 # Run this file to recreate the current configuration.
19238 # Compiler output produced by configure, useful for debugging
19239 # configure, is in config.log if it exists.
19241 debug=false
19242 ac_cs_recheck=false
19243 ac_cs_silent=false
19245 SHELL=\${CONFIG_SHELL-$SHELL}
19246 export SHELL
19247 _ASEOF
19248 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19249 ## -------------------- ##
19250 ## M4sh Initialization. ##
19251 ## -------------------- ##
19253 # Be more Bourne compatible
19254 DUALCASE=1; export DUALCASE # for MKS sh
19255 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19256 emulate sh
19257 NULLCMD=:
19258 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19259 # is contrary to our usage. Disable this feature.
19260 alias -g '${1+"$@"}'='"$@"'
19261 setopt NO_GLOB_SUBST
19262 else
19263 case `(set -o) 2>/dev/null` in #(
19264 *posix*) :
19265 set -o posix ;; #(
19266 *) :
19268 esac
19272 as_nl='
19274 export as_nl
19275 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19276 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19277 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19278 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19279 # Prefer a ksh shell builtin over an external printf program on Solaris,
19280 # but without wasting forks for bash or zsh.
19281 if test -z "$BASH_VERSION$ZSH_VERSION" \
19282 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19283 as_echo='print -r --'
19284 as_echo_n='print -rn --'
19285 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19286 as_echo='printf %s\n'
19287 as_echo_n='printf %s'
19288 else
19289 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19290 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19291 as_echo_n='/usr/ucb/echo -n'
19292 else
19293 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19294 as_echo_n_body='eval
19295 arg=$1;
19296 case $arg in #(
19297 *"$as_nl"*)
19298 expr "X$arg" : "X\\(.*\\)$as_nl";
19299 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19300 esac;
19301 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19303 export as_echo_n_body
19304 as_echo_n='sh -c $as_echo_n_body as_echo'
19306 export as_echo_body
19307 as_echo='sh -c $as_echo_body as_echo'
19310 # The user is always right.
19311 if test "${PATH_SEPARATOR+set}" != set; then
19312 PATH_SEPARATOR=:
19313 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19314 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19315 PATH_SEPARATOR=';'
19320 # IFS
19321 # We need space, tab and new line, in precisely that order. Quoting is
19322 # there to prevent editors from complaining about space-tab.
19323 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19324 # splitting by setting IFS to empty value.)
19325 IFS=" "" $as_nl"
19327 # Find who we are. Look in the path if we contain no directory separator.
19328 as_myself=
19329 case $0 in #((
19330 *[\\/]* ) as_myself=$0 ;;
19331 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19332 for as_dir in $PATH
19334 IFS=$as_save_IFS
19335 test -z "$as_dir" && as_dir=.
19336 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19337 done
19338 IFS=$as_save_IFS
19341 esac
19342 # We did not find ourselves, most probably we were run as `sh COMMAND'
19343 # in which case we are not to be found in the path.
19344 if test "x$as_myself" = x; then
19345 as_myself=$0
19347 if test ! -f "$as_myself"; then
19348 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19349 exit 1
19352 # Unset variables that we do not need and which cause bugs (e.g. in
19353 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19354 # suppresses any "Segmentation fault" message there. '((' could
19355 # trigger a bug in pdksh 5.2.14.
19356 for as_var in BASH_ENV ENV MAIL MAILPATH
19357 do eval test x\${$as_var+set} = xset \
19358 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19359 done
19360 PS1='$ '
19361 PS2='> '
19362 PS4='+ '
19364 # NLS nuisances.
19365 LC_ALL=C
19366 export LC_ALL
19367 LANGUAGE=C
19368 export LANGUAGE
19370 # CDPATH.
19371 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19374 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19375 # ----------------------------------------
19376 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19377 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19378 # script with STATUS, using 1 if that was 0.
19379 as_fn_error ()
19381 as_status=$1; test $as_status -eq 0 && as_status=1
19382 if test "$4"; then
19383 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19384 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19386 $as_echo "$as_me: error: $2" >&2
19387 as_fn_exit $as_status
19388 } # as_fn_error
19391 # as_fn_set_status STATUS
19392 # -----------------------
19393 # Set $? to STATUS, without forking.
19394 as_fn_set_status ()
19396 return $1
19397 } # as_fn_set_status
19399 # as_fn_exit STATUS
19400 # -----------------
19401 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19402 as_fn_exit ()
19404 set +e
19405 as_fn_set_status $1
19406 exit $1
19407 } # as_fn_exit
19409 # as_fn_unset VAR
19410 # ---------------
19411 # Portably unset VAR.
19412 as_fn_unset ()
19414 { eval $1=; unset $1;}
19416 as_unset=as_fn_unset
19417 # as_fn_append VAR VALUE
19418 # ----------------------
19419 # Append the text in VALUE to the end of the definition contained in VAR. Take
19420 # advantage of any shell optimizations that allow amortized linear growth over
19421 # repeated appends, instead of the typical quadratic growth present in naive
19422 # implementations.
19423 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19424 eval 'as_fn_append ()
19426 eval $1+=\$2
19428 else
19429 as_fn_append ()
19431 eval $1=\$$1\$2
19433 fi # as_fn_append
19435 # as_fn_arith ARG...
19436 # ------------------
19437 # Perform arithmetic evaluation on the ARGs, and store the result in the
19438 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19439 # must be portable across $(()) and expr.
19440 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19441 eval 'as_fn_arith ()
19443 as_val=$(( $* ))
19445 else
19446 as_fn_arith ()
19448 as_val=`expr "$@" || test $? -eq 1`
19450 fi # as_fn_arith
19453 if expr a : '\(a\)' >/dev/null 2>&1 &&
19454 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19455 as_expr=expr
19456 else
19457 as_expr=false
19460 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19461 as_basename=basename
19462 else
19463 as_basename=false
19466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19467 as_dirname=dirname
19468 else
19469 as_dirname=false
19472 as_me=`$as_basename -- "$0" ||
19473 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19474 X"$0" : 'X\(//\)$' \| \
19475 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19476 $as_echo X/"$0" |
19477 sed '/^.*\/\([^/][^/]*\)\/*$/{
19478 s//\1/
19481 /^X\/\(\/\/\)$/{
19482 s//\1/
19485 /^X\/\(\/\).*/{
19486 s//\1/
19489 s/.*/./; q'`
19491 # Avoid depending upon Character Ranges.
19492 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19493 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19494 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19495 as_cr_digits='0123456789'
19496 as_cr_alnum=$as_cr_Letters$as_cr_digits
19498 ECHO_C= ECHO_N= ECHO_T=
19499 case `echo -n x` in #(((((
19500 -n*)
19501 case `echo 'xy\c'` in
19502 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19503 xy) ECHO_C='\c';;
19504 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19505 ECHO_T=' ';;
19506 esac;;
19508 ECHO_N='-n';;
19509 esac
19511 rm -f conf$$ conf$$.exe conf$$.file
19512 if test -d conf$$.dir; then
19513 rm -f conf$$.dir/conf$$.file
19514 else
19515 rm -f conf$$.dir
19516 mkdir conf$$.dir 2>/dev/null
19518 if (echo >conf$$.file) 2>/dev/null; then
19519 if ln -s conf$$.file conf$$ 2>/dev/null; then
19520 as_ln_s='ln -s'
19521 # ... but there are two gotchas:
19522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19524 # In both cases, we have to default to `cp -pR'.
19525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19526 as_ln_s='cp -pR'
19527 elif ln conf$$.file conf$$ 2>/dev/null; then
19528 as_ln_s=ln
19529 else
19530 as_ln_s='cp -pR'
19532 else
19533 as_ln_s='cp -pR'
19535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19536 rmdir conf$$.dir 2>/dev/null
19539 # as_fn_mkdir_p
19540 # -------------
19541 # Create "$as_dir" as a directory, including parents if necessary.
19542 as_fn_mkdir_p ()
19545 case $as_dir in #(
19546 -*) as_dir=./$as_dir;;
19547 esac
19548 test -d "$as_dir" || eval $as_mkdir_p || {
19549 as_dirs=
19550 while :; do
19551 case $as_dir in #(
19552 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19553 *) as_qdir=$as_dir;;
19554 esac
19555 as_dirs="'$as_qdir' $as_dirs"
19556 as_dir=`$as_dirname -- "$as_dir" ||
19557 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19558 X"$as_dir" : 'X\(//\)[^/]' \| \
19559 X"$as_dir" : 'X\(//\)$' \| \
19560 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19561 $as_echo X"$as_dir" |
19562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19563 s//\1/
19566 /^X\(\/\/\)[^/].*/{
19567 s//\1/
19570 /^X\(\/\/\)$/{
19571 s//\1/
19574 /^X\(\/\).*/{
19575 s//\1/
19578 s/.*/./; q'`
19579 test -d "$as_dir" && break
19580 done
19581 test -z "$as_dirs" || eval "mkdir $as_dirs"
19582 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19585 } # as_fn_mkdir_p
19586 if mkdir -p . 2>/dev/null; then
19587 as_mkdir_p='mkdir -p "$as_dir"'
19588 else
19589 test -d ./-p && rmdir ./-p
19590 as_mkdir_p=false
19594 # as_fn_executable_p FILE
19595 # -----------------------
19596 # Test if FILE is an executable regular file.
19597 as_fn_executable_p ()
19599 test -f "$1" && test -x "$1"
19600 } # as_fn_executable_p
19601 as_test_x='test -x'
19602 as_executable_p=as_fn_executable_p
19604 # Sed expression to map a string onto a valid CPP name.
19605 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19607 # Sed expression to map a string onto a valid variable name.
19608 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19611 exec 6>&1
19612 ## ----------------------------------- ##
19613 ## Main body of $CONFIG_STATUS script. ##
19614 ## ----------------------------------- ##
19615 _ASEOF
19616 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19619 # Save the log message, to keep $0 and so on meaningful, and to
19620 # report actual input values of CONFIG_FILES etc. instead of their
19621 # values after options handling.
19622 ac_log="
19623 This file was extended by Wine $as_me 2.19, which was
19624 generated by GNU Autoconf 2.69. Invocation command line was
19626 CONFIG_FILES = $CONFIG_FILES
19627 CONFIG_HEADERS = $CONFIG_HEADERS
19628 CONFIG_LINKS = $CONFIG_LINKS
19629 CONFIG_COMMANDS = $CONFIG_COMMANDS
19630 $ $0 $@
19632 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19635 _ACEOF
19637 case $ac_config_files in *"
19638 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19639 esac
19641 case $ac_config_headers in *"
19642 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19643 esac
19646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19647 # Files that config.status was made for.
19648 config_files="$ac_config_files"
19649 config_headers="$ac_config_headers"
19650 config_links="$ac_config_links"
19651 config_commands="$ac_config_commands"
19653 _ACEOF
19655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19656 ac_cs_usage="\
19657 \`$as_me' instantiates files and other configuration actions
19658 from templates according to the current configuration. Unless the files
19659 and actions are specified as TAGs, all are instantiated by default.
19661 Usage: $0 [OPTION]... [TAG]...
19663 -h, --help print this help, then exit
19664 -V, --version print version number and configuration settings, then exit
19665 --config print configuration, then exit
19666 -q, --quiet, --silent
19667 do not print progress messages
19668 -d, --debug don't remove temporary files
19669 --recheck update $as_me by reconfiguring in the same conditions
19670 --file=FILE[:TEMPLATE]
19671 instantiate the configuration file FILE
19672 --header=FILE[:TEMPLATE]
19673 instantiate the configuration header FILE
19675 Configuration files:
19676 $config_files
19678 Configuration headers:
19679 $config_headers
19681 Configuration links:
19682 $config_links
19684 Configuration commands:
19685 $config_commands
19687 Report bugs to <wine-devel@winehq.org>.
19688 Wine home page: <http://www.winehq.org>."
19690 _ACEOF
19691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19692 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19693 ac_cs_version="\\
19694 Wine config.status 2.19
19695 configured by $0, generated by GNU Autoconf 2.69,
19696 with options \\"\$ac_cs_config\\"
19698 Copyright (C) 2012 Free Software Foundation, Inc.
19699 This config.status script is free software; the Free Software Foundation
19700 gives unlimited permission to copy, distribute and modify it."
19702 ac_pwd='$ac_pwd'
19703 srcdir='$srcdir'
19704 test -n "\$AWK" || AWK=awk
19705 _ACEOF
19707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19708 # The default lists apply if the user does not specify any file.
19709 ac_need_defaults=:
19710 while test $# != 0
19712 case $1 in
19713 --*=?*)
19714 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19715 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19716 ac_shift=:
19718 --*=)
19719 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19720 ac_optarg=
19721 ac_shift=:
19724 ac_option=$1
19725 ac_optarg=$2
19726 ac_shift=shift
19728 esac
19730 case $ac_option in
19731 # Handling of the options.
19732 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19733 ac_cs_recheck=: ;;
19734 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19735 $as_echo "$ac_cs_version"; exit ;;
19736 --config | --confi | --conf | --con | --co | --c )
19737 $as_echo "$ac_cs_config"; exit ;;
19738 --debug | --debu | --deb | --de | --d | -d )
19739 debug=: ;;
19740 --file | --fil | --fi | --f )
19741 $ac_shift
19742 case $ac_optarg in
19743 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19744 '') as_fn_error $? "missing file argument" ;;
19745 esac
19746 as_fn_append CONFIG_FILES " '$ac_optarg'"
19747 ac_need_defaults=false;;
19748 --header | --heade | --head | --hea )
19749 $ac_shift
19750 case $ac_optarg in
19751 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19752 esac
19753 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19754 ac_need_defaults=false;;
19755 --he | --h)
19756 # Conflict between --help and --header
19757 as_fn_error $? "ambiguous option: \`$1'
19758 Try \`$0 --help' for more information.";;
19759 --help | --hel | -h )
19760 $as_echo "$ac_cs_usage"; exit ;;
19761 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19762 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19763 ac_cs_silent=: ;;
19765 # This is an error.
19766 -*) as_fn_error $? "unrecognized option: \`$1'
19767 Try \`$0 --help' for more information." ;;
19769 *) as_fn_append ac_config_targets " $1"
19770 ac_need_defaults=false ;;
19772 esac
19773 shift
19774 done
19776 ac_configure_extra_args=
19778 if $ac_cs_silent; then
19779 exec 6>/dev/null
19780 ac_configure_extra_args="$ac_configure_extra_args --silent"
19783 _ACEOF
19784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19785 if \$ac_cs_recheck; then
19786 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19787 shift
19788 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19789 CONFIG_SHELL='$SHELL'
19790 export CONFIG_SHELL
19791 exec "\$@"
19794 _ACEOF
19795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19796 exec 5>>config.log
19798 echo
19799 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19800 ## Running $as_me. ##
19801 _ASBOX
19802 $as_echo "$ac_log"
19803 } >&5
19805 _ACEOF
19806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19808 # INIT-COMMANDS
19810 wine_fn_output_makedep ()
19812 as_dir=tools; as_fn_mkdir_p
19813 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19815 wine_fn_output_makefile ()
19817 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19818 `cat $wine_rules_file`
19819 _WINE_EOF
19820 as_fn_error $? "could not create Makefile" "$LINENO" 5
19823 _ACEOF
19825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19827 # Handling of arguments.
19828 for ac_config_target in $ac_config_targets
19830 case $ac_config_target in
19831 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19832 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19833 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19834 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19835 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19836 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19837 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19838 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19839 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19840 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19841 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19842 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19843 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19845 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19846 esac
19847 done
19850 # If the user did not use the arguments to specify the items to instantiate,
19851 # then the envvar interface is used. Set only those that are not.
19852 # We use the long form for the default assignment because of an extremely
19853 # bizarre bug on SunOS 4.1.3.
19854 if $ac_need_defaults; then
19855 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19856 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19857 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19858 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19861 # Have a temporary directory for convenience. Make it in the build tree
19862 # simply because there is no reason against having it here, and in addition,
19863 # creating and moving files from /tmp can sometimes cause problems.
19864 # Hook for its removal unless debugging.
19865 # Note that there is a small window in which the directory will not be cleaned:
19866 # after its creation but before its name has been assigned to `$tmp'.
19867 $debug ||
19869 tmp= ac_tmp=
19870 trap 'exit_status=$?
19871 : "${ac_tmp:=$tmp}"
19872 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19874 trap 'as_fn_exit 1' 1 2 13 15
19876 # Create a (secure) tmp directory for tmp files.
19879 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19880 test -d "$tmp"
19881 } ||
19883 tmp=./conf$$-$RANDOM
19884 (umask 077 && mkdir "$tmp")
19885 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19886 ac_tmp=$tmp
19888 # Set up the scripts for CONFIG_FILES section.
19889 # No need to generate them if there are no CONFIG_FILES.
19890 # This happens for instance with `./config.status config.h'.
19891 if test -n "$CONFIG_FILES"; then
19894 ac_cr=`echo X | tr X '\015'`
19895 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19896 # But we know of no other shell where ac_cr would be empty at this
19897 # point, so we can use a bashism as a fallback.
19898 if test "x$ac_cr" = x; then
19899 eval ac_cr=\$\'\\r\'
19901 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19902 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19903 ac_cs_awk_cr='\\r'
19904 else
19905 ac_cs_awk_cr=$ac_cr
19908 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19909 _ACEOF
19913 echo "cat >conf$$subs.awk <<_ACEOF" &&
19914 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19915 echo "_ACEOF"
19916 } >conf$$subs.sh ||
19917 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19918 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19919 ac_delim='%!_!# '
19920 for ac_last_try in false false false false false :; do
19921 . ./conf$$subs.sh ||
19922 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19924 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19925 if test $ac_delim_n = $ac_delim_num; then
19926 break
19927 elif $ac_last_try; then
19928 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19929 else
19930 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19932 done
19933 rm -f conf$$subs.sh
19935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19936 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19937 _ACEOF
19938 sed -n '
19940 s/^/S["/; s/!.*/"]=/
19943 s/^[^!]*!//
19944 :repl
19945 t repl
19946 s/'"$ac_delim"'$//
19947 t delim
19950 s/\(.\{148\}\)..*/\1/
19951 t more1
19952 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19955 b repl
19956 :more1
19957 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19960 s/.\{148\}//
19961 t nl
19962 :delim
19964 s/\(.\{148\}\)..*/\1/
19965 t more2
19966 s/["\\]/\\&/g; s/^/"/; s/$/"/
19969 :more2
19970 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19973 s/.\{148\}//
19974 t delim
19975 ' <conf$$subs.awk | sed '
19976 /^[^""]/{
19978 s/\n//
19980 ' >>$CONFIG_STATUS || ac_write_fail=1
19981 rm -f conf$$subs.awk
19982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19983 _ACAWK
19984 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19985 for (key in S) S_is_set[key] = 1
19986 FS = "\a"
19990 line = $ 0
19991 nfields = split(line, field, "@")
19992 substed = 0
19993 len = length(field[1])
19994 for (i = 2; i < nfields; i++) {
19995 key = field[i]
19996 keylen = length(key)
19997 if (S_is_set[key]) {
19998 value = S[key]
19999 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20000 len += length(value) + length(field[++i])
20001 substed = 1
20002 } else
20003 len += 1 + keylen
20006 print line
20009 _ACAWK
20010 _ACEOF
20011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20012 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20013 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20014 else
20016 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20017 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20018 _ACEOF
20020 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20021 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20022 # trailing colons and then remove the whole line if VPATH becomes empty
20023 # (actually we leave an empty line to preserve line numbers).
20024 if test "x$srcdir" = x.; then
20025 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20027 s///
20028 s/^/:/
20029 s/[ ]*$/:/
20030 s/:\$(srcdir):/:/g
20031 s/:\${srcdir}:/:/g
20032 s/:@srcdir@:/:/g
20033 s/^:*//
20034 s/:*$//
20036 s/\(=[ ]*\).*/\1/
20038 s/\n//
20039 s/^[^=]*=[ ]*$//
20043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20044 fi # test -n "$CONFIG_FILES"
20046 # Set up the scripts for CONFIG_HEADERS section.
20047 # No need to generate them if there are no CONFIG_HEADERS.
20048 # This happens for instance with `./config.status Makefile'.
20049 if test -n "$CONFIG_HEADERS"; then
20050 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20051 BEGIN {
20052 _ACEOF
20054 # Transform confdefs.h into an awk script `defines.awk', embedded as
20055 # here-document in config.status, that substitutes the proper values into
20056 # config.h.in to produce config.h.
20058 # Create a delimiter string that does not exist in confdefs.h, to ease
20059 # handling of long lines.
20060 ac_delim='%!_!# '
20061 for ac_last_try in false false :; do
20062 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20063 if test -z "$ac_tt"; then
20064 break
20065 elif $ac_last_try; then
20066 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20067 else
20068 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20070 done
20072 # For the awk script, D is an array of macro values keyed by name,
20073 # likewise P contains macro parameters if any. Preserve backslash
20074 # newline sequences.
20076 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20077 sed -n '
20078 s/.\{148\}/&'"$ac_delim"'/g
20079 t rset
20080 :rset
20081 s/^[ ]*#[ ]*define[ ][ ]*/ /
20082 t def
20084 :def
20085 s/\\$//
20086 t bsnl
20087 s/["\\]/\\&/g
20088 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20089 D["\1"]=" \3"/p
20090 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20092 :bsnl
20093 s/["\\]/\\&/g
20094 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20095 D["\1"]=" \3\\\\\\n"\\/p
20096 t cont
20097 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20098 t cont
20100 :cont
20102 s/.\{148\}/&'"$ac_delim"'/g
20103 t clear
20104 :clear
20105 s/\\$//
20106 t bsnlc
20107 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20109 :bsnlc
20110 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20111 b cont
20112 ' <confdefs.h | sed '
20113 s/'"$ac_delim"'/"\\\
20114 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20117 for (key in D) D_is_set[key] = 1
20118 FS = "\a"
20120 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20121 line = \$ 0
20122 split(line, arg, " ")
20123 if (arg[1] == "#") {
20124 defundef = arg[2]
20125 mac1 = arg[3]
20126 } else {
20127 defundef = substr(arg[1], 2)
20128 mac1 = arg[2]
20130 split(mac1, mac2, "(") #)
20131 macro = mac2[1]
20132 prefix = substr(line, 1, index(line, defundef) - 1)
20133 if (D_is_set[macro]) {
20134 # Preserve the white space surrounding the "#".
20135 print prefix "define", macro P[macro] D[macro]
20136 next
20137 } else {
20138 # Replace #undef with comments. This is necessary, for example,
20139 # in the case of _POSIX_SOURCE, which is predefined and required
20140 # on some systems where configure will not decide to define it.
20141 if (defundef == "undef") {
20142 print "/*", prefix defundef, macro, "*/"
20143 next
20147 { print }
20148 _ACAWK
20149 _ACEOF
20150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20151 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20152 fi # test -n "$CONFIG_HEADERS"
20155 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20156 shift
20157 for ac_tag
20159 case $ac_tag in
20160 :[FHLC]) ac_mode=$ac_tag; continue;;
20161 esac
20162 case $ac_mode$ac_tag in
20163 :[FHL]*:*);;
20164 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20165 :[FH]-) ac_tag=-:-;;
20166 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20167 esac
20168 ac_save_IFS=$IFS
20169 IFS=:
20170 set x $ac_tag
20171 IFS=$ac_save_IFS
20172 shift
20173 ac_file=$1
20174 shift
20176 case $ac_mode in
20177 :L) ac_source=$1;;
20178 :[FH])
20179 ac_file_inputs=
20180 for ac_f
20182 case $ac_f in
20183 -) ac_f="$ac_tmp/stdin";;
20184 *) # Look for the file first in the build tree, then in the source tree
20185 # (if the path is not absolute). The absolute path cannot be DOS-style,
20186 # because $ac_f cannot contain `:'.
20187 test -f "$ac_f" ||
20188 case $ac_f in
20189 [\\/$]*) false;;
20190 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20191 esac ||
20192 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20193 esac
20194 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20195 as_fn_append ac_file_inputs " '$ac_f'"
20196 done
20198 # Let's still pretend it is `configure' which instantiates (i.e., don't
20199 # use $as_me), people would be surprised to read:
20200 # /* config.h. Generated by config.status. */
20201 configure_input='Generated from '`
20202 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20203 `' by configure.'
20204 if test x"$ac_file" != x-; then
20205 configure_input="$ac_file. $configure_input"
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20207 $as_echo "$as_me: creating $ac_file" >&6;}
20209 # Neutralize special characters interpreted by sed in replacement strings.
20210 case $configure_input in #(
20211 *\&* | *\|* | *\\* )
20212 ac_sed_conf_input=`$as_echo "$configure_input" |
20213 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20214 *) ac_sed_conf_input=$configure_input;;
20215 esac
20217 case $ac_tag in
20218 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20220 esac
20222 esac
20224 ac_dir=`$as_dirname -- "$ac_file" ||
20225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20226 X"$ac_file" : 'X\(//\)[^/]' \| \
20227 X"$ac_file" : 'X\(//\)$' \| \
20228 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20229 $as_echo X"$ac_file" |
20230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20231 s//\1/
20234 /^X\(\/\/\)[^/].*/{
20235 s//\1/
20238 /^X\(\/\/\)$/{
20239 s//\1/
20242 /^X\(\/\).*/{
20243 s//\1/
20246 s/.*/./; q'`
20247 as_dir="$ac_dir"; as_fn_mkdir_p
20248 ac_builddir=.
20250 case "$ac_dir" in
20251 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20253 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20254 # A ".." for each directory in $ac_dir_suffix.
20255 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20256 case $ac_top_builddir_sub in
20257 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20258 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20259 esac ;;
20260 esac
20261 ac_abs_top_builddir=$ac_pwd
20262 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20263 # for backward compatibility:
20264 ac_top_builddir=$ac_top_build_prefix
20266 case $srcdir in
20267 .) # We are building in place.
20268 ac_srcdir=.
20269 ac_top_srcdir=$ac_top_builddir_sub
20270 ac_abs_top_srcdir=$ac_pwd ;;
20271 [\\/]* | ?:[\\/]* ) # Absolute name.
20272 ac_srcdir=$srcdir$ac_dir_suffix;
20273 ac_top_srcdir=$srcdir
20274 ac_abs_top_srcdir=$srcdir ;;
20275 *) # Relative name.
20276 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20277 ac_top_srcdir=$ac_top_build_prefix$srcdir
20278 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20279 esac
20280 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20283 case $ac_mode in
20286 # CONFIG_FILE
20289 _ACEOF
20291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20292 # If the template does not know about datarootdir, expand it.
20293 # FIXME: This hack should be removed a few years after 2.60.
20294 ac_datarootdir_hack=; ac_datarootdir_seen=
20295 ac_sed_dataroot='
20296 /datarootdir/ {
20300 /@datadir@/p
20301 /@docdir@/p
20302 /@infodir@/p
20303 /@localedir@/p
20304 /@mandir@/p'
20305 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20306 *datarootdir*) ac_datarootdir_seen=yes;;
20307 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20309 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20310 _ACEOF
20311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20312 ac_datarootdir_hack='
20313 s&@datadir@&$datadir&g
20314 s&@docdir@&$docdir&g
20315 s&@infodir@&$infodir&g
20316 s&@localedir@&$localedir&g
20317 s&@mandir@&$mandir&g
20318 s&\\\${datarootdir}&$datarootdir&g' ;;
20319 esac
20320 _ACEOF
20322 # Neutralize VPATH when `$srcdir' = `.'.
20323 # Shell code in configure.ac might set extrasub.
20324 # FIXME: do we really want to maintain this feature?
20325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20326 ac_sed_extra="$ac_vpsub
20327 $extrasub
20328 _ACEOF
20329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20331 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20332 s|@configure_input@|$ac_sed_conf_input|;t t
20333 s&@top_builddir@&$ac_top_builddir_sub&;t t
20334 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20335 s&@srcdir@&$ac_srcdir&;t t
20336 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20337 s&@top_srcdir@&$ac_top_srcdir&;t t
20338 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20339 s&@builddir@&$ac_builddir&;t t
20340 s&@abs_builddir@&$ac_abs_builddir&;t t
20341 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20342 $ac_datarootdir_hack
20344 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20345 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20347 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20348 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20349 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20350 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20352 which seems to be undefined. Please make sure it is defined" >&5
20353 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20354 which seems to be undefined. Please make sure it is defined" >&2;}
20356 rm -f "$ac_tmp/stdin"
20357 case $ac_file in
20358 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20359 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20360 esac \
20361 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20365 # CONFIG_HEADER
20367 if test x"$ac_file" != x-; then
20369 $as_echo "/* $configure_input */" \
20370 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20371 } >"$ac_tmp/config.h" \
20372 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20373 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20375 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20376 else
20377 rm -f "$ac_file"
20378 mv "$ac_tmp/config.h" "$ac_file" \
20379 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20381 else
20382 $as_echo "/* $configure_input */" \
20383 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20384 || as_fn_error $? "could not create -" "$LINENO" 5
20389 # CONFIG_LINK
20392 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20394 else
20395 # Prefer the file from the source tree if names are identical.
20396 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20397 ac_source=$srcdir/$ac_source
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20401 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20403 if test ! -r "$ac_source"; then
20404 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20406 rm -f "$ac_file"
20408 # Try a relative symlink, then a hard link, then a copy.
20409 case $ac_source in
20410 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20411 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20412 esac
20413 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20414 ln "$ac_source" "$ac_file" 2>/dev/null ||
20415 cp -p "$ac_source" "$ac_file" ||
20416 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20419 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20420 $as_echo "$as_me: executing $ac_file commands" >&6;}
20422 esac
20425 case $ac_file$ac_mode in
20426 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20427 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20428 "Makefile":C) wine_fn_output_makefile Makefile ;;
20430 esac
20431 done # for ac_tag
20434 as_fn_exit 0
20435 _ACEOF
20436 ac_clean_files=$ac_clean_files_save
20438 test $ac_write_fail = 0 ||
20439 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20442 # configure is writing to config.log, and then calls config.status.
20443 # config.status does its own redirection, appending to config.log.
20444 # Unfortunately, on DOS this fails, as config.log is still kept open
20445 # by configure, so config.status won't be able to write to it; its
20446 # output is simply discarded. So we exec the FD to /dev/null,
20447 # effectively closing config.log, so it can be properly (re)opened and
20448 # appended to by config.status. When coming back to configure, we
20449 # need to make the FD available again.
20450 if test "$no_create" != yes; then
20451 ac_cs_success=:
20452 ac_config_status_args=
20453 test "$silent" = yes &&
20454 ac_config_status_args="$ac_config_status_args --quiet"
20455 exec 5>/dev/null
20456 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20457 exec 5>>config.log
20458 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20459 # would make configure fail if this is the last instruction.
20460 $ac_cs_success || as_fn_exit 1
20462 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20464 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20468 if test "$no_create" = "yes"
20469 then
20470 exit 0
20473 ac_save_IFS="$IFS"
20474 if test "x$wine_notices" != x; then
20475 echo >&6
20476 IFS="|"
20477 for msg in $wine_notices; do
20478 IFS="$ac_save_IFS"
20479 if ${msg:+false} :; then :
20481 else
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20483 $as_echo "$as_me: $msg" >&6;}
20485 done
20487 IFS="|"
20488 for msg in $wine_warnings; do
20489 IFS="$ac_save_IFS"
20490 if ${msg:+false} :; then :
20492 else
20493 echo >&2
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20495 $as_echo "$as_me: WARNING: $msg" >&2;}
20497 done
20498 IFS="$ac_save_IFS"
20500 $as_echo "
20501 $as_me: Finished. Do '${ac_make}' to compile Wine.
20502 " >&6