wined3d: Avoid storing rectangle pointers in struct wined3d_cs_present.
[wine.git] / configure
blob4d39f0528c28640fc6e30705468bf540a4225e47
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.6.
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='1.9.6'
584 PACKAGE_STRING='Wine 1.9.6'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='http://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 UNWINDFLAGS
635 EXCESS_PRECISION_CFLAGS
636 BUILTINFLAG
637 EXTRACFLAGS
638 NETAPI_LIBS
639 NETAPI_CFLAGS
640 PROCSTAT_LIBS
641 KSTAT_LIBS
642 MPG123_LIBS
643 MPG123_CFLAGS
644 TIFF_LIBS
645 TIFF_CFLAGS
646 PNG_LIBS
647 PNG_CFLAGS
648 JPEG_LIBS
649 JPEG_CFLAGS
650 FONTCONFIG_LIBS
651 FONTCONFIG_CFLAGS
652 CUPS_CFLAGS
653 CAPI20_LIBS
654 CAPI20_CFLAGS
655 OSS4_CFLAGS
656 ALSA_LIBS
657 GSTREAMER_LIBS
658 GSTREAMER_CFLAGS
659 PULSE_LIBS
660 PULSE_CFLAGS
661 GETTEXTPO_LIBS
662 Z_LIBS
663 FREETYPE_LIBS
664 FREETYPE_CFLAGS
665 LCMS2_LIBS
666 LCMS2_CFLAGS
667 RESOLV_LIBS
668 GPHOTO2_PORT_LIBS
669 GPHOTO2_PORT_CFLAGS
670 GPHOTO2_LIBS
671 GPHOTO2_CFLAGS
672 SANE_LIBS
673 SANE_CFLAGS
674 GNUTLS_LIBS
675 GNUTLS_CFLAGS
676 HAL_LIBS
677 HAL_CFLAGS
678 DBUS_LIBS
679 DBUS_CFLAGS
680 XSLT_LIBS
681 XSLT_CFLAGS
682 XML2_LIBS
683 XML2_CFLAGS
684 PCAP_LIBS
685 X_EXTRA_LIBS
686 X_LIBS
687 X_PRE_LIBS
688 X_CFLAGS
689 XMKMF
690 PTHREAD_LIBS
691 CROSSCC
692 CROSSTARGET
693 PRELINK
694 WINELOADER_DEPENDS
695 CARBON_LIBS
696 QUICKTIME_LIBS
697 OPENCL_LIBS
698 OPENAL_LIBS
699 COREAUDIO_LIBS
700 SECURITY_LIBS
701 DISKARBITRATION_LIBS
702 APPKIT_LIBS
703 CORESERVICES_LIBS
704 APPLICATIONSERVICES_LIBS
705 FORCEFEEDBACK_LIBS
706 IOKIT_LIBS
707 COREFOUNDATION_LIBS
708 LIBWINE_DEPENDS
709 LIBWINE_LDFLAGS
710 LIBWINE_INSTALL_DEV
711 LIBWINE_INSTALL_LIB
712 LIBWINE_IMPORTLIB
713 LIBWINE_SHAREDLIB
714 SOCKET_LIBS
715 DLLTOOL
716 WINELOADER_PROGRAMS
717 ALL_TEST_RESOURCES
718 CONFIGURE_TARGETS
719 DISABLED_SUBDIRS
720 SUBDIRS
721 READELF
722 OTOOL
724 LDEXECFLAGS
725 LDRPATH_LOCAL
726 LDRPATH_INSTALL
727 DLLFLAGS
728 dlldir
730 OPENGL_LIBS
731 ICOTOOL
732 CONVERT
733 RSVG
734 FONTFORGE
735 PKG_CONFIG
736 MSGFMT
737 LDCONFIG
738 EGREP
739 GREP
740 LN_S
741 RANLIB
742 ARFLAGS
743 STRIP
744 ac_ct_AR
746 BISON
747 FLEX
748 TOOLSDIR
749 TARGETFLAGS
751 CPPBIN
752 ac_ct_CXX
753 CXXFLAGS
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
762 SET_MAKE
763 host_os
764 host_vendor
765 host_cpu
766 host
767 build_os
768 build_vendor
769 build_cpu
770 build
771 target_alias
772 host_alias
773 build_alias
774 LIBS
775 ECHO_T
776 ECHO_N
777 ECHO_C
778 DEFS
779 mandir
780 localedir
781 libdir
782 psdir
783 pdfdir
784 dvidir
785 htmldir
786 infodir
787 docdir
788 oldincludedir
789 includedir
790 runstatedir
791 localstatedir
792 sharedstatedir
793 sysconfdir
794 datadir
795 datarootdir
796 libexecdir
797 sbindir
798 bindir
799 program_transform_name
800 prefix
801 exec_prefix
802 PACKAGE_URL
803 PACKAGE_BUGREPORT
804 PACKAGE_STRING
805 PACKAGE_VERSION
806 PACKAGE_TARNAME
807 PACKAGE_NAME
808 PATH_SEPARATOR
809 SHELL'
810 ac_subst_files=''
811 ac_user_opts='
812 enable_option_checking
813 enable_win16
814 enable_win64
815 enable_tests
816 enable_maintainer_mode
817 with_alsa
818 with_capi
819 with_cms
820 with_coreaudio
821 with_cups
822 with_curses
823 with_dbus
824 with_fontconfig
825 with_freetype
826 with_gettext
827 with_gettextpo
828 with_gphoto
829 with_glu
830 with_gnutls
831 with_gsm
832 with_gstreamer
833 with_hal
834 with_jpeg
835 with_ldap
836 with_mpg123
837 with_netapi
838 with_openal
839 with_opencl
840 with_opengl
841 with_osmesa
842 with_oss
843 with_pcap
844 with_png
845 with_pthread
846 with_pulse
847 with_sane
848 with_tiff
849 with_v4l
850 with_xcomposite
851 with_xcursor
852 with_xinerama
853 with_xinput
854 with_xinput2
855 with_xml
856 with_xrandr
857 with_xrender
858 with_xshape
859 with_xshm
860 with_xslt
861 with_xxf86vm
862 with_zlib
863 with_wine_tools
864 with_wine64
865 enable_largefile
866 with_x
867 enable_acledit
868 enable_aclui
869 enable_activeds
870 enable_actxprxy
871 enable_advapi32
872 enable_advpack
873 enable_amstream
874 enable_api_ms_win_core_com_l1_1_0
875 enable_api_ms_win_core_com_l1_1_1
876 enable_api_ms_win_core_console_l1_1_0
877 enable_api_ms_win_core_datetime_l1_1_0
878 enable_api_ms_win_core_datetime_l1_1_1
879 enable_api_ms_win_core_debug_l1_1_0
880 enable_api_ms_win_core_debug_l1_1_1
881 enable_api_ms_win_core_delayload_l1_1_1
882 enable_api_ms_win_core_errorhandling_l1_1_0
883 enable_api_ms_win_core_errorhandling_l1_1_1
884 enable_api_ms_win_core_errorhandling_l1_1_2
885 enable_api_ms_win_core_fibers_l1_1_0
886 enable_api_ms_win_core_fibers_l1_1_1
887 enable_api_ms_win_core_file_l1_1_0
888 enable_api_ms_win_core_file_l1_2_0
889 enable_api_ms_win_core_file_l1_2_1
890 enable_api_ms_win_core_file_l2_1_0
891 enable_api_ms_win_core_file_l2_1_1
892 enable_api_ms_win_core_handle_l1_1_0
893 enable_api_ms_win_core_heap_l1_1_0
894 enable_api_ms_win_core_heap_l1_2_0
895 enable_api_ms_win_core_heap_obsolete_l1_1_0
896 enable_api_ms_win_core_interlocked_l1_1_0
897 enable_api_ms_win_core_interlocked_l1_2_0
898 enable_api_ms_win_core_io_l1_1_1
899 enable_api_ms_win_core_kernel32_legacy_l1_1_0
900 enable_api_ms_win_core_kernel32_legacy_l1_1_1
901 enable_api_ms_win_core_libraryloader_l1_1_0
902 enable_api_ms_win_core_libraryloader_l1_1_1
903 enable_api_ms_win_core_libraryloader_l1_2_0
904 enable_api_ms_win_core_localization_l1_1_0
905 enable_api_ms_win_core_localization_l1_2_0
906 enable_api_ms_win_core_localization_l1_2_1
907 enable_api_ms_win_core_localization_obsolete_l1_1_0
908 enable_api_ms_win_core_localregistry_l1_1_0
909 enable_api_ms_win_core_memory_l1_1_0
910 enable_api_ms_win_core_memory_l1_1_1
911 enable_api_ms_win_core_memory_l1_1_2
912 enable_api_ms_win_core_misc_l1_1_0
913 enable_api_ms_win_core_namedpipe_l1_1_0
914 enable_api_ms_win_core_namedpipe_l1_2_0
915 enable_api_ms_win_core_path_l1_1_0
916 enable_api_ms_win_core_processenvironment_l1_1_0
917 enable_api_ms_win_core_processenvironment_l1_2_0
918 enable_api_ms_win_core_processthreads_l1_1_0
919 enable_api_ms_win_core_processthreads_l1_1_1
920 enable_api_ms_win_core_processthreads_l1_1_2
921 enable_api_ms_win_core_profile_l1_1_0
922 enable_api_ms_win_core_psapi_l1_1_0
923 enable_api_ms_win_core_registry_l1_1_0
924 enable_api_ms_win_core_rtlsupport_l1_1_0
925 enable_api_ms_win_core_rtlsupport_l1_2_0
926 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
927 enable_api_ms_win_core_string_l1_1_0
928 enable_api_ms_win_core_string_l2_1_0
929 enable_api_ms_win_core_synch_l1_1_0
930 enable_api_ms_win_core_synch_l1_2_0
931 enable_api_ms_win_core_sysinfo_l1_1_0
932 enable_api_ms_win_core_sysinfo_l1_2_0
933 enable_api_ms_win_core_sysinfo_l1_2_1
934 enable_api_ms_win_core_threadpool_l1_2_0
935 enable_api_ms_win_core_threadpool_legacy_l1_1_0
936 enable_api_ms_win_core_timezone_l1_1_0
937 enable_api_ms_win_core_url_l1_1_0
938 enable_api_ms_win_core_util_l1_1_0
939 enable_api_ms_win_core_version_l1_1_0
940 enable_api_ms_win_core_winrt_error_l1_1_0
941 enable_api_ms_win_core_winrt_error_l1_1_1
942 enable_api_ms_win_core_winrt_l1_1_0
943 enable_api_ms_win_core_winrt_registration_l1_1_0
944 enable_api_ms_win_core_winrt_string_l1_1_0
945 enable_api_ms_win_core_wow64_l1_1_0
946 enable_api_ms_win_core_xstate_l2_1_0
947 enable_api_ms_win_crt_conio_l1_1_0
948 enable_api_ms_win_crt_convert_l1_1_0
949 enable_api_ms_win_crt_environment_l1_1_0
950 enable_api_ms_win_crt_filesystem_l1_1_0
951 enable_api_ms_win_crt_heap_l1_1_0
952 enable_api_ms_win_crt_locale_l1_1_0
953 enable_api_ms_win_crt_math_l1_1_0
954 enable_api_ms_win_crt_multibyte_l1_1_0
955 enable_api_ms_win_crt_private_l1_1_0
956 enable_api_ms_win_crt_process_l1_1_0
957 enable_api_ms_win_crt_runtime_l1_1_0
958 enable_api_ms_win_crt_stdio_l1_1_0
959 enable_api_ms_win_crt_string_l1_1_0
960 enable_api_ms_win_crt_time_l1_1_0
961 enable_api_ms_win_crt_utility_l1_1_0
962 enable_api_ms_win_downlevel_advapi32_l1_1_0
963 enable_api_ms_win_downlevel_advapi32_l2_1_0
964 enable_api_ms_win_downlevel_normaliz_l1_1_0
965 enable_api_ms_win_downlevel_ole32_l1_1_0
966 enable_api_ms_win_downlevel_shell32_l1_1_0
967 enable_api_ms_win_downlevel_shlwapi_l1_1_0
968 enable_api_ms_win_downlevel_shlwapi_l2_1_0
969 enable_api_ms_win_downlevel_user32_l1_1_0
970 enable_api_ms_win_downlevel_version_l1_1_0
971 enable_api_ms_win_eventing_classicprovider_l1_1_0
972 enable_api_ms_win_eventing_provider_l1_1_0
973 enable_api_ms_win_ntuser_dc_access_l1_1_0
974 enable_api_ms_win_security_base_l1_1_0
975 enable_api_ms_win_security_base_l1_2_0
976 enable_api_ms_win_security_lsalookup_l1_1_0
977 enable_api_ms_win_security_lsalookup_l1_1_1
978 enable_api_ms_win_security_sddl_l1_1_0
979 enable_api_ms_win_service_core_l1_1_1
980 enable_api_ms_win_service_management_l1_1_0
981 enable_api_ms_win_service_winsvc_l1_2_0
982 enable_apphelp
983 enable_appwiz_cpl
984 enable_atl
985 enable_atl100
986 enable_atl110
987 enable_atl80
988 enable_atl90
989 enable_authz
990 enable_avicap32
991 enable_avifil32
992 enable_avrt
993 enable_bcrypt
994 enable_bluetoothapis
995 enable_browseui
996 enable_bthprops_cpl
997 enable_cabinet
998 enable_capi2032
999 enable_cards
1000 enable_cfgmgr32
1001 enable_clusapi
1002 enable_combase
1003 enable_comcat
1004 enable_comctl32
1005 enable_comdlg32
1006 enable_compstui
1007 enable_comsvcs
1008 enable_connect
1009 enable_credui
1010 enable_crtdll
1011 enable_crypt32
1012 enable_cryptdlg
1013 enable_cryptdll
1014 enable_cryptext
1015 enable_cryptnet
1016 enable_cryptui
1017 enable_ctapi32
1018 enable_ctl3d32
1019 enable_d2d1
1020 enable_d3d10
1021 enable_d3d10_1
1022 enable_d3d10core
1023 enable_d3d11
1024 enable_d3d8
1025 enable_d3d9
1026 enable_d3dcompiler_33
1027 enable_d3dcompiler_34
1028 enable_d3dcompiler_35
1029 enable_d3dcompiler_36
1030 enable_d3dcompiler_37
1031 enable_d3dcompiler_38
1032 enable_d3dcompiler_39
1033 enable_d3dcompiler_40
1034 enable_d3dcompiler_41
1035 enable_d3dcompiler_42
1036 enable_d3dcompiler_43
1037 enable_d3dcompiler_46
1038 enable_d3dcompiler_47
1039 enable_d3dim
1040 enable_d3drm
1041 enable_d3dx10_33
1042 enable_d3dx10_34
1043 enable_d3dx10_35
1044 enable_d3dx10_36
1045 enable_d3dx10_37
1046 enable_d3dx10_38
1047 enable_d3dx10_39
1048 enable_d3dx10_40
1049 enable_d3dx10_41
1050 enable_d3dx10_42
1051 enable_d3dx10_43
1052 enable_d3dx11_42
1053 enable_d3dx11_43
1054 enable_d3dx9_24
1055 enable_d3dx9_25
1056 enable_d3dx9_26
1057 enable_d3dx9_27
1058 enable_d3dx9_28
1059 enable_d3dx9_29
1060 enable_d3dx9_30
1061 enable_d3dx9_31
1062 enable_d3dx9_32
1063 enable_d3dx9_33
1064 enable_d3dx9_34
1065 enable_d3dx9_35
1066 enable_d3dx9_36
1067 enable_d3dx9_37
1068 enable_d3dx9_38
1069 enable_d3dx9_39
1070 enable_d3dx9_40
1071 enable_d3dx9_41
1072 enable_d3dx9_42
1073 enable_d3dx9_43
1074 enable_d3dxof
1075 enable_davclnt
1076 enable_dbgeng
1077 enable_dbghelp
1078 enable_dciman32
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_dispex
1087 enable_dmband
1088 enable_dmcompos
1089 enable_dmime
1090 enable_dmloader
1091 enable_dmscript
1092 enable_dmstyle
1093 enable_dmsynth
1094 enable_dmusic
1095 enable_dmusic32
1096 enable_dnsapi
1097 enable_dplay
1098 enable_dplayx
1099 enable_dpnaddr
1100 enable_dpnet
1101 enable_dpnhpast
1102 enable_dpnlobby
1103 enable_dpvoice
1104 enable_dpwsockx
1105 enable_drmclien
1106 enable_dsound
1107 enable_dssenh
1108 enable_dswave
1109 enable_dwmapi
1110 enable_dwrite
1111 enable_dxdiagn
1112 enable_dxgi
1113 enable_dxva2
1114 enable_esent
1115 enable_evr
1116 enable_explorerframe
1117 enable_ext_ms_win_gdi_devcaps_l1_1_0
1118 enable_faultrep
1119 enable_fltlib
1120 enable_fltmgr_sys
1121 enable_fntcache
1122 enable_fontsub
1123 enable_fusion
1124 enable_fwpuclnt
1125 enable_gameux
1126 enable_gdi32
1127 enable_gdiplus
1128 enable_glu32
1129 enable_gphoto2_ds
1130 enable_gpkcsp
1131 enable_hal
1132 enable_hhctrl_ocx
1133 enable_hid
1134 enable_hidclass_sys
1135 enable_hlink
1136 enable_hnetcfg
1137 enable_httpapi
1138 enable_iccvid
1139 enable_icmp
1140 enable_ieframe
1141 enable_imaadp32_acm
1142 enable_imagehlp
1143 enable_imm32
1144 enable_inetcomm
1145 enable_inetcpl_cpl
1146 enable_inetmib1
1147 enable_infosoft
1148 enable_initpki
1149 enable_inkobj
1150 enable_inseng
1151 enable_iphlpapi
1152 enable_irprops_cpl
1153 enable_itircl
1154 enable_itss
1155 enable_joy_cpl
1156 enable_jscript
1157 enable_jsproxy
1158 enable_kernel32
1159 enable_kernelbase
1160 enable_ksuser
1161 enable_ktmw32
1162 enable_loadperf
1163 enable_localspl
1164 enable_localui
1165 enable_lz32
1166 enable_mapi32
1167 enable_mapistub
1168 enable_mciavi32
1169 enable_mcicda
1170 enable_mciqtz32
1171 enable_mciseq
1172 enable_mciwave
1173 enable_mf
1174 enable_mfplat
1175 enable_mfreadwrite
1176 enable_mgmtapi
1177 enable_midimap
1178 enable_mlang
1179 enable_mmcndmgr
1180 enable_mmdevapi
1181 enable_mountmgr_sys
1182 enable_mpr
1183 enable_mprapi
1184 enable_msacm32_drv
1185 enable_msacm32
1186 enable_msadp32_acm
1187 enable_msasn1
1188 enable_mscat32
1189 enable_mscms
1190 enable_mscoree
1191 enable_msctf
1192 enable_msctfp
1193 enable_msdaps
1194 enable_msdelta
1195 enable_msdmo
1196 enable_msdrm
1197 enable_msftedit
1198 enable_msg711_acm
1199 enable_msgsm32_acm
1200 enable_mshtml_tlb
1201 enable_mshtml
1202 enable_msi
1203 enable_msident
1204 enable_msimg32
1205 enable_msimsg
1206 enable_msimtf
1207 enable_msisip
1208 enable_msisys_ocx
1209 enable_msls31
1210 enable_msnet32
1211 enable_mspatcha
1212 enable_msrle32
1213 enable_msscript_ocx
1214 enable_mssign32
1215 enable_mssip32
1216 enable_mstask
1217 enable_msvcirt
1218 enable_msvcm80
1219 enable_msvcm90
1220 enable_msvcp100
1221 enable_msvcp110
1222 enable_msvcp120
1223 enable_msvcp120_app
1224 enable_msvcp60
1225 enable_msvcp70
1226 enable_msvcp71
1227 enable_msvcp80
1228 enable_msvcp90
1229 enable_msvcr100
1230 enable_msvcr110
1231 enable_msvcr120
1232 enable_msvcr120_app
1233 enable_msvcr70
1234 enable_msvcr71
1235 enable_msvcr80
1236 enable_msvcr90
1237 enable_msvcrt
1238 enable_msvcrt20
1239 enable_msvcrt40
1240 enable_msvcrtd
1241 enable_msvfw32
1242 enable_msvidc32
1243 enable_mswsock
1244 enable_msxml
1245 enable_msxml2
1246 enable_msxml3
1247 enable_msxml4
1248 enable_msxml6
1249 enable_nddeapi
1250 enable_ndis_sys
1251 enable_netapi32
1252 enable_netcfgx
1253 enable_netprofm
1254 enable_newdev
1255 enable_normaliz
1256 enable_npmshtml
1257 enable_npptools
1258 enable_ntdll
1259 enable_ntdsapi
1260 enable_ntoskrnl_exe
1261 enable_ntprint
1262 enable_objsel
1263 enable_odbc32
1264 enable_odbccp32
1265 enable_odbccu32
1266 enable_ole32
1267 enable_oleacc
1268 enable_oleaut32
1269 enable_olecli32
1270 enable_oledb32
1271 enable_oledlg
1272 enable_olepro32
1273 enable_olesvr32
1274 enable_olethk32
1275 enable_openal32
1276 enable_opencl
1277 enable_opengl32
1278 enable_packager
1279 enable_pdh
1280 enable_photometadatahandler
1281 enable_pidgen
1282 enable_powrprof
1283 enable_printui
1284 enable_prntvpt
1285 enable_propsys
1286 enable_psapi
1287 enable_pstorec
1288 enable_qcap
1289 enable_qedit
1290 enable_qmgr
1291 enable_qmgrprxy
1292 enable_quartz
1293 enable_query
1294 enable_rasapi32
1295 enable_rasdlg
1296 enable_regapi
1297 enable_resutils
1298 enable_riched20
1299 enable_riched32
1300 enable_rpcrt4
1301 enable_rsabase
1302 enable_rsaenh
1303 enable_rstrtmgr
1304 enable_rtutils
1305 enable_samlib
1306 enable_sane_ds
1307 enable_scarddlg
1308 enable_sccbase
1309 enable_schannel
1310 enable_schedsvc
1311 enable_scrrun
1312 enable_scsiport_sys
1313 enable_secur32
1314 enable_security
1315 enable_sensapi
1316 enable_serialui
1317 enable_setupapi
1318 enable_sfc
1319 enable_sfc_os
1320 enable_shdoclc
1321 enable_shdocvw
1322 enable_shell32
1323 enable_shfolder
1324 enable_shlwapi
1325 enable_slbcsp
1326 enable_slc
1327 enable_snmpapi
1328 enable_softpub
1329 enable_spoolss
1330 enable_stdole2_tlb
1331 enable_stdole32_tlb
1332 enable_sti
1333 enable_svrapi
1334 enable_sxs
1335 enable_t2embed
1336 enable_tapi32
1337 enable_taskschd
1338 enable_tdi_sys
1339 enable_traffic
1340 enable_twain_32
1341 enable_ucrtbase
1342 enable_unicows
1343 enable_updspapi
1344 enable_url
1345 enable_urlmon
1346 enable_usbd_sys
1347 enable_user32
1348 enable_userenv
1349 enable_usp10
1350 enable_uxtheme
1351 enable_vbscript
1352 enable_vcomp
1353 enable_vcomp100
1354 enable_vcomp110
1355 enable_vcomp120
1356 enable_vcomp90
1357 enable_vcruntime140
1358 enable_vdmdbg
1359 enable_version
1360 enable_vssapi
1361 enable_wbemdisp
1362 enable_wbemprox
1363 enable_webservices
1364 enable_wer
1365 enable_wevtapi
1366 enable_wiaservc
1367 enable_wimgapi
1368 enable_windowscodecs
1369 enable_windowscodecsext
1370 enable_winealsa_drv
1371 enable_winecoreaudio_drv
1372 enable_wined3d
1373 enable_winegstreamer
1374 enable_winejoystick_drv
1375 enable_winemac_drv
1376 enable_winemapi
1377 enable_winemp3_acm
1378 enable_wineoss_drv
1379 enable_wineps_drv
1380 enable_winepulse_drv
1381 enable_wineqtdecoder
1382 enable_winex11_drv
1383 enable_wing32
1384 enable_winhttp
1385 enable_wininet
1386 enable_winmm
1387 enable_winnls32
1388 enable_winscard
1389 enable_winspool_drv
1390 enable_winsta
1391 enable_wintab32
1392 enable_wintrust
1393 enable_wlanapi
1394 enable_wldap32
1395 enable_wmasf
1396 enable_wmi
1397 enable_wmiutils
1398 enable_wmp
1399 enable_wmvcore
1400 enable_wnaspi32
1401 enable_wpcap
1402 enable_ws2_32
1403 enable_wshom_ocx
1404 enable_wsnmp32
1405 enable_wsock32
1406 enable_wtsapi32
1407 enable_wuapi
1408 enable_wuaueng
1409 enable_x3daudio1_0
1410 enable_x3daudio1_1
1411 enable_x3daudio1_2
1412 enable_x3daudio1_3
1413 enable_x3daudio1_4
1414 enable_x3daudio1_5
1415 enable_x3daudio1_6
1416 enable_x3daudio1_7
1417 enable_xapofx1_1
1418 enable_xapofx1_2
1419 enable_xapofx1_3
1420 enable_xapofx1_4
1421 enable_xapofx1_5
1422 enable_xaudio2_0
1423 enable_xaudio2_1
1424 enable_xaudio2_2
1425 enable_xaudio2_3
1426 enable_xaudio2_4
1427 enable_xaudio2_5
1428 enable_xaudio2_6
1429 enable_xaudio2_7
1430 enable_xaudio2_8
1431 enable_xaudio2_9
1432 enable_xinput1_1
1433 enable_xinput1_2
1434 enable_xinput1_3
1435 enable_xinput1_4
1436 enable_xinput9_1_0
1437 enable_xmllite
1438 enable_xolehlp
1439 enable_xpsprint
1440 enable_xpssvcs
1441 enable_fonts
1442 enable_include
1443 enable_libs_port
1444 enable_libs_wine
1445 enable_libs_wpp
1446 enable_loader
1447 enable_po
1448 enable_arp
1449 enable_aspnet_regiis
1450 enable_attrib
1451 enable_cabarc
1452 enable_cacls
1453 enable_clock
1454 enable_cmd
1455 enable_conhost
1456 enable_control
1457 enable_cscript
1458 enable_dpnsvr
1459 enable_dxdiag
1460 enable_eject
1461 enable_expand
1462 enable_explorer
1463 enable_extrac32
1464 enable_findstr
1465 enable_hh
1466 enable_hostname
1467 enable_icacls
1468 enable_icinfo
1469 enable_iexplore
1470 enable_ipconfig
1471 enable_lodctr
1472 enable_mofcomp
1473 enable_mshta
1474 enable_msiexec
1475 enable_net
1476 enable_netsh
1477 enable_netstat
1478 enable_ngen
1479 enable_notepad
1480 enable_oleview
1481 enable_ping
1482 enable_plugplay
1483 enable_presentationfontcache
1484 enable_progman
1485 enable_reg
1486 enable_regasm
1487 enable_regedit
1488 enable_regsvcs
1489 enable_regsvr32
1490 enable_rpcss
1491 enable_rundll32
1492 enable_sc
1493 enable_schtasks
1494 enable_sdbinst
1495 enable_secedit
1496 enable_servicemodelreg
1497 enable_services
1498 enable_shutdown
1499 enable_spoolsv
1500 enable_start
1501 enable_svchost
1502 enable_systeminfo
1503 enable_taskkill
1504 enable_tasklist
1505 enable_taskmgr
1506 enable_termsv
1507 enable_uninstaller
1508 enable_unlodctr
1509 enable_view
1510 enable_wevtutil
1511 enable_wineboot
1512 enable_winebrowser
1513 enable_winecfg
1514 enable_wineconsole
1515 enable_winedbg
1516 enable_winedevice
1517 enable_winefile
1518 enable_winemenubuilder
1519 enable_winemine
1520 enable_winemsibuilder
1521 enable_winepath
1522 enable_winetest
1523 enable_winhlp32
1524 enable_winver
1525 enable_wmic
1526 enable_wmplayer
1527 enable_wordpad
1528 enable_write
1529 enable_wscript
1530 enable_wusa
1531 enable_xcopy
1532 enable_server
1533 enable_tools
1535 ac_precious_vars='build_alias
1536 host_alias
1537 target_alias
1539 CFLAGS
1540 LDFLAGS
1541 LIBS
1542 CPPFLAGS
1544 CXXFLAGS
1547 XMKMF
1548 XML2_CFLAGS
1549 XML2_LIBS
1550 XSLT_CFLAGS
1551 XSLT_LIBS
1552 DBUS_CFLAGS
1553 DBUS_LIBS
1554 HAL_CFLAGS
1555 HAL_LIBS
1556 GNUTLS_CFLAGS
1557 GNUTLS_LIBS
1558 SANE_CFLAGS
1559 SANE_LIBS
1560 GPHOTO2_CFLAGS
1561 GPHOTO2_LIBS
1562 GPHOTO2_PORT_CFLAGS
1563 GPHOTO2_PORT_LIBS
1564 LCMS2_CFLAGS
1565 LCMS2_LIBS
1566 FREETYPE_CFLAGS
1567 FREETYPE_LIBS
1568 PULSE_CFLAGS
1569 PULSE_LIBS
1570 GSTREAMER_CFLAGS
1571 GSTREAMER_LIBS
1572 CAPI20_CFLAGS
1573 CAPI20_LIBS
1574 FONTCONFIG_CFLAGS
1575 FONTCONFIG_LIBS
1576 JPEG_CFLAGS
1577 JPEG_LIBS
1578 PNG_CFLAGS
1579 PNG_LIBS
1580 TIFF_CFLAGS
1581 TIFF_LIBS
1582 MPG123_CFLAGS
1583 MPG123_LIBS
1584 NETAPI_CFLAGS
1585 NETAPI_LIBS'
1588 # Initialize some variables set by options.
1589 ac_init_help=
1590 ac_init_version=false
1591 ac_unrecognized_opts=
1592 ac_unrecognized_sep=
1593 # The variables have the same names as the options, with
1594 # dashes changed to underlines.
1595 cache_file=/dev/null
1596 exec_prefix=NONE
1597 no_create=
1598 no_recursion=
1599 prefix=NONE
1600 program_prefix=NONE
1601 program_suffix=NONE
1602 program_transform_name=s,x,x,
1603 silent=
1604 site=
1605 srcdir=
1606 verbose=
1607 x_includes=NONE
1608 x_libraries=NONE
1610 # Installation directory options.
1611 # These are left unexpanded so users can "make install exec_prefix=/foo"
1612 # and all the variables that are supposed to be based on exec_prefix
1613 # by default will actually change.
1614 # Use braces instead of parens because sh, perl, etc. also accept them.
1615 # (The list follows the same order as the GNU Coding Standards.)
1616 bindir='${exec_prefix}/bin'
1617 sbindir='${exec_prefix}/sbin'
1618 libexecdir='${exec_prefix}/libexec'
1619 datarootdir='${prefix}/share'
1620 datadir='${datarootdir}'
1621 sysconfdir='${prefix}/etc'
1622 sharedstatedir='${prefix}/com'
1623 localstatedir='${prefix}/var'
1624 runstatedir='${localstatedir}/run'
1625 includedir='${prefix}/include'
1626 oldincludedir='/usr/include'
1627 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1628 infodir='${datarootdir}/info'
1629 htmldir='${docdir}'
1630 dvidir='${docdir}'
1631 pdfdir='${docdir}'
1632 psdir='${docdir}'
1633 libdir='${exec_prefix}/lib'
1634 localedir='${datarootdir}/locale'
1635 mandir='${datarootdir}/man'
1637 ac_prev=
1638 ac_dashdash=
1639 for ac_option
1641 # If the previous option needs an argument, assign it.
1642 if test -n "$ac_prev"; then
1643 eval $ac_prev=\$ac_option
1644 ac_prev=
1645 continue
1648 case $ac_option in
1649 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1650 *=) ac_optarg= ;;
1651 *) ac_optarg=yes ;;
1652 esac
1654 # Accept the important Cygnus configure options, so we can diagnose typos.
1656 case $ac_dashdash$ac_option in
1658 ac_dashdash=yes ;;
1660 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1661 ac_prev=bindir ;;
1662 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1663 bindir=$ac_optarg ;;
1665 -build | --build | --buil | --bui | --bu)
1666 ac_prev=build_alias ;;
1667 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1668 build_alias=$ac_optarg ;;
1670 -cache-file | --cache-file | --cache-fil | --cache-fi \
1671 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1672 ac_prev=cache_file ;;
1673 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1674 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1675 cache_file=$ac_optarg ;;
1677 --config-cache | -C)
1678 cache_file=config.cache ;;
1680 -datadir | --datadir | --datadi | --datad)
1681 ac_prev=datadir ;;
1682 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1683 datadir=$ac_optarg ;;
1685 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1686 | --dataroo | --dataro | --datar)
1687 ac_prev=datarootdir ;;
1688 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1689 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1690 datarootdir=$ac_optarg ;;
1692 -disable-* | --disable-*)
1693 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1694 # Reject names that are not valid shell variable names.
1695 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1696 as_fn_error $? "invalid feature name: $ac_useropt"
1697 ac_useropt_orig=$ac_useropt
1698 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1699 case $ac_user_opts in
1701 "enable_$ac_useropt"
1702 "*) ;;
1703 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1704 ac_unrecognized_sep=', ';;
1705 esac
1706 eval enable_$ac_useropt=no ;;
1708 -docdir | --docdir | --docdi | --doc | --do)
1709 ac_prev=docdir ;;
1710 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1711 docdir=$ac_optarg ;;
1713 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1714 ac_prev=dvidir ;;
1715 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1716 dvidir=$ac_optarg ;;
1718 -enable-* | --enable-*)
1719 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1720 # Reject names that are not valid shell variable names.
1721 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1722 as_fn_error $? "invalid feature name: $ac_useropt"
1723 ac_useropt_orig=$ac_useropt
1724 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1725 case $ac_user_opts in
1727 "enable_$ac_useropt"
1728 "*) ;;
1729 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1730 ac_unrecognized_sep=', ';;
1731 esac
1732 eval enable_$ac_useropt=\$ac_optarg ;;
1734 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1735 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1736 | --exec | --exe | --ex)
1737 ac_prev=exec_prefix ;;
1738 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1739 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1740 | --exec=* | --exe=* | --ex=*)
1741 exec_prefix=$ac_optarg ;;
1743 -gas | --gas | --ga | --g)
1744 # Obsolete; use --with-gas.
1745 with_gas=yes ;;
1747 -help | --help | --hel | --he | -h)
1748 ac_init_help=long ;;
1749 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1750 ac_init_help=recursive ;;
1751 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1752 ac_init_help=short ;;
1754 -host | --host | --hos | --ho)
1755 ac_prev=host_alias ;;
1756 -host=* | --host=* | --hos=* | --ho=*)
1757 host_alias=$ac_optarg ;;
1759 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1760 ac_prev=htmldir ;;
1761 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1762 | --ht=*)
1763 htmldir=$ac_optarg ;;
1765 -includedir | --includedir | --includedi | --included | --include \
1766 | --includ | --inclu | --incl | --inc)
1767 ac_prev=includedir ;;
1768 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1769 | --includ=* | --inclu=* | --incl=* | --inc=*)
1770 includedir=$ac_optarg ;;
1772 -infodir | --infodir | --infodi | --infod | --info | --inf)
1773 ac_prev=infodir ;;
1774 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1775 infodir=$ac_optarg ;;
1777 -libdir | --libdir | --libdi | --libd)
1778 ac_prev=libdir ;;
1779 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1780 libdir=$ac_optarg ;;
1782 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1783 | --libexe | --libex | --libe)
1784 ac_prev=libexecdir ;;
1785 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1786 | --libexe=* | --libex=* | --libe=*)
1787 libexecdir=$ac_optarg ;;
1789 -localedir | --localedir | --localedi | --localed | --locale)
1790 ac_prev=localedir ;;
1791 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1792 localedir=$ac_optarg ;;
1794 -localstatedir | --localstatedir | --localstatedi | --localstated \
1795 | --localstate | --localstat | --localsta | --localst | --locals)
1796 ac_prev=localstatedir ;;
1797 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1798 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1799 localstatedir=$ac_optarg ;;
1801 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1802 ac_prev=mandir ;;
1803 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1804 mandir=$ac_optarg ;;
1806 -nfp | --nfp | --nf)
1807 # Obsolete; use --without-fp.
1808 with_fp=no ;;
1810 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1811 | --no-cr | --no-c | -n)
1812 no_create=yes ;;
1814 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1815 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1816 no_recursion=yes ;;
1818 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1819 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1820 | --oldin | --oldi | --old | --ol | --o)
1821 ac_prev=oldincludedir ;;
1822 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1823 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1824 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1825 oldincludedir=$ac_optarg ;;
1827 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1828 ac_prev=prefix ;;
1829 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1830 prefix=$ac_optarg ;;
1832 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1833 | --program-pre | --program-pr | --program-p)
1834 ac_prev=program_prefix ;;
1835 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1836 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1837 program_prefix=$ac_optarg ;;
1839 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1840 | --program-suf | --program-su | --program-s)
1841 ac_prev=program_suffix ;;
1842 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1843 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1844 program_suffix=$ac_optarg ;;
1846 -program-transform-name | --program-transform-name \
1847 | --program-transform-nam | --program-transform-na \
1848 | --program-transform-n | --program-transform- \
1849 | --program-transform | --program-transfor \
1850 | --program-transfo | --program-transf \
1851 | --program-trans | --program-tran \
1852 | --progr-tra | --program-tr | --program-t)
1853 ac_prev=program_transform_name ;;
1854 -program-transform-name=* | --program-transform-name=* \
1855 | --program-transform-nam=* | --program-transform-na=* \
1856 | --program-transform-n=* | --program-transform-=* \
1857 | --program-transform=* | --program-transfor=* \
1858 | --program-transfo=* | --program-transf=* \
1859 | --program-trans=* | --program-tran=* \
1860 | --progr-tra=* | --program-tr=* | --program-t=*)
1861 program_transform_name=$ac_optarg ;;
1863 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1864 ac_prev=pdfdir ;;
1865 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1866 pdfdir=$ac_optarg ;;
1868 -psdir | --psdir | --psdi | --psd | --ps)
1869 ac_prev=psdir ;;
1870 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1871 psdir=$ac_optarg ;;
1873 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1874 | -silent | --silent | --silen | --sile | --sil)
1875 silent=yes ;;
1877 -runstatedir | --runstatedir | --runstatedi | --runstated \
1878 | --runstate | --runstat | --runsta | --runst | --runs \
1879 | --run | --ru | --r)
1880 ac_prev=runstatedir ;;
1881 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1882 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1883 | --run=* | --ru=* | --r=*)
1884 runstatedir=$ac_optarg ;;
1886 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1887 ac_prev=sbindir ;;
1888 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1889 | --sbi=* | --sb=*)
1890 sbindir=$ac_optarg ;;
1892 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1893 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1894 | --sharedst | --shareds | --shared | --share | --shar \
1895 | --sha | --sh)
1896 ac_prev=sharedstatedir ;;
1897 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1898 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1899 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1900 | --sha=* | --sh=*)
1901 sharedstatedir=$ac_optarg ;;
1903 -site | --site | --sit)
1904 ac_prev=site ;;
1905 -site=* | --site=* | --sit=*)
1906 site=$ac_optarg ;;
1908 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1909 ac_prev=srcdir ;;
1910 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1911 srcdir=$ac_optarg ;;
1913 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1914 | --syscon | --sysco | --sysc | --sys | --sy)
1915 ac_prev=sysconfdir ;;
1916 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1917 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1918 sysconfdir=$ac_optarg ;;
1920 -target | --target | --targe | --targ | --tar | --ta | --t)
1921 ac_prev=target_alias ;;
1922 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1923 target_alias=$ac_optarg ;;
1925 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1926 verbose=yes ;;
1928 -version | --version | --versio | --versi | --vers | -V)
1929 ac_init_version=: ;;
1931 -with-* | --with-*)
1932 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1933 # Reject names that are not valid shell variable names.
1934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1935 as_fn_error $? "invalid package name: $ac_useropt"
1936 ac_useropt_orig=$ac_useropt
1937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1938 case $ac_user_opts in
1940 "with_$ac_useropt"
1941 "*) ;;
1942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1943 ac_unrecognized_sep=', ';;
1944 esac
1945 eval with_$ac_useropt=\$ac_optarg ;;
1947 -without-* | --without-*)
1948 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1949 # Reject names that are not valid shell variable names.
1950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1951 as_fn_error $? "invalid package name: $ac_useropt"
1952 ac_useropt_orig=$ac_useropt
1953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1954 case $ac_user_opts in
1956 "with_$ac_useropt"
1957 "*) ;;
1958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1959 ac_unrecognized_sep=', ';;
1960 esac
1961 eval with_$ac_useropt=no ;;
1963 --x)
1964 # Obsolete; use --with-x.
1965 with_x=yes ;;
1967 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1968 | --x-incl | --x-inc | --x-in | --x-i)
1969 ac_prev=x_includes ;;
1970 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1971 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1972 x_includes=$ac_optarg ;;
1974 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1975 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1976 ac_prev=x_libraries ;;
1977 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1978 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1979 x_libraries=$ac_optarg ;;
1981 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1982 Try \`$0 --help' for more information"
1985 *=*)
1986 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1987 # Reject names that are not valid shell variable names.
1988 case $ac_envvar in #(
1989 '' | [0-9]* | *[!_$as_cr_alnum]* )
1990 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1991 esac
1992 eval $ac_envvar=\$ac_optarg
1993 export $ac_envvar ;;
1996 # FIXME: should be removed in autoconf 3.0.
1997 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1998 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1999 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2000 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2003 esac
2004 done
2006 if test -n "$ac_prev"; then
2007 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2008 as_fn_error $? "missing argument to $ac_option"
2011 if test -n "$ac_unrecognized_opts"; then
2012 case $enable_option_checking in
2013 no) ;;
2014 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2015 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2016 esac
2019 # Check all directory arguments for consistency.
2020 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2021 datadir sysconfdir sharedstatedir localstatedir includedir \
2022 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2023 libdir localedir mandir runstatedir
2025 eval ac_val=\$$ac_var
2026 # Remove trailing slashes.
2027 case $ac_val in
2028 */ )
2029 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2030 eval $ac_var=\$ac_val;;
2031 esac
2032 # Be sure to have absolute directory names.
2033 case $ac_val in
2034 [\\/$]* | ?:[\\/]* ) continue;;
2035 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2036 esac
2037 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2038 done
2040 # There might be people who depend on the old broken behavior: `$host'
2041 # used to hold the argument of --host etc.
2042 # FIXME: To remove some day.
2043 build=$build_alias
2044 host=$host_alias
2045 target=$target_alias
2047 # FIXME: To remove some day.
2048 if test "x$host_alias" != x; then
2049 if test "x$build_alias" = x; then
2050 cross_compiling=maybe
2051 elif test "x$build_alias" != "x$host_alias"; then
2052 cross_compiling=yes
2056 ac_tool_prefix=
2057 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2059 test "$silent" = yes && exec 6>/dev/null
2062 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2063 ac_ls_di=`ls -di .` &&
2064 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2065 as_fn_error $? "working directory cannot be determined"
2066 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2067 as_fn_error $? "pwd does not report name of working directory"
2070 # Find the source files, if location was not specified.
2071 if test -z "$srcdir"; then
2072 ac_srcdir_defaulted=yes
2073 # Try the directory containing this script, then the parent directory.
2074 ac_confdir=`$as_dirname -- "$as_myself" ||
2075 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2076 X"$as_myself" : 'X\(//\)[^/]' \| \
2077 X"$as_myself" : 'X\(//\)$' \| \
2078 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2079 $as_echo X"$as_myself" |
2080 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2081 s//\1/
2084 /^X\(\/\/\)[^/].*/{
2085 s//\1/
2088 /^X\(\/\/\)$/{
2089 s//\1/
2092 /^X\(\/\).*/{
2093 s//\1/
2096 s/.*/./; q'`
2097 srcdir=$ac_confdir
2098 if test ! -r "$srcdir/$ac_unique_file"; then
2099 srcdir=..
2101 else
2102 ac_srcdir_defaulted=no
2104 if test ! -r "$srcdir/$ac_unique_file"; then
2105 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2106 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2108 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2109 ac_abs_confdir=`(
2110 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2111 pwd)`
2112 # When building in place, set srcdir=.
2113 if test "$ac_abs_confdir" = "$ac_pwd"; then
2114 srcdir=.
2116 # Remove unnecessary trailing slashes from srcdir.
2117 # Double slashes in file names in object file debugging info
2118 # mess up M-x gdb in Emacs.
2119 case $srcdir in
2120 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2121 esac
2122 for ac_var in $ac_precious_vars; do
2123 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2124 eval ac_env_${ac_var}_value=\$${ac_var}
2125 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2126 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2127 done
2130 # Report the --help message.
2132 if test "$ac_init_help" = "long"; then
2133 # Omit some internal or obsolete options to make the list less imposing.
2134 # This message is too long to be a string in the A/UX 3.1 sh.
2135 cat <<_ACEOF
2136 \`configure' configures Wine 1.9.6 to adapt to many kinds of systems.
2138 Usage: $0 [OPTION]... [VAR=VALUE]...
2140 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2141 VAR=VALUE. See below for descriptions of some of the useful variables.
2143 Defaults for the options are specified in brackets.
2145 Configuration:
2146 -h, --help display this help and exit
2147 --help=short display options specific to this package
2148 --help=recursive display the short help of all the included packages
2149 -V, --version display version information and exit
2150 -q, --quiet, --silent do not print \`checking ...' messages
2151 --cache-file=FILE cache test results in FILE [disabled]
2152 -C, --config-cache alias for \`--cache-file=config.cache'
2153 -n, --no-create do not create output files
2154 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2156 Installation directories:
2157 --prefix=PREFIX install architecture-independent files in PREFIX
2158 [$ac_default_prefix]
2159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2160 [PREFIX]
2162 By default, \`make install' will install all the files in
2163 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2164 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2165 for instance \`--prefix=\$HOME'.
2167 For better control, use the options below.
2169 Fine tuning of the installation directories:
2170 --bindir=DIR user executables [EPREFIX/bin]
2171 --sbindir=DIR system admin executables [EPREFIX/sbin]
2172 --libexecdir=DIR program executables [EPREFIX/libexec]
2173 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2174 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2175 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2176 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2177 --libdir=DIR object code libraries [EPREFIX/lib]
2178 --includedir=DIR C header files [PREFIX/include]
2179 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2180 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2181 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2182 --infodir=DIR info documentation [DATAROOTDIR/info]
2183 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2184 --mandir=DIR man documentation [DATAROOTDIR/man]
2185 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2186 --htmldir=DIR html documentation [DOCDIR]
2187 --dvidir=DIR dvi documentation [DOCDIR]
2188 --pdfdir=DIR pdf documentation [DOCDIR]
2189 --psdir=DIR ps documentation [DOCDIR]
2190 _ACEOF
2192 cat <<\_ACEOF
2194 X features:
2195 --x-includes=DIR X include files are in DIR
2196 --x-libraries=DIR X library files are in DIR
2198 System types:
2199 --build=BUILD configure for building on BUILD [guessed]
2200 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2201 _ACEOF
2204 if test -n "$ac_init_help"; then
2205 case $ac_init_help in
2206 short | recursive ) echo "Configuration of Wine 1.9.6:";;
2207 esac
2208 cat <<\_ACEOF
2210 Optional Features:
2211 --disable-option-checking ignore unrecognized --enable/--with options
2212 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2213 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2214 --disable-win16 do not include Win16 support
2215 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2216 binaries)
2217 --disable-tests do not build the regression tests
2218 --enable-maintainer-mode
2219 enable maintainer-specific build rules
2220 --disable-largefile omit support for large files
2222 Optional Packages:
2223 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2224 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2225 --without-alsa do not use the Alsa sound support
2226 --without-capi do not use CAPI (ISDN support)
2227 --without-cms do not use CMS (color management support)
2228 --without-coreaudio do not use the CoreAudio sound support
2229 --without-cups do not use CUPS
2230 --without-curses do not use (n)curses
2231 --without-dbus do not use DBus (dynamic device support)
2232 --without-fontconfig do not use fontconfig
2233 --without-freetype do not use the FreeType library
2234 --without-gettext do not use gettext
2235 --with-gettextpo use the GetTextPO library to rebuild po files
2236 --without-gphoto do not use gphoto (Digital Camera support)
2237 --without-glu do not use the GLU library
2238 --without-gnutls do not use GnuTLS (schannel support)
2239 --without-gsm do not use libgsm (GSM 06.10 codec support)
2240 --without-gstreamer do not use GStreamer (codecs support)
2241 --without-hal do not use HAL (dynamic device support)
2242 --without-jpeg do not use JPEG
2243 --without-ldap do not use LDAP
2244 --without-mpg123 do not use the mpg123 library
2245 --without-netapi do not use the Samba NetAPI library
2246 --without-openal do not use OpenAL
2247 --without-opencl do not use OpenCL
2248 --without-opengl do not use OpenGL
2249 --without-osmesa do not use the OSMesa library
2250 --without-oss do not use the OSS sound support
2251 --without-pcap do not use the Packet Capture library
2252 --without-png do not use PNG
2253 --without-pthread do not use the pthread library
2254 --without-pulse do not use PulseAudio sound support
2255 --without-sane do not use SANE (scanner support)
2256 --without-tiff do not use TIFF
2257 --without-v4l do not use v4l1 (v4l support)
2258 --without-xcomposite do not use the Xcomposite extension
2259 --without-xcursor do not use the Xcursor extension
2260 --without-xinerama do not use Xinerama (multi-monitor support)
2261 --without-xinput do not use the Xinput extension
2262 --without-xinput2 do not use the Xinput 2 extension
2263 --without-xml do not use XML
2264 --without-xrandr do not use Xrandr (resolution changes)
2265 --without-xrender do not use the Xrender extension
2266 --without-xshape do not use the Xshape extension
2267 --without-xshm do not use XShm (shared memory extension)
2268 --without-xslt do not use XSLT
2269 --without-xxf86vm do not use XFree video mode extension
2270 --without-zlib do not use Zlib (data compression)
2271 --with-wine-tools=DIR use Wine tools from directory DIR
2272 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2273 --with-x use the X Window System
2275 Some influential environment variables:
2276 CC C compiler command
2277 CFLAGS C compiler flags
2278 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2279 nonstandard directory <lib dir>
2280 LIBS libraries to pass to the linker, e.g. -l<library>
2281 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2282 you have headers in a nonstandard directory <include dir>
2283 CXX C++ compiler command
2284 CXXFLAGS C++ compiler flags
2285 CPP C preprocessor
2286 XMKMF Path to xmkmf, Makefile generator for X Window System
2287 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2288 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2289 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2290 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2291 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2292 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2293 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2294 HAL_LIBS Linker flags for hal, overriding pkg-config
2295 GNUTLS_CFLAGS
2296 C compiler flags for gnutls, overriding pkg-config
2297 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2298 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2299 SANE_LIBS Linker flags for libsane, overriding pkg-config
2300 GPHOTO2_CFLAGS
2301 C compiler flags for libgphoto2, overriding pkg-config
2302 GPHOTO2_LIBS
2303 Linker flags for libgphoto2, overriding pkg-config
2304 GPHOTO2_PORT_CFLAGS
2305 C compiler flags for libgphoto2_port, overriding pkg-config
2306 GPHOTO2_PORT_LIBS
2307 Linker flags for libgphoto2_port, overriding pkg-config
2308 LCMS2_CFLAGS
2309 C compiler flags for lcms2, overriding pkg-config
2310 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2311 FREETYPE_CFLAGS
2312 C compiler flags for freetype2, overriding pkg-config
2313 FREETYPE_LIBS
2314 Linker flags for freetype2, overriding pkg-config
2315 PULSE_CFLAGS
2316 C compiler flags for libpulse, overriding pkg-config
2317 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2318 GSTREAMER_CFLAGS
2319 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2320 gstreamer-audio-1.0, overriding pkg-config
2321 GSTREAMER_LIBS
2322 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2323 gstreamer-audio-1.0, overriding pkg-config
2324 CAPI20_CFLAGS
2325 C compiler flags for capi20, overriding pkg-config
2326 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2327 FONTCONFIG_CFLAGS
2328 C compiler flags for fontconfig, overriding pkg-config
2329 FONTCONFIG_LIBS
2330 Linker flags for fontconfig, overriding pkg-config
2331 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2332 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2333 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2334 PNG_LIBS Linker flags for libpng, overriding pkg-config
2335 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2336 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2337 MPG123_CFLAGS
2338 C compiler flags for libmpg123, overriding pkg-config
2339 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2340 NETAPI_CFLAGS
2341 C compiler flags for netapi, overriding pkg-config
2342 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2344 Use these variables to override the choices made by `configure' or to help
2345 it to find libraries and programs with nonstandard names/locations.
2347 Report bugs to <wine-devel@winehq.org>.
2348 Wine home page: <http://www.winehq.org>.
2349 _ACEOF
2350 ac_status=$?
2353 if test "$ac_init_help" = "recursive"; then
2354 # If there are subdirs, report their specific --help.
2355 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2356 test -d "$ac_dir" ||
2357 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2358 continue
2359 ac_builddir=.
2361 case "$ac_dir" in
2362 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2364 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2365 # A ".." for each directory in $ac_dir_suffix.
2366 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2367 case $ac_top_builddir_sub in
2368 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2369 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2370 esac ;;
2371 esac
2372 ac_abs_top_builddir=$ac_pwd
2373 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2374 # for backward compatibility:
2375 ac_top_builddir=$ac_top_build_prefix
2377 case $srcdir in
2378 .) # We are building in place.
2379 ac_srcdir=.
2380 ac_top_srcdir=$ac_top_builddir_sub
2381 ac_abs_top_srcdir=$ac_pwd ;;
2382 [\\/]* | ?:[\\/]* ) # Absolute name.
2383 ac_srcdir=$srcdir$ac_dir_suffix;
2384 ac_top_srcdir=$srcdir
2385 ac_abs_top_srcdir=$srcdir ;;
2386 *) # Relative name.
2387 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2388 ac_top_srcdir=$ac_top_build_prefix$srcdir
2389 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2390 esac
2391 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2393 cd "$ac_dir" || { ac_status=$?; continue; }
2394 # Check for guested configure.
2395 if test -f "$ac_srcdir/configure.gnu"; then
2396 echo &&
2397 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2398 elif test -f "$ac_srcdir/configure"; then
2399 echo &&
2400 $SHELL "$ac_srcdir/configure" --help=recursive
2401 else
2402 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2403 fi || ac_status=$?
2404 cd "$ac_pwd" || { ac_status=$?; break; }
2405 done
2408 test -n "$ac_init_help" && exit $ac_status
2409 if $ac_init_version; then
2410 cat <<\_ACEOF
2411 Wine configure 1.9.6
2412 generated by GNU Autoconf 2.69
2414 Copyright (C) 2012 Free Software Foundation, Inc.
2415 This configure script is free software; the Free Software Foundation
2416 gives unlimited permission to copy, distribute and modify it.
2417 _ACEOF
2418 exit
2421 ## ------------------------ ##
2422 ## Autoconf initialization. ##
2423 ## ------------------------ ##
2425 # ac_fn_c_try_compile LINENO
2426 # --------------------------
2427 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2428 ac_fn_c_try_compile ()
2430 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2431 rm -f conftest.$ac_objext
2432 if { { ac_try="$ac_compile"
2433 case "(($ac_try" in
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2436 esac
2437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2438 $as_echo "$ac_try_echo"; } >&5
2439 (eval "$ac_compile") 2>conftest.err
2440 ac_status=$?
2441 if test -s conftest.err; then
2442 grep -v '^ *+' conftest.err >conftest.er1
2443 cat conftest.er1 >&5
2444 mv -f conftest.er1 conftest.err
2446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2447 test $ac_status = 0; } && {
2448 test -z "$ac_c_werror_flag" ||
2449 test ! -s conftest.err
2450 } && test -s conftest.$ac_objext; then :
2451 ac_retval=0
2452 else
2453 $as_echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 ac_retval=1
2458 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2459 as_fn_set_status $ac_retval
2461 } # ac_fn_c_try_compile
2463 # ac_fn_cxx_try_compile LINENO
2464 # ----------------------------
2465 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2466 ac_fn_cxx_try_compile ()
2468 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2469 rm -f conftest.$ac_objext
2470 if { { ac_try="$ac_compile"
2471 case "(($ac_try" in
2472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2473 *) ac_try_echo=$ac_try;;
2474 esac
2475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2476 $as_echo "$ac_try_echo"; } >&5
2477 (eval "$ac_compile") 2>conftest.err
2478 ac_status=$?
2479 if test -s conftest.err; then
2480 grep -v '^ *+' conftest.err >conftest.er1
2481 cat conftest.er1 >&5
2482 mv -f conftest.er1 conftest.err
2484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2485 test $ac_status = 0; } && {
2486 test -z "$ac_cxx_werror_flag" ||
2487 test ! -s conftest.err
2488 } && test -s conftest.$ac_objext; then :
2489 ac_retval=0
2490 else
2491 $as_echo "$as_me: failed program was:" >&5
2492 sed 's/^/| /' conftest.$ac_ext >&5
2494 ac_retval=1
2496 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2497 as_fn_set_status $ac_retval
2499 } # ac_fn_cxx_try_compile
2501 # ac_fn_c_try_link LINENO
2502 # -----------------------
2503 # Try to link conftest.$ac_ext, and return whether this succeeded.
2504 ac_fn_c_try_link ()
2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2507 rm -f conftest.$ac_objext conftest$ac_exeext
2508 if { { ac_try="$ac_link"
2509 case "(($ac_try" in
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2512 esac
2513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2514 $as_echo "$ac_try_echo"; } >&5
2515 (eval "$ac_link") 2>conftest.err
2516 ac_status=$?
2517 if test -s conftest.err; then
2518 grep -v '^ *+' conftest.err >conftest.er1
2519 cat conftest.er1 >&5
2520 mv -f conftest.er1 conftest.err
2522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2523 test $ac_status = 0; } && {
2524 test -z "$ac_c_werror_flag" ||
2525 test ! -s conftest.err
2526 } && test -s conftest$ac_exeext && {
2527 test "$cross_compiling" = yes ||
2528 test -x conftest$ac_exeext
2529 }; then :
2530 ac_retval=0
2531 else
2532 $as_echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2535 ac_retval=1
2537 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2538 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2539 # interfere with the next link command; also delete a directory that is
2540 # left behind by Apple's compiler. We do this before executing the actions.
2541 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2543 as_fn_set_status $ac_retval
2545 } # ac_fn_c_try_link
2547 # ac_fn_c_try_cpp LINENO
2548 # ----------------------
2549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2550 ac_fn_c_try_cpp ()
2552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2553 if { { ac_try="$ac_cpp conftest.$ac_ext"
2554 case "(($ac_try" in
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2557 esac
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2561 ac_status=$?
2562 if test -s conftest.err; then
2563 grep -v '^ *+' conftest.err >conftest.er1
2564 cat conftest.er1 >&5
2565 mv -f conftest.er1 conftest.err
2567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2568 test $ac_status = 0; } > conftest.i && {
2569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2570 test ! -s conftest.err
2571 }; then :
2572 ac_retval=0
2573 else
2574 $as_echo "$as_me: failed program was:" >&5
2575 sed 's/^/| /' conftest.$ac_ext >&5
2577 ac_retval=1
2579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2580 as_fn_set_status $ac_retval
2582 } # ac_fn_c_try_cpp
2584 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2585 # -------------------------------------------------------
2586 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2587 # the include files in INCLUDES and setting the cache variable VAR
2588 # accordingly.
2589 ac_fn_c_check_header_mongrel ()
2591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2592 if eval \${$3+:} false; then :
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2594 $as_echo_n "checking for $2... " >&6; }
2595 if eval \${$3+:} false; then :
2596 $as_echo_n "(cached) " >&6
2598 eval ac_res=\$$3
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2600 $as_echo "$ac_res" >&6; }
2601 else
2602 # Is the header compilable?
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2604 $as_echo_n "checking $2 usability... " >&6; }
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606 /* end confdefs.h. */
2608 #include <$2>
2609 _ACEOF
2610 if ac_fn_c_try_compile "$LINENO"; then :
2611 ac_header_compiler=yes
2612 else
2613 ac_header_compiler=no
2615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2617 $as_echo "$ac_header_compiler" >&6; }
2619 # Is the header present?
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2621 $as_echo_n "checking $2 presence... " >&6; }
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2624 #include <$2>
2625 _ACEOF
2626 if ac_fn_c_try_cpp "$LINENO"; then :
2627 ac_header_preproc=yes
2628 else
2629 ac_header_preproc=no
2631 rm -f conftest.err conftest.i conftest.$ac_ext
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2633 $as_echo "$ac_header_preproc" >&6; }
2635 # So? What about this header?
2636 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2637 yes:no: )
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2639 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2643 no:yes:* )
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2645 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2647 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2649 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2651 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2654 ( $as_echo "## ------------------------------------ ##
2655 ## Report this to wine-devel@winehq.org ##
2656 ## ------------------------------------ ##"
2657 ) | sed "s/^/$as_me: WARNING: /" >&2
2659 esac
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2661 $as_echo_n "checking for $2... " >&6; }
2662 if eval \${$3+:} false; then :
2663 $as_echo_n "(cached) " >&6
2664 else
2665 eval "$3=\$ac_header_compiler"
2667 eval ac_res=\$$3
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2669 $as_echo "$ac_res" >&6; }
2671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 } # ac_fn_c_check_header_mongrel
2675 # ac_fn_c_try_run LINENO
2676 # ----------------------
2677 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2678 # that executables *can* be run.
2679 ac_fn_c_try_run ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 if { { ac_try="$ac_link"
2683 case "(($ac_try" in
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2686 esac
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2690 ac_status=$?
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2693 { { case "(($ac_try" in
2694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2695 *) ac_try_echo=$ac_try;;
2696 esac
2697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2698 $as_echo "$ac_try_echo"; } >&5
2699 (eval "$ac_try") 2>&5
2700 ac_status=$?
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; }; }; then :
2703 ac_retval=0
2704 else
2705 $as_echo "$as_me: program exited with status $ac_status" >&5
2706 $as_echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=$ac_status
2711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 as_fn_set_status $ac_retval
2715 } # ac_fn_c_try_run
2717 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2718 # -------------------------------------------------------
2719 # Tests whether HEADER exists and can be compiled using the include files in
2720 # INCLUDES, setting the cache variable VAR accordingly.
2721 ac_fn_c_check_header_compile ()
2723 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2725 $as_echo_n "checking for $2... " >&6; }
2726 if eval \${$3+:} false; then :
2727 $as_echo_n "(cached) " >&6
2728 else
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2732 #include <$2>
2733 _ACEOF
2734 if ac_fn_c_try_compile "$LINENO"; then :
2735 eval "$3=yes"
2736 else
2737 eval "$3=no"
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2741 eval ac_res=\$$3
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2743 $as_echo "$ac_res" >&6; }
2744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2746 } # ac_fn_c_check_header_compile
2748 # ac_fn_c_check_func LINENO FUNC VAR
2749 # ----------------------------------
2750 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2751 ac_fn_c_check_func ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2755 $as_echo_n "checking for $2... " >&6; }
2756 if eval \${$3+:} false; then :
2757 $as_echo_n "(cached) " >&6
2758 else
2759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 /* end confdefs.h. */
2761 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2763 #define $2 innocuous_$2
2765 /* System header to define __stub macros and hopefully few prototypes,
2766 which can conflict with char $2 (); below.
2767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2768 <limits.h> exists even on freestanding compilers. */
2770 #ifdef __STDC__
2771 # include <limits.h>
2772 #else
2773 # include <assert.h>
2774 #endif
2776 #undef $2
2778 /* Override any GCC internal prototype to avoid an error.
2779 Use char because int might match the return type of a GCC
2780 builtin and then its argument prototype would still apply. */
2781 #ifdef __cplusplus
2782 extern "C"
2783 #endif
2784 char $2 ();
2785 /* The GNU C library defines this for functions which it implements
2786 to always fail with ENOSYS. Some functions are actually named
2787 something starting with __ and the normal name is an alias. */
2788 #if defined __stub_$2 || defined __stub___$2
2789 choke me
2790 #endif
2793 main ()
2795 return $2 ();
2797 return 0;
2799 _ACEOF
2800 if ac_fn_c_try_link "$LINENO"; then :
2801 eval "$3=yes"
2802 else
2803 eval "$3=no"
2805 rm -f core conftest.err conftest.$ac_objext \
2806 conftest$ac_exeext conftest.$ac_ext
2808 eval ac_res=\$$3
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2810 $as_echo "$ac_res" >&6; }
2811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2813 } # ac_fn_c_check_func
2815 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2816 # ----------------------------------------------------
2817 # Tries to find if the field MEMBER exists in type AGGR, after including
2818 # INCLUDES, setting cache variable VAR accordingly.
2819 ac_fn_c_check_member ()
2821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2823 $as_echo_n "checking for $2.$3... " >&6; }
2824 if eval \${$4+:} false; then :
2825 $as_echo_n "(cached) " >&6
2826 else
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2831 main ()
2833 static $2 ac_aggr;
2834 if (ac_aggr.$3)
2835 return 0;
2837 return 0;
2839 _ACEOF
2840 if ac_fn_c_try_compile "$LINENO"; then :
2841 eval "$4=yes"
2842 else
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2847 main ()
2849 static $2 ac_aggr;
2850 if (sizeof ac_aggr.$3)
2851 return 0;
2853 return 0;
2855 _ACEOF
2856 if ac_fn_c_try_compile "$LINENO"; then :
2857 eval "$4=yes"
2858 else
2859 eval "$4=no"
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 eval ac_res=\$$4
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2867 $as_echo "$ac_res" >&6; }
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 } # ac_fn_c_check_member
2872 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2873 # -------------------------------------------
2874 # Tests whether TYPE exists after having included INCLUDES, setting cache
2875 # variable VAR accordingly.
2876 ac_fn_c_check_type ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 $as_echo_n "checking for $2... " >&6; }
2881 if eval \${$3+:} false; then :
2882 $as_echo_n "(cached) " >&6
2883 else
2884 eval "$3=no"
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2889 main ()
2891 if (sizeof ($2))
2892 return 0;
2894 return 0;
2896 _ACEOF
2897 if ac_fn_c_try_compile "$LINENO"; then :
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2902 main ()
2904 if (sizeof (($2)))
2905 return 0;
2907 return 0;
2909 _ACEOF
2910 if ac_fn_c_try_compile "$LINENO"; then :
2912 else
2913 eval "$3=yes"
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 eval ac_res=\$$3
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2921 $as_echo "$ac_res" >&6; }
2922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2924 } # ac_fn_c_check_type
2925 cat >config.log <<_ACEOF
2926 This file contains any messages produced by compilers while
2927 running configure, to aid debugging if configure makes a mistake.
2929 It was created by Wine $as_me 1.9.6, which was
2930 generated by GNU Autoconf 2.69. Invocation command line was
2932 $ $0 $@
2934 _ACEOF
2935 exec 5>>config.log
2937 cat <<_ASUNAME
2938 ## --------- ##
2939 ## Platform. ##
2940 ## --------- ##
2942 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2943 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2944 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2945 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2946 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2948 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2949 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2951 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2952 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2953 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2954 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2955 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2956 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2957 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2959 _ASUNAME
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 for as_dir in $PATH
2964 IFS=$as_save_IFS
2965 test -z "$as_dir" && as_dir=.
2966 $as_echo "PATH: $as_dir"
2967 done
2968 IFS=$as_save_IFS
2970 } >&5
2972 cat >&5 <<_ACEOF
2975 ## ----------- ##
2976 ## Core tests. ##
2977 ## ----------- ##
2979 _ACEOF
2982 # Keep a trace of the command line.
2983 # Strip out --no-create and --no-recursion so they do not pile up.
2984 # Strip out --silent because we don't want to record it for future runs.
2985 # Also quote any args containing shell meta-characters.
2986 # Make two passes to allow for proper duplicate-argument suppression.
2987 ac_configure_args=
2988 ac_configure_args0=
2989 ac_configure_args1=
2990 ac_must_keep_next=false
2991 for ac_pass in 1 2
2993 for ac_arg
2995 case $ac_arg in
2996 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2997 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2998 | -silent | --silent | --silen | --sile | --sil)
2999 continue ;;
3000 *\'*)
3001 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3002 esac
3003 case $ac_pass in
3004 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3006 as_fn_append ac_configure_args1 " '$ac_arg'"
3007 if test $ac_must_keep_next = true; then
3008 ac_must_keep_next=false # Got value, back to normal.
3009 else
3010 case $ac_arg in
3011 *=* | --config-cache | -C | -disable-* | --disable-* \
3012 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3013 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3014 | -with-* | --with-* | -without-* | --without-* | --x)
3015 case "$ac_configure_args0 " in
3016 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3017 esac
3019 -* ) ac_must_keep_next=true ;;
3020 esac
3022 as_fn_append ac_configure_args " '$ac_arg'"
3024 esac
3025 done
3026 done
3027 { ac_configure_args0=; unset ac_configure_args0;}
3028 { ac_configure_args1=; unset ac_configure_args1;}
3030 # When interrupted or exit'd, cleanup temporary files, and complete
3031 # config.log. We remove comments because anyway the quotes in there
3032 # would cause problems or look ugly.
3033 # WARNING: Use '\'' to represent an apostrophe within the trap.
3034 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3035 trap 'exit_status=$?
3036 # Save into config.log some information that might help in debugging.
3038 echo
3040 $as_echo "## ---------------- ##
3041 ## Cache variables. ##
3042 ## ---------------- ##"
3043 echo
3044 # The following way of writing the cache mishandles newlines in values,
3046 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3047 eval ac_val=\$$ac_var
3048 case $ac_val in #(
3049 *${as_nl}*)
3050 case $ac_var in #(
3051 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3052 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3053 esac
3054 case $ac_var in #(
3055 _ | IFS | as_nl) ;; #(
3056 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3057 *) { eval $ac_var=; unset $ac_var;} ;;
3058 esac ;;
3059 esac
3060 done
3061 (set) 2>&1 |
3062 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3063 *${as_nl}ac_space=\ *)
3064 sed -n \
3065 "s/'\''/'\''\\\\'\'''\''/g;
3066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3067 ;; #(
3069 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3071 esac |
3072 sort
3074 echo
3076 $as_echo "## ----------------- ##
3077 ## Output variables. ##
3078 ## ----------------- ##"
3079 echo
3080 for ac_var in $ac_subst_vars
3082 eval ac_val=\$$ac_var
3083 case $ac_val in
3084 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3085 esac
3086 $as_echo "$ac_var='\''$ac_val'\''"
3087 done | sort
3088 echo
3090 if test -n "$ac_subst_files"; then
3091 $as_echo "## ------------------- ##
3092 ## File substitutions. ##
3093 ## ------------------- ##"
3094 echo
3095 for ac_var in $ac_subst_files
3097 eval ac_val=\$$ac_var
3098 case $ac_val in
3099 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3100 esac
3101 $as_echo "$ac_var='\''$ac_val'\''"
3102 done | sort
3103 echo
3106 if test -s confdefs.h; then
3107 $as_echo "## ----------- ##
3108 ## confdefs.h. ##
3109 ## ----------- ##"
3110 echo
3111 cat confdefs.h
3112 echo
3114 test "$ac_signal" != 0 &&
3115 $as_echo "$as_me: caught signal $ac_signal"
3116 $as_echo "$as_me: exit $exit_status"
3117 } >&5
3118 rm -f core *.core core.conftest.* &&
3119 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3120 exit $exit_status
3122 for ac_signal in 1 2 13 15; do
3123 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3124 done
3125 ac_signal=0
3127 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3128 rm -f -r conftest* confdefs.h
3130 $as_echo "/* confdefs.h */" > confdefs.h
3132 # Predefined preprocessor variables.
3134 cat >>confdefs.h <<_ACEOF
3135 #define PACKAGE_NAME "$PACKAGE_NAME"
3136 _ACEOF
3138 cat >>confdefs.h <<_ACEOF
3139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3140 _ACEOF
3142 cat >>confdefs.h <<_ACEOF
3143 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3144 _ACEOF
3146 cat >>confdefs.h <<_ACEOF
3147 #define PACKAGE_STRING "$PACKAGE_STRING"
3148 _ACEOF
3150 cat >>confdefs.h <<_ACEOF
3151 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3152 _ACEOF
3154 cat >>confdefs.h <<_ACEOF
3155 #define PACKAGE_URL "$PACKAGE_URL"
3156 _ACEOF
3159 # Let the site file select an alternate cache file if it wants to.
3160 # Prefer an explicitly selected file to automatically selected ones.
3161 ac_site_file1=NONE
3162 ac_site_file2=NONE
3163 if test -n "$CONFIG_SITE"; then
3164 # We do not want a PATH search for config.site.
3165 case $CONFIG_SITE in #((
3166 -*) ac_site_file1=./$CONFIG_SITE;;
3167 */*) ac_site_file1=$CONFIG_SITE;;
3168 *) ac_site_file1=./$CONFIG_SITE;;
3169 esac
3170 elif test "x$prefix" != xNONE; then
3171 ac_site_file1=$prefix/share/config.site
3172 ac_site_file2=$prefix/etc/config.site
3173 else
3174 ac_site_file1=$ac_default_prefix/share/config.site
3175 ac_site_file2=$ac_default_prefix/etc/config.site
3177 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3179 test "x$ac_site_file" = xNONE && continue
3180 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3182 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3183 sed 's/^/| /' "$ac_site_file" >&5
3184 . "$ac_site_file" \
3185 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $? "failed to load site script $ac_site_file
3188 See \`config.log' for more details" "$LINENO" 5; }
3190 done
3192 if test -r "$cache_file"; then
3193 # Some versions of bash will fail to source /dev/null (special files
3194 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3195 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3197 $as_echo "$as_me: loading cache $cache_file" >&6;}
3198 case $cache_file in
3199 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3200 *) . "./$cache_file";;
3201 esac
3203 else
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3205 $as_echo "$as_me: creating cache $cache_file" >&6;}
3206 >$cache_file
3209 # Check that the precious variables saved in the cache have kept the same
3210 # value.
3211 ac_cache_corrupted=false
3212 for ac_var in $ac_precious_vars; do
3213 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3214 eval ac_new_set=\$ac_env_${ac_var}_set
3215 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3216 eval ac_new_val=\$ac_env_${ac_var}_value
3217 case $ac_old_set,$ac_new_set in
3218 set,)
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3220 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3221 ac_cache_corrupted=: ;;
3222 ,set)
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3224 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3225 ac_cache_corrupted=: ;;
3226 ,);;
3228 if test "x$ac_old_val" != "x$ac_new_val"; then
3229 # differences in whitespace do not lead to failure.
3230 ac_old_val_w=`echo x $ac_old_val`
3231 ac_new_val_w=`echo x $ac_new_val`
3232 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3234 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3235 ac_cache_corrupted=:
3236 else
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3238 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3239 eval $ac_var=\$ac_old_val
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3242 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3244 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3245 fi;;
3246 esac
3247 # Pass precious variables to config.status.
3248 if test "$ac_new_set" = set; then
3249 case $ac_new_val in
3250 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3251 *) ac_arg=$ac_var=$ac_new_val ;;
3252 esac
3253 case " $ac_configure_args " in
3254 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3255 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3256 esac
3258 done
3259 if $ac_cache_corrupted; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3263 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3264 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3266 ## -------------------- ##
3267 ## Main body of script. ##
3268 ## -------------------- ##
3270 ac_ext=c
3271 ac_cpp='$CPP $CPPFLAGS'
3272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3278 ac_config_headers="$ac_config_headers include/config.h"
3280 ac_aux_dir=
3281 for ac_dir in tools "$srcdir"/tools; do
3282 if test -f "$ac_dir/install-sh"; then
3283 ac_aux_dir=$ac_dir
3284 ac_install_sh="$ac_aux_dir/install-sh -c"
3285 break
3286 elif test -f "$ac_dir/install.sh"; then
3287 ac_aux_dir=$ac_dir
3288 ac_install_sh="$ac_aux_dir/install.sh -c"
3289 break
3290 elif test -f "$ac_dir/shtool"; then
3291 ac_aux_dir=$ac_dir
3292 ac_install_sh="$ac_aux_dir/shtool install -c"
3293 break
3295 done
3296 if test -z "$ac_aux_dir"; then
3297 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3300 # These three variables are undocumented and unsupported,
3301 # and are intended to be withdrawn in a future Autoconf release.
3302 # They can cause serious problems if a builder's source tree is in a directory
3303 # whose full name contains unusual characters.
3304 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3305 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3306 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3310 libwine_version="1.0"
3314 # Check whether --enable-win16 was given.
3315 if test "${enable_win16+set}" = set; then :
3316 enableval=$enable_win16;
3319 # Check whether --enable-win64 was given.
3320 if test "${enable_win64+set}" = set; then :
3321 enableval=$enable_win64;
3324 # Check whether --enable-tests was given.
3325 if test "${enable_tests+set}" = set; then :
3326 enableval=$enable_tests;
3329 # Check whether --enable-maintainer-mode was given.
3330 if test "${enable_maintainer_mode+set}" = set; then :
3331 enableval=$enable_maintainer_mode;
3336 # Check whether --with-alsa was given.
3337 if test "${with_alsa+set}" = set; then :
3338 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3342 # Check whether --with-capi was given.
3343 if test "${with_capi+set}" = set; then :
3344 withval=$with_capi;
3348 # Check whether --with-cms was given.
3349 if test "${with_cms+set}" = set; then :
3350 withval=$with_cms;
3354 # Check whether --with-coreaudio was given.
3355 if test "${with_coreaudio+set}" = set; then :
3356 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3360 # Check whether --with-cups was given.
3361 if test "${with_cups+set}" = set; then :
3362 withval=$with_cups;
3366 # Check whether --with-curses was given.
3367 if test "${with_curses+set}" = set; then :
3368 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3372 # Check whether --with-dbus was given.
3373 if test "${with_dbus+set}" = set; then :
3374 withval=$with_dbus;
3378 # Check whether --with-fontconfig was given.
3379 if test "${with_fontconfig+set}" = set; then :
3380 withval=$with_fontconfig;
3384 # Check whether --with-freetype was given.
3385 if test "${with_freetype+set}" = set; then :
3386 withval=$with_freetype;
3390 # Check whether --with-gettext was given.
3391 if test "${with_gettext+set}" = set; then :
3392 withval=$with_gettext;
3396 # Check whether --with-gettextpo was given.
3397 if test "${with_gettextpo+set}" = set; then :
3398 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3402 # Check whether --with-gphoto was given.
3403 if test "${with_gphoto+set}" = set; then :
3404 withval=$with_gphoto;
3408 # Check whether --with-glu was given.
3409 if test "${with_glu+set}" = set; then :
3410 withval=$with_glu;
3414 # Check whether --with-gnutls was given.
3415 if test "${with_gnutls+set}" = set; then :
3416 withval=$with_gnutls;
3420 # Check whether --with-gsm was given.
3421 if test "${with_gsm+set}" = set; then :
3422 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3426 # Check whether --with-gstreamer was given.
3427 if test "${with_gstreamer+set}" = set; then :
3428 withval=$with_gstreamer;
3432 # Check whether --with-hal was given.
3433 if test "${with_hal+set}" = set; then :
3434 withval=$with_hal;
3438 # Check whether --with-jpeg was given.
3439 if test "${with_jpeg+set}" = set; then :
3440 withval=$with_jpeg;
3444 # Check whether --with-ldap was given.
3445 if test "${with_ldap+set}" = set; then :
3446 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3450 # Check whether --with-mpg123 was given.
3451 if test "${with_mpg123+set}" = set; then :
3452 withval=$with_mpg123;
3456 # Check whether --with-netapi was given.
3457 if test "${with_netapi+set}" = set; then :
3458 withval=$with_netapi;
3462 # Check whether --with-openal was given.
3463 if test "${with_openal+set}" = set; then :
3464 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3468 # Check whether --with-opencl was given.
3469 if test "${with_opencl+set}" = set; then :
3470 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3474 # Check whether --with-opengl was given.
3475 if test "${with_opengl+set}" = set; then :
3476 withval=$with_opengl;
3480 # Check whether --with-osmesa was given.
3481 if test "${with_osmesa+set}" = set; then :
3482 withval=$with_osmesa;
3486 # Check whether --with-oss was given.
3487 if test "${with_oss+set}" = set; then :
3488 withval=$with_oss;
3492 # Check whether --with-pcap was given.
3493 if test "${with_pcap+set}" = set; then :
3494 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3498 # Check whether --with-png was given.
3499 if test "${with_png+set}" = set; then :
3500 withval=$with_png;
3504 # Check whether --with-pthread was given.
3505 if test "${with_pthread+set}" = set; then :
3506 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3510 # Check whether --with-pulse was given.
3511 if test "${with_pulse+set}" = set; then :
3512 withval=$with_pulse;
3516 # Check whether --with-sane was given.
3517 if test "${with_sane+set}" = set; then :
3518 withval=$with_sane;
3522 # Check whether --with-tiff was given.
3523 if test "${with_tiff+set}" = set; then :
3524 withval=$with_tiff;
3528 # Check whether --with-v4l was given.
3529 if test "${with_v4l+set}" = set; then :
3530 withval=$with_v4l;
3534 # Check whether --with-xcomposite was given.
3535 if test "${with_xcomposite+set}" = set; then :
3536 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3540 # Check whether --with-xcursor was given.
3541 if test "${with_xcursor+set}" = set; then :
3542 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3546 # Check whether --with-xinerama was given.
3547 if test "${with_xinerama+set}" = set; then :
3548 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3552 # Check whether --with-xinput was given.
3553 if test "${with_xinput+set}" = set; then :
3554 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3558 # Check whether --with-xinput2 was given.
3559 if test "${with_xinput2+set}" = set; then :
3560 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3564 # Check whether --with-xml was given.
3565 if test "${with_xml+set}" = set; then :
3566 withval=$with_xml;
3570 # Check whether --with-xrandr was given.
3571 if test "${with_xrandr+set}" = set; then :
3572 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3576 # Check whether --with-xrender was given.
3577 if test "${with_xrender+set}" = set; then :
3578 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3582 # Check whether --with-xshape was given.
3583 if test "${with_xshape+set}" = set; then :
3584 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3588 # Check whether --with-xshm was given.
3589 if test "${with_xshm+set}" = set; then :
3590 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3594 # Check whether --with-xslt was given.
3595 if test "${with_xslt+set}" = set; then :
3596 withval=$with_xslt;
3600 # Check whether --with-xxf86vm was given.
3601 if test "${with_xxf86vm+set}" = set; then :
3602 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
3606 # Check whether --with-zlib was given.
3607 if test "${with_zlib+set}" = set; then :
3608 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3613 # Check whether --with-wine-tools was given.
3614 if test "${with_wine_tools+set}" = set; then :
3615 withval=$with_wine_tools;
3619 # Check whether --with-wine64 was given.
3620 if test "${with_wine64+set}" = set; then :
3621 withval=$with_wine64;
3625 # Make sure we can run config.sub.
3626 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3627 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3630 $as_echo_n "checking build system type... " >&6; }
3631 if ${ac_cv_build+:} false; then :
3632 $as_echo_n "(cached) " >&6
3633 else
3634 ac_build_alias=$build_alias
3635 test "x$ac_build_alias" = x &&
3636 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3637 test "x$ac_build_alias" = x &&
3638 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3639 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3640 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3644 $as_echo "$ac_cv_build" >&6; }
3645 case $ac_cv_build in
3646 *-*-*) ;;
3647 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3648 esac
3649 build=$ac_cv_build
3650 ac_save_IFS=$IFS; IFS='-'
3651 set x $ac_cv_build
3652 shift
3653 build_cpu=$1
3654 build_vendor=$2
3655 shift; shift
3656 # Remember, the first character of IFS is used to create $*,
3657 # except with old shells:
3658 build_os=$*
3659 IFS=$ac_save_IFS
3660 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3664 $as_echo_n "checking host system type... " >&6; }
3665 if ${ac_cv_host+:} false; then :
3666 $as_echo_n "(cached) " >&6
3667 else
3668 if test "x$host_alias" = x; then
3669 ac_cv_host=$ac_cv_build
3670 else
3671 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3672 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3677 $as_echo "$ac_cv_host" >&6; }
3678 case $ac_cv_host in
3679 *-*-*) ;;
3680 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3681 esac
3682 host=$ac_cv_host
3683 ac_save_IFS=$IFS; IFS='-'
3684 set x $ac_cv_host
3685 shift
3686 host_cpu=$1
3687 host_vendor=$2
3688 shift; shift
3689 # Remember, the first character of IFS is used to create $*,
3690 # except with old shells:
3691 host_os=$*
3692 IFS=$ac_save_IFS
3693 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3697 case "$srcdir" in
3698 .) ;;
3699 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3700 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3701 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3702 fi ;;
3703 esac
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3707 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3708 set x ${MAKE-make}
3709 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3710 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3711 $as_echo_n "(cached) " >&6
3712 else
3713 cat >conftest.make <<\_ACEOF
3714 SHELL = /bin/sh
3715 all:
3716 @echo '@@@%%%=$(MAKE)=@@@%%%'
3717 _ACEOF
3718 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3719 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3720 *@@@%%%=?*=@@@%%%*)
3721 eval ac_cv_prog_make_${ac_make}_set=yes;;
3723 eval ac_cv_prog_make_${ac_make}_set=no;;
3724 esac
3725 rm -f conftest.make
3727 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3729 $as_echo "yes" >&6; }
3730 SET_MAKE=
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 SET_MAKE="MAKE=${MAKE-make}"
3737 ac_ext=c
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3742 if test -n "$ac_tool_prefix"; then
3743 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3744 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_CC+:} false; then :
3748 $as_echo_n "(cached) " >&6
3749 else
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC="$CC" # Let the user override the test.
3752 else
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 for as_dir in $PATH
3756 IFS=$as_save_IFS
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3762 break 2
3764 done
3765 done
3766 IFS=$as_save_IFS
3770 CC=$ac_cv_prog_CC
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3774 else
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3781 if test -z "$ac_cv_prog_CC"; then
3782 ac_ct_CC=$CC
3783 # Extract the first word of "gcc", so it can be a program name with args.
3784 set dummy gcc; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3788 $as_echo_n "(cached) " >&6
3789 else
3790 if test -n "$ac_ct_CC"; then
3791 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3792 else
3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 for as_dir in $PATH
3796 IFS=$as_save_IFS
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_ac_ct_CC="gcc"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 break 2
3804 done
3805 done
3806 IFS=$as_save_IFS
3810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3811 if test -n "$ac_ct_CC"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3813 $as_echo "$ac_ct_CC" >&6; }
3814 else
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3819 if test "x$ac_ct_CC" = x; then
3820 CC=""
3821 else
3822 case $cross_compiling:$ac_tool_warned in
3823 yes:)
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3825 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3826 ac_tool_warned=yes ;;
3827 esac
3828 CC=$ac_ct_CC
3830 else
3831 CC="$ac_cv_prog_CC"
3834 if test -z "$CC"; then
3835 if test -n "$ac_tool_prefix"; then
3836 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}cc; ac_word=$2
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if ${ac_cv_prog_CC+:} false; then :
3841 $as_echo_n "(cached) " >&6
3842 else
3843 if test -n "$CC"; then
3844 ac_cv_prog_CC="$CC" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_CC="${ac_tool_prefix}cc"
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3859 IFS=$as_save_IFS
3863 CC=$ac_cv_prog_CC
3864 if test -n "$CC"; then
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3866 $as_echo "$CC" >&6; }
3867 else
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 $as_echo "no" >&6; }
3875 if test -z "$CC"; then
3876 # Extract the first word of "cc", so it can be a program name with args.
3877 set dummy cc; ac_word=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if ${ac_cv_prog_CC+:} false; then :
3881 $as_echo_n "(cached) " >&6
3882 else
3883 if test -n "$CC"; then
3884 ac_cv_prog_CC="$CC" # Let the user override the test.
3885 else
3886 ac_prog_rejected=no
3887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3888 for as_dir in $PATH
3890 IFS=$as_save_IFS
3891 test -z "$as_dir" && as_dir=.
3892 for ac_exec_ext in '' $ac_executable_extensions; do
3893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3894 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3895 ac_prog_rejected=yes
3896 continue
3898 ac_cv_prog_CC="cc"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 break 2
3902 done
3903 done
3904 IFS=$as_save_IFS
3906 if test $ac_prog_rejected = yes; then
3907 # We found a bogon in the path, so make sure we never use it.
3908 set dummy $ac_cv_prog_CC
3909 shift
3910 if test $# != 0; then
3911 # We chose a different compiler from the bogus one.
3912 # However, it has the same basename, so the bogon will be chosen
3913 # first if we set CC to just the basename; use the full file name.
3914 shift
3915 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3920 CC=$ac_cv_prog_CC
3921 if test -n "$CC"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3923 $as_echo "$CC" >&6; }
3924 else
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3931 if test -z "$CC"; then
3932 if test -n "$ac_tool_prefix"; then
3933 for ac_prog in cl.exe
3935 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3936 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938 $as_echo_n "checking for $ac_word... " >&6; }
3939 if ${ac_cv_prog_CC+:} false; then :
3940 $as_echo_n "(cached) " >&6
3941 else
3942 if test -n "$CC"; then
3943 ac_cv_prog_CC="$CC" # Let the user override the test.
3944 else
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3954 break 2
3956 done
3957 done
3958 IFS=$as_save_IFS
3962 CC=$ac_cv_prog_CC
3963 if test -n "$CC"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3965 $as_echo "$CC" >&6; }
3966 else
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3972 test -n "$CC" && break
3973 done
3975 if test -z "$CC"; then
3976 ac_ct_CC=$CC
3977 for ac_prog in cl.exe
3979 # Extract the first word of "$ac_prog", so it can be a program name with args.
3980 set dummy $ac_prog; ac_word=$2
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3982 $as_echo_n "checking for $ac_word... " >&6; }
3983 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3984 $as_echo_n "(cached) " >&6
3985 else
3986 if test -n "$ac_ct_CC"; then
3987 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3988 else
3989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 for as_dir in $PATH
3992 IFS=$as_save_IFS
3993 test -z "$as_dir" && as_dir=.
3994 for ac_exec_ext in '' $ac_executable_extensions; do
3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3996 ac_cv_prog_ac_ct_CC="$ac_prog"
3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 break 2
4000 done
4001 done
4002 IFS=$as_save_IFS
4006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4007 if test -n "$ac_ct_CC"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4009 $as_echo "$ac_ct_CC" >&6; }
4010 else
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4016 test -n "$ac_ct_CC" && break
4017 done
4019 if test "x$ac_ct_CC" = x; then
4020 CC=""
4021 else
4022 case $cross_compiling:$ac_tool_warned in
4023 yes:)
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4026 ac_tool_warned=yes ;;
4027 esac
4028 CC=$ac_ct_CC
4035 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4037 as_fn_error $? "no acceptable C compiler found in \$PATH
4038 See \`config.log' for more details" "$LINENO" 5; }
4040 # Provide some information about the compiler.
4041 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4042 set X $ac_compile
4043 ac_compiler=$2
4044 for ac_option in --version -v -V -qversion; do
4045 { { ac_try="$ac_compiler $ac_option >&5"
4046 case "(($ac_try" in
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4053 ac_status=$?
4054 if test -s conftest.err; then
4055 sed '10a\
4056 ... rest of stderr output deleted ...
4057 10q' conftest.err >conftest.er1
4058 cat conftest.er1 >&5
4060 rm -f conftest.er1 conftest.err
4061 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4062 test $ac_status = 0; }
4063 done
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4069 main ()
4073 return 0;
4075 _ACEOF
4076 ac_clean_files_save=$ac_clean_files
4077 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4078 # Try to create an executable without -o first, disregard a.out.
4079 # It will help us diagnose broken compilers, and finding out an intuition
4080 # of exeext.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4082 $as_echo_n "checking whether the C compiler works... " >&6; }
4083 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4085 # The possible output files:
4086 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4088 ac_rmfiles=
4089 for ac_file in $ac_files
4091 case $ac_file in
4092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4093 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4094 esac
4095 done
4096 rm -f $ac_rmfiles
4098 if { { ac_try="$ac_link_default"
4099 case "(($ac_try" in
4100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4101 *) ac_try_echo=$ac_try;;
4102 esac
4103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4104 $as_echo "$ac_try_echo"; } >&5
4105 (eval "$ac_link_default") 2>&5
4106 ac_status=$?
4107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4108 test $ac_status = 0; }; then :
4109 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4110 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4111 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4112 # so that the user can short-circuit this test for compilers unknown to
4113 # Autoconf.
4114 for ac_file in $ac_files ''
4116 test -f "$ac_file" || continue
4117 case $ac_file in
4118 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4120 [ab].out )
4121 # We found the default executable, but exeext='' is most
4122 # certainly right.
4123 break;;
4124 *.* )
4125 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4126 then :; else
4127 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4129 # We set ac_cv_exeext here because the later test for it is not
4130 # safe: cross compilers may not add the suffix if given an `-o'
4131 # argument, so we may need to know it at that point already.
4132 # Even if this section looks crufty: it has the advantage of
4133 # actually working.
4134 break;;
4136 break;;
4137 esac
4138 done
4139 test "$ac_cv_exeext" = no && ac_cv_exeext=
4141 else
4142 ac_file=''
4144 if test -z "$ac_file"; then :
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4146 $as_echo "no" >&6; }
4147 $as_echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.$ac_ext >&5
4150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4152 as_fn_error 77 "C compiler cannot create executables
4153 See \`config.log' for more details" "$LINENO" 5; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4156 $as_echo "yes" >&6; }
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4159 $as_echo_n "checking for C compiler default output file name... " >&6; }
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4161 $as_echo "$ac_file" >&6; }
4162 ac_exeext=$ac_cv_exeext
4164 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4165 ac_clean_files=$ac_clean_files_save
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4167 $as_echo_n "checking for suffix of executables... " >&6; }
4168 if { { ac_try="$ac_link"
4169 case "(($ac_try" in
4170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4171 *) ac_try_echo=$ac_try;;
4172 esac
4173 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4174 $as_echo "$ac_try_echo"; } >&5
4175 (eval "$ac_link") 2>&5
4176 ac_status=$?
4177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4178 test $ac_status = 0; }; then :
4179 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4180 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4181 # work properly (i.e., refer to `conftest.exe'), while it won't with
4182 # `rm'.
4183 for ac_file in conftest.exe conftest conftest.*; do
4184 test -f "$ac_file" || continue
4185 case $ac_file in
4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4187 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4188 break;;
4189 * ) break;;
4190 esac
4191 done
4192 else
4193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4195 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4196 See \`config.log' for more details" "$LINENO" 5; }
4198 rm -f conftest conftest$ac_cv_exeext
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4200 $as_echo "$ac_cv_exeext" >&6; }
4202 rm -f conftest.$ac_ext
4203 EXEEXT=$ac_cv_exeext
4204 ac_exeext=$EXEEXT
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4207 #include <stdio.h>
4209 main ()
4211 FILE *f = fopen ("conftest.out", "w");
4212 return ferror (f) || fclose (f) != 0;
4215 return 0;
4217 _ACEOF
4218 ac_clean_files="$ac_clean_files conftest.out"
4219 # Check that the compiler produces executables we can run. If not, either
4220 # the compiler is broken, or we cross compile.
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4222 $as_echo_n "checking whether we are cross compiling... " >&6; }
4223 if test "$cross_compiling" != yes; then
4224 { { ac_try="$ac_link"
4225 case "(($ac_try" in
4226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4227 *) ac_try_echo=$ac_try;;
4228 esac
4229 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4230 $as_echo "$ac_try_echo"; } >&5
4231 (eval "$ac_link") 2>&5
4232 ac_status=$?
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }
4235 if { ac_try='./conftest$ac_cv_exeext'
4236 { { case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239 esac
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_try") 2>&5
4243 ac_status=$?
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; }; then
4246 cross_compiling=no
4247 else
4248 if test "$cross_compiling" = maybe; then
4249 cross_compiling=yes
4250 else
4251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4253 as_fn_error $? "cannot run C compiled programs.
4254 If you meant to cross compile, use \`--host'.
4255 See \`config.log' for more details" "$LINENO" 5; }
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4260 $as_echo "$cross_compiling" >&6; }
4262 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4263 ac_clean_files=$ac_clean_files_save
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4265 $as_echo_n "checking for suffix of object files... " >&6; }
4266 if ${ac_cv_objext+:} false; then :
4267 $as_echo_n "(cached) " >&6
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 rm -f conftest.o conftest.obj
4281 if { { ac_try="$ac_compile"
4282 case "(($ac_try" in
4283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284 *) ac_try_echo=$ac_try;;
4285 esac
4286 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287 $as_echo "$ac_try_echo"; } >&5
4288 (eval "$ac_compile") 2>&5
4289 ac_status=$?
4290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291 test $ac_status = 0; }; then :
4292 for ac_file in conftest.o conftest.obj conftest.*; do
4293 test -f "$ac_file" || continue;
4294 case $ac_file in
4295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4296 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4297 break;;
4298 esac
4299 done
4300 else
4301 $as_echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.$ac_ext >&5
4304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4306 as_fn_error $? "cannot compute suffix of object files: cannot compile
4307 See \`config.log' for more details" "$LINENO" 5; }
4309 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4312 $as_echo "$ac_cv_objext" >&6; }
4313 OBJEXT=$ac_cv_objext
4314 ac_objext=$OBJEXT
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4316 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4317 if ${ac_cv_c_compiler_gnu+:} false; then :
4318 $as_echo_n "(cached) " >&6
4319 else
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4324 main ()
4326 #ifndef __GNUC__
4327 choke me
4328 #endif
4331 return 0;
4333 _ACEOF
4334 if ac_fn_c_try_compile "$LINENO"; then :
4335 ac_compiler_gnu=yes
4336 else
4337 ac_compiler_gnu=no
4339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4340 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4344 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4345 if test $ac_compiler_gnu = yes; then
4346 GCC=yes
4347 else
4348 GCC=
4350 ac_test_CFLAGS=${CFLAGS+set}
4351 ac_save_CFLAGS=$CFLAGS
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4353 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4354 if ${ac_cv_prog_cc_g+:} false; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 ac_save_c_werror_flag=$ac_c_werror_flag
4358 ac_c_werror_flag=yes
4359 ac_cv_prog_cc_g=no
4360 CFLAGS="-g"
4361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4362 /* end confdefs.h. */
4365 main ()
4369 return 0;
4371 _ACEOF
4372 if ac_fn_c_try_compile "$LINENO"; then :
4373 ac_cv_prog_cc_g=yes
4374 else
4375 CFLAGS=""
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4380 main ()
4384 return 0;
4386 _ACEOF
4387 if ac_fn_c_try_compile "$LINENO"; then :
4389 else
4390 ac_c_werror_flag=$ac_save_c_werror_flag
4391 CFLAGS="-g"
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4396 main ()
4400 return 0;
4402 _ACEOF
4403 if ac_fn_c_try_compile "$LINENO"; then :
4404 ac_cv_prog_cc_g=yes
4406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4411 ac_c_werror_flag=$ac_save_c_werror_flag
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4414 $as_echo "$ac_cv_prog_cc_g" >&6; }
4415 if test "$ac_test_CFLAGS" = set; then
4416 CFLAGS=$ac_save_CFLAGS
4417 elif test $ac_cv_prog_cc_g = yes; then
4418 if test "$GCC" = yes; then
4419 CFLAGS="-g -O2"
4420 else
4421 CFLAGS="-g"
4423 else
4424 if test "$GCC" = yes; then
4425 CFLAGS="-O2"
4426 else
4427 CFLAGS=
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4431 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4432 if ${ac_cv_prog_cc_c89+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 ac_cv_prog_cc_c89=no
4436 ac_save_CC=$CC
4437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4438 /* end confdefs.h. */
4439 #include <stdarg.h>
4440 #include <stdio.h>
4441 struct stat;
4442 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4443 struct buf { int x; };
4444 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4445 static char *e (p, i)
4446 char **p;
4447 int i;
4449 return p[i];
4451 static char *f (char * (*g) (char **, int), char **p, ...)
4453 char *s;
4454 va_list v;
4455 va_start (v,p);
4456 s = g (p, va_arg (v,int));
4457 va_end (v);
4458 return s;
4461 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4462 function prototypes and stuff, but not '\xHH' hex character constants.
4463 These don't provoke an error unfortunately, instead are silently treated
4464 as 'x'. The following induces an error, until -std is added to get
4465 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4466 array size at least. It's necessary to write '\x00'==0 to get something
4467 that's true only with -std. */
4468 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4470 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4471 inside strings and character constants. */
4472 #define FOO(x) 'x'
4473 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4475 int test (int i, double x);
4476 struct s1 {int (*f) (int a);};
4477 struct s2 {int (*f) (double a);};
4478 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4479 int argc;
4480 char **argv;
4482 main ()
4484 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4486 return 0;
4488 _ACEOF
4489 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4490 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4492 CC="$ac_save_CC $ac_arg"
4493 if ac_fn_c_try_compile "$LINENO"; then :
4494 ac_cv_prog_cc_c89=$ac_arg
4496 rm -f core conftest.err conftest.$ac_objext
4497 test "x$ac_cv_prog_cc_c89" != "xno" && break
4498 done
4499 rm -f conftest.$ac_ext
4500 CC=$ac_save_CC
4503 # AC_CACHE_VAL
4504 case "x$ac_cv_prog_cc_c89" in
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4507 $as_echo "none needed" >&6; } ;;
4508 xno)
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4510 $as_echo "unsupported" >&6; } ;;
4512 CC="$CC $ac_cv_prog_cc_c89"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4514 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4515 esac
4516 if test "x$ac_cv_prog_cc_c89" != xno; then :
4520 ac_ext=c
4521 ac_cpp='$CPP $CPPFLAGS'
4522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4526 ac_ext=cpp
4527 ac_cpp='$CXXCPP $CPPFLAGS'
4528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4531 if test -z "$CXX"; then
4532 if test -n "$CCC"; then
4533 CXX=$CCC
4534 else
4535 if test -n "$ac_tool_prefix"; then
4536 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4538 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4539 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if ${ac_cv_prog_CXX+:} false; then :
4543 $as_echo_n "(cached) " >&6
4544 else
4545 if test -n "$CXX"; then
4546 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4547 else
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4551 IFS=$as_save_IFS
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 break 2
4559 done
4560 done
4561 IFS=$as_save_IFS
4565 CXX=$ac_cv_prog_CXX
4566 if test -n "$CXX"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4568 $as_echo "$CXX" >&6; }
4569 else
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$CXX" && break
4576 done
4578 if test -z "$CXX"; then
4579 ac_ct_CXX=$CXX
4580 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4582 # Extract the first word of "$ac_prog", so it can be a program name with args.
4583 set dummy $ac_prog; ac_word=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4587 $as_echo_n "(cached) " >&6
4588 else
4589 if test -n "$ac_ct_CXX"; then
4590 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4591 else
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4593 for as_dir in $PATH
4595 IFS=$as_save_IFS
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_ac_ct_CXX="$ac_prog"
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 break 2
4603 done
4604 done
4605 IFS=$as_save_IFS
4609 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4610 if test -n "$ac_ct_CXX"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4612 $as_echo "$ac_ct_CXX" >&6; }
4613 else
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 test -n "$ac_ct_CXX" && break
4620 done
4622 if test "x$ac_ct_CXX" = x; then
4623 CXX="g++"
4624 else
4625 case $cross_compiling:$ac_tool_warned in
4626 yes:)
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4629 ac_tool_warned=yes ;;
4630 esac
4631 CXX=$ac_ct_CXX
4637 # Provide some information about the compiler.
4638 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4639 set X $ac_compile
4640 ac_compiler=$2
4641 for ac_option in --version -v -V -qversion; do
4642 { { ac_try="$ac_compiler $ac_option >&5"
4643 case "(($ac_try" in
4644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4645 *) ac_try_echo=$ac_try;;
4646 esac
4647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4648 $as_echo "$ac_try_echo"; } >&5
4649 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4650 ac_status=$?
4651 if test -s conftest.err; then
4652 sed '10a\
4653 ... rest of stderr output deleted ...
4654 10q' conftest.err >conftest.er1
4655 cat conftest.er1 >&5
4657 rm -f conftest.er1 conftest.err
4658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4659 test $ac_status = 0; }
4660 done
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4663 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4664 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4665 $as_echo_n "(cached) " >&6
4666 else
4667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4668 /* end confdefs.h. */
4671 main ()
4673 #ifndef __GNUC__
4674 choke me
4675 #endif
4678 return 0;
4680 _ACEOF
4681 if ac_fn_cxx_try_compile "$LINENO"; then :
4682 ac_compiler_gnu=yes
4683 else
4684 ac_compiler_gnu=no
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4691 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4692 if test $ac_compiler_gnu = yes; then
4693 GXX=yes
4694 else
4695 GXX=
4697 ac_test_CXXFLAGS=${CXXFLAGS+set}
4698 ac_save_CXXFLAGS=$CXXFLAGS
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4700 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4701 if ${ac_cv_prog_cxx_g+:} false; then :
4702 $as_echo_n "(cached) " >&6
4703 else
4704 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4705 ac_cxx_werror_flag=yes
4706 ac_cv_prog_cxx_g=no
4707 CXXFLAGS="-g"
4708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4709 /* end confdefs.h. */
4712 main ()
4716 return 0;
4718 _ACEOF
4719 if ac_fn_cxx_try_compile "$LINENO"; then :
4720 ac_cv_prog_cxx_g=yes
4721 else
4722 CXXFLAGS=""
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4727 main ()
4731 return 0;
4733 _ACEOF
4734 if ac_fn_cxx_try_compile "$LINENO"; then :
4736 else
4737 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4738 CXXFLAGS="-g"
4739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4740 /* end confdefs.h. */
4743 main ()
4747 return 0;
4749 _ACEOF
4750 if ac_fn_cxx_try_compile "$LINENO"; then :
4751 ac_cv_prog_cxx_g=yes
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4761 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4762 if test "$ac_test_CXXFLAGS" = set; then
4763 CXXFLAGS=$ac_save_CXXFLAGS
4764 elif test $ac_cv_prog_cxx_g = yes; then
4765 if test "$GXX" = yes; then
4766 CXXFLAGS="-g -O2"
4767 else
4768 CXXFLAGS="-g"
4770 else
4771 if test "$GXX" = yes; then
4772 CXXFLAGS="-O2"
4773 else
4774 CXXFLAGS=
4777 ac_ext=c
4778 ac_cpp='$CPP $CPPFLAGS'
4779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4783 if test -n "$ac_tool_prefix"; then
4784 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4785 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_prog_CPPBIN+:} false; then :
4789 $as_echo_n "(cached) " >&6
4790 else
4791 if test -n "$CPPBIN"; then
4792 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4793 else
4794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4795 for as_dir in $PATH
4797 IFS=$as_save_IFS
4798 test -z "$as_dir" && as_dir=.
4799 for ac_exec_ext in '' $ac_executable_extensions; do
4800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4801 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 break 2
4805 done
4806 done
4807 IFS=$as_save_IFS
4811 CPPBIN=$ac_cv_prog_CPPBIN
4812 if test -n "$CPPBIN"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4814 $as_echo "$CPPBIN" >&6; }
4815 else
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4822 if test -z "$ac_cv_prog_CPPBIN"; then
4823 ac_ct_CPPBIN=$CPPBIN
4824 # Extract the first word of "cpp", so it can be a program name with args.
4825 set dummy cpp; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if test -n "$ac_ct_CPPBIN"; then
4832 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_ac_ct_CPPBIN="cpp"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4852 if test -n "$ac_ct_CPPBIN"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4854 $as_echo "$ac_ct_CPPBIN" >&6; }
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4860 if test "x$ac_ct_CPPBIN" = x; then
4861 CPPBIN="cpp"
4862 else
4863 case $cross_compiling:$ac_tool_warned in
4864 yes:)
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4867 ac_tool_warned=yes ;;
4868 esac
4869 CPPBIN=$ac_ct_CPPBIN
4871 else
4872 CPPBIN="$ac_cv_prog_CPPBIN"
4876 cat >>confdefs.h <<_ACEOF
4877 #define EXEEXT "$ac_exeext"
4878 _ACEOF
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4882 set dummy ${ac_tool_prefix}ld; ac_word=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_LD+:} false; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if test -n "$LD"; then
4889 ac_cv_prog_LD="$LD" # Let the user override the test.
4890 else
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 for as_dir in $PATH
4894 IFS=$as_save_IFS
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_LD="${ac_tool_prefix}ld"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 break 2
4902 done
4903 done
4904 IFS=$as_save_IFS
4908 LD=$ac_cv_prog_LD
4909 if test -n "$LD"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4911 $as_echo "$LD" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4919 if test -z "$ac_cv_prog_LD"; then
4920 ac_ct_LD=$LD
4921 # Extract the first word of "ld", so it can be a program name with args.
4922 set dummy ld; ac_word=$2
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 $as_echo_n "checking for $ac_word... " >&6; }
4925 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4926 $as_echo_n "(cached) " >&6
4927 else
4928 if test -n "$ac_ct_LD"; then
4929 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4930 else
4931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4932 for as_dir in $PATH
4934 IFS=$as_save_IFS
4935 test -z "$as_dir" && as_dir=.
4936 for ac_exec_ext in '' $ac_executable_extensions; do
4937 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4938 ac_cv_prog_ac_ct_LD="ld"
4939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 break 2
4942 done
4943 done
4944 IFS=$as_save_IFS
4948 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4949 if test -n "$ac_ct_LD"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4951 $as_echo "$ac_ct_LD" >&6; }
4952 else
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4954 $as_echo "no" >&6; }
4957 if test "x$ac_ct_LD" = x; then
4958 LD=""
4959 else
4960 case $cross_compiling:$ac_tool_warned in
4961 yes:)
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4964 ac_tool_warned=yes ;;
4965 esac
4966 LD=$ac_ct_LD
4968 else
4969 LD="$ac_cv_prog_LD"
4973 case $host in
4974 *-darwin*)
4975 with_fontconfig=${with_fontconfig:-no}
4977 *-mingw32*|*-cygwin*)
4978 enable_win16=${enable_win16:-no}
4979 CFLAGS="$CFLAGS -D_WIN32"
4981 esac
4983 case $host in
4984 x86_64*|amd64*)
4985 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4986 then
4987 CC="$CC -m32"
4988 CXX="$CXX -m32"
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4990 $as_echo_n "checking whether $CC works... " >&6; }
4992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
4996 main ()
5000 return 0;
5002 _ACEOF
5003 if ac_fn_c_try_link "$LINENO"; then :
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5009 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5011 rm -f core conftest.err conftest.$ac_objext \
5012 conftest$ac_exeext conftest.$ac_ext
5013 host_cpu="i386"
5014 notice_platform="32-bit "
5015 TARGETFLAGS="-m32"
5017 enable_win16=${enable_win16:-yes}
5018 else
5019 if test "x${GCC}" = "xyes"
5020 then
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5022 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5024 /* end confdefs.h. */
5025 #include <stdarg.h>
5027 main ()
5029 void func(__builtin_ms_va_list *args);
5031 return 0;
5033 _ACEOF
5034 if ac_fn_c_try_compile "$LINENO"; then :
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5036 $as_echo "yes" >&6; }
5037 else
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5040 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 CC="$CC -m64"
5045 CXX="$CXX -m64"
5046 host_cpu="x86_64"
5047 notice_platform="64-bit "
5048 TARGETFLAGS="-m64"
5052 arm*)
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5054 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5057 int ac_test(int i) { return i; }
5059 main ()
5061 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5063 return 0;
5065 _ACEOF
5066 if ac_fn_c_try_link "$LINENO"; then :
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5068 $as_echo "yes" >&6; }
5069 else
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5072 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5074 rm -f core conftest.err conftest.$ac_objext \
5075 conftest$ac_exeext conftest.$ac_ext
5076 CFLAGS="$CFLAGS -marm"
5077 TARGETFLAGS="-marm"
5080 i[3456789]86*)
5081 enable_win16=${enable_win16:-yes}
5083 esac
5085 enable_win16=${enable_win16:-no}
5086 enable_win64=${enable_win64:-no}
5088 enable_winetest=${enable_winetest:-$enable_tests}
5090 if test -n "$with_wine64"
5091 then
5092 if test "x$enable_win64" = "xyes"
5093 then
5094 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5095 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5097 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5098 You should create a separate build directory and run configure from there." "$LINENO" 5
5099 enable_fonts=${enable_fonts:-no}
5100 enable_server=${enable_server:-no}
5101 elif test "x$enable_win64" = "xyes"
5102 then
5103 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5107 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5108 if ${wine_cv_toolsdir+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 wine_cv_toolsdir="$with_wine_tools"
5112 if test -z "$with_wine_tools"; then
5113 if test "$cross_compiling" = "yes"; then
5114 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5115 elif test -n "$with_wine64"; then
5116 wine_cv_toolsdir="$with_wine64"
5119 if test -z "$wine_cv_toolsdir"; then
5120 wine_makedep=tools/makedep
5121 wine_cv_toolsdir="\$(top_builddir)"
5122 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5123 wine_makedep=$wine_cv_toolsdir/tools/makedep
5124 case "$wine_cv_toolsdir" in
5125 /*) ;;
5126 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5127 esac
5128 enable_tools=${enable_tools:-no}
5129 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5130 else
5131 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5135 $as_echo "$wine_cv_toolsdir" >&6; }
5136 TOOLSDIR=$wine_cv_toolsdir
5138 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5139 then
5140 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5144 for ac_prog in flex
5146 # Extract the first word of "$ac_prog", so it can be a program name with args.
5147 set dummy $ac_prog; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if ${ac_cv_prog_FLEX+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$FLEX"; then
5154 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5163 ac_cv_prog_FLEX="$ac_prog"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 FLEX=$ac_cv_prog_FLEX
5174 if test -n "$FLEX"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5176 $as_echo "$FLEX" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5183 test -n "$FLEX" && break
5184 done
5185 test -n "$FLEX" || FLEX="none"
5187 if test "$FLEX" = "none"
5188 then
5189 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5192 $as_echo_n "checking whether flex is recent enough... " >&6; }
5193 cat >conftest.l <<EOF
5194 %top{
5195 #include "prediluvian.h"
5199 if $FLEX -t conftest.l >/dev/null 2>&5
5200 then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5202 $as_echo "yes" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5206 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5209 for ac_prog in bison
5211 # Extract the first word of "$ac_prog", so it can be a program name with args.
5212 set dummy $ac_prog; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_BISON+:} false; then :
5216 $as_echo_n "(cached) " >&6
5217 else
5218 if test -n "$BISON"; then
5219 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5224 IFS=$as_save_IFS
5225 test -z "$as_dir" && as_dir=.
5226 for ac_exec_ext in '' $ac_executable_extensions; do
5227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5228 ac_cv_prog_BISON="$ac_prog"
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230 break 2
5232 done
5233 done
5234 IFS=$as_save_IFS
5238 BISON=$ac_cv_prog_BISON
5239 if test -n "$BISON"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5241 $as_echo "$BISON" >&6; }
5242 else
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 test -n "$BISON" && break
5249 done
5250 test -n "$BISON" || BISON="none"
5252 if test "$BISON" = "none"
5253 then
5254 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5257 if test -n "$ac_tool_prefix"; then
5258 for ac_prog in ar gar
5260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_AR+:} false; then :
5265 $as_echo_n "(cached) " >&6
5266 else
5267 if test -n "$AR"; then
5268 ac_cv_prog_AR="$AR" # Let the user override the test.
5269 else
5270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 for as_dir in $PATH
5273 IFS=$as_save_IFS
5274 test -z "$as_dir" && as_dir=.
5275 for ac_exec_ext in '' $ac_executable_extensions; do
5276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279 break 2
5281 done
5282 done
5283 IFS=$as_save_IFS
5287 AR=$ac_cv_prog_AR
5288 if test -n "$AR"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5290 $as_echo "$AR" >&6; }
5291 else
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5297 test -n "$AR" && break
5298 done
5300 if test -z "$AR"; then
5301 ac_ct_AR=$AR
5302 for ac_prog in ar gar
5304 # Extract the first word of "$ac_prog", so it can be a program name with args.
5305 set dummy $ac_prog; ac_word=$2
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5307 $as_echo_n "checking for $ac_word... " >&6; }
5308 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5309 $as_echo_n "(cached) " >&6
5310 else
5311 if test -n "$ac_ct_AR"; then
5312 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5313 else
5314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5315 for as_dir in $PATH
5317 IFS=$as_save_IFS
5318 test -z "$as_dir" && as_dir=.
5319 for ac_exec_ext in '' $ac_executable_extensions; do
5320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5321 ac_cv_prog_ac_ct_AR="$ac_prog"
5322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 break 2
5325 done
5326 done
5327 IFS=$as_save_IFS
5331 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5332 if test -n "$ac_ct_AR"; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5334 $as_echo "$ac_ct_AR" >&6; }
5335 else
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5337 $as_echo "no" >&6; }
5341 test -n "$ac_ct_AR" && break
5342 done
5344 if test "x$ac_ct_AR" = x; then
5345 AR="ar"
5346 else
5347 case $cross_compiling:$ac_tool_warned in
5348 yes:)
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5351 ac_tool_warned=yes ;;
5352 esac
5353 AR=$ac_ct_AR
5357 if test -n "$ac_tool_prefix"; then
5358 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5359 set dummy ${ac_tool_prefix}strip; ac_word=$2
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5361 $as_echo_n "checking for $ac_word... " >&6; }
5362 if ${ac_cv_prog_STRIP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -n "$STRIP"; then
5366 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5367 else
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_exec_ext in '' $ac_executable_extensions; do
5374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5375 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377 break 2
5379 done
5380 done
5381 IFS=$as_save_IFS
5385 STRIP=$ac_cv_prog_STRIP
5386 if test -n "$STRIP"; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5388 $as_echo "$STRIP" >&6; }
5389 else
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5391 $as_echo "no" >&6; }
5396 if test -z "$ac_cv_prog_STRIP"; then
5397 ac_ct_STRIP=$STRIP
5398 # Extract the first word of "strip", so it can be a program name with args.
5399 set dummy strip; ac_word=$2
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5401 $as_echo_n "checking for $ac_word... " >&6; }
5402 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5403 $as_echo_n "(cached) " >&6
5404 else
5405 if test -n "$ac_ct_STRIP"; then
5406 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5407 else
5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5409 for as_dir in $PATH
5411 IFS=$as_save_IFS
5412 test -z "$as_dir" && as_dir=.
5413 for ac_exec_ext in '' $ac_executable_extensions; do
5414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5415 ac_cv_prog_ac_ct_STRIP="strip"
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 break 2
5419 done
5420 done
5421 IFS=$as_save_IFS
5425 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5426 if test -n "$ac_ct_STRIP"; then
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5428 $as_echo "$ac_ct_STRIP" >&6; }
5429 else
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5431 $as_echo "no" >&6; }
5434 if test "x$ac_ct_STRIP" = x; then
5435 STRIP="strip"
5436 else
5437 case $cross_compiling:$ac_tool_warned in
5438 yes:)
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5441 ac_tool_warned=yes ;;
5442 esac
5443 STRIP=$ac_ct_STRIP
5445 else
5446 STRIP="$ac_cv_prog_STRIP"
5449 ARFLAGS=rc
5451 if test -n "$ac_tool_prefix"; then
5452 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5453 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_RANLIB+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if test -n "$RANLIB"; then
5460 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5461 else
5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5463 for as_dir in $PATH
5465 IFS=$as_save_IFS
5466 test -z "$as_dir" && as_dir=.
5467 for ac_exec_ext in '' $ac_executable_extensions; do
5468 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471 break 2
5473 done
5474 done
5475 IFS=$as_save_IFS
5479 RANLIB=$ac_cv_prog_RANLIB
5480 if test -n "$RANLIB"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5482 $as_echo "$RANLIB" >&6; }
5483 else
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5490 if test -z "$ac_cv_prog_RANLIB"; then
5491 ac_ct_RANLIB=$RANLIB
5492 # Extract the first word of "ranlib", so it can be a program name with args.
5493 set dummy ranlib; ac_word=$2
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495 $as_echo_n "checking for $ac_word... " >&6; }
5496 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if test -n "$ac_ct_RANLIB"; then
5500 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5501 else
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_exec_ext in '' $ac_executable_extensions; do
5508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509 ac_cv_prog_ac_ct_RANLIB="ranlib"
5510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511 break 2
5513 done
5514 done
5515 IFS=$as_save_IFS
5519 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5520 if test -n "$ac_ct_RANLIB"; then
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5522 $as_echo "$ac_ct_RANLIB" >&6; }
5523 else
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525 $as_echo "no" >&6; }
5528 if test "x$ac_ct_RANLIB" = x; then
5529 RANLIB=":"
5530 else
5531 case $cross_compiling:$ac_tool_warned in
5532 yes:)
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535 ac_tool_warned=yes ;;
5536 esac
5537 RANLIB=$ac_ct_RANLIB
5539 else
5540 RANLIB="$ac_cv_prog_RANLIB"
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5544 $as_echo_n "checking whether ln -s works... " >&6; }
5545 LN_S=$as_ln_s
5546 if test "$LN_S" = "ln -s"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5548 $as_echo "yes" >&6; }
5549 else
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5551 $as_echo "no, using $LN_S" >&6; }
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5555 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5556 if ${ac_cv_path_GREP+:} false; then :
5557 $as_echo_n "(cached) " >&6
5558 else
5559 if test -z "$GREP"; then
5560 ac_path_GREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in grep ggrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5570 as_fn_executable_p "$ac_path_GREP" || continue
5571 # Check for GNU ac_path_GREP and select it if it is found.
5572 # Check for GNU $ac_path_GREP
5573 case `"$ac_path_GREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'GREP' >> "conftest.nl"
5585 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_GREP="$ac_path_GREP"
5591 ac_path_GREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_GREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_GREP"; then
5605 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_GREP=$GREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5613 $as_echo "$ac_cv_path_GREP" >&6; }
5614 GREP="$ac_cv_path_GREP"
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5618 $as_echo_n "checking for egrep... " >&6; }
5619 if ${ac_cv_path_EGREP+:} false; then :
5620 $as_echo_n "(cached) " >&6
5621 else
5622 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5623 then ac_cv_path_EGREP="$GREP -E"
5624 else
5625 if test -z "$EGREP"; then
5626 ac_path_EGREP_found=false
5627 # Loop through the user's path and test for each of PROGNAME-LIST
5628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5631 IFS=$as_save_IFS
5632 test -z "$as_dir" && as_dir=.
5633 for ac_prog in egrep; do
5634 for ac_exec_ext in '' $ac_executable_extensions; do
5635 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5636 as_fn_executable_p "$ac_path_EGREP" || continue
5637 # Check for GNU ac_path_EGREP and select it if it is found.
5638 # Check for GNU $ac_path_EGREP
5639 case `"$ac_path_EGREP" --version 2>&1` in
5640 *GNU*)
5641 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5643 ac_count=0
5644 $as_echo_n 0123456789 >"conftest.in"
5645 while :
5647 cat "conftest.in" "conftest.in" >"conftest.tmp"
5648 mv "conftest.tmp" "conftest.in"
5649 cp "conftest.in" "conftest.nl"
5650 $as_echo 'EGREP' >> "conftest.nl"
5651 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5652 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5653 as_fn_arith $ac_count + 1 && ac_count=$as_val
5654 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5655 # Best one so far, save it but keep looking for a better one
5656 ac_cv_path_EGREP="$ac_path_EGREP"
5657 ac_path_EGREP_max=$ac_count
5659 # 10*(2^10) chars as input seems more than enough
5660 test $ac_count -gt 10 && break
5661 done
5662 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5663 esac
5665 $ac_path_EGREP_found && break 3
5666 done
5667 done
5668 done
5669 IFS=$as_save_IFS
5670 if test -z "$ac_cv_path_EGREP"; then
5671 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5673 else
5674 ac_cv_path_EGREP=$EGREP
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5680 $as_echo "$ac_cv_path_EGREP" >&6; }
5681 EGREP="$ac_cv_path_EGREP"
5684 # Extract the first word of "ldconfig", so it can be a program name with args.
5685 set dummy ldconfig; ac_word=$2
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5687 $as_echo_n "checking for $ac_word... " >&6; }
5688 if ${ac_cv_path_LDCONFIG+:} false; then :
5689 $as_echo_n "(cached) " >&6
5690 else
5691 case $LDCONFIG in
5692 [\\/]* | ?:[\\/]*)
5693 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5697 for as_dir in /sbin /usr/sbin $PATH
5699 IFS=$as_save_IFS
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5703 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5705 break 2
5707 done
5708 done
5709 IFS=$as_save_IFS
5711 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5713 esac
5715 LDCONFIG=$ac_cv_path_LDCONFIG
5716 if test -n "$LDCONFIG"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5718 $as_echo "$LDCONFIG" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5725 for ac_prog in msgfmt
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy $ac_prog; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_MSGFMT+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$MSGFMT"; then
5735 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_MSGFMT="$ac_prog"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 MSGFMT=$ac_cv_prog_MSGFMT
5755 if test -n "$MSGFMT"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5757 $as_echo "$MSGFMT" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5764 test -n "$MSGFMT" && break
5765 done
5766 test -n "$MSGFMT" || MSGFMT="false"
5768 if ${ac_tool_prefix+:} false; then :
5769 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5774 $as_echo_n "(cached) " >&6
5775 else
5776 if test -n "$PKG_CONFIG"; then
5777 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5778 else
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5780 for as_dir in $PATH
5782 IFS=$as_save_IFS
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5786 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5788 break 2
5790 done
5791 done
5792 IFS=$as_save_IFS
5796 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5797 if test -n "$PKG_CONFIG"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5799 $as_echo "$PKG_CONFIG" >&6; }
5800 else
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5808 if test "x$cross_compiling" = xyes; then :
5810 else
5811 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5812 # Extract the first word of "pkg-config", so it can be a program name with args.
5813 set dummy pkg-config; ac_word=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5817 $as_echo_n "(cached) " >&6
5818 else
5819 if test -n "$PKG_CONFIG"; then
5820 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5825 IFS=$as_save_IFS
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_PKG_CONFIG="pkg-config"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 break 2
5833 done
5834 done
5835 IFS=$as_save_IFS
5839 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5840 if test -n "$PKG_CONFIG"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5842 $as_echo "$PKG_CONFIG" >&6; }
5843 else
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5850 else
5851 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5854 if test "x$enable_maintainer_mode" != "xyes"
5855 then
5856 FONTFORGE=""
5857 RSVG=""
5858 CONVERT=""
5859 ICOTOOL=""
5860 else
5861 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5862 for ac_prog in fontforge
5864 # Extract the first word of "$ac_prog", so it can be a program name with args.
5865 set dummy $ac_prog; ac_word=$2
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5867 $as_echo_n "checking for $ac_word... " >&6; }
5868 if ${ac_cv_prog_FONTFORGE+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 if test -n "$FONTFORGE"; then
5872 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5873 else
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 for as_dir in $PATH
5877 IFS=$as_save_IFS
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5881 ac_cv_prog_FONTFORGE="$ac_prog"
5882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 break 2
5885 done
5886 done
5887 IFS=$as_save_IFS
5891 FONTFORGE=$ac_cv_prog_FONTFORGE
5892 if test -n "$FONTFORGE"; then
5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5894 $as_echo "$FONTFORGE" >&6; }
5895 else
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5897 $as_echo "no" >&6; }
5901 test -n "$FONTFORGE" && break
5902 done
5903 test -n "$FONTFORGE" || FONTFORGE="false"
5905 for ac_prog in rsvg-convert rsvg
5907 # Extract the first word of "$ac_prog", so it can be a program name with args.
5908 set dummy $ac_prog; ac_word=$2
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5910 $as_echo_n "checking for $ac_word... " >&6; }
5911 if ${ac_cv_prog_RSVG+:} false; then :
5912 $as_echo_n "(cached) " >&6
5913 else
5914 if test -n "$RSVG"; then
5915 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5916 else
5917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 for as_dir in $PATH
5920 IFS=$as_save_IFS
5921 test -z "$as_dir" && as_dir=.
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5924 ac_cv_prog_RSVG="$ac_prog"
5925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5926 break 2
5928 done
5929 done
5930 IFS=$as_save_IFS
5934 RSVG=$ac_cv_prog_RSVG
5935 if test -n "$RSVG"; then
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5937 $as_echo "$RSVG" >&6; }
5938 else
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5940 $as_echo "no" >&6; }
5944 test -n "$RSVG" && break
5945 done
5946 test -n "$RSVG" || RSVG="false"
5948 for ac_prog in convert
5950 # Extract the first word of "$ac_prog", so it can be a program name with args.
5951 set dummy $ac_prog; ac_word=$2
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5953 $as_echo_n "checking for $ac_word... " >&6; }
5954 if ${ac_cv_prog_CONVERT+:} false; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5957 if test -n "$CONVERT"; then
5958 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5959 else
5960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5961 for as_dir in $PATH
5963 IFS=$as_save_IFS
5964 test -z "$as_dir" && as_dir=.
5965 for ac_exec_ext in '' $ac_executable_extensions; do
5966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5967 ac_cv_prog_CONVERT="$ac_prog"
5968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5969 break 2
5971 done
5972 done
5973 IFS=$as_save_IFS
5977 CONVERT=$ac_cv_prog_CONVERT
5978 if test -n "$CONVERT"; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5980 $as_echo "$CONVERT" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5983 $as_echo "no" >&6; }
5987 test -n "$CONVERT" && break
5988 done
5989 test -n "$CONVERT" || CONVERT="false"
5991 for ac_prog in icotool
5993 # Extract the first word of "$ac_prog", so it can be a program name with args.
5994 set dummy $ac_prog; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if ${ac_cv_prog_ICOTOOL+:} false; then :
5998 $as_echo_n "(cached) " >&6
5999 else
6000 if test -n "$ICOTOOL"; then
6001 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6002 else
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6004 for as_dir in $PATH
6006 IFS=$as_save_IFS
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6010 ac_cv_prog_ICOTOOL="$ac_prog"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6012 break 2
6014 done
6015 done
6016 IFS=$as_save_IFS
6020 ICOTOOL=$ac_cv_prog_ICOTOOL
6021 if test -n "$ICOTOOL"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6023 $as_echo "$ICOTOOL" >&6; }
6024 else
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6030 test -n "$ICOTOOL" && break
6031 done
6032 test -n "$ICOTOOL" || ICOTOOL="false"
6034 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6035 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6037 if test "$CONVERT" = false
6038 then
6039 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6040 else
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6042 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6043 convert_version=`convert --version | head -n1`
6044 if test "x$convert_version" != "x"
6045 then
6046 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6047 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6048 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6049 then
6050 CONVERT=false
6053 if test "$CONVERT" = false
6054 then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6056 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6057 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6058 else
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6060 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6064 if test "$ICOTOOL" = false
6065 then
6066 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6067 else
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6069 $as_echo_n "checking for recent enough icotool... " >&6; }
6070 icotool_version=`icotool --version | head -n1`
6071 if test "x$icotool_version" != "x"
6072 then
6073 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6074 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6075 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6076 then
6077 ICOTOOL=false
6078 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6081 if test "$ICOTOOL" = false
6082 then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6084 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6085 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6088 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6092 with_gettext=yes
6093 with_gettextpo=yes
6094 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6097 test "x$with_gettext" != xno || MSGFMT=false
6098 if test "$MSGFMT" != "false"
6099 then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6101 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6102 cat >conftest.po <<EOF
6103 # comment
6104 msgctxt "ctxt"
6105 msgid "id"
6106 msgstr "str"
6108 if $MSGFMT -o /dev/null conftest.po 2>&5
6109 then
6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6111 $as_echo "yes" >&6; }
6112 else
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6115 MSGFMT=false
6118 if test "$MSGFMT" = false; then :
6119 case "x$with_gettext" in
6120 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6121 xno) ;;
6122 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6123 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6124 esac
6125 enable_po=${enable_po:-no}
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6130 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6131 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6132 $as_echo_n "(cached) " >&6
6133 else
6134 ac_check_lib_save_LIBS=$LIBS
6135 LIBS="-li386 $LIBS"
6136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6137 /* end confdefs.h. */
6139 /* Override any GCC internal prototype to avoid an error.
6140 Use char because int might match the return type of a GCC
6141 builtin and then its argument prototype would still apply. */
6142 #ifdef __cplusplus
6143 extern "C"
6144 #endif
6145 char i386_set_ldt ();
6147 main ()
6149 return i386_set_ldt ();
6151 return 0;
6153 _ACEOF
6154 if ac_fn_c_try_link "$LINENO"; then :
6155 ac_cv_lib_i386_i386_set_ldt=yes
6156 else
6157 ac_cv_lib_i386_i386_set_ldt=no
6159 rm -f core conftest.err conftest.$ac_objext \
6160 conftest$ac_exeext conftest.$ac_ext
6161 LIBS=$ac_check_lib_save_LIBS
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6164 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6165 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6166 cat >>confdefs.h <<_ACEOF
6167 #define HAVE_LIBI386 1
6168 _ACEOF
6170 LIBS="-li386 $LIBS"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6175 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6176 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6177 $as_echo_n "(cached) " >&6
6178 else
6179 ac_check_lib_save_LIBS=$LIBS
6180 LIBS="-lossaudio $LIBS"
6181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 /* end confdefs.h. */
6184 /* Override any GCC internal prototype to avoid an error.
6185 Use char because int might match the return type of a GCC
6186 builtin and then its argument prototype would still apply. */
6187 #ifdef __cplusplus
6188 extern "C"
6189 #endif
6190 char _oss_ioctl ();
6192 main ()
6194 return _oss_ioctl ();
6196 return 0;
6198 _ACEOF
6199 if ac_fn_c_try_link "$LINENO"; then :
6200 ac_cv_lib_ossaudio__oss_ioctl=yes
6201 else
6202 ac_cv_lib_ossaudio__oss_ioctl=no
6204 rm -f core conftest.err conftest.$ac_objext \
6205 conftest$ac_exeext conftest.$ac_ext
6206 LIBS=$ac_check_lib_save_LIBS
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6209 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6210 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6211 cat >>confdefs.h <<_ACEOF
6212 #define HAVE_LIBOSSAUDIO 1
6213 _ACEOF
6215 LIBS="-lossaudio $LIBS"
6220 OPENGL_LIBS=""
6224 # Check whether --enable-largefile was given.
6225 if test "${enable_largefile+set}" = set; then :
6226 enableval=$enable_largefile;
6229 if test "$enable_largefile" != no; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6232 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6233 if ${ac_cv_sys_largefile_CC+:} false; then :
6234 $as_echo_n "(cached) " >&6
6235 else
6236 ac_cv_sys_largefile_CC=no
6237 if test "$GCC" != yes; then
6238 ac_save_CC=$CC
6239 while :; do
6240 # IRIX 6.2 and later do not support large files by default,
6241 # so use the C compiler's -n32 option if that helps.
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #include <sys/types.h>
6245 /* Check that off_t can represent 2**63 - 1 correctly.
6246 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6247 since some C++ compilers masquerading as C compilers
6248 incorrectly reject 9223372036854775807. */
6249 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6250 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6251 && LARGE_OFF_T % 2147483647 == 1)
6252 ? 1 : -1];
6254 main ()
6258 return 0;
6260 _ACEOF
6261 if ac_fn_c_try_compile "$LINENO"; then :
6262 break
6264 rm -f core conftest.err conftest.$ac_objext
6265 CC="$CC -n32"
6266 if ac_fn_c_try_compile "$LINENO"; then :
6267 ac_cv_sys_largefile_CC=' -n32'; break
6269 rm -f core conftest.err conftest.$ac_objext
6270 break
6271 done
6272 CC=$ac_save_CC
6273 rm -f conftest.$ac_ext
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6277 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6278 if test "$ac_cv_sys_largefile_CC" != no; then
6279 CC=$CC$ac_cv_sys_largefile_CC
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6283 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6284 if ${ac_cv_sys_file_offset_bits+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 while :; do
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */
6290 #include <sys/types.h>
6291 /* Check that off_t can represent 2**63 - 1 correctly.
6292 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6293 since some C++ compilers masquerading as C compilers
6294 incorrectly reject 9223372036854775807. */
6295 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6296 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6297 && LARGE_OFF_T % 2147483647 == 1)
6298 ? 1 : -1];
6300 main ()
6304 return 0;
6306 _ACEOF
6307 if ac_fn_c_try_compile "$LINENO"; then :
6308 ac_cv_sys_file_offset_bits=no; break
6310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6313 #define _FILE_OFFSET_BITS 64
6314 #include <sys/types.h>
6315 /* Check that off_t can represent 2**63 - 1 correctly.
6316 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6317 since some C++ compilers masquerading as C compilers
6318 incorrectly reject 9223372036854775807. */
6319 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6320 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6321 && LARGE_OFF_T % 2147483647 == 1)
6322 ? 1 : -1];
6324 main ()
6328 return 0;
6330 _ACEOF
6331 if ac_fn_c_try_compile "$LINENO"; then :
6332 ac_cv_sys_file_offset_bits=64; break
6334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6335 ac_cv_sys_file_offset_bits=unknown
6336 break
6337 done
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6340 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6341 case $ac_cv_sys_file_offset_bits in #(
6342 no | unknown) ;;
6344 cat >>confdefs.h <<_ACEOF
6345 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6346 _ACEOF
6348 esac
6349 rm -rf conftest*
6350 if test $ac_cv_sys_file_offset_bits = unknown; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6352 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6353 if ${ac_cv_sys_large_files+:} false; then :
6354 $as_echo_n "(cached) " >&6
6355 else
6356 while :; do
6357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6358 /* end confdefs.h. */
6359 #include <sys/types.h>
6360 /* Check that off_t can represent 2**63 - 1 correctly.
6361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6362 since some C++ compilers masquerading as C compilers
6363 incorrectly reject 9223372036854775807. */
6364 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6366 && LARGE_OFF_T % 2147483647 == 1)
6367 ? 1 : -1];
6369 main ()
6373 return 0;
6375 _ACEOF
6376 if ac_fn_c_try_compile "$LINENO"; then :
6377 ac_cv_sys_large_files=no; break
6379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6381 /* end confdefs.h. */
6382 #define _LARGE_FILES 1
6383 #include <sys/types.h>
6384 /* Check that off_t can represent 2**63 - 1 correctly.
6385 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6386 since some C++ compilers masquerading as C compilers
6387 incorrectly reject 9223372036854775807. */
6388 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6390 && LARGE_OFF_T % 2147483647 == 1)
6391 ? 1 : -1];
6393 main ()
6397 return 0;
6399 _ACEOF
6400 if ac_fn_c_try_compile "$LINENO"; then :
6401 ac_cv_sys_large_files=1; break
6403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6404 ac_cv_sys_large_files=unknown
6405 break
6406 done
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6409 $as_echo "$ac_cv_sys_large_files" >&6; }
6410 case $ac_cv_sys_large_files in #(
6411 no | unknown) ;;
6413 cat >>confdefs.h <<_ACEOF
6414 #define _LARGE_FILES $ac_cv_sys_large_files
6415 _ACEOF
6417 esac
6418 rm -rf conftest*
6425 ac_ext=c
6426 ac_cpp='$CPP $CPPFLAGS'
6427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6431 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6432 # On Suns, sometimes $CPP names a directory.
6433 if test -n "$CPP" && test -d "$CPP"; then
6434 CPP=
6436 if test -z "$CPP"; then
6437 if ${ac_cv_prog_CPP+:} false; then :
6438 $as_echo_n "(cached) " >&6
6439 else
6440 # Double quotes because CPP needs to be expanded
6441 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6443 ac_preproc_ok=false
6444 for ac_c_preproc_warn_flag in '' yes
6446 # Use a header file that comes with gcc, so configuring glibc
6447 # with a fresh cross-compiler works.
6448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6449 # <limits.h> exists even on freestanding compilers.
6450 # On the NeXT, cc -E runs the code through the compiler's parser,
6451 # not just through cpp. "Syntax error" is here to catch this case.
6452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6453 /* end confdefs.h. */
6454 #ifdef __STDC__
6455 # include <limits.h>
6456 #else
6457 # include <assert.h>
6458 #endif
6459 Syntax error
6460 _ACEOF
6461 if ac_fn_c_try_cpp "$LINENO"; then :
6463 else
6464 # Broken: fails on valid input.
6465 continue
6467 rm -f conftest.err conftest.i conftest.$ac_ext
6469 # OK, works on sane cases. Now check whether nonexistent headers
6470 # can be detected and how.
6471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6472 /* end confdefs.h. */
6473 #include <ac_nonexistent.h>
6474 _ACEOF
6475 if ac_fn_c_try_cpp "$LINENO"; then :
6476 # Broken: success on invalid input.
6477 continue
6478 else
6479 # Passes both tests.
6480 ac_preproc_ok=:
6481 break
6483 rm -f conftest.err conftest.i conftest.$ac_ext
6485 done
6486 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6487 rm -f conftest.i conftest.err conftest.$ac_ext
6488 if $ac_preproc_ok; then :
6489 break
6492 done
6493 ac_cv_prog_CPP=$CPP
6496 CPP=$ac_cv_prog_CPP
6497 else
6498 ac_cv_prog_CPP=$CPP
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6501 $as_echo "$CPP" >&6; }
6502 ac_preproc_ok=false
6503 for ac_c_preproc_warn_flag in '' yes
6505 # Use a header file that comes with gcc, so configuring glibc
6506 # with a fresh cross-compiler works.
6507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6508 # <limits.h> exists even on freestanding compilers.
6509 # On the NeXT, cc -E runs the code through the compiler's parser,
6510 # not just through cpp. "Syntax error" is here to catch this case.
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6513 #ifdef __STDC__
6514 # include <limits.h>
6515 #else
6516 # include <assert.h>
6517 #endif
6518 Syntax error
6519 _ACEOF
6520 if ac_fn_c_try_cpp "$LINENO"; then :
6522 else
6523 # Broken: fails on valid input.
6524 continue
6526 rm -f conftest.err conftest.i conftest.$ac_ext
6528 # OK, works on sane cases. Now check whether nonexistent headers
6529 # can be detected and how.
6530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531 /* end confdefs.h. */
6532 #include <ac_nonexistent.h>
6533 _ACEOF
6534 if ac_fn_c_try_cpp "$LINENO"; then :
6535 # Broken: success on invalid input.
6536 continue
6537 else
6538 # Passes both tests.
6539 ac_preproc_ok=:
6540 break
6542 rm -f conftest.err conftest.i conftest.$ac_ext
6544 done
6545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6546 rm -f conftest.i conftest.err conftest.$ac_ext
6547 if $ac_preproc_ok; then :
6549 else
6550 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6552 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6553 See \`config.log' for more details" "$LINENO" 5; }
6556 ac_ext=c
6557 ac_cpp='$CPP $CPPFLAGS'
6558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6564 $as_echo_n "checking for ANSI C header files... " >&6; }
6565 if ${ac_cv_header_stdc+:} false; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6570 #include <stdlib.h>
6571 #include <stdarg.h>
6572 #include <string.h>
6573 #include <float.h>
6576 main ()
6580 return 0;
6582 _ACEOF
6583 if ac_fn_c_try_compile "$LINENO"; then :
6584 ac_cv_header_stdc=yes
6585 else
6586 ac_cv_header_stdc=no
6588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6590 if test $ac_cv_header_stdc = yes; then
6591 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6594 #include <string.h>
6596 _ACEOF
6597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6598 $EGREP "memchr" >/dev/null 2>&1; then :
6600 else
6601 ac_cv_header_stdc=no
6603 rm -f conftest*
6607 if test $ac_cv_header_stdc = yes; then
6608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6611 #include <stdlib.h>
6613 _ACEOF
6614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6615 $EGREP "free" >/dev/null 2>&1; then :
6617 else
6618 ac_cv_header_stdc=no
6620 rm -f conftest*
6624 if test $ac_cv_header_stdc = yes; then
6625 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6626 if test "$cross_compiling" = yes; then :
6628 else
6629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6630 /* end confdefs.h. */
6631 #include <ctype.h>
6632 #include <stdlib.h>
6633 #if ((' ' & 0x0FF) == 0x020)
6634 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6635 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6636 #else
6637 # define ISLOWER(c) \
6638 (('a' <= (c) && (c) <= 'i') \
6639 || ('j' <= (c) && (c) <= 'r') \
6640 || ('s' <= (c) && (c) <= 'z'))
6641 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6642 #endif
6644 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6646 main ()
6648 int i;
6649 for (i = 0; i < 256; i++)
6650 if (XOR (islower (i), ISLOWER (i))
6651 || toupper (i) != TOUPPER (i))
6652 return 2;
6653 return 0;
6655 _ACEOF
6656 if ac_fn_c_try_run "$LINENO"; then :
6658 else
6659 ac_cv_header_stdc=no
6661 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6662 conftest.$ac_objext conftest.beam conftest.$ac_ext
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6668 $as_echo "$ac_cv_header_stdc" >&6; }
6669 if test $ac_cv_header_stdc = yes; then
6671 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6676 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6677 inttypes.h stdint.h unistd.h
6678 do :
6679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6680 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6683 cat >>confdefs.h <<_ACEOF
6684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6685 _ACEOF
6689 done
6692 for ac_header in \
6693 AL/al.h \
6694 ApplicationServices/ApplicationServices.h \
6695 AudioToolbox/AudioConverter.h \
6696 AudioUnit/AudioUnit.h \
6697 AudioUnit/AudioComponent.h \
6698 CL/cl.h \
6699 Carbon/Carbon.h \
6700 CommonCrypto/CommonDigest.h \
6701 CoreAudio/CoreAudio.h \
6702 CoreServices/CoreServices.h \
6703 DiskArbitration/DiskArbitration.h \
6704 IOKit/IOKitLib.h \
6705 IOKit/hid/IOHIDLib.h \
6706 OpenAL/al.h \
6707 OpenCL/opencl.h \
6708 QuickTime/ImageCompression.h \
6709 Security/Security.h \
6710 alias.h \
6711 alsa/asoundlib.h \
6712 arpa/inet.h \
6713 arpa/nameser.h \
6714 asm/types.h \
6715 asm/user.h \
6716 curses.h \
6717 direct.h \
6718 dirent.h \
6719 dlfcn.h \
6720 elf.h \
6721 float.h \
6722 fnmatch.h \
6723 getopt.h \
6724 gettext-po.h \
6725 grp.h \
6726 gsm.h \
6727 gsm/gsm.h \
6728 ieeefp.h \
6729 inet/mib2.h \
6730 io.h \
6731 kstat.h \
6732 lber.h \
6733 ldap.h \
6734 libproc.h \
6735 link.h \
6736 linux/cdrom.h \
6737 linux/compiler.h \
6738 linux/filter.h \
6739 linux/hdreg.h \
6740 linux/input.h \
6741 linux/ioctl.h \
6742 linux/joystick.h \
6743 linux/major.h \
6744 linux/param.h \
6745 linux/serial.h \
6746 linux/types.h \
6747 linux/ucdrom.h \
6748 lwp.h \
6749 mach-o/nlist.h \
6750 mach-o/loader.h \
6751 mach/mach.h \
6752 mach/machine.h \
6753 machine/cpu.h \
6754 machine/limits.h \
6755 machine/sysarch.h \
6756 mntent.h \
6757 ncurses.h \
6758 netdb.h \
6759 netinet/in.h \
6760 netinet/in_systm.h \
6761 netinet/tcp.h \
6762 netinet/tcp_fsm.h \
6763 pcap/pcap.h \
6764 poll.h \
6765 port.h \
6766 process.h \
6767 pthread.h \
6768 pwd.h \
6769 sched.h \
6770 scsi/scsi.h \
6771 scsi/scsi_ioctl.h \
6772 scsi/sg.h \
6773 stdbool.h \
6774 stdint.h \
6775 stropts.h \
6776 sys/asoundlib.h \
6777 sys/attr.h \
6778 sys/cdio.h \
6779 sys/elf32.h \
6780 sys/epoll.h \
6781 sys/event.h \
6782 sys/exec_elf.h \
6783 sys/filio.h \
6784 sys/inotify.h \
6785 sys/ioctl.h \
6786 sys/ipc.h \
6787 sys/limits.h \
6788 sys/link.h \
6789 sys/mman.h \
6790 sys/modem.h \
6791 sys/msg.h \
6792 sys/mtio.h \
6793 sys/param.h \
6794 sys/poll.h \
6795 sys/prctl.h \
6796 sys/protosw.h \
6797 sys/ptrace.h \
6798 sys/queue.h \
6799 sys/resource.h \
6800 sys/scsiio.h \
6801 sys/shm.h \
6802 sys/signal.h \
6803 sys/socket.h \
6804 sys/socketvar.h \
6805 sys/sockio.h \
6806 sys/statvfs.h \
6807 sys/strtio.h \
6808 sys/syscall.h \
6809 sys/tihdr.h \
6810 sys/time.h \
6811 sys/timeout.h \
6812 sys/times.h \
6813 sys/uio.h \
6814 sys/user.h \
6815 sys/utsname.h \
6816 sys/vm86.h \
6817 sys/vnode.h \
6818 sys/wait.h \
6819 syscall.h \
6820 termios.h \
6821 unistd.h \
6822 utime.h \
6823 valgrind/memcheck.h \
6824 valgrind/valgrind.h \
6825 zlib.h
6827 do :
6828 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6829 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6831 cat >>confdefs.h <<_ACEOF
6832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6833 _ACEOF
6837 done
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6840 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6841 if ${ac_cv_header_stat_broken+:} false; then :
6842 $as_echo_n "(cached) " >&6
6843 else
6844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6845 /* end confdefs.h. */
6846 #include <sys/types.h>
6847 #include <sys/stat.h>
6849 #if defined S_ISBLK && defined S_IFDIR
6850 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6851 #endif
6853 #if defined S_ISBLK && defined S_IFCHR
6854 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6855 #endif
6857 #if defined S_ISLNK && defined S_IFREG
6858 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6859 #endif
6861 #if defined S_ISSOCK && defined S_IFREG
6862 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6863 #endif
6865 _ACEOF
6866 if ac_fn_c_try_compile "$LINENO"; then :
6867 ac_cv_header_stat_broken=no
6868 else
6869 ac_cv_header_stat_broken=yes
6871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6874 $as_echo "$ac_cv_header_stat_broken" >&6; }
6875 if test $ac_cv_header_stat_broken = yes; then
6877 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6883 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6884 do :
6885 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6887 #ifdef HAVE_SYS_PARAM_H
6888 # include <sys/param.h>
6889 #endif
6891 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6892 cat >>confdefs.h <<_ACEOF
6893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6894 _ACEOF
6898 done
6901 for ac_header in \
6902 netinet/ip.h \
6903 net/if.h \
6904 net/if_arp.h \
6905 net/if_dl.h \
6906 net/if_types.h \
6907 net/route.h \
6908 netinet/if_ether.h \
6909 netinet/if_inarp.h \
6910 netinet/in_pcb.h \
6911 netinet/ip_icmp.h \
6912 netinet/ip_var.h \
6913 netinet/udp.h \
6914 netipx/ipx.h \
6915 sys/un.h \
6917 do :
6918 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6919 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6920 #ifdef HAVE_SYS_SOCKET_H
6921 # include <sys/socket.h>
6922 #endif
6923 #ifdef HAVE_SYS_SOCKETVAR_H
6924 # include <sys/socketvar.h>
6925 #endif
6926 #ifdef HAVE_NET_ROUTE_H
6927 # include <net/route.h>
6928 #endif
6929 #ifdef HAVE_NETINET_IN_H
6930 # include <netinet/in.h>
6931 #endif
6932 #ifdef HAVE_NETINET_IN_SYSTM_H
6933 # include <netinet/in_systm.h>
6934 #endif
6935 #ifdef HAVE_NET_IF_H
6936 # include <net/if.h>
6937 #endif
6938 #ifdef HAVE_NETINET_IP_H
6939 # include <netinet/ip.h>
6940 #endif
6942 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6943 cat >>confdefs.h <<_ACEOF
6944 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6945 _ACEOF
6949 done
6952 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6953 do :
6954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6955 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6956 #ifdef HAVE_ALIAS_H
6957 # include <alias.h>
6958 #endif
6959 #ifdef HAVE_SYS_SOCKET_H
6960 # include <sys/socket.h>
6961 #endif
6962 #ifdef HAVE_SYS_SOCKETVAR_H
6963 # include <sys/socketvar.h>
6964 #endif
6965 #ifdef HAVE_SYS_TIMEOUT_H
6966 # include <sys/timeout.h>
6967 #endif
6968 #ifdef HAVE_NETINET_IN_H
6969 # include <netinet/in.h>
6970 #endif
6971 #ifdef HAVE_NETINET_IN_SYSTM_H
6972 # include <netinet/in_systm.h>
6973 #endif
6974 #ifdef HAVE_NETINET_IP_H
6975 # include <netinet/ip.h>
6976 #endif
6977 #ifdef HAVE_NETINET_IP_VAR_H
6978 # include <netinet/ip_var.h>
6979 #endif
6980 #ifdef HAVE_NETINET_IP_ICMP_H
6981 # include <netinet/ip_icmp.h>
6982 #endif
6983 #ifdef HAVE_NETINET_UDP_H
6984 # include <netinet/udp.h>
6985 #endif
6986 #ifdef HAVE_NETINET_TCP_H
6987 # include <netinet/tcp.h>
6988 #endif
6989 #ifdef HAVE_NETINET_TCP_TIMER_H
6990 #include <netinet/tcp_timer.h>
6991 #endif
6993 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6994 cat >>confdefs.h <<_ACEOF
6995 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6996 _ACEOF
7000 done
7003 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7004 do :
7005 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7006 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7007 #ifdef HAVE_ASM_TYPES_H
7008 # include <asm/types.h>
7009 #endif
7010 #ifdef HAVE_SYS_SOCKET_H
7011 # include <sys/socket.h>
7012 #endif
7013 #ifdef HAVE_LINUX_TYPES_H
7014 # include <linux/types.h>
7015 #endif
7017 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7018 cat >>confdefs.h <<_ACEOF
7019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7020 _ACEOF
7024 done
7027 for ac_header in mach-o/dyld_images.h
7028 do :
7029 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7030 # include <stdbool.h>
7031 #endif
7032 #ifdef HAVE_STDINT_H
7033 # include <stdint.h>
7034 #endif
7036 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7037 cat >>confdefs.h <<_ACEOF
7038 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7039 _ACEOF
7043 done
7046 for ac_header in resolv.h
7047 do :
7048 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7049 #ifdef HAVE_SYS_SOCKET_H
7050 # include <sys/socket.h>
7051 #endif
7052 #ifdef HAVE_NETINET_IN_H
7053 # include <netinet/in.h>
7054 #endif
7055 #ifdef HAVE_ARPA_NAMESER_H
7056 # include <arpa/nameser.h>
7057 #endif
7059 if test "x$ac_cv_header_resolv_h" = xyes; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define HAVE_RESOLV_H 1
7062 _ACEOF
7066 done
7069 for ac_header in ifaddrs.h
7070 do :
7071 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7073 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7074 cat >>confdefs.h <<_ACEOF
7075 #define HAVE_IFADDRS_H 1
7076 _ACEOF
7080 done
7083 for ac_header in sys/ucontext.h
7084 do :
7085 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7087 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7088 cat >>confdefs.h <<_ACEOF
7089 #define HAVE_SYS_UCONTEXT_H 1
7090 _ACEOF
7094 done
7097 for ac_header in sys/thr.h
7098 do :
7099 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7100 #ifdef HAVE_SYS_UCONTEXT_H
7101 #include <sys/ucontext.h>
7102 #endif
7104 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7105 cat >>confdefs.h <<_ACEOF
7106 #define HAVE_SYS_THR_H 1
7107 _ACEOF
7111 done
7114 for ac_header in pthread_np.h
7115 do :
7116 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7117 #include <pthread.h>
7118 #endif
7120 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7121 cat >>confdefs.h <<_ACEOF
7122 #define HAVE_PTHREAD_NP_H 1
7123 _ACEOF
7127 done
7130 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7131 do :
7132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7134 #include <sys/time.h>
7135 #endif
7136 #include <sys/types.h>
7137 #ifdef HAVE_ASM_TYPES_H
7138 #include <asm/types.h>
7139 #endif
7141 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7142 cat >>confdefs.h <<_ACEOF
7143 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7144 _ACEOF
7148 done
7151 for ac_header in libprocstat.h
7152 do :
7153 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7154 #include <sys/param.h>
7155 #endif
7156 #ifdef HAVE_SYS_QUEUE_H
7157 #include <sys/queue.h>
7158 #endif
7159 #ifdef HAVE_SYS_SOCKET_H
7160 #include <sys/socket.h>
7161 #endif
7163 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7164 cat >>confdefs.h <<_ACEOF
7165 #define HAVE_LIBPROCSTAT_H 1
7166 _ACEOF
7170 done
7174 dlldir="\${libdir}/wine"
7176 DLLFLAGS="-D_REENTRANT"
7178 LDRPATH_INSTALL=""
7180 LDRPATH_LOCAL=""
7182 LDEXECFLAGS=""
7184 LIBEXT="so"
7185 DLLEXT=".so"
7186 IMPLIBEXT="def"
7187 # Extract the first word of "ldd", so it can be a program name with args.
7188 set dummy ldd; ac_word=$2
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7190 $as_echo_n "checking for $ac_word... " >&6; }
7191 if ${ac_cv_path_LDD+:} false; then :
7192 $as_echo_n "(cached) " >&6
7193 else
7194 case $LDD in
7195 [\\/]* | ?:[\\/]*)
7196 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 as_dummy="/sbin:/usr/sbin:$PATH"
7201 for as_dir in $as_dummy
7203 IFS=$as_save_IFS
7204 test -z "$as_dir" && as_dir=.
7205 for ac_exec_ext in '' $ac_executable_extensions; do
7206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7207 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209 break 2
7211 done
7212 done
7213 IFS=$as_save_IFS
7215 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7217 esac
7219 LDD=$ac_cv_path_LDD
7220 if test -n "$LDD"; then
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7222 $as_echo "$LDD" >&6; }
7223 else
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225 $as_echo "no" >&6; }
7229 if test -n "$ac_tool_prefix"; then
7230 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7231 set dummy ${ac_tool_prefix}otool; ac_word=$2
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7233 $as_echo_n "checking for $ac_word... " >&6; }
7234 if ${ac_cv_prog_OTOOL+:} false; then :
7235 $as_echo_n "(cached) " >&6
7236 else
7237 if test -n "$OTOOL"; then
7238 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7239 else
7240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7241 for as_dir in $PATH
7243 IFS=$as_save_IFS
7244 test -z "$as_dir" && as_dir=.
7245 for ac_exec_ext in '' $ac_executable_extensions; do
7246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7247 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249 break 2
7251 done
7252 done
7253 IFS=$as_save_IFS
7257 OTOOL=$ac_cv_prog_OTOOL
7258 if test -n "$OTOOL"; then
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7260 $as_echo "$OTOOL" >&6; }
7261 else
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7263 $as_echo "no" >&6; }
7268 if test -z "$ac_cv_prog_OTOOL"; then
7269 ac_ct_OTOOL=$OTOOL
7270 # Extract the first word of "otool", so it can be a program name with args.
7271 set dummy otool; ac_word=$2
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7273 $as_echo_n "checking for $ac_word... " >&6; }
7274 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7275 $as_echo_n "(cached) " >&6
7276 else
7277 if test -n "$ac_ct_OTOOL"; then
7278 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7279 else
7280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 for as_dir in $PATH
7283 IFS=$as_save_IFS
7284 test -z "$as_dir" && as_dir=.
7285 for ac_exec_ext in '' $ac_executable_extensions; do
7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 ac_cv_prog_ac_ct_OTOOL="otool"
7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 break 2
7291 done
7292 done
7293 IFS=$as_save_IFS
7297 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7298 if test -n "$ac_ct_OTOOL"; then
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7300 $as_echo "$ac_ct_OTOOL" >&6; }
7301 else
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7303 $as_echo "no" >&6; }
7306 if test "x$ac_ct_OTOOL" = x; then
7307 OTOOL="otool"
7308 else
7309 case $cross_compiling:$ac_tool_warned in
7310 yes:)
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7313 ac_tool_warned=yes ;;
7314 esac
7315 OTOOL=$ac_ct_OTOOL
7317 else
7318 OTOOL="$ac_cv_prog_OTOOL"
7321 if test -n "$ac_tool_prefix"; then
7322 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7323 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_READELF+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$READELF"; then
7330 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 READELF=$ac_cv_prog_READELF
7350 if test -n "$READELF"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7352 $as_echo "$READELF" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7360 if test -z "$ac_cv_prog_READELF"; then
7361 ac_ct_READELF=$READELF
7362 # Extract the first word of "readelf", so it can be a program name with args.
7363 set dummy readelf; ac_word=$2
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 $as_echo_n "checking for $ac_word... " >&6; }
7366 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7367 $as_echo_n "(cached) " >&6
7368 else
7369 if test -n "$ac_ct_READELF"; then
7370 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7371 else
7372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7373 for as_dir in $PATH
7375 IFS=$as_save_IFS
7376 test -z "$as_dir" && as_dir=.
7377 for ac_exec_ext in '' $ac_executable_extensions; do
7378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7379 ac_cv_prog_ac_ct_READELF="readelf"
7380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7381 break 2
7383 done
7384 done
7385 IFS=$as_save_IFS
7389 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7390 if test -n "$ac_ct_READELF"; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7392 $as_echo "$ac_ct_READELF" >&6; }
7393 else
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7395 $as_echo "no" >&6; }
7398 if test "x$ac_ct_READELF" = x; then
7399 READELF="true"
7400 else
7401 case $cross_compiling:$ac_tool_warned in
7402 yes:)
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7405 ac_tool_warned=yes ;;
7406 esac
7407 READELF=$ac_ct_READELF
7409 else
7410 READELF="$ac_cv_prog_READELF"
7413 wine_rules_file=conf$$rules.make
7414 rm -f $wine_rules_file
7415 SUBDIRS=""
7417 DISABLED_SUBDIRS=""
7419 CONFIGURE_TARGETS=""
7421 ALL_TEST_RESOURCES=""
7424 wine_fn_append_file ()
7426 as_fn_append $1 " \\$as_nl $2"
7429 wine_fn_append_rule ()
7431 $as_echo "$1" >>$wine_rules_file
7434 wine_fn_has_flag ()
7436 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7439 wine_fn_all_rules ()
7441 wine_fn_append_file SUBDIRS $ac_dir
7442 wine_fn_append_rule \
7443 "all: $ac_dir
7444 .PHONY: $ac_dir
7445 $ac_dir: dummy
7446 @cd $ac_dir && \$(MAKE)"
7449 wine_fn_install_rules ()
7451 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7453 wine_fn_append_rule \
7454 ".PHONY: $ac_dir/install $ac_dir/uninstall
7455 $ac_dir/install:: $ac_dir
7456 @cd $ac_dir && \$(MAKE) install
7457 $ac_dir/uninstall::
7458 @cd $ac_dir && \$(MAKE) uninstall
7459 install:: $ac_dir/install
7460 __uninstall__: $ac_dir/uninstall"
7462 if wine_fn_has_flag install-lib
7463 then
7464 wine_fn_append_rule \
7465 ".PHONY: $ac_dir/install-lib
7466 $ac_dir/install-lib:: $ac_dir
7467 @cd $ac_dir && \$(MAKE) install-lib
7468 install-lib:: $ac_dir/install-lib"
7471 if wine_fn_has_flag install-dev
7472 then
7473 wine_fn_append_rule \
7474 ".PHONY: $ac_dir/install-dev
7475 $ac_dir/install-dev:: $ac_dir
7476 @cd $ac_dir && \$(MAKE) install-dev
7477 install-dev:: $ac_dir/install-dev"
7481 wine_fn_clean_rules ()
7483 ac_clean=$@
7485 if wine_fn_has_flag clean
7486 then
7487 wine_fn_append_rule \
7488 "$ac_dir/clean: dummy
7489 @cd $ac_dir && \$(MAKE) clean"
7490 else
7491 wine_fn_append_rule \
7492 "$ac_dir/clean: dummy
7493 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7495 wine_fn_append_rule \
7496 "__clean__: $ac_dir/clean
7497 .PHONY: $ac_dir/clean"
7500 wine_fn_disabled_rules ()
7502 ac_clean=$@
7504 wine_fn_append_file SUBDIRS $ac_dir
7505 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7506 wine_fn_append_rule \
7507 "__clean__: $ac_dir/clean
7508 .PHONY: $ac_dir/clean
7509 $ac_dir/clean: dummy
7510 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7513 wine_fn_config_makefile ()
7515 ac_dir=$1
7516 ac_enable=$2
7517 ac_flags=$3
7519 case $ac_dir in
7520 fonts|server) test -z "$with_wine64" || return ;;
7521 esac
7522 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7523 wine_fn_disabled_rules; return
7525 wine_fn_all_rules
7526 wine_fn_install_rules
7527 wine_fn_clean_rules
7530 wine_fn_config_lib ()
7532 ac_name=$1
7533 ac_flags=$2
7534 ac_dir=dlls/$ac_name
7535 ac_deps="include"
7537 if test "x$enable_tools" = xno; then :
7539 else
7540 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7542 wine_fn_all_rules
7543 wine_fn_clean_rules
7545 wine_fn_append_rule \
7546 ".PHONY: $ac_dir/install $ac_dir/uninstall
7547 $ac_dir/install:: $ac_dir
7548 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7549 $ac_dir/uninstall::
7550 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7551 install install-dev:: $ac_dir/install
7552 __uninstall__: $ac_dir/uninstall
7553 __builddeps__: $ac_dir
7554 $ac_dir: $ac_deps"
7557 wine_fn_config_dll ()
7559 ac_name=$1
7560 ac_dir=dlls/$ac_name
7561 ac_enable=$2
7562 ac_flags=$3
7563 ac_implib=${4:-$ac_name}
7564 ac_file=$ac_dir/lib$ac_implib
7565 ac_dll=$ac_name
7566 ac_deps="include"
7567 ac_implibflags=""
7569 if test "x$enable_tools" = xno; then :
7571 else
7572 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7574 case $ac_name in
7575 *16) ac_implibflags=" -m16" ;;
7576 *.*) ;;
7577 *) ac_dll=$ac_dll.dll ;;
7578 esac
7580 ac_clean=
7581 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7582 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7584 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7585 if test "$ac_enable" != enable_win16
7586 then
7587 wine_fn_clean_rules $ac_clean
7588 wine_fn_append_file SUBDIRS $ac_dir
7589 wine_fn_append_file DISABLED_SUBDIRS $ac_dir
7590 else
7591 wine_fn_disabled_rules $ac_clean
7592 return
7594 else
7595 wine_fn_all_rules
7596 wine_fn_clean_rules $ac_clean
7597 wine_fn_append_rule \
7598 "$ac_dir: __builddeps__
7599 manpages htmlpages sgmlpages xmlpages::
7600 @cd $ac_dir && \$(MAKE) \$@
7601 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7602 install install-lib:: $ac_dir/install-lib
7603 __uninstall__: $ac_dir/uninstall"
7604 if test -n "$DLLEXT"
7605 then
7606 wine_fn_append_rule \
7607 "$ac_dir/install-lib:: $ac_dir
7608 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7609 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7610 $ac_dir/uninstall::
7611 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7612 else
7613 wine_fn_append_rule \
7614 "$ac_dir/install-lib:: $ac_dir
7615 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7616 $ac_dir/uninstall::
7617 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7621 if wine_fn_has_flag staticimplib
7622 then
7623 wine_fn_append_rule \
7624 "__builddeps__: $ac_file.a
7625 $ac_file.a $ac_file.cross.a: $ac_deps
7626 $ac_file.a: dummy
7627 @cd $ac_dir && \$(MAKE) lib$ac_implib.a
7628 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7629 $ac_dir/install-dev:: $ac_file.a
7630 \$(INSTALL_DATA) $ac_file.a \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7631 $ac_dir/uninstall::
7632 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.a
7633 install install-dev:: $ac_dir/install-dev
7634 __uninstall__: $ac_dir/uninstall"
7636 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7637 then
7638 wine_fn_append_rule \
7639 "__builddeps__: $ac_file.cross.a
7640 $ac_file.cross.a: dummy
7641 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7644 elif wine_fn_has_flag implib
7645 then
7646 wine_fn_append_rule \
7647 "__builddeps__: $ac_file.$IMPLIBEXT
7648 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7649 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7650 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7651 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7652 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7653 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7654 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7655 $ac_dir/uninstall::
7656 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7657 install install-dev:: $ac_dir/install-dev
7658 __uninstall__: $ac_dir/uninstall"
7659 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7660 then
7661 wine_fn_append_rule \
7662 "__builddeps__: $ac_file.cross.a
7663 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7664 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7669 wine_fn_config_program ()
7671 ac_name=$1
7672 ac_dir=programs/$ac_name
7673 ac_enable=$2
7674 ac_flags=$3
7675 ac_program=$ac_name
7677 case $ac_name in
7678 *.*) ;;
7679 *) ac_program=$ac_program.exe ;;
7680 esac
7682 ac_clean=
7683 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7684 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7686 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7687 wine_fn_disabled_rules $ac_clean; return
7690 wine_fn_all_rules
7691 wine_fn_clean_rules $ac_clean
7692 wine_fn_append_rule "$ac_dir: __builddeps__"
7694 wine_fn_has_flag install || return
7695 wine_fn_append_rule \
7696 ".PHONY: $ac_dir/install $ac_dir/uninstall
7697 install install-lib:: $ac_dir/install
7698 __uninstall__: $ac_dir/uninstall"
7700 if test -n "$DLLEXT"
7701 then
7702 wine_fn_append_rule \
7703 "$ac_dir/install:: $ac_dir
7704 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7705 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7706 $ac_dir/uninstall::
7707 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7709 if test -z "$with_wine64" && wine_fn_has_flag installbin
7710 then
7711 wine_fn_append_rule \
7712 "$ac_dir/install:: __tooldeps__
7713 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7714 $ac_dir/uninstall::
7715 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7717 else
7718 wine_fn_append_rule \
7719 "$ac_dir/install:: $ac_dir
7720 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7721 $ac_dir/uninstall::
7722 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7725 if test -z "$with_wine64" && wine_fn_has_flag manpage
7726 then
7727 wine_fn_append_rule \
7728 "$ac_dir/install:: $ac_dir
7729 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7730 $ac_dir/uninstall::
7731 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7735 wine_fn_config_test ()
7737 ac_dir=$1
7738 ac_name=$2
7739 ac_flags=$3
7741 ac_clean=
7742 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7743 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7745 if test "x$enable_tests" = xno; then :
7746 wine_fn_disabled_rules $ac_clean; return
7749 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7750 wine_fn_all_rules
7751 wine_fn_clean_rules $ac_clean
7753 wine_fn_append_rule \
7754 "$ac_dir: __builddeps__
7755 programs/winetest: $ac_dir
7756 check test: $ac_dir/test
7757 .PHONY: $ac_dir/test
7758 $ac_dir/test: dummy
7759 @cd $ac_dir && \$(MAKE) test
7760 testclean::
7761 \$(RM) $ac_dir/*.ok"
7763 if test -n "$CROSSTARGET"
7764 then
7765 wine_fn_append_rule \
7766 "crosstest: $ac_dir/crosstest
7767 .PHONY: $ac_dir/crosstest
7768 $ac_dir/crosstest: __builddeps__ dummy
7769 @cd $ac_dir && \$(MAKE) crosstest"
7773 wine_fn_config_tool ()
7775 ac_dir=$1
7776 ac_flags=$2
7777 if test "x$enable_tools" = xno; then :
7778 wine_fn_append_file DISABLED_SUBDIRS $ac_dir; return
7781 wine_fn_all_rules
7782 wine_fn_install_rules
7783 wine_fn_clean_rules
7785 wine_fn_append_rule "__tooldeps__: $ac_dir"
7786 wine_fn_append_rule "$ac_dir: libs/port"
7787 case $ac_dir in
7788 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7789 esac
7792 wine_fn_config_symlink ()
7794 ac_linkdir=
7795 if test "x$1" = "x-d"
7796 then
7797 ac_linkdir=$2
7798 shift; shift
7800 ac_links=$@
7801 wine_fn_append_rule \
7802 "$ac_links:
7803 @./config.status \$@"
7804 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7805 test -n "$ac_linkdir" || return
7806 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7809 wine_binary="wine"
7810 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7811 WINELOADER_PROGRAMS="$wine_binary"
7813 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7815 case $host_os in
7816 cygwin*|mingw32*)
7817 if test -n "$ac_tool_prefix"; then
7818 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7819 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_prog_DLLTOOL+:} false; then :
7823 $as_echo_n "(cached) " >&6
7824 else
7825 if test -n "$DLLTOOL"; then
7826 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7827 else
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829 for as_dir in $PATH
7831 IFS=$as_save_IFS
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7837 break 2
7839 done
7840 done
7841 IFS=$as_save_IFS
7845 DLLTOOL=$ac_cv_prog_DLLTOOL
7846 if test -n "$DLLTOOL"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7848 $as_echo "$DLLTOOL" >&6; }
7849 else
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7856 if test -z "$ac_cv_prog_DLLTOOL"; then
7857 ac_ct_DLLTOOL=$DLLTOOL
7858 # Extract the first word of "dlltool", so it can be a program name with args.
7859 set dummy dlltool; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861 $as_echo_n "checking for $ac_word... " >&6; }
7862 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
7865 if test -n "$ac_ct_DLLTOOL"; then
7866 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7867 else
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 for as_dir in $PATH
7871 IFS=$as_save_IFS
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7877 break 2
7879 done
7880 done
7881 IFS=$as_save_IFS
7885 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7886 if test -n "$ac_ct_DLLTOOL"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7888 $as_echo "$ac_ct_DLLTOOL" >&6; }
7889 else
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7894 if test "x$ac_ct_DLLTOOL" = x; then
7895 DLLTOOL="false"
7896 else
7897 case $cross_compiling:$ac_tool_warned in
7898 yes:)
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7901 ac_tool_warned=yes ;;
7902 esac
7903 DLLTOOL=$ac_ct_DLLTOOL
7905 else
7906 DLLTOOL="$ac_cv_prog_DLLTOOL"
7909 LIBEXT="dll"
7910 DLLEXT=""
7911 IMPLIBEXT="a"
7912 enable_iphlpapi=${enable_iphlpapi:-no}
7913 enable_kernel32=${enable_kernel32:-no}
7914 enable_msvcrt=${enable_msvcrt:-no}
7915 enable_ntdll=${enable_ntdll:-no}
7916 enable_ws2_32=${enable_ws2_32:-no}
7917 enable_loader=${enable_loader:-no}
7918 enable_server=${enable_server:-no}
7919 with_x=${with_x:-no}
7920 with_pthread=${with_pthread:-no}
7922 crtlibs=""
7923 case $host_os in
7924 mingw32*)
7925 crtlibs="-lmsvcrt"
7926 SOCKET_LIBS="-lws2_32"
7928 esac
7930 LIBWINE_SHAREDLIB="libwine.dll"
7932 LIBWINE_IMPORTLIB="libwine.a"
7934 LIBWINE_INSTALL_LIB="libwine.dll"
7936 LIBWINE_INSTALL_DEV="libwine.a"
7938 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7940 LIBWINE_DEPENDS="wine.def"
7944 darwin*|macosx*)
7945 for ac_header in libunwind.h
7946 do :
7947 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7949 cat >>confdefs.h <<_ACEOF
7950 #define HAVE_LIBUNWIND_H 1
7951 _ACEOF
7955 done
7957 LIBEXT="dylib"
7958 DLLFLAGS="$DLLFLAGS -fPIC"
7959 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7960 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7961 COREFOUNDATION_LIBS="-framework CoreFoundation"
7963 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7965 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7967 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7969 CORESERVICES_LIBS="-framework CoreServices"
7971 APPKIT_LIBS="-framework AppKit"
7973 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7975 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7976 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7977 $as_echo_n "(cached) " >&6
7978 else
7979 ac_wine_try_cflags_saved=$CFLAGS
7980 CFLAGS="$CFLAGS -Wl,-no_pie"
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 int main(int argc, char **argv) { return 0; }
7984 _ACEOF
7985 if ac_fn_c_try_link "$LINENO"; then :
7986 ac_cv_cflags__Wl__no_pie=yes
7987 else
7988 ac_cv_cflags__Wl__no_pie=no
7990 rm -f core conftest.err conftest.$ac_objext \
7991 conftest$ac_exeext conftest.$ac_ext
7992 CFLAGS=$ac_wine_try_cflags_saved
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7995 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7996 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7997 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
7999 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8000 then
8001 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8004 if test "$ac_cv_header_Security_Security_h" = "yes"
8005 then
8006 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8008 ac_save_LIBS="$LIBS"
8009 LIBS="$LIBS $SECURITY_LIBS"
8010 for ac_func in SSLCopyPeerCertificates
8011 do :
8012 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8013 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8014 cat >>confdefs.h <<_ACEOF
8015 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8016 _ACEOF
8019 done
8021 LIBS="$ac_save_LIBS"
8022 with_gnutls=${with_gnutls:-no}
8024 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8025 then
8026 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8027 then
8028 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8030 else
8031 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8034 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8035 ac_save_LIBS="$LIBS"
8036 LIBS="$LIBS $COREAUDIO_LIBS"
8037 for ac_func in AUGraphAddNode
8038 do :
8039 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8040 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8041 cat >>confdefs.h <<_ACEOF
8042 #define HAVE_AUGRAPHADDNODE 1
8043 _ACEOF
8046 done
8048 LIBS="$ac_save_LIBS"
8050 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8051 then
8052 OPENAL_LIBS="-framework OpenAL"
8055 cat >>confdefs.h <<_ACEOF
8056 #define HAVE_OPENAL 1
8057 _ACEOF
8059 ac_cv_lib_openal=yes
8061 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8062 then
8063 OPENCL_LIBS="-framework OpenCL"
8065 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8067 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8068 then
8069 ac_save_LIBS="$LIBS"
8070 LIBS="$LIBS $IOKIT_LIBS"
8071 for ac_func in IOHIDManagerCreate
8072 do :
8073 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8074 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8075 cat >>confdefs.h <<_ACEOF
8076 #define HAVE_IOHIDMANAGERCREATE 1
8077 _ACEOF
8080 done
8082 LIBS="$ac_save_LIBS"
8084 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8085 then
8086 ac_save_LIBS="$LIBS"
8087 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8089 $as_echo_n "checking for the QuickTime framework... " >&6; }
8090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8091 /* end confdefs.h. */
8092 #include <QuickTime/ImageCompression.h>
8094 main ()
8096 CodecManagerVersion(NULL);
8098 return 0;
8100 _ACEOF
8101 if ac_fn_c_try_link "$LINENO"; then :
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8103 $as_echo "yes" >&6; }
8104 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8106 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8107 else
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8109 $as_echo "no" >&6; }
8110 ac_cv_header_QuickTime_ImageCompression_h=no
8112 rm -f core conftest.err conftest.$ac_objext \
8113 conftest$ac_exeext conftest.$ac_ext
8114 LIBS="$ac_save_LIBS"
8116 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8117 then
8118 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8120 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8121 then
8122 CARBON_LIBS="-framework Carbon"
8126 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8127 then
8128 ac_save_LIBS="$LIBS"
8129 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8130 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8131 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8132 enable_winemac_drv=${enable_winemac_drv:-yes}
8135 LIBS="$ac_save_LIBS"
8138 if test "x$enable_win16" = "xyes"
8139 then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8141 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8142 if test "$cross_compiling" = yes; then :
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8144 $as_echo "cross-compiling, assuming yes" >&6; }
8145 else
8146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147 /* end confdefs.h. */
8148 asm(".text\n"
8149 "bad:\tnop;nop\n"
8150 "good:\tnop;nop\n\t"
8151 ".globl _testfunc\n"
8152 "_testfunc:\tcallw good");
8153 extern void testfunc();
8155 main ()
8157 unsigned short *p = (unsigned short *)testfunc;
8158 return p[0] != 0xe866 || p[1] != 0xfffa
8160 return 0;
8162 _ACEOF
8163 if ac_fn_c_try_run "$LINENO"; then :
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8165 $as_echo "yes" >&6; }
8166 else
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8168 $as_echo "no" >&6; }
8169 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
8171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8172 conftest.$ac_objext conftest.beam conftest.$ac_ext
8177 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8179 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8181 LIBWINE_INSTALL_DEV="libwine.dylib"
8183 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8185 WINELOADER_DEPENDS="wine_info.plist"
8189 linux-android*)
8190 DLLFLAGS="$DLLFLAGS -fPIC"
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8192 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8193 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8194 $as_echo_n "(cached) " >&6
8195 else
8196 ac_wine_try_cflags_saved=$CFLAGS
8197 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8199 /* end confdefs.h. */
8200 int main(int argc, char **argv) { return 0; }
8201 _ACEOF
8202 if ac_fn_c_try_link "$LINENO"; then :
8203 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8204 else
8205 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8207 rm -f core conftest.err conftest.$ac_objext \
8208 conftest$ac_exeext conftest.$ac_ext
8209 CFLAGS=$ac_wine_try_cflags_saved
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8212 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8213 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8214 LDEXECFLAGS="-Wl,--export-dynamic"
8216 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8218 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8219 if eval \${$as_ac_var+:} false; then :
8220 $as_echo_n "(cached) " >&6
8221 else
8222 ac_wine_try_cflags_saved=$CFLAGS
8223 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8225 /* end confdefs.h. */
8226 int main(int argc, char **argv) { return 0; }
8227 _ACEOF
8228 if ac_fn_c_try_link "$LINENO"; then :
8229 eval "$as_ac_var=yes"
8230 else
8231 eval "$as_ac_var=no"
8233 rm -f core conftest.err conftest.$ac_objext \
8234 conftest$ac_exeext conftest.$ac_ext
8235 CFLAGS=$ac_wine_try_cflags_saved
8237 eval ac_res=\$$as_ac_var
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8239 $as_echo "$ac_res" >&6; }
8240 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8241 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8242 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8243 else
8244 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8246 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8247 if eval \${$as_ac_var+:} false; then :
8248 $as_echo_n "(cached) " >&6
8249 else
8250 ac_wine_try_cflags_saved=$CFLAGS
8251 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8254 int main(int argc, char **argv) { return 0; }
8255 _ACEOF
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 eval "$as_ac_var=yes"
8258 else
8259 eval "$as_ac_var=no"
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 CFLAGS=$ac_wine_try_cflags_saved
8265 eval ac_res=\$$as_ac_var
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8267 $as_echo "$ac_res" >&6; }
8268 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8269 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8270 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8275 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8276 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8277 $as_echo_n "(cached) " >&6
8278 else
8279 ac_wine_try_cflags_saved=$CFLAGS
8280 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8283 int main(int argc, char **argv) { return 0; }
8284 _ACEOF
8285 if ac_fn_c_try_link "$LINENO"; then :
8286 ac_cv_cflags__Wl___enable_new_dtags=yes
8287 else
8288 ac_cv_cflags__Wl___enable_new_dtags=no
8290 rm -f core conftest.err conftest.$ac_objext \
8291 conftest$ac_exeext conftest.$ac_ext
8292 CFLAGS=$ac_wine_try_cflags_saved
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8295 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8296 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8297 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8300 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8301 if ${ac_cv_cflags__Wl__pie+:} false; then :
8302 $as_echo_n "(cached) " >&6
8303 else
8304 ac_wine_try_cflags_saved=$CFLAGS
8305 CFLAGS="$CFLAGS -Wl,-pie"
8306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8308 int main(int argc, char **argv) { return 0; }
8309 _ACEOF
8310 if ac_fn_c_try_link "$LINENO"; then :
8311 ac_cv_cflags__Wl__pie=yes
8312 else
8313 ac_cv_cflags__Wl__pie=no
8315 rm -f core conftest.err conftest.$ac_objext \
8316 conftest$ac_exeext conftest.$ac_ext
8317 CFLAGS=$ac_wine_try_cflags_saved
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8320 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8321 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8322 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8325 LIBWINE_SHAREDLIB="libwine.so"
8327 LIBWINE_INSTALL_LIB="libwine.so"
8329 LIBWINE_LDFLAGS="-shared"
8334 DLLFLAGS="$DLLFLAGS -fPIC"
8335 LDEXECFLAGS=""
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8337 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8338 if ${ac_cv_c_dll_gnuelf+:} false; then :
8339 $as_echo_n "(cached) " >&6
8340 else
8341 ac_wine_try_cflags_saved=$CFLAGS
8342 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8344 /* end confdefs.h. */
8345 void myfunc() {}
8346 _ACEOF
8347 if ac_fn_c_try_link "$LINENO"; then :
8348 ac_cv_c_dll_gnuelf="yes"
8349 else
8350 ac_cv_c_dll_gnuelf="no"
8352 rm -f core conftest.err conftest.$ac_objext \
8353 conftest$ac_exeext conftest.$ac_ext
8354 CFLAGS=$ac_wine_try_cflags_saved
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8357 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8358 if test "$ac_cv_c_dll_gnuelf" = "yes"
8359 then
8360 LIBWINE_LDFLAGS="-shared"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8362 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8363 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 ac_wine_try_cflags_saved=$CFLAGS
8367 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8370 int main(int argc, char **argv) { return 0; }
8371 _ACEOF
8372 if ac_fn_c_try_link "$LINENO"; then :
8373 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8374 else
8375 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8377 rm -f core conftest.err conftest.$ac_objext \
8378 conftest$ac_exeext conftest.$ac_ext
8379 CFLAGS=$ac_wine_try_cflags_saved
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8382 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8383 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8384 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8385 else
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8387 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8388 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8389 $as_echo_n "(cached) " >&6
8390 else
8391 ac_wine_try_cflags_saved=$CFLAGS
8392 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8395 int main(int argc, char **argv) { return 0; }
8396 _ACEOF
8397 if ac_fn_c_try_link "$LINENO"; then :
8398 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8399 else
8400 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8402 rm -f core conftest.err conftest.$ac_objext \
8403 conftest$ac_exeext conftest.$ac_ext
8404 CFLAGS=$ac_wine_try_cflags_saved
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8407 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8408 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8409 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8413 echo '{ global: *; };' >conftest.map
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8415 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8416 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 ac_wine_try_cflags_saved=$CFLAGS
8420 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422 /* end confdefs.h. */
8423 int main(int argc, char **argv) { return 0; }
8424 _ACEOF
8425 if ac_fn_c_try_link "$LINENO"; then :
8426 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8427 else
8428 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8430 rm -f core conftest.err conftest.$ac_objext \
8431 conftest$ac_exeext conftest.$ac_ext
8432 CFLAGS=$ac_wine_try_cflags_saved
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8435 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8436 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8437 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8439 rm -f conftest.map
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8442 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8443 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8454 else
8455 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8462 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8463 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8464 LDEXECFLAGS="-Wl,--export-dynamic"
8467 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8469 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8470 if eval \${$as_ac_var+:} false; then :
8471 $as_echo_n "(cached) " >&6
8472 else
8473 ac_wine_try_cflags_saved=$CFLAGS
8474 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8476 /* end confdefs.h. */
8477 int main(int argc, char **argv) { return 0; }
8478 _ACEOF
8479 if ac_fn_c_try_link "$LINENO"; then :
8480 eval "$as_ac_var=yes"
8481 else
8482 eval "$as_ac_var=no"
8484 rm -f core conftest.err conftest.$ac_objext \
8485 conftest$ac_exeext conftest.$ac_ext
8486 CFLAGS=$ac_wine_try_cflags_saved
8488 eval ac_res=\$$as_ac_var
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8490 $as_echo "$ac_res" >&6; }
8491 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8492 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8493 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8494 else
8495 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8497 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8498 if eval \${$as_ac_var+:} false; then :
8499 $as_echo_n "(cached) " >&6
8500 else
8501 ac_wine_try_cflags_saved=$CFLAGS
8502 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8504 /* end confdefs.h. */
8505 int main(int argc, char **argv) { return 0; }
8506 _ACEOF
8507 if ac_fn_c_try_link "$LINENO"; then :
8508 eval "$as_ac_var=yes"
8509 else
8510 eval "$as_ac_var=no"
8512 rm -f core conftest.err conftest.$ac_objext \
8513 conftest$ac_exeext conftest.$ac_ext
8514 CFLAGS=$ac_wine_try_cflags_saved
8516 eval ac_res=\$$as_ac_var
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8518 $as_echo "$ac_res" >&6; }
8519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8520 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8521 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8526 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8527 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8528 $as_echo_n "(cached) " >&6
8529 else
8530 ac_wine_try_cflags_saved=$CFLAGS
8531 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 int main(int argc, char **argv) { return 0; }
8535 _ACEOF
8536 if ac_fn_c_try_link "$LINENO"; then :
8537 ac_cv_cflags__Wl___enable_new_dtags=yes
8538 else
8539 ac_cv_cflags__Wl___enable_new_dtags=no
8541 rm -f core conftest.err conftest.$ac_objext \
8542 conftest$ac_exeext conftest.$ac_ext
8543 CFLAGS=$ac_wine_try_cflags_saved
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8546 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8547 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8548 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8551 case $host_cpu in
8552 *i[3456789]86* | x86_64)
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8554 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8555 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8556 $as_echo_n "(cached) " >&6
8557 else
8558 ac_wine_try_cflags_saved=$CFLAGS
8559 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8562 int main(int argc, char **argv) { return 0; }
8563 _ACEOF
8564 if ac_fn_c_try_link "$LINENO"; then :
8565 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8566 else
8567 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8569 rm -f core conftest.err conftest.$ac_objext \
8570 conftest$ac_exeext conftest.$ac_ext
8571 CFLAGS=$ac_wine_try_cflags_saved
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8574 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8575 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8576 case $host_os in
8577 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8578 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8579 esac
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8583 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8584 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8585 $as_echo_n "(cached) " >&6
8586 else
8587 ac_wine_try_cflags_saved=$CFLAGS
8588 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8590 /* end confdefs.h. */
8591 int main(int argc, char **argv) { return 0; }
8592 _ACEOF
8593 if ac_fn_c_try_link "$LINENO"; then :
8594 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8595 else
8596 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8598 rm -f core conftest.err conftest.$ac_objext \
8599 conftest$ac_exeext conftest.$ac_ext
8600 CFLAGS=$ac_wine_try_cflags_saved
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8603 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8604 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8606 else
8607 # Extract the first word of "prelink", so it can be a program name with args.
8608 set dummy prelink; ac_word=$2
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8610 $as_echo_n "checking for $ac_word... " >&6; }
8611 if ${ac_cv_path_PRELINK+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 case $PRELINK in
8615 [\\/]* | ?:[\\/]*)
8616 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8620 for as_dir in /sbin /usr/sbin $PATH
8622 IFS=$as_save_IFS
8623 test -z "$as_dir" && as_dir=.
8624 for ac_exec_ext in '' $ac_executable_extensions; do
8625 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8626 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8628 break 2
8630 done
8631 done
8632 IFS=$as_save_IFS
8634 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8636 esac
8638 PRELINK=$ac_cv_path_PRELINK
8639 if test -n "$PRELINK"; then
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8641 $as_echo "$PRELINK" >&6; }
8642 else
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8644 $as_echo "no" >&6; }
8648 if test "x$PRELINK" = xfalse
8649 then
8650 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8654 esac
8656 else
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8658 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8659 if ${ac_cv_c_dll_unixware+:} false; then :
8660 $as_echo_n "(cached) " >&6
8661 else
8662 ac_wine_try_cflags_saved=$CFLAGS
8663 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8665 /* end confdefs.h. */
8666 void myfunc() {}
8667 _ACEOF
8668 if ac_fn_c_try_link "$LINENO"; then :
8669 ac_cv_c_dll_unixware="yes"
8670 else
8671 ac_cv_c_dll_unixware="no"
8673 rm -f core conftest.err conftest.$ac_objext \
8674 conftest$ac_exeext conftest.$ac_ext
8675 CFLAGS=$ac_wine_try_cflags_saved
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8678 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8679 if test "$ac_cv_c_dll_unixware" = "yes"
8680 then
8681 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8684 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8686 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8688 LIBWINE_INSTALL_DEV="libwine.so"
8690 LIBWINE_DEPENDS="wine.map"
8693 esac
8695 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8696 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8697 enable_winemac_drv=${enable_winemac_drv:-no}
8698 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8700 CROSSTARGET=""
8702 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8703 then
8704 case "$host_cpu" in
8705 arm*)
8706 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8707 i[3456789]86*)
8708 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
8709 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8710 mingw32-gcc" ;;
8711 x86_64)
8712 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
8713 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8715 ac_prefix_list="" ;;
8716 esac
8717 for ac_prog in $ac_prefix_list
8719 # Extract the first word of "$ac_prog", so it can be a program name with args.
8720 set dummy $ac_prog; ac_word=$2
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8722 $as_echo_n "checking for $ac_word... " >&6; }
8723 if ${ac_cv_prog_CROSSCC+:} false; then :
8724 $as_echo_n "(cached) " >&6
8725 else
8726 if test -n "$CROSSCC"; then
8727 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8728 else
8729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8730 for as_dir in $PATH
8732 IFS=$as_save_IFS
8733 test -z "$as_dir" && as_dir=.
8734 for ac_exec_ext in '' $ac_executable_extensions; do
8735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8736 ac_cv_prog_CROSSCC="$ac_prog"
8737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8738 break 2
8740 done
8741 done
8742 IFS=$as_save_IFS
8746 CROSSCC=$ac_cv_prog_CROSSCC
8747 if test -n "$CROSSCC"; then
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8749 $as_echo "$CROSSCC" >&6; }
8750 else
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8752 $as_echo "no" >&6; }
8756 test -n "$CROSSCC" && break
8757 done
8758 test -n "$CROSSCC" || CROSSCC="false"
8760 if test "$CROSSCC" != "false"
8761 then
8762 ac_save_CC="$CC"
8763 CC="$CROSSCC"
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8765 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8767 /* end confdefs.h. */
8770 main ()
8774 return 0;
8776 _ACEOF
8777 if ac_fn_c_try_compile "$LINENO"; then :
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8779 $as_echo "yes" >&6; }
8780 set x $CROSSCC
8781 shift
8782 while test $# -ge 1
8784 case "$1" in
8785 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8786 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8787 esac
8788 shift
8789 done
8790 else
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8792 $as_echo "no" >&6; }
8794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8795 CC="$ac_save_CC"
8800 if test "$ac_cv_header_pthread_h" = "yes"
8801 then
8802 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8803 if test "x$ac_cv_func_pthread_create" = xyes; then :
8805 else
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8807 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8808 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8809 $as_echo_n "(cached) " >&6
8810 else
8811 ac_check_lib_save_LIBS=$LIBS
8812 LIBS="-lpthread $LIBS"
8813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8814 /* end confdefs.h. */
8816 /* Override any GCC internal prototype to avoid an error.
8817 Use char because int might match the return type of a GCC
8818 builtin and then its argument prototype would still apply. */
8819 #ifdef __cplusplus
8820 extern "C"
8821 #endif
8822 char pthread_create ();
8824 main ()
8826 return pthread_create ();
8828 return 0;
8830 _ACEOF
8831 if ac_fn_c_try_link "$LINENO"; then :
8832 ac_cv_lib_pthread_pthread_create=yes
8833 else
8834 ac_cv_lib_pthread_pthread_create=no
8836 rm -f core conftest.err conftest.$ac_objext \
8837 conftest$ac_exeext conftest.$ac_ext
8838 LIBS=$ac_check_lib_save_LIBS
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8841 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8842 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8843 PTHREAD_LIBS="-lpthread"
8850 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8851 case "x$with_pthread" in
8852 xno) ;;
8853 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8854 Wine cannot support threads without libpthread.
8855 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8856 esac
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8862 $as_echo_n "checking for X... " >&6; }
8865 # Check whether --with-x was given.
8866 if test "${with_x+set}" = set; then :
8867 withval=$with_x;
8870 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8871 if test "x$with_x" = xno; then
8872 # The user explicitly disabled X.
8873 have_x=disabled
8874 else
8875 case $x_includes,$x_libraries in #(
8876 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8877 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8878 $as_echo_n "(cached) " >&6
8879 else
8880 # One or both of the vars are not set, and there is no cached value.
8881 ac_x_includes=no ac_x_libraries=no
8882 rm -f -r conftest.dir
8883 if mkdir conftest.dir; then
8884 cd conftest.dir
8885 cat >Imakefile <<'_ACEOF'
8886 incroot:
8887 @echo incroot='${INCROOT}'
8888 usrlibdir:
8889 @echo usrlibdir='${USRLIBDIR}'
8890 libdir:
8891 @echo libdir='${LIBDIR}'
8892 _ACEOF
8893 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8894 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8895 for ac_var in incroot usrlibdir libdir; do
8896 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8897 done
8898 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8899 for ac_extension in a so sl dylib la dll; do
8900 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8901 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8902 ac_im_usrlibdir=$ac_im_libdir; break
8904 done
8905 # Screen out bogus values from the imake configuration. They are
8906 # bogus both because they are the default anyway, and because
8907 # using them would break gcc on systems where it needs fixed includes.
8908 case $ac_im_incroot in
8909 /usr/include) ac_x_includes= ;;
8910 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8911 esac
8912 case $ac_im_usrlibdir in
8913 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8914 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8915 esac
8917 cd ..
8918 rm -f -r conftest.dir
8921 # Standard set of common directories for X headers.
8922 # Check X11 before X11Rn because it is often a symlink to the current release.
8923 ac_x_header_dirs='
8924 /usr/X11/include
8925 /usr/X11R7/include
8926 /usr/X11R6/include
8927 /usr/X11R5/include
8928 /usr/X11R4/include
8930 /usr/include/X11
8931 /usr/include/X11R7
8932 /usr/include/X11R6
8933 /usr/include/X11R5
8934 /usr/include/X11R4
8936 /usr/local/X11/include
8937 /usr/local/X11R7/include
8938 /usr/local/X11R6/include
8939 /usr/local/X11R5/include
8940 /usr/local/X11R4/include
8942 /usr/local/include/X11
8943 /usr/local/include/X11R7
8944 /usr/local/include/X11R6
8945 /usr/local/include/X11R5
8946 /usr/local/include/X11R4
8948 /usr/X386/include
8949 /usr/x386/include
8950 /usr/XFree86/include/X11
8952 /usr/include
8953 /usr/local/include
8954 /usr/unsupported/include
8955 /usr/athena/include
8956 /usr/local/x11r5/include
8957 /usr/lpp/Xamples/include
8959 /usr/openwin/include
8960 /usr/openwin/share/include'
8962 if test "$ac_x_includes" = no; then
8963 # Guess where to find include files, by looking for Xlib.h.
8964 # First, try using that file with no special directory specified.
8965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8966 /* end confdefs.h. */
8967 #include <X11/Xlib.h>
8968 _ACEOF
8969 if ac_fn_c_try_cpp "$LINENO"; then :
8970 # We can compile using X headers with no special include directory.
8971 ac_x_includes=
8972 else
8973 for ac_dir in $ac_x_header_dirs; do
8974 if test -r "$ac_dir/X11/Xlib.h"; then
8975 ac_x_includes=$ac_dir
8976 break
8978 done
8980 rm -f conftest.err conftest.i conftest.$ac_ext
8981 fi # $ac_x_includes = no
8983 if test "$ac_x_libraries" = no; then
8984 # Check for the libraries.
8985 # See if we find them without any special options.
8986 # Don't add to $LIBS permanently.
8987 ac_save_LIBS=$LIBS
8988 LIBS="-lX11 $LIBS"
8989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8990 /* end confdefs.h. */
8991 #include <X11/Xlib.h>
8993 main ()
8995 XrmInitialize ()
8997 return 0;
8999 _ACEOF
9000 if ac_fn_c_try_link "$LINENO"; then :
9001 LIBS=$ac_save_LIBS
9002 # We can link X programs with no special library path.
9003 ac_x_libraries=
9004 else
9005 LIBS=$ac_save_LIBS
9006 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9008 # Don't even attempt the hair of trying to link an X program!
9009 for ac_extension in a so sl dylib la dll; do
9010 if test -r "$ac_dir/libX11.$ac_extension"; then
9011 ac_x_libraries=$ac_dir
9012 break 2
9014 done
9015 done
9017 rm -f core conftest.err conftest.$ac_objext \
9018 conftest$ac_exeext conftest.$ac_ext
9019 fi # $ac_x_libraries = no
9021 case $ac_x_includes,$ac_x_libraries in #(
9022 no,* | *,no | *\'*)
9023 # Didn't find X, or a directory has "'" in its name.
9024 ac_cv_have_x="have_x=no";; #(
9026 # Record where we found X for the cache.
9027 ac_cv_have_x="have_x=yes\
9028 ac_x_includes='$ac_x_includes'\
9029 ac_x_libraries='$ac_x_libraries'"
9030 esac
9032 ;; #(
9033 *) have_x=yes;;
9034 esac
9035 eval "$ac_cv_have_x"
9036 fi # $with_x != no
9038 if test "$have_x" != yes; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9040 $as_echo "$have_x" >&6; }
9041 no_x=yes
9042 else
9043 # If each of the values was on the command line, it overrides each guess.
9044 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9045 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9046 # Update the cache value to reflect the command line values.
9047 ac_cv_have_x="have_x=yes\
9048 ac_x_includes='$x_includes'\
9049 ac_x_libraries='$x_libraries'"
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9051 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9054 if test "$no_x" = yes; then
9055 # Not all programs may use this symbol, but it does not hurt to define it.
9057 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9059 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9060 else
9061 if test -n "$x_includes"; then
9062 X_CFLAGS="$X_CFLAGS -I$x_includes"
9065 # It would also be nice to do this for all -L options, not just this one.
9066 if test -n "$x_libraries"; then
9067 X_LIBS="$X_LIBS -L$x_libraries"
9068 # For Solaris; some versions of Sun CC require a space after -R and
9069 # others require no space. Words are not sufficient . . . .
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9071 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9072 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9073 ac_xsave_c_werror_flag=$ac_c_werror_flag
9074 ac_c_werror_flag=yes
9075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9079 main ()
9083 return 0;
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9088 $as_echo "no" >&6; }
9089 X_LIBS="$X_LIBS -R$x_libraries"
9090 else
9091 LIBS="$ac_xsave_LIBS -R $x_libraries"
9092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9096 main ()
9100 return 0;
9102 _ACEOF
9103 if ac_fn_c_try_link "$LINENO"; then :
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9105 $as_echo "yes" >&6; }
9106 X_LIBS="$X_LIBS -R $x_libraries"
9107 else
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9109 $as_echo "neither works" >&6; }
9111 rm -f core conftest.err conftest.$ac_objext \
9112 conftest$ac_exeext conftest.$ac_ext
9114 rm -f core conftest.err conftest.$ac_objext \
9115 conftest$ac_exeext conftest.$ac_ext
9116 ac_c_werror_flag=$ac_xsave_c_werror_flag
9117 LIBS=$ac_xsave_LIBS
9120 # Check for system-dependent libraries X programs must link with.
9121 # Do this before checking for the system-independent R6 libraries
9122 # (-lICE), since we may need -lsocket or whatever for X linking.
9124 if test "$ISC" = yes; then
9125 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9126 else
9127 # Martyn Johnson says this is needed for Ultrix, if the X
9128 # libraries were built with DECnet support. And Karl Berry says
9129 # the Alpha needs dnet_stub (dnet does not exist).
9130 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9137 #ifdef __cplusplus
9138 extern "C"
9139 #endif
9140 char XOpenDisplay ();
9142 main ()
9144 return XOpenDisplay ();
9146 return 0;
9148 _ACEOF
9149 if ac_fn_c_try_link "$LINENO"; then :
9151 else
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9153 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9154 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9155 $as_echo_n "(cached) " >&6
9156 else
9157 ac_check_lib_save_LIBS=$LIBS
9158 LIBS="-ldnet $LIBS"
9159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9160 /* end confdefs.h. */
9162 /* Override any GCC internal prototype to avoid an error.
9163 Use char because int might match the return type of a GCC
9164 builtin and then its argument prototype would still apply. */
9165 #ifdef __cplusplus
9166 extern "C"
9167 #endif
9168 char dnet_ntoa ();
9170 main ()
9172 return dnet_ntoa ();
9174 return 0;
9176 _ACEOF
9177 if ac_fn_c_try_link "$LINENO"; then :
9178 ac_cv_lib_dnet_dnet_ntoa=yes
9179 else
9180 ac_cv_lib_dnet_dnet_ntoa=no
9182 rm -f core conftest.err conftest.$ac_objext \
9183 conftest$ac_exeext conftest.$ac_ext
9184 LIBS=$ac_check_lib_save_LIBS
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9187 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9188 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9189 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9192 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9194 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9195 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9196 $as_echo_n "(cached) " >&6
9197 else
9198 ac_check_lib_save_LIBS=$LIBS
9199 LIBS="-ldnet_stub $LIBS"
9200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9206 #ifdef __cplusplus
9207 extern "C"
9208 #endif
9209 char dnet_ntoa ();
9211 main ()
9213 return dnet_ntoa ();
9215 return 0;
9217 _ACEOF
9218 if ac_fn_c_try_link "$LINENO"; then :
9219 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9220 else
9221 ac_cv_lib_dnet_stub_dnet_ntoa=no
9223 rm -f core conftest.err conftest.$ac_objext \
9224 conftest$ac_exeext conftest.$ac_ext
9225 LIBS=$ac_check_lib_save_LIBS
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9228 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9229 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9230 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9235 rm -f core conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9237 LIBS="$ac_xsave_LIBS"
9239 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9240 # to get the SysV transport functions.
9241 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9242 # needs -lnsl.
9243 # The nsl library prevents programs from opening the X display
9244 # on Irix 5.2, according to T.E. Dickey.
9245 # The functions gethostbyname, getservbyname, and inet_addr are
9246 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9247 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9248 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9252 if test $ac_cv_func_gethostbyname = no; then
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9254 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9255 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9256 $as_echo_n "(cached) " >&6
9257 else
9258 ac_check_lib_save_LIBS=$LIBS
9259 LIBS="-lnsl $LIBS"
9260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9261 /* end confdefs.h. */
9263 /* Override any GCC internal prototype to avoid an error.
9264 Use char because int might match the return type of a GCC
9265 builtin and then its argument prototype would still apply. */
9266 #ifdef __cplusplus
9267 extern "C"
9268 #endif
9269 char gethostbyname ();
9271 main ()
9273 return gethostbyname ();
9275 return 0;
9277 _ACEOF
9278 if ac_fn_c_try_link "$LINENO"; then :
9279 ac_cv_lib_nsl_gethostbyname=yes
9280 else
9281 ac_cv_lib_nsl_gethostbyname=no
9283 rm -f core conftest.err conftest.$ac_objext \
9284 conftest$ac_exeext conftest.$ac_ext
9285 LIBS=$ac_check_lib_save_LIBS
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9288 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9289 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9290 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9293 if test $ac_cv_lib_nsl_gethostbyname = no; then
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9295 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9296 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_check_lib_save_LIBS=$LIBS
9300 LIBS="-lbsd $LIBS"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9307 #ifdef __cplusplus
9308 extern "C"
9309 #endif
9310 char gethostbyname ();
9312 main ()
9314 return gethostbyname ();
9316 return 0;
9318 _ACEOF
9319 if ac_fn_c_try_link "$LINENO"; then :
9320 ac_cv_lib_bsd_gethostbyname=yes
9321 else
9322 ac_cv_lib_bsd_gethostbyname=no
9324 rm -f core conftest.err conftest.$ac_objext \
9325 conftest$ac_exeext conftest.$ac_ext
9326 LIBS=$ac_check_lib_save_LIBS
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9329 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9330 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9331 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9337 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9338 # socket/setsockopt and other routines are undefined under SCO ODT
9339 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9340 # on later versions), says Simon Leinen: it contains gethostby*
9341 # variants that don't use the name server (or something). -lsocket
9342 # must be given before -lnsl if both are needed. We assume that
9343 # if connect needs -lnsl, so does gethostbyname.
9344 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9345 if test "x$ac_cv_func_connect" = xyes; then :
9349 if test $ac_cv_func_connect = no; then
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9351 $as_echo_n "checking for connect in -lsocket... " >&6; }
9352 if ${ac_cv_lib_socket_connect+:} false; then :
9353 $as_echo_n "(cached) " >&6
9354 else
9355 ac_check_lib_save_LIBS=$LIBS
9356 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9358 /* end confdefs.h. */
9360 /* Override any GCC internal prototype to avoid an error.
9361 Use char because int might match the return type of a GCC
9362 builtin and then its argument prototype would still apply. */
9363 #ifdef __cplusplus
9364 extern "C"
9365 #endif
9366 char connect ();
9368 main ()
9370 return connect ();
9372 return 0;
9374 _ACEOF
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 ac_cv_lib_socket_connect=yes
9377 else
9378 ac_cv_lib_socket_connect=no
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 LIBS=$ac_check_lib_save_LIBS
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9385 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9386 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9387 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9392 # Guillermo Gomez says -lposix is necessary on A/UX.
9393 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9394 if test "x$ac_cv_func_remove" = xyes; then :
9398 if test $ac_cv_func_remove = no; then
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9400 $as_echo_n "checking for remove in -lposix... " >&6; }
9401 if ${ac_cv_lib_posix_remove+:} false; then :
9402 $as_echo_n "(cached) " >&6
9403 else
9404 ac_check_lib_save_LIBS=$LIBS
9405 LIBS="-lposix $LIBS"
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9409 /* Override any GCC internal prototype to avoid an error.
9410 Use char because int might match the return type of a GCC
9411 builtin and then its argument prototype would still apply. */
9412 #ifdef __cplusplus
9413 extern "C"
9414 #endif
9415 char remove ();
9417 main ()
9419 return remove ();
9421 return 0;
9423 _ACEOF
9424 if ac_fn_c_try_link "$LINENO"; then :
9425 ac_cv_lib_posix_remove=yes
9426 else
9427 ac_cv_lib_posix_remove=no
9429 rm -f core conftest.err conftest.$ac_objext \
9430 conftest$ac_exeext conftest.$ac_ext
9431 LIBS=$ac_check_lib_save_LIBS
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9434 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9435 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9436 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9441 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9442 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9443 if test "x$ac_cv_func_shmat" = xyes; then :
9447 if test $ac_cv_func_shmat = no; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9449 $as_echo_n "checking for shmat in -lipc... " >&6; }
9450 if ${ac_cv_lib_ipc_shmat+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 ac_check_lib_save_LIBS=$LIBS
9454 LIBS="-lipc $LIBS"
9455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9456 /* end confdefs.h. */
9458 /* Override any GCC internal prototype to avoid an error.
9459 Use char because int might match the return type of a GCC
9460 builtin and then its argument prototype would still apply. */
9461 #ifdef __cplusplus
9462 extern "C"
9463 #endif
9464 char shmat ();
9466 main ()
9468 return shmat ();
9470 return 0;
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 ac_cv_lib_ipc_shmat=yes
9475 else
9476 ac_cv_lib_ipc_shmat=no
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 LIBS=$ac_check_lib_save_LIBS
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9483 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9484 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9485 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9491 # Check for libraries that X11R6 Xt/Xaw programs need.
9492 ac_save_LDFLAGS=$LDFLAGS
9493 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9494 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9495 # check for ICE first), but we must link in the order -lSM -lICE or
9496 # we get undefined symbols. So assume we have SM if we have ICE.
9497 # These have to be linked with before -lX11, unlike the other
9498 # libraries we check for below, so use a different variable.
9499 # John Interrante, Karl Berry
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9501 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9502 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9503 $as_echo_n "(cached) " >&6
9504 else
9505 ac_check_lib_save_LIBS=$LIBS
9506 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9513 #ifdef __cplusplus
9514 extern "C"
9515 #endif
9516 char IceConnectionNumber ();
9518 main ()
9520 return IceConnectionNumber ();
9522 return 0;
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"; then :
9526 ac_cv_lib_ICE_IceConnectionNumber=yes
9527 else
9528 ac_cv_lib_ICE_IceConnectionNumber=no
9530 rm -f core conftest.err conftest.$ac_objext \
9531 conftest$ac_exeext conftest.$ac_ext
9532 LIBS=$ac_check_lib_save_LIBS
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9535 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9536 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9537 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9540 LDFLAGS=$ac_save_LDFLAGS
9545 if test "$have_x" = "yes"
9546 then
9547 ac_save_CPPFLAGS="$CPPFLAGS"
9548 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9551 $as_echo_n "checking for -lX11... " >&6; }
9552 if ${ac_cv_lib_soname_X11+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 ac_check_soname_save_LIBS=$LIBS
9556 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9558 /* end confdefs.h. */
9560 /* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9563 #ifdef __cplusplus
9564 extern "C"
9565 #endif
9566 char XCreateWindow ();
9568 main ()
9570 return XCreateWindow ();
9572 return 0;
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576 case "$LIBEXT" in
9577 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9578 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'` ;;
9579 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9580 if ${ac_cv_lib_soname_X11:+false} :; then :
9581 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9582 fi ;;
9583 esac
9585 rm -f core conftest.err conftest.$ac_objext \
9586 conftest$ac_exeext conftest.$ac_ext
9587 LIBS=$ac_check_soname_save_LIBS
9589 if ${ac_cv_lib_soname_X11:+false} :; then :
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9591 $as_echo "not found" >&6; }
9593 else
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9595 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9597 cat >>confdefs.h <<_ACEOF
9598 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9599 _ACEOF
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9604 $as_echo_n "checking for -lXext... " >&6; }
9605 if ${ac_cv_lib_soname_Xext+:} false; then :
9606 $as_echo_n "(cached) " >&6
9607 else
9608 ac_check_soname_save_LIBS=$LIBS
9609 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9613 /* Override any GCC internal prototype to avoid an error.
9614 Use char because int might match the return type of a GCC
9615 builtin and then its argument prototype would still apply. */
9616 #ifdef __cplusplus
9617 extern "C"
9618 #endif
9619 char XextCreateExtension ();
9621 main ()
9623 return XextCreateExtension ();
9625 return 0;
9627 _ACEOF
9628 if ac_fn_c_try_link "$LINENO"; then :
9629 case "$LIBEXT" in
9630 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9631 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'` ;;
9632 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9633 if ${ac_cv_lib_soname_Xext:+false} :; then :
9634 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9635 fi ;;
9636 esac
9638 rm -f core conftest.err conftest.$ac_objext \
9639 conftest$ac_exeext conftest.$ac_ext
9640 LIBS=$ac_check_soname_save_LIBS
9642 if ${ac_cv_lib_soname_Xext:+false} :; then :
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9644 $as_echo "not found" >&6; }
9646 else
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9648 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9650 cat >>confdefs.h <<_ACEOF
9651 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9652 _ACEOF
9654 X_LIBS="$X_LIBS -lXext"
9656 X_LIBS="$X_LIBS -lX11"
9658 for ac_header in X11/Xlib.h \
9659 X11/XKBlib.h \
9660 X11/Xutil.h \
9661 X11/Xcursor/Xcursor.h \
9662 X11/extensions/shape.h \
9663 X11/extensions/XInput.h \
9664 X11/extensions/XInput2.h \
9665 X11/extensions/XShm.h \
9666 X11/extensions/Xcomposite.h \
9667 X11/extensions/Xinerama.h \
9668 X11/extensions/Xrandr.h \
9669 X11/extensions/Xrender.h \
9670 X11/extensions/xf86vmode.h \
9671 X11/extensions/xf86vmproto.h
9672 do :
9673 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9674 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9675 # include <X11/Xlib.h>
9676 #endif
9677 #ifdef HAVE_X11_XUTIL_H
9678 # include <X11/Xutil.h>
9679 #endif
9681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9682 cat >>confdefs.h <<_ACEOF
9683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9684 _ACEOF
9688 done
9691 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9692 then
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9694 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9695 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9696 $as_echo_n "(cached) " >&6
9697 else
9698 ac_check_lib_save_LIBS=$LIBS
9699 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9701 /* end confdefs.h. */
9703 /* Override any GCC internal prototype to avoid an error.
9704 Use char because int might match the return type of a GCC
9705 builtin and then its argument prototype would still apply. */
9706 #ifdef __cplusplus
9707 extern "C"
9708 #endif
9709 char XkbQueryExtension ();
9711 main ()
9713 return XkbQueryExtension ();
9715 return 0;
9717 _ACEOF
9718 if ac_fn_c_try_link "$LINENO"; then :
9719 ac_cv_lib_X11_XkbQueryExtension=yes
9720 else
9721 ac_cv_lib_X11_XkbQueryExtension=no
9723 rm -f core conftest.err conftest.$ac_objext \
9724 conftest$ac_exeext conftest.$ac_ext
9725 LIBS=$ac_check_lib_save_LIBS
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9728 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9729 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9731 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9737 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9738 then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9740 $as_echo_n "checking for -lXcursor... " >&6; }
9741 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9742 $as_echo_n "(cached) " >&6
9743 else
9744 ac_check_soname_save_LIBS=$LIBS
9745 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9749 /* Override any GCC internal prototype to avoid an error.
9750 Use char because int might match the return type of a GCC
9751 builtin and then its argument prototype would still apply. */
9752 #ifdef __cplusplus
9753 extern "C"
9754 #endif
9755 char XcursorImageLoadCursor ();
9757 main ()
9759 return XcursorImageLoadCursor ();
9761 return 0;
9763 _ACEOF
9764 if ac_fn_c_try_link "$LINENO"; then :
9765 case "$LIBEXT" in
9766 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9767 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'` ;;
9768 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9769 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9770 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9771 fi ;;
9772 esac
9774 rm -f core conftest.err conftest.$ac_objext \
9775 conftest$ac_exeext conftest.$ac_ext
9776 LIBS=$ac_check_soname_save_LIBS
9778 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9780 $as_echo "not found" >&6; }
9782 else
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9784 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9786 cat >>confdefs.h <<_ACEOF
9787 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9788 _ACEOF
9793 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9794 case "x$with_xcursor" in
9795 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9796 xno) ;;
9797 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9798 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9799 esac
9803 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9804 then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9806 $as_echo_n "checking for -lXi... " >&6; }
9807 if ${ac_cv_lib_soname_Xi+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 ac_check_soname_save_LIBS=$LIBS
9811 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9818 #ifdef __cplusplus
9819 extern "C"
9820 #endif
9821 char XOpenDevice ();
9823 main ()
9825 return XOpenDevice ();
9827 return 0;
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 case "$LIBEXT" in
9832 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9833 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'` ;;
9834 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9835 if ${ac_cv_lib_soname_Xi:+false} :; then :
9836 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9837 fi ;;
9838 esac
9840 rm -f core conftest.err conftest.$ac_objext \
9841 conftest$ac_exeext conftest.$ac_ext
9842 LIBS=$ac_check_soname_save_LIBS
9844 if ${ac_cv_lib_soname_Xi:+false} :; then :
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9846 $as_echo "not found" >&6; }
9848 else
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9850 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9852 cat >>confdefs.h <<_ACEOF
9853 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9854 _ACEOF
9859 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9860 case "x$with_xinput" in
9861 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9862 xno) ;;
9863 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9864 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9865 esac
9869 if test "x$ac_cv_lib_soname_Xi" != x
9870 then
9871 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9872 case "x$with_xinput2" in
9873 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9874 xno) ;;
9875 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9876 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9877 esac
9882 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9883 then
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9885 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9886 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9887 $as_echo_n "(cached) " >&6
9888 else
9889 ac_check_lib_save_LIBS=$LIBS
9890 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9894 /* Override any GCC internal prototype to avoid an error.
9895 Use char because int might match the return type of a GCC
9896 builtin and then its argument prototype would still apply. */
9897 #ifdef __cplusplus
9898 extern "C"
9899 #endif
9900 char XShmQueryExtension ();
9902 main ()
9904 return XShmQueryExtension ();
9906 return 0;
9908 _ACEOF
9909 if ac_fn_c_try_link "$LINENO"; then :
9910 ac_cv_lib_Xext_XShmQueryExtension=yes
9911 else
9912 ac_cv_lib_Xext_XShmQueryExtension=no
9914 rm -f core conftest.err conftest.$ac_objext \
9915 conftest$ac_exeext conftest.$ac_ext
9916 LIBS=$ac_check_lib_save_LIBS
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9919 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9920 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9922 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9927 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9928 case "x$with_xshm" in
9929 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9930 xno) ;;
9931 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9932 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9933 esac
9937 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9938 then
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9940 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9941 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9942 $as_echo_n "(cached) " >&6
9943 else
9944 ac_check_lib_save_LIBS=$LIBS
9945 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9947 /* end confdefs.h. */
9949 /* Override any GCC internal prototype to avoid an error.
9950 Use char because int might match the return type of a GCC
9951 builtin and then its argument prototype would still apply. */
9952 #ifdef __cplusplus
9953 extern "C"
9954 #endif
9955 char XShapeQueryExtension ();
9957 main ()
9959 return XShapeQueryExtension ();
9961 return 0;
9963 _ACEOF
9964 if ac_fn_c_try_link "$LINENO"; then :
9965 ac_cv_lib_Xext_XShapeQueryExtension=yes
9966 else
9967 ac_cv_lib_Xext_XShapeQueryExtension=no
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LIBS=$ac_check_lib_save_LIBS
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9974 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9975 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
9977 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
9982 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
9983 case "x$with_xshape" in
9984 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
9985 xno) ;;
9986 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
9987 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
9988 esac
9992 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
9993 then
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
9995 $as_echo_n "checking for -lXxf86vm... " >&6; }
9996 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
9997 $as_echo_n "(cached) " >&6
9998 else
9999 ac_check_soname_save_LIBS=$LIBS
10000 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10007 #ifdef __cplusplus
10008 extern "C"
10009 #endif
10010 char XF86VidModeQueryExtension ();
10012 main ()
10014 return XF86VidModeQueryExtension ();
10016 return 0;
10018 _ACEOF
10019 if ac_fn_c_try_link "$LINENO"; then :
10020 case "$LIBEXT" in
10021 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10022 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'` ;;
10023 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10024 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10025 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10026 fi ;;
10027 esac
10029 rm -f core conftest.err conftest.$ac_objext \
10030 conftest$ac_exeext conftest.$ac_ext
10031 LIBS=$ac_check_soname_save_LIBS
10033 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10035 $as_echo "not found" >&6; }
10037 else
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10039 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10041 cat >>confdefs.h <<_ACEOF
10042 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10043 _ACEOF
10048 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10049 case "x$with_xxf86vm" in
10050 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10051 xno) ;;
10052 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10053 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10054 esac
10058 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10059 then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10061 $as_echo_n "checking for -lXrender... " >&6; }
10062 if ${ac_cv_lib_soname_Xrender+:} false; then :
10063 $as_echo_n "(cached) " >&6
10064 else
10065 ac_check_soname_save_LIBS=$LIBS
10066 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10068 /* end confdefs.h. */
10070 /* Override any GCC internal prototype to avoid an error.
10071 Use char because int might match the return type of a GCC
10072 builtin and then its argument prototype would still apply. */
10073 #ifdef __cplusplus
10074 extern "C"
10075 #endif
10076 char XRenderQueryExtension ();
10078 main ()
10080 return XRenderQueryExtension ();
10082 return 0;
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"; then :
10086 case "$LIBEXT" in
10087 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10088 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'` ;;
10089 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10090 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10091 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10092 fi ;;
10093 esac
10095 rm -f core conftest.err conftest.$ac_objext \
10096 conftest$ac_exeext conftest.$ac_ext
10097 LIBS=$ac_check_soname_save_LIBS
10099 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10101 $as_echo "not found" >&6; }
10103 else
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10105 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10107 cat >>confdefs.h <<_ACEOF
10108 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10109 _ACEOF
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10112 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10113 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_check_lib_save_LIBS=$LIBS
10117 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 char XRenderSetPictureTransform ();
10129 main ()
10131 return XRenderSetPictureTransform ();
10133 return 0;
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10138 else
10139 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_lib_save_LIBS
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10146 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10147 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10149 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10154 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10155 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 ac_check_lib_save_LIBS=$LIBS
10159 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10161 /* end confdefs.h. */
10163 /* Override any GCC internal prototype to avoid an error.
10164 Use char because int might match the return type of a GCC
10165 builtin and then its argument prototype would still apply. */
10166 #ifdef __cplusplus
10167 extern "C"
10168 #endif
10169 char XRenderCreateLinearGradient ();
10171 main ()
10173 return XRenderCreateLinearGradient ();
10175 return 0;
10177 _ACEOF
10178 if ac_fn_c_try_link "$LINENO"; then :
10179 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10180 else
10181 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10183 rm -f core conftest.err conftest.$ac_objext \
10184 conftest$ac_exeext conftest.$ac_ext
10185 LIBS=$ac_check_lib_save_LIBS
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10188 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10189 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10191 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10198 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10199 case "x$with_xrender" in
10200 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10201 xno) ;;
10202 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10203 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10204 esac
10208 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10209 then
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10212 #include <X11/Xlib.h>
10213 #include <X11/extensions/Xrandr.h>
10215 main ()
10217 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10219 return 0;
10221 _ACEOF
10222 if ac_fn_c_try_compile "$LINENO"; then :
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10224 $as_echo_n "checking for -lXrandr... " >&6; }
10225 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10226 $as_echo_n "(cached) " >&6
10227 else
10228 ac_check_soname_save_LIBS=$LIBS
10229 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10233 /* Override any GCC internal prototype to avoid an error.
10234 Use char because int might match the return type of a GCC
10235 builtin and then its argument prototype would still apply. */
10236 #ifdef __cplusplus
10237 extern "C"
10238 #endif
10239 char XRRQueryExtension ();
10241 main ()
10243 return XRRQueryExtension ();
10245 return 0;
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 case "$LIBEXT" in
10250 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10251 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'` ;;
10252 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10253 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10254 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10255 fi ;;
10256 esac
10258 rm -f core conftest.err conftest.$ac_objext \
10259 conftest$ac_exeext conftest.$ac_ext
10260 LIBS=$ac_check_soname_save_LIBS
10262 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10264 $as_echo "not found" >&6; }
10266 else
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10268 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10270 cat >>confdefs.h <<_ACEOF
10271 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10272 _ACEOF
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h. */
10276 #include <X11/Xlib.h>
10277 #include <X11/extensions/Xrandr.h>
10279 main ()
10281 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10283 return 0;
10285 _ACEOF
10286 if ac_fn_c_try_compile "$LINENO"; then :
10288 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10296 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10297 case "x$with_xrandr" in
10298 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10299 xno) ;;
10300 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10301 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10302 esac
10306 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10307 then
10308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10309 /* end confdefs.h. */
10310 #include <X11/Xlib.h>
10311 #include <X11/extensions/Xinerama.h>
10313 main ()
10315 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10317 return 0;
10319 _ACEOF
10320 if ac_fn_c_try_compile "$LINENO"; then :
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10322 $as_echo_n "checking for -lXinerama... " >&6; }
10323 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10324 $as_echo_n "(cached) " >&6
10325 else
10326 ac_check_soname_save_LIBS=$LIBS
10327 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10334 #ifdef __cplusplus
10335 extern "C"
10336 #endif
10337 char XineramaQueryScreens ();
10339 main ()
10341 return XineramaQueryScreens ();
10343 return 0;
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 case "$LIBEXT" in
10348 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10349 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'` ;;
10350 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10351 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10352 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10353 fi ;;
10354 esac
10356 rm -f core conftest.err conftest.$ac_objext \
10357 conftest$ac_exeext conftest.$ac_ext
10358 LIBS=$ac_check_soname_save_LIBS
10360 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10362 $as_echo "not found" >&6; }
10364 else
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10366 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10368 cat >>confdefs.h <<_ACEOF
10369 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10370 _ACEOF
10375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10377 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10378 case "x$with_xinerama" in
10379 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10380 xno) ;;
10381 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10382 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10383 esac
10387 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10388 then
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10390 $as_echo_n "checking for -lXcomposite... " >&6; }
10391 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10392 $as_echo_n "(cached) " >&6
10393 else
10394 ac_check_soname_save_LIBS=$LIBS
10395 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10399 /* Override any GCC internal prototype to avoid an error.
10400 Use char because int might match the return type of a GCC
10401 builtin and then its argument prototype would still apply. */
10402 #ifdef __cplusplus
10403 extern "C"
10404 #endif
10405 char XCompositeRedirectWindow ();
10407 main ()
10409 return XCompositeRedirectWindow ();
10411 return 0;
10413 _ACEOF
10414 if ac_fn_c_try_link "$LINENO"; then :
10415 case "$LIBEXT" in
10416 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10417 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'` ;;
10418 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10419 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10420 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10421 fi ;;
10422 esac
10424 rm -f core conftest.err conftest.$ac_objext \
10425 conftest$ac_exeext conftest.$ac_ext
10426 LIBS=$ac_check_soname_save_LIBS
10428 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10430 $as_echo "not found" >&6; }
10432 else
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10434 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10436 cat >>confdefs.h <<_ACEOF
10437 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10438 _ACEOF
10443 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10444 case "x$with_xcomposite" in
10445 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10446 xno) ;;
10447 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10448 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10449 esac
10453 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10454 #include <X11/Xlib.h>
10455 #endif
10457 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10459 cat >>confdefs.h <<_ACEOF
10460 #define HAVE_XICCALLBACK_CALLBACK 1
10461 _ACEOF
10465 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10466 #include <X11/Xlib.h>
10467 #endif
10469 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10471 cat >>confdefs.h <<_ACEOF
10472 #define HAVE_XEVENT_XCOOKIE 1
10473 _ACEOF
10480 opengl_msg=""
10481 if test "x$with_opengl" != "xno"
10482 then
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10484 $as_echo_n "checking for -lGL... " >&6; }
10485 if ${ac_cv_lib_soname_GL+:} false; then :
10486 $as_echo_n "(cached) " >&6
10487 else
10488 ac_check_soname_save_LIBS=$LIBS
10489 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h. */
10493 /* Override any GCC internal prototype to avoid an error.
10494 Use char because int might match the return type of a GCC
10495 builtin and then its argument prototype would still apply. */
10496 #ifdef __cplusplus
10497 extern "C"
10498 #endif
10499 char glXCreateContext ();
10501 main ()
10503 return glXCreateContext ();
10505 return 0;
10507 _ACEOF
10508 if ac_fn_c_try_link "$LINENO"; then :
10509 case "$LIBEXT" in
10510 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10511 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'` ;;
10512 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10513 if ${ac_cv_lib_soname_GL:+false} :; then :
10514 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10515 fi ;;
10516 esac
10518 rm -f core conftest.err conftest.$ac_objext \
10519 conftest$ac_exeext conftest.$ac_ext
10520 LIBS=$ac_check_soname_save_LIBS
10522 if ${ac_cv_lib_soname_GL:+false} :; then :
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10524 $as_echo "not found" >&6; }
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10526 $as_echo_n "checking for -lGL... " >&6; }
10527 if ${ac_cv_lib_soname_GL+:} false; then :
10528 $as_echo_n "(cached) " >&6
10529 else
10530 ac_check_soname_save_LIBS=$LIBS
10531 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"
10532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10533 /* end confdefs.h. */
10535 /* Override any GCC internal prototype to avoid an error.
10536 Use char because int might match the return type of a GCC
10537 builtin and then its argument prototype would still apply. */
10538 #ifdef __cplusplus
10539 extern "C"
10540 #endif
10541 char glXCreateContext ();
10543 main ()
10545 return glXCreateContext ();
10547 return 0;
10549 _ACEOF
10550 if ac_fn_c_try_link "$LINENO"; then :
10551 case "$LIBEXT" in
10552 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10553 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'` ;;
10554 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10555 if ${ac_cv_lib_soname_GL:+false} :; then :
10556 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10557 fi ;;
10558 esac
10560 rm -f core conftest.err conftest.$ac_objext \
10561 conftest$ac_exeext conftest.$ac_ext
10562 LIBS=$ac_check_soname_save_LIBS
10564 if ${ac_cv_lib_soname_GL:+false} :; then :
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10566 $as_echo "not found" >&6; }
10567 if test -f /usr/X11R6/lib/libGL.a
10568 then
10569 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10570 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10571 else
10572 opengl_msg="No OpenGL library found on this system."
10574 else
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10576 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10578 cat >>confdefs.h <<_ACEOF
10579 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10580 _ACEOF
10582 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"
10584 else
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10586 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10588 cat >>confdefs.h <<_ACEOF
10589 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10590 _ACEOF
10592 OPENGL_LIBS="-lGL"
10594 if test "x$with_glu" != "xno"
10595 then
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10597 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10598 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10599 $as_echo_n "(cached) " >&6
10600 else
10601 ac_check_lib_save_LIBS=$LIBS
10602 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10604 /* end confdefs.h. */
10606 /* Override any GCC internal prototype to avoid an error.
10607 Use char because int might match the return type of a GCC
10608 builtin and then its argument prototype would still apply. */
10609 #ifdef __cplusplus
10610 extern "C"
10611 #endif
10612 char gluLookAt ();
10614 main ()
10616 return gluLookAt ();
10618 return 0;
10620 _ACEOF
10621 if ac_fn_c_try_link "$LINENO"; then :
10622 ac_cv_lib_GLU_gluLookAt=yes
10623 else
10624 ac_cv_lib_GLU_gluLookAt=no
10626 rm -f core conftest.err conftest.$ac_objext \
10627 conftest$ac_exeext conftest.$ac_ext
10628 LIBS=$ac_check_lib_save_LIBS
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10631 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10632 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10636 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10637 case "x$with_glu" in
10638 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10639 xno) ;;
10640 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10641 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10642 esac
10647 if test "x$with_osmesa" != "xno"
10648 then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10650 $as_echo_n "checking for -lOSMesa... " >&6; }
10651 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10652 $as_echo_n "(cached) " >&6
10653 else
10654 ac_check_soname_save_LIBS=$LIBS
10655 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10662 #ifdef __cplusplus
10663 extern "C"
10664 #endif
10665 char glAccum ();
10667 main ()
10669 return glAccum ();
10671 return 0;
10673 _ACEOF
10674 if ac_fn_c_try_link "$LINENO"; then :
10675 case "$LIBEXT" in
10676 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10677 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'` ;;
10678 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10679 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10680 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10681 fi ;;
10682 esac
10684 rm -f core conftest.err conftest.$ac_objext \
10685 conftest$ac_exeext conftest.$ac_ext
10686 LIBS=$ac_check_soname_save_LIBS
10688 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10690 $as_echo "not found" >&6; }
10692 else
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10694 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10696 cat >>confdefs.h <<_ACEOF
10697 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10698 _ACEOF
10702 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10703 case "x$with_osmesa" in
10704 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10705 xno) ;;
10706 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10707 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10708 esac
10713 if test -n "$opengl_msg"; then :
10714 case "x$with_opengl" in
10715 x) as_fn_append wine_warnings "|$opengl_msg
10716 OpenGL and Direct3D won't be supported." ;;
10717 xno) ;;
10718 *) as_fn_error $? "$opengl_msg
10719 OpenGL and Direct3D won't be supported.
10720 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10721 esac
10725 CPPFLAGS="$ac_save_CPPFLAGS"
10726 else
10727 X_CFLAGS=""
10728 X_LIBS=""
10730 if test "x$X_LIBS" = "x"; then :
10731 case "x$with_x" in
10732 xno) ;;
10733 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10734 without X support, which probably isn't what you want. You will need
10735 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10736 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10737 esac
10738 enable_winex11_drv=${enable_winex11_drv:-no}
10741 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10743 if test "$ac_cv_header_CL_cl_h" = "yes"
10744 then
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10746 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10747 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10748 $as_echo_n "(cached) " >&6
10749 else
10750 ac_check_lib_save_LIBS=$LIBS
10751 LIBS="-lOpenCL $LIBS"
10752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10753 /* end confdefs.h. */
10755 /* Override any GCC internal prototype to avoid an error.
10756 Use char because int might match the return type of a GCC
10757 builtin and then its argument prototype would still apply. */
10758 #ifdef __cplusplus
10759 extern "C"
10760 #endif
10761 char clGetPlatformInfo ();
10763 main ()
10765 return clGetPlatformInfo ();
10767 return 0;
10769 _ACEOF
10770 if ac_fn_c_try_link "$LINENO"; then :
10771 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10772 else
10773 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10775 rm -f core conftest.err conftest.$ac_objext \
10776 conftest$ac_exeext conftest.$ac_ext
10777 LIBS=$ac_check_lib_save_LIBS
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10780 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10781 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10782 OPENCL_LIBS="-lOpenCL"
10787 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10788 case "x$with_opencl" in
10789 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10790 xno) ;;
10791 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10792 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10793 esac
10794 enable_opencl=${enable_opencl:-no}
10797 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10798 then
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10800 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10801 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10802 $as_echo_n "(cached) " >&6
10803 else
10804 ac_check_lib_save_LIBS=$LIBS
10805 LIBS="-lpcap $LIBS"
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10809 /* Override any GCC internal prototype to avoid an error.
10810 Use char because int might match the return type of a GCC
10811 builtin and then its argument prototype would still apply. */
10812 #ifdef __cplusplus
10813 extern "C"
10814 #endif
10815 char pcap_create ();
10817 main ()
10819 return pcap_create ();
10821 return 0;
10823 _ACEOF
10824 if ac_fn_c_try_link "$LINENO"; then :
10825 ac_cv_lib_pcap_pcap_create=yes
10826 else
10827 ac_cv_lib_pcap_pcap_create=no
10829 rm -f core conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10831 LIBS=$ac_check_lib_save_LIBS
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10834 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10835 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10836 PCAP_LIBS="-lpcap"
10841 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10842 case "x$with_pcap" in
10843 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10844 xno) ;;
10845 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10846 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10847 esac
10848 enable_wpcap=${enable_wpcap:-no}
10852 if test "x$with_xml" != "xno"
10853 then
10854 if ${XML2_CFLAGS:+false} :; then :
10855 if ${PKG_CONFIG+:} false; then :
10856 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10859 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10860 if ${XML2_LIBS:+false} :; then :
10861 if ${PKG_CONFIG+:} false; then :
10862 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10865 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10866 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10867 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10868 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10869 ac_save_CPPFLAGS=$CPPFLAGS
10870 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10871 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10872 do :
10873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10874 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10875 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10876 cat >>confdefs.h <<_ACEOF
10877 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10878 _ACEOF
10882 done
10884 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"
10885 then
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10887 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10888 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
10889 $as_echo_n "(cached) " >&6
10890 else
10891 ac_check_lib_save_LIBS=$LIBS
10892 LIBS="-lxml2 $XML2_LIBS $LIBS"
10893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10894 /* end confdefs.h. */
10896 /* Override any GCC internal prototype to avoid an error.
10897 Use char because int might match the return type of a GCC
10898 builtin and then its argument prototype would still apply. */
10899 #ifdef __cplusplus
10900 extern "C"
10901 #endif
10902 char xmlParseMemory ();
10904 main ()
10906 return xmlParseMemory ();
10908 return 0;
10910 _ACEOF
10911 if ac_fn_c_try_link "$LINENO"; then :
10912 ac_cv_lib_xml2_xmlParseMemory=yes
10913 else
10914 ac_cv_lib_xml2_xmlParseMemory=no
10916 rm -f core conftest.err conftest.$ac_objext \
10917 conftest$ac_exeext conftest.$ac_ext
10918 LIBS=$ac_check_lib_save_LIBS
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10921 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10922 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10924 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10926 else
10927 XML2_LIBS=""
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10931 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10932 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10933 $as_echo_n "(cached) " >&6
10934 else
10935 ac_check_lib_save_LIBS=$LIBS
10936 LIBS="-lxml2 $XML2_LIBS $LIBS"
10937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10943 #ifdef __cplusplus
10944 extern "C"
10945 #endif
10946 char xmlReadMemory ();
10948 main ()
10950 return xmlReadMemory ();
10952 return 0;
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"; then :
10956 ac_cv_lib_xml2_xmlReadMemory=yes
10957 else
10958 ac_cv_lib_xml2_xmlReadMemory=no
10960 rm -f core conftest.err conftest.$ac_objext \
10961 conftest$ac_exeext conftest.$ac_ext
10962 LIBS=$ac_check_lib_save_LIBS
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10965 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10966 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
10968 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
10973 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
10974 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
10975 $as_echo_n "(cached) " >&6
10976 else
10977 ac_check_lib_save_LIBS=$LIBS
10978 LIBS="-lxml2 $XML2_LIBS $LIBS"
10979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10980 /* end confdefs.h. */
10982 /* Override any GCC internal prototype to avoid an error.
10983 Use char because int might match the return type of a GCC
10984 builtin and then its argument prototype would still apply. */
10985 #ifdef __cplusplus
10986 extern "C"
10987 #endif
10988 char xmlNewDocPI ();
10990 main ()
10992 return xmlNewDocPI ();
10994 return 0;
10996 _ACEOF
10997 if ac_fn_c_try_link "$LINENO"; then :
10998 ac_cv_lib_xml2_xmlNewDocPI=yes
10999 else
11000 ac_cv_lib_xml2_xmlNewDocPI=no
11002 rm -f core conftest.err conftest.$ac_objext \
11003 conftest$ac_exeext conftest.$ac_ext
11004 LIBS=$ac_check_lib_save_LIBS
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11007 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11008 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11010 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11015 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11016 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11017 $as_echo_n "(cached) " >&6
11018 else
11019 ac_check_lib_save_LIBS=$LIBS
11020 LIBS="-lxml2 $XML2_LIBS $LIBS"
11021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11027 #ifdef __cplusplus
11028 extern "C"
11029 #endif
11030 char xmlSchemaSetParserStructuredErrors ();
11032 main ()
11034 return xmlSchemaSetParserStructuredErrors ();
11036 return 0;
11038 _ACEOF
11039 if ac_fn_c_try_link "$LINENO"; then :
11040 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11041 else
11042 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11044 rm -f core conftest.err conftest.$ac_objext \
11045 conftest$ac_exeext conftest.$ac_ext
11046 LIBS=$ac_check_lib_save_LIBS
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11049 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11050 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11052 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11057 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11058 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_lib_save_LIBS=$LIBS
11062 LIBS="-lxml2 $XML2_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char xmlSchemaSetValidStructuredErrors ();
11074 main ()
11076 return xmlSchemaSetValidStructuredErrors ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11083 else
11084 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11091 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11092 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11094 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11099 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11100 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11101 $as_echo_n "(cached) " >&6
11102 else
11103 ac_check_lib_save_LIBS=$LIBS
11104 LIBS="-lxml2 $XML2_LIBS $LIBS"
11105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11106 /* end confdefs.h. */
11108 /* Override any GCC internal prototype to avoid an error.
11109 Use char because int might match the return type of a GCC
11110 builtin and then its argument prototype would still apply. */
11111 #ifdef __cplusplus
11112 extern "C"
11113 #endif
11114 char xmlFirstElementChild ();
11116 main ()
11118 return xmlFirstElementChild ();
11120 return 0;
11122 _ACEOF
11123 if ac_fn_c_try_link "$LINENO"; then :
11124 ac_cv_lib_xml2_xmlFirstElementChild=yes
11125 else
11126 ac_cv_lib_xml2_xmlFirstElementChild=no
11128 rm -f core conftest.err conftest.$ac_objext \
11129 conftest$ac_exeext conftest.$ac_ext
11130 LIBS=$ac_check_lib_save_LIBS
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11133 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11134 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11136 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11140 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11142 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11144 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11148 else
11149 XML2_CFLAGS=""
11150 XML2_LIBS=""
11152 CPPFLAGS=$ac_save_CPPFLAGS
11153 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11154 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11157 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11158 case "x$with_xml" in
11159 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11160 xno) ;;
11161 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11162 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11163 esac
11167 if test "x$with_xslt" != "xno"
11168 then
11169 if ${XSLT_CFLAGS:+false} :; then :
11170 if ${PKG_CONFIG+:} false; then :
11171 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11174 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11175 if ${XSLT_LIBS:+false} :; then :
11176 if ${PKG_CONFIG+:} false; then :
11177 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11180 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11181 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11182 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11183 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11184 ac_save_CPPFLAGS=$CPPFLAGS
11185 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11186 for ac_header in libxslt/pattern.h libxslt/transform.h
11187 do :
11188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11189 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11190 # include <libxslt/pattern.h>
11191 #endif
11193 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11194 cat >>confdefs.h <<_ACEOF
11195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11196 _ACEOF
11200 done
11202 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11203 then
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11205 $as_echo_n "checking for -lxslt... " >&6; }
11206 if ${ac_cv_lib_soname_xslt+:} false; then :
11207 $as_echo_n "(cached) " >&6
11208 else
11209 ac_check_soname_save_LIBS=$LIBS
11210 LIBS="-lxslt $XSLT_LIBS $LIBS"
11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11212 /* end confdefs.h. */
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char xsltCompilePattern ();
11222 main ()
11224 return xsltCompilePattern ();
11226 return 0;
11228 _ACEOF
11229 if ac_fn_c_try_link "$LINENO"; then :
11230 case "$LIBEXT" in
11231 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11232 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'` ;;
11233 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11234 if ${ac_cv_lib_soname_xslt:+false} :; then :
11235 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11236 fi ;;
11237 esac
11239 rm -f core conftest.err conftest.$ac_objext \
11240 conftest$ac_exeext conftest.$ac_ext
11241 LIBS=$ac_check_soname_save_LIBS
11243 if ${ac_cv_lib_soname_xslt:+false} :; then :
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11245 $as_echo "not found" >&6; }
11247 else
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11249 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11251 cat >>confdefs.h <<_ACEOF
11252 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11253 _ACEOF
11257 else
11258 XSLT_CFLAGS=""
11260 CPPFLAGS=$ac_save_CPPFLAGS
11261 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11262 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11265 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11266 case "x$with_xslt" in
11267 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11268 xno) ;;
11269 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11270 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11271 esac
11275 if test "x$with_dbus" != "xno"
11276 then
11277 if ${DBUS_CFLAGS:+false} :; then :
11278 if ${PKG_CONFIG+:} false; then :
11279 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11283 if ${DBUS_LIBS:+false} :; then :
11284 if ${PKG_CONFIG+:} false; then :
11285 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11290 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11291 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11292 ac_save_CPPFLAGS=$CPPFLAGS
11293 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11294 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11295 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11297 $as_echo_n "checking for -ldbus-1... " >&6; }
11298 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11299 $as_echo_n "(cached) " >&6
11300 else
11301 ac_check_soname_save_LIBS=$LIBS
11302 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304 /* end confdefs.h. */
11306 /* Override any GCC internal prototype to avoid an error.
11307 Use char because int might match the return type of a GCC
11308 builtin and then its argument prototype would still apply. */
11309 #ifdef __cplusplus
11310 extern "C"
11311 #endif
11312 char dbus_connection_close ();
11314 main ()
11316 return dbus_connection_close ();
11318 return 0;
11320 _ACEOF
11321 if ac_fn_c_try_link "$LINENO"; then :
11322 case "$LIBEXT" in
11323 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11324 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'` ;;
11325 *) 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'`
11326 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11327 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11328 fi ;;
11329 esac
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_soname_save_LIBS
11335 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11337 $as_echo "not found" >&6; }
11338 DBUS_CFLAGS=""
11339 else
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11341 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11343 cat >>confdefs.h <<_ACEOF
11344 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11345 _ACEOF
11349 else
11350 DBUS_CFLAGS=""
11354 CPPFLAGS=$ac_save_CPPFLAGS
11355 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11356 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11359 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11360 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11361 case "x$with_dbus" in
11362 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11363 xno) ;;
11364 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11365 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11366 esac
11370 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11371 then
11372 if ${HAL_CFLAGS:+false} :; then :
11373 if ${PKG_CONFIG+:} false; then :
11374 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11378 if ${HAL_LIBS:+false} :; then :
11379 if ${PKG_CONFIG+:} false; then :
11380 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11384 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11385 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11386 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11387 ac_save_CPPFLAGS=$CPPFLAGS
11388 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11389 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11390 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11392 $as_echo_n "checking for -lhal... " >&6; }
11393 if ${ac_cv_lib_soname_hal+:} false; then :
11394 $as_echo_n "(cached) " >&6
11395 else
11396 ac_check_soname_save_LIBS=$LIBS
11397 LIBS="-lhal $HAL_LIBS $LIBS"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11401 /* Override any GCC internal prototype to avoid an error.
11402 Use char because int might match the return type of a GCC
11403 builtin and then its argument prototype would still apply. */
11404 #ifdef __cplusplus
11405 extern "C"
11406 #endif
11407 char libhal_ctx_new ();
11409 main ()
11411 return libhal_ctx_new ();
11413 return 0;
11415 _ACEOF
11416 if ac_fn_c_try_link "$LINENO"; then :
11417 case "$LIBEXT" in
11418 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11419 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'` ;;
11420 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11421 if ${ac_cv_lib_soname_hal:+false} :; then :
11422 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11423 fi ;;
11424 esac
11426 rm -f core conftest.err conftest.$ac_objext \
11427 conftest$ac_exeext conftest.$ac_ext
11428 LIBS=$ac_check_soname_save_LIBS
11430 if ${ac_cv_lib_soname_hal:+false} :; then :
11431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11432 $as_echo "not found" >&6; }
11433 HAL_CFLAGS=""
11434 else
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11436 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11438 cat >>confdefs.h <<_ACEOF
11439 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11440 _ACEOF
11444 else
11445 HAL_CFLAGS=""
11449 CPPFLAGS=$ac_save_CPPFLAGS
11450 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11451 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11453 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11454 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11455 case "x$with_hal" in
11456 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11457 xno) ;;
11458 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11459 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11460 esac
11465 if test "x$with_gnutls" != "xno"
11466 then
11467 if ${GNUTLS_CFLAGS:+false} :; then :
11468 if ${PKG_CONFIG+:} false; then :
11469 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11473 if ${GNUTLS_LIBS:+false} :; then :
11474 if ${PKG_CONFIG+:} false; then :
11475 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11480 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11481 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11482 ac_save_CPPFLAGS=$CPPFLAGS
11483 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11484 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11485 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11488 #include <gnutls/gnutls.h>
11489 #include <gnutls/crypto.h>
11491 main ()
11493 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11495 return 0;
11497 _ACEOF
11498 if ac_fn_c_try_compile "$LINENO"; then :
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11500 $as_echo_n "checking for -lgnutls... " >&6; }
11501 if ${ac_cv_lib_soname_gnutls+:} false; then :
11502 $as_echo_n "(cached) " >&6
11503 else
11504 ac_check_soname_save_LIBS=$LIBS
11505 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char gnutls_global_init ();
11517 main ()
11519 return gnutls_global_init ();
11521 return 0;
11523 _ACEOF
11524 if ac_fn_c_try_link "$LINENO"; then :
11525 case "$LIBEXT" in
11526 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11527 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'` ;;
11528 *) 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'`
11529 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11530 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'`
11531 fi ;;
11532 esac
11534 rm -f core conftest.err conftest.$ac_objext \
11535 conftest$ac_exeext conftest.$ac_ext
11536 LIBS=$ac_check_soname_save_LIBS
11538 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11540 $as_echo "not found" >&6; }
11541 GNUTLS_CFLAGS=""
11542 else
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11544 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11546 cat >>confdefs.h <<_ACEOF
11547 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11548 _ACEOF
11552 ac_wine_check_funcs_save_LIBS="$LIBS"
11553 LIBS="$LIBS $GNUTLS_LIBS"
11554 for ac_func in gnutls_hash
11555 do :
11556 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11557 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11558 cat >>confdefs.h <<_ACEOF
11559 #define HAVE_GNUTLS_HASH 1
11560 _ACEOF
11562 else
11563 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11565 done
11567 LIBS="$ac_wine_check_funcs_save_LIBS"
11569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11570 else
11571 GNUTLS_CFLAGS=""
11575 CPPFLAGS=$ac_save_CPPFLAGS
11576 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11577 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11580 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11581 case "x$with_gnutls" in
11582 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11583 xno) ;;
11584 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11585 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11586 esac
11590 CURSES_LIBS=""
11591 if test "$ac_cv_header_ncurses_h" = "yes"
11592 then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11594 $as_echo_n "checking for -lncurses... " >&6; }
11595 if ${ac_cv_lib_soname_ncurses+:} false; then :
11596 $as_echo_n "(cached) " >&6
11597 else
11598 ac_check_soname_save_LIBS=$LIBS
11599 LIBS="-lncurses $LIBS"
11600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11601 /* end confdefs.h. */
11603 /* Override any GCC internal prototype to avoid an error.
11604 Use char because int might match the return type of a GCC
11605 builtin and then its argument prototype would still apply. */
11606 #ifdef __cplusplus
11607 extern "C"
11608 #endif
11609 char waddch ();
11611 main ()
11613 return waddch ();
11615 return 0;
11617 _ACEOF
11618 if ac_fn_c_try_link "$LINENO"; then :
11619 case "$LIBEXT" in
11620 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11621 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'` ;;
11622 *) 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'`
11623 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11624 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11625 fi ;;
11626 esac
11628 rm -f core conftest.err conftest.$ac_objext \
11629 conftest$ac_exeext conftest.$ac_ext
11630 LIBS=$ac_check_soname_save_LIBS
11632 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11634 $as_echo "not found" >&6; }
11636 else
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11638 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11640 cat >>confdefs.h <<_ACEOF
11641 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11642 _ACEOF
11644 CURSES_LIBS="-lncurses"
11646 elif test "$ac_cv_header_curses_h" = "yes"
11647 then
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11649 $as_echo_n "checking for -lcurses... " >&6; }
11650 if ${ac_cv_lib_soname_curses+:} false; then :
11651 $as_echo_n "(cached) " >&6
11652 else
11653 ac_check_soname_save_LIBS=$LIBS
11654 LIBS="-lcurses $LIBS"
11655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11656 /* end confdefs.h. */
11658 /* Override any GCC internal prototype to avoid an error.
11659 Use char because int might match the return type of a GCC
11660 builtin and then its argument prototype would still apply. */
11661 #ifdef __cplusplus
11662 extern "C"
11663 #endif
11664 char waddch ();
11666 main ()
11668 return waddch ();
11670 return 0;
11672 _ACEOF
11673 if ac_fn_c_try_link "$LINENO"; then :
11674 case "$LIBEXT" in
11675 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11676 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'` ;;
11677 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11678 if ${ac_cv_lib_soname_curses:+false} :; then :
11679 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11680 fi ;;
11681 esac
11683 rm -f core conftest.err conftest.$ac_objext \
11684 conftest$ac_exeext conftest.$ac_ext
11685 LIBS=$ac_check_soname_save_LIBS
11687 if ${ac_cv_lib_soname_curses:+false} :; then :
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11689 $as_echo "not found" >&6; }
11691 else
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11693 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11695 cat >>confdefs.h <<_ACEOF
11696 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11697 _ACEOF
11699 CURSES_LIBS="-lcurses"
11702 ac_save_LIBS="$LIBS"
11703 LIBS="$LIBS $CURSES_LIBS"
11704 for ac_func in mousemask
11705 do :
11706 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11707 if test "x$ac_cv_func_mousemask" = xyes; then :
11708 cat >>confdefs.h <<_ACEOF
11709 #define HAVE_MOUSEMASK 1
11710 _ACEOF
11713 done
11715 LIBS="$ac_save_LIBS"
11716 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11717 case "x$with_curses" in
11718 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11719 xno) ;;
11720 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11721 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11722 esac
11726 if test "x$with_sane" != "xno"
11727 then
11728 if ${SANE_CFLAGS:+false} :; then :
11729 if ${PKG_CONFIG+:} false; then :
11730 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11733 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11734 if ${SANE_LIBS:+false} :; then :
11735 if ${PKG_CONFIG+:} false; then :
11736 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11739 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11741 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11742 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11743 ac_save_CPPFLAGS=$CPPFLAGS
11744 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11745 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11746 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11748 $as_echo_n "checking for -lsane... " >&6; }
11749 if ${ac_cv_lib_soname_sane+:} false; then :
11750 $as_echo_n "(cached) " >&6
11751 else
11752 ac_check_soname_save_LIBS=$LIBS
11753 LIBS="-lsane $SANE_LIBS $LIBS"
11754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11755 /* end confdefs.h. */
11757 /* Override any GCC internal prototype to avoid an error.
11758 Use char because int might match the return type of a GCC
11759 builtin and then its argument prototype would still apply. */
11760 #ifdef __cplusplus
11761 extern "C"
11762 #endif
11763 char sane_init ();
11765 main ()
11767 return sane_init ();
11769 return 0;
11771 _ACEOF
11772 if ac_fn_c_try_link "$LINENO"; then :
11773 case "$LIBEXT" in
11774 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11775 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'` ;;
11776 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11777 if ${ac_cv_lib_soname_sane:+false} :; then :
11778 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11779 fi ;;
11780 esac
11782 rm -f core conftest.err conftest.$ac_objext \
11783 conftest$ac_exeext conftest.$ac_ext
11784 LIBS=$ac_check_soname_save_LIBS
11786 if ${ac_cv_lib_soname_sane:+false} :; then :
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11788 $as_echo "not found" >&6; }
11789 SANE_CFLAGS=""
11790 else
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11792 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11794 cat >>confdefs.h <<_ACEOF
11795 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11796 _ACEOF
11800 else
11801 SANE_CFLAGS=""
11805 CPPFLAGS=$ac_save_CPPFLAGS
11806 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11807 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11810 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11811 case "x$with_sane" in
11812 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11813 xno) ;;
11814 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11815 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11816 esac
11820 if test "x$with_v4l" != "xno"
11821 then
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11823 $as_echo_n "checking for -lv4l1... " >&6; }
11824 if ${ac_cv_lib_soname_v4l1+:} false; then :
11825 $as_echo_n "(cached) " >&6
11826 else
11827 ac_check_soname_save_LIBS=$LIBS
11828 LIBS="-lv4l1 $LIBS"
11829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11835 #ifdef __cplusplus
11836 extern "C"
11837 #endif
11838 char v4l1_open ();
11840 main ()
11842 return v4l1_open ();
11844 return 0;
11846 _ACEOF
11847 if ac_fn_c_try_link "$LINENO"; then :
11848 case "$LIBEXT" in
11849 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11850 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'` ;;
11851 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11852 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11853 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11854 fi ;;
11855 esac
11857 rm -f core conftest.err conftest.$ac_objext \
11858 conftest$ac_exeext conftest.$ac_ext
11859 LIBS=$ac_check_soname_save_LIBS
11861 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11863 $as_echo "not found" >&6; }
11865 else
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11867 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11869 cat >>confdefs.h <<_ACEOF
11870 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11871 _ACEOF
11876 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11877 case "x$with_v4l" in
11878 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11879 xno) ;;
11880 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11881 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11882 esac
11886 if test "x$with_gphoto" != "xno"
11887 then
11888 if ${GPHOTO2_CFLAGS:+false} :; then :
11889 if ${PKG_CONFIG+:} false; then :
11890 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11893 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11894 if ${GPHOTO2_LIBS:+false} :; then :
11895 if ${PKG_CONFIG+:} false; then :
11896 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11899 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11900 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11901 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11902 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11903 ac_save_CPPFLAGS=$CPPFLAGS
11904 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11905 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11906 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11908 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11909 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11910 $as_echo_n "(cached) " >&6
11911 else
11912 ac_check_lib_save_LIBS=$LIBS
11913 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915 /* end confdefs.h. */
11917 /* Override any GCC internal prototype to avoid an error.
11918 Use char because int might match the return type of a GCC
11919 builtin and then its argument prototype would still apply. */
11920 #ifdef __cplusplus
11921 extern "C"
11922 #endif
11923 char gp_camera_new ();
11925 main ()
11927 return gp_camera_new ();
11929 return 0;
11931 _ACEOF
11932 if ac_fn_c_try_link "$LINENO"; then :
11933 ac_cv_lib_gphoto2_gp_camera_new=yes
11934 else
11935 ac_cv_lib_gphoto2_gp_camera_new=no
11937 rm -f core conftest.err conftest.$ac_objext \
11938 conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_lib_save_LIBS
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11942 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11943 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11945 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11947 else
11948 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11951 else
11952 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11956 CPPFLAGS=$ac_save_CPPFLAGS
11957 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11958 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11960 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11961 if ${PKG_CONFIG+:} false; then :
11962 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
11965 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
11966 if ${GPHOTO2_PORT_LIBS:+false} :; then :
11967 if ${PKG_CONFIG+:} false; then :
11968 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
11971 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
11972 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
11973 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
11974 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
11975 ac_save_CPPFLAGS=$CPPFLAGS
11976 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
11977 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
11978 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
11980 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
11981 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
11982 $as_echo_n "(cached) " >&6
11983 else
11984 ac_check_lib_save_LIBS=$LIBS
11985 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
11986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11987 /* end confdefs.h. */
11989 /* Override any GCC internal prototype to avoid an error.
11990 Use char because int might match the return type of a GCC
11991 builtin and then its argument prototype would still apply. */
11992 #ifdef __cplusplus
11993 extern "C"
11994 #endif
11995 char gp_port_info_list_new ();
11997 main ()
11999 return gp_port_info_list_new ();
12001 return 0;
12003 _ACEOF
12004 if ac_fn_c_try_link "$LINENO"; then :
12005 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12006 else
12007 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12009 rm -f core conftest.err conftest.$ac_objext \
12010 conftest$ac_exeext conftest.$ac_ext
12011 LIBS=$ac_check_lib_save_LIBS
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12014 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12015 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12017 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12019 else
12020 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12023 else
12024 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12028 CPPFLAGS=$ac_save_CPPFLAGS
12029 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12030 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12033 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12034 case "x$with_gphoto" in
12035 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12036 xno) ;;
12037 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12038 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12039 esac
12042 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12043 case "x$with_gphoto" in
12044 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12045 xno) ;;
12046 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12047 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12048 esac
12053 if test "$ac_cv_header_resolv_h" = "yes"
12054 then
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12056 $as_echo_n "checking for resolver library... " >&6; }
12057 if ${ac_cv_have_resolv+:} false; then :
12058 $as_echo_n "(cached) " >&6
12059 else
12060 ac_save_LIBS="$LIBS"
12061 for lib in '' -lresolv
12063 LIBS="$lib $ac_save_LIBS"
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12066 #ifdef HAVE_NETINET_IN_H
12067 #include <netinet/in.h>
12068 #endif
12069 #include <resolv.h>
12071 main ()
12073 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12075 return 0;
12077 _ACEOF
12078 if ac_fn_c_try_link "$LINENO"; then :
12079 ac_cv_have_resolv=${lib:-"none required"}
12080 else
12081 ac_cv_have_resolv="not found"
12083 rm -f core conftest.err conftest.$ac_objext \
12084 conftest$ac_exeext conftest.$ac_ext
12085 test "x$ac_cv_have_resolv" = "xnot found" || break
12086 done
12087 LIBS="$ac_save_LIBS"
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12090 $as_echo "$ac_cv_have_resolv" >&6; }
12092 case "$ac_cv_have_resolv" in
12093 "not found") ;;
12094 "none required")
12096 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12099 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12101 RESOLV_LIBS=$ac_cv_have_resolv
12103 esac
12106 if test "x$with_cms" != "xno"
12107 then
12108 if ${LCMS2_CFLAGS:+false} :; then :
12109 if ${PKG_CONFIG+:} false; then :
12110 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12114 if ${LCMS2_LIBS:+false} :; then :
12115 if ${PKG_CONFIG+:} false; then :
12116 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12120 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12121 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12122 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12123 ac_save_CPPFLAGS=$CPPFLAGS
12124 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12125 for ac_header in lcms2.h
12126 do :
12127 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12128 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12129 cat >>confdefs.h <<_ACEOF
12130 #define HAVE_LCMS2_H 1
12131 _ACEOF
12135 done
12137 if test "$ac_cv_header_lcms2_h" = "yes"
12138 then
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12140 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12141 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12142 $as_echo_n "(cached) " >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12147 /* end confdefs.h. */
12149 /* Override any GCC internal prototype to avoid an error.
12150 Use char because int might match the return type of a GCC
12151 builtin and then its argument prototype would still apply. */
12152 #ifdef __cplusplus
12153 extern "C"
12154 #endif
12155 char cmsOpenProfileFromFile ();
12157 main ()
12159 return cmsOpenProfileFromFile ();
12161 return 0;
12163 _ACEOF
12164 if ac_fn_c_try_link "$LINENO"; then :
12165 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12166 else
12167 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12169 rm -f core conftest.err conftest.$ac_objext \
12170 conftest$ac_exeext conftest.$ac_ext
12171 LIBS=$ac_check_lib_save_LIBS
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12174 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12175 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12177 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12179 else
12180 LCMS2_LIBS=""
12183 else
12184 LCMS2_CFLAGS=""
12185 LCMS2_LIBS=""
12187 CPPFLAGS=$ac_save_CPPFLAGS
12188 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12189 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12192 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12193 case "x$with_cms" in
12194 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12195 xno) ;;
12196 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12197 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12198 esac
12202 if test "x$with_freetype" != "xno"
12203 then
12204 if ${FREETYPE_CFLAGS:+false} :; then :
12205 if ${PKG_CONFIG+:} false; then :
12206 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12209 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12210 if ${FREETYPE_LIBS:+false} :; then :
12211 if ${PKG_CONFIG+:} false; then :
12212 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12215 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12216 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12217 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12218 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12219 ac_save_CPPFLAGS=$CPPFLAGS
12220 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12221 for ac_header in ft2build.h
12222 do :
12223 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12224 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12225 cat >>confdefs.h <<_ACEOF
12226 #define HAVE_FT2BUILD_H 1
12227 _ACEOF
12231 done
12233 if test "$ac_cv_header_ft2build_h" = "yes"
12234 then
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12236 $as_echo_n "checking for -lfreetype... " >&6; }
12237 if ${ac_cv_lib_soname_freetype+:} false; then :
12238 $as_echo_n "(cached) " >&6
12239 else
12240 ac_check_soname_save_LIBS=$LIBS
12241 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12243 /* end confdefs.h. */
12245 /* Override any GCC internal prototype to avoid an error.
12246 Use char because int might match the return type of a GCC
12247 builtin and then its argument prototype would still apply. */
12248 #ifdef __cplusplus
12249 extern "C"
12250 #endif
12251 char FT_Init_FreeType ();
12253 main ()
12255 return FT_Init_FreeType ();
12257 return 0;
12259 _ACEOF
12260 if ac_fn_c_try_link "$LINENO"; then :
12261 case "$LIBEXT" in
12262 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12263 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'` ;;
12264 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12265 if ${ac_cv_lib_soname_freetype:+false} :; then :
12266 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12267 fi ;;
12268 esac
12270 rm -f core conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12272 LIBS=$ac_check_soname_save_LIBS
12274 if ${ac_cv_lib_soname_freetype:+false} :; then :
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12276 $as_echo "not found" >&6; }
12277 FREETYPE_LIBS=""
12278 else
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12280 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12282 cat >>confdefs.h <<_ACEOF
12283 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12284 _ACEOF
12287 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12289 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12290 #include FT_MODULE_H
12292 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12294 cat >>confdefs.h <<_ACEOF
12295 #define HAVE_FT_TRUETYPEENGINETYPE 1
12296 _ACEOF
12302 else
12303 FREETYPE_CFLAGS=""
12304 FREETYPE_LIBS=""
12306 CPPFLAGS=$ac_save_CPPFLAGS
12307 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12308 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12311 if test "x$ac_cv_lib_soname_freetype" = x; then :
12312 case "x$with_freetype" in
12313 xno) ;;
12314 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12315 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12316 esac
12317 enable_fonts=${enable_fonts:-no}
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12321 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12322 if ${ac_cv_c_ppdev+:} false; then :
12323 $as_echo_n "(cached) " >&6
12324 else
12325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12326 /* end confdefs.h. */
12327 #ifdef HAVE_SYS_IOCTL_H
12328 # include <sys/ioctl.h>
12329 #endif
12330 #include <linux/ppdev.h>
12332 main ()
12334 ioctl (1,PPCLAIM,0)
12336 return 0;
12338 _ACEOF
12339 if ac_fn_c_try_compile "$LINENO"; then :
12340 ac_cv_c_ppdev="yes"
12341 else
12342 ac_cv_c_ppdev="no"
12344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12347 $as_echo "$ac_cv_c_ppdev" >&6; }
12348 if test "$ac_cv_c_ppdev" = "yes"
12349 then
12351 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12355 ac_wine_check_funcs_save_LIBS="$LIBS"
12356 LIBS="$LIBS $PTHREAD_LIBS"
12357 for ac_func in \
12358 pthread_attr_get_np \
12359 pthread_getattr_np \
12360 pthread_getthreadid_np \
12361 pthread_get_stackaddr_np \
12362 pthread_get_stacksize_np
12363 do :
12364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12366 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12367 cat >>confdefs.h <<_ACEOF
12368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12369 _ACEOF
12372 done
12374 LIBS="$ac_wine_check_funcs_save_LIBS"
12376 if test "$ac_cv_header_zlib_h" = "yes"
12377 then
12378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12379 $as_echo_n "checking for inflate in -lz... " >&6; }
12380 if ${ac_cv_lib_z_inflate+:} false; then :
12381 $as_echo_n "(cached) " >&6
12382 else
12383 ac_check_lib_save_LIBS=$LIBS
12384 LIBS="-lz $LIBS"
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 /* Override any GCC internal prototype to avoid an error.
12389 Use char because int might match the return type of a GCC
12390 builtin and then its argument prototype would still apply. */
12391 #ifdef __cplusplus
12392 extern "C"
12393 #endif
12394 char inflate ();
12396 main ()
12398 return inflate ();
12400 return 0;
12402 _ACEOF
12403 if ac_fn_c_try_link "$LINENO"; then :
12404 ac_cv_lib_z_inflate=yes
12405 else
12406 ac_cv_lib_z_inflate=no
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 LIBS=$ac_check_lib_save_LIBS
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12413 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12414 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12416 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12418 Z_LIBS="-lz"
12423 if test "x$Z_LIBS" = "x"; then :
12424 case "x$with_zlib" in
12425 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12426 xno) ;;
12427 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12428 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12429 esac
12433 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12434 then
12435 if test "$ac_cv_header_gettext_po_h" = "yes"
12436 then
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12438 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12439 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12440 $as_echo_n "(cached) " >&6
12441 else
12442 ac_check_lib_save_LIBS=$LIBS
12443 LIBS="-lgettextpo $LIBS"
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12447 /* Override any GCC internal prototype to avoid an error.
12448 Use char because int might match the return type of a GCC
12449 builtin and then its argument prototype would still apply. */
12450 #ifdef __cplusplus
12451 extern "C"
12452 #endif
12453 char po_message_msgctxt ();
12455 main ()
12457 return po_message_msgctxt ();
12459 return 0;
12461 _ACEOF
12462 if ac_fn_c_try_link "$LINENO"; then :
12463 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12464 else
12465 ac_cv_lib_gettextpo_po_message_msgctxt=no
12467 rm -f core conftest.err conftest.$ac_objext \
12468 conftest$ac_exeext conftest.$ac_ext
12469 LIBS=$ac_check_lib_save_LIBS
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12472 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12473 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12475 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12477 GETTEXTPO_LIBS="-lgettextpo"
12482 if test "x$GETTEXTPO_LIBS" = "x"; then :
12483 case "x$with_gettextpo" in
12484 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12485 xno) ;;
12486 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12487 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12488 esac
12491 if test "$srcdir" != .; then :
12492 case "x$with_gettextpo" in
12493 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12494 xno) ;;
12495 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12496 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12497 esac
12502 if test "x$with_pulse" != "xno";
12503 then
12504 if ${PULSE_CFLAGS:+false} :; then :
12505 if ${PKG_CONFIG+:} false; then :
12506 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12510 if ${PULSE_LIBS:+false} :; then :
12511 if ${PKG_CONFIG+:} false; then :
12512 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12517 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12518 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12519 ac_save_CPPFLAGS=$CPPFLAGS
12520 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12521 for ac_header in pulse/pulseaudio.h
12522 do :
12523 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12524 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12525 cat >>confdefs.h <<_ACEOF
12526 #define HAVE_PULSE_PULSEAUDIO_H 1
12527 _ACEOF
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12529 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12530 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12531 $as_echo_n "(cached) " >&6
12532 else
12533 ac_check_lib_save_LIBS=$LIBS
12534 LIBS="-lpulse $PULSE_LIBS $LIBS"
12535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12536 /* end confdefs.h. */
12538 /* Override any GCC internal prototype to avoid an error.
12539 Use char because int might match the return type of a GCC
12540 builtin and then its argument prototype would still apply. */
12541 #ifdef __cplusplus
12542 extern "C"
12543 #endif
12544 char pa_stream_is_corked ();
12546 main ()
12548 return pa_stream_is_corked ();
12550 return 0;
12552 _ACEOF
12553 if ac_fn_c_try_link "$LINENO"; then :
12554 ac_cv_lib_pulse_pa_stream_is_corked=yes
12555 else
12556 ac_cv_lib_pulse_pa_stream_is_corked=no
12558 rm -f core conftest.err conftest.$ac_objext \
12559 conftest$ac_exeext conftest.$ac_ext
12560 LIBS=$ac_check_lib_save_LIBS
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12563 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12564 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12566 else
12567 PULSE_LIBS=""
12570 else
12571 PULSE_LIBS=""
12574 done
12576 CPPFLAGS=$ac_save_CPPFLAGS
12577 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12578 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12581 if test -z "$PULSE_LIBS"; then :
12582 case "x$with_pulse" in
12583 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12584 xno) ;;
12585 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12586 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12587 esac
12588 enable_winepulse_drv=${enable_winepulse_drv:-no}
12591 if test "x$with_gstreamer" != "xno"
12592 then
12593 if ${GSTREAMER_CFLAGS:+false} :; then :
12594 if ${PKG_CONFIG+:} false; then :
12595 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12599 if ${GSTREAMER_LIBS:+false} :; then :
12600 if ${PKG_CONFIG+:} false; then :
12601 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12606 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12607 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12608 ac_save_CPPFLAGS=$CPPFLAGS
12609 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12610 ac_gst_incl=""
12611 for i in $GSTREAMER_CFLAGS
12613 case "$i" in
12614 -I*) ac_gst_incl="$ac_gst_incl $i";;
12615 esac
12616 done
12617 GSTREAMER_CFLAGS=$ac_gst_incl
12618 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12619 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12620 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12622 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12624 /* end confdefs.h. */
12625 #include <gst/gst.h>
12627 main ()
12629 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12631 return 0;
12633 _ACEOF
12634 if ac_fn_c_try_compile "$LINENO"; then :
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12636 $as_echo "yes" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12638 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12639 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12640 $as_echo_n "(cached) " >&6
12641 else
12642 ac_check_lib_save_LIBS=$LIBS
12643 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12645 /* end confdefs.h. */
12647 /* Override any GCC internal prototype to avoid an error.
12648 Use char because int might match the return type of a GCC
12649 builtin and then its argument prototype would still apply. */
12650 #ifdef __cplusplus
12651 extern "C"
12652 #endif
12653 char gst_pad_new ();
12655 main ()
12657 return gst_pad_new ();
12659 return 0;
12661 _ACEOF
12662 if ac_fn_c_try_link "$LINENO"; then :
12663 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12664 else
12665 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12667 rm -f core conftest.err conftest.$ac_objext \
12668 conftest$ac_exeext conftest.$ac_ext
12669 LIBS=$ac_check_lib_save_LIBS
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12672 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12673 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12677 else
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679 $as_echo "no" >&6; }
12680 ac_glib2_broken=yes
12681 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12687 CPPFLAGS=$ac_save_CPPFLAGS
12688 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12689 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12692 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 :
12693 case "x$with_gstreamer" in
12694 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12695 xno) ;;
12696 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12697 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12698 esac
12701 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12703 ALSA_LIBS=""
12705 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12706 then
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12708 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12709 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12710 $as_echo_n "(cached) " >&6
12711 else
12712 ac_check_lib_save_LIBS=$LIBS
12713 LIBS="-lasound $LIBS"
12714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12715 /* end confdefs.h. */
12717 /* Override any GCC internal prototype to avoid an error.
12718 Use char because int might match the return type of a GCC
12719 builtin and then its argument prototype would still apply. */
12720 #ifdef __cplusplus
12721 extern "C"
12722 #endif
12723 char snd_pcm_hw_params_get_access_mask ();
12725 main ()
12727 return snd_pcm_hw_params_get_access_mask ();
12729 return 0;
12731 _ACEOF
12732 if ac_fn_c_try_link "$LINENO"; then :
12733 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12734 else
12735 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12737 rm -f core conftest.err conftest.$ac_objext \
12738 conftest$ac_exeext conftest.$ac_ext
12739 LIBS=$ac_check_lib_save_LIBS
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12742 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12743 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745 /* end confdefs.h. */
12746 #ifdef HAVE_ALSA_ASOUNDLIB_H
12747 #include <alsa/asoundlib.h>
12748 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12749 #include <sys/asoundlib.h>
12750 #endif
12752 main ()
12754 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12756 return 0;
12758 _ACEOF
12759 if ac_fn_c_try_compile "$LINENO"; then :
12760 ALSA_LIBS="-lasound"
12762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12766 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12768 if test "x$with_oss" != xno
12769 then
12770 ac_save_CPPFLAGS="$CPPFLAGS"
12771 if test -f /etc/oss.conf
12772 then
12773 . /etc/oss.conf
12775 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12776 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12777 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12778 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12779 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12781 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12783 cat >>confdefs.h <<_ACEOF
12784 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12785 _ACEOF
12787 OSS4_CFLAGS="$ac_oss_incl"
12794 CPPFLAGS="$ac_save_CPPFLAGS"
12796 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
12797 case "x$with_oss" in
12798 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
12799 xno) ;;
12800 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
12801 This is an error since --with-oss was requested." "$LINENO" 5 ;;
12802 esac
12803 enable_wineoss_drv=${enable_wineoss_drv:-no}
12806 if test "x$with_capi" != "xno"
12807 then
12808 if ${CAPI20_CFLAGS:+false} :; then :
12809 if ${PKG_CONFIG+:} false; then :
12810 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12814 if ${CAPI20_LIBS:+false} :; then :
12815 if ${PKG_CONFIG+:} false; then :
12816 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12821 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12822 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12823 ac_save_CPPFLAGS=$CPPFLAGS
12824 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12825 for ac_header in capi20.h linux/capi.h
12826 do :
12827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12828 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12830 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12831 cat >>confdefs.h <<_ACEOF
12832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12833 _ACEOF
12837 done
12839 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12840 then
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12842 $as_echo_n "checking for -lcapi20... " >&6; }
12843 if ${ac_cv_lib_soname_capi20+:} false; then :
12844 $as_echo_n "(cached) " >&6
12845 else
12846 ac_check_soname_save_LIBS=$LIBS
12847 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849 /* end confdefs.h. */
12851 /* Override any GCC internal prototype to avoid an error.
12852 Use char because int might match the return type of a GCC
12853 builtin and then its argument prototype would still apply. */
12854 #ifdef __cplusplus
12855 extern "C"
12856 #endif
12857 char capi20_register ();
12859 main ()
12861 return capi20_register ();
12863 return 0;
12865 _ACEOF
12866 if ac_fn_c_try_link "$LINENO"; then :
12867 case "$LIBEXT" in
12868 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12869 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'` ;;
12870 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12871 if ${ac_cv_lib_soname_capi20:+false} :; then :
12872 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12873 fi ;;
12874 esac
12876 rm -f core conftest.err conftest.$ac_objext \
12877 conftest$ac_exeext conftest.$ac_ext
12878 LIBS=$ac_check_soname_save_LIBS
12880 if ${ac_cv_lib_soname_capi20:+false} :; then :
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12882 $as_echo "not found" >&6; }
12884 else
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12886 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12888 cat >>confdefs.h <<_ACEOF
12889 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12890 _ACEOF
12895 CPPFLAGS=$ac_save_CPPFLAGS
12896 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12897 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12900 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12901 case "x$with_capi" in
12902 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12903 xno) ;;
12904 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12905 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12906 esac
12910 CUPS_CFLAGS=""
12912 if test "x$with_cups" != "xno"
12913 then
12914 ac_save_CPPFLAGS="$CPPFLAGS"
12915 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12916 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12917 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12918 for ac_header in cups/cups.h
12919 do :
12920 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12921 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12922 cat >>confdefs.h <<_ACEOF
12923 #define HAVE_CUPS_CUPS_H 1
12924 _ACEOF
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12926 $as_echo_n "checking for -lcups... " >&6; }
12927 if ${ac_cv_lib_soname_cups+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_soname_save_LIBS=$LIBS
12931 LIBS="-lcups $ac_cups_libs $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char cupsGetDefault ();
12943 main ()
12945 return cupsGetDefault ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 case "$LIBEXT" in
12952 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12953 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'` ;;
12954 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12955 if ${ac_cv_lib_soname_cups:+false} :; then :
12956 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12957 fi ;;
12958 esac
12960 rm -f core conftest.err conftest.$ac_objext \
12961 conftest$ac_exeext conftest.$ac_ext
12962 LIBS=$ac_check_soname_save_LIBS
12964 if ${ac_cv_lib_soname_cups:+false} :; then :
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12966 $as_echo "not found" >&6; }
12968 else
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12970 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12972 cat >>confdefs.h <<_ACEOF
12973 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12974 _ACEOF
12976 CUPS_CFLAGS="$ac_cups_cflags"
12980 done
12982 CPPFLAGS="$ac_save_CPPFLAGS"
12984 if test "x$ac_cv_lib_soname_cups" = "x"; then :
12985 case "x$with_cups" in
12986 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
12987 xno) ;;
12988 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
12989 This is an error since --with-cups was requested." "$LINENO" 5 ;;
12990 esac
12994 if test "x$with_fontconfig" != "xno"
12995 then
12996 if ${FONTCONFIG_CFLAGS:+false} :; then :
12997 if ${PKG_CONFIG+:} false; then :
12998 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13001 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13002 if ${FONTCONFIG_LIBS:+false} :; then :
13003 if ${PKG_CONFIG+:} false; then :
13004 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13007 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13009 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13010 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13011 ac_save_CPPFLAGS=$CPPFLAGS
13012 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13013 for ac_header in fontconfig/fontconfig.h
13014 do :
13015 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13016 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13017 cat >>confdefs.h <<_ACEOF
13018 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13019 _ACEOF
13023 done
13025 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13026 then
13027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13028 $as_echo_n "checking for -lfontconfig... " >&6; }
13029 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13030 $as_echo_n "(cached) " >&6
13031 else
13032 ac_check_soname_save_LIBS=$LIBS
13033 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13035 /* end confdefs.h. */
13037 /* Override any GCC internal prototype to avoid an error.
13038 Use char because int might match the return type of a GCC
13039 builtin and then its argument prototype would still apply. */
13040 #ifdef __cplusplus
13041 extern "C"
13042 #endif
13043 char FcInit ();
13045 main ()
13047 return FcInit ();
13049 return 0;
13051 _ACEOF
13052 if ac_fn_c_try_link "$LINENO"; then :
13053 case "$LIBEXT" in
13054 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13055 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'` ;;
13056 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13057 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13058 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13059 fi ;;
13060 esac
13062 rm -f core conftest.err conftest.$ac_objext \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_soname_save_LIBS
13066 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13068 $as_echo "not found" >&6; }
13069 FONTCONFIG_CFLAGS=""
13070 else
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13072 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13074 cat >>confdefs.h <<_ACEOF
13075 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13076 _ACEOF
13080 else
13081 FONTCONFIG_CFLAGS=""
13083 CPPFLAGS=$ac_save_CPPFLAGS
13084 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13085 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13088 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13089 case "x$with_fontconfig" in
13090 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13091 xno) ;;
13092 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13093 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13094 esac
13098 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13099 then
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13101 $as_echo_n "checking for -lgsm... " >&6; }
13102 if ${ac_cv_lib_soname_gsm+:} false; then :
13103 $as_echo_n "(cached) " >&6
13104 else
13105 ac_check_soname_save_LIBS=$LIBS
13106 LIBS="-lgsm $LIBS"
13107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13108 /* end confdefs.h. */
13110 /* Override any GCC internal prototype to avoid an error.
13111 Use char because int might match the return type of a GCC
13112 builtin and then its argument prototype would still apply. */
13113 #ifdef __cplusplus
13114 extern "C"
13115 #endif
13116 char gsm_create ();
13118 main ()
13120 return gsm_create ();
13122 return 0;
13124 _ACEOF
13125 if ac_fn_c_try_link "$LINENO"; then :
13126 case "$LIBEXT" in
13127 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13128 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'` ;;
13129 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13130 if ${ac_cv_lib_soname_gsm:+false} :; then :
13131 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13132 fi ;;
13133 esac
13135 rm -f core conftest.err conftest.$ac_objext \
13136 conftest$ac_exeext conftest.$ac_ext
13137 LIBS=$ac_check_soname_save_LIBS
13139 if ${ac_cv_lib_soname_gsm:+false} :; then :
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13141 $as_echo "not found" >&6; }
13143 else
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13145 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13147 cat >>confdefs.h <<_ACEOF
13148 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13149 _ACEOF
13154 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13155 case "x$with_gsm" in
13156 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13157 xno) ;;
13158 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13159 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13160 esac
13164 if test "x$with_jpeg" != "xno"
13165 then
13166 if ${JPEG_CFLAGS:+false} :; then :
13167 if ${PKG_CONFIG+:} false; then :
13168 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13172 if ${JPEG_LIBS:+false} :; then :
13173 if ${PKG_CONFIG+:} false; then :
13174 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13179 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13180 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13181 ac_save_CPPFLAGS=$CPPFLAGS
13182 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13183 for ac_header in jpeglib.h
13184 do :
13185 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13186 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13187 cat >>confdefs.h <<_ACEOF
13188 #define HAVE_JPEGLIB_H 1
13189 _ACEOF
13193 done
13195 if test "$ac_cv_header_jpeglib_h" = "yes"
13196 then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13198 $as_echo_n "checking for -ljpeg... " >&6; }
13199 if ${ac_cv_lib_soname_jpeg+:} false; then :
13200 $as_echo_n "(cached) " >&6
13201 else
13202 ac_check_soname_save_LIBS=$LIBS
13203 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13210 #ifdef __cplusplus
13211 extern "C"
13212 #endif
13213 char jpeg_start_decompress ();
13215 main ()
13217 return jpeg_start_decompress ();
13219 return 0;
13221 _ACEOF
13222 if ac_fn_c_try_link "$LINENO"; then :
13223 case "$LIBEXT" in
13224 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13225 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'` ;;
13226 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13227 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13228 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13229 fi ;;
13230 esac
13232 rm -f core conftest.err conftest.$ac_objext \
13233 conftest$ac_exeext conftest.$ac_ext
13234 LIBS=$ac_check_soname_save_LIBS
13236 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13238 $as_echo "not found" >&6; }
13239 JPEG_CFLAGS=""
13240 else
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13242 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13244 cat >>confdefs.h <<_ACEOF
13245 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13246 _ACEOF
13250 else
13251 JPEG_CFLAGS=""
13253 CPPFLAGS=$ac_save_CPPFLAGS
13254 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13255 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13258 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13259 case "x$with_jpeg" in
13260 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13261 xno) ;;
13262 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13263 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13264 esac
13268 if test "x$with_png" != "xno"
13269 then
13270 if ${PNG_CFLAGS:+false} :; then :
13271 if ${PKG_CONFIG+:} false; then :
13272 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13275 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13276 if ${PNG_LIBS:+false} :; then :
13277 if ${PKG_CONFIG+:} false; then :
13278 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13281 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13283 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13284 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13285 ac_save_CPPFLAGS=$CPPFLAGS
13286 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13287 for ac_header in png.h
13288 do :
13289 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13290 if test "x$ac_cv_header_png_h" = xyes; then :
13291 cat >>confdefs.h <<_ACEOF
13292 #define HAVE_PNG_H 1
13293 _ACEOF
13297 done
13299 if test "$ac_cv_header_png_h" = "yes"
13300 then
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13302 $as_echo_n "checking for -lpng... " >&6; }
13303 if ${ac_cv_lib_soname_png+:} false; then :
13304 $as_echo_n "(cached) " >&6
13305 else
13306 ac_check_soname_save_LIBS=$LIBS
13307 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h. */
13311 /* Override any GCC internal prototype to avoid an error.
13312 Use char because int might match the return type of a GCC
13313 builtin and then its argument prototype would still apply. */
13314 #ifdef __cplusplus
13315 extern "C"
13316 #endif
13317 char png_create_read_struct ();
13319 main ()
13321 return png_create_read_struct ();
13323 return 0;
13325 _ACEOF
13326 if ac_fn_c_try_link "$LINENO"; then :
13327 case "$LIBEXT" in
13328 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13329 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'` ;;
13330 *) 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'`
13331 if ${ac_cv_lib_soname_png:+false} :; then :
13332 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13333 fi ;;
13334 esac
13336 rm -f core conftest.err conftest.$ac_objext \
13337 conftest$ac_exeext conftest.$ac_ext
13338 LIBS=$ac_check_soname_save_LIBS
13340 if ${ac_cv_lib_soname_png:+false} :; then :
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13342 $as_echo "not found" >&6; }
13343 PNG_CFLAGS=""
13344 else
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13346 $as_echo "$ac_cv_lib_soname_png" >&6; }
13348 cat >>confdefs.h <<_ACEOF
13349 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13350 _ACEOF
13352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13353 /* end confdefs.h. */
13354 #include <png.h>
13356 main ()
13358 typeof(png_set_expand_gray_1_2_4_to_8) *p
13360 return 0;
13362 _ACEOF
13363 if ac_fn_c_try_compile "$LINENO"; then :
13365 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13370 else
13371 PNG_CFLAGS=""
13373 CPPFLAGS=$ac_save_CPPFLAGS
13374 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13375 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13378 if test "x$ac_cv_lib_soname_png" = "x"; then :
13379 case "x$with_png" in
13380 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13381 xno) ;;
13382 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13383 This is an error since --with-png was requested." "$LINENO" 5 ;;
13384 esac
13388 if test "x$with_tiff" != "xno"
13389 then
13390 if ${TIFF_CFLAGS:+false} :; then :
13391 if ${PKG_CONFIG+:} false; then :
13392 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13396 if ${TIFF_LIBS:+false} :; then :
13397 if ${PKG_CONFIG+:} false; then :
13398 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13403 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13404 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13405 ac_save_CPPFLAGS=$CPPFLAGS
13406 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13407 for ac_header in tiffio.h
13408 do :
13409 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13410 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13411 cat >>confdefs.h <<_ACEOF
13412 #define HAVE_TIFFIO_H 1
13413 _ACEOF
13417 done
13419 if test "$ac_cv_header_tiffio_h" = "yes"
13420 then
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13422 $as_echo_n "checking for -ltiff... " >&6; }
13423 if ${ac_cv_lib_soname_tiff+:} false; then :
13424 $as_echo_n "(cached) " >&6
13425 else
13426 ac_check_soname_save_LIBS=$LIBS
13427 LIBS="-ltiff $TIFF_LIBS $LIBS"
13428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13429 /* end confdefs.h. */
13431 /* Override any GCC internal prototype to avoid an error.
13432 Use char because int might match the return type of a GCC
13433 builtin and then its argument prototype would still apply. */
13434 #ifdef __cplusplus
13435 extern "C"
13436 #endif
13437 char TIFFClientOpen ();
13439 main ()
13441 return TIFFClientOpen ();
13443 return 0;
13445 _ACEOF
13446 if ac_fn_c_try_link "$LINENO"; then :
13447 case "$LIBEXT" in
13448 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13449 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'` ;;
13450 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13451 if ${ac_cv_lib_soname_tiff:+false} :; then :
13452 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13453 fi ;;
13454 esac
13456 rm -f core conftest.err conftest.$ac_objext \
13457 conftest$ac_exeext conftest.$ac_ext
13458 LIBS=$ac_check_soname_save_LIBS
13460 if ${ac_cv_lib_soname_tiff:+false} :; then :
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13462 $as_echo "not found" >&6; }
13464 else
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13466 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13468 cat >>confdefs.h <<_ACEOF
13469 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13470 _ACEOF
13475 CPPFLAGS=$ac_save_CPPFLAGS
13476 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13477 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13480 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13481 case "x$with_tiff" in
13482 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13483 xno) ;;
13484 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13485 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13486 esac
13490 if test "x$with_mpg123" != "xno"
13491 then
13492 if ${MPG123_CFLAGS:+false} :; then :
13493 if ${PKG_CONFIG+:} false; then :
13494 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13498 if ${MPG123_LIBS:+false} :; then :
13499 if ${PKG_CONFIG+:} false; then :
13500 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13504 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13505 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13506 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13507 ac_save_CPPFLAGS=$CPPFLAGS
13508 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13509 for ac_header in mpg123.h
13510 do :
13511 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13512 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13513 cat >>confdefs.h <<_ACEOF
13514 #define HAVE_MPG123_H 1
13515 _ACEOF
13519 done
13521 if test "$ac_cv_header_mpg123_h" = "yes"
13522 then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13524 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13525 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13526 $as_echo_n "(cached) " >&6
13527 else
13528 ac_check_lib_save_LIBS=$LIBS
13529 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13531 /* end confdefs.h. */
13533 /* Override any GCC internal prototype to avoid an error.
13534 Use char because int might match the return type of a GCC
13535 builtin and then its argument prototype would still apply. */
13536 #ifdef __cplusplus
13537 extern "C"
13538 #endif
13539 char mpg123_feed ();
13541 main ()
13543 return mpg123_feed ();
13545 return 0;
13547 _ACEOF
13548 if ac_fn_c_try_link "$LINENO"; then :
13549 ac_cv_lib_mpg123_mpg123_feed=yes
13550 else
13551 ac_cv_lib_mpg123_mpg123_feed=no
13553 rm -f core conftest.err conftest.$ac_objext \
13554 conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_lib_save_LIBS
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13558 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13559 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13561 else
13562 MPG123_LIBS=""
13565 else
13566 MPG123_CFLAGS=""
13567 MPG123_LIBS=""
13569 CPPFLAGS=$ac_save_CPPFLAGS
13570 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13571 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13574 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13575 case "x$with_mpg123" in
13576 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13577 xno) ;;
13578 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13579 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13580 esac
13581 enable_winemp3_acm=${enable_winemp3_acm:-no}
13584 if test "$ac_cv_header_AL_al_h" = "yes"
13585 then
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13587 $as_echo_n "checking for -lopenal... " >&6; }
13588 if ${ac_cv_lib_soname_openal+:} false; then :
13589 $as_echo_n "(cached) " >&6
13590 else
13591 ac_check_soname_save_LIBS=$LIBS
13592 LIBS="-lopenal $LIBS"
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13596 /* Override any GCC internal prototype to avoid an error.
13597 Use char because int might match the return type of a GCC
13598 builtin and then its argument prototype would still apply. */
13599 #ifdef __cplusplus
13600 extern "C"
13601 #endif
13602 char alGetSource3i ();
13604 main ()
13606 return alGetSource3i ();
13608 return 0;
13610 _ACEOF
13611 if ac_fn_c_try_link "$LINENO"; then :
13612 case "$LIBEXT" in
13613 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13614 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'` ;;
13615 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13616 if ${ac_cv_lib_soname_openal:+false} :; then :
13617 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13618 fi ;;
13619 esac
13621 rm -f core conftest.err conftest.$ac_objext \
13622 conftest$ac_exeext conftest.$ac_ext
13623 LIBS=$ac_check_soname_save_LIBS
13625 if ${ac_cv_lib_soname_openal:+false} :; then :
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13627 $as_echo "not found" >&6; }
13629 else
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13631 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13633 cat >>confdefs.h <<_ACEOF
13634 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13635 _ACEOF
13637 OPENAL_LIBS="-lopenal"
13639 ac_cv_lib_openal=yes
13641 cat >>confdefs.h <<_ACEOF
13642 #define HAVE_OPENAL 1
13643 _ACEOF
13647 if test "x$ac_cv_lib_openal" != xyes; then :
13648 case "x$with_openal" in
13649 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13650 xno) ;;
13651 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13652 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13653 esac
13654 enable_openal32=${enable_openal32:-no}
13657 if test "x$ac_cv_lib_openal" = xyes
13658 then
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13660 $as_echo_n "checking for openal-soft... " >&6; }
13661 if ${ac_cv_have_openalsoft+:} false; then :
13662 $as_echo_n "(cached) " >&6
13663 else
13664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13665 /* end confdefs.h. */
13666 #include <AL/al.h>
13667 #include <AL/alc.h>
13668 #include <AL/alext.h>
13669 LPALCRENDERSAMPLESSOFT x;
13671 main ()
13675 return 0;
13677 _ACEOF
13678 if ac_fn_c_try_compile "$LINENO"; then :
13679 ac_cv_have_openalsoft=yes
13680 else
13681 ac_cv_have_openalsoft=no
13683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13686 $as_echo "$ac_cv_have_openalsoft" >&6; }
13688 if test "x$ac_cv_have_openalsoft" != xyes
13689 then
13690 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13691 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13692 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13693 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13694 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13695 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13696 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13697 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13698 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13699 enable_xapofx1_1=${enable_xapofx1_1:-no}
13700 enable_xapofx1_2=${enable_xapofx1_2:-no}
13701 enable_xapofx1_3=${enable_xapofx1_3:-no}
13702 enable_xapofx1_4=${enable_xapofx1_4:-no}
13703 enable_xapofx1_5=${enable_xapofx1_5:-no}
13704 enable_xaudio2_0=${enable_xaudio2_0:-no}
13705 enable_xaudio2_1=${enable_xaudio2_1:-no}
13706 enable_xaudio2_2=${enable_xaudio2_2:-no}
13707 enable_xaudio2_3=${enable_xaudio2_3:-no}
13708 enable_xaudio2_4=${enable_xaudio2_4:-no}
13709 enable_xaudio2_5=${enable_xaudio2_5:-no}
13710 enable_xaudio2_6=${enable_xaudio2_6:-no}
13711 enable_xaudio2_7=${enable_xaudio2_7:-no}
13712 enable_xaudio2_8=${enable_xaudio2_8:-no}
13713 enable_xaudio2_9=${enable_xaudio2_9:-no}
13716 if test "$ac_cv_header_kstat_h" = "yes"
13717 then
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13719 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13720 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13721 $as_echo_n "(cached) " >&6
13722 else
13723 ac_check_lib_save_LIBS=$LIBS
13724 LIBS="-lkstat $LIBS"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13728 /* Override any GCC internal prototype to avoid an error.
13729 Use char because int might match the return type of a GCC
13730 builtin and then its argument prototype would still apply. */
13731 #ifdef __cplusplus
13732 extern "C"
13733 #endif
13734 char kstat_open ();
13736 main ()
13738 return kstat_open ();
13740 return 0;
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"; then :
13744 ac_cv_lib_kstat_kstat_open=yes
13745 else
13746 ac_cv_lib_kstat_kstat_open=no
13748 rm -f core conftest.err conftest.$ac_objext \
13749 conftest$ac_exeext conftest.$ac_ext
13750 LIBS=$ac_check_lib_save_LIBS
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13753 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13754 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13756 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13758 KSTAT_LIBS="-lkstat"
13764 if test "$ac_cv_header_libprocstat_h" = "yes"
13765 then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13767 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13768 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 ac_check_lib_save_LIBS=$LIBS
13772 LIBS="-lprocstat $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 procstat_open_sysctl ();
13784 main ()
13786 return procstat_open_sysctl ();
13788 return 0;
13790 _ACEOF
13791 if ac_fn_c_try_link "$LINENO"; then :
13792 ac_cv_lib_procstat_procstat_open_sysctl=yes
13793 else
13794 ac_cv_lib_procstat_procstat_open_sysctl=no
13796 rm -f core conftest.err conftest.$ac_objext \
13797 conftest$ac_exeext conftest.$ac_ext
13798 LIBS=$ac_check_lib_save_LIBS
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13801 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13802 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13804 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13806 PROCSTAT_LIBS="-lprocstat"
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13813 $as_echo_n "checking for -lodbc... " >&6; }
13814 if ${ac_cv_lib_soname_odbc+:} false; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 ac_check_soname_save_LIBS=$LIBS
13818 LIBS="-lodbc $LIBS"
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13822 /* Override any GCC internal prototype to avoid an error.
13823 Use char because int might match the return type of a GCC
13824 builtin and then its argument prototype would still apply. */
13825 #ifdef __cplusplus
13826 extern "C"
13827 #endif
13828 char SQLConnect ();
13830 main ()
13832 return SQLConnect ();
13834 return 0;
13836 _ACEOF
13837 if ac_fn_c_try_link "$LINENO"; then :
13838 case "$LIBEXT" in
13839 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13840 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'` ;;
13841 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13842 if ${ac_cv_lib_soname_odbc:+false} :; then :
13843 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13844 fi ;;
13845 esac
13847 rm -f core conftest.err conftest.$ac_objext \
13848 conftest$ac_exeext conftest.$ac_ext
13849 LIBS=$ac_check_soname_save_LIBS
13851 if ${ac_cv_lib_soname_odbc:+false} :; then :
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13853 $as_echo "not found" >&6; }
13854 cat >>confdefs.h <<_ACEOF
13855 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13856 _ACEOF
13858 else
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13860 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13862 cat >>confdefs.h <<_ACEOF
13863 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13864 _ACEOF
13869 if test "x$with_netapi" != "xno"
13870 then
13871 if ${NETAPI_CFLAGS:+false} :; then :
13872 if ${PKG_CONFIG+:} false; then :
13873 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
13877 if ${NETAPI_LIBS:+false} :; then :
13878 if ${PKG_CONFIG+:} false; then :
13879 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
13884 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
13885 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
13886 ac_save_CPPFLAGS=$CPPFLAGS
13887 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13889 $as_echo_n "checking for -lnetapi... " >&6; }
13890 if ${ac_cv_lib_soname_netapi+:} false; then :
13891 $as_echo_n "(cached) " >&6
13892 else
13893 ac_check_soname_save_LIBS=$LIBS
13894 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
13895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13896 /* end confdefs.h. */
13898 /* Override any GCC internal prototype to avoid an error.
13899 Use char because int might match the return type of a GCC
13900 builtin and then its argument prototype would still apply. */
13901 #ifdef __cplusplus
13902 extern "C"
13903 #endif
13904 char libnetapi_init ();
13906 main ()
13908 return libnetapi_init ();
13910 return 0;
13912 _ACEOF
13913 if ac_fn_c_try_link "$LINENO"; then :
13914 case "$LIBEXT" in
13915 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13916 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'` ;;
13917 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13918 if ${ac_cv_lib_soname_netapi:+false} :; then :
13919 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13920 fi ;;
13921 esac
13923 rm -f core conftest.err conftest.$ac_objext \
13924 conftest$ac_exeext conftest.$ac_ext
13925 LIBS=$ac_check_soname_save_LIBS
13927 if ${ac_cv_lib_soname_netapi:+false} :; then :
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13929 $as_echo "not found" >&6; }
13930 cat >>confdefs.h <<_ACEOF
13931 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13932 _ACEOF
13934 else
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13936 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13938 cat >>confdefs.h <<_ACEOF
13939 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13940 _ACEOF
13944 CPPFLAGS=$ac_save_CPPFLAGS
13945 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13946 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13950 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13951 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13952 then
13953 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13957 EXTRACFLAGS=""
13959 if test "x${GCC}" = "xyes"
13960 then
13961 EXTRACFLAGS="-Wall -pipe"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13964 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13965 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 if test "$cross_compiling" = yes; then :
13969 ac_cv_c_gcc_strength_bug="no"
13970 else
13971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972 /* end confdefs.h. */
13973 int L[4] = {0,1,2,3};
13975 main ()
13977 static int Array[3];
13978 unsigned int B = 3;
13979 int i;
13980 for(i=0; i<B; i++) Array[i] = i - 3;
13981 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13982 L[i] = 4;
13983 return (Array[1] != -2 || L[2] != 3)
13985 return 0;
13987 _ACEOF
13988 if ac_fn_c_try_run "$LINENO"; then :
13989 ac_cv_c_gcc_strength_bug="no"
13990 else
13991 ac_cv_c_gcc_strength_bug="yes"
13993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13994 conftest.$ac_objext conftest.beam conftest.$ac_ext
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13999 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14000 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14001 then
14002 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14006 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14007 if ${ac_cv_cflags__fno_builtin+:} false; then :
14008 $as_echo_n "(cached) " >&6
14009 else
14010 ac_wine_try_cflags_saved=$CFLAGS
14011 CFLAGS="$CFLAGS -fno-builtin"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 int main(int argc, char **argv) { return 0; }
14015 _ACEOF
14016 if ac_fn_c_try_link "$LINENO"; then :
14017 ac_cv_cflags__fno_builtin=yes
14018 else
14019 ac_cv_cflags__fno_builtin=no
14021 rm -f core conftest.err conftest.$ac_objext \
14022 conftest$ac_exeext conftest.$ac_ext
14023 CFLAGS=$ac_wine_try_cflags_saved
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14026 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14027 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14028 BUILTINFLAG="-fno-builtin"
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14032 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14033 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14034 $as_echo_n "(cached) " >&6
14035 else
14036 ac_wine_try_cflags_saved=$CFLAGS
14037 CFLAGS="$CFLAGS -fno-strict-aliasing"
14038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14039 /* end confdefs.h. */
14040 int main(int argc, char **argv) { return 0; }
14041 _ACEOF
14042 if ac_fn_c_try_link "$LINENO"; then :
14043 ac_cv_cflags__fno_strict_aliasing=yes
14044 else
14045 ac_cv_cflags__fno_strict_aliasing=no
14047 rm -f core conftest.err conftest.$ac_objext \
14048 conftest$ac_exeext conftest.$ac_ext
14049 CFLAGS=$ac_wine_try_cflags_saved
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14052 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14053 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14054 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14057 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14058 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14059 $as_echo_n "(cached) " >&6
14060 else
14061 ac_wine_try_cflags_saved=$CFLAGS
14062 CFLAGS="$CFLAGS -fexcess-precision=standard"
14063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14064 /* end confdefs.h. */
14065 int main(int argc, char **argv) { return 0; }
14066 _ACEOF
14067 if ac_fn_c_try_link "$LINENO"; then :
14068 ac_cv_cflags__fexcess_precision_standard=yes
14069 else
14070 ac_cv_cflags__fexcess_precision_standard=no
14072 rm -f core conftest.err conftest.$ac_objext \
14073 conftest$ac_exeext conftest.$ac_ext
14074 CFLAGS=$ac_wine_try_cflags_saved
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14077 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14078 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14079 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14082 saved_CFLAGS=$CFLAGS
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14084 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14085 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14086 $as_echo_n "(cached) " >&6
14087 else
14088 ac_wine_try_cflags_saved=$CFLAGS
14089 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14091 /* end confdefs.h. */
14092 int main(int argc, char **argv) { return 0; }
14093 _ACEOF
14094 if ac_fn_c_try_link "$LINENO"; then :
14095 ac_cv_cflags__Werror_unknown_warning_option=yes
14096 else
14097 ac_cv_cflags__Werror_unknown_warning_option=no
14099 rm -f core conftest.err conftest.$ac_objext \
14100 conftest$ac_exeext conftest.$ac_ext
14101 CFLAGS=$ac_wine_try_cflags_saved
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14104 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14105 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14106 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14109 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14110 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14111 $as_echo_n "(cached) " >&6
14112 else
14113 ac_wine_try_cflags_saved=$CFLAGS
14114 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14116 /* end confdefs.h. */
14117 int main(int argc, char **argv) { return 0; }
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"; then :
14120 ac_cv_cflags__Wdeclaration_after_statement=yes
14121 else
14122 ac_cv_cflags__Wdeclaration_after_statement=no
14124 rm -f core conftest.err conftest.$ac_objext \
14125 conftest$ac_exeext conftest.$ac_ext
14126 CFLAGS=$ac_wine_try_cflags_saved
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14129 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14130 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14131 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14134 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14135 if ${ac_cv_cflags__Wempty_body+:} false; then :
14136 $as_echo_n "(cached) " >&6
14137 else
14138 ac_wine_try_cflags_saved=$CFLAGS
14139 CFLAGS="$CFLAGS -Wempty-body"
14140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14141 /* end confdefs.h. */
14142 int main(int argc, char **argv) { return 0; }
14143 _ACEOF
14144 if ac_fn_c_try_link "$LINENO"; then :
14145 ac_cv_cflags__Wempty_body=yes
14146 else
14147 ac_cv_cflags__Wempty_body=no
14149 rm -f core conftest.err conftest.$ac_objext \
14150 conftest$ac_exeext conftest.$ac_ext
14151 CFLAGS=$ac_wine_try_cflags_saved
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14154 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14155 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14156 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14159 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14160 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14161 $as_echo_n "(cached) " >&6
14162 else
14163 ac_wine_try_cflags_saved=$CFLAGS
14164 CFLAGS="$CFLAGS -Wignored-qualifiers"
14165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14167 int main(int argc, char **argv) { return 0; }
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"; then :
14170 ac_cv_cflags__Wignored_qualifiers=yes
14171 else
14172 ac_cv_cflags__Wignored_qualifiers=no
14174 rm -f core conftest.err conftest.$ac_objext \
14175 conftest$ac_exeext conftest.$ac_ext
14176 CFLAGS=$ac_wine_try_cflags_saved
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14179 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14180 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14181 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14184 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14185 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14186 $as_echo_n "(cached) " >&6
14187 else
14188 ac_wine_try_cflags_saved=$CFLAGS
14189 CFLAGS="$CFLAGS -Wshift-overflow=2"
14190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192 int main(int argc, char **argv) { return 0; }
14193 _ACEOF
14194 if ac_fn_c_try_link "$LINENO"; then :
14195 ac_cv_cflags__Wshift_overflow_2=yes
14196 else
14197 ac_cv_cflags__Wshift_overflow_2=no
14199 rm -f core conftest.err conftest.$ac_objext \
14200 conftest$ac_exeext conftest.$ac_ext
14201 CFLAGS=$ac_wine_try_cflags_saved
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14204 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14205 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14206 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14209 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14210 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14211 $as_echo_n "(cached) " >&6
14212 else
14213 ac_wine_try_cflags_saved=$CFLAGS
14214 CFLAGS="$CFLAGS -Wstrict-prototypes"
14215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14216 /* end confdefs.h. */
14217 int main(int argc, char **argv) { return 0; }
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"; then :
14220 ac_cv_cflags__Wstrict_prototypes=yes
14221 else
14222 ac_cv_cflags__Wstrict_prototypes=no
14224 rm -f core conftest.err conftest.$ac_objext \
14225 conftest$ac_exeext conftest.$ac_ext
14226 CFLAGS=$ac_wine_try_cflags_saved
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14229 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14230 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14231 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14234 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14235 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14236 $as_echo_n "(cached) " >&6
14237 else
14238 ac_wine_try_cflags_saved=$CFLAGS
14239 CFLAGS="$CFLAGS -Wtype-limits"
14240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14242 int main(int argc, char **argv) { return 0; }
14243 _ACEOF
14244 if ac_fn_c_try_link "$LINENO"; then :
14245 ac_cv_cflags__Wtype_limits=yes
14246 else
14247 ac_cv_cflags__Wtype_limits=no
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 CFLAGS=$ac_wine_try_cflags_saved
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14254 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14255 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14256 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14259 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14260 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14261 $as_echo_n "(cached) " >&6
14262 else
14263 ac_wine_try_cflags_saved=$CFLAGS
14264 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14266 /* end confdefs.h. */
14267 int main(int argc, char **argv) { return 0; }
14268 _ACEOF
14269 if ac_fn_c_try_link "$LINENO"; then :
14270 ac_cv_cflags__Wunused_but_set_parameter=yes
14271 else
14272 ac_cv_cflags__Wunused_but_set_parameter=no
14274 rm -f core conftest.err conftest.$ac_objext \
14275 conftest$ac_exeext conftest.$ac_ext
14276 CFLAGS=$ac_wine_try_cflags_saved
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14279 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14280 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14281 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14284 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14285 if ${ac_cv_cflags__Wvla+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 ac_wine_try_cflags_saved=$CFLAGS
14289 CFLAGS="$CFLAGS -Wvla"
14290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14291 /* end confdefs.h. */
14292 int main(int argc, char **argv) { return 0; }
14293 _ACEOF
14294 if ac_fn_c_try_link "$LINENO"; then :
14295 ac_cv_cflags__Wvla=yes
14296 else
14297 ac_cv_cflags__Wvla=no
14299 rm -f core conftest.err conftest.$ac_objext \
14300 conftest$ac_exeext conftest.$ac_ext
14301 CFLAGS=$ac_wine_try_cflags_saved
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14304 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14305 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14306 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14309 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14310 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14311 $as_echo_n "(cached) " >&6
14312 else
14313 ac_wine_try_cflags_saved=$CFLAGS
14314 CFLAGS="$CFLAGS -Wwrite-strings"
14315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14317 int main(int argc, char **argv) { return 0; }
14318 _ACEOF
14319 if ac_fn_c_try_link "$LINENO"; then :
14320 ac_cv_cflags__Wwrite_strings=yes
14321 else
14322 ac_cv_cflags__Wwrite_strings=no
14324 rm -f core conftest.err conftest.$ac_objext \
14325 conftest$ac_exeext conftest.$ac_ext
14326 CFLAGS=$ac_wine_try_cflags_saved
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14329 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14330 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14331 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14335 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14336 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14337 $as_echo_n "(cached) " >&6
14338 else
14339 ac_wine_try_cflags_saved=$CFLAGS
14340 CFLAGS="$CFLAGS -Wpointer-arith"
14341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14342 /* end confdefs.h. */
14343 int main(int argc, char **argv) { return 0; }
14344 _ACEOF
14345 if ac_fn_c_try_link "$LINENO"; then :
14346 ac_cv_cflags__Wpointer_arith=yes
14347 else
14348 ac_cv_cflags__Wpointer_arith=no
14350 rm -f core conftest.err conftest.$ac_objext \
14351 conftest$ac_exeext conftest.$ac_ext
14352 CFLAGS=$ac_wine_try_cflags_saved
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14355 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14356 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14357 saved_string_h_CFLAGS=$CFLAGS
14358 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14360 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14361 if ${ac_cv_c_string_h_warnings+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14365 /* end confdefs.h. */
14366 #include <string.h>
14368 main ()
14372 return 0;
14374 _ACEOF
14375 if ac_fn_c_try_compile "$LINENO"; then :
14376 ac_cv_c_string_h_warnings=no
14377 else
14378 ac_cv_c_string_h_warnings=yes
14380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14383 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14384 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14385 CFLAGS=$saved_string_h_CFLAGS
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14389 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14390 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14391 $as_echo_n "(cached) " >&6
14392 else
14393 ac_wine_try_cflags_saved=$CFLAGS
14394 CFLAGS="$CFLAGS -Wlogical-op"
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14397 int main(int argc, char **argv) { return 0; }
14398 _ACEOF
14399 if ac_fn_c_try_link "$LINENO"; then :
14400 ac_cv_cflags__Wlogical_op=yes
14401 else
14402 ac_cv_cflags__Wlogical_op=no
14404 rm -f core conftest.err conftest.$ac_objext \
14405 conftest$ac_exeext conftest.$ac_ext
14406 CFLAGS=$ac_wine_try_cflags_saved
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14409 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14410 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14411 saved_string_h_CFLAGS=$CFLAGS
14412 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14414 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14415 if ${ac_cv_c_logicalop_noisy+:} false; then :
14416 $as_echo_n "(cached) " >&6
14417 else
14418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14419 /* end confdefs.h. */
14420 #include <string.h>
14421 char*f(const char *h,char n) {return strchr(h,n);}
14423 main ()
14427 return 0;
14429 _ACEOF
14430 if ac_fn_c_try_compile "$LINENO"; then :
14431 ac_cv_c_logicalop_noisy=no
14432 else
14433 ac_cv_c_logicalop_noisy=yes
14435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14438 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14439 CFLAGS=$saved_string_h_CFLAGS
14440 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14443 CFLAGS=$saved_CFLAGS
14445 for ac_flag in $CFLAGS; do
14446 case $ac_flag in
14447 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14448 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14449 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14450 $as_echo_n "(cached) " >&6
14451 else
14452 ac_wine_try_cflags_saved=$CFLAGS
14453 CFLAGS="$CFLAGS -gdwarf-2"
14454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14455 /* end confdefs.h. */
14456 int main(int argc, char **argv) { return 0; }
14457 _ACEOF
14458 if ac_fn_c_try_link "$LINENO"; then :
14459 ac_cv_cflags__gdwarf_2=yes
14460 else
14461 ac_cv_cflags__gdwarf_2=no
14463 rm -f core conftest.err conftest.$ac_objext \
14464 conftest$ac_exeext conftest.$ac_ext
14465 CFLAGS=$ac_wine_try_cflags_saved
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14468 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14469 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14470 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14473 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14474 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14475 $as_echo_n "(cached) " >&6
14476 else
14477 ac_wine_try_cflags_saved=$CFLAGS
14478 CFLAGS="$CFLAGS -gstrict-dwarf"
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14481 int main(int argc, char **argv) { return 0; }
14482 _ACEOF
14483 if ac_fn_c_try_link "$LINENO"; then :
14484 ac_cv_cflags__gstrict_dwarf=yes
14485 else
14486 ac_cv_cflags__gstrict_dwarf=no
14488 rm -f core conftest.err conftest.$ac_objext \
14489 conftest$ac_exeext conftest.$ac_ext
14490 CFLAGS=$ac_wine_try_cflags_saved
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14493 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14494 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14495 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14496 fi ;;
14497 esac
14498 done
14500 case $host_cpu in
14501 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14502 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14503 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14504 $as_echo_n "(cached) " >&6
14505 else
14506 ac_wine_try_cflags_saved=$CFLAGS
14507 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14509 /* end confdefs.h. */
14510 int main(int argc, char **argv) { return 0; }
14511 _ACEOF
14512 if ac_fn_c_try_link "$LINENO"; then :
14513 ac_cv_cflags__fno_omit_frame_pointer=yes
14514 else
14515 ac_cv_cflags__fno_omit_frame_pointer=no
14517 rm -f core conftest.err conftest.$ac_objext \
14518 conftest$ac_exeext conftest.$ac_ext
14519 CFLAGS=$ac_wine_try_cflags_saved
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14522 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14523 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14524 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14525 fi ;;
14526 esac
14528 case $host in
14529 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14530 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14531 if ${ac_cv_cflags__Wno_format+:} false; then :
14532 $as_echo_n "(cached) " >&6
14533 else
14534 ac_wine_try_cflags_saved=$CFLAGS
14535 CFLAGS="$CFLAGS -Wno-format"
14536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14537 /* end confdefs.h. */
14538 int main(int argc, char **argv) { return 0; }
14539 _ACEOF
14540 if ac_fn_c_try_link "$LINENO"; then :
14541 ac_cv_cflags__Wno_format=yes
14542 else
14543 ac_cv_cflags__Wno_format=no
14545 rm -f core conftest.err conftest.$ac_objext \
14546 conftest$ac_exeext conftest.$ac_ext
14547 CFLAGS=$ac_wine_try_cflags_saved
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14550 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14551 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14552 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14553 fi ;;
14554 esac
14556 if test "x$enable_maintainer_mode" = "xyes"
14557 then
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14559 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14560 if ${ac_cv_cflags__Werror+:} false; then :
14561 $as_echo_n "(cached) " >&6
14562 else
14563 ac_wine_try_cflags_saved=$CFLAGS
14564 CFLAGS="$CFLAGS -Werror"
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__Werror=yes
14571 else
14572 ac_cv_cflags__Werror=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__Werror" >&5
14579 $as_echo "$ac_cv_cflags__Werror" >&6; }
14580 if test "x$ac_cv_cflags__Werror" = xyes; then :
14581 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14585 saved_CFLAGS="$CFLAGS"
14586 CFLAGS="$CFLAGS -Werror"
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14588 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14589 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14590 $as_echo_n "(cached) " >&6
14591 else
14592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14593 /* end confdefs.h. */
14594 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14596 main ()
14600 return 0;
14602 _ACEOF
14603 if ac_fn_c_try_compile "$LINENO"; then :
14604 ac_cv_have_ms_hook_prologue="yes"
14605 else
14606 ac_cv_have_ms_hook_prologue="no"
14608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14611 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14612 CFLAGS="$saved_CFLAGS"
14613 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14614 then
14616 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14618 else
14619 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14626 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14627 if ${ac_cv_c_fortify_enabled+:} false; then :
14628 $as_echo_n "(cached) " >&6
14629 else
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14632 #include <string.h>
14634 main ()
14636 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14637 #error Fortify enabled
14638 #endif
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_compile "$LINENO"; then :
14644 ac_cv_c_fortify_enabled=no
14645 else
14646 ac_cv_c_fortify_enabled=yes
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14651 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14652 if test "$ac_cv_c_fortify_enabled" = yes
14653 then
14654 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14659 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14660 if ${ac_cv_c_extern_prefix+:} false; then :
14661 $as_echo_n "(cached) " >&6
14662 else
14663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14664 /* end confdefs.h. */
14665 extern int ac_test;
14667 main ()
14669 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14671 return 0;
14673 _ACEOF
14674 if ac_fn_c_try_link "$LINENO"; then :
14675 ac_cv_c_extern_prefix="yes"
14676 else
14677 ac_cv_c_extern_prefix="no"
14679 rm -f core conftest.err conftest.$ac_objext \
14680 conftest$ac_exeext conftest.$ac_ext
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14683 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14685 case $host_cpu in
14686 *i[3456789]86*)
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14688 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14689 if ${ac_cv_c_stdcall_suffix+:} false; then :
14690 $as_echo_n "(cached) " >&6
14691 else
14692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14693 /* end confdefs.h. */
14694 #ifndef _MSC_VER
14695 #define __stdcall __attribute__((__stdcall__))
14696 #endif
14697 int __stdcall ac_test(int i) { return i; }
14699 main ()
14701 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14703 return 0;
14705 _ACEOF
14706 if ac_fn_c_try_link "$LINENO"; then :
14707 ac_cv_c_stdcall_suffix="yes"
14708 else
14709 ac_cv_c_stdcall_suffix="no"
14711 rm -f core conftest.err conftest.$ac_objext \
14712 conftest$ac_exeext conftest.$ac_ext
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14715 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14716 *) ac_cv_c_stdcall_suffix="no" ;;
14717 esac
14720 if test "$ac_cv_c_extern_prefix" = "yes"
14721 then
14722 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14724 asm_name_prefix="_"
14725 else
14726 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14728 asm_name_prefix=""
14732 if test "$ac_cv_c_stdcall_suffix" = "yes"
14733 then
14734 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14736 else
14737 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14743 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14744 if ${ac_cv_asm_func_def+:} false; then :
14745 $as_echo_n "(cached) " >&6
14746 else
14747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748 /* end confdefs.h. */
14751 main ()
14753 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14755 return 0;
14757 _ACEOF
14758 if ac_fn_c_try_link "$LINENO"; then :
14759 ac_cv_asm_func_def=".def"
14760 else
14761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14762 /* end confdefs.h. */
14765 main ()
14767 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14769 return 0;
14771 _ACEOF
14772 if ac_fn_c_try_link "$LINENO"; then :
14773 ac_cv_asm_func_def=".type @function"
14774 else
14775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h. */
14779 main ()
14781 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14783 return 0;
14785 _ACEOF
14786 if ac_fn_c_try_link "$LINENO"; then :
14787 ac_cv_asm_func_def=".type 2"
14788 else
14789 ac_cv_asm_func_def="unknown"
14791 rm -f core conftest.err conftest.$ac_objext \
14792 conftest$ac_exeext conftest.$ac_ext
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14797 rm -f core conftest.err conftest.$ac_objext \
14798 conftest$ac_exeext conftest.$ac_ext
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14801 $as_echo "$ac_cv_asm_func_def" >&6; }
14804 case "$ac_cv_asm_func_def" in
14805 ".def")
14806 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14808 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14809 ".type @function")
14810 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14812 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14813 ".type 2")
14814 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14816 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14818 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14820 asm_func_header="" ;;
14821 esac
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14824 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14825 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14826 $as_echo_n "(cached) " >&6
14827 else
14828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14829 /* end confdefs.h. */
14830 asm(".text\n\t.long 0");
14832 main ()
14836 return 0;
14838 _ACEOF
14839 if ac_fn_c_try_compile "$LINENO"; then :
14840 ac_cv_c_asm_outside_funcs="yes"
14841 else
14842 ac_cv_c_asm_outside_funcs="no"
14844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14847 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14850 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14851 if ${ac_cv_c_dot_previous+:} false; then :
14852 $as_echo_n "(cached) " >&6
14853 else
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14858 main ()
14860 asm(".text\nac_test:\t.long 0\n\t.previous");
14862 return 0;
14864 _ACEOF
14865 if ac_fn_c_try_link "$LINENO"; then :
14866 ac_cv_c_dot_previous="yes"
14867 else
14868 ac_cv_c_dot_previous="no"
14870 rm -f core conftest.err conftest.$ac_objext \
14871 conftest$ac_exeext conftest.$ac_ext
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14874 $as_echo "$ac_cv_c_dot_previous" >&6; }
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14877 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14878 if ${ac_cv_c_cfi_support+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14882 /* end confdefs.h. */
14883 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14885 main ()
14889 return 0;
14891 _ACEOF
14892 if ac_fn_c_try_compile "$LINENO"; then :
14893 ac_cv_c_cfi_support="yes"
14894 else
14895 ac_cv_c_cfi_support="no"
14897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14900 $as_echo "$ac_cv_c_cfi_support" >&6; }
14902 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14903 asm_func_trailer=""
14904 if test "$ac_cv_c_dot_previous" = "yes"
14905 then
14906 asm_func_trailer="\\n\\t.previous"
14908 if test "$ac_cv_c_cfi_support" = "yes"
14909 then
14910 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14911 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14913 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14915 UNWINDFLAGS=-fasynchronous-unwind-tables
14917 else
14918 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14920 if test "x$enable_win64" = "xyes"
14921 then
14922 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14926 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14929 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14930 then
14931 cat >>confdefs.h <<_ACEOF
14932 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14933 _ACEOF
14935 else
14936 cat >>confdefs.h <<_ACEOF
14937 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14938 _ACEOF
14942 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14945 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14949 case $build_os in
14950 cygwin*|mingw32*) TOOLSEXT=".exe"
14952 esac
14954 case $host_os in
14955 linux-android*) ;;
14956 linux*)
14957 case $host_cpu in
14958 *i[3456789]86*|x86_64*)
14959 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
14960 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14962 esac
14964 esac
14967 ac_save_CFLAGS="$CFLAGS"
14968 CFLAGS="$CFLAGS $BUILTINFLAG"
14969 for ac_func in \
14970 __res_get_state \
14971 __res_getservers \
14972 _finite \
14973 _isnan \
14974 _pclose \
14975 _popen \
14976 _snprintf \
14977 _spawnvp \
14978 _strdup \
14979 _stricmp \
14980 _strnicmp \
14981 _strtoi64 \
14982 _strtoui64 \
14983 _vsnprintf \
14984 asctime_r \
14985 chsize \
14986 dlopen \
14987 epoll_create \
14988 ffs \
14989 finitef \
14990 fnmatch \
14991 fork \
14992 fpclass \
14993 fstatfs \
14994 fstatvfs \
14995 ftruncate \
14996 futimens \
14997 futimes \
14998 futimesat \
14999 getattrlist \
15000 getdirentries \
15001 getopt_long_only \
15002 getpwuid \
15003 gettimeofday \
15004 getuid \
15005 if_nameindex \
15006 isnanf \
15007 kqueue \
15008 lstat \
15009 memmove \
15010 mmap \
15011 pclose \
15012 pipe2 \
15013 poll \
15014 popen \
15015 port_create \
15016 prctl \
15017 pread \
15018 proc_pidinfo \
15019 pwrite \
15020 readdir \
15021 readlink \
15022 sched_yield \
15023 select \
15024 setproctitle \
15025 setprogname \
15026 setrlimit \
15027 settimeofday \
15028 sigaltstack \
15029 sigprocmask \
15030 snprintf \
15031 statfs \
15032 statvfs \
15033 strcasecmp \
15034 strdup \
15035 strerror \
15036 strncasecmp \
15037 strtold \
15038 strtoll \
15039 strtoull \
15040 symlink \
15041 tcdrain \
15042 thr_kill2 \
15043 timegm \
15044 usleep \
15045 vsnprintf
15047 do :
15048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15050 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15051 cat >>confdefs.h <<_ACEOF
15052 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15053 _ACEOF
15056 done
15058 CFLAGS="$ac_save_CFLAGS"
15060 if test "$ac_cv_func_dlopen" = no
15061 then
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15063 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15064 if ${ac_cv_lib_dl_dlopen+:} false; then :
15065 $as_echo_n "(cached) " >&6
15066 else
15067 ac_check_lib_save_LIBS=$LIBS
15068 LIBS="-ldl $LIBS"
15069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070 /* end confdefs.h. */
15072 /* Override any GCC internal prototype to avoid an error.
15073 Use char because int might match the return type of a GCC
15074 builtin and then its argument prototype would still apply. */
15075 #ifdef __cplusplus
15076 extern "C"
15077 #endif
15078 char dlopen ();
15080 main ()
15082 return dlopen ();
15084 return 0;
15086 _ACEOF
15087 if ac_fn_c_try_link "$LINENO"; then :
15088 ac_cv_lib_dl_dlopen=yes
15089 else
15090 ac_cv_lib_dl_dlopen=no
15092 rm -f core conftest.err conftest.$ac_objext \
15093 conftest$ac_exeext conftest.$ac_ext
15094 LIBS=$ac_check_lib_save_LIBS
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15097 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15098 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15099 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15100 DL_LIBS="-ldl"
15105 ac_wine_check_funcs_save_LIBS="$LIBS"
15106 LIBS="$LIBS $DL_LIBS"
15107 for ac_func in dladdr
15108 do :
15109 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15110 if test "x$ac_cv_func_dladdr" = xyes; then :
15111 cat >>confdefs.h <<_ACEOF
15112 #define HAVE_DLADDR 1
15113 _ACEOF
15116 done
15118 LIBS="$ac_wine_check_funcs_save_LIBS"
15120 if test "$ac_cv_func_poll" = no
15121 then
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15123 $as_echo_n "checking for poll in -lpoll... " >&6; }
15124 if ${ac_cv_lib_poll_poll+:} false; then :
15125 $as_echo_n "(cached) " >&6
15126 else
15127 ac_check_lib_save_LIBS=$LIBS
15128 LIBS="-lpoll $LIBS"
15129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15130 /* end confdefs.h. */
15132 /* Override any GCC internal prototype to avoid an error.
15133 Use char because int might match the return type of a GCC
15134 builtin and then its argument prototype would still apply. */
15135 #ifdef __cplusplus
15136 extern "C"
15137 #endif
15138 char poll ();
15140 main ()
15142 return poll ();
15144 return 0;
15146 _ACEOF
15147 if ac_fn_c_try_link "$LINENO"; then :
15148 ac_cv_lib_poll_poll=yes
15149 else
15150 ac_cv_lib_poll_poll=no
15152 rm -f core conftest.err conftest.$ac_objext \
15153 conftest$ac_exeext conftest.$ac_ext
15154 LIBS=$ac_check_lib_save_LIBS
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15157 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15158 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15159 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15160 POLL_LIBS="-lpoll"
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15167 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15168 if ${ac_cv_search_gethostbyname+:} false; then :
15169 $as_echo_n "(cached) " >&6
15170 else
15171 ac_func_search_save_LIBS=$LIBS
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15175 /* Override any GCC internal prototype to avoid an error.
15176 Use char because int might match the return type of a GCC
15177 builtin and then its argument prototype would still apply. */
15178 #ifdef __cplusplus
15179 extern "C"
15180 #endif
15181 char gethostbyname ();
15183 main ()
15185 return gethostbyname ();
15187 return 0;
15189 _ACEOF
15190 for ac_lib in '' nsl; do
15191 if test -z "$ac_lib"; then
15192 ac_res="none required"
15193 else
15194 ac_res=-l$ac_lib
15195 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 ac_cv_search_gethostbyname=$ac_res
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext
15202 if ${ac_cv_search_gethostbyname+:} false; then :
15203 break
15205 done
15206 if ${ac_cv_search_gethostbyname+:} false; then :
15208 else
15209 ac_cv_search_gethostbyname=no
15211 rm conftest.$ac_ext
15212 LIBS=$ac_func_search_save_LIBS
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15215 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15216 ac_res=$ac_cv_search_gethostbyname
15217 if test "$ac_res" != no; then :
15218 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15224 $as_echo_n "checking for library containing connect... " >&6; }
15225 if ${ac_cv_search_connect+:} false; then :
15226 $as_echo_n "(cached) " >&6
15227 else
15228 ac_func_search_save_LIBS=$LIBS
15229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15232 /* Override any GCC internal prototype to avoid an error.
15233 Use char because int might match the return type of a GCC
15234 builtin and then its argument prototype would still apply. */
15235 #ifdef __cplusplus
15236 extern "C"
15237 #endif
15238 char connect ();
15240 main ()
15242 return connect ();
15244 return 0;
15246 _ACEOF
15247 for ac_lib in '' socket; do
15248 if test -z "$ac_lib"; then
15249 ac_res="none required"
15250 else
15251 ac_res=-l$ac_lib
15252 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15254 if ac_fn_c_try_link "$LINENO"; then :
15255 ac_cv_search_connect=$ac_res
15257 rm -f core conftest.err conftest.$ac_objext \
15258 conftest$ac_exeext
15259 if ${ac_cv_search_connect+:} false; then :
15260 break
15262 done
15263 if ${ac_cv_search_connect+:} false; then :
15265 else
15266 ac_cv_search_connect=no
15268 rm conftest.$ac_ext
15269 LIBS=$ac_func_search_save_LIBS
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15272 $as_echo "$ac_cv_search_connect" >&6; }
15273 ac_res=$ac_cv_search_connect
15274 if test "$ac_res" != no; then :
15275 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15281 $as_echo_n "checking for library containing inet_aton... " >&6; }
15282 if ${ac_cv_search_inet_aton+:} false; then :
15283 $as_echo_n "(cached) " >&6
15284 else
15285 ac_func_search_save_LIBS=$LIBS
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15289 /* Override any GCC internal prototype to avoid an error.
15290 Use char because int might match the return type of a GCC
15291 builtin and then its argument prototype would still apply. */
15292 #ifdef __cplusplus
15293 extern "C"
15294 #endif
15295 char inet_aton ();
15297 main ()
15299 return inet_aton ();
15301 return 0;
15303 _ACEOF
15304 for ac_lib in '' resolv; do
15305 if test -z "$ac_lib"; then
15306 ac_res="none required"
15307 else
15308 ac_res=-l$ac_lib
15309 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15311 if ac_fn_c_try_link "$LINENO"; then :
15312 ac_cv_search_inet_aton=$ac_res
15314 rm -f core conftest.err conftest.$ac_objext \
15315 conftest$ac_exeext
15316 if ${ac_cv_search_inet_aton+:} false; then :
15317 break
15319 done
15320 if ${ac_cv_search_inet_aton+:} false; then :
15322 else
15323 ac_cv_search_inet_aton=no
15325 rm conftest.$ac_ext
15326 LIBS=$ac_func_search_save_LIBS
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15329 $as_echo "$ac_cv_search_inet_aton" >&6; }
15330 ac_res=$ac_cv_search_inet_aton
15331 if test "$ac_res" != no; then :
15332 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15337 for ac_func in \
15338 getaddrinfo \
15339 getnameinfo \
15340 getnetbyname \
15341 getprotobyname \
15342 getprotobynumber \
15343 getservbyport \
15344 inet_addr \
15345 inet_network \
15346 inet_ntop \
15347 inet_pton \
15348 sendmsg \
15349 socketpair \
15351 do :
15352 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15353 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15354 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15355 cat >>confdefs.h <<_ACEOF
15356 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15357 _ACEOF
15360 done
15363 ac_save_LIBS=$LIBS
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15365 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15366 if ${ac_cv_search_clock_gettime+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 ac_func_search_save_LIBS=$LIBS
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15373 /* Override any GCC internal prototype to avoid an error.
15374 Use char because int might match the return type of a GCC
15375 builtin and then its argument prototype would still apply. */
15376 #ifdef __cplusplus
15377 extern "C"
15378 #endif
15379 char clock_gettime ();
15381 main ()
15383 return clock_gettime ();
15385 return 0;
15387 _ACEOF
15388 for ac_lib in '' rt; do
15389 if test -z "$ac_lib"; then
15390 ac_res="none required"
15391 else
15392 ac_res=-l$ac_lib
15393 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15395 if ac_fn_c_try_link "$LINENO"; then :
15396 ac_cv_search_clock_gettime=$ac_res
15398 rm -f core conftest.err conftest.$ac_objext \
15399 conftest$ac_exeext
15400 if ${ac_cv_search_clock_gettime+:} false; then :
15401 break
15403 done
15404 if ${ac_cv_search_clock_gettime+:} false; then :
15406 else
15407 ac_cv_search_clock_gettime=no
15409 rm conftest.$ac_ext
15410 LIBS=$ac_func_search_save_LIBS
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15413 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15414 ac_res=$ac_cv_search_clock_gettime
15415 if test "$ac_res" != no; then :
15416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15418 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15420 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15424 LIBS=$ac_save_LIBS
15426 LDAP_LIBS=""
15428 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15429 then
15430 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15432 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15434 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15435 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15436 $as_echo_n "(cached) " >&6
15437 else
15438 ac_check_lib_save_LIBS=$LIBS
15439 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15441 /* end confdefs.h. */
15443 /* Override any GCC internal prototype to avoid an error.
15444 Use char because int might match the return type of a GCC
15445 builtin and then its argument prototype would still apply. */
15446 #ifdef __cplusplus
15447 extern "C"
15448 #endif
15449 char ldap_initialize ();
15451 main ()
15453 return ldap_initialize ();
15455 return 0;
15457 _ACEOF
15458 if ac_fn_c_try_link "$LINENO"; then :
15459 ac_cv_lib_ldap_r_ldap_initialize=yes
15460 else
15461 ac_cv_lib_ldap_r_ldap_initialize=no
15463 rm -f core conftest.err conftest.$ac_objext \
15464 conftest$ac_exeext conftest.$ac_ext
15465 LIBS=$ac_check_lib_save_LIBS
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15468 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15469 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15471 $as_echo_n "checking for ber_init in -llber... " >&6; }
15472 if ${ac_cv_lib_lber_ber_init+:} false; then :
15473 $as_echo_n "(cached) " >&6
15474 else
15475 ac_check_lib_save_LIBS=$LIBS
15476 LIBS="-llber $PTHREAD_LIBS $LIBS"
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15480 /* Override any GCC internal prototype to avoid an error.
15481 Use char because int might match the return type of a GCC
15482 builtin and then its argument prototype would still apply. */
15483 #ifdef __cplusplus
15484 extern "C"
15485 #endif
15486 char ber_init ();
15488 main ()
15490 return ber_init ();
15492 return 0;
15494 _ACEOF
15495 if ac_fn_c_try_link "$LINENO"; then :
15496 ac_cv_lib_lber_ber_init=yes
15497 else
15498 ac_cv_lib_lber_ber_init=no
15500 rm -f core conftest.err conftest.$ac_objext \
15501 conftest$ac_exeext conftest.$ac_ext
15502 LIBS=$ac_check_lib_save_LIBS
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15505 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15506 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15508 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15510 LDAP_LIBS="-lldap_r -llber"
15517 ac_wine_check_funcs_save_LIBS="$LIBS"
15518 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15519 for ac_func in \
15520 ldap_count_references \
15521 ldap_first_reference \
15522 ldap_next_reference \
15523 ldap_parse_reference \
15524 ldap_parse_sort_control \
15525 ldap_parse_sortresponse_control \
15526 ldap_parse_vlv_control \
15527 ldap_parse_vlvresponse_control
15528 do :
15529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15532 cat >>confdefs.h <<_ACEOF
15533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15534 _ACEOF
15537 done
15539 LIBS="$ac_wine_check_funcs_save_LIBS"
15541 if test "x$LDAP_LIBS" = "x"; then :
15542 case "x$with_ldap" in
15543 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15544 xno) ;;
15545 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15546 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15547 esac
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15552 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15553 if ${wine_cv_one_arg_mkdir+:} false; then :
15554 $as_echo_n "(cached) " >&6
15555 else
15556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15558 #include <sys/stat.h>
15560 main ()
15562 mkdir("foo");
15564 return 0;
15566 _ACEOF
15567 if ac_fn_c_try_compile "$LINENO"; then :
15568 wine_cv_one_arg_mkdir=yes
15569 else
15570 wine_cv_one_arg_mkdir=no
15572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15575 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15576 if test "$wine_cv_one_arg_mkdir" = "yes"
15577 then
15579 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15584 $as_echo_n "checking for sched_setaffinity... " >&6; }
15585 if ${wine_cv_have_sched_setaffinity+:} false; then :
15586 $as_echo_n "(cached) " >&6
15587 else
15588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15589 /* end confdefs.h. */
15590 #define _GNU_SOURCE
15591 #include <sched.h>
15593 main ()
15595 sched_setaffinity(0, 0, 0);
15597 return 0;
15599 _ACEOF
15600 if ac_fn_c_try_link "$LINENO"; then :
15601 wine_cv_have_sched_setaffinity=yes
15602 else
15603 wine_cv_have_sched_setaffinity=no
15605 rm -f core conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15609 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15610 if test "$wine_cv_have_sched_setaffinity" = "yes"
15611 then
15613 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15618 $as_echo_n "checking for fallocate... " >&6; }
15619 if ${wine_cv_have_fallocate+:} false; then :
15620 $as_echo_n "(cached) " >&6
15621 else
15622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15623 /* end confdefs.h. */
15624 #define _GNU_SOURCE
15625 #include <fcntl.h>
15627 main ()
15629 fallocate(-1, 0, 0, 0);
15631 return 0;
15633 _ACEOF
15634 if ac_fn_c_try_link "$LINENO"; then :
15635 wine_cv_have_fallocate=yes
15636 else
15637 wine_cv_have_fallocate=no
15639 rm -f core conftest.err conftest.$ac_objext \
15640 conftest$ac_exeext conftest.$ac_ext
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15643 $as_echo "$wine_cv_have_fallocate" >&6; }
15644 if test "$wine_cv_have_fallocate" = "yes"
15645 then
15647 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15653 $as_echo_n "checking for inline... " >&6; }
15654 if ${ac_cv_c_inline+:} false; then :
15655 $as_echo_n "(cached) " >&6
15656 else
15657 ac_cv_c_inline=no
15658 for ac_kw in inline __inline__ __inline; do
15659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15660 /* end confdefs.h. */
15661 #ifndef __cplusplus
15662 typedef int foo_t;
15663 static $ac_kw foo_t static_foo () {return 0; }
15664 $ac_kw foo_t foo () {return 0; }
15665 #endif
15667 _ACEOF
15668 if ac_fn_c_try_compile "$LINENO"; then :
15669 ac_cv_c_inline=$ac_kw
15671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15672 test "$ac_cv_c_inline" != no && break
15673 done
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15677 $as_echo "$ac_cv_c_inline" >&6; }
15679 case $ac_cv_c_inline in
15680 inline | yes) ;;
15682 case $ac_cv_c_inline in
15683 no) ac_val=;;
15684 *) ac_val=$ac_cv_c_inline;;
15685 esac
15686 cat >>confdefs.h <<_ACEOF
15687 #ifndef __cplusplus
15688 #define inline $ac_val
15689 #endif
15690 _ACEOF
15692 esac
15694 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15695 if test "x$ac_cv_type_mode_t" = xyes; then :
15697 cat >>confdefs.h <<_ACEOF
15698 #define HAVE_MODE_T 1
15699 _ACEOF
15703 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15704 if test "x$ac_cv_type_off_t" = xyes; then :
15706 cat >>confdefs.h <<_ACEOF
15707 #define HAVE_OFF_T 1
15708 _ACEOF
15712 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15713 if test "x$ac_cv_type_pid_t" = xyes; then :
15715 cat >>confdefs.h <<_ACEOF
15716 #define HAVE_PID_T 1
15717 _ACEOF
15721 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15722 if test "x$ac_cv_type_size_t" = xyes; then :
15724 cat >>confdefs.h <<_ACEOF
15725 #define HAVE_SIZE_T 1
15726 _ACEOF
15730 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15731 if test "x$ac_cv_type_ssize_t" = xyes; then :
15733 cat >>confdefs.h <<_ACEOF
15734 #define HAVE_SSIZE_T 1
15735 _ACEOF
15739 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15740 if test "x$ac_cv_type_long_long" = xyes; then :
15742 cat >>confdefs.h <<_ACEOF
15743 #define HAVE_LONG_LONG 1
15744 _ACEOF
15748 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15749 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15751 cat >>confdefs.h <<_ACEOF
15752 #define HAVE_FSBLKCNT_T 1
15753 _ACEOF
15757 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15758 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15760 cat >>confdefs.h <<_ACEOF
15761 #define HAVE_FSFILCNT_T 1
15762 _ACEOF
15767 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15768 #include <signal.h>
15770 if test "x$ac_cv_type_sigset_t" = xyes; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define HAVE_SIGSET_T 1
15774 _ACEOF
15779 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15781 if test "x$ac_cv_type_request_sense" = xyes; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define HAVE_REQUEST_SENSE 1
15785 _ACEOF
15791 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15792 #ifdef HAVE_SYS_SOCKET_H
15793 #include <sys/socket.h>
15794 #endif
15795 #ifdef HAVE_SYS_SOCKETVAR_H
15796 #include <sys/socketvar.h>
15797 #endif
15798 #ifdef HAVE_NET_ROUTE_H
15799 #include <net/route.h>
15800 #endif
15801 #ifdef HAVE_NETINET_IN_H
15802 #include <netinet/in.h>
15803 #endif
15804 #ifdef HAVE_NETINET_IN_SYSTM_H
15805 #include <netinet/in_systm.h>
15806 #endif
15807 #ifdef HAVE_NETINET_IP_H
15808 #include <netinet/ip.h>
15809 #endif
15810 #ifdef HAVE_NETINET_IN_PCB_H
15811 #include <netinet/in_pcb.h>
15812 #endif
15814 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15816 cat >>confdefs.h <<_ACEOF
15817 #define HAVE_STRUCT_XINPGEN 1
15818 _ACEOF
15824 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15825 #include <link.h>
15826 #endif
15827 #ifdef HAVE_SYS_LINK_H
15828 #include <sys/link.h>
15829 #endif
15831 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15833 cat >>confdefs.h <<_ACEOF
15834 #define HAVE_STRUCT_R_DEBUG 1
15835 _ACEOF
15839 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15840 #include <link.h>
15841 #endif
15842 #ifdef HAVE_SYS_LINK_H
15843 #include <sys/link.h>
15844 #endif
15846 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15848 cat >>confdefs.h <<_ACEOF
15849 #define HAVE_STRUCT_LINK_MAP 1
15850 _ACEOF
15856 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15857 #include <linux/input.h>
15858 #endif
15860 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15862 cat >>confdefs.h <<_ACEOF
15863 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15864 _ACEOF
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15871 $as_echo_n "checking for sigaddset... " >&6; }
15872 if ${wine_cv_have_sigaddset+:} false; then :
15873 $as_echo_n "(cached) " >&6
15874 else
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 #include <signal.h>
15879 main ()
15881 sigset_t set; sigaddset(&set,SIGTERM);
15883 return 0;
15885 _ACEOF
15886 if ac_fn_c_try_link "$LINENO"; then :
15887 wine_cv_have_sigaddset=yes
15888 else
15889 wine_cv_have_sigaddset=no
15891 rm -f core conftest.err conftest.$ac_objext \
15892 conftest$ac_exeext conftest.$ac_ext
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15895 $as_echo "$wine_cv_have_sigaddset" >&6; }
15896 if test "$wine_cv_have_sigaddset" = "yes"
15897 then
15899 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15905 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15906 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15907 $as_echo_n "(cached) " >&6
15908 else
15909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h. */
15911 #include <netdb.h>
15913 main ()
15916 char *name=0;
15917 struct hostent he;
15918 struct hostent *result;
15919 char *buf=0;
15920 int bufsize=0;
15921 int errnr;
15922 char *addr=0;
15923 int addrlen=0;
15924 int addrtype=0;
15925 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15926 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15929 return 0;
15931 _ACEOF
15932 if ac_fn_c_try_link "$LINENO"; then :
15933 wine_cv_linux_gethostbyname_r_6=yes
15934 else
15935 wine_cv_linux_gethostbyname_r_6=no
15938 rm -f core conftest.err conftest.$ac_objext \
15939 conftest$ac_exeext conftest.$ac_ext
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15943 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15944 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15945 then
15947 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15951 if test "$ac_cv_header_linux_joystick_h" = "yes"
15952 then
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15954 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15955 if ${wine_cv_linux_joystick_22_api+:} false; then :
15956 $as_echo_n "(cached) " >&6
15957 else
15958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15959 /* end confdefs.h. */
15961 #include <sys/ioctl.h>
15962 #include <sys/types.h>
15963 #include <linux/joystick.h>
15965 struct js_event blub;
15966 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15967 #error "no 2.2 header"
15968 #endif
15971 main ()
15973 /*empty*/
15975 return 0;
15977 _ACEOF
15978 if ac_fn_c_try_compile "$LINENO"; then :
15979 wine_cv_linux_joystick_22_api=yes
15980 else
15981 wine_cv_linux_joystick_22_api=no
15983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15987 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15988 if test "$wine_cv_linux_joystick_22_api" = "yes"
15989 then
15991 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15997 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15998 #ifdef HAVE_SYS_PARAM_H
15999 # include <sys/param.h>
16000 #endif
16001 #ifdef HAVE_SYS_MOUNT_H
16002 # include <sys/mount.h>
16003 #endif
16004 #ifdef HAVE_SYS_VFS_H
16005 # include <sys/vfs.h>
16006 #endif
16007 #ifdef HAVE_SYS_STATFS_H
16008 # include <sys/statfs.h>
16009 #endif
16011 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16013 cat >>confdefs.h <<_ACEOF
16014 #define HAVE_STRUCT_STATFS_F_BFREE 1
16015 _ACEOF
16019 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16020 #ifdef HAVE_SYS_PARAM_H
16021 # include <sys/param.h>
16022 #endif
16023 #ifdef HAVE_SYS_MOUNT_H
16024 # include <sys/mount.h>
16025 #endif
16026 #ifdef HAVE_SYS_VFS_H
16027 # include <sys/vfs.h>
16028 #endif
16029 #ifdef HAVE_SYS_STATFS_H
16030 # include <sys/statfs.h>
16031 #endif
16033 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16035 cat >>confdefs.h <<_ACEOF
16036 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16037 _ACEOF
16041 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16042 #ifdef HAVE_SYS_PARAM_H
16043 # include <sys/param.h>
16044 #endif
16045 #ifdef HAVE_SYS_MOUNT_H
16046 # include <sys/mount.h>
16047 #endif
16048 #ifdef HAVE_SYS_VFS_H
16049 # include <sys/vfs.h>
16050 #endif
16051 #ifdef HAVE_SYS_STATFS_H
16052 # include <sys/statfs.h>
16053 #endif
16055 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16059 _ACEOF
16063 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16064 #ifdef HAVE_SYS_PARAM_H
16065 # include <sys/param.h>
16066 #endif
16067 #ifdef HAVE_SYS_MOUNT_H
16068 # include <sys/mount.h>
16069 #endif
16070 #ifdef HAVE_SYS_VFS_H
16071 # include <sys/vfs.h>
16072 #endif
16073 #ifdef HAVE_SYS_STATFS_H
16074 # include <sys/statfs.h>
16075 #endif
16077 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16079 cat >>confdefs.h <<_ACEOF
16080 #define HAVE_STRUCT_STATFS_F_FFREE 1
16081 _ACEOF
16085 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16086 #ifdef HAVE_SYS_PARAM_H
16087 # include <sys/param.h>
16088 #endif
16089 #ifdef HAVE_SYS_MOUNT_H
16090 # include <sys/mount.h>
16091 #endif
16092 #ifdef HAVE_SYS_VFS_H
16093 # include <sys/vfs.h>
16094 #endif
16095 #ifdef HAVE_SYS_STATFS_H
16096 # include <sys/statfs.h>
16097 #endif
16099 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16103 _ACEOF
16107 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16108 #ifdef HAVE_SYS_PARAM_H
16109 # include <sys/param.h>
16110 #endif
16111 #ifdef HAVE_SYS_MOUNT_H
16112 # include <sys/mount.h>
16113 #endif
16114 #ifdef HAVE_SYS_VFS_H
16115 # include <sys/vfs.h>
16116 #endif
16117 #ifdef HAVE_SYS_STATFS_H
16118 # include <sys/statfs.h>
16119 #endif
16121 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16123 cat >>confdefs.h <<_ACEOF
16124 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16125 _ACEOF
16131 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16132 #include <sys/statvfs.h>
16133 #endif
16135 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16139 _ACEOF
16145 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16146 #include <dirent.h>
16147 #endif
16149 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16153 _ACEOF
16159 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16160 #ifdef HAVE_SYS_SOCKET_H
16161 # include <sys/socket.h>
16162 #endif
16163 #ifdef HAVE_SYS_UN_H
16164 # include <sys/un.h>
16165 #endif
16167 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16169 cat >>confdefs.h <<_ACEOF
16170 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16171 _ACEOF
16175 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16176 #ifdef HAVE_SYS_SOCKET_H
16177 # include <sys/socket.h>
16178 #endif
16179 #ifdef HAVE_SYS_UN_H
16180 # include <sys/un.h>
16181 #endif
16183 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16187 _ACEOF
16191 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16192 #ifdef HAVE_SYS_SOCKET_H
16193 # include <sys/socket.h>
16194 #endif
16195 #ifdef HAVE_SYS_UN_H
16196 # include <sys/un.h>
16197 #endif
16199 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16201 cat >>confdefs.h <<_ACEOF
16202 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16203 _ACEOF
16209 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16210 #ifdef HAVE_SCSI_SG_H
16211 #include <scsi/sg.h>
16212 #endif
16214 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16216 cat >>confdefs.h <<_ACEOF
16217 #define HAVE_SCSIREQ_T_CMD 1
16218 _ACEOF
16222 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>
16223 #ifdef HAVE_SCSI_SG_H
16224 #include <scsi/sg.h>
16225 #endif
16227 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16229 cat >>confdefs.h <<_ACEOF
16230 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16231 _ACEOF
16237 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16239 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16241 cat >>confdefs.h <<_ACEOF
16242 #define HAVE_SIGINFO_T_SI_FD 1
16243 _ACEOF
16249 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16250 #ifdef HAVE_SYS_MTIO_H
16251 #include <sys/mtio.h>
16252 #endif
16254 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16256 cat >>confdefs.h <<_ACEOF
16257 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16258 _ACEOF
16262 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
16263 #ifdef HAVE_SYS_MTIO_H
16264 #include <sys/mtio.h>
16265 #endif
16267 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16271 _ACEOF
16275 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
16276 #ifdef HAVE_SYS_MTIO_H
16277 #include <sys/mtio.h>
16278 #endif
16280 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
16282 cat >>confdefs.h <<_ACEOF
16283 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16284 _ACEOF
16290 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16291 #include <getopt.h>
16292 #endif
16294 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16296 cat >>confdefs.h <<_ACEOF
16297 #define HAVE_STRUCT_OPTION_NAME 1
16298 _ACEOF
16304 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16305 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16309 _ACEOF
16313 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16314 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_STRUCT_STAT_ST_MTIM 1
16318 _ACEOF
16322 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16323 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16327 _ACEOF
16331 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16332 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_STRUCT_STAT_ST_CTIM 1
16336 _ACEOF
16340 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16341 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16343 cat >>confdefs.h <<_ACEOF
16344 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16345 _ACEOF
16349 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16350 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16352 cat >>confdefs.h <<_ACEOF
16353 #define HAVE_STRUCT_STAT_ST_ATIM 1
16354 _ACEOF
16358 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16359 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16361 cat >>confdefs.h <<_ACEOF
16362 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16363 _ACEOF
16367 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16368 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16370 cat >>confdefs.h <<_ACEOF
16371 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16372 _ACEOF
16376 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16377 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16379 cat >>confdefs.h <<_ACEOF
16380 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16381 _ACEOF
16385 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16386 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16388 cat >>confdefs.h <<_ACEOF
16389 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16390 _ACEOF
16394 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16395 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16399 _ACEOF
16403 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16404 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16406 cat >>confdefs.h <<_ACEOF
16407 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16408 _ACEOF
16414 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
16415 #include <sys/types.h>
16416 #endif
16417 #ifdef HAVE_NETINET_IN_H
16418 #include <netinet/in.h>
16419 #endif
16421 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16425 _ACEOF
16431 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16432 #include <resolv.h>
16433 #endif
16435 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16437 cat >>confdefs.h <<_ACEOF
16438 #define HAVE_STRUCT___RES_STATE 1
16439 _ACEOF
16445 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
16446 #include <resolv.h>
16447 #endif
16449 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16451 cat >>confdefs.h <<_ACEOF
16452 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16453 _ACEOF
16459 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16460 #include <sys/types.h>
16461 #endif
16462 #ifdef HAVE_NETINET_IN_H
16463 # include <netinet/in.h>
16464 #endif
16465 #ifdef HAVE_ARPA_NAMESER_H
16466 # include <arpa/nameser.h>
16467 #endif
16469 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16471 cat >>confdefs.h <<_ACEOF
16472 #define HAVE_NS_MSG__MSG_PTR 1
16473 _ACEOF
16479 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16480 #include <sys/types.h>
16481 #endif
16482 #ifdef HAVE_NETINET_IP_H
16483 #include <netinet/ip.h>
16484 #endif
16485 #ifdef HAVE_NETINET_IP_ICMP_H
16486 #include <netinet/ip_icmp.h>
16487 #endif
16488 #ifdef HAVE_NETINET_ICMP_VAR_H
16489 #include <netinet/icmp_var.h>
16490 #endif
16492 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16496 _ACEOF
16502 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16503 #include <sys/types.h>
16504 #endif
16505 #ifdef HAVE_ALIAS_H
16506 #include <alias.h>
16507 #endif
16508 #ifdef HAVE_SYS_SOCKET_H
16509 #include <sys/socket.h>
16510 #endif
16511 #ifdef HAVE_SYS_SOCKETVAR_H
16512 #include <sys/socketvar.h>
16513 #endif
16514 #ifdef HAVE_SYS_TIMEOUT_H
16515 #include <sys/timeout.h>
16516 #endif
16517 #ifdef HAVE_NETINET_IN_H
16518 #include <netinet/in.h>
16519 #endif
16520 #ifdef HAVE_NETINET_IN_SYSTM_H
16521 #include <netinet/in_systm.h>
16522 #endif
16523 #ifdef HAVE_NETINET_IP_H
16524 #include <netinet/ip.h>
16525 #endif
16526 #ifdef HAVE_NETINET_IP_VAR_H
16527 #include <netinet/ip_var.h>
16528 #endif
16529 #ifdef HAVE_NETINET_IP_ICMP_H
16530 #include <netinet/ip_icmp.h>
16531 #endif
16532 #ifdef HAVE_NETINET_ICMP_VAR_H
16533 #include <netinet/icmp_var.h>
16534 #endif
16536 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16540 _ACEOF
16546 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16547 #include <sys/types.h>
16548 #endif
16549 #ifdef HAVE_SYS_SOCKETVAR_H
16550 #include <sys/socketvar.h>
16551 #endif
16552 #ifdef HAVE_NETINET_IN_H
16553 #include <netinet/in.h>
16554 #endif
16555 #ifdef HAVE_NETINET_IP_VAR_H
16556 #include <netinet/ip_var.h>
16557 #endif
16559 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16561 cat >>confdefs.h <<_ACEOF
16562 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16563 _ACEOF
16569 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
16570 #include <netinet/ip_var.h>
16571 #endif
16573 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16575 cat >>confdefs.h <<_ACEOF
16576 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16577 _ACEOF
16583 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16584 #include <sys/types.h>
16585 #endif
16586 #ifdef HAVE_SYS_SOCKETVAR_H
16587 #include <sys/socketvar.h>
16588 #endif
16589 #ifdef HAVE_NETINET_IN_H
16590 #include <netinet/in.h>
16591 #endif
16592 #ifdef HAVE_NETINET_TCP_H
16593 #include <netinet/tcp.h>
16594 #endif
16595 #ifdef HAVE_NETINET_TCP_VAR_H
16596 #include <netinet/tcp_var.h>
16597 #endif
16599 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16603 _ACEOF
16609 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
16610 #include <netinet/tcp_var.h>
16611 #endif
16613 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16617 _ACEOF
16623 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16624 #include <sys/types.h>
16625 #endif
16626 #ifdef HAVE_NETINET_IN_H
16627 #include <netinet/in.h>
16628 #endif
16629 #ifdef HAVE_NETINET_IP_VAR_H
16630 #include <netinet/ip_var.h>
16631 #endif
16632 #ifdef HAVE_NETINET_UDP_H
16633 #include <netinet/udp.h>
16634 #endif
16635 #ifdef HAVE_NETINET_UDP_VAR_H
16636 #include <netinet/udp_var.h>
16637 #endif
16639 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16641 cat >>confdefs.h <<_ACEOF
16642 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16643 _ACEOF
16649 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16650 #include <sys/types.h>
16651 #endif
16652 #ifdef HAVE_NET_IF_H
16653 # include <net/if.h>
16654 #endif
16656 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16658 cat >>confdefs.h <<_ACEOF
16659 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16660 _ACEOF
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16667 $as_echo_n "checking for timezone variable... " >&6; }
16668 if ${ac_cv_have_timezone+:} false; then :
16669 $as_echo_n "(cached) " >&6
16670 else
16671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16672 /* end confdefs.h. */
16673 #include <time.h>
16675 main ()
16677 timezone = 1
16679 return 0;
16681 _ACEOF
16682 if ac_fn_c_try_link "$LINENO"; then :
16683 ac_cv_have_timezone="yes"
16684 else
16685 ac_cv_have_timezone="no"
16687 rm -f core conftest.err conftest.$ac_objext \
16688 conftest$ac_exeext conftest.$ac_ext
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16691 $as_echo "$ac_cv_have_timezone" >&6; }
16692 if test "$ac_cv_have_timezone" = "yes"
16693 then
16695 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16699 $as_echo_n "checking for daylight variable... " >&6; }
16700 if ${ac_cv_have_daylight+:} false; then :
16701 $as_echo_n "(cached) " >&6
16702 else
16703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16704 /* end confdefs.h. */
16705 #include <time.h>
16707 main ()
16709 daylight = 1
16711 return 0;
16713 _ACEOF
16714 if ac_fn_c_try_link "$LINENO"; then :
16715 ac_cv_have_daylight="yes"
16716 else
16717 ac_cv_have_daylight="no"
16719 rm -f core conftest.err conftest.$ac_objext \
16720 conftest$ac_exeext conftest.$ac_ext
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16723 $as_echo "$ac_cv_have_daylight" >&6; }
16724 if test "$ac_cv_have_daylight" = "yes"
16725 then
16727 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16731 ac_save_LIBS="$LIBS"
16732 LIBS="$LIBS -lm"
16733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16734 $as_echo_n "checking for isfinite... " >&6; }
16735 if ${ac_cv_have_isfinite+:} false; then :
16736 $as_echo_n "(cached) " >&6
16737 else
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16740 #define _GNU_SOURCE
16741 #include <math.h>
16743 main ()
16745 float f = 0.0; return isfinite(f)
16747 return 0;
16749 _ACEOF
16750 if ac_fn_c_try_link "$LINENO"; then :
16751 ac_cv_have_isfinite="yes"
16752 else
16753 ac_cv_have_isfinite="no"
16755 rm -f core conftest.err conftest.$ac_objext \
16756 conftest$ac_exeext conftest.$ac_ext
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16759 $as_echo "$ac_cv_have_isfinite" >&6; }
16760 if test "$ac_cv_have_isfinite" = "yes"
16761 then
16763 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16768 $as_echo_n "checking for isinf... " >&6; }
16769 if ${ac_cv_have_isinf+:} false; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16773 /* end confdefs.h. */
16774 #include <math.h>
16776 main ()
16778 float f = 0.0; return isinf(f)
16780 return 0;
16782 _ACEOF
16783 if ac_fn_c_try_link "$LINENO"; then :
16784 ac_cv_have_isinf="yes"
16785 else
16786 ac_cv_have_isinf="no"
16788 rm -f core conftest.err conftest.$ac_objext \
16789 conftest$ac_exeext conftest.$ac_ext
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16792 $as_echo "$ac_cv_have_isinf" >&6; }
16793 if test "$ac_cv_have_isinf" = "yes"
16794 then
16796 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16801 $as_echo_n "checking for isnan... " >&6; }
16802 if ${ac_cv_have_isnan+:} false; then :
16803 $as_echo_n "(cached) " >&6
16804 else
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16807 #include <math.h>
16809 main ()
16811 float f = 0.0; return isnan(f)
16813 return 0;
16815 _ACEOF
16816 if ac_fn_c_try_link "$LINENO"; then :
16817 ac_cv_have_isnan="yes"
16818 else
16819 ac_cv_have_isnan="no"
16821 rm -f core conftest.err conftest.$ac_objext \
16822 conftest$ac_exeext conftest.$ac_ext
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16825 $as_echo "$ac_cv_have_isnan" >&6; }
16826 if test "$ac_cv_have_isnan" = "yes"
16827 then
16829 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16833 for ac_func in \
16834 cbrt \
16835 cbrtf \
16836 erf \
16837 erff \
16838 exp2 \
16839 exp2f \
16840 llrint \
16841 llrintf \
16842 llround \
16843 llroundf \
16844 log2 \
16845 log2f \
16846 lrint \
16847 lrintf \
16848 lround \
16849 lroundf \
16850 rint \
16851 rintf \
16852 round \
16853 roundf \
16854 trunc \
16855 truncf
16857 do :
16858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16860 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16861 cat >>confdefs.h <<_ACEOF
16862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16863 _ACEOF
16866 done
16868 LIBS="$ac_save_LIBS"
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16871 $as_echo_n "checking for __builtin_clz... " >&6; }
16872 if ${ac_cv_have___builtin_clz+:} false; then :
16873 $as_echo_n "(cached) " >&6
16874 else
16875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16876 /* end confdefs.h. */
16879 main ()
16881 return __builtin_clz(1)
16883 return 0;
16885 _ACEOF
16886 if ac_fn_c_try_link "$LINENO"; then :
16887 ac_cv_have___builtin_clz="yes"
16888 else
16889 ac_cv_have___builtin_clz="no"
16891 rm -f core conftest.err conftest.$ac_objext \
16892 conftest$ac_exeext conftest.$ac_ext
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16895 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16896 if test "$ac_cv_have___builtin_clz" = "yes"
16897 then
16899 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16904 $as_echo_n "checking for __builtin_popcount... " >&6; }
16905 if ${ac_cv_have___builtin_popcount+:} false; then :
16906 $as_echo_n "(cached) " >&6
16907 else
16908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16909 /* end confdefs.h. */
16912 main ()
16914 return __builtin_popcount(1)
16916 return 0;
16918 _ACEOF
16919 if ac_fn_c_try_link "$LINENO"; then :
16920 ac_cv_have___builtin_popcount="yes"
16921 else
16922 ac_cv_have___builtin_popcount="no"
16924 rm -f core conftest.err conftest.$ac_objext \
16925 conftest$ac_exeext conftest.$ac_ext
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16928 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16929 if test "$ac_cv_have___builtin_popcount" = "yes"
16930 then
16932 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16937 case $host_cpu in
16938 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16939 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16940 if ${ac_cv_cpp_def___i386__+:} false; then :
16941 $as_echo_n "(cached) " >&6
16942 else
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #ifndef __i386__
16947 #endif
16948 _ACEOF
16949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16950 $EGREP "yes" >/dev/null 2>&1; then :
16951 ac_cv_cpp_def___i386__=yes
16952 else
16953 ac_cv_cpp_def___i386__=no
16955 rm -f conftest*
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16959 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16960 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16961 CFLAGS="$CFLAGS -D__i386__"
16962 LINTFLAGS="$LINTFLAGS -D__i386__"
16963 fi ;;
16964 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16965 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16966 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16967 $as_echo_n "(cached) " >&6
16968 else
16969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16970 /* end confdefs.h. */
16971 #ifndef __x86_64__
16973 #endif
16974 _ACEOF
16975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16976 $EGREP "yes" >/dev/null 2>&1; then :
16977 ac_cv_cpp_def___x86_64__=yes
16978 else
16979 ac_cv_cpp_def___x86_64__=no
16981 rm -f conftest*
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16985 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16986 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16987 CFLAGS="$CFLAGS -D__x86_64__"
16988 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16989 fi ;;
16990 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16991 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16992 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16993 $as_echo_n "(cached) " >&6
16994 else
16995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996 /* end confdefs.h. */
16997 #ifndef __sparc64__
16999 #endif
17000 _ACEOF
17001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17002 $EGREP "yes" >/dev/null 2>&1; then :
17003 ac_cv_cpp_def___sparc64__=yes
17004 else
17005 ac_cv_cpp_def___sparc64__=no
17007 rm -f conftest*
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17011 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17012 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17013 CFLAGS="$CFLAGS -D__sparc64__"
17014 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17015 fi ;;
17016 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17017 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17018 if ${ac_cv_cpp_def___sparc__+:} false; then :
17019 $as_echo_n "(cached) " >&6
17020 else
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #ifndef __sparc__
17025 #endif
17026 _ACEOF
17027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17028 $EGREP "yes" >/dev/null 2>&1; then :
17029 ac_cv_cpp_def___sparc__=yes
17030 else
17031 ac_cv_cpp_def___sparc__=no
17033 rm -f conftest*
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17037 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17038 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17039 CFLAGS="$CFLAGS -D__sparc__"
17040 LINTFLAGS="$LINTFLAGS -D__sparc__"
17041 fi ;;
17042 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17043 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17044 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17045 $as_echo_n "(cached) " >&6
17046 else
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 #ifndef __powerpc64__
17051 #endif
17052 _ACEOF
17053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17054 $EGREP "yes" >/dev/null 2>&1; then :
17055 ac_cv_cpp_def___powerpc64__=yes
17056 else
17057 ac_cv_cpp_def___powerpc64__=no
17059 rm -f conftest*
17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17063 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17064 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17065 CFLAGS="$CFLAGS -D__powerpc64__"
17066 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17067 fi ;;
17068 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17069 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17070 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #ifndef __powerpc__
17077 #endif
17078 _ACEOF
17079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17080 $EGREP "yes" >/dev/null 2>&1; then :
17081 ac_cv_cpp_def___powerpc__=yes
17082 else
17083 ac_cv_cpp_def___powerpc__=no
17085 rm -f conftest*
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17089 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17090 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17091 CFLAGS="$CFLAGS -D__powerpc__"
17092 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17093 fi ;;
17094 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17095 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17096 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101 #ifndef __aarch64__
17103 #endif
17104 _ACEOF
17105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17106 $EGREP "yes" >/dev/null 2>&1; then :
17107 ac_cv_cpp_def___aarch64__=yes
17108 else
17109 ac_cv_cpp_def___aarch64__=no
17111 rm -f conftest*
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17115 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17116 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17117 CFLAGS="$CFLAGS -D__aarch64__"
17118 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17119 fi ;;
17120 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17121 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17122 if ${ac_cv_cpp_def___arm__+:} false; then :
17123 $as_echo_n "(cached) " >&6
17124 else
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #ifndef __arm__
17129 #endif
17130 _ACEOF
17131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17132 $EGREP "yes" >/dev/null 2>&1; then :
17133 ac_cv_cpp_def___arm__=yes
17134 else
17135 ac_cv_cpp_def___arm__=no
17137 rm -f conftest*
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17141 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17142 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17143 CFLAGS="$CFLAGS -D__arm__"
17144 LINTFLAGS="$LINTFLAGS -D__arm__"
17145 fi ;;
17146 esac
17148 case $host_vendor in
17149 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17150 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17151 if ${ac_cv_cpp_def___sun__+:} false; then :
17152 $as_echo_n "(cached) " >&6
17153 else
17154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17155 /* end confdefs.h. */
17156 #ifndef __sun__
17158 #endif
17159 _ACEOF
17160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17161 $EGREP "yes" >/dev/null 2>&1; then :
17162 ac_cv_cpp_def___sun__=yes
17163 else
17164 ac_cv_cpp_def___sun__=no
17166 rm -f conftest*
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17170 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17171 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17172 CFLAGS="$CFLAGS -D__sun__"
17173 LINTFLAGS="$LINTFLAGS -D__sun__"
17174 fi ;;
17175 esac
17181 ac_config_commands="$ac_config_commands include/stamp-h"
17183 $as_echo_n "creating Makefile rules..." >&6
17185 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17186 SOCKET_LIBS = $SOCKET_LIBS
17187 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17188 IOKIT_LIBS = $IOKIT_LIBS
17189 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17190 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17191 CORESERVICES_LIBS = $CORESERVICES_LIBS
17192 APPKIT_LIBS = $APPKIT_LIBS
17193 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17194 SECURITY_LIBS = $SECURITY_LIBS
17195 COREAUDIO_LIBS = $COREAUDIO_LIBS
17196 OPENAL_LIBS = $OPENAL_LIBS
17197 OPENCL_LIBS = $OPENCL_LIBS
17198 QUICKTIME_LIBS = $QUICKTIME_LIBS
17199 CARBON_LIBS = $CARBON_LIBS
17200 PTHREAD_LIBS = $PTHREAD_LIBS
17201 X_CFLAGS = $X_CFLAGS
17202 X_PRE_LIBS = $X_PRE_LIBS
17203 X_LIBS = $X_LIBS
17204 X_EXTRA_LIBS = $X_EXTRA_LIBS
17205 PCAP_LIBS = $PCAP_LIBS
17206 XML2_CFLAGS = $XML2_CFLAGS
17207 XML2_LIBS = $XML2_LIBS
17208 XSLT_CFLAGS = $XSLT_CFLAGS
17209 XSLT_LIBS = $XSLT_LIBS
17210 DBUS_CFLAGS = $DBUS_CFLAGS
17211 DBUS_LIBS = $DBUS_LIBS
17212 HAL_CFLAGS = $HAL_CFLAGS
17213 HAL_LIBS = $HAL_LIBS
17214 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17215 GNUTLS_LIBS = $GNUTLS_LIBS
17216 SANE_CFLAGS = $SANE_CFLAGS
17217 SANE_LIBS = $SANE_LIBS
17218 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17219 GPHOTO2_LIBS = $GPHOTO2_LIBS
17220 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17221 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17222 RESOLV_LIBS = $RESOLV_LIBS
17223 LCMS2_CFLAGS = $LCMS2_CFLAGS
17224 LCMS2_LIBS = $LCMS2_LIBS
17225 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17226 FREETYPE_LIBS = $FREETYPE_LIBS
17227 Z_LIBS = $Z_LIBS
17228 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17229 PULSE_CFLAGS = $PULSE_CFLAGS
17230 PULSE_LIBS = $PULSE_LIBS
17231 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17232 GSTREAMER_LIBS = $GSTREAMER_LIBS
17233 ALSA_LIBS = $ALSA_LIBS
17234 OSS4_CFLAGS = $OSS4_CFLAGS
17235 CAPI20_CFLAGS = $CAPI20_CFLAGS
17236 CAPI20_LIBS = $CAPI20_LIBS
17237 CUPS_CFLAGS = $CUPS_CFLAGS
17238 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17239 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17240 JPEG_CFLAGS = $JPEG_CFLAGS
17241 JPEG_LIBS = $JPEG_LIBS
17242 PNG_CFLAGS = $PNG_CFLAGS
17243 PNG_LIBS = $PNG_LIBS
17244 TIFF_CFLAGS = $TIFF_CFLAGS
17245 TIFF_LIBS = $TIFF_LIBS
17246 MPG123_CFLAGS = $MPG123_CFLAGS
17247 MPG123_LIBS = $MPG123_LIBS
17248 KSTAT_LIBS = $KSTAT_LIBS
17249 PROCSTAT_LIBS = $PROCSTAT_LIBS
17250 NETAPI_CFLAGS = $NETAPI_CFLAGS
17251 NETAPI_LIBS = $NETAPI_LIBS
17252 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17253 DL_LIBS = $DL_LIBS
17254 POLL_LIBS = $POLL_LIBS
17255 RT_LIBS = $RT_LIBS
17256 LDAP_LIBS = $LDAP_LIBS
17261 wine_fn_append_rule "
17262 # Rules automatically generated by configure
17264 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17266 .INIT: Makefile
17267 .MAKEFILEDEPS:
17268 all: Makefile
17269 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17270 @./config.status Make.tmp Makefile
17271 depend: \$(MAKEDEP) dummy
17272 \$(MAKEDEP)"
17274 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17275 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17277 if test "x$enable_fonts" != xno; then
17278 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17279 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17280 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17281 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17282 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17283 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17285 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17286 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17287 ac_config_links="$ac_config_links wine:tools/winewrapper"
17288 wine_fn_config_symlink wine
17289 if test "x$enable_win64" != xno; then
17290 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17291 wine_fn_config_symlink wine64
17294 wine_fn_config_dll acledit enable_acledit
17295 wine_fn_config_dll aclui enable_aclui implib
17296 wine_fn_config_dll activeds enable_activeds implib
17297 wine_fn_config_dll actxprxy enable_actxprxy clean
17298 wine_fn_config_lib adsiid
17299 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17300 wine_fn_config_test dlls/advapi32/tests advapi32_test
17301 wine_fn_config_dll advpack enable_advpack implib
17302 wine_fn_config_test dlls/advpack/tests advpack_test
17303 wine_fn_config_dll amstream enable_amstream clean
17304 wine_fn_config_test dlls/amstream/tests amstream_test
17305 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
17307 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17309 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17310 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17311 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17312 wine_fn_config_dll api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
17313 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17314 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17315 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17316 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17317 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17318 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17320 wine_fn_config_dll api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
17321 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17322 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17323 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17324 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17325 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17326 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17328 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17329 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17330 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17331 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
17332 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17334 wine_fn_config_dll api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
17335 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17336 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17337 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17338 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17341 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17342 wine_fn_config_dll api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
17343 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17346 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17347 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17348 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17349 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17350 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17351 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17352 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17355 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17357 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17358 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17359 wine_fn_config_dll api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
17360 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17361 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17362 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17363 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17364 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17365 wine_fn_config_dll api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
17366 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17367 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17368 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17369 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17370 wine_fn_config_dll api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
17371 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17372 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17373 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17374 wine_fn_config_dll api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
17375 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17376 wine_fn_config_dll api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
17377 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17378 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17379 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17380 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17381 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17382 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17383 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17384 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17385 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17386 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17387 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17388 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17389 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17390 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17391 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17392 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17393 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17394 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17395 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17396 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17397 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17398 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17399 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17400 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17401 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17402 wine_fn_config_dll api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
17403 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17404 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17405 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17406 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17407 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17408 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17409 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17410 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17411 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17412 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17413 wine_fn_config_dll apphelp enable_apphelp
17414 wine_fn_config_test dlls/apphelp/tests apphelp_test
17415 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl clean
17416 wine_fn_config_dll atl enable_atl clean,implib
17417 wine_fn_config_test dlls/atl/tests atl_test
17418 wine_fn_config_dll atl100 enable_atl100 clean,implib
17419 wine_fn_config_test dlls/atl100/tests atl100_test
17420 wine_fn_config_dll atl110 enable_atl110 clean
17421 wine_fn_config_dll atl80 enable_atl80 clean,implib
17422 wine_fn_config_test dlls/atl80/tests atl80_test
17423 wine_fn_config_dll atl90 enable_atl90 clean
17424 wine_fn_config_dll authz enable_authz
17425 wine_fn_config_dll avicap32 enable_avicap32 implib
17426 wine_fn_config_dll avifil32 enable_avifil32 clean,implib
17427 wine_fn_config_test dlls/avifil32/tests avifil32_test
17428 wine_fn_config_dll avifile.dll16 enable_win16
17429 wine_fn_config_dll avrt enable_avrt implib
17430 wine_fn_config_dll bcrypt enable_bcrypt implib
17431 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17432 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17433 wine_fn_config_dll browseui enable_browseui clean
17434 wine_fn_config_test dlls/browseui/tests browseui_test
17435 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17436 wine_fn_config_dll cabinet enable_cabinet implib
17437 wine_fn_config_test dlls/cabinet/tests cabinet_test
17438 wine_fn_config_dll capi2032 enable_capi2032 implib
17439 wine_fn_config_dll cards enable_cards implib
17440 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17441 wine_fn_config_dll clusapi enable_clusapi implib
17442 wine_fn_config_dll combase enable_combase
17443 wine_fn_config_test dlls/combase/tests combase_test
17444 wine_fn_config_dll comcat enable_comcat
17445 wine_fn_config_test dlls/comcat/tests comcat_test
17446 wine_fn_config_dll comctl32 enable_comctl32 clean,implib
17447 wine_fn_config_test dlls/comctl32/tests comctl32_test
17448 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib
17449 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17450 wine_fn_config_dll comm.drv16 enable_win16
17451 wine_fn_config_dll commdlg.dll16 enable_win16
17452 wine_fn_config_dll compobj.dll16 enable_win16
17453 wine_fn_config_dll compstui enable_compstui implib
17454 wine_fn_config_dll comsvcs enable_comsvcs implib
17455 wine_fn_config_dll connect enable_connect
17456 wine_fn_config_dll credui enable_credui clean,implib
17457 wine_fn_config_test dlls/credui/tests credui_test
17458 wine_fn_config_dll crtdll enable_crtdll implib
17459 wine_fn_config_dll crypt32 enable_crypt32 clean,implib
17460 wine_fn_config_test dlls/crypt32/tests crypt32_test
17461 wine_fn_config_dll cryptdlg enable_cryptdlg clean
17462 wine_fn_config_dll cryptdll enable_cryptdll implib
17463 wine_fn_config_dll cryptext enable_cryptext
17464 wine_fn_config_dll cryptnet enable_cryptnet implib
17465 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17466 wine_fn_config_dll cryptui enable_cryptui clean,implib
17467 wine_fn_config_test dlls/cryptui/tests cryptui_test
17468 wine_fn_config_dll ctapi32 enable_ctapi32
17469 wine_fn_config_dll ctl3d.dll16 enable_win16
17470 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17471 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17472 wine_fn_config_dll d2d1 enable_d2d1 implib
17473 wine_fn_config_test dlls/d2d1/tests d2d1_test
17474 wine_fn_config_dll d3d10 enable_d3d10 implib
17475 wine_fn_config_test dlls/d3d10/tests d3d10_test
17476 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17477 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17478 wine_fn_config_dll d3d10core enable_d3d10core implib
17479 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17480 wine_fn_config_dll d3d11 enable_d3d11 implib
17481 wine_fn_config_test dlls/d3d11/tests d3d11_test
17482 wine_fn_config_dll d3d8 enable_d3d8 implib
17483 wine_fn_config_test dlls/d3d8/tests d3d8_test
17484 wine_fn_config_dll d3d9 enable_d3d9 implib
17485 wine_fn_config_test dlls/d3d9/tests d3d9_test
17486 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17487 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17488 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17489 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17490 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17491 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17492 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17493 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17494 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17495 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17496 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17497 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17498 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17499 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17500 wine_fn_config_dll d3dim enable_d3dim implib
17501 wine_fn_config_dll d3drm enable_d3drm implib
17502 wine_fn_config_test dlls/d3drm/tests d3drm_test
17503 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17504 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17505 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17506 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17507 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17508 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17509 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17510 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17511 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17512 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17513 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17514 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17515 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17516 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17517 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17518 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17519 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17520 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17521 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17522 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17523 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17524 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17525 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17526 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17527 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17528 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17529 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17530 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17531 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17532 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17533 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17534 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17535 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17536 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17537 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17538 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17539 wine_fn_config_dll davclnt enable_davclnt
17540 wine_fn_config_dll dbgeng enable_dbgeng implib
17541 wine_fn_config_dll dbghelp enable_dbghelp implib
17542 wine_fn_config_dll dciman32 enable_dciman32 implib
17543 wine_fn_config_dll ddeml.dll16 enable_win16
17544 wine_fn_config_dll ddraw enable_ddraw clean,implib
17545 wine_fn_config_test dlls/ddraw/tests ddraw_test
17546 wine_fn_config_dll ddrawex enable_ddrawex clean
17547 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17548 wine_fn_config_dll devenum enable_devenum clean
17549 wine_fn_config_test dlls/devenum/tests devenum_test
17550 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17551 wine_fn_config_dll difxapi enable_difxapi
17552 wine_fn_config_dll dinput enable_dinput clean,implib,staticimplib
17553 wine_fn_config_test dlls/dinput/tests dinput_test
17554 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17555 wine_fn_config_test dlls/dinput8/tests dinput8_test
17556 wine_fn_config_dll dispdib.dll16 enable_win16
17557 wine_fn_config_dll dispex enable_dispex clean
17558 wine_fn_config_test dlls/dispex/tests dispex_test
17559 wine_fn_config_dll display.drv16 enable_win16
17560 wine_fn_config_dll dmband enable_dmband clean
17561 wine_fn_config_test dlls/dmband/tests dmband_test
17562 wine_fn_config_dll dmcompos enable_dmcompos clean
17563 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17564 wine_fn_config_dll dmime enable_dmime clean
17565 wine_fn_config_test dlls/dmime/tests dmime_test
17566 wine_fn_config_dll dmloader enable_dmloader clean
17567 wine_fn_config_test dlls/dmloader/tests dmloader_test
17568 wine_fn_config_dll dmscript enable_dmscript clean
17569 wine_fn_config_test dlls/dmscript/tests dmscript_test
17570 wine_fn_config_dll dmstyle enable_dmstyle clean
17571 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17572 wine_fn_config_dll dmsynth enable_dmsynth clean
17573 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17574 wine_fn_config_dll dmusic enable_dmusic clean
17575 wine_fn_config_test dlls/dmusic/tests dmusic_test
17576 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17577 wine_fn_config_dll dnsapi enable_dnsapi implib
17578 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17579 wine_fn_config_dll dplay enable_dplay implib
17580 wine_fn_config_dll dplayx enable_dplayx clean,implib
17581 wine_fn_config_test dlls/dplayx/tests dplayx_test
17582 wine_fn_config_dll dpnaddr enable_dpnaddr
17583 wine_fn_config_dll dpnet enable_dpnet clean,implib
17584 wine_fn_config_test dlls/dpnet/tests dpnet_test
17585 wine_fn_config_dll dpnhpast enable_dpnhpast
17586 wine_fn_config_dll dpnlobby enable_dpnlobby
17587 wine_fn_config_dll dpvoice enable_dpvoice clean
17588 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17589 wine_fn_config_dll dpwsockx enable_dpwsockx
17590 wine_fn_config_dll drmclien enable_drmclien
17591 wine_fn_config_dll dsound enable_dsound clean,implib
17592 wine_fn_config_test dlls/dsound/tests dsound_test
17593 wine_fn_config_dll dssenh enable_dssenh
17594 wine_fn_config_test dlls/dssenh/tests dssenh_test
17595 wine_fn_config_dll dswave enable_dswave clean
17596 wine_fn_config_test dlls/dswave/tests dswave_test
17597 wine_fn_config_dll dwmapi enable_dwmapi implib
17598 wine_fn_config_dll dwrite enable_dwrite implib
17599 wine_fn_config_test dlls/dwrite/tests dwrite_test
17600 wine_fn_config_dll dxdiagn enable_dxdiagn clean
17601 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17602 wine_fn_config_lib dxerr8
17603 wine_fn_config_lib dxerr9
17604 wine_fn_config_dll dxgi enable_dxgi implib
17605 wine_fn_config_test dlls/dxgi/tests dxgi_test
17606 wine_fn_config_lib dxguid
17607 wine_fn_config_dll dxva2 enable_dxva2
17608 wine_fn_config_dll esent enable_esent
17609 wine_fn_config_dll evr enable_evr
17610 wine_fn_config_dll explorerframe enable_explorerframe clean
17611 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17612 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17613 wine_fn_config_dll faultrep enable_faultrep implib
17614 wine_fn_config_test dlls/faultrep/tests faultrep_test
17615 wine_fn_config_dll fltlib enable_fltlib
17616 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17617 wine_fn_config_dll fntcache enable_fntcache
17618 wine_fn_config_dll fontsub enable_fontsub
17619 wine_fn_config_dll fusion enable_fusion
17620 wine_fn_config_test dlls/fusion/tests fusion_test
17621 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17622 wine_fn_config_dll gameux enable_gameux clean
17623 wine_fn_config_test dlls/gameux/tests gameux_test
17624 wine_fn_config_dll gdi.exe16 enable_win16
17625 wine_fn_config_dll gdi32 enable_gdi32 clean,implib
17626 wine_fn_config_test dlls/gdi32/tests gdi32_test
17627 wine_fn_config_dll gdiplus enable_gdiplus implib
17628 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17629 wine_fn_config_dll glu32 enable_glu32 implib
17630 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds clean
17631 wine_fn_config_dll gpkcsp enable_gpkcsp
17632 wine_fn_config_dll hal enable_hal
17633 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib htmlhelp
17634 wine_fn_config_dll hid enable_hid implib
17635 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17636 wine_fn_config_dll hlink enable_hlink clean,implib
17637 wine_fn_config_test dlls/hlink/tests hlink_test
17638 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17639 wine_fn_config_dll httpapi enable_httpapi
17640 wine_fn_config_dll iccvid enable_iccvid clean
17641 wine_fn_config_dll icmp enable_icmp
17642 wine_fn_config_dll ieframe enable_ieframe clean,implib
17643 wine_fn_config_test dlls/ieframe/tests ieframe_test
17644 wine_fn_config_dll ifsmgr.vxd enable_win16
17645 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17646 wine_fn_config_dll imagehlp enable_imagehlp implib
17647 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17648 wine_fn_config_dll imm.dll16 enable_win16
17649 wine_fn_config_dll imm32 enable_imm32 implib
17650 wine_fn_config_test dlls/imm32/tests imm32_test
17651 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17652 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17653 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl clean
17654 wine_fn_config_dll inetmib1 enable_inetmib1
17655 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17656 wine_fn_config_dll infosoft enable_infosoft clean
17657 wine_fn_config_test dlls/infosoft/tests infosoft_test
17658 wine_fn_config_dll initpki enable_initpki
17659 wine_fn_config_dll inkobj enable_inkobj
17660 wine_fn_config_dll inseng enable_inseng clean
17661 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17662 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17663 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17664 wine_fn_config_dll itircl enable_itircl
17665 wine_fn_config_dll itss enable_itss clean
17666 wine_fn_config_test dlls/itss/tests itss_test
17667 wine_fn_config_dll joy.cpl enable_joy_cpl clean
17668 wine_fn_config_dll jscript enable_jscript clean
17669 wine_fn_config_test dlls/jscript/tests jscript_test
17670 wine_fn_config_dll jsproxy enable_jsproxy implib
17671 wine_fn_config_dll kernel32 enable_kernel32 clean,implib
17672 wine_fn_config_test dlls/kernel32/tests kernel32_test
17673 wine_fn_config_dll kernelbase enable_kernelbase
17674 wine_fn_config_dll keyboard.drv16 enable_win16
17675 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17676 wine_fn_config_dll ksuser enable_ksuser
17677 wine_fn_config_dll ktmw32 enable_ktmw32
17678 wine_fn_config_dll loadperf enable_loadperf implib
17679 wine_fn_config_dll localspl enable_localspl clean
17680 wine_fn_config_test dlls/localspl/tests localspl_test
17681 wine_fn_config_dll localui enable_localui clean
17682 wine_fn_config_test dlls/localui/tests localui_test
17683 wine_fn_config_dll lz32 enable_lz32 implib
17684 wine_fn_config_test dlls/lz32/tests lz32_test
17685 wine_fn_config_dll lzexpand.dll16 enable_win16
17686 wine_fn_config_dll mapi32 enable_mapi32 clean,implib
17687 wine_fn_config_test dlls/mapi32/tests mapi32_test
17688 wine_fn_config_dll mapistub enable_mapistub
17689 wine_fn_config_dll mciavi32 enable_mciavi32
17690 wine_fn_config_dll mcicda enable_mcicda
17691 wine_fn_config_dll mciqtz32 enable_mciqtz32
17692 wine_fn_config_dll mciseq enable_mciseq
17693 wine_fn_config_dll mciwave enable_mciwave
17694 wine_fn_config_dll mf enable_mf
17695 wine_fn_config_dll mfplat enable_mfplat
17696 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17697 wine_fn_config_dll mgmtapi enable_mgmtapi
17698 wine_fn_config_dll midimap enable_midimap
17699 wine_fn_config_dll mlang enable_mlang clean,implib
17700 wine_fn_config_test dlls/mlang/tests mlang_test
17701 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17702 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17703 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17704 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17705 wine_fn_config_dll mmdevldr.vxd enable_win16
17706 wine_fn_config_dll mmsystem.dll16 enable_win16
17707 wine_fn_config_dll monodebg.vxd enable_win16
17708 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17709 wine_fn_config_dll mouse.drv16 enable_win16
17710 wine_fn_config_dll mpr enable_mpr clean,implib
17711 wine_fn_config_test dlls/mpr/tests mpr_test
17712 wine_fn_config_dll mprapi enable_mprapi implib
17713 wine_fn_config_dll msacm.dll16 enable_win16
17714 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17715 wine_fn_config_dll msacm32 enable_msacm32 clean,implib
17716 wine_fn_config_test dlls/msacm32/tests msacm32_test
17717 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17718 wine_fn_config_dll msasn1 enable_msasn1 implib
17719 wine_fn_config_dll mscat32 enable_mscat32
17720 wine_fn_config_dll mscms enable_mscms implib
17721 wine_fn_config_test dlls/mscms/tests mscms_test
17722 wine_fn_config_dll mscoree enable_mscoree clean
17723 wine_fn_config_test dlls/mscoree/tests mscoree_test
17724 wine_fn_config_dll msctf enable_msctf clean
17725 wine_fn_config_test dlls/msctf/tests msctf_test
17726 wine_fn_config_dll msctfp enable_msctfp clean
17727 wine_fn_config_dll msdaps enable_msdaps clean
17728 wine_fn_config_dll msdelta enable_msdelta
17729 wine_fn_config_dll msdmo enable_msdmo implib
17730 wine_fn_config_test dlls/msdmo/tests msdmo_test
17731 wine_fn_config_dll msdrm enable_msdrm
17732 wine_fn_config_dll msftedit enable_msftedit
17733 wine_fn_config_dll msg711.acm enable_msg711_acm
17734 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17735 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17736 wine_fn_config_dll mshtml enable_mshtml clean,implib
17737 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17738 wine_fn_config_dll msi enable_msi clean,implib
17739 wine_fn_config_test dlls/msi/tests msi_test
17740 wine_fn_config_dll msident enable_msident clean
17741 wine_fn_config_dll msimg32 enable_msimg32 implib
17742 wine_fn_config_dll msimsg enable_msimsg
17743 wine_fn_config_dll msimtf enable_msimtf clean
17744 wine_fn_config_dll msisip enable_msisip
17745 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17746 wine_fn_config_dll msls31 enable_msls31
17747 wine_fn_config_dll msnet32 enable_msnet32
17748 wine_fn_config_dll mspatcha enable_mspatcha implib
17749 wine_fn_config_dll msrle32 enable_msrle32 clean
17750 wine_fn_config_test dlls/msrle32/tests msrle32_test
17751 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17752 wine_fn_config_dll mssign32 enable_mssign32
17753 wine_fn_config_dll mssip32 enable_mssip32
17754 wine_fn_config_dll mstask enable_mstask clean
17755 wine_fn_config_test dlls/mstask/tests mstask_test
17756 wine_fn_config_dll msvcirt enable_msvcirt
17757 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17758 wine_fn_config_dll msvcm80 enable_msvcm80
17759 wine_fn_config_dll msvcm90 enable_msvcm90
17760 wine_fn_config_dll msvcp100 enable_msvcp100
17761 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17762 wine_fn_config_dll msvcp110 enable_msvcp110
17763 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17764 wine_fn_config_dll msvcp120 enable_msvcp120
17765 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17766 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17767 wine_fn_config_dll msvcp60 enable_msvcp60
17768 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17769 wine_fn_config_dll msvcp70 enable_msvcp70
17770 wine_fn_config_dll msvcp71 enable_msvcp71
17771 wine_fn_config_dll msvcp80 enable_msvcp80
17772 wine_fn_config_dll msvcp90 enable_msvcp90
17773 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17774 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17775 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17776 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17777 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17778 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17779 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17780 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17781 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17782 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17783 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17784 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17785 wine_fn_config_dll msvcrt enable_msvcrt implib
17786 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17787 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17788 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17789 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17790 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17791 wine_fn_config_dll msvfw32 enable_msvfw32 clean,implib
17792 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17793 wine_fn_config_dll msvidc32 enable_msvidc32 clean
17794 wine_fn_config_dll msvideo.dll16 enable_win16
17795 wine_fn_config_dll mswsock enable_mswsock implib
17796 wine_fn_config_dll msxml enable_msxml clean
17797 wine_fn_config_dll msxml2 enable_msxml2 clean
17798 wine_fn_config_dll msxml3 enable_msxml3 clean
17799 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17800 wine_fn_config_dll msxml4 enable_msxml4 clean
17801 wine_fn_config_dll msxml6 enable_msxml6 clean
17802 wine_fn_config_dll nddeapi enable_nddeapi implib
17803 wine_fn_config_dll ndis.sys enable_ndis_sys
17804 wine_fn_config_dll netapi32 enable_netapi32 implib
17805 wine_fn_config_test dlls/netapi32/tests netapi32_test
17806 wine_fn_config_dll netcfgx enable_netcfgx clean
17807 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17808 wine_fn_config_dll netprofm enable_netprofm clean
17809 wine_fn_config_test dlls/netprofm/tests netprofm_test
17810 wine_fn_config_dll newdev enable_newdev implib
17811 wine_fn_config_dll normaliz enable_normaliz implib
17812 wine_fn_config_dll npmshtml enable_npmshtml
17813 wine_fn_config_dll npptools enable_npptools
17814 wine_fn_config_dll ntdll enable_ntdll implib
17815 wine_fn_config_test dlls/ntdll/tests ntdll_test
17816 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17817 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17818 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17819 wine_fn_config_dll ntprint enable_ntprint
17820 wine_fn_config_test dlls/ntprint/tests ntprint_test
17821 wine_fn_config_dll objsel enable_objsel clean
17822 wine_fn_config_dll odbc32 enable_odbc32 implib
17823 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17824 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17825 wine_fn_config_dll odbccu32 enable_odbccu32
17826 wine_fn_config_dll ole2.dll16 enable_win16
17827 wine_fn_config_dll ole2conv.dll16 enable_win16
17828 wine_fn_config_dll ole2disp.dll16 enable_win16
17829 wine_fn_config_dll ole2nls.dll16 enable_win16
17830 wine_fn_config_dll ole2prox.dll16 enable_win16
17831 wine_fn_config_dll ole2thk.dll16 enable_win16
17832 wine_fn_config_dll ole32 enable_ole32 clean,implib
17833 wine_fn_config_test dlls/ole32/tests ole32_test
17834 wine_fn_config_dll oleacc enable_oleacc clean,implib
17835 wine_fn_config_test dlls/oleacc/tests oleacc_test
17836 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib
17837 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17838 wine_fn_config_dll olecli.dll16 enable_win16
17839 wine_fn_config_dll olecli32 enable_olecli32 implib
17840 wine_fn_config_dll oledb32 enable_oledb32 clean
17841 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17842 wine_fn_config_dll oledlg enable_oledlg clean,implib
17843 wine_fn_config_test dlls/oledlg/tests oledlg_test
17844 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17845 wine_fn_config_dll olesvr.dll16 enable_win16
17846 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17847 wine_fn_config_dll olethk32 enable_olethk32
17848 wine_fn_config_dll openal32 enable_openal32
17849 wine_fn_config_dll opencl enable_opencl
17850 wine_fn_config_dll opengl32 enable_opengl32 implib
17851 wine_fn_config_test dlls/opengl32/tests opengl32_test
17852 wine_fn_config_dll packager enable_packager clean
17853 wine_fn_config_test dlls/packager/tests packager_test
17854 wine_fn_config_dll pdh enable_pdh implib
17855 wine_fn_config_test dlls/pdh/tests pdh_test
17856 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17857 wine_fn_config_dll pidgen enable_pidgen
17858 wine_fn_config_dll powrprof enable_powrprof implib
17859 wine_fn_config_dll printui enable_printui
17860 wine_fn_config_dll prntvpt enable_prntvpt
17861 wine_fn_config_dll propsys enable_propsys clean,implib
17862 wine_fn_config_test dlls/propsys/tests propsys_test
17863 wine_fn_config_dll psapi enable_psapi implib
17864 wine_fn_config_test dlls/psapi/tests psapi_test
17865 wine_fn_config_dll pstorec enable_pstorec clean
17866 wine_fn_config_dll qcap enable_qcap
17867 wine_fn_config_test dlls/qcap/tests qcap_test
17868 wine_fn_config_dll qedit enable_qedit clean
17869 wine_fn_config_test dlls/qedit/tests qedit_test
17870 wine_fn_config_dll qmgr enable_qmgr clean
17871 wine_fn_config_test dlls/qmgr/tests qmgr_test
17872 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17873 wine_fn_config_dll quartz enable_quartz clean,implib
17874 wine_fn_config_test dlls/quartz/tests quartz_test clean
17875 wine_fn_config_dll query enable_query
17876 wine_fn_config_dll rasapi16.dll16 enable_win16
17877 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17878 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17879 wine_fn_config_dll rasdlg enable_rasdlg implib
17880 wine_fn_config_dll regapi enable_regapi
17881 wine_fn_config_dll resutils enable_resutils implib
17882 wine_fn_config_dll riched20 enable_riched20 clean,implib
17883 wine_fn_config_test dlls/riched20/tests riched20_test
17884 wine_fn_config_dll riched32 enable_riched32
17885 wine_fn_config_test dlls/riched32/tests riched32_test
17886 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17887 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17888 wine_fn_config_dll rsabase enable_rsabase
17889 wine_fn_config_dll rsaenh enable_rsaenh implib
17890 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17891 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17892 wine_fn_config_dll rtutils enable_rtutils implib
17893 wine_fn_config_dll samlib enable_samlib
17894 wine_fn_config_dll sane.ds enable_sane_ds clean
17895 wine_fn_config_dll scarddlg enable_scarddlg
17896 wine_fn_config_dll sccbase enable_sccbase
17897 wine_fn_config_dll schannel enable_schannel
17898 wine_fn_config_test dlls/schannel/tests schannel_test
17899 wine_fn_config_dll schedsvc enable_schedsvc clean
17900 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17901 wine_fn_config_dll scrrun enable_scrrun clean
17902 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17903 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17904 wine_fn_config_dll secur32 enable_secur32 implib
17905 wine_fn_config_test dlls/secur32/tests secur32_test
17906 wine_fn_config_dll security enable_security
17907 wine_fn_config_dll sensapi enable_sensapi implib
17908 wine_fn_config_dll serialui enable_serialui clean,implib
17909 wine_fn_config_test dlls/serialui/tests serialui_test
17910 wine_fn_config_dll setupapi enable_setupapi clean,implib
17911 wine_fn_config_test dlls/setupapi/tests setupapi_test
17912 wine_fn_config_dll setupx.dll16 enable_win16
17913 wine_fn_config_dll sfc enable_sfc implib
17914 wine_fn_config_dll sfc_os enable_sfc_os implib
17915 wine_fn_config_dll shdoclc enable_shdoclc clean
17916 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17917 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17918 wine_fn_config_dll shell.dll16 enable_win16
17919 wine_fn_config_dll shell32 enable_shell32 clean,implib
17920 wine_fn_config_test dlls/shell32/tests shell32_test
17921 wine_fn_config_dll shfolder enable_shfolder implib
17922 wine_fn_config_dll shlwapi enable_shlwapi clean,implib
17923 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17924 wine_fn_config_dll slbcsp enable_slbcsp
17925 wine_fn_config_dll slc enable_slc implib
17926 wine_fn_config_test dlls/slc/tests slc_test
17927 wine_fn_config_dll snmpapi enable_snmpapi implib
17928 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17929 wine_fn_config_dll softpub enable_softpub
17930 wine_fn_config_dll sound.drv16 enable_win16
17931 wine_fn_config_dll spoolss enable_spoolss implib
17932 wine_fn_config_test dlls/spoolss/tests spoolss_test
17933 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17934 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17935 wine_fn_config_dll sti enable_sti clean,implib
17936 wine_fn_config_test dlls/sti/tests sti_test
17937 wine_fn_config_dll storage.dll16 enable_win16
17938 wine_fn_config_dll stress.dll16 enable_win16
17939 wine_fn_config_lib strmbase
17940 wine_fn_config_lib strmiids
17941 wine_fn_config_dll svrapi enable_svrapi
17942 wine_fn_config_dll sxs enable_sxs implib
17943 wine_fn_config_test dlls/sxs/tests sxs_test
17944 wine_fn_config_dll system.drv16 enable_win16
17945 wine_fn_config_dll t2embed enable_t2embed
17946 wine_fn_config_dll tapi32 enable_tapi32 implib
17947 wine_fn_config_dll taskschd enable_taskschd clean
17948 wine_fn_config_test dlls/taskschd/tests taskschd_test
17949 wine_fn_config_dll tdi.sys enable_tdi_sys
17950 wine_fn_config_dll toolhelp.dll16 enable_win16
17951 wine_fn_config_dll traffic enable_traffic
17952 wine_fn_config_dll twain.dll16 enable_win16
17953 wine_fn_config_dll twain_32 enable_twain_32
17954 wine_fn_config_test dlls/twain_32/tests twain_32_test
17955 wine_fn_config_dll typelib.dll16 enable_win16
17956 wine_fn_config_dll ucrtbase enable_ucrtbase
17957 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17958 wine_fn_config_dll unicows enable_unicows implib
17959 wine_fn_config_dll updspapi enable_updspapi
17960 wine_fn_config_dll url enable_url implib
17961 wine_fn_config_dll urlmon enable_urlmon clean,implib
17962 wine_fn_config_test dlls/urlmon/tests urlmon_test
17963 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17964 wine_fn_config_dll user.exe16 enable_win16
17965 wine_fn_config_dll user32 enable_user32 clean,implib
17966 wine_fn_config_test dlls/user32/tests user32_test
17967 wine_fn_config_dll userenv enable_userenv implib
17968 wine_fn_config_test dlls/userenv/tests userenv_test
17969 wine_fn_config_dll usp10 enable_usp10 implib
17970 wine_fn_config_test dlls/usp10/tests usp10_test
17971 wine_fn_config_lib uuid
17972 wine_fn_config_dll uxtheme enable_uxtheme implib
17973 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17974 wine_fn_config_dll vbscript enable_vbscript clean
17975 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17976 wine_fn_config_dll vcomp enable_vcomp
17977 wine_fn_config_test dlls/vcomp/tests vcomp_test
17978 wine_fn_config_dll vcomp100 enable_vcomp100
17979 wine_fn_config_dll vcomp110 enable_vcomp110
17980 wine_fn_config_dll vcomp120 enable_vcomp120
17981 wine_fn_config_dll vcomp90 enable_vcomp90
17982 wine_fn_config_dll vcruntime140 enable_vcruntime140
17983 wine_fn_config_dll vdhcp.vxd enable_win16
17984 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17985 wine_fn_config_dll ver.dll16 enable_win16
17986 wine_fn_config_dll version enable_version implib
17987 wine_fn_config_test dlls/version/tests version_test
17988 wine_fn_config_dll vmm.vxd enable_win16
17989 wine_fn_config_dll vnbt.vxd enable_win16
17990 wine_fn_config_dll vnetbios.vxd enable_win16
17991 wine_fn_config_dll vssapi enable_vssapi
17992 wine_fn_config_dll vtdapi.vxd enable_win16
17993 wine_fn_config_dll vwin32.vxd enable_win16
17994 wine_fn_config_dll w32skrnl enable_win16
17995 wine_fn_config_dll w32sys.dll16 enable_win16
17996 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17997 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17998 wine_fn_config_dll wbemprox enable_wbemprox clean
17999 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
18000 wine_fn_config_dll webservices enable_webservices implib
18001 wine_fn_config_test dlls/webservices/tests webservices_test
18002 wine_fn_config_dll wer enable_wer implib
18003 wine_fn_config_test dlls/wer/tests wer_test
18004 wine_fn_config_dll wevtapi enable_wevtapi
18005 wine_fn_config_dll wiaservc enable_wiaservc clean
18006 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
18007 wine_fn_config_dll wimgapi enable_wimgapi
18008 wine_fn_config_dll win32s16.dll16 enable_win16
18009 wine_fn_config_dll win87em.dll16 enable_win16
18010 wine_fn_config_dll winaspi.dll16 enable_win16
18011 wine_fn_config_dll windebug.dll16 enable_win16
18012 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
18013 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
18014 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
18015 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
18016 wine_fn_config_dll winealsa.drv enable_winealsa_drv
18017 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
18018 wine_fn_config_lib winecrt0
18019 wine_fn_config_dll wined3d enable_wined3d implib
18020 wine_fn_config_dll winegstreamer enable_winegstreamer
18021 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18022 wine_fn_config_dll winemac.drv enable_winemac_drv clean
18023 wine_fn_config_dll winemapi enable_winemapi
18024 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18025 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18026 wine_fn_config_dll wineps.drv enable_wineps_drv clean
18027 wine_fn_config_dll wineps16.drv16 enable_win16
18028 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18029 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18030 wine_fn_config_dll winex11.drv enable_winex11_drv
18031 wine_fn_config_dll wing.dll16 enable_win16
18032 wine_fn_config_dll wing32 enable_wing32
18033 wine_fn_config_dll winhttp enable_winhttp clean,implib
18034 wine_fn_config_test dlls/winhttp/tests winhttp_test
18035 wine_fn_config_dll wininet enable_wininet clean,implib
18036 wine_fn_config_test dlls/wininet/tests wininet_test
18037 wine_fn_config_dll winmm enable_winmm clean,implib
18038 wine_fn_config_test dlls/winmm/tests winmm_test
18039 wine_fn_config_dll winnls.dll16 enable_win16
18040 wine_fn_config_dll winnls32 enable_winnls32 implib
18041 wine_fn_config_dll winscard enable_winscard implib
18042 wine_fn_config_dll winsock.dll16 enable_win16
18043 wine_fn_config_dll winspool.drv enable_winspool_drv clean,implib winspool
18044 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18045 wine_fn_config_dll winsta enable_winsta
18046 wine_fn_config_dll wintab.dll16 enable_win16
18047 wine_fn_config_dll wintab32 enable_wintab32 implib
18048 wine_fn_config_test dlls/wintab32/tests wintab32_test
18049 wine_fn_config_dll wintrust enable_wintrust implib
18050 wine_fn_config_test dlls/wintrust/tests wintrust_test
18051 wine_fn_config_dll wlanapi enable_wlanapi
18052 wine_fn_config_dll wldap32 enable_wldap32 clean,implib
18053 wine_fn_config_test dlls/wldap32/tests wldap32_test
18054 wine_fn_config_dll wmasf enable_wmasf
18055 wine_fn_config_dll wmi enable_wmi
18056 wine_fn_config_dll wmiutils enable_wmiutils clean
18057 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18058 wine_fn_config_dll wmp enable_wmp clean
18059 wine_fn_config_test dlls/wmp/tests wmp_test
18060 wine_fn_config_dll wmvcore enable_wmvcore
18061 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18062 wine_fn_config_dll wow32 enable_win16 implib
18063 wine_fn_config_dll wpcap enable_wpcap
18064 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18065 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18066 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18067 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18068 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18069 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18070 wine_fn_config_dll wsock32 enable_wsock32 implib
18071 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18072 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18073 wine_fn_config_dll wuapi enable_wuapi clean
18074 wine_fn_config_dll wuaueng enable_wuaueng
18075 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18076 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18077 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18078 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18079 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18080 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18081 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18082 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18083 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18084 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18085 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18086 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18087 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18088 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18089 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18090 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18091 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18092 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18093 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18094 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18095 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18096 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18097 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18098 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18099 wine_fn_config_dll xinput1_1 enable_xinput1_1
18100 wine_fn_config_dll xinput1_2 enable_xinput1_2
18101 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18102 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18103 wine_fn_config_dll xinput1_4 enable_xinput1_4
18104 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18105 wine_fn_config_dll xmllite enable_xmllite implib
18106 wine_fn_config_test dlls/xmllite/tests xmllite_test
18107 wine_fn_config_dll xolehlp enable_xolehlp
18108 wine_fn_config_dll xpsprint enable_xpsprint
18109 wine_fn_config_dll xpssvcs enable_xpssvcs
18110 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18111 wine_fn_config_makefile include enable_include clean,install-dev
18112 wine_fn_config_makefile libs/port enable_libs_port
18113 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18114 wine_fn_config_makefile libs/wpp enable_libs_wpp
18115 wine_fn_config_makefile loader enable_loader clean,install-lib
18116 wine_fn_config_makefile po enable_po clean
18117 wine_fn_config_program arp enable_arp install
18118 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18119 wine_fn_config_program attrib enable_attrib clean,install
18120 wine_fn_config_program cabarc enable_cabarc install
18121 wine_fn_config_program cacls enable_cacls install
18122 wine_fn_config_program clock enable_clock clean,install
18123 wine_fn_config_program cmd enable_cmd clean,install
18124 wine_fn_config_test programs/cmd/tests cmd.exe_test
18125 wine_fn_config_program conhost enable_conhost install
18126 wine_fn_config_program control enable_control install
18127 wine_fn_config_program cscript enable_cscript clean,install
18128 wine_fn_config_program dpnsvr enable_dpnsvr install
18129 wine_fn_config_program dxdiag enable_dxdiag clean,install
18130 wine_fn_config_program eject enable_eject install
18131 wine_fn_config_program expand enable_expand install
18132 wine_fn_config_program explorer enable_explorer clean,install
18133 wine_fn_config_program extrac32 enable_extrac32 install
18134 wine_fn_config_program findstr enable_findstr install
18135 wine_fn_config_program hh enable_hh install
18136 wine_fn_config_program hostname enable_hostname clean,install
18137 wine_fn_config_program icacls enable_icacls install
18138 wine_fn_config_program icinfo enable_icinfo install
18139 wine_fn_config_program iexplore enable_iexplore install
18140 wine_fn_config_program ipconfig enable_ipconfig clean,install
18141 wine_fn_config_program lodctr enable_lodctr install
18142 wine_fn_config_program mofcomp enable_mofcomp install
18143 wine_fn_config_program mshta enable_mshta install
18144 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18145 wine_fn_config_program net enable_net clean,install
18146 wine_fn_config_program netsh enable_netsh install
18147 wine_fn_config_program netstat enable_netstat clean,install
18148 wine_fn_config_program ngen enable_ngen install
18149 wine_fn_config_program notepad enable_notepad clean,install,installbin,manpage
18150 wine_fn_config_program oleview enable_oleview clean,install
18151 wine_fn_config_program ping enable_ping install
18152 wine_fn_config_program plugplay enable_plugplay install
18153 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18154 wine_fn_config_program progman enable_progman clean,install
18155 wine_fn_config_program reg enable_reg clean,install
18156 wine_fn_config_test programs/reg/tests reg.exe_test
18157 wine_fn_config_program regasm enable_regasm install
18158 wine_fn_config_program regedit enable_regedit clean,install,installbin,manpage
18159 wine_fn_config_test programs/regedit/tests regedit.exe_test
18160 wine_fn_config_program regsvcs enable_regsvcs install
18161 wine_fn_config_program regsvr32 enable_regsvr32 clean,install,installbin,manpage
18162 wine_fn_config_program rpcss enable_rpcss clean,install
18163 wine_fn_config_program rundll.exe16 enable_win16 install
18164 wine_fn_config_program rundll32 enable_rundll32 install
18165 wine_fn_config_program sc enable_sc install
18166 wine_fn_config_program schtasks enable_schtasks install
18167 wine_fn_config_program sdbinst enable_sdbinst install
18168 wine_fn_config_program secedit enable_secedit install
18169 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18170 wine_fn_config_program services enable_services clean,install
18171 wine_fn_config_test programs/services/tests services.exe_test
18172 wine_fn_config_program shutdown enable_shutdown install
18173 wine_fn_config_program spoolsv enable_spoolsv install
18174 wine_fn_config_program start enable_start clean,install
18175 wine_fn_config_program svchost enable_svchost install
18176 wine_fn_config_program systeminfo enable_systeminfo install
18177 wine_fn_config_program taskkill enable_taskkill clean,install
18178 wine_fn_config_program tasklist enable_tasklist install
18179 wine_fn_config_program taskmgr enable_taskmgr clean,install
18180 wine_fn_config_program termsv enable_termsv install
18181 wine_fn_config_program uninstaller enable_uninstaller clean,install
18182 wine_fn_config_program unlodctr enable_unlodctr install
18183 wine_fn_config_program view enable_view clean,install
18184 wine_fn_config_program wevtutil enable_wevtutil install
18185 wine_fn_config_program wineboot enable_wineboot clean,install,installbin,manpage
18186 wine_fn_config_program winebrowser enable_winebrowser install
18187 wine_fn_config_program winecfg enable_winecfg clean,install,installbin,manpage
18188 wine_fn_config_program wineconsole enable_wineconsole clean,install,installbin,manpage
18189 wine_fn_config_program winedbg enable_winedbg clean,install,installbin,manpage
18190 wine_fn_config_program winedevice enable_winedevice install
18191 wine_fn_config_program winefile enable_winefile clean,install,installbin,manpage
18192 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18193 wine_fn_config_program winemine enable_winemine clean,install,installbin,manpage
18194 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18195 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18196 wine_fn_config_program winetest enable_winetest clean
18197 wine_fn_config_program winevdm enable_win16 install
18198 wine_fn_config_program winhelp.exe16 enable_win16 install
18199 wine_fn_config_program winhlp32 enable_winhlp32 clean,install
18200 wine_fn_config_program winoldap.mod16 enable_win16 install
18201 wine_fn_config_program winver enable_winver install
18202 wine_fn_config_program wmic enable_wmic clean,install
18203 wine_fn_config_program wmplayer enable_wmplayer install
18204 wine_fn_config_program wordpad enable_wordpad clean,install
18205 wine_fn_config_program write enable_write clean,install
18206 wine_fn_config_program wscript enable_wscript clean,install
18207 wine_fn_config_test programs/wscript/tests wscript.exe_test
18208 wine_fn_config_program wusa enable_wusa install
18209 wine_fn_config_program xcopy enable_xcopy clean,install
18210 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18211 wine_fn_config_makefile server enable_server clean,install-lib
18212 wine_fn_config_tool tools clean
18213 wine_fn_config_tool tools/sfnt2fon clean
18214 wine_fn_config_tool tools/widl clean,install-dev
18215 wine_fn_config_tool tools/winebuild clean,install-dev
18216 wine_fn_config_tool tools/winedump clean,install-dev
18217 wine_fn_config_tool tools/winegcc clean,install-dev
18218 wine_fn_config_tool tools/winemaker clean,install-dev
18219 wine_fn_config_tool tools/wmc clean,install-dev
18220 wine_fn_config_tool tools/wrc clean,install-dev
18223 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
18224 wine_fn_append_file CONFIGURE_TARGETS "tags"
18225 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
18226 wine_fn_append_file CONFIGURE_TARGETS "config.log"
18227 wine_fn_append_file CONFIGURE_TARGETS "config.status"
18228 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
18229 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
18230 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
18232 if test "x$enable_tools" != xno
18233 then
18234 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
18235 ac_config_commands="$ac_config_commands tools/makedep"
18239 ac_config_commands="$ac_config_commands Makefile"
18242 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18246 if test "x$enable_maintainer_mode" = xyes
18247 then
18248 wine_fn_append_rule "configure: configure.ac aclocal.m4
18249 autoconf --warnings=all
18250 include/config.h.in: include/stamp-h.in
18251 include/stamp-h.in: configure.ac aclocal.m4
18252 autoheader --warnings=all
18253 @echo timestamp > \$@"
18256 if test "x$enable_tools" != xno
18257 then
18258 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18259 @./config.status tools/makedep
18260 Makefile: tools/makedep$ac_exeext"
18261 else
18262 wine_fn_append_rule "\$(MAKEDEP):
18263 @echo \"You need to run make in $TOOLSDIR first\" && false"
18266 if test -n "$with_wine64"
18267 then
18268 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18269 fonts server:
18270 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18271 $with_wine64/loader/wine:
18272 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18273 $with_wine64/loader/wine-preloader:
18274 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18275 clean::
18276 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18277 else
18278 WINELOADER_INSTALL="wine.inf"
18280 wine_fn_append_rule "install install-lib::
18281 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18282 uninstall::
18283 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18284 case $host_os in
18285 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18286 *) wine_fn_append_rule "install install-lib::
18287 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18288 uninstall::
18289 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18290 esac
18293 $as_echo " done" >&6
18294 cat >confcache <<\_ACEOF
18295 # This file is a shell script that caches the results of configure
18296 # tests run on this system so they can be shared between configure
18297 # scripts and configure runs, see configure's option --config-cache.
18298 # It is not useful on other systems. If it contains results you don't
18299 # want to keep, you may remove or edit it.
18301 # config.status only pays attention to the cache file if you give it
18302 # the --recheck option to rerun configure.
18304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18306 # following values.
18308 _ACEOF
18310 # The following way of writing the cache mishandles newlines in values,
18311 # but we know of no workaround that is simple, portable, and efficient.
18312 # So, we kill variables containing newlines.
18313 # Ultrix sh set writes to stderr and can't be redirected directly,
18314 # and sets the high bit in the cache file unless we assign to the vars.
18316 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18317 eval ac_val=\$$ac_var
18318 case $ac_val in #(
18319 *${as_nl}*)
18320 case $ac_var in #(
18321 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18322 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18323 esac
18324 case $ac_var in #(
18325 _ | IFS | as_nl) ;; #(
18326 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18327 *) { eval $ac_var=; unset $ac_var;} ;;
18328 esac ;;
18329 esac
18330 done
18332 (set) 2>&1 |
18333 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18334 *${as_nl}ac_space=\ *)
18335 # `set' does not quote correctly, so add quotes: double-quote
18336 # substitution turns \\\\ into \\, and sed turns \\ into \.
18337 sed -n \
18338 "s/'/'\\\\''/g;
18339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18340 ;; #(
18342 # `set' quotes correctly as required by POSIX, so do not add quotes.
18343 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18345 esac |
18346 sort
18348 sed '
18349 /^ac_cv_env_/b end
18350 t clear
18351 :clear
18352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18353 t end
18354 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18355 :end' >>confcache
18356 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18357 if test -w "$cache_file"; then
18358 if test "x$cache_file" != "x/dev/null"; then
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18360 $as_echo "$as_me: updating cache $cache_file" >&6;}
18361 if test ! -f "$cache_file" || test -h "$cache_file"; then
18362 cat confcache >"$cache_file"
18363 else
18364 case $cache_file in #(
18365 */* | ?:*)
18366 mv -f confcache "$cache_file"$$ &&
18367 mv -f "$cache_file"$$ "$cache_file" ;; #(
18369 mv -f confcache "$cache_file" ;;
18370 esac
18373 else
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18375 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18378 rm -f confcache
18380 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18381 # Let make expand exec_prefix.
18382 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18384 DEFS=-DHAVE_CONFIG_H
18386 ac_libobjs=
18387 ac_ltlibobjs=
18389 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18390 # 1. Remove the extension, and $U if already installed.
18391 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18392 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18393 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18394 # will be set to the directory where LIBOBJS objects are built.
18395 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18396 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18397 done
18398 LIBOBJS=$ac_libobjs
18400 LTLIBOBJS=$ac_ltlibobjs
18404 : "${CONFIG_STATUS=./config.status}"
18405 ac_write_fail=0
18406 ac_clean_files_save=$ac_clean_files
18407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18410 as_write_fail=0
18411 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18412 #! $SHELL
18413 # Generated by $as_me.
18414 # Run this file to recreate the current configuration.
18415 # Compiler output produced by configure, useful for debugging
18416 # configure, is in config.log if it exists.
18418 debug=false
18419 ac_cs_recheck=false
18420 ac_cs_silent=false
18422 SHELL=\${CONFIG_SHELL-$SHELL}
18423 export SHELL
18424 _ASEOF
18425 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18426 ## -------------------- ##
18427 ## M4sh Initialization. ##
18428 ## -------------------- ##
18430 # Be more Bourne compatible
18431 DUALCASE=1; export DUALCASE # for MKS sh
18432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18433 emulate sh
18434 NULLCMD=:
18435 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18436 # is contrary to our usage. Disable this feature.
18437 alias -g '${1+"$@"}'='"$@"'
18438 setopt NO_GLOB_SUBST
18439 else
18440 case `(set -o) 2>/dev/null` in #(
18441 *posix*) :
18442 set -o posix ;; #(
18443 *) :
18445 esac
18449 as_nl='
18451 export as_nl
18452 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18453 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18456 # Prefer a ksh shell builtin over an external printf program on Solaris,
18457 # but without wasting forks for bash or zsh.
18458 if test -z "$BASH_VERSION$ZSH_VERSION" \
18459 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18460 as_echo='print -r --'
18461 as_echo_n='print -rn --'
18462 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18463 as_echo='printf %s\n'
18464 as_echo_n='printf %s'
18465 else
18466 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18467 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18468 as_echo_n='/usr/ucb/echo -n'
18469 else
18470 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18471 as_echo_n_body='eval
18472 arg=$1;
18473 case $arg in #(
18474 *"$as_nl"*)
18475 expr "X$arg" : "X\\(.*\\)$as_nl";
18476 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18477 esac;
18478 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18480 export as_echo_n_body
18481 as_echo_n='sh -c $as_echo_n_body as_echo'
18483 export as_echo_body
18484 as_echo='sh -c $as_echo_body as_echo'
18487 # The user is always right.
18488 if test "${PATH_SEPARATOR+set}" != set; then
18489 PATH_SEPARATOR=:
18490 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18491 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18492 PATH_SEPARATOR=';'
18497 # IFS
18498 # We need space, tab and new line, in precisely that order. Quoting is
18499 # there to prevent editors from complaining about space-tab.
18500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18501 # splitting by setting IFS to empty value.)
18502 IFS=" "" $as_nl"
18504 # Find who we are. Look in the path if we contain no directory separator.
18505 as_myself=
18506 case $0 in #((
18507 *[\\/]* ) as_myself=$0 ;;
18508 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18509 for as_dir in $PATH
18511 IFS=$as_save_IFS
18512 test -z "$as_dir" && as_dir=.
18513 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18514 done
18515 IFS=$as_save_IFS
18518 esac
18519 # We did not find ourselves, most probably we were run as `sh COMMAND'
18520 # in which case we are not to be found in the path.
18521 if test "x$as_myself" = x; then
18522 as_myself=$0
18524 if test ! -f "$as_myself"; then
18525 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18526 exit 1
18529 # Unset variables that we do not need and which cause bugs (e.g. in
18530 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18531 # suppresses any "Segmentation fault" message there. '((' could
18532 # trigger a bug in pdksh 5.2.14.
18533 for as_var in BASH_ENV ENV MAIL MAILPATH
18534 do eval test x\${$as_var+set} = xset \
18535 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18536 done
18537 PS1='$ '
18538 PS2='> '
18539 PS4='+ '
18541 # NLS nuisances.
18542 LC_ALL=C
18543 export LC_ALL
18544 LANGUAGE=C
18545 export LANGUAGE
18547 # CDPATH.
18548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18551 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18552 # ----------------------------------------
18553 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18554 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18555 # script with STATUS, using 1 if that was 0.
18556 as_fn_error ()
18558 as_status=$1; test $as_status -eq 0 && as_status=1
18559 if test "$4"; then
18560 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18561 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18563 $as_echo "$as_me: error: $2" >&2
18564 as_fn_exit $as_status
18565 } # as_fn_error
18568 # as_fn_set_status STATUS
18569 # -----------------------
18570 # Set $? to STATUS, without forking.
18571 as_fn_set_status ()
18573 return $1
18574 } # as_fn_set_status
18576 # as_fn_exit STATUS
18577 # -----------------
18578 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18579 as_fn_exit ()
18581 set +e
18582 as_fn_set_status $1
18583 exit $1
18584 } # as_fn_exit
18586 # as_fn_unset VAR
18587 # ---------------
18588 # Portably unset VAR.
18589 as_fn_unset ()
18591 { eval $1=; unset $1;}
18593 as_unset=as_fn_unset
18594 # as_fn_append VAR VALUE
18595 # ----------------------
18596 # Append the text in VALUE to the end of the definition contained in VAR. Take
18597 # advantage of any shell optimizations that allow amortized linear growth over
18598 # repeated appends, instead of the typical quadratic growth present in naive
18599 # implementations.
18600 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18601 eval 'as_fn_append ()
18603 eval $1+=\$2
18605 else
18606 as_fn_append ()
18608 eval $1=\$$1\$2
18610 fi # as_fn_append
18612 # as_fn_arith ARG...
18613 # ------------------
18614 # Perform arithmetic evaluation on the ARGs, and store the result in the
18615 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18616 # must be portable across $(()) and expr.
18617 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18618 eval 'as_fn_arith ()
18620 as_val=$(( $* ))
18622 else
18623 as_fn_arith ()
18625 as_val=`expr "$@" || test $? -eq 1`
18627 fi # as_fn_arith
18630 if expr a : '\(a\)' >/dev/null 2>&1 &&
18631 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18632 as_expr=expr
18633 else
18634 as_expr=false
18637 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18638 as_basename=basename
18639 else
18640 as_basename=false
18643 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18644 as_dirname=dirname
18645 else
18646 as_dirname=false
18649 as_me=`$as_basename -- "$0" ||
18650 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18651 X"$0" : 'X\(//\)$' \| \
18652 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18653 $as_echo X/"$0" |
18654 sed '/^.*\/\([^/][^/]*\)\/*$/{
18655 s//\1/
18658 /^X\/\(\/\/\)$/{
18659 s//\1/
18662 /^X\/\(\/\).*/{
18663 s//\1/
18666 s/.*/./; q'`
18668 # Avoid depending upon Character Ranges.
18669 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18670 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18671 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18672 as_cr_digits='0123456789'
18673 as_cr_alnum=$as_cr_Letters$as_cr_digits
18675 ECHO_C= ECHO_N= ECHO_T=
18676 case `echo -n x` in #(((((
18677 -n*)
18678 case `echo 'xy\c'` in
18679 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18680 xy) ECHO_C='\c';;
18681 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18682 ECHO_T=' ';;
18683 esac;;
18685 ECHO_N='-n';;
18686 esac
18688 rm -f conf$$ conf$$.exe conf$$.file
18689 if test -d conf$$.dir; then
18690 rm -f conf$$.dir/conf$$.file
18691 else
18692 rm -f conf$$.dir
18693 mkdir conf$$.dir 2>/dev/null
18695 if (echo >conf$$.file) 2>/dev/null; then
18696 if ln -s conf$$.file conf$$ 2>/dev/null; then
18697 as_ln_s='ln -s'
18698 # ... but there are two gotchas:
18699 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18700 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18701 # In both cases, we have to default to `cp -pR'.
18702 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18703 as_ln_s='cp -pR'
18704 elif ln conf$$.file conf$$ 2>/dev/null; then
18705 as_ln_s=ln
18706 else
18707 as_ln_s='cp -pR'
18709 else
18710 as_ln_s='cp -pR'
18712 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18713 rmdir conf$$.dir 2>/dev/null
18716 # as_fn_mkdir_p
18717 # -------------
18718 # Create "$as_dir" as a directory, including parents if necessary.
18719 as_fn_mkdir_p ()
18722 case $as_dir in #(
18723 -*) as_dir=./$as_dir;;
18724 esac
18725 test -d "$as_dir" || eval $as_mkdir_p || {
18726 as_dirs=
18727 while :; do
18728 case $as_dir in #(
18729 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18730 *) as_qdir=$as_dir;;
18731 esac
18732 as_dirs="'$as_qdir' $as_dirs"
18733 as_dir=`$as_dirname -- "$as_dir" ||
18734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18735 X"$as_dir" : 'X\(//\)[^/]' \| \
18736 X"$as_dir" : 'X\(//\)$' \| \
18737 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18738 $as_echo X"$as_dir" |
18739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18740 s//\1/
18743 /^X\(\/\/\)[^/].*/{
18744 s//\1/
18747 /^X\(\/\/\)$/{
18748 s//\1/
18751 /^X\(\/\).*/{
18752 s//\1/
18755 s/.*/./; q'`
18756 test -d "$as_dir" && break
18757 done
18758 test -z "$as_dirs" || eval "mkdir $as_dirs"
18759 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18762 } # as_fn_mkdir_p
18763 if mkdir -p . 2>/dev/null; then
18764 as_mkdir_p='mkdir -p "$as_dir"'
18765 else
18766 test -d ./-p && rmdir ./-p
18767 as_mkdir_p=false
18771 # as_fn_executable_p FILE
18772 # -----------------------
18773 # Test if FILE is an executable regular file.
18774 as_fn_executable_p ()
18776 test -f "$1" && test -x "$1"
18777 } # as_fn_executable_p
18778 as_test_x='test -x'
18779 as_executable_p=as_fn_executable_p
18781 # Sed expression to map a string onto a valid CPP name.
18782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18784 # Sed expression to map a string onto a valid variable name.
18785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18788 exec 6>&1
18789 ## ----------------------------------- ##
18790 ## Main body of $CONFIG_STATUS script. ##
18791 ## ----------------------------------- ##
18792 _ASEOF
18793 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18796 # Save the log message, to keep $0 and so on meaningful, and to
18797 # report actual input values of CONFIG_FILES etc. instead of their
18798 # values after options handling.
18799 ac_log="
18800 This file was extended by Wine $as_me 1.9.6, which was
18801 generated by GNU Autoconf 2.69. Invocation command line was
18803 CONFIG_FILES = $CONFIG_FILES
18804 CONFIG_HEADERS = $CONFIG_HEADERS
18805 CONFIG_LINKS = $CONFIG_LINKS
18806 CONFIG_COMMANDS = $CONFIG_COMMANDS
18807 $ $0 $@
18809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18812 _ACEOF
18814 case $ac_config_files in *"
18815 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18816 esac
18818 case $ac_config_headers in *"
18819 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18820 esac
18823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18824 # Files that config.status was made for.
18825 config_files="$ac_config_files"
18826 config_headers="$ac_config_headers"
18827 config_links="$ac_config_links"
18828 config_commands="$ac_config_commands"
18830 _ACEOF
18832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18833 ac_cs_usage="\
18834 \`$as_me' instantiates files and other configuration actions
18835 from templates according to the current configuration. Unless the files
18836 and actions are specified as TAGs, all are instantiated by default.
18838 Usage: $0 [OPTION]... [TAG]...
18840 -h, --help print this help, then exit
18841 -V, --version print version number and configuration settings, then exit
18842 --config print configuration, then exit
18843 -q, --quiet, --silent
18844 do not print progress messages
18845 -d, --debug don't remove temporary files
18846 --recheck update $as_me by reconfiguring in the same conditions
18847 --file=FILE[:TEMPLATE]
18848 instantiate the configuration file FILE
18849 --header=FILE[:TEMPLATE]
18850 instantiate the configuration header FILE
18852 Configuration files:
18853 $config_files
18855 Configuration headers:
18856 $config_headers
18858 Configuration links:
18859 $config_links
18861 Configuration commands:
18862 $config_commands
18864 Report bugs to <wine-devel@winehq.org>.
18865 Wine home page: <http://www.winehq.org>."
18867 _ACEOF
18868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18869 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18870 ac_cs_version="\\
18871 Wine config.status 1.9.6
18872 configured by $0, generated by GNU Autoconf 2.69,
18873 with options \\"\$ac_cs_config\\"
18875 Copyright (C) 2012 Free Software Foundation, Inc.
18876 This config.status script is free software; the Free Software Foundation
18877 gives unlimited permission to copy, distribute and modify it."
18879 ac_pwd='$ac_pwd'
18880 srcdir='$srcdir'
18881 test -n "\$AWK" || AWK=awk
18882 _ACEOF
18884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18885 # The default lists apply if the user does not specify any file.
18886 ac_need_defaults=:
18887 while test $# != 0
18889 case $1 in
18890 --*=?*)
18891 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18892 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18893 ac_shift=:
18895 --*=)
18896 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18897 ac_optarg=
18898 ac_shift=:
18901 ac_option=$1
18902 ac_optarg=$2
18903 ac_shift=shift
18905 esac
18907 case $ac_option in
18908 # Handling of the options.
18909 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18910 ac_cs_recheck=: ;;
18911 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18912 $as_echo "$ac_cs_version"; exit ;;
18913 --config | --confi | --conf | --con | --co | --c )
18914 $as_echo "$ac_cs_config"; exit ;;
18915 --debug | --debu | --deb | --de | --d | -d )
18916 debug=: ;;
18917 --file | --fil | --fi | --f )
18918 $ac_shift
18919 case $ac_optarg in
18920 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18921 '') as_fn_error $? "missing file argument" ;;
18922 esac
18923 as_fn_append CONFIG_FILES " '$ac_optarg'"
18924 ac_need_defaults=false;;
18925 --header | --heade | --head | --hea )
18926 $ac_shift
18927 case $ac_optarg in
18928 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18929 esac
18930 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18931 ac_need_defaults=false;;
18932 --he | --h)
18933 # Conflict between --help and --header
18934 as_fn_error $? "ambiguous option: \`$1'
18935 Try \`$0 --help' for more information.";;
18936 --help | --hel | -h )
18937 $as_echo "$ac_cs_usage"; exit ;;
18938 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18939 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18940 ac_cs_silent=: ;;
18942 # This is an error.
18943 -*) as_fn_error $? "unrecognized option: \`$1'
18944 Try \`$0 --help' for more information." ;;
18946 *) as_fn_append ac_config_targets " $1"
18947 ac_need_defaults=false ;;
18949 esac
18950 shift
18951 done
18953 ac_configure_extra_args=
18955 if $ac_cs_silent; then
18956 exec 6>/dev/null
18957 ac_configure_extra_args="$ac_configure_extra_args --silent"
18960 _ACEOF
18961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18962 if \$ac_cs_recheck; then
18963 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18964 shift
18965 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18966 CONFIG_SHELL='$SHELL'
18967 export CONFIG_SHELL
18968 exec "\$@"
18971 _ACEOF
18972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18973 exec 5>>config.log
18975 echo
18976 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18977 ## Running $as_me. ##
18978 _ASBOX
18979 $as_echo "$ac_log"
18980 } >&5
18982 _ACEOF
18983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18985 # INIT-COMMANDS
18987 wine_fn_output_makedep ()
18989 as_dir=tools; as_fn_mkdir_p
18990 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
18992 wine_fn_output_makefile ()
18994 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
18995 `cat $wine_rules_file`
18996 _WINE_EOF
18997 as_fn_error $? "could not create Makefile" "$LINENO" 5
19000 _ACEOF
19002 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19004 # Handling of arguments.
19005 for ac_config_target in $ac_config_targets
19007 case $ac_config_target in
19008 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19009 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19010 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19011 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19012 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19013 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19014 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19015 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19016 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19017 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19018 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19019 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19020 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19022 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19023 esac
19024 done
19027 # If the user did not use the arguments to specify the items to instantiate,
19028 # then the envvar interface is used. Set only those that are not.
19029 # We use the long form for the default assignment because of an extremely
19030 # bizarre bug on SunOS 4.1.3.
19031 if $ac_need_defaults; then
19032 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19033 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19034 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19035 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19038 # Have a temporary directory for convenience. Make it in the build tree
19039 # simply because there is no reason against having it here, and in addition,
19040 # creating and moving files from /tmp can sometimes cause problems.
19041 # Hook for its removal unless debugging.
19042 # Note that there is a small window in which the directory will not be cleaned:
19043 # after its creation but before its name has been assigned to `$tmp'.
19044 $debug ||
19046 tmp= ac_tmp=
19047 trap 'exit_status=$?
19048 : "${ac_tmp:=$tmp}"
19049 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19051 trap 'as_fn_exit 1' 1 2 13 15
19053 # Create a (secure) tmp directory for tmp files.
19056 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19057 test -d "$tmp"
19058 } ||
19060 tmp=./conf$$-$RANDOM
19061 (umask 077 && mkdir "$tmp")
19062 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19063 ac_tmp=$tmp
19065 # Set up the scripts for CONFIG_FILES section.
19066 # No need to generate them if there are no CONFIG_FILES.
19067 # This happens for instance with `./config.status config.h'.
19068 if test -n "$CONFIG_FILES"; then
19071 ac_cr=`echo X | tr X '\015'`
19072 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19073 # But we know of no other shell where ac_cr would be empty at this
19074 # point, so we can use a bashism as a fallback.
19075 if test "x$ac_cr" = x; then
19076 eval ac_cr=\$\'\\r\'
19078 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19079 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19080 ac_cs_awk_cr='\\r'
19081 else
19082 ac_cs_awk_cr=$ac_cr
19085 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19086 _ACEOF
19090 echo "cat >conf$$subs.awk <<_ACEOF" &&
19091 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19092 echo "_ACEOF"
19093 } >conf$$subs.sh ||
19094 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19095 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19096 ac_delim='%!_!# '
19097 for ac_last_try in false false false false false :; do
19098 . ./conf$$subs.sh ||
19099 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19101 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19102 if test $ac_delim_n = $ac_delim_num; then
19103 break
19104 elif $ac_last_try; then
19105 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19106 else
19107 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19109 done
19110 rm -f conf$$subs.sh
19112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19113 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19114 _ACEOF
19115 sed -n '
19117 s/^/S["/; s/!.*/"]=/
19120 s/^[^!]*!//
19121 :repl
19122 t repl
19123 s/'"$ac_delim"'$//
19124 t delim
19127 s/\(.\{148\}\)..*/\1/
19128 t more1
19129 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19132 b repl
19133 :more1
19134 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19137 s/.\{148\}//
19138 t nl
19139 :delim
19141 s/\(.\{148\}\)..*/\1/
19142 t more2
19143 s/["\\]/\\&/g; s/^/"/; s/$/"/
19146 :more2
19147 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19150 s/.\{148\}//
19151 t delim
19152 ' <conf$$subs.awk | sed '
19153 /^[^""]/{
19155 s/\n//
19157 ' >>$CONFIG_STATUS || ac_write_fail=1
19158 rm -f conf$$subs.awk
19159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19160 _ACAWK
19161 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19162 for (key in S) S_is_set[key] = 1
19163 FS = "\a"
19167 line = $ 0
19168 nfields = split(line, field, "@")
19169 substed = 0
19170 len = length(field[1])
19171 for (i = 2; i < nfields; i++) {
19172 key = field[i]
19173 keylen = length(key)
19174 if (S_is_set[key]) {
19175 value = S[key]
19176 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19177 len += length(value) + length(field[++i])
19178 substed = 1
19179 } else
19180 len += 1 + keylen
19183 print line
19186 _ACAWK
19187 _ACEOF
19188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19189 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19190 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19191 else
19193 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19194 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19195 _ACEOF
19197 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19198 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19199 # trailing colons and then remove the whole line if VPATH becomes empty
19200 # (actually we leave an empty line to preserve line numbers).
19201 if test "x$srcdir" = x.; then
19202 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19204 s///
19205 s/^/:/
19206 s/[ ]*$/:/
19207 s/:\$(srcdir):/:/g
19208 s/:\${srcdir}:/:/g
19209 s/:@srcdir@:/:/g
19210 s/^:*//
19211 s/:*$//
19213 s/\(=[ ]*\).*/\1/
19215 s/\n//
19216 s/^[^=]*=[ ]*$//
19220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19221 fi # test -n "$CONFIG_FILES"
19223 # Set up the scripts for CONFIG_HEADERS section.
19224 # No need to generate them if there are no CONFIG_HEADERS.
19225 # This happens for instance with `./config.status Makefile'.
19226 if test -n "$CONFIG_HEADERS"; then
19227 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19228 BEGIN {
19229 _ACEOF
19231 # Transform confdefs.h into an awk script `defines.awk', embedded as
19232 # here-document in config.status, that substitutes the proper values into
19233 # config.h.in to produce config.h.
19235 # Create a delimiter string that does not exist in confdefs.h, to ease
19236 # handling of long lines.
19237 ac_delim='%!_!# '
19238 for ac_last_try in false false :; do
19239 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19240 if test -z "$ac_tt"; then
19241 break
19242 elif $ac_last_try; then
19243 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19244 else
19245 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19247 done
19249 # For the awk script, D is an array of macro values keyed by name,
19250 # likewise P contains macro parameters if any. Preserve backslash
19251 # newline sequences.
19253 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19254 sed -n '
19255 s/.\{148\}/&'"$ac_delim"'/g
19256 t rset
19257 :rset
19258 s/^[ ]*#[ ]*define[ ][ ]*/ /
19259 t def
19261 :def
19262 s/\\$//
19263 t bsnl
19264 s/["\\]/\\&/g
19265 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19266 D["\1"]=" \3"/p
19267 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19269 :bsnl
19270 s/["\\]/\\&/g
19271 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19272 D["\1"]=" \3\\\\\\n"\\/p
19273 t cont
19274 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19275 t cont
19277 :cont
19279 s/.\{148\}/&'"$ac_delim"'/g
19280 t clear
19281 :clear
19282 s/\\$//
19283 t bsnlc
19284 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19286 :bsnlc
19287 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19288 b cont
19289 ' <confdefs.h | sed '
19290 s/'"$ac_delim"'/"\\\
19291 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19294 for (key in D) D_is_set[key] = 1
19295 FS = "\a"
19297 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19298 line = \$ 0
19299 split(line, arg, " ")
19300 if (arg[1] == "#") {
19301 defundef = arg[2]
19302 mac1 = arg[3]
19303 } else {
19304 defundef = substr(arg[1], 2)
19305 mac1 = arg[2]
19307 split(mac1, mac2, "(") #)
19308 macro = mac2[1]
19309 prefix = substr(line, 1, index(line, defundef) - 1)
19310 if (D_is_set[macro]) {
19311 # Preserve the white space surrounding the "#".
19312 print prefix "define", macro P[macro] D[macro]
19313 next
19314 } else {
19315 # Replace #undef with comments. This is necessary, for example,
19316 # in the case of _POSIX_SOURCE, which is predefined and required
19317 # on some systems where configure will not decide to define it.
19318 if (defundef == "undef") {
19319 print "/*", prefix defundef, macro, "*/"
19320 next
19324 { print }
19325 _ACAWK
19326 _ACEOF
19327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19328 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19329 fi # test -n "$CONFIG_HEADERS"
19332 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19333 shift
19334 for ac_tag
19336 case $ac_tag in
19337 :[FHLC]) ac_mode=$ac_tag; continue;;
19338 esac
19339 case $ac_mode$ac_tag in
19340 :[FHL]*:*);;
19341 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19342 :[FH]-) ac_tag=-:-;;
19343 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19344 esac
19345 ac_save_IFS=$IFS
19346 IFS=:
19347 set x $ac_tag
19348 IFS=$ac_save_IFS
19349 shift
19350 ac_file=$1
19351 shift
19353 case $ac_mode in
19354 :L) ac_source=$1;;
19355 :[FH])
19356 ac_file_inputs=
19357 for ac_f
19359 case $ac_f in
19360 -) ac_f="$ac_tmp/stdin";;
19361 *) # Look for the file first in the build tree, then in the source tree
19362 # (if the path is not absolute). The absolute path cannot be DOS-style,
19363 # because $ac_f cannot contain `:'.
19364 test -f "$ac_f" ||
19365 case $ac_f in
19366 [\\/$]*) false;;
19367 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19368 esac ||
19369 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19370 esac
19371 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19372 as_fn_append ac_file_inputs " '$ac_f'"
19373 done
19375 # Let's still pretend it is `configure' which instantiates (i.e., don't
19376 # use $as_me), people would be surprised to read:
19377 # /* config.h. Generated by config.status. */
19378 configure_input='Generated from '`
19379 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19380 `' by configure.'
19381 if test x"$ac_file" != x-; then
19382 configure_input="$ac_file. $configure_input"
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19384 $as_echo "$as_me: creating $ac_file" >&6;}
19386 # Neutralize special characters interpreted by sed in replacement strings.
19387 case $configure_input in #(
19388 *\&* | *\|* | *\\* )
19389 ac_sed_conf_input=`$as_echo "$configure_input" |
19390 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19391 *) ac_sed_conf_input=$configure_input;;
19392 esac
19394 case $ac_tag in
19395 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19396 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19397 esac
19399 esac
19401 ac_dir=`$as_dirname -- "$ac_file" ||
19402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19403 X"$ac_file" : 'X\(//\)[^/]' \| \
19404 X"$ac_file" : 'X\(//\)$' \| \
19405 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19406 $as_echo X"$ac_file" |
19407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19408 s//\1/
19411 /^X\(\/\/\)[^/].*/{
19412 s//\1/
19415 /^X\(\/\/\)$/{
19416 s//\1/
19419 /^X\(\/\).*/{
19420 s//\1/
19423 s/.*/./; q'`
19424 as_dir="$ac_dir"; as_fn_mkdir_p
19425 ac_builddir=.
19427 case "$ac_dir" in
19428 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19430 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19431 # A ".." for each directory in $ac_dir_suffix.
19432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19433 case $ac_top_builddir_sub in
19434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19436 esac ;;
19437 esac
19438 ac_abs_top_builddir=$ac_pwd
19439 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19440 # for backward compatibility:
19441 ac_top_builddir=$ac_top_build_prefix
19443 case $srcdir in
19444 .) # We are building in place.
19445 ac_srcdir=.
19446 ac_top_srcdir=$ac_top_builddir_sub
19447 ac_abs_top_srcdir=$ac_pwd ;;
19448 [\\/]* | ?:[\\/]* ) # Absolute name.
19449 ac_srcdir=$srcdir$ac_dir_suffix;
19450 ac_top_srcdir=$srcdir
19451 ac_abs_top_srcdir=$srcdir ;;
19452 *) # Relative name.
19453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19454 ac_top_srcdir=$ac_top_build_prefix$srcdir
19455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19456 esac
19457 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19460 case $ac_mode in
19463 # CONFIG_FILE
19466 _ACEOF
19468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19469 # If the template does not know about datarootdir, expand it.
19470 # FIXME: This hack should be removed a few years after 2.60.
19471 ac_datarootdir_hack=; ac_datarootdir_seen=
19472 ac_sed_dataroot='
19473 /datarootdir/ {
19477 /@datadir@/p
19478 /@docdir@/p
19479 /@infodir@/p
19480 /@localedir@/p
19481 /@mandir@/p'
19482 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19483 *datarootdir*) ac_datarootdir_seen=yes;;
19484 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19486 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19487 _ACEOF
19488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19489 ac_datarootdir_hack='
19490 s&@datadir@&$datadir&g
19491 s&@docdir@&$docdir&g
19492 s&@infodir@&$infodir&g
19493 s&@localedir@&$localedir&g
19494 s&@mandir@&$mandir&g
19495 s&\\\${datarootdir}&$datarootdir&g' ;;
19496 esac
19497 _ACEOF
19499 # Neutralize VPATH when `$srcdir' = `.'.
19500 # Shell code in configure.ac might set extrasub.
19501 # FIXME: do we really want to maintain this feature?
19502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19503 ac_sed_extra="$ac_vpsub
19504 $extrasub
19505 _ACEOF
19506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19508 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19509 s|@configure_input@|$ac_sed_conf_input|;t t
19510 s&@top_builddir@&$ac_top_builddir_sub&;t t
19511 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19512 s&@srcdir@&$ac_srcdir&;t t
19513 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19514 s&@top_srcdir@&$ac_top_srcdir&;t t
19515 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19516 s&@builddir@&$ac_builddir&;t t
19517 s&@abs_builddir@&$ac_abs_builddir&;t t
19518 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19519 $ac_datarootdir_hack
19521 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19522 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19524 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19525 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19526 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19527 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19529 which seems to be undefined. Please make sure it is defined" >&5
19530 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19531 which seems to be undefined. Please make sure it is defined" >&2;}
19533 rm -f "$ac_tmp/stdin"
19534 case $ac_file in
19535 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19536 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19537 esac \
19538 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19542 # CONFIG_HEADER
19544 if test x"$ac_file" != x-; then
19546 $as_echo "/* $configure_input */" \
19547 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19548 } >"$ac_tmp/config.h" \
19549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19550 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19552 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19553 else
19554 rm -f "$ac_file"
19555 mv "$ac_tmp/config.h" "$ac_file" \
19556 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19558 else
19559 $as_echo "/* $configure_input */" \
19560 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19561 || as_fn_error $? "could not create -" "$LINENO" 5
19566 # CONFIG_LINK
19569 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19571 else
19572 # Prefer the file from the source tree if names are identical.
19573 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19574 ac_source=$srcdir/$ac_source
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19578 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19580 if test ! -r "$ac_source"; then
19581 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19583 rm -f "$ac_file"
19585 # Try a relative symlink, then a hard link, then a copy.
19586 case $ac_source in
19587 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19588 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19589 esac
19590 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19591 ln "$ac_source" "$ac_file" 2>/dev/null ||
19592 cp -p "$ac_source" "$ac_file" ||
19593 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19596 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19597 $as_echo "$as_me: executing $ac_file commands" >&6;}
19599 esac
19602 case $ac_file$ac_mode in
19603 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19604 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19605 "Makefile":C) wine_fn_output_makefile Makefile ;;
19607 esac
19608 done # for ac_tag
19611 as_fn_exit 0
19612 _ACEOF
19613 ac_clean_files=$ac_clean_files_save
19615 test $ac_write_fail = 0 ||
19616 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19619 # configure is writing to config.log, and then calls config.status.
19620 # config.status does its own redirection, appending to config.log.
19621 # Unfortunately, on DOS this fails, as config.log is still kept open
19622 # by configure, so config.status won't be able to write to it; its
19623 # output is simply discarded. So we exec the FD to /dev/null,
19624 # effectively closing config.log, so it can be properly (re)opened and
19625 # appended to by config.status. When coming back to configure, we
19626 # need to make the FD available again.
19627 if test "$no_create" != yes; then
19628 ac_cs_success=:
19629 ac_config_status_args=
19630 test "$silent" = yes &&
19631 ac_config_status_args="$ac_config_status_args --quiet"
19632 exec 5>/dev/null
19633 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19634 exec 5>>config.log
19635 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19636 # would make configure fail if this is the last instruction.
19637 $ac_cs_success || as_fn_exit 1
19639 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19641 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19645 if test "$no_create" = "yes"
19646 then
19647 exit 0
19650 ac_save_IFS="$IFS"
19651 if test "x$wine_notices" != x; then
19652 echo >&6
19653 IFS="|"
19654 for msg in $wine_notices; do
19655 IFS="$ac_save_IFS"
19656 if ${msg:+false} :; then :
19658 else
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19660 $as_echo "$as_me: $msg" >&6;}
19662 done
19664 IFS="|"
19665 for msg in $wine_warnings; do
19666 IFS="$ac_save_IFS"
19667 if ${msg:+false} :; then :
19669 else
19670 echo >&2
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19672 $as_echo "$as_me: WARNING: $msg" >&2;}
19674 done
19675 IFS="$ac_save_IFS"
19677 $as_echo "
19678 $as_me: Finished. Do '${ac_make}' to compile Wine.
19679 " >&6