reg: Do not allow /v and /ve to be used together in the 'add' function.
[wine.git] / configure
blob4eb195a8c2cfbd6cbcdf440e31ade4ea76909445
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.9.3.
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.3'
584 PACKAGE_STRING='Wine 1.9.3'
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 LINGUAS
629 ALL_VARS_RULES
630 LDAP_LIBS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 PROCSTAT_LIBS
640 KSTAT_LIBS
641 MPG123_LIBS
642 MPG123_CFLAGS
643 TIFF_LIBS
644 TIFF_CFLAGS
645 PNG_LIBS
646 PNG_CFLAGS
647 JPEG_LIBS
648 JPEG_CFLAGS
649 FONTCONFIG_LIBS
650 FONTCONFIG_CFLAGS
651 CUPS_CFLAGS
652 CAPI20_LIBS
653 CAPI20_CFLAGS
654 OSS4_CFLAGS
655 ALSA_LIBS
656 GSTREAMER_LIBS
657 GSTREAMER_CFLAGS
658 PULSE_LIBS
659 PULSE_CFLAGS
660 GETTEXTPO_LIBS
661 Z_LIBS
662 FREETYPE_LIBS
663 FREETYPE_CFLAGS
664 LCMS2_LIBS
665 LCMS2_CFLAGS
666 RESOLV_LIBS
667 GPHOTO2_PORT_LIBS
668 GPHOTO2_PORT_CFLAGS
669 GPHOTO2_LIBS
670 GPHOTO2_CFLAGS
671 SANE_LIBS
672 SANE_CFLAGS
673 GNUTLS_LIBS
674 GNUTLS_CFLAGS
675 HAL_LIBS
676 HAL_CFLAGS
677 DBUS_LIBS
678 DBUS_CFLAGS
679 XSLT_LIBS
680 XSLT_CFLAGS
681 XML2_LIBS
682 XML2_CFLAGS
683 PCAP_LIBS
684 X_EXTRA_LIBS
685 X_LIBS
686 X_PRE_LIBS
687 X_CFLAGS
688 XMKMF
689 PTHREAD_LIBS
690 CROSSCC
691 CROSSTARGET
692 PRELINK
693 WINELOADER_DEPENDS
694 CARBON_LIBS
695 QUICKTIME_LIBS
696 OPENCL_LIBS
697 OPENAL_LIBS
698 COREAUDIO_LIBS
699 SECURITY_LIBS
700 DISKARBITRATION_LIBS
701 APPKIT_LIBS
702 CORESERVICES_LIBS
703 APPLICATIONSERVICES_LIBS
704 FORCEFEEDBACK_LIBS
705 IOKIT_LIBS
706 COREFOUNDATION_LIBS
707 LIBWINE_DEPENDS
708 LIBWINE_LDFLAGS
709 LIBWINE_INSTALL_DEV
710 LIBWINE_INSTALL_LIB
711 LIBWINE_IMPORTLIB
712 LIBWINE_SHAREDLIB
713 SOCKET_LIBS
714 DLLTOOL
715 WINELOADER_PROGRAMS
716 ALL_TEST_RESOURCES
717 SUBDIRS
718 READELF
719 OTOOL
721 LDEXECFLAGS
722 LDRPATH_LOCAL
723 LDRPATH_INSTALL
724 DLLFLAGS
725 dlldir
727 OPENGL_LIBS
728 ICOTOOL
729 CONVERT
730 RSVG
731 FONTFORGE
732 PKG_CONFIG
733 MSGFMT
734 LDCONFIG
735 EGREP
736 GREP
737 LN_S
738 RANLIB
739 ARFLAGS
740 STRIP
741 ac_ct_AR
743 BISON
744 FLEX
745 TOOLSDIR
746 TARGETFLAGS
748 CPPBIN
749 ac_ct_CXX
750 CXXFLAGS
752 OBJEXT
753 EXEEXT
754 ac_ct_CC
755 CPPFLAGS
756 LDFLAGS
757 CFLAGS
759 SET_MAKE
760 host_os
761 host_vendor
762 host_cpu
763 host
764 build_os
765 build_vendor
766 build_cpu
767 build
768 target_alias
769 host_alias
770 build_alias
771 LIBS
772 ECHO_T
773 ECHO_N
774 ECHO_C
775 DEFS
776 mandir
777 localedir
778 libdir
779 psdir
780 pdfdir
781 dvidir
782 htmldir
783 infodir
784 docdir
785 oldincludedir
786 includedir
787 runstatedir
788 localstatedir
789 sharedstatedir
790 sysconfdir
791 datadir
792 datarootdir
793 libexecdir
794 sbindir
795 bindir
796 program_transform_name
797 prefix
798 exec_prefix
799 PACKAGE_URL
800 PACKAGE_BUGREPORT
801 PACKAGE_STRING
802 PACKAGE_VERSION
803 PACKAGE_TARNAME
804 PACKAGE_NAME
805 PATH_SEPARATOR
806 SHELL'
807 ac_subst_files=''
808 ac_user_opts='
809 enable_option_checking
810 enable_win16
811 enable_win64
812 enable_tests
813 enable_maintainer_mode
814 with_alsa
815 with_capi
816 with_cms
817 with_coreaudio
818 with_cups
819 with_curses
820 with_dbus
821 with_fontconfig
822 with_freetype
823 with_gettext
824 with_gettextpo
825 with_gphoto
826 with_glu
827 with_gnutls
828 with_gsm
829 with_gstreamer
830 with_hal
831 with_jpeg
832 with_ldap
833 with_mpg123
834 with_netapi
835 with_openal
836 with_opencl
837 with_opengl
838 with_osmesa
839 with_oss
840 with_pcap
841 with_png
842 with_pthread
843 with_pulse
844 with_sane
845 with_tiff
846 with_v4l
847 with_xcomposite
848 with_xcursor
849 with_xinerama
850 with_xinput
851 with_xinput2
852 with_xml
853 with_xrandr
854 with_xrender
855 with_xshape
856 with_xshm
857 with_xslt
858 with_xxf86vm
859 with_zlib
860 with_wine_tools
861 with_wine64
862 enable_largefile
863 with_x
864 enable_acledit
865 enable_aclui
866 enable_activeds
867 enable_actxprxy
868 enable_advapi32
869 enable_advpack
870 enable_amstream
871 enable_api_ms_win_core_com_l1_1_0
872 enable_api_ms_win_core_console_l1_1_0
873 enable_api_ms_win_core_datetime_l1_1_0
874 enable_api_ms_win_core_datetime_l1_1_1
875 enable_api_ms_win_core_debug_l1_1_0
876 enable_api_ms_win_core_debug_l1_1_1
877 enable_api_ms_win_core_errorhandling_l1_1_0
878 enable_api_ms_win_core_errorhandling_l1_1_1
879 enable_api_ms_win_core_errorhandling_l1_1_2
880 enable_api_ms_win_core_fibers_l1_1_0
881 enable_api_ms_win_core_fibers_l1_1_1
882 enable_api_ms_win_core_file_l1_1_0
883 enable_api_ms_win_core_file_l1_2_0
884 enable_api_ms_win_core_file_l2_1_0
885 enable_api_ms_win_core_file_l2_1_1
886 enable_api_ms_win_core_handle_l1_1_0
887 enable_api_ms_win_core_heap_l1_1_0
888 enable_api_ms_win_core_heap_l1_2_0
889 enable_api_ms_win_core_heap_obsolete_l1_1_0
890 enable_api_ms_win_core_interlocked_l1_1_0
891 enable_api_ms_win_core_interlocked_l1_2_0
892 enable_api_ms_win_core_io_l1_1_1
893 enable_api_ms_win_core_kernel32_legacy_l1_1_0
894 enable_api_ms_win_core_libraryloader_l1_1_0
895 enable_api_ms_win_core_libraryloader_l1_1_1
896 enable_api_ms_win_core_localization_l1_1_0
897 enable_api_ms_win_core_localization_l1_2_0
898 enable_api_ms_win_core_localization_l1_2_1
899 enable_api_ms_win_core_localization_obsolete_l1_1_0
900 enable_api_ms_win_core_localregistry_l1_1_0
901 enable_api_ms_win_core_memory_l1_1_0
902 enable_api_ms_win_core_memory_l1_1_1
903 enable_api_ms_win_core_misc_l1_1_0
904 enable_api_ms_win_core_namedpipe_l1_1_0
905 enable_api_ms_win_core_namedpipe_l1_2_0
906 enable_api_ms_win_core_path_l1_1_0
907 enable_api_ms_win_core_processenvironment_l1_1_0
908 enable_api_ms_win_core_processenvironment_l1_2_0
909 enable_api_ms_win_core_processthreads_l1_1_0
910 enable_api_ms_win_core_processthreads_l1_1_1
911 enable_api_ms_win_core_processthreads_l1_1_2
912 enable_api_ms_win_core_profile_l1_1_0
913 enable_api_ms_win_core_psapi_l1_1_0
914 enable_api_ms_win_core_registry_l1_1_0
915 enable_api_ms_win_core_rtlsupport_l1_1_0
916 enable_api_ms_win_core_rtlsupport_l1_2_0
917 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
918 enable_api_ms_win_core_string_l1_1_0
919 enable_api_ms_win_core_synch_l1_1_0
920 enable_api_ms_win_core_synch_l1_2_0
921 enable_api_ms_win_core_sysinfo_l1_1_0
922 enable_api_ms_win_core_sysinfo_l1_2_0
923 enable_api_ms_win_core_sysinfo_l1_2_1
924 enable_api_ms_win_core_threadpool_legacy_l1_1_0
925 enable_api_ms_win_core_timezone_l1_1_0
926 enable_api_ms_win_core_url_l1_1_0
927 enable_api_ms_win_core_util_l1_1_0
928 enable_api_ms_win_core_winrt_error_l1_1_0
929 enable_api_ms_win_core_winrt_error_l1_1_1
930 enable_api_ms_win_core_winrt_l1_1_0
931 enable_api_ms_win_core_winrt_string_l1_1_0
932 enable_api_ms_win_core_xstate_l2_1_0
933 enable_api_ms_win_crt_conio_l1_1_0
934 enable_api_ms_win_crt_convert_l1_1_0
935 enable_api_ms_win_crt_environment_l1_1_0
936 enable_api_ms_win_crt_filesystem_l1_1_0
937 enable_api_ms_win_crt_heap_l1_1_0
938 enable_api_ms_win_crt_locale_l1_1_0
939 enable_api_ms_win_crt_math_l1_1_0
940 enable_api_ms_win_crt_multibyte_l1_1_0
941 enable_api_ms_win_crt_private_l1_1_0
942 enable_api_ms_win_crt_process_l1_1_0
943 enable_api_ms_win_crt_runtime_l1_1_0
944 enable_api_ms_win_crt_stdio_l1_1_0
945 enable_api_ms_win_crt_string_l1_1_0
946 enable_api_ms_win_crt_time_l1_1_0
947 enable_api_ms_win_crt_utility_l1_1_0
948 enable_api_ms_win_downlevel_advapi32_l1_1_0
949 enable_api_ms_win_downlevel_advapi32_l2_1_0
950 enable_api_ms_win_downlevel_normaliz_l1_1_0
951 enable_api_ms_win_downlevel_ole32_l1_1_0
952 enable_api_ms_win_downlevel_shell32_l1_1_0
953 enable_api_ms_win_downlevel_shlwapi_l1_1_0
954 enable_api_ms_win_downlevel_shlwapi_l2_1_0
955 enable_api_ms_win_downlevel_user32_l1_1_0
956 enable_api_ms_win_downlevel_version_l1_1_0
957 enable_api_ms_win_eventing_provider_l1_1_0
958 enable_api_ms_win_ntuser_dc_access_l1_1_0
959 enable_api_ms_win_security_base_l1_1_0
960 enable_api_ms_win_security_base_l1_2_0
961 enable_api_ms_win_security_lsalookup_l1_1_0
962 enable_api_ms_win_security_lsalookup_l1_1_1
963 enable_api_ms_win_security_sddl_l1_1_0
964 enable_api_ms_win_service_core_l1_1_1
965 enable_api_ms_win_service_management_l1_1_0
966 enable_api_ms_win_service_winsvc_l1_2_0
967 enable_apphelp
968 enable_appwiz_cpl
969 enable_atl
970 enable_atl100
971 enable_atl110
972 enable_atl80
973 enable_atl90
974 enable_authz
975 enable_avicap32
976 enable_avifil32
977 enable_avrt
978 enable_bcrypt
979 enable_bluetoothapis
980 enable_browseui
981 enable_bthprops_cpl
982 enable_cabinet
983 enable_capi2032
984 enable_cards
985 enable_cfgmgr32
986 enable_clusapi
987 enable_combase
988 enable_comcat
989 enable_comctl32
990 enable_comdlg32
991 enable_compstui
992 enable_comsvcs
993 enable_connect
994 enable_credui
995 enable_crtdll
996 enable_crypt32
997 enable_cryptdlg
998 enable_cryptdll
999 enable_cryptext
1000 enable_cryptnet
1001 enable_cryptui
1002 enable_ctapi32
1003 enable_ctl3d32
1004 enable_d2d1
1005 enable_d3d10
1006 enable_d3d10_1
1007 enable_d3d10core
1008 enable_d3d11
1009 enable_d3d8
1010 enable_d3d9
1011 enable_d3dcompiler_33
1012 enable_d3dcompiler_34
1013 enable_d3dcompiler_35
1014 enable_d3dcompiler_36
1015 enable_d3dcompiler_37
1016 enable_d3dcompiler_38
1017 enable_d3dcompiler_39
1018 enable_d3dcompiler_40
1019 enable_d3dcompiler_41
1020 enable_d3dcompiler_42
1021 enable_d3dcompiler_43
1022 enable_d3dcompiler_46
1023 enable_d3dcompiler_47
1024 enable_d3dim
1025 enable_d3drm
1026 enable_d3dx10_33
1027 enable_d3dx10_34
1028 enable_d3dx10_35
1029 enable_d3dx10_36
1030 enable_d3dx10_37
1031 enable_d3dx10_38
1032 enable_d3dx10_39
1033 enable_d3dx10_40
1034 enable_d3dx10_41
1035 enable_d3dx10_42
1036 enable_d3dx10_43
1037 enable_d3dx11_42
1038 enable_d3dx11_43
1039 enable_d3dx9_24
1040 enable_d3dx9_25
1041 enable_d3dx9_26
1042 enable_d3dx9_27
1043 enable_d3dx9_28
1044 enable_d3dx9_29
1045 enable_d3dx9_30
1046 enable_d3dx9_31
1047 enable_d3dx9_32
1048 enable_d3dx9_33
1049 enable_d3dx9_34
1050 enable_d3dx9_35
1051 enable_d3dx9_36
1052 enable_d3dx9_37
1053 enable_d3dx9_38
1054 enable_d3dx9_39
1055 enable_d3dx9_40
1056 enable_d3dx9_41
1057 enable_d3dx9_42
1058 enable_d3dx9_43
1059 enable_d3dxof
1060 enable_davclnt
1061 enable_dbgeng
1062 enable_dbghelp
1063 enable_dciman32
1064 enable_ddraw
1065 enable_ddrawex
1066 enable_devenum
1067 enable_dhcpcsvc
1068 enable_difxapi
1069 enable_dinput
1070 enable_dinput8
1071 enable_dispex
1072 enable_dmband
1073 enable_dmcompos
1074 enable_dmime
1075 enable_dmloader
1076 enable_dmscript
1077 enable_dmstyle
1078 enable_dmsynth
1079 enable_dmusic
1080 enable_dmusic32
1081 enable_dnsapi
1082 enable_dplay
1083 enable_dplayx
1084 enable_dpnaddr
1085 enable_dpnet
1086 enable_dpnhpast
1087 enable_dpnlobby
1088 enable_dpvoice
1089 enable_dpwsockx
1090 enable_drmclien
1091 enable_dsound
1092 enable_dssenh
1093 enable_dswave
1094 enable_dwmapi
1095 enable_dwrite
1096 enable_dxdiagn
1097 enable_dxgi
1098 enable_dxva2
1099 enable_esent
1100 enable_evr
1101 enable_explorerframe
1102 enable_ext_ms_win_gdi_devcaps_l1_1_0
1103 enable_faultrep
1104 enable_fltlib
1105 enable_fltmgr_sys
1106 enable_fntcache
1107 enable_fontsub
1108 enable_fusion
1109 enable_fwpuclnt
1110 enable_gameux
1111 enable_gdi32
1112 enable_gdiplus
1113 enable_glu32
1114 enable_gphoto2_ds
1115 enable_gpkcsp
1116 enable_hal
1117 enable_hhctrl_ocx
1118 enable_hid
1119 enable_hidclass_sys
1120 enable_hlink
1121 enable_hnetcfg
1122 enable_httpapi
1123 enable_iccvid
1124 enable_icmp
1125 enable_ieframe
1126 enable_imaadp32_acm
1127 enable_imagehlp
1128 enable_imm32
1129 enable_inetcomm
1130 enable_inetcpl_cpl
1131 enable_inetmib1
1132 enable_infosoft
1133 enable_initpki
1134 enable_inkobj
1135 enable_inseng
1136 enable_iphlpapi
1137 enable_irprops_cpl
1138 enable_itircl
1139 enable_itss
1140 enable_joy_cpl
1141 enable_jscript
1142 enable_jsproxy
1143 enable_kernel32
1144 enable_ksuser
1145 enable_ktmw32
1146 enable_loadperf
1147 enable_localspl
1148 enable_localui
1149 enable_lz32
1150 enable_mapi32
1151 enable_mapistub
1152 enable_mciavi32
1153 enable_mcicda
1154 enable_mciqtz32
1155 enable_mciseq
1156 enable_mciwave
1157 enable_mf
1158 enable_mfplat
1159 enable_mfreadwrite
1160 enable_mgmtapi
1161 enable_midimap
1162 enable_mlang
1163 enable_mmcndmgr
1164 enable_mmdevapi
1165 enable_mountmgr_sys
1166 enable_mpr
1167 enable_mprapi
1168 enable_msacm32_drv
1169 enable_msacm32
1170 enable_msadp32_acm
1171 enable_msasn1
1172 enable_mscat32
1173 enable_mscms
1174 enable_mscoree
1175 enable_msctf
1176 enable_msctfp
1177 enable_msdaps
1178 enable_msdelta
1179 enable_msdmo
1180 enable_msdrm
1181 enable_msftedit
1182 enable_msg711_acm
1183 enable_msgsm32_acm
1184 enable_mshtml_tlb
1185 enable_mshtml
1186 enable_msi
1187 enable_msident
1188 enable_msimg32
1189 enable_msimsg
1190 enable_msimtf
1191 enable_msisip
1192 enable_msisys_ocx
1193 enable_msls31
1194 enable_msnet32
1195 enable_mspatcha
1196 enable_msrle32
1197 enable_msscript_ocx
1198 enable_mssign32
1199 enable_mssip32
1200 enable_mstask
1201 enable_msvcirt
1202 enable_msvcm80
1203 enable_msvcm90
1204 enable_msvcp100
1205 enable_msvcp110
1206 enable_msvcp120
1207 enable_msvcp120_app
1208 enable_msvcp60
1209 enable_msvcp70
1210 enable_msvcp71
1211 enable_msvcp80
1212 enable_msvcp90
1213 enable_msvcr100
1214 enable_msvcr110
1215 enable_msvcr120
1216 enable_msvcr120_app
1217 enable_msvcr70
1218 enable_msvcr71
1219 enable_msvcr80
1220 enable_msvcr90
1221 enable_msvcrt
1222 enable_msvcrt20
1223 enable_msvcrt40
1224 enable_msvcrtd
1225 enable_msvfw32
1226 enable_msvidc32
1227 enable_mswsock
1228 enable_msxml
1229 enable_msxml2
1230 enable_msxml3
1231 enable_msxml4
1232 enable_msxml6
1233 enable_nddeapi
1234 enable_ndis_sys
1235 enable_netapi32
1236 enable_netcfgx
1237 enable_netprofm
1238 enable_newdev
1239 enable_normaliz
1240 enable_npmshtml
1241 enable_npptools
1242 enable_ntdll
1243 enable_ntdsapi
1244 enable_ntoskrnl_exe
1245 enable_ntprint
1246 enable_objsel
1247 enable_odbc32
1248 enable_odbccp32
1249 enable_odbccu32
1250 enable_ole32
1251 enable_oleacc
1252 enable_oleaut32
1253 enable_olecli32
1254 enable_oledb32
1255 enable_oledlg
1256 enable_olepro32
1257 enable_olesvr32
1258 enable_olethk32
1259 enable_openal32
1260 enable_opencl
1261 enable_opengl32
1262 enable_packager
1263 enable_pdh
1264 enable_photometadatahandler
1265 enable_pidgen
1266 enable_powrprof
1267 enable_printui
1268 enable_prntvpt
1269 enable_propsys
1270 enable_psapi
1271 enable_pstorec
1272 enable_qcap
1273 enable_qedit
1274 enable_qmgr
1275 enable_qmgrprxy
1276 enable_quartz
1277 enable_query
1278 enable_rasapi32
1279 enable_rasdlg
1280 enable_regapi
1281 enable_resutils
1282 enable_riched20
1283 enable_riched32
1284 enable_rpcrt4
1285 enable_rsabase
1286 enable_rsaenh
1287 enable_rstrtmgr
1288 enable_rtutils
1289 enable_samlib
1290 enable_sane_ds
1291 enable_scarddlg
1292 enable_sccbase
1293 enable_schannel
1294 enable_schedsvc
1295 enable_scrrun
1296 enable_scsiport_sys
1297 enable_secur32
1298 enable_security
1299 enable_sensapi
1300 enable_serialui
1301 enable_setupapi
1302 enable_sfc
1303 enable_sfc_os
1304 enable_shdoclc
1305 enable_shdocvw
1306 enable_shell32
1307 enable_shfolder
1308 enable_shlwapi
1309 enable_slbcsp
1310 enable_slc
1311 enable_snmpapi
1312 enable_softpub
1313 enable_spoolss
1314 enable_stdole2_tlb
1315 enable_stdole32_tlb
1316 enable_sti
1317 enable_svrapi
1318 enable_sxs
1319 enable_t2embed
1320 enable_tapi32
1321 enable_taskschd
1322 enable_tdi_sys
1323 enable_traffic
1324 enable_twain_32
1325 enable_ucrtbase
1326 enable_unicows
1327 enable_updspapi
1328 enable_url
1329 enable_urlmon
1330 enable_usbd_sys
1331 enable_user32
1332 enable_userenv
1333 enable_usp10
1334 enable_uxtheme
1335 enable_vbscript
1336 enable_vcomp
1337 enable_vcomp100
1338 enable_vcomp110
1339 enable_vcomp120
1340 enable_vcomp90
1341 enable_vcruntime140
1342 enable_vdmdbg
1343 enable_version
1344 enable_vssapi
1345 enable_wbemdisp
1346 enable_wbemprox
1347 enable_webservices
1348 enable_wer
1349 enable_wevtapi
1350 enable_wiaservc
1351 enable_wimgapi
1352 enable_windowscodecs
1353 enable_windowscodecsext
1354 enable_winealsa_drv
1355 enable_winecoreaudio_drv
1356 enable_wined3d
1357 enable_winegstreamer
1358 enable_winejoystick_drv
1359 enable_winemac_drv
1360 enable_winemapi
1361 enable_winemp3_acm
1362 enable_wineoss_drv
1363 enable_wineps_drv
1364 enable_winepulse_drv
1365 enable_wineqtdecoder
1366 enable_winex11_drv
1367 enable_wing32
1368 enable_winhttp
1369 enable_wininet
1370 enable_winmm
1371 enable_winnls32
1372 enable_winscard
1373 enable_winspool_drv
1374 enable_winsta
1375 enable_wintab32
1376 enable_wintrust
1377 enable_wlanapi
1378 enable_wldap32
1379 enable_wmi
1380 enable_wmiutils
1381 enable_wmp
1382 enable_wmvcore
1383 enable_wnaspi32
1384 enable_wpcap
1385 enable_ws2_32
1386 enable_wshom_ocx
1387 enable_wsnmp32
1388 enable_wsock32
1389 enable_wtsapi32
1390 enable_wuapi
1391 enable_wuaueng
1392 enable_x3daudio1_0
1393 enable_x3daudio1_1
1394 enable_x3daudio1_2
1395 enable_x3daudio1_3
1396 enable_x3daudio1_4
1397 enable_x3daudio1_5
1398 enable_x3daudio1_6
1399 enable_x3daudio1_7
1400 enable_xapofx1_1
1401 enable_xapofx1_2
1402 enable_xapofx1_3
1403 enable_xapofx1_4
1404 enable_xapofx1_5
1405 enable_xaudio2_0
1406 enable_xaudio2_1
1407 enable_xaudio2_2
1408 enable_xaudio2_3
1409 enable_xaudio2_4
1410 enable_xaudio2_5
1411 enable_xaudio2_6
1412 enable_xaudio2_7
1413 enable_xaudio2_8
1414 enable_xaudio2_9
1415 enable_xinput1_1
1416 enable_xinput1_2
1417 enable_xinput1_3
1418 enable_xinput1_4
1419 enable_xinput9_1_0
1420 enable_xmllite
1421 enable_xolehlp
1422 enable_xpsprint
1423 enable_xpssvcs
1424 enable_fonts
1425 enable_include
1426 enable_libs_port
1427 enable_libs_wine
1428 enable_libs_wpp
1429 enable_loader
1430 enable_arp
1431 enable_aspnet_regiis
1432 enable_attrib
1433 enable_cabarc
1434 enable_cacls
1435 enable_clock
1436 enable_cmd
1437 enable_conhost
1438 enable_control
1439 enable_cscript
1440 enable_dpnsvr
1441 enable_dxdiag
1442 enable_eject
1443 enable_expand
1444 enable_explorer
1445 enable_extrac32
1446 enable_findstr
1447 enable_hh
1448 enable_hostname
1449 enable_icacls
1450 enable_icinfo
1451 enable_iexplore
1452 enable_ipconfig
1453 enable_lodctr
1454 enable_mofcomp
1455 enable_mshta
1456 enable_msiexec
1457 enable_net
1458 enable_netsh
1459 enable_netstat
1460 enable_ngen
1461 enable_notepad
1462 enable_oleview
1463 enable_ping
1464 enable_plugplay
1465 enable_presentationfontcache
1466 enable_progman
1467 enable_reg
1468 enable_regasm
1469 enable_regedit
1470 enable_regsvcs
1471 enable_regsvr32
1472 enable_rpcss
1473 enable_rundll32
1474 enable_sc
1475 enable_schtasks
1476 enable_sdbinst
1477 enable_secedit
1478 enable_servicemodelreg
1479 enable_services
1480 enable_spoolsv
1481 enable_start
1482 enable_svchost
1483 enable_systeminfo
1484 enable_taskkill
1485 enable_tasklist
1486 enable_taskmgr
1487 enable_termsv
1488 enable_uninstaller
1489 enable_unlodctr
1490 enable_view
1491 enable_wevtutil
1492 enable_wineboot
1493 enable_winebrowser
1494 enable_winecfg
1495 enable_wineconsole
1496 enable_winedbg
1497 enable_winedevice
1498 enable_winefile
1499 enable_winemenubuilder
1500 enable_winemine
1501 enable_winemsibuilder
1502 enable_winepath
1503 enable_winetest
1504 enable_winhlp32
1505 enable_winver
1506 enable_wmic
1507 enable_wmplayer
1508 enable_wordpad
1509 enable_write
1510 enable_wscript
1511 enable_wusa
1512 enable_xcopy
1513 enable_server
1514 enable_tools
1516 ac_precious_vars='build_alias
1517 host_alias
1518 target_alias
1520 CFLAGS
1521 LDFLAGS
1522 LIBS
1523 CPPFLAGS
1525 CXXFLAGS
1528 XMKMF
1529 XML2_CFLAGS
1530 XML2_LIBS
1531 XSLT_CFLAGS
1532 XSLT_LIBS
1533 DBUS_CFLAGS
1534 DBUS_LIBS
1535 HAL_CFLAGS
1536 HAL_LIBS
1537 GNUTLS_CFLAGS
1538 GNUTLS_LIBS
1539 SANE_CFLAGS
1540 SANE_LIBS
1541 GPHOTO2_CFLAGS
1542 GPHOTO2_LIBS
1543 GPHOTO2_PORT_CFLAGS
1544 GPHOTO2_PORT_LIBS
1545 LCMS2_CFLAGS
1546 LCMS2_LIBS
1547 FREETYPE_CFLAGS
1548 FREETYPE_LIBS
1549 PULSE_CFLAGS
1550 PULSE_LIBS
1551 GSTREAMER_CFLAGS
1552 GSTREAMER_LIBS
1553 CAPI20_CFLAGS
1554 CAPI20_LIBS
1555 FONTCONFIG_CFLAGS
1556 FONTCONFIG_LIBS
1557 JPEG_CFLAGS
1558 JPEG_LIBS
1559 PNG_CFLAGS
1560 PNG_LIBS
1561 TIFF_CFLAGS
1562 TIFF_LIBS
1563 MPG123_CFLAGS
1564 MPG123_LIBS'
1567 # Initialize some variables set by options.
1568 ac_init_help=
1569 ac_init_version=false
1570 ac_unrecognized_opts=
1571 ac_unrecognized_sep=
1572 # The variables have the same names as the options, with
1573 # dashes changed to underlines.
1574 cache_file=/dev/null
1575 exec_prefix=NONE
1576 no_create=
1577 no_recursion=
1578 prefix=NONE
1579 program_prefix=NONE
1580 program_suffix=NONE
1581 program_transform_name=s,x,x,
1582 silent=
1583 site=
1584 srcdir=
1585 verbose=
1586 x_includes=NONE
1587 x_libraries=NONE
1589 # Installation directory options.
1590 # These are left unexpanded so users can "make install exec_prefix=/foo"
1591 # and all the variables that are supposed to be based on exec_prefix
1592 # by default will actually change.
1593 # Use braces instead of parens because sh, perl, etc. also accept them.
1594 # (The list follows the same order as the GNU Coding Standards.)
1595 bindir='${exec_prefix}/bin'
1596 sbindir='${exec_prefix}/sbin'
1597 libexecdir='${exec_prefix}/libexec'
1598 datarootdir='${prefix}/share'
1599 datadir='${datarootdir}'
1600 sysconfdir='${prefix}/etc'
1601 sharedstatedir='${prefix}/com'
1602 localstatedir='${prefix}/var'
1603 runstatedir='${localstatedir}/run'
1604 includedir='${prefix}/include'
1605 oldincludedir='/usr/include'
1606 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1607 infodir='${datarootdir}/info'
1608 htmldir='${docdir}'
1609 dvidir='${docdir}'
1610 pdfdir='${docdir}'
1611 psdir='${docdir}'
1612 libdir='${exec_prefix}/lib'
1613 localedir='${datarootdir}/locale'
1614 mandir='${datarootdir}/man'
1616 ac_prev=
1617 ac_dashdash=
1618 for ac_option
1620 # If the previous option needs an argument, assign it.
1621 if test -n "$ac_prev"; then
1622 eval $ac_prev=\$ac_option
1623 ac_prev=
1624 continue
1627 case $ac_option in
1628 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1629 *=) ac_optarg= ;;
1630 *) ac_optarg=yes ;;
1631 esac
1633 # Accept the important Cygnus configure options, so we can diagnose typos.
1635 case $ac_dashdash$ac_option in
1637 ac_dashdash=yes ;;
1639 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1640 ac_prev=bindir ;;
1641 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1642 bindir=$ac_optarg ;;
1644 -build | --build | --buil | --bui | --bu)
1645 ac_prev=build_alias ;;
1646 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1647 build_alias=$ac_optarg ;;
1649 -cache-file | --cache-file | --cache-fil | --cache-fi \
1650 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1651 ac_prev=cache_file ;;
1652 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1653 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1654 cache_file=$ac_optarg ;;
1656 --config-cache | -C)
1657 cache_file=config.cache ;;
1659 -datadir | --datadir | --datadi | --datad)
1660 ac_prev=datadir ;;
1661 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1662 datadir=$ac_optarg ;;
1664 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1665 | --dataroo | --dataro | --datar)
1666 ac_prev=datarootdir ;;
1667 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1668 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1669 datarootdir=$ac_optarg ;;
1671 -disable-* | --disable-*)
1672 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1673 # Reject names that are not valid shell variable names.
1674 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1675 as_fn_error $? "invalid feature name: $ac_useropt"
1676 ac_useropt_orig=$ac_useropt
1677 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1678 case $ac_user_opts in
1680 "enable_$ac_useropt"
1681 "*) ;;
1682 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1683 ac_unrecognized_sep=', ';;
1684 esac
1685 eval enable_$ac_useropt=no ;;
1687 -docdir | --docdir | --docdi | --doc | --do)
1688 ac_prev=docdir ;;
1689 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1690 docdir=$ac_optarg ;;
1692 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1693 ac_prev=dvidir ;;
1694 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1695 dvidir=$ac_optarg ;;
1697 -enable-* | --enable-*)
1698 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1699 # Reject names that are not valid shell variable names.
1700 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1701 as_fn_error $? "invalid feature name: $ac_useropt"
1702 ac_useropt_orig=$ac_useropt
1703 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1704 case $ac_user_opts in
1706 "enable_$ac_useropt"
1707 "*) ;;
1708 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1709 ac_unrecognized_sep=', ';;
1710 esac
1711 eval enable_$ac_useropt=\$ac_optarg ;;
1713 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1714 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1715 | --exec | --exe | --ex)
1716 ac_prev=exec_prefix ;;
1717 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1718 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1719 | --exec=* | --exe=* | --ex=*)
1720 exec_prefix=$ac_optarg ;;
1722 -gas | --gas | --ga | --g)
1723 # Obsolete; use --with-gas.
1724 with_gas=yes ;;
1726 -help | --help | --hel | --he | -h)
1727 ac_init_help=long ;;
1728 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1729 ac_init_help=recursive ;;
1730 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1731 ac_init_help=short ;;
1733 -host | --host | --hos | --ho)
1734 ac_prev=host_alias ;;
1735 -host=* | --host=* | --hos=* | --ho=*)
1736 host_alias=$ac_optarg ;;
1738 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1739 ac_prev=htmldir ;;
1740 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1741 | --ht=*)
1742 htmldir=$ac_optarg ;;
1744 -includedir | --includedir | --includedi | --included | --include \
1745 | --includ | --inclu | --incl | --inc)
1746 ac_prev=includedir ;;
1747 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1748 | --includ=* | --inclu=* | --incl=* | --inc=*)
1749 includedir=$ac_optarg ;;
1751 -infodir | --infodir | --infodi | --infod | --info | --inf)
1752 ac_prev=infodir ;;
1753 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1754 infodir=$ac_optarg ;;
1756 -libdir | --libdir | --libdi | --libd)
1757 ac_prev=libdir ;;
1758 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1759 libdir=$ac_optarg ;;
1761 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1762 | --libexe | --libex | --libe)
1763 ac_prev=libexecdir ;;
1764 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1765 | --libexe=* | --libex=* | --libe=*)
1766 libexecdir=$ac_optarg ;;
1768 -localedir | --localedir | --localedi | --localed | --locale)
1769 ac_prev=localedir ;;
1770 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1771 localedir=$ac_optarg ;;
1773 -localstatedir | --localstatedir | --localstatedi | --localstated \
1774 | --localstate | --localstat | --localsta | --localst | --locals)
1775 ac_prev=localstatedir ;;
1776 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1777 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1778 localstatedir=$ac_optarg ;;
1780 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1781 ac_prev=mandir ;;
1782 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1783 mandir=$ac_optarg ;;
1785 -nfp | --nfp | --nf)
1786 # Obsolete; use --without-fp.
1787 with_fp=no ;;
1789 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1790 | --no-cr | --no-c | -n)
1791 no_create=yes ;;
1793 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1794 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1795 no_recursion=yes ;;
1797 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1798 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1799 | --oldin | --oldi | --old | --ol | --o)
1800 ac_prev=oldincludedir ;;
1801 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1802 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1803 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1804 oldincludedir=$ac_optarg ;;
1806 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1807 ac_prev=prefix ;;
1808 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1809 prefix=$ac_optarg ;;
1811 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1812 | --program-pre | --program-pr | --program-p)
1813 ac_prev=program_prefix ;;
1814 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1815 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1816 program_prefix=$ac_optarg ;;
1818 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1819 | --program-suf | --program-su | --program-s)
1820 ac_prev=program_suffix ;;
1821 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1822 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1823 program_suffix=$ac_optarg ;;
1825 -program-transform-name | --program-transform-name \
1826 | --program-transform-nam | --program-transform-na \
1827 | --program-transform-n | --program-transform- \
1828 | --program-transform | --program-transfor \
1829 | --program-transfo | --program-transf \
1830 | --program-trans | --program-tran \
1831 | --progr-tra | --program-tr | --program-t)
1832 ac_prev=program_transform_name ;;
1833 -program-transform-name=* | --program-transform-name=* \
1834 | --program-transform-nam=* | --program-transform-na=* \
1835 | --program-transform-n=* | --program-transform-=* \
1836 | --program-transform=* | --program-transfor=* \
1837 | --program-transfo=* | --program-transf=* \
1838 | --program-trans=* | --program-tran=* \
1839 | --progr-tra=* | --program-tr=* | --program-t=*)
1840 program_transform_name=$ac_optarg ;;
1842 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1843 ac_prev=pdfdir ;;
1844 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1845 pdfdir=$ac_optarg ;;
1847 -psdir | --psdir | --psdi | --psd | --ps)
1848 ac_prev=psdir ;;
1849 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1850 psdir=$ac_optarg ;;
1852 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1853 | -silent | --silent | --silen | --sile | --sil)
1854 silent=yes ;;
1856 -runstatedir | --runstatedir | --runstatedi | --runstated \
1857 | --runstate | --runstat | --runsta | --runst | --runs \
1858 | --run | --ru | --r)
1859 ac_prev=runstatedir ;;
1860 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1861 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1862 | --run=* | --ru=* | --r=*)
1863 runstatedir=$ac_optarg ;;
1865 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1866 ac_prev=sbindir ;;
1867 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1868 | --sbi=* | --sb=*)
1869 sbindir=$ac_optarg ;;
1871 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1872 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1873 | --sharedst | --shareds | --shared | --share | --shar \
1874 | --sha | --sh)
1875 ac_prev=sharedstatedir ;;
1876 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1877 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1878 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1879 | --sha=* | --sh=*)
1880 sharedstatedir=$ac_optarg ;;
1882 -site | --site | --sit)
1883 ac_prev=site ;;
1884 -site=* | --site=* | --sit=*)
1885 site=$ac_optarg ;;
1887 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1888 ac_prev=srcdir ;;
1889 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1890 srcdir=$ac_optarg ;;
1892 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1893 | --syscon | --sysco | --sysc | --sys | --sy)
1894 ac_prev=sysconfdir ;;
1895 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1896 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1897 sysconfdir=$ac_optarg ;;
1899 -target | --target | --targe | --targ | --tar | --ta | --t)
1900 ac_prev=target_alias ;;
1901 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1902 target_alias=$ac_optarg ;;
1904 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1905 verbose=yes ;;
1907 -version | --version | --versio | --versi | --vers | -V)
1908 ac_init_version=: ;;
1910 -with-* | --with-*)
1911 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1912 # Reject names that are not valid shell variable names.
1913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1914 as_fn_error $? "invalid package name: $ac_useropt"
1915 ac_useropt_orig=$ac_useropt
1916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1917 case $ac_user_opts in
1919 "with_$ac_useropt"
1920 "*) ;;
1921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1922 ac_unrecognized_sep=', ';;
1923 esac
1924 eval with_$ac_useropt=\$ac_optarg ;;
1926 -without-* | --without-*)
1927 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1928 # Reject names that are not valid shell variable names.
1929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1930 as_fn_error $? "invalid package name: $ac_useropt"
1931 ac_useropt_orig=$ac_useropt
1932 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1933 case $ac_user_opts in
1935 "with_$ac_useropt"
1936 "*) ;;
1937 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1938 ac_unrecognized_sep=', ';;
1939 esac
1940 eval with_$ac_useropt=no ;;
1942 --x)
1943 # Obsolete; use --with-x.
1944 with_x=yes ;;
1946 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1947 | --x-incl | --x-inc | --x-in | --x-i)
1948 ac_prev=x_includes ;;
1949 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1950 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1951 x_includes=$ac_optarg ;;
1953 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1954 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1955 ac_prev=x_libraries ;;
1956 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1957 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1958 x_libraries=$ac_optarg ;;
1960 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1961 Try \`$0 --help' for more information"
1964 *=*)
1965 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1966 # Reject names that are not valid shell variable names.
1967 case $ac_envvar in #(
1968 '' | [0-9]* | *[!_$as_cr_alnum]* )
1969 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1970 esac
1971 eval $ac_envvar=\$ac_optarg
1972 export $ac_envvar ;;
1975 # FIXME: should be removed in autoconf 3.0.
1976 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1977 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1978 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1979 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1982 esac
1983 done
1985 if test -n "$ac_prev"; then
1986 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1987 as_fn_error $? "missing argument to $ac_option"
1990 if test -n "$ac_unrecognized_opts"; then
1991 case $enable_option_checking in
1992 no) ;;
1993 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1994 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1995 esac
1998 # Check all directory arguments for consistency.
1999 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2000 datadir sysconfdir sharedstatedir localstatedir includedir \
2001 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2002 libdir localedir mandir runstatedir
2004 eval ac_val=\$$ac_var
2005 # Remove trailing slashes.
2006 case $ac_val in
2007 */ )
2008 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2009 eval $ac_var=\$ac_val;;
2010 esac
2011 # Be sure to have absolute directory names.
2012 case $ac_val in
2013 [\\/$]* | ?:[\\/]* ) continue;;
2014 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2015 esac
2016 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2017 done
2019 # There might be people who depend on the old broken behavior: `$host'
2020 # used to hold the argument of --host etc.
2021 # FIXME: To remove some day.
2022 build=$build_alias
2023 host=$host_alias
2024 target=$target_alias
2026 # FIXME: To remove some day.
2027 if test "x$host_alias" != x; then
2028 if test "x$build_alias" = x; then
2029 cross_compiling=maybe
2030 elif test "x$build_alias" != "x$host_alias"; then
2031 cross_compiling=yes
2035 ac_tool_prefix=
2036 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2038 test "$silent" = yes && exec 6>/dev/null
2041 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2042 ac_ls_di=`ls -di .` &&
2043 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2044 as_fn_error $? "working directory cannot be determined"
2045 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2046 as_fn_error $? "pwd does not report name of working directory"
2049 # Find the source files, if location was not specified.
2050 if test -z "$srcdir"; then
2051 ac_srcdir_defaulted=yes
2052 # Try the directory containing this script, then the parent directory.
2053 ac_confdir=`$as_dirname -- "$as_myself" ||
2054 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2055 X"$as_myself" : 'X\(//\)[^/]' \| \
2056 X"$as_myself" : 'X\(//\)$' \| \
2057 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2058 $as_echo X"$as_myself" |
2059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2060 s//\1/
2063 /^X\(\/\/\)[^/].*/{
2064 s//\1/
2067 /^X\(\/\/\)$/{
2068 s//\1/
2071 /^X\(\/\).*/{
2072 s//\1/
2075 s/.*/./; q'`
2076 srcdir=$ac_confdir
2077 if test ! -r "$srcdir/$ac_unique_file"; then
2078 srcdir=..
2080 else
2081 ac_srcdir_defaulted=no
2083 if test ! -r "$srcdir/$ac_unique_file"; then
2084 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2085 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2087 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2088 ac_abs_confdir=`(
2089 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2090 pwd)`
2091 # When building in place, set srcdir=.
2092 if test "$ac_abs_confdir" = "$ac_pwd"; then
2093 srcdir=.
2095 # Remove unnecessary trailing slashes from srcdir.
2096 # Double slashes in file names in object file debugging info
2097 # mess up M-x gdb in Emacs.
2098 case $srcdir in
2099 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2100 esac
2101 for ac_var in $ac_precious_vars; do
2102 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2103 eval ac_env_${ac_var}_value=\$${ac_var}
2104 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2105 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2106 done
2109 # Report the --help message.
2111 if test "$ac_init_help" = "long"; then
2112 # Omit some internal or obsolete options to make the list less imposing.
2113 # This message is too long to be a string in the A/UX 3.1 sh.
2114 cat <<_ACEOF
2115 \`configure' configures Wine 1.9.3 to adapt to many kinds of systems.
2117 Usage: $0 [OPTION]... [VAR=VALUE]...
2119 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2120 VAR=VALUE. See below for descriptions of some of the useful variables.
2122 Defaults for the options are specified in brackets.
2124 Configuration:
2125 -h, --help display this help and exit
2126 --help=short display options specific to this package
2127 --help=recursive display the short help of all the included packages
2128 -V, --version display version information and exit
2129 -q, --quiet, --silent do not print \`checking ...' messages
2130 --cache-file=FILE cache test results in FILE [disabled]
2131 -C, --config-cache alias for \`--cache-file=config.cache'
2132 -n, --no-create do not create output files
2133 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2135 Installation directories:
2136 --prefix=PREFIX install architecture-independent files in PREFIX
2137 [$ac_default_prefix]
2138 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2139 [PREFIX]
2141 By default, \`make install' will install all the files in
2142 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2143 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2144 for instance \`--prefix=\$HOME'.
2146 For better control, use the options below.
2148 Fine tuning of the installation directories:
2149 --bindir=DIR user executables [EPREFIX/bin]
2150 --sbindir=DIR system admin executables [EPREFIX/sbin]
2151 --libexecdir=DIR program executables [EPREFIX/libexec]
2152 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2153 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2154 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2155 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2156 --libdir=DIR object code libraries [EPREFIX/lib]
2157 --includedir=DIR C header files [PREFIX/include]
2158 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2159 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2160 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2161 --infodir=DIR info documentation [DATAROOTDIR/info]
2162 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2163 --mandir=DIR man documentation [DATAROOTDIR/man]
2164 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2165 --htmldir=DIR html documentation [DOCDIR]
2166 --dvidir=DIR dvi documentation [DOCDIR]
2167 --pdfdir=DIR pdf documentation [DOCDIR]
2168 --psdir=DIR ps documentation [DOCDIR]
2169 _ACEOF
2171 cat <<\_ACEOF
2173 X features:
2174 --x-includes=DIR X include files are in DIR
2175 --x-libraries=DIR X library files are in DIR
2177 System types:
2178 --build=BUILD configure for building on BUILD [guessed]
2179 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2180 _ACEOF
2183 if test -n "$ac_init_help"; then
2184 case $ac_init_help in
2185 short | recursive ) echo "Configuration of Wine 1.9.3:";;
2186 esac
2187 cat <<\_ACEOF
2189 Optional Features:
2190 --disable-option-checking ignore unrecognized --enable/--with options
2191 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2192 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2193 --disable-win16 do not include Win16 support
2194 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2195 binaries)
2196 --disable-tests do not build the regression tests
2197 --enable-maintainer-mode
2198 enable maintainer-specific build rules
2199 --disable-largefile omit support for large files
2201 Optional Packages:
2202 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2203 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2204 --without-alsa do not use the Alsa sound support
2205 --without-capi do not use CAPI (ISDN support)
2206 --without-cms do not use CMS (color management support)
2207 --without-coreaudio do not use the CoreAudio sound support
2208 --without-cups do not use CUPS
2209 --without-curses do not use (n)curses
2210 --without-dbus do not use DBus (dynamic device support)
2211 --without-fontconfig do not use fontconfig
2212 --without-freetype do not use the FreeType library
2213 --without-gettext do not use gettext
2214 --with-gettextpo use the GetTextPO library to rebuild po files
2215 --without-gphoto do not use gphoto (Digital Camera support)
2216 --without-glu do not use the GLU library
2217 --without-gnutls do not use GnuTLS (schannel support)
2218 --without-gsm do not use libgsm (GSM 06.10 codec support)
2219 --without-gstreamer do not use GStreamer (codecs support)
2220 --without-hal do not use HAL (dynamic device support)
2221 --without-jpeg do not use JPEG
2222 --without-ldap do not use LDAP
2223 --without-mpg123 do not use the mpg123 library
2224 --without-netapi do not use the Samba NetAPI library
2225 --without-openal do not use OpenAL
2226 --without-opencl do not use OpenCL
2227 --without-opengl do not use OpenGL
2228 --without-osmesa do not use the OSMesa library
2229 --without-oss do not use the OSS sound support
2230 --without-pcap do not use the Packet Capture library
2231 --without-png do not use PNG
2232 --without-pthread do not use the pthread library
2233 --without-pulse do not use PulseAudio sound support
2234 --without-sane do not use SANE (scanner support)
2235 --without-tiff do not use TIFF
2236 --without-v4l do not use v4l1 (v4l support)
2237 --without-xcomposite do not use the Xcomposite extension
2238 --without-xcursor do not use the Xcursor extension
2239 --without-xinerama do not use Xinerama (multi-monitor support)
2240 --without-xinput do not use the Xinput extension
2241 --without-xinput2 do not use the Xinput 2 extension
2242 --without-xml do not use XML
2243 --without-xrandr do not use Xrandr (resolution changes)
2244 --without-xrender do not use the Xrender extension
2245 --without-xshape do not use the Xshape extension
2246 --without-xshm do not use XShm (shared memory extension)
2247 --without-xslt do not use XSLT
2248 --without-xxf86vm do not use XFree video mode extension
2249 --without-zlib do not use Zlib (data compression)
2250 --with-wine-tools=DIR use Wine tools from directory DIR
2251 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2252 --with-x use the X Window System
2254 Some influential environment variables:
2255 CC C compiler command
2256 CFLAGS C compiler flags
2257 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2258 nonstandard directory <lib dir>
2259 LIBS libraries to pass to the linker, e.g. -l<library>
2260 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2261 you have headers in a nonstandard directory <include dir>
2262 CXX C++ compiler command
2263 CXXFLAGS C++ compiler flags
2264 CPP C preprocessor
2265 XMKMF Path to xmkmf, Makefile generator for X Window System
2266 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2267 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2268 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2269 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2270 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2271 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2272 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2273 HAL_LIBS Linker flags for hal, overriding pkg-config
2274 GNUTLS_CFLAGS
2275 C compiler flags for gnutls, overriding pkg-config
2276 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2277 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2278 SANE_LIBS Linker flags for libsane, overriding pkg-config
2279 GPHOTO2_CFLAGS
2280 C compiler flags for libgphoto2, overriding pkg-config
2281 GPHOTO2_LIBS
2282 Linker flags for libgphoto2, overriding pkg-config
2283 GPHOTO2_PORT_CFLAGS
2284 C compiler flags for libgphoto2_port, overriding pkg-config
2285 GPHOTO2_PORT_LIBS
2286 Linker flags for libgphoto2_port, overriding pkg-config
2287 LCMS2_CFLAGS
2288 C compiler flags for lcms2, overriding pkg-config
2289 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2290 FREETYPE_CFLAGS
2291 C compiler flags for freetype2, overriding pkg-config
2292 FREETYPE_LIBS
2293 Linker flags for freetype2, overriding pkg-config
2294 PULSE_CFLAGS
2295 C compiler flags for libpulse, overriding pkg-config
2296 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2297 GSTREAMER_CFLAGS
2298 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2299 gstreamer-audio-1.0, overriding pkg-config
2300 GSTREAMER_LIBS
2301 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2302 gstreamer-audio-1.0, overriding pkg-config
2303 CAPI20_CFLAGS
2304 C compiler flags for capi20, overriding pkg-config
2305 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2306 FONTCONFIG_CFLAGS
2307 C compiler flags for fontconfig, overriding pkg-config
2308 FONTCONFIG_LIBS
2309 Linker flags for fontconfig, overriding pkg-config
2310 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2311 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2312 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2313 PNG_LIBS Linker flags for libpng, overriding pkg-config
2314 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2315 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2316 MPG123_CFLAGS
2317 C compiler flags for libmpg123, overriding pkg-config
2318 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2320 Use these variables to override the choices made by `configure' or to help
2321 it to find libraries and programs with nonstandard names/locations.
2323 Report bugs to <wine-devel@winehq.org>.
2324 Wine home page: <http://www.winehq.org>.
2325 _ACEOF
2326 ac_status=$?
2329 if test "$ac_init_help" = "recursive"; then
2330 # If there are subdirs, report their specific --help.
2331 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2332 test -d "$ac_dir" ||
2333 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2334 continue
2335 ac_builddir=.
2337 case "$ac_dir" in
2338 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2340 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2341 # A ".." for each directory in $ac_dir_suffix.
2342 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2343 case $ac_top_builddir_sub in
2344 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2345 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2346 esac ;;
2347 esac
2348 ac_abs_top_builddir=$ac_pwd
2349 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2350 # for backward compatibility:
2351 ac_top_builddir=$ac_top_build_prefix
2353 case $srcdir in
2354 .) # We are building in place.
2355 ac_srcdir=.
2356 ac_top_srcdir=$ac_top_builddir_sub
2357 ac_abs_top_srcdir=$ac_pwd ;;
2358 [\\/]* | ?:[\\/]* ) # Absolute name.
2359 ac_srcdir=$srcdir$ac_dir_suffix;
2360 ac_top_srcdir=$srcdir
2361 ac_abs_top_srcdir=$srcdir ;;
2362 *) # Relative name.
2363 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2364 ac_top_srcdir=$ac_top_build_prefix$srcdir
2365 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2366 esac
2367 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2369 cd "$ac_dir" || { ac_status=$?; continue; }
2370 # Check for guested configure.
2371 if test -f "$ac_srcdir/configure.gnu"; then
2372 echo &&
2373 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2374 elif test -f "$ac_srcdir/configure"; then
2375 echo &&
2376 $SHELL "$ac_srcdir/configure" --help=recursive
2377 else
2378 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2379 fi || ac_status=$?
2380 cd "$ac_pwd" || { ac_status=$?; break; }
2381 done
2384 test -n "$ac_init_help" && exit $ac_status
2385 if $ac_init_version; then
2386 cat <<\_ACEOF
2387 Wine configure 1.9.3
2388 generated by GNU Autoconf 2.69
2390 Copyright (C) 2012 Free Software Foundation, Inc.
2391 This configure script is free software; the Free Software Foundation
2392 gives unlimited permission to copy, distribute and modify it.
2393 _ACEOF
2394 exit
2397 ## ------------------------ ##
2398 ## Autoconf initialization. ##
2399 ## ------------------------ ##
2401 # ac_fn_c_try_compile LINENO
2402 # --------------------------
2403 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2404 ac_fn_c_try_compile ()
2406 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2407 rm -f conftest.$ac_objext
2408 if { { ac_try="$ac_compile"
2409 case "(($ac_try" in
2410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2411 *) ac_try_echo=$ac_try;;
2412 esac
2413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2414 $as_echo "$ac_try_echo"; } >&5
2415 (eval "$ac_compile") 2>conftest.err
2416 ac_status=$?
2417 if test -s conftest.err; then
2418 grep -v '^ *+' conftest.err >conftest.er1
2419 cat conftest.er1 >&5
2420 mv -f conftest.er1 conftest.err
2422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2423 test $ac_status = 0; } && {
2424 test -z "$ac_c_werror_flag" ||
2425 test ! -s conftest.err
2426 } && test -s conftest.$ac_objext; then :
2427 ac_retval=0
2428 else
2429 $as_echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2432 ac_retval=1
2434 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2435 as_fn_set_status $ac_retval
2437 } # ac_fn_c_try_compile
2439 # ac_fn_cxx_try_compile LINENO
2440 # ----------------------------
2441 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2442 ac_fn_cxx_try_compile ()
2444 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2445 rm -f conftest.$ac_objext
2446 if { { ac_try="$ac_compile"
2447 case "(($ac_try" in
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2450 esac
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_compile") 2>conftest.err
2454 ac_status=$?
2455 if test -s conftest.err; then
2456 grep -v '^ *+' conftest.err >conftest.er1
2457 cat conftest.er1 >&5
2458 mv -f conftest.er1 conftest.err
2460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2461 test $ac_status = 0; } && {
2462 test -z "$ac_cxx_werror_flag" ||
2463 test ! -s conftest.err
2464 } && test -s conftest.$ac_objext; then :
2465 ac_retval=0
2466 else
2467 $as_echo "$as_me: failed program was:" >&5
2468 sed 's/^/| /' conftest.$ac_ext >&5
2470 ac_retval=1
2472 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2473 as_fn_set_status $ac_retval
2475 } # ac_fn_cxx_try_compile
2477 # ac_fn_c_try_link LINENO
2478 # -----------------------
2479 # Try to link conftest.$ac_ext, and return whether this succeeded.
2480 ac_fn_c_try_link ()
2482 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2483 rm -f conftest.$ac_objext conftest$ac_exeext
2484 if { { ac_try="$ac_link"
2485 case "(($ac_try" in
2486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2487 *) ac_try_echo=$ac_try;;
2488 esac
2489 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2490 $as_echo "$ac_try_echo"; } >&5
2491 (eval "$ac_link") 2>conftest.err
2492 ac_status=$?
2493 if test -s conftest.err; then
2494 grep -v '^ *+' conftest.err >conftest.er1
2495 cat conftest.er1 >&5
2496 mv -f conftest.er1 conftest.err
2498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2499 test $ac_status = 0; } && {
2500 test -z "$ac_c_werror_flag" ||
2501 test ! -s conftest.err
2502 } && test -s conftest$ac_exeext && {
2503 test "$cross_compiling" = yes ||
2504 test -x conftest$ac_exeext
2505 }; then :
2506 ac_retval=0
2507 else
2508 $as_echo "$as_me: failed program was:" >&5
2509 sed 's/^/| /' conftest.$ac_ext >&5
2511 ac_retval=1
2513 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2514 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2515 # interfere with the next link command; also delete a directory that is
2516 # left behind by Apple's compiler. We do this before executing the actions.
2517 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2518 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2519 as_fn_set_status $ac_retval
2521 } # ac_fn_c_try_link
2523 # ac_fn_c_try_cpp LINENO
2524 # ----------------------
2525 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2526 ac_fn_c_try_cpp ()
2528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529 if { { ac_try="$ac_cpp conftest.$ac_ext"
2530 case "(($ac_try" in
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2533 esac
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2537 ac_status=$?
2538 if test -s conftest.err; then
2539 grep -v '^ *+' conftest.err >conftest.er1
2540 cat conftest.er1 >&5
2541 mv -f conftest.er1 conftest.err
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; } > conftest.i && {
2545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2546 test ! -s conftest.err
2547 }; then :
2548 ac_retval=0
2549 else
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2553 ac_retval=1
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556 as_fn_set_status $ac_retval
2558 } # ac_fn_c_try_cpp
2560 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2561 # -------------------------------------------------------
2562 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2563 # the include files in INCLUDES and setting the cache variable VAR
2564 # accordingly.
2565 ac_fn_c_check_header_mongrel ()
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 if eval \${$3+:} false; then :
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2570 $as_echo_n "checking for $2... " >&6; }
2571 if eval \${$3+:} false; then :
2572 $as_echo_n "(cached) " >&6
2574 eval ac_res=\$$3
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2576 $as_echo "$ac_res" >&6; }
2577 else
2578 # Is the header compilable?
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2580 $as_echo_n "checking $2 usability... " >&6; }
2581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2582 /* end confdefs.h. */
2584 #include <$2>
2585 _ACEOF
2586 if ac_fn_c_try_compile "$LINENO"; then :
2587 ac_header_compiler=yes
2588 else
2589 ac_header_compiler=no
2591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2593 $as_echo "$ac_header_compiler" >&6; }
2595 # Is the header present?
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2597 $as_echo_n "checking $2 presence... " >&6; }
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2600 #include <$2>
2601 _ACEOF
2602 if ac_fn_c_try_cpp "$LINENO"; then :
2603 ac_header_preproc=yes
2604 else
2605 ac_header_preproc=no
2607 rm -f conftest.err conftest.i conftest.$ac_ext
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2609 $as_echo "$ac_header_preproc" >&6; }
2611 # So? What about this header?
2612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2613 yes:no: )
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2615 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2617 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2619 no:yes:* )
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2621 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2623 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2625 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2627 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2629 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2630 ( $as_echo "## ------------------------------------ ##
2631 ## Report this to wine-devel@winehq.org ##
2632 ## ------------------------------------ ##"
2633 ) | sed "s/^/$as_me: WARNING: /" >&2
2635 esac
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2637 $as_echo_n "checking for $2... " >&6; }
2638 if eval \${$3+:} false; then :
2639 $as_echo_n "(cached) " >&6
2640 else
2641 eval "$3=\$ac_header_compiler"
2643 eval ac_res=\$$3
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2645 $as_echo "$ac_res" >&6; }
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2649 } # ac_fn_c_check_header_mongrel
2651 # ac_fn_c_try_run LINENO
2652 # ----------------------
2653 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2654 # that executables *can* be run.
2655 ac_fn_c_try_run ()
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 if { { ac_try="$ac_link"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2664 $as_echo "$ac_try_echo"; } >&5
2665 (eval "$ac_link") 2>&5
2666 ac_status=$?
2667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2668 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2669 { { case "(($ac_try" in
2670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2671 *) ac_try_echo=$ac_try;;
2672 esac
2673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2674 $as_echo "$ac_try_echo"; } >&5
2675 (eval "$ac_try") 2>&5
2676 ac_status=$?
2677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2678 test $ac_status = 0; }; }; then :
2679 ac_retval=0
2680 else
2681 $as_echo "$as_me: program exited with status $ac_status" >&5
2682 $as_echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2685 ac_retval=$ac_status
2687 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2689 as_fn_set_status $ac_retval
2691 } # ac_fn_c_try_run
2693 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2694 # -------------------------------------------------------
2695 # Tests whether HEADER exists and can be compiled using the include files in
2696 # INCLUDES, setting the cache variable VAR accordingly.
2697 ac_fn_c_check_header_compile ()
2699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2701 $as_echo_n "checking for $2... " >&6; }
2702 if eval \${$3+:} false; then :
2703 $as_echo_n "(cached) " >&6
2704 else
2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2708 #include <$2>
2709 _ACEOF
2710 if ac_fn_c_try_compile "$LINENO"; then :
2711 eval "$3=yes"
2712 else
2713 eval "$3=no"
2715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2717 eval ac_res=\$$3
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2719 $as_echo "$ac_res" >&6; }
2720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2722 } # ac_fn_c_check_header_compile
2724 # ac_fn_c_check_func LINENO FUNC VAR
2725 # ----------------------------------
2726 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2727 ac_fn_c_check_func ()
2729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2731 $as_echo_n "checking for $2... " >&6; }
2732 if eval \${$3+:} false; then :
2733 $as_echo_n "(cached) " >&6
2734 else
2735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2736 /* end confdefs.h. */
2737 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2739 #define $2 innocuous_$2
2741 /* System header to define __stub macros and hopefully few prototypes,
2742 which can conflict with char $2 (); below.
2743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2744 <limits.h> exists even on freestanding compilers. */
2746 #ifdef __STDC__
2747 # include <limits.h>
2748 #else
2749 # include <assert.h>
2750 #endif
2752 #undef $2
2754 /* Override any GCC internal prototype to avoid an error.
2755 Use char because int might match the return type of a GCC
2756 builtin and then its argument prototype would still apply. */
2757 #ifdef __cplusplus
2758 extern "C"
2759 #endif
2760 char $2 ();
2761 /* The GNU C library defines this for functions which it implements
2762 to always fail with ENOSYS. Some functions are actually named
2763 something starting with __ and the normal name is an alias. */
2764 #if defined __stub_$2 || defined __stub___$2
2765 choke me
2766 #endif
2769 main ()
2771 return $2 ();
2773 return 0;
2775 _ACEOF
2776 if ac_fn_c_try_link "$LINENO"; then :
2777 eval "$3=yes"
2778 else
2779 eval "$3=no"
2781 rm -f core conftest.err conftest.$ac_objext \
2782 conftest$ac_exeext conftest.$ac_ext
2784 eval ac_res=\$$3
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2786 $as_echo "$ac_res" >&6; }
2787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2789 } # ac_fn_c_check_func
2791 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2792 # ----------------------------------------------------
2793 # Tries to find if the field MEMBER exists in type AGGR, after including
2794 # INCLUDES, setting cache variable VAR accordingly.
2795 ac_fn_c_check_member ()
2797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2799 $as_echo_n "checking for $2.$3... " >&6; }
2800 if eval \${$4+:} false; then :
2801 $as_echo_n "(cached) " >&6
2802 else
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2807 main ()
2809 static $2 ac_aggr;
2810 if (ac_aggr.$3)
2811 return 0;
2813 return 0;
2815 _ACEOF
2816 if ac_fn_c_try_compile "$LINENO"; then :
2817 eval "$4=yes"
2818 else
2819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2820 /* end confdefs.h. */
2823 main ()
2825 static $2 ac_aggr;
2826 if (sizeof ac_aggr.$3)
2827 return 0;
2829 return 0;
2831 _ACEOF
2832 if ac_fn_c_try_compile "$LINENO"; then :
2833 eval "$4=yes"
2834 else
2835 eval "$4=no"
2837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2841 eval ac_res=\$$4
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2843 $as_echo "$ac_res" >&6; }
2844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2846 } # ac_fn_c_check_member
2848 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2849 # -------------------------------------------
2850 # Tests whether TYPE exists after having included INCLUDES, setting cache
2851 # variable VAR accordingly.
2852 ac_fn_c_check_type ()
2854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2856 $as_echo_n "checking for $2... " >&6; }
2857 if eval \${$3+:} false; then :
2858 $as_echo_n "(cached) " >&6
2859 else
2860 eval "$3=no"
2861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2862 /* end confdefs.h. */
2865 main ()
2867 if (sizeof ($2))
2868 return 0;
2870 return 0;
2872 _ACEOF
2873 if ac_fn_c_try_compile "$LINENO"; then :
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2878 main ()
2880 if (sizeof (($2)))
2881 return 0;
2883 return 0;
2885 _ACEOF
2886 if ac_fn_c_try_compile "$LINENO"; then :
2888 else
2889 eval "$3=yes"
2891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 eval ac_res=\$$3
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2897 $as_echo "$ac_res" >&6; }
2898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 } # ac_fn_c_check_type
2901 cat >config.log <<_ACEOF
2902 This file contains any messages produced by compilers while
2903 running configure, to aid debugging if configure makes a mistake.
2905 It was created by Wine $as_me 1.9.3, which was
2906 generated by GNU Autoconf 2.69. Invocation command line was
2908 $ $0 $@
2910 _ACEOF
2911 exec 5>>config.log
2913 cat <<_ASUNAME
2914 ## --------- ##
2915 ## Platform. ##
2916 ## --------- ##
2918 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2919 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2920 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2921 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2922 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2924 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2925 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2927 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2928 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2929 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2930 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2931 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2932 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2933 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2935 _ASUNAME
2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938 for as_dir in $PATH
2940 IFS=$as_save_IFS
2941 test -z "$as_dir" && as_dir=.
2942 $as_echo "PATH: $as_dir"
2943 done
2944 IFS=$as_save_IFS
2946 } >&5
2948 cat >&5 <<_ACEOF
2951 ## ----------- ##
2952 ## Core tests. ##
2953 ## ----------- ##
2955 _ACEOF
2958 # Keep a trace of the command line.
2959 # Strip out --no-create and --no-recursion so they do not pile up.
2960 # Strip out --silent because we don't want to record it for future runs.
2961 # Also quote any args containing shell meta-characters.
2962 # Make two passes to allow for proper duplicate-argument suppression.
2963 ac_configure_args=
2964 ac_configure_args0=
2965 ac_configure_args1=
2966 ac_must_keep_next=false
2967 for ac_pass in 1 2
2969 for ac_arg
2971 case $ac_arg in
2972 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2973 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2974 | -silent | --silent | --silen | --sile | --sil)
2975 continue ;;
2976 *\'*)
2977 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2978 esac
2979 case $ac_pass in
2980 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2982 as_fn_append ac_configure_args1 " '$ac_arg'"
2983 if test $ac_must_keep_next = true; then
2984 ac_must_keep_next=false # Got value, back to normal.
2985 else
2986 case $ac_arg in
2987 *=* | --config-cache | -C | -disable-* | --disable-* \
2988 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2989 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2990 | -with-* | --with-* | -without-* | --without-* | --x)
2991 case "$ac_configure_args0 " in
2992 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2993 esac
2995 -* ) ac_must_keep_next=true ;;
2996 esac
2998 as_fn_append ac_configure_args " '$ac_arg'"
3000 esac
3001 done
3002 done
3003 { ac_configure_args0=; unset ac_configure_args0;}
3004 { ac_configure_args1=; unset ac_configure_args1;}
3006 # When interrupted or exit'd, cleanup temporary files, and complete
3007 # config.log. We remove comments because anyway the quotes in there
3008 # would cause problems or look ugly.
3009 # WARNING: Use '\'' to represent an apostrophe within the trap.
3010 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3011 trap 'exit_status=$?
3012 # Save into config.log some information that might help in debugging.
3014 echo
3016 $as_echo "## ---------------- ##
3017 ## Cache variables. ##
3018 ## ---------------- ##"
3019 echo
3020 # The following way of writing the cache mishandles newlines in values,
3022 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3023 eval ac_val=\$$ac_var
3024 case $ac_val in #(
3025 *${as_nl}*)
3026 case $ac_var in #(
3027 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3028 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3029 esac
3030 case $ac_var in #(
3031 _ | IFS | as_nl) ;; #(
3032 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3033 *) { eval $ac_var=; unset $ac_var;} ;;
3034 esac ;;
3035 esac
3036 done
3037 (set) 2>&1 |
3038 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3039 *${as_nl}ac_space=\ *)
3040 sed -n \
3041 "s/'\''/'\''\\\\'\'''\''/g;
3042 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3043 ;; #(
3045 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3047 esac |
3048 sort
3050 echo
3052 $as_echo "## ----------------- ##
3053 ## Output variables. ##
3054 ## ----------------- ##"
3055 echo
3056 for ac_var in $ac_subst_vars
3058 eval ac_val=\$$ac_var
3059 case $ac_val in
3060 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3061 esac
3062 $as_echo "$ac_var='\''$ac_val'\''"
3063 done | sort
3064 echo
3066 if test -n "$ac_subst_files"; then
3067 $as_echo "## ------------------- ##
3068 ## File substitutions. ##
3069 ## ------------------- ##"
3070 echo
3071 for ac_var in $ac_subst_files
3073 eval ac_val=\$$ac_var
3074 case $ac_val in
3075 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3076 esac
3077 $as_echo "$ac_var='\''$ac_val'\''"
3078 done | sort
3079 echo
3082 if test -s confdefs.h; then
3083 $as_echo "## ----------- ##
3084 ## confdefs.h. ##
3085 ## ----------- ##"
3086 echo
3087 cat confdefs.h
3088 echo
3090 test "$ac_signal" != 0 &&
3091 $as_echo "$as_me: caught signal $ac_signal"
3092 $as_echo "$as_me: exit $exit_status"
3093 } >&5
3094 rm -f core *.core core.conftest.* &&
3095 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3096 exit $exit_status
3098 for ac_signal in 1 2 13 15; do
3099 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3100 done
3101 ac_signal=0
3103 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3104 rm -f -r conftest* confdefs.h
3106 $as_echo "/* confdefs.h */" > confdefs.h
3108 # Predefined preprocessor variables.
3110 cat >>confdefs.h <<_ACEOF
3111 #define PACKAGE_NAME "$PACKAGE_NAME"
3112 _ACEOF
3114 cat >>confdefs.h <<_ACEOF
3115 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3116 _ACEOF
3118 cat >>confdefs.h <<_ACEOF
3119 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3120 _ACEOF
3122 cat >>confdefs.h <<_ACEOF
3123 #define PACKAGE_STRING "$PACKAGE_STRING"
3124 _ACEOF
3126 cat >>confdefs.h <<_ACEOF
3127 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3128 _ACEOF
3130 cat >>confdefs.h <<_ACEOF
3131 #define PACKAGE_URL "$PACKAGE_URL"
3132 _ACEOF
3135 # Let the site file select an alternate cache file if it wants to.
3136 # Prefer an explicitly selected file to automatically selected ones.
3137 ac_site_file1=NONE
3138 ac_site_file2=NONE
3139 if test -n "$CONFIG_SITE"; then
3140 # We do not want a PATH search for config.site.
3141 case $CONFIG_SITE in #((
3142 -*) ac_site_file1=./$CONFIG_SITE;;
3143 */*) ac_site_file1=$CONFIG_SITE;;
3144 *) ac_site_file1=./$CONFIG_SITE;;
3145 esac
3146 elif test "x$prefix" != xNONE; then
3147 ac_site_file1=$prefix/share/config.site
3148 ac_site_file2=$prefix/etc/config.site
3149 else
3150 ac_site_file1=$ac_default_prefix/share/config.site
3151 ac_site_file2=$ac_default_prefix/etc/config.site
3153 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3155 test "x$ac_site_file" = xNONE && continue
3156 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3158 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3159 sed 's/^/| /' "$ac_site_file" >&5
3160 . "$ac_site_file" \
3161 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3162 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3163 as_fn_error $? "failed to load site script $ac_site_file
3164 See \`config.log' for more details" "$LINENO" 5; }
3166 done
3168 if test -r "$cache_file"; then
3169 # Some versions of bash will fail to source /dev/null (special files
3170 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3171 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3173 $as_echo "$as_me: loading cache $cache_file" >&6;}
3174 case $cache_file in
3175 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3176 *) . "./$cache_file";;
3177 esac
3179 else
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3181 $as_echo "$as_me: creating cache $cache_file" >&6;}
3182 >$cache_file
3185 # Check that the precious variables saved in the cache have kept the same
3186 # value.
3187 ac_cache_corrupted=false
3188 for ac_var in $ac_precious_vars; do
3189 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3190 eval ac_new_set=\$ac_env_${ac_var}_set
3191 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3192 eval ac_new_val=\$ac_env_${ac_var}_value
3193 case $ac_old_set,$ac_new_set in
3194 set,)
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3196 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3197 ac_cache_corrupted=: ;;
3198 ,set)
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3200 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3201 ac_cache_corrupted=: ;;
3202 ,);;
3204 if test "x$ac_old_val" != "x$ac_new_val"; then
3205 # differences in whitespace do not lead to failure.
3206 ac_old_val_w=`echo x $ac_old_val`
3207 ac_new_val_w=`echo x $ac_new_val`
3208 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3210 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3211 ac_cache_corrupted=:
3212 else
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3214 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3215 eval $ac_var=\$ac_old_val
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3218 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3220 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3221 fi;;
3222 esac
3223 # Pass precious variables to config.status.
3224 if test "$ac_new_set" = set; then
3225 case $ac_new_val in
3226 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3227 *) ac_arg=$ac_var=$ac_new_val ;;
3228 esac
3229 case " $ac_configure_args " in
3230 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3231 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3232 esac
3234 done
3235 if $ac_cache_corrupted; then
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3239 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3240 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3242 ## -------------------- ##
3243 ## Main body of script. ##
3244 ## -------------------- ##
3246 ac_ext=c
3247 ac_cpp='$CPP $CPPFLAGS'
3248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3254 ac_config_headers="$ac_config_headers include/config.h"
3256 ac_aux_dir=
3257 for ac_dir in tools "$srcdir"/tools; do
3258 if test -f "$ac_dir/install-sh"; then
3259 ac_aux_dir=$ac_dir
3260 ac_install_sh="$ac_aux_dir/install-sh -c"
3261 break
3262 elif test -f "$ac_dir/install.sh"; then
3263 ac_aux_dir=$ac_dir
3264 ac_install_sh="$ac_aux_dir/install.sh -c"
3265 break
3266 elif test -f "$ac_dir/shtool"; then
3267 ac_aux_dir=$ac_dir
3268 ac_install_sh="$ac_aux_dir/shtool install -c"
3269 break
3271 done
3272 if test -z "$ac_aux_dir"; then
3273 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3276 # These three variables are undocumented and unsupported,
3277 # and are intended to be withdrawn in a future Autoconf release.
3278 # They can cause serious problems if a builder's source tree is in a directory
3279 # whose full name contains unusual characters.
3280 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3281 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3282 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3286 libwine_version="1.0"
3290 # Check whether --enable-win16 was given.
3291 if test "${enable_win16+set}" = set; then :
3292 enableval=$enable_win16;
3295 # Check whether --enable-win64 was given.
3296 if test "${enable_win64+set}" = set; then :
3297 enableval=$enable_win64;
3300 # Check whether --enable-tests was given.
3301 if test "${enable_tests+set}" = set; then :
3302 enableval=$enable_tests;
3305 # Check whether --enable-maintainer-mode was given.
3306 if test "${enable_maintainer_mode+set}" = set; then :
3307 enableval=$enable_maintainer_mode;
3312 # Check whether --with-alsa was given.
3313 if test "${with_alsa+set}" = set; then :
3314 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3318 # Check whether --with-capi was given.
3319 if test "${with_capi+set}" = set; then :
3320 withval=$with_capi;
3324 # Check whether --with-cms was given.
3325 if test "${with_cms+set}" = set; then :
3326 withval=$with_cms;
3330 # Check whether --with-coreaudio was given.
3331 if test "${with_coreaudio+set}" = set; then :
3332 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3336 # Check whether --with-cups was given.
3337 if test "${with_cups+set}" = set; then :
3338 withval=$with_cups;
3342 # Check whether --with-curses was given.
3343 if test "${with_curses+set}" = set; then :
3344 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3348 # Check whether --with-dbus was given.
3349 if test "${with_dbus+set}" = set; then :
3350 withval=$with_dbus;
3354 # Check whether --with-fontconfig was given.
3355 if test "${with_fontconfig+set}" = set; then :
3356 withval=$with_fontconfig;
3360 # Check whether --with-freetype was given.
3361 if test "${with_freetype+set}" = set; then :
3362 withval=$with_freetype;
3366 # Check whether --with-gettext was given.
3367 if test "${with_gettext+set}" = set; then :
3368 withval=$with_gettext;
3372 # Check whether --with-gettextpo was given.
3373 if test "${with_gettextpo+set}" = set; then :
3374 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3378 # Check whether --with-gphoto was given.
3379 if test "${with_gphoto+set}" = set; then :
3380 withval=$with_gphoto;
3384 # Check whether --with-glu was given.
3385 if test "${with_glu+set}" = set; then :
3386 withval=$with_glu;
3390 # Check whether --with-gnutls was given.
3391 if test "${with_gnutls+set}" = set; then :
3392 withval=$with_gnutls;
3396 # Check whether --with-gsm was given.
3397 if test "${with_gsm+set}" = set; then :
3398 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3402 # Check whether --with-gstreamer was given.
3403 if test "${with_gstreamer+set}" = set; then :
3404 withval=$with_gstreamer;
3408 # Check whether --with-hal was given.
3409 if test "${with_hal+set}" = set; then :
3410 withval=$with_hal;
3414 # Check whether --with-jpeg was given.
3415 if test "${with_jpeg+set}" = set; then :
3416 withval=$with_jpeg;
3420 # Check whether --with-ldap was given.
3421 if test "${with_ldap+set}" = set; then :
3422 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3426 # Check whether --with-mpg123 was given.
3427 if test "${with_mpg123+set}" = set; then :
3428 withval=$with_mpg123;
3432 # Check whether --with-netapi was given.
3433 if test "${with_netapi+set}" = set; then :
3434 withval=$with_netapi;
3438 # Check whether --with-openal was given.
3439 if test "${with_openal+set}" = set; then :
3440 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3444 # Check whether --with-opencl was given.
3445 if test "${with_opencl+set}" = set; then :
3446 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3450 # Check whether --with-opengl was given.
3451 if test "${with_opengl+set}" = set; then :
3452 withval=$with_opengl;
3456 # Check whether --with-osmesa was given.
3457 if test "${with_osmesa+set}" = set; then :
3458 withval=$with_osmesa;
3462 # Check whether --with-oss was given.
3463 if test "${with_oss+set}" = set; then :
3464 withval=$with_oss;
3468 # Check whether --with-pcap was given.
3469 if test "${with_pcap+set}" = set; then :
3470 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3474 # Check whether --with-png was given.
3475 if test "${with_png+set}" = set; then :
3476 withval=$with_png;
3480 # Check whether --with-pthread was given.
3481 if test "${with_pthread+set}" = set; then :
3482 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3486 # Check whether --with-pulse was given.
3487 if test "${with_pulse+set}" = set; then :
3488 withval=$with_pulse;
3492 # Check whether --with-sane was given.
3493 if test "${with_sane+set}" = set; then :
3494 withval=$with_sane;
3498 # Check whether --with-tiff was given.
3499 if test "${with_tiff+set}" = set; then :
3500 withval=$with_tiff;
3504 # Check whether --with-v4l was given.
3505 if test "${with_v4l+set}" = set; then :
3506 withval=$with_v4l;
3510 # Check whether --with-xcomposite was given.
3511 if test "${with_xcomposite+set}" = set; then :
3512 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3516 # Check whether --with-xcursor was given.
3517 if test "${with_xcursor+set}" = set; then :
3518 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3522 # Check whether --with-xinerama was given.
3523 if test "${with_xinerama+set}" = set; then :
3524 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3528 # Check whether --with-xinput was given.
3529 if test "${with_xinput+set}" = set; then :
3530 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3534 # Check whether --with-xinput2 was given.
3535 if test "${with_xinput2+set}" = set; then :
3536 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3540 # Check whether --with-xml was given.
3541 if test "${with_xml+set}" = set; then :
3542 withval=$with_xml;
3546 # Check whether --with-xrandr was given.
3547 if test "${with_xrandr+set}" = set; then :
3548 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3552 # Check whether --with-xrender was given.
3553 if test "${with_xrender+set}" = set; then :
3554 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3558 # Check whether --with-xshape was given.
3559 if test "${with_xshape+set}" = set; then :
3560 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3564 # Check whether --with-xshm was given.
3565 if test "${with_xshm+set}" = set; then :
3566 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3570 # Check whether --with-xslt was given.
3571 if test "${with_xslt+set}" = set; then :
3572 withval=$with_xslt;
3576 # Check whether --with-xxf86vm was given.
3577 if test "${with_xxf86vm+set}" = set; then :
3578 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
3582 # Check whether --with-zlib was given.
3583 if test "${with_zlib+set}" = set; then :
3584 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3589 # Check whether --with-wine-tools was given.
3590 if test "${with_wine_tools+set}" = set; then :
3591 withval=$with_wine_tools;
3595 # Check whether --with-wine64 was given.
3596 if test "${with_wine64+set}" = set; then :
3597 withval=$with_wine64;
3601 # Make sure we can run config.sub.
3602 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3603 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3606 $as_echo_n "checking build system type... " >&6; }
3607 if ${ac_cv_build+:} false; then :
3608 $as_echo_n "(cached) " >&6
3609 else
3610 ac_build_alias=$build_alias
3611 test "x$ac_build_alias" = x &&
3612 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3613 test "x$ac_build_alias" = x &&
3614 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3615 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3616 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3620 $as_echo "$ac_cv_build" >&6; }
3621 case $ac_cv_build in
3622 *-*-*) ;;
3623 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3624 esac
3625 build=$ac_cv_build
3626 ac_save_IFS=$IFS; IFS='-'
3627 set x $ac_cv_build
3628 shift
3629 build_cpu=$1
3630 build_vendor=$2
3631 shift; shift
3632 # Remember, the first character of IFS is used to create $*,
3633 # except with old shells:
3634 build_os=$*
3635 IFS=$ac_save_IFS
3636 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3640 $as_echo_n "checking host system type... " >&6; }
3641 if ${ac_cv_host+:} false; then :
3642 $as_echo_n "(cached) " >&6
3643 else
3644 if test "x$host_alias" = x; then
3645 ac_cv_host=$ac_cv_build
3646 else
3647 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3648 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3653 $as_echo "$ac_cv_host" >&6; }
3654 case $ac_cv_host in
3655 *-*-*) ;;
3656 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3657 esac
3658 host=$ac_cv_host
3659 ac_save_IFS=$IFS; IFS='-'
3660 set x $ac_cv_host
3661 shift
3662 host_cpu=$1
3663 host_vendor=$2
3664 shift; shift
3665 # Remember, the first character of IFS is used to create $*,
3666 # except with old shells:
3667 host_os=$*
3668 IFS=$ac_save_IFS
3669 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3673 case "$srcdir" in
3674 .) ;;
3675 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3676 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3677 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3678 fi ;;
3679 esac
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3683 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3684 set x ${MAKE-make}
3685 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3686 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3687 $as_echo_n "(cached) " >&6
3688 else
3689 cat >conftest.make <<\_ACEOF
3690 SHELL = /bin/sh
3691 all:
3692 @echo '@@@%%%=$(MAKE)=@@@%%%'
3693 _ACEOF
3694 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3695 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3696 *@@@%%%=?*=@@@%%%*)
3697 eval ac_cv_prog_make_${ac_make}_set=yes;;
3699 eval ac_cv_prog_make_${ac_make}_set=no;;
3700 esac
3701 rm -f conftest.make
3703 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3705 $as_echo "yes" >&6; }
3706 SET_MAKE=
3707 else
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709 $as_echo "no" >&6; }
3710 SET_MAKE="MAKE=${MAKE-make}"
3713 ac_ext=c
3714 ac_cpp='$CPP $CPPFLAGS'
3715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3718 if test -n "$ac_tool_prefix"; then
3719 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3720 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if ${ac_cv_prog_CC+:} false; then :
3724 $as_echo_n "(cached) " >&6
3725 else
3726 if test -n "$CC"; then
3727 ac_cv_prog_CC="$CC" # Let the user override the test.
3728 else
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 for as_dir in $PATH
3732 IFS=$as_save_IFS
3733 test -z "$as_dir" && as_dir=.
3734 for ac_exec_ext in '' $ac_executable_extensions; do
3735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3736 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 break 2
3740 done
3741 done
3742 IFS=$as_save_IFS
3746 CC=$ac_cv_prog_CC
3747 if test -n "$CC"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3749 $as_echo "$CC" >&6; }
3750 else
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3757 if test -z "$ac_cv_prog_CC"; then
3758 ac_ct_CC=$CC
3759 # Extract the first word of "gcc", so it can be a program name with args.
3760 set dummy gcc; ac_word=$2
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3762 $as_echo_n "checking for $ac_word... " >&6; }
3763 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3764 $as_echo_n "(cached) " >&6
3765 else
3766 if test -n "$ac_ct_CC"; then
3767 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3768 else
3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3770 for as_dir in $PATH
3772 IFS=$as_save_IFS
3773 test -z "$as_dir" && as_dir=.
3774 for ac_exec_ext in '' $ac_executable_extensions; do
3775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3776 ac_cv_prog_ac_ct_CC="gcc"
3777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 break 2
3780 done
3781 done
3782 IFS=$as_save_IFS
3786 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3787 if test -n "$ac_ct_CC"; then
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3789 $as_echo "$ac_ct_CC" >&6; }
3790 else
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3792 $as_echo "no" >&6; }
3795 if test "x$ac_ct_CC" = x; then
3796 CC=""
3797 else
3798 case $cross_compiling:$ac_tool_warned in
3799 yes:)
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3802 ac_tool_warned=yes ;;
3803 esac
3804 CC=$ac_ct_CC
3806 else
3807 CC="$ac_cv_prog_CC"
3810 if test -z "$CC"; then
3811 if test -n "$ac_tool_prefix"; then
3812 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3813 set dummy ${ac_tool_prefix}cc; ac_word=$2
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3815 $as_echo_n "checking for $ac_word... " >&6; }
3816 if ${ac_cv_prog_CC+:} false; then :
3817 $as_echo_n "(cached) " >&6
3818 else
3819 if test -n "$CC"; then
3820 ac_cv_prog_CC="$CC" # Let the user override the test.
3821 else
3822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823 for as_dir in $PATH
3825 IFS=$as_save_IFS
3826 test -z "$as_dir" && as_dir=.
3827 for ac_exec_ext in '' $ac_executable_extensions; do
3828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3829 ac_cv_prog_CC="${ac_tool_prefix}cc"
3830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 break 2
3833 done
3834 done
3835 IFS=$as_save_IFS
3839 CC=$ac_cv_prog_CC
3840 if test -n "$CC"; then
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3842 $as_echo "$CC" >&6; }
3843 else
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3845 $as_echo "no" >&6; }
3851 if test -z "$CC"; then
3852 # Extract the first word of "cc", so it can be a program name with args.
3853 set dummy cc; ac_word=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_prog_CC+:} false; then :
3857 $as_echo_n "(cached) " >&6
3858 else
3859 if test -n "$CC"; then
3860 ac_cv_prog_CC="$CC" # Let the user override the test.
3861 else
3862 ac_prog_rejected=no
3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 for as_dir in $PATH
3866 IFS=$as_save_IFS
3867 test -z "$as_dir" && as_dir=.
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3871 ac_prog_rejected=yes
3872 continue
3874 ac_cv_prog_CC="cc"
3875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 break 2
3878 done
3879 done
3880 IFS=$as_save_IFS
3882 if test $ac_prog_rejected = yes; then
3883 # We found a bogon in the path, so make sure we never use it.
3884 set dummy $ac_cv_prog_CC
3885 shift
3886 if test $# != 0; then
3887 # We chose a different compiler from the bogus one.
3888 # However, it has the same basename, so the bogon will be chosen
3889 # first if we set CC to just the basename; use the full file name.
3890 shift
3891 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3896 CC=$ac_cv_prog_CC
3897 if test -n "$CC"; then
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3899 $as_echo "$CC" >&6; }
3900 else
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3902 $as_echo "no" >&6; }
3907 if test -z "$CC"; then
3908 if test -n "$ac_tool_prefix"; then
3909 for ac_prog in cl.exe
3911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914 $as_echo_n "checking for $ac_word... " >&6; }
3915 if ${ac_cv_prog_CC+:} false; then :
3916 $as_echo_n "(cached) " >&6
3917 else
3918 if test -n "$CC"; then
3919 ac_cv_prog_CC="$CC" # Let the user override the test.
3920 else
3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in $PATH
3924 IFS=$as_save_IFS
3925 test -z "$as_dir" && as_dir=.
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3928 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3930 break 2
3932 done
3933 done
3934 IFS=$as_save_IFS
3938 CC=$ac_cv_prog_CC
3939 if test -n "$CC"; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3941 $as_echo "$CC" >&6; }
3942 else
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3944 $as_echo "no" >&6; }
3948 test -n "$CC" && break
3949 done
3951 if test -z "$CC"; then
3952 ac_ct_CC=$CC
3953 for ac_prog in cl.exe
3955 # Extract the first word of "$ac_prog", so it can be a program name with args.
3956 set dummy $ac_prog; ac_word=$2
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3958 $as_echo_n "checking for $ac_word... " >&6; }
3959 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3960 $as_echo_n "(cached) " >&6
3961 else
3962 if test -n "$ac_ct_CC"; then
3963 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3964 else
3965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3966 for as_dir in $PATH
3968 IFS=$as_save_IFS
3969 test -z "$as_dir" && as_dir=.
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972 ac_cv_prog_ac_ct_CC="$ac_prog"
3973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 break 2
3976 done
3977 done
3978 IFS=$as_save_IFS
3982 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3983 if test -n "$ac_ct_CC"; then
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3985 $as_echo "$ac_ct_CC" >&6; }
3986 else
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3988 $as_echo "no" >&6; }
3992 test -n "$ac_ct_CC" && break
3993 done
3995 if test "x$ac_ct_CC" = x; then
3996 CC=""
3997 else
3998 case $cross_compiling:$ac_tool_warned in
3999 yes:)
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4002 ac_tool_warned=yes ;;
4003 esac
4004 CC=$ac_ct_CC
4011 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4012 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4013 as_fn_error $? "no acceptable C compiler found in \$PATH
4014 See \`config.log' for more details" "$LINENO" 5; }
4016 # Provide some information about the compiler.
4017 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4018 set X $ac_compile
4019 ac_compiler=$2
4020 for ac_option in --version -v -V -qversion; do
4021 { { ac_try="$ac_compiler $ac_option >&5"
4022 case "(($ac_try" in
4023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4025 esac
4026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4027 $as_echo "$ac_try_echo"; } >&5
4028 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4029 ac_status=$?
4030 if test -s conftest.err; then
4031 sed '10a\
4032 ... rest of stderr output deleted ...
4033 10q' conftest.err >conftest.er1
4034 cat conftest.er1 >&5
4036 rm -f conftest.er1 conftest.err
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }
4039 done
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4045 main ()
4049 return 0;
4051 _ACEOF
4052 ac_clean_files_save=$ac_clean_files
4053 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4054 # Try to create an executable without -o first, disregard a.out.
4055 # It will help us diagnose broken compilers, and finding out an intuition
4056 # of exeext.
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4058 $as_echo_n "checking whether the C compiler works... " >&6; }
4059 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4061 # The possible output files:
4062 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4064 ac_rmfiles=
4065 for ac_file in $ac_files
4067 case $ac_file in
4068 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4069 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4070 esac
4071 done
4072 rm -f $ac_rmfiles
4074 if { { ac_try="$ac_link_default"
4075 case "(($ac_try" in
4076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4078 esac
4079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4080 $as_echo "$ac_try_echo"; } >&5
4081 (eval "$ac_link_default") 2>&5
4082 ac_status=$?
4083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4084 test $ac_status = 0; }; then :
4085 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4086 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4087 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4088 # so that the user can short-circuit this test for compilers unknown to
4089 # Autoconf.
4090 for ac_file in $ac_files ''
4092 test -f "$ac_file" || continue
4093 case $ac_file in
4094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4096 [ab].out )
4097 # We found the default executable, but exeext='' is most
4098 # certainly right.
4099 break;;
4100 *.* )
4101 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4102 then :; else
4103 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4105 # We set ac_cv_exeext here because the later test for it is not
4106 # safe: cross compilers may not add the suffix if given an `-o'
4107 # argument, so we may need to know it at that point already.
4108 # Even if this section looks crufty: it has the advantage of
4109 # actually working.
4110 break;;
4112 break;;
4113 esac
4114 done
4115 test "$ac_cv_exeext" = no && ac_cv_exeext=
4117 else
4118 ac_file=''
4120 if test -z "$ac_file"; then :
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4123 $as_echo "$as_me: failed program was:" >&5
4124 sed 's/^/| /' conftest.$ac_ext >&5
4126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4127 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4128 as_fn_error 77 "C compiler cannot create executables
4129 See \`config.log' for more details" "$LINENO" 5; }
4130 else
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4132 $as_echo "yes" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4135 $as_echo_n "checking for C compiler default output file name... " >&6; }
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4137 $as_echo "$ac_file" >&6; }
4138 ac_exeext=$ac_cv_exeext
4140 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4141 ac_clean_files=$ac_clean_files_save
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4143 $as_echo_n "checking for suffix of executables... " >&6; }
4144 if { { ac_try="$ac_link"
4145 case "(($ac_try" in
4146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4148 esac
4149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4150 $as_echo "$ac_try_echo"; } >&5
4151 (eval "$ac_link") 2>&5
4152 ac_status=$?
4153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4154 test $ac_status = 0; }; then :
4155 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4156 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4157 # work properly (i.e., refer to `conftest.exe'), while it won't with
4158 # `rm'.
4159 for ac_file in conftest.exe conftest conftest.*; do
4160 test -f "$ac_file" || continue
4161 case $ac_file in
4162 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4163 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4164 break;;
4165 * ) break;;
4166 esac
4167 done
4168 else
4169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4171 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4172 See \`config.log' for more details" "$LINENO" 5; }
4174 rm -f conftest conftest$ac_cv_exeext
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4176 $as_echo "$ac_cv_exeext" >&6; }
4178 rm -f conftest.$ac_ext
4179 EXEEXT=$ac_cv_exeext
4180 ac_exeext=$EXEEXT
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4183 #include <stdio.h>
4185 main ()
4187 FILE *f = fopen ("conftest.out", "w");
4188 return ferror (f) || fclose (f) != 0;
4191 return 0;
4193 _ACEOF
4194 ac_clean_files="$ac_clean_files conftest.out"
4195 # Check that the compiler produces executables we can run. If not, either
4196 # the compiler is broken, or we cross compile.
4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4198 $as_echo_n "checking whether we are cross compiling... " >&6; }
4199 if test "$cross_compiling" != yes; then
4200 { { ac_try="$ac_link"
4201 case "(($ac_try" in
4202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203 *) ac_try_echo=$ac_try;;
4204 esac
4205 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4206 $as_echo "$ac_try_echo"; } >&5
4207 (eval "$ac_link") 2>&5
4208 ac_status=$?
4209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4210 test $ac_status = 0; }
4211 if { ac_try='./conftest$ac_cv_exeext'
4212 { { case "(($ac_try" in
4213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214 *) ac_try_echo=$ac_try;;
4215 esac
4216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4217 $as_echo "$ac_try_echo"; } >&5
4218 (eval "$ac_try") 2>&5
4219 ac_status=$?
4220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4221 test $ac_status = 0; }; }; then
4222 cross_compiling=no
4223 else
4224 if test "$cross_compiling" = maybe; then
4225 cross_compiling=yes
4226 else
4227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4229 as_fn_error $? "cannot run C compiled programs.
4230 If you meant to cross compile, use \`--host'.
4231 See \`config.log' for more details" "$LINENO" 5; }
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4236 $as_echo "$cross_compiling" >&6; }
4238 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4239 ac_clean_files=$ac_clean_files_save
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4241 $as_echo_n "checking for suffix of object files... " >&6; }
4242 if ${ac_cv_objext+:} false; then :
4243 $as_echo_n "(cached) " >&6
4244 else
4245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4246 /* end confdefs.h. */
4249 main ()
4253 return 0;
4255 _ACEOF
4256 rm -f conftest.o conftest.obj
4257 if { { ac_try="$ac_compile"
4258 case "(($ac_try" in
4259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4260 *) ac_try_echo=$ac_try;;
4261 esac
4262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4263 $as_echo "$ac_try_echo"; } >&5
4264 (eval "$ac_compile") 2>&5
4265 ac_status=$?
4266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4267 test $ac_status = 0; }; then :
4268 for ac_file in conftest.o conftest.obj conftest.*; do
4269 test -f "$ac_file" || continue;
4270 case $ac_file in
4271 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4272 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4273 break;;
4274 esac
4275 done
4276 else
4277 $as_echo "$as_me: failed program was:" >&5
4278 sed 's/^/| /' conftest.$ac_ext >&5
4280 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4282 as_fn_error $? "cannot compute suffix of object files: cannot compile
4283 See \`config.log' for more details" "$LINENO" 5; }
4285 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4288 $as_echo "$ac_cv_objext" >&6; }
4289 OBJEXT=$ac_cv_objext
4290 ac_objext=$OBJEXT
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4292 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4293 if ${ac_cv_c_compiler_gnu+:} false; then :
4294 $as_echo_n "(cached) " >&6
4295 else
4296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4300 main ()
4302 #ifndef __GNUC__
4303 choke me
4304 #endif
4307 return 0;
4309 _ACEOF
4310 if ac_fn_c_try_compile "$LINENO"; then :
4311 ac_compiler_gnu=yes
4312 else
4313 ac_compiler_gnu=no
4315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4316 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4320 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4321 if test $ac_compiler_gnu = yes; then
4322 GCC=yes
4323 else
4324 GCC=
4326 ac_test_CFLAGS=${CFLAGS+set}
4327 ac_save_CFLAGS=$CFLAGS
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4329 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4330 if ${ac_cv_prog_cc_g+:} false; then :
4331 $as_echo_n "(cached) " >&6
4332 else
4333 ac_save_c_werror_flag=$ac_c_werror_flag
4334 ac_c_werror_flag=yes
4335 ac_cv_prog_cc_g=no
4336 CFLAGS="-g"
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4341 main ()
4345 return 0;
4347 _ACEOF
4348 if ac_fn_c_try_compile "$LINENO"; then :
4349 ac_cv_prog_cc_g=yes
4350 else
4351 CFLAGS=""
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4356 main ()
4360 return 0;
4362 _ACEOF
4363 if ac_fn_c_try_compile "$LINENO"; then :
4365 else
4366 ac_c_werror_flag=$ac_save_c_werror_flag
4367 CFLAGS="-g"
4368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4369 /* end confdefs.h. */
4372 main ()
4376 return 0;
4378 _ACEOF
4379 if ac_fn_c_try_compile "$LINENO"; then :
4380 ac_cv_prog_cc_g=yes
4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4387 ac_c_werror_flag=$ac_save_c_werror_flag
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4390 $as_echo "$ac_cv_prog_cc_g" >&6; }
4391 if test "$ac_test_CFLAGS" = set; then
4392 CFLAGS=$ac_save_CFLAGS
4393 elif test $ac_cv_prog_cc_g = yes; then
4394 if test "$GCC" = yes; then
4395 CFLAGS="-g -O2"
4396 else
4397 CFLAGS="-g"
4399 else
4400 if test "$GCC" = yes; then
4401 CFLAGS="-O2"
4402 else
4403 CFLAGS=
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4407 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4408 if ${ac_cv_prog_cc_c89+:} false; then :
4409 $as_echo_n "(cached) " >&6
4410 else
4411 ac_cv_prog_cc_c89=no
4412 ac_save_CC=$CC
4413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4414 /* end confdefs.h. */
4415 #include <stdarg.h>
4416 #include <stdio.h>
4417 struct stat;
4418 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4419 struct buf { int x; };
4420 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4421 static char *e (p, i)
4422 char **p;
4423 int i;
4425 return p[i];
4427 static char *f (char * (*g) (char **, int), char **p, ...)
4429 char *s;
4430 va_list v;
4431 va_start (v,p);
4432 s = g (p, va_arg (v,int));
4433 va_end (v);
4434 return s;
4437 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4438 function prototypes and stuff, but not '\xHH' hex character constants.
4439 These don't provoke an error unfortunately, instead are silently treated
4440 as 'x'. The following induces an error, until -std is added to get
4441 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4442 array size at least. It's necessary to write '\x00'==0 to get something
4443 that's true only with -std. */
4444 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4446 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4447 inside strings and character constants. */
4448 #define FOO(x) 'x'
4449 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4451 int test (int i, double x);
4452 struct s1 {int (*f) (int a);};
4453 struct s2 {int (*f) (double a);};
4454 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4455 int argc;
4456 char **argv;
4458 main ()
4460 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4462 return 0;
4464 _ACEOF
4465 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4466 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4468 CC="$ac_save_CC $ac_arg"
4469 if ac_fn_c_try_compile "$LINENO"; then :
4470 ac_cv_prog_cc_c89=$ac_arg
4472 rm -f core conftest.err conftest.$ac_objext
4473 test "x$ac_cv_prog_cc_c89" != "xno" && break
4474 done
4475 rm -f conftest.$ac_ext
4476 CC=$ac_save_CC
4479 # AC_CACHE_VAL
4480 case "x$ac_cv_prog_cc_c89" in
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4483 $as_echo "none needed" >&6; } ;;
4484 xno)
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4486 $as_echo "unsupported" >&6; } ;;
4488 CC="$CC $ac_cv_prog_cc_c89"
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4490 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4491 esac
4492 if test "x$ac_cv_prog_cc_c89" != xno; then :
4496 ac_ext=c
4497 ac_cpp='$CPP $CPPFLAGS'
4498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4502 ac_ext=cpp
4503 ac_cpp='$CXXCPP $CPPFLAGS'
4504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4507 if test -z "$CXX"; then
4508 if test -n "$CCC"; then
4509 CXX=$CCC
4510 else
4511 if test -n "$ac_tool_prefix"; then
4512 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4514 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4515 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517 $as_echo_n "checking for $ac_word... " >&6; }
4518 if ${ac_cv_prog_CXX+:} false; then :
4519 $as_echo_n "(cached) " >&6
4520 else
4521 if test -n "$CXX"; then
4522 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4523 else
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH
4527 IFS=$as_save_IFS
4528 test -z "$as_dir" && as_dir=.
4529 for ac_exec_ext in '' $ac_executable_extensions; do
4530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 break 2
4535 done
4536 done
4537 IFS=$as_save_IFS
4541 CXX=$ac_cv_prog_CXX
4542 if test -n "$CXX"; then
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4544 $as_echo "$CXX" >&6; }
4545 else
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547 $as_echo "no" >&6; }
4551 test -n "$CXX" && break
4552 done
4554 if test -z "$CXX"; then
4555 ac_ct_CXX=$CXX
4556 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4558 # Extract the first word of "$ac_prog", so it can be a program name with args.
4559 set dummy $ac_prog; ac_word=$2
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4561 $as_echo_n "checking for $ac_word... " >&6; }
4562 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4563 $as_echo_n "(cached) " >&6
4564 else
4565 if test -n "$ac_ct_CXX"; then
4566 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4567 else
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4569 for as_dir in $PATH
4571 IFS=$as_save_IFS
4572 test -z "$as_dir" && as_dir=.
4573 for ac_exec_ext in '' $ac_executable_extensions; do
4574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4575 ac_cv_prog_ac_ct_CXX="$ac_prog"
4576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4577 break 2
4579 done
4580 done
4581 IFS=$as_save_IFS
4585 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4586 if test -n "$ac_ct_CXX"; then
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4588 $as_echo "$ac_ct_CXX" >&6; }
4589 else
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4591 $as_echo "no" >&6; }
4595 test -n "$ac_ct_CXX" && break
4596 done
4598 if test "x$ac_ct_CXX" = x; then
4599 CXX="g++"
4600 else
4601 case $cross_compiling:$ac_tool_warned in
4602 yes:)
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4605 ac_tool_warned=yes ;;
4606 esac
4607 CXX=$ac_ct_CXX
4613 # Provide some information about the compiler.
4614 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4615 set X $ac_compile
4616 ac_compiler=$2
4617 for ac_option in --version -v -V -qversion; do
4618 { { ac_try="$ac_compiler $ac_option >&5"
4619 case "(($ac_try" in
4620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4621 *) ac_try_echo=$ac_try;;
4622 esac
4623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4624 $as_echo "$ac_try_echo"; } >&5
4625 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4626 ac_status=$?
4627 if test -s conftest.err; then
4628 sed '10a\
4629 ... rest of stderr output deleted ...
4630 10q' conftest.err >conftest.er1
4631 cat conftest.er1 >&5
4633 rm -f conftest.er1 conftest.err
4634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4635 test $ac_status = 0; }
4636 done
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4639 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4640 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4641 $as_echo_n "(cached) " >&6
4642 else
4643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4644 /* end confdefs.h. */
4647 main ()
4649 #ifndef __GNUC__
4650 choke me
4651 #endif
4654 return 0;
4656 _ACEOF
4657 if ac_fn_cxx_try_compile "$LINENO"; then :
4658 ac_compiler_gnu=yes
4659 else
4660 ac_compiler_gnu=no
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4667 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4668 if test $ac_compiler_gnu = yes; then
4669 GXX=yes
4670 else
4671 GXX=
4673 ac_test_CXXFLAGS=${CXXFLAGS+set}
4674 ac_save_CXXFLAGS=$CXXFLAGS
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4676 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4677 if ${ac_cv_prog_cxx_g+:} false; then :
4678 $as_echo_n "(cached) " >&6
4679 else
4680 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4681 ac_cxx_werror_flag=yes
4682 ac_cv_prog_cxx_g=no
4683 CXXFLAGS="-g"
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4688 main ()
4692 return 0;
4694 _ACEOF
4695 if ac_fn_cxx_try_compile "$LINENO"; then :
4696 ac_cv_prog_cxx_g=yes
4697 else
4698 CXXFLAGS=""
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4703 main ()
4707 return 0;
4709 _ACEOF
4710 if ac_fn_cxx_try_compile "$LINENO"; then :
4712 else
4713 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4714 CXXFLAGS="-g"
4715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716 /* end confdefs.h. */
4719 main ()
4723 return 0;
4725 _ACEOF
4726 if ac_fn_cxx_try_compile "$LINENO"; then :
4727 ac_cv_prog_cxx_g=yes
4729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4734 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4737 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4738 if test "$ac_test_CXXFLAGS" = set; then
4739 CXXFLAGS=$ac_save_CXXFLAGS
4740 elif test $ac_cv_prog_cxx_g = yes; then
4741 if test "$GXX" = yes; then
4742 CXXFLAGS="-g -O2"
4743 else
4744 CXXFLAGS="-g"
4746 else
4747 if test "$GXX" = yes; then
4748 CXXFLAGS="-O2"
4749 else
4750 CXXFLAGS=
4753 ac_ext=c
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4759 if test -n "$ac_tool_prefix"; then
4760 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4761 set dummy ${ac_tool_prefix}cpp; ac_word=$2
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4763 $as_echo_n "checking for $ac_word... " >&6; }
4764 if ${ac_cv_prog_CPPBIN+:} false; then :
4765 $as_echo_n "(cached) " >&6
4766 else
4767 if test -n "$CPPBIN"; then
4768 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
4769 else
4770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 for as_dir in $PATH
4773 IFS=$as_save_IFS
4774 test -z "$as_dir" && as_dir=.
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
4778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4787 CPPBIN=$ac_cv_prog_CPPBIN
4788 if test -n "$CPPBIN"; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4790 $as_echo "$CPPBIN" >&6; }
4791 else
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4793 $as_echo "no" >&6; }
4798 if test -z "$ac_cv_prog_CPPBIN"; then
4799 ac_ct_CPPBIN=$CPPBIN
4800 # Extract the first word of "cpp", so it can be a program name with args.
4801 set dummy cpp; ac_word=$2
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4803 $as_echo_n "checking for $ac_word... " >&6; }
4804 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
4805 $as_echo_n "(cached) " >&6
4806 else
4807 if test -n "$ac_ct_CPPBIN"; then
4808 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
4809 else
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4811 for as_dir in $PATH
4813 IFS=$as_save_IFS
4814 test -z "$as_dir" && as_dir=.
4815 for ac_exec_ext in '' $ac_executable_extensions; do
4816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4817 ac_cv_prog_ac_ct_CPPBIN="cpp"
4818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 break 2
4821 done
4822 done
4823 IFS=$as_save_IFS
4827 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
4828 if test -n "$ac_ct_CPPBIN"; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4830 $as_echo "$ac_ct_CPPBIN" >&6; }
4831 else
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4836 if test "x$ac_ct_CPPBIN" = x; then
4837 CPPBIN="cpp"
4838 else
4839 case $cross_compiling:$ac_tool_warned in
4840 yes:)
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4843 ac_tool_warned=yes ;;
4844 esac
4845 CPPBIN=$ac_ct_CPPBIN
4847 else
4848 CPPBIN="$ac_cv_prog_CPPBIN"
4852 cat >>confdefs.h <<_ACEOF
4853 #define EXEEXT "$ac_exeext"
4854 _ACEOF
4856 if test -n "$ac_tool_prefix"; then
4857 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4858 set dummy ${ac_tool_prefix}ld; ac_word=$2
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4860 $as_echo_n "checking for $ac_word... " >&6; }
4861 if ${ac_cv_prog_LD+:} false; then :
4862 $as_echo_n "(cached) " >&6
4863 else
4864 if test -n "$LD"; then
4865 ac_cv_prog_LD="$LD" # Let the user override the test.
4866 else
4867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 for as_dir in $PATH
4870 IFS=$as_save_IFS
4871 test -z "$as_dir" && as_dir=.
4872 for ac_exec_ext in '' $ac_executable_extensions; do
4873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4874 ac_cv_prog_LD="${ac_tool_prefix}ld"
4875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 break 2
4878 done
4879 done
4880 IFS=$as_save_IFS
4884 LD=$ac_cv_prog_LD
4885 if test -n "$LD"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4887 $as_echo "$LD" >&6; }
4888 else
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4895 if test -z "$ac_cv_prog_LD"; then
4896 ac_ct_LD=$LD
4897 # Extract the first word of "ld", so it can be a program name with args.
4898 set dummy ld; ac_word=$2
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4900 $as_echo_n "checking for $ac_word... " >&6; }
4901 if ${ac_cv_prog_ac_ct_LD+:} false; then :
4902 $as_echo_n "(cached) " >&6
4903 else
4904 if test -n "$ac_ct_LD"; then
4905 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4906 else
4907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 for as_dir in $PATH
4910 IFS=$as_save_IFS
4911 test -z "$as_dir" && as_dir=.
4912 for ac_exec_ext in '' $ac_executable_extensions; do
4913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4914 ac_cv_prog_ac_ct_LD="ld"
4915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 break 2
4918 done
4919 done
4920 IFS=$as_save_IFS
4924 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4925 if test -n "$ac_ct_LD"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
4927 $as_echo "$ac_ct_LD" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4930 $as_echo "no" >&6; }
4933 if test "x$ac_ct_LD" = x; then
4934 LD=""
4935 else
4936 case $cross_compiling:$ac_tool_warned in
4937 yes:)
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4940 ac_tool_warned=yes ;;
4941 esac
4942 LD=$ac_ct_LD
4944 else
4945 LD="$ac_cv_prog_LD"
4949 case $host in
4950 *-darwin*)
4951 if test "x$enable_win64" = "xyes"
4952 then
4953 CC="$CC -m64"
4954 CXX="$CXX -m64"
4955 host_cpu="x86_64"
4956 notice_platform="64-bit "
4957 TARGETFLAGS="-m64"
4959 else
4960 CC="$CC -m32"
4961 CXX="$CXX -m32"
4962 host_cpu="i386"
4963 notice_platform="32-bit "
4964 TARGETFLAGS="-m32"
4966 enable_win16=${enable_win16:-yes}
4968 with_fontconfig=${with_fontconfig:-no}
4970 x86_64*|amd64*)
4971 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4972 then
4973 CC="$CC -m32"
4974 CXX="$CXX -m32"
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4976 $as_echo_n "checking whether $CC works... " >&6; }
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4982 main ()
4986 return 0;
4988 _ACEOF
4989 if ac_fn_c_try_link "$LINENO"; then :
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4991 $as_echo "yes" >&6; }
4992 else
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4995 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4997 rm -f core conftest.err conftest.$ac_objext \
4998 conftest$ac_exeext conftest.$ac_ext
4999 host_cpu="i386"
5000 notice_platform="32-bit "
5001 TARGETFLAGS="-m32"
5003 enable_win16=${enable_win16:-yes}
5004 else
5005 if test "x${GCC}" = "xyes"
5006 then
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5008 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5011 #include <stdarg.h>
5013 main ()
5015 void func(__builtin_ms_va_list *args);
5017 return 0;
5019 _ACEOF
5020 if ac_fn_c_try_compile "$LINENO"; then :
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5022 $as_echo "yes" >&6; }
5023 else
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5025 $as_echo "no" >&6; }
5026 as_fn_error $? "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5030 host_cpu="x86_64"
5031 TARGETFLAGS="-m64"
5035 arm*)
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5037 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5039 /* end confdefs.h. */
5040 int ac_test(int i) { return i; }
5042 main ()
5044 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5046 return 0;
5048 _ACEOF
5049 if ac_fn_c_try_link "$LINENO"; then :
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5051 $as_echo "yes" >&6; }
5052 else
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5055 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5057 rm -f core conftest.err conftest.$ac_objext \
5058 conftest$ac_exeext conftest.$ac_ext
5059 CFLAGS="$CFLAGS -marm"
5060 TARGETFLAGS="-marm"
5063 *-mingw32*|*-cygwin*)
5064 enable_win16=${enable_win16:-no}
5065 CFLAGS="$CFLAGS -D_WIN32"
5067 i[3456789]86*)
5068 enable_win16=${enable_win16:-yes}
5070 esac
5072 enable_win16=${enable_win16:-no}
5073 enable_win64=${enable_win64:-no}
5075 enable_winetest=${enable_winetest:-$enable_tests}
5077 if test -n "$with_wine64"
5078 then
5079 if test "x$enable_win64" = "xyes"
5080 then
5081 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5082 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5084 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5085 You should create a separate build directory and run configure from there." "$LINENO" 5
5086 enable_fonts=${enable_fonts:-no}
5087 enable_server=${enable_server:-no}
5088 elif test "x$enable_win64" = "xyes"
5089 then
5090 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5094 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5095 if ${wine_cv_toolsdir+:} false; then :
5096 $as_echo_n "(cached) " >&6
5097 else
5098 wine_cv_toolsdir="$with_wine_tools"
5099 if test -z "$with_wine_tools"; then
5100 if test "$cross_compiling" = "yes"; then
5101 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5102 elif test -n "$with_wine64"; then
5103 wine_cv_toolsdir="$with_wine64"
5106 if test -z "$wine_cv_toolsdir"; then
5107 wine_makedep=tools/makedep
5108 wine_cv_toolsdir="\$(top_builddir)"
5109 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5110 wine_makedep=$wine_cv_toolsdir/tools/makedep
5111 case "$wine_cv_toolsdir" in
5112 /*) ;;
5113 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5114 esac
5115 enable_tools=${enable_tools:-no}
5116 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5117 else
5118 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5122 $as_echo "$wine_cv_toolsdir" >&6; }
5123 TOOLSDIR=$wine_cv_toolsdir
5125 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5126 then
5127 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5131 for ac_prog in flex
5133 # Extract the first word of "$ac_prog", so it can be a program name with args.
5134 set dummy $ac_prog; ac_word=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_FLEX+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if test -n "$FLEX"; then
5141 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5142 else
5143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5144 for as_dir in $PATH
5146 IFS=$as_save_IFS
5147 test -z "$as_dir" && as_dir=.
5148 for ac_exec_ext in '' $ac_executable_extensions; do
5149 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_FLEX="$ac_prog"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 break 2
5154 done
5155 done
5156 IFS=$as_save_IFS
5160 FLEX=$ac_cv_prog_FLEX
5161 if test -n "$FLEX"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5163 $as_echo "$FLEX" >&6; }
5164 else
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5170 test -n "$FLEX" && break
5171 done
5172 test -n "$FLEX" || FLEX="none"
5174 if test "$FLEX" = "none"
5175 then
5176 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5179 $as_echo_n "checking whether flex is recent enough... " >&6; }
5180 cat >conftest.l <<EOF
5181 %top{
5182 #include "prediluvian.h"
5186 if $FLEX -t conftest.l >/dev/null 2>&5
5187 then
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5189 $as_echo "yes" >&6; }
5190 else
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5192 $as_echo "no" >&6; }
5193 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5196 for ac_prog in bison
5198 # Extract the first word of "$ac_prog", so it can be a program name with args.
5199 set dummy $ac_prog; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if ${ac_cv_prog_BISON+:} false; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$BISON"; then
5206 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5215 ac_cv_prog_BISON="$ac_prog"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 BISON=$ac_cv_prog_BISON
5226 if test -n "$BISON"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5228 $as_echo "$BISON" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 test -n "$BISON" && break
5236 done
5237 test -n "$BISON" || BISON="none"
5239 if test "$BISON" = "none"
5240 then
5241 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5244 if test -n "$ac_tool_prefix"; then
5245 for ac_prog in ar gar
5247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5250 $as_echo_n "checking for $ac_word... " >&6; }
5251 if ${ac_cv_prog_AR+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 if test -n "$AR"; then
5255 ac_cv_prog_AR="$AR" # Let the user override the test.
5256 else
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258 for as_dir in $PATH
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_exec_ext in '' $ac_executable_extensions; do
5263 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5264 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5266 break 2
5268 done
5269 done
5270 IFS=$as_save_IFS
5274 AR=$ac_cv_prog_AR
5275 if test -n "$AR"; then
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5277 $as_echo "$AR" >&6; }
5278 else
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5280 $as_echo "no" >&6; }
5284 test -n "$AR" && break
5285 done
5287 if test -z "$AR"; then
5288 ac_ct_AR=$AR
5289 for ac_prog in ar gar
5291 # Extract the first word of "$ac_prog", so it can be a program name with args.
5292 set dummy $ac_prog; ac_word=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5296 $as_echo_n "(cached) " >&6
5297 else
5298 if test -n "$ac_ct_AR"; then
5299 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5300 else
5301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5302 for as_dir in $PATH
5304 IFS=$as_save_IFS
5305 test -z "$as_dir" && as_dir=.
5306 for ac_exec_ext in '' $ac_executable_extensions; do
5307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5308 ac_cv_prog_ac_ct_AR="$ac_prog"
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5310 break 2
5312 done
5313 done
5314 IFS=$as_save_IFS
5318 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5319 if test -n "$ac_ct_AR"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5321 $as_echo "$ac_ct_AR" >&6; }
5322 else
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5328 test -n "$ac_ct_AR" && break
5329 done
5331 if test "x$ac_ct_AR" = x; then
5332 AR="ar"
5333 else
5334 case $cross_compiling:$ac_tool_warned in
5335 yes:)
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5338 ac_tool_warned=yes ;;
5339 esac
5340 AR=$ac_ct_AR
5344 if test -n "$ac_tool_prefix"; then
5345 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5346 set dummy ${ac_tool_prefix}strip; ac_word=$2
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5348 $as_echo_n "checking for $ac_word... " >&6; }
5349 if ${ac_cv_prog_STRIP+:} false; then :
5350 $as_echo_n "(cached) " >&6
5351 else
5352 if test -n "$STRIP"; then
5353 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5368 IFS=$as_save_IFS
5372 STRIP=$ac_cv_prog_STRIP
5373 if test -n "$STRIP"; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5375 $as_echo "$STRIP" >&6; }
5376 else
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }
5383 if test -z "$ac_cv_prog_STRIP"; then
5384 ac_ct_STRIP=$STRIP
5385 # Extract the first word of "strip", so it can be a program name with args.
5386 set dummy strip; ac_word=$2
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5388 $as_echo_n "checking for $ac_word... " >&6; }
5389 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5390 $as_echo_n "(cached) " >&6
5391 else
5392 if test -n "$ac_ct_STRIP"; then
5393 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5394 else
5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 for as_dir in $PATH
5398 IFS=$as_save_IFS
5399 test -z "$as_dir" && as_dir=.
5400 for ac_exec_ext in '' $ac_executable_extensions; do
5401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5402 ac_cv_prog_ac_ct_STRIP="strip"
5403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 break 2
5406 done
5407 done
5408 IFS=$as_save_IFS
5412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5413 if test -n "$ac_ct_STRIP"; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5415 $as_echo "$ac_ct_STRIP" >&6; }
5416 else
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5418 $as_echo "no" >&6; }
5421 if test "x$ac_ct_STRIP" = x; then
5422 STRIP="strip"
5423 else
5424 case $cross_compiling:$ac_tool_warned in
5425 yes:)
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5428 ac_tool_warned=yes ;;
5429 esac
5430 STRIP=$ac_ct_STRIP
5432 else
5433 STRIP="$ac_cv_prog_STRIP"
5436 ARFLAGS=rc
5438 if test -n "$ac_tool_prefix"; then
5439 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5440 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5442 $as_echo_n "checking for $ac_word... " >&6; }
5443 if ${ac_cv_prog_RANLIB+:} false; then :
5444 $as_echo_n "(cached) " >&6
5445 else
5446 if test -n "$RANLIB"; then
5447 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5448 else
5449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5450 for as_dir in $PATH
5452 IFS=$as_save_IFS
5453 test -z "$as_dir" && as_dir=.
5454 for ac_exec_ext in '' $ac_executable_extensions; do
5455 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5456 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5458 break 2
5460 done
5461 done
5462 IFS=$as_save_IFS
5466 RANLIB=$ac_cv_prog_RANLIB
5467 if test -n "$RANLIB"; then
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5469 $as_echo "$RANLIB" >&6; }
5470 else
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5472 $as_echo "no" >&6; }
5477 if test -z "$ac_cv_prog_RANLIB"; then
5478 ac_ct_RANLIB=$RANLIB
5479 # Extract the first word of "ranlib", so it can be a program name with args.
5480 set dummy ranlib; ac_word=$2
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482 $as_echo_n "checking for $ac_word... " >&6; }
5483 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5484 $as_echo_n "(cached) " >&6
5485 else
5486 if test -n "$ac_ct_RANLIB"; then
5487 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5488 else
5489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5490 for as_dir in $PATH
5492 IFS=$as_save_IFS
5493 test -z "$as_dir" && as_dir=.
5494 for ac_exec_ext in '' $ac_executable_extensions; do
5495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496 ac_cv_prog_ac_ct_RANLIB="ranlib"
5497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5498 break 2
5500 done
5501 done
5502 IFS=$as_save_IFS
5506 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5507 if test -n "$ac_ct_RANLIB"; then
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5509 $as_echo "$ac_ct_RANLIB" >&6; }
5510 else
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512 $as_echo "no" >&6; }
5515 if test "x$ac_ct_RANLIB" = x; then
5516 RANLIB=":"
5517 else
5518 case $cross_compiling:$ac_tool_warned in
5519 yes:)
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5522 ac_tool_warned=yes ;;
5523 esac
5524 RANLIB=$ac_ct_RANLIB
5526 else
5527 RANLIB="$ac_cv_prog_RANLIB"
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5531 $as_echo_n "checking whether ln -s works... " >&6; }
5532 LN_S=$as_ln_s
5533 if test "$LN_S" = "ln -s"; then
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5535 $as_echo "yes" >&6; }
5536 else
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5538 $as_echo "no, using $LN_S" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5542 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5543 if ${ac_cv_path_GREP+:} false; then :
5544 $as_echo_n "(cached) " >&6
5545 else
5546 if test -z "$GREP"; then
5547 ac_path_GREP_found=false
5548 # Loop through the user's path and test for each of PROGNAME-LIST
5549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5552 IFS=$as_save_IFS
5553 test -z "$as_dir" && as_dir=.
5554 for ac_prog in grep ggrep; do
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5557 as_fn_executable_p "$ac_path_GREP" || continue
5558 # Check for GNU ac_path_GREP and select it if it is found.
5559 # Check for GNU $ac_path_GREP
5560 case `"$ac_path_GREP" --version 2>&1` in
5561 *GNU*)
5562 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5564 ac_count=0
5565 $as_echo_n 0123456789 >"conftest.in"
5566 while :
5568 cat "conftest.in" "conftest.in" >"conftest.tmp"
5569 mv "conftest.tmp" "conftest.in"
5570 cp "conftest.in" "conftest.nl"
5571 $as_echo 'GREP' >> "conftest.nl"
5572 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5573 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5574 as_fn_arith $ac_count + 1 && ac_count=$as_val
5575 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5576 # Best one so far, save it but keep looking for a better one
5577 ac_cv_path_GREP="$ac_path_GREP"
5578 ac_path_GREP_max=$ac_count
5580 # 10*(2^10) chars as input seems more than enough
5581 test $ac_count -gt 10 && break
5582 done
5583 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5584 esac
5586 $ac_path_GREP_found && break 3
5587 done
5588 done
5589 done
5590 IFS=$as_save_IFS
5591 if test -z "$ac_cv_path_GREP"; then
5592 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5594 else
5595 ac_cv_path_GREP=$GREP
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5600 $as_echo "$ac_cv_path_GREP" >&6; }
5601 GREP="$ac_cv_path_GREP"
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5605 $as_echo_n "checking for egrep... " >&6; }
5606 if ${ac_cv_path_EGREP+:} false; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5610 then ac_cv_path_EGREP="$GREP -E"
5611 else
5612 if test -z "$EGREP"; then
5613 ac_path_EGREP_found=false
5614 # Loop through the user's path and test for each of PROGNAME-LIST
5615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5618 IFS=$as_save_IFS
5619 test -z "$as_dir" && as_dir=.
5620 for ac_prog in egrep; do
5621 for ac_exec_ext in '' $ac_executable_extensions; do
5622 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5623 as_fn_executable_p "$ac_path_EGREP" || continue
5624 # Check for GNU ac_path_EGREP and select it if it is found.
5625 # Check for GNU $ac_path_EGREP
5626 case `"$ac_path_EGREP" --version 2>&1` in
5627 *GNU*)
5628 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5630 ac_count=0
5631 $as_echo_n 0123456789 >"conftest.in"
5632 while :
5634 cat "conftest.in" "conftest.in" >"conftest.tmp"
5635 mv "conftest.tmp" "conftest.in"
5636 cp "conftest.in" "conftest.nl"
5637 $as_echo 'EGREP' >> "conftest.nl"
5638 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5639 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5640 as_fn_arith $ac_count + 1 && ac_count=$as_val
5641 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5642 # Best one so far, save it but keep looking for a better one
5643 ac_cv_path_EGREP="$ac_path_EGREP"
5644 ac_path_EGREP_max=$ac_count
5646 # 10*(2^10) chars as input seems more than enough
5647 test $ac_count -gt 10 && break
5648 done
5649 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5650 esac
5652 $ac_path_EGREP_found && break 3
5653 done
5654 done
5655 done
5656 IFS=$as_save_IFS
5657 if test -z "$ac_cv_path_EGREP"; then
5658 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5660 else
5661 ac_cv_path_EGREP=$EGREP
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5667 $as_echo "$ac_cv_path_EGREP" >&6; }
5668 EGREP="$ac_cv_path_EGREP"
5671 # Extract the first word of "ldconfig", so it can be a program name with args.
5672 set dummy ldconfig; ac_word=$2
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674 $as_echo_n "checking for $ac_word... " >&6; }
5675 if ${ac_cv_path_LDCONFIG+:} false; then :
5676 $as_echo_n "(cached) " >&6
5677 else
5678 case $LDCONFIG in
5679 [\\/]* | ?:[\\/]*)
5680 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 for as_dir in /sbin /usr/sbin $PATH
5686 IFS=$as_save_IFS
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5690 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 break 2
5694 done
5695 done
5696 IFS=$as_save_IFS
5698 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5700 esac
5702 LDCONFIG=$ac_cv_path_LDCONFIG
5703 if test -n "$LDCONFIG"; then
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
5705 $as_echo "$LDCONFIG" >&6; }
5706 else
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708 $as_echo "no" >&6; }
5712 for ac_prog in msgfmt
5714 # Extract the first word of "$ac_prog", so it can be a program name with args.
5715 set dummy $ac_prog; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_MSGFMT+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$MSGFMT"; then
5722 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_MSGFMT="$ac_prog"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 MSGFMT=$ac_cv_prog_MSGFMT
5742 if test -n "$MSGFMT"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5744 $as_echo "$MSGFMT" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5751 test -n "$MSGFMT" && break
5752 done
5753 test -n "$MSGFMT" || MSGFMT="false"
5755 if ${ac_tool_prefix+:} false; then :
5756 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
5757 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 if test -n "$PKG_CONFIG"; then
5764 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5765 else
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5769 IFS=$as_save_IFS
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5773 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 break 2
5777 done
5778 done
5779 IFS=$as_save_IFS
5783 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5784 if test -n "$PKG_CONFIG"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5786 $as_echo "$PKG_CONFIG" >&6; }
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5794 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
5795 if test "x$cross_compiling" = xyes; then :
5797 else
5798 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
5799 # Extract the first word of "pkg-config", so it can be a program name with args.
5800 set dummy pkg-config; ac_word=$2
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
5804 $as_echo_n "(cached) " >&6
5805 else
5806 if test -n "$PKG_CONFIG"; then
5807 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5808 else
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 for as_dir in $PATH
5812 IFS=$as_save_IFS
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5816 ac_cv_prog_PKG_CONFIG="pkg-config"
5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5818 break 2
5820 done
5821 done
5822 IFS=$as_save_IFS
5826 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5827 if test -n "$PKG_CONFIG"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5829 $as_echo "$PKG_CONFIG" >&6; }
5830 else
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5837 else
5838 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5841 if test "x$enable_maintainer_mode" != "xyes"
5842 then
5843 FONTFORGE=""
5844 RSVG=""
5845 CONVERT=""
5846 ICOTOOL=""
5847 else
5848 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
5849 for ac_prog in fontforge
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if ${ac_cv_prog_FONTFORGE+:} false; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$FONTFORGE"; then
5859 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5868 ac_cv_prog_FONTFORGE="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 FONTFORGE=$ac_cv_prog_FONTFORGE
5879 if test -n "$FONTFORGE"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
5881 $as_echo "$FONTFORGE" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$FONTFORGE" && break
5889 done
5890 test -n "$FONTFORGE" || FONTFORGE="false"
5892 for ac_prog in rsvg-convert rsvg
5894 # Extract the first word of "$ac_prog", so it can be a program name with args.
5895 set dummy $ac_prog; ac_word=$2
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897 $as_echo_n "checking for $ac_word... " >&6; }
5898 if ${ac_cv_prog_RSVG+:} false; then :
5899 $as_echo_n "(cached) " >&6
5900 else
5901 if test -n "$RSVG"; then
5902 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
5903 else
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 for as_dir in $PATH
5907 IFS=$as_save_IFS
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911 ac_cv_prog_RSVG="$ac_prog"
5912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5913 break 2
5915 done
5916 done
5917 IFS=$as_save_IFS
5921 RSVG=$ac_cv_prog_RSVG
5922 if test -n "$RSVG"; then
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5924 $as_echo "$RSVG" >&6; }
5925 else
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927 $as_echo "no" >&6; }
5931 test -n "$RSVG" && break
5932 done
5933 test -n "$RSVG" || RSVG="false"
5935 for ac_prog in convert
5937 # Extract the first word of "$ac_prog", so it can be a program name with args.
5938 set dummy $ac_prog; ac_word=$2
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940 $as_echo_n "checking for $ac_word... " >&6; }
5941 if ${ac_cv_prog_CONVERT+:} false; then :
5942 $as_echo_n "(cached) " >&6
5943 else
5944 if test -n "$CONVERT"; then
5945 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
5946 else
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH
5950 IFS=$as_save_IFS
5951 test -z "$as_dir" && as_dir=.
5952 for ac_exec_ext in '' $ac_executable_extensions; do
5953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5954 ac_cv_prog_CONVERT="$ac_prog"
5955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956 break 2
5958 done
5959 done
5960 IFS=$as_save_IFS
5964 CONVERT=$ac_cv_prog_CONVERT
5965 if test -n "$CONVERT"; then
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5967 $as_echo "$CONVERT" >&6; }
5968 else
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970 $as_echo "no" >&6; }
5974 test -n "$CONVERT" && break
5975 done
5976 test -n "$CONVERT" || CONVERT="false"
5978 for ac_prog in icotool
5980 # Extract the first word of "$ac_prog", so it can be a program name with args.
5981 set dummy $ac_prog; ac_word=$2
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5983 $as_echo_n "checking for $ac_word... " >&6; }
5984 if ${ac_cv_prog_ICOTOOL+:} false; then :
5985 $as_echo_n "(cached) " >&6
5986 else
5987 if test -n "$ICOTOOL"; then
5988 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5989 else
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH
5993 IFS=$as_save_IFS
5994 test -z "$as_dir" && as_dir=.
5995 for ac_exec_ext in '' $ac_executable_extensions; do
5996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5997 ac_cv_prog_ICOTOOL="$ac_prog"
5998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 break 2
6001 done
6002 done
6003 IFS=$as_save_IFS
6007 ICOTOOL=$ac_cv_prog_ICOTOOL
6008 if test -n "$ICOTOOL"; then
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6010 $as_echo "$ICOTOOL" >&6; }
6011 else
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6013 $as_echo "no" >&6; }
6017 test -n "$ICOTOOL" && break
6018 done
6019 test -n "$ICOTOOL" || ICOTOOL="false"
6021 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6022 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6024 if test "$CONVERT" = false
6025 then
6026 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6027 else
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6029 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6030 convert_version=`convert --version | head -n1`
6031 if test "x$convert_version" != "x"
6032 then
6033 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6034 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6035 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6036 then
6037 CONVERT=false
6040 if test "$CONVERT" = false
6041 then
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6043 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6044 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6045 else
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6047 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6051 if test "$ICOTOOL" = false
6052 then
6053 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6054 else
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6056 $as_echo_n "checking for recent enough icotool... " >&6; }
6057 icotool_version=`icotool --version | head -n1`
6058 if test "x$icotool_version" != "x"
6059 then
6060 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6061 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6062 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6063 then
6064 ICOTOOL=false
6065 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6068 if test "$ICOTOOL" = false
6069 then
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6071 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6072 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6073 else
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6075 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6079 with_gettext=yes
6080 with_gettextpo=yes
6081 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6084 test "x$with_gettext" != xno || MSGFMT=false
6085 if test "$MSGFMT" != "false"
6086 then
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6088 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6089 cat >conftest.po <<EOF
6090 # comment
6091 msgctxt "ctxt"
6092 msgid "id"
6093 msgstr "str"
6095 if $MSGFMT -o /dev/null conftest.po 2>&5
6096 then
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6098 $as_echo "yes" >&6; }
6099 else
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101 $as_echo "no" >&6; }
6102 MSGFMT=false
6105 if test "$MSGFMT" = false; then :
6106 case "x$with_gettext" in
6107 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6108 xno) ;;
6109 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6110 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6111 esac
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6116 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6117 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6118 $as_echo_n "(cached) " >&6
6119 else
6120 ac_check_lib_save_LIBS=$LIBS
6121 LIBS="-li386 $LIBS"
6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6125 /* Override any GCC internal prototype to avoid an error.
6126 Use char because int might match the return type of a GCC
6127 builtin and then its argument prototype would still apply. */
6128 #ifdef __cplusplus
6129 extern "C"
6130 #endif
6131 char i386_set_ldt ();
6133 main ()
6135 return i386_set_ldt ();
6137 return 0;
6139 _ACEOF
6140 if ac_fn_c_try_link "$LINENO"; then :
6141 ac_cv_lib_i386_i386_set_ldt=yes
6142 else
6143 ac_cv_lib_i386_i386_set_ldt=no
6145 rm -f core conftest.err conftest.$ac_objext \
6146 conftest$ac_exeext conftest.$ac_ext
6147 LIBS=$ac_check_lib_save_LIBS
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6150 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6151 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6152 cat >>confdefs.h <<_ACEOF
6153 #define HAVE_LIBI386 1
6154 _ACEOF
6156 LIBS="-li386 $LIBS"
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6161 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6162 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6163 $as_echo_n "(cached) " >&6
6164 else
6165 ac_check_lib_save_LIBS=$LIBS
6166 LIBS="-lossaudio $LIBS"
6167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6168 /* end confdefs.h. */
6170 /* Override any GCC internal prototype to avoid an error.
6171 Use char because int might match the return type of a GCC
6172 builtin and then its argument prototype would still apply. */
6173 #ifdef __cplusplus
6174 extern "C"
6175 #endif
6176 char _oss_ioctl ();
6178 main ()
6180 return _oss_ioctl ();
6182 return 0;
6184 _ACEOF
6185 if ac_fn_c_try_link "$LINENO"; then :
6186 ac_cv_lib_ossaudio__oss_ioctl=yes
6187 else
6188 ac_cv_lib_ossaudio__oss_ioctl=no
6190 rm -f core conftest.err conftest.$ac_objext \
6191 conftest$ac_exeext conftest.$ac_ext
6192 LIBS=$ac_check_lib_save_LIBS
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6195 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6196 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6197 cat >>confdefs.h <<_ACEOF
6198 #define HAVE_LIBOSSAUDIO 1
6199 _ACEOF
6201 LIBS="-lossaudio $LIBS"
6206 OPENGL_LIBS=""
6210 # Check whether --enable-largefile was given.
6211 if test "${enable_largefile+set}" = set; then :
6212 enableval=$enable_largefile;
6215 if test "$enable_largefile" != no; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6218 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6219 if ${ac_cv_sys_largefile_CC+:} false; then :
6220 $as_echo_n "(cached) " >&6
6221 else
6222 ac_cv_sys_largefile_CC=no
6223 if test "$GCC" != yes; then
6224 ac_save_CC=$CC
6225 while :; do
6226 # IRIX 6.2 and later do not support large files by default,
6227 # so use the C compiler's -n32 option if that helps.
6228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6229 /* end confdefs.h. */
6230 #include <sys/types.h>
6231 /* Check that off_t can represent 2**63 - 1 correctly.
6232 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6233 since some C++ compilers masquerading as C compilers
6234 incorrectly reject 9223372036854775807. */
6235 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6236 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6237 && LARGE_OFF_T % 2147483647 == 1)
6238 ? 1 : -1];
6240 main ()
6244 return 0;
6246 _ACEOF
6247 if ac_fn_c_try_compile "$LINENO"; then :
6248 break
6250 rm -f core conftest.err conftest.$ac_objext
6251 CC="$CC -n32"
6252 if ac_fn_c_try_compile "$LINENO"; then :
6253 ac_cv_sys_largefile_CC=' -n32'; break
6255 rm -f core conftest.err conftest.$ac_objext
6256 break
6257 done
6258 CC=$ac_save_CC
6259 rm -f conftest.$ac_ext
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6263 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6264 if test "$ac_cv_sys_largefile_CC" != no; then
6265 CC=$CC$ac_cv_sys_largefile_CC
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6269 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6270 if ${ac_cv_sys_file_offset_bits+:} false; then :
6271 $as_echo_n "(cached) " >&6
6272 else
6273 while :; do
6274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6275 /* end confdefs.h. */
6276 #include <sys/types.h>
6277 /* Check that off_t can represent 2**63 - 1 correctly.
6278 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6279 since some C++ compilers masquerading as C compilers
6280 incorrectly reject 9223372036854775807. */
6281 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6282 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6283 && LARGE_OFF_T % 2147483647 == 1)
6284 ? 1 : -1];
6286 main ()
6290 return 0;
6292 _ACEOF
6293 if ac_fn_c_try_compile "$LINENO"; then :
6294 ac_cv_sys_file_offset_bits=no; break
6296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6299 #define _FILE_OFFSET_BITS 64
6300 #include <sys/types.h>
6301 /* Check that off_t can represent 2**63 - 1 correctly.
6302 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6303 since some C++ compilers masquerading as C compilers
6304 incorrectly reject 9223372036854775807. */
6305 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6306 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6307 && LARGE_OFF_T % 2147483647 == 1)
6308 ? 1 : -1];
6310 main ()
6314 return 0;
6316 _ACEOF
6317 if ac_fn_c_try_compile "$LINENO"; then :
6318 ac_cv_sys_file_offset_bits=64; break
6320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6321 ac_cv_sys_file_offset_bits=unknown
6322 break
6323 done
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6326 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6327 case $ac_cv_sys_file_offset_bits in #(
6328 no | unknown) ;;
6330 cat >>confdefs.h <<_ACEOF
6331 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6332 _ACEOF
6334 esac
6335 rm -rf conftest*
6336 if test $ac_cv_sys_file_offset_bits = unknown; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6338 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6339 if ${ac_cv_sys_large_files+:} false; then :
6340 $as_echo_n "(cached) " >&6
6341 else
6342 while :; do
6343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6344 /* end confdefs.h. */
6345 #include <sys/types.h>
6346 /* Check that off_t can represent 2**63 - 1 correctly.
6347 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6348 since some C++ compilers masquerading as C compilers
6349 incorrectly reject 9223372036854775807. */
6350 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6351 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6352 && LARGE_OFF_T % 2147483647 == 1)
6353 ? 1 : -1];
6355 main ()
6359 return 0;
6361 _ACEOF
6362 if ac_fn_c_try_compile "$LINENO"; then :
6363 ac_cv_sys_large_files=no; break
6365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6367 /* end confdefs.h. */
6368 #define _LARGE_FILES 1
6369 #include <sys/types.h>
6370 /* Check that off_t can represent 2**63 - 1 correctly.
6371 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6372 since some C++ compilers masquerading as C compilers
6373 incorrectly reject 9223372036854775807. */
6374 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6375 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6376 && LARGE_OFF_T % 2147483647 == 1)
6377 ? 1 : -1];
6379 main ()
6383 return 0;
6385 _ACEOF
6386 if ac_fn_c_try_compile "$LINENO"; then :
6387 ac_cv_sys_large_files=1; break
6389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6390 ac_cv_sys_large_files=unknown
6391 break
6392 done
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6395 $as_echo "$ac_cv_sys_large_files" >&6; }
6396 case $ac_cv_sys_large_files in #(
6397 no | unknown) ;;
6399 cat >>confdefs.h <<_ACEOF
6400 #define _LARGE_FILES $ac_cv_sys_large_files
6401 _ACEOF
6403 esac
6404 rm -rf conftest*
6411 ac_ext=c
6412 ac_cpp='$CPP $CPPFLAGS'
6413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6417 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6418 # On Suns, sometimes $CPP names a directory.
6419 if test -n "$CPP" && test -d "$CPP"; then
6420 CPP=
6422 if test -z "$CPP"; then
6423 if ${ac_cv_prog_CPP+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6426 # Double quotes because CPP needs to be expanded
6427 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6429 ac_preproc_ok=false
6430 for ac_c_preproc_warn_flag in '' yes
6432 # Use a header file that comes with gcc, so configuring glibc
6433 # with a fresh cross-compiler works.
6434 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6435 # <limits.h> exists even on freestanding compilers.
6436 # On the NeXT, cc -E runs the code through the compiler's parser,
6437 # not just through cpp. "Syntax error" is here to catch this case.
6438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6439 /* end confdefs.h. */
6440 #ifdef __STDC__
6441 # include <limits.h>
6442 #else
6443 # include <assert.h>
6444 #endif
6445 Syntax error
6446 _ACEOF
6447 if ac_fn_c_try_cpp "$LINENO"; then :
6449 else
6450 # Broken: fails on valid input.
6451 continue
6453 rm -f conftest.err conftest.i conftest.$ac_ext
6455 # OK, works on sane cases. Now check whether nonexistent headers
6456 # can be detected and how.
6457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6458 /* end confdefs.h. */
6459 #include <ac_nonexistent.h>
6460 _ACEOF
6461 if ac_fn_c_try_cpp "$LINENO"; then :
6462 # Broken: success on invalid input.
6463 continue
6464 else
6465 # Passes both tests.
6466 ac_preproc_ok=:
6467 break
6469 rm -f conftest.err conftest.i conftest.$ac_ext
6471 done
6472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6473 rm -f conftest.i conftest.err conftest.$ac_ext
6474 if $ac_preproc_ok; then :
6475 break
6478 done
6479 ac_cv_prog_CPP=$CPP
6482 CPP=$ac_cv_prog_CPP
6483 else
6484 ac_cv_prog_CPP=$CPP
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6487 $as_echo "$CPP" >&6; }
6488 ac_preproc_ok=false
6489 for ac_c_preproc_warn_flag in '' yes
6491 # Use a header file that comes with gcc, so configuring glibc
6492 # with a fresh cross-compiler works.
6493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6494 # <limits.h> exists even on freestanding compilers.
6495 # On the NeXT, cc -E runs the code through the compiler's parser,
6496 # not just through cpp. "Syntax error" is here to catch this case.
6497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6498 /* end confdefs.h. */
6499 #ifdef __STDC__
6500 # include <limits.h>
6501 #else
6502 # include <assert.h>
6503 #endif
6504 Syntax error
6505 _ACEOF
6506 if ac_fn_c_try_cpp "$LINENO"; then :
6508 else
6509 # Broken: fails on valid input.
6510 continue
6512 rm -f conftest.err conftest.i conftest.$ac_ext
6514 # OK, works on sane cases. Now check whether nonexistent headers
6515 # can be detected and how.
6516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6517 /* end confdefs.h. */
6518 #include <ac_nonexistent.h>
6519 _ACEOF
6520 if ac_fn_c_try_cpp "$LINENO"; then :
6521 # Broken: success on invalid input.
6522 continue
6523 else
6524 # Passes both tests.
6525 ac_preproc_ok=:
6526 break
6528 rm -f conftest.err conftest.i conftest.$ac_ext
6530 done
6531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6532 rm -f conftest.i conftest.err conftest.$ac_ext
6533 if $ac_preproc_ok; then :
6535 else
6536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6538 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6539 See \`config.log' for more details" "$LINENO" 5; }
6542 ac_ext=c
6543 ac_cpp='$CPP $CPPFLAGS'
6544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6550 $as_echo_n "checking for ANSI C header files... " >&6; }
6551 if ${ac_cv_header_stdc+:} false; then :
6552 $as_echo_n "(cached) " >&6
6553 else
6554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6556 #include <stdlib.h>
6557 #include <stdarg.h>
6558 #include <string.h>
6559 #include <float.h>
6562 main ()
6566 return 0;
6568 _ACEOF
6569 if ac_fn_c_try_compile "$LINENO"; then :
6570 ac_cv_header_stdc=yes
6571 else
6572 ac_cv_header_stdc=no
6574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6576 if test $ac_cv_header_stdc = yes; then
6577 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6580 #include <string.h>
6582 _ACEOF
6583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6584 $EGREP "memchr" >/dev/null 2>&1; then :
6586 else
6587 ac_cv_header_stdc=no
6589 rm -f conftest*
6593 if test $ac_cv_header_stdc = yes; then
6594 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6597 #include <stdlib.h>
6599 _ACEOF
6600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6601 $EGREP "free" >/dev/null 2>&1; then :
6603 else
6604 ac_cv_header_stdc=no
6606 rm -f conftest*
6610 if test $ac_cv_header_stdc = yes; then
6611 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6612 if test "$cross_compiling" = yes; then :
6614 else
6615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 #include <ctype.h>
6618 #include <stdlib.h>
6619 #if ((' ' & 0x0FF) == 0x020)
6620 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6621 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6622 #else
6623 # define ISLOWER(c) \
6624 (('a' <= (c) && (c) <= 'i') \
6625 || ('j' <= (c) && (c) <= 'r') \
6626 || ('s' <= (c) && (c) <= 'z'))
6627 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6628 #endif
6630 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6632 main ()
6634 int i;
6635 for (i = 0; i < 256; i++)
6636 if (XOR (islower (i), ISLOWER (i))
6637 || toupper (i) != TOUPPER (i))
6638 return 2;
6639 return 0;
6641 _ACEOF
6642 if ac_fn_c_try_run "$LINENO"; then :
6644 else
6645 ac_cv_header_stdc=no
6647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6648 conftest.$ac_objext conftest.beam conftest.$ac_ext
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6654 $as_echo "$ac_cv_header_stdc" >&6; }
6655 if test $ac_cv_header_stdc = yes; then
6657 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6661 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6662 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6663 inttypes.h stdint.h unistd.h
6664 do :
6665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6668 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6669 cat >>confdefs.h <<_ACEOF
6670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6671 _ACEOF
6675 done
6678 for ac_header in \
6679 AL/al.h \
6680 ApplicationServices/ApplicationServices.h \
6681 AudioToolbox/AudioConverter.h \
6682 AudioUnit/AudioUnit.h \
6683 AudioUnit/AudioComponent.h \
6684 CL/cl.h \
6685 Carbon/Carbon.h \
6686 CommonCrypto/CommonDigest.h \
6687 CoreAudio/CoreAudio.h \
6688 CoreServices/CoreServices.h \
6689 DiskArbitration/DiskArbitration.h \
6690 IOKit/IOKitLib.h \
6691 IOKit/hid/IOHIDLib.h \
6692 OpenAL/al.h \
6693 OpenCL/opencl.h \
6694 QuickTime/ImageCompression.h \
6695 Security/Security.h \
6696 alias.h \
6697 alsa/asoundlib.h \
6698 arpa/inet.h \
6699 arpa/nameser.h \
6700 asm/types.h \
6701 asm/user.h \
6702 curses.h \
6703 direct.h \
6704 dirent.h \
6705 dlfcn.h \
6706 elf.h \
6707 float.h \
6708 fnmatch.h \
6709 getopt.h \
6710 gettext-po.h \
6711 grp.h \
6712 gsm.h \
6713 gsm/gsm.h \
6714 ieeefp.h \
6715 inet/mib2.h \
6716 io.h \
6717 kstat.h \
6718 lber.h \
6719 ldap.h \
6720 libproc.h \
6721 link.h \
6722 linux/cdrom.h \
6723 linux/compiler.h \
6724 linux/filter.h \
6725 linux/hdreg.h \
6726 linux/input.h \
6727 linux/ioctl.h \
6728 linux/joystick.h \
6729 linux/major.h \
6730 linux/param.h \
6731 linux/serial.h \
6732 linux/types.h \
6733 linux/ucdrom.h \
6734 lwp.h \
6735 mach-o/nlist.h \
6736 mach-o/loader.h \
6737 mach/mach.h \
6738 mach/machine.h \
6739 machine/cpu.h \
6740 machine/limits.h \
6741 machine/sysarch.h \
6742 mntent.h \
6743 ncurses.h \
6744 netdb.h \
6745 netinet/in.h \
6746 netinet/in_systm.h \
6747 netinet/tcp.h \
6748 netinet/tcp_fsm.h \
6749 pcap/pcap.h \
6750 poll.h \
6751 port.h \
6752 process.h \
6753 pthread.h \
6754 pwd.h \
6755 sched.h \
6756 scsi/scsi.h \
6757 scsi/scsi_ioctl.h \
6758 scsi/sg.h \
6759 stdbool.h \
6760 stdint.h \
6761 stropts.h \
6762 sys/asoundlib.h \
6763 sys/attr.h \
6764 sys/cdio.h \
6765 sys/elf32.h \
6766 sys/epoll.h \
6767 sys/event.h \
6768 sys/exec_elf.h \
6769 sys/filio.h \
6770 sys/inotify.h \
6771 sys/ioctl.h \
6772 sys/ipc.h \
6773 sys/limits.h \
6774 sys/link.h \
6775 sys/mman.h \
6776 sys/modem.h \
6777 sys/msg.h \
6778 sys/mtio.h \
6779 sys/param.h \
6780 sys/poll.h \
6781 sys/prctl.h \
6782 sys/protosw.h \
6783 sys/ptrace.h \
6784 sys/queue.h \
6785 sys/resource.h \
6786 sys/scsiio.h \
6787 sys/shm.h \
6788 sys/signal.h \
6789 sys/socket.h \
6790 sys/socketvar.h \
6791 sys/sockio.h \
6792 sys/statvfs.h \
6793 sys/strtio.h \
6794 sys/syscall.h \
6795 sys/tihdr.h \
6796 sys/time.h \
6797 sys/timeout.h \
6798 sys/times.h \
6799 sys/uio.h \
6800 sys/user.h \
6801 sys/utsname.h \
6802 sys/vm86.h \
6803 sys/vnode.h \
6804 sys/wait.h \
6805 syscall.h \
6806 termios.h \
6807 unistd.h \
6808 utime.h \
6809 valgrind/memcheck.h \
6810 valgrind/valgrind.h \
6811 zlib.h
6813 do :
6814 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6815 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6816 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6817 cat >>confdefs.h <<_ACEOF
6818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6819 _ACEOF
6823 done
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
6826 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6827 if ${ac_cv_header_stat_broken+:} false; then :
6828 $as_echo_n "(cached) " >&6
6829 else
6830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6831 /* end confdefs.h. */
6832 #include <sys/types.h>
6833 #include <sys/stat.h>
6835 #if defined S_ISBLK && defined S_IFDIR
6836 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6837 #endif
6839 #if defined S_ISBLK && defined S_IFCHR
6840 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6841 #endif
6843 #if defined S_ISLNK && defined S_IFREG
6844 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6845 #endif
6847 #if defined S_ISSOCK && defined S_IFREG
6848 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6849 #endif
6851 _ACEOF
6852 if ac_fn_c_try_compile "$LINENO"; then :
6853 ac_cv_header_stat_broken=no
6854 else
6855 ac_cv_header_stat_broken=yes
6857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6860 $as_echo "$ac_cv_header_stat_broken" >&6; }
6861 if test $ac_cv_header_stat_broken = yes; then
6863 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6869 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
6870 do :
6871 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6872 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6873 #ifdef HAVE_SYS_PARAM_H
6874 # include <sys/param.h>
6875 #endif
6877 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6878 cat >>confdefs.h <<_ACEOF
6879 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6880 _ACEOF
6884 done
6887 for ac_header in \
6888 netinet/ip.h \
6889 net/if.h \
6890 net/if_arp.h \
6891 net/if_dl.h \
6892 net/if_types.h \
6893 net/route.h \
6894 netinet/if_ether.h \
6895 netinet/if_inarp.h \
6896 netinet/in_pcb.h \
6897 netinet/ip_icmp.h \
6898 netinet/ip_var.h \
6899 netinet/udp.h \
6900 netipx/ipx.h \
6901 sys/un.h \
6903 do :
6904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6905 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6906 #ifdef HAVE_SYS_SOCKET_H
6907 # include <sys/socket.h>
6908 #endif
6909 #ifdef HAVE_SYS_SOCKETVAR_H
6910 # include <sys/socketvar.h>
6911 #endif
6912 #ifdef HAVE_NET_ROUTE_H
6913 # include <net/route.h>
6914 #endif
6915 #ifdef HAVE_NETINET_IN_H
6916 # include <netinet/in.h>
6917 #endif
6918 #ifdef HAVE_NETINET_IN_SYSTM_H
6919 # include <netinet/in_systm.h>
6920 #endif
6921 #ifdef HAVE_NET_IF_H
6922 # include <net/if.h>
6923 #endif
6924 #ifdef HAVE_NETINET_IP_H
6925 # include <netinet/ip.h>
6926 #endif
6928 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6929 cat >>confdefs.h <<_ACEOF
6930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6931 _ACEOF
6935 done
6938 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
6939 do :
6940 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6941 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6942 #ifdef HAVE_ALIAS_H
6943 # include <alias.h>
6944 #endif
6945 #ifdef HAVE_SYS_SOCKET_H
6946 # include <sys/socket.h>
6947 #endif
6948 #ifdef HAVE_SYS_SOCKETVAR_H
6949 # include <sys/socketvar.h>
6950 #endif
6951 #ifdef HAVE_SYS_TIMEOUT_H
6952 # include <sys/timeout.h>
6953 #endif
6954 #ifdef HAVE_NETINET_IN_H
6955 # include <netinet/in.h>
6956 #endif
6957 #ifdef HAVE_NETINET_IN_SYSTM_H
6958 # include <netinet/in_systm.h>
6959 #endif
6960 #ifdef HAVE_NETINET_IP_H
6961 # include <netinet/ip.h>
6962 #endif
6963 #ifdef HAVE_NETINET_IP_VAR_H
6964 # include <netinet/ip_var.h>
6965 #endif
6966 #ifdef HAVE_NETINET_IP_ICMP_H
6967 # include <netinet/ip_icmp.h>
6968 #endif
6969 #ifdef HAVE_NETINET_UDP_H
6970 # include <netinet/udp.h>
6971 #endif
6972 #ifdef HAVE_NETINET_TCP_H
6973 # include <netinet/tcp.h>
6974 #endif
6975 #ifdef HAVE_NETINET_TCP_TIMER_H
6976 #include <netinet/tcp_timer.h>
6977 #endif
6979 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
6980 cat >>confdefs.h <<_ACEOF
6981 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6982 _ACEOF
6986 done
6989 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
6990 do :
6991 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6992 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6993 #ifdef HAVE_ASM_TYPES_H
6994 # include <asm/types.h>
6995 #endif
6996 #ifdef HAVE_SYS_SOCKET_H
6997 # include <sys/socket.h>
6998 #endif
6999 #ifdef HAVE_LINUX_TYPES_H
7000 # include <linux/types.h>
7001 #endif
7003 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7004 cat >>confdefs.h <<_ACEOF
7005 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7006 _ACEOF
7010 done
7013 for ac_header in mach-o/dyld_images.h
7014 do :
7015 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7016 # include <stdbool.h>
7017 #endif
7018 #ifdef HAVE_STDINT_H
7019 # include <stdint.h>
7020 #endif
7022 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7023 cat >>confdefs.h <<_ACEOF
7024 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7025 _ACEOF
7029 done
7032 for ac_header in resolv.h
7033 do :
7034 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7035 #ifdef HAVE_SYS_SOCKET_H
7036 # include <sys/socket.h>
7037 #endif
7038 #ifdef HAVE_NETINET_IN_H
7039 # include <netinet/in.h>
7040 #endif
7041 #ifdef HAVE_ARPA_NAMESER_H
7042 # include <arpa/nameser.h>
7043 #endif
7045 if test "x$ac_cv_header_resolv_h" = xyes; then :
7046 cat >>confdefs.h <<_ACEOF
7047 #define HAVE_RESOLV_H 1
7048 _ACEOF
7052 done
7055 for ac_header in ifaddrs.h
7056 do :
7057 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7059 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7060 cat >>confdefs.h <<_ACEOF
7061 #define HAVE_IFADDRS_H 1
7062 _ACEOF
7066 done
7069 for ac_header in sys/ucontext.h
7070 do :
7071 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7073 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7074 cat >>confdefs.h <<_ACEOF
7075 #define HAVE_SYS_UCONTEXT_H 1
7076 _ACEOF
7080 done
7083 for ac_header in sys/thr.h
7084 do :
7085 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7086 #ifdef HAVE_SYS_UCONTEXT_H
7087 #include <sys/ucontext.h>
7088 #endif
7090 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7091 cat >>confdefs.h <<_ACEOF
7092 #define HAVE_SYS_THR_H 1
7093 _ACEOF
7097 done
7100 for ac_header in pthread_np.h
7101 do :
7102 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7103 #include <pthread.h>
7104 #endif
7106 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7107 cat >>confdefs.h <<_ACEOF
7108 #define HAVE_PTHREAD_NP_H 1
7109 _ACEOF
7113 done
7116 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7117 do :
7118 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7119 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7120 #include <sys/time.h>
7121 #endif
7122 #include <sys/types.h>
7123 #ifdef HAVE_ASM_TYPES_H
7124 #include <asm/types.h>
7125 #endif
7127 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7128 cat >>confdefs.h <<_ACEOF
7129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7130 _ACEOF
7134 done
7137 for ac_header in libprocstat.h
7138 do :
7139 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7140 #include <sys/param.h>
7141 #endif
7142 #ifdef HAVE_SYS_QUEUE_H
7143 #include <sys/queue.h>
7144 #endif
7145 #ifdef HAVE_SYS_SOCKET_H
7146 #include <sys/socket.h>
7147 #endif
7149 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7150 cat >>confdefs.h <<_ACEOF
7151 #define HAVE_LIBPROCSTAT_H 1
7152 _ACEOF
7156 done
7160 dlldir="\${libdir}/wine"
7162 DLLFLAGS="-D_REENTRANT"
7164 LDRPATH_INSTALL=""
7166 LDRPATH_LOCAL=""
7168 LDEXECFLAGS=""
7170 LIBEXT="so"
7171 DLLEXT=".so"
7172 IMPLIBEXT="def"
7173 STATIC_IMPLIBEXT="def.a"
7174 # Extract the first word of "ldd", so it can be a program name with args.
7175 set dummy ldd; ac_word=$2
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177 $as_echo_n "checking for $ac_word... " >&6; }
7178 if ${ac_cv_path_LDD+:} false; then :
7179 $as_echo_n "(cached) " >&6
7180 else
7181 case $LDD in
7182 [\\/]* | ?:[\\/]*)
7183 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7187 as_dummy="/sbin:/usr/sbin:$PATH"
7188 for as_dir in $as_dummy
7190 IFS=$as_save_IFS
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7196 break 2
7198 done
7199 done
7200 IFS=$as_save_IFS
7202 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7204 esac
7206 LDD=$ac_cv_path_LDD
7207 if test -n "$LDD"; then
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7209 $as_echo "$LDD" >&6; }
7210 else
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7212 $as_echo "no" >&6; }
7216 if test -n "$ac_tool_prefix"; then
7217 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7218 set dummy ${ac_tool_prefix}otool; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if ${ac_cv_prog_OTOOL+:} false; then :
7222 $as_echo_n "(cached) " >&6
7223 else
7224 if test -n "$OTOOL"; then
7225 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7226 else
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7228 for as_dir in $PATH
7230 IFS=$as_save_IFS
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7234 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 break 2
7238 done
7239 done
7240 IFS=$as_save_IFS
7244 OTOOL=$ac_cv_prog_OTOOL
7245 if test -n "$OTOOL"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7247 $as_echo "$OTOOL" >&6; }
7248 else
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7255 if test -z "$ac_cv_prog_OTOOL"; then
7256 ac_ct_OTOOL=$OTOOL
7257 # Extract the first word of "otool", so it can be a program name with args.
7258 set dummy otool; ac_word=$2
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7260 $as_echo_n "checking for $ac_word... " >&6; }
7261 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 if test -n "$ac_ct_OTOOL"; then
7265 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7266 else
7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7268 for as_dir in $PATH
7270 IFS=$as_save_IFS
7271 test -z "$as_dir" && as_dir=.
7272 for ac_exec_ext in '' $ac_executable_extensions; do
7273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7274 ac_cv_prog_ac_ct_OTOOL="otool"
7275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7276 break 2
7278 done
7279 done
7280 IFS=$as_save_IFS
7284 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7285 if test -n "$ac_ct_OTOOL"; then
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7287 $as_echo "$ac_ct_OTOOL" >&6; }
7288 else
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7290 $as_echo "no" >&6; }
7293 if test "x$ac_ct_OTOOL" = x; then
7294 OTOOL="otool"
7295 else
7296 case $cross_compiling:$ac_tool_warned in
7297 yes:)
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7300 ac_tool_warned=yes ;;
7301 esac
7302 OTOOL=$ac_ct_OTOOL
7304 else
7305 OTOOL="$ac_cv_prog_OTOOL"
7308 if test -n "$ac_tool_prefix"; then
7309 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7310 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_READELF+:} false; then :
7314 $as_echo_n "(cached) " >&6
7315 else
7316 if test -n "$READELF"; then
7317 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7318 else
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 for as_dir in $PATH
7322 IFS=$as_save_IFS
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7326 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7328 break 2
7330 done
7331 done
7332 IFS=$as_save_IFS
7336 READELF=$ac_cv_prog_READELF
7337 if test -n "$READELF"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7339 $as_echo "$READELF" >&6; }
7340 else
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7347 if test -z "$ac_cv_prog_READELF"; then
7348 ac_ct_READELF=$READELF
7349 # Extract the first word of "readelf", so it can be a program name with args.
7350 set dummy readelf; ac_word=$2
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7352 $as_echo_n "checking for $ac_word... " >&6; }
7353 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7354 $as_echo_n "(cached) " >&6
7355 else
7356 if test -n "$ac_ct_READELF"; then
7357 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7358 else
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 for as_dir in $PATH
7362 IFS=$as_save_IFS
7363 test -z "$as_dir" && as_dir=.
7364 for ac_exec_ext in '' $ac_executable_extensions; do
7365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7366 ac_cv_prog_ac_ct_READELF="readelf"
7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7368 break 2
7370 done
7371 done
7372 IFS=$as_save_IFS
7376 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7377 if test -n "$ac_ct_READELF"; then
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7379 $as_echo "$ac_ct_READELF" >&6; }
7380 else
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7382 $as_echo "no" >&6; }
7385 if test "x$ac_ct_READELF" = x; then
7386 READELF="true"
7387 else
7388 case $cross_compiling:$ac_tool_warned in
7389 yes:)
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7392 ac_tool_warned=yes ;;
7393 esac
7394 READELF=$ac_ct_READELF
7396 else
7397 READELF="$ac_cv_prog_READELF"
7400 wine_rules_file=conf$$rules.make
7401 rm -f $wine_rules_file
7402 ALL_POT_FILES=""
7403 GITIGNORE="# Automatically generated by configure; DO NOT EDIT!!"
7404 SUBDIRS=""
7406 ALL_TEST_RESOURCES=""
7409 wine_fn_append_file ()
7411 as_fn_append $1 " \\$as_nl $2"
7414 wine_fn_ignore_file ()
7416 case "$1" in
7417 */*) as_fn_append GITIGNORE "$as_nl$1" ;;
7418 \**) as_fn_append GITIGNORE "$as_nl$1" ;;
7419 *) as_fn_append GITIGNORE "$as_nl/$1" ;;
7420 esac
7423 wine_fn_append_rule ()
7425 $as_echo "$1" >>$wine_rules_file
7428 wine_fn_has_flag ()
7430 expr ",$ac_flags," : ".*,$1,.*" >/dev/null
7433 wine_fn_depend_rules ()
7435 wine_fn_append_file SUBDIRS $ac_dir
7438 wine_fn_pot_rules ()
7440 test "x$with_gettextpo" = xyes || return
7442 if wine_fn_has_flag mc
7443 then
7444 wine_fn_append_file ALL_POT_FILES $ac_dir/msg.pot
7445 wine_fn_append_rule \
7446 "$ac_dir/msg.pot: dummy
7447 @cd $ac_dir && \$(MAKE) msg.pot
7448 $ac_dir/msg.pot: tools/wmc include"
7450 if wine_fn_has_flag po
7451 then
7452 wine_fn_append_file ALL_POT_FILES $ac_dir/rsrc.pot
7453 wine_fn_append_rule \
7454 "$ac_dir/rsrc.pot: dummy
7455 @cd $ac_dir && \$(MAKE) rsrc.pot
7456 $ac_dir/rsrc.pot: tools/wrc include"
7460 wine_fn_all_rules ()
7462 wine_fn_depend_rules
7463 wine_fn_append_rule \
7464 "all: $ac_dir
7465 .PHONY: $ac_dir
7466 $ac_dir: dummy
7467 @cd $ac_dir && \$(MAKE)"
7470 wine_fn_install_rules ()
7472 wine_fn_has_flag install-lib || wine_fn_has_flag install-dev || return
7474 wine_fn_append_rule \
7475 ".PHONY: $ac_dir/install $ac_dir/uninstall
7476 $ac_dir/install:: $ac_dir
7477 @cd $ac_dir && \$(MAKE) install
7478 $ac_dir/uninstall::
7479 @cd $ac_dir && \$(MAKE) uninstall
7480 install:: $ac_dir/install
7481 __uninstall__: $ac_dir/uninstall"
7483 if wine_fn_has_flag install-lib
7484 then
7485 wine_fn_append_rule \
7486 ".PHONY: $ac_dir/install-lib
7487 $ac_dir/install-lib:: $ac_dir
7488 @cd $ac_dir && \$(MAKE) install-lib
7489 install-lib:: $ac_dir/install-lib"
7492 if wine_fn_has_flag install-dev
7493 then
7494 wine_fn_append_rule \
7495 ".PHONY: $ac_dir/install-dev
7496 $ac_dir/install-dev:: $ac_dir
7497 @cd $ac_dir && \$(MAKE) install-dev
7498 install-dev:: $ac_dir/install-dev"
7502 wine_fn_clean_rules ()
7504 ac_clean=$@
7506 if wine_fn_has_flag clean
7507 then
7508 wine_fn_append_rule \
7509 "$ac_dir/clean: dummy
7510 @cd $ac_dir && \$(MAKE) clean"
7511 else
7512 wine_fn_append_rule \
7513 "$ac_dir/clean: dummy
7514 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7516 wine_fn_append_rule \
7517 "__clean__: $ac_dir/clean
7518 .PHONY: $ac_dir/clean"
7521 wine_fn_disabled_rules ()
7523 ac_clean=$@
7525 wine_fn_append_rule \
7526 "__clean__: $ac_dir/clean
7527 .PHONY: $ac_dir/clean
7528 $ac_dir/clean: dummy
7529 \$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean"
7532 wine_fn_config_makefile ()
7534 ac_dir=$1
7535 ac_enable=$2
7536 ac_flags=$3
7538 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7539 wine_fn_disabled_rules; return
7541 wine_fn_all_rules
7542 wine_fn_install_rules
7543 wine_fn_clean_rules
7546 wine_fn_config_lib ()
7548 ac_name=$1
7549 ac_flags=$2
7550 ac_dir=dlls/$ac_name
7551 ac_deps="include"
7553 if test "x$enable_tools" = xno; then :
7555 else
7556 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7558 wine_fn_all_rules
7559 wine_fn_clean_rules
7561 wine_fn_append_rule \
7562 ".PHONY: $ac_dir/install $ac_dir/uninstall
7563 $ac_dir/install:: $ac_dir
7564 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7565 $ac_dir/uninstall::
7566 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
7567 install install-dev:: $ac_dir/install
7568 __uninstall__: $ac_dir/uninstall
7569 __builddeps__: $ac_dir
7570 $ac_dir: $ac_deps"
7573 wine_fn_config_dll ()
7575 ac_name=$1
7576 ac_dir=dlls/$ac_name
7577 ac_enable=$2
7578 ac_flags=$3
7579 ac_implib=${4:-$ac_name}
7580 ac_file=$ac_dir/lib$ac_implib
7581 ac_dll=$ac_name
7582 ac_deps="include"
7583 ac_implibflags=""
7585 if test "x$enable_tools" = xno; then :
7587 else
7588 ac_deps="tools/widl tools/winebuild tools/winegcc $ac_deps"
7590 case $ac_name in
7591 *16) ac_implibflags=" -m16" ;;
7592 *.*) ;;
7593 *) ac_dll=$ac_dll.dll ;;
7594 esac
7596 ac_clean=
7597 wine_fn_has_flag implib && ac_clean="$ac_clean $ac_file.$IMPLIBEXT"
7598 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7599 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7600 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
7602 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7603 if test "$ac_enable" != enable_win16
7604 then
7605 wine_fn_depend_rules
7606 wine_fn_clean_rules $ac_clean
7607 wine_fn_pot_rules
7608 else
7609 wine_fn_disabled_rules $ac_clean
7610 return
7612 else
7613 wine_fn_all_rules
7614 wine_fn_clean_rules $ac_clean
7615 wine_fn_append_rule \
7616 "$ac_dir: __builddeps__
7617 manpages htmlpages sgmlpages xmlpages::
7618 @cd $ac_dir && \$(MAKE) \$@
7619 .PHONY: $ac_dir/install-lib $ac_dir/uninstall
7620 install install-lib:: $ac_dir/install-lib
7621 __uninstall__: $ac_dir/uninstall"
7622 if test -n "$DLLEXT"
7623 then
7624 wine_fn_append_rule \
7625 "$ac_dir/install-lib:: $ac_dir
7626 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
7627 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
7628 $ac_dir/uninstall::
7629 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
7630 else
7631 wine_fn_append_rule \
7632 "$ac_dir/install-lib:: $ac_dir
7633 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
7634 $ac_dir/uninstall::
7635 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
7638 wine_fn_pot_rules
7641 if wine_fn_has_flag staticimplib
7642 then
7643 wine_fn_append_rule \
7644 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
7645 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
7646 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7647 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7648 $ac_file.$STATIC_IMPLIBEXT: dummy
7649 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
7650 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7651 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7652 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7653 $ac_dir/uninstall::
7654 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7655 install install-dev:: $ac_dir/install-dev
7656 __uninstall__: $ac_dir/uninstall"
7658 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
7659 then
7660 wine_fn_append_rule \
7661 "$ac_dir/install-dev:: $ac_file.$STATIC_IMPLIBEXT __builddeps__
7662 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
7663 $ac_dir/uninstall::
7664 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
7667 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7668 then
7669 wine_fn_append_rule \
7670 "__builddeps__: $ac_file.cross.a
7671 $ac_file.cross.a: dummy
7672 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
7675 elif wine_fn_has_flag implib
7676 then
7677 wine_fn_append_rule \
7678 "__builddeps__: $ac_file.$IMPLIBEXT
7679 $ac_file.def: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7680 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7681 $ac_file.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7682 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec
7683 .PHONY: $ac_dir/install-dev $ac_dir/uninstall
7684 $ac_dir/install-dev:: $ac_file.$IMPLIBEXT
7685 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7686 $ac_dir/uninstall::
7687 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
7688 install install-dev:: $ac_dir/install-dev
7689 __uninstall__: $ac_dir/uninstall"
7690 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7691 then
7692 wine_fn_append_rule \
7693 "__builddeps__: $ac_file.cross.a
7694 $ac_file.cross.a: $srcdir/$ac_dir/$ac_name.spec \$(WINEBUILD)
7695 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export $srcdir/$ac_dir/$ac_name.spec"
7698 if test "$ac_name" != "$ac_implib"
7699 then
7700 wine_fn_append_rule \
7701 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
7702 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
7703 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
7704 clean::
7705 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
7706 wine_fn_ignore_file "dlls/lib$ac_implib.$IMPLIBEXT"
7707 if test -n "$CROSSTARGET" -a -z "$ac_implibflags"
7708 then
7709 wine_fn_append_rule \
7710 "__builddeps__: dlls/lib$ac_implib.cross.a
7711 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
7712 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@
7713 clean::
7714 \$(RM) dlls/lib$ac_implib.cross.a"
7715 wine_fn_ignore_file "dlls/lib$ac_implib.cross.a"
7721 wine_fn_config_program ()
7723 ac_name=$1
7724 ac_dir=programs/$ac_name
7725 ac_enable=$2
7726 ac_flags=$3
7727 ac_program=$ac_name
7729 case $ac_name in
7730 *.*) ;;
7731 *) ac_program=$ac_program.exe ;;
7732 esac
7734 ac_clean=
7735 wine_fn_has_flag mc && ac_clean="$ac_clean $ac_dir/msg.pot"
7736 wine_fn_has_flag po && ac_clean="$ac_clean $ac_dir/rsrc.pot"
7737 wine_fn_has_flag manpage && ac_clean="$ac_clean $ac_dir/$ac_name.man"
7738 test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_program"
7740 if eval test \"x\$"$ac_enable"\" = x"no"; then :
7741 wine_fn_disabled_rules $ac_clean; return
7744 wine_fn_all_rules
7745 wine_fn_clean_rules $ac_clean
7746 wine_fn_append_rule "$ac_dir: __builddeps__"
7747 wine_fn_pot_rules
7749 wine_fn_has_flag install || return
7750 wine_fn_append_rule \
7751 ".PHONY: $ac_dir/install $ac_dir/uninstall
7752 install install-lib:: $ac_dir/install
7753 __uninstall__: $ac_dir/uninstall"
7755 if test -n "$DLLEXT"
7756 then
7757 wine_fn_append_rule \
7758 "$ac_dir/install:: $ac_dir
7759 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
7760 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
7761 $ac_dir/uninstall::
7762 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
7764 if test -z "$with_wine64" && wine_fn_has_flag installbin
7765 then
7766 wine_fn_append_rule \
7767 "$ac_dir/install:: __tooldeps__
7768 \$(INSTALL_SCRIPT) \$(TOOLSDIR)/tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
7769 $ac_dir/uninstall::
7770 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
7772 else
7773 wine_fn_append_rule \
7774 "$ac_dir/install:: $ac_dir
7775 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(bindir)/$ac_program
7776 $ac_dir/uninstall::
7777 \$(RM) \$(DESTDIR)\$(bindir)/$ac_program"
7780 if test -z "$with_wine64" && wine_fn_has_flag manpage
7781 then
7782 wine_fn_append_rule \
7783 "$ac_dir/install:: $ac_dir
7784 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
7785 $ac_dir/uninstall::
7786 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
7790 wine_fn_config_test ()
7792 ac_dir=$1
7793 ac_name=$2
7794 ac_flags=$3
7796 ac_clean=
7797 test -n "$CROSSTARGET" && ac_clean=`expr $ac_dir/${ac_name} : "\\(.*\\)_test"`_crosstest.exe
7798 test -n "$DLLEXT" || ac_clean="$ac_dir/${ac_name}.exe $ac_dir/${ac_name}-stripped.exe"
7800 if test "x$enable_tests" = xno; then :
7801 wine_fn_disabled_rules $ac_clean; return
7804 wine_fn_append_file ALL_TEST_RESOURCES $ac_name.res
7805 wine_fn_all_rules
7806 wine_fn_clean_rules $ac_clean
7808 wine_fn_append_rule \
7809 "$ac_dir: __builddeps__
7810 programs/winetest: $ac_dir
7811 check test: $ac_dir/test
7812 .PHONY: $ac_dir/test
7813 $ac_dir/test: dummy
7814 @cd $ac_dir && \$(MAKE) test
7815 testclean::
7816 \$(RM) $ac_dir/*.ok"
7818 if test -n "$CROSSTARGET"
7819 then
7820 wine_fn_append_rule \
7821 "crosstest: $ac_dir/crosstest
7822 .PHONY: $ac_dir/crosstest
7823 $ac_dir/crosstest: __builddeps__ dummy
7824 @cd $ac_dir && \$(MAKE) crosstest"
7828 wine_fn_config_tool ()
7830 ac_dir=$1
7831 ac_flags=$2
7832 if test "x$enable_tools" = xno; then :
7833 return
7836 wine_fn_all_rules
7837 wine_fn_install_rules
7838 wine_fn_clean_rules
7840 wine_fn_append_rule "__tooldeps__: $ac_dir"
7841 wine_fn_append_rule "$ac_dir: libs/port"
7842 case $ac_dir in
7843 tools/winebuild) wine_fn_append_rule "\$(WINEBUILD): $ac_dir" ;;
7844 esac
7847 wine_fn_config_symlink ()
7849 ac_linkdir=
7850 if test "x$1" = "x-d"
7851 then
7852 ac_linkdir=$2
7853 shift; shift
7855 ac_links=$@
7856 wine_fn_append_rule \
7857 "$ac_links:
7858 @./config.status \$@
7859 distclean::
7860 \$(RM) $ac_links"
7861 for f in $ac_links; do wine_fn_ignore_file $f; done
7862 test -n "$ac_linkdir" || return
7863 wine_fn_append_rule "$ac_linkdir/depend: $ac_links"
7866 wine_binary="wine"
7867 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7868 WINELOADER_PROGRAMS="$wine_binary"
7870 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7872 case $host_os in
7873 cygwin*|mingw32*)
7874 if test -n "$ac_tool_prefix"; then
7875 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7876 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_prog_DLLTOOL+:} false; then :
7880 $as_echo_n "(cached) " >&6
7881 else
7882 if test -n "$DLLTOOL"; then
7883 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7884 else
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 for as_dir in $PATH
7888 IFS=$as_save_IFS
7889 test -z "$as_dir" && as_dir=.
7890 for ac_exec_ext in '' $ac_executable_extensions; do
7891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7892 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7894 break 2
7896 done
7897 done
7898 IFS=$as_save_IFS
7902 DLLTOOL=$ac_cv_prog_DLLTOOL
7903 if test -n "$DLLTOOL"; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7905 $as_echo "$DLLTOOL" >&6; }
7906 else
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7913 if test -z "$ac_cv_prog_DLLTOOL"; then
7914 ac_ct_DLLTOOL=$DLLTOOL
7915 # Extract the first word of "dlltool", so it can be a program name with args.
7916 set dummy dlltool; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918 $as_echo_n "checking for $ac_word... " >&6; }
7919 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7920 $as_echo_n "(cached) " >&6
7921 else
7922 if test -n "$ac_ct_DLLTOOL"; then
7923 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7924 else
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 for as_dir in $PATH
7928 IFS=$as_save_IFS
7929 test -z "$as_dir" && as_dir=.
7930 for ac_exec_ext in '' $ac_executable_extensions; do
7931 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7932 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7934 break 2
7936 done
7937 done
7938 IFS=$as_save_IFS
7942 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7943 if test -n "$ac_ct_DLLTOOL"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7945 $as_echo "$ac_ct_DLLTOOL" >&6; }
7946 else
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948 $as_echo "no" >&6; }
7951 if test "x$ac_ct_DLLTOOL" = x; then
7952 DLLTOOL="false"
7953 else
7954 case $cross_compiling:$ac_tool_warned in
7955 yes:)
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7958 ac_tool_warned=yes ;;
7959 esac
7960 DLLTOOL=$ac_ct_DLLTOOL
7962 else
7963 DLLTOOL="$ac_cv_prog_DLLTOOL"
7966 LIBEXT="dll"
7967 DLLEXT=""
7968 IMPLIBEXT="a"
7969 STATIC_IMPLIBEXT="a"
7970 enable_iphlpapi=${enable_iphlpapi:-no}
7971 enable_kernel32=${enable_kernel32:-no}
7972 enable_msvcrt=${enable_msvcrt:-no}
7973 enable_ntdll=${enable_ntdll:-no}
7974 enable_ws2_32=${enable_ws2_32:-no}
7975 enable_loader=${enable_loader:-no}
7976 enable_server=${enable_server:-no}
7977 with_x=${with_x:-no}
7978 with_pthread=${with_pthread:-no}
7980 crtlibs=""
7981 case $host_os in
7982 mingw32*)
7983 crtlibs="-lmsvcrt"
7984 SOCKET_LIBS="-lws2_32"
7986 esac
7988 LIBWINE_SHAREDLIB="libwine.dll"
7990 LIBWINE_IMPORTLIB="libwine.a"
7992 LIBWINE_INSTALL_LIB="libwine.dll"
7994 LIBWINE_INSTALL_DEV="libwine.a"
7996 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7998 LIBWINE_DEPENDS="wine.def"
8002 darwin*|macosx*)
8003 for ac_header in libunwind.h
8004 do :
8005 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
8006 if test "x$ac_cv_header_libunwind_h" = xyes; then :
8007 cat >>confdefs.h <<_ACEOF
8008 #define HAVE_LIBUNWIND_H 1
8009 _ACEOF
8013 done
8015 LIBEXT="dylib"
8016 DLLFLAGS="$DLLFLAGS -fPIC"
8017 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8018 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8019 COREFOUNDATION_LIBS="-framework CoreFoundation"
8021 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8023 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8025 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8027 CORESERVICES_LIBS="-framework CoreServices"
8029 APPKIT_LIBS="-framework AppKit"
8031 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8033 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8034 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8035 $as_echo_n "(cached) " >&6
8036 else
8037 ac_wine_try_cflags_saved=$CFLAGS
8038 CFLAGS="$CFLAGS -Wl,-no_pie"
8039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8040 /* end confdefs.h. */
8041 int main(int argc, char **argv) { return 0; }
8042 _ACEOF
8043 if ac_fn_c_try_link "$LINENO"; then :
8044 ac_cv_cflags__Wl__no_pie=yes
8045 else
8046 ac_cv_cflags__Wl__no_pie=no
8048 rm -f core conftest.err conftest.$ac_objext \
8049 conftest$ac_exeext conftest.$ac_ext
8050 CFLAGS=$ac_wine_try_cflags_saved
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8053 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8054 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8055 LDEXECFLAGS="-Wl,-no_pie $LDEXECFLAGS"
8057 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8058 then
8059 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8062 if test "$ac_cv_header_Security_Security_h" = "yes"
8063 then
8064 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8066 ac_save_LIBS="$LIBS"
8067 LIBS="$LIBS $SECURITY_LIBS"
8068 for ac_func in SSLCopyPeerCertificates
8069 do :
8070 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8071 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8072 cat >>confdefs.h <<_ACEOF
8073 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8074 _ACEOF
8077 done
8079 LIBS="$ac_save_LIBS"
8080 with_gnutls=${with_gnutls:-no}
8082 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8083 then
8084 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8085 then
8086 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8088 else
8089 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8092 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8093 ac_save_LIBS="$LIBS"
8094 LIBS="$LIBS $COREAUDIO_LIBS"
8095 for ac_func in AUGraphAddNode
8096 do :
8097 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8098 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8099 cat >>confdefs.h <<_ACEOF
8100 #define HAVE_AUGRAPHADDNODE 1
8101 _ACEOF
8104 done
8106 LIBS="$ac_save_LIBS"
8108 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8109 then
8110 OPENAL_LIBS="-framework OpenAL"
8113 cat >>confdefs.h <<_ACEOF
8114 #define HAVE_OPENAL 1
8115 _ACEOF
8117 ac_cv_lib_openal=yes
8119 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8120 then
8121 OPENCL_LIBS="-framework OpenCL"
8123 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8125 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8126 then
8127 ac_save_LIBS="$LIBS"
8128 LIBS="$LIBS $IOKIT_LIBS"
8129 for ac_func in IOHIDManagerCreate
8130 do :
8131 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8132 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8133 cat >>confdefs.h <<_ACEOF
8134 #define HAVE_IOHIDMANAGERCREATE 1
8135 _ACEOF
8138 done
8140 LIBS="$ac_save_LIBS"
8142 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8143 then
8144 ac_save_LIBS="$LIBS"
8145 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8147 $as_echo_n "checking for the QuickTime framework... " >&6; }
8148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8149 /* end confdefs.h. */
8150 #include <QuickTime/ImageCompression.h>
8152 main ()
8154 CodecManagerVersion(NULL);
8156 return 0;
8158 _ACEOF
8159 if ac_fn_c_try_link "$LINENO"; then :
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8161 $as_echo "yes" >&6; }
8162 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8164 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8165 else
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8167 $as_echo "no" >&6; }
8168 ac_cv_header_QuickTime_ImageCompression_h=no
8170 rm -f core conftest.err conftest.$ac_objext \
8171 conftest$ac_exeext conftest.$ac_ext
8172 LIBS="$ac_save_LIBS"
8174 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8175 then
8176 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8178 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8179 then
8180 CARBON_LIBS="-framework Carbon"
8184 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8185 then
8186 ac_save_LIBS="$LIBS"
8187 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8188 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8189 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8190 enable_winemac_drv=${enable_winemac_drv:-yes}
8193 LIBS="$ac_save_LIBS"
8196 if test "x$enable_win16" = "xyes"
8197 then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8199 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8200 if test "$cross_compiling" = yes; then :
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8202 $as_echo "cross-compiling, assuming yes" >&6; }
8203 else
8204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8205 /* end confdefs.h. */
8206 asm(".text\n"
8207 "bad:\tnop;nop\n"
8208 "good:\tnop;nop\n\t"
8209 ".globl _testfunc\n"
8210 "_testfunc:\tcallw good");
8211 extern void testfunc();
8213 main ()
8215 unsigned short *p = (unsigned short *)testfunc;
8216 return p[0] != 0xe866 || p[1] != 0xfffa
8218 return 0;
8220 _ACEOF
8221 if ac_fn_c_try_run "$LINENO"; then :
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8223 $as_echo "yes" >&6; }
8224 else
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8226 $as_echo "no" >&6; }
8227 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
8229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8230 conftest.$ac_objext conftest.beam conftest.$ac_ext
8235 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8237 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8239 LIBWINE_INSTALL_DEV="libwine.dylib"
8241 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8243 WINELOADER_DEPENDS="wine_info.plist"
8247 linux-android*)
8248 DLLFLAGS="$DLLFLAGS -fPIC"
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8250 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8251 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8252 $as_echo_n "(cached) " >&6
8253 else
8254 ac_wine_try_cflags_saved=$CFLAGS
8255 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8257 /* end confdefs.h. */
8258 int main(int argc, char **argv) { return 0; }
8259 _ACEOF
8260 if ac_fn_c_try_link "$LINENO"; then :
8261 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8262 else
8263 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8265 rm -f core conftest.err conftest.$ac_objext \
8266 conftest$ac_exeext conftest.$ac_ext
8267 CFLAGS=$ac_wine_try_cflags_saved
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8270 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8271 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8272 LDEXECFLAGS="-Wl,--export-dynamic"
8274 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8276 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8277 if eval \${$as_ac_var+:} false; then :
8278 $as_echo_n "(cached) " >&6
8279 else
8280 ac_wine_try_cflags_saved=$CFLAGS
8281 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8284 int main(int argc, char **argv) { return 0; }
8285 _ACEOF
8286 if ac_fn_c_try_link "$LINENO"; then :
8287 eval "$as_ac_var=yes"
8288 else
8289 eval "$as_ac_var=no"
8291 rm -f core conftest.err conftest.$ac_objext \
8292 conftest$ac_exeext conftest.$ac_ext
8293 CFLAGS=$ac_wine_try_cflags_saved
8295 eval ac_res=\$$as_ac_var
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8297 $as_echo "$ac_res" >&6; }
8298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8299 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8300 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8301 else
8302 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8304 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8305 if eval \${$as_ac_var+:} false; then :
8306 $as_echo_n "(cached) " >&6
8307 else
8308 ac_wine_try_cflags_saved=$CFLAGS
8309 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8311 /* end confdefs.h. */
8312 int main(int argc, char **argv) { return 0; }
8313 _ACEOF
8314 if ac_fn_c_try_link "$LINENO"; then :
8315 eval "$as_ac_var=yes"
8316 else
8317 eval "$as_ac_var=no"
8319 rm -f core conftest.err conftest.$ac_objext \
8320 conftest$ac_exeext conftest.$ac_ext
8321 CFLAGS=$ac_wine_try_cflags_saved
8323 eval ac_res=\$$as_ac_var
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8325 $as_echo "$ac_res" >&6; }
8326 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8327 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8328 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8333 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8334 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 ac_wine_try_cflags_saved=$CFLAGS
8338 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8341 int main(int argc, char **argv) { return 0; }
8342 _ACEOF
8343 if ac_fn_c_try_link "$LINENO"; then :
8344 ac_cv_cflags__Wl___enable_new_dtags=yes
8345 else
8346 ac_cv_cflags__Wl___enable_new_dtags=no
8348 rm -f core conftest.err conftest.$ac_objext \
8349 conftest$ac_exeext conftest.$ac_ext
8350 CFLAGS=$ac_wine_try_cflags_saved
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8353 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8354 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8355 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-pie" >&5
8358 $as_echo_n "checking whether the compiler supports -Wl,-pie... " >&6; }
8359 if ${ac_cv_cflags__Wl__pie+:} false; then :
8360 $as_echo_n "(cached) " >&6
8361 else
8362 ac_wine_try_cflags_saved=$CFLAGS
8363 CFLAGS="$CFLAGS -Wl,-pie"
8364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8365 /* end confdefs.h. */
8366 int main(int argc, char **argv) { return 0; }
8367 _ACEOF
8368 if ac_fn_c_try_link "$LINENO"; then :
8369 ac_cv_cflags__Wl__pie=yes
8370 else
8371 ac_cv_cflags__Wl__pie=no
8373 rm -f core conftest.err conftest.$ac_objext \
8374 conftest$ac_exeext conftest.$ac_ext
8375 CFLAGS=$ac_wine_try_cflags_saved
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__pie" >&5
8378 $as_echo "$ac_cv_cflags__Wl__pie" >&6; }
8379 if test "x$ac_cv_cflags__Wl__pie" = xyes; then :
8380 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,-pie"
8383 LIBWINE_SHAREDLIB="libwine.so"
8385 LIBWINE_INSTALL_LIB="libwine.so"
8387 LIBWINE_LDFLAGS="-shared"
8392 DLLFLAGS="$DLLFLAGS -fPIC"
8393 LDEXECFLAGS=""
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8395 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8396 if ${ac_cv_c_dll_gnuelf+:} false; then :
8397 $as_echo_n "(cached) " >&6
8398 else
8399 ac_wine_try_cflags_saved=$CFLAGS
8400 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402 /* end confdefs.h. */
8403 void myfunc() {}
8404 _ACEOF
8405 if ac_fn_c_try_link "$LINENO"; then :
8406 ac_cv_c_dll_gnuelf="yes"
8407 else
8408 ac_cv_c_dll_gnuelf="no"
8410 rm -f core conftest.err conftest.$ac_objext \
8411 conftest$ac_exeext conftest.$ac_ext
8412 CFLAGS=$ac_wine_try_cflags_saved
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8415 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8416 if test "$ac_cv_c_dll_gnuelf" = "yes"
8417 then
8418 LIBWINE_LDFLAGS="-shared"
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8420 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8421 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8422 $as_echo_n "(cached) " >&6
8423 else
8424 ac_wine_try_cflags_saved=$CFLAGS
8425 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8428 int main(int argc, char **argv) { return 0; }
8429 _ACEOF
8430 if ac_fn_c_try_link "$LINENO"; then :
8431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8432 else
8433 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8435 rm -f core conftest.err conftest.$ac_objext \
8436 conftest$ac_exeext conftest.$ac_ext
8437 CFLAGS=$ac_wine_try_cflags_saved
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8440 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8441 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8442 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8443 else
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8445 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8446 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8447 $as_echo_n "(cached) " >&6
8448 else
8449 ac_wine_try_cflags_saved=$CFLAGS
8450 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 int main(int argc, char **argv) { return 0; }
8454 _ACEOF
8455 if ac_fn_c_try_link "$LINENO"; then :
8456 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8457 else
8458 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8460 rm -f core conftest.err conftest.$ac_objext \
8461 conftest$ac_exeext conftest.$ac_ext
8462 CFLAGS=$ac_wine_try_cflags_saved
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8465 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8466 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8467 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8471 echo '{ global: *; };' >conftest.map
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8473 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8474 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8475 $as_echo_n "(cached) " >&6
8476 else
8477 ac_wine_try_cflags_saved=$CFLAGS
8478 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8480 /* end confdefs.h. */
8481 int main(int argc, char **argv) { return 0; }
8482 _ACEOF
8483 if ac_fn_c_try_link "$LINENO"; then :
8484 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8485 else
8486 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8488 rm -f core conftest.err conftest.$ac_objext \
8489 conftest$ac_exeext conftest.$ac_ext
8490 CFLAGS=$ac_wine_try_cflags_saved
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8493 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8494 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8495 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8497 rm -f conftest.map
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8501 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8512 else
8513 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8522 LDEXECFLAGS="-Wl,--export-dynamic"
8525 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8527 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8528 if eval \${$as_ac_var+:} false; then :
8529 $as_echo_n "(cached) " >&6
8530 else
8531 ac_wine_try_cflags_saved=$CFLAGS
8532 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8534 /* end confdefs.h. */
8535 int main(int argc, char **argv) { return 0; }
8536 _ACEOF
8537 if ac_fn_c_try_link "$LINENO"; then :
8538 eval "$as_ac_var=yes"
8539 else
8540 eval "$as_ac_var=no"
8542 rm -f core conftest.err conftest.$ac_objext \
8543 conftest$ac_exeext conftest.$ac_ext
8544 CFLAGS=$ac_wine_try_cflags_saved
8546 eval ac_res=\$$as_ac_var
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8548 $as_echo "$ac_res" >&6; }
8549 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8550 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8551 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8552 else
8553 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8556 if eval \${$as_ac_var+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 eval "$as_ac_var=yes"
8567 else
8568 eval "$as_ac_var=no"
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 eval ac_res=\$$as_ac_var
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8576 $as_echo "$ac_res" >&6; }
8577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8578 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8579 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8584 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8585 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8586 $as_echo_n "(cached) " >&6
8587 else
8588 ac_wine_try_cflags_saved=$CFLAGS
8589 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 int main(int argc, char **argv) { return 0; }
8593 _ACEOF
8594 if ac_fn_c_try_link "$LINENO"; then :
8595 ac_cv_cflags__Wl___enable_new_dtags=yes
8596 else
8597 ac_cv_cflags__Wl___enable_new_dtags=no
8599 rm -f core conftest.err conftest.$ac_objext \
8600 conftest$ac_exeext conftest.$ac_ext
8601 CFLAGS=$ac_wine_try_cflags_saved
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8604 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8605 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8606 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8609 case $host_cpu in
8610 *i[3456789]86* | x86_64)
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8612 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
8613 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false; then :
8614 $as_echo_n "(cached) " >&6
8615 else
8616 ac_wine_try_cflags_saved=$CFLAGS
8617 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8619 /* end confdefs.h. */
8620 int main(int argc, char **argv) { return 0; }
8621 _ACEOF
8622 if ac_fn_c_try_link "$LINENO"; then :
8623 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8624 else
8625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8627 rm -f core conftest.err conftest.$ac_objext \
8628 conftest$ac_exeext conftest.$ac_ext
8629 CFLAGS=$ac_wine_try_cflags_saved
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8632 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8633 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" = xyes; then :
8634 case $host_os in
8635 freebsd* | kfreebsd*-gnu) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8636 *) LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
8637 esac
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8641 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8642 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8643 $as_echo_n "(cached) " >&6
8644 else
8645 ac_wine_try_cflags_saved=$CFLAGS
8646 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8649 int main(int argc, char **argv) { return 0; }
8650 _ACEOF
8651 if ac_fn_c_try_link "$LINENO"; then :
8652 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8653 else
8654 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8656 rm -f core conftest.err conftest.$ac_objext \
8657 conftest$ac_exeext conftest.$ac_ext
8658 CFLAGS=$ac_wine_try_cflags_saved
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8661 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8662 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8664 else
8665 # Extract the first word of "prelink", so it can be a program name with args.
8666 set dummy prelink; ac_word=$2
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8668 $as_echo_n "checking for $ac_word... " >&6; }
8669 if ${ac_cv_path_PRELINK+:} false; then :
8670 $as_echo_n "(cached) " >&6
8671 else
8672 case $PRELINK in
8673 [\\/]* | ?:[\\/]*)
8674 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8678 for as_dir in /sbin /usr/sbin $PATH
8680 IFS=$as_save_IFS
8681 test -z "$as_dir" && as_dir=.
8682 for ac_exec_ext in '' $ac_executable_extensions; do
8683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8684 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8686 break 2
8688 done
8689 done
8690 IFS=$as_save_IFS
8692 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8694 esac
8696 PRELINK=$ac_cv_path_PRELINK
8697 if test -n "$PRELINK"; then
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8699 $as_echo "$PRELINK" >&6; }
8700 else
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8702 $as_echo "no" >&6; }
8706 if test "x$PRELINK" = xfalse
8707 then
8708 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8712 esac
8714 else
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8716 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8717 if ${ac_cv_c_dll_unixware+:} false; then :
8718 $as_echo_n "(cached) " >&6
8719 else
8720 ac_wine_try_cflags_saved=$CFLAGS
8721 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8723 /* end confdefs.h. */
8724 void myfunc() {}
8725 _ACEOF
8726 if ac_fn_c_try_link "$LINENO"; then :
8727 ac_cv_c_dll_unixware="yes"
8728 else
8729 ac_cv_c_dll_unixware="no"
8731 rm -f core conftest.err conftest.$ac_objext \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8736 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8737 if test "$ac_cv_c_dll_unixware" = "yes"
8738 then
8739 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8742 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8744 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8746 LIBWINE_INSTALL_DEV="libwine.so"
8748 LIBWINE_DEPENDS="wine.map"
8751 esac
8753 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8754 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8755 enable_winemac_drv=${enable_winemac_drv:-no}
8756 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8758 CROSSTARGET=""
8760 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8761 then
8762 case "$host_cpu" in
8763 arm*)
8764 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8765 i[3456789]86*)
8766 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
8767 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8768 mingw32-gcc" ;;
8769 x86_64)
8770 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
8771 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8773 ac_prefix_list="" ;;
8774 esac
8775 for ac_prog in $ac_prefix_list
8777 # Extract the first word of "$ac_prog", so it can be a program name with args.
8778 set dummy $ac_prog; ac_word=$2
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8780 $as_echo_n "checking for $ac_word... " >&6; }
8781 if ${ac_cv_prog_CROSSCC+:} false; then :
8782 $as_echo_n "(cached) " >&6
8783 else
8784 if test -n "$CROSSCC"; then
8785 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8786 else
8787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8788 for as_dir in $PATH
8790 IFS=$as_save_IFS
8791 test -z "$as_dir" && as_dir=.
8792 for ac_exec_ext in '' $ac_executable_extensions; do
8793 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8794 ac_cv_prog_CROSSCC="$ac_prog"
8795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8796 break 2
8798 done
8799 done
8800 IFS=$as_save_IFS
8804 CROSSCC=$ac_cv_prog_CROSSCC
8805 if test -n "$CROSSCC"; then
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8807 $as_echo "$CROSSCC" >&6; }
8808 else
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8810 $as_echo "no" >&6; }
8814 test -n "$CROSSCC" && break
8815 done
8816 test -n "$CROSSCC" || CROSSCC="false"
8818 if test "$CROSSCC" != "false"
8819 then
8820 ac_save_CC="$CC"
8821 CC="$CROSSCC"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8823 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8828 main ()
8832 return 0;
8834 _ACEOF
8835 if ac_fn_c_try_compile "$LINENO"; then :
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8837 $as_echo "yes" >&6; }
8838 set x $CROSSCC
8839 shift
8840 while test $# -ge 1
8842 case "$1" in
8843 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8844 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8845 esac
8846 shift
8847 done
8848 else
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8850 $as_echo "no" >&6; }
8852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8853 CC="$ac_save_CC"
8858 if test "$ac_cv_header_pthread_h" = "yes"
8859 then
8860 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8861 if test "x$ac_cv_func_pthread_create" = xyes; then :
8863 else
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8865 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8866 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868 else
8869 ac_check_lib_save_LIBS=$LIBS
8870 LIBS="-lpthread $LIBS"
8871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8872 /* end confdefs.h. */
8874 /* Override any GCC internal prototype to avoid an error.
8875 Use char because int might match the return type of a GCC
8876 builtin and then its argument prototype would still apply. */
8877 #ifdef __cplusplus
8878 extern "C"
8879 #endif
8880 char pthread_create ();
8882 main ()
8884 return pthread_create ();
8886 return 0;
8888 _ACEOF
8889 if ac_fn_c_try_link "$LINENO"; then :
8890 ac_cv_lib_pthread_pthread_create=yes
8891 else
8892 ac_cv_lib_pthread_pthread_create=no
8894 rm -f core conftest.err conftest.$ac_objext \
8895 conftest$ac_exeext conftest.$ac_ext
8896 LIBS=$ac_check_lib_save_LIBS
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8899 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8900 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8901 PTHREAD_LIBS="-lpthread"
8908 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8909 case "x$with_pthread" in
8910 xno) ;;
8911 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8912 Wine cannot support threads without libpthread.
8913 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8914 esac
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8919 $as_echo_n "checking for X... " >&6; }
8922 # Check whether --with-x was given.
8923 if test "${with_x+set}" = set; then :
8924 withval=$with_x;
8927 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8928 if test "x$with_x" = xno; then
8929 # The user explicitly disabled X.
8930 have_x=disabled
8931 else
8932 case $x_includes,$x_libraries in #(
8933 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8934 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8935 $as_echo_n "(cached) " >&6
8936 else
8937 # One or both of the vars are not set, and there is no cached value.
8938 ac_x_includes=no ac_x_libraries=no
8939 rm -f -r conftest.dir
8940 if mkdir conftest.dir; then
8941 cd conftest.dir
8942 cat >Imakefile <<'_ACEOF'
8943 incroot:
8944 @echo incroot='${INCROOT}'
8945 usrlibdir:
8946 @echo usrlibdir='${USRLIBDIR}'
8947 libdir:
8948 @echo libdir='${LIBDIR}'
8949 _ACEOF
8950 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8951 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8952 for ac_var in incroot usrlibdir libdir; do
8953 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
8954 done
8955 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
8956 for ac_extension in a so sl dylib la dll; do
8957 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
8958 test -f "$ac_im_libdir/libX11.$ac_extension"; then
8959 ac_im_usrlibdir=$ac_im_libdir; break
8961 done
8962 # Screen out bogus values from the imake configuration. They are
8963 # bogus both because they are the default anyway, and because
8964 # using them would break gcc on systems where it needs fixed includes.
8965 case $ac_im_incroot in
8966 /usr/include) ac_x_includes= ;;
8967 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
8968 esac
8969 case $ac_im_usrlibdir in
8970 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
8971 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
8972 esac
8974 cd ..
8975 rm -f -r conftest.dir
8978 # Standard set of common directories for X headers.
8979 # Check X11 before X11Rn because it is often a symlink to the current release.
8980 ac_x_header_dirs='
8981 /usr/X11/include
8982 /usr/X11R7/include
8983 /usr/X11R6/include
8984 /usr/X11R5/include
8985 /usr/X11R4/include
8987 /usr/include/X11
8988 /usr/include/X11R7
8989 /usr/include/X11R6
8990 /usr/include/X11R5
8991 /usr/include/X11R4
8993 /usr/local/X11/include
8994 /usr/local/X11R7/include
8995 /usr/local/X11R6/include
8996 /usr/local/X11R5/include
8997 /usr/local/X11R4/include
8999 /usr/local/include/X11
9000 /usr/local/include/X11R7
9001 /usr/local/include/X11R6
9002 /usr/local/include/X11R5
9003 /usr/local/include/X11R4
9005 /usr/X386/include
9006 /usr/x386/include
9007 /usr/XFree86/include/X11
9009 /usr/include
9010 /usr/local/include
9011 /usr/unsupported/include
9012 /usr/athena/include
9013 /usr/local/x11r5/include
9014 /usr/lpp/Xamples/include
9016 /usr/openwin/include
9017 /usr/openwin/share/include'
9019 if test "$ac_x_includes" = no; then
9020 # Guess where to find include files, by looking for Xlib.h.
9021 # First, try using that file with no special directory specified.
9022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9023 /* end confdefs.h. */
9024 #include <X11/Xlib.h>
9025 _ACEOF
9026 if ac_fn_c_try_cpp "$LINENO"; then :
9027 # We can compile using X headers with no special include directory.
9028 ac_x_includes=
9029 else
9030 for ac_dir in $ac_x_header_dirs; do
9031 if test -r "$ac_dir/X11/Xlib.h"; then
9032 ac_x_includes=$ac_dir
9033 break
9035 done
9037 rm -f conftest.err conftest.i conftest.$ac_ext
9038 fi # $ac_x_includes = no
9040 if test "$ac_x_libraries" = no; then
9041 # Check for the libraries.
9042 # See if we find them without any special options.
9043 # Don't add to $LIBS permanently.
9044 ac_save_LIBS=$LIBS
9045 LIBS="-lX11 $LIBS"
9046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9047 /* end confdefs.h. */
9048 #include <X11/Xlib.h>
9050 main ()
9052 XrmInitialize ()
9054 return 0;
9056 _ACEOF
9057 if ac_fn_c_try_link "$LINENO"; then :
9058 LIBS=$ac_save_LIBS
9059 # We can link X programs with no special library path.
9060 ac_x_libraries=
9061 else
9062 LIBS=$ac_save_LIBS
9063 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9065 # Don't even attempt the hair of trying to link an X program!
9066 for ac_extension in a so sl dylib la dll; do
9067 if test -r "$ac_dir/libX11.$ac_extension"; then
9068 ac_x_libraries=$ac_dir
9069 break 2
9071 done
9072 done
9074 rm -f core conftest.err conftest.$ac_objext \
9075 conftest$ac_exeext conftest.$ac_ext
9076 fi # $ac_x_libraries = no
9078 case $ac_x_includes,$ac_x_libraries in #(
9079 no,* | *,no | *\'*)
9080 # Didn't find X, or a directory has "'" in its name.
9081 ac_cv_have_x="have_x=no";; #(
9083 # Record where we found X for the cache.
9084 ac_cv_have_x="have_x=yes\
9085 ac_x_includes='$ac_x_includes'\
9086 ac_x_libraries='$ac_x_libraries'"
9087 esac
9089 ;; #(
9090 *) have_x=yes;;
9091 esac
9092 eval "$ac_cv_have_x"
9093 fi # $with_x != no
9095 if test "$have_x" != yes; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9097 $as_echo "$have_x" >&6; }
9098 no_x=yes
9099 else
9100 # If each of the values was on the command line, it overrides each guess.
9101 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9102 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9103 # Update the cache value to reflect the command line values.
9104 ac_cv_have_x="have_x=yes\
9105 ac_x_includes='$x_includes'\
9106 ac_x_libraries='$x_libraries'"
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9108 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9111 if test "$no_x" = yes; then
9112 # Not all programs may use this symbol, but it does not hurt to define it.
9114 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9116 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9117 else
9118 if test -n "$x_includes"; then
9119 X_CFLAGS="$X_CFLAGS -I$x_includes"
9122 # It would also be nice to do this for all -L options, not just this one.
9123 if test -n "$x_libraries"; then
9124 X_LIBS="$X_LIBS -L$x_libraries"
9125 # For Solaris; some versions of Sun CC require a space after -R and
9126 # others require no space. Words are not sufficient . . . .
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9128 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9129 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9130 ac_xsave_c_werror_flag=$ac_c_werror_flag
9131 ac_c_werror_flag=yes
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9136 main ()
9140 return 0;
9142 _ACEOF
9143 if ac_fn_c_try_link "$LINENO"; then :
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9145 $as_echo "no" >&6; }
9146 X_LIBS="$X_LIBS -R$x_libraries"
9147 else
9148 LIBS="$ac_xsave_LIBS -R $x_libraries"
9149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9150 /* end confdefs.h. */
9153 main ()
9157 return 0;
9159 _ACEOF
9160 if ac_fn_c_try_link "$LINENO"; then :
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9162 $as_echo "yes" >&6; }
9163 X_LIBS="$X_LIBS -R $x_libraries"
9164 else
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9166 $as_echo "neither works" >&6; }
9168 rm -f core conftest.err conftest.$ac_objext \
9169 conftest$ac_exeext conftest.$ac_ext
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 ac_c_werror_flag=$ac_xsave_c_werror_flag
9174 LIBS=$ac_xsave_LIBS
9177 # Check for system-dependent libraries X programs must link with.
9178 # Do this before checking for the system-independent R6 libraries
9179 # (-lICE), since we may need -lsocket or whatever for X linking.
9181 if test "$ISC" = yes; then
9182 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9183 else
9184 # Martyn Johnson says this is needed for Ultrix, if the X
9185 # libraries were built with DECnet support. And Karl Berry says
9186 # the Alpha needs dnet_stub (dnet does not exist).
9187 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9189 /* end confdefs.h. */
9191 /* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
9194 #ifdef __cplusplus
9195 extern "C"
9196 #endif
9197 char XOpenDisplay ();
9199 main ()
9201 return XOpenDisplay ();
9203 return 0;
9205 _ACEOF
9206 if ac_fn_c_try_link "$LINENO"; then :
9208 else
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9210 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9211 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9212 $as_echo_n "(cached) " >&6
9213 else
9214 ac_check_lib_save_LIBS=$LIBS
9215 LIBS="-ldnet $LIBS"
9216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9222 #ifdef __cplusplus
9223 extern "C"
9224 #endif
9225 char dnet_ntoa ();
9227 main ()
9229 return dnet_ntoa ();
9231 return 0;
9233 _ACEOF
9234 if ac_fn_c_try_link "$LINENO"; then :
9235 ac_cv_lib_dnet_dnet_ntoa=yes
9236 else
9237 ac_cv_lib_dnet_dnet_ntoa=no
9239 rm -f core conftest.err conftest.$ac_objext \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9244 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9245 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9246 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9249 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9251 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9252 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9253 $as_echo_n "(cached) " >&6
9254 else
9255 ac_check_lib_save_LIBS=$LIBS
9256 LIBS="-ldnet_stub $LIBS"
9257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9258 /* end confdefs.h. */
9260 /* Override any GCC internal prototype to avoid an error.
9261 Use char because int might match the return type of a GCC
9262 builtin and then its argument prototype would still apply. */
9263 #ifdef __cplusplus
9264 extern "C"
9265 #endif
9266 char dnet_ntoa ();
9268 main ()
9270 return dnet_ntoa ();
9272 return 0;
9274 _ACEOF
9275 if ac_fn_c_try_link "$LINENO"; then :
9276 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9277 else
9278 ac_cv_lib_dnet_stub_dnet_ntoa=no
9280 rm -f core conftest.err conftest.$ac_objext \
9281 conftest$ac_exeext conftest.$ac_ext
9282 LIBS=$ac_check_lib_save_LIBS
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9285 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9286 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9287 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 LIBS="$ac_xsave_LIBS"
9296 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9297 # to get the SysV transport functions.
9298 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9299 # needs -lnsl.
9300 # The nsl library prevents programs from opening the X display
9301 # on Irix 5.2, according to T.E. Dickey.
9302 # The functions gethostbyname, getservbyname, and inet_addr are
9303 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9304 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9305 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9309 if test $ac_cv_func_gethostbyname = no; then
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9311 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9312 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9313 $as_echo_n "(cached) " >&6
9314 else
9315 ac_check_lib_save_LIBS=$LIBS
9316 LIBS="-lnsl $LIBS"
9317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9318 /* end confdefs.h. */
9320 /* Override any GCC internal prototype to avoid an error.
9321 Use char because int might match the return type of a GCC
9322 builtin and then its argument prototype would still apply. */
9323 #ifdef __cplusplus
9324 extern "C"
9325 #endif
9326 char gethostbyname ();
9328 main ()
9330 return gethostbyname ();
9332 return 0;
9334 _ACEOF
9335 if ac_fn_c_try_link "$LINENO"; then :
9336 ac_cv_lib_nsl_gethostbyname=yes
9337 else
9338 ac_cv_lib_nsl_gethostbyname=no
9340 rm -f core conftest.err conftest.$ac_objext \
9341 conftest$ac_exeext conftest.$ac_ext
9342 LIBS=$ac_check_lib_save_LIBS
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9345 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9346 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9347 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9350 if test $ac_cv_lib_nsl_gethostbyname = no; then
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9352 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9353 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_check_lib_save_LIBS=$LIBS
9357 LIBS="-lbsd $LIBS"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9361 /* Override any GCC internal prototype to avoid an error.
9362 Use char because int might match the return type of a GCC
9363 builtin and then its argument prototype would still apply. */
9364 #ifdef __cplusplus
9365 extern "C"
9366 #endif
9367 char gethostbyname ();
9369 main ()
9371 return gethostbyname ();
9373 return 0;
9375 _ACEOF
9376 if ac_fn_c_try_link "$LINENO"; then :
9377 ac_cv_lib_bsd_gethostbyname=yes
9378 else
9379 ac_cv_lib_bsd_gethostbyname=no
9381 rm -f core conftest.err conftest.$ac_objext \
9382 conftest$ac_exeext conftest.$ac_ext
9383 LIBS=$ac_check_lib_save_LIBS
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9386 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9387 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9388 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9394 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9395 # socket/setsockopt and other routines are undefined under SCO ODT
9396 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9397 # on later versions), says Simon Leinen: it contains gethostby*
9398 # variants that don't use the name server (or something). -lsocket
9399 # must be given before -lnsl if both are needed. We assume that
9400 # if connect needs -lnsl, so does gethostbyname.
9401 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9402 if test "x$ac_cv_func_connect" = xyes; then :
9406 if test $ac_cv_func_connect = no; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9408 $as_echo_n "checking for connect in -lsocket... " >&6; }
9409 if ${ac_cv_lib_socket_connect+:} false; then :
9410 $as_echo_n "(cached) " >&6
9411 else
9412 ac_check_lib_save_LIBS=$LIBS
9413 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9415 /* end confdefs.h. */
9417 /* Override any GCC internal prototype to avoid an error.
9418 Use char because int might match the return type of a GCC
9419 builtin and then its argument prototype would still apply. */
9420 #ifdef __cplusplus
9421 extern "C"
9422 #endif
9423 char connect ();
9425 main ()
9427 return connect ();
9429 return 0;
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_lib_socket_connect=yes
9434 else
9435 ac_cv_lib_socket_connect=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 LIBS=$ac_check_lib_save_LIBS
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9442 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9443 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9444 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9449 # Guillermo Gomez says -lposix is necessary on A/UX.
9450 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9451 if test "x$ac_cv_func_remove" = xyes; then :
9455 if test $ac_cv_func_remove = no; then
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9457 $as_echo_n "checking for remove in -lposix... " >&6; }
9458 if ${ac_cv_lib_posix_remove+:} false; then :
9459 $as_echo_n "(cached) " >&6
9460 else
9461 ac_check_lib_save_LIBS=$LIBS
9462 LIBS="-lposix $LIBS"
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9466 /* Override any GCC internal prototype to avoid an error.
9467 Use char because int might match the return type of a GCC
9468 builtin and then its argument prototype would still apply. */
9469 #ifdef __cplusplus
9470 extern "C"
9471 #endif
9472 char remove ();
9474 main ()
9476 return remove ();
9478 return 0;
9480 _ACEOF
9481 if ac_fn_c_try_link "$LINENO"; then :
9482 ac_cv_lib_posix_remove=yes
9483 else
9484 ac_cv_lib_posix_remove=no
9486 rm -f core conftest.err conftest.$ac_objext \
9487 conftest$ac_exeext conftest.$ac_ext
9488 LIBS=$ac_check_lib_save_LIBS
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9491 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9492 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9493 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9498 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9499 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9500 if test "x$ac_cv_func_shmat" = xyes; then :
9504 if test $ac_cv_func_shmat = no; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9506 $as_echo_n "checking for shmat in -lipc... " >&6; }
9507 if ${ac_cv_lib_ipc_shmat+:} false; then :
9508 $as_echo_n "(cached) " >&6
9509 else
9510 ac_check_lib_save_LIBS=$LIBS
9511 LIBS="-lipc $LIBS"
9512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9518 #ifdef __cplusplus
9519 extern "C"
9520 #endif
9521 char shmat ();
9523 main ()
9525 return shmat ();
9527 return 0;
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"; then :
9531 ac_cv_lib_ipc_shmat=yes
9532 else
9533 ac_cv_lib_ipc_shmat=no
9535 rm -f core conftest.err conftest.$ac_objext \
9536 conftest$ac_exeext conftest.$ac_ext
9537 LIBS=$ac_check_lib_save_LIBS
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9540 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9541 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9542 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9548 # Check for libraries that X11R6 Xt/Xaw programs need.
9549 ac_save_LDFLAGS=$LDFLAGS
9550 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9551 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9552 # check for ICE first), but we must link in the order -lSM -lICE or
9553 # we get undefined symbols. So assume we have SM if we have ICE.
9554 # These have to be linked with before -lX11, unlike the other
9555 # libraries we check for below, so use a different variable.
9556 # John Interrante, Karl Berry
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9558 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9559 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9560 $as_echo_n "(cached) " >&6
9561 else
9562 ac_check_lib_save_LIBS=$LIBS
9563 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9570 #ifdef __cplusplus
9571 extern "C"
9572 #endif
9573 char IceConnectionNumber ();
9575 main ()
9577 return IceConnectionNumber ();
9579 return 0;
9581 _ACEOF
9582 if ac_fn_c_try_link "$LINENO"; then :
9583 ac_cv_lib_ICE_IceConnectionNumber=yes
9584 else
9585 ac_cv_lib_ICE_IceConnectionNumber=no
9587 rm -f core conftest.err conftest.$ac_objext \
9588 conftest$ac_exeext conftest.$ac_ext
9589 LIBS=$ac_check_lib_save_LIBS
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9592 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9593 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9594 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9597 LDFLAGS=$ac_save_LDFLAGS
9602 if test "$have_x" = "yes"
9603 then
9604 ac_save_CPPFLAGS="$CPPFLAGS"
9605 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9608 $as_echo_n "checking for -lX11... " >&6; }
9609 if ${ac_cv_lib_soname_X11+:} false; then :
9610 $as_echo_n "(cached) " >&6
9611 else
9612 ac_check_soname_save_LIBS=$LIBS
9613 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9615 /* end confdefs.h. */
9617 /* Override any GCC internal prototype to avoid an error.
9618 Use char because int might match the return type of a GCC
9619 builtin and then its argument prototype would still apply. */
9620 #ifdef __cplusplus
9621 extern "C"
9622 #endif
9623 char XCreateWindow ();
9625 main ()
9627 return XCreateWindow ();
9629 return 0;
9631 _ACEOF
9632 if ac_fn_c_try_link "$LINENO"; then :
9633 case "$LIBEXT" in
9634 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9635 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'` ;;
9636 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9637 if ${ac_cv_lib_soname_X11:+false} :; then :
9638 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9639 fi ;;
9640 esac
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 LIBS=$ac_check_soname_save_LIBS
9646 if ${ac_cv_lib_soname_X11:+false} :; then :
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9648 $as_echo "not found" >&6; }
9650 else
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9652 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9654 cat >>confdefs.h <<_ACEOF
9655 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9656 _ACEOF
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9661 $as_echo_n "checking for -lXext... " >&6; }
9662 if ${ac_cv_lib_soname_Xext+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 ac_check_soname_save_LIBS=$LIBS
9666 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9673 #ifdef __cplusplus
9674 extern "C"
9675 #endif
9676 char XextCreateExtension ();
9678 main ()
9680 return XextCreateExtension ();
9682 return 0;
9684 _ACEOF
9685 if ac_fn_c_try_link "$LINENO"; then :
9686 case "$LIBEXT" in
9687 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9688 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'` ;;
9689 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9690 if ${ac_cv_lib_soname_Xext:+false} :; then :
9691 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9692 fi ;;
9693 esac
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_soname_save_LIBS
9699 if ${ac_cv_lib_soname_Xext:+false} :; then :
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9701 $as_echo "not found" >&6; }
9703 else
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9705 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9707 cat >>confdefs.h <<_ACEOF
9708 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9709 _ACEOF
9711 X_LIBS="$X_LIBS -lXext"
9713 X_LIBS="$X_LIBS -lX11"
9715 for ac_header in X11/Xlib.h \
9716 X11/XKBlib.h \
9717 X11/Xutil.h \
9718 X11/Xcursor/Xcursor.h \
9719 X11/extensions/shape.h \
9720 X11/extensions/XInput.h \
9721 X11/extensions/XInput2.h \
9722 X11/extensions/XShm.h \
9723 X11/extensions/Xcomposite.h \
9724 X11/extensions/Xinerama.h \
9725 X11/extensions/Xrandr.h \
9726 X11/extensions/Xrender.h \
9727 X11/extensions/xf86vmode.h \
9728 X11/extensions/xf86vmproto.h
9729 do :
9730 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9731 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9732 # include <X11/Xlib.h>
9733 #endif
9734 #ifdef HAVE_X11_XUTIL_H
9735 # include <X11/Xutil.h>
9736 #endif
9738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9739 cat >>confdefs.h <<_ACEOF
9740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9741 _ACEOF
9745 done
9748 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9749 then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9751 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9752 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9753 $as_echo_n "(cached) " >&6
9754 else
9755 ac_check_lib_save_LIBS=$LIBS
9756 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9760 /* Override any GCC internal prototype to avoid an error.
9761 Use char because int might match the return type of a GCC
9762 builtin and then its argument prototype would still apply. */
9763 #ifdef __cplusplus
9764 extern "C"
9765 #endif
9766 char XkbQueryExtension ();
9768 main ()
9770 return XkbQueryExtension ();
9772 return 0;
9774 _ACEOF
9775 if ac_fn_c_try_link "$LINENO"; then :
9776 ac_cv_lib_X11_XkbQueryExtension=yes
9777 else
9778 ac_cv_lib_X11_XkbQueryExtension=no
9780 rm -f core conftest.err conftest.$ac_objext \
9781 conftest$ac_exeext conftest.$ac_ext
9782 LIBS=$ac_check_lib_save_LIBS
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9785 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9786 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9788 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9794 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9795 then
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9797 $as_echo_n "checking for -lXcursor... " >&6; }
9798 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 ac_check_soname_save_LIBS=$LIBS
9802 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9809 #ifdef __cplusplus
9810 extern "C"
9811 #endif
9812 char XcursorImageLoadCursor ();
9814 main ()
9816 return XcursorImageLoadCursor ();
9818 return 0;
9820 _ACEOF
9821 if ac_fn_c_try_link "$LINENO"; then :
9822 case "$LIBEXT" in
9823 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9824 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'` ;;
9825 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9826 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9827 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9828 fi ;;
9829 esac
9831 rm -f core conftest.err conftest.$ac_objext \
9832 conftest$ac_exeext conftest.$ac_ext
9833 LIBS=$ac_check_soname_save_LIBS
9835 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9837 $as_echo "not found" >&6; }
9839 else
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9841 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9843 cat >>confdefs.h <<_ACEOF
9844 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9845 _ACEOF
9850 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9851 case "x$with_xcursor" in
9852 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9853 xno) ;;
9854 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9855 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9856 esac
9859 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9860 then
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9862 $as_echo_n "checking for -lXi... " >&6; }
9863 if ${ac_cv_lib_soname_Xi+:} false; then :
9864 $as_echo_n "(cached) " >&6
9865 else
9866 ac_check_soname_save_LIBS=$LIBS
9867 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9871 /* Override any GCC internal prototype to avoid an error.
9872 Use char because int might match the return type of a GCC
9873 builtin and then its argument prototype would still apply. */
9874 #ifdef __cplusplus
9875 extern "C"
9876 #endif
9877 char XOpenDevice ();
9879 main ()
9881 return XOpenDevice ();
9883 return 0;
9885 _ACEOF
9886 if ac_fn_c_try_link "$LINENO"; then :
9887 case "$LIBEXT" in
9888 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9889 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'` ;;
9890 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9891 if ${ac_cv_lib_soname_Xi:+false} :; then :
9892 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9893 fi ;;
9894 esac
9896 rm -f core conftest.err conftest.$ac_objext \
9897 conftest$ac_exeext conftest.$ac_ext
9898 LIBS=$ac_check_soname_save_LIBS
9900 if ${ac_cv_lib_soname_Xi:+false} :; then :
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9902 $as_echo "not found" >&6; }
9904 else
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9906 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9908 cat >>confdefs.h <<_ACEOF
9909 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9910 _ACEOF
9915 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9916 case "x$with_xinput" in
9917 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9918 xno) ;;
9919 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9920 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9921 esac
9924 if test "x$ac_cv_lib_soname_Xi" != x
9925 then
9926 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9927 case "x$with_xinput2" in
9928 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9929 xno) ;;
9930 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9931 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9932 esac
9936 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9937 then
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9939 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9940 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9941 $as_echo_n "(cached) " >&6
9942 else
9943 ac_check_lib_save_LIBS=$LIBS
9944 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9948 /* Override any GCC internal prototype to avoid an error.
9949 Use char because int might match the return type of a GCC
9950 builtin and then its argument prototype would still apply. */
9951 #ifdef __cplusplus
9952 extern "C"
9953 #endif
9954 char XShmQueryExtension ();
9956 main ()
9958 return XShmQueryExtension ();
9960 return 0;
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 ac_cv_lib_Xext_XShmQueryExtension=yes
9965 else
9966 ac_cv_lib_Xext_XShmQueryExtension=no
9968 rm -f core conftest.err conftest.$ac_objext \
9969 conftest$ac_exeext conftest.$ac_ext
9970 LIBS=$ac_check_lib_save_LIBS
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9973 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9974 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
9976 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
9981 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
9982 case "x$with_xshm" in
9983 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
9984 xno) ;;
9985 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
9986 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
9987 esac
9990 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9991 then
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
9993 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9994 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
9995 $as_echo_n "(cached) " >&6
9996 else
9997 ac_check_lib_save_LIBS=$LIBS
9998 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10005 #ifdef __cplusplus
10006 extern "C"
10007 #endif
10008 char XShapeQueryExtension ();
10010 main ()
10012 return XShapeQueryExtension ();
10014 return 0;
10016 _ACEOF
10017 if ac_fn_c_try_link "$LINENO"; then :
10018 ac_cv_lib_Xext_XShapeQueryExtension=yes
10019 else
10020 ac_cv_lib_Xext_XShapeQueryExtension=no
10022 rm -f core conftest.err conftest.$ac_objext \
10023 conftest$ac_exeext conftest.$ac_ext
10024 LIBS=$ac_check_lib_save_LIBS
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10027 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10028 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10030 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10035 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10036 case "x$with_xshape" in
10037 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10038 xno) ;;
10039 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10040 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10041 esac
10044 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10045 then
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10047 $as_echo_n "checking for -lXxf86vm... " >&6; }
10048 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10049 $as_echo_n "(cached) " >&6
10050 else
10051 ac_check_soname_save_LIBS=$LIBS
10052 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10054 /* end confdefs.h. */
10056 /* Override any GCC internal prototype to avoid an error.
10057 Use char because int might match the return type of a GCC
10058 builtin and then its argument prototype would still apply. */
10059 #ifdef __cplusplus
10060 extern "C"
10061 #endif
10062 char XF86VidModeQueryExtension ();
10064 main ()
10066 return XF86VidModeQueryExtension ();
10068 return 0;
10070 _ACEOF
10071 if ac_fn_c_try_link "$LINENO"; then :
10072 case "$LIBEXT" in
10073 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10074 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'` ;;
10075 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10076 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10077 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10078 fi ;;
10079 esac
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_soname_save_LIBS
10085 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10087 $as_echo "not found" >&6; }
10089 else
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10091 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10093 cat >>confdefs.h <<_ACEOF
10094 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10095 _ACEOF
10100 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10101 case "x$with_xxf86vm" in
10102 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10103 xno) ;;
10104 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10105 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10106 esac
10109 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10110 then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10112 $as_echo_n "checking for -lXrender... " >&6; }
10113 if ${ac_cv_lib_soname_Xrender+:} false; then :
10114 $as_echo_n "(cached) " >&6
10115 else
10116 ac_check_soname_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 XRenderQueryExtension ();
10129 main ()
10131 return XRenderQueryExtension ();
10133 return 0;
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"; then :
10137 case "$LIBEXT" in
10138 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10139 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'` ;;
10140 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10141 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10142 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 fi ;;
10144 esac
10146 rm -f core conftest.err conftest.$ac_objext \
10147 conftest$ac_exeext conftest.$ac_ext
10148 LIBS=$ac_check_soname_save_LIBS
10150 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10152 $as_echo "not found" >&6; }
10154 else
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10156 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10158 cat >>confdefs.h <<_ACEOF
10159 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10160 _ACEOF
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10163 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10164 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10165 $as_echo_n "(cached) " >&6
10166 else
10167 ac_check_lib_save_LIBS=$LIBS
10168 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10172 /* Override any GCC internal prototype to avoid an error.
10173 Use char because int might match the return type of a GCC
10174 builtin and then its argument prototype would still apply. */
10175 #ifdef __cplusplus
10176 extern "C"
10177 #endif
10178 char XRenderSetPictureTransform ();
10180 main ()
10182 return XRenderSetPictureTransform ();
10184 return 0;
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10189 else
10190 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 LIBS=$ac_check_lib_save_LIBS
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10197 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10198 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10200 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10205 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10206 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 ac_check_lib_save_LIBS=$LIBS
10210 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10212 /* end confdefs.h. */
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10217 #ifdef __cplusplus
10218 extern "C"
10219 #endif
10220 char XRenderCreateLinearGradient ();
10222 main ()
10224 return XRenderCreateLinearGradient ();
10226 return 0;
10228 _ACEOF
10229 if ac_fn_c_try_link "$LINENO"; then :
10230 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10231 else
10232 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 LIBS=$ac_check_lib_save_LIBS
10238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10239 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10240 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10242 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10249 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10250 case "x$with_xrender" in
10251 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10252 xno) ;;
10253 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10254 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10255 esac
10258 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10259 then
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10262 #include <X11/Xlib.h>
10263 #include <X11/extensions/Xrandr.h>
10265 main ()
10267 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10269 return 0;
10271 _ACEOF
10272 if ac_fn_c_try_compile "$LINENO"; then :
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10274 $as_echo_n "checking for -lXrandr... " >&6; }
10275 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10276 $as_echo_n "(cached) " >&6
10277 else
10278 ac_check_soname_save_LIBS=$LIBS
10279 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10283 /* Override any GCC internal prototype to avoid an error.
10284 Use char because int might match the return type of a GCC
10285 builtin and then its argument prototype would still apply. */
10286 #ifdef __cplusplus
10287 extern "C"
10288 #endif
10289 char XRRQueryExtension ();
10291 main ()
10293 return XRRQueryExtension ();
10295 return 0;
10297 _ACEOF
10298 if ac_fn_c_try_link "$LINENO"; then :
10299 case "$LIBEXT" in
10300 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10301 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'` ;;
10302 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10303 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10304 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10305 fi ;;
10306 esac
10308 rm -f core conftest.err conftest.$ac_objext \
10309 conftest$ac_exeext conftest.$ac_ext
10310 LIBS=$ac_check_soname_save_LIBS
10312 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10314 $as_echo "not found" >&6; }
10316 else
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10318 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10320 cat >>confdefs.h <<_ACEOF
10321 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10322 _ACEOF
10324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 #include <X11/Xlib.h>
10327 #include <X11/extensions/Xrandr.h>
10329 main ()
10331 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10333 return 0;
10335 _ACEOF
10336 if ac_fn_c_try_compile "$LINENO"; then :
10338 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10346 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10347 case "x$with_xrandr" in
10348 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10349 xno) ;;
10350 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10351 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10352 esac
10355 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10356 then
10357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10358 /* end confdefs.h. */
10359 #include <X11/Xlib.h>
10360 #include <X11/extensions/Xinerama.h>
10362 main ()
10364 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10366 return 0;
10368 _ACEOF
10369 if ac_fn_c_try_compile "$LINENO"; then :
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10371 $as_echo_n "checking for -lXinerama... " >&6; }
10372 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10373 $as_echo_n "(cached) " >&6
10374 else
10375 ac_check_soname_save_LIBS=$LIBS
10376 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10380 /* Override any GCC internal prototype to avoid an error.
10381 Use char because int might match the return type of a GCC
10382 builtin and then its argument prototype would still apply. */
10383 #ifdef __cplusplus
10384 extern "C"
10385 #endif
10386 char XineramaQueryScreens ();
10388 main ()
10390 return XineramaQueryScreens ();
10392 return 0;
10394 _ACEOF
10395 if ac_fn_c_try_link "$LINENO"; then :
10396 case "$LIBEXT" in
10397 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10398 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'` ;;
10399 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10400 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10401 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10402 fi ;;
10403 esac
10405 rm -f core conftest.err conftest.$ac_objext \
10406 conftest$ac_exeext conftest.$ac_ext
10407 LIBS=$ac_check_soname_save_LIBS
10409 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10411 $as_echo "not found" >&6; }
10413 else
10414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10415 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10417 cat >>confdefs.h <<_ACEOF
10418 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10419 _ACEOF
10424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10426 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10427 case "x$with_xinerama" in
10428 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10429 xno) ;;
10430 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10431 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10432 esac
10435 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10436 then
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10438 $as_echo_n "checking for -lXcomposite... " >&6; }
10439 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10440 $as_echo_n "(cached) " >&6
10441 else
10442 ac_check_soname_save_LIBS=$LIBS
10443 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10450 #ifdef __cplusplus
10451 extern "C"
10452 #endif
10453 char XCompositeRedirectWindow ();
10455 main ()
10457 return XCompositeRedirectWindow ();
10459 return 0;
10461 _ACEOF
10462 if ac_fn_c_try_link "$LINENO"; then :
10463 case "$LIBEXT" in
10464 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10465 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'` ;;
10466 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10467 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10468 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10469 fi ;;
10470 esac
10472 rm -f core conftest.err conftest.$ac_objext \
10473 conftest$ac_exeext conftest.$ac_ext
10474 LIBS=$ac_check_soname_save_LIBS
10476 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10478 $as_echo "not found" >&6; }
10480 else
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10482 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10484 cat >>confdefs.h <<_ACEOF
10485 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10486 _ACEOF
10491 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10492 case "x$with_xcomposite" in
10493 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10494 xno) ;;
10495 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10496 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10497 esac
10500 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10501 #include <X11/Xlib.h>
10502 #endif
10504 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10506 cat >>confdefs.h <<_ACEOF
10507 #define HAVE_XICCALLBACK_CALLBACK 1
10508 _ACEOF
10512 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10513 #include <X11/Xlib.h>
10514 #endif
10516 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10518 cat >>confdefs.h <<_ACEOF
10519 #define HAVE_XEVENT_XCOOKIE 1
10520 _ACEOF
10527 opengl_msg=""
10528 if test "x$with_opengl" != "xno"
10529 then
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10531 $as_echo_n "checking for -lGL... " >&6; }
10532 if ${ac_cv_lib_soname_GL+:} false; then :
10533 $as_echo_n "(cached) " >&6
10534 else
10535 ac_check_soname_save_LIBS=$LIBS
10536 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10540 /* Override any GCC internal prototype to avoid an error.
10541 Use char because int might match the return type of a GCC
10542 builtin and then its argument prototype would still apply. */
10543 #ifdef __cplusplus
10544 extern "C"
10545 #endif
10546 char glXCreateContext ();
10548 main ()
10550 return glXCreateContext ();
10552 return 0;
10554 _ACEOF
10555 if ac_fn_c_try_link "$LINENO"; then :
10556 case "$LIBEXT" in
10557 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10558 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'` ;;
10559 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10560 if ${ac_cv_lib_soname_GL:+false} :; then :
10561 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10562 fi ;;
10563 esac
10565 rm -f core conftest.err conftest.$ac_objext \
10566 conftest$ac_exeext conftest.$ac_ext
10567 LIBS=$ac_check_soname_save_LIBS
10569 if ${ac_cv_lib_soname_GL:+false} :; then :
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10571 $as_echo "not found" >&6; }
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10573 $as_echo_n "checking for -lGL... " >&6; }
10574 if ${ac_cv_lib_soname_GL+:} false; then :
10575 $as_echo_n "(cached) " >&6
10576 else
10577 ac_check_soname_save_LIBS=$LIBS
10578 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"
10579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10580 /* end confdefs.h. */
10582 /* Override any GCC internal prototype to avoid an error.
10583 Use char because int might match the return type of a GCC
10584 builtin and then its argument prototype would still apply. */
10585 #ifdef __cplusplus
10586 extern "C"
10587 #endif
10588 char glXCreateContext ();
10590 main ()
10592 return glXCreateContext ();
10594 return 0;
10596 _ACEOF
10597 if ac_fn_c_try_link "$LINENO"; then :
10598 case "$LIBEXT" in
10599 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10600 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'` ;;
10601 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10602 if ${ac_cv_lib_soname_GL:+false} :; then :
10603 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10604 fi ;;
10605 esac
10607 rm -f core conftest.err conftest.$ac_objext \
10608 conftest$ac_exeext conftest.$ac_ext
10609 LIBS=$ac_check_soname_save_LIBS
10611 if ${ac_cv_lib_soname_GL:+false} :; then :
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10613 $as_echo "not found" >&6; }
10614 if test -f /usr/X11R6/lib/libGL.a
10615 then
10616 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10617 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10618 else
10619 opengl_msg="No OpenGL library found on this system."
10621 else
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10623 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10625 cat >>confdefs.h <<_ACEOF
10626 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10627 _ACEOF
10629 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"
10631 else
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10633 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10635 cat >>confdefs.h <<_ACEOF
10636 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10637 _ACEOF
10639 OPENGL_LIBS="-lGL"
10641 if test "x$with_glu" != "xno"
10642 then
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
10644 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
10645 if ${ac_cv_lib_GLU_gluLookAt+:} false; then :
10646 $as_echo_n "(cached) " >&6
10647 else
10648 ac_check_lib_save_LIBS=$LIBS
10649 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10656 #ifdef __cplusplus
10657 extern "C"
10658 #endif
10659 char gluLookAt ();
10661 main ()
10663 return gluLookAt ();
10665 return 0;
10667 _ACEOF
10668 if ac_fn_c_try_link "$LINENO"; then :
10669 ac_cv_lib_GLU_gluLookAt=yes
10670 else
10671 ac_cv_lib_GLU_gluLookAt=no
10673 rm -f core conftest.err conftest.$ac_objext \
10674 conftest$ac_exeext conftest.$ac_ext
10675 LIBS=$ac_check_lib_save_LIBS
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
10678 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
10679 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes; then :
10683 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes; then :
10684 case "x$with_glu" in
10685 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10686 xno) ;;
10687 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10688 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10689 esac
10693 if test "x$with_osmesa" != "xno"
10694 then
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10696 $as_echo_n "checking for -lOSMesa... " >&6; }
10697 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10698 $as_echo_n "(cached) " >&6
10699 else
10700 ac_check_soname_save_LIBS=$LIBS
10701 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10705 /* Override any GCC internal prototype to avoid an error.
10706 Use char because int might match the return type of a GCC
10707 builtin and then its argument prototype would still apply. */
10708 #ifdef __cplusplus
10709 extern "C"
10710 #endif
10711 char glAccum ();
10713 main ()
10715 return glAccum ();
10717 return 0;
10719 _ACEOF
10720 if ac_fn_c_try_link "$LINENO"; then :
10721 case "$LIBEXT" in
10722 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10723 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'` ;;
10724 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10725 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10726 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10727 fi ;;
10728 esac
10730 rm -f core conftest.err conftest.$ac_objext \
10731 conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_soname_save_LIBS
10734 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10736 $as_echo "not found" >&6; }
10738 else
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10740 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10742 cat >>confdefs.h <<_ACEOF
10743 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10744 _ACEOF
10748 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10749 case "x$with_osmesa" in
10750 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10751 xno) ;;
10752 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10753 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10754 esac
10758 if test -n "$opengl_msg"; then :
10759 case "x$with_opengl" in
10760 x) as_fn_append wine_warnings "|$opengl_msg
10761 OpenGL and Direct3D won't be supported." ;;
10762 xno) ;;
10763 *) as_fn_error $? "$opengl_msg
10764 OpenGL and Direct3D won't be supported.
10765 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10766 esac
10769 CPPFLAGS="$ac_save_CPPFLAGS"
10770 else
10771 X_CFLAGS=""
10772 X_LIBS=""
10773 enable_winex11_drv=${enable_winex11_drv:-no}
10775 if test "x$X_LIBS" = "x"; then :
10776 case "x$with_x" in
10777 xno) ;;
10778 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10779 without X support, which probably isn't what you want. You will need
10780 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
10781 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10782 esac
10785 test "x$ac_cv_lib_GLU_gluLookAt" != xyes && enable_glu32=${enable_glu32:-no}
10787 if test "$ac_cv_header_CL_cl_h" = "yes"
10788 then
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10790 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10791 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10792 $as_echo_n "(cached) " >&6
10793 else
10794 ac_check_lib_save_LIBS=$LIBS
10795 LIBS="-lOpenCL $LIBS"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 char clGetPlatformInfo ();
10807 main ()
10809 return clGetPlatformInfo ();
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10816 else
10817 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10821 LIBS=$ac_check_lib_save_LIBS
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10824 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10825 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10826 OPENCL_LIBS="-lOpenCL"
10831 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10832 case "x$with_opencl" in
10833 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
10834 xno) ;;
10835 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
10836 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
10837 esac
10839 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes && enable_opencl=${enable_opencl:-no}
10841 if test "$ac_cv_header_pcap_pcap_h" = "yes"
10842 then
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
10844 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
10845 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
10846 $as_echo_n "(cached) " >&6
10847 else
10848 ac_check_lib_save_LIBS=$LIBS
10849 LIBS="-lpcap $LIBS"
10850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10851 /* end confdefs.h. */
10853 /* Override any GCC internal prototype to avoid an error.
10854 Use char because int might match the return type of a GCC
10855 builtin and then its argument prototype would still apply. */
10856 #ifdef __cplusplus
10857 extern "C"
10858 #endif
10859 char pcap_create ();
10861 main ()
10863 return pcap_create ();
10865 return 0;
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"; then :
10869 ac_cv_lib_pcap_pcap_create=yes
10870 else
10871 ac_cv_lib_pcap_pcap_create=no
10873 rm -f core conftest.err conftest.$ac_objext \
10874 conftest$ac_exeext conftest.$ac_ext
10875 LIBS=$ac_check_lib_save_LIBS
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
10878 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
10879 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
10880 PCAP_LIBS="-lpcap"
10885 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
10886 case "x$with_pcap" in
10887 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
10888 xno) ;;
10889 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
10890 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
10891 esac
10893 test "x$ac_cv_lib_pcap_pcap_create" != xyes && enable_wpcap=${enable_wpcap:-no}
10896 if test "x$with_xml" != "xno"
10897 then
10898 if ${XML2_CFLAGS:+false} :; then :
10899 if ${PKG_CONFIG+:} false; then :
10900 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
10903 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
10904 if ${XML2_LIBS:+false} :; then :
10905 if ${PKG_CONFIG+:} false; then :
10906 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
10909 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
10910 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
10911 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
10912 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
10913 ac_save_CPPFLAGS=$CPPFLAGS
10914 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
10915 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
10916 do :
10917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10918 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
10919 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
10920 cat >>confdefs.h <<_ACEOF
10921 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10922 _ACEOF
10926 done
10928 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"
10929 then
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
10931 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
10932 if ${ac_cv_lib_xml2_xmlParseMemory+:} 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 xmlParseMemory ();
10948 main ()
10950 return xmlParseMemory ();
10952 return 0;
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"; then :
10956 ac_cv_lib_xml2_xmlParseMemory=yes
10957 else
10958 ac_cv_lib_xml2_xmlParseMemory=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_xmlParseMemory" >&5
10965 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10966 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
10968 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
10970 else
10971 XML2_LIBS=""
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
10975 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
10976 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
10977 $as_echo_n "(cached) " >&6
10978 else
10979 ac_check_lib_save_LIBS=$LIBS
10980 LIBS="-lxml2 $XML2_LIBS $LIBS"
10981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10982 /* end confdefs.h. */
10984 /* Override any GCC internal prototype to avoid an error.
10985 Use char because int might match the return type of a GCC
10986 builtin and then its argument prototype would still apply. */
10987 #ifdef __cplusplus
10988 extern "C"
10989 #endif
10990 char xmlReadMemory ();
10992 main ()
10994 return xmlReadMemory ();
10996 return 0;
10998 _ACEOF
10999 if ac_fn_c_try_link "$LINENO"; then :
11000 ac_cv_lib_xml2_xmlReadMemory=yes
11001 else
11002 ac_cv_lib_xml2_xmlReadMemory=no
11004 rm -f core conftest.err conftest.$ac_objext \
11005 conftest$ac_exeext conftest.$ac_ext
11006 LIBS=$ac_check_lib_save_LIBS
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11009 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11010 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11012 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11017 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11018 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11019 $as_echo_n "(cached) " >&6
11020 else
11021 ac_check_lib_save_LIBS=$LIBS
11022 LIBS="-lxml2 $XML2_LIBS $LIBS"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11029 #ifdef __cplusplus
11030 extern "C"
11031 #endif
11032 char xmlNewDocPI ();
11034 main ()
11036 return xmlNewDocPI ();
11038 return 0;
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 ac_cv_lib_xml2_xmlNewDocPI=yes
11043 else
11044 ac_cv_lib_xml2_xmlNewDocPI=no
11046 rm -f core conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11051 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11052 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11054 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11059 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11060 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lxml2 $XML2_LIBS $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char xmlSchemaSetParserStructuredErrors ();
11076 main ()
11078 return xmlSchemaSetParserStructuredErrors ();
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11085 else
11086 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11093 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11094 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11096 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11101 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11102 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11103 $as_echo_n "(cached) " >&6
11104 else
11105 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-lxml2 $XML2_LIBS $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char xmlSchemaSetValidStructuredErrors ();
11118 main ()
11120 return xmlSchemaSetValidStructuredErrors ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11127 else
11128 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11130 rm -f core conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11135 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11136 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11138 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11143 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11144 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11145 $as_echo_n "(cached) " >&6
11146 else
11147 ac_check_lib_save_LIBS=$LIBS
11148 LIBS="-lxml2 $XML2_LIBS $LIBS"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11152 /* Override any GCC internal prototype to avoid an error.
11153 Use char because int might match the return type of a GCC
11154 builtin and then its argument prototype would still apply. */
11155 #ifdef __cplusplus
11156 extern "C"
11157 #endif
11158 char xmlFirstElementChild ();
11160 main ()
11162 return xmlFirstElementChild ();
11164 return 0;
11166 _ACEOF
11167 if ac_fn_c_try_link "$LINENO"; then :
11168 ac_cv_lib_xml2_xmlFirstElementChild=yes
11169 else
11170 ac_cv_lib_xml2_xmlFirstElementChild=no
11172 rm -f core conftest.err conftest.$ac_objext \
11173 conftest$ac_exeext conftest.$ac_ext
11174 LIBS=$ac_check_lib_save_LIBS
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11177 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11178 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11180 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11184 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11186 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11188 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11192 else
11193 XML2_CFLAGS=""
11194 XML2_LIBS=""
11196 CPPFLAGS=$ac_save_CPPFLAGS
11197 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11198 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11201 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11202 case "x$with_xml" in
11203 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11204 xno) ;;
11205 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11206 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11207 esac
11210 if test "x$with_xslt" != "xno"
11211 then
11212 if ${XSLT_CFLAGS:+false} :; then :
11213 if ${PKG_CONFIG+:} false; then :
11214 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11217 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11218 if ${XSLT_LIBS:+false} :; then :
11219 if ${PKG_CONFIG+:} false; then :
11220 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11223 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11224 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11225 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11226 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11227 ac_save_CPPFLAGS=$CPPFLAGS
11228 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11229 for ac_header in libxslt/pattern.h libxslt/transform.h
11230 do :
11231 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11232 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11233 # include <libxslt/pattern.h>
11234 #endif
11236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11237 cat >>confdefs.h <<_ACEOF
11238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11239 _ACEOF
11243 done
11245 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11246 then
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11248 $as_echo_n "checking for -lxslt... " >&6; }
11249 if ${ac_cv_lib_soname_xslt+:} false; then :
11250 $as_echo_n "(cached) " >&6
11251 else
11252 ac_check_soname_save_LIBS=$LIBS
11253 LIBS="-lxslt $XSLT_LIBS $LIBS"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11260 #ifdef __cplusplus
11261 extern "C"
11262 #endif
11263 char xsltCompilePattern ();
11265 main ()
11267 return xsltCompilePattern ();
11269 return 0;
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"; then :
11273 case "$LIBEXT" in
11274 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11275 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'` ;;
11276 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11277 if ${ac_cv_lib_soname_xslt:+false} :; then :
11278 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11279 fi ;;
11280 esac
11282 rm -f core conftest.err conftest.$ac_objext \
11283 conftest$ac_exeext conftest.$ac_ext
11284 LIBS=$ac_check_soname_save_LIBS
11286 if ${ac_cv_lib_soname_xslt:+false} :; then :
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11288 $as_echo "not found" >&6; }
11290 else
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11292 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11294 cat >>confdefs.h <<_ACEOF
11295 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11296 _ACEOF
11300 else
11301 XSLT_CFLAGS=""
11303 CPPFLAGS=$ac_save_CPPFLAGS
11304 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11305 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11308 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11309 case "x$with_xslt" in
11310 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11311 xno) ;;
11312 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11313 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11314 esac
11317 if test "x$with_dbus" != "xno"
11318 then
11319 if ${DBUS_CFLAGS:+false} :; then :
11320 if ${PKG_CONFIG+:} false; then :
11321 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11325 if ${DBUS_LIBS:+false} :; then :
11326 if ${PKG_CONFIG+:} false; then :
11327 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11332 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11333 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11334 ac_save_CPPFLAGS=$CPPFLAGS
11335 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11336 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11337 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11339 $as_echo_n "checking for -ldbus-1... " >&6; }
11340 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11341 $as_echo_n "(cached) " >&6
11342 else
11343 ac_check_soname_save_LIBS=$LIBS
11344 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h. */
11348 /* Override any GCC internal prototype to avoid an error.
11349 Use char because int might match the return type of a GCC
11350 builtin and then its argument prototype would still apply. */
11351 #ifdef __cplusplus
11352 extern "C"
11353 #endif
11354 char dbus_connection_close ();
11356 main ()
11358 return dbus_connection_close ();
11360 return 0;
11362 _ACEOF
11363 if ac_fn_c_try_link "$LINENO"; then :
11364 case "$LIBEXT" in
11365 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11366 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'` ;;
11367 *) 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'`
11368 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11369 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11370 fi ;;
11371 esac
11373 rm -f core conftest.err conftest.$ac_objext \
11374 conftest$ac_exeext conftest.$ac_ext
11375 LIBS=$ac_check_soname_save_LIBS
11377 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11379 $as_echo "not found" >&6; }
11380 DBUS_CFLAGS=""
11381 else
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11383 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11385 cat >>confdefs.h <<_ACEOF
11386 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11387 _ACEOF
11391 else
11392 DBUS_CFLAGS=""
11396 CPPFLAGS=$ac_save_CPPFLAGS
11397 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11398 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11401 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11402 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11403 case "x$with_dbus" in
11404 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11405 xno) ;;
11406 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11407 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11408 esac
11411 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11412 then
11413 if ${HAL_CFLAGS:+false} :; then :
11414 if ${PKG_CONFIG+:} false; then :
11415 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11419 if ${HAL_LIBS:+false} :; then :
11420 if ${PKG_CONFIG+:} false; then :
11421 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11425 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11426 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11427 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11428 ac_save_CPPFLAGS=$CPPFLAGS
11429 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11430 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11431 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11433 $as_echo_n "checking for -lhal... " >&6; }
11434 if ${ac_cv_lib_soname_hal+:} false; then :
11435 $as_echo_n "(cached) " >&6
11436 else
11437 ac_check_soname_save_LIBS=$LIBS
11438 LIBS="-lhal $HAL_LIBS $LIBS"
11439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11440 /* end confdefs.h. */
11442 /* Override any GCC internal prototype to avoid an error.
11443 Use char because int might match the return type of a GCC
11444 builtin and then its argument prototype would still apply. */
11445 #ifdef __cplusplus
11446 extern "C"
11447 #endif
11448 char libhal_ctx_new ();
11450 main ()
11452 return libhal_ctx_new ();
11454 return 0;
11456 _ACEOF
11457 if ac_fn_c_try_link "$LINENO"; then :
11458 case "$LIBEXT" in
11459 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11460 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'` ;;
11461 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11462 if ${ac_cv_lib_soname_hal:+false} :; then :
11463 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11464 fi ;;
11465 esac
11467 rm -f core conftest.err conftest.$ac_objext \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_soname_save_LIBS
11471 if ${ac_cv_lib_soname_hal:+false} :; then :
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11473 $as_echo "not found" >&6; }
11474 HAL_CFLAGS=""
11475 else
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11477 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11479 cat >>confdefs.h <<_ACEOF
11480 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11481 _ACEOF
11485 else
11486 HAL_CFLAGS=""
11490 CPPFLAGS=$ac_save_CPPFLAGS
11491 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11492 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11494 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11495 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11496 case "x$with_hal" in
11497 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11498 xno) ;;
11499 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11500 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11501 esac
11505 if test "x$with_gnutls" != "xno"
11506 then
11507 if ${GNUTLS_CFLAGS:+false} :; then :
11508 if ${PKG_CONFIG+:} false; then :
11509 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11513 if ${GNUTLS_LIBS:+false} :; then :
11514 if ${PKG_CONFIG+:} false; then :
11515 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11520 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11521 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11522 ac_save_CPPFLAGS=$CPPFLAGS
11523 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11524 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11525 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11527 /* end confdefs.h. */
11528 #include <gnutls/gnutls.h>
11529 #include <gnutls/crypto.h>
11531 main ()
11533 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_compile "$LINENO"; then :
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11540 $as_echo_n "checking for -lgnutls... " >&6; }
11541 if ${ac_cv_lib_soname_gnutls+:} false; then :
11542 $as_echo_n "(cached) " >&6
11543 else
11544 ac_check_soname_save_LIBS=$LIBS
11545 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11547 /* end confdefs.h. */
11549 /* Override any GCC internal prototype to avoid an error.
11550 Use char because int might match the return type of a GCC
11551 builtin and then its argument prototype would still apply. */
11552 #ifdef __cplusplus
11553 extern "C"
11554 #endif
11555 char gnutls_global_init ();
11557 main ()
11559 return gnutls_global_init ();
11561 return 0;
11563 _ACEOF
11564 if ac_fn_c_try_link "$LINENO"; then :
11565 case "$LIBEXT" in
11566 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11567 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'` ;;
11568 *) 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'`
11569 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11570 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'`
11571 fi ;;
11572 esac
11574 rm -f core conftest.err conftest.$ac_objext \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_soname_save_LIBS
11578 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11580 $as_echo "not found" >&6; }
11581 GNUTLS_CFLAGS=""
11582 else
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11584 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11586 cat >>confdefs.h <<_ACEOF
11587 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11588 _ACEOF
11592 ac_wine_check_funcs_save_LIBS="$LIBS"
11593 LIBS="$LIBS $GNUTLS_LIBS"
11594 for ac_func in gnutls_hash
11595 do :
11596 ac_fn_c_check_func "$LINENO" "gnutls_hash" "ac_cv_func_gnutls_hash"
11597 if test "x$ac_cv_func_gnutls_hash" = xyes; then :
11598 cat >>confdefs.h <<_ACEOF
11599 #define HAVE_GNUTLS_HASH 1
11600 _ACEOF
11602 else
11603 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, no bcrypt hash support."
11605 done
11607 LIBS="$ac_wine_check_funcs_save_LIBS"
11609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11610 else
11611 GNUTLS_CFLAGS=""
11615 CPPFLAGS=$ac_save_CPPFLAGS
11616 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11617 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11620 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11621 case "x$with_gnutls" in
11622 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11623 xno) ;;
11624 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11625 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11626 esac
11629 CURSES_LIBS=""
11630 if test "$ac_cv_header_ncurses_h" = "yes"
11631 then
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11633 $as_echo_n "checking for -lncurses... " >&6; }
11634 if ${ac_cv_lib_soname_ncurses+:} false; then :
11635 $as_echo_n "(cached) " >&6
11636 else
11637 ac_check_soname_save_LIBS=$LIBS
11638 LIBS="-lncurses $LIBS"
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char waddch ();
11650 main ()
11652 return waddch ();
11654 return 0;
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 case "$LIBEXT" in
11659 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11660 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'` ;;
11661 *) 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'`
11662 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11663 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11664 fi ;;
11665 esac
11667 rm -f core conftest.err conftest.$ac_objext \
11668 conftest$ac_exeext conftest.$ac_ext
11669 LIBS=$ac_check_soname_save_LIBS
11671 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11673 $as_echo "not found" >&6; }
11675 else
11676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11677 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11679 cat >>confdefs.h <<_ACEOF
11680 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11681 _ACEOF
11683 CURSES_LIBS="-lncurses"
11685 elif test "$ac_cv_header_curses_h" = "yes"
11686 then
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11688 $as_echo_n "checking for -lcurses... " >&6; }
11689 if ${ac_cv_lib_soname_curses+:} false; then :
11690 $as_echo_n "(cached) " >&6
11691 else
11692 ac_check_soname_save_LIBS=$LIBS
11693 LIBS="-lcurses $LIBS"
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11700 #ifdef __cplusplus
11701 extern "C"
11702 #endif
11703 char waddch ();
11705 main ()
11707 return waddch ();
11709 return 0;
11711 _ACEOF
11712 if ac_fn_c_try_link "$LINENO"; then :
11713 case "$LIBEXT" in
11714 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11715 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'` ;;
11716 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11717 if ${ac_cv_lib_soname_curses:+false} :; then :
11718 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11719 fi ;;
11720 esac
11722 rm -f core conftest.err conftest.$ac_objext \
11723 conftest$ac_exeext conftest.$ac_ext
11724 LIBS=$ac_check_soname_save_LIBS
11726 if ${ac_cv_lib_soname_curses:+false} :; then :
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11728 $as_echo "not found" >&6; }
11730 else
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11732 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11734 cat >>confdefs.h <<_ACEOF
11735 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11736 _ACEOF
11738 CURSES_LIBS="-lcurses"
11741 ac_save_LIBS="$LIBS"
11742 LIBS="$LIBS $CURSES_LIBS"
11743 for ac_func in mousemask
11744 do :
11745 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11746 if test "x$ac_cv_func_mousemask" = xyes; then :
11747 cat >>confdefs.h <<_ACEOF
11748 #define HAVE_MOUSEMASK 1
11749 _ACEOF
11752 done
11754 LIBS="$ac_save_LIBS"
11755 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11756 case "x$with_curses" in
11757 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11758 xno) ;;
11759 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11760 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11761 esac
11764 if test "x$with_sane" != "xno"
11765 then
11766 if ${SANE_CFLAGS:+false} :; then :
11767 if ${PKG_CONFIG+:} false; then :
11768 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11771 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11772 if ${SANE_LIBS:+false} :; then :
11773 if ${PKG_CONFIG+:} false; then :
11774 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11777 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11779 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11780 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11781 ac_save_CPPFLAGS=$CPPFLAGS
11782 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11783 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11784 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11786 $as_echo_n "checking for -lsane... " >&6; }
11787 if ${ac_cv_lib_soname_sane+:} false; then :
11788 $as_echo_n "(cached) " >&6
11789 else
11790 ac_check_soname_save_LIBS=$LIBS
11791 LIBS="-lsane $SANE_LIBS $LIBS"
11792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11793 /* end confdefs.h. */
11795 /* Override any GCC internal prototype to avoid an error.
11796 Use char because int might match the return type of a GCC
11797 builtin and then its argument prototype would still apply. */
11798 #ifdef __cplusplus
11799 extern "C"
11800 #endif
11801 char sane_init ();
11803 main ()
11805 return sane_init ();
11807 return 0;
11809 _ACEOF
11810 if ac_fn_c_try_link "$LINENO"; then :
11811 case "$LIBEXT" in
11812 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11813 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'` ;;
11814 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11815 if ${ac_cv_lib_soname_sane:+false} :; then :
11816 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11817 fi ;;
11818 esac
11820 rm -f core conftest.err conftest.$ac_objext \
11821 conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_soname_save_LIBS
11824 if ${ac_cv_lib_soname_sane:+false} :; then :
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11826 $as_echo "not found" >&6; }
11827 SANE_CFLAGS=""
11828 else
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
11830 $as_echo "$ac_cv_lib_soname_sane" >&6; }
11832 cat >>confdefs.h <<_ACEOF
11833 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11834 _ACEOF
11838 else
11839 SANE_CFLAGS=""
11843 CPPFLAGS=$ac_save_CPPFLAGS
11844 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11845 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11848 if test "x$ac_cv_lib_soname_sane" = "x"; then :
11849 case "x$with_sane" in
11850 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
11851 xno) ;;
11852 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
11853 This is an error since --with-sane was requested." "$LINENO" 5 ;;
11854 esac
11857 if test "x$with_v4l" != "xno"
11858 then
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
11860 $as_echo_n "checking for -lv4l1... " >&6; }
11861 if ${ac_cv_lib_soname_v4l1+:} false; then :
11862 $as_echo_n "(cached) " >&6
11863 else
11864 ac_check_soname_save_LIBS=$LIBS
11865 LIBS="-lv4l1 $LIBS"
11866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11872 #ifdef __cplusplus
11873 extern "C"
11874 #endif
11875 char v4l1_open ();
11877 main ()
11879 return v4l1_open ();
11881 return 0;
11883 _ACEOF
11884 if ac_fn_c_try_link "$LINENO"; then :
11885 case "$LIBEXT" in
11886 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11887 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'` ;;
11888 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11889 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11890 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11891 fi ;;
11892 esac
11894 rm -f core conftest.err conftest.$ac_objext \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_soname_save_LIBS
11898 if ${ac_cv_lib_soname_v4l1:+false} :; then :
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11900 $as_echo "not found" >&6; }
11902 else
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
11904 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
11906 cat >>confdefs.h <<_ACEOF
11907 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
11908 _ACEOF
11913 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
11914 case "x$with_v4l" in
11915 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
11916 xno) ;;
11917 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
11918 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
11919 esac
11922 if test "x$with_gphoto" != "xno"
11923 then
11924 if ${GPHOTO2_CFLAGS:+false} :; then :
11925 if ${PKG_CONFIG+:} false; then :
11926 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
11929 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
11930 if ${GPHOTO2_LIBS:+false} :; then :
11931 if ${PKG_CONFIG+:} false; then :
11932 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
11935 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
11936 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
11937 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
11938 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
11939 ac_save_CPPFLAGS=$CPPFLAGS
11940 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
11941 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
11942 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
11944 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
11945 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 ac_check_lib_save_LIBS=$LIBS
11949 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
11950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951 /* end confdefs.h. */
11953 /* Override any GCC internal prototype to avoid an error.
11954 Use char because int might match the return type of a GCC
11955 builtin and then its argument prototype would still apply. */
11956 #ifdef __cplusplus
11957 extern "C"
11958 #endif
11959 char gp_camera_new ();
11961 main ()
11963 return gp_camera_new ();
11965 return 0;
11967 _ACEOF
11968 if ac_fn_c_try_link "$LINENO"; then :
11969 ac_cv_lib_gphoto2_gp_camera_new=yes
11970 else
11971 ac_cv_lib_gphoto2_gp_camera_new=no
11973 rm -f core conftest.err conftest.$ac_objext \
11974 conftest$ac_exeext conftest.$ac_ext
11975 LIBS=$ac_check_lib_save_LIBS
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11978 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11979 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
11981 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
11983 else
11984 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11987 else
11988 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
11992 CPPFLAGS=$ac_save_CPPFLAGS
11993 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11994 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11996 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
11997 if ${PKG_CONFIG+:} false; then :
11998 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12001 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12002 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12003 if ${PKG_CONFIG+:} false; then :
12004 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12007 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12008 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12009 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12010 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12011 ac_save_CPPFLAGS=$CPPFLAGS
12012 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12013 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12014 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12016 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12017 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12018 $as_echo_n "(cached) " >&6
12019 else
12020 ac_check_lib_save_LIBS=$LIBS
12021 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12023 /* end confdefs.h. */
12025 /* Override any GCC internal prototype to avoid an error.
12026 Use char because int might match the return type of a GCC
12027 builtin and then its argument prototype would still apply. */
12028 #ifdef __cplusplus
12029 extern "C"
12030 #endif
12031 char gp_port_info_list_new ();
12033 main ()
12035 return gp_port_info_list_new ();
12037 return 0;
12039 _ACEOF
12040 if ac_fn_c_try_link "$LINENO"; then :
12041 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12042 else
12043 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12045 rm -f core conftest.err conftest.$ac_objext \
12046 conftest$ac_exeext conftest.$ac_ext
12047 LIBS=$ac_check_lib_save_LIBS
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12050 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12051 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12053 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12055 else
12056 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12059 else
12060 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12064 CPPFLAGS=$ac_save_CPPFLAGS
12065 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12066 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12069 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12070 case "x$with_gphoto" in
12071 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12072 xno) ;;
12073 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12074 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12075 esac
12077 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12078 case "x$with_gphoto" in
12079 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12080 xno) ;;
12081 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12082 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12083 esac
12087 if test "$ac_cv_header_resolv_h" = "yes"
12088 then
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12090 $as_echo_n "checking for resolver library... " >&6; }
12091 if ${ac_cv_have_resolv+:} false; then :
12092 $as_echo_n "(cached) " >&6
12093 else
12094 ac_save_LIBS="$LIBS"
12095 for lib in '' -lresolv
12097 LIBS="$lib $ac_save_LIBS"
12098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 #ifdef HAVE_NETINET_IN_H
12101 #include <netinet/in.h>
12102 #endif
12103 #include <resolv.h>
12105 main ()
12107 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12109 return 0;
12111 _ACEOF
12112 if ac_fn_c_try_link "$LINENO"; then :
12113 ac_cv_have_resolv=${lib:-"none required"}
12114 else
12115 ac_cv_have_resolv="not found"
12117 rm -f core conftest.err conftest.$ac_objext \
12118 conftest$ac_exeext conftest.$ac_ext
12119 test "x$ac_cv_have_resolv" = "xnot found" || break
12120 done
12121 LIBS="$ac_save_LIBS"
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12124 $as_echo "$ac_cv_have_resolv" >&6; }
12126 case "$ac_cv_have_resolv" in
12127 "not found") ;;
12128 "none required")
12130 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12133 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12135 RESOLV_LIBS=$ac_cv_have_resolv
12137 esac
12140 if test "x$with_cms" != "xno"
12141 then
12142 if ${LCMS2_CFLAGS:+false} :; then :
12143 if ${PKG_CONFIG+:} false; then :
12144 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12148 if ${LCMS2_LIBS:+false} :; then :
12149 if ${PKG_CONFIG+:} false; then :
12150 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12154 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12155 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12156 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12157 ac_save_CPPFLAGS=$CPPFLAGS
12158 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12159 for ac_header in lcms2.h
12160 do :
12161 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12162 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12163 cat >>confdefs.h <<_ACEOF
12164 #define HAVE_LCMS2_H 1
12165 _ACEOF
12169 done
12171 if test "$ac_cv_header_lcms2_h" = "yes"
12172 then
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12174 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12175 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 ac_check_lib_save_LIBS=$LIBS
12179 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12181 /* end confdefs.h. */
12183 /* Override any GCC internal prototype to avoid an error.
12184 Use char because int might match the return type of a GCC
12185 builtin and then its argument prototype would still apply. */
12186 #ifdef __cplusplus
12187 extern "C"
12188 #endif
12189 char cmsOpenProfileFromFile ();
12191 main ()
12193 return cmsOpenProfileFromFile ();
12195 return 0;
12197 _ACEOF
12198 if ac_fn_c_try_link "$LINENO"; then :
12199 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12200 else
12201 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12203 rm -f core conftest.err conftest.$ac_objext \
12204 conftest$ac_exeext conftest.$ac_ext
12205 LIBS=$ac_check_lib_save_LIBS
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12208 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12209 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12211 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12213 else
12214 LCMS2_LIBS=""
12217 else
12218 LCMS2_CFLAGS=""
12219 LCMS2_LIBS=""
12221 CPPFLAGS=$ac_save_CPPFLAGS
12222 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12223 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12226 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12227 case "x$with_cms" in
12228 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12229 xno) ;;
12230 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12231 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12232 esac
12235 if test "x$with_freetype" != "xno"
12236 then
12237 if ${FREETYPE_CFLAGS:+false} :; then :
12238 if ${PKG_CONFIG+:} false; then :
12239 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12242 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12243 if ${FREETYPE_LIBS:+false} :; then :
12244 if ${PKG_CONFIG+:} false; then :
12245 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12248 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12249 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12250 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12251 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12252 ac_save_CPPFLAGS=$CPPFLAGS
12253 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12254 for ac_header in ft2build.h
12255 do :
12256 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12257 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12258 cat >>confdefs.h <<_ACEOF
12259 #define HAVE_FT2BUILD_H 1
12260 _ACEOF
12264 done
12266 if test "$ac_cv_header_ft2build_h" = "yes"
12267 then
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12269 $as_echo_n "checking for -lfreetype... " >&6; }
12270 if ${ac_cv_lib_soname_freetype+:} false; then :
12271 $as_echo_n "(cached) " >&6
12272 else
12273 ac_check_soname_save_LIBS=$LIBS
12274 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12278 /* Override any GCC internal prototype to avoid an error.
12279 Use char because int might match the return type of a GCC
12280 builtin and then its argument prototype would still apply. */
12281 #ifdef __cplusplus
12282 extern "C"
12283 #endif
12284 char FT_Init_FreeType ();
12286 main ()
12288 return FT_Init_FreeType ();
12290 return 0;
12292 _ACEOF
12293 if ac_fn_c_try_link "$LINENO"; then :
12294 case "$LIBEXT" in
12295 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12296 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'` ;;
12297 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12298 if ${ac_cv_lib_soname_freetype:+false} :; then :
12299 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12300 fi ;;
12301 esac
12303 rm -f core conftest.err conftest.$ac_objext \
12304 conftest$ac_exeext conftest.$ac_ext
12305 LIBS=$ac_check_soname_save_LIBS
12307 if ${ac_cv_lib_soname_freetype:+false} :; then :
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12309 $as_echo "not found" >&6; }
12310 FREETYPE_LIBS=""
12311 else
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12313 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12315 cat >>confdefs.h <<_ACEOF
12316 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12317 _ACEOF
12320 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12322 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12323 #include FT_MODULE_H
12325 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12327 cat >>confdefs.h <<_ACEOF
12328 #define HAVE_FT_TRUETYPEENGINETYPE 1
12329 _ACEOF
12335 else
12336 FREETYPE_CFLAGS=""
12337 FREETYPE_LIBS=""
12339 CPPFLAGS=$ac_save_CPPFLAGS
12340 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12341 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12344 if test "x$ac_cv_lib_soname_freetype" = x; then :
12345 case "x$with_freetype" in
12346 xno) ;;
12347 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12348 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12349 esac
12351 test "x$ac_cv_lib_soname_freetype" = x && enable_fonts=${enable_fonts:-no}
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12354 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12355 if ${ac_cv_c_ppdev+:} false; then :
12356 $as_echo_n "(cached) " >&6
12357 else
12358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12359 /* end confdefs.h. */
12360 #ifdef HAVE_SYS_IOCTL_H
12361 # include <sys/ioctl.h>
12362 #endif
12363 #include <linux/ppdev.h>
12365 main ()
12367 ioctl (1,PPCLAIM,0)
12369 return 0;
12371 _ACEOF
12372 if ac_fn_c_try_compile "$LINENO"; then :
12373 ac_cv_c_ppdev="yes"
12374 else
12375 ac_cv_c_ppdev="no"
12377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12380 $as_echo "$ac_cv_c_ppdev" >&6; }
12381 if test "$ac_cv_c_ppdev" = "yes"
12382 then
12384 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12388 ac_wine_check_funcs_save_LIBS="$LIBS"
12389 LIBS="$LIBS $PTHREAD_LIBS"
12390 for ac_func in \
12391 pthread_attr_get_np \
12392 pthread_getattr_np \
12393 pthread_getthreadid_np \
12394 pthread_get_stackaddr_np \
12395 pthread_get_stacksize_np
12396 do :
12397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12399 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12400 cat >>confdefs.h <<_ACEOF
12401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12402 _ACEOF
12405 done
12407 LIBS="$ac_wine_check_funcs_save_LIBS"
12409 if test "$ac_cv_header_zlib_h" = "yes"
12410 then
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12412 $as_echo_n "checking for inflate in -lz... " >&6; }
12413 if ${ac_cv_lib_z_inflate+:} false; then :
12414 $as_echo_n "(cached) " >&6
12415 else
12416 ac_check_lib_save_LIBS=$LIBS
12417 LIBS="-lz $LIBS"
12418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12419 /* end confdefs.h. */
12421 /* Override any GCC internal prototype to avoid an error.
12422 Use char because int might match the return type of a GCC
12423 builtin and then its argument prototype would still apply. */
12424 #ifdef __cplusplus
12425 extern "C"
12426 #endif
12427 char inflate ();
12429 main ()
12431 return inflate ();
12433 return 0;
12435 _ACEOF
12436 if ac_fn_c_try_link "$LINENO"; then :
12437 ac_cv_lib_z_inflate=yes
12438 else
12439 ac_cv_lib_z_inflate=no
12441 rm -f core conftest.err conftest.$ac_objext \
12442 conftest$ac_exeext conftest.$ac_ext
12443 LIBS=$ac_check_lib_save_LIBS
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12446 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12447 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12449 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12451 Z_LIBS="-lz"
12456 if test "x$Z_LIBS" = "x"; then :
12457 case "x$with_zlib" in
12458 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12459 xno) ;;
12460 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12461 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12462 esac
12465 if test "x$enable_tools" != xno
12466 then
12467 if test "$ac_cv_header_gettext_po_h" = "yes"
12468 then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12470 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12471 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12472 $as_echo_n "(cached) " >&6
12473 else
12474 ac_check_lib_save_LIBS=$LIBS
12475 LIBS="-lgettextpo $LIBS"
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12482 #ifdef __cplusplus
12483 extern "C"
12484 #endif
12485 char po_message_msgctxt ();
12487 main ()
12489 return po_message_msgctxt ();
12491 return 0;
12493 _ACEOF
12494 if ac_fn_c_try_link "$LINENO"; then :
12495 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12496 else
12497 ac_cv_lib_gettextpo_po_message_msgctxt=no
12499 rm -f core conftest.err conftest.$ac_objext \
12500 conftest$ac_exeext conftest.$ac_ext
12501 LIBS=$ac_check_lib_save_LIBS
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12504 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12505 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12507 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12509 GETTEXTPO_LIBS="-lgettextpo"
12514 test "x$with_gettextpo" != xyes || if test "x$GETTEXTPO_LIBS" = "x"; then :
12515 case "x$with_gettextpo" in
12516 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12517 xno) ;;
12518 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12519 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12520 esac
12524 if test "x$with_pulse" != "xno";
12525 then
12526 if ${PULSE_CFLAGS:+false} :; then :
12527 if ${PKG_CONFIG+:} false; then :
12528 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12532 if ${PULSE_LIBS:+false} :; then :
12533 if ${PKG_CONFIG+:} false; then :
12534 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12539 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12540 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12541 ac_save_CPPFLAGS=$CPPFLAGS
12542 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12543 for ac_header in pulse/pulseaudio.h
12544 do :
12545 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12546 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12547 cat >>confdefs.h <<_ACEOF
12548 #define HAVE_PULSE_PULSEAUDIO_H 1
12549 _ACEOF
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12551 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12552 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12553 $as_echo_n "(cached) " >&6
12554 else
12555 ac_check_lib_save_LIBS=$LIBS
12556 LIBS="-lpulse $PULSE_LIBS $LIBS"
12557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558 /* end confdefs.h. */
12560 /* Override any GCC internal prototype to avoid an error.
12561 Use char because int might match the return type of a GCC
12562 builtin and then its argument prototype would still apply. */
12563 #ifdef __cplusplus
12564 extern "C"
12565 #endif
12566 char pa_stream_is_corked ();
12568 main ()
12570 return pa_stream_is_corked ();
12572 return 0;
12574 _ACEOF
12575 if ac_fn_c_try_link "$LINENO"; then :
12576 ac_cv_lib_pulse_pa_stream_is_corked=yes
12577 else
12578 ac_cv_lib_pulse_pa_stream_is_corked=no
12580 rm -f core conftest.err conftest.$ac_objext \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12585 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12586 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12588 else
12589 PULSE_LIBS=""
12592 else
12593 PULSE_LIBS=""
12596 done
12598 CPPFLAGS=$ac_save_CPPFLAGS
12599 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12600 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12603 if test -z "$PULSE_LIBS"; then :
12604 case "x$with_pulse" in
12605 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12606 xno) ;;
12607 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12608 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12609 esac
12611 test -n "$PULSE_LIBS" || enable_winepulse_drv=${enable_winepulse_drv:-no}
12613 if test "x$with_gstreamer" != "xno"
12614 then
12615 if ${GSTREAMER_CFLAGS:+false} :; then :
12616 if ${PKG_CONFIG+:} false; then :
12617 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12621 if ${GSTREAMER_LIBS:+false} :; then :
12622 if ${PKG_CONFIG+:} false; then :
12623 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12628 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12629 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12630 ac_save_CPPFLAGS=$CPPFLAGS
12631 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12632 ac_gst_incl=""
12633 for i in $GSTREAMER_CFLAGS
12635 case "$i" in
12636 -I*) ac_gst_incl="$ac_gst_incl $i";;
12637 esac
12638 done
12639 GSTREAMER_CFLAGS=$ac_gst_incl
12640 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12641 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12642 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12644 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12646 /* end confdefs.h. */
12647 #include <gst/gst.h>
12649 main ()
12651 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12653 return 0;
12655 _ACEOF
12656 if ac_fn_c_try_compile "$LINENO"; then :
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12658 $as_echo "yes" >&6; }
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12660 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12661 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12662 $as_echo_n "(cached) " >&6
12663 else
12664 ac_check_lib_save_LIBS=$LIBS
12665 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12667 /* end confdefs.h. */
12669 /* Override any GCC internal prototype to avoid an error.
12670 Use char because int might match the return type of a GCC
12671 builtin and then its argument prototype would still apply. */
12672 #ifdef __cplusplus
12673 extern "C"
12674 #endif
12675 char gst_pad_new ();
12677 main ()
12679 return gst_pad_new ();
12681 return 0;
12683 _ACEOF
12684 if ac_fn_c_try_link "$LINENO"; then :
12685 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12686 else
12687 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12689 rm -f core conftest.err conftest.$ac_objext \
12690 conftest$ac_exeext conftest.$ac_ext
12691 LIBS=$ac_check_lib_save_LIBS
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12694 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12695 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12699 else
12700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12701 $as_echo "no" >&6; }
12702 ac_glib2_broken=yes
12703 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12709 CPPFLAGS=$ac_save_CPPFLAGS
12710 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12711 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12714 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 :
12715 case "x$with_gstreamer" in
12716 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
12717 xno) ;;
12718 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, gstreamer support disabled
12719 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12720 esac
12722 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12724 ALSA_LIBS=""
12726 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12727 then
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12729 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12730 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12731 $as_echo_n "(cached) " >&6
12732 else
12733 ac_check_lib_save_LIBS=$LIBS
12734 LIBS="-lasound $LIBS"
12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 /* Override any GCC internal prototype to avoid an error.
12739 Use char because int might match the return type of a GCC
12740 builtin and then its argument prototype would still apply. */
12741 #ifdef __cplusplus
12742 extern "C"
12743 #endif
12744 char snd_pcm_hw_params_get_access_mask ();
12746 main ()
12748 return snd_pcm_hw_params_get_access_mask ();
12750 return 0;
12752 _ACEOF
12753 if ac_fn_c_try_link "$LINENO"; then :
12754 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12755 else
12756 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12758 rm -f core conftest.err conftest.$ac_objext \
12759 conftest$ac_exeext conftest.$ac_ext
12760 LIBS=$ac_check_lib_save_LIBS
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12763 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12764 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12766 /* end confdefs.h. */
12767 #ifdef HAVE_ALSA_ASOUNDLIB_H
12768 #include <alsa/asoundlib.h>
12769 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12770 #include <sys/asoundlib.h>
12771 #endif
12773 main ()
12775 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12777 return 0;
12779 _ACEOF
12780 if ac_fn_c_try_compile "$LINENO"; then :
12781 ALSA_LIBS="-lasound"
12783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12787 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12789 if test "x$with_oss" != xno
12790 then
12791 ac_save_CPPFLAGS="$CPPFLAGS"
12792 if test -f /etc/oss.conf
12793 then
12794 . /etc/oss.conf
12796 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12797 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12798 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12799 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12800 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12802 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12804 cat >>confdefs.h <<_ACEOF
12805 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12806 _ACEOF
12808 OSS4_CFLAGS="$ac_oss_incl"
12815 CPPFLAGS="$ac_save_CPPFLAGS"
12816 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
12817 then
12818 as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
12821 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv=${enable_wineoss_drv:-no}
12823 if test "x$with_capi" != "xno"
12824 then
12825 if ${CAPI20_CFLAGS:+false} :; then :
12826 if ${PKG_CONFIG+:} false; then :
12827 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
12831 if ${CAPI20_LIBS:+false} :; then :
12832 if ${PKG_CONFIG+:} false; then :
12833 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
12838 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
12839 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
12840 ac_save_CPPFLAGS=$CPPFLAGS
12841 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
12842 for ac_header in capi20.h linux/capi.h
12843 do :
12844 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12845 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
12847 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12848 cat >>confdefs.h <<_ACEOF
12849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12850 _ACEOF
12854 done
12856 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12857 then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
12859 $as_echo_n "checking for -lcapi20... " >&6; }
12860 if ${ac_cv_lib_soname_capi20+:} false; then :
12861 $as_echo_n "(cached) " >&6
12862 else
12863 ac_check_soname_save_LIBS=$LIBS
12864 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
12865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866 /* end confdefs.h. */
12868 /* Override any GCC internal prototype to avoid an error.
12869 Use char because int might match the return type of a GCC
12870 builtin and then its argument prototype would still apply. */
12871 #ifdef __cplusplus
12872 extern "C"
12873 #endif
12874 char capi20_register ();
12876 main ()
12878 return capi20_register ();
12880 return 0;
12882 _ACEOF
12883 if ac_fn_c_try_link "$LINENO"; then :
12884 case "$LIBEXT" in
12885 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12886 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'` ;;
12887 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12888 if ${ac_cv_lib_soname_capi20:+false} :; then :
12889 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12890 fi ;;
12891 esac
12893 rm -f core conftest.err conftest.$ac_objext \
12894 conftest$ac_exeext conftest.$ac_ext
12895 LIBS=$ac_check_soname_save_LIBS
12897 if ${ac_cv_lib_soname_capi20:+false} :; then :
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12899 $as_echo "not found" >&6; }
12901 else
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
12903 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
12905 cat >>confdefs.h <<_ACEOF
12906 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
12907 _ACEOF
12912 CPPFLAGS=$ac_save_CPPFLAGS
12913 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12914 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12917 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
12918 case "x$with_capi" in
12919 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
12920 xno) ;;
12921 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
12922 This is an error since --with-capi was requested." "$LINENO" 5 ;;
12923 esac
12926 CUPS_CFLAGS=""
12928 if test "x$with_cups" != "xno"
12929 then
12930 ac_save_CPPFLAGS="$CPPFLAGS"
12931 ac_cups_cflags=`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`
12932 ac_cups_libs=`${CUPS_CONFIG:-cups-config} --ldflags 2>/dev/null`
12933 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
12934 for ac_header in cups/cups.h
12935 do :
12936 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
12937 if test "x$ac_cv_header_cups_cups_h" = xyes; then :
12938 cat >>confdefs.h <<_ACEOF
12939 #define HAVE_CUPS_CUPS_H 1
12940 _ACEOF
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
12942 $as_echo_n "checking for -lcups... " >&6; }
12943 if ${ac_cv_lib_soname_cups+:} false; then :
12944 $as_echo_n "(cached) " >&6
12945 else
12946 ac_check_soname_save_LIBS=$LIBS
12947 LIBS="-lcups $ac_cups_libs $LIBS"
12948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12949 /* end confdefs.h. */
12951 /* Override any GCC internal prototype to avoid an error.
12952 Use char because int might match the return type of a GCC
12953 builtin and then its argument prototype would still apply. */
12954 #ifdef __cplusplus
12955 extern "C"
12956 #endif
12957 char cupsGetDefault ();
12959 main ()
12961 return cupsGetDefault ();
12963 return 0;
12965 _ACEOF
12966 if ac_fn_c_try_link "$LINENO"; then :
12967 case "$LIBEXT" in
12968 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12969 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'` ;;
12970 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12971 if ${ac_cv_lib_soname_cups:+false} :; then :
12972 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12973 fi ;;
12974 esac
12976 rm -f core conftest.err conftest.$ac_objext \
12977 conftest$ac_exeext conftest.$ac_ext
12978 LIBS=$ac_check_soname_save_LIBS
12980 if ${ac_cv_lib_soname_cups:+false} :; then :
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12982 $as_echo "not found" >&6; }
12984 else
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
12986 $as_echo "$ac_cv_lib_soname_cups" >&6; }
12988 cat >>confdefs.h <<_ACEOF
12989 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
12990 _ACEOF
12992 CUPS_CFLAGS="$ac_cups_cflags"
12996 done
12998 CPPFLAGS="$ac_save_CPPFLAGS"
13000 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13001 case "x$with_cups" in
13002 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13003 xno) ;;
13004 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13005 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13006 esac
13009 if test "x$with_fontconfig" != "xno"
13010 then
13011 if ${FONTCONFIG_CFLAGS:+false} :; then :
13012 if ${PKG_CONFIG+:} false; then :
13013 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13016 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13017 if ${FONTCONFIG_LIBS:+false} :; then :
13018 if ${PKG_CONFIG+:} false; then :
13019 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13022 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13024 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13025 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13026 ac_save_CPPFLAGS=$CPPFLAGS
13027 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13028 for ac_header in fontconfig/fontconfig.h
13029 do :
13030 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13031 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13032 cat >>confdefs.h <<_ACEOF
13033 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13034 _ACEOF
13038 done
13040 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13041 then
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13043 $as_echo_n "checking for -lfontconfig... " >&6; }
13044 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13045 $as_echo_n "(cached) " >&6
13046 else
13047 ac_check_soname_save_LIBS=$LIBS
13048 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13052 /* Override any GCC internal prototype to avoid an error.
13053 Use char because int might match the return type of a GCC
13054 builtin and then its argument prototype would still apply. */
13055 #ifdef __cplusplus
13056 extern "C"
13057 #endif
13058 char FcInit ();
13060 main ()
13062 return FcInit ();
13064 return 0;
13066 _ACEOF
13067 if ac_fn_c_try_link "$LINENO"; then :
13068 case "$LIBEXT" in
13069 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13070 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'` ;;
13071 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13072 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13073 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13074 fi ;;
13075 esac
13077 rm -f core conftest.err conftest.$ac_objext \
13078 conftest$ac_exeext conftest.$ac_ext
13079 LIBS=$ac_check_soname_save_LIBS
13081 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13083 $as_echo "not found" >&6; }
13084 FONTCONFIG_CFLAGS=""
13085 else
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13087 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13089 cat >>confdefs.h <<_ACEOF
13090 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13091 _ACEOF
13095 else
13096 FONTCONFIG_CFLAGS=""
13098 CPPFLAGS=$ac_save_CPPFLAGS
13099 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13100 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13103 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13104 case "x$with_fontconfig" in
13105 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13106 xno) ;;
13107 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13108 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13109 esac
13112 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13113 then
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13115 $as_echo_n "checking for -lgsm... " >&6; }
13116 if ${ac_cv_lib_soname_gsm+:} false; then :
13117 $as_echo_n "(cached) " >&6
13118 else
13119 ac_check_soname_save_LIBS=$LIBS
13120 LIBS="-lgsm $LIBS"
13121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13122 /* end confdefs.h. */
13124 /* Override any GCC internal prototype to avoid an error.
13125 Use char because int might match the return type of a GCC
13126 builtin and then its argument prototype would still apply. */
13127 #ifdef __cplusplus
13128 extern "C"
13129 #endif
13130 char gsm_create ();
13132 main ()
13134 return gsm_create ();
13136 return 0;
13138 _ACEOF
13139 if ac_fn_c_try_link "$LINENO"; then :
13140 case "$LIBEXT" in
13141 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13142 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'` ;;
13143 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13144 if ${ac_cv_lib_soname_gsm:+false} :; then :
13145 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13146 fi ;;
13147 esac
13149 rm -f core conftest.err conftest.$ac_objext \
13150 conftest$ac_exeext conftest.$ac_ext
13151 LIBS=$ac_check_soname_save_LIBS
13153 if ${ac_cv_lib_soname_gsm:+false} :; then :
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13155 $as_echo "not found" >&6; }
13157 else
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13159 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13161 cat >>confdefs.h <<_ACEOF
13162 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13163 _ACEOF
13168 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13169 case "x$with_gsm" in
13170 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13171 xno) ;;
13172 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13173 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13174 esac
13177 if test "x$with_jpeg" != "xno"
13178 then
13179 if ${JPEG_CFLAGS:+false} :; then :
13180 if ${PKG_CONFIG+:} false; then :
13181 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13185 if ${JPEG_LIBS:+false} :; then :
13186 if ${PKG_CONFIG+:} false; then :
13187 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13192 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13193 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13194 ac_save_CPPFLAGS=$CPPFLAGS
13195 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13196 for ac_header in jpeglib.h
13197 do :
13198 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13199 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13200 cat >>confdefs.h <<_ACEOF
13201 #define HAVE_JPEGLIB_H 1
13202 _ACEOF
13206 done
13208 if test "$ac_cv_header_jpeglib_h" = "yes"
13209 then
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13211 $as_echo_n "checking for -ljpeg... " >&6; }
13212 if ${ac_cv_lib_soname_jpeg+:} false; then :
13213 $as_echo_n "(cached) " >&6
13214 else
13215 ac_check_soname_save_LIBS=$LIBS
13216 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13218 /* end confdefs.h. */
13220 /* Override any GCC internal prototype to avoid an error.
13221 Use char because int might match the return type of a GCC
13222 builtin and then its argument prototype would still apply. */
13223 #ifdef __cplusplus
13224 extern "C"
13225 #endif
13226 char jpeg_start_decompress ();
13228 main ()
13230 return jpeg_start_decompress ();
13232 return 0;
13234 _ACEOF
13235 if ac_fn_c_try_link "$LINENO"; then :
13236 case "$LIBEXT" in
13237 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13238 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'` ;;
13239 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13240 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13241 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13242 fi ;;
13243 esac
13245 rm -f core conftest.err conftest.$ac_objext \
13246 conftest$ac_exeext conftest.$ac_ext
13247 LIBS=$ac_check_soname_save_LIBS
13249 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13251 $as_echo "not found" >&6; }
13252 JPEG_CFLAGS=""
13253 else
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13255 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13257 cat >>confdefs.h <<_ACEOF
13258 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13259 _ACEOF
13263 else
13264 JPEG_CFLAGS=""
13266 CPPFLAGS=$ac_save_CPPFLAGS
13267 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13268 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13271 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13272 case "x$with_jpeg" in
13273 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13274 xno) ;;
13275 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13276 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13277 esac
13280 if test "x$with_png" != "xno"
13281 then
13282 if ${PNG_CFLAGS:+false} :; then :
13283 if ${PKG_CONFIG+:} false; then :
13284 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13287 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13288 if ${PNG_LIBS:+false} :; then :
13289 if ${PKG_CONFIG+:} false; then :
13290 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13293 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13295 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13296 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13297 ac_save_CPPFLAGS=$CPPFLAGS
13298 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13299 for ac_header in png.h
13300 do :
13301 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13302 if test "x$ac_cv_header_png_h" = xyes; then :
13303 cat >>confdefs.h <<_ACEOF
13304 #define HAVE_PNG_H 1
13305 _ACEOF
13309 done
13311 if test "$ac_cv_header_png_h" = "yes"
13312 then
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13314 $as_echo_n "checking for -lpng... " >&6; }
13315 if ${ac_cv_lib_soname_png+:} false; then :
13316 $as_echo_n "(cached) " >&6
13317 else
13318 ac_check_soname_save_LIBS=$LIBS
13319 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13321 /* end confdefs.h. */
13323 /* Override any GCC internal prototype to avoid an error.
13324 Use char because int might match the return type of a GCC
13325 builtin and then its argument prototype would still apply. */
13326 #ifdef __cplusplus
13327 extern "C"
13328 #endif
13329 char png_create_read_struct ();
13331 main ()
13333 return png_create_read_struct ();
13335 return 0;
13337 _ACEOF
13338 if ac_fn_c_try_link "$LINENO"; then :
13339 case "$LIBEXT" in
13340 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13341 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'` ;;
13342 *) 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'`
13343 if ${ac_cv_lib_soname_png:+false} :; then :
13344 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13345 fi ;;
13346 esac
13348 rm -f core conftest.err conftest.$ac_objext \
13349 conftest$ac_exeext conftest.$ac_ext
13350 LIBS=$ac_check_soname_save_LIBS
13352 if ${ac_cv_lib_soname_png:+false} :; then :
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13354 $as_echo "not found" >&6; }
13355 PNG_CFLAGS=""
13356 else
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13358 $as_echo "$ac_cv_lib_soname_png" >&6; }
13360 cat >>confdefs.h <<_ACEOF
13361 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13362 _ACEOF
13364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13365 /* end confdefs.h. */
13366 #include <png.h>
13368 main ()
13370 typeof(png_set_expand_gray_1_2_4_to_8) *p
13372 return 0;
13374 _ACEOF
13375 if ac_fn_c_try_compile "$LINENO"; then :
13377 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
13380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13382 else
13383 PNG_CFLAGS=""
13385 CPPFLAGS=$ac_save_CPPFLAGS
13386 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13387 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13390 if test "x$ac_cv_lib_soname_png" = "x"; then :
13391 case "x$with_png" in
13392 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13393 xno) ;;
13394 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
13395 This is an error since --with-png was requested." "$LINENO" 5 ;;
13396 esac
13399 if test "x$with_tiff" != "xno"
13400 then
13401 if ${TIFF_CFLAGS:+false} :; then :
13402 if ${PKG_CONFIG+:} false; then :
13403 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
13407 if ${TIFF_LIBS:+false} :; then :
13408 if ${PKG_CONFIG+:} false; then :
13409 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
13414 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
13415 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
13416 ac_save_CPPFLAGS=$CPPFLAGS
13417 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
13418 for ac_header in tiffio.h
13419 do :
13420 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13421 if test "x$ac_cv_header_tiffio_h" = xyes; then :
13422 cat >>confdefs.h <<_ACEOF
13423 #define HAVE_TIFFIO_H 1
13424 _ACEOF
13428 done
13430 if test "$ac_cv_header_tiffio_h" = "yes"
13431 then
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
13433 $as_echo_n "checking for -ltiff... " >&6; }
13434 if ${ac_cv_lib_soname_tiff+:} false; then :
13435 $as_echo_n "(cached) " >&6
13436 else
13437 ac_check_soname_save_LIBS=$LIBS
13438 LIBS="-ltiff $TIFF_LIBS $LIBS"
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h. */
13442 /* Override any GCC internal prototype to avoid an error.
13443 Use char because int might match the return type of a GCC
13444 builtin and then its argument prototype would still apply. */
13445 #ifdef __cplusplus
13446 extern "C"
13447 #endif
13448 char TIFFClientOpen ();
13450 main ()
13452 return TIFFClientOpen ();
13454 return 0;
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"; then :
13458 case "$LIBEXT" in
13459 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13460 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'` ;;
13461 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13462 if ${ac_cv_lib_soname_tiff:+false} :; then :
13463 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13464 fi ;;
13465 esac
13467 rm -f core conftest.err conftest.$ac_objext \
13468 conftest$ac_exeext conftest.$ac_ext
13469 LIBS=$ac_check_soname_save_LIBS
13471 if ${ac_cv_lib_soname_tiff:+false} :; then :
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13473 $as_echo "not found" >&6; }
13475 else
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
13477 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
13479 cat >>confdefs.h <<_ACEOF
13480 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
13481 _ACEOF
13486 CPPFLAGS=$ac_save_CPPFLAGS
13487 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13488 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13491 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
13492 case "x$with_tiff" in
13493 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
13494 xno) ;;
13495 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
13496 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
13497 esac
13500 if test "x$with_mpg123" != "xno"
13501 then
13502 if ${MPG123_CFLAGS:+false} :; then :
13503 if ${PKG_CONFIG+:} false; then :
13504 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
13508 if ${MPG123_LIBS:+false} :; then :
13509 if ${PKG_CONFIG+:} false; then :
13510 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
13514 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
13515 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
13516 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
13517 ac_save_CPPFLAGS=$CPPFLAGS
13518 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
13519 for ac_header in mpg123.h
13520 do :
13521 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
13522 if test "x$ac_cv_header_mpg123_h" = xyes; then :
13523 cat >>confdefs.h <<_ACEOF
13524 #define HAVE_MPG123_H 1
13525 _ACEOF
13529 done
13531 if test "$ac_cv_header_mpg123_h" = "yes"
13532 then
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
13534 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
13535 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
13536 $as_echo_n "(cached) " >&6
13537 else
13538 ac_check_lib_save_LIBS=$LIBS
13539 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
13540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13541 /* end confdefs.h. */
13543 /* Override any GCC internal prototype to avoid an error.
13544 Use char because int might match the return type of a GCC
13545 builtin and then its argument prototype would still apply. */
13546 #ifdef __cplusplus
13547 extern "C"
13548 #endif
13549 char mpg123_feed ();
13551 main ()
13553 return mpg123_feed ();
13555 return 0;
13557 _ACEOF
13558 if ac_fn_c_try_link "$LINENO"; then :
13559 ac_cv_lib_mpg123_mpg123_feed=yes
13560 else
13561 ac_cv_lib_mpg123_mpg123_feed=no
13563 rm -f core conftest.err conftest.$ac_objext \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS=$ac_check_lib_save_LIBS
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
13568 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
13569 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
13571 else
13572 MPG123_LIBS=""
13575 else
13576 MPG123_CFLAGS=""
13577 MPG123_LIBS=""
13579 CPPFLAGS=$ac_save_CPPFLAGS
13580 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13581 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13584 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
13585 case "x$with_mpg123" in
13586 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
13587 xno) ;;
13588 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
13589 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
13590 esac
13592 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes -o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
13594 if test "$ac_cv_header_AL_al_h" = "yes"
13595 then
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
13597 $as_echo_n "checking for -lopenal... " >&6; }
13598 if ${ac_cv_lib_soname_openal+:} false; then :
13599 $as_echo_n "(cached) " >&6
13600 else
13601 ac_check_soname_save_LIBS=$LIBS
13602 LIBS="-lopenal $LIBS"
13603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604 /* end confdefs.h. */
13606 /* Override any GCC internal prototype to avoid an error.
13607 Use char because int might match the return type of a GCC
13608 builtin and then its argument prototype would still apply. */
13609 #ifdef __cplusplus
13610 extern "C"
13611 #endif
13612 char alGetSource3i ();
13614 main ()
13616 return alGetSource3i ();
13618 return 0;
13620 _ACEOF
13621 if ac_fn_c_try_link "$LINENO"; then :
13622 case "$LIBEXT" in
13623 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13624 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'` ;;
13625 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13626 if ${ac_cv_lib_soname_openal:+false} :; then :
13627 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13628 fi ;;
13629 esac
13631 rm -f core conftest.err conftest.$ac_objext \
13632 conftest$ac_exeext conftest.$ac_ext
13633 LIBS=$ac_check_soname_save_LIBS
13635 if ${ac_cv_lib_soname_openal:+false} :; then :
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13637 $as_echo "not found" >&6; }
13639 else
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
13641 $as_echo "$ac_cv_lib_soname_openal" >&6; }
13643 cat >>confdefs.h <<_ACEOF
13644 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
13645 _ACEOF
13647 OPENAL_LIBS="-lopenal"
13649 ac_cv_lib_openal=yes
13651 cat >>confdefs.h <<_ACEOF
13652 #define HAVE_OPENAL 1
13653 _ACEOF
13657 if test "x$ac_cv_lib_openal" != xyes; then :
13658 case "x$with_openal" in
13659 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported" ;;
13660 xno) ;;
13661 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported
13662 This is an error since --with-openal was requested." "$LINENO" 5 ;;
13663 esac
13665 test "x$ac_cv_lib_openal" = xyes || enable_openal32=${enable_openal32:-no}
13667 if test "x$ac_cv_lib_openal" = xyes
13668 then
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
13670 $as_echo_n "checking for openal-soft... " >&6; }
13671 if ${ac_cv_have_openalsoft+:} false; then :
13672 $as_echo_n "(cached) " >&6
13673 else
13674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13676 #include <AL/al.h>
13677 #include <AL/alc.h>
13678 #include <AL/alext.h>
13679 LPALCRENDERSAMPLESSOFT x;
13681 main ()
13685 return 0;
13687 _ACEOF
13688 if ac_fn_c_try_compile "$LINENO"; then :
13689 ac_cv_have_openalsoft=yes
13690 else
13691 ac_cv_have_openalsoft=no
13693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
13696 $as_echo "$ac_cv_have_openalsoft" >&6; }
13698 if test "x$ac_cv_have_openalsoft" != xyes
13699 then
13700 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported"
13701 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
13702 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
13703 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
13704 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
13705 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
13706 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
13707 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
13708 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
13709 enable_xapofx1_1=${enable_xapofx1_1:-no}
13710 enable_xapofx1_2=${enable_xapofx1_2:-no}
13711 enable_xapofx1_3=${enable_xapofx1_3:-no}
13712 enable_xapofx1_4=${enable_xapofx1_4:-no}
13713 enable_xapofx1_5=${enable_xapofx1_5:-no}
13714 enable_xaudio2_0=${enable_xaudio2_0:-no}
13715 enable_xaudio2_1=${enable_xaudio2_1:-no}
13716 enable_xaudio2_2=${enable_xaudio2_2:-no}
13717 enable_xaudio2_3=${enable_xaudio2_3:-no}
13718 enable_xaudio2_4=${enable_xaudio2_4:-no}
13719 enable_xaudio2_5=${enable_xaudio2_5:-no}
13720 enable_xaudio2_6=${enable_xaudio2_6:-no}
13721 enable_xaudio2_7=${enable_xaudio2_7:-no}
13722 enable_xaudio2_8=${enable_xaudio2_8:-no}
13723 enable_xaudio2_9=${enable_xaudio2_9:-no}
13726 if test "$ac_cv_header_kstat_h" = "yes"
13727 then
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
13729 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
13730 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
13731 $as_echo_n "(cached) " >&6
13732 else
13733 ac_check_lib_save_LIBS=$LIBS
13734 LIBS="-lkstat $LIBS"
13735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13736 /* end confdefs.h. */
13738 /* Override any GCC internal prototype to avoid an error.
13739 Use char because int might match the return type of a GCC
13740 builtin and then its argument prototype would still apply. */
13741 #ifdef __cplusplus
13742 extern "C"
13743 #endif
13744 char kstat_open ();
13746 main ()
13748 return kstat_open ();
13750 return 0;
13752 _ACEOF
13753 if ac_fn_c_try_link "$LINENO"; then :
13754 ac_cv_lib_kstat_kstat_open=yes
13755 else
13756 ac_cv_lib_kstat_kstat_open=no
13758 rm -f core conftest.err conftest.$ac_objext \
13759 conftest$ac_exeext conftest.$ac_ext
13760 LIBS=$ac_check_lib_save_LIBS
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
13763 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
13764 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
13766 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
13768 KSTAT_LIBS="-lkstat"
13774 if test "$ac_cv_header_libprocstat_h" = "yes"
13775 then
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
13777 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
13778 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
13779 $as_echo_n "(cached) " >&6
13780 else
13781 ac_check_lib_save_LIBS=$LIBS
13782 LIBS="-lprocstat $LIBS"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13789 #ifdef __cplusplus
13790 extern "C"
13791 #endif
13792 char procstat_open_sysctl ();
13794 main ()
13796 return procstat_open_sysctl ();
13798 return 0;
13800 _ACEOF
13801 if ac_fn_c_try_link "$LINENO"; then :
13802 ac_cv_lib_procstat_procstat_open_sysctl=yes
13803 else
13804 ac_cv_lib_procstat_procstat_open_sysctl=no
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 LIBS=$ac_check_lib_save_LIBS
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
13811 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
13812 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
13814 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
13816 PROCSTAT_LIBS="-lprocstat"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
13823 $as_echo_n "checking for -lodbc... " >&6; }
13824 if ${ac_cv_lib_soname_odbc+:} false; then :
13825 $as_echo_n "(cached) " >&6
13826 else
13827 ac_check_soname_save_LIBS=$LIBS
13828 LIBS="-lodbc $LIBS"
13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13835 #ifdef __cplusplus
13836 extern "C"
13837 #endif
13838 char SQLConnect ();
13840 main ()
13842 return SQLConnect ();
13844 return 0;
13846 _ACEOF
13847 if ac_fn_c_try_link "$LINENO"; then :
13848 case "$LIBEXT" in
13849 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13850 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'` ;;
13851 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13852 if ${ac_cv_lib_soname_odbc:+false} :; then :
13853 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13854 fi ;;
13855 esac
13857 rm -f core conftest.err conftest.$ac_objext \
13858 conftest$ac_exeext conftest.$ac_ext
13859 LIBS=$ac_check_soname_save_LIBS
13861 if ${ac_cv_lib_soname_odbc:+false} :; then :
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13863 $as_echo "not found" >&6; }
13864 cat >>confdefs.h <<_ACEOF
13865 #define SONAME_LIBODBC "libodbc.$LIBEXT"
13866 _ACEOF
13868 else
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
13870 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
13872 cat >>confdefs.h <<_ACEOF
13873 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
13874 _ACEOF
13879 if test "x$with_netapi" != "xno"
13880 then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
13882 $as_echo_n "checking for -lnetapi... " >&6; }
13883 if ${ac_cv_lib_soname_netapi+:} false; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 ac_check_soname_save_LIBS=$LIBS
13887 LIBS="-lnetapi $LIBS"
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13891 /* Override any GCC internal prototype to avoid an error.
13892 Use char because int might match the return type of a GCC
13893 builtin and then its argument prototype would still apply. */
13894 #ifdef __cplusplus
13895 extern "C"
13896 #endif
13897 char libnetapi_init ();
13899 main ()
13901 return libnetapi_init ();
13903 return 0;
13905 _ACEOF
13906 if ac_fn_c_try_link "$LINENO"; then :
13907 case "$LIBEXT" in
13908 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13909 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'` ;;
13910 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13911 if ${ac_cv_lib_soname_netapi:+false} :; then :
13912 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13913 fi ;;
13914 esac
13916 rm -f core conftest.err conftest.$ac_objext \
13917 conftest$ac_exeext conftest.$ac_ext
13918 LIBS=$ac_check_soname_save_LIBS
13920 if ${ac_cv_lib_soname_netapi:+false} :; then :
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13922 $as_echo "not found" >&6; }
13923 cat >>confdefs.h <<_ACEOF
13924 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
13925 _ACEOF
13927 else
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
13929 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
13931 cat >>confdefs.h <<_ACEOF
13932 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
13933 _ACEOF
13939 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv" = xnononono -a \
13940 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
13941 then
13942 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
13946 EXTRACFLAGS=""
13948 if test "x${GCC}" = "xyes"
13949 then
13950 EXTRACFLAGS="-Wall -pipe"
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
13953 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
13954 if ${ac_cv_c_gcc_strength_bug+:} false; then :
13955 $as_echo_n "(cached) " >&6
13956 else
13957 if test "$cross_compiling" = yes; then :
13958 ac_cv_c_gcc_strength_bug="no"
13959 else
13960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13961 /* end confdefs.h. */
13962 int L[4] = {0,1,2,3};
13964 main ()
13966 static int Array[3];
13967 unsigned int B = 3;
13968 int i;
13969 for(i=0; i<B; i++) Array[i] = i - 3;
13970 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
13971 L[i] = 4;
13972 return (Array[1] != -2 || L[2] != 3)
13974 return 0;
13976 _ACEOF
13977 if ac_fn_c_try_run "$LINENO"; then :
13978 ac_cv_c_gcc_strength_bug="no"
13979 else
13980 ac_cv_c_gcc_strength_bug="yes"
13982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13983 conftest.$ac_objext conftest.beam conftest.$ac_ext
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
13988 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
13989 if test "$ac_cv_c_gcc_strength_bug" = "yes"
13990 then
13991 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
13995 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
13996 if ${ac_cv_cflags__fno_builtin+:} false; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 ac_wine_try_cflags_saved=$CFLAGS
14000 CFLAGS="$CFLAGS -fno-builtin"
14001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14002 /* end confdefs.h. */
14003 int main(int argc, char **argv) { return 0; }
14004 _ACEOF
14005 if ac_fn_c_try_link "$LINENO"; then :
14006 ac_cv_cflags__fno_builtin=yes
14007 else
14008 ac_cv_cflags__fno_builtin=no
14010 rm -f core conftest.err conftest.$ac_objext \
14011 conftest$ac_exeext conftest.$ac_ext
14012 CFLAGS=$ac_wine_try_cflags_saved
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14015 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14016 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14017 BUILTINFLAG="-fno-builtin"
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14021 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14022 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14023 $as_echo_n "(cached) " >&6
14024 else
14025 ac_wine_try_cflags_saved=$CFLAGS
14026 CFLAGS="$CFLAGS -fno-strict-aliasing"
14027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14028 /* end confdefs.h. */
14029 int main(int argc, char **argv) { return 0; }
14030 _ACEOF
14031 if ac_fn_c_try_link "$LINENO"; then :
14032 ac_cv_cflags__fno_strict_aliasing=yes
14033 else
14034 ac_cv_cflags__fno_strict_aliasing=no
14036 rm -f core conftest.err conftest.$ac_objext \
14037 conftest$ac_exeext conftest.$ac_ext
14038 CFLAGS=$ac_wine_try_cflags_saved
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14041 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14042 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14043 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14046 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14047 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14048 $as_echo_n "(cached) " >&6
14049 else
14050 ac_wine_try_cflags_saved=$CFLAGS
14051 CFLAGS="$CFLAGS -fexcess-precision=standard"
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14054 int main(int argc, char **argv) { return 0; }
14055 _ACEOF
14056 if ac_fn_c_try_link "$LINENO"; then :
14057 ac_cv_cflags__fexcess_precision_standard=yes
14058 else
14059 ac_cv_cflags__fexcess_precision_standard=no
14061 rm -f core conftest.err conftest.$ac_objext \
14062 conftest$ac_exeext conftest.$ac_ext
14063 CFLAGS=$ac_wine_try_cflags_saved
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14066 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14067 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14068 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14071 saved_CFLAGS=$CFLAGS
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14073 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14074 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14075 $as_echo_n "(cached) " >&6
14076 else
14077 ac_wine_try_cflags_saved=$CFLAGS
14078 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14081 int main(int argc, char **argv) { return 0; }
14082 _ACEOF
14083 if ac_fn_c_try_link "$LINENO"; then :
14084 ac_cv_cflags__Werror_unknown_warning_option=yes
14085 else
14086 ac_cv_cflags__Werror_unknown_warning_option=no
14088 rm -f core conftest.err conftest.$ac_objext \
14089 conftest$ac_exeext conftest.$ac_ext
14090 CFLAGS=$ac_wine_try_cflags_saved
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14093 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14094 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14095 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14098 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14099 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14100 $as_echo_n "(cached) " >&6
14101 else
14102 ac_wine_try_cflags_saved=$CFLAGS
14103 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14106 int main(int argc, char **argv) { return 0; }
14107 _ACEOF
14108 if ac_fn_c_try_link "$LINENO"; then :
14109 ac_cv_cflags__Wdeclaration_after_statement=yes
14110 else
14111 ac_cv_cflags__Wdeclaration_after_statement=no
14113 rm -f core conftest.err conftest.$ac_objext \
14114 conftest$ac_exeext conftest.$ac_ext
14115 CFLAGS=$ac_wine_try_cflags_saved
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14118 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14119 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14120 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14123 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14124 if ${ac_cv_cflags__Wempty_body+:} false; then :
14125 $as_echo_n "(cached) " >&6
14126 else
14127 ac_wine_try_cflags_saved=$CFLAGS
14128 CFLAGS="$CFLAGS -Wempty-body"
14129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14130 /* end confdefs.h. */
14131 int main(int argc, char **argv) { return 0; }
14132 _ACEOF
14133 if ac_fn_c_try_link "$LINENO"; then :
14134 ac_cv_cflags__Wempty_body=yes
14135 else
14136 ac_cv_cflags__Wempty_body=no
14138 rm -f core conftest.err conftest.$ac_objext \
14139 conftest$ac_exeext conftest.$ac_ext
14140 CFLAGS=$ac_wine_try_cflags_saved
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14143 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14144 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14145 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14148 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14149 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 ac_wine_try_cflags_saved=$CFLAGS
14153 CFLAGS="$CFLAGS -Wignored-qualifiers"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14156 int main(int argc, char **argv) { return 0; }
14157 _ACEOF
14158 if ac_fn_c_try_link "$LINENO"; then :
14159 ac_cv_cflags__Wignored_qualifiers=yes
14160 else
14161 ac_cv_cflags__Wignored_qualifiers=no
14163 rm -f core conftest.err conftest.$ac_objext \
14164 conftest$ac_exeext conftest.$ac_ext
14165 CFLAGS=$ac_wine_try_cflags_saved
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14168 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14169 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14170 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14173 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14174 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14175 $as_echo_n "(cached) " >&6
14176 else
14177 ac_wine_try_cflags_saved=$CFLAGS
14178 CFLAGS="$CFLAGS -Wshift-overflow=2"
14179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14180 /* end confdefs.h. */
14181 int main(int argc, char **argv) { return 0; }
14182 _ACEOF
14183 if ac_fn_c_try_link "$LINENO"; then :
14184 ac_cv_cflags__Wshift_overflow_2=yes
14185 else
14186 ac_cv_cflags__Wshift_overflow_2=no
14188 rm -f core conftest.err conftest.$ac_objext \
14189 conftest$ac_exeext conftest.$ac_ext
14190 CFLAGS=$ac_wine_try_cflags_saved
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14193 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14194 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14195 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14198 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14199 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14200 $as_echo_n "(cached) " >&6
14201 else
14202 ac_wine_try_cflags_saved=$CFLAGS
14203 CFLAGS="$CFLAGS -Wstrict-prototypes"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14206 int main(int argc, char **argv) { return 0; }
14207 _ACEOF
14208 if ac_fn_c_try_link "$LINENO"; then :
14209 ac_cv_cflags__Wstrict_prototypes=yes
14210 else
14211 ac_cv_cflags__Wstrict_prototypes=no
14213 rm -f core conftest.err conftest.$ac_objext \
14214 conftest$ac_exeext conftest.$ac_ext
14215 CFLAGS=$ac_wine_try_cflags_saved
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14218 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14219 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14220 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14223 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14224 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 ac_wine_try_cflags_saved=$CFLAGS
14228 CFLAGS="$CFLAGS -Wtype-limits"
14229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14230 /* end confdefs.h. */
14231 int main(int argc, char **argv) { return 0; }
14232 _ACEOF
14233 if ac_fn_c_try_link "$LINENO"; then :
14234 ac_cv_cflags__Wtype_limits=yes
14235 else
14236 ac_cv_cflags__Wtype_limits=no
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14240 CFLAGS=$ac_wine_try_cflags_saved
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14243 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14244 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14245 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14248 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14249 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14250 $as_echo_n "(cached) " >&6
14251 else
14252 ac_wine_try_cflags_saved=$CFLAGS
14253 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14255 /* end confdefs.h. */
14256 int main(int argc, char **argv) { return 0; }
14257 _ACEOF
14258 if ac_fn_c_try_link "$LINENO"; then :
14259 ac_cv_cflags__Wunused_but_set_parameter=yes
14260 else
14261 ac_cv_cflags__Wunused_but_set_parameter=no
14263 rm -f core conftest.err conftest.$ac_objext \
14264 conftest$ac_exeext conftest.$ac_ext
14265 CFLAGS=$ac_wine_try_cflags_saved
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
14268 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
14269 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
14270 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
14273 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
14274 if ${ac_cv_cflags__Wvla+:} false; then :
14275 $as_echo_n "(cached) " >&6
14276 else
14277 ac_wine_try_cflags_saved=$CFLAGS
14278 CFLAGS="$CFLAGS -Wvla"
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14281 int main(int argc, char **argv) { return 0; }
14282 _ACEOF
14283 if ac_fn_c_try_link "$LINENO"; then :
14284 ac_cv_cflags__Wvla=yes
14285 else
14286 ac_cv_cflags__Wvla=no
14288 rm -f core conftest.err conftest.$ac_objext \
14289 conftest$ac_exeext conftest.$ac_ext
14290 CFLAGS=$ac_wine_try_cflags_saved
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
14293 $as_echo "$ac_cv_cflags__Wvla" >&6; }
14294 if test "x$ac_cv_cflags__Wvla" = xyes; then :
14295 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
14298 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
14299 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
14300 $as_echo_n "(cached) " >&6
14301 else
14302 ac_wine_try_cflags_saved=$CFLAGS
14303 CFLAGS="$CFLAGS -Wwrite-strings"
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14306 int main(int argc, char **argv) { return 0; }
14307 _ACEOF
14308 if ac_fn_c_try_link "$LINENO"; then :
14309 ac_cv_cflags__Wwrite_strings=yes
14310 else
14311 ac_cv_cflags__Wwrite_strings=no
14313 rm -f core conftest.err conftest.$ac_objext \
14314 conftest$ac_exeext conftest.$ac_ext
14315 CFLAGS=$ac_wine_try_cflags_saved
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
14318 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
14319 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
14320 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
14324 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
14325 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
14326 $as_echo_n "(cached) " >&6
14327 else
14328 ac_wine_try_cflags_saved=$CFLAGS
14329 CFLAGS="$CFLAGS -Wpointer-arith"
14330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14332 int main(int argc, char **argv) { return 0; }
14333 _ACEOF
14334 if ac_fn_c_try_link "$LINENO"; then :
14335 ac_cv_cflags__Wpointer_arith=yes
14336 else
14337 ac_cv_cflags__Wpointer_arith=no
14339 rm -f core conftest.err conftest.$ac_objext \
14340 conftest$ac_exeext conftest.$ac_ext
14341 CFLAGS=$ac_wine_try_cflags_saved
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
14344 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
14345 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
14346 saved_string_h_CFLAGS=$CFLAGS
14347 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
14349 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
14350 if ${ac_cv_c_string_h_warnings+:} false; then :
14351 $as_echo_n "(cached) " >&6
14352 else
14353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14354 /* end confdefs.h. */
14355 #include <string.h>
14357 main ()
14361 return 0;
14363 _ACEOF
14364 if ac_fn_c_try_compile "$LINENO"; then :
14365 ac_cv_c_string_h_warnings=no
14366 else
14367 ac_cv_c_string_h_warnings=yes
14369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
14372 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
14373 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14374 CFLAGS=$saved_string_h_CFLAGS
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
14378 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
14379 if ${ac_cv_cflags__Wlogical_op+:} false; then :
14380 $as_echo_n "(cached) " >&6
14381 else
14382 ac_wine_try_cflags_saved=$CFLAGS
14383 CFLAGS="$CFLAGS -Wlogical-op"
14384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14386 int main(int argc, char **argv) { return 0; }
14387 _ACEOF
14388 if ac_fn_c_try_link "$LINENO"; then :
14389 ac_cv_cflags__Wlogical_op=yes
14390 else
14391 ac_cv_cflags__Wlogical_op=no
14393 rm -f core conftest.err conftest.$ac_objext \
14394 conftest$ac_exeext conftest.$ac_ext
14395 CFLAGS=$ac_wine_try_cflags_saved
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
14398 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
14399 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
14400 saved_string_h_CFLAGS=$CFLAGS
14401 CFLAGS="$CFLAGS -Wlogical-op -Werror"
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
14403 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
14404 if ${ac_cv_c_logicalop_noisy+:} false; then :
14405 $as_echo_n "(cached) " >&6
14406 else
14407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14408 /* end confdefs.h. */
14409 #include <string.h>
14410 char*f(const char *h,char n) {return strchr(h,n);}
14412 main ()
14416 return 0;
14418 _ACEOF
14419 if ac_fn_c_try_compile "$LINENO"; then :
14420 ac_cv_c_logicalop_noisy=no
14421 else
14422 ac_cv_c_logicalop_noisy=yes
14424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
14427 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
14428 CFLAGS=$saved_string_h_CFLAGS
14429 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
14432 CFLAGS=$saved_CFLAGS
14434 for ac_flag in $CFLAGS; do
14435 case $ac_flag in
14436 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
14437 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
14438 if ${ac_cv_cflags__gdwarf_2+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 ac_wine_try_cflags_saved=$CFLAGS
14442 CFLAGS="$CFLAGS -gdwarf-2"
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14445 int main(int argc, char **argv) { return 0; }
14446 _ACEOF
14447 if ac_fn_c_try_link "$LINENO"; then :
14448 ac_cv_cflags__gdwarf_2=yes
14449 else
14450 ac_cv_cflags__gdwarf_2=no
14452 rm -f core conftest.err conftest.$ac_objext \
14453 conftest$ac_exeext conftest.$ac_ext
14454 CFLAGS=$ac_wine_try_cflags_saved
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
14457 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
14458 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
14459 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
14462 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
14463 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
14464 $as_echo_n "(cached) " >&6
14465 else
14466 ac_wine_try_cflags_saved=$CFLAGS
14467 CFLAGS="$CFLAGS -gstrict-dwarf"
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14470 int main(int argc, char **argv) { return 0; }
14471 _ACEOF
14472 if ac_fn_c_try_link "$LINENO"; then :
14473 ac_cv_cflags__gstrict_dwarf=yes
14474 else
14475 ac_cv_cflags__gstrict_dwarf=no
14477 rm -f core conftest.err conftest.$ac_objext \
14478 conftest$ac_exeext conftest.$ac_ext
14479 CFLAGS=$ac_wine_try_cflags_saved
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
14482 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
14483 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
14484 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
14485 fi ;;
14486 esac
14487 done
14489 case $host_cpu in
14490 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
14491 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
14492 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
14493 $as_echo_n "(cached) " >&6
14494 else
14495 ac_wine_try_cflags_saved=$CFLAGS
14496 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
14497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14498 /* end confdefs.h. */
14499 int main(int argc, char **argv) { return 0; }
14500 _ACEOF
14501 if ac_fn_c_try_link "$LINENO"; then :
14502 ac_cv_cflags__fno_omit_frame_pointer=yes
14503 else
14504 ac_cv_cflags__fno_omit_frame_pointer=no
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14508 CFLAGS=$ac_wine_try_cflags_saved
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
14511 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
14512 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
14513 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
14514 fi ;;
14515 esac
14517 case $host in
14518 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
14519 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
14520 if ${ac_cv_cflags__Wno_format+:} false; then :
14521 $as_echo_n "(cached) " >&6
14522 else
14523 ac_wine_try_cflags_saved=$CFLAGS
14524 CFLAGS="$CFLAGS -Wno-format"
14525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14526 /* end confdefs.h. */
14527 int main(int argc, char **argv) { return 0; }
14528 _ACEOF
14529 if ac_fn_c_try_link "$LINENO"; then :
14530 ac_cv_cflags__Wno_format=yes
14531 else
14532 ac_cv_cflags__Wno_format=no
14534 rm -f core conftest.err conftest.$ac_objext \
14535 conftest$ac_exeext conftest.$ac_ext
14536 CFLAGS=$ac_wine_try_cflags_saved
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
14539 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
14540 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
14541 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
14542 fi ;;
14543 esac
14545 if test "x$enable_maintainer_mode" = "xyes"
14546 then
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
14548 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
14549 if ${ac_cv_cflags__Werror+:} false; then :
14550 $as_echo_n "(cached) " >&6
14551 else
14552 ac_wine_try_cflags_saved=$CFLAGS
14553 CFLAGS="$CFLAGS -Werror"
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14556 int main(int argc, char **argv) { return 0; }
14557 _ACEOF
14558 if ac_fn_c_try_link "$LINENO"; then :
14559 ac_cv_cflags__Werror=yes
14560 else
14561 ac_cv_cflags__Werror=no
14563 rm -f core conftest.err conftest.$ac_objext \
14564 conftest$ac_exeext conftest.$ac_ext
14565 CFLAGS=$ac_wine_try_cflags_saved
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
14568 $as_echo "$ac_cv_cflags__Werror" >&6; }
14569 if test "x$ac_cv_cflags__Werror" = xyes; then :
14570 EXTRACFLAGS="$EXTRACFLAGS -Werror"
14574 saved_CFLAGS="$CFLAGS"
14575 CFLAGS="$CFLAGS -Werror"
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
14577 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
14578 if ${ac_cv_have_ms_hook_prologue+:} false; then :
14579 $as_echo_n "(cached) " >&6
14580 else
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14583 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
14585 main ()
14589 return 0;
14591 _ACEOF
14592 if ac_fn_c_try_compile "$LINENO"; then :
14593 ac_cv_have_ms_hook_prologue="yes"
14594 else
14595 ac_cv_have_ms_hook_prologue="no"
14597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
14600 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
14601 CFLAGS="$saved_CFLAGS"
14602 if test "$ac_cv_have_ms_hook_prologue" = "yes"
14603 then
14605 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
14607 else
14608 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
14615 $as_echo_n "checking for the need to disable Fortify... " >&6; }
14616 if ${ac_cv_c_fortify_enabled+:} false; then :
14617 $as_echo_n "(cached) " >&6
14618 else
14619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h. */
14621 #include <string.h>
14623 main ()
14625 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
14626 #error Fortify enabled
14627 #endif
14629 return 0;
14631 _ACEOF
14632 if ac_fn_c_try_compile "$LINENO"; then :
14633 ac_cv_c_fortify_enabled=no
14634 else
14635 ac_cv_c_fortify_enabled=yes
14637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
14640 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
14641 if test "$ac_cv_c_fortify_enabled" = yes
14642 then
14643 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
14648 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
14649 if ${ac_cv_c_extern_prefix+:} false; then :
14650 $as_echo_n "(cached) " >&6
14651 else
14652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14653 /* end confdefs.h. */
14654 extern int ac_test;
14656 main ()
14658 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14660 return 0;
14662 _ACEOF
14663 if ac_fn_c_try_link "$LINENO"; then :
14664 ac_cv_c_extern_prefix="yes"
14665 else
14666 ac_cv_c_extern_prefix="no"
14668 rm -f core conftest.err conftest.$ac_objext \
14669 conftest$ac_exeext conftest.$ac_ext
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
14672 $as_echo "$ac_cv_c_extern_prefix" >&6; }
14674 case $host_cpu in
14675 *i[3456789]86*)
14676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
14677 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
14678 if ${ac_cv_c_stdcall_suffix+:} false; then :
14679 $as_echo_n "(cached) " >&6
14680 else
14681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14682 /* end confdefs.h. */
14683 #ifndef _MSC_VER
14684 #define __stdcall __attribute__((__stdcall__))
14685 #endif
14686 int __stdcall ac_test(int i) { return i; }
14688 main ()
14690 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
14692 return 0;
14694 _ACEOF
14695 if ac_fn_c_try_link "$LINENO"; then :
14696 ac_cv_c_stdcall_suffix="yes"
14697 else
14698 ac_cv_c_stdcall_suffix="no"
14700 rm -f core conftest.err conftest.$ac_objext \
14701 conftest$ac_exeext conftest.$ac_ext
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
14704 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
14705 *) ac_cv_c_stdcall_suffix="no" ;;
14706 esac
14709 if test "$ac_cv_c_extern_prefix" = "yes"
14710 then
14711 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
14713 asm_name_prefix="_"
14714 else
14715 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
14717 asm_name_prefix=""
14721 if test "$ac_cv_c_stdcall_suffix" = "yes"
14722 then
14723 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
14725 else
14726 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
14732 $as_echo_n "checking how to define a function in assembly code... " >&6; }
14733 if ${ac_cv_asm_func_def+:} false; then :
14734 $as_echo_n "(cached) " >&6
14735 else
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14740 main ()
14742 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14744 return 0;
14746 _ACEOF
14747 if ac_fn_c_try_link "$LINENO"; then :
14748 ac_cv_asm_func_def=".def"
14749 else
14750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751 /* end confdefs.h. */
14754 main ()
14756 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14758 return 0;
14760 _ACEOF
14761 if ac_fn_c_try_link "$LINENO"; then :
14762 ac_cv_asm_func_def=".type @function"
14763 else
14764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14765 /* end confdefs.h. */
14768 main ()
14770 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14772 return 0;
14774 _ACEOF
14775 if ac_fn_c_try_link "$LINENO"; then :
14776 ac_cv_asm_func_def=".type 2"
14777 else
14778 ac_cv_asm_func_def="unknown"
14780 rm -f core conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext conftest.$ac_ext
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
14790 $as_echo "$ac_cv_asm_func_def" >&6; }
14793 case "$ac_cv_asm_func_def" in
14794 ".def")
14795 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
14797 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
14798 ".type @function")
14799 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
14801 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
14802 ".type 2")
14803 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
14805 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
14807 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
14809 asm_func_header="" ;;
14810 esac
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
14813 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
14814 if ${ac_cv_c_asm_outside_funcs+:} false; then :
14815 $as_echo_n "(cached) " >&6
14816 else
14817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14818 /* end confdefs.h. */
14819 asm(".text\n\t.long 0");
14821 main ()
14825 return 0;
14827 _ACEOF
14828 if ac_fn_c_try_compile "$LINENO"; then :
14829 ac_cv_c_asm_outside_funcs="yes"
14830 else
14831 ac_cv_c_asm_outside_funcs="no"
14833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
14836 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
14839 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
14840 if ${ac_cv_c_dot_previous+:} false; then :
14841 $as_echo_n "(cached) " >&6
14842 else
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14847 main ()
14849 asm(".text\nac_test:\t.long 0\n\t.previous");
14851 return 0;
14853 _ACEOF
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 ac_cv_c_dot_previous="yes"
14856 else
14857 ac_cv_c_dot_previous="no"
14859 rm -f core conftest.err conftest.$ac_objext \
14860 conftest$ac_exeext conftest.$ac_ext
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
14863 $as_echo "$ac_cv_c_dot_previous" >&6; }
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
14866 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
14867 if ${ac_cv_c_cfi_support+:} false; then :
14868 $as_echo_n "(cached) " >&6
14869 else
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14872 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
14874 main ()
14878 return 0;
14880 _ACEOF
14881 if ac_fn_c_try_compile "$LINENO"; then :
14882 ac_cv_c_cfi_support="yes"
14883 else
14884 ac_cv_c_cfi_support="no"
14886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
14889 $as_echo "$ac_cv_c_cfi_support" >&6; }
14891 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
14892 asm_func_trailer=""
14893 if test "$ac_cv_c_dot_previous" = "yes"
14894 then
14895 asm_func_trailer="\\n\\t.previous"
14897 if test "$ac_cv_c_cfi_support" = "yes"
14898 then
14899 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
14900 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
14902 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
14904 UNWINDFLAGS=-fasynchronous-unwind-tables
14906 else
14907 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
14909 if test "x$enable_win64" = "xyes"
14910 then
14911 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
14915 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
14918 if test "$ac_cv_c_asm_outside_funcs" = "yes"
14919 then
14920 cat >>confdefs.h <<_ACEOF
14921 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
14922 _ACEOF
14924 else
14925 cat >>confdefs.h <<_ACEOF
14926 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
14927 _ACEOF
14931 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
14934 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
14938 case $build_os in
14939 cygwin*|mingw32*) TOOLSEXT=".exe"
14941 esac
14943 case $host_os in
14944 linux-android*) ;;
14945 linux*)
14946 case $host_cpu in
14947 *i[3456789]86*|x86_64*)
14948 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine-preloader"
14949 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
14951 esac
14953 esac
14956 ac_save_CFLAGS="$CFLAGS"
14957 CFLAGS="$CFLAGS $BUILTINFLAG"
14958 for ac_func in \
14959 __res_get_state \
14960 __res_getservers \
14961 _finite \
14962 _isnan \
14963 _pclose \
14964 _popen \
14965 _snprintf \
14966 _spawnvp \
14967 _strdup \
14968 _stricmp \
14969 _strnicmp \
14970 _strtoi64 \
14971 _strtoui64 \
14972 _vsnprintf \
14973 asctime_r \
14974 chsize \
14975 dlopen \
14976 epoll_create \
14977 ffs \
14978 finitef \
14979 fnmatch \
14980 fork \
14981 fpclass \
14982 fstatfs \
14983 fstatvfs \
14984 ftruncate \
14985 futimens \
14986 futimes \
14987 futimesat \
14988 getattrlist \
14989 getdirentries \
14990 getopt_long_only \
14991 getpwuid \
14992 gettimeofday \
14993 getuid \
14994 if_nameindex \
14995 isnanf \
14996 kqueue \
14997 lstat \
14998 memmove \
14999 mmap \
15000 pclose \
15001 pipe2 \
15002 poll \
15003 popen \
15004 port_create \
15005 prctl \
15006 pread \
15007 proc_pidinfo \
15008 pwrite \
15009 readdir \
15010 readlink \
15011 sched_yield \
15012 select \
15013 setproctitle \
15014 setrlimit \
15015 settimeofday \
15016 sigaltstack \
15017 sigprocmask \
15018 snprintf \
15019 statfs \
15020 statvfs \
15021 strcasecmp \
15022 strdup \
15023 strerror \
15024 strncasecmp \
15025 strtold \
15026 strtoll \
15027 strtoull \
15028 symlink \
15029 tcdrain \
15030 thr_kill2 \
15031 timegm \
15032 usleep \
15033 vsnprintf
15035 do :
15036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15038 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15039 cat >>confdefs.h <<_ACEOF
15040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15041 _ACEOF
15044 done
15046 CFLAGS="$ac_save_CFLAGS"
15048 if test "$ac_cv_func_dlopen" = no
15049 then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15051 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15052 if ${ac_cv_lib_dl_dlopen+:} false; then :
15053 $as_echo_n "(cached) " >&6
15054 else
15055 ac_check_lib_save_LIBS=$LIBS
15056 LIBS="-ldl $LIBS"
15057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15058 /* end confdefs.h. */
15060 /* Override any GCC internal prototype to avoid an error.
15061 Use char because int might match the return type of a GCC
15062 builtin and then its argument prototype would still apply. */
15063 #ifdef __cplusplus
15064 extern "C"
15065 #endif
15066 char dlopen ();
15068 main ()
15070 return dlopen ();
15072 return 0;
15074 _ACEOF
15075 if ac_fn_c_try_link "$LINENO"; then :
15076 ac_cv_lib_dl_dlopen=yes
15077 else
15078 ac_cv_lib_dl_dlopen=no
15080 rm -f core conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_check_lib_save_LIBS
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15085 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15086 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15087 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15088 DL_LIBS="-ldl"
15093 ac_wine_check_funcs_save_LIBS="$LIBS"
15094 LIBS="$LIBS $DL_LIBS"
15095 for ac_func in dladdr
15096 do :
15097 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15098 if test "x$ac_cv_func_dladdr" = xyes; then :
15099 cat >>confdefs.h <<_ACEOF
15100 #define HAVE_DLADDR 1
15101 _ACEOF
15104 done
15106 LIBS="$ac_wine_check_funcs_save_LIBS"
15108 if test "$ac_cv_func_poll" = no
15109 then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15111 $as_echo_n "checking for poll in -lpoll... " >&6; }
15112 if ${ac_cv_lib_poll_poll+:} false; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_check_lib_save_LIBS=$LIBS
15116 LIBS="-lpoll $LIBS"
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15120 /* Override any GCC internal prototype to avoid an error.
15121 Use char because int might match the return type of a GCC
15122 builtin and then its argument prototype would still apply. */
15123 #ifdef __cplusplus
15124 extern "C"
15125 #endif
15126 char poll ();
15128 main ()
15130 return poll ();
15132 return 0;
15134 _ACEOF
15135 if ac_fn_c_try_link "$LINENO"; then :
15136 ac_cv_lib_poll_poll=yes
15137 else
15138 ac_cv_lib_poll_poll=no
15140 rm -f core conftest.err conftest.$ac_objext \
15141 conftest$ac_exeext conftest.$ac_ext
15142 LIBS=$ac_check_lib_save_LIBS
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15145 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15146 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15147 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15148 POLL_LIBS="-lpoll"
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15155 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15156 if ${ac_cv_search_gethostbyname+:} false; then :
15157 $as_echo_n "(cached) " >&6
15158 else
15159 ac_func_search_save_LIBS=$LIBS
15160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15161 /* end confdefs.h. */
15163 /* Override any GCC internal prototype to avoid an error.
15164 Use char because int might match the return type of a GCC
15165 builtin and then its argument prototype would still apply. */
15166 #ifdef __cplusplus
15167 extern "C"
15168 #endif
15169 char gethostbyname ();
15171 main ()
15173 return gethostbyname ();
15175 return 0;
15177 _ACEOF
15178 for ac_lib in '' nsl; do
15179 if test -z "$ac_lib"; then
15180 ac_res="none required"
15181 else
15182 ac_res=-l$ac_lib
15183 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15185 if ac_fn_c_try_link "$LINENO"; then :
15186 ac_cv_search_gethostbyname=$ac_res
15188 rm -f core conftest.err conftest.$ac_objext \
15189 conftest$ac_exeext
15190 if ${ac_cv_search_gethostbyname+:} false; then :
15191 break
15193 done
15194 if ${ac_cv_search_gethostbyname+:} false; then :
15196 else
15197 ac_cv_search_gethostbyname=no
15199 rm conftest.$ac_ext
15200 LIBS=$ac_func_search_save_LIBS
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15203 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15204 ac_res=$ac_cv_search_gethostbyname
15205 if test "$ac_res" != no; then :
15206 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15212 $as_echo_n "checking for library containing connect... " >&6; }
15213 if ${ac_cv_search_connect+:} false; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216 ac_func_search_save_LIBS=$LIBS
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15220 /* Override any GCC internal prototype to avoid an error.
15221 Use char because int might match the return type of a GCC
15222 builtin and then its argument prototype would still apply. */
15223 #ifdef __cplusplus
15224 extern "C"
15225 #endif
15226 char connect ();
15228 main ()
15230 return connect ();
15232 return 0;
15234 _ACEOF
15235 for ac_lib in '' socket; do
15236 if test -z "$ac_lib"; then
15237 ac_res="none required"
15238 else
15239 ac_res=-l$ac_lib
15240 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15242 if ac_fn_c_try_link "$LINENO"; then :
15243 ac_cv_search_connect=$ac_res
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext
15247 if ${ac_cv_search_connect+:} false; then :
15248 break
15250 done
15251 if ${ac_cv_search_connect+:} false; then :
15253 else
15254 ac_cv_search_connect=no
15256 rm conftest.$ac_ext
15257 LIBS=$ac_func_search_save_LIBS
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
15260 $as_echo "$ac_cv_search_connect" >&6; }
15261 ac_res=$ac_cv_search_connect
15262 if test "$ac_res" != no; then :
15263 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
15269 $as_echo_n "checking for library containing inet_aton... " >&6; }
15270 if ${ac_cv_search_inet_aton+:} false; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273 ac_func_search_save_LIBS=$LIBS
15274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15275 /* end confdefs.h. */
15277 /* Override any GCC internal prototype to avoid an error.
15278 Use char because int might match the return type of a GCC
15279 builtin and then its argument prototype would still apply. */
15280 #ifdef __cplusplus
15281 extern "C"
15282 #endif
15283 char inet_aton ();
15285 main ()
15287 return inet_aton ();
15289 return 0;
15291 _ACEOF
15292 for ac_lib in '' resolv; do
15293 if test -z "$ac_lib"; then
15294 ac_res="none required"
15295 else
15296 ac_res=-l$ac_lib
15297 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15299 if ac_fn_c_try_link "$LINENO"; then :
15300 ac_cv_search_inet_aton=$ac_res
15302 rm -f core conftest.err conftest.$ac_objext \
15303 conftest$ac_exeext
15304 if ${ac_cv_search_inet_aton+:} false; then :
15305 break
15307 done
15308 if ${ac_cv_search_inet_aton+:} false; then :
15310 else
15311 ac_cv_search_inet_aton=no
15313 rm conftest.$ac_ext
15314 LIBS=$ac_func_search_save_LIBS
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
15317 $as_echo "$ac_cv_search_inet_aton" >&6; }
15318 ac_res=$ac_cv_search_inet_aton
15319 if test "$ac_res" != no; then :
15320 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15325 for ac_func in \
15326 getaddrinfo \
15327 getnameinfo \
15328 getnetbyname \
15329 getprotobyname \
15330 getprotobynumber \
15331 getservbyport \
15332 inet_addr \
15333 inet_network \
15334 inet_ntop \
15335 inet_pton \
15336 sendmsg \
15337 socketpair \
15339 do :
15340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15343 cat >>confdefs.h <<_ACEOF
15344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15345 _ACEOF
15348 done
15351 ac_save_LIBS=$LIBS
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
15353 $as_echo_n "checking for library containing clock_gettime... " >&6; }
15354 if ${ac_cv_search_clock_gettime+:} false; then :
15355 $as_echo_n "(cached) " >&6
15356 else
15357 ac_func_search_save_LIBS=$LIBS
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15361 /* Override any GCC internal prototype to avoid an error.
15362 Use char because int might match the return type of a GCC
15363 builtin and then its argument prototype would still apply. */
15364 #ifdef __cplusplus
15365 extern "C"
15366 #endif
15367 char clock_gettime ();
15369 main ()
15371 return clock_gettime ();
15373 return 0;
15375 _ACEOF
15376 for ac_lib in '' rt; do
15377 if test -z "$ac_lib"; then
15378 ac_res="none required"
15379 else
15380 ac_res=-l$ac_lib
15381 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15383 if ac_fn_c_try_link "$LINENO"; then :
15384 ac_cv_search_clock_gettime=$ac_res
15386 rm -f core conftest.err conftest.$ac_objext \
15387 conftest$ac_exeext
15388 if ${ac_cv_search_clock_gettime+:} false; then :
15389 break
15391 done
15392 if ${ac_cv_search_clock_gettime+:} false; then :
15394 else
15395 ac_cv_search_clock_gettime=no
15397 rm conftest.$ac_ext
15398 LIBS=$ac_func_search_save_LIBS
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
15401 $as_echo "$ac_cv_search_clock_gettime" >&6; }
15402 ac_res=$ac_cv_search_clock_gettime
15403 if test "$ac_res" != no; then :
15404 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15406 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
15408 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
15412 LIBS=$ac_save_LIBS
15414 LDAP_LIBS=""
15416 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
15417 then
15418 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
15420 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
15422 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
15423 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
15424 $as_echo_n "(cached) " >&6
15425 else
15426 ac_check_lib_save_LIBS=$LIBS
15427 LIBS="-lldap_r $PTHREAD_LIBS $LIBS"
15428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15429 /* end confdefs.h. */
15431 /* Override any GCC internal prototype to avoid an error.
15432 Use char because int might match the return type of a GCC
15433 builtin and then its argument prototype would still apply. */
15434 #ifdef __cplusplus
15435 extern "C"
15436 #endif
15437 char ldap_initialize ();
15439 main ()
15441 return ldap_initialize ();
15443 return 0;
15445 _ACEOF
15446 if ac_fn_c_try_link "$LINENO"; then :
15447 ac_cv_lib_ldap_r_ldap_initialize=yes
15448 else
15449 ac_cv_lib_ldap_r_ldap_initialize=no
15451 rm -f core conftest.err conftest.$ac_objext \
15452 conftest$ac_exeext conftest.$ac_ext
15453 LIBS=$ac_check_lib_save_LIBS
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
15456 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
15457 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
15459 $as_echo_n "checking for ber_init in -llber... " >&6; }
15460 if ${ac_cv_lib_lber_ber_init+:} false; then :
15461 $as_echo_n "(cached) " >&6
15462 else
15463 ac_check_lib_save_LIBS=$LIBS
15464 LIBS="-llber $PTHREAD_LIBS $LIBS"
15465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15466 /* end confdefs.h. */
15468 /* Override any GCC internal prototype to avoid an error.
15469 Use char because int might match the return type of a GCC
15470 builtin and then its argument prototype would still apply. */
15471 #ifdef __cplusplus
15472 extern "C"
15473 #endif
15474 char ber_init ();
15476 main ()
15478 return ber_init ();
15480 return 0;
15482 _ACEOF
15483 if ac_fn_c_try_link "$LINENO"; then :
15484 ac_cv_lib_lber_ber_init=yes
15485 else
15486 ac_cv_lib_lber_ber_init=no
15488 rm -f core conftest.err conftest.$ac_objext \
15489 conftest$ac_exeext conftest.$ac_ext
15490 LIBS=$ac_check_lib_save_LIBS
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
15493 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
15494 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
15496 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
15498 LDAP_LIBS="-lldap_r -llber"
15505 ac_wine_check_funcs_save_LIBS="$LIBS"
15506 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
15507 for ac_func in \
15508 ldap_count_references \
15509 ldap_first_reference \
15510 ldap_next_reference \
15511 ldap_parse_reference \
15512 ldap_parse_sort_control \
15513 ldap_parse_sortresponse_control \
15514 ldap_parse_vlv_control \
15515 ldap_parse_vlvresponse_control
15516 do :
15517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15519 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15520 cat >>confdefs.h <<_ACEOF
15521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15522 _ACEOF
15525 done
15527 LIBS="$ac_wine_check_funcs_save_LIBS"
15529 if test "x$LDAP_LIBS" = "x"; then :
15530 case "x$with_ldap" in
15531 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
15532 xno) ;;
15533 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
15534 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
15535 esac
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
15539 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
15540 if ${wine_cv_one_arg_mkdir+:} false; then :
15541 $as_echo_n "(cached) " >&6
15542 else
15543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15544 /* end confdefs.h. */
15545 #include <sys/stat.h>
15547 main ()
15549 mkdir("foo");
15551 return 0;
15553 _ACEOF
15554 if ac_fn_c_try_compile "$LINENO"; then :
15555 wine_cv_one_arg_mkdir=yes
15556 else
15557 wine_cv_one_arg_mkdir=no
15559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
15562 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
15563 if test "$wine_cv_one_arg_mkdir" = "yes"
15564 then
15566 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
15571 $as_echo_n "checking for sched_setaffinity... " >&6; }
15572 if ${wine_cv_have_sched_setaffinity+:} false; then :
15573 $as_echo_n "(cached) " >&6
15574 else
15575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15576 /* end confdefs.h. */
15577 #define _GNU_SOURCE
15578 #include <sched.h>
15580 main ()
15582 sched_setaffinity(0, 0, 0);
15584 return 0;
15586 _ACEOF
15587 if ac_fn_c_try_link "$LINENO"; then :
15588 wine_cv_have_sched_setaffinity=yes
15589 else
15590 wine_cv_have_sched_setaffinity=no
15592 rm -f core conftest.err conftest.$ac_objext \
15593 conftest$ac_exeext conftest.$ac_ext
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
15596 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
15597 if test "$wine_cv_have_sched_setaffinity" = "yes"
15598 then
15600 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
15604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
15605 $as_echo_n "checking for fallocate... " >&6; }
15606 if ${wine_cv_have_fallocate+:} false; then :
15607 $as_echo_n "(cached) " >&6
15608 else
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15611 #define _GNU_SOURCE
15612 #include <fcntl.h>
15614 main ()
15616 fallocate(-1, 0, 0, 0);
15618 return 0;
15620 _ACEOF
15621 if ac_fn_c_try_link "$LINENO"; then :
15622 wine_cv_have_fallocate=yes
15623 else
15624 wine_cv_have_fallocate=no
15626 rm -f core conftest.err conftest.$ac_objext \
15627 conftest$ac_exeext conftest.$ac_ext
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
15630 $as_echo "$wine_cv_have_fallocate" >&6; }
15631 if test "$wine_cv_have_fallocate" = "yes"
15632 then
15634 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15640 $as_echo_n "checking for inline... " >&6; }
15641 if ${ac_cv_c_inline+:} false; then :
15642 $as_echo_n "(cached) " >&6
15643 else
15644 ac_cv_c_inline=no
15645 for ac_kw in inline __inline__ __inline; do
15646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15647 /* end confdefs.h. */
15648 #ifndef __cplusplus
15649 typedef int foo_t;
15650 static $ac_kw foo_t static_foo () {return 0; }
15651 $ac_kw foo_t foo () {return 0; }
15652 #endif
15654 _ACEOF
15655 if ac_fn_c_try_compile "$LINENO"; then :
15656 ac_cv_c_inline=$ac_kw
15658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15659 test "$ac_cv_c_inline" != no && break
15660 done
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15664 $as_echo "$ac_cv_c_inline" >&6; }
15666 case $ac_cv_c_inline in
15667 inline | yes) ;;
15669 case $ac_cv_c_inline in
15670 no) ac_val=;;
15671 *) ac_val=$ac_cv_c_inline;;
15672 esac
15673 cat >>confdefs.h <<_ACEOF
15674 #ifndef __cplusplus
15675 #define inline $ac_val
15676 #endif
15677 _ACEOF
15679 esac
15681 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
15682 if test "x$ac_cv_type_mode_t" = xyes; then :
15684 cat >>confdefs.h <<_ACEOF
15685 #define HAVE_MODE_T 1
15686 _ACEOF
15690 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15691 if test "x$ac_cv_type_off_t" = xyes; then :
15693 cat >>confdefs.h <<_ACEOF
15694 #define HAVE_OFF_T 1
15695 _ACEOF
15699 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15700 if test "x$ac_cv_type_pid_t" = xyes; then :
15702 cat >>confdefs.h <<_ACEOF
15703 #define HAVE_PID_T 1
15704 _ACEOF
15708 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15709 if test "x$ac_cv_type_size_t" = xyes; then :
15711 cat >>confdefs.h <<_ACEOF
15712 #define HAVE_SIZE_T 1
15713 _ACEOF
15717 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15718 if test "x$ac_cv_type_ssize_t" = xyes; then :
15720 cat >>confdefs.h <<_ACEOF
15721 #define HAVE_SSIZE_T 1
15722 _ACEOF
15726 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
15727 if test "x$ac_cv_type_long_long" = xyes; then :
15729 cat >>confdefs.h <<_ACEOF
15730 #define HAVE_LONG_LONG 1
15731 _ACEOF
15735 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
15736 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
15738 cat >>confdefs.h <<_ACEOF
15739 #define HAVE_FSBLKCNT_T 1
15740 _ACEOF
15744 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
15745 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
15747 cat >>confdefs.h <<_ACEOF
15748 #define HAVE_FSFILCNT_T 1
15749 _ACEOF
15754 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
15755 #include <signal.h>
15757 if test "x$ac_cv_type_sigset_t" = xyes; then :
15759 cat >>confdefs.h <<_ACEOF
15760 #define HAVE_SIGSET_T 1
15761 _ACEOF
15766 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
15768 if test "x$ac_cv_type_request_sense" = xyes; then :
15770 cat >>confdefs.h <<_ACEOF
15771 #define HAVE_REQUEST_SENSE 1
15772 _ACEOF
15778 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
15779 #ifdef HAVE_SYS_SOCKET_H
15780 #include <sys/socket.h>
15781 #endif
15782 #ifdef HAVE_SYS_SOCKETVAR_H
15783 #include <sys/socketvar.h>
15784 #endif
15785 #ifdef HAVE_NET_ROUTE_H
15786 #include <net/route.h>
15787 #endif
15788 #ifdef HAVE_NETINET_IN_H
15789 #include <netinet/in.h>
15790 #endif
15791 #ifdef HAVE_NETINET_IN_SYSTM_H
15792 #include <netinet/in_systm.h>
15793 #endif
15794 #ifdef HAVE_NETINET_IP_H
15795 #include <netinet/ip.h>
15796 #endif
15797 #ifdef HAVE_NETINET_IN_PCB_H
15798 #include <netinet/in_pcb.h>
15799 #endif
15801 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
15803 cat >>confdefs.h <<_ACEOF
15804 #define HAVE_STRUCT_XINPGEN 1
15805 _ACEOF
15811 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
15812 #include <link.h>
15813 #endif
15814 #ifdef HAVE_SYS_LINK_H
15815 #include <sys/link.h>
15816 #endif
15818 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
15820 cat >>confdefs.h <<_ACEOF
15821 #define HAVE_STRUCT_R_DEBUG 1
15822 _ACEOF
15826 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
15827 #include <link.h>
15828 #endif
15829 #ifdef HAVE_SYS_LINK_H
15830 #include <sys/link.h>
15831 #endif
15833 if test "x$ac_cv_type_struct_link_map" = xyes; then :
15835 cat >>confdefs.h <<_ACEOF
15836 #define HAVE_STRUCT_LINK_MAP 1
15837 _ACEOF
15843 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
15844 #include <linux/input.h>
15845 #endif
15847 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
15849 cat >>confdefs.h <<_ACEOF
15850 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15851 _ACEOF
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
15858 $as_echo_n "checking for sigaddset... " >&6; }
15859 if ${wine_cv_have_sigaddset+:} false; then :
15860 $as_echo_n "(cached) " >&6
15861 else
15862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15863 /* end confdefs.h. */
15864 #include <signal.h>
15866 main ()
15868 sigset_t set; sigaddset(&set,SIGTERM);
15870 return 0;
15872 _ACEOF
15873 if ac_fn_c_try_link "$LINENO"; then :
15874 wine_cv_have_sigaddset=yes
15875 else
15876 wine_cv_have_sigaddset=no
15878 rm -f core conftest.err conftest.$ac_objext \
15879 conftest$ac_exeext conftest.$ac_ext
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
15882 $as_echo "$wine_cv_have_sigaddset" >&6; }
15883 if test "$wine_cv_have_sigaddset" = "yes"
15884 then
15886 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
15891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15892 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
15893 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
15894 $as_echo_n "(cached) " >&6
15895 else
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15898 #include <netdb.h>
15900 main ()
15903 char *name=0;
15904 struct hostent he;
15905 struct hostent *result;
15906 char *buf=0;
15907 int bufsize=0;
15908 int errnr;
15909 char *addr=0;
15910 int addrlen=0;
15911 int addrtype=0;
15912 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15913 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15916 return 0;
15918 _ACEOF
15919 if ac_fn_c_try_link "$LINENO"; then :
15920 wine_cv_linux_gethostbyname_r_6=yes
15921 else
15922 wine_cv_linux_gethostbyname_r_6=no
15925 rm -f core conftest.err conftest.$ac_objext \
15926 conftest$ac_exeext conftest.$ac_ext
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
15930 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
15931 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15932 then
15934 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
15938 if test "$ac_cv_header_linux_joystick_h" = "yes"
15939 then
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15941 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
15942 if ${wine_cv_linux_joystick_22_api+:} false; then :
15943 $as_echo_n "(cached) " >&6
15944 else
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15948 #include <sys/ioctl.h>
15949 #include <sys/types.h>
15950 #include <linux/joystick.h>
15952 struct js_event blub;
15953 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15954 #error "no 2.2 header"
15955 #endif
15958 main ()
15960 /*empty*/
15962 return 0;
15964 _ACEOF
15965 if ac_fn_c_try_compile "$LINENO"; then :
15966 wine_cv_linux_joystick_22_api=yes
15967 else
15968 wine_cv_linux_joystick_22_api=no
15970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
15974 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
15975 if test "$wine_cv_linux_joystick_22_api" = "yes"
15976 then
15978 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
15984 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
15985 #ifdef HAVE_SYS_PARAM_H
15986 # include <sys/param.h>
15987 #endif
15988 #ifdef HAVE_SYS_MOUNT_H
15989 # include <sys/mount.h>
15990 #endif
15991 #ifdef HAVE_SYS_VFS_H
15992 # include <sys/vfs.h>
15993 #endif
15994 #ifdef HAVE_SYS_STATFS_H
15995 # include <sys/statfs.h>
15996 #endif
15998 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16000 cat >>confdefs.h <<_ACEOF
16001 #define HAVE_STRUCT_STATFS_F_BFREE 1
16002 _ACEOF
16006 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16007 #ifdef HAVE_SYS_PARAM_H
16008 # include <sys/param.h>
16009 #endif
16010 #ifdef HAVE_SYS_MOUNT_H
16011 # include <sys/mount.h>
16012 #endif
16013 #ifdef HAVE_SYS_VFS_H
16014 # include <sys/vfs.h>
16015 #endif
16016 #ifdef HAVE_SYS_STATFS_H
16017 # include <sys/statfs.h>
16018 #endif
16020 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16022 cat >>confdefs.h <<_ACEOF
16023 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16024 _ACEOF
16028 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16029 #ifdef HAVE_SYS_PARAM_H
16030 # include <sys/param.h>
16031 #endif
16032 #ifdef HAVE_SYS_MOUNT_H
16033 # include <sys/mount.h>
16034 #endif
16035 #ifdef HAVE_SYS_VFS_H
16036 # include <sys/vfs.h>
16037 #endif
16038 #ifdef HAVE_SYS_STATFS_H
16039 # include <sys/statfs.h>
16040 #endif
16042 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16044 cat >>confdefs.h <<_ACEOF
16045 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16046 _ACEOF
16050 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16051 #ifdef HAVE_SYS_PARAM_H
16052 # include <sys/param.h>
16053 #endif
16054 #ifdef HAVE_SYS_MOUNT_H
16055 # include <sys/mount.h>
16056 #endif
16057 #ifdef HAVE_SYS_VFS_H
16058 # include <sys/vfs.h>
16059 #endif
16060 #ifdef HAVE_SYS_STATFS_H
16061 # include <sys/statfs.h>
16062 #endif
16064 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16066 cat >>confdefs.h <<_ACEOF
16067 #define HAVE_STRUCT_STATFS_F_FFREE 1
16068 _ACEOF
16072 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16073 #ifdef HAVE_SYS_PARAM_H
16074 # include <sys/param.h>
16075 #endif
16076 #ifdef HAVE_SYS_MOUNT_H
16077 # include <sys/mount.h>
16078 #endif
16079 #ifdef HAVE_SYS_VFS_H
16080 # include <sys/vfs.h>
16081 #endif
16082 #ifdef HAVE_SYS_STATFS_H
16083 # include <sys/statfs.h>
16084 #endif
16086 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16088 cat >>confdefs.h <<_ACEOF
16089 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16090 _ACEOF
16094 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16095 #ifdef HAVE_SYS_PARAM_H
16096 # include <sys/param.h>
16097 #endif
16098 #ifdef HAVE_SYS_MOUNT_H
16099 # include <sys/mount.h>
16100 #endif
16101 #ifdef HAVE_SYS_VFS_H
16102 # include <sys/vfs.h>
16103 #endif
16104 #ifdef HAVE_SYS_STATFS_H
16105 # include <sys/statfs.h>
16106 #endif
16108 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16110 cat >>confdefs.h <<_ACEOF
16111 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16112 _ACEOF
16118 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16119 #include <sys/statvfs.h>
16120 #endif
16122 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16124 cat >>confdefs.h <<_ACEOF
16125 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16126 _ACEOF
16132 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16133 #include <dirent.h>
16134 #endif
16136 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16138 cat >>confdefs.h <<_ACEOF
16139 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16140 _ACEOF
16146 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16147 #ifdef HAVE_SYS_SOCKET_H
16148 # include <sys/socket.h>
16149 #endif
16150 #ifdef HAVE_SYS_UN_H
16151 # include <sys/un.h>
16152 #endif
16154 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16156 cat >>confdefs.h <<_ACEOF
16157 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16158 _ACEOF
16162 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16163 #ifdef HAVE_SYS_SOCKET_H
16164 # include <sys/socket.h>
16165 #endif
16166 #ifdef HAVE_SYS_UN_H
16167 # include <sys/un.h>
16168 #endif
16170 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
16172 cat >>confdefs.h <<_ACEOF
16173 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
16174 _ACEOF
16178 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
16179 #ifdef HAVE_SYS_SOCKET_H
16180 # include <sys/socket.h>
16181 #endif
16182 #ifdef HAVE_SYS_UN_H
16183 # include <sys/un.h>
16184 #endif
16186 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
16188 cat >>confdefs.h <<_ACEOF
16189 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
16190 _ACEOF
16196 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
16197 #ifdef HAVE_SCSI_SG_H
16198 #include <scsi/sg.h>
16199 #endif
16201 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
16203 cat >>confdefs.h <<_ACEOF
16204 #define HAVE_SCSIREQ_T_CMD 1
16205 _ACEOF
16209 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>
16210 #ifdef HAVE_SCSI_SG_H
16211 #include <scsi/sg.h>
16212 #endif
16214 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
16216 cat >>confdefs.h <<_ACEOF
16217 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
16218 _ACEOF
16224 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
16226 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
16228 cat >>confdefs.h <<_ACEOF
16229 #define HAVE_SIGINFO_T_SI_FD 1
16230 _ACEOF
16236 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
16237 #ifdef HAVE_SYS_MTIO_H
16238 #include <sys/mtio.h>
16239 #endif
16241 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
16245 _ACEOF
16249 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#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_gstat" = xyes; then :
16256 cat >>confdefs.h <<_ACEOF
16257 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
16258 _ACEOF
16262 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#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_blkno" = xyes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
16271 _ACEOF
16277 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
16278 #include <getopt.h>
16279 #endif
16281 if test "x$ac_cv_member_struct_option_name" = xyes; then :
16283 cat >>confdefs.h <<_ACEOF
16284 #define HAVE_STRUCT_OPTION_NAME 1
16285 _ACEOF
16291 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16292 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
16294 cat >>confdefs.h <<_ACEOF
16295 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16296 _ACEOF
16300 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
16301 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_STRUCT_STAT_ST_MTIM 1
16305 _ACEOF
16309 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
16310 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
16314 _ACEOF
16318 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
16319 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
16321 cat >>confdefs.h <<_ACEOF
16322 #define HAVE_STRUCT_STAT_ST_CTIM 1
16323 _ACEOF
16327 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
16328 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
16330 cat >>confdefs.h <<_ACEOF
16331 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
16332 _ACEOF
16336 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
16337 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
16339 cat >>confdefs.h <<_ACEOF
16340 #define HAVE_STRUCT_STAT_ST_ATIM 1
16341 _ACEOF
16345 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
16346 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
16350 _ACEOF
16354 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
16355 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
16357 cat >>confdefs.h <<_ACEOF
16358 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
16359 _ACEOF
16363 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
16364 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
16368 _ACEOF
16372 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
16373 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
16377 _ACEOF
16381 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
16382 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
16384 cat >>confdefs.h <<_ACEOF
16385 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
16386 _ACEOF
16390 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
16391 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
16393 cat >>confdefs.h <<_ACEOF
16394 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
16395 _ACEOF
16401 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
16402 #include <sys/types.h>
16403 #endif
16404 #ifdef HAVE_NETINET_IN_H
16405 #include <netinet/in.h>
16406 #endif
16408 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
16410 cat >>confdefs.h <<_ACEOF
16411 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
16412 _ACEOF
16418 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_RESOLV_H
16419 #include <resolv.h>
16420 #endif
16422 if test "x$ac_cv_type_struct___res_state" = xyes; then :
16424 cat >>confdefs.h <<_ACEOF
16425 #define HAVE_STRUCT___RES_STATE 1
16426 _ACEOF
16432 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
16433 #include <resolv.h>
16434 #endif
16436 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
16440 _ACEOF
16446 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
16447 #include <sys/types.h>
16448 #endif
16449 #ifdef HAVE_NETINET_IN_H
16450 # include <netinet/in.h>
16451 #endif
16452 #ifdef HAVE_ARPA_NAMESER_H
16453 # include <arpa/nameser.h>
16454 #endif
16456 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_NS_MSG__MSG_PTR 1
16460 _ACEOF
16466 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
16467 #include <sys/types.h>
16468 #endif
16469 #ifdef HAVE_NETINET_IP_H
16470 #include <netinet/ip.h>
16471 #endif
16472 #ifdef HAVE_NETINET_IP_ICMP_H
16473 #include <netinet/ip_icmp.h>
16474 #endif
16475 #ifdef HAVE_NETINET_ICMP_VAR_H
16476 #include <netinet/icmp_var.h>
16477 #endif
16479 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
16481 cat >>confdefs.h <<_ACEOF
16482 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
16483 _ACEOF
16489 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
16490 #include <sys/types.h>
16491 #endif
16492 #ifdef HAVE_ALIAS_H
16493 #include <alias.h>
16494 #endif
16495 #ifdef HAVE_SYS_SOCKET_H
16496 #include <sys/socket.h>
16497 #endif
16498 #ifdef HAVE_SYS_SOCKETVAR_H
16499 #include <sys/socketvar.h>
16500 #endif
16501 #ifdef HAVE_SYS_TIMEOUT_H
16502 #include <sys/timeout.h>
16503 #endif
16504 #ifdef HAVE_NETINET_IN_H
16505 #include <netinet/in.h>
16506 #endif
16507 #ifdef HAVE_NETINET_IN_SYSTM_H
16508 #include <netinet/in_systm.h>
16509 #endif
16510 #ifdef HAVE_NETINET_IP_H
16511 #include <netinet/ip.h>
16512 #endif
16513 #ifdef HAVE_NETINET_IP_VAR_H
16514 #include <netinet/ip_var.h>
16515 #endif
16516 #ifdef HAVE_NETINET_IP_ICMP_H
16517 #include <netinet/ip_icmp.h>
16518 #endif
16519 #ifdef HAVE_NETINET_ICMP_VAR_H
16520 #include <netinet/icmp_var.h>
16521 #endif
16523 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
16525 cat >>confdefs.h <<_ACEOF
16526 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
16527 _ACEOF
16533 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
16534 #include <sys/types.h>
16535 #endif
16536 #ifdef HAVE_SYS_SOCKETVAR_H
16537 #include <sys/socketvar.h>
16538 #endif
16539 #ifdef HAVE_NETINET_IN_H
16540 #include <netinet/in.h>
16541 #endif
16542 #ifdef HAVE_NETINET_IP_VAR_H
16543 #include <netinet/ip_var.h>
16544 #endif
16546 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
16550 _ACEOF
16556 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
16557 #include <netinet/ip_var.h>
16558 #endif
16560 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
16562 cat >>confdefs.h <<_ACEOF
16563 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
16564 _ACEOF
16570 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
16571 #include <sys/types.h>
16572 #endif
16573 #ifdef HAVE_SYS_SOCKETVAR_H
16574 #include <sys/socketvar.h>
16575 #endif
16576 #ifdef HAVE_NETINET_IN_H
16577 #include <netinet/in.h>
16578 #endif
16579 #ifdef HAVE_NETINET_TCP_H
16580 #include <netinet/tcp.h>
16581 #endif
16582 #ifdef HAVE_NETINET_TCP_VAR_H
16583 #include <netinet/tcp_var.h>
16584 #endif
16586 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
16588 cat >>confdefs.h <<_ACEOF
16589 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
16590 _ACEOF
16596 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
16597 #include <netinet/tcp_var.h>
16598 #endif
16600 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
16602 cat >>confdefs.h <<_ACEOF
16603 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
16604 _ACEOF
16610 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
16611 #include <sys/types.h>
16612 #endif
16613 #ifdef HAVE_NETINET_IN_H
16614 #include <netinet/in.h>
16615 #endif
16616 #ifdef HAVE_NETINET_IP_VAR_H
16617 #include <netinet/ip_var.h>
16618 #endif
16619 #ifdef HAVE_NETINET_UDP_H
16620 #include <netinet/udp.h>
16621 #endif
16622 #ifdef HAVE_NETINET_UDP_VAR_H
16623 #include <netinet/udp_var.h>
16624 #endif
16626 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
16628 cat >>confdefs.h <<_ACEOF
16629 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
16630 _ACEOF
16636 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
16637 #include <sys/types.h>
16638 #endif
16639 #ifdef HAVE_NET_IF_H
16640 # include <net/if.h>
16641 #endif
16643 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
16647 _ACEOF
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
16654 $as_echo_n "checking for timezone variable... " >&6; }
16655 if ${ac_cv_have_timezone+:} false; then :
16656 $as_echo_n "(cached) " >&6
16657 else
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #include <time.h>
16662 main ()
16664 timezone = 1
16666 return 0;
16668 _ACEOF
16669 if ac_fn_c_try_link "$LINENO"; then :
16670 ac_cv_have_timezone="yes"
16671 else
16672 ac_cv_have_timezone="no"
16674 rm -f core conftest.err conftest.$ac_objext \
16675 conftest$ac_exeext conftest.$ac_ext
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
16678 $as_echo "$ac_cv_have_timezone" >&6; }
16679 if test "$ac_cv_have_timezone" = "yes"
16680 then
16682 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
16686 $as_echo_n "checking for daylight variable... " >&6; }
16687 if ${ac_cv_have_daylight+:} false; then :
16688 $as_echo_n "(cached) " >&6
16689 else
16690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16691 /* end confdefs.h. */
16692 #include <time.h>
16694 main ()
16696 daylight = 1
16698 return 0;
16700 _ACEOF
16701 if ac_fn_c_try_link "$LINENO"; then :
16702 ac_cv_have_daylight="yes"
16703 else
16704 ac_cv_have_daylight="no"
16706 rm -f core conftest.err conftest.$ac_objext \
16707 conftest$ac_exeext conftest.$ac_ext
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
16710 $as_echo "$ac_cv_have_daylight" >&6; }
16711 if test "$ac_cv_have_daylight" = "yes"
16712 then
16714 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
16718 ac_save_LIBS="$LIBS"
16719 LIBS="$LIBS -lm"
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
16721 $as_echo_n "checking for isfinite... " >&6; }
16722 if ${ac_cv_have_isfinite+:} false; then :
16723 $as_echo_n "(cached) " >&6
16724 else
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16727 #define _GNU_SOURCE
16728 #include <math.h>
16730 main ()
16732 float f = 0.0; return isfinite(f)
16734 return 0;
16736 _ACEOF
16737 if ac_fn_c_try_link "$LINENO"; then :
16738 ac_cv_have_isfinite="yes"
16739 else
16740 ac_cv_have_isfinite="no"
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext conftest.$ac_ext
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
16746 $as_echo "$ac_cv_have_isfinite" >&6; }
16747 if test "$ac_cv_have_isfinite" = "yes"
16748 then
16750 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
16755 $as_echo_n "checking for isinf... " >&6; }
16756 if ${ac_cv_have_isinf+:} false; then :
16757 $as_echo_n "(cached) " >&6
16758 else
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16761 #include <math.h>
16763 main ()
16765 float f = 0.0; return isinf(f)
16767 return 0;
16769 _ACEOF
16770 if ac_fn_c_try_link "$LINENO"; then :
16771 ac_cv_have_isinf="yes"
16772 else
16773 ac_cv_have_isinf="no"
16775 rm -f core conftest.err conftest.$ac_objext \
16776 conftest$ac_exeext conftest.$ac_ext
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
16779 $as_echo "$ac_cv_have_isinf" >&6; }
16780 if test "$ac_cv_have_isinf" = "yes"
16781 then
16783 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
16788 $as_echo_n "checking for isnan... " >&6; }
16789 if ${ac_cv_have_isnan+:} false; then :
16790 $as_echo_n "(cached) " >&6
16791 else
16792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16794 #include <math.h>
16796 main ()
16798 float f = 0.0; return isnan(f)
16800 return 0;
16802 _ACEOF
16803 if ac_fn_c_try_link "$LINENO"; then :
16804 ac_cv_have_isnan="yes"
16805 else
16806 ac_cv_have_isnan="no"
16808 rm -f core conftest.err conftest.$ac_objext \
16809 conftest$ac_exeext conftest.$ac_ext
16811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
16812 $as_echo "$ac_cv_have_isnan" >&6; }
16813 if test "$ac_cv_have_isnan" = "yes"
16814 then
16816 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
16820 for ac_func in \
16821 cbrt \
16822 cbrtf \
16823 erf \
16824 erff \
16825 exp2 \
16826 exp2f \
16827 llrint \
16828 llrintf \
16829 llround \
16830 llroundf \
16831 log2 \
16832 log2f \
16833 lrint \
16834 lrintf \
16835 lround \
16836 lroundf \
16837 rint \
16838 rintf \
16839 round \
16840 roundf \
16841 trunc \
16842 truncf
16844 do :
16845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16847 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16848 cat >>confdefs.h <<_ACEOF
16849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16850 _ACEOF
16853 done
16855 LIBS="$ac_save_LIBS"
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
16858 $as_echo_n "checking for __builtin_clz... " >&6; }
16859 if ${ac_cv_have___builtin_clz+:} false; then :
16860 $as_echo_n "(cached) " >&6
16861 else
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16866 main ()
16868 return __builtin_clz(1)
16870 return 0;
16872 _ACEOF
16873 if ac_fn_c_try_link "$LINENO"; then :
16874 ac_cv_have___builtin_clz="yes"
16875 else
16876 ac_cv_have___builtin_clz="no"
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
16882 $as_echo "$ac_cv_have___builtin_clz" >&6; }
16883 if test "$ac_cv_have___builtin_clz" = "yes"
16884 then
16886 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
16890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
16891 $as_echo_n "checking for __builtin_popcount... " >&6; }
16892 if ${ac_cv_have___builtin_popcount+:} false; then :
16893 $as_echo_n "(cached) " >&6
16894 else
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16899 main ()
16901 return __builtin_popcount(1)
16903 return 0;
16905 _ACEOF
16906 if ac_fn_c_try_link "$LINENO"; then :
16907 ac_cv_have___builtin_popcount="yes"
16908 else
16909 ac_cv_have___builtin_popcount="no"
16911 rm -f core conftest.err conftest.$ac_objext \
16912 conftest$ac_exeext conftest.$ac_ext
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
16915 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
16916 if test "$ac_cv_have___builtin_popcount" = "yes"
16917 then
16919 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
16924 case $host_cpu in
16925 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
16926 $as_echo_n "checking whether we need to define __i386__... " >&6; }
16927 if ${ac_cv_cpp_def___i386__+:} false; then :
16928 $as_echo_n "(cached) " >&6
16929 else
16930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16932 #ifndef __i386__
16934 #endif
16935 _ACEOF
16936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16937 $EGREP "yes" >/dev/null 2>&1; then :
16938 ac_cv_cpp_def___i386__=yes
16939 else
16940 ac_cv_cpp_def___i386__=no
16942 rm -f conftest*
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
16946 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
16947 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
16948 CFLAGS="$CFLAGS -D__i386__"
16949 LINTFLAGS="$LINTFLAGS -D__i386__"
16950 fi ;;
16951 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
16952 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
16953 if ${ac_cv_cpp_def___x86_64__+:} false; then :
16954 $as_echo_n "(cached) " >&6
16955 else
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 #ifndef __x86_64__
16960 #endif
16961 _ACEOF
16962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16963 $EGREP "yes" >/dev/null 2>&1; then :
16964 ac_cv_cpp_def___x86_64__=yes
16965 else
16966 ac_cv_cpp_def___x86_64__=no
16968 rm -f conftest*
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
16972 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
16973 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
16974 CFLAGS="$CFLAGS -D__x86_64__"
16975 LINTFLAGS="$LINTFLAGS -D__x86_64__"
16976 fi ;;
16977 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
16978 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
16979 if ${ac_cv_cpp_def___sparc64__+:} false; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16983 /* end confdefs.h. */
16984 #ifndef __sparc64__
16986 #endif
16987 _ACEOF
16988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16989 $EGREP "yes" >/dev/null 2>&1; then :
16990 ac_cv_cpp_def___sparc64__=yes
16991 else
16992 ac_cv_cpp_def___sparc64__=no
16994 rm -f conftest*
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
16998 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
16999 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17000 CFLAGS="$CFLAGS -D__sparc64__"
17001 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17002 fi ;;
17003 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17004 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17005 if ${ac_cv_cpp_def___sparc__+:} false; then :
17006 $as_echo_n "(cached) " >&6
17007 else
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #ifndef __sparc__
17012 #endif
17013 _ACEOF
17014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17015 $EGREP "yes" >/dev/null 2>&1; then :
17016 ac_cv_cpp_def___sparc__=yes
17017 else
17018 ac_cv_cpp_def___sparc__=no
17020 rm -f conftest*
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17024 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17025 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17026 CFLAGS="$CFLAGS -D__sparc__"
17027 LINTFLAGS="$LINTFLAGS -D__sparc__"
17028 fi ;;
17029 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17030 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17031 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17035 /* end confdefs.h. */
17036 #ifndef __powerpc64__
17038 #endif
17039 _ACEOF
17040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17041 $EGREP "yes" >/dev/null 2>&1; then :
17042 ac_cv_cpp_def___powerpc64__=yes
17043 else
17044 ac_cv_cpp_def___powerpc64__=no
17046 rm -f conftest*
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17050 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17051 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17052 CFLAGS="$CFLAGS -D__powerpc64__"
17053 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17054 fi ;;
17055 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17056 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17057 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17058 $as_echo_n "(cached) " >&6
17059 else
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #ifndef __powerpc__
17064 #endif
17065 _ACEOF
17066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17067 $EGREP "yes" >/dev/null 2>&1; then :
17068 ac_cv_cpp_def___powerpc__=yes
17069 else
17070 ac_cv_cpp_def___powerpc__=no
17072 rm -f conftest*
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17076 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17077 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17078 CFLAGS="$CFLAGS -D__powerpc__"
17079 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17080 fi ;;
17081 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17082 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17083 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17084 $as_echo_n "(cached) " >&6
17085 else
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 #ifndef __aarch64__
17090 #endif
17091 _ACEOF
17092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17093 $EGREP "yes" >/dev/null 2>&1; then :
17094 ac_cv_cpp_def___aarch64__=yes
17095 else
17096 ac_cv_cpp_def___aarch64__=no
17098 rm -f conftest*
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17102 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
17103 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
17104 CFLAGS="$CFLAGS -D__aarch64__"
17105 LINTFLAGS="$LINTFLAGS -D__aarch64__"
17106 fi ;;
17107 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
17108 $as_echo_n "checking whether we need to define __arm__... " >&6; }
17109 if ${ac_cv_cpp_def___arm__+:} false; then :
17110 $as_echo_n "(cached) " >&6
17111 else
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #ifndef __arm__
17116 #endif
17117 _ACEOF
17118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17119 $EGREP "yes" >/dev/null 2>&1; then :
17120 ac_cv_cpp_def___arm__=yes
17121 else
17122 ac_cv_cpp_def___arm__=no
17124 rm -f conftest*
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
17128 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
17129 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
17130 CFLAGS="$CFLAGS -D__arm__"
17131 LINTFLAGS="$LINTFLAGS -D__arm__"
17132 fi ;;
17133 esac
17135 case $host_vendor in
17136 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
17137 $as_echo_n "checking whether we need to define __sun__... " >&6; }
17138 if ${ac_cv_cpp_def___sun__+:} false; then :
17139 $as_echo_n "(cached) " >&6
17140 else
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 #ifndef __sun__
17145 #endif
17146 _ACEOF
17147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17148 $EGREP "yes" >/dev/null 2>&1; then :
17149 ac_cv_cpp_def___sun__=yes
17150 else
17151 ac_cv_cpp_def___sun__=no
17153 rm -f conftest*
17156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
17157 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
17158 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
17159 CFLAGS="$CFLAGS -D__sun__"
17160 LINTFLAGS="$LINTFLAGS -D__sun__"
17161 fi ;;
17162 esac
17168 ac_config_commands="$ac_config_commands include/stamp-h"
17170 $as_echo_n "creating Makefile rules..." >&6
17172 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
17173 SOCKET_LIBS = $SOCKET_LIBS
17174 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
17175 IOKIT_LIBS = $IOKIT_LIBS
17176 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
17177 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
17178 CORESERVICES_LIBS = $CORESERVICES_LIBS
17179 APPKIT_LIBS = $APPKIT_LIBS
17180 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
17181 SECURITY_LIBS = $SECURITY_LIBS
17182 COREAUDIO_LIBS = $COREAUDIO_LIBS
17183 OPENAL_LIBS = $OPENAL_LIBS
17184 OPENCL_LIBS = $OPENCL_LIBS
17185 QUICKTIME_LIBS = $QUICKTIME_LIBS
17186 CARBON_LIBS = $CARBON_LIBS
17187 PTHREAD_LIBS = $PTHREAD_LIBS
17188 X_CFLAGS = $X_CFLAGS
17189 X_PRE_LIBS = $X_PRE_LIBS
17190 X_LIBS = $X_LIBS
17191 X_EXTRA_LIBS = $X_EXTRA_LIBS
17192 PCAP_LIBS = $PCAP_LIBS
17193 XML2_CFLAGS = $XML2_CFLAGS
17194 XML2_LIBS = $XML2_LIBS
17195 XSLT_CFLAGS = $XSLT_CFLAGS
17196 XSLT_LIBS = $XSLT_LIBS
17197 DBUS_CFLAGS = $DBUS_CFLAGS
17198 DBUS_LIBS = $DBUS_LIBS
17199 HAL_CFLAGS = $HAL_CFLAGS
17200 HAL_LIBS = $HAL_LIBS
17201 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
17202 GNUTLS_LIBS = $GNUTLS_LIBS
17203 SANE_CFLAGS = $SANE_CFLAGS
17204 SANE_LIBS = $SANE_LIBS
17205 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
17206 GPHOTO2_LIBS = $GPHOTO2_LIBS
17207 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
17208 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
17209 RESOLV_LIBS = $RESOLV_LIBS
17210 LCMS2_CFLAGS = $LCMS2_CFLAGS
17211 LCMS2_LIBS = $LCMS2_LIBS
17212 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
17213 FREETYPE_LIBS = $FREETYPE_LIBS
17214 Z_LIBS = $Z_LIBS
17215 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
17216 PULSE_CFLAGS = $PULSE_CFLAGS
17217 PULSE_LIBS = $PULSE_LIBS
17218 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
17219 GSTREAMER_LIBS = $GSTREAMER_LIBS
17220 ALSA_LIBS = $ALSA_LIBS
17221 OSS4_CFLAGS = $OSS4_CFLAGS
17222 CAPI20_CFLAGS = $CAPI20_CFLAGS
17223 CAPI20_LIBS = $CAPI20_LIBS
17224 CUPS_CFLAGS = $CUPS_CFLAGS
17225 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
17226 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
17227 JPEG_CFLAGS = $JPEG_CFLAGS
17228 JPEG_LIBS = $JPEG_LIBS
17229 PNG_CFLAGS = $PNG_CFLAGS
17230 PNG_LIBS = $PNG_LIBS
17231 TIFF_CFLAGS = $TIFF_CFLAGS
17232 TIFF_LIBS = $TIFF_LIBS
17233 MPG123_CFLAGS = $MPG123_CFLAGS
17234 MPG123_LIBS = $MPG123_LIBS
17235 KSTAT_LIBS = $KSTAT_LIBS
17236 PROCSTAT_LIBS = $PROCSTAT_LIBS
17237 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
17238 DL_LIBS = $DL_LIBS
17239 POLL_LIBS = $POLL_LIBS
17240 RT_LIBS = $RT_LIBS
17241 LDAP_LIBS = $LDAP_LIBS
17246 wine_fn_append_rule "
17247 # Rules automatically generated by configure
17249 CLEAN_FILES = *.o *.a *.so *.res *.fake *.ok *.tab.[ch] *.yy.c
17251 .INIT: Makefile
17252 .MAKEFILEDEPS:
17253 all: Makefile
17254 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
17255 @./config.status Make.tmp Makefile
17256 depend: \$(MAKEDEP) dummy
17257 \$(MAKEDEP)"
17259 test "$srcdir" = . && wine_fn_append_rule "all: .gitignore
17260 .gitignore: config.status
17261 @./config.status .gitignore"
17263 test -n "$CROSSTARGET" || wine_fn_append_rule "crosstest:
17264 @echo \"crosstest is not supported (mingw not installed?)\" && false"
17266 if test "x$enable_fonts" != xno; then
17267 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
17268 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
17269 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
17270 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
17271 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
17272 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
17274 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
17275 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
17276 ac_config_links="$ac_config_links po/LINGUAS:po/LINGUAS"
17277 test "$srcdir" = "." || wine_fn_config_symlink po/LINGUAS
17278 ac_config_links="$ac_config_links wine:tools/winewrapper"
17279 wine_fn_config_symlink wine
17280 if test "x$enable_win64" != xno; then
17281 ac_config_links="$ac_config_links wine64:tools/winewrapper"
17282 wine_fn_config_symlink wine64
17285 wine_fn_config_dll acledit enable_acledit
17286 wine_fn_config_dll aclui enable_aclui implib
17287 wine_fn_config_dll activeds enable_activeds implib
17288 wine_fn_config_dll actxprxy enable_actxprxy clean
17289 wine_fn_config_lib adsiid
17290 wine_fn_config_dll advapi32 enable_advapi32 clean,implib
17291 wine_fn_config_test dlls/advapi32/tests advapi32_test
17292 wine_fn_config_dll advpack enable_advpack implib
17293 wine_fn_config_test dlls/advpack/tests advpack_test
17294 wine_fn_config_dll amstream enable_amstream clean
17295 wine_fn_config_test dlls/amstream/tests amstream_test
17296 wine_fn_config_dll api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
17297 wine_fn_config_dll api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
17298 wine_fn_config_dll api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
17299 wine_fn_config_dll api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
17300 wine_fn_config_dll api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
17301 wine_fn_config_dll api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
17302 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
17303 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
17304 wine_fn_config_dll api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
17305 wine_fn_config_dll api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
17306 wine_fn_config_dll api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
17307 wine_fn_config_dll api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
17308 wine_fn_config_dll api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
17309 wine_fn_config_dll api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
17310 wine_fn_config_dll api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
17311 wine_fn_config_dll api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
17312 wine_fn_config_dll api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
17313 wine_fn_config_dll api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
17314 wine_fn_config_dll api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
17315 wine_fn_config_dll api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
17316 wine_fn_config_dll api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
17317 wine_fn_config_dll api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
17318 wine_fn_config_dll api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
17319 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
17320 wine_fn_config_dll api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
17321 wine_fn_config_dll api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
17322 wine_fn_config_dll api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
17323 wine_fn_config_dll api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
17324 wine_fn_config_dll api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
17325 wine_fn_config_dll api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
17326 wine_fn_config_dll api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
17327 wine_fn_config_dll api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
17328 wine_fn_config_dll api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
17329 wine_fn_config_dll api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
17330 wine_fn_config_dll api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
17331 wine_fn_config_dll api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
17332 wine_fn_config_dll api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
17333 wine_fn_config_dll api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
17334 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
17335 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
17336 wine_fn_config_dll api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
17337 wine_fn_config_dll api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
17338 wine_fn_config_dll api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
17339 wine_fn_config_dll api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
17340 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
17341 wine_fn_config_dll api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
17342 wine_fn_config_dll api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
17343 wine_fn_config_dll api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
17344 wine_fn_config_dll api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
17345 wine_fn_config_dll api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
17346 wine_fn_config_dll api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
17347 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
17348 wine_fn_config_dll api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
17349 wine_fn_config_dll api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
17350 wine_fn_config_dll api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
17351 wine_fn_config_dll api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
17352 wine_fn_config_dll api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
17353 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
17354 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
17355 wine_fn_config_dll api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
17356 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
17357 wine_fn_config_dll api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
17358 wine_fn_config_dll api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
17359 wine_fn_config_dll api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
17360 wine_fn_config_dll api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
17361 wine_fn_config_dll api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
17362 wine_fn_config_dll api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
17363 wine_fn_config_dll api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
17364 wine_fn_config_dll api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
17365 wine_fn_config_dll api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
17366 wine_fn_config_dll api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
17367 wine_fn_config_dll api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
17368 wine_fn_config_dll api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
17369 wine_fn_config_dll api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
17370 wine_fn_config_dll api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
17371 wine_fn_config_dll api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
17372 wine_fn_config_dll api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
17373 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
17374 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
17375 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
17376 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
17377 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
17378 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
17379 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
17380 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
17381 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
17382 wine_fn_config_dll api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
17383 wine_fn_config_dll api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
17384 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
17385 wine_fn_config_dll api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
17386 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
17387 wine_fn_config_dll api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
17388 wine_fn_config_dll api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
17389 wine_fn_config_dll api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
17390 wine_fn_config_dll api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
17391 wine_fn_config_dll api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
17392 wine_fn_config_dll apphelp enable_apphelp
17393 wine_fn_config_test dlls/apphelp/tests apphelp_test
17394 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
17395 wine_fn_config_dll atl enable_atl clean,implib
17396 wine_fn_config_test dlls/atl/tests atl_test
17397 wine_fn_config_dll atl100 enable_atl100 clean,implib
17398 wine_fn_config_test dlls/atl100/tests atl100_test
17399 wine_fn_config_dll atl110 enable_atl110 clean
17400 wine_fn_config_dll atl80 enable_atl80 clean,implib
17401 wine_fn_config_test dlls/atl80/tests atl80_test
17402 wine_fn_config_dll atl90 enable_atl90 clean
17403 wine_fn_config_dll authz enable_authz
17404 wine_fn_config_dll avicap32 enable_avicap32 implib
17405 wine_fn_config_dll avifil32 enable_avifil32 clean,implib,po
17406 wine_fn_config_test dlls/avifil32/tests avifil32_test
17407 wine_fn_config_dll avifile.dll16 enable_win16
17408 wine_fn_config_dll avrt enable_avrt implib
17409 wine_fn_config_dll bcrypt enable_bcrypt implib
17410 wine_fn_config_test dlls/bcrypt/tests bcrypt_test
17411 wine_fn_config_dll bluetoothapis enable_bluetoothapis
17412 wine_fn_config_dll browseui enable_browseui clean,po
17413 wine_fn_config_test dlls/browseui/tests browseui_test
17414 wine_fn_config_dll bthprops.cpl enable_bthprops_cpl
17415 wine_fn_config_dll cabinet enable_cabinet implib
17416 wine_fn_config_test dlls/cabinet/tests cabinet_test
17417 wine_fn_config_dll capi2032 enable_capi2032 implib
17418 wine_fn_config_dll cards enable_cards implib
17419 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
17420 wine_fn_config_dll clusapi enable_clusapi implib
17421 wine_fn_config_dll combase enable_combase
17422 wine_fn_config_test dlls/combase/tests combase_test
17423 wine_fn_config_dll comcat enable_comcat
17424 wine_fn_config_test dlls/comcat/tests comcat_test
17425 wine_fn_config_dll comctl32 enable_comctl32 implib,po
17426 wine_fn_config_test dlls/comctl32/tests comctl32_test
17427 wine_fn_config_dll comdlg32 enable_comdlg32 clean,implib,po
17428 wine_fn_config_test dlls/comdlg32/tests comdlg32_test
17429 wine_fn_config_dll comm.drv16 enable_win16
17430 wine_fn_config_dll commdlg.dll16 enable_win16
17431 wine_fn_config_dll compobj.dll16 enable_win16
17432 wine_fn_config_dll compstui enable_compstui implib
17433 wine_fn_config_dll comsvcs enable_comsvcs implib
17434 wine_fn_config_dll connect enable_connect
17435 wine_fn_config_dll credui enable_credui implib,po
17436 wine_fn_config_test dlls/credui/tests credui_test
17437 wine_fn_config_dll crtdll enable_crtdll implib
17438 wine_fn_config_dll crypt32 enable_crypt32 implib,po
17439 wine_fn_config_test dlls/crypt32/tests crypt32_test
17440 wine_fn_config_dll cryptdlg enable_cryptdlg po
17441 wine_fn_config_dll cryptdll enable_cryptdll implib
17442 wine_fn_config_dll cryptext enable_cryptext
17443 wine_fn_config_dll cryptnet enable_cryptnet implib
17444 wine_fn_config_test dlls/cryptnet/tests cryptnet_test
17445 wine_fn_config_dll cryptui enable_cryptui implib,po
17446 wine_fn_config_test dlls/cryptui/tests cryptui_test
17447 wine_fn_config_dll ctapi32 enable_ctapi32
17448 wine_fn_config_dll ctl3d.dll16 enable_win16
17449 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
17450 wine_fn_config_dll ctl3dv2.dll16 enable_win16
17451 wine_fn_config_dll d2d1 enable_d2d1 implib
17452 wine_fn_config_test dlls/d2d1/tests d2d1_test
17453 wine_fn_config_dll d3d10 enable_d3d10 implib
17454 wine_fn_config_test dlls/d3d10/tests d3d10_test
17455 wine_fn_config_dll d3d10_1 enable_d3d10_1 implib
17456 wine_fn_config_test dlls/d3d10_1/tests d3d10_1_test
17457 wine_fn_config_dll d3d10core enable_d3d10core implib
17458 wine_fn_config_test dlls/d3d10core/tests d3d10core_test
17459 wine_fn_config_dll d3d11 enable_d3d11 implib
17460 wine_fn_config_test dlls/d3d11/tests d3d11_test
17461 wine_fn_config_dll d3d8 enable_d3d8 implib
17462 wine_fn_config_test dlls/d3d8/tests d3d8_test
17463 wine_fn_config_dll d3d9 enable_d3d9 implib
17464 wine_fn_config_test dlls/d3d9/tests d3d9_test
17465 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
17466 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
17467 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
17468 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
17469 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
17470 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
17471 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
17472 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
17473 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
17474 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
17475 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
17476 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
17477 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
17478 wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
17479 wine_fn_config_dll d3dim enable_d3dim implib
17480 wine_fn_config_dll d3drm enable_d3drm implib
17481 wine_fn_config_test dlls/d3drm/tests d3drm_test
17482 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
17483 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
17484 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
17485 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
17486 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
17487 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
17488 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
17489 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
17490 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
17491 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
17492 wine_fn_config_dll d3dx10_43 enable_d3dx10_43 implib d3dx10
17493 wine_fn_config_dll d3dx11_42 enable_d3dx11_42
17494 wine_fn_config_dll d3dx11_43 enable_d3dx11_43
17495 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
17496 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
17497 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
17498 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
17499 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
17500 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
17501 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
17502 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
17503 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
17504 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
17505 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
17506 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
17507 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
17508 wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
17509 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
17510 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
17511 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
17512 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
17513 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
17514 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
17515 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
17516 wine_fn_config_dll d3dxof enable_d3dxof clean,implib
17517 wine_fn_config_test dlls/d3dxof/tests d3dxof_test
17518 wine_fn_config_dll davclnt enable_davclnt
17519 wine_fn_config_dll dbgeng enable_dbgeng implib
17520 wine_fn_config_dll dbghelp enable_dbghelp implib
17521 wine_fn_config_dll dciman32 enable_dciman32 implib
17522 wine_fn_config_dll ddeml.dll16 enable_win16
17523 wine_fn_config_dll ddraw enable_ddraw clean,implib
17524 wine_fn_config_test dlls/ddraw/tests ddraw_test
17525 wine_fn_config_dll ddrawex enable_ddrawex clean
17526 wine_fn_config_test dlls/ddrawex/tests ddrawex_test
17527 wine_fn_config_dll devenum enable_devenum clean,po
17528 wine_fn_config_test dlls/devenum/tests devenum_test
17529 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
17530 wine_fn_config_dll difxapi enable_difxapi
17531 wine_fn_config_dll dinput enable_dinput clean,implib,po,staticimplib
17532 wine_fn_config_test dlls/dinput/tests dinput_test
17533 wine_fn_config_dll dinput8 enable_dinput8 clean,implib
17534 wine_fn_config_test dlls/dinput8/tests dinput8_test
17535 wine_fn_config_dll dispdib.dll16 enable_win16
17536 wine_fn_config_dll dispex enable_dispex clean
17537 wine_fn_config_test dlls/dispex/tests dispex_test
17538 wine_fn_config_dll display.drv16 enable_win16
17539 wine_fn_config_dll dmband enable_dmband clean
17540 wine_fn_config_test dlls/dmband/tests dmband_test
17541 wine_fn_config_dll dmcompos enable_dmcompos clean
17542 wine_fn_config_test dlls/dmcompos/tests dmcompos_test
17543 wine_fn_config_dll dmime enable_dmime clean
17544 wine_fn_config_test dlls/dmime/tests dmime_test
17545 wine_fn_config_dll dmloader enable_dmloader clean
17546 wine_fn_config_test dlls/dmloader/tests dmloader_test
17547 wine_fn_config_dll dmscript enable_dmscript clean
17548 wine_fn_config_test dlls/dmscript/tests dmscript_test
17549 wine_fn_config_dll dmstyle enable_dmstyle clean
17550 wine_fn_config_test dlls/dmstyle/tests dmstyle_test
17551 wine_fn_config_dll dmsynth enable_dmsynth clean
17552 wine_fn_config_test dlls/dmsynth/tests dmsynth_test
17553 wine_fn_config_dll dmusic enable_dmusic clean
17554 wine_fn_config_test dlls/dmusic/tests dmusic_test
17555 wine_fn_config_dll dmusic32 enable_dmusic32 implib
17556 wine_fn_config_dll dnsapi enable_dnsapi implib
17557 wine_fn_config_test dlls/dnsapi/tests dnsapi_test
17558 wine_fn_config_dll dplay enable_dplay implib
17559 wine_fn_config_dll dplayx enable_dplayx clean,implib
17560 wine_fn_config_test dlls/dplayx/tests dplayx_test
17561 wine_fn_config_dll dpnaddr enable_dpnaddr
17562 wine_fn_config_dll dpnet enable_dpnet clean,implib
17563 wine_fn_config_test dlls/dpnet/tests dpnet_test
17564 wine_fn_config_dll dpnhpast enable_dpnhpast
17565 wine_fn_config_dll dpnlobby enable_dpnlobby
17566 wine_fn_config_dll dpvoice enable_dpvoice clean
17567 wine_fn_config_test dlls/dpvoice/tests dpvoice_test
17568 wine_fn_config_dll dpwsockx enable_dpwsockx
17569 wine_fn_config_dll drmclien enable_drmclien
17570 wine_fn_config_dll dsound enable_dsound clean,implib
17571 wine_fn_config_test dlls/dsound/tests dsound_test
17572 wine_fn_config_dll dssenh enable_dssenh
17573 wine_fn_config_test dlls/dssenh/tests dssenh_test
17574 wine_fn_config_dll dswave enable_dswave clean
17575 wine_fn_config_test dlls/dswave/tests dswave_test
17576 wine_fn_config_dll dwmapi enable_dwmapi implib
17577 wine_fn_config_dll dwrite enable_dwrite implib
17578 wine_fn_config_test dlls/dwrite/tests dwrite_test
17579 wine_fn_config_dll dxdiagn enable_dxdiagn clean,po
17580 wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
17581 wine_fn_config_lib dxerr8
17582 wine_fn_config_lib dxerr9
17583 wine_fn_config_dll dxgi enable_dxgi implib
17584 wine_fn_config_test dlls/dxgi/tests dxgi_test
17585 wine_fn_config_lib dxguid
17586 wine_fn_config_dll dxva2 enable_dxva2
17587 wine_fn_config_dll esent enable_esent
17588 wine_fn_config_dll evr enable_evr
17589 wine_fn_config_dll explorerframe enable_explorerframe clean
17590 wine_fn_config_test dlls/explorerframe/tests explorerframe_test
17591 wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
17592 wine_fn_config_dll faultrep enable_faultrep implib
17593 wine_fn_config_test dlls/faultrep/tests faultrep_test
17594 wine_fn_config_dll fltlib enable_fltlib
17595 wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
17596 wine_fn_config_dll fntcache enable_fntcache
17597 wine_fn_config_dll fontsub enable_fontsub
17598 wine_fn_config_dll fusion enable_fusion
17599 wine_fn_config_test dlls/fusion/tests fusion_test
17600 wine_fn_config_dll fwpuclnt enable_fwpuclnt
17601 wine_fn_config_dll gameux enable_gameux clean
17602 wine_fn_config_test dlls/gameux/tests gameux_test
17603 wine_fn_config_dll gdi.exe16 enable_win16
17604 wine_fn_config_dll gdi32 enable_gdi32 clean,implib,po
17605 wine_fn_config_test dlls/gdi32/tests gdi32_test
17606 wine_fn_config_dll gdiplus enable_gdiplus implib
17607 wine_fn_config_test dlls/gdiplus/tests gdiplus_test
17608 wine_fn_config_dll glu32 enable_glu32 implib
17609 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
17610 wine_fn_config_dll gpkcsp enable_gpkcsp
17611 wine_fn_config_dll hal enable_hal
17612 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx clean,implib,po htmlhelp
17613 wine_fn_config_dll hid enable_hid implib
17614 wine_fn_config_dll hidclass.sys enable_hidclass_sys implib hidclass
17615 wine_fn_config_dll hlink enable_hlink clean,implib
17616 wine_fn_config_test dlls/hlink/tests hlink_test
17617 wine_fn_config_dll hnetcfg enable_hnetcfg clean
17618 wine_fn_config_dll httpapi enable_httpapi
17619 wine_fn_config_dll iccvid enable_iccvid po
17620 wine_fn_config_dll icmp enable_icmp
17621 wine_fn_config_dll ieframe enable_ieframe clean,implib,po
17622 wine_fn_config_test dlls/ieframe/tests ieframe_test
17623 wine_fn_config_dll ifsmgr.vxd enable_win16
17624 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
17625 wine_fn_config_dll imagehlp enable_imagehlp implib
17626 wine_fn_config_test dlls/imagehlp/tests imagehlp_test
17627 wine_fn_config_dll imm.dll16 enable_win16
17628 wine_fn_config_dll imm32 enable_imm32 implib
17629 wine_fn_config_test dlls/imm32/tests imm32_test
17630 wine_fn_config_dll inetcomm enable_inetcomm clean,implib
17631 wine_fn_config_test dlls/inetcomm/tests inetcomm_test
17632 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
17633 wine_fn_config_dll inetmib1 enable_inetmib1
17634 wine_fn_config_test dlls/inetmib1/tests inetmib1_test
17635 wine_fn_config_dll infosoft enable_infosoft clean
17636 wine_fn_config_test dlls/infosoft/tests infosoft_test
17637 wine_fn_config_dll initpki enable_initpki
17638 wine_fn_config_dll inkobj enable_inkobj
17639 wine_fn_config_dll inseng enable_inseng clean
17640 wine_fn_config_dll iphlpapi enable_iphlpapi implib
17641 wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
17642 wine_fn_config_dll irprops.cpl enable_irprops_cpl
17643 wine_fn_config_dll itircl enable_itircl
17644 wine_fn_config_dll itss enable_itss clean
17645 wine_fn_config_test dlls/itss/tests itss_test
17646 wine_fn_config_dll joy.cpl enable_joy_cpl po
17647 wine_fn_config_dll jscript enable_jscript clean,po
17648 wine_fn_config_test dlls/jscript/tests jscript_test
17649 wine_fn_config_dll jsproxy enable_jsproxy implib
17650 wine_fn_config_dll kernel32 enable_kernel32 clean,implib,mc
17651 wine_fn_config_test dlls/kernel32/tests kernel32_test
17652 wine_fn_config_dll keyboard.drv16 enable_win16
17653 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
17654 wine_fn_config_dll ksuser enable_ksuser
17655 wine_fn_config_dll ktmw32 enable_ktmw32
17656 wine_fn_config_dll loadperf enable_loadperf implib
17657 wine_fn_config_dll localspl enable_localspl po
17658 wine_fn_config_test dlls/localspl/tests localspl_test
17659 wine_fn_config_dll localui enable_localui po
17660 wine_fn_config_test dlls/localui/tests localui_test
17661 wine_fn_config_dll lz32 enable_lz32 implib
17662 wine_fn_config_test dlls/lz32/tests lz32_test
17663 wine_fn_config_dll lzexpand.dll16 enable_win16
17664 wine_fn_config_dll mapi32 enable_mapi32 implib,po
17665 wine_fn_config_test dlls/mapi32/tests mapi32_test
17666 wine_fn_config_dll mapistub enable_mapistub
17667 wine_fn_config_dll mciavi32 enable_mciavi32
17668 wine_fn_config_dll mcicda enable_mcicda
17669 wine_fn_config_dll mciqtz32 enable_mciqtz32
17670 wine_fn_config_dll mciseq enable_mciseq
17671 wine_fn_config_dll mciwave enable_mciwave
17672 wine_fn_config_dll mf enable_mf
17673 wine_fn_config_dll mfplat enable_mfplat
17674 wine_fn_config_dll mfreadwrite enable_mfreadwrite
17675 wine_fn_config_dll mgmtapi enable_mgmtapi
17676 wine_fn_config_dll midimap enable_midimap
17677 wine_fn_config_dll mlang enable_mlang clean,implib
17678 wine_fn_config_test dlls/mlang/tests mlang_test
17679 wine_fn_config_dll mmcndmgr enable_mmcndmgr clean
17680 wine_fn_config_test dlls/mmcndmgr/tests mmcndmgr_test
17681 wine_fn_config_dll mmdevapi enable_mmdevapi clean
17682 wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
17683 wine_fn_config_dll mmdevldr.vxd enable_win16
17684 wine_fn_config_dll mmsystem.dll16 enable_win16
17685 wine_fn_config_dll monodebg.vxd enable_win16
17686 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
17687 wine_fn_config_dll mouse.drv16 enable_win16
17688 wine_fn_config_dll mpr enable_mpr implib,po
17689 wine_fn_config_test dlls/mpr/tests mpr_test
17690 wine_fn_config_dll mprapi enable_mprapi implib
17691 wine_fn_config_dll msacm.dll16 enable_win16
17692 wine_fn_config_dll msacm32.drv enable_msacm32_drv
17693 wine_fn_config_dll msacm32 enable_msacm32 implib,po
17694 wine_fn_config_test dlls/msacm32/tests msacm32_test
17695 wine_fn_config_dll msadp32.acm enable_msadp32_acm
17696 wine_fn_config_dll msasn1 enable_msasn1 implib
17697 wine_fn_config_dll mscat32 enable_mscat32
17698 wine_fn_config_dll mscms enable_mscms implib
17699 wine_fn_config_test dlls/mscms/tests mscms_test
17700 wine_fn_config_dll mscoree enable_mscoree clean
17701 wine_fn_config_test dlls/mscoree/tests mscoree_test
17702 wine_fn_config_dll msctf enable_msctf clean
17703 wine_fn_config_test dlls/msctf/tests msctf_test
17704 wine_fn_config_dll msctfp enable_msctfp clean
17705 wine_fn_config_dll msdaps enable_msdaps clean
17706 wine_fn_config_dll msdelta enable_msdelta
17707 wine_fn_config_dll msdmo enable_msdmo implib
17708 wine_fn_config_test dlls/msdmo/tests msdmo_test
17709 wine_fn_config_dll msdrm enable_msdrm
17710 wine_fn_config_dll msftedit enable_msftedit
17711 wine_fn_config_dll msg711.acm enable_msg711_acm
17712 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
17713 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb clean
17714 wine_fn_config_dll mshtml enable_mshtml clean,implib,po
17715 wine_fn_config_test dlls/mshtml/tests mshtml_test clean
17716 wine_fn_config_dll msi enable_msi clean,implib,po
17717 wine_fn_config_test dlls/msi/tests msi_test
17718 wine_fn_config_dll msident enable_msident clean
17719 wine_fn_config_dll msimg32 enable_msimg32 implib
17720 wine_fn_config_dll msimsg enable_msimsg
17721 wine_fn_config_dll msimtf enable_msimtf clean
17722 wine_fn_config_dll msisip enable_msisip
17723 wine_fn_config_dll msisys.ocx enable_msisys_ocx
17724 wine_fn_config_dll msls31 enable_msls31
17725 wine_fn_config_dll msnet32 enable_msnet32
17726 wine_fn_config_dll mspatcha enable_mspatcha implib
17727 wine_fn_config_dll msrle32 enable_msrle32 po
17728 wine_fn_config_test dlls/msrle32/tests msrle32_test
17729 wine_fn_config_dll msscript.ocx enable_msscript_ocx clean
17730 wine_fn_config_dll mssign32 enable_mssign32
17731 wine_fn_config_dll mssip32 enable_mssip32
17732 wine_fn_config_dll mstask enable_mstask clean
17733 wine_fn_config_test dlls/mstask/tests mstask_test
17734 wine_fn_config_dll msvcirt enable_msvcirt
17735 wine_fn_config_test dlls/msvcirt/tests msvcirt_test
17736 wine_fn_config_dll msvcm80 enable_msvcm80
17737 wine_fn_config_dll msvcm90 enable_msvcm90
17738 wine_fn_config_dll msvcp100 enable_msvcp100
17739 wine_fn_config_test dlls/msvcp100/tests msvcp100_test
17740 wine_fn_config_dll msvcp110 enable_msvcp110
17741 wine_fn_config_test dlls/msvcp110/tests msvcp110_test
17742 wine_fn_config_dll msvcp120 enable_msvcp120
17743 wine_fn_config_test dlls/msvcp120/tests msvcp120_test
17744 wine_fn_config_dll msvcp120_app enable_msvcp120_app
17745 wine_fn_config_dll msvcp60 enable_msvcp60
17746 wine_fn_config_test dlls/msvcp60/tests msvcp60_test
17747 wine_fn_config_dll msvcp70 enable_msvcp70
17748 wine_fn_config_dll msvcp71 enable_msvcp71
17749 wine_fn_config_dll msvcp80 enable_msvcp80
17750 wine_fn_config_dll msvcp90 enable_msvcp90
17751 wine_fn_config_test dlls/msvcp90/tests msvcp90_test
17752 wine_fn_config_dll msvcr100 enable_msvcr100 implib
17753 wine_fn_config_test dlls/msvcr100/tests msvcr100_test
17754 wine_fn_config_dll msvcr110 enable_msvcr110 implib
17755 wine_fn_config_dll msvcr120 enable_msvcr120 implib
17756 wine_fn_config_test dlls/msvcr120/tests msvcr120_test
17757 wine_fn_config_dll msvcr120_app enable_msvcr120_app
17758 wine_fn_config_dll msvcr70 enable_msvcr70 implib
17759 wine_fn_config_dll msvcr71 enable_msvcr71 implib
17760 wine_fn_config_dll msvcr80 enable_msvcr80 implib
17761 wine_fn_config_dll msvcr90 enable_msvcr90 implib
17762 wine_fn_config_test dlls/msvcr90/tests msvcr90_test
17763 wine_fn_config_dll msvcrt enable_msvcrt implib
17764 wine_fn_config_test dlls/msvcrt/tests msvcrt_test
17765 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
17766 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
17767 wine_fn_config_dll msvcrtd enable_msvcrtd implib
17768 wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
17769 wine_fn_config_dll msvfw32 enable_msvfw32 implib,po
17770 wine_fn_config_test dlls/msvfw32/tests msvfw32_test
17771 wine_fn_config_dll msvidc32 enable_msvidc32 po
17772 wine_fn_config_dll msvideo.dll16 enable_win16
17773 wine_fn_config_dll mswsock enable_mswsock implib
17774 wine_fn_config_dll msxml enable_msxml clean
17775 wine_fn_config_dll msxml2 enable_msxml2 clean
17776 wine_fn_config_dll msxml3 enable_msxml3 clean
17777 wine_fn_config_test dlls/msxml3/tests msxml3_test clean
17778 wine_fn_config_dll msxml4 enable_msxml4 clean
17779 wine_fn_config_dll msxml6 enable_msxml6 clean
17780 wine_fn_config_dll nddeapi enable_nddeapi implib
17781 wine_fn_config_dll ndis.sys enable_ndis_sys
17782 wine_fn_config_dll netapi32 enable_netapi32 implib
17783 wine_fn_config_test dlls/netapi32/tests netapi32_test
17784 wine_fn_config_dll netcfgx enable_netcfgx clean
17785 wine_fn_config_test dlls/netcfgx/tests netcfgx_test
17786 wine_fn_config_dll netprofm enable_netprofm clean
17787 wine_fn_config_test dlls/netprofm/tests netprofm_test
17788 wine_fn_config_dll newdev enable_newdev implib
17789 wine_fn_config_dll normaliz enable_normaliz implib
17790 wine_fn_config_dll npmshtml enable_npmshtml
17791 wine_fn_config_dll npptools enable_npptools
17792 wine_fn_config_dll ntdll enable_ntdll implib
17793 wine_fn_config_test dlls/ntdll/tests ntdll_test
17794 wine_fn_config_dll ntdsapi enable_ntdsapi implib
17795 wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
17796 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
17797 wine_fn_config_dll ntprint enable_ntprint
17798 wine_fn_config_test dlls/ntprint/tests ntprint_test
17799 wine_fn_config_dll objsel enable_objsel clean
17800 wine_fn_config_dll odbc32 enable_odbc32 implib
17801 wine_fn_config_dll odbccp32 enable_odbccp32 implib
17802 wine_fn_config_test dlls/odbccp32/tests odbccp32_test
17803 wine_fn_config_dll odbccu32 enable_odbccu32
17804 wine_fn_config_dll ole2.dll16 enable_win16
17805 wine_fn_config_dll ole2conv.dll16 enable_win16
17806 wine_fn_config_dll ole2disp.dll16 enable_win16
17807 wine_fn_config_dll ole2nls.dll16 enable_win16
17808 wine_fn_config_dll ole2prox.dll16 enable_win16
17809 wine_fn_config_dll ole2thk.dll16 enable_win16
17810 wine_fn_config_dll ole32 enable_ole32 clean,implib
17811 wine_fn_config_test dlls/ole32/tests ole32_test
17812 wine_fn_config_dll oleacc enable_oleacc clean,implib,po
17813 wine_fn_config_test dlls/oleacc/tests oleacc_test
17814 wine_fn_config_dll oleaut32 enable_oleaut32 clean,implib,po
17815 wine_fn_config_test dlls/oleaut32/tests oleaut32_test clean
17816 wine_fn_config_dll olecli.dll16 enable_win16
17817 wine_fn_config_dll olecli32 enable_olecli32 implib
17818 wine_fn_config_dll oledb32 enable_oledb32 clean
17819 wine_fn_config_test dlls/oledb32/tests oledb32_test clean
17820 wine_fn_config_dll oledlg enable_oledlg implib,po
17821 wine_fn_config_test dlls/oledlg/tests oledlg_test
17822 wine_fn_config_dll olepro32 enable_olepro32 clean,implib
17823 wine_fn_config_dll olesvr.dll16 enable_win16
17824 wine_fn_config_dll olesvr32 enable_olesvr32 implib
17825 wine_fn_config_dll olethk32 enable_olethk32
17826 wine_fn_config_dll openal32 enable_openal32
17827 wine_fn_config_dll opencl enable_opencl
17828 wine_fn_config_dll opengl32 enable_opengl32 implib
17829 wine_fn_config_test dlls/opengl32/tests opengl32_test
17830 wine_fn_config_dll packager enable_packager clean
17831 wine_fn_config_test dlls/packager/tests packager_test
17832 wine_fn_config_dll pdh enable_pdh implib
17833 wine_fn_config_test dlls/pdh/tests pdh_test
17834 wine_fn_config_dll photometadatahandler enable_photometadatahandler
17835 wine_fn_config_dll pidgen enable_pidgen
17836 wine_fn_config_dll powrprof enable_powrprof implib
17837 wine_fn_config_dll printui enable_printui
17838 wine_fn_config_dll prntvpt enable_prntvpt
17839 wine_fn_config_dll propsys enable_propsys clean,implib
17840 wine_fn_config_test dlls/propsys/tests propsys_test
17841 wine_fn_config_dll psapi enable_psapi implib
17842 wine_fn_config_test dlls/psapi/tests psapi_test
17843 wine_fn_config_dll pstorec enable_pstorec clean
17844 wine_fn_config_dll qcap enable_qcap
17845 wine_fn_config_test dlls/qcap/tests qcap_test
17846 wine_fn_config_dll qedit enable_qedit clean
17847 wine_fn_config_test dlls/qedit/tests qedit_test
17848 wine_fn_config_dll qmgr enable_qmgr clean
17849 wine_fn_config_test dlls/qmgr/tests qmgr_test
17850 wine_fn_config_dll qmgrprxy enable_qmgrprxy clean
17851 wine_fn_config_dll quartz enable_quartz clean,implib
17852 wine_fn_config_test dlls/quartz/tests quartz_test clean
17853 wine_fn_config_dll query enable_query
17854 wine_fn_config_dll rasapi16.dll16 enable_win16
17855 wine_fn_config_dll rasapi32 enable_rasapi32 implib
17856 wine_fn_config_test dlls/rasapi32/tests rasapi32_test
17857 wine_fn_config_dll rasdlg enable_rasdlg implib
17858 wine_fn_config_dll regapi enable_regapi
17859 wine_fn_config_dll resutils enable_resutils implib
17860 wine_fn_config_dll riched20 enable_riched20 clean,implib
17861 wine_fn_config_test dlls/riched20/tests riched20_test
17862 wine_fn_config_dll riched32 enable_riched32
17863 wine_fn_config_test dlls/riched32/tests riched32_test
17864 wine_fn_config_dll rpcrt4 enable_rpcrt4 clean,implib
17865 wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test clean
17866 wine_fn_config_dll rsabase enable_rsabase
17867 wine_fn_config_dll rsaenh enable_rsaenh implib
17868 wine_fn_config_test dlls/rsaenh/tests rsaenh_test
17869 wine_fn_config_dll rstrtmgr enable_rstrtmgr
17870 wine_fn_config_dll rtutils enable_rtutils implib
17871 wine_fn_config_dll samlib enable_samlib
17872 wine_fn_config_dll sane.ds enable_sane_ds po
17873 wine_fn_config_dll scarddlg enable_scarddlg
17874 wine_fn_config_dll sccbase enable_sccbase
17875 wine_fn_config_dll schannel enable_schannel
17876 wine_fn_config_test dlls/schannel/tests schannel_test
17877 wine_fn_config_dll schedsvc enable_schedsvc clean
17878 wine_fn_config_test dlls/schedsvc/tests schedsvc_test clean
17879 wine_fn_config_dll scrrun enable_scrrun clean
17880 wine_fn_config_test dlls/scrrun/tests scrrun_test clean
17881 wine_fn_config_dll scsiport.sys enable_scsiport_sys
17882 wine_fn_config_dll secur32 enable_secur32 implib
17883 wine_fn_config_test dlls/secur32/tests secur32_test
17884 wine_fn_config_dll security enable_security
17885 wine_fn_config_dll sensapi enable_sensapi implib
17886 wine_fn_config_dll serialui enable_serialui implib,po
17887 wine_fn_config_test dlls/serialui/tests serialui_test
17888 wine_fn_config_dll setupapi enable_setupapi implib,po
17889 wine_fn_config_test dlls/setupapi/tests setupapi_test
17890 wine_fn_config_dll setupx.dll16 enable_win16
17891 wine_fn_config_dll sfc enable_sfc implib
17892 wine_fn_config_dll sfc_os enable_sfc_os implib
17893 wine_fn_config_dll shdoclc enable_shdoclc po
17894 wine_fn_config_dll shdocvw enable_shdocvw clean,implib
17895 wine_fn_config_test dlls/shdocvw/tests shdocvw_test
17896 wine_fn_config_dll shell.dll16 enable_win16
17897 wine_fn_config_dll shell32 enable_shell32 clean,implib,po
17898 wine_fn_config_test dlls/shell32/tests shell32_test
17899 wine_fn_config_dll shfolder enable_shfolder implib
17900 wine_fn_config_dll shlwapi enable_shlwapi implib,po
17901 wine_fn_config_test dlls/shlwapi/tests shlwapi_test
17902 wine_fn_config_dll slbcsp enable_slbcsp
17903 wine_fn_config_dll slc enable_slc implib
17904 wine_fn_config_test dlls/slc/tests slc_test
17905 wine_fn_config_dll snmpapi enable_snmpapi implib
17906 wine_fn_config_test dlls/snmpapi/tests snmpapi_test
17907 wine_fn_config_dll softpub enable_softpub
17908 wine_fn_config_dll sound.drv16 enable_win16
17909 wine_fn_config_dll spoolss enable_spoolss implib
17910 wine_fn_config_test dlls/spoolss/tests spoolss_test
17911 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb clean
17912 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb clean
17913 wine_fn_config_dll sti enable_sti clean,implib
17914 wine_fn_config_test dlls/sti/tests sti_test
17915 wine_fn_config_dll storage.dll16 enable_win16
17916 wine_fn_config_dll stress.dll16 enable_win16
17917 wine_fn_config_lib strmbase
17918 wine_fn_config_lib strmiids
17919 wine_fn_config_dll svrapi enable_svrapi
17920 wine_fn_config_dll sxs enable_sxs implib
17921 wine_fn_config_test dlls/sxs/tests sxs_test
17922 wine_fn_config_dll system.drv16 enable_win16
17923 wine_fn_config_dll t2embed enable_t2embed
17924 wine_fn_config_dll tapi32 enable_tapi32 implib
17925 wine_fn_config_dll taskschd enable_taskschd clean
17926 wine_fn_config_test dlls/taskschd/tests taskschd_test
17927 wine_fn_config_dll tdi.sys enable_tdi_sys
17928 wine_fn_config_dll toolhelp.dll16 enable_win16
17929 wine_fn_config_dll traffic enable_traffic
17930 wine_fn_config_dll twain.dll16 enable_win16
17931 wine_fn_config_dll twain_32 enable_twain_32
17932 wine_fn_config_test dlls/twain_32/tests twain_32_test
17933 wine_fn_config_dll typelib.dll16 enable_win16
17934 wine_fn_config_dll ucrtbase enable_ucrtbase
17935 wine_fn_config_test dlls/ucrtbase/tests ucrtbase_test
17936 wine_fn_config_dll unicows enable_unicows implib
17937 wine_fn_config_dll updspapi enable_updspapi
17938 wine_fn_config_dll url enable_url implib
17939 wine_fn_config_dll urlmon enable_urlmon clean,implib,po
17940 wine_fn_config_test dlls/urlmon/tests urlmon_test
17941 wine_fn_config_dll usbd.sys enable_usbd_sys implib
17942 wine_fn_config_dll user.exe16 enable_win16
17943 wine_fn_config_dll user32 enable_user32 clean,implib,po
17944 wine_fn_config_test dlls/user32/tests user32_test
17945 wine_fn_config_dll userenv enable_userenv implib
17946 wine_fn_config_test dlls/userenv/tests userenv_test
17947 wine_fn_config_dll usp10 enable_usp10 implib
17948 wine_fn_config_test dlls/usp10/tests usp10_test
17949 wine_fn_config_lib uuid
17950 wine_fn_config_dll uxtheme enable_uxtheme implib
17951 wine_fn_config_test dlls/uxtheme/tests uxtheme_test
17952 wine_fn_config_dll vbscript enable_vbscript clean
17953 wine_fn_config_test dlls/vbscript/tests vbscript_test clean
17954 wine_fn_config_dll vcomp enable_vcomp
17955 wine_fn_config_test dlls/vcomp/tests vcomp_test
17956 wine_fn_config_dll vcomp100 enable_vcomp100
17957 wine_fn_config_dll vcomp110 enable_vcomp110
17958 wine_fn_config_dll vcomp120 enable_vcomp120
17959 wine_fn_config_dll vcomp90 enable_vcomp90
17960 wine_fn_config_dll vcruntime140 enable_vcruntime140
17961 wine_fn_config_dll vdhcp.vxd enable_win16
17962 wine_fn_config_dll vdmdbg enable_vdmdbg implib
17963 wine_fn_config_dll ver.dll16 enable_win16
17964 wine_fn_config_dll version enable_version implib
17965 wine_fn_config_test dlls/version/tests version_test
17966 wine_fn_config_dll vmm.vxd enable_win16
17967 wine_fn_config_dll vnbt.vxd enable_win16
17968 wine_fn_config_dll vnetbios.vxd enable_win16
17969 wine_fn_config_dll vssapi enable_vssapi
17970 wine_fn_config_dll vtdapi.vxd enable_win16
17971 wine_fn_config_dll vwin32.vxd enable_win16
17972 wine_fn_config_dll w32skrnl enable_win16
17973 wine_fn_config_dll w32sys.dll16 enable_win16
17974 wine_fn_config_dll wbemdisp enable_wbemdisp clean
17975 wine_fn_config_test dlls/wbemdisp/tests wbemdisp_test
17976 wine_fn_config_dll wbemprox enable_wbemprox clean
17977 wine_fn_config_test dlls/wbemprox/tests wbemprox_test
17978 wine_fn_config_dll webservices enable_webservices implib
17979 wine_fn_config_test dlls/webservices/tests webservices_test
17980 wine_fn_config_dll wer enable_wer implib
17981 wine_fn_config_test dlls/wer/tests wer_test
17982 wine_fn_config_dll wevtapi enable_wevtapi
17983 wine_fn_config_dll wiaservc enable_wiaservc clean
17984 wine_fn_config_test dlls/wiaservc/tests wiaservc_test
17985 wine_fn_config_dll wimgapi enable_wimgapi
17986 wine_fn_config_dll win32s16.dll16 enable_win16
17987 wine_fn_config_dll win87em.dll16 enable_win16
17988 wine_fn_config_dll winaspi.dll16 enable_win16
17989 wine_fn_config_dll windebug.dll16 enable_win16
17990 wine_fn_config_dll windowscodecs enable_windowscodecs clean,implib
17991 wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
17992 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
17993 wine_fn_config_test dlls/windowscodecsext/tests windowscodecsext_test
17994 wine_fn_config_dll winealsa.drv enable_winealsa_drv
17995 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
17996 wine_fn_config_lib winecrt0
17997 wine_fn_config_dll wined3d enable_wined3d implib
17998 wine_fn_config_dll winegstreamer enable_winegstreamer
17999 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
18000 wine_fn_config_dll winemac.drv enable_winemac_drv po
18001 wine_fn_config_dll winemapi enable_winemapi
18002 wine_fn_config_dll winemp3.acm enable_winemp3_acm
18003 wine_fn_config_dll wineoss.drv enable_wineoss_drv
18004 wine_fn_config_dll wineps.drv enable_wineps_drv clean,po
18005 wine_fn_config_dll wineps16.drv16 enable_win16
18006 wine_fn_config_dll winepulse.drv enable_winepulse_drv
18007 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
18008 wine_fn_config_dll winex11.drv enable_winex11_drv
18009 wine_fn_config_dll wing.dll16 enable_win16
18010 wine_fn_config_dll wing32 enable_wing32
18011 wine_fn_config_dll winhttp enable_winhttp clean,implib
18012 wine_fn_config_test dlls/winhttp/tests winhttp_test
18013 wine_fn_config_dll wininet enable_wininet implib,po
18014 wine_fn_config_test dlls/wininet/tests wininet_test
18015 wine_fn_config_dll winmm enable_winmm implib,po
18016 wine_fn_config_test dlls/winmm/tests winmm_test
18017 wine_fn_config_dll winnls.dll16 enable_win16
18018 wine_fn_config_dll winnls32 enable_winnls32 implib
18019 wine_fn_config_dll winscard enable_winscard implib
18020 wine_fn_config_dll winsock.dll16 enable_win16
18021 wine_fn_config_dll winspool.drv enable_winspool_drv implib,po winspool
18022 wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
18023 wine_fn_config_dll winsta enable_winsta
18024 wine_fn_config_dll wintab.dll16 enable_win16
18025 wine_fn_config_dll wintab32 enable_wintab32 implib
18026 wine_fn_config_test dlls/wintab32/tests wintab32_test
18027 wine_fn_config_dll wintrust enable_wintrust implib
18028 wine_fn_config_test dlls/wintrust/tests wintrust_test
18029 wine_fn_config_dll wlanapi enable_wlanapi
18030 wine_fn_config_dll wldap32 enable_wldap32 implib,po
18031 wine_fn_config_test dlls/wldap32/tests wldap32_test
18032 wine_fn_config_dll wmi enable_wmi
18033 wine_fn_config_dll wmiutils enable_wmiutils clean
18034 wine_fn_config_test dlls/wmiutils/tests wmiutils_test
18035 wine_fn_config_dll wmp enable_wmp clean
18036 wine_fn_config_test dlls/wmp/tests wmp_test
18037 wine_fn_config_dll wmvcore enable_wmvcore
18038 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
18039 wine_fn_config_dll wow32 enable_win16 implib
18040 wine_fn_config_dll wpcap enable_wpcap
18041 wine_fn_config_dll ws2_32 enable_ws2_32 implib
18042 wine_fn_config_test dlls/ws2_32/tests ws2_32_test
18043 wine_fn_config_dll wshom.ocx enable_wshom_ocx clean
18044 wine_fn_config_test dlls/wshom.ocx/tests wshom.ocx_test clean
18045 wine_fn_config_dll wsnmp32 enable_wsnmp32 implib
18046 wine_fn_config_test dlls/wsnmp32/tests wsnmp32_test
18047 wine_fn_config_dll wsock32 enable_wsock32 implib
18048 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
18049 wine_fn_config_test dlls/wtsapi32/tests wtsapi32_test
18050 wine_fn_config_dll wuapi enable_wuapi clean
18051 wine_fn_config_dll wuaueng enable_wuaueng
18052 wine_fn_config_dll x3daudio1_0 enable_x3daudio1_0
18053 wine_fn_config_dll x3daudio1_1 enable_x3daudio1_1
18054 wine_fn_config_dll x3daudio1_2 enable_x3daudio1_2
18055 wine_fn_config_dll x3daudio1_3 enable_x3daudio1_3
18056 wine_fn_config_dll x3daudio1_4 enable_x3daudio1_4
18057 wine_fn_config_dll x3daudio1_5 enable_x3daudio1_5
18058 wine_fn_config_dll x3daudio1_6 enable_x3daudio1_6
18059 wine_fn_config_dll x3daudio1_7 enable_x3daudio1_7
18060 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
18061 wine_fn_config_dll xapofx1_2 enable_xapofx1_2
18062 wine_fn_config_dll xapofx1_3 enable_xapofx1_3
18063 wine_fn_config_dll xapofx1_4 enable_xapofx1_4
18064 wine_fn_config_dll xapofx1_5 enable_xapofx1_5
18065 wine_fn_config_dll xaudio2_0 enable_xaudio2_0 clean
18066 wine_fn_config_dll xaudio2_1 enable_xaudio2_1 clean
18067 wine_fn_config_dll xaudio2_2 enable_xaudio2_2 clean
18068 wine_fn_config_dll xaudio2_3 enable_xaudio2_3 clean
18069 wine_fn_config_dll xaudio2_4 enable_xaudio2_4 clean
18070 wine_fn_config_dll xaudio2_5 enable_xaudio2_5 clean
18071 wine_fn_config_dll xaudio2_6 enable_xaudio2_6 clean
18072 wine_fn_config_dll xaudio2_7 enable_xaudio2_7 clean
18073 wine_fn_config_test dlls/xaudio2_7/tests xaudio2_7_test
18074 wine_fn_config_dll xaudio2_8 enable_xaudio2_8 clean
18075 wine_fn_config_dll xaudio2_9 enable_xaudio2_9 clean
18076 wine_fn_config_dll xinput1_1 enable_xinput1_1
18077 wine_fn_config_dll xinput1_2 enable_xinput1_2
18078 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
18079 wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
18080 wine_fn_config_dll xinput1_4 enable_xinput1_4
18081 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
18082 wine_fn_config_dll xmllite enable_xmllite implib
18083 wine_fn_config_test dlls/xmllite/tests xmllite_test
18084 wine_fn_config_dll xolehlp enable_xolehlp
18085 wine_fn_config_dll xpsprint enable_xpsprint
18086 wine_fn_config_dll xpssvcs enable_xpssvcs
18087 wine_fn_config_makefile fonts enable_fonts clean,install-lib
18088 wine_fn_config_makefile include enable_include clean,install-dev
18089 wine_fn_config_makefile libs/port enable_libs_port
18090 wine_fn_config_makefile libs/wine enable_libs_wine clean,implib,install-dev,install-lib
18091 wine_fn_config_makefile libs/wpp enable_libs_wpp
18092 wine_fn_config_makefile loader enable_loader clean,install-lib
18093 wine_fn_config_program arp enable_arp install
18094 wine_fn_config_program aspnet_regiis enable_aspnet_regiis install
18095 wine_fn_config_program attrib enable_attrib install,po
18096 wine_fn_config_program cabarc enable_cabarc install
18097 wine_fn_config_program cacls enable_cacls install
18098 wine_fn_config_program clock enable_clock install,po
18099 wine_fn_config_program cmd enable_cmd install,po
18100 wine_fn_config_test programs/cmd/tests cmd.exe_test
18101 wine_fn_config_program conhost enable_conhost install
18102 wine_fn_config_program control enable_control install
18103 wine_fn_config_program cscript enable_cscript clean,install
18104 wine_fn_config_program dpnsvr enable_dpnsvr install
18105 wine_fn_config_program dxdiag enable_dxdiag install,po
18106 wine_fn_config_program eject enable_eject install
18107 wine_fn_config_program expand enable_expand install
18108 wine_fn_config_program explorer enable_explorer install,po
18109 wine_fn_config_program extrac32 enable_extrac32 install
18110 wine_fn_config_program findstr enable_findstr install
18111 wine_fn_config_program hh enable_hh install
18112 wine_fn_config_program hostname enable_hostname install,po
18113 wine_fn_config_program icacls enable_icacls install
18114 wine_fn_config_program icinfo enable_icinfo install
18115 wine_fn_config_program iexplore enable_iexplore install
18116 wine_fn_config_program ipconfig enable_ipconfig install,po
18117 wine_fn_config_program lodctr enable_lodctr install
18118 wine_fn_config_program mofcomp enable_mofcomp install
18119 wine_fn_config_program mshta enable_mshta install
18120 wine_fn_config_program msiexec enable_msiexec install,installbin,manpage
18121 wine_fn_config_program net enable_net install,po
18122 wine_fn_config_program netsh enable_netsh install
18123 wine_fn_config_program netstat enable_netstat install,po
18124 wine_fn_config_program ngen enable_ngen install
18125 wine_fn_config_program notepad enable_notepad install,installbin,manpage,po
18126 wine_fn_config_program oleview enable_oleview install,po
18127 wine_fn_config_program ping enable_ping install
18128 wine_fn_config_program plugplay enable_plugplay install
18129 wine_fn_config_program presentationfontcache enable_presentationfontcache install
18130 wine_fn_config_program progman enable_progman install,po
18131 wine_fn_config_program reg enable_reg install,po
18132 wine_fn_config_test programs/reg/tests reg.exe_test
18133 wine_fn_config_program regasm enable_regasm install
18134 wine_fn_config_program regedit enable_regedit install,installbin,manpage,po
18135 wine_fn_config_test programs/regedit/tests regedit.exe_test
18136 wine_fn_config_program regsvcs enable_regsvcs install
18137 wine_fn_config_program regsvr32 enable_regsvr32 install,installbin,manpage,po
18138 wine_fn_config_program rpcss enable_rpcss clean,install
18139 wine_fn_config_program rundll.exe16 enable_win16 install
18140 wine_fn_config_program rundll32 enable_rundll32 install
18141 wine_fn_config_program sc enable_sc install
18142 wine_fn_config_program schtasks enable_schtasks install
18143 wine_fn_config_program sdbinst enable_sdbinst install
18144 wine_fn_config_program secedit enable_secedit install
18145 wine_fn_config_program servicemodelreg enable_servicemodelreg install
18146 wine_fn_config_program services enable_services clean,install
18147 wine_fn_config_test programs/services/tests services.exe_test
18148 wine_fn_config_program spoolsv enable_spoolsv install
18149 wine_fn_config_program start enable_start install,po
18150 wine_fn_config_program svchost enable_svchost install
18151 wine_fn_config_program systeminfo enable_systeminfo install
18152 wine_fn_config_program taskkill enable_taskkill install,po
18153 wine_fn_config_program tasklist enable_tasklist install
18154 wine_fn_config_program taskmgr enable_taskmgr install,po
18155 wine_fn_config_program termsv enable_termsv install
18156 wine_fn_config_program uninstaller enable_uninstaller install,po
18157 wine_fn_config_program unlodctr enable_unlodctr install
18158 wine_fn_config_program view enable_view install,po
18159 wine_fn_config_program wevtutil enable_wevtutil install
18160 wine_fn_config_program wineboot enable_wineboot install,installbin,manpage,po
18161 wine_fn_config_program winebrowser enable_winebrowser install
18162 wine_fn_config_program winecfg enable_winecfg install,installbin,manpage,po
18163 wine_fn_config_program wineconsole enable_wineconsole install,installbin,manpage,po
18164 wine_fn_config_program winedbg enable_winedbg install,installbin,manpage,po
18165 wine_fn_config_program winedevice enable_winedevice install
18166 wine_fn_config_program winefile enable_winefile install,installbin,manpage,po
18167 wine_fn_config_program winemenubuilder enable_winemenubuilder install
18168 wine_fn_config_program winemine enable_winemine install,installbin,manpage,po
18169 wine_fn_config_program winemsibuilder enable_winemsibuilder install
18170 wine_fn_config_program winepath enable_winepath install,installbin,manpage
18171 wine_fn_config_program winetest enable_winetest clean
18172 wine_fn_config_program winevdm enable_win16 install
18173 wine_fn_config_program winhelp.exe16 enable_win16 install
18174 wine_fn_config_program winhlp32 enable_winhlp32 install,po
18175 wine_fn_config_program winoldap.mod16 enable_win16 install
18176 wine_fn_config_program winver enable_winver install
18177 wine_fn_config_program wmic enable_wmic install,po
18178 wine_fn_config_program wmplayer enable_wmplayer install
18179 wine_fn_config_program wordpad enable_wordpad install,po
18180 wine_fn_config_program write enable_write install,po
18181 wine_fn_config_program wscript enable_wscript clean,install
18182 wine_fn_config_test programs/wscript/tests wscript.exe_test
18183 wine_fn_config_program wusa enable_wusa install
18184 wine_fn_config_program xcopy enable_xcopy install,po
18185 wine_fn_config_test programs/xcopy/tests xcopy.exe_test
18186 wine_fn_config_makefile server enable_server clean,install-lib
18187 wine_fn_config_tool tools clean
18188 wine_fn_config_tool tools/sfnt2fon clean
18189 wine_fn_config_tool tools/widl clean,install-dev
18190 wine_fn_config_tool tools/winebuild clean,install-dev
18191 wine_fn_config_tool tools/winedump clean,install-dev
18192 wine_fn_config_tool tools/winegcc clean,install-dev
18193 wine_fn_config_tool tools/winemaker clean,install-dev
18194 wine_fn_config_tool tools/wmc clean,install-dev
18195 wine_fn_config_tool tools/wrc clean,install-dev
18197 LINGUAS="\
18198 ar \
18199 bg \
18200 ca \
18201 cs \
18202 da \
18203 de \
18204 el \
18205 en \
18206 en_US \
18207 eo \
18208 es \
18209 fa \
18210 fi \
18211 fr \
18212 he \
18213 hi \
18214 hr \
18215 hu \
18216 it \
18217 ja \
18218 ko \
18219 lt \
18220 ml \
18221 nb_NO \
18222 nl \
18223 or \
18224 pa \
18225 pl \
18226 pt_BR \
18227 pt_PT \
18228 rm \
18229 ro \
18230 ru \
18231 sk \
18232 sl \
18233 sr_RS@cyrillic \
18234 sr_RS@latin \
18235 sv \
18236 te \
18237 th \
18238 tr \
18239 uk \
18240 wa \
18241 zh_CN \
18242 zh_TW"
18247 wine_fn_ignore_file ".gitignore"
18248 wine_fn_ignore_file "Makefile"
18249 wine_fn_ignore_file "TAGS"
18250 wine_fn_ignore_file "tags"
18251 wine_fn_ignore_file "autom4te.cache"
18252 wine_fn_ignore_file "config.cache"
18253 wine_fn_ignore_file "config.log"
18254 wine_fn_ignore_file "config.status"
18255 wine_fn_ignore_file "configure.lineno"
18256 wine_fn_ignore_file "include/config.h"
18257 wine_fn_ignore_file "include/stamp-h"
18258 test "$wine_binary" = wine || wine_fn_ignore_file "loader/wine"
18260 if test "x$enable_tools" != xno
18261 then
18262 wine_fn_ignore_file "tools/makedep$ac_exeext"
18263 ac_config_commands="$ac_config_commands tools/makedep"
18267 ac_config_commands="$ac_config_commands Makefile"
18270 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
18274 if test "x$enable_maintainer_mode" = xyes
18275 then
18276 wine_fn_append_rule "configure: configure.ac aclocal.m4
18277 autoconf --warnings=all
18278 include/config.h.in: include/stamp-h.in
18279 include/stamp-h.in: configure.ac aclocal.m4
18280 autoheader --warnings=all
18281 @echo timestamp > \$@"
18284 if test "x$with_gettextpo" = xyes
18285 then
18286 test "$srcdir" = . || as_fn_error $? "Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
18287 wine_fn_append_rule "ALL_POT_FILES =$ALL_POT_FILES
18288 \$(LINGUAS:%=po/%.po): po/wine.pot
18289 msgmerge --previous -q \$@ po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
18290 po/wine.pot: \$(ALL_POT_FILES)
18291 msgcat -o \$@ \$(ALL_POT_FILES)"
18294 if test "$MSGFMT" != false
18295 then
18296 wine_fn_append_rule "__builddeps__: \$(LINGUAS:%=po/%.mo)
18297 clean::
18298 \$(RM) \$(LINGUAS:%=po/%.mo)"
18300 posrc="po"
18301 test "$srcdir" = . || posrc="$srcdir/po"
18302 for i in $LINGUAS
18304 wine_fn_ignore_file "po/$i.mo"
18305 wine_fn_append_rule "po/$i.mo: $posrc/$i.po
18306 \$(MSGFMT) -o \$@ $posrc/$i.po"
18307 done
18308 else
18309 LINGUAS=
18312 if test "x$enable_tools" != xno
18313 then
18314 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
18315 @./config.status tools/makedep
18316 Makefile: tools/makedep$ac_exeext
18317 distclean:: clean
18318 \$(RM) tools/makedep$ac_exeext"
18319 else
18320 wine_fn_append_rule "\$(MAKEDEP):
18321 @echo \"You need to run make in $TOOLSDIR first\" && false"
18324 if test -n "$with_wine64"
18325 then
18326 wine_fn_append_rule "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
18327 fonts server tools:
18328 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
18329 $with_wine64/loader/wine:
18330 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
18331 $with_wine64/loader/wine-preloader:
18332 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
18333 clean::
18334 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
18335 else
18336 WINELOADER_INSTALL="wine.inf"
18338 wine_fn_append_rule "install install-lib::
18339 \$(INSTALL_DATA) $srcdir/loader/l_intl.nls \$(DESTDIR)\$(datadir)/wine/l_intl.nls
18340 uninstall::
18341 \$(RM) \$(DESTDIR)\$(datadir)/wine/l_intl.nls"
18342 case $host_os in
18343 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
18344 *) wine_fn_append_rule "install install-lib::
18345 \$(INSTALL_DATA) $srcdir/loader/wine.desktop \$(DESTDIR)\$(datadir)/applications/wine.desktop
18346 uninstall::
18347 \$(RM) \$(DESTDIR)\$(datadir)/applications/wine.desktop" ;;
18348 esac
18351 if test "$srcdir" = .
18352 then
18353 ac_config_commands="$ac_config_commands .gitignore"
18357 $as_echo " done" >&6
18358 cat >confcache <<\_ACEOF
18359 # This file is a shell script that caches the results of configure
18360 # tests run on this system so they can be shared between configure
18361 # scripts and configure runs, see configure's option --config-cache.
18362 # It is not useful on other systems. If it contains results you don't
18363 # want to keep, you may remove or edit it.
18365 # config.status only pays attention to the cache file if you give it
18366 # the --recheck option to rerun configure.
18368 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18369 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18370 # following values.
18372 _ACEOF
18374 # The following way of writing the cache mishandles newlines in values,
18375 # but we know of no workaround that is simple, portable, and efficient.
18376 # So, we kill variables containing newlines.
18377 # Ultrix sh set writes to stderr and can't be redirected directly,
18378 # and sets the high bit in the cache file unless we assign to the vars.
18380 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18381 eval ac_val=\$$ac_var
18382 case $ac_val in #(
18383 *${as_nl}*)
18384 case $ac_var in #(
18385 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18386 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18387 esac
18388 case $ac_var in #(
18389 _ | IFS | as_nl) ;; #(
18390 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18391 *) { eval $ac_var=; unset $ac_var;} ;;
18392 esac ;;
18393 esac
18394 done
18396 (set) 2>&1 |
18397 case $as_nl`(ac_space=' '; set) 2>&1` in #(
18398 *${as_nl}ac_space=\ *)
18399 # `set' does not quote correctly, so add quotes: double-quote
18400 # substitution turns \\\\ into \\, and sed turns \\ into \.
18401 sed -n \
18402 "s/'/'\\\\''/g;
18403 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18404 ;; #(
18406 # `set' quotes correctly as required by POSIX, so do not add quotes.
18407 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18409 esac |
18410 sort
18412 sed '
18413 /^ac_cv_env_/b end
18414 t clear
18415 :clear
18416 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18417 t end
18418 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18419 :end' >>confcache
18420 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18421 if test -w "$cache_file"; then
18422 if test "x$cache_file" != "x/dev/null"; then
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18424 $as_echo "$as_me: updating cache $cache_file" >&6;}
18425 if test ! -f "$cache_file" || test -h "$cache_file"; then
18426 cat confcache >"$cache_file"
18427 else
18428 case $cache_file in #(
18429 */* | ?:*)
18430 mv -f confcache "$cache_file"$$ &&
18431 mv -f "$cache_file"$$ "$cache_file" ;; #(
18433 mv -f confcache "$cache_file" ;;
18434 esac
18437 else
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18439 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18442 rm -f confcache
18444 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18445 # Let make expand exec_prefix.
18446 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18448 DEFS=-DHAVE_CONFIG_H
18450 ac_libobjs=
18451 ac_ltlibobjs=
18453 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18454 # 1. Remove the extension, and $U if already installed.
18455 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18456 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18457 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18458 # will be set to the directory where LIBOBJS objects are built.
18459 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18460 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18461 done
18462 LIBOBJS=$ac_libobjs
18464 LTLIBOBJS=$ac_ltlibobjs
18468 : "${CONFIG_STATUS=./config.status}"
18469 ac_write_fail=0
18470 ac_clean_files_save=$ac_clean_files
18471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18473 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18474 as_write_fail=0
18475 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18476 #! $SHELL
18477 # Generated by $as_me.
18478 # Run this file to recreate the current configuration.
18479 # Compiler output produced by configure, useful for debugging
18480 # configure, is in config.log if it exists.
18482 debug=false
18483 ac_cs_recheck=false
18484 ac_cs_silent=false
18486 SHELL=\${CONFIG_SHELL-$SHELL}
18487 export SHELL
18488 _ASEOF
18489 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18490 ## -------------------- ##
18491 ## M4sh Initialization. ##
18492 ## -------------------- ##
18494 # Be more Bourne compatible
18495 DUALCASE=1; export DUALCASE # for MKS sh
18496 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18497 emulate sh
18498 NULLCMD=:
18499 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18500 # is contrary to our usage. Disable this feature.
18501 alias -g '${1+"$@"}'='"$@"'
18502 setopt NO_GLOB_SUBST
18503 else
18504 case `(set -o) 2>/dev/null` in #(
18505 *posix*) :
18506 set -o posix ;; #(
18507 *) :
18509 esac
18513 as_nl='
18515 export as_nl
18516 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18517 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18518 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18519 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18520 # Prefer a ksh shell builtin over an external printf program on Solaris,
18521 # but without wasting forks for bash or zsh.
18522 if test -z "$BASH_VERSION$ZSH_VERSION" \
18523 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18524 as_echo='print -r --'
18525 as_echo_n='print -rn --'
18526 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18527 as_echo='printf %s\n'
18528 as_echo_n='printf %s'
18529 else
18530 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18531 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18532 as_echo_n='/usr/ucb/echo -n'
18533 else
18534 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18535 as_echo_n_body='eval
18536 arg=$1;
18537 case $arg in #(
18538 *"$as_nl"*)
18539 expr "X$arg" : "X\\(.*\\)$as_nl";
18540 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18541 esac;
18542 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18544 export as_echo_n_body
18545 as_echo_n='sh -c $as_echo_n_body as_echo'
18547 export as_echo_body
18548 as_echo='sh -c $as_echo_body as_echo'
18551 # The user is always right.
18552 if test "${PATH_SEPARATOR+set}" != set; then
18553 PATH_SEPARATOR=:
18554 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18555 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18556 PATH_SEPARATOR=';'
18561 # IFS
18562 # We need space, tab and new line, in precisely that order. Quoting is
18563 # there to prevent editors from complaining about space-tab.
18564 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18565 # splitting by setting IFS to empty value.)
18566 IFS=" "" $as_nl"
18568 # Find who we are. Look in the path if we contain no directory separator.
18569 as_myself=
18570 case $0 in #((
18571 *[\\/]* ) as_myself=$0 ;;
18572 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18573 for as_dir in $PATH
18575 IFS=$as_save_IFS
18576 test -z "$as_dir" && as_dir=.
18577 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18578 done
18579 IFS=$as_save_IFS
18582 esac
18583 # We did not find ourselves, most probably we were run as `sh COMMAND'
18584 # in which case we are not to be found in the path.
18585 if test "x$as_myself" = x; then
18586 as_myself=$0
18588 if test ! -f "$as_myself"; then
18589 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18590 exit 1
18593 # Unset variables that we do not need and which cause bugs (e.g. in
18594 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18595 # suppresses any "Segmentation fault" message there. '((' could
18596 # trigger a bug in pdksh 5.2.14.
18597 for as_var in BASH_ENV ENV MAIL MAILPATH
18598 do eval test x\${$as_var+set} = xset \
18599 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18600 done
18601 PS1='$ '
18602 PS2='> '
18603 PS4='+ '
18605 # NLS nuisances.
18606 LC_ALL=C
18607 export LC_ALL
18608 LANGUAGE=C
18609 export LANGUAGE
18611 # CDPATH.
18612 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18615 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18616 # ----------------------------------------
18617 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18618 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18619 # script with STATUS, using 1 if that was 0.
18620 as_fn_error ()
18622 as_status=$1; test $as_status -eq 0 && as_status=1
18623 if test "$4"; then
18624 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18625 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18627 $as_echo "$as_me: error: $2" >&2
18628 as_fn_exit $as_status
18629 } # as_fn_error
18632 # as_fn_set_status STATUS
18633 # -----------------------
18634 # Set $? to STATUS, without forking.
18635 as_fn_set_status ()
18637 return $1
18638 } # as_fn_set_status
18640 # as_fn_exit STATUS
18641 # -----------------
18642 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18643 as_fn_exit ()
18645 set +e
18646 as_fn_set_status $1
18647 exit $1
18648 } # as_fn_exit
18650 # as_fn_unset VAR
18651 # ---------------
18652 # Portably unset VAR.
18653 as_fn_unset ()
18655 { eval $1=; unset $1;}
18657 as_unset=as_fn_unset
18658 # as_fn_append VAR VALUE
18659 # ----------------------
18660 # Append the text in VALUE to the end of the definition contained in VAR. Take
18661 # advantage of any shell optimizations that allow amortized linear growth over
18662 # repeated appends, instead of the typical quadratic growth present in naive
18663 # implementations.
18664 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18665 eval 'as_fn_append ()
18667 eval $1+=\$2
18669 else
18670 as_fn_append ()
18672 eval $1=\$$1\$2
18674 fi # as_fn_append
18676 # as_fn_arith ARG...
18677 # ------------------
18678 # Perform arithmetic evaluation on the ARGs, and store the result in the
18679 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18680 # must be portable across $(()) and expr.
18681 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18682 eval 'as_fn_arith ()
18684 as_val=$(( $* ))
18686 else
18687 as_fn_arith ()
18689 as_val=`expr "$@" || test $? -eq 1`
18691 fi # as_fn_arith
18694 if expr a : '\(a\)' >/dev/null 2>&1 &&
18695 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18696 as_expr=expr
18697 else
18698 as_expr=false
18701 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18702 as_basename=basename
18703 else
18704 as_basename=false
18707 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18708 as_dirname=dirname
18709 else
18710 as_dirname=false
18713 as_me=`$as_basename -- "$0" ||
18714 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18715 X"$0" : 'X\(//\)$' \| \
18716 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18717 $as_echo X/"$0" |
18718 sed '/^.*\/\([^/][^/]*\)\/*$/{
18719 s//\1/
18722 /^X\/\(\/\/\)$/{
18723 s//\1/
18726 /^X\/\(\/\).*/{
18727 s//\1/
18730 s/.*/./; q'`
18732 # Avoid depending upon Character Ranges.
18733 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18734 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18735 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18736 as_cr_digits='0123456789'
18737 as_cr_alnum=$as_cr_Letters$as_cr_digits
18739 ECHO_C= ECHO_N= ECHO_T=
18740 case `echo -n x` in #(((((
18741 -n*)
18742 case `echo 'xy\c'` in
18743 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18744 xy) ECHO_C='\c';;
18745 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18746 ECHO_T=' ';;
18747 esac;;
18749 ECHO_N='-n';;
18750 esac
18752 rm -f conf$$ conf$$.exe conf$$.file
18753 if test -d conf$$.dir; then
18754 rm -f conf$$.dir/conf$$.file
18755 else
18756 rm -f conf$$.dir
18757 mkdir conf$$.dir 2>/dev/null
18759 if (echo >conf$$.file) 2>/dev/null; then
18760 if ln -s conf$$.file conf$$ 2>/dev/null; then
18761 as_ln_s='ln -s'
18762 # ... but there are two gotchas:
18763 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18764 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18765 # In both cases, we have to default to `cp -pR'.
18766 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18767 as_ln_s='cp -pR'
18768 elif ln conf$$.file conf$$ 2>/dev/null; then
18769 as_ln_s=ln
18770 else
18771 as_ln_s='cp -pR'
18773 else
18774 as_ln_s='cp -pR'
18776 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18777 rmdir conf$$.dir 2>/dev/null
18780 # as_fn_mkdir_p
18781 # -------------
18782 # Create "$as_dir" as a directory, including parents if necessary.
18783 as_fn_mkdir_p ()
18786 case $as_dir in #(
18787 -*) as_dir=./$as_dir;;
18788 esac
18789 test -d "$as_dir" || eval $as_mkdir_p || {
18790 as_dirs=
18791 while :; do
18792 case $as_dir in #(
18793 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18794 *) as_qdir=$as_dir;;
18795 esac
18796 as_dirs="'$as_qdir' $as_dirs"
18797 as_dir=`$as_dirname -- "$as_dir" ||
18798 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18799 X"$as_dir" : 'X\(//\)[^/]' \| \
18800 X"$as_dir" : 'X\(//\)$' \| \
18801 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18802 $as_echo X"$as_dir" |
18803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18804 s//\1/
18807 /^X\(\/\/\)[^/].*/{
18808 s//\1/
18811 /^X\(\/\/\)$/{
18812 s//\1/
18815 /^X\(\/\).*/{
18816 s//\1/
18819 s/.*/./; q'`
18820 test -d "$as_dir" && break
18821 done
18822 test -z "$as_dirs" || eval "mkdir $as_dirs"
18823 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18826 } # as_fn_mkdir_p
18827 if mkdir -p . 2>/dev/null; then
18828 as_mkdir_p='mkdir -p "$as_dir"'
18829 else
18830 test -d ./-p && rmdir ./-p
18831 as_mkdir_p=false
18835 # as_fn_executable_p FILE
18836 # -----------------------
18837 # Test if FILE is an executable regular file.
18838 as_fn_executable_p ()
18840 test -f "$1" && test -x "$1"
18841 } # as_fn_executable_p
18842 as_test_x='test -x'
18843 as_executable_p=as_fn_executable_p
18845 # Sed expression to map a string onto a valid CPP name.
18846 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18848 # Sed expression to map a string onto a valid variable name.
18849 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18852 exec 6>&1
18853 ## ----------------------------------- ##
18854 ## Main body of $CONFIG_STATUS script. ##
18855 ## ----------------------------------- ##
18856 _ASEOF
18857 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18860 # Save the log message, to keep $0 and so on meaningful, and to
18861 # report actual input values of CONFIG_FILES etc. instead of their
18862 # values after options handling.
18863 ac_log="
18864 This file was extended by Wine $as_me 1.9.3, which was
18865 generated by GNU Autoconf 2.69. Invocation command line was
18867 CONFIG_FILES = $CONFIG_FILES
18868 CONFIG_HEADERS = $CONFIG_HEADERS
18869 CONFIG_LINKS = $CONFIG_LINKS
18870 CONFIG_COMMANDS = $CONFIG_COMMANDS
18871 $ $0 $@
18873 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18876 _ACEOF
18878 case $ac_config_files in *"
18879 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18880 esac
18882 case $ac_config_headers in *"
18883 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18884 esac
18887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18888 # Files that config.status was made for.
18889 config_files="$ac_config_files"
18890 config_headers="$ac_config_headers"
18891 config_links="$ac_config_links"
18892 config_commands="$ac_config_commands"
18894 _ACEOF
18896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18897 ac_cs_usage="\
18898 \`$as_me' instantiates files and other configuration actions
18899 from templates according to the current configuration. Unless the files
18900 and actions are specified as TAGs, all are instantiated by default.
18902 Usage: $0 [OPTION]... [TAG]...
18904 -h, --help print this help, then exit
18905 -V, --version print version number and configuration settings, then exit
18906 --config print configuration, then exit
18907 -q, --quiet, --silent
18908 do not print progress messages
18909 -d, --debug don't remove temporary files
18910 --recheck update $as_me by reconfiguring in the same conditions
18911 --file=FILE[:TEMPLATE]
18912 instantiate the configuration file FILE
18913 --header=FILE[:TEMPLATE]
18914 instantiate the configuration header FILE
18916 Configuration files:
18917 $config_files
18919 Configuration headers:
18920 $config_headers
18922 Configuration links:
18923 $config_links
18925 Configuration commands:
18926 $config_commands
18928 Report bugs to <wine-devel@winehq.org>.
18929 Wine home page: <http://www.winehq.org>."
18931 _ACEOF
18932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18933 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18934 ac_cs_version="\\
18935 Wine config.status 1.9.3
18936 configured by $0, generated by GNU Autoconf 2.69,
18937 with options \\"\$ac_cs_config\\"
18939 Copyright (C) 2012 Free Software Foundation, Inc.
18940 This config.status script is free software; the Free Software Foundation
18941 gives unlimited permission to copy, distribute and modify it."
18943 ac_pwd='$ac_pwd'
18944 srcdir='$srcdir'
18945 test -n "\$AWK" || AWK=awk
18946 _ACEOF
18948 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18949 # The default lists apply if the user does not specify any file.
18950 ac_need_defaults=:
18951 while test $# != 0
18953 case $1 in
18954 --*=?*)
18955 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18956 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18957 ac_shift=:
18959 --*=)
18960 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18961 ac_optarg=
18962 ac_shift=:
18965 ac_option=$1
18966 ac_optarg=$2
18967 ac_shift=shift
18969 esac
18971 case $ac_option in
18972 # Handling of the options.
18973 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18974 ac_cs_recheck=: ;;
18975 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18976 $as_echo "$ac_cs_version"; exit ;;
18977 --config | --confi | --conf | --con | --co | --c )
18978 $as_echo "$ac_cs_config"; exit ;;
18979 --debug | --debu | --deb | --de | --d | -d )
18980 debug=: ;;
18981 --file | --fil | --fi | --f )
18982 $ac_shift
18983 case $ac_optarg in
18984 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18985 '') as_fn_error $? "missing file argument" ;;
18986 esac
18987 as_fn_append CONFIG_FILES " '$ac_optarg'"
18988 ac_need_defaults=false;;
18989 --header | --heade | --head | --hea )
18990 $ac_shift
18991 case $ac_optarg in
18992 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18993 esac
18994 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18995 ac_need_defaults=false;;
18996 --he | --h)
18997 # Conflict between --help and --header
18998 as_fn_error $? "ambiguous option: \`$1'
18999 Try \`$0 --help' for more information.";;
19000 --help | --hel | -h )
19001 $as_echo "$ac_cs_usage"; exit ;;
19002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19003 | -silent | --silent | --silen | --sile | --sil | --si | --s)
19004 ac_cs_silent=: ;;
19006 # This is an error.
19007 -*) as_fn_error $? "unrecognized option: \`$1'
19008 Try \`$0 --help' for more information." ;;
19010 *) as_fn_append ac_config_targets " $1"
19011 ac_need_defaults=false ;;
19013 esac
19014 shift
19015 done
19017 ac_configure_extra_args=
19019 if $ac_cs_silent; then
19020 exec 6>/dev/null
19021 ac_configure_extra_args="$ac_configure_extra_args --silent"
19024 _ACEOF
19025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19026 if \$ac_cs_recheck; then
19027 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19028 shift
19029 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19030 CONFIG_SHELL='$SHELL'
19031 export CONFIG_SHELL
19032 exec "\$@"
19035 _ACEOF
19036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19037 exec 5>>config.log
19039 echo
19040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19041 ## Running $as_me. ##
19042 _ASBOX
19043 $as_echo "$ac_log"
19044 } >&5
19046 _ACEOF
19047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19049 # INIT-COMMANDS
19051 wine_fn_output_makedep ()
19053 as_dir=tools; as_fn_mkdir_p
19054 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
19056 wine_fn_output_makefile ()
19058 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
19059 `cat $wine_rules_file`
19060 _WINE_EOF
19061 as_fn_error $? "could not create Makefile" "$LINENO" 5
19063 wine_fn_output_gitignore ()
19065 sort <<\_WINE_EOF >\$tmp/gitignore && mv -f \$tmp/gitignore \$1 && return
19066 $GITIGNORE
19067 _WINE_EOF
19068 as_fn_error $? "could not create .gitignore" "$LINENO" 5
19071 _ACEOF
19073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19075 # Handling of arguments.
19076 for ac_config_target in $ac_config_targets
19078 case $ac_config_target in
19079 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
19080 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
19081 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
19082 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
19083 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
19084 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
19085 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
19086 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
19087 "po/LINGUAS") CONFIG_LINKS="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
19088 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
19089 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
19090 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
19091 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
19092 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
19093 ".gitignore") CONFIG_COMMANDS="$CONFIG_COMMANDS .gitignore" ;;
19095 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19096 esac
19097 done
19100 # If the user did not use the arguments to specify the items to instantiate,
19101 # then the envvar interface is used. Set only those that are not.
19102 # We use the long form for the default assignment because of an extremely
19103 # bizarre bug on SunOS 4.1.3.
19104 if $ac_need_defaults; then
19105 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19106 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19107 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
19108 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19111 # Have a temporary directory for convenience. Make it in the build tree
19112 # simply because there is no reason against having it here, and in addition,
19113 # creating and moving files from /tmp can sometimes cause problems.
19114 # Hook for its removal unless debugging.
19115 # Note that there is a small window in which the directory will not be cleaned:
19116 # after its creation but before its name has been assigned to `$tmp'.
19117 $debug ||
19119 tmp= ac_tmp=
19120 trap 'exit_status=$?
19121 : "${ac_tmp:=$tmp}"
19122 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19124 trap 'as_fn_exit 1' 1 2 13 15
19126 # Create a (secure) tmp directory for tmp files.
19129 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19130 test -d "$tmp"
19131 } ||
19133 tmp=./conf$$-$RANDOM
19134 (umask 077 && mkdir "$tmp")
19135 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19136 ac_tmp=$tmp
19138 # Set up the scripts for CONFIG_FILES section.
19139 # No need to generate them if there are no CONFIG_FILES.
19140 # This happens for instance with `./config.status config.h'.
19141 if test -n "$CONFIG_FILES"; then
19144 ac_cr=`echo X | tr X '\015'`
19145 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19146 # But we know of no other shell where ac_cr would be empty at this
19147 # point, so we can use a bashism as a fallback.
19148 if test "x$ac_cr" = x; then
19149 eval ac_cr=\$\'\\r\'
19151 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19152 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19153 ac_cs_awk_cr='\\r'
19154 else
19155 ac_cs_awk_cr=$ac_cr
19158 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19159 _ACEOF
19163 echo "cat >conf$$subs.awk <<_ACEOF" &&
19164 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19165 echo "_ACEOF"
19166 } >conf$$subs.sh ||
19167 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19168 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19169 ac_delim='%!_!# '
19170 for ac_last_try in false false false false false :; do
19171 . ./conf$$subs.sh ||
19172 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19174 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19175 if test $ac_delim_n = $ac_delim_num; then
19176 break
19177 elif $ac_last_try; then
19178 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19179 else
19180 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19182 done
19183 rm -f conf$$subs.sh
19185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19186 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19187 _ACEOF
19188 sed -n '
19190 s/^/S["/; s/!.*/"]=/
19193 s/^[^!]*!//
19194 :repl
19195 t repl
19196 s/'"$ac_delim"'$//
19197 t delim
19200 s/\(.\{148\}\)..*/\1/
19201 t more1
19202 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19205 b repl
19206 :more1
19207 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19210 s/.\{148\}//
19211 t nl
19212 :delim
19214 s/\(.\{148\}\)..*/\1/
19215 t more2
19216 s/["\\]/\\&/g; s/^/"/; s/$/"/
19219 :more2
19220 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19223 s/.\{148\}//
19224 t delim
19225 ' <conf$$subs.awk | sed '
19226 /^[^""]/{
19228 s/\n//
19230 ' >>$CONFIG_STATUS || ac_write_fail=1
19231 rm -f conf$$subs.awk
19232 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19233 _ACAWK
19234 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19235 for (key in S) S_is_set[key] = 1
19236 FS = "\a"
19240 line = $ 0
19241 nfields = split(line, field, "@")
19242 substed = 0
19243 len = length(field[1])
19244 for (i = 2; i < nfields; i++) {
19245 key = field[i]
19246 keylen = length(key)
19247 if (S_is_set[key]) {
19248 value = S[key]
19249 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19250 len += length(value) + length(field[++i])
19251 substed = 1
19252 } else
19253 len += 1 + keylen
19256 print line
19259 _ACAWK
19260 _ACEOF
19261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19262 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19263 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19264 else
19266 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19267 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19268 _ACEOF
19270 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19271 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19272 # trailing colons and then remove the whole line if VPATH becomes empty
19273 # (actually we leave an empty line to preserve line numbers).
19274 if test "x$srcdir" = x.; then
19275 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
19277 s///
19278 s/^/:/
19279 s/[ ]*$/:/
19280 s/:\$(srcdir):/:/g
19281 s/:\${srcdir}:/:/g
19282 s/:@srcdir@:/:/g
19283 s/^:*//
19284 s/:*$//
19286 s/\(=[ ]*\).*/\1/
19288 s/\n//
19289 s/^[^=]*=[ ]*$//
19293 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19294 fi # test -n "$CONFIG_FILES"
19296 # Set up the scripts for CONFIG_HEADERS section.
19297 # No need to generate them if there are no CONFIG_HEADERS.
19298 # This happens for instance with `./config.status Makefile'.
19299 if test -n "$CONFIG_HEADERS"; then
19300 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19301 BEGIN {
19302 _ACEOF
19304 # Transform confdefs.h into an awk script `defines.awk', embedded as
19305 # here-document in config.status, that substitutes the proper values into
19306 # config.h.in to produce config.h.
19308 # Create a delimiter string that does not exist in confdefs.h, to ease
19309 # handling of long lines.
19310 ac_delim='%!_!# '
19311 for ac_last_try in false false :; do
19312 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
19313 if test -z "$ac_tt"; then
19314 break
19315 elif $ac_last_try; then
19316 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19317 else
19318 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19320 done
19322 # For the awk script, D is an array of macro values keyed by name,
19323 # likewise P contains macro parameters if any. Preserve backslash
19324 # newline sequences.
19326 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19327 sed -n '
19328 s/.\{148\}/&'"$ac_delim"'/g
19329 t rset
19330 :rset
19331 s/^[ ]*#[ ]*define[ ][ ]*/ /
19332 t def
19334 :def
19335 s/\\$//
19336 t bsnl
19337 s/["\\]/\\&/g
19338 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19339 D["\1"]=" \3"/p
19340 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19342 :bsnl
19343 s/["\\]/\\&/g
19344 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19345 D["\1"]=" \3\\\\\\n"\\/p
19346 t cont
19347 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19348 t cont
19350 :cont
19352 s/.\{148\}/&'"$ac_delim"'/g
19353 t clear
19354 :clear
19355 s/\\$//
19356 t bsnlc
19357 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19359 :bsnlc
19360 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19361 b cont
19362 ' <confdefs.h | sed '
19363 s/'"$ac_delim"'/"\\\
19364 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19367 for (key in D) D_is_set[key] = 1
19368 FS = "\a"
19370 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19371 line = \$ 0
19372 split(line, arg, " ")
19373 if (arg[1] == "#") {
19374 defundef = arg[2]
19375 mac1 = arg[3]
19376 } else {
19377 defundef = substr(arg[1], 2)
19378 mac1 = arg[2]
19380 split(mac1, mac2, "(") #)
19381 macro = mac2[1]
19382 prefix = substr(line, 1, index(line, defundef) - 1)
19383 if (D_is_set[macro]) {
19384 # Preserve the white space surrounding the "#".
19385 print prefix "define", macro P[macro] D[macro]
19386 next
19387 } else {
19388 # Replace #undef with comments. This is necessary, for example,
19389 # in the case of _POSIX_SOURCE, which is predefined and required
19390 # on some systems where configure will not decide to define it.
19391 if (defundef == "undef") {
19392 print "/*", prefix defundef, macro, "*/"
19393 next
19397 { print }
19398 _ACAWK
19399 _ACEOF
19400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19401 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19402 fi # test -n "$CONFIG_HEADERS"
19405 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
19406 shift
19407 for ac_tag
19409 case $ac_tag in
19410 :[FHLC]) ac_mode=$ac_tag; continue;;
19411 esac
19412 case $ac_mode$ac_tag in
19413 :[FHL]*:*);;
19414 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
19415 :[FH]-) ac_tag=-:-;;
19416 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19417 esac
19418 ac_save_IFS=$IFS
19419 IFS=:
19420 set x $ac_tag
19421 IFS=$ac_save_IFS
19422 shift
19423 ac_file=$1
19424 shift
19426 case $ac_mode in
19427 :L) ac_source=$1;;
19428 :[FH])
19429 ac_file_inputs=
19430 for ac_f
19432 case $ac_f in
19433 -) ac_f="$ac_tmp/stdin";;
19434 *) # Look for the file first in the build tree, then in the source tree
19435 # (if the path is not absolute). The absolute path cannot be DOS-style,
19436 # because $ac_f cannot contain `:'.
19437 test -f "$ac_f" ||
19438 case $ac_f in
19439 [\\/$]*) false;;
19440 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19441 esac ||
19442 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19443 esac
19444 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19445 as_fn_append ac_file_inputs " '$ac_f'"
19446 done
19448 # Let's still pretend it is `configure' which instantiates (i.e., don't
19449 # use $as_me), people would be surprised to read:
19450 # /* config.h. Generated by config.status. */
19451 configure_input='Generated from '`
19452 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19453 `' by configure.'
19454 if test x"$ac_file" != x-; then
19455 configure_input="$ac_file. $configure_input"
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19457 $as_echo "$as_me: creating $ac_file" >&6;}
19459 # Neutralize special characters interpreted by sed in replacement strings.
19460 case $configure_input in #(
19461 *\&* | *\|* | *\\* )
19462 ac_sed_conf_input=`$as_echo "$configure_input" |
19463 sed 's/[\\\\&|]/\\\\&/g'`;; #(
19464 *) ac_sed_conf_input=$configure_input;;
19465 esac
19467 case $ac_tag in
19468 *:-:* | *:-) cat >"$ac_tmp/stdin" \
19469 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19470 esac
19472 esac
19474 ac_dir=`$as_dirname -- "$ac_file" ||
19475 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19476 X"$ac_file" : 'X\(//\)[^/]' \| \
19477 X"$ac_file" : 'X\(//\)$' \| \
19478 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19479 $as_echo X"$ac_file" |
19480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19481 s//\1/
19484 /^X\(\/\/\)[^/].*/{
19485 s//\1/
19488 /^X\(\/\/\)$/{
19489 s//\1/
19492 /^X\(\/\).*/{
19493 s//\1/
19496 s/.*/./; q'`
19497 as_dir="$ac_dir"; as_fn_mkdir_p
19498 ac_builddir=.
19500 case "$ac_dir" in
19501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19503 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19504 # A ".." for each directory in $ac_dir_suffix.
19505 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19506 case $ac_top_builddir_sub in
19507 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19508 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19509 esac ;;
19510 esac
19511 ac_abs_top_builddir=$ac_pwd
19512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19513 # for backward compatibility:
19514 ac_top_builddir=$ac_top_build_prefix
19516 case $srcdir in
19517 .) # We are building in place.
19518 ac_srcdir=.
19519 ac_top_srcdir=$ac_top_builddir_sub
19520 ac_abs_top_srcdir=$ac_pwd ;;
19521 [\\/]* | ?:[\\/]* ) # Absolute name.
19522 ac_srcdir=$srcdir$ac_dir_suffix;
19523 ac_top_srcdir=$srcdir
19524 ac_abs_top_srcdir=$srcdir ;;
19525 *) # Relative name.
19526 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19527 ac_top_srcdir=$ac_top_build_prefix$srcdir
19528 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19529 esac
19530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19533 case $ac_mode in
19536 # CONFIG_FILE
19539 _ACEOF
19541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19542 # If the template does not know about datarootdir, expand it.
19543 # FIXME: This hack should be removed a few years after 2.60.
19544 ac_datarootdir_hack=; ac_datarootdir_seen=
19545 ac_sed_dataroot='
19546 /datarootdir/ {
19550 /@datadir@/p
19551 /@docdir@/p
19552 /@infodir@/p
19553 /@localedir@/p
19554 /@mandir@/p'
19555 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19556 *datarootdir*) ac_datarootdir_seen=yes;;
19557 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19559 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19560 _ACEOF
19561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19562 ac_datarootdir_hack='
19563 s&@datadir@&$datadir&g
19564 s&@docdir@&$docdir&g
19565 s&@infodir@&$infodir&g
19566 s&@localedir@&$localedir&g
19567 s&@mandir@&$mandir&g
19568 s&\\\${datarootdir}&$datarootdir&g' ;;
19569 esac
19570 _ACEOF
19572 # Neutralize VPATH when `$srcdir' = `.'.
19573 # Shell code in configure.ac might set extrasub.
19574 # FIXME: do we really want to maintain this feature?
19575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19576 ac_sed_extra="$ac_vpsub
19577 $extrasub
19578 _ACEOF
19579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19581 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19582 s|@configure_input@|$ac_sed_conf_input|;t t
19583 s&@top_builddir@&$ac_top_builddir_sub&;t t
19584 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19585 s&@srcdir@&$ac_srcdir&;t t
19586 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19587 s&@top_srcdir@&$ac_top_srcdir&;t t
19588 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19589 s&@builddir@&$ac_builddir&;t t
19590 s&@abs_builddir@&$ac_abs_builddir&;t t
19591 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19592 $ac_datarootdir_hack
19594 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19595 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19597 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19598 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19599 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19600 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19602 which seems to be undefined. Please make sure it is defined" >&5
19603 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19604 which seems to be undefined. Please make sure it is defined" >&2;}
19606 rm -f "$ac_tmp/stdin"
19607 case $ac_file in
19608 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19609 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19610 esac \
19611 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19615 # CONFIG_HEADER
19617 if test x"$ac_file" != x-; then
19619 $as_echo "/* $configure_input */" \
19620 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19621 } >"$ac_tmp/config.h" \
19622 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19623 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19625 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19626 else
19627 rm -f "$ac_file"
19628 mv "$ac_tmp/config.h" "$ac_file" \
19629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19631 else
19632 $as_echo "/* $configure_input */" \
19633 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19634 || as_fn_error $? "could not create -" "$LINENO" 5
19639 # CONFIG_LINK
19642 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
19644 else
19645 # Prefer the file from the source tree if names are identical.
19646 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
19647 ac_source=$srcdir/$ac_source
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
19651 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
19653 if test ! -r "$ac_source"; then
19654 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
19656 rm -f "$ac_file"
19658 # Try a relative symlink, then a hard link, then a copy.
19659 case $ac_source in
19660 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
19661 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
19662 esac
19663 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
19664 ln "$ac_source" "$ac_file" 2>/dev/null ||
19665 cp -p "$ac_source" "$ac_file" ||
19666 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
19669 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19670 $as_echo "$as_me: executing $ac_file commands" >&6;}
19672 esac
19675 case $ac_file$ac_mode in
19676 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
19677 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
19678 "Makefile":C) wine_fn_output_makefile Makefile ;;
19679 ".gitignore":C) wine_fn_output_gitignore .gitignore ;;
19681 esac
19682 done # for ac_tag
19685 as_fn_exit 0
19686 _ACEOF
19687 ac_clean_files=$ac_clean_files_save
19689 test $ac_write_fail = 0 ||
19690 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19693 # configure is writing to config.log, and then calls config.status.
19694 # config.status does its own redirection, appending to config.log.
19695 # Unfortunately, on DOS this fails, as config.log is still kept open
19696 # by configure, so config.status won't be able to write to it; its
19697 # output is simply discarded. So we exec the FD to /dev/null,
19698 # effectively closing config.log, so it can be properly (re)opened and
19699 # appended to by config.status. When coming back to configure, we
19700 # need to make the FD available again.
19701 if test "$no_create" != yes; then
19702 ac_cs_success=:
19703 ac_config_status_args=
19704 test "$silent" = yes &&
19705 ac_config_status_args="$ac_config_status_args --quiet"
19706 exec 5>/dev/null
19707 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19708 exec 5>>config.log
19709 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19710 # would make configure fail if this is the last instruction.
19711 $ac_cs_success || as_fn_exit 1
19713 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19715 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19719 if test "$no_create" = "yes"
19720 then
19721 exit 0
19724 ac_save_IFS="$IFS"
19725 if test "x$wine_notices" != x; then
19726 echo >&6
19727 IFS="|"
19728 for msg in $wine_notices; do
19729 IFS="$ac_save_IFS"
19730 if ${msg:+false} :; then :
19732 else
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
19734 $as_echo "$as_me: $msg" >&6;}
19736 done
19738 IFS="|"
19739 for msg in $wine_warnings; do
19740 IFS="$ac_save_IFS"
19741 if ${msg:+false} :; then :
19743 else
19744 echo >&2
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
19746 $as_echo "$as_me: WARNING: $msg" >&2;}
19748 done
19749 IFS="$ac_save_IFS"
19751 $as_echo "
19752 $as_me: Finished. Do '${ac_make}' to compile Wine.
19753 " >&6